]> git.saurik.com Git - wxWidgets.git/blob - configure
do use vswprintf() with mingw32 if STLPort >= 5.1 is used (and not msvcrt which defin...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 49284 2007-10-21 11:39:33Z MW .
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_ODBC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
849 COND_MONOLITHIC_0_USE_AUI_1
850 COND_MONOLITHIC_0_USE_GUI_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_HTML_1
854 COND_MONOLITHIC_0_USE_MEDIA_1
855 COND_MONOLITHIC_0_USE_ODBC_1
856 COND_MONOLITHIC_0_USE_QA_1
857 COND_MONOLITHIC_0_USE_RICHTEXT_1
858 COND_MONOLITHIC_0_USE_STC_1
859 COND_MONOLITHIC_0_USE_XRC_1
860 COND_MONOLITHIC_1
861 COND_MONOLITHIC_1_SHARED_0
862 COND_MONOLITHIC_1_SHARED_1
863 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
864 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_
869 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
870 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
874 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
875 COND_PLATFORM_MACOSX_1_USE_GUI_1
876 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
877 COND_PLATFORM_MACOS_1
878 COND_PLATFORM_MAC_1
879 COND_PLATFORM_MSDOS_0
880 COND_PLATFORM_MSDOS_1
881 COND_PLATFORM_OS2_1
882 COND_PLATFORM_UNIX_0
883 COND_PLATFORM_UNIX_1
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
888 COND_PLATFORM_WIN32_0
889 COND_PLATFORM_WIN32_1
890 COND_SHARED_0
891 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
894 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
898 COND_SHARED_0_USE_STC_1
899 COND_SHARED_0_USE_XRC_1
900 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
901 COND_SHARED_0_WXUSE_ODBC_BUILTIN
902 COND_SHARED_0_WXUSE_REGEX_BUILTIN
903 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
904 COND_SHARED_1
905 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
906 COND_SHARED_1_USE_XRC_1
907 COND_TOOLKIT_
908 COND_TOOLKIT_COCOA
909 COND_TOOLKIT_COCOA_USE_GUI_1
910 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_DFB
912 COND_TOOLKIT_DFB_USE_GUI_1
913 COND_TOOLKIT_GTK
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_USE_GUI_1
921 COND_TOOLKIT_MAC
922 COND_TOOLKIT_MAC_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MGL
925 COND_TOOLKIT_MGL_USE_GUI_1
926 COND_TOOLKIT_MOTIF
927 COND_TOOLKIT_MOTIF_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW
930 COND_TOOLKIT_MSW_USE_GUI_1
931 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_MSW_WXUNIV_0
933 COND_TOOLKIT_PM
934 COND_TOOLKIT_PM_USE_GUI_1
935 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE
937 COND_TOOLKIT_WINCE_USE_GUI_1
938 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_WINCE_WXUNIV_0
940 COND_TOOLKIT_X11
941 COND_TOOLKIT_X11_USE_GUI_1
942 COND_UNICODE_1
943 COND_USE_EXCEPTIONS_0
944 COND_USE_EXCEPTIONS_1
945 COND_USE_GUI_0
946 COND_USE_GUI_1
947 COND_USE_GUI_1_USE_OPENGL_1
948 COND_USE_GUI_1_WXUNIV_0
949 COND_USE_GUI_1_WXUNIV_1
950 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
953 COND_USE_ODBC_1
954 COND_USE_OPENGL_1
955 COND_USE_PCH_1
956 COND_USE_PLUGINS_0
957 COND_USE_RTTI_0
958 COND_USE_RTTI_1
959 COND_USE_SOSYMLINKS_1
960 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
961 COND_USE_SOVERLINUX_1
962 COND_USE_SOVERSION_0
963 COND_USE_SOVERSOLARIS_1
964 COND_USE_STC_1
965 COND_USE_THREADS_0
966 COND_USE_THREADS_1
967 COND_USE_XRC_1
968 COND_WINDOWS_IMPLIB_1
969 COND_WITH_PLUGIN_SDL_1
970 COND_WXUNIV_0
971 COND_WXUNIV_1
972 COND_WXUSE_EXPAT_BUILTIN
973 COND_WXUSE_LIBJPEG_BUILTIN
974 COND_WXUSE_LIBPNG_BUILTIN
975 COND_WXUSE_LIBTIFF_BUILTIN
976 COND_WXUSE_ODBC_BUILTIN
977 COND_WXUSE_REGEX_BUILTIN
978 COND_WXUSE_ZLIB_BUILTIN
979 DEREZ
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 GUIDIST
1005 DISTDIR
1006 SAMPLES_SUBDIRS
1007 LDFLAGS_GL
1008 OPENGL_LIBS
1009 DMALLOC_LIBS
1010 WX_VERSION_TAG
1011 RESCOMP
1012 RESFLAGS
1013 RESPROGRAMOBJ
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1016 LIBWXMACRES
1017 POSTLINK_COMMAND
1018 MACSETFILE
1019 GCC
1020 DLLTOOL
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 GTKPRINT_CFLAGS
1048 GTKPRINT_LIBS
1049 LIBGNOMEPRINTUI_CFLAGS
1050 LIBGNOMEPRINTUI_LIBS
1051 GNOMEVFS_CFLAGS
1052 GNOMEVFS_LIBS
1053 HILDON_CFLAGS
1054 HILDON_LIBS
1055 CAIRO_CFLAGS
1056 CAIRO_LIBS
1057 GST_CFLAGS
1058 GST_LIBS'
1059 ac_subdirs_all='src/tiff
1060 src/expat'
1061
1062 # Initialize some variables set by options.
1063 ac_init_help=
1064 ac_init_version=false
1065 # The variables have the same names as the options, with
1066 # dashes changed to underlines.
1067 cache_file=/dev/null
1068 exec_prefix=NONE
1069 no_create=
1070 no_recursion=
1071 prefix=NONE
1072 program_prefix=NONE
1073 program_suffix=NONE
1074 program_transform_name=s,x,x,
1075 silent=
1076 site=
1077 srcdir=
1078 verbose=
1079 x_includes=NONE
1080 x_libraries=NONE
1081
1082 # Installation directory options.
1083 # These are left unexpanded so users can "make install exec_prefix=/foo"
1084 # and all the variables that are supposed to be based on exec_prefix
1085 # by default will actually change.
1086 # Use braces instead of parens because sh, perl, etc. also accept them.
1087 # (The list follows the same order as the GNU Coding Standards.)
1088 bindir='${exec_prefix}/bin'
1089 sbindir='${exec_prefix}/sbin'
1090 libexecdir='${exec_prefix}/libexec'
1091 datarootdir='${prefix}/share'
1092 datadir='${datarootdir}'
1093 sysconfdir='${prefix}/etc'
1094 sharedstatedir='${prefix}/com'
1095 localstatedir='${prefix}/var'
1096 includedir='${prefix}/include'
1097 oldincludedir='/usr/include'
1098 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1099 infodir='${datarootdir}/info'
1100 htmldir='${docdir}'
1101 dvidir='${docdir}'
1102 pdfdir='${docdir}'
1103 psdir='${docdir}'
1104 libdir='${exec_prefix}/lib'
1105 localedir='${datarootdir}/locale'
1106 mandir='${datarootdir}/man'
1107
1108 ac_prev=
1109 ac_dashdash=
1110 for ac_option
1111 do
1112 # If the previous option needs an argument, assign it.
1113 if test -n "$ac_prev"; then
1114 eval $ac_prev=\$ac_option
1115 ac_prev=
1116 continue
1117 fi
1118
1119 case $ac_option in
1120 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 *) ac_optarg=yes ;;
1122 esac
1123
1124 # Accept the important Cygnus configure options, so we can diagnose typos.
1125
1126 case $ac_dashdash$ac_option in
1127 --)
1128 ac_dashdash=yes ;;
1129
1130 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1131 ac_prev=bindir ;;
1132 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1133 bindir=$ac_optarg ;;
1134
1135 -build | --build | --buil | --bui | --bu)
1136 ac_prev=build_alias ;;
1137 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1138 build_alias=$ac_optarg ;;
1139
1140 -cache-file | --cache-file | --cache-fil | --cache-fi \
1141 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1142 ac_prev=cache_file ;;
1143 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1144 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1145 cache_file=$ac_optarg ;;
1146
1147 --config-cache | -C)
1148 cache_file=config.cache ;;
1149
1150 -datadir | --datadir | --datadi | --datad)
1151 ac_prev=datadir ;;
1152 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1153 datadir=$ac_optarg ;;
1154
1155 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1156 | --dataroo | --dataro | --datar)
1157 ac_prev=datarootdir ;;
1158 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1159 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1160 datarootdir=$ac_optarg ;;
1161
1162 -disable-* | --disable-*)
1163 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1167 { (exit 1); exit 1; }; }
1168 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1169 eval enable_$ac_feature=no ;;
1170
1171 -docdir | --docdir | --docdi | --doc | --do)
1172 ac_prev=docdir ;;
1173 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1174 docdir=$ac_optarg ;;
1175
1176 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1177 ac_prev=dvidir ;;
1178 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1179 dvidir=$ac_optarg ;;
1180
1181 -enable-* | --enable-*)
1182 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_$ac_feature=\$ac_optarg ;;
1189
1190 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1191 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1192 | --exec | --exe | --ex)
1193 ac_prev=exec_prefix ;;
1194 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1195 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1196 | --exec=* | --exe=* | --ex=*)
1197 exec_prefix=$ac_optarg ;;
1198
1199 -gas | --gas | --ga | --g)
1200 # Obsolete; use --with-gas.
1201 with_gas=yes ;;
1202
1203 -help | --help | --hel | --he | -h)
1204 ac_init_help=long ;;
1205 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1206 ac_init_help=recursive ;;
1207 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1208 ac_init_help=short ;;
1209
1210 -host | --host | --hos | --ho)
1211 ac_prev=host_alias ;;
1212 -host=* | --host=* | --hos=* | --ho=*)
1213 host_alias=$ac_optarg ;;
1214
1215 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1216 ac_prev=htmldir ;;
1217 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1218 | --ht=*)
1219 htmldir=$ac_optarg ;;
1220
1221 -includedir | --includedir | --includedi | --included | --include \
1222 | --includ | --inclu | --incl | --inc)
1223 ac_prev=includedir ;;
1224 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1225 | --includ=* | --inclu=* | --incl=* | --inc=*)
1226 includedir=$ac_optarg ;;
1227
1228 -infodir | --infodir | --infodi | --infod | --info | --inf)
1229 ac_prev=infodir ;;
1230 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1231 infodir=$ac_optarg ;;
1232
1233 -libdir | --libdir | --libdi | --libd)
1234 ac_prev=libdir ;;
1235 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1236 libdir=$ac_optarg ;;
1237
1238 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1239 | --libexe | --libex | --libe)
1240 ac_prev=libexecdir ;;
1241 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1242 | --libexe=* | --libex=* | --libe=*)
1243 libexecdir=$ac_optarg ;;
1244
1245 -localedir | --localedir | --localedi | --localed | --locale)
1246 ac_prev=localedir ;;
1247 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1248 localedir=$ac_optarg ;;
1249
1250 -localstatedir | --localstatedir | --localstatedi | --localstated \
1251 | --localstate | --localstat | --localsta | --localst | --locals)
1252 ac_prev=localstatedir ;;
1253 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1254 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1255 localstatedir=$ac_optarg ;;
1256
1257 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1258 ac_prev=mandir ;;
1259 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1260 mandir=$ac_optarg ;;
1261
1262 -nfp | --nfp | --nf)
1263 # Obsolete; use --without-fp.
1264 with_fp=no ;;
1265
1266 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1267 | --no-cr | --no-c | -n)
1268 no_create=yes ;;
1269
1270 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1271 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1272 no_recursion=yes ;;
1273
1274 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1275 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1276 | --oldin | --oldi | --old | --ol | --o)
1277 ac_prev=oldincludedir ;;
1278 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1279 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1280 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1281 oldincludedir=$ac_optarg ;;
1282
1283 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1284 ac_prev=prefix ;;
1285 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1286 prefix=$ac_optarg ;;
1287
1288 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1289 | --program-pre | --program-pr | --program-p)
1290 ac_prev=program_prefix ;;
1291 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1292 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1293 program_prefix=$ac_optarg ;;
1294
1295 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1296 | --program-suf | --program-su | --program-s)
1297 ac_prev=program_suffix ;;
1298 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1299 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1300 program_suffix=$ac_optarg ;;
1301
1302 -program-transform-name | --program-transform-name \
1303 | --program-transform-nam | --program-transform-na \
1304 | --program-transform-n | --program-transform- \
1305 | --program-transform | --program-transfor \
1306 | --program-transfo | --program-transf \
1307 | --program-trans | --program-tran \
1308 | --progr-tra | --program-tr | --program-t)
1309 ac_prev=program_transform_name ;;
1310 -program-transform-name=* | --program-transform-name=* \
1311 | --program-transform-nam=* | --program-transform-na=* \
1312 | --program-transform-n=* | --program-transform-=* \
1313 | --program-transform=* | --program-transfor=* \
1314 | --program-transfo=* | --program-transf=* \
1315 | --program-trans=* | --program-tran=* \
1316 | --progr-tra=* | --program-tr=* | --program-t=*)
1317 program_transform_name=$ac_optarg ;;
1318
1319 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1320 ac_prev=pdfdir ;;
1321 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1322 pdfdir=$ac_optarg ;;
1323
1324 -psdir | --psdir | --psdi | --psd | --ps)
1325 ac_prev=psdir ;;
1326 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1327 psdir=$ac_optarg ;;
1328
1329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1330 | -silent | --silent | --silen | --sile | --sil)
1331 silent=yes ;;
1332
1333 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1334 ac_prev=sbindir ;;
1335 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1336 | --sbi=* | --sb=*)
1337 sbindir=$ac_optarg ;;
1338
1339 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1340 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1341 | --sharedst | --shareds | --shared | --share | --shar \
1342 | --sha | --sh)
1343 ac_prev=sharedstatedir ;;
1344 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1345 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1346 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1347 | --sha=* | --sh=*)
1348 sharedstatedir=$ac_optarg ;;
1349
1350 -site | --site | --sit)
1351 ac_prev=site ;;
1352 -site=* | --site=* | --sit=*)
1353 site=$ac_optarg ;;
1354
1355 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1356 ac_prev=srcdir ;;
1357 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1358 srcdir=$ac_optarg ;;
1359
1360 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1361 | --syscon | --sysco | --sysc | --sys | --sy)
1362 ac_prev=sysconfdir ;;
1363 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1364 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1365 sysconfdir=$ac_optarg ;;
1366
1367 -target | --target | --targe | --targ | --tar | --ta | --t)
1368 ac_prev=target_alias ;;
1369 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1370 target_alias=$ac_optarg ;;
1371
1372 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1373 verbose=yes ;;
1374
1375 -version | --version | --versio | --versi | --vers | -V)
1376 ac_init_version=: ;;
1377
1378 -with-* | --with-*)
1379 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_$ac_package=\$ac_optarg ;;
1386
1387 -without-* | --without-*)
1388 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1389 # Reject names that are not valid shell variable names.
1390 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1391 { echo "$as_me: error: invalid package name: $ac_package" >&2
1392 { (exit 1); exit 1; }; }
1393 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1394 eval with_$ac_package=no ;;
1395
1396 --x)
1397 # Obsolete; use --with-x.
1398 with_x=yes ;;
1399
1400 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1401 | --x-incl | --x-inc | --x-in | --x-i)
1402 ac_prev=x_includes ;;
1403 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1404 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1405 x_includes=$ac_optarg ;;
1406
1407 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1408 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1409 ac_prev=x_libraries ;;
1410 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1411 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1412 x_libraries=$ac_optarg ;;
1413
1414 -*) { echo "$as_me: error: unrecognized option: $ac_option
1415 Try \`$0 --help' for more information." >&2
1416 { (exit 1); exit 1; }; }
1417 ;;
1418
1419 *=*)
1420 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1421 # Reject names that are not valid shell variable names.
1422 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1423 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1424 { (exit 1); exit 1; }; }
1425 eval $ac_envvar=\$ac_optarg
1426 export $ac_envvar ;;
1427
1428 *)
1429 # FIXME: should be removed in autoconf 3.0.
1430 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1431 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1432 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1433 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1434 ;;
1435
1436 esac
1437 done
1438
1439 if test -n "$ac_prev"; then
1440 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1441 { echo "$as_me: error: missing argument to $ac_option" >&2
1442 { (exit 1); exit 1; }; }
1443 fi
1444
1445 # Be sure to have absolute directory names.
1446 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1447 datadir sysconfdir sharedstatedir localstatedir includedir \
1448 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1449 libdir localedir mandir
1450 do
1451 eval ac_val=\$$ac_var
1452 case $ac_val in
1453 [\\/$]* | ?:[\\/]* ) continue;;
1454 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1455 esac
1456 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1457 { (exit 1); exit 1; }; }
1458 done
1459
1460 # There might be people who depend on the old broken behavior: `$host'
1461 # used to hold the argument of --host etc.
1462 # FIXME: To remove some day.
1463 build=$build_alias
1464 host=$host_alias
1465 target=$target_alias
1466
1467 # FIXME: To remove some day.
1468 if test "x$host_alias" != x; then
1469 if test "x$build_alias" = x; then
1470 cross_compiling=maybe
1471 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1472 If a cross compiler is detected then cross compile mode will be used." >&2
1473 elif test "x$build_alias" != "x$host_alias"; then
1474 cross_compiling=yes
1475 fi
1476 fi
1477
1478 ac_tool_prefix=
1479 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1480
1481 test "$silent" = yes && exec 6>/dev/null
1482
1483
1484 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1485 ac_ls_di=`ls -di .` &&
1486 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1487 { echo "$as_me: error: Working directory cannot be determined" >&2
1488 { (exit 1); exit 1; }; }
1489 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1490 { echo "$as_me: error: pwd does not report name of working directory" >&2
1491 { (exit 1); exit 1; }; }
1492
1493
1494 # Find the source files, if location was not specified.
1495 if test -z "$srcdir"; then
1496 ac_srcdir_defaulted=yes
1497 # Try the directory containing this script, then the parent directory.
1498 ac_confdir=`$as_dirname -- "$0" ||
1499 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1500 X"$0" : 'X\(//\)[^/]' \| \
1501 X"$0" : 'X\(//\)$' \| \
1502 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1503 echo X"$0" |
1504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1505 s//\1/
1506 q
1507 }
1508 /^X\(\/\/\)[^/].*/{
1509 s//\1/
1510 q
1511 }
1512 /^X\(\/\/\)$/{
1513 s//\1/
1514 q
1515 }
1516 /^X\(\/\).*/{
1517 s//\1/
1518 q
1519 }
1520 s/.*/./; q'`
1521 srcdir=$ac_confdir
1522 if test ! -r "$srcdir/$ac_unique_file"; then
1523 srcdir=..
1524 fi
1525 else
1526 ac_srcdir_defaulted=no
1527 fi
1528 if test ! -r "$srcdir/$ac_unique_file"; then
1529 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1530 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1531 { (exit 1); exit 1; }; }
1532 fi
1533 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1534 ac_abs_confdir=`(
1535 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1536 { (exit 1); exit 1; }; }
1537 pwd)`
1538 # When building in place, set srcdir=.
1539 if test "$ac_abs_confdir" = "$ac_pwd"; then
1540 srcdir=.
1541 fi
1542 # Remove unnecessary trailing slashes from srcdir.
1543 # Double slashes in file names in object file debugging info
1544 # mess up M-x gdb in Emacs.
1545 case $srcdir in
1546 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1547 esac
1548 for ac_var in $ac_precious_vars; do
1549 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1550 eval ac_env_${ac_var}_value=\$${ac_var}
1551 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1552 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1553 done
1554
1555 #
1556 # Report the --help message.
1557 #
1558 if test "$ac_init_help" = "long"; then
1559 # Omit some internal or obsolete options to make the list less imposing.
1560 # This message is too long to be a string in the A/UX 3.1 sh.
1561 cat <<_ACEOF
1562 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1563
1564 Usage: $0 [OPTION]... [VAR=VALUE]...
1565
1566 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1567 VAR=VALUE. See below for descriptions of some of the useful variables.
1568
1569 Defaults for the options are specified in brackets.
1570
1571 Configuration:
1572 -h, --help display this help and exit
1573 --help=short display options specific to this package
1574 --help=recursive display the short help of all the included packages
1575 -V, --version display version information and exit
1576 -q, --quiet, --silent do not print \`checking...' messages
1577 --cache-file=FILE cache test results in FILE [disabled]
1578 -C, --config-cache alias for \`--cache-file=config.cache'
1579 -n, --no-create do not create output files
1580 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1581
1582 Installation directories:
1583 --prefix=PREFIX install architecture-independent files in PREFIX
1584 [$ac_default_prefix]
1585 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1586 [PREFIX]
1587
1588 By default, \`make install' will install all the files in
1589 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1590 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1591 for instance \`--prefix=\$HOME'.
1592
1593 For better control, use the options below.
1594
1595 Fine tuning of the installation directories:
1596 --bindir=DIR user executables [EPREFIX/bin]
1597 --sbindir=DIR system admin executables [EPREFIX/sbin]
1598 --libexecdir=DIR program executables [EPREFIX/libexec]
1599 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1600 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1601 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1602 --libdir=DIR object code libraries [EPREFIX/lib]
1603 --includedir=DIR C header files [PREFIX/include]
1604 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1605 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1606 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1607 --infodir=DIR info documentation [DATAROOTDIR/info]
1608 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1609 --mandir=DIR man documentation [DATAROOTDIR/man]
1610 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1611 --htmldir=DIR html documentation [DOCDIR]
1612 --dvidir=DIR dvi documentation [DOCDIR]
1613 --pdfdir=DIR pdf documentation [DOCDIR]
1614 --psdir=DIR ps documentation [DOCDIR]
1615 _ACEOF
1616
1617 cat <<\_ACEOF
1618
1619 X features:
1620 --x-includes=DIR X include files are in DIR
1621 --x-libraries=DIR X library files are in DIR
1622
1623 System types:
1624 --build=BUILD configure for building on BUILD [guessed]
1625 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1626 --target=TARGET configure for building compilers for TARGET [HOST]
1627 _ACEOF
1628 fi
1629
1630 if test -n "$ac_init_help"; then
1631 case $ac_init_help in
1632 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1633 esac
1634 cat <<\_ACEOF
1635
1636 Optional Features:
1637 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1638 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1639 --disable-gui don't build GUI parts of the library
1640 --enable-monolithic build wxWidgets as single library
1641 --enable-plugins build parts of wxWidgets as loadable components
1642 --enable-official_build official build of wxWidgets (win32 DLL only)
1643 --enable-vendor=VENDOR vendor name (win32 DLL only)
1644 --disable-all-features disable all optional features to build minimal library
1645 --enable-universal use wxWidgets GUI controls instead of native ones
1646 --enable-nanox use NanoX
1647 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1648 --enable-gpe use GNOME PDA Environment features if possible
1649 --disable-shared create static library instead of shared
1650 --disable-optimise create optimised code
1651 --enable-debug same as debug_flag and debug_info
1652 --enable-stl use STL for containers
1653 --enable-std_iostreams use standard C++ stream classes
1654 --enable-std_string use standard C++ string classes
1655 --disable-unicode compile without Unicode support
1656 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1657 --enable-utf8 use UTF-8 representation for strings (Unix only)
1658 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1659 --enable-extended_rtti use extended RTTI (XTI)
1660 --enable-omf use OMF object format
1661 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1662 --enable-debug_info create code with debugging information
1663 --enable-debug_gdb create code with extra GDB debugging information
1664 --enable-debug_cntxt use wxDebugContext
1665 --enable-mem_tracing create code with memory tracing
1666 --enable-profile create code with profiling information
1667 --enable-no_rtti create code without RTTI information
1668 --enable-no_exceptions create code without C++ exceptions handling
1669 --enable-permissive compile code disregarding strict ANSI
1670 --enable-no_deps create code without dependency information
1671 --disable-vararg_macros don't use vararg macros, even if they are supported
1672 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1673 --enable-compat26 enable wxWidgets 2.6 compatibility
1674 --disable-compat28 disable wxWidgets 2.8 compatibility
1675 --disable-rpath disable use of rpath for uninstalled builds
1676 --enable-objc_uniquifying enable Objective-C class name uniquifying
1677 --disable-visibility disable use of ELF symbols visibility even if supported
1678 --enable-intl use internationalization system
1679 --enable-config use wxConfig (and derived) classes
1680 --enable-protocols use wxProtocol and derived classes
1681 --enable-ftp use wxFTP (requires wxProtocol
1682 --enable-http use wxHTTP (requires wxProtocol
1683 --enable-fileproto use wxFileProto class (requires wxProtocol
1684 --enable-sockets use socket/network classes
1685 --enable-ole use OLE classes (Win32 only)
1686 --enable-dataobj use data object classes
1687 --enable-ipc use interprocess communication (wxSocket etc.)
1688 --enable-baseevtloop use event loop in console programs too
1689 --enable-epollloop use wxEpollDispatcher class (Linux only)
1690 --enable-selectloop use wxSelectDispatcher class
1691 --enable-apple_ieee use the Apple IEEE codec
1692 --enable-arcstream use wxArchive streams
1693 --enable-base64 use base64 encoding/decoding functions
1694 --enable-backtrace use wxStackWalker class for getting backtraces
1695 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1696 --enable-cmdline use wxCmdLineParser class
1697 --enable-datetime use wxDateTime class
1698 --enable-debugreport use wxDebugReport class
1699 --enable-dialupman use dialup network classes
1700 --enable-dynlib use wxLibrary class for DLL loading
1701 --enable-dynamicloader use (new) wxDynamicLibrary class
1702 --enable-exceptions build exception-safe library
1703 --enable-ffile use wxFFile class
1704 --enable-file use wxFile class
1705 --enable-filesystem use virtual file systems classes
1706 --enable-fontenum use wxFontEnumerator class
1707 --enable-fontmap use font encodings conversion classes
1708 --enable-fs_archive use virtual archive filesystems
1709 --enable-fs_inet use virtual HTTP/FTP filesystems
1710 --enable-fs_zip now replaced by fs_archive
1711 --enable-geometry use geometry class
1712 --enable-log use logging system
1713 --enable-longlong use wxLongLong class
1714 --enable-mimetype use wxMimeTypesManager
1715 --enable-snglinst use wxSingleInstanceChecker class
1716 --enable-stdpaths use wxStandardPaths class
1717 --enable-stopwatch use wxStopWatch class
1718 --enable-streams use wxStream etc classes
1719 --enable-sysoptions use wxSystemOptions
1720 --enable-tarstream use wxTar streams
1721 --enable-textbuf use wxTextBuffer class
1722 --enable-textfile use wxTextFile class
1723 --enable-timer use wxTimer class
1724 --enable-sound use wxSound class
1725 --enable-mediactrl use wxMediaCtrl class
1726 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1727 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1728 --enable-zipstream use wxZip streams
1729 --enable-url use wxURL class
1730 --enable-variant use wxVariant class
1731 --enable-protocol use wxProtocol class
1732 --enable-protocol-http HTTP support in wxProtocol
1733 --enable-protocol-ftp FTP support in wxProtocol
1734 --enable-protocol-file FILE support in wxProtocol
1735 --enable-threads use threads
1736 --enable-iniconf use wxIniConfig (Win32 only)
1737 --enable-regkey use wxRegKey class (Win32 only)
1738 --enable-docview use document view architecture
1739 --enable-help use help subsystem
1740 --enable-mshtmlhelp use MS HTML Help (win32)
1741 --enable-html use wxHTML sub-library
1742 --enable-htmlhelp use wxHTML-based help
1743 --enable-xrc use XRC resources sub-library
1744 --enable-aui use AUI docking library
1745 --enable-stc use wxStyledTextCtrl library
1746 --enable-constraints use layout-constraints system
1747 --enable-printarch use printing architecture
1748 --enable-mdi use multiple document interface architecture
1749 --enable-mdidoc use docview architecture with MDI
1750 --enable-loggui use standard GUI logger
1751 --enable-logwin use wxLogWindow
1752 --enable-logdialog use wxLogDialog
1753 --enable-webkit use wxWebKitCtrl (Mac)
1754 --enable-richtext use wxRichTextCtrl
1755 --enable-graphics_ctx use graphics context 2D drawing API
1756 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1757 --enable-svg use wxSVGFileDC device context
1758 --enable-clipboard use wxClipboard class
1759 --enable-dnd use Drag'n'Drop classes
1760 --enable-metafile use win32 metafiles
1761 --disable-controls disable compilation of all standard controls
1762 --enable-accel use accelerators
1763 --enable-animatectrl use wxAnimationCtrl class
1764 --enable-button use wxButton class
1765 --enable-bmpbutton use wxBitmapButton class
1766 --enable-bmpcombobox use wxBitmapComboBox class
1767 --enable-calendar use wxCalendarCtrl class
1768 --enable-caret use wxCaret class
1769 --enable-checkbox use wxCheckBox class
1770 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1771 --enable-choice use wxChoice class
1772 --enable-choicebook use wxChoicebook class
1773 --enable-collpane use wxCollapsiblePane class
1774 --enable-colourpicker use wxColourPickerCtrl class
1775 --enable-combobox use wxComboBox class
1776 --enable-comboctrl use wxComboCtrl class
1777 --enable-datepick use wxDatePickerCtrl class
1778 --enable-dirpicker use wxDirPickerCtrl class
1779 --enable-display use wxDisplay class
1780 --enable-detect_sm use code to detect X11 session manager
1781 --enable-editablebox use wxEditableListBox class
1782 --enable-filepicker use wxFilePickerCtrl class
1783 --enable-filectrl use wxFileCtrl class
1784 --enable-fontpicker use wxFontPickerCtrl class
1785 --enable-gauge use wxGauge class
1786 --enable-grid use wxGrid class
1787 --enable-dataviewctrl use wxDataViewCtrl class
1788 --enable-hyperlink use wxHyperlinkCtrl class
1789 --enable-imaglist use wxImageList class
1790 --enable-listbook use wxListbook class
1791 --enable-listbox use wxListBox class
1792 --enable-listctrl use wxListCtrl class
1793 --enable-notebook use wxNotebook class
1794 --enable-odcombobox use wxOwnerDrawnComboBox class
1795 --enable-radiobox use wxRadioBox class
1796 --enable-radiobtn use wxRadioButton class
1797 --enable-sash use wxSashWindow class
1798 --enable-scrollbar use wxScrollBar class and scrollable windows
1799 --enable-searchctrl use wxSearchCtrl class
1800 --enable-slider use wxSlider class
1801 --enable-spinbtn use wxSpinButton class
1802 --enable-spinctrl use wxSpinCtrl class
1803 --enable-splitter use wxSplitterWindow class
1804 --enable-statbmp use wxStaticBitmap class
1805 --enable-statbox use wxStaticBox class
1806 --enable-statline use wxStaticLine class
1807 --enable-stattext use wxStaticText class
1808 --enable-statusbar use wxStatusBar class
1809 --enable-tabdialog use wxTabControl class
1810 --enable-taskbaricon use wxTaskBarIcon class
1811 --enable-textctrl use wxTextCtrl class
1812 --enable-togglebtn use wxToggleButton class
1813 --enable-toolbar use wxToolBar class
1814 --enable-tbarnative use native wxToolBar class
1815 --enable-treebook use wxTreebook class
1816 --enable-toolbook use wxToolbook class
1817 --enable-treectrl use wxTreeCtrl class
1818 --enable-tipwindow use wxTipWindow class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-commondlg use all common dialogs
1821 --enable-aboutdlg use wxAboutBox
1822 --enable-choicedlg use wxChoiceDialog
1823 --enable-coldlg use wxColourDialog
1824 --enable-filedlg use wxFileDialog
1825 --enable-finddlg use wxFindReplaceDialog
1826 --enable-fontdlg use wxFontDialog
1827 --enable-dirdlg use wxDirDialog
1828 --enable-msgdlg use wxMessageDialog
1829 --enable-numberdlg use wxNumberEntryDialog
1830 --enable-splash use wxSplashScreen
1831 --enable-textdlg use wxTextDialog
1832 --enable-tipdlg use startup tips
1833 --enable-progressdlg use wxProgressDialog
1834 --enable-wizarddlg use wxWizard
1835 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1836 --enable-miniframe use wxMiniFrame class
1837 --enable-tooltips use wxToolTip class
1838 --enable-splines use spline drawing code
1839 --enable-mousewheel use mousewheel
1840 --enable-validators use wxValidator and derived classes
1841 --enable-busyinfo use wxBusyInfo
1842 --enable-joystick use wxJoystick
1843 --enable-metafiles use wxMetaFile (Win32 only)
1844 --enable-dragimage use wxDragImage
1845 --enable-accessibility enable accessibility support
1846 --enable-palette use wxPalette class
1847 --enable-image use wxImage class
1848 --enable-gif use gif images (GIF file format)
1849 --enable-pcx use pcx images (PCX file format)
1850 --enable-tga use tga images (TGA file format)
1851 --enable-iff use iff images (IFF file format)
1852 --enable-pnm use pnm images (PNM file format)
1853 --enable-xpm use xpm images (XPM file format)
1854 --enable-icocur use Windows ICO and CUR formats
1855 --enable-dccache cache temporary wxDC objects (Win32 only)
1856 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1857 --enable-ownerdrawn use owner drawn controls (Win32 only)
1858 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1859 --enable-wxdib use wxDIB class (Win32 only)
1860 --disable-largefile omit support for large files
1861 --disable-gtktest do not try to compile and run a test GTK+ program
1862 --disable-gtktest Do not try to compile and run a test GTK program
1863 --disable-sdltest Do not try to compile and run a test SDL program
1864 --enable-omf use OMF object format (OS/2)
1865 --disable-dependency-tracking
1866 don't use dependency tracking even if the compiler
1867 can
1868 --disable-precomp-headers
1869 don't use precompiled headers even if compiler can
1870
1871 Optional Packages:
1872 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1873 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1874 --without-subdirs don't generate makefiles for samples/demos/...
1875 --with-flavour=NAME specify a name to identify this build
1876 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1877 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1878 --with-motif use Motif/Lesstif
1879 --with-mac use Mac OS X
1880 --with-cocoa use Cocoa
1881 --with-wine use Wine
1882 --with-msw use MS-Windows
1883 --with-pm use OS/2 Presentation Manager
1884 --with-mgl use SciTech MGL
1885 --with-directfb use DirectFB
1886 --with-microwin use MicroWindows
1887 --with-x11 use X11
1888 --with-libpng use libpng (PNG image format)
1889 --with-libjpeg use libjpeg (JPEG file format)
1890 --with-libtiff use libtiff (TIFF file format)
1891 --with-libxpm use libxpm (XPM file format)
1892 --with-libmspack use libmspack (CHM help files loading)
1893 --without-gtkprint don't use GTK printing support
1894 --without-gnomeprint don't use GNOME printing libraries
1895 --with-gnomevfs use GNOME VFS for associating MIME types
1896 --with-hildon use Hildon framework for Nokia 770
1897 --with-opengl use OpenGL (or Mesa)
1898 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1899 --with-sdl use SDL for audio on Unix
1900 --with-regex enable support for wxRegEx class
1901 --with-zlib use zlib for LZW compression
1902 --with-expat enable XML support using expat parser
1903 --with-macosx-sdk=PATH use an OS X SDK at PATH
1904 --with-macosx-version-min=VER build binaries which require at least this OS X version
1905 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1906 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1907 --with-x use the X Window System
1908 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1909 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1910 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1911 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1912 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1913
1914 Some influential environment variables:
1915 CC C compiler command
1916 CFLAGS C compiler flags
1917 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1918 nonstandard directory <lib dir>
1919 LIBS libraries to pass to the linker, e.g. -l<library>
1920 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1921 you have headers in a nonstandard directory <include dir>
1922 CPP C preprocessor
1923 CXX C++ compiler command
1924 CXXFLAGS C++ compiler flags
1925 PKG_CONFIG path to pkg-config utility
1926 DIRECTFB_CFLAGS
1927 C compiler flags for DIRECTFB, overriding pkg-config
1928 DIRECTFB_LIBS
1929 linker flags for DIRECTFB, overriding pkg-config
1930 XMKMF Path to xmkmf, Makefile generator for X Window System
1931 PANGOX_CFLAGS
1932 C compiler flags for PANGOX, overriding pkg-config
1933 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1934 PANGOFT2_CFLAGS
1935 C compiler flags for PANGOFT2, overriding pkg-config
1936 PANGOFT2_LIBS
1937 linker flags for PANGOFT2, overriding pkg-config
1938 PANGOXFT_CFLAGS
1939 C compiler flags for PANGOXFT, overriding pkg-config
1940 PANGOXFT_LIBS
1941 linker flags for PANGOXFT, overriding pkg-config
1942 GTKPRINT_CFLAGS
1943 C compiler flags for GTKPRINT, overriding pkg-config
1944 GTKPRINT_LIBS
1945 linker flags for GTKPRINT, overriding pkg-config
1946 LIBGNOMEPRINTUI_CFLAGS
1947 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 LIBGNOMEPRINTUI_LIBS
1949 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1950 GNOMEVFS_CFLAGS
1951 C compiler flags for GNOMEVFS, overriding pkg-config
1952 GNOMEVFS_LIBS
1953 linker flags for GNOMEVFS, overriding pkg-config
1954 HILDON_CFLAGS
1955 C compiler flags for HILDON, overriding pkg-config
1956 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1957 CAIRO_CFLAGS
1958 C compiler flags for CAIRO, overriding pkg-config
1959 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1960 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1961 GST_LIBS linker flags for GST, overriding pkg-config
1962
1963 Use these variables to override the choices made by `configure' or to help
1964 it to find libraries and programs with nonstandard names/locations.
1965
1966 Report bugs to <wx-dev@lists.wxwidgets.org>.
1967 _ACEOF
1968 ac_status=$?
1969 fi
1970
1971 if test "$ac_init_help" = "recursive"; then
1972 # If there are subdirs, report their specific --help.
1973 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1974 test -d "$ac_dir" || continue
1975 ac_builddir=.
1976
1977 case "$ac_dir" in
1978 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1979 *)
1980 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1981 # A ".." for each directory in $ac_dir_suffix.
1982 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1983 case $ac_top_builddir_sub in
1984 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1985 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1986 esac ;;
1987 esac
1988 ac_abs_top_builddir=$ac_pwd
1989 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1990 # for backward compatibility:
1991 ac_top_builddir=$ac_top_build_prefix
1992
1993 case $srcdir in
1994 .) # We are building in place.
1995 ac_srcdir=.
1996 ac_top_srcdir=$ac_top_builddir_sub
1997 ac_abs_top_srcdir=$ac_pwd ;;
1998 [\\/]* | ?:[\\/]* ) # Absolute name.
1999 ac_srcdir=$srcdir$ac_dir_suffix;
2000 ac_top_srcdir=$srcdir
2001 ac_abs_top_srcdir=$srcdir ;;
2002 *) # Relative name.
2003 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2004 ac_top_srcdir=$ac_top_build_prefix$srcdir
2005 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2006 esac
2007 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2008
2009 cd "$ac_dir" || { ac_status=$?; continue; }
2010 # Check for guested configure.
2011 if test -f "$ac_srcdir/configure.gnu"; then
2012 echo &&
2013 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2014 elif test -f "$ac_srcdir/configure"; then
2015 echo &&
2016 $SHELL "$ac_srcdir/configure" --help=recursive
2017 else
2018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2019 fi || ac_status=$?
2020 cd "$ac_pwd" || { ac_status=$?; break; }
2021 done
2022 fi
2023
2024 test -n "$ac_init_help" && exit $ac_status
2025 if $ac_init_version; then
2026 cat <<\_ACEOF
2027 wxWidgets configure 2.9.0
2028 generated by GNU Autoconf 2.61
2029
2030 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2031 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2032 This configure script is free software; the Free Software Foundation
2033 gives unlimited permission to copy, distribute and modify it.
2034 _ACEOF
2035 exit
2036 fi
2037 cat >config.log <<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2040
2041 It was created by wxWidgets $as_me 2.9.0, which was
2042 generated by GNU Autoconf 2.61. Invocation command line was
2043
2044 $ $0 $@
2045
2046 _ACEOF
2047 exec 5>>config.log
2048 {
2049 cat <<_ASUNAME
2050 ## --------- ##
2051 ## Platform. ##
2052 ## --------- ##
2053
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2059
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2062
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2070
2071 _ASUNAME
2072
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2075 do
2076 IFS=$as_save_IFS
2077 test -z "$as_dir" && as_dir=.
2078 echo "PATH: $as_dir"
2079 done
2080 IFS=$as_save_IFS
2081
2082 } >&5
2083
2084 cat >&5 <<_ACEOF
2085
2086
2087 ## ----------- ##
2088 ## Core tests. ##
2089 ## ----------- ##
2090
2091 _ACEOF
2092
2093
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2099 ac_configure_args=
2100 ac_configure_args0=
2101 ac_configure_args1=
2102 ac_must_keep_next=false
2103 for ac_pass in 1 2
2104 do
2105 for ac_arg
2106 do
2107 case $ac_arg in
2108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2111 continue ;;
2112 *\'*)
2113 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2114 esac
2115 case $ac_pass in
2116 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2117 2)
2118 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2119 if test $ac_must_keep_next = true; then
2120 ac_must_keep_next=false # Got value, back to normal.
2121 else
2122 case $ac_arg in
2123 *=* | --config-cache | -C | -disable-* | --disable-* \
2124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126 | -with-* | --with-* | -without-* | --without-* | --x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2129 esac
2130 ;;
2131 -* ) ac_must_keep_next=true ;;
2132 esac
2133 fi
2134 ac_configure_args="$ac_configure_args '$ac_arg'"
2135 ;;
2136 esac
2137 done
2138 done
2139 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2140 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2141
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2149 {
2150 echo
2151
2152 cat <<\_ASBOX
2153 ## ---------------- ##
2154 ## Cache variables. ##
2155 ## ---------------- ##
2156 _ASBOX
2157 echo
2158 # The following way of writing the cache mishandles newlines in values,
2159 (
2160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161 eval ac_val=\$$ac_var
2162 case $ac_val in #(
2163 *${as_nl}*)
2164 case $ac_var in #(
2165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2167 esac
2168 case $ac_var in #(
2169 _ | IFS | as_nl) ;; #(
2170 *) $as_unset $ac_var ;;
2171 esac ;;
2172 esac
2173 done
2174 (set) 2>&1 |
2175 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176 *${as_nl}ac_space=\ *)
2177 sed -n \
2178 "s/'\''/'\''\\\\'\'''\''/g;
2179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2180 ;; #(
2181 *)
2182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2183 ;;
2184 esac |
2185 sort
2186 )
2187 echo
2188
2189 cat <<\_ASBOX
2190 ## ----------------- ##
2191 ## Output variables. ##
2192 ## ----------------- ##
2193 _ASBOX
2194 echo
2195 for ac_var in $ac_subst_vars
2196 do
2197 eval ac_val=\$$ac_var
2198 case $ac_val in
2199 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200 esac
2201 echo "$ac_var='\''$ac_val'\''"
2202 done | sort
2203 echo
2204
2205 if test -n "$ac_subst_files"; then
2206 cat <<\_ASBOX
2207 ## ------------------- ##
2208 ## File substitutions. ##
2209 ## ------------------- ##
2210 _ASBOX
2211 echo
2212 for ac_var in $ac_subst_files
2213 do
2214 eval ac_val=\$$ac_var
2215 case $ac_val in
2216 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217 esac
2218 echo "$ac_var='\''$ac_val'\''"
2219 done | sort
2220 echo
2221 fi
2222
2223 if test -s confdefs.h; then
2224 cat <<\_ASBOX
2225 ## ----------- ##
2226 ## confdefs.h. ##
2227 ## ----------- ##
2228 _ASBOX
2229 echo
2230 cat confdefs.h
2231 echo
2232 fi
2233 test "$ac_signal" != 0 &&
2234 echo "$as_me: caught signal $ac_signal"
2235 echo "$as_me: exit $exit_status"
2236 } >&5
2237 rm -f core *.core core.conftest.* &&
2238 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239 exit $exit_status
2240 ' 0
2241 for ac_signal in 1 2 13 15; do
2242 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2243 done
2244 ac_signal=0
2245
2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2247 rm -f -r conftest* confdefs.h
2248
2249 # Predefined preprocessor variables.
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2253 _ACEOF
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258 _ACEOF
2259
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 _ACEOF
2264
2265
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2268 _ACEOF
2269
2270
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273 _ACEOF
2274
2275
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer explicitly selected file to automatically selected ones.
2278 if test -n "$CONFIG_SITE"; then
2279 set x "$CONFIG_SITE"
2280 elif test "x$prefix" != xNONE; then
2281 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2282 else
2283 set x "$ac_default_prefix/share/config.site" \
2284 "$ac_default_prefix/etc/config.site"
2285 fi
2286 shift
2287 for ac_site_file
2288 do
2289 if test -r "$ac_site_file"; then
2290 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2291 echo "$as_me: loading site script $ac_site_file" >&6;}
2292 sed 's/^/| /' "$ac_site_file" >&5
2293 . "$ac_site_file"
2294 fi
2295 done
2296
2297 if test -r "$cache_file"; then
2298 # Some versions of bash will fail to source /dev/null (special
2299 # files actually), so we avoid doing that.
2300 if test -f "$cache_file"; then
2301 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2302 echo "$as_me: loading cache $cache_file" >&6;}
2303 case $cache_file in
2304 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2305 *) . "./$cache_file";;
2306 esac
2307 fi
2308 else
2309 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2310 echo "$as_me: creating cache $cache_file" >&6;}
2311 >$cache_file
2312 fi
2313
2314 # Check that the precious variables saved in the cache have kept the same
2315 # value.
2316 ac_cache_corrupted=false
2317 for ac_var in $ac_precious_vars; do
2318 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2319 eval ac_new_set=\$ac_env_${ac_var}_set
2320 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2321 eval ac_new_val=\$ac_env_${ac_var}_value
2322 case $ac_old_set,$ac_new_set in
2323 set,)
2324 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2325 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2326 ac_cache_corrupted=: ;;
2327 ,set)
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2331 ,);;
2332 *)
2333 if test "x$ac_old_val" != "x$ac_new_val"; then
2334 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2335 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2336 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2337 echo "$as_me: former value: $ac_old_val" >&2;}
2338 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2339 echo "$as_me: current value: $ac_new_val" >&2;}
2340 ac_cache_corrupted=:
2341 fi;;
2342 esac
2343 # Pass precious variables to config.status.
2344 if test "$ac_new_set" = set; then
2345 case $ac_new_val in
2346 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347 *) ac_arg=$ac_var=$ac_new_val ;;
2348 esac
2349 case " $ac_configure_args " in
2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2352 esac
2353 fi
2354 done
2355 if $ac_cache_corrupted; then
2356 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2357 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2358 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2359 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2360 { (exit 1); exit 1; }; }
2361 fi
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387 ac_ext=c
2388 ac_cpp='$CPP $CPPFLAGS'
2389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392
2393
2394
2395
2396
2397 ac_aux_dir=
2398 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 if test -f "$ac_dir/install-sh"; then
2400 ac_aux_dir=$ac_dir
2401 ac_install_sh="$ac_aux_dir/install-sh -c"
2402 break
2403 elif test -f "$ac_dir/install.sh"; then
2404 ac_aux_dir=$ac_dir
2405 ac_install_sh="$ac_aux_dir/install.sh -c"
2406 break
2407 elif test -f "$ac_dir/shtool"; then
2408 ac_aux_dir=$ac_dir
2409 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 break
2411 fi
2412 done
2413 if test -z "$ac_aux_dir"; then
2414 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2415 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2416 { (exit 1); exit 1; }; }
2417 fi
2418
2419 # These three variables are undocumented and unsupported,
2420 # and are intended to be withdrawn in a future Autoconf release.
2421 # They can cause serious problems if a builder's source tree is in a directory
2422 # whose full name contains unusual characters.
2423 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2424 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2425 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2426
2427
2428 # Make sure we can run config.sub.
2429 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2430 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2431 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2432 { (exit 1); exit 1; }; }
2433
2434 { echo "$as_me:$LINENO: checking build system type" >&5
2435 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2436 if test "${ac_cv_build+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439 ac_build_alias=$build_alias
2440 test "x$ac_build_alias" = x &&
2441 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2442 test "x$ac_build_alias" = x &&
2443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2445 { (exit 1); exit 1; }; }
2446 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2447 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2448 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2449 { (exit 1); exit 1; }; }
2450
2451 fi
2452 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2453 echo "${ECHO_T}$ac_cv_build" >&6; }
2454 case $ac_cv_build in
2455 *-*-*) ;;
2456 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2457 echo "$as_me: error: invalid value of canonical build" >&2;}
2458 { (exit 1); exit 1; }; };;
2459 esac
2460 build=$ac_cv_build
2461 ac_save_IFS=$IFS; IFS='-'
2462 set x $ac_cv_build
2463 shift
2464 build_cpu=$1
2465 build_vendor=$2
2466 shift; shift
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2469 build_os=$*
2470 IFS=$ac_save_IFS
2471 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2472
2473
2474 { echo "$as_me:$LINENO: checking host system type" >&5
2475 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2476 if test "${ac_cv_host+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 else
2479 if test "x$host_alias" = x; then
2480 ac_cv_host=$ac_cv_build
2481 else
2482 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2483 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2484 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2485 { (exit 1); exit 1; }; }
2486 fi
2487
2488 fi
2489 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2490 echo "${ECHO_T}$ac_cv_host" >&6; }
2491 case $ac_cv_host in
2492 *-*-*) ;;
2493 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2494 echo "$as_me: error: invalid value of canonical host" >&2;}
2495 { (exit 1); exit 1; }; };;
2496 esac
2497 host=$ac_cv_host
2498 ac_save_IFS=$IFS; IFS='-'
2499 set x $ac_cv_host
2500 shift
2501 host_cpu=$1
2502 host_vendor=$2
2503 shift; shift
2504 # Remember, the first character of IFS is used to create $*,
2505 # except with old shells:
2506 host_os=$*
2507 IFS=$ac_save_IFS
2508 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2509
2510
2511 { echo "$as_me:$LINENO: checking target system type" >&5
2512 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2513 if test "${ac_cv_target+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2516 if test "x$target_alias" = x; then
2517 ac_cv_target=$ac_cv_host
2518 else
2519 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2523 fi
2524
2525 fi
2526 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2527 echo "${ECHO_T}$ac_cv_target" >&6; }
2528 case $ac_cv_target in
2529 *-*-*) ;;
2530 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2531 echo "$as_me: error: invalid value of canonical target" >&2;}
2532 { (exit 1); exit 1; }; };;
2533 esac
2534 target=$ac_cv_target
2535 ac_save_IFS=$IFS; IFS='-'
2536 set x $ac_cv_target
2537 shift
2538 target_cpu=$1
2539 target_vendor=$2
2540 shift; shift
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2543 target_os=$*
2544 IFS=$ac_save_IFS
2545 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2546
2547
2548 # The aliases save the names the user supplied, while $host etc.
2549 # will get canonicalized.
2550 test -n "$target_alias" &&
2551 test "$program_prefix$program_suffix$program_transform_name" = \
2552 NONENONEs,x,x, &&
2553 program_prefix=${target_alias}-
2554
2555
2556
2557 wx_major_version_number=2
2558 wx_minor_version_number=9
2559 wx_release_number=0
2560 wx_subrelease_number=0
2561
2562 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2563 WX_VERSION=$WX_RELEASE.$wx_release_number
2564 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2565
2566 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2567
2568
2569 wx_top_builddir="`pwd`"
2570
2571
2572
2573
2574 USE_UNIX=1
2575 USE_OS2=0
2576 USE_WIN32=0
2577 USE_DOS=0
2578 USE_BEOS=0
2579 USE_MAC=0
2580
2581 USE_AIX=
2582 USE_BSD= USE_DARWIN= USE_FREEBSD=
2583 USE_GNU= USE_HPUX=
2584 USE_LINUX=
2585 USE_NETBSD=
2586 USE_OPENBSD=
2587 USE_OSF= USE_SGI=
2588 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2589 USE_ULTRIX=
2590 USE_UNIXWARE=
2591
2592 USE_ALPHA=
2593
2594 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2595
2596 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2597
2598 DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_wxUSE_GTK=0
2600 DEFAULT_wxUSE_MAC=0
2601 DEFAULT_wxUSE_MGL=0
2602 DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_wxUSE_MSW=0
2605 DEFAULT_wxUSE_PM=0
2606 DEFAULT_wxUSE_X11=0
2607 DEFAULT_wxUSE_DFB=0
2608
2609 DEFAULT_DEFAULT_wxUSE_COCOA=0
2610 DEFAULT_DEFAULT_wxUSE_GTK=0
2611 DEFAULT_DEFAULT_wxUSE_MAC=0
2612 DEFAULT_DEFAULT_wxUSE_MGL=0
2613 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2615 DEFAULT_DEFAULT_wxUSE_MSW=0
2616 DEFAULT_DEFAULT_wxUSE_PM=0
2617 DEFAULT_DEFAULT_wxUSE_X11=0
2618 DEFAULT_DEFAULT_wxUSE_DFB=0
2619
2620 PROGRAM_EXT=
2621 SO_SUFFIX=so
2622 SAMPLES_RPATH_FLAG=
2623 SAMPLES_RPATH_POSTLINK=
2624
2625 DEFAULT_STD_FLAG=yes
2626
2627 case "${host}" in
2628 *-hp-hpux* )
2629 USE_HPUX=1
2630 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2632 SO_SUFFIX=sl
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __HPUX__ 1
2635 _ACEOF
2636
2637
2638 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2639 ;;
2640 *-*-linux* )
2641 USE_LINUX=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __LINUX__ 1
2644 _ACEOF
2645
2646 TMP=`uname -m`
2647 if test "x$TMP" = "xalpha"; then
2648 USE_ALPHA=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __ALPHA__ 1
2651 _ACEOF
2652
2653 fi
2654 DEFAULT_DEFAULT_wxUSE_GTK=1
2655 ;;
2656 *-*-gnu* | *-*-k*bsd*-gnu )
2657 USE_GNU=1
2658 TMP=`uname -m`
2659 if test "x$TMP" = "xalpha"; then
2660 USE_ALPHA=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __ALPHA__ 1
2663 _ACEOF
2664
2665 fi
2666 DEFAULT_DEFAULT_wxUSE_GTK=1
2667 ;;
2668 *-*-irix5* | *-*-irix6* )
2669 USE_SGI=1
2670 USE_SVR4=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SGI__ 1
2673 _ACEOF
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SVR4__ 1
2677 _ACEOF
2678
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 ;;
2681 *-*-solaris2* )
2682 USE_SUN=1
2683 USE_SOLARIS=1
2684 USE_SVR4=1
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SUN__ 1
2687 _ACEOF
2688
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SOLARIS__ 1
2691 _ACEOF
2692
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SVR4__ 1
2695 _ACEOF
2696
2697 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2698 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2699 ;;
2700 *-*-sunos4* )
2701 USE_SUN=1
2702 USE_SUNOS=1
2703 USE_BSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SUN__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __SUNOS__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __BSD__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2717 ;;
2718 *-*-freebsd*)
2719 USE_BSD=1
2720 USE_FREEBSD=1
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __FREEBSD__ 1
2723 _ACEOF
2724
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __BSD__ 1
2727 _ACEOF
2728
2729 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 ;;
2731 *-*-openbsd*|*-*-mirbsd*)
2732 USE_BSD=1
2733 USE_OPENBSD=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __OPENBSD__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __BSD__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_GTK=1
2743 ;;
2744 *-*-netbsd*)
2745 USE_BSD=1
2746 USE_NETBSD=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __NETBSD__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __BSD__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2756 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2757
2758 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2759 ;;
2760 *-*-osf* )
2761 USE_ALPHA=1
2762 USE_OSF=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __ALPHA__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __OSF__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2773 ;;
2774 *-*-dgux5* )
2775 USE_ALPHA=1
2776 USE_SVR4=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __ALPHA__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SVR4__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2786 ;;
2787 *-*-sysv5* )
2788 USE_SYSV=1
2789 USE_SVR4=1
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SYSV__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SVR4__ 1
2796 _ACEOF
2797
2798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2799 ;;
2800 *-*-aix* )
2801 USE_AIX=1
2802 USE_SYSV=1
2803 USE_SVR4=1
2804 SO_SUFFIX=a
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __AIX__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SYSV__ 1
2811 _ACEOF
2812
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __SVR4__ 1
2815 _ACEOF
2816
2817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 ;;
2819
2820 *-*-*UnixWare*)
2821 USE_SYSV=1
2822 USE_SVR4=1
2823 USE_UNIXWARE=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __UNIXWARE__ 1
2826 _ACEOF
2827
2828 ;;
2829
2830 *-*-cygwin* | *-*-mingw32* )
2831 SO_SUFFIX=dll
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MSW=1
2834 ;;
2835
2836 *-pc-msdosdjgpp )
2837 USE_UNIX=0
2838 USE_DOS=1
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __DOS__ 1
2841 _ACEOF
2842
2843 PROGRAM_EXT=".exe"
2844 DEFAULT_DEFAULT_wxUSE_MGL=1
2845 ;;
2846
2847 *-pc-os2_emx | *-pc-os2-emx )
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __EMX__ 1
2850 _ACEOF
2851
2852 USE_OS2=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __OS2__ 1
2855 _ACEOF
2856
2857 PROGRAM_EXT=".exe"
2858 DEFAULT_DEFAULT_wxUSE_PM=1
2859 CXX=gcc
2860 LDFLAGS="$LDFLAGS -Zcrtdll"
2861 ac_executable_extensions=".exe"
2862 export ac_executable_extensions
2863 ac_save_IFS="$IFS"
2864 IFS='\\'
2865 ac_TEMP_PATH=
2866 for ac_dir in $PATH; do
2867 IFS=$ac_save_IFS
2868 if test -z "$ac_TEMP_PATH"; then
2869 ac_TEMP_PATH="$ac_dir"
2870 else
2871 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2872 fi
2873 done
2874 export PATH="$ac_TEMP_PATH"
2875 unset ac_TEMP_PATH
2876 DEFAULT_STD_FLAG=no
2877 ;;
2878
2879 *-*-darwin* )
2880 USE_BSD=1
2881 USE_DARWIN=1
2882 SO_SUFFIX=dylib
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __BSD__ 1
2885 _ACEOF
2886
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __DARWIN__ 1
2889 _ACEOF
2890
2891 cat >>confdefs.h <<\_ACEOF
2892 #define TARGET_CARBON 1
2893 _ACEOF
2894
2895 DEFAULT_DEFAULT_wxUSE_MAC=1
2896 DEFAULT_STD_FLAG=no
2897 ;;
2898 powerpc-apple-macos* )
2899 USE_UNIX=0
2900 ac_cv_c_bigendian=yes
2901 SO_SUFFIX=shlib
2902 DEFAULT_DEFAULT_wxUSE_MAC=1
2903 DEFAULT_STD_FLAG=no
2904 ;;
2905
2906 *-*-beos* )
2907 USE_BEOS=1
2908 cat >>confdefs.h <<\_ACEOF
2909 #define __BEOS__ 1
2910 _ACEOF
2911
2912 ;;
2913
2914 *)
2915 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2916 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2917 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2918 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2919
2920 DEFAULT_DEFAULT_wxUSE_X11=1
2921 DEFAULT_wxUSE_SHARED=no
2922 esac
2923
2924
2925
2926
2927 wx_arg_cache_file="configarg.cache"
2928 echo "loading argument cache $wx_arg_cache_file"
2929 rm -f ${wx_arg_cache_file}.tmp
2930 touch ${wx_arg_cache_file}.tmp
2931 touch ${wx_arg_cache_file}
2932
2933
2934 DEFAULT_wxUSE_ALL_FEATURES=yes
2935
2936 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2937 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2938
2939 DEFAULT_wxUSE_DMALLOC=no
2940 DEFAULT_wxUSE_LIBGNOMEVFS=no
2941 DEFAULT_wxUSE_LIBHILDON=no
2942 DEFAULT_wxUSE_LIBMSPACK=no
2943 DEFAULT_wxUSE_LIBSDL=no
2944 DEFAULT_wxUSE_OPENGL=no
2945
2946 DEFAULT_wxUSE_ACCESSIBILITY=no
2947 DEFAULT_wxUSE_DATAVIEWCTRL=no
2948 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2949 DEFAULT_wxUSE_MEDIACTRL=no
2950 DEFAULT_wxUSE_TAB_DIALOG=no
2951
2952 DEFAULT_wxUSE_UNICODE_UTF8=auto
2953 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2954
2955 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2956
2957 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2958
2959 DEFAULT_wxUSE_GTK2=yes
2960
2961 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2962
2963
2964 for toolkit in `echo $ALL_TOOLKITS`; do
2965 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2966 if test "x$LINE" != "x" ; then
2967 has_toolkit_in_cache=1
2968 eval "DEFAULT_$LINE"
2969 eval "CACHE_$toolkit=1"
2970
2971 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2972 if test "x$LINE" != "x" ; then
2973 eval "DEFAULT_$LINE"
2974 fi
2975 fi
2976 done
2977
2978
2979
2980
2981
2982 enablestring=disable
2983 defaultval=
2984 if test -z "$defaultval"; then
2985 if test x"$enablestring" = xdisable; then
2986 defaultval=yes
2987 else
2988 defaultval=no
2989 fi
2990 fi
2991
2992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2993 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2994 # Check whether --enable-gui was given.
2995 if test "${enable_gui+set}" = set; then
2996 enableval=$enable_gui;
2997 if test "$enableval" = yes; then
2998 wx_cv_use_gui='wxUSE_GUI=yes'
2999 else
3000 wx_cv_use_gui='wxUSE_GUI=no'
3001 fi
3002 cache=yes
3003
3004 else
3005
3006 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x ; then
3008 eval "DEFAULT_$LINE"
3009 cache=yes
3010 else
3011 cache=no
3012 fi
3013
3014 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3015
3016 fi
3017
3018
3019 eval "$wx_cv_use_gui"
3020 if test "x$cache" = xyes; then
3021 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3022 fi
3023
3024 if test x"$enablestring" = xdisable; then
3025 if test $wxUSE_GUI = yes; then
3026 result=no
3027 else
3028 result=yes
3029 fi
3030 else
3031 result=$wxUSE_GUI
3032 fi
3033
3034 { echo "$as_me:$LINENO: result: $result" >&5
3035 echo "${ECHO_T}$result" >&6; }
3036
3037
3038 enablestring=
3039 defaultval=
3040 if test -z "$defaultval"; then
3041 if test x"$enablestring" = xdisable; then
3042 defaultval=yes
3043 else
3044 defaultval=no
3045 fi
3046 fi
3047
3048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3049 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3050 # Check whether --enable-monolithic was given.
3051 if test "${enable_monolithic+set}" = set; then
3052 enableval=$enable_monolithic;
3053 if test "$enableval" = yes; then
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3055 else
3056 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3057 fi
3058 cache=yes
3059
3060 else
3061
3062 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3065 cache=yes
3066 else
3067 cache=no
3068 fi
3069
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3071
3072 fi
3073
3074
3075 eval "$wx_cv_use_monolithic"
3076 if test "x$cache" = xyes; then
3077 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3078 fi
3079
3080 if test x"$enablestring" = xdisable; then
3081 if test $wxUSE_MONOLITHIC = yes; then
3082 result=no
3083 else
3084 result=yes
3085 fi
3086 else
3087 result=$wxUSE_MONOLITHIC
3088 fi
3089
3090 { echo "$as_me:$LINENO: result: $result" >&5
3091 echo "${ECHO_T}$result" >&6; }
3092
3093
3094 enablestring=
3095 defaultval=
3096 if test -z "$defaultval"; then
3097 if test x"$enablestring" = xdisable; then
3098 defaultval=yes
3099 else
3100 defaultval=no
3101 fi
3102 fi
3103
3104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3105 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3106 # Check whether --enable-plugins was given.
3107 if test "${enable_plugins+set}" = set; then
3108 enableval=$enable_plugins;
3109 if test "$enableval" = yes; then
3110 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3111 else
3112 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3113 fi
3114 cache=yes
3115
3116 else
3117
3118 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x ; then
3120 eval "DEFAULT_$LINE"
3121 cache=yes
3122 else
3123 cache=no
3124 fi
3125
3126 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3127
3128 fi
3129
3130
3131 eval "$wx_cv_use_plugins"
3132 if test "x$cache" = xyes; then
3133 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3134 fi
3135
3136 if test x"$enablestring" = xdisable; then
3137 if test $wxUSE_PLUGINS = yes; then
3138 result=no
3139 else
3140 result=yes
3141 fi
3142 else
3143 result=$wxUSE_PLUGINS
3144 fi
3145
3146 { echo "$as_me:$LINENO: result: $result" >&5
3147 echo "${ECHO_T}$result" >&6; }
3148
3149
3150 withstring=without
3151 defaultval=$wxUSE_ALL_FEATURES
3152 if test -z "$defaultval"; then
3153 if test x"$withstring" = xwithout; then
3154 defaultval=yes
3155 else
3156 defaultval=no
3157 fi
3158 fi
3159 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3160 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3161
3162 # Check whether --with-subdirs was given.
3163 if test "${with_subdirs+set}" = set; then
3164 withval=$with_subdirs;
3165 if test "$withval" = yes; then
3166 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3167 else
3168 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3169 fi
3170 cache=yes
3171
3172 else
3173
3174 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x ; then
3176 eval "DEFAULT_$LINE"
3177 cache=yes
3178 else
3179 cache=no
3180 fi
3181
3182 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3183
3184 fi
3185
3186
3187 eval "$wx_cv_use_subdirs"
3188 if test "x$cache" = xyes; then
3189 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3190 fi
3191
3192 if test x"$withstring" = xwithout; then
3193 if test $wxWITH_SUBDIRS = yes; then
3194 result=no
3195 else
3196 result=yes
3197 fi
3198 else
3199 result=$wxWITH_SUBDIRS
3200 fi
3201
3202 { echo "$as_me:$LINENO: result: $result" >&5
3203 echo "${ECHO_T}$result" >&6; }
3204
3205
3206 # Check whether --with-flavour was given.
3207 if test "${with_flavour+set}" = set; then
3208 withval=$with_flavour; WX_FLAVOUR="$withval"
3209 fi
3210
3211
3212 enablestring=
3213 defaultval=
3214 if test -z "$defaultval"; then
3215 if test x"$enablestring" = xdisable; then
3216 defaultval=yes
3217 else
3218 defaultval=no
3219 fi
3220 fi
3221
3222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3223 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3224 # Check whether --enable-official_build was given.
3225 if test "${enable_official_build+set}" = set; then
3226 enableval=$enable_official_build;
3227 if test "$enableval" = yes; then
3228 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3229 else
3230 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3231 fi
3232 cache=yes
3233
3234 else
3235
3236 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x ; then
3238 eval "DEFAULT_$LINE"
3239 cache=yes
3240 else
3241 cache=no
3242 fi
3243
3244 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3245
3246 fi
3247
3248
3249 eval "$wx_cv_use_official_build"
3250 if test "x$cache" = xyes; then
3251 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3252 fi
3253
3254 if test x"$enablestring" = xdisable; then
3255 if test $wxUSE_OFFICIAL_BUILD = yes; then
3256 result=no
3257 else
3258 result=yes
3259 fi
3260 else
3261 result=$wxUSE_OFFICIAL_BUILD
3262 fi
3263
3264 { echo "$as_me:$LINENO: result: $result" >&5
3265 echo "${ECHO_T}$result" >&6; }
3266
3267 # Check whether --enable-vendor was given.
3268 if test "${enable_vendor+set}" = set; then
3269 enableval=$enable_vendor; VENDOR="$enableval"
3270 fi
3271
3272 if test "x$VENDOR" = "x"; then
3273 VENDOR="custom"
3274 fi
3275
3276
3277 enablestring=disable
3278 defaultval=
3279 if test -z "$defaultval"; then
3280 if test x"$enablestring" = xdisable; then
3281 defaultval=yes
3282 else
3283 defaultval=no
3284 fi
3285 fi
3286
3287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3288 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3289 # Check whether --enable-all-features was given.
3290 if test "${enable_all_features+set}" = set; then
3291 enableval=$enable_all_features;
3292 if test "$enableval" = yes; then
3293 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3294 else
3295 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3296 fi
3297 cache=yes
3298
3299 else
3300
3301 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3302 if test "x$LINE" != x ; then
3303 eval "DEFAULT_$LINE"
3304 cache=yes
3305 else
3306 cache=no
3307 fi
3308
3309 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3310
3311 fi
3312
3313
3314 eval "$wx_cv_use_all_features"
3315 if test "x$cache" = xyes; then
3316 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3317 fi
3318
3319 if test x"$enablestring" = xdisable; then
3320 if test $wxUSE_ALL_FEATURES = yes; then
3321 result=no
3322 else
3323 result=yes
3324 fi
3325 else
3326 result=$wxUSE_ALL_FEATURES
3327 fi
3328
3329 { echo "$as_me:$LINENO: result: $result" >&5
3330 echo "${ECHO_T}$result" >&6; }
3331
3332
3333
3334 if test "$wxUSE_GUI" = "yes"; then
3335
3336
3337 enablestring=
3338 defaultval=
3339 if test -z "$defaultval"; then
3340 if test x"$enablestring" = xdisable; then
3341 defaultval=yes
3342 else
3343 defaultval=no
3344 fi
3345 fi
3346
3347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3348 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3349 # Check whether --enable-universal was given.
3350 if test "${enable_universal+set}" = set; then
3351 enableval=$enable_universal;
3352 if test "$enableval" = yes; then
3353 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3354 else
3355 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3356 fi
3357 cache=yes
3358
3359 else
3360
3361 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3364 cache=yes
3365 else
3366 cache=no
3367 fi
3368
3369 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3370
3371 fi
3372
3373
3374 eval "$wx_cv_use_universal"
3375 if test "x$cache" = xyes; then
3376 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3377 fi
3378
3379 if test x"$enablestring" = xdisable; then
3380 if test $wxUSE_UNIVERSAL = yes; then
3381 result=no
3382 else
3383 result=yes
3384 fi
3385 else
3386 result=$wxUSE_UNIVERSAL
3387 fi
3388
3389 { echo "$as_me:$LINENO: result: $result" >&5
3390 echo "${ECHO_T}$result" >&6; }
3391
3392 if test "$wxUSE_UNIVERSAL" = "yes"; then
3393
3394 # Check whether --with-themes was given.
3395 if test "${with_themes+set}" = set; then
3396 withval=$with_themes; wxUNIV_THEMES="$withval"
3397 fi
3398
3399 fi
3400
3401
3402 # Check whether --with-gtk was given.
3403 if test "${with_gtk+set}" = set; then
3404 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-motif was given.
3409 if test "${with_motif+set}" = set; then
3410 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-mac was given.
3415 if test "${with_mac+set}" = set; then
3416 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-cocoa was given.
3421 if test "${with_cocoa+set}" = set; then
3422 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-wine was given.
3427 if test "${with_wine+set}" = set; then
3428 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3429 fi
3430
3431
3432 # Check whether --with-msw was given.
3433 if test "${with_msw+set}" = set; then
3434 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-pm was given.
3439 if test "${with_pm+set}" = set; then
3440 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 # Check whether --with-mgl was given.
3445 if test "${with_mgl+set}" = set; then
3446 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3447 fi
3448
3449
3450 # Check whether --with-directfb was given.
3451 if test "${with_directfb+set}" = set; then
3452 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3453 fi
3454
3455
3456 # Check whether --with-microwin was given.
3457 if test "${with_microwin+set}" = set; then
3458 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3459 fi
3460
3461
3462 # Check whether --with-x11 was given.
3463 if test "${with_x11+set}" = set; then
3464 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3465 fi
3466
3467
3468 enablestring=
3469 defaultval=
3470 if test -z "$defaultval"; then
3471 if test x"$enablestring" = xdisable; then
3472 defaultval=yes
3473 else
3474 defaultval=no
3475 fi
3476 fi
3477
3478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3479 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3480 # Check whether --enable-nanox was given.
3481 if test "${enable_nanox+set}" = set; then
3482 enableval=$enable_nanox;
3483 if test "$enableval" = yes; then
3484 wx_cv_use_nanox='wxUSE_NANOX=yes'
3485 else
3486 wx_cv_use_nanox='wxUSE_NANOX=no'
3487 fi
3488 cache=yes
3489
3490 else
3491
3492 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3493 if test "x$LINE" != x ; then
3494 eval "DEFAULT_$LINE"
3495 cache=yes
3496 else
3497 cache=no
3498 fi
3499
3500 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3501
3502 fi
3503
3504
3505 eval "$wx_cv_use_nanox"
3506 if test "x$cache" = xyes; then
3507 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3508 fi
3509
3510 if test x"$enablestring" = xdisable; then
3511 if test $wxUSE_NANOX = yes; then
3512 result=no
3513 else
3514 result=yes
3515 fi
3516 else
3517 result=$wxUSE_NANOX
3518 fi
3519
3520 { echo "$as_me:$LINENO: result: $result" >&5
3521 echo "${ECHO_T}$result" >&6; }
3522
3523
3524 # Check whether --enable-gtk2 was given.
3525 if test "${enable_gtk2+set}" = set; then
3526 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3527 fi
3528
3529
3530 enablestring=
3531 defaultval=
3532 if test -z "$defaultval"; then
3533 if test x"$enablestring" = xdisable; then
3534 defaultval=yes
3535 else
3536 defaultval=no
3537 fi
3538 fi
3539
3540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3541 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3542 # Check whether --enable-gpe was given.
3543 if test "${enable_gpe+set}" = set; then
3544 enableval=$enable_gpe;
3545 if test "$enableval" = yes; then
3546 wx_cv_use_gpe='wxUSE_GPE=yes'
3547 else
3548 wx_cv_use_gpe='wxUSE_GPE=no'
3549 fi
3550 cache=yes
3551
3552 else
3553
3554 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x ; then
3556 eval "DEFAULT_$LINE"
3557 cache=yes
3558 else
3559 cache=no
3560 fi
3561
3562 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3563
3564 fi
3565
3566
3567 eval "$wx_cv_use_gpe"
3568 if test "x$cache" = xyes; then
3569 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3570 fi
3571
3572 if test x"$enablestring" = xdisable; then
3573 if test $wxUSE_GPE = yes; then
3574 result=no
3575 else
3576 result=yes
3577 fi
3578 else
3579 result=$wxUSE_GPE
3580 fi
3581
3582 { echo "$as_me:$LINENO: result: $result" >&5
3583 echo "${ECHO_T}$result" >&6; }
3584
3585
3586
3587
3588 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3589 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3590
3591 # Check whether --with-libpng was given.
3592 if test "${with_libpng+set}" = set; then
3593 withval=$with_libpng;
3594 if test "$withval" = yes; then
3595 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3596 elif test "$withval" = no; then
3597 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3598 elif test "$withval" = sys; then
3599 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3600 elif test "$withval" = builtin; then
3601 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3602 else
3603 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3604 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3605 { (exit 1); exit 1; }; }
3606 fi
3607 cache=yes
3608
3609 else
3610
3611 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x ; then
3613 eval "DEFAULT_$LINE"
3614 cache=yes
3615 else
3616 cache=no
3617 fi
3618
3619 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3620
3621 fi
3622
3623
3624 eval "$wx_cv_use_libpng"
3625 if test "x$cache" = xyes; then
3626 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3627 fi
3628
3629 if test "$wxUSE_LIBPNG" = yes; then
3630 { echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6; }
3632 elif test "$wxUSE_LIBPNG" = no; then
3633 { echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6; }
3635 elif test "$wxUSE_LIBPNG" = sys; then
3636 { echo "$as_me:$LINENO: result: system version" >&5
3637 echo "${ECHO_T}system version" >&6; }
3638 elif test "$wxUSE_LIBPNG" = builtin; then
3639 { echo "$as_me:$LINENO: result: builtin version" >&5
3640 echo "${ECHO_T}builtin version" >&6; }
3641 else
3642 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3643 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3644 { (exit 1); exit 1; }; }
3645 fi
3646
3647
3648 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3649 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3650
3651 # Check whether --with-libjpeg was given.
3652 if test "${with_libjpeg+set}" = set; then
3653 withval=$with_libjpeg;
3654 if test "$withval" = yes; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3656 elif test "$withval" = no; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3658 elif test "$withval" = sys; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3660 elif test "$withval" = builtin; then
3661 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3662 else
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3666 fi
3667 cache=yes
3668
3669 else
3670
3671 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3672 if test "x$LINE" != x ; then
3673 eval "DEFAULT_$LINE"
3674 cache=yes
3675 else
3676 cache=no
3677 fi
3678
3679 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3680
3681 fi
3682
3683
3684 eval "$wx_cv_use_libjpeg"
3685 if test "x$cache" = xyes; then
3686 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3687 fi
3688
3689 if test "$wxUSE_LIBJPEG" = yes; then
3690 { echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6; }
3692 elif test "$wxUSE_LIBJPEG" = no; then
3693 { echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6; }
3695 elif test "$wxUSE_LIBJPEG" = sys; then
3696 { echo "$as_me:$LINENO: result: system version" >&5
3697 echo "${ECHO_T}system version" >&6; }
3698 elif test "$wxUSE_LIBJPEG" = builtin; then
3699 { echo "$as_me:$LINENO: result: builtin version" >&5
3700 echo "${ECHO_T}builtin version" >&6; }
3701 else
3702 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3703 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3704 { (exit 1); exit 1; }; }
3705 fi
3706
3707
3708 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3709 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3710
3711 # Check whether --with-libtiff was given.
3712 if test "${with_libtiff+set}" = set; then
3713 withval=$with_libtiff;
3714 if test "$withval" = yes; then
3715 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3716 elif test "$withval" = no; then
3717 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3718 elif test "$withval" = sys; then
3719 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3720 elif test "$withval" = builtin; then
3721 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3722 else
3723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3724 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3725 { (exit 1); exit 1; }; }
3726 fi
3727 cache=yes
3728
3729 else
3730
3731 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x ; then
3733 eval "DEFAULT_$LINE"
3734 cache=yes
3735 else
3736 cache=no
3737 fi
3738
3739 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3740
3741 fi
3742
3743
3744 eval "$wx_cv_use_libtiff"
3745 if test "x$cache" = xyes; then
3746 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3747 fi
3748
3749 if test "$wxUSE_LIBTIFF" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBTIFF" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBTIFF" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3761 else
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3765 fi
3766
3767
3768 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3769 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3770
3771 # Check whether --with-libxpm was given.
3772 if test "${with_libxpm+set}" = set; then
3773 withval=$with_libxpm;
3774 if test "$withval" = yes; then
3775 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3776 elif test "$withval" = no; then
3777 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3778 elif test "$withval" = sys; then
3779 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3780 elif test "$withval" = builtin; then
3781 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3782 else
3783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3784 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3785 { (exit 1); exit 1; }; }
3786 fi
3787 cache=yes
3788
3789 else
3790
3791 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3794 cache=yes
3795 else
3796 cache=no
3797 fi
3798
3799 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3800
3801 fi
3802
3803
3804 eval "$wx_cv_use_libxpm"
3805 if test "x$cache" = xyes; then
3806 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3807 fi
3808
3809 if test "$wxUSE_LIBXPM" = yes; then
3810 { echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6; }
3812 elif test "$wxUSE_LIBXPM" = no; then
3813 { echo "$as_me:$LINENO: result: no" >&5
3814 echo "${ECHO_T}no" >&6; }
3815 elif test "$wxUSE_LIBXPM" = sys; then
3816 { echo "$as_me:$LINENO: result: system version" >&5
3817 echo "${ECHO_T}system version" >&6; }
3818 elif test "$wxUSE_LIBXPM" = builtin; then
3819 { echo "$as_me:$LINENO: result: builtin version" >&5
3820 echo "${ECHO_T}builtin version" >&6; }
3821 else
3822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3823 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3824 { (exit 1); exit 1; }; }
3825 fi
3826
3827
3828 withstring=
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3832 defaultval=yes
3833 else
3834 defaultval=no
3835 fi
3836 fi
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3839
3840 # Check whether --with-libmspack was given.
3841 if test "${with_libmspack+set}" = set; then
3842 withval=$with_libmspack;
3843 if test "$withval" = yes; then
3844 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3845 else
3846 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3847 fi
3848 cache=yes
3849
3850 else
3851
3852 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3855 cache=yes
3856 else
3857 cache=no
3858 fi
3859
3860 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3861
3862 fi
3863
3864
3865 eval "$wx_cv_use_libmspack"
3866 if test "x$cache" = xyes; then
3867 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3868 fi
3869
3870 if test x"$withstring" = xwithout; then
3871 if test $wxUSE_LIBMSPACK = yes; then
3872 result=no
3873 else
3874 result=yes
3875 fi
3876 else
3877 result=$wxUSE_LIBMSPACK
3878 fi
3879
3880 { echo "$as_me:$LINENO: result: $result" >&5
3881 echo "${ECHO_T}$result" >&6; }
3882
3883
3884 withstring=without
3885 defaultval=$wxUSE_ALL_FEATURES
3886 if test -z "$defaultval"; then
3887 if test x"$withstring" = xwithout; then
3888 defaultval=yes
3889 else
3890 defaultval=no
3891 fi
3892 fi
3893 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3894 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3895
3896 # Check whether --with-gtkprint was given.
3897 if test "${with_gtkprint+set}" = set; then
3898 withval=$with_gtkprint;
3899 if test "$withval" = yes; then
3900 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3901 else
3902 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3903 fi
3904 cache=yes
3905
3906 else
3907
3908 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x ; then
3910 eval "DEFAULT_$LINE"
3911 cache=yes
3912 else
3913 cache=no
3914 fi
3915
3916 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3917
3918 fi
3919
3920
3921 eval "$wx_cv_use_gtkprint"
3922 if test "x$cache" = xyes; then
3923 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3924 fi
3925
3926 if test x"$withstring" = xwithout; then
3927 if test $wxUSE_GTKPRINT = yes; then
3928 result=no
3929 else
3930 result=yes
3931 fi
3932 else
3933 result=$wxUSE_GTKPRINT
3934 fi
3935
3936 { echo "$as_me:$LINENO: result: $result" >&5
3937 echo "${ECHO_T}$result" >&6; }
3938
3939
3940 withstring=without
3941 defaultval=$wxUSE_ALL_FEATURES
3942 if test -z "$defaultval"; then
3943 if test x"$withstring" = xwithout; then
3944 defaultval=yes
3945 else
3946 defaultval=no
3947 fi
3948 fi
3949 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3950 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3951
3952 # Check whether --with-gnomeprint was given.
3953 if test "${with_gnomeprint+set}" = set; then
3954 withval=$with_gnomeprint;
3955 if test "$withval" = yes; then
3956 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3957 else
3958 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3959 fi
3960 cache=yes
3961
3962 else
3963
3964 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3965 if test "x$LINE" != x ; then
3966 eval "DEFAULT_$LINE"
3967 cache=yes
3968 else
3969 cache=no
3970 fi
3971
3972 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3973
3974 fi
3975
3976
3977 eval "$wx_cv_use_gnomeprint"
3978 if test "x$cache" = xyes; then
3979 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3980 fi
3981
3982 if test x"$withstring" = xwithout; then
3983 if test $wxUSE_LIBGNOMEPRINT = yes; then
3984 result=no
3985 else
3986 result=yes
3987 fi
3988 else
3989 result=$wxUSE_LIBGNOMEPRINT
3990 fi
3991
3992 { echo "$as_me:$LINENO: result: $result" >&5
3993 echo "${ECHO_T}$result" >&6; }
3994
3995
3996 withstring=
3997 defaultval=$wxUSE_ALL_FEATURES
3998 if test -z "$defaultval"; then
3999 if test x"$withstring" = xwithout; then
4000 defaultval=yes
4001 else
4002 defaultval=no
4003 fi
4004 fi
4005 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4006 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4007
4008 # Check whether --with-gnomevfs was given.
4009 if test "${with_gnomevfs+set}" = set; then
4010 withval=$with_gnomevfs;
4011 if test "$withval" = yes; then
4012 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4013 else
4014 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4015 fi
4016 cache=yes
4017
4018 else
4019
4020 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4021 if test "x$LINE" != x ; then
4022 eval "DEFAULT_$LINE"
4023 cache=yes
4024 else
4025 cache=no
4026 fi
4027
4028 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4029
4030 fi
4031
4032
4033 eval "$wx_cv_use_gnomevfs"
4034 if test "x$cache" = xyes; then
4035 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4036 fi
4037
4038 if test x"$withstring" = xwithout; then
4039 if test $wxUSE_LIBGNOMEVFS = yes; then
4040 result=no
4041 else
4042 result=yes
4043 fi
4044 else
4045 result=$wxUSE_LIBGNOMEVFS
4046 fi
4047
4048 { echo "$as_me:$LINENO: result: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4050
4051
4052 withstring=
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4056 defaultval=yes
4057 else
4058 defaultval=no
4059 fi
4060 fi
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4063
4064 # Check whether --with-hildon was given.
4065 if test "${with_hildon+set}" = set; then
4066 withval=$with_hildon;
4067 if test "$withval" = yes; then
4068 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4069 else
4070 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4071 fi
4072 cache=yes
4073
4074 else
4075
4076 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x ; then
4078 eval "DEFAULT_$LINE"
4079 cache=yes
4080 else
4081 cache=no
4082 fi
4083
4084 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4085
4086 fi
4087
4088
4089 eval "$wx_cv_use_hildon"
4090 if test "x$cache" = xyes; then
4091 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4092 fi
4093
4094 if test x"$withstring" = xwithout; then
4095 if test $wxUSE_LIBHILDON = yes; then
4096 result=no
4097 else
4098 result=yes
4099 fi
4100 else
4101 result=$wxUSE_LIBHILDON
4102 fi
4103
4104 { echo "$as_me:$LINENO: result: $result" >&5
4105 echo "${ECHO_T}$result" >&6; }
4106
4107
4108 withstring=
4109 defaultval=$wxUSE_ALL_FEATURES
4110 if test -z "$defaultval"; then
4111 if test x"$withstring" = xwithout; then
4112 defaultval=yes
4113 else
4114 defaultval=no
4115 fi
4116 fi
4117 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4118 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4119
4120 # Check whether --with-opengl was given.
4121 if test "${with_opengl+set}" = set; then
4122 withval=$with_opengl;
4123 if test "$withval" = yes; then
4124 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4125 else
4126 wx_cv_use_opengl='wxUSE_OPENGL=no'
4127 fi
4128 cache=yes
4129
4130 else
4131
4132 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x ; then
4134 eval "DEFAULT_$LINE"
4135 cache=yes
4136 else
4137 cache=no
4138 fi
4139
4140 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4141
4142 fi
4143
4144
4145 eval "$wx_cv_use_opengl"
4146 if test "x$cache" = xyes; then
4147 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4148 fi
4149
4150 if test x"$withstring" = xwithout; then
4151 if test $wxUSE_OPENGL = yes; then
4152 result=no
4153 else
4154 result=yes
4155 fi
4156 else
4157 result=$wxUSE_OPENGL
4158 fi
4159
4160 { echo "$as_me:$LINENO: result: $result" >&5
4161 echo "${ECHO_T}$result" >&6; }
4162
4163
4164 fi
4165
4166
4167 withstring=
4168 defaultval=$wxUSE_ALL_FEATURES
4169 if test -z "$defaultval"; then
4170 if test x"$withstring" = xwithout; then
4171 defaultval=yes
4172 else
4173 defaultval=no
4174 fi
4175 fi
4176 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4177 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4178
4179 # Check whether --with-dmalloc was given.
4180 if test "${with_dmalloc+set}" = set; then
4181 withval=$with_dmalloc;
4182 if test "$withval" = yes; then
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4184 else
4185 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4186 fi
4187 cache=yes
4188
4189 else
4190
4191 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 cache=yes
4195 else
4196 cache=no
4197 fi
4198
4199 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4200
4201 fi
4202
4203
4204 eval "$wx_cv_use_dmalloc"
4205 if test "x$cache" = xyes; then
4206 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4207 fi
4208
4209 if test x"$withstring" = xwithout; then
4210 if test $wxUSE_DMALLOC = yes; then
4211 result=no
4212 else
4213 result=yes
4214 fi
4215 else
4216 result=$wxUSE_DMALLOC
4217 fi
4218
4219 { echo "$as_me:$LINENO: result: $result" >&5
4220 echo "${ECHO_T}$result" >&6; }
4221
4222
4223 withstring=
4224 defaultval=$wxUSE_ALL_FEATURES
4225 if test -z "$defaultval"; then
4226 if test x"$withstring" = xwithout; then
4227 defaultval=yes
4228 else
4229 defaultval=no
4230 fi
4231 fi
4232 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4233 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4234
4235 # Check whether --with-sdl was given.
4236 if test "${with_sdl+set}" = set; then
4237 withval=$with_sdl;
4238 if test "$withval" = yes; then
4239 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4240 else
4241 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4242 fi
4243 cache=yes
4244
4245 else
4246
4247 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x ; then
4249 eval "DEFAULT_$LINE"
4250 cache=yes
4251 else
4252 cache=no
4253 fi
4254
4255 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4256
4257 fi
4258
4259
4260 eval "$wx_cv_use_sdl"
4261 if test "x$cache" = xyes; then
4262 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4263 fi
4264
4265 if test x"$withstring" = xwithout; then
4266 if test $wxUSE_LIBSDL = yes; then
4267 result=no
4268 else
4269 result=yes
4270 fi
4271 else
4272 result=$wxUSE_LIBSDL
4273 fi
4274
4275 { echo "$as_me:$LINENO: result: $result" >&5
4276 echo "${ECHO_T}$result" >&6; }
4277
4278
4279 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4280 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4281
4282 # Check whether --with-regex was given.
4283 if test "${with_regex+set}" = set; then
4284 withval=$with_regex;
4285 if test "$withval" = yes; then
4286 wx_cv_use_regex='wxUSE_REGEX=yes'
4287 elif test "$withval" = no; then
4288 wx_cv_use_regex='wxUSE_REGEX=no'
4289 elif test "$withval" = sys; then
4290 wx_cv_use_regex='wxUSE_REGEX=sys'
4291 elif test "$withval" = builtin; then
4292 wx_cv_use_regex='wxUSE_REGEX=builtin'
4293 else
4294 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4295 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4296 { (exit 1); exit 1; }; }
4297 fi
4298 cache=yes
4299
4300 else
4301
4302 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x ; then
4304 eval "DEFAULT_$LINE"
4305 cache=yes
4306 else
4307 cache=no
4308 fi
4309
4310 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4311
4312 fi
4313
4314
4315 eval "$wx_cv_use_regex"
4316 if test "x$cache" = xyes; then
4317 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4318 fi
4319
4320 if test "$wxUSE_REGEX" = yes; then
4321 { echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6; }
4323 elif test "$wxUSE_REGEX" = no; then
4324 { echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6; }
4326 elif test "$wxUSE_REGEX" = sys; then
4327 { echo "$as_me:$LINENO: result: system version" >&5
4328 echo "${ECHO_T}system version" >&6; }
4329 elif test "$wxUSE_REGEX" = builtin; then
4330 { echo "$as_me:$LINENO: result: builtin version" >&5
4331 echo "${ECHO_T}builtin version" >&6; }
4332 else
4333 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4334 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4335 { (exit 1); exit 1; }; }
4336 fi
4337
4338
4339 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4340 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4341
4342 # Check whether --with-zlib was given.
4343 if test "${with_zlib+set}" = set; then
4344 withval=$with_zlib;
4345 if test "$withval" = yes; then
4346 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4347 elif test "$withval" = no; then
4348 wx_cv_use_zlib='wxUSE_ZLIB=no'
4349 elif test "$withval" = sys; then
4350 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4351 elif test "$withval" = builtin; then
4352 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4353 else
4354 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4355 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4356 { (exit 1); exit 1; }; }
4357 fi
4358 cache=yes
4359
4360 else
4361
4362 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4363 if test "x$LINE" != x ; then
4364 eval "DEFAULT_$LINE"
4365 cache=yes
4366 else
4367 cache=no
4368 fi
4369
4370 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4371
4372 fi
4373
4374
4375 eval "$wx_cv_use_zlib"
4376 if test "x$cache" = xyes; then
4377 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_ZLIB" = yes; then
4381 { echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6; }
4383 elif test "$wxUSE_ZLIB" = no; then
4384 { echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6; }
4386 elif test "$wxUSE_ZLIB" = sys; then
4387 { echo "$as_me:$LINENO: result: system version" >&5
4388 echo "${ECHO_T}system version" >&6; }
4389 elif test "$wxUSE_ZLIB" = builtin; then
4390 { echo "$as_me:$LINENO: result: builtin version" >&5
4391 echo "${ECHO_T}builtin version" >&6; }
4392 else
4393 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4394 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4395 { (exit 1); exit 1; }; }
4396 fi
4397
4398
4399 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4400 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4401
4402 # Check whether --with-expat was given.
4403 if test "${with_expat+set}" = set; then
4404 withval=$with_expat;
4405 if test "$withval" = yes; then
4406 wx_cv_use_expat='wxUSE_EXPAT=yes'
4407 elif test "$withval" = no; then
4408 wx_cv_use_expat='wxUSE_EXPAT=no'
4409 elif test "$withval" = sys; then
4410 wx_cv_use_expat='wxUSE_EXPAT=sys'
4411 elif test "$withval" = builtin; then
4412 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4413 else
4414 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4415 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4416 { (exit 1); exit 1; }; }
4417 fi
4418 cache=yes
4419
4420 else
4421
4422 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x ; then
4424 eval "DEFAULT_$LINE"
4425 cache=yes
4426 else
4427 cache=no
4428 fi
4429
4430 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4431
4432 fi
4433
4434
4435 eval "$wx_cv_use_expat"
4436 if test "x$cache" = xyes; then
4437 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4438 fi
4439
4440 if test "$wxUSE_EXPAT" = yes; then
4441 { echo "$as_me:$LINENO: result: yes" >&5
4442 echo "${ECHO_T}yes" >&6; }
4443 elif test "$wxUSE_EXPAT" = no; then
4444 { echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6; }
4446 elif test "$wxUSE_EXPAT" = sys; then
4447 { echo "$as_me:$LINENO: result: system version" >&5
4448 echo "${ECHO_T}system version" >&6; }
4449 elif test "$wxUSE_EXPAT" = builtin; then
4450 { echo "$as_me:$LINENO: result: builtin version" >&5
4451 echo "${ECHO_T}builtin version" >&6; }
4452 else
4453 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4454 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4455 { (exit 1); exit 1; }; }
4456 fi
4457
4458
4459 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4460 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4461
4462 # Check whether --with-macosx-sdk was given.
4463 if test "${with_macosx_sdk+set}" = set; then
4464 withval=$with_macosx_sdk;
4465 wxUSE_MACOSX_SDK=$withval
4466 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4467 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4468
4469 else
4470
4471 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4472 # will override --enable-universal_binary's automatic SDK usage.
4473 wxUSE_MACOSX_SDK=
4474 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x ; then
4476 eval "$LINE"
4477 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4478 fi
4479
4480 fi
4481
4482 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4483 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4484
4485 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4486 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4487
4488 # Check whether --with-macosx-version-min was given.
4489 if test "${with_macosx_version_min+set}" = set; then
4490 withval=$with_macosx_version_min;
4491 wxUSE_MACOSX_VERSION_MIN=$withval
4492 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4493 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4494
4495 else
4496
4497 # default "yes" because when not using an SDK it means the same as no
4498 # but when using an SDK it means to use the SDK version
4499 wxUSE_MACOSX_VERSION_MIN=yes
4500 # See if there is a value in the cache
4501 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "$LINE"
4504 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 fi
4508
4509 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4510 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4511
4512
4513
4514 enablestring=disable
4515 defaultval=
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4518 defaultval=yes
4519 else
4520 defaultval=no
4521 fi
4522 fi
4523
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4526 # Check whether --enable-shared was given.
4527 if test "${enable_shared+set}" = set; then
4528 enableval=$enable_shared;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_shared='wxUSE_SHARED=yes'
4531 else
4532 wx_cv_use_shared='wxUSE_SHARED=no'
4533 fi
4534 cache=yes
4535
4536 else
4537
4538 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4540 eval "DEFAULT_$LINE"
4541 cache=yes
4542 else
4543 cache=no
4544 fi
4545
4546 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4547
4548 fi
4549
4550
4551 eval "$wx_cv_use_shared"
4552 if test "x$cache" = xyes; then
4553 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4554 fi
4555
4556 if test x"$enablestring" = xdisable; then
4557 if test $wxUSE_SHARED = yes; then
4558 result=no
4559 else
4560 result=yes
4561 fi
4562 else
4563 result=$wxUSE_SHARED
4564 fi
4565
4566 { echo "$as_me:$LINENO: result: $result" >&5
4567 echo "${ECHO_T}$result" >&6; }
4568
4569
4570 enablestring=disable
4571 defaultval=
4572 if test -z "$defaultval"; then
4573 if test x"$enablestring" = xdisable; then
4574 defaultval=yes
4575 else
4576 defaultval=no
4577 fi
4578 fi
4579
4580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4582 # Check whether --enable-optimise was given.
4583 if test "${enable_optimise+set}" = set; then
4584 enableval=$enable_optimise;
4585 if test "$enableval" = yes; then
4586 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4587 else
4588 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4589 fi
4590 cache=yes
4591
4592 else
4593
4594 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 cache=yes
4598 else
4599 cache=no
4600 fi
4601
4602 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4603
4604 fi
4605
4606
4607 eval "$wx_cv_use_optimise"
4608 if test "x$cache" = xyes; then
4609 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4610 fi
4611
4612 if test x"$enablestring" = xdisable; then
4613 if test $wxUSE_OPTIMISE = yes; then
4614 result=no
4615 else
4616 result=yes
4617 fi
4618 else
4619 result=$wxUSE_OPTIMISE
4620 fi
4621
4622 { echo "$as_me:$LINENO: result: $result" >&5
4623 echo "${ECHO_T}$result" >&6; }
4624
4625
4626 enablestring=
4627 defaultval=
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4630 defaultval=yes
4631 else
4632 defaultval=no
4633 fi
4634 fi
4635
4636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4638 # Check whether --enable-debug was given.
4639 if test "${enable_debug+set}" = set; then
4640 enableval=$enable_debug;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_debug='wxUSE_DEBUG=yes'
4643 else
4644 wx_cv_use_debug='wxUSE_DEBUG=no'
4645 fi
4646 cache=yes
4647
4648 else
4649
4650 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4653 cache=yes
4654 else
4655 cache=no
4656 fi
4657
4658 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4659
4660 fi
4661
4662
4663 eval "$wx_cv_use_debug"
4664 if test "x$cache" = xyes; then
4665 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test x"$enablestring" = xdisable; then
4669 if test $wxUSE_DEBUG = yes; then
4670 result=no
4671 else
4672 result=yes
4673 fi
4674 else
4675 result=$wxUSE_DEBUG
4676 fi
4677
4678 { echo "$as_me:$LINENO: result: $result" >&5
4679 echo "${ECHO_T}$result" >&6; }
4680
4681
4682 enablestring=
4683 defaultval=
4684 if test -z "$defaultval"; then
4685 if test x"$enablestring" = xdisable; then
4686 defaultval=yes
4687 else
4688 defaultval=no
4689 fi
4690 fi
4691
4692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4694 # Check whether --enable-stl was given.
4695 if test "${enable_stl+set}" = set; then
4696 enableval=$enable_stl;
4697 if test "$enableval" = yes; then
4698 wx_cv_use_stl='wxUSE_STL=yes'
4699 else
4700 wx_cv_use_stl='wxUSE_STL=no'
4701 fi
4702 cache=yes
4703
4704 else
4705
4706 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x ; then
4708 eval "DEFAULT_$LINE"
4709 cache=yes
4710 else
4711 cache=no
4712 fi
4713
4714 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4715
4716 fi
4717
4718
4719 eval "$wx_cv_use_stl"
4720 if test "x$cache" = xyes; then
4721 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_STL = yes; then
4726 result=no
4727 else
4728 result=yes
4729 fi
4730 else
4731 result=$wxUSE_STL
4732 fi
4733
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4736
4737
4738 enablestring=
4739 defaultval=
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4742 defaultval=yes
4743 else
4744 defaultval=no
4745 fi
4746 fi
4747
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4750 # Check whether --enable-std_iostreams was given.
4751 if test "${enable_std_iostreams+set}" = set; then
4752 enableval=$enable_std_iostreams;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4755 else
4756 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4757 fi
4758 cache=yes
4759
4760 else
4761
4762 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 cache=yes
4766 else
4767 cache=no
4768 fi
4769
4770 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4771
4772 fi
4773
4774
4775 eval "$wx_cv_use_std_iostreams"
4776 if test "x$cache" = xyes; then
4777 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4778 fi
4779
4780 if test x"$enablestring" = xdisable; then
4781 if test $wxUSE_STD_IOSTREAM = yes; then
4782 result=no
4783 else
4784 result=yes
4785 fi
4786 else
4787 result=$wxUSE_STD_IOSTREAM
4788 fi
4789
4790 { echo "$as_me:$LINENO: result: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4792
4793
4794 enablestring=
4795 defaultval=
4796 if test -z "$defaultval"; then
4797 if test x"$enablestring" = xdisable; then
4798 defaultval=yes
4799 else
4800 defaultval=no
4801 fi
4802 fi
4803
4804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4806 # Check whether --enable-std_string was given.
4807 if test "${enable_std_string+set}" = set; then
4808 enableval=$enable_std_string;
4809 if test "$enableval" = yes; then
4810 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4811 else
4812 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4813 fi
4814 cache=yes
4815
4816 else
4817
4818 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4819 if test "x$LINE" != x ; then
4820 eval "DEFAULT_$LINE"
4821 cache=yes
4822 else
4823 cache=no
4824 fi
4825
4826 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4827
4828 fi
4829
4830
4831 eval "$wx_cv_use_std_string"
4832 if test "x$cache" = xyes; then
4833 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4834 fi
4835
4836 if test x"$enablestring" = xdisable; then
4837 if test $wxUSE_STD_STRING = yes; then
4838 result=no
4839 else
4840 result=yes
4841 fi
4842 else
4843 result=$wxUSE_STD_STRING
4844 fi
4845
4846 { echo "$as_me:$LINENO: result: $result" >&5
4847 echo "${ECHO_T}$result" >&6; }
4848
4849
4850 enablestring=disable
4851 defaultval=
4852 if test -z "$defaultval"; then
4853 if test x"$enablestring" = xdisable; then
4854 defaultval=yes
4855 else
4856 defaultval=no
4857 fi
4858 fi
4859
4860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4862 # Check whether --enable-unicode was given.
4863 if test "${enable_unicode+set}" = set; then
4864 enableval=$enable_unicode;
4865 if test "$enableval" = yes; then
4866 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4867 else
4868 wx_cv_use_unicode='wxUSE_UNICODE=no'
4869 fi
4870 cache=yes
4871
4872 else
4873
4874 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4877 cache=yes
4878 else
4879 cache=no
4880 fi
4881
4882 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_unicode"
4888 if test "x$cache" = xyes; then
4889 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4890 fi
4891
4892 if test x"$enablestring" = xdisable; then
4893 if test $wxUSE_UNICODE = yes; then
4894 result=no
4895 else
4896 result=yes
4897 fi
4898 else
4899 result=$wxUSE_UNICODE
4900 fi
4901
4902 { echo "$as_me:$LINENO: result: $result" >&5
4903 echo "${ECHO_T}$result" >&6; }
4904
4905
4906 enablestring=
4907 defaultval=
4908 if test -z "$defaultval"; then
4909 if test x"$enablestring" = xdisable; then
4910 defaultval=yes
4911 else
4912 defaultval=no
4913 fi
4914 fi
4915
4916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4918 # Check whether --enable-mslu was given.
4919 if test "${enable_mslu+set}" = set; then
4920 enableval=$enable_mslu;
4921 if test "$enableval" = yes; then
4922 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4923 else
4924 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4925 fi
4926 cache=yes
4927
4928 else
4929
4930 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x ; then
4932 eval "DEFAULT_$LINE"
4933 cache=yes
4934 else
4935 cache=no
4936 fi
4937
4938 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4939
4940 fi
4941
4942
4943 eval "$wx_cv_use_mslu"
4944 if test "x$cache" = xyes; then
4945 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4946 fi
4947
4948 if test x"$enablestring" = xdisable; then
4949 if test $wxUSE_UNICODE_MSLU = yes; then
4950 result=no
4951 else
4952 result=yes
4953 fi
4954 else
4955 result=$wxUSE_UNICODE_MSLU
4956 fi
4957
4958 { echo "$as_me:$LINENO: result: $result" >&5
4959 echo "${ECHO_T}$result" >&6; }
4960
4961
4962 enablestring=
4963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4965 # Check whether --enable-utf8 was given.
4966 if test "${enable_utf8+set}" = set; then
4967 enableval=$enable_utf8;
4968 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4969 cache=yes
4970
4971 else
4972
4973 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x ; then
4975 eval "DEFAULT_$LINE"
4976 cache=yes
4977 else
4978 cache=no
4979 fi
4980
4981 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4982
4983 fi
4984
4985
4986 eval "$wx_cv_use_utf8"
4987 if test "x$cache" = xyes; then
4988 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4989 fi
4990
4991 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4992 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4993
4994
4995 enablestring=
4996 defaultval=
4997 if test -z "$defaultval"; then
4998 if test x"$enablestring" = xdisable; then
4999 defaultval=yes
5000 else
5001 defaultval=no
5002 fi
5003 fi
5004
5005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5007 # Check whether --enable-utf8only was given.
5008 if test "${enable_utf8only+set}" = set; then
5009 enableval=$enable_utf8only;
5010 if test "$enableval" = yes; then
5011 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5012 else
5013 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5014 fi
5015 cache=yes
5016
5017 else
5018
5019 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x ; then
5021 eval "DEFAULT_$LINE"
5022 cache=yes
5023 else
5024 cache=no
5025 fi
5026
5027 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5028
5029 fi
5030
5031
5032 eval "$wx_cv_use_utf8only"
5033 if test "x$cache" = xyes; then
5034 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test x"$enablestring" = xdisable; then
5038 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5039 result=no
5040 else
5041 result=yes
5042 fi
5043 else
5044 result=$wxUSE_UNICODE_UTF8_LOCALE
5045 fi
5046
5047 { echo "$as_me:$LINENO: result: $result" >&5
5048 echo "${ECHO_T}$result" >&6; }
5049
5050
5051 enablestring=
5052 defaultval=
5053 if test -z "$defaultval"; then
5054 if test x"$enablestring" = xdisable; then
5055 defaultval=yes
5056 else
5057 defaultval=no
5058 fi
5059 fi
5060
5061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5063 # Check whether --enable-extended_rtti was given.
5064 if test "${enable_extended_rtti+set}" = set; then
5065 enableval=$enable_extended_rtti;
5066 if test "$enableval" = yes; then
5067 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5068 else
5069 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5070 fi
5071 cache=yes
5072
5073 else
5074
5075 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x ; then
5077 eval "DEFAULT_$LINE"
5078 cache=yes
5079 else
5080 cache=no
5081 fi
5082
5083 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5084
5085 fi
5086
5087
5088 eval "$wx_cv_use_extended_rtti"
5089 if test "x$cache" = xyes; then
5090 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5091 fi
5092
5093 if test x"$enablestring" = xdisable; then
5094 if test $wxUSE_EXTENDED_RTTI = yes; then
5095 result=no
5096 else
5097 result=yes
5098 fi
5099 else
5100 result=$wxUSE_EXTENDED_RTTI
5101 fi
5102
5103 { echo "$as_me:$LINENO: result: $result" >&5
5104 echo "${ECHO_T}$result" >&6; }
5105
5106 if test "$USE_OS2" = "1"; then
5107 DEFAULT_wxUSE_OMF=no
5108
5109 enablestring=
5110 defaultval=
5111 if test -z "$defaultval"; then
5112 if test x"$enablestring" = xdisable; then
5113 defaultval=yes
5114 else
5115 defaultval=no
5116 fi
5117 fi
5118
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5121 # Check whether --enable-omf was given.
5122 if test "${enable_omf+set}" = set; then
5123 enableval=$enable_omf;
5124 if test "$enableval" = yes; then
5125 wx_cv_use_omf='wxUSE_OMF=yes'
5126 else
5127 wx_cv_use_omf='wxUSE_OMF=no'
5128 fi
5129 cache=yes
5130
5131 else
5132
5133 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 cache=yes
5137 else
5138 cache=no
5139 fi
5140
5141 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5142
5143 fi
5144
5145
5146 eval "$wx_cv_use_omf"
5147 if test "x$cache" = xyes; then
5148 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5149 fi
5150
5151 if test x"$enablestring" = xdisable; then
5152 if test $wxUSE_OMF = yes; then
5153 result=no
5154 else
5155 result=yes
5156 fi
5157 else
5158 result=$wxUSE_OMF
5159 fi
5160
5161 { echo "$as_me:$LINENO: result: $result" >&5
5162 echo "${ECHO_T}$result" >&6; }
5163
5164 fi
5165
5166 if test "$wxUSE_DEBUG" = "yes"; then
5167 DEFAULT_wxUSE_DEBUG_FLAG=yes
5168 DEFAULT_wxUSE_DEBUG_INFO=yes
5169 BUILD=debug
5170 elif test "$wxUSE_DEBUG" = "no"; then
5171 DEFAULT_wxUSE_DEBUG_FLAG=no
5172 DEFAULT_wxUSE_DEBUG_INFO=no
5173 BUILD=release
5174 fi
5175
5176
5177 enablestring=
5178 defaultval=
5179 if test -z "$defaultval"; then
5180 if test x"$enablestring" = xdisable; then
5181 defaultval=yes
5182 else
5183 defaultval=no
5184 fi
5185 fi
5186
5187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5188 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5189 # Check whether --enable-debug_flag was given.
5190 if test "${enable_debug_flag+set}" = set; then
5191 enableval=$enable_debug_flag;
5192 if test "$enableval" = yes; then
5193 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5194 else
5195 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5196 fi
5197 cache=yes
5198
5199 else
5200
5201 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x ; then
5203 eval "DEFAULT_$LINE"
5204 cache=yes
5205 else
5206 cache=no
5207 fi
5208
5209 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5210
5211 fi
5212
5213
5214 eval "$wx_cv_use_debug_flag"
5215 if test "x$cache" = xyes; then
5216 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5217 fi
5218
5219 if test x"$enablestring" = xdisable; then
5220 if test $wxUSE_DEBUG_FLAG = yes; then
5221 result=no
5222 else
5223 result=yes
5224 fi
5225 else
5226 result=$wxUSE_DEBUG_FLAG
5227 fi
5228
5229 { echo "$as_me:$LINENO: result: $result" >&5
5230 echo "${ECHO_T}$result" >&6; }
5231
5232
5233 enablestring=
5234 defaultval=
5235 if test -z "$defaultval"; then
5236 if test x"$enablestring" = xdisable; then
5237 defaultval=yes
5238 else
5239 defaultval=no
5240 fi
5241 fi
5242
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5245 # Check whether --enable-debug_info was given.
5246 if test "${enable_debug_info+set}" = set; then
5247 enableval=$enable_debug_info;
5248 if test "$enableval" = yes; then
5249 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5250 else
5251 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5252 fi
5253 cache=yes
5254
5255 else
5256
5257 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x ; then
5259 eval "DEFAULT_$LINE"
5260 cache=yes
5261 else
5262 cache=no
5263 fi
5264
5265 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5266
5267 fi
5268
5269
5270 eval "$wx_cv_use_debug_info"
5271 if test "x$cache" = xyes; then
5272 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test x"$enablestring" = xdisable; then
5276 if test $wxUSE_DEBUG_INFO = yes; then
5277 result=no
5278 else
5279 result=yes
5280 fi
5281 else
5282 result=$wxUSE_DEBUG_INFO
5283 fi
5284
5285 { echo "$as_me:$LINENO: result: $result" >&5
5286 echo "${ECHO_T}$result" >&6; }
5287
5288
5289 enablestring=
5290 defaultval=
5291 if test -z "$defaultval"; then
5292 if test x"$enablestring" = xdisable; then
5293 defaultval=yes
5294 else
5295 defaultval=no
5296 fi
5297 fi
5298
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5301 # Check whether --enable-debug_gdb was given.
5302 if test "${enable_debug_gdb+set}" = set; then
5303 enableval=$enable_debug_gdb;
5304 if test "$enableval" = yes; then
5305 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5306 else
5307 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5308 fi
5309 cache=yes
5310
5311 else
5312
5313 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 cache=yes
5317 else
5318 cache=no
5319 fi
5320
5321 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5322
5323 fi
5324
5325
5326 eval "$wx_cv_use_debug_gdb"
5327 if test "x$cache" = xyes; then
5328 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5329 fi
5330
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_DEBUG_GDB = yes; then
5333 result=no
5334 else
5335 result=yes
5336 fi
5337 else
5338 result=$wxUSE_DEBUG_GDB
5339 fi
5340
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5357 # Check whether --enable-debug_cntxt was given.
5358 if test "${enable_debug_cntxt+set}" = set; then
5359 enableval=$enable_debug_cntxt;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5362 else
5363 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5364 fi
5365 cache=yes
5366
5367 else
5368
5369 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5370 if test "x$LINE" != x ; then
5371 eval "DEFAULT_$LINE"
5372 cache=yes
5373 else
5374 cache=no
5375 fi
5376
5377 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5378
5379 fi
5380
5381
5382 eval "$wx_cv_use_debug_cntxt"
5383 if test "x$cache" = xyes; then
5384 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test x"$enablestring" = xdisable; then
5388 if test $wxUSE_DEBUG_CONTEXT = yes; then
5389 result=no
5390 else
5391 result=yes
5392 fi
5393 else
5394 result=$wxUSE_DEBUG_CONTEXT
5395 fi
5396
5397 { echo "$as_me:$LINENO: result: $result" >&5
5398 echo "${ECHO_T}$result" >&6; }
5399
5400
5401 enablestring=
5402 defaultval=
5403 if test -z "$defaultval"; then
5404 if test x"$enablestring" = xdisable; then
5405 defaultval=yes
5406 else
5407 defaultval=no
5408 fi
5409 fi
5410
5411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5413 # Check whether --enable-mem_tracing was given.
5414 if test "${enable_mem_tracing+set}" = set; then
5415 enableval=$enable_mem_tracing;
5416 if test "$enableval" = yes; then
5417 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5418 else
5419 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5420 fi
5421 cache=yes
5422
5423 else
5424
5425 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x ; then
5427 eval "DEFAULT_$LINE"
5428 cache=yes
5429 else
5430 cache=no
5431 fi
5432
5433 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5434
5435 fi
5436
5437
5438 eval "$wx_cv_use_mem_tracing"
5439 if test "x$cache" = xyes; then
5440 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5441 fi
5442
5443 if test x"$enablestring" = xdisable; then
5444 if test $wxUSE_MEM_TRACING = yes; then
5445 result=no
5446 else
5447 result=yes
5448 fi
5449 else
5450 result=$wxUSE_MEM_TRACING
5451 fi
5452
5453 { echo "$as_me:$LINENO: result: $result" >&5
5454 echo "${ECHO_T}$result" >&6; }
5455
5456
5457 enablestring=
5458 defaultval=
5459 if test -z "$defaultval"; then
5460 if test x"$enablestring" = xdisable; then
5461 defaultval=yes
5462 else
5463 defaultval=no
5464 fi
5465 fi
5466
5467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5469 # Check whether --enable-profile was given.
5470 if test "${enable_profile+set}" = set; then
5471 enableval=$enable_profile;
5472 if test "$enableval" = yes; then
5473 wx_cv_use_profile='wxUSE_PROFILE=yes'
5474 else
5475 wx_cv_use_profile='wxUSE_PROFILE=no'
5476 fi
5477 cache=yes
5478
5479 else
5480
5481 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5482 if test "x$LINE" != x ; then
5483 eval "DEFAULT_$LINE"
5484 cache=yes
5485 else
5486 cache=no
5487 fi
5488
5489 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5490
5491 fi
5492
5493
5494 eval "$wx_cv_use_profile"
5495 if test "x$cache" = xyes; then
5496 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5497 fi
5498
5499 if test x"$enablestring" = xdisable; then
5500 if test $wxUSE_PROFILE = yes; then
5501 result=no
5502 else
5503 result=yes
5504 fi
5505 else
5506 result=$wxUSE_PROFILE
5507 fi
5508
5509 { echo "$as_me:$LINENO: result: $result" >&5
5510 echo "${ECHO_T}$result" >&6; }
5511
5512
5513 enablestring=
5514 defaultval=
5515 if test -z "$defaultval"; then
5516 if test x"$enablestring" = xdisable; then
5517 defaultval=yes
5518 else
5519 defaultval=no
5520 fi
5521 fi
5522
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5525 # Check whether --enable-no_rtti was given.
5526 if test "${enable_no_rtti+set}" = set; then
5527 enableval=$enable_no_rtti;
5528 if test "$enableval" = yes; then
5529 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5530 else
5531 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5532 fi
5533 cache=yes
5534
5535 else
5536
5537 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x ; then
5539 eval "DEFAULT_$LINE"
5540 cache=yes
5541 else
5542 cache=no
5543 fi
5544
5545 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5546
5547 fi
5548
5549
5550 eval "$wx_cv_use_no_rtti"
5551 if test "x$cache" = xyes; then
5552 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_NO_RTTI = yes; then
5557 result=no
5558 else
5559 result=yes
5560 fi
5561 else
5562 result=$wxUSE_NO_RTTI
5563 fi
5564
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5567
5568
5569 enablestring=
5570 defaultval=
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5581 # Check whether --enable-no_exceptions was given.
5582 if test "${enable_no_exceptions+set}" = set; then
5583 enableval=$enable_no_exceptions;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5586 else
5587 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5588 fi
5589 cache=yes
5590
5591 else
5592
5593 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5596 cache=yes
5597 else
5598 cache=no
5599 fi
5600
5601 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_no_exceptions"
5607 if test "x$cache" = xyes; then
5608 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_NO_EXCEPTIONS = yes; then
5613 result=no
5614 else
5615 result=yes
5616 fi
5617 else
5618 result=$wxUSE_NO_EXCEPTIONS
5619 fi
5620
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5623
5624
5625 enablestring=
5626 defaultval=
5627 if test -z "$defaultval"; then
5628 if test x"$enablestring" = xdisable; then
5629 defaultval=yes
5630 else
5631 defaultval=no
5632 fi
5633 fi
5634
5635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5637 # Check whether --enable-permissive was given.
5638 if test "${enable_permissive+set}" = set; then
5639 enableval=$enable_permissive;
5640 if test "$enableval" = yes; then
5641 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5642 else
5643 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5644 fi
5645 cache=yes
5646
5647 else
5648
5649 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 cache=yes
5653 else
5654 cache=no
5655 fi
5656
5657 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5658
5659 fi
5660
5661
5662 eval "$wx_cv_use_permissive"
5663 if test "x$cache" = xyes; then
5664 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5665 fi
5666
5667 if test x"$enablestring" = xdisable; then
5668 if test $wxUSE_PERMISSIVE = yes; then
5669 result=no
5670 else
5671 result=yes
5672 fi
5673 else
5674 result=$wxUSE_PERMISSIVE
5675 fi
5676
5677 { echo "$as_me:$LINENO: result: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5679
5680
5681 enablestring=
5682 defaultval=
5683 if test -z "$defaultval"; then
5684 if test x"$enablestring" = xdisable; then
5685 defaultval=yes
5686 else
5687 defaultval=no
5688 fi
5689 fi
5690
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5693 # Check whether --enable-no_deps was given.
5694 if test "${enable_no_deps+set}" = set; then
5695 enableval=$enable_no_deps;
5696 if test "$enableval" = yes; then
5697 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5698 else
5699 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5700 fi
5701 cache=yes
5702
5703 else
5704
5705 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5708 cache=yes
5709 else
5710 cache=no
5711 fi
5712
5713 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5714
5715 fi
5716
5717
5718 eval "$wx_cv_use_no_deps"
5719 if test "x$cache" = xyes; then
5720 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test x"$enablestring" = xdisable; then
5724 if test $wxUSE_NO_DEPS = yes; then
5725 result=no
5726 else
5727 result=yes
5728 fi
5729 else
5730 result=$wxUSE_NO_DEPS
5731 fi
5732
5733 { echo "$as_me:$LINENO: result: $result" >&5
5734 echo "${ECHO_T}$result" >&6; }
5735
5736
5737 enablestring=disable
5738 defaultval=
5739 if test -z "$defaultval"; then
5740 if test x"$enablestring" = xdisable; then
5741 defaultval=yes
5742 else
5743 defaultval=no
5744 fi
5745 fi
5746
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5749 # Check whether --enable-vararg_macros was given.
5750 if test "${enable_vararg_macros+set}" = set; then
5751 enableval=$enable_vararg_macros;
5752 if test "$enableval" = yes; then
5753 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5754 else
5755 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5756 fi
5757 cache=yes
5758
5759 else
5760
5761 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5764 cache=yes
5765 else
5766 cache=no
5767 fi
5768
5769 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5770
5771 fi
5772
5773
5774 eval "$wx_cv_use_vararg_macros"
5775 if test "x$cache" = xyes; then
5776 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5777 fi
5778
5779 if test x"$enablestring" = xdisable; then
5780 if test $wxUSE_VARARG_MACROS = yes; then
5781 result=no
5782 else
5783 result=yes
5784 fi
5785 else
5786 result=$wxUSE_VARARG_MACROS
5787 fi
5788
5789 { echo "$as_me:$LINENO: result: $result" >&5
5790 echo "${ECHO_T}$result" >&6; }
5791
5792
5793 enablestring=
5794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5796 # Check whether --enable-universal_binary was given.
5797 if test "${enable_universal_binary+set}" = set; then
5798 enableval=$enable_universal_binary;
5799 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5800 cache=yes
5801
5802 else
5803
5804 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5807 cache=yes
5808 else
5809 cache=no
5810 fi
5811
5812 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5813
5814 fi
5815
5816
5817 eval "$wx_cv_use_universal_binary"
5818 if test "x$cache" = xyes; then
5819 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5820 fi
5821
5822 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5823 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5824
5825
5826
5827 enablestring=
5828 defaultval=
5829 if test -z "$defaultval"; then
5830 if test x"$enablestring" = xdisable; then
5831 defaultval=yes
5832 else
5833 defaultval=no
5834 fi
5835 fi
5836
5837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5839 # Check whether --enable-compat26 was given.
5840 if test "${enable_compat26+set}" = set; then
5841 enableval=$enable_compat26;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5844 else
5845 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5846 fi
5847 cache=yes
5848
5849 else
5850
5851 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x ; then
5853 eval "DEFAULT_$LINE"
5854 cache=yes
5855 else
5856 cache=no
5857 fi
5858
5859 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5860
5861 fi
5862
5863
5864 eval "$wx_cv_use_compat26"
5865 if test "x$cache" = xyes; then
5866 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5867 fi
5868
5869 if test x"$enablestring" = xdisable; then
5870 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5871 result=no
5872 else
5873 result=yes
5874 fi
5875 else
5876 result=$WXWIN_COMPATIBILITY_2_6
5877 fi
5878
5879 { echo "$as_me:$LINENO: result: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5881
5882
5883 enablestring=disable
5884 defaultval=
5885 if test -z "$defaultval"; then
5886 if test x"$enablestring" = xdisable; then
5887 defaultval=yes
5888 else
5889 defaultval=no
5890 fi
5891 fi
5892
5893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5894 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5895 # Check whether --enable-compat28 was given.
5896 if test "${enable_compat28+set}" = set; then
5897 enableval=$enable_compat28;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5900 else
5901 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5902 fi
5903 cache=yes
5904
5905 else
5906
5907 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5910 cache=yes
5911 else
5912 cache=no
5913 fi
5914
5915 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5916
5917 fi
5918
5919
5920 eval "$wx_cv_use_compat28"
5921 if test "x$cache" = xyes; then
5922 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5923 fi
5924
5925 if test x"$enablestring" = xdisable; then
5926 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5927 result=no
5928 else
5929 result=yes
5930 fi
5931 else
5932 result=$WXWIN_COMPATIBILITY_2_8
5933 fi
5934
5935 { echo "$as_me:$LINENO: result: $result" >&5
5936 echo "${ECHO_T}$result" >&6; }
5937
5938
5939
5940 enablestring=disable
5941 defaultval=
5942 if test -z "$defaultval"; then
5943 if test x"$enablestring" = xdisable; then
5944 defaultval=yes
5945 else
5946 defaultval=no
5947 fi
5948 fi
5949
5950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5952 # Check whether --enable-rpath was given.
5953 if test "${enable_rpath+set}" = set; then
5954 enableval=$enable_rpath;
5955 if test "$enableval" = yes; then
5956 wx_cv_use_rpath='wxUSE_RPATH=yes'
5957 else
5958 wx_cv_use_rpath='wxUSE_RPATH=no'
5959 fi
5960 cache=yes
5961
5962 else
5963
5964 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 cache=yes
5968 else
5969 cache=no
5970 fi
5971
5972 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5973
5974 fi
5975
5976
5977 eval "$wx_cv_use_rpath"
5978 if test "x$cache" = xyes; then
5979 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5980 fi
5981
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_RPATH = yes; then
5984 result=no
5985 else
5986 result=yes
5987 fi
5988 else
5989 result=$wxUSE_RPATH
5990 fi
5991
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5994
5995
5996
5997 enablestring=
5998 defaultval=
5999 if test -z "$defaultval"; then
6000 if test x"$enablestring" = xdisable; then
6001 defaultval=yes
6002 else
6003 defaultval=no
6004 fi
6005 fi
6006
6007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6009 # Check whether --enable-objc_uniquifying was given.
6010 if test "${enable_objc_uniquifying+set}" = set; then
6011 enableval=$enable_objc_uniquifying;
6012 if test "$enableval" = yes; then
6013 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6014 else
6015 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6016 fi
6017 cache=yes
6018
6019 else
6020
6021 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x ; then
6023 eval "DEFAULT_$LINE"
6024 cache=yes
6025 else
6026 cache=no
6027 fi
6028
6029 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6030
6031 fi
6032
6033
6034 eval "$wx_cv_use_objc_uniquifying"
6035 if test "x$cache" = xyes; then
6036 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6041 result=no
6042 else
6043 result=yes
6044 fi
6045 else
6046 result=$wxUSE_OBJC_UNIQUIFYING
6047 fi
6048
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6051
6052
6053
6054 enablestring=disable
6055 defaultval=
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6058 defaultval=yes
6059 else
6060 defaultval=no
6061 fi
6062 fi
6063
6064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6066 # Check whether --enable-visibility was given.
6067 if test "${enable_visibility+set}" = set; then
6068 enableval=$enable_visibility;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6071 else
6072 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6073 fi
6074 cache=yes
6075
6076 else
6077
6078 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6079 if test "x$LINE" != x ; then
6080 eval "DEFAULT_$LINE"
6081 cache=yes
6082 else
6083 cache=no
6084 fi
6085
6086 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6087
6088 fi
6089
6090
6091 eval "$wx_cv_use_visibility"
6092 if test "x$cache" = xyes; then
6093 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6094 fi
6095
6096 if test x"$enablestring" = xdisable; then
6097 if test $wxUSE_VISIBILITY = yes; then
6098 result=no
6099 else
6100 result=yes
6101 fi
6102 else
6103 result=$wxUSE_VISIBILITY
6104 fi
6105
6106 { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6108
6109
6110
6111
6112 enablestring=
6113 defaultval=$wxUSE_ALL_FEATURES
6114 if test -z "$defaultval"; then
6115 if test x"$enablestring" = xdisable; then
6116 defaultval=yes
6117 else
6118 defaultval=no
6119 fi
6120 fi
6121
6122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6123 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6124 # Check whether --enable-intl was given.
6125 if test "${enable_intl+set}" = set; then
6126 enableval=$enable_intl;
6127 if test "$enableval" = yes; then
6128 wx_cv_use_intl='wxUSE_INTL=yes'
6129 else
6130 wx_cv_use_intl='wxUSE_INTL=no'
6131 fi
6132 cache=yes
6133
6134 else
6135
6136 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6137 if test "x$LINE" != x ; then
6138 eval "DEFAULT_$LINE"
6139 cache=yes
6140 else
6141 cache=no
6142 fi
6143
6144 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6145
6146 fi
6147
6148
6149 eval "$wx_cv_use_intl"
6150 if test "x$cache" = xyes; then
6151 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6152 fi
6153
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_INTL = yes; then
6156 result=no
6157 else
6158 result=yes
6159 fi
6160 else
6161 result=$wxUSE_INTL
6162 fi
6163
6164 { echo "$as_me:$LINENO: result: $result" >&5
6165 echo "${ECHO_T}$result" >&6; }
6166
6167
6168 enablestring=
6169 defaultval=$wxUSE_ALL_FEATURES
6170 if test -z "$defaultval"; then
6171 if test x"$enablestring" = xdisable; then
6172 defaultval=yes
6173 else
6174 defaultval=no
6175 fi
6176 fi
6177
6178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6180 # Check whether --enable-config was given.
6181 if test "${enable_config+set}" = set; then
6182 enableval=$enable_config;
6183 if test "$enableval" = yes; then
6184 wx_cv_use_config='wxUSE_CONFIG=yes'
6185 else
6186 wx_cv_use_config='wxUSE_CONFIG=no'
6187 fi
6188 cache=yes
6189
6190 else
6191
6192 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6193 if test "x$LINE" != x ; then
6194 eval "DEFAULT_$LINE"
6195 cache=yes
6196 else
6197 cache=no
6198 fi
6199
6200 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6201
6202 fi
6203
6204
6205 eval "$wx_cv_use_config"
6206 if test "x$cache" = xyes; then
6207 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6208 fi
6209
6210 if test x"$enablestring" = xdisable; then
6211 if test $wxUSE_CONFIG = yes; then
6212 result=no
6213 else
6214 result=yes
6215 fi
6216 else
6217 result=$wxUSE_CONFIG
6218 fi
6219
6220 { echo "$as_me:$LINENO: result: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6222
6223
6224
6225 enablestring=
6226 defaultval=$wxUSE_ALL_FEATURES
6227 if test -z "$defaultval"; then
6228 if test x"$enablestring" = xdisable; then
6229 defaultval=yes
6230 else
6231 defaultval=no
6232 fi
6233 fi
6234
6235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6236 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6237 # Check whether --enable-protocols was given.
6238 if test "${enable_protocols+set}" = set; then
6239 enableval=$enable_protocols;
6240 if test "$enableval" = yes; then
6241 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6242 else
6243 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6244 fi
6245 cache=yes
6246
6247 else
6248
6249 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6252 cache=yes
6253 else
6254 cache=no
6255 fi
6256
6257 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6258
6259 fi
6260
6261
6262 eval "$wx_cv_use_protocols"
6263 if test "x$cache" = xyes; then
6264 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6265 fi
6266
6267 if test x"$enablestring" = xdisable; then
6268 if test $wxUSE_PROTOCOL = yes; then
6269 result=no
6270 else
6271 result=yes
6272 fi
6273 else
6274 result=$wxUSE_PROTOCOL
6275 fi
6276
6277 { echo "$as_me:$LINENO: result: $result" >&5
6278 echo "${ECHO_T}$result" >&6; }
6279
6280
6281 enablestring=
6282 defaultval=$wxUSE_ALL_FEATURES
6283 if test -z "$defaultval"; then
6284 if test x"$enablestring" = xdisable; then
6285 defaultval=yes
6286 else
6287 defaultval=no
6288 fi
6289 fi
6290
6291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6293 # Check whether --enable-ftp was given.
6294 if test "${enable_ftp+set}" = set; then
6295 enableval=$enable_ftp;
6296 if test "$enableval" = yes; then
6297 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6298 else
6299 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6300 fi
6301 cache=yes
6302
6303 else
6304
6305 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x ; then
6307 eval "DEFAULT_$LINE"
6308 cache=yes
6309 else
6310 cache=no
6311 fi
6312
6313 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6314
6315 fi
6316
6317
6318 eval "$wx_cv_use_ftp"
6319 if test "x$cache" = xyes; then
6320 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6321 fi
6322
6323 if test x"$enablestring" = xdisable; then
6324 if test $wxUSE_PROTOCOL_FTP = yes; then
6325 result=no
6326 else
6327 result=yes
6328 fi
6329 else
6330 result=$wxUSE_PROTOCOL_FTP
6331 fi
6332
6333 { echo "$as_me:$LINENO: result: $result" >&5
6334 echo "${ECHO_T}$result" >&6; }
6335
6336
6337 enablestring=
6338 defaultval=$wxUSE_ALL_FEATURES
6339 if test -z "$defaultval"; then
6340 if test x"$enablestring" = xdisable; then
6341 defaultval=yes
6342 else
6343 defaultval=no
6344 fi
6345 fi
6346
6347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6348 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6349 # Check whether --enable-http was given.
6350 if test "${enable_http+set}" = set; then
6351 enableval=$enable_http;
6352 if test "$enableval" = yes; then
6353 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6354 else
6355 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6356 fi
6357 cache=yes
6358
6359 else
6360
6361 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6364 cache=yes
6365 else
6366 cache=no
6367 fi
6368
6369 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6370
6371 fi
6372
6373
6374 eval "$wx_cv_use_http"
6375 if test "x$cache" = xyes; then
6376 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_PROTOCOL_HTTP = yes; then
6381 result=no
6382 else
6383 result=yes
6384 fi
6385 else
6386 result=$wxUSE_PROTOCOL_HTTP
6387 fi
6388
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6391
6392
6393 enablestring=
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6397 defaultval=yes
6398 else
6399 defaultval=no
6400 fi
6401 fi
6402
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6405 # Check whether --enable-fileproto was given.
6406 if test "${enable_fileproto+set}" = set; then
6407 enableval=$enable_fileproto;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6410 else
6411 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6412 fi
6413 cache=yes
6414
6415 else
6416
6417 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6420 cache=yes
6421 else
6422 cache=no
6423 fi
6424
6425 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6426
6427 fi
6428
6429
6430 eval "$wx_cv_use_fileproto"
6431 if test "x$cache" = xyes; then
6432 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6433 fi
6434
6435 if test x"$enablestring" = xdisable; then
6436 if test $wxUSE_PROTOCOL_FILE = yes; then
6437 result=no
6438 else
6439 result=yes
6440 fi
6441 else
6442 result=$wxUSE_PROTOCOL_FILE
6443 fi
6444
6445 { echo "$as_me:$LINENO: result: $result" >&5
6446 echo "${ECHO_T}$result" >&6; }
6447
6448
6449 enablestring=
6450 defaultval=$wxUSE_ALL_FEATURES
6451 if test -z "$defaultval"; then
6452 if test x"$enablestring" = xdisable; then
6453 defaultval=yes
6454 else
6455 defaultval=no
6456 fi
6457 fi
6458
6459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6460 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6461 # Check whether --enable-sockets was given.
6462 if test "${enable_sockets+set}" = set; then
6463 enableval=$enable_sockets;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6466 else
6467 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6468 fi
6469 cache=yes
6470
6471 else
6472
6473 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6476 cache=yes
6477 else
6478 cache=no
6479 fi
6480
6481 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6482
6483 fi
6484
6485
6486 eval "$wx_cv_use_sockets"
6487 if test "x$cache" = xyes; then
6488 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_SOCKETS = yes; then
6493 result=no
6494 else
6495 result=yes
6496 fi
6497 else
6498 result=$wxUSE_SOCKETS
6499 fi
6500
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6503
6504
6505 enablestring=
6506 defaultval=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6509 defaultval=yes
6510 else
6511 defaultval=no
6512 fi
6513 fi
6514
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6517 # Check whether --enable-ole was given.
6518 if test "${enable_ole+set}" = set; then
6519 enableval=$enable_ole;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_ole='wxUSE_OLE=yes'
6522 else
6523 wx_cv_use_ole='wxUSE_OLE=no'
6524 fi
6525 cache=yes
6526
6527 else
6528
6529 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6532 cache=yes
6533 else
6534 cache=no
6535 fi
6536
6537 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6538
6539 fi
6540
6541
6542 eval "$wx_cv_use_ole"
6543 if test "x$cache" = xyes; then
6544 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6545 fi
6546
6547 if test x"$enablestring" = xdisable; then
6548 if test $wxUSE_OLE = yes; then
6549 result=no
6550 else
6551 result=yes
6552 fi
6553 else
6554 result=$wxUSE_OLE
6555 fi
6556
6557 { echo "$as_me:$LINENO: result: $result" >&5
6558 echo "${ECHO_T}$result" >&6; }
6559
6560
6561 enablestring=
6562 defaultval=$wxUSE_ALL_FEATURES
6563 if test -z "$defaultval"; then
6564 if test x"$enablestring" = xdisable; then
6565 defaultval=yes
6566 else
6567 defaultval=no
6568 fi
6569 fi
6570
6571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6572 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6573 # Check whether --enable-dataobj was given.
6574 if test "${enable_dataobj+set}" = set; then
6575 enableval=$enable_dataobj;
6576 if test "$enableval" = yes; then
6577 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6578 else
6579 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6580 fi
6581 cache=yes
6582
6583 else
6584
6585 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x ; then
6587 eval "DEFAULT_$LINE"
6588 cache=yes
6589 else
6590 cache=no
6591 fi
6592
6593 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6594
6595 fi
6596
6597
6598 eval "$wx_cv_use_dataobj"
6599 if test "x$cache" = xyes; then
6600 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6601 fi
6602
6603 if test x"$enablestring" = xdisable; then
6604 if test $wxUSE_DATAOBJ = yes; then
6605 result=no
6606 else
6607 result=yes
6608 fi
6609 else
6610 result=$wxUSE_DATAOBJ
6611 fi
6612
6613 { echo "$as_me:$LINENO: result: $result" >&5
6614 echo "${ECHO_T}$result" >&6; }
6615
6616
6617
6618 enablestring=
6619 defaultval=$wxUSE_ALL_FEATURES
6620 if test -z "$defaultval"; then
6621 if test x"$enablestring" = xdisable; then
6622 defaultval=yes
6623 else
6624 defaultval=no
6625 fi
6626 fi
6627
6628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6630 # Check whether --enable-ipc was given.
6631 if test "${enable_ipc+set}" = set; then
6632 enableval=$enable_ipc;
6633 if test "$enableval" = yes; then
6634 wx_cv_use_ipc='wxUSE_IPC=yes'
6635 else
6636 wx_cv_use_ipc='wxUSE_IPC=no'
6637 fi
6638 cache=yes
6639
6640 else
6641
6642 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x ; then
6644 eval "DEFAULT_$LINE"
6645 cache=yes
6646 else
6647 cache=no
6648 fi
6649
6650 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6651
6652 fi
6653
6654
6655 eval "$wx_cv_use_ipc"
6656 if test "x$cache" = xyes; then
6657 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6658 fi
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_IPC = yes; then
6662 result=no
6663 else
6664 result=yes
6665 fi
6666 else
6667 result=$wxUSE_IPC
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674
6675 enablestring=
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6679 defaultval=yes
6680 else
6681 defaultval=no
6682 fi
6683 fi
6684
6685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6687 # Check whether --enable-baseevtloop was given.
6688 if test "${enable_baseevtloop+set}" = set; then
6689 enableval=$enable_baseevtloop;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6692 else
6693 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6694 fi
6695 cache=yes
6696
6697 else
6698
6699 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6702 cache=yes
6703 else
6704 cache=no
6705 fi
6706
6707 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6708
6709 fi
6710
6711
6712 eval "$wx_cv_use_baseevtloop"
6713 if test "x$cache" = xyes; then
6714 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6715 fi
6716
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6719 result=no
6720 else
6721 result=yes
6722 fi
6723 else
6724 result=$wxUSE_CONSOLE_EVENTLOOP
6725 fi
6726
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6729
6730
6731 enablestring=
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6735 defaultval=yes
6736 else
6737 defaultval=no
6738 fi
6739 fi
6740
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6743 # Check whether --enable-epollloop was given.
6744 if test "${enable_epollloop+set}" = set; then
6745 enableval=$enable_epollloop;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6748 else
6749 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6750 fi
6751 cache=yes
6752
6753 else
6754
6755 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x ; then
6757 eval "DEFAULT_$LINE"
6758 cache=yes
6759 else
6760 cache=no
6761 fi
6762
6763 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6764
6765 fi
6766
6767
6768 eval "$wx_cv_use_epollloop"
6769 if test "x$cache" = xyes; then
6770 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6771 fi
6772
6773 if test x"$enablestring" = xdisable; then
6774 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6775 result=no
6776 else
6777 result=yes
6778 fi
6779 else
6780 result=$wxUSE_EPOLL_DISPATCHER
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6785
6786
6787 enablestring=
6788 defaultval=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x"$enablestring" = xdisable; then
6791 defaultval=yes
6792 else
6793 defaultval=no
6794 fi
6795 fi
6796
6797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6799 # Check whether --enable-selectloop was given.
6800 if test "${enable_selectloop+set}" = set; then
6801 enableval=$enable_selectloop;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6804 else
6805 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6806 fi
6807 cache=yes
6808
6809 else
6810
6811 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x ; then
6813 eval "DEFAULT_$LINE"
6814 cache=yes
6815 else
6816 cache=no
6817 fi
6818
6819 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6820
6821 fi
6822
6823
6824 eval "$wx_cv_use_selectloop"
6825 if test "x$cache" = xyes; then
6826 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test x"$enablestring" = xdisable; then
6830 if test $wxUSE_SELECT_DISPATCHER = yes; then
6831 result=no
6832 else
6833 result=yes
6834 fi
6835 else
6836 result=$wxUSE_SELECT_DISPATCHER
6837 fi
6838
6839 { echo "$as_me:$LINENO: result: $result" >&5
6840 echo "${ECHO_T}$result" >&6; }
6841
6842
6843
6844 enablestring=
6845 defaultval=$wxUSE_ALL_FEATURES
6846 if test -z "$defaultval"; then
6847 if test x"$enablestring" = xdisable; then
6848 defaultval=yes
6849 else
6850 defaultval=no
6851 fi
6852 fi
6853
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6856 # Check whether --enable-apple_ieee was given.
6857 if test "${enable_apple_ieee+set}" = set; then
6858 enableval=$enable_apple_ieee;
6859 if test "$enableval" = yes; then
6860 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6861 else
6862 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6863 fi
6864 cache=yes
6865
6866 else
6867
6868 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 cache=yes
6872 else
6873 cache=no
6874 fi
6875
6876 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6877
6878 fi
6879
6880
6881 eval "$wx_cv_use_apple_ieee"
6882 if test "x$cache" = xyes; then
6883 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6884 fi
6885
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_APPLE_IEEE = yes; then
6888 result=no
6889 else
6890 result=yes
6891 fi
6892 else
6893 result=$wxUSE_APPLE_IEEE
6894 fi
6895
6896 { echo "$as_me:$LINENO: result: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6898
6899
6900 enablestring=
6901 defaultval=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x"$enablestring" = xdisable; then
6904 defaultval=yes
6905 else
6906 defaultval=no
6907 fi
6908 fi
6909
6910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6912 # Check whether --enable-arcstream was given.
6913 if test "${enable_arcstream+set}" = set; then
6914 enableval=$enable_arcstream;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6917 else
6918 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6919 fi
6920 cache=yes
6921
6922 else
6923
6924 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x ; then
6926 eval "DEFAULT_$LINE"
6927 cache=yes
6928 else
6929 cache=no
6930 fi
6931
6932 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6933
6934 fi
6935
6936
6937 eval "$wx_cv_use_arcstream"
6938 if test "x$cache" = xyes; then
6939 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test x"$enablestring" = xdisable; then
6943 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6944 result=no
6945 else
6946 result=yes
6947 fi
6948 else
6949 result=$wxUSE_ARCHIVE_STREAMS
6950 fi
6951
6952 { echo "$as_me:$LINENO: result: $result" >&5
6953 echo "${ECHO_T}$result" >&6; }
6954
6955
6956 enablestring=
6957 defaultval=$wxUSE_ALL_FEATURES
6958 if test -z "$defaultval"; then
6959 if test x"$enablestring" = xdisable; then
6960 defaultval=yes
6961 else
6962 defaultval=no
6963 fi
6964 fi
6965
6966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6968 # Check whether --enable-base64 was given.
6969 if test "${enable_base64+set}" = set; then
6970 enableval=$enable_base64;
6971 if test "$enableval" = yes; then
6972 wx_cv_use_base64='wxUSE_BASE64=yes'
6973 else
6974 wx_cv_use_base64='wxUSE_BASE64=no'
6975 fi
6976 cache=yes
6977
6978 else
6979
6980 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x ; then
6982 eval "DEFAULT_$LINE"
6983 cache=yes
6984 else
6985 cache=no
6986 fi
6987
6988 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6989
6990 fi
6991
6992
6993 eval "$wx_cv_use_base64"
6994 if test "x$cache" = xyes; then
6995 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6996 fi
6997
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_BASE64 = yes; then
7000 result=no
7001 else
7002 result=yes
7003 fi
7004 else
7005 result=$wxUSE_BASE64
7006 fi
7007
7008 { echo "$as_me:$LINENO: result: $result" >&5
7009 echo "${ECHO_T}$result" >&6; }
7010
7011
7012 enablestring=
7013 defaultval=$wxUSE_ALL_FEATURES
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7016 defaultval=yes
7017 else
7018 defaultval=no
7019 fi
7020 fi
7021
7022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7024 # Check whether --enable-backtrace was given.
7025 if test "${enable_backtrace+set}" = set; then
7026 enableval=$enable_backtrace;
7027 if test "$enableval" = yes; then
7028 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7029 else
7030 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7031 fi
7032 cache=yes
7033
7034 else
7035
7036 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 cache=yes
7040 else
7041 cache=no
7042 fi
7043
7044 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7045
7046 fi
7047
7048
7049 eval "$wx_cv_use_backtrace"
7050 if test "x$cache" = xyes; then
7051 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7052 fi
7053
7054 if test x"$enablestring" = xdisable; then
7055 if test $wxUSE_STACKWALKER = yes; then
7056 result=no
7057 else
7058 result=yes
7059 fi
7060 else
7061 result=$wxUSE_STACKWALKER
7062 fi
7063
7064 { echo "$as_me:$LINENO: result: $result" >&5
7065 echo "${ECHO_T}$result" >&6; }
7066
7067
7068 enablestring=
7069 defaultval=$wxUSE_ALL_FEATURES
7070 if test -z "$defaultval"; then
7071 if test x"$enablestring" = xdisable; then
7072 defaultval=yes
7073 else
7074 defaultval=no
7075 fi
7076 fi
7077
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7080 # Check whether --enable-catch_segvs was given.
7081 if test "${enable_catch_segvs+set}" = set; then
7082 enableval=$enable_catch_segvs;
7083 if test "$enableval" = yes; then
7084 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7085 else
7086 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7087 fi
7088 cache=yes
7089
7090 else
7091
7092 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7095 cache=yes
7096 else
7097 cache=no
7098 fi
7099
7100 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7101
7102 fi
7103
7104
7105 eval "$wx_cv_use_catch_segvs"
7106 if test "x$cache" = xyes; then
7107 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7108 fi
7109
7110 if test x"$enablestring" = xdisable; then
7111 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7112 result=no
7113 else
7114 result=yes
7115 fi
7116 else
7117 result=$wxUSE_ON_FATAL_EXCEPTION
7118 fi
7119
7120 { echo "$as_me:$LINENO: result: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7122
7123
7124 enablestring=
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7128 defaultval=yes
7129 else
7130 defaultval=no
7131 fi
7132 fi
7133
7134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7136 # Check whether --enable-cmdline was given.
7137 if test "${enable_cmdline+set}" = set; then
7138 enableval=$enable_cmdline;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7141 else
7142 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7143 fi
7144 cache=yes
7145
7146 else
7147
7148 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x ; then
7150 eval "DEFAULT_$LINE"
7151 cache=yes
7152 else
7153 cache=no
7154 fi
7155
7156 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7157
7158 fi
7159
7160
7161 eval "$wx_cv_use_cmdline"
7162 if test "x$cache" = xyes; then
7163 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test x"$enablestring" = xdisable; then
7167 if test $wxUSE_CMDLINE_PARSER = yes; then
7168 result=no
7169 else
7170 result=yes
7171 fi
7172 else
7173 result=$wxUSE_CMDLINE_PARSER
7174 fi
7175
7176 { echo "$as_me:$LINENO: result: $result" >&5
7177 echo "${ECHO_T}$result" >&6; }
7178
7179
7180 enablestring=
7181 defaultval=$wxUSE_ALL_FEATURES
7182 if test -z "$defaultval"; then
7183 if test x"$enablestring" = xdisable; then
7184 defaultval=yes
7185 else
7186 defaultval=no
7187 fi
7188 fi
7189
7190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7192 # Check whether --enable-datetime was given.
7193 if test "${enable_datetime+set}" = set; then
7194 enableval=$enable_datetime;
7195 if test "$enableval" = yes; then
7196 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7197 else
7198 wx_cv_use_datetime='wxUSE_DATETIME=no'
7199 fi
7200 cache=yes
7201
7202 else
7203
7204 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7205 if test "x$LINE" != x ; then
7206 eval "DEFAULT_$LINE"
7207 cache=yes
7208 else
7209 cache=no
7210 fi
7211
7212 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7213
7214 fi
7215
7216
7217 eval "$wx_cv_use_datetime"
7218 if test "x$cache" = xyes; then
7219 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7220 fi
7221
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_DATETIME = yes; then
7224 result=no
7225 else
7226 result=yes
7227 fi
7228 else
7229 result=$wxUSE_DATETIME
7230 fi
7231
7232 { echo "$as_me:$LINENO: result: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7234
7235
7236 enablestring=
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7240 defaultval=yes
7241 else
7242 defaultval=no
7243 fi
7244 fi
7245
7246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7248 # Check whether --enable-debugreport was given.
7249 if test "${enable_debugreport+set}" = set; then
7250 enableval=$enable_debugreport;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7253 else
7254 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7255 fi
7256 cache=yes
7257
7258 else
7259
7260 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7261 if test "x$LINE" != x ; then
7262 eval "DEFAULT_$LINE"
7263 cache=yes
7264 else
7265 cache=no
7266 fi
7267
7268 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7269
7270 fi
7271
7272
7273 eval "$wx_cv_use_debugreport"
7274 if test "x$cache" = xyes; then
7275 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7276 fi
7277
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_DEBUGREPORT = yes; then
7280 result=no
7281 else
7282 result=yes
7283 fi
7284 else
7285 result=$wxUSE_DEBUGREPORT
7286 fi
7287
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7290
7291
7292 enablestring=
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7296 defaultval=yes
7297 else
7298 defaultval=no
7299 fi
7300 fi
7301
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7304 # Check whether --enable-dialupman was given.
7305 if test "${enable_dialupman+set}" = set; then
7306 enableval=$enable_dialupman;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7309 else
7310 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7311 fi
7312 cache=yes
7313
7314 else
7315
7316 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x ; then
7318 eval "DEFAULT_$LINE"
7319 cache=yes
7320 else
7321 cache=no
7322 fi
7323
7324 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7325
7326 fi
7327
7328
7329 eval "$wx_cv_use_dialupman"
7330 if test "x$cache" = xyes; then
7331 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7332 fi
7333
7334 if test x"$enablestring" = xdisable; then
7335 if test $wxUSE_DIALUP_MANAGER = yes; then
7336 result=no
7337 else
7338 result=yes
7339 fi
7340 else
7341 result=$wxUSE_DIALUP_MANAGER
7342 fi
7343
7344 { echo "$as_me:$LINENO: result: $result" >&5
7345 echo "${ECHO_T}$result" >&6; }
7346
7347
7348 enablestring=
7349 defaultval=$wxUSE_ALL_FEATURES
7350 if test -z "$defaultval"; then
7351 if test x"$enablestring" = xdisable; then
7352 defaultval=yes
7353 else
7354 defaultval=no
7355 fi
7356 fi
7357
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7360 # Check whether --enable-dynlib was given.
7361 if test "${enable_dynlib+set}" = set; then
7362 enableval=$enable_dynlib;
7363 if test "$enableval" = yes; then
7364 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7365 else
7366 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7367 fi
7368 cache=yes
7369
7370 else
7371
7372 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7373 if test "x$LINE" != x ; then
7374 eval "DEFAULT_$LINE"
7375 cache=yes
7376 else
7377 cache=no
7378 fi
7379
7380 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7381
7382 fi
7383
7384
7385 eval "$wx_cv_use_dynlib"
7386 if test "x$cache" = xyes; then
7387 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7388 fi
7389
7390 if test x"$enablestring" = xdisable; then
7391 if test $wxUSE_DYNLIB_CLASS = yes; then
7392 result=no
7393 else
7394 result=yes
7395 fi
7396 else
7397 result=$wxUSE_DYNLIB_CLASS
7398 fi
7399
7400 { echo "$as_me:$LINENO: result: $result" >&5
7401 echo "${ECHO_T}$result" >&6; }
7402
7403
7404 enablestring=
7405 defaultval=$wxUSE_ALL_FEATURES
7406 if test -z "$defaultval"; then
7407 if test x"$enablestring" = xdisable; then
7408 defaultval=yes
7409 else
7410 defaultval=no
7411 fi
7412 fi
7413
7414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7416 # Check whether --enable-dynamicloader was given.
7417 if test "${enable_dynamicloader+set}" = set; then
7418 enableval=$enable_dynamicloader;
7419 if test "$enableval" = yes; then
7420 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7421 else
7422 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7423 fi
7424 cache=yes
7425
7426 else
7427
7428 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7431 cache=yes
7432 else
7433 cache=no
7434 fi
7435
7436 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7437
7438 fi
7439
7440
7441 eval "$wx_cv_use_dynamicloader"
7442 if test "x$cache" = xyes; then
7443 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7444 fi
7445
7446 if test x"$enablestring" = xdisable; then
7447 if test $wxUSE_DYNAMIC_LOADER = yes; then
7448 result=no
7449 else
7450 result=yes
7451 fi
7452 else
7453 result=$wxUSE_DYNAMIC_LOADER
7454 fi
7455
7456 { echo "$as_me:$LINENO: result: $result" >&5
7457 echo "${ECHO_T}$result" >&6; }
7458
7459
7460 enablestring=
7461 defaultval=$wxUSE_ALL_FEATURES
7462 if test -z "$defaultval"; then
7463 if test x"$enablestring" = xdisable; then
7464 defaultval=yes
7465 else
7466 defaultval=no
7467 fi
7468 fi
7469
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7472 # Check whether --enable-exceptions was given.
7473 if test "${enable_exceptions+set}" = set; then
7474 enableval=$enable_exceptions;
7475 if test "$enableval" = yes; then
7476 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7477 else
7478 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7479 fi
7480 cache=yes
7481
7482 else
7483
7484 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7487 cache=yes
7488 else
7489 cache=no
7490 fi
7491
7492 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7493
7494 fi
7495
7496
7497 eval "$wx_cv_use_exceptions"
7498 if test "x$cache" = xyes; then
7499 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7500 fi
7501
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_EXCEPTIONS = yes; then
7504 result=no
7505 else
7506 result=yes
7507 fi
7508 else
7509 result=$wxUSE_EXCEPTIONS
7510 fi
7511
7512 { echo "$as_me:$LINENO: result: $result" >&5
7513 echo "${ECHO_T}$result" >&6; }
7514
7515
7516 enablestring=
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7520 defaultval=yes
7521 else
7522 defaultval=no
7523 fi
7524 fi
7525
7526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7528 # Check whether --enable-ffile was given.
7529 if test "${enable_ffile+set}" = set; then
7530 enableval=$enable_ffile;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_ffile='wxUSE_FFILE=yes'
7533 else
7534 wx_cv_use_ffile='wxUSE_FFILE=no'
7535 fi
7536 cache=yes
7537
7538 else
7539
7540 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 cache=yes
7544 else
7545 cache=no
7546 fi
7547
7548 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7549
7550 fi
7551
7552
7553 eval "$wx_cv_use_ffile"
7554 if test "x$cache" = xyes; then
7555 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7556 fi
7557
7558 if test x"$enablestring" = xdisable; then
7559 if test $wxUSE_FFILE = yes; then
7560 result=no
7561 else
7562 result=yes
7563 fi
7564 else
7565 result=$wxUSE_FFILE
7566 fi
7567
7568 { echo "$as_me:$LINENO: result: $result" >&5
7569 echo "${ECHO_T}$result" >&6; }
7570
7571
7572 enablestring=
7573 defaultval=$wxUSE_ALL_FEATURES
7574 if test -z "$defaultval"; then
7575 if test x"$enablestring" = xdisable; then
7576 defaultval=yes
7577 else
7578 defaultval=no
7579 fi
7580 fi
7581
7582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7583 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7584 # Check whether --enable-file was given.
7585 if test "${enable_file+set}" = set; then
7586 enableval=$enable_file;
7587 if test "$enableval" = yes; then
7588 wx_cv_use_file='wxUSE_FILE=yes'
7589 else
7590 wx_cv_use_file='wxUSE_FILE=no'
7591 fi
7592 cache=yes
7593
7594 else
7595
7596 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 cache=yes
7600 else
7601 cache=no
7602 fi
7603
7604 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7605
7606 fi
7607
7608
7609 eval "$wx_cv_use_file"
7610 if test "x$cache" = xyes; then
7611 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7612 fi
7613
7614 if test x"$enablestring" = xdisable; then
7615 if test $wxUSE_FILE = yes; then
7616 result=no
7617 else
7618 result=yes
7619 fi
7620 else
7621 result=$wxUSE_FILE
7622 fi
7623
7624 { echo "$as_me:$LINENO: result: $result" >&5
7625 echo "${ECHO_T}$result" >&6; }
7626
7627
7628 enablestring=
7629 defaultval=$wxUSE_ALL_FEATURES
7630 if test -z "$defaultval"; then
7631 if test x"$enablestring" = xdisable; then
7632 defaultval=yes
7633 else
7634 defaultval=no
7635 fi
7636 fi
7637
7638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7640 # Check whether --enable-filesystem was given.
7641 if test "${enable_filesystem+set}" = set; then
7642 enableval=$enable_filesystem;
7643 if test "$enableval" = yes; then
7644 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7645 else
7646 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7647 fi
7648 cache=yes
7649
7650 else
7651
7652 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x ; then
7654 eval "DEFAULT_$LINE"
7655 cache=yes
7656 else
7657 cache=no
7658 fi
7659
7660 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7661
7662 fi
7663
7664
7665 eval "$wx_cv_use_filesystem"
7666 if test "x$cache" = xyes; then
7667 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7668 fi
7669
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_FILESYSTEM = yes; then
7672 result=no
7673 else
7674 result=yes
7675 fi
7676 else
7677 result=$wxUSE_FILESYSTEM
7678 fi
7679
7680 { echo "$as_me:$LINENO: result: $result" >&5
7681 echo "${ECHO_T}$result" >&6; }
7682
7683
7684 enablestring=
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7688 defaultval=yes
7689 else
7690 defaultval=no
7691 fi
7692 fi
7693
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7696 # Check whether --enable-fontenum was given.
7697 if test "${enable_fontenum+set}" = set; then
7698 enableval=$enable_fontenum;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7701 else
7702 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7703 fi
7704 cache=yes
7705
7706 else
7707
7708 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7711 cache=yes
7712 else
7713 cache=no
7714 fi
7715
7716 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7717
7718 fi
7719
7720
7721 eval "$wx_cv_use_fontenum"
7722 if test "x$cache" = xyes; then
7723 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7724 fi
7725
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_FONTENUM = yes; then
7728 result=no
7729 else
7730 result=yes
7731 fi
7732 else
7733 result=$wxUSE_FONTENUM
7734 fi
7735
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7738
7739
7740 enablestring=
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7744 defaultval=yes
7745 else
7746 defaultval=no
7747 fi
7748 fi
7749
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7752 # Check whether --enable-fontmap was given.
7753 if test "${enable_fontmap+set}" = set; then
7754 enableval=$enable_fontmap;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7757 else
7758 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7759 fi
7760 cache=yes
7761
7762 else
7763
7764 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 cache=yes
7768 else
7769 cache=no
7770 fi
7771
7772 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7773
7774 fi
7775
7776
7777 eval "$wx_cv_use_fontmap"
7778 if test "x$cache" = xyes; then
7779 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7780 fi
7781
7782 if test x"$enablestring" = xdisable; then
7783 if test $wxUSE_FONTMAP = yes; then
7784 result=no
7785 else
7786 result=yes
7787 fi
7788 else
7789 result=$wxUSE_FONTMAP
7790 fi
7791
7792 { echo "$as_me:$LINENO: result: $result" >&5
7793 echo "${ECHO_T}$result" >&6; }
7794
7795
7796 enablestring=
7797 defaultval=$wxUSE_ALL_FEATURES
7798 if test -z "$defaultval"; then
7799 if test x"$enablestring" = xdisable; then
7800 defaultval=yes
7801 else
7802 defaultval=no
7803 fi
7804 fi
7805
7806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7808 # Check whether --enable-fs_archive was given.
7809 if test "${enable_fs_archive+set}" = set; then
7810 enableval=$enable_fs_archive;
7811 if test "$enableval" = yes; then
7812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7813 else
7814 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7815 fi
7816 cache=yes
7817
7818 else
7819
7820 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7821 if test "x$LINE" != x ; then
7822 eval "DEFAULT_$LINE"
7823 cache=yes
7824 else
7825 cache=no
7826 fi
7827
7828 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7829
7830 fi
7831
7832
7833 eval "$wx_cv_use_fs_archive"
7834 if test "x$cache" = xyes; then
7835 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7836 fi
7837
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_FS_ARCHIVE = yes; then
7840 result=no
7841 else
7842 result=yes
7843 fi
7844 else
7845 result=$wxUSE_FS_ARCHIVE
7846 fi
7847
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7850
7851
7852 enablestring=
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7856 defaultval=yes
7857 else
7858 defaultval=no
7859 fi
7860 fi
7861
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7864 # Check whether --enable-fs_inet was given.
7865 if test "${enable_fs_inet+set}" = set; then
7866 enableval=$enable_fs_inet;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7869 else
7870 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7871 fi
7872 cache=yes
7873
7874 else
7875
7876 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7879 cache=yes
7880 else
7881 cache=no
7882 fi
7883
7884 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7885
7886 fi
7887
7888
7889 eval "$wx_cv_use_fs_inet"
7890 if test "x$cache" = xyes; then
7891 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7892 fi
7893
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_FS_INET = yes; then
7896 result=no
7897 else
7898 result=yes
7899 fi
7900 else
7901 result=$wxUSE_FS_INET
7902 fi
7903
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7906
7907
7908 enablestring=
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7912 defaultval=yes
7913 else
7914 defaultval=no
7915 fi
7916 fi
7917
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7920 # Check whether --enable-fs_zip was given.
7921 if test "${enable_fs_zip+set}" = set; then
7922 enableval=$enable_fs_zip;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7925 else
7926 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7927 fi
7928 cache=yes
7929
7930 else
7931
7932 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7935 cache=yes
7936 else
7937 cache=no
7938 fi
7939
7940 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7941
7942 fi
7943
7944
7945 eval "$wx_cv_use_fs_zip"
7946 if test "x$cache" = xyes; then
7947 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7948 fi
7949
7950 if test x"$enablestring" = xdisable; then
7951 if test $wxUSE_FS_ZIP = yes; then
7952 result=no
7953 else
7954 result=yes
7955 fi
7956 else
7957 result=$wxUSE_FS_ZIP
7958 fi
7959
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7962
7963
7964 enablestring=
7965 defaultval=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x"$enablestring" = xdisable; then
7968 defaultval=yes
7969 else
7970 defaultval=no
7971 fi
7972 fi
7973
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7976 # Check whether --enable-geometry was given.
7977 if test "${enable_geometry+set}" = set; then
7978 enableval=$enable_geometry;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7981 else
7982 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7983 fi
7984 cache=yes
7985
7986 else
7987
7988 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x ; then
7990 eval "DEFAULT_$LINE"
7991 cache=yes
7992 else
7993 cache=no
7994 fi
7995
7996 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7997
7998 fi
7999
8000
8001 eval "$wx_cv_use_geometry"
8002 if test "x$cache" = xyes; then
8003 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8004 fi
8005
8006 if test x"$enablestring" = xdisable; then
8007 if test $wxUSE_GEOMETRY = yes; then
8008 result=no
8009 else
8010 result=yes
8011 fi
8012 else
8013 result=$wxUSE_GEOMETRY
8014 fi
8015
8016 { echo "$as_me:$LINENO: result: $result" >&5
8017 echo "${ECHO_T}$result" >&6; }
8018
8019
8020 enablestring=
8021 defaultval=$wxUSE_ALL_FEATURES
8022 if test -z "$defaultval"; then
8023 if test x"$enablestring" = xdisable; then
8024 defaultval=yes
8025 else
8026 defaultval=no
8027 fi
8028 fi
8029
8030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8032 # Check whether --enable-log was given.
8033 if test "${enable_log+set}" = set; then
8034 enableval=$enable_log;
8035 if test "$enableval" = yes; then
8036 wx_cv_use_log='wxUSE_LOG=yes'
8037 else
8038 wx_cv_use_log='wxUSE_LOG=no'
8039 fi
8040 cache=yes
8041
8042 else
8043
8044 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x ; then
8046 eval "DEFAULT_$LINE"
8047 cache=yes
8048 else
8049 cache=no
8050 fi
8051
8052 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8053
8054 fi
8055
8056
8057 eval "$wx_cv_use_log"
8058 if test "x$cache" = xyes; then
8059 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8060 fi
8061
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_LOG = yes; then
8064 result=no
8065 else
8066 result=yes
8067 fi
8068 else
8069 result=$wxUSE_LOG
8070 fi
8071
8072 { echo "$as_me:$LINENO: result: $result" >&5
8073 echo "${ECHO_T}$result" >&6; }
8074
8075
8076 enablestring=
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8080 defaultval=yes
8081 else
8082 defaultval=no
8083 fi
8084 fi
8085
8086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8088 # Check whether --enable-longlong was given.
8089 if test "${enable_longlong+set}" = set; then
8090 enableval=$enable_longlong;
8091 if test "$enableval" = yes; then
8092 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8093 else
8094 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8095 fi
8096 cache=yes
8097
8098 else
8099
8100 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x ; then
8102 eval "DEFAULT_$LINE"
8103 cache=yes
8104 else
8105 cache=no
8106 fi
8107
8108 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8109
8110 fi
8111
8112
8113 eval "$wx_cv_use_longlong"
8114 if test "x$cache" = xyes; then
8115 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test x"$enablestring" = xdisable; then
8119 if test $wxUSE_LONGLONG = yes; then
8120 result=no
8121 else
8122 result=yes
8123 fi
8124 else
8125 result=$wxUSE_LONGLONG
8126 fi
8127
8128 { echo "$as_me:$LINENO: result: $result" >&5
8129 echo "${ECHO_T}$result" >&6; }
8130
8131
8132 enablestring=
8133 defaultval=$wxUSE_ALL_FEATURES
8134 if test -z "$defaultval"; then
8135 if test x"$enablestring" = xdisable; then
8136 defaultval=yes
8137 else
8138 defaultval=no
8139 fi
8140 fi
8141
8142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8144 # Check whether --enable-mimetype was given.
8145 if test "${enable_mimetype+set}" = set; then
8146 enableval=$enable_mimetype;
8147 if test "$enableval" = yes; then
8148 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8149 else
8150 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8151 fi
8152 cache=yes
8153
8154 else
8155
8156 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8159 cache=yes
8160 else
8161 cache=no
8162 fi
8163
8164 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8165
8166 fi
8167
8168
8169 eval "$wx_cv_use_mimetype"
8170 if test "x$cache" = xyes; then
8171 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8172 fi
8173
8174 if test x"$enablestring" = xdisable; then
8175 if test $wxUSE_MIMETYPE = yes; then
8176 result=no
8177 else
8178 result=yes
8179 fi
8180 else
8181 result=$wxUSE_MIMETYPE
8182 fi
8183
8184 { echo "$as_me:$LINENO: result: $result" >&5
8185 echo "${ECHO_T}$result" >&6; }
8186
8187
8188 enablestring=
8189 defaultval=$wxUSE_ALL_FEATURES
8190 if test -z "$defaultval"; then
8191 if test x"$enablestring" = xdisable; then
8192 defaultval=yes
8193 else
8194 defaultval=no
8195 fi
8196 fi
8197
8198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8200 # Check whether --enable-snglinst was given.
8201 if test "${enable_snglinst+set}" = set; then
8202 enableval=$enable_snglinst;
8203 if test "$enableval" = yes; then
8204 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8205 else
8206 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8207 fi
8208 cache=yes
8209
8210 else
8211
8212 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8215 cache=yes
8216 else
8217 cache=no
8218 fi
8219
8220 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8221
8222 fi
8223
8224
8225 eval "$wx_cv_use_snglinst"
8226 if test "x$cache" = xyes; then
8227 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test x"$enablestring" = xdisable; then
8231 if test $wxUSE_SNGLINST_CHECKER = yes; then
8232 result=no
8233 else
8234 result=yes
8235 fi
8236 else
8237 result=$wxUSE_SNGLINST_CHECKER
8238 fi
8239
8240 { echo "$as_me:$LINENO: result: $result" >&5
8241 echo "${ECHO_T}$result" >&6; }
8242
8243
8244 enablestring=
8245 defaultval=$wxUSE_ALL_FEATURES
8246 if test -z "$defaultval"; then
8247 if test x"$enablestring" = xdisable; then
8248 defaultval=yes
8249 else
8250 defaultval=no
8251 fi
8252 fi
8253
8254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8255 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8256 # Check whether --enable-stdpaths was given.
8257 if test "${enable_stdpaths+set}" = set; then
8258 enableval=$enable_stdpaths;
8259 if test "$enableval" = yes; then
8260 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8261 else
8262 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8263 fi
8264 cache=yes
8265
8266 else
8267
8268 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 cache=yes
8272 else
8273 cache=no
8274 fi
8275
8276 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8277
8278 fi
8279
8280
8281 eval "$wx_cv_use_stdpaths"
8282 if test "x$cache" = xyes; then
8283 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8284 fi
8285
8286 if test x"$enablestring" = xdisable; then
8287 if test $wxUSE_STDPATHS = yes; then
8288 result=no
8289 else
8290 result=yes
8291 fi
8292 else
8293 result=$wxUSE_STDPATHS
8294 fi
8295
8296 { echo "$as_me:$LINENO: result: $result" >&5
8297 echo "${ECHO_T}$result" >&6; }
8298
8299
8300 enablestring=
8301 defaultval=$wxUSE_ALL_FEATURES
8302 if test -z "$defaultval"; then
8303 if test x"$enablestring" = xdisable; then
8304 defaultval=yes
8305 else
8306 defaultval=no
8307 fi
8308 fi
8309
8310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8312 # Check whether --enable-stopwatch was given.
8313 if test "${enable_stopwatch+set}" = set; then
8314 enableval=$enable_stopwatch;
8315 if test "$enableval" = yes; then
8316 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8317 else
8318 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8319 fi
8320 cache=yes
8321
8322 else
8323
8324 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8325 if test "x$LINE" != x ; then
8326 eval "DEFAULT_$LINE"
8327 cache=yes
8328 else
8329 cache=no
8330 fi
8331
8332 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8333
8334 fi
8335
8336
8337 eval "$wx_cv_use_stopwatch"
8338 if test "x$cache" = xyes; then
8339 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8340 fi
8341
8342 if test x"$enablestring" = xdisable; then
8343 if test $wxUSE_STOPWATCH = yes; then
8344 result=no
8345 else
8346 result=yes
8347 fi
8348 else
8349 result=$wxUSE_STOPWATCH
8350 fi
8351
8352 { echo "$as_me:$LINENO: result: $result" >&5
8353 echo "${ECHO_T}$result" >&6; }
8354
8355
8356 enablestring=
8357 defaultval=$wxUSE_ALL_FEATURES
8358 if test -z "$defaultval"; then
8359 if test x"$enablestring" = xdisable; then
8360 defaultval=yes
8361 else
8362 defaultval=no
8363 fi
8364 fi
8365
8366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8368 # Check whether --enable-streams was given.
8369 if test "${enable_streams+set}" = set; then
8370 enableval=$enable_streams;
8371 if test "$enableval" = yes; then
8372 wx_cv_use_streams='wxUSE_STREAMS=yes'
8373 else
8374 wx_cv_use_streams='wxUSE_STREAMS=no'
8375 fi
8376 cache=yes
8377
8378 else
8379
8380 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8383 cache=yes
8384 else
8385 cache=no
8386 fi
8387
8388 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8389
8390 fi
8391
8392
8393 eval "$wx_cv_use_streams"
8394 if test "x$cache" = xyes; then
8395 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test x"$enablestring" = xdisable; then
8399 if test $wxUSE_STREAMS = yes; then
8400 result=no
8401 else
8402 result=yes
8403 fi
8404 else
8405 result=$wxUSE_STREAMS
8406 fi
8407
8408 { echo "$as_me:$LINENO: result: $result" >&5
8409 echo "${ECHO_T}$result" >&6; }
8410
8411
8412 enablestring=
8413 defaultval=$wxUSE_ALL_FEATURES
8414 if test -z "$defaultval"; then
8415 if test x"$enablestring" = xdisable; then
8416 defaultval=yes
8417 else
8418 defaultval=no
8419 fi
8420 fi
8421
8422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8424 # Check whether --enable-system_options was given.
8425 if test "${enable_system_options+set}" = set; then
8426 enableval=$enable_system_options;
8427 if test "$enableval" = yes; then
8428 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8429 else
8430 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8431 fi
8432 cache=yes
8433
8434 else
8435
8436 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8439 cache=yes
8440 else
8441 cache=no
8442 fi
8443
8444 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8445
8446 fi
8447
8448
8449 eval "$wx_cv_use_system_options"
8450 if test "x$cache" = xyes; then
8451 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8452 fi
8453
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8456 result=no
8457 else
8458 result=yes
8459 fi
8460 else
8461 result=$wxUSE_SYSTEM_OPTIONS
8462 fi
8463
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8466
8467
8468 enablestring=
8469 defaultval=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x"$enablestring" = xdisable; then
8472 defaultval=yes
8473 else
8474 defaultval=no
8475 fi
8476 fi
8477
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8480 # Check whether --enable-tarstream was given.
8481 if test "${enable_tarstream+set}" = set; then
8482 enableval=$enable_tarstream;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8485 else
8486 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8487 fi
8488 cache=yes
8489
8490 else
8491
8492 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8493 if test "x$LINE" != x ; then
8494 eval "DEFAULT_$LINE"
8495 cache=yes
8496 else
8497 cache=no
8498 fi
8499
8500 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8501
8502 fi
8503
8504
8505 eval "$wx_cv_use_tarstream"
8506 if test "x$cache" = xyes; then
8507 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8508 fi
8509
8510 if test x"$enablestring" = xdisable; then
8511 if test $wxUSE_TARSTREAM = yes; then
8512 result=no
8513 else
8514 result=yes
8515 fi
8516 else
8517 result=$wxUSE_TARSTREAM
8518 fi
8519
8520 { echo "$as_me:$LINENO: result: $result" >&5
8521 echo "${ECHO_T}$result" >&6; }
8522
8523
8524 enablestring=
8525 defaultval=$wxUSE_ALL_FEATURES
8526 if test -z "$defaultval"; then
8527 if test x"$enablestring" = xdisable; then
8528 defaultval=yes
8529 else
8530 defaultval=no
8531 fi
8532 fi
8533
8534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8536 # Check whether --enable-textbuf was given.
8537 if test "${enable_textbuf+set}" = set; then
8538 enableval=$enable_textbuf;
8539 if test "$enableval" = yes; then
8540 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8541 else
8542 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8543 fi
8544 cache=yes
8545
8546 else
8547
8548 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8551 cache=yes
8552 else
8553 cache=no
8554 fi
8555
8556 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8557
8558 fi
8559
8560
8561 eval "$wx_cv_use_textbuf"
8562 if test "x$cache" = xyes; then
8563 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8564 fi
8565
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_TEXTBUFFER = yes; then
8568 result=no
8569 else
8570 result=yes
8571 fi
8572 else
8573 result=$wxUSE_TEXTBUFFER
8574 fi
8575
8576 { echo "$as_me:$LINENO: result: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8578
8579
8580 enablestring=
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8584 defaultval=yes
8585 else
8586 defaultval=no
8587 fi
8588 fi
8589
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8592 # Check whether --enable-textfile was given.
8593 if test "${enable_textfile+set}" = set; then
8594 enableval=$enable_textfile;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8597 else
8598 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8599 fi
8600 cache=yes
8601
8602 else
8603
8604 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8607 cache=yes
8608 else
8609 cache=no
8610 fi
8611
8612 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8613
8614 fi
8615
8616
8617 eval "$wx_cv_use_textfile"
8618 if test "x$cache" = xyes; then
8619 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test x"$enablestring" = xdisable; then
8623 if test $wxUSE_TEXTFILE = yes; then
8624 result=no
8625 else
8626 result=yes
8627 fi
8628 else
8629 result=$wxUSE_TEXTFILE
8630 fi
8631
8632 { echo "$as_me:$LINENO: result: $result" >&5
8633 echo "${ECHO_T}$result" >&6; }
8634
8635
8636 enablestring=
8637 defaultval=$wxUSE_ALL_FEATURES
8638 if test -z "$defaultval"; then
8639 if test x"$enablestring" = xdisable; then
8640 defaultval=yes
8641 else
8642 defaultval=no
8643 fi
8644 fi
8645
8646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8648 # Check whether --enable-timer was given.
8649 if test "${enable_timer+set}" = set; then
8650 enableval=$enable_timer;
8651 if test "$enableval" = yes; then
8652 wx_cv_use_timer='wxUSE_TIMER=yes'
8653 else
8654 wx_cv_use_timer='wxUSE_TIMER=no'
8655 fi
8656 cache=yes
8657
8658 else
8659
8660 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 cache=yes
8664 else
8665 cache=no
8666 fi
8667
8668 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8669
8670 fi
8671
8672
8673 eval "$wx_cv_use_timer"
8674 if test "x$cache" = xyes; then
8675 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8676 fi
8677
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_TIMER = yes; then
8680 result=no
8681 else
8682 result=yes
8683 fi
8684 else
8685 result=$wxUSE_TIMER
8686 fi
8687
8688 { echo "$as_me:$LINENO: result: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8690
8691
8692 enablestring=
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8696 defaultval=yes
8697 else
8698 defaultval=no
8699 fi
8700 fi
8701
8702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8704 # Check whether --enable-sound was given.
8705 if test "${enable_sound+set}" = set; then
8706 enableval=$enable_sound;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_sound='wxUSE_SOUND=yes'
8709 else
8710 wx_cv_use_sound='wxUSE_SOUND=no'
8711 fi
8712 cache=yes
8713
8714 else
8715
8716 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x ; then
8718 eval "DEFAULT_$LINE"
8719 cache=yes
8720 else
8721 cache=no
8722 fi
8723
8724 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8725
8726 fi
8727
8728
8729 eval "$wx_cv_use_sound"
8730 if test "x$cache" = xyes; then
8731 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8732 fi
8733
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_SOUND = yes; then
8736 result=no
8737 else
8738 result=yes
8739 fi
8740 else
8741 result=$wxUSE_SOUND
8742 fi
8743
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8746
8747
8748 enablestring=
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8752 defaultval=yes
8753 else
8754 defaultval=no
8755 fi
8756 fi
8757
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8760 # Check whether --enable-mediactrl was given.
8761 if test "${enable_mediactrl+set}" = set; then
8762 enableval=$enable_mediactrl;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8765 else
8766 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8767 fi
8768 cache=yes
8769
8770 else
8771
8772 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8775 cache=yes
8776 else
8777 cache=no
8778 fi
8779
8780 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8781
8782 fi
8783
8784
8785 eval "$wx_cv_use_mediactrl"
8786 if test "x$cache" = xyes; then
8787 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8788 fi
8789
8790 if test x"$enablestring" = xdisable; then
8791 if test $wxUSE_MEDIACTRL = yes; then
8792 result=no
8793 else
8794 result=yes
8795 fi
8796 else
8797 result=$wxUSE_MEDIACTRL
8798 fi
8799
8800 { echo "$as_me:$LINENO: result: $result" >&5
8801 echo "${ECHO_T}$result" >&6; }
8802
8803
8804 enablestring=
8805 defaultval=$wxUSE_ALL_FEATURES
8806 if test -z "$defaultval"; then
8807 if test x"$enablestring" = xdisable; then
8808 defaultval=yes
8809 else
8810 defaultval=no
8811 fi
8812 fi
8813
8814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8816 # Check whether --enable-gstreamer8 was given.
8817 if test "${enable_gstreamer8+set}" = set; then
8818 enableval=$enable_gstreamer8;
8819 if test "$enableval" = yes; then
8820 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8821 else
8822 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8823 fi
8824 cache=yes
8825
8826 else
8827
8828 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x ; then
8830 eval "DEFAULT_$LINE"
8831 cache=yes
8832 else
8833 cache=no
8834 fi
8835
8836 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8837
8838 fi
8839
8840
8841 eval "$wx_cv_use_gstreamer8"
8842 if test "x$cache" = xyes; then
8843 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test x"$enablestring" = xdisable; then
8847 if test $wxUSE_GSTREAMER8 = yes; then
8848 result=no
8849 else
8850 result=yes
8851 fi
8852 else
8853 result=$wxUSE_GSTREAMER8
8854 fi
8855
8856 { echo "$as_me:$LINENO: result: $result" >&5
8857 echo "${ECHO_T}$result" >&6; }
8858
8859
8860 enablestring=
8861 defaultval=$wxUSE_ALL_FEATURES
8862 if test -z "$defaultval"; then
8863 if test x"$enablestring" = xdisable; then
8864 defaultval=yes
8865 else
8866 defaultval=no
8867 fi
8868 fi
8869
8870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8872 # Check whether --enable-printfposparam was given.
8873 if test "${enable_printfposparam+set}" = set; then
8874 enableval=$enable_printfposparam;
8875 if test "$enableval" = yes; then
8876 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8877 else
8878 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8879 fi
8880 cache=yes
8881
8882 else
8883
8884 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8885 if test "x$LINE" != x ; then
8886 eval "DEFAULT_$LINE"
8887 cache=yes
8888 else
8889 cache=no
8890 fi
8891
8892 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8893
8894 fi
8895
8896
8897 eval "$wx_cv_use_printfposparam"
8898 if test "x$cache" = xyes; then
8899 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8900 fi
8901
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8904 result=no
8905 else
8906 result=yes
8907 fi
8908 else
8909 result=$wxUSE_PRINTF_POS_PARAMS
8910 fi
8911
8912 { echo "$as_me:$LINENO: result: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8914
8915
8916 enablestring=
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8920 defaultval=yes
8921 else
8922 defaultval=no
8923 fi
8924 fi
8925
8926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8928 # Check whether --enable-zipstream was given.
8929 if test "${enable_zipstream+set}" = set; then
8930 enableval=$enable_zipstream;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8933 else
8934 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8935 fi
8936 cache=yes
8937
8938 else
8939
8940 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x ; then
8942 eval "DEFAULT_$LINE"
8943 cache=yes
8944 else
8945 cache=no
8946 fi
8947
8948 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_zipstream"
8954 if test "x$cache" = xyes; then
8955 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8956 fi
8957
8958 if test x"$enablestring" = xdisable; then
8959 if test $wxUSE_ZIPSTREAM = yes; then
8960 result=no
8961 else
8962 result=yes
8963 fi
8964 else
8965 result=$wxUSE_ZIPSTREAM
8966 fi
8967
8968 { echo "$as_me:$LINENO: result: $result" >&5
8969 echo "${ECHO_T}$result" >&6; }
8970
8971
8972
8973 enablestring=
8974 defaultval=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x"$enablestring" = xdisable; then
8977 defaultval=yes
8978 else
8979 defaultval=no
8980 fi
8981 fi
8982
8983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8985 # Check whether --enable-url was given.
8986 if test "${enable_url+set}" = set; then
8987 enableval=$enable_url;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_url='wxUSE_URL=yes'
8990 else
8991 wx_cv_use_url='wxUSE_URL=no'
8992 fi
8993 cache=yes
8994
8995 else
8996
8997 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8998 if test "x$LINE" != x ; then
8999 eval "DEFAULT_$LINE"
9000 cache=yes
9001 else
9002 cache=no
9003 fi
9004
9005 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_url"
9011 if test "x$cache" = xyes; then
9012 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test x"$enablestring" = xdisable; then
9016 if test $wxUSE_URL = yes; then
9017 result=no
9018 else
9019 result=yes
9020 fi
9021 else
9022 result=$wxUSE_URL
9023 fi
9024
9025 { echo "$as_me:$LINENO: result: $result" >&5
9026 echo "${ECHO_T}$result" >&6; }
9027
9028
9029 enablestring=
9030 defaultval=$wxUSE_ALL_FEATURES
9031 if test -z "$defaultval"; then
9032 if test x"$enablestring" = xdisable; then
9033 defaultval=yes
9034 else
9035 defaultval=no
9036 fi
9037 fi
9038
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9041 # Check whether --enable-variant was given.
9042 if test "${enable_variant+set}" = set; then
9043 enableval=$enable_variant;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_variant='wxUSE_VARIANT=yes'
9046 else
9047 wx_cv_use_variant='wxUSE_VARIANT=no'
9048 fi
9049 cache=yes
9050
9051 else
9052
9053 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9056 cache=yes
9057 else
9058 cache=no
9059 fi
9060
9061 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9062
9063 fi
9064
9065
9066 eval "$wx_cv_use_variant"
9067 if test "x$cache" = xyes; then
9068 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9069 fi
9070
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_VARIANT = yes; then
9073 result=no
9074 else
9075 result=yes
9076 fi
9077 else
9078 result=$wxUSE_VARIANT
9079 fi
9080
9081 { echo "$as_me:$LINENO: result: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9083
9084
9085 enablestring=
9086 defaultval=$wxUSE_ALL_FEATURES
9087 if test -z "$defaultval"; then
9088 if test x"$enablestring" = xdisable; then
9089 defaultval=yes
9090 else
9091 defaultval=no
9092 fi
9093 fi
9094
9095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9096 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9097 # Check whether --enable-protocol was given.
9098 if test "${enable_protocol+set}" = set; then
9099 enableval=$enable_protocol;
9100 if test "$enableval" = yes; then
9101 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9102 else
9103 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9104 fi
9105 cache=yes
9106
9107 else
9108
9109 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9110 if test "x$LINE" != x ; then
9111 eval "DEFAULT_$LINE"
9112 cache=yes
9113 else
9114 cache=no
9115 fi
9116
9117 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9118
9119 fi
9120
9121
9122 eval "$wx_cv_use_protocol"
9123 if test "x$cache" = xyes; then
9124 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test x"$enablestring" = xdisable; then
9128 if test $wxUSE_PROTOCOL = yes; then
9129 result=no
9130 else
9131 result=yes
9132 fi
9133 else
9134 result=$wxUSE_PROTOCOL
9135 fi
9136
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9139
9140
9141 enablestring=
9142 defaultval=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x"$enablestring" = xdisable; then
9145 defaultval=yes
9146 else
9147 defaultval=no
9148 fi
9149 fi
9150
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9153 # Check whether --enable-protocol_http was given.
9154 if test "${enable_protocol_http+set}" = set; then
9155 enableval=$enable_protocol_http;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9158 else
9159 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9160 fi
9161 cache=yes
9162
9163 else
9164
9165 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x ; then
9167 eval "DEFAULT_$LINE"
9168 cache=yes
9169 else
9170 cache=no
9171 fi
9172
9173 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9174
9175 fi
9176
9177
9178 eval "$wx_cv_use_protocol_http"
9179 if test "x$cache" = xyes; then
9180 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9181 fi
9182
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_PROTOCOL_HTTP = yes; then
9185 result=no
9186 else
9187 result=yes
9188 fi
9189 else
9190 result=$wxUSE_PROTOCOL_HTTP
9191 fi
9192
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9195
9196
9197 enablestring=
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9201 defaultval=yes
9202 else
9203 defaultval=no
9204 fi
9205 fi
9206
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9209 # Check whether --enable-protocol_ftp was given.
9210 if test "${enable_protocol_ftp+set}" = set; then
9211 enableval=$enable_protocol_ftp;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9214 else
9215 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9216 fi
9217 cache=yes
9218
9219 else
9220
9221 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9222 if test "x$LINE" != x ; then
9223 eval "DEFAULT_$LINE"
9224 cache=yes
9225 else
9226 cache=no
9227 fi
9228
9229 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9230
9231 fi
9232
9233
9234 eval "$wx_cv_use_protocol_ftp"
9235 if test "x$cache" = xyes; then
9236 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test x"$enablestring" = xdisable; then
9240 if test $wxUSE_PROTOCOL_FTP = yes; then
9241 result=no
9242 else
9243 result=yes
9244 fi
9245 else
9246 result=$wxUSE_PROTOCOL_FTP
9247 fi
9248
9249 { echo "$as_me:$LINENO: result: $result" >&5
9250 echo "${ECHO_T}$result" >&6; }
9251
9252
9253 enablestring=
9254 defaultval=$wxUSE_ALL_FEATURES
9255 if test -z "$defaultval"; then
9256 if test x"$enablestring" = xdisable; then
9257 defaultval=yes
9258 else
9259 defaultval=no
9260 fi
9261 fi
9262
9263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9265 # Check whether --enable-protocol_file was given.
9266 if test "${enable_protocol_file+set}" = set; then
9267 enableval=$enable_protocol_file;
9268 if test "$enableval" = yes; then
9269 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9270 else
9271 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9272 fi
9273 cache=yes
9274
9275 else
9276
9277 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9280 cache=yes
9281 else
9282 cache=no
9283 fi
9284
9285 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9286
9287 fi
9288
9289
9290 eval "$wx_cv_use_protocol_file"
9291 if test "x$cache" = xyes; then
9292 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9293 fi
9294
9295 if test x"$enablestring" = xdisable; then
9296 if test $wxUSE_PROTOCOL_FILE = yes; then
9297 result=no
9298 else
9299 result=yes
9300 fi
9301 else
9302 result=$wxUSE_PROTOCOL_FILE
9303 fi
9304
9305 { echo "$as_me:$LINENO: result: $result" >&5
9306 echo "${ECHO_T}$result" >&6; }
9307
9308
9309
9310 enablestring=
9311 defaultval=$wxUSE_ALL_FEATURES
9312 if test -z "$defaultval"; then
9313 if test x"$enablestring" = xdisable; then
9314 defaultval=yes
9315 else
9316 defaultval=no
9317 fi
9318 fi
9319
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9322 # Check whether --enable-threads was given.
9323 if test "${enable_threads+set}" = set; then
9324 enableval=$enable_threads;
9325 if test "$enableval" = yes; then
9326 wx_cv_use_threads='wxUSE_THREADS=yes'
9327 else
9328 wx_cv_use_threads='wxUSE_THREADS=no'
9329 fi
9330 cache=yes
9331
9332 else
9333
9334 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x ; then
9336 eval "DEFAULT_$LINE"
9337 cache=yes
9338 else
9339 cache=no
9340 fi
9341
9342 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9343
9344 fi
9345
9346
9347 eval "$wx_cv_use_threads"
9348 if test "x$cache" = xyes; then
9349 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9350 fi
9351
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_THREADS = yes; then
9354 result=no
9355 else
9356 result=yes
9357 fi
9358 else
9359 result=$wxUSE_THREADS
9360 fi
9361
9362 { echo "$as_me:$LINENO: result: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9364
9365
9366
9367 enablestring=
9368 defaultval=
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9371 defaultval=yes
9372 else
9373 defaultval=no
9374 fi
9375 fi
9376
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9379 # Check whether --enable-iniconf was given.
9380 if test "${enable_iniconf+set}" = set; then
9381 enableval=$enable_iniconf;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9384 else
9385 wx_cv_use_iniconf='wxUSE_INICONF=no'
9386 fi
9387 cache=yes
9388
9389 else
9390
9391 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9394 cache=yes
9395 else
9396 cache=no
9397 fi
9398
9399 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9400
9401 fi
9402
9403
9404 eval "$wx_cv_use_iniconf"
9405 if test "x$cache" = xyes; then
9406 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9407 fi
9408
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_INICONF = yes; then
9411 result=no
9412 else
9413 result=yes
9414 fi
9415 else
9416 result=$wxUSE_INICONF
9417 fi
9418
9419 { echo "$as_me:$LINENO: result: $result" >&5
9420 echo "${ECHO_T}$result" >&6; }
9421
9422
9423 enablestring=
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9427 defaultval=yes
9428 else
9429 defaultval=no
9430 fi
9431 fi
9432
9433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9435 # Check whether --enable-regkey was given.
9436 if test "${enable_regkey+set}" = set; then
9437 enableval=$enable_regkey;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9440 else
9441 wx_cv_use_regkey='wxUSE_REGKEY=no'
9442 fi
9443 cache=yes
9444
9445 else
9446
9447 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 cache=yes
9451 else
9452 cache=no
9453 fi
9454
9455 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9456
9457 fi
9458
9459
9460 eval "$wx_cv_use_regkey"
9461 if test "x$cache" = xyes; then
9462 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_REGKEY = yes; then
9467 result=no
9468 else
9469 result=yes
9470 fi
9471 else
9472 result=$wxUSE_REGKEY
9473 fi
9474
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9477
9478
9479 if test "$wxUSE_GUI" = "yes"; then
9480
9481
9482
9483 enablestring=
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9487 defaultval=yes
9488 else
9489 defaultval=no
9490 fi
9491 fi
9492
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9495 # Check whether --enable-docview was given.
9496 if test "${enable_docview+set}" = set; then
9497 enableval=$enable_docview;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9500 else
9501 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9502 fi
9503 cache=yes
9504
9505 else
9506
9507 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x ; then
9509 eval "DEFAULT_$LINE"
9510 cache=yes
9511 else
9512 cache=no
9513 fi
9514
9515 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9516
9517 fi
9518
9519
9520 eval "$wx_cv_use_docview"
9521 if test "x$cache" = xyes; then
9522 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9523 fi
9524
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9527 result=no
9528 else
9529 result=yes
9530 fi
9531 else
9532 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9533 fi
9534
9535 { echo "$as_me:$LINENO: result: $result" >&5
9536 echo "${ECHO_T}$result" >&6; }
9537
9538
9539 enablestring=
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9543 defaultval=yes
9544 else
9545 defaultval=no
9546 fi
9547 fi
9548
9549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9551 # Check whether --enable-help was given.
9552 if test "${enable_help+set}" = set; then
9553 enableval=$enable_help;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_help='wxUSE_HELP=yes'
9556 else
9557 wx_cv_use_help='wxUSE_HELP=no'
9558 fi
9559 cache=yes
9560
9561 else
9562
9563 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x ; then
9565 eval "DEFAULT_$LINE"
9566 cache=yes
9567 else
9568 cache=no
9569 fi
9570
9571 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9572
9573 fi
9574
9575
9576 eval "$wx_cv_use_help"
9577 if test "x$cache" = xyes; then
9578 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test x"$enablestring" = xdisable; then
9582 if test $wxUSE_HELP = yes; then
9583 result=no
9584 else
9585 result=yes
9586 fi
9587 else
9588 result=$wxUSE_HELP
9589 fi
9590
9591 { echo "$as_me:$LINENO: result: $result" >&5
9592 echo "${ECHO_T}$result" >&6; }
9593
9594
9595 enablestring=
9596 defaultval=$wxUSE_ALL_FEATURES
9597 if test -z "$defaultval"; then
9598 if test x"$enablestring" = xdisable; then
9599 defaultval=yes
9600 else
9601 defaultval=no
9602 fi
9603 fi
9604
9605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9606 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9607 # Check whether --enable-mshtmlhelp was given.
9608 if test "${enable_mshtmlhelp+set}" = set; then
9609 enableval=$enable_mshtmlhelp;
9610 if test "$enableval" = yes; then
9611 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9612 else
9613 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9614 fi
9615 cache=yes
9616
9617 else
9618
9619 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9622 cache=yes
9623 else
9624 cache=no
9625 fi
9626
9627 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9628
9629 fi
9630
9631
9632 eval "$wx_cv_use_mshtmlhelp"
9633 if test "x$cache" = xyes; then
9634 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9635 fi
9636
9637 if test x"$enablestring" = xdisable; then
9638 if test $wxUSE_MS_HTML_HELP = yes; then
9639 result=no
9640 else
9641 result=yes
9642 fi
9643 else
9644 result=$wxUSE_MS_HTML_HELP
9645 fi
9646
9647 { echo "$as_me:$LINENO: result: $result" >&5
9648 echo "${ECHO_T}$result" >&6; }
9649
9650
9651 enablestring=
9652 defaultval=$wxUSE_ALL_FEATURES
9653 if test -z "$defaultval"; then
9654 if test x"$enablestring" = xdisable; then
9655 defaultval=yes
9656 else
9657 defaultval=no
9658 fi
9659 fi
9660
9661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9663 # Check whether --enable-html was given.
9664 if test "${enable_html+set}" = set; then
9665 enableval=$enable_html;
9666 if test "$enableval" = yes; then
9667 wx_cv_use_html='wxUSE_HTML=yes'
9668 else
9669 wx_cv_use_html='wxUSE_HTML=no'
9670 fi
9671 cache=yes
9672
9673 else
9674
9675 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x ; then
9677 eval "DEFAULT_$LINE"
9678 cache=yes
9679 else
9680 cache=no
9681 fi
9682
9683 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9684
9685 fi
9686
9687
9688 eval "$wx_cv_use_html"
9689 if test "x$cache" = xyes; then
9690 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9691 fi
9692
9693 if test x"$enablestring" = xdisable; then
9694 if test $wxUSE_HTML = yes; then
9695 result=no
9696 else
9697 result=yes
9698 fi
9699 else
9700 result=$wxUSE_HTML
9701 fi
9702
9703 { echo "$as_me:$LINENO: result: $result" >&5
9704 echo "${ECHO_T}$result" >&6; }
9705
9706
9707 enablestring=
9708 defaultval=$wxUSE_ALL_FEATURES
9709 if test -z "$defaultval"; then
9710 if test x"$enablestring" = xdisable; then
9711 defaultval=yes
9712 else
9713 defaultval=no
9714 fi
9715 fi
9716
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9719 # Check whether --enable-htmlhelp was given.
9720 if test "${enable_htmlhelp+set}" = set; then
9721 enableval=$enable_htmlhelp;
9722 if test "$enableval" = yes; then
9723 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9724 else
9725 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9726 fi
9727 cache=yes
9728
9729 else
9730
9731 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 cache=yes
9735 else
9736 cache=no
9737 fi
9738
9739 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9740
9741 fi
9742
9743
9744 eval "$wx_cv_use_htmlhelp"
9745 if test "x$cache" = xyes; then
9746 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9747 fi
9748
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_WXHTML_HELP = yes; then
9751 result=no
9752 else
9753 result=yes
9754 fi
9755 else
9756 result=$wxUSE_WXHTML_HELP
9757 fi
9758
9759 { echo "$as_me:$LINENO: result: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9761
9762
9763 enablestring=
9764 defaultval=$wxUSE_ALL_FEATURES
9765 if test -z "$defaultval"; then
9766 if test x"$enablestring" = xdisable; then
9767 defaultval=yes
9768 else
9769 defaultval=no
9770 fi
9771 fi
9772
9773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9775 # Check whether --enable-xrc was given.
9776 if test "${enable_xrc+set}" = set; then
9777 enableval=$enable_xrc;
9778 if test "$enableval" = yes; then
9779 wx_cv_use_xrc='wxUSE_XRC=yes'
9780 else
9781 wx_cv_use_xrc='wxUSE_XRC=no'
9782 fi
9783 cache=yes
9784
9785 else
9786
9787 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9788 if test "x$LINE" != x ; then
9789 eval "DEFAULT_$LINE"
9790 cache=yes
9791 else
9792 cache=no
9793 fi
9794
9795 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9796
9797 fi
9798
9799
9800 eval "$wx_cv_use_xrc"
9801 if test "x$cache" = xyes; then
9802 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9803 fi
9804
9805 if test x"$enablestring" = xdisable; then
9806 if test $wxUSE_XRC = yes; then
9807 result=no
9808 else
9809 result=yes
9810 fi
9811 else
9812 result=$wxUSE_XRC
9813 fi
9814
9815 { echo "$as_me:$LINENO: result: $result" >&5
9816 echo "${ECHO_T}$result" >&6; }
9817
9818
9819 enablestring=
9820 defaultval=$wxUSE_ALL_FEATURES
9821 if test -z "$defaultval"; then
9822 if test x"$enablestring" = xdisable; then
9823 defaultval=yes
9824 else
9825 defaultval=no
9826 fi
9827 fi
9828
9829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9831 # Check whether --enable-aui was given.
9832 if test "${enable_aui+set}" = set; then
9833 enableval=$enable_aui;
9834 if test "$enableval" = yes; then
9835 wx_cv_use_aui='wxUSE_AUI=yes'
9836 else
9837 wx_cv_use_aui='wxUSE_AUI=no'
9838 fi
9839 cache=yes
9840
9841 else
9842
9843 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9844 if test "x$LINE" != x ; then
9845 eval "DEFAULT_$LINE"
9846 cache=yes
9847 else
9848 cache=no
9849 fi
9850
9851 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9852
9853 fi
9854
9855
9856 eval "$wx_cv_use_aui"
9857 if test "x$cache" = xyes; then
9858 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9859 fi
9860
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_AUI = yes; then
9863 result=no
9864 else
9865 result=yes
9866 fi
9867 else
9868 result=$wxUSE_AUI
9869 fi
9870
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9873
9874
9875 enablestring=
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9879 defaultval=yes
9880 else
9881 defaultval=no
9882 fi
9883 fi
9884
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9887 # Check whether --enable-stc was given.
9888 if test "${enable_stc+set}" = set; then
9889 enableval=$enable_stc;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_stc='wxUSE_STC=yes'
9892 else
9893 wx_cv_use_stc='wxUSE_STC=no'
9894 fi
9895 cache=yes
9896
9897 else
9898
9899 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9902 cache=yes
9903 else
9904 cache=no
9905 fi
9906
9907 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9908
9909 fi
9910
9911
9912 eval "$wx_cv_use_stc"
9913 if test "x$cache" = xyes; then
9914 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9915 fi
9916
9917 if test x"$enablestring" = xdisable; then
9918 if test $wxUSE_STC = yes; then
9919 result=no
9920 else
9921 result=yes
9922 fi
9923 else
9924 result=$wxUSE_STC
9925 fi
9926
9927 { echo "$as_me:$LINENO: result: $result" >&5
9928 echo "${ECHO_T}$result" >&6; }
9929
9930
9931 enablestring=
9932 defaultval=$wxUSE_ALL_FEATURES
9933 if test -z "$defaultval"; then
9934 if test x"$enablestring" = xdisable; then
9935 defaultval=yes
9936 else
9937 defaultval=no
9938 fi
9939 fi
9940
9941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9943 # Check whether --enable-constraints was given.
9944 if test "${enable_constraints+set}" = set; then
9945 enableval=$enable_constraints;
9946 if test "$enableval" = yes; then
9947 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9948 else
9949 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9950 fi
9951 cache=yes
9952
9953 else
9954
9955 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x ; then
9957 eval "DEFAULT_$LINE"
9958 cache=yes
9959 else
9960 cache=no
9961 fi
9962
9963 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9964
9965 fi
9966
9967
9968 eval "$wx_cv_use_constraints"
9969 if test "x$cache" = xyes; then
9970 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test x"$enablestring" = xdisable; then
9974 if test $wxUSE_CONSTRAINTS = yes; then
9975 result=no
9976 else
9977 result=yes
9978 fi
9979 else
9980 result=$wxUSE_CONSTRAINTS
9981 fi
9982
9983 { echo "$as_me:$LINENO: result: $result" >&5
9984 echo "${ECHO_T}$result" >&6; }
9985
9986
9987 enablestring=
9988 defaultval=$wxUSE_ALL_FEATURES
9989 if test -z "$defaultval"; then
9990 if test x"$enablestring" = xdisable; then
9991 defaultval=yes
9992 else
9993 defaultval=no
9994 fi
9995 fi
9996
9997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9998 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9999 # Check whether --enable-printarch was given.
10000 if test "${enable_printarch+set}" = set; then
10001 enableval=$enable_printarch;
10002 if test "$enableval" = yes; then
10003 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10004 else
10005 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10006 fi
10007 cache=yes
10008
10009 else
10010
10011 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10012 if test "x$LINE" != x ; then
10013 eval "DEFAULT_$LINE"
10014 cache=yes
10015 else
10016 cache=no
10017 fi
10018
10019 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10020
10021 fi
10022
10023
10024 eval "$wx_cv_use_printarch"
10025 if test "x$cache" = xyes; then
10026 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test x"$enablestring" = xdisable; then
10030 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10031 result=no
10032 else
10033 result=yes
10034 fi
10035 else
10036 result=$wxUSE_PRINTING_ARCHITECTURE
10037 fi
10038
10039 { echo "$as_me:$LINENO: result: $result" >&5
10040 echo "${ECHO_T}$result" >&6; }
10041
10042
10043 enablestring=
10044 defaultval=$wxUSE_ALL_FEATURES
10045 if test -z "$defaultval"; then
10046 if test x"$enablestring" = xdisable; then
10047 defaultval=yes
10048 else
10049 defaultval=no
10050 fi
10051 fi
10052
10053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10055 # Check whether --enable-mdi was given.
10056 if test "${enable_mdi+set}" = set; then
10057 enableval=$enable_mdi;
10058 if test "$enableval" = yes; then
10059 wx_cv_use_mdi='wxUSE_MDI=yes'
10060 else
10061 wx_cv_use_mdi='wxUSE_MDI=no'
10062 fi
10063 cache=yes
10064
10065 else
10066
10067 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10068 if test "x$LINE" != x ; then
10069 eval "DEFAULT_$LINE"
10070 cache=yes
10071 else
10072 cache=no
10073 fi
10074
10075 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10076
10077 fi
10078
10079
10080 eval "$wx_cv_use_mdi"
10081 if test "x$cache" = xyes; then
10082 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10083 fi
10084
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_MDI = yes; then
10087 result=no
10088 else
10089 result=yes
10090 fi
10091 else
10092 result=$wxUSE_MDI
10093 fi
10094
10095 { echo "$as_me:$LINENO: result: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10097
10098
10099 enablestring=
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10103 defaultval=yes
10104 else
10105 defaultval=no
10106 fi
10107 fi
10108
10109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10111 # Check whether --enable-mdidoc was given.
10112 if test "${enable_mdidoc+set}" = set; then
10113 enableval=$enable_mdidoc;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10116 else
10117 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10118 fi
10119 cache=yes
10120
10121 else
10122
10123 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x ; then
10125 eval "DEFAULT_$LINE"
10126 cache=yes
10127 else
10128 cache=no
10129 fi
10130
10131 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10132
10133 fi
10134
10135
10136 eval "$wx_cv_use_mdidoc"
10137 if test "x$cache" = xyes; then
10138 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10139 fi
10140
10141 if test x"$enablestring" = xdisable; then
10142 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10143 result=no
10144 else
10145 result=yes
10146 fi
10147 else
10148 result=$wxUSE_MDI_ARCHITECTURE
10149 fi
10150
10151 { echo "$as_me:$LINENO: result: $result" >&5
10152 echo "${ECHO_T}$result" >&6; }
10153
10154
10155 enablestring=
10156 defaultval=$wxUSE_ALL_FEATURES
10157 if test -z "$defaultval"; then
10158 if test x"$enablestring" = xdisable; then
10159 defaultval=yes
10160 else
10161 defaultval=no
10162 fi
10163 fi
10164
10165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10167 # Check whether --enable-loggui was given.
10168 if test "${enable_loggui+set}" = set; then
10169 enableval=$enable_loggui;
10170 if test "$enableval" = yes; then
10171 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10172 else
10173 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10174 fi
10175 cache=yes
10176
10177 else
10178
10179 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10180 if test "x$LINE" != x ; then
10181 eval "DEFAULT_$LINE"
10182 cache=yes
10183 else
10184 cache=no
10185 fi
10186
10187 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10188
10189 fi
10190
10191
10192 eval "$wx_cv_use_loggui"
10193 if test "x$cache" = xyes; then
10194 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10195 fi
10196
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_LOGGUI = yes; then
10199 result=no
10200 else
10201 result=yes
10202 fi
10203 else
10204 result=$wxUSE_LOGGUI
10205 fi
10206
10207 { echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6; }
10209
10210
10211 enablestring=
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10215 defaultval=yes
10216 else
10217 defaultval=no
10218 fi
10219 fi
10220
10221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10223 # Check whether --enable-logwin was given.
10224 if test "${enable_logwin+set}" = set; then
10225 enableval=$enable_logwin;
10226 if test "$enableval" = yes; then
10227 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10228 else
10229 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10230 fi
10231 cache=yes
10232
10233 else
10234
10235 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10236 if test "x$LINE" != x ; then
10237 eval "DEFAULT_$LINE"
10238 cache=yes
10239 else
10240 cache=no
10241 fi
10242
10243 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10244
10245 fi
10246
10247
10248 eval "$wx_cv_use_logwin"
10249 if test "x$cache" = xyes; then
10250 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10251 fi
10252
10253 if test x"$enablestring" = xdisable; then
10254 if test $wxUSE_LOGWINDOW = yes; then
10255 result=no
10256 else
10257 result=yes
10258 fi
10259 else
10260 result=$wxUSE_LOGWINDOW
10261 fi
10262
10263 { echo "$as_me:$LINENO: result: $result" >&5
10264 echo "${ECHO_T}$result" >&6; }
10265
10266
10267 enablestring=
10268 defaultval=$wxUSE_ALL_FEATURES
10269 if test -z "$defaultval"; then
10270 if test x"$enablestring" = xdisable; then
10271 defaultval=yes
10272 else
10273 defaultval=no
10274 fi
10275 fi
10276
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10279 # Check whether --enable-logdialog was given.
10280 if test "${enable_logdialog+set}" = set; then
10281 enableval=$enable_logdialog;
10282 if test "$enableval" = yes; then
10283 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10284 else
10285 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10286 fi
10287 cache=yes
10288
10289 else
10290
10291 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 cache=yes
10295 else
10296 cache=no
10297 fi
10298
10299 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10300
10301 fi
10302
10303
10304 eval "$wx_cv_use_logdialog"
10305 if test "x$cache" = xyes; then
10306 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10307 fi
10308
10309 if test x"$enablestring" = xdisable; then
10310 if test $wxUSE_LOGDIALOG = yes; then
10311 result=no
10312 else
10313 result=yes
10314 fi
10315 else
10316 result=$wxUSE_LOGDIALOG
10317 fi
10318
10319 { echo "$as_me:$LINENO: result: $result" >&5
10320 echo "${ECHO_T}$result" >&6; }
10321
10322
10323 enablestring=
10324 defaultval=$wxUSE_ALL_FEATURES
10325 if test -z "$defaultval"; then
10326 if test x"$enablestring" = xdisable; then
10327 defaultval=yes
10328 else
10329 defaultval=no
10330 fi
10331 fi
10332
10333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10335 # Check whether --enable-webkit was given.
10336 if test "${enable_webkit+set}" = set; then
10337 enableval=$enable_webkit;
10338 if test "$enableval" = yes; then
10339 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10340 else
10341 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10342 fi
10343 cache=yes
10344
10345 else
10346
10347 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10348 if test "x$LINE" != x ; then
10349 eval "DEFAULT_$LINE"
10350 cache=yes
10351 else
10352 cache=no
10353 fi
10354
10355 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10356
10357 fi
10358
10359
10360 eval "$wx_cv_use_webkit"
10361 if test "x$cache" = xyes; then
10362 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10363 fi
10364
10365 if test x"$enablestring" = xdisable; then
10366 if test $wxUSE_WEBKIT = yes; then
10367 result=no
10368 else
10369 result=yes
10370 fi
10371 else
10372 result=$wxUSE_WEBKIT
10373 fi
10374
10375 { echo "$as_me:$LINENO: result: $result" >&5
10376 echo "${ECHO_T}$result" >&6; }
10377
10378
10379 enablestring=
10380 defaultval=$wxUSE_ALL_FEATURES
10381 if test -z "$defaultval"; then
10382 if test x"$enablestring" = xdisable; then
10383 defaultval=yes
10384 else
10385 defaultval=no
10386 fi
10387 fi
10388
10389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10390 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10391 # Check whether --enable-richtext was given.
10392 if test "${enable_richtext+set}" = set; then
10393 enableval=$enable_richtext;
10394 if test "$enableval" = yes; then
10395 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10396 else
10397 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10398 fi
10399 cache=yes
10400
10401 else
10402
10403 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x ; then
10405 eval "DEFAULT_$LINE"
10406 cache=yes
10407 else
10408 cache=no
10409 fi
10410
10411 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10412
10413 fi
10414
10415
10416 eval "$wx_cv_use_richtext"
10417 if test "x$cache" = xyes; then
10418 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10419 fi
10420
10421 if test x"$enablestring" = xdisable; then
10422 if test $wxUSE_RICHTEXT = yes; then
10423 result=no
10424 else
10425 result=yes
10426 fi
10427 else
10428 result=$wxUSE_RICHTEXT
10429 fi
10430
10431 { echo "$as_me:$LINENO: result: $result" >&5
10432 echo "${ECHO_T}$result" >&6; }
10433
10434
10435 enablestring=
10436 defaultval=$wxUSE_ALL_FEATURES
10437 if test -z "$defaultval"; then
10438 if test x"$enablestring" = xdisable; then
10439 defaultval=yes
10440 else
10441 defaultval=no
10442 fi
10443 fi
10444
10445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10446 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10447 # Check whether --enable-graphics_ctx was given.
10448 if test "${enable_graphics_ctx+set}" = set; then
10449 enableval=$enable_graphics_ctx;
10450 if test "$enableval" = yes; then
10451 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10452 else
10453 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10454 fi
10455 cache=yes
10456
10457 else
10458
10459 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10460 if test "x$LINE" != x ; then
10461 eval "DEFAULT_$LINE"
10462 cache=yes
10463 else
10464 cache=no
10465 fi
10466
10467 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10468
10469 fi
10470
10471
10472 eval "$wx_cv_use_graphics_ctx"
10473 if test "x$cache" = xyes; then
10474 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10475 fi
10476
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10479 result=no
10480 else
10481 result=yes
10482 fi
10483 else
10484 result=$wxUSE_GRAPHICS_CONTEXT
10485 fi
10486
10487 { echo "$as_me:$LINENO: result: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10489
10490
10491 enablestring=
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10495 defaultval=yes
10496 else
10497 defaultval=no
10498 fi
10499 fi
10500
10501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10503 # Check whether --enable-postscript was given.
10504 if test "${enable_postscript+set}" = set; then
10505 enableval=$enable_postscript;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10508 else
10509 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10510 fi
10511 cache=yes
10512
10513 else
10514
10515 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10516 if test "x$LINE" != x ; then
10517 eval "DEFAULT_$LINE"
10518 cache=yes
10519 else
10520 cache=no
10521 fi
10522
10523 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10524
10525 fi
10526
10527
10528 eval "$wx_cv_use_postscript"
10529 if test "x$cache" = xyes; then
10530 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10531 fi
10532
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_POSTSCRIPT = yes; then
10535 result=no
10536 else
10537 result=yes
10538 fi
10539 else
10540 result=$wxUSE_POSTSCRIPT
10541 fi
10542
10543 { echo "$as_me:$LINENO: result: $result" >&5
10544 echo "${ECHO_T}$result" >&6; }
10545
10546
10547 enablestring=
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10551 defaultval=yes
10552 else
10553 defaultval=no
10554 fi
10555 fi
10556
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10559 # Check whether --enable-svg was given.
10560 if test "${enable_svg+set}" = set; then
10561 enableval=$enable_svg;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_svg='wxUSE_SVG=yes'
10564 else
10565 wx_cv_use_svg='wxUSE_SVG=no'
10566 fi
10567 cache=yes
10568
10569 else
10570
10571 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10572 if test "x$LINE" != x ; then
10573 eval "DEFAULT_$LINE"
10574 cache=yes
10575 else
10576 cache=no
10577 fi
10578
10579 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10580
10581 fi
10582
10583
10584 eval "$wx_cv_use_svg"
10585 if test "x$cache" = xyes; then
10586 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10587 fi
10588
10589 if test x"$enablestring" = xdisable; then
10590 if test $wxUSE_SVG = yes; then
10591 result=no
10592 else
10593 result=yes
10594 fi
10595 else
10596 result=$wxUSE_SVG
10597 fi
10598
10599 { echo "$as_me:$LINENO: result: $result" >&5
10600 echo "${ECHO_T}$result" >&6; }
10601
10602
10603
10604
10605 enablestring=
10606 defaultval=$wxUSE_ALL_FEATURES
10607 if test -z "$defaultval"; then
10608 if test x"$enablestring" = xdisable; then
10609 defaultval=yes
10610 else
10611 defaultval=no
10612 fi
10613 fi
10614
10615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10617 # Check whether --enable-clipboard was given.
10618 if test "${enable_clipboard+set}" = set; then
10619 enableval=$enable_clipboard;
10620 if test "$enableval" = yes; then
10621 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10622 else
10623 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10624 fi
10625 cache=yes
10626
10627 else
10628
10629 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10630 if test "x$LINE" != x ; then
10631 eval "DEFAULT_$LINE"
10632 cache=yes
10633 else
10634 cache=no
10635 fi
10636
10637 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10638
10639 fi
10640
10641
10642 eval "$wx_cv_use_clipboard"
10643 if test "x$cache" = xyes; then
10644 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10645 fi
10646
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_CLIPBOARD = yes; then
10649 result=no
10650 else
10651 result=yes
10652 fi
10653 else
10654 result=$wxUSE_CLIPBOARD
10655 fi
10656
10657 { echo "$as_me:$LINENO: result: $result" >&5
10658 echo "${ECHO_T}$result" >&6; }
10659
10660
10661 enablestring=
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10665 defaultval=yes
10666 else
10667 defaultval=no
10668 fi
10669 fi
10670
10671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10672 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10673 # Check whether --enable-dnd was given.
10674 if test "${enable_dnd+set}" = set; then
10675 enableval=$enable_dnd;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10678 else
10679 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10680 fi
10681 cache=yes
10682
10683 else
10684
10685 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10686 if test "x$LINE" != x ; then
10687 eval "DEFAULT_$LINE"
10688 cache=yes
10689 else
10690 cache=no
10691 fi
10692
10693 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10694
10695 fi
10696
10697
10698 eval "$wx_cv_use_dnd"
10699 if test "x$cache" = xyes; then
10700 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10701 fi
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_DRAG_AND_DROP = yes; then
10705 result=no
10706 else
10707 result=yes
10708 fi
10709 else
10710 result=$wxUSE_DRAG_AND_DROP
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10729 # Check whether --enable-metafile was given.
10730 if test "${enable_metafile+set}" = set; then
10731 enableval=$enable_metafile;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10734 else
10735 wx_cv_use_metafile='wxUSE_METAFILE=no'
10736 fi
10737 cache=yes
10738
10739 else
10740
10741 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x ; then
10743 eval "DEFAULT_$LINE"
10744 cache=yes
10745 else
10746 cache=no
10747 fi
10748
10749 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10750
10751 fi
10752
10753
10754 eval "$wx_cv_use_metafile"
10755 if test "x$cache" = xyes; then
10756 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10757 fi
10758
10759 if test x"$enablestring" = xdisable; then
10760 if test $wxUSE_METAFILE = yes; then
10761 result=no
10762 else
10763 result=yes
10764 fi
10765 else
10766 result=$wxUSE_METAFILE
10767 fi
10768
10769 { echo "$as_me:$LINENO: result: $result" >&5
10770 echo "${ECHO_T}$result" >&6; }
10771
10772
10773
10774 DEFAULT_wxUSE_CONTROLS=none
10775
10776 enablestring=disable
10777 defaultval=
10778 if test -z "$defaultval"; then
10779 if test x"$enablestring" = xdisable; then
10780 defaultval=yes
10781 else
10782 defaultval=no
10783 fi
10784 fi
10785
10786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10788 # Check whether --enable-controls was given.
10789 if test "${enable_controls+set}" = set; then
10790 enableval=$enable_controls;
10791 if test "$enableval" = yes; then
10792 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10793 else
10794 wx_cv_use_controls='wxUSE_CONTROLS=no'
10795 fi
10796 cache=yes
10797
10798 else
10799
10800 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10801 if test "x$LINE" != x ; then
10802 eval "DEFAULT_$LINE"
10803 cache=yes
10804 else
10805 cache=no
10806 fi
10807
10808 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10809
10810 fi
10811
10812
10813 eval "$wx_cv_use_controls"
10814 if test "x$cache" = xyes; then
10815 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10816 fi
10817
10818 if test x"$enablestring" = xdisable; then
10819 if test $wxUSE_CONTROLS = yes; then
10820 result=no
10821 else
10822 result=yes
10823 fi
10824 else
10825 result=$wxUSE_CONTROLS
10826 fi
10827
10828 { echo "$as_me:$LINENO: result: $result" >&5
10829 echo "${ECHO_T}$result" >&6; }
10830
10831
10832 if test "$wxUSE_CONTROLS" = "yes"; then
10833 DEFAULT_wxUSE_ACCEL=yes
10834 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10835 DEFAULT_wxUSE_BMPBUTTON=yes
10836 DEFAULT_wxUSE_BUTTON=yes
10837 DEFAULT_wxUSE_CALCTRL=yes
10838 DEFAULT_wxUSE_CARET=yes
10839 DEFAULT_wxUSE_COMBOBOX=yes
10840 DEFAULT_wxUSE_CHECKBOX=yes
10841 DEFAULT_wxUSE_CHECKLISTBOX=yes
10842 DEFAULT_wxUSE_CHOICE=yes
10843 DEFAULT_wxUSE_CHOICEBOOK=yes
10844 DEFAULT_wxUSE_COLLPANE=yes
10845 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10846 DEFAULT_wxUSE_COMBOBOX=yes
10847 DEFAULT_wxUSE_DATEPICKCTRL=yes
10848 DEFAULT_wxUSE_DISPLAY=yes
10849 DEFAULT_wxUSE_DETECT_SM=yes
10850 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10851 DEFAULT_wxUSE_FILECTRL=yes
10852 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10853 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10854 DEFAULT_wxUSE_GAUGE=yes
10855 DEFAULT_wxUSE_GRID=yes
10856 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10857 DEFAULT_wxUSE_DATAVIEWCTRL=no
10858 DEFAULT_wxUSE_IMAGLIST=yes
10859 DEFAULT_wxUSE_LISTBOOK=yes
10860 DEFAULT_wxUSE_LISTBOX=yes
10861 DEFAULT_wxUSE_LISTCTRL=yes
10862 DEFAULT_wxUSE_NOTEBOOK=yes
10863 DEFAULT_wxUSE_RADIOBOX=yes
10864 DEFAULT_wxUSE_RADIOBTN=yes
10865 DEFAULT_wxUSE_SASH=yes
10866 DEFAULT_wxUSE_SCROLLBAR=yes
10867 DEFAULT_wxUSE_SEARCHCTRL=yes
10868 DEFAULT_wxUSE_SLIDER=yes
10869 DEFAULT_wxUSE_SPINBTN=yes
10870 DEFAULT_wxUSE_SPINCTRL=yes
10871 DEFAULT_wxUSE_SPLITTER=yes
10872 DEFAULT_wxUSE_STATBMP=yes
10873 DEFAULT_wxUSE_STATBOX=yes
10874 DEFAULT_wxUSE_STATLINE=yes
10875 DEFAULT_wxUSE_STATUSBAR=yes
10876 DEFAULT_wxUSE_TAB_DIALOG=yes
10877 DEFAULT_wxUSE_TOGGLEBTN=yes
10878 DEFAULT_wxUSE_TOOLBAR=yes
10879 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10880 DEFAULT_wxUSE_TOOLTIPS=yes
10881 DEFAULT_wxUSE_TREEBOOK=yes
10882 DEFAULT_wxUSE_TOOLBOOK=yes
10883 DEFAULT_wxUSE_TREECTRL=yes
10884 DEFAULT_wxUSE_POPUPWIN=yes
10885 DEFAULT_wxUSE_TIPWINDOW=yes
10886 elif test "$wxUSE_CONTROLS" = "no"; then
10887 DEFAULT_wxUSE_ACCEL=no
10888 DEFAULT_wxUSE_ANIMATIONCTRL=no
10889 DEFAULT_wxUSE_BMPBUTTON=no
10890 DEFAULT_wxUSE_BUTTON=no
10891 DEFAULT_wxUSE_CALCTRL=no
10892 DEFAULT_wxUSE_CARET=no
10893 DEFAULT_wxUSE_COLLPANE=no
10894 DEFAULT_wxUSE_COMBOBOX=no
10895 DEFAULT_wxUSE_CHECKBOX=no
10896 DEFAULT_wxUSE_CHECKLISTBOX=no
10897 DEFAULT_wxUSE_CHOICE=no
10898 DEFAULT_wxUSE_CHOICEBOOK=no
10899 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10900 DEFAULT_wxUSE_COMBOBOX=no
10901 DEFAULT_wxUSE_DATEPICKCTRL=no
10902 DEFAULT_wxUSE_DISPLAY=no
10903 DEFAULT_wxUSE_DETECT_SM=no
10904 DEFAULT_wxUSE_DIRPICKERCTRL=no
10905 DEFAULT_wxUSE_FILECTRL=no
10906 DEFAULT_wxUSE_FILEPICKERCTRL=no
10907 DEFAULT_wxUSE_FONTPICKERCTRL=no
10908 DEFAULT_wxUSE_GAUGE=no
10909 DEFAULT_wxUSE_GRID=no
10910 DEFAULT_wxUSE_HYPERLINKCTRL=no
10911 DEFAULT_wxUSE_DATAVIEWCTRL=no
10912 DEFAULT_wxUSE_IMAGLIST=no
10913 DEFAULT_wxUSE_LISTBOOK=no
10914 DEFAULT_wxUSE_LISTBOX=no
10915 DEFAULT_wxUSE_LISTCTRL=no
10916 DEFAULT_wxUSE_NOTEBOOK=no
10917 DEFAULT_wxUSE_RADIOBOX=no
10918 DEFAULT_wxUSE_RADIOBTN=no
10919 DEFAULT_wxUSE_SASH=no
10920 DEFAULT_wxUSE_SCROLLBAR=no
10921 DEFAULT_wxUSE_SEARCHCTRL=no
10922 DEFAULT_wxUSE_SLIDER=no
10923 DEFAULT_wxUSE_SPINBTN=no
10924 DEFAULT_wxUSE_SPINCTRL=no
10925 DEFAULT_wxUSE_SPLITTER=no
10926 DEFAULT_wxUSE_STATBMP=no
10927 DEFAULT_wxUSE_STATBOX=no
10928 DEFAULT_wxUSE_STATLINE=no
10929 DEFAULT_wxUSE_STATUSBAR=no
10930 DEFAULT_wxUSE_TAB_DIALOG=no
10931 DEFAULT_wxUSE_TOGGLEBTN=no
10932 DEFAULT_wxUSE_TOOLBAR=no
10933 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10934 DEFAULT_wxUSE_TOOLTIPS=no
10935 DEFAULT_wxUSE_TREEBOOK=no
10936 DEFAULT_wxUSE_TOOLBOOK=no
10937 DEFAULT_wxUSE_TREECTRL=no
10938 DEFAULT_wxUSE_POPUPWIN=no
10939 DEFAULT_wxUSE_TIPWINDOW=no
10940 fi
10941
10942
10943 enablestring=
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10947 defaultval=yes
10948 else
10949 defaultval=no
10950 fi
10951 fi
10952
10953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10955 # Check whether --enable-accel was given.
10956 if test "${enable_accel+set}" = set; then
10957 enableval=$enable_accel;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_accel='wxUSE_ACCEL=yes'
10960 else
10961 wx_cv_use_accel='wxUSE_ACCEL=no'
10962 fi
10963 cache=yes
10964
10965 else
10966
10967 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x ; then
10969 eval "DEFAULT_$LINE"
10970 cache=yes
10971 else
10972 cache=no
10973 fi
10974
10975 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10976
10977 fi
10978
10979
10980 eval "$wx_cv_use_accel"
10981 if test "x$cache" = xyes; then
10982 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10983 fi
10984
10985 if test x"$enablestring" = xdisable; then
10986 if test $wxUSE_ACCEL = yes; then
10987 result=no
10988 else
10989 result=yes
10990 fi
10991 else
10992 result=$wxUSE_ACCEL
10993 fi
10994
10995 { echo "$as_me:$LINENO: result: $result" >&5
10996 echo "${ECHO_T}$result" >&6; }
10997
10998
10999 enablestring=
11000 defaultval=$wxUSE_ALL_FEATURES
11001 if test -z "$defaultval"; then
11002 if test x"$enablestring" = xdisable; then
11003 defaultval=yes
11004 else
11005 defaultval=no
11006 fi
11007 fi
11008
11009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11010 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11011 # Check whether --enable-animatectrl was given.
11012 if test "${enable_animatectrl+set}" = set; then
11013 enableval=$enable_animatectrl;
11014 if test "$enableval" = yes; then
11015 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11016 else
11017 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11018 fi
11019 cache=yes
11020
11021 else
11022
11023 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11024 if test "x$LINE" != x ; then
11025 eval "DEFAULT_$LINE"
11026 cache=yes
11027 else
11028 cache=no
11029 fi
11030
11031 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11032
11033 fi
11034
11035
11036 eval "$wx_cv_use_animatectrl"
11037 if test "x$cache" = xyes; then
11038 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11039 fi
11040
11041 if test x"$enablestring" = xdisable; then
11042 if test $wxUSE_ANIMATIONCTRL = yes; then
11043 result=no
11044 else
11045 result=yes
11046 fi
11047 else
11048 result=$wxUSE_ANIMATIONCTRL
11049 fi
11050
11051 { echo "$as_me:$LINENO: result: $result" >&5
11052 echo "${ECHO_T}$result" >&6; }
11053
11054
11055 enablestring=
11056 defaultval=$wxUSE_ALL_FEATURES
11057 if test -z "$defaultval"; then
11058 if test x"$enablestring" = xdisable; then
11059 defaultval=yes
11060 else
11061 defaultval=no
11062 fi
11063 fi
11064
11065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11067 # Check whether --enable-button was given.
11068 if test "${enable_button+set}" = set; then
11069 enableval=$enable_button;
11070 if test "$enableval" = yes; then
11071 wx_cv_use_button='wxUSE_BUTTON=yes'
11072 else
11073 wx_cv_use_button='wxUSE_BUTTON=no'
11074 fi
11075 cache=yes
11076
11077 else
11078
11079 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11080 if test "x$LINE" != x ; then
11081 eval "DEFAULT_$LINE"
11082 cache=yes
11083 else
11084 cache=no
11085 fi
11086
11087 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11088
11089 fi
11090
11091
11092 eval "$wx_cv_use_button"
11093 if test "x$cache" = xyes; then
11094 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11095 fi
11096
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_BUTTON = yes; then
11099 result=no
11100 else
11101 result=yes
11102 fi
11103 else
11104 result=$wxUSE_BUTTON
11105 fi
11106
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11109
11110
11111 enablestring=
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11115 defaultval=yes
11116 else
11117 defaultval=no
11118 fi
11119 fi
11120
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11123 # Check whether --enable-bmpbutton was given.
11124 if test "${enable_bmpbutton+set}" = set; then
11125 enableval=$enable_bmpbutton;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11128 else
11129 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11130 fi
11131 cache=yes
11132
11133 else
11134
11135 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11136 if test "x$LINE" != x ; then
11137 eval "DEFAULT_$LINE"
11138 cache=yes
11139 else
11140 cache=no
11141 fi
11142
11143 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11144
11145 fi
11146
11147
11148 eval "$wx_cv_use_bmpbutton"
11149 if test "x$cache" = xyes; then
11150 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11151 fi
11152
11153 if test x"$enablestring" = xdisable; then
11154 if test $wxUSE_BMPBUTTON = yes; then
11155 result=no
11156 else
11157 result=yes
11158 fi
11159 else
11160 result=$wxUSE_BMPBUTTON
11161 fi
11162
11163 { echo "$as_me:$LINENO: result: $result" >&5
11164 echo "${ECHO_T}$result" >&6; }
11165
11166
11167 enablestring=
11168 defaultval=$wxUSE_ALL_FEATURES
11169 if test -z "$defaultval"; then
11170 if test x"$enablestring" = xdisable; then
11171 defaultval=yes
11172 else
11173 defaultval=no
11174 fi
11175 fi
11176
11177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11178 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11179 # Check whether --enable-bmpcombobox was given.
11180 if test "${enable_bmpcombobox+set}" = set; then
11181 enableval=$enable_bmpcombobox;
11182 if test "$enableval" = yes; then
11183 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11184 else
11185 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11186 fi
11187 cache=yes
11188
11189 else
11190
11191 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11192 if test "x$LINE" != x ; then
11193 eval "DEFAULT_$LINE"
11194 cache=yes
11195 else
11196 cache=no
11197 fi
11198
11199 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11200
11201 fi
11202
11203
11204 eval "$wx_cv_use_bmpcombobox"
11205 if test "x$cache" = xyes; then
11206 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test x"$enablestring" = xdisable; then
11210 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11211 result=no
11212 else
11213 result=yes
11214 fi
11215 else
11216 result=$wxUSE_BITMAPCOMBOBOX
11217 fi
11218
11219 { echo "$as_me:$LINENO: result: $result" >&5
11220 echo "${ECHO_T}$result" >&6; }
11221
11222
11223 enablestring=
11224 defaultval=$wxUSE_ALL_FEATURES
11225 if test -z "$defaultval"; then
11226 if test x"$enablestring" = xdisable; then
11227 defaultval=yes
11228 else
11229 defaultval=no
11230 fi
11231 fi
11232
11233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11234 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11235 # Check whether --enable-calendar was given.
11236 if test "${enable_calendar+set}" = set; then
11237 enableval=$enable_calendar;
11238 if test "$enableval" = yes; then
11239 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11240 else
11241 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11242 fi
11243 cache=yes
11244
11245 else
11246
11247 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 cache=yes
11251 else
11252 cache=no
11253 fi
11254
11255 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11256
11257 fi
11258
11259
11260 eval "$wx_cv_use_calendar"
11261 if test "x$cache" = xyes; then
11262 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11263 fi
11264
11265 if test x"$enablestring" = xdisable; then
11266 if test $wxUSE_CALCTRL = yes; then
11267 result=no
11268 else
11269 result=yes
11270 fi
11271 else
11272 result=$wxUSE_CALCTRL
11273 fi
11274
11275 { echo "$as_me:$LINENO: result: $result" >&5
11276 echo "${ECHO_T}$result" >&6; }
11277
11278
11279 enablestring=
11280 defaultval=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x"$enablestring" = xdisable; then
11283 defaultval=yes
11284 else
11285 defaultval=no
11286 fi
11287 fi
11288
11289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11290 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11291 # Check whether --enable-caret was given.
11292 if test "${enable_caret+set}" = set; then
11293 enableval=$enable_caret;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_caret='wxUSE_CARET=yes'
11296 else
11297 wx_cv_use_caret='wxUSE_CARET=no'
11298 fi
11299 cache=yes
11300
11301 else
11302
11303 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11304 if test "x$LINE" != x ; then
11305 eval "DEFAULT_$LINE"
11306 cache=yes
11307 else
11308 cache=no
11309 fi
11310
11311 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11312
11313 fi
11314
11315
11316 eval "$wx_cv_use_caret"
11317 if test "x$cache" = xyes; then
11318 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11319 fi
11320
11321 if test x"$enablestring" = xdisable; then
11322 if test $wxUSE_CARET = yes; then
11323 result=no
11324 else
11325 result=yes
11326 fi
11327 else
11328 result=$wxUSE_CARET
11329 fi
11330
11331 { echo "$as_me:$LINENO: result: $result" >&5
11332 echo "${ECHO_T}$result" >&6; }
11333
11334
11335 enablestring=
11336 defaultval=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x"$enablestring" = xdisable; then
11339 defaultval=yes
11340 else
11341 defaultval=no
11342 fi
11343 fi
11344
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11347 # Check whether --enable-checkbox was given.
11348 if test "${enable_checkbox+set}" = set; then
11349 enableval=$enable_checkbox;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11352 else
11353 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11354 fi
11355 cache=yes
11356
11357 else
11358
11359 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11362 cache=yes
11363 else
11364 cache=no
11365 fi
11366
11367 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11368
11369 fi
11370
11371
11372 eval "$wx_cv_use_checkbox"
11373 if test "x$cache" = xyes; then
11374 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11375 fi
11376
11377 if test x"$enablestring" = xdisable; then
11378 if test $wxUSE_CHECKBOX = yes; then
11379 result=no
11380 else
11381 result=yes
11382 fi
11383 else
11384 result=$wxUSE_CHECKBOX
11385 fi
11386
11387 { echo "$as_me:$LINENO: result: $result" >&5
11388 echo "${ECHO_T}$result" >&6; }
11389
11390
11391 enablestring=
11392 defaultval=$wxUSE_ALL_FEATURES
11393 if test -z "$defaultval"; then
11394 if test x"$enablestring" = xdisable; then
11395 defaultval=yes
11396 else
11397 defaultval=no
11398 fi
11399 fi
11400
11401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11403 # Check whether --enable-checklst was given.
11404 if test "${enable_checklst+set}" = set; then
11405 enableval=$enable_checklst;
11406 if test "$enableval" = yes; then
11407 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11408 else
11409 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11410 fi
11411 cache=yes
11412
11413 else
11414
11415 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11416 if test "x$LINE" != x ; then
11417 eval "DEFAULT_$LINE"
11418 cache=yes
11419 else
11420 cache=no
11421 fi
11422
11423 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11424
11425 fi
11426
11427
11428 eval "$wx_cv_use_checklst"
11429 if test "x$cache" = xyes; then
11430 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11431 fi
11432
11433 if test x"$enablestring" = xdisable; then
11434 if test $wxUSE_CHECKLST = yes; then
11435 result=no
11436 else
11437 result=yes
11438 fi
11439 else
11440 result=$wxUSE_CHECKLST
11441 fi
11442
11443 { echo "$as_me:$LINENO: result: $result" >&5
11444 echo "${ECHO_T}$result" >&6; }
11445
11446
11447 enablestring=
11448 defaultval=$wxUSE_ALL_FEATURES
11449 if test -z "$defaultval"; then
11450 if test x"$enablestring" = xdisable; then
11451 defaultval=yes
11452 else
11453 defaultval=no
11454 fi
11455 fi
11456
11457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11458 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11459 # Check whether --enable-choice was given.
11460 if test "${enable_choice+set}" = set; then
11461 enableval=$enable_choice;
11462 if test "$enableval" = yes; then
11463 wx_cv_use_choice='wxUSE_CHOICE=yes'
11464 else
11465 wx_cv_use_choice='wxUSE_CHOICE=no'
11466 fi
11467 cache=yes
11468
11469 else
11470
11471 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11472 if test "x$LINE" != x ; then
11473 eval "DEFAULT_$LINE"
11474 cache=yes
11475 else
11476 cache=no
11477 fi
11478
11479 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11480
11481 fi
11482
11483
11484 eval "$wx_cv_use_choice"
11485 if test "x$cache" = xyes; then
11486 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11487 fi
11488
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_CHOICE = yes; then
11491 result=no
11492 else
11493 result=yes
11494 fi
11495 else
11496 result=$wxUSE_CHOICE
11497 fi
11498
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11501
11502
11503 enablestring=
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11507 defaultval=yes
11508 else
11509 defaultval=no
11510 fi
11511 fi
11512
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11515 # Check whether --enable-choicebook was given.
11516 if test "${enable_choicebook+set}" = set; then
11517 enableval=$enable_choicebook;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11520 else
11521 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11522 fi
11523 cache=yes
11524
11525 else
11526
11527 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11528 if test "x$LINE" != x ; then
11529 eval "DEFAULT_$LINE"
11530 cache=yes
11531 else
11532 cache=no
11533 fi
11534
11535 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11536
11537 fi
11538
11539
11540 eval "$wx_cv_use_choicebook"
11541 if test "x$cache" = xyes; then
11542 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11543 fi
11544
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_CHOICEBOOK = yes; then
11547 result=no
11548 else
11549 result=yes
11550 fi
11551 else
11552 result=$wxUSE_CHOICEBOOK
11553 fi
11554
11555 { echo "$as_me:$LINENO: result: $result" >&5
11556 echo "${ECHO_T}$result" >&6; }
11557
11558
11559 enablestring=
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11563 defaultval=yes
11564 else
11565 defaultval=no
11566 fi
11567 fi
11568
11569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11570 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11571 # Check whether --enable-collpane was given.
11572 if test "${enable_collpane+set}" = set; then
11573 enableval=$enable_collpane;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11576 else
11577 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11578 fi
11579 cache=yes
11580
11581 else
11582
11583 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11586 cache=yes
11587 else
11588 cache=no
11589 fi
11590
11591 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11592
11593 fi
11594
11595
11596 eval "$wx_cv_use_collpane"
11597 if test "x$cache" = xyes; then
11598 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11599 fi
11600
11601 if test x"$enablestring" = xdisable; then
11602 if test $wxUSE_COLLPANE = yes; then
11603 result=no
11604 else
11605 result=yes
11606 fi
11607 else
11608 result=$wxUSE_COLLPANE
11609 fi
11610
11611 { echo "$as_me:$LINENO: result: $result" >&5
11612 echo "${ECHO_T}$result" >&6; }
11613
11614
11615 enablestring=
11616 defaultval=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x"$enablestring" = xdisable; then
11619 defaultval=yes
11620 else
11621 defaultval=no
11622 fi
11623 fi
11624
11625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11626 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11627 # Check whether --enable-colourpicker was given.
11628 if test "${enable_colourpicker+set}" = set; then
11629 enableval=$enable_colourpicker;
11630 if test "$enableval" = yes; then
11631 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11632 else
11633 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11634 fi
11635 cache=yes
11636
11637 else
11638
11639 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11640 if test "x$LINE" != x ; then
11641 eval "DEFAULT_$LINE"
11642 cache=yes
11643 else
11644 cache=no
11645 fi
11646
11647 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11648
11649 fi
11650
11651
11652 eval "$wx_cv_use_colourpicker"
11653 if test "x$cache" = xyes; then
11654 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11655 fi
11656
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_COLOURPICKERCTRL = yes; then
11659 result=no
11660 else
11661 result=yes
11662 fi
11663 else
11664 result=$wxUSE_COLOURPICKERCTRL
11665 fi
11666
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11669
11670
11671 enablestring=
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11675 defaultval=yes
11676 else
11677 defaultval=no
11678 fi
11679 fi
11680
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11683 # Check whether --enable-combobox was given.
11684 if test "${enable_combobox+set}" = set; then
11685 enableval=$enable_combobox;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11688 else
11689 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11690 fi
11691 cache=yes
11692
11693 else
11694
11695 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11696 if test "x$LINE" != x ; then
11697 eval "DEFAULT_$LINE"
11698 cache=yes
11699 else
11700 cache=no
11701 fi
11702
11703 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11704
11705 fi
11706
11707
11708 eval "$wx_cv_use_combobox"
11709 if test "x$cache" = xyes; then
11710 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11711 fi
11712
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_COMBOBOX = yes; then
11715 result=no
11716 else
11717 result=yes
11718 fi
11719 else
11720 result=$wxUSE_COMBOBOX
11721 fi
11722
11723 { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11725
11726
11727 enablestring=
11728 defaultval=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x"$enablestring" = xdisable; then
11731 defaultval=yes
11732 else
11733 defaultval=no
11734 fi
11735 fi
11736
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11739 # Check whether --enable-comboctrl was given.
11740 if test "${enable_comboctrl+set}" = set; then
11741 enableval=$enable_comboctrl;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11744 else
11745 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11746 fi
11747 cache=yes
11748
11749 else
11750
11751 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11752 if test "x$LINE" != x ; then
11753 eval "DEFAULT_$LINE"
11754 cache=yes
11755 else
11756 cache=no
11757 fi
11758
11759 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11760
11761 fi
11762
11763
11764 eval "$wx_cv_use_comboctrl"
11765 if test "x$cache" = xyes; then
11766 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11767 fi
11768
11769 if test x"$enablestring" = xdisable; then
11770 if test $wxUSE_COMBOCTRL = yes; then
11771 result=no
11772 else
11773 result=yes
11774 fi
11775 else
11776 result=$wxUSE_COMBOCTRL
11777 fi
11778
11779 { echo "$as_me:$LINENO: result: $result" >&5
11780 echo "${ECHO_T}$result" >&6; }
11781
11782
11783 enablestring=
11784 defaultval=$wxUSE_ALL_FEATURES
11785 if test -z "$defaultval"; then
11786 if test x"$enablestring" = xdisable; then
11787 defaultval=yes
11788 else
11789 defaultval=no
11790 fi
11791 fi
11792
11793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11794 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11795 # Check whether --enable-datepick was given.
11796 if test "${enable_datepick+set}" = set; then
11797 enableval=$enable_datepick;
11798 if test "$enableval" = yes; then
11799 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11800 else
11801 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11802 fi
11803 cache=yes
11804
11805 else
11806
11807 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11808 if test "x$LINE" != x ; then
11809 eval "DEFAULT_$LINE"
11810 cache=yes
11811 else
11812 cache=no
11813 fi
11814
11815 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11816
11817 fi
11818
11819
11820 eval "$wx_cv_use_datepick"
11821 if test "x$cache" = xyes; then
11822 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11823 fi
11824
11825 if test x"$enablestring" = xdisable; then
11826 if test $wxUSE_DATEPICKCTRL = yes; then
11827 result=no
11828 else
11829 result=yes
11830 fi
11831 else
11832 result=$wxUSE_DATEPICKCTRL
11833 fi
11834
11835 { echo "$as_me:$LINENO: result: $result" >&5
11836 echo "${ECHO_T}$result" >&6; }
11837
11838
11839 enablestring=
11840 defaultval=$wxUSE_ALL_FEATURES
11841 if test -z "$defaultval"; then
11842 if test x"$enablestring" = xdisable; then
11843 defaultval=yes
11844 else
11845 defaultval=no
11846 fi
11847 fi
11848
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11851 # Check whether --enable-dirpicker was given.
11852 if test "${enable_dirpicker+set}" = set; then
11853 enableval=$enable_dirpicker;
11854 if test "$enableval" = yes; then
11855 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11856 else
11857 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11858 fi
11859 cache=yes
11860
11861 else
11862
11863 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11864 if test "x$LINE" != x ; then
11865 eval "DEFAULT_$LINE"
11866 cache=yes
11867 else
11868 cache=no
11869 fi
11870
11871 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11872
11873 fi
11874
11875
11876 eval "$wx_cv_use_dirpicker"
11877 if test "x$cache" = xyes; then
11878 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11879 fi
11880
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_DIRPICKERCTRL = yes; then
11883 result=no
11884 else
11885 result=yes
11886 fi
11887 else
11888 result=$wxUSE_DIRPICKERCTRL
11889 fi
11890
11891 { echo "$as_me:$LINENO: result: $result" >&5
11892 echo "${ECHO_T}$result" >&6; }
11893
11894
11895 enablestring=
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11899 defaultval=yes
11900 else
11901 defaultval=no
11902 fi
11903 fi
11904
11905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11907 # Check whether --enable-display was given.
11908 if test "${enable_display+set}" = set; then
11909 enableval=$enable_display;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_display='wxUSE_DISPLAY=yes'
11912 else
11913 wx_cv_use_display='wxUSE_DISPLAY=no'
11914 fi
11915 cache=yes
11916
11917 else
11918
11919 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11920 if test "x$LINE" != x ; then
11921 eval "DEFAULT_$LINE"
11922 cache=yes
11923 else
11924 cache=no
11925 fi
11926
11927 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11928
11929 fi
11930
11931
11932 eval "$wx_cv_use_display"
11933 if test "x$cache" = xyes; then
11934 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11935 fi
11936
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_DISPLAY = yes; then
11939 result=no
11940 else
11941 result=yes
11942 fi
11943 else
11944 result=$wxUSE_DISPLAY
11945 fi
11946
11947 { echo "$as_me:$LINENO: result: $result" >&5
11948 echo "${ECHO_T}$result" >&6; }
11949
11950
11951 enablestring=
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11955 defaultval=yes
11956 else
11957 defaultval=no
11958 fi
11959 fi
11960
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11963 # Check whether --enable-detect_sm was given.
11964 if test "${enable_detect_sm+set}" = set; then
11965 enableval=$enable_detect_sm;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11968 else
11969 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11970 fi
11971 cache=yes
11972
11973 else
11974
11975 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11976 if test "x$LINE" != x ; then
11977 eval "DEFAULT_$LINE"
11978 cache=yes
11979 else
11980 cache=no
11981 fi
11982
11983 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11984
11985 fi
11986
11987
11988 eval "$wx_cv_use_detect_sm"
11989 if test "x$cache" = xyes; then
11990 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11991 fi
11992
11993 if test x"$enablestring" = xdisable; then
11994 if test $wxUSE_DETECT_SM = yes; then
11995 result=no
11996 else
11997 result=yes
11998 fi
11999 else
12000 result=$wxUSE_DETECT_SM
12001 fi
12002
12003 { echo "$as_me:$LINENO: result: $result" >&5
12004 echo "${ECHO_T}$result" >&6; }
12005
12006
12007 enablestring=
12008 defaultval=$wxUSE_ALL_FEATURES
12009 if test -z "$defaultval"; then
12010 if test x"$enablestring" = xdisable; then
12011 defaultval=yes
12012 else
12013 defaultval=no
12014 fi
12015 fi
12016
12017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12018 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12019 # Check whether --enable-editablebox was given.
12020 if test "${enable_editablebox+set}" = set; then
12021 enableval=$enable_editablebox;
12022 if test "$enableval" = yes; then
12023 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12024 else
12025 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12026 fi
12027 cache=yes
12028
12029 else
12030
12031 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12032 if test "x$LINE" != x ; then
12033 eval "DEFAULT_$LINE"
12034 cache=yes
12035 else
12036 cache=no
12037 fi
12038
12039 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12040
12041 fi
12042
12043
12044 eval "$wx_cv_use_editablebox"
12045 if test "x$cache" = xyes; then
12046 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12047 fi
12048
12049 if test x"$enablestring" = xdisable; then
12050 if test $wxUSE_EDITABLELISTBOX = yes; then
12051 result=no
12052 else
12053 result=yes
12054 fi
12055 else
12056 result=$wxUSE_EDITABLELISTBOX
12057 fi
12058
12059 { echo "$as_me:$LINENO: result: $result" >&5
12060 echo "${ECHO_T}$result" >&6; }
12061
12062
12063 enablestring=
12064 defaultval=$wxUSE_ALL_FEATURES
12065 if test -z "$defaultval"; then
12066 if test x"$enablestring" = xdisable; then
12067 defaultval=yes
12068 else
12069 defaultval=no
12070 fi
12071 fi
12072
12073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12074 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12075 # Check whether --enable-filepicker was given.
12076 if test "${enable_filepicker+set}" = set; then
12077 enableval=$enable_filepicker;
12078 if test "$enableval" = yes; then
12079 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12080 else
12081 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12082 fi
12083 cache=yes
12084
12085 else
12086
12087 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12088 if test "x$LINE" != x ; then
12089 eval "DEFAULT_$LINE"
12090 cache=yes
12091 else
12092 cache=no
12093 fi
12094
12095 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12096
12097 fi
12098
12099
12100 eval "$wx_cv_use_filepicker"
12101 if test "x$cache" = xyes; then
12102 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12103 fi
12104
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_FILEPICKERCTRL = yes; then
12107 result=no
12108 else
12109 result=yes
12110 fi
12111 else
12112 result=$wxUSE_FILEPICKERCTRL
12113 fi
12114
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12131 # Check whether --enable-filectrl was given.
12132 if test "${enable_filectrl+set}" = set; then
12133 enableval=$enable_filectrl;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12136 else
12137 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12138 fi
12139 cache=yes
12140
12141 else
12142
12143 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12144 if test "x$LINE" != x ; then
12145 eval "DEFAULT_$LINE"
12146 cache=yes
12147 else
12148 cache=no
12149 fi
12150
12151 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12152
12153 fi
12154
12155
12156 eval "$wx_cv_use_filectrl"
12157 if test "x$cache" = xyes; then
12158 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12159 fi
12160
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_FILECTRL = yes; then
12163 result=no
12164 else
12165 result=yes
12166 fi
12167 else
12168 result=$wxUSE_FILECTRL
12169 fi
12170
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12173
12174
12175 enablestring=
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12179 defaultval=yes
12180 else
12181 defaultval=no
12182 fi
12183 fi
12184
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12187 # Check whether --enable-fontpicker was given.
12188 if test "${enable_fontpicker+set}" = set; then
12189 enableval=$enable_fontpicker;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12192 else
12193 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12194 fi
12195 cache=yes
12196
12197 else
12198
12199 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12200 if test "x$LINE" != x ; then
12201 eval "DEFAULT_$LINE"
12202 cache=yes
12203 else
12204 cache=no
12205 fi
12206
12207 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12208
12209 fi
12210
12211
12212 eval "$wx_cv_use_fontpicker"
12213 if test "x$cache" = xyes; then
12214 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12215 fi
12216
12217 if test x"$enablestring" = xdisable; then
12218 if test $wxUSE_FONTPICKERCTRL = yes; then
12219 result=no
12220 else
12221 result=yes
12222 fi
12223 else
12224 result=$wxUSE_FONTPICKERCTRL
12225 fi
12226
12227 { echo "$as_me:$LINENO: result: $result" >&5
12228 echo "${ECHO_T}$result" >&6; }
12229
12230
12231 enablestring=
12232 defaultval=$wxUSE_ALL_FEATURES
12233 if test -z "$defaultval"; then
12234 if test x"$enablestring" = xdisable; then
12235 defaultval=yes
12236 else
12237 defaultval=no
12238 fi
12239 fi
12240
12241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12242 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12243 # Check whether --enable-gauge was given.
12244 if test "${enable_gauge+set}" = set; then
12245 enableval=$enable_gauge;
12246 if test "$enableval" = yes; then
12247 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12248 else
12249 wx_cv_use_gauge='wxUSE_GAUGE=no'
12250 fi
12251 cache=yes
12252
12253 else
12254
12255 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12256 if test "x$LINE" != x ; then
12257 eval "DEFAULT_$LINE"
12258 cache=yes
12259 else
12260 cache=no
12261 fi
12262
12263 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12264
12265 fi
12266
12267
12268 eval "$wx_cv_use_gauge"
12269 if test "x$cache" = xyes; then
12270 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12271 fi
12272
12273 if test x"$enablestring" = xdisable; then
12274 if test $wxUSE_GAUGE = yes; then
12275 result=no
12276 else
12277 result=yes
12278 fi
12279 else
12280 result=$wxUSE_GAUGE
12281 fi
12282
12283 { echo "$as_me:$LINENO: result: $result" >&5
12284 echo "${ECHO_T}$result" >&6; }
12285
12286
12287 enablestring=
12288 defaultval=$wxUSE_ALL_FEATURES
12289 if test -z "$defaultval"; then
12290 if test x"$enablestring" = xdisable; then
12291 defaultval=yes
12292 else
12293 defaultval=no
12294 fi
12295 fi
12296
12297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12298 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12299 # Check whether --enable-grid was given.
12300 if test "${enable_grid+set}" = set; then
12301 enableval=$enable_grid;
12302 if test "$enableval" = yes; then
12303 wx_cv_use_grid='wxUSE_GRID=yes'
12304 else
12305 wx_cv_use_grid='wxUSE_GRID=no'
12306 fi
12307 cache=yes
12308
12309 else
12310
12311 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12312 if test "x$LINE" != x ; then
12313 eval "DEFAULT_$LINE"
12314 cache=yes
12315 else
12316 cache=no
12317 fi
12318
12319 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12320
12321 fi
12322
12323
12324 eval "$wx_cv_use_grid"
12325 if test "x$cache" = xyes; then
12326 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12327 fi
12328
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_GRID = yes; then
12331 result=no
12332 else
12333 result=yes
12334 fi
12335 else
12336 result=$wxUSE_GRID
12337 fi
12338
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12341
12342
12343 enablestring=
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12347 defaultval=yes
12348 else
12349 defaultval=no
12350 fi
12351 fi
12352
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12355 # Check whether --enable-dataviewctrl was given.
12356 if test "${enable_dataviewctrl+set}" = set; then
12357 enableval=$enable_dataviewctrl;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12360 else
12361 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12362 fi
12363 cache=yes
12364
12365 else
12366
12367 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12368 if test "x$LINE" != x ; then
12369 eval "DEFAULT_$LINE"
12370 cache=yes
12371 else
12372 cache=no
12373 fi
12374
12375 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12376
12377 fi
12378
12379
12380 eval "$wx_cv_use_dataviewctrl"
12381 if test "x$cache" = xyes; then
12382 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12383 fi
12384
12385 if test x"$enablestring" = xdisable; then
12386 if test $wxUSE_DATAVIEWCTRL = yes; then
12387 result=no
12388 else
12389 result=yes
12390 fi
12391 else
12392 result=$wxUSE_DATAVIEWCTRL
12393 fi
12394
12395 { echo "$as_me:$LINENO: result: $result" >&5
12396 echo "${ECHO_T}$result" >&6; }
12397
12398
12399 enablestring=
12400 defaultval=$wxUSE_ALL_FEATURES
12401 if test -z "$defaultval"; then
12402 if test x"$enablestring" = xdisable; then
12403 defaultval=yes
12404 else
12405 defaultval=no
12406 fi
12407 fi
12408
12409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12410 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12411 # Check whether --enable-hyperlink was given.
12412 if test "${enable_hyperlink+set}" = set; then
12413 enableval=$enable_hyperlink;
12414 if test "$enableval" = yes; then
12415 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12416 else
12417 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12418 fi
12419 cache=yes
12420
12421 else
12422
12423 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12424 if test "x$LINE" != x ; then
12425 eval "DEFAULT_$LINE"
12426 cache=yes
12427 else
12428 cache=no
12429 fi
12430
12431 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12432
12433 fi
12434
12435
12436 eval "$wx_cv_use_hyperlink"
12437 if test "x$cache" = xyes; then
12438 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12439 fi
12440
12441 if test x"$enablestring" = xdisable; then
12442 if test $wxUSE_HYPERLINKCTRL = yes; then
12443 result=no
12444 else
12445 result=yes
12446 fi
12447 else
12448 result=$wxUSE_HYPERLINKCTRL
12449 fi
12450
12451 { echo "$as_me:$LINENO: result: $result" >&5
12452 echo "${ECHO_T}$result" >&6; }
12453
12454
12455 enablestring=
12456 defaultval=$wxUSE_ALL_FEATURES
12457 if test -z "$defaultval"; then
12458 if test x"$enablestring" = xdisable; then
12459 defaultval=yes
12460 else
12461 defaultval=no
12462 fi
12463 fi
12464
12465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12466 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12467 # Check whether --enable-imaglist was given.
12468 if test "${enable_imaglist+set}" = set; then
12469 enableval=$enable_imaglist;
12470 if test "$enableval" = yes; then
12471 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12472 else
12473 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12474 fi
12475 cache=yes
12476
12477 else
12478
12479 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12480 if test "x$LINE" != x ; then
12481 eval "DEFAULT_$LINE"
12482 cache=yes
12483 else
12484 cache=no
12485 fi
12486
12487 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12488
12489 fi
12490
12491
12492 eval "$wx_cv_use_imaglist"
12493 if test "x$cache" = xyes; then
12494 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12495 fi
12496
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_IMAGLIST = yes; then
12499 result=no
12500 else
12501 result=yes
12502 fi
12503 else
12504 result=$wxUSE_IMAGLIST
12505 fi
12506
12507 { echo "$as_me:$LINENO: result: $result" >&5
12508 echo "${ECHO_T}$result" >&6; }
12509
12510
12511 enablestring=
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12515 defaultval=yes
12516 else
12517 defaultval=no
12518 fi
12519 fi
12520
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12523 # Check whether --enable-listbook was given.
12524 if test "${enable_listbook+set}" = set; then
12525 enableval=$enable_listbook;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12528 else
12529 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12530 fi
12531 cache=yes
12532
12533 else
12534
12535 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12536 if test "x$LINE" != x ; then
12537 eval "DEFAULT_$LINE"
12538 cache=yes
12539 else
12540 cache=no
12541 fi
12542
12543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12544
12545 fi
12546
12547
12548 eval "$wx_cv_use_listbook"
12549 if test "x$cache" = xyes; then
12550 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12551 fi
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_LISTBOOK = yes; then
12555 result=no
12556 else
12557 result=yes
12558 fi
12559 else
12560 result=$wxUSE_LISTBOOK
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12579 # Check whether --enable-listbox was given.
12580 if test "${enable_listbox+set}" = set; then
12581 enableval=$enable_listbox;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12584 else
12585 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12586 fi
12587 cache=yes
12588
12589 else
12590
12591 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12592 if test "x$LINE" != x ; then
12593 eval "DEFAULT_$LINE"
12594 cache=yes
12595 else
12596 cache=no
12597 fi
12598
12599 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12600
12601 fi
12602
12603
12604 eval "$wx_cv_use_listbox"
12605 if test "x$cache" = xyes; then
12606 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12607 fi
12608
12609 if test x"$enablestring" = xdisable; then
12610 if test $wxUSE_LISTBOX = yes; then
12611 result=no
12612 else
12613 result=yes
12614 fi
12615 else
12616 result=$wxUSE_LISTBOX
12617 fi
12618
12619 { echo "$as_me:$LINENO: result: $result" >&5
12620 echo "${ECHO_T}$result" >&6; }
12621
12622
12623 enablestring=
12624 defaultval=$wxUSE_ALL_FEATURES
12625 if test -z "$defaultval"; then
12626 if test x"$enablestring" = xdisable; then
12627 defaultval=yes
12628 else
12629 defaultval=no
12630 fi
12631 fi
12632
12633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12634 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12635 # Check whether --enable-listctrl was given.
12636 if test "${enable_listctrl+set}" = set; then
12637 enableval=$enable_listctrl;
12638 if test "$enableval" = yes; then
12639 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12640 else
12641 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12642 fi
12643 cache=yes
12644
12645 else
12646
12647 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12648 if test "x$LINE" != x ; then
12649 eval "DEFAULT_$LINE"
12650 cache=yes
12651 else
12652 cache=no
12653 fi
12654
12655 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12656
12657 fi
12658
12659
12660 eval "$wx_cv_use_listctrl"
12661 if test "x$cache" = xyes; then
12662 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12663 fi
12664
12665 if test x"$enablestring" = xdisable; then
12666 if test $wxUSE_LISTCTRL = yes; then
12667 result=no
12668 else
12669 result=yes
12670 fi
12671 else
12672 result=$wxUSE_LISTCTRL
12673 fi
12674
12675 { echo "$as_me:$LINENO: result: $result" >&5
12676 echo "${ECHO_T}$result" >&6; }
12677
12678
12679 enablestring=
12680 defaultval=$wxUSE_ALL_FEATURES
12681 if test -z "$defaultval"; then
12682 if test x"$enablestring" = xdisable; then
12683 defaultval=yes
12684 else
12685 defaultval=no
12686 fi
12687 fi
12688
12689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12690 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12691 # Check whether --enable-notebook was given.
12692 if test "${enable_notebook+set}" = set; then
12693 enableval=$enable_notebook;
12694 if test "$enableval" = yes; then
12695 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12696 else
12697 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12698 fi
12699 cache=yes
12700
12701 else
12702
12703 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12704 if test "x$LINE" != x ; then
12705 eval "DEFAULT_$LINE"
12706 cache=yes
12707 else
12708 cache=no
12709 fi
12710
12711 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12712
12713 fi
12714
12715
12716 eval "$wx_cv_use_notebook"
12717 if test "x$cache" = xyes; then
12718 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12719 fi
12720
12721 if test x"$enablestring" = xdisable; then
12722 if test $wxUSE_NOTEBOOK = yes; then
12723 result=no
12724 else
12725 result=yes
12726 fi
12727 else
12728 result=$wxUSE_NOTEBOOK
12729 fi
12730
12731 { echo "$as_me:$LINENO: result: $result" >&5
12732 echo "${ECHO_T}$result" >&6; }
12733
12734
12735 enablestring=
12736 defaultval=$wxUSE_ALL_FEATURES
12737 if test -z "$defaultval"; then
12738 if test x"$enablestring" = xdisable; then
12739 defaultval=yes
12740 else
12741 defaultval=no
12742 fi
12743 fi
12744
12745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12746 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12747 # Check whether --enable-odcombobox was given.
12748 if test "${enable_odcombobox+set}" = set; then
12749 enableval=$enable_odcombobox;
12750 if test "$enableval" = yes; then
12751 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12752 else
12753 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12754 fi
12755 cache=yes
12756
12757 else
12758
12759 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12760 if test "x$LINE" != x ; then
12761 eval "DEFAULT_$LINE"
12762 cache=yes
12763 else
12764 cache=no
12765 fi
12766
12767 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12768
12769 fi
12770
12771
12772 eval "$wx_cv_use_odcombobox"
12773 if test "x$cache" = xyes; then
12774 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12775 fi
12776
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_ODCOMBOBOX = yes; then
12779 result=no
12780 else
12781 result=yes
12782 fi
12783 else
12784 result=$wxUSE_ODCOMBOBOX
12785 fi
12786
12787 { echo "$as_me:$LINENO: result: $result" >&5
12788 echo "${ECHO_T}$result" >&6; }
12789
12790
12791 enablestring=
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12795 defaultval=yes
12796 else
12797 defaultval=no
12798 fi
12799 fi
12800
12801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12802 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12803 # Check whether --enable-radiobox was given.
12804 if test "${enable_radiobox+set}" = set; then
12805 enableval=$enable_radiobox;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12808 else
12809 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12810 fi
12811 cache=yes
12812
12813 else
12814
12815 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12816 if test "x$LINE" != x ; then
12817 eval "DEFAULT_$LINE"
12818 cache=yes
12819 else
12820 cache=no
12821 fi
12822
12823 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12824
12825 fi
12826
12827
12828 eval "$wx_cv_use_radiobox"
12829 if test "x$cache" = xyes; then
12830 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12831 fi
12832
12833 if test x"$enablestring" = xdisable; then
12834 if test $wxUSE_RADIOBOX = yes; then
12835 result=no
12836 else
12837 result=yes
12838 fi
12839 else
12840 result=$wxUSE_RADIOBOX
12841 fi
12842
12843 { echo "$as_me:$LINENO: result: $result" >&5
12844 echo "${ECHO_T}$result" >&6; }
12845
12846
12847 enablestring=
12848 defaultval=$wxUSE_ALL_FEATURES
12849 if test -z "$defaultval"; then
12850 if test x"$enablestring" = xdisable; then
12851 defaultval=yes
12852 else
12853 defaultval=no
12854 fi
12855 fi
12856
12857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12858 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12859 # Check whether --enable-radiobtn was given.
12860 if test "${enable_radiobtn+set}" = set; then
12861 enableval=$enable_radiobtn;
12862 if test "$enableval" = yes; then
12863 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12864 else
12865 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12866 fi
12867 cache=yes
12868
12869 else
12870
12871 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12872 if test "x$LINE" != x ; then
12873 eval "DEFAULT_$LINE"
12874 cache=yes
12875 else
12876 cache=no
12877 fi
12878
12879 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12880
12881 fi
12882
12883
12884 eval "$wx_cv_use_radiobtn"
12885 if test "x$cache" = xyes; then
12886 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12887 fi
12888
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_RADIOBTN = yes; then
12891 result=no
12892 else
12893 result=yes
12894 fi
12895 else
12896 result=$wxUSE_RADIOBTN
12897 fi
12898
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12901
12902
12903 enablestring=
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12907 defaultval=yes
12908 else
12909 defaultval=no
12910 fi
12911 fi
12912
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12915 # Check whether --enable-sash was given.
12916 if test "${enable_sash+set}" = set; then
12917 enableval=$enable_sash;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_sash='wxUSE_SASH=yes'
12920 else
12921 wx_cv_use_sash='wxUSE_SASH=no'
12922 fi
12923 cache=yes
12924
12925 else
12926
12927 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12928 if test "x$LINE" != x ; then
12929 eval "DEFAULT_$LINE"
12930 cache=yes
12931 else
12932 cache=no
12933 fi
12934
12935 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12936
12937 fi
12938
12939
12940 eval "$wx_cv_use_sash"
12941 if test "x$cache" = xyes; then
12942 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12943 fi
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_SASH = yes; then
12947 result=no
12948 else
12949 result=yes
12950 fi
12951 else
12952 result=$wxUSE_SASH
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12971 # Check whether --enable-scrollbar was given.
12972 if test "${enable_scrollbar+set}" = set; then
12973 enableval=$enable_scrollbar;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12976 else
12977 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12978 fi
12979 cache=yes
12980
12981 else
12982
12983 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12984 if test "x$LINE" != x ; then
12985 eval "DEFAULT_$LINE"
12986 cache=yes
12987 else
12988 cache=no
12989 fi
12990
12991 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12992
12993 fi
12994
12995
12996 eval "$wx_cv_use_scrollbar"
12997 if test "x$cache" = xyes; then
12998 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12999 fi
13000
13001 if test x"$enablestring" = xdisable; then
13002 if test $wxUSE_SCROLLBAR = yes; then
13003 result=no
13004 else
13005 result=yes
13006 fi
13007 else
13008 result=$wxUSE_SCROLLBAR
13009 fi
13010
13011 { echo "$as_me:$LINENO: result: $result" >&5
13012 echo "${ECHO_T}$result" >&6; }
13013
13014
13015 enablestring=
13016 defaultval=$wxUSE_ALL_FEATURES
13017 if test -z "$defaultval"; then
13018 if test x"$enablestring" = xdisable; then
13019 defaultval=yes
13020 else
13021 defaultval=no
13022 fi
13023 fi
13024
13025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13026 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13027 # Check whether --enable-searchctrl was given.
13028 if test "${enable_searchctrl+set}" = set; then
13029 enableval=$enable_searchctrl;
13030 if test "$enableval" = yes; then
13031 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13032 else
13033 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13034 fi
13035 cache=yes
13036
13037 else
13038
13039 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13040 if test "x$LINE" != x ; then
13041 eval "DEFAULT_$LINE"
13042 cache=yes
13043 else
13044 cache=no
13045 fi
13046
13047 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13048
13049 fi
13050
13051
13052 eval "$wx_cv_use_searchctrl"
13053 if test "x$cache" = xyes; then
13054 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13055 fi
13056
13057 if test x"$enablestring" = xdisable; then
13058 if test $wxUSE_SEARCHCTRL = yes; then
13059 result=no
13060 else
13061 result=yes
13062 fi
13063 else
13064 result=$wxUSE_SEARCHCTRL
13065 fi
13066
13067 { echo "$as_me:$LINENO: result: $result" >&5
13068 echo "${ECHO_T}$result" >&6; }
13069
13070
13071 enablestring=
13072 defaultval=$wxUSE_ALL_FEATURES
13073 if test -z "$defaultval"; then
13074 if test x"$enablestring" = xdisable; then
13075 defaultval=yes
13076 else
13077 defaultval=no
13078 fi
13079 fi
13080
13081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13082 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13083 # Check whether --enable-slider was given.
13084 if test "${enable_slider+set}" = set; then
13085 enableval=$enable_slider;
13086 if test "$enableval" = yes; then
13087 wx_cv_use_slider='wxUSE_SLIDER=yes'
13088 else
13089 wx_cv_use_slider='wxUSE_SLIDER=no'
13090 fi
13091 cache=yes
13092
13093 else
13094
13095 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13096 if test "x$LINE" != x ; then
13097 eval "DEFAULT_$LINE"
13098 cache=yes
13099 else
13100 cache=no
13101 fi
13102
13103 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13104
13105 fi
13106
13107
13108 eval "$wx_cv_use_slider"
13109 if test "x$cache" = xyes; then
13110 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13111 fi
13112
13113 if test x"$enablestring" = xdisable; then
13114 if test $wxUSE_SLIDER = yes; then
13115 result=no
13116 else
13117 result=yes
13118 fi
13119 else
13120 result=$wxUSE_SLIDER
13121 fi
13122
13123 { echo "$as_me:$LINENO: result: $result" >&5
13124 echo "${ECHO_T}$result" >&6; }
13125
13126
13127 enablestring=
13128 defaultval=$wxUSE_ALL_FEATURES
13129 if test -z "$defaultval"; then
13130 if test x"$enablestring" = xdisable; then
13131 defaultval=yes
13132 else
13133 defaultval=no
13134 fi
13135 fi
13136
13137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13138 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13139 # Check whether --enable-spinbtn was given.
13140 if test "${enable_spinbtn+set}" = set; then
13141 enableval=$enable_spinbtn;
13142 if test "$enableval" = yes; then
13143 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13144 else
13145 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13146 fi
13147 cache=yes
13148
13149 else
13150
13151 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13152 if test "x$LINE" != x ; then
13153 eval "DEFAULT_$LINE"
13154 cache=yes
13155 else
13156 cache=no
13157 fi
13158
13159 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13160
13161 fi
13162
13163
13164 eval "$wx_cv_use_spinbtn"
13165 if test "x$cache" = xyes; then
13166 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13167 fi
13168
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_SPINBTN = yes; then
13171 result=no
13172 else
13173 result=yes
13174 fi
13175 else
13176 result=$wxUSE_SPINBTN
13177 fi
13178
13179 { echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6; }
13181
13182
13183 enablestring=
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13187 defaultval=yes
13188 else
13189 defaultval=no
13190 fi
13191 fi
13192
13193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13195 # Check whether --enable-spinctrl was given.
13196 if test "${enable_spinctrl+set}" = set; then
13197 enableval=$enable_spinctrl;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13200 else
13201 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13202 fi
13203 cache=yes
13204
13205 else
13206
13207 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13208 if test "x$LINE" != x ; then
13209 eval "DEFAULT_$LINE"
13210 cache=yes
13211 else
13212 cache=no
13213 fi
13214
13215 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13216
13217 fi
13218
13219
13220 eval "$wx_cv_use_spinctrl"
13221 if test "x$cache" = xyes; then
13222 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13223 fi
13224
13225 if test x"$enablestring" = xdisable; then
13226 if test $wxUSE_SPINCTRL = yes; then
13227 result=no
13228 else
13229 result=yes
13230 fi
13231 else
13232 result=$wxUSE_SPINCTRL
13233 fi
13234
13235 { echo "$as_me:$LINENO: result: $result" >&5
13236 echo "${ECHO_T}$result" >&6; }
13237
13238
13239 enablestring=
13240 defaultval=$wxUSE_ALL_FEATURES
13241 if test -z "$defaultval"; then
13242 if test x"$enablestring" = xdisable; then
13243 defaultval=yes
13244 else
13245 defaultval=no
13246 fi
13247 fi
13248
13249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13250 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13251 # Check whether --enable-splitter was given.
13252 if test "${enable_splitter+set}" = set; then
13253 enableval=$enable_splitter;
13254 if test "$enableval" = yes; then
13255 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13256 else
13257 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13258 fi
13259 cache=yes
13260
13261 else
13262
13263 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13264 if test "x$LINE" != x ; then
13265 eval "DEFAULT_$LINE"
13266 cache=yes
13267 else
13268 cache=no
13269 fi
13270
13271 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13272
13273 fi
13274
13275
13276 eval "$wx_cv_use_splitter"
13277 if test "x$cache" = xyes; then
13278 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13279 fi
13280
13281 if test x"$enablestring" = xdisable; then
13282 if test $wxUSE_SPLITTER = yes; then
13283 result=no
13284 else
13285 result=yes
13286 fi
13287 else
13288 result=$wxUSE_SPLITTER
13289 fi
13290
13291 { echo "$as_me:$LINENO: result: $result" >&5
13292 echo "${ECHO_T}$result" >&6; }
13293
13294
13295 enablestring=
13296 defaultval=$wxUSE_ALL_FEATURES
13297 if test -z "$defaultval"; then
13298 if test x"$enablestring" = xdisable; then
13299 defaultval=yes
13300 else
13301 defaultval=no
13302 fi
13303 fi
13304
13305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13306 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13307 # Check whether --enable-statbmp was given.
13308 if test "${enable_statbmp+set}" = set; then
13309 enableval=$enable_statbmp;
13310 if test "$enableval" = yes; then
13311 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13312 else
13313 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13314 fi
13315 cache=yes
13316
13317 else
13318
13319 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13320 if test "x$LINE" != x ; then
13321 eval "DEFAULT_$LINE"
13322 cache=yes
13323 else
13324 cache=no
13325 fi
13326
13327 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13328
13329 fi
13330
13331
13332 eval "$wx_cv_use_statbmp"
13333 if test "x$cache" = xyes; then
13334 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13335 fi
13336
13337 if test x"$enablestring" = xdisable; then
13338 if test $wxUSE_STATBMP = yes; then
13339 result=no
13340 else
13341 result=yes
13342 fi
13343 else
13344 result=$wxUSE_STATBMP
13345 fi
13346
13347 { echo "$as_me:$LINENO: result: $result" >&5
13348 echo "${ECHO_T}$result" >&6; }
13349
13350
13351 enablestring=
13352 defaultval=$wxUSE_ALL_FEATURES
13353 if test -z "$defaultval"; then
13354 if test x"$enablestring" = xdisable; then
13355 defaultval=yes
13356 else
13357 defaultval=no
13358 fi
13359 fi
13360
13361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13362 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13363 # Check whether --enable-statbox was given.
13364 if test "${enable_statbox+set}" = set; then
13365 enableval=$enable_statbox;
13366 if test "$enableval" = yes; then
13367 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13368 else
13369 wx_cv_use_statbox='wxUSE_STATBOX=no'
13370 fi
13371 cache=yes
13372
13373 else
13374
13375 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13376 if test "x$LINE" != x ; then
13377 eval "DEFAULT_$LINE"
13378 cache=yes
13379 else
13380 cache=no
13381 fi
13382
13383 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13384
13385 fi
13386
13387
13388 eval "$wx_cv_use_statbox"
13389 if test "x$cache" = xyes; then
13390 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13391 fi
13392
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_STATBOX = yes; then
13395 result=no
13396 else
13397 result=yes
13398 fi
13399 else
13400 result=$wxUSE_STATBOX
13401 fi
13402
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13405
13406
13407 enablestring=
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13411 defaultval=yes
13412 else
13413 defaultval=no
13414 fi
13415 fi
13416
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13419 # Check whether --enable-statline was given.
13420 if test "${enable_statline+set}" = set; then
13421 enableval=$enable_statline;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_statline='wxUSE_STATLINE=yes'
13424 else
13425 wx_cv_use_statline='wxUSE_STATLINE=no'
13426 fi
13427 cache=yes
13428
13429 else
13430
13431 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13432 if test "x$LINE" != x ; then
13433 eval "DEFAULT_$LINE"
13434 cache=yes
13435 else
13436 cache=no
13437 fi
13438
13439 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13440
13441 fi
13442
13443
13444 eval "$wx_cv_use_statline"
13445 if test "x$cache" = xyes; then
13446 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13447 fi
13448
13449 if test x"$enablestring" = xdisable; then
13450 if test $wxUSE_STATLINE = yes; then
13451 result=no
13452 else
13453 result=yes
13454 fi
13455 else
13456 result=$wxUSE_STATLINE
13457 fi
13458
13459 { echo "$as_me:$LINENO: result: $result" >&5
13460 echo "${ECHO_T}$result" >&6; }
13461
13462
13463 enablestring=
13464 defaultval=$wxUSE_ALL_FEATURES
13465 if test -z "$defaultval"; then
13466 if test x"$enablestring" = xdisable; then
13467 defaultval=yes
13468 else
13469 defaultval=no
13470 fi
13471 fi
13472
13473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13474 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13475 # Check whether --enable-stattext was given.
13476 if test "${enable_stattext+set}" = set; then
13477 enableval=$enable_stattext;
13478 if test "$enableval" = yes; then
13479 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13480 else
13481 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13482 fi
13483 cache=yes
13484
13485 else
13486
13487 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13488 if test "x$LINE" != x ; then
13489 eval "DEFAULT_$LINE"
13490 cache=yes
13491 else
13492 cache=no
13493 fi
13494
13495 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13496
13497 fi
13498
13499
13500 eval "$wx_cv_use_stattext"
13501 if test "x$cache" = xyes; then
13502 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13503 fi
13504
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_STATTEXT = yes; then
13507 result=no
13508 else
13509 result=yes
13510 fi
13511 else
13512 result=$wxUSE_STATTEXT
13513 fi
13514
13515 { echo "$as_me:$LINENO: result: $result" >&5
13516 echo "${ECHO_T}$result" >&6; }
13517
13518
13519 enablestring=
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13523 defaultval=yes
13524 else
13525 defaultval=no
13526 fi
13527 fi
13528
13529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13530 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13531 # Check whether --enable-statusbar was given.
13532 if test "${enable_statusbar+set}" = set; then
13533 enableval=$enable_statusbar;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13536 else
13537 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13538 fi
13539 cache=yes
13540
13541 else
13542
13543 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13544 if test "x$LINE" != x ; then
13545 eval "DEFAULT_$LINE"
13546 cache=yes
13547 else
13548 cache=no
13549 fi
13550
13551 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13552
13553 fi
13554
13555
13556 eval "$wx_cv_use_statusbar"
13557 if test "x$cache" = xyes; then
13558 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13559 fi
13560
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_STATUSBAR = yes; then
13563 result=no
13564 else
13565 result=yes
13566 fi
13567 else
13568 result=$wxUSE_STATUSBAR
13569 fi
13570
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13573
13574
13575 enablestring=
13576 defaultval=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x"$enablestring" = xdisable; then
13579 defaultval=yes
13580 else
13581 defaultval=no
13582 fi
13583 fi
13584
13585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13586 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13587 # Check whether --enable-tabdialog was given.
13588 if test "${enable_tabdialog+set}" = set; then
13589 enableval=$enable_tabdialog;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13592 else
13593 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13594 fi
13595 cache=yes
13596
13597 else
13598
13599 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13600 if test "x$LINE" != x ; then
13601 eval "DEFAULT_$LINE"
13602 cache=yes
13603 else
13604 cache=no
13605 fi
13606
13607 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_tabdialog"
13613 if test "x$cache" = xyes; then
13614 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13615 fi
13616
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_TAB_DIALOG = yes; then
13619 result=no
13620 else
13621 result=yes
13622 fi
13623 else
13624 result=$wxUSE_TAB_DIALOG
13625 fi
13626
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13629
13630
13631 enablestring=
13632 defaultval=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x"$enablestring" = xdisable; then
13635 defaultval=yes
13636 else
13637 defaultval=no
13638 fi
13639 fi
13640
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13643 # Check whether --enable-taskbaricon was given.
13644 if test "${enable_taskbaricon+set}" = set; then
13645 enableval=$enable_taskbaricon;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13648 else
13649 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13650 fi
13651 cache=yes
13652
13653 else
13654
13655 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13656 if test "x$LINE" != x ; then
13657 eval "DEFAULT_$LINE"
13658 cache=yes
13659 else
13660 cache=no
13661 fi
13662
13663 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13664
13665 fi
13666
13667
13668 eval "$wx_cv_use_taskbaricon"
13669 if test "x$cache" = xyes; then
13670 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13671 fi
13672
13673 if test x"$enablestring" = xdisable; then
13674 if test $wxUSE_TASKBARICON = yes; then
13675 result=no
13676 else
13677 result=yes
13678 fi
13679 else
13680 result=$wxUSE_TASKBARICON
13681 fi
13682
13683 { echo "$as_me:$LINENO: result: $result" >&5
13684 echo "${ECHO_T}$result" >&6; }
13685
13686
13687 enablestring=
13688 defaultval=$wxUSE_ALL_FEATURES
13689 if test -z "$defaultval"; then
13690 if test x"$enablestring" = xdisable; then
13691 defaultval=yes
13692 else
13693 defaultval=no
13694 fi
13695 fi
13696
13697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13698 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13699 # Check whether --enable-textctrl was given.
13700 if test "${enable_textctrl+set}" = set; then
13701 enableval=$enable_textctrl;
13702 if test "$enableval" = yes; then
13703 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13704 else
13705 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13706 fi
13707 cache=yes
13708
13709 else
13710
13711 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13712 if test "x$LINE" != x ; then
13713 eval "DEFAULT_$LINE"
13714 cache=yes
13715 else
13716 cache=no
13717 fi
13718
13719 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13720
13721 fi
13722
13723
13724 eval "$wx_cv_use_textctrl"
13725 if test "x$cache" = xyes; then
13726 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13727 fi
13728
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_TEXTCTRL = yes; then
13731 result=no
13732 else
13733 result=yes
13734 fi
13735 else
13736 result=$wxUSE_TEXTCTRL
13737 fi
13738
13739 { echo "$as_me:$LINENO: result: $result" >&5
13740 echo "${ECHO_T}$result" >&6; }
13741
13742
13743 enablestring=
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13747 defaultval=yes
13748 else
13749 defaultval=no
13750 fi
13751 fi
13752
13753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13754 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13755 # Check whether --enable-togglebtn was given.
13756 if test "${enable_togglebtn+set}" = set; then
13757 enableval=$enable_togglebtn;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13760 else
13761 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13762 fi
13763 cache=yes
13764
13765 else
13766
13767 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13768 if test "x$LINE" != x ; then
13769 eval "DEFAULT_$LINE"
13770 cache=yes
13771 else
13772 cache=no
13773 fi
13774
13775 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13776
13777 fi
13778
13779
13780 eval "$wx_cv_use_togglebtn"
13781 if test "x$cache" = xyes; then
13782 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13783 fi
13784
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_TOGGLEBTN = yes; then
13787 result=no
13788 else
13789 result=yes
13790 fi
13791 else
13792 result=$wxUSE_TOGGLEBTN
13793 fi
13794
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13797
13798
13799 enablestring=
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13803 defaultval=yes
13804 else
13805 defaultval=no
13806 fi
13807 fi
13808
13809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13810 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13811 # Check whether --enable-toolbar was given.
13812 if test "${enable_toolbar+set}" = set; then
13813 enableval=$enable_toolbar;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13816 else
13817 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13818 fi
13819 cache=yes
13820
13821 else
13822
13823 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13824 if test "x$LINE" != x ; then
13825 eval "DEFAULT_$LINE"
13826 cache=yes
13827 else
13828 cache=no
13829 fi
13830
13831 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13832
13833 fi
13834
13835
13836 eval "$wx_cv_use_toolbar"
13837 if test "x$cache" = xyes; then
13838 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13839 fi
13840
13841 if test x"$enablestring" = xdisable; then
13842 if test $wxUSE_TOOLBAR = yes; then
13843 result=no
13844 else
13845 result=yes
13846 fi
13847 else
13848 result=$wxUSE_TOOLBAR
13849 fi
13850
13851 { echo "$as_me:$LINENO: result: $result" >&5
13852 echo "${ECHO_T}$result" >&6; }
13853
13854
13855 enablestring=
13856 defaultval=$wxUSE_ALL_FEATURES
13857 if test -z "$defaultval"; then
13858 if test x"$enablestring" = xdisable; then
13859 defaultval=yes
13860 else
13861 defaultval=no
13862 fi
13863 fi
13864
13865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13866 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13867 # Check whether --enable-tbarnative was given.
13868 if test "${enable_tbarnative+set}" = set; then
13869 enableval=$enable_tbarnative;
13870 if test "$enableval" = yes; then
13871 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13872 else
13873 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13874 fi
13875 cache=yes
13876
13877 else
13878
13879 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13880 if test "x$LINE" != x ; then
13881 eval "DEFAULT_$LINE"
13882 cache=yes
13883 else
13884 cache=no
13885 fi
13886
13887 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13888
13889 fi
13890
13891
13892 eval "$wx_cv_use_tbarnative"
13893 if test "x$cache" = xyes; then
13894 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13895 fi
13896
13897 if test x"$enablestring" = xdisable; then
13898 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13899 result=no
13900 else
13901 result=yes
13902 fi
13903 else
13904 result=$wxUSE_TOOLBAR_NATIVE
13905 fi
13906
13907 { echo "$as_me:$LINENO: result: $result" >&5
13908 echo "${ECHO_T}$result" >&6; }
13909
13910
13911 enablestring=
13912 defaultval=$wxUSE_ALL_FEATURES
13913 if test -z "$defaultval"; then
13914 if test x"$enablestring" = xdisable; then
13915 defaultval=yes
13916 else
13917 defaultval=no
13918 fi
13919 fi
13920
13921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13922 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13923 # Check whether --enable-treebook was given.
13924 if test "${enable_treebook+set}" = set; then
13925 enableval=$enable_treebook;
13926 if test "$enableval" = yes; then
13927 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13928 else
13929 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13930 fi
13931 cache=yes
13932
13933 else
13934
13935 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13936 if test "x$LINE" != x ; then
13937 eval "DEFAULT_$LINE"
13938 cache=yes
13939 else
13940 cache=no
13941 fi
13942
13943 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13944
13945 fi
13946
13947
13948 eval "$wx_cv_use_treebook"
13949 if test "x$cache" = xyes; then
13950 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13951 fi
13952
13953 if test x"$enablestring" = xdisable; then
13954 if test $wxUSE_TREEBOOK = yes; then
13955 result=no
13956 else
13957 result=yes
13958 fi
13959 else
13960 result=$wxUSE_TREEBOOK
13961 fi
13962
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13965
13966
13967 enablestring=
13968 defaultval=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x"$enablestring" = xdisable; then
13971 defaultval=yes
13972 else
13973 defaultval=no
13974 fi
13975 fi
13976
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13979 # Check whether --enable-toolbook was given.
13980 if test "${enable_toolbook+set}" = set; then
13981 enableval=$enable_toolbook;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13984 else
13985 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13986 fi
13987 cache=yes
13988
13989 else
13990
13991 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13992 if test "x$LINE" != x ; then
13993 eval "DEFAULT_$LINE"
13994 cache=yes
13995 else
13996 cache=no
13997 fi
13998
13999 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14000
14001 fi
14002
14003
14004 eval "$wx_cv_use_toolbook"
14005 if test "x$cache" = xyes; then
14006 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14007 fi
14008
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_TOOLBOOK = yes; then
14011 result=no
14012 else
14013 result=yes
14014 fi
14015 else
14016 result=$wxUSE_TOOLBOOK
14017 fi
14018
14019 { echo "$as_me:$LINENO: result: $result" >&5
14020 echo "${ECHO_T}$result" >&6; }
14021
14022
14023 enablestring=
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14027 defaultval=yes
14028 else
14029 defaultval=no
14030 fi
14031 fi
14032
14033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14034 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14035 # Check whether --enable-treectrl was given.
14036 if test "${enable_treectrl+set}" = set; then
14037 enableval=$enable_treectrl;
14038 if test "$enableval" = yes; then
14039 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14040 else
14041 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14042 fi
14043 cache=yes
14044
14045 else
14046
14047 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14048 if test "x$LINE" != x ; then
14049 eval "DEFAULT_$LINE"
14050 cache=yes
14051 else
14052 cache=no
14053 fi
14054
14055 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14056
14057 fi
14058
14059
14060 eval "$wx_cv_use_treectrl"
14061 if test "x$cache" = xyes; then
14062 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14063 fi
14064
14065 if test x"$enablestring" = xdisable; then
14066 if test $wxUSE_TREECTRL = yes; then
14067 result=no
14068 else
14069 result=yes
14070 fi
14071 else
14072 result=$wxUSE_TREECTRL
14073 fi
14074
14075 { echo "$as_me:$LINENO: result: $result" >&5
14076 echo "${ECHO_T}$result" >&6; }
14077
14078
14079 enablestring=
14080 defaultval=$wxUSE_ALL_FEATURES
14081 if test -z "$defaultval"; then
14082 if test x"$enablestring" = xdisable; then
14083 defaultval=yes
14084 else
14085 defaultval=no
14086 fi
14087 fi
14088
14089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14090 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14091 # Check whether --enable-tipwindow was given.
14092 if test "${enable_tipwindow+set}" = set; then
14093 enableval=$enable_tipwindow;
14094 if test "$enableval" = yes; then
14095 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14096 else
14097 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14098 fi
14099 cache=yes
14100
14101 else
14102
14103 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14104 if test "x$LINE" != x ; then
14105 eval "DEFAULT_$LINE"
14106 cache=yes
14107 else
14108 cache=no
14109 fi
14110
14111 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14112
14113 fi
14114
14115
14116 eval "$wx_cv_use_tipwindow"
14117 if test "x$cache" = xyes; then
14118 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14119 fi
14120
14121 if test x"$enablestring" = xdisable; then
14122 if test $wxUSE_TIPWINDOW = yes; then
14123 result=no
14124 else
14125 result=yes
14126 fi
14127 else
14128 result=$wxUSE_TIPWINDOW
14129 fi
14130
14131 { echo "$as_me:$LINENO: result: $result" >&5
14132 echo "${ECHO_T}$result" >&6; }
14133
14134
14135 enablestring=
14136 defaultval=$wxUSE_ALL_FEATURES
14137 if test -z "$defaultval"; then
14138 if test x"$enablestring" = xdisable; then
14139 defaultval=yes
14140 else
14141 defaultval=no
14142 fi
14143 fi
14144
14145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14146 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14147 # Check whether --enable-popupwin was given.
14148 if test "${enable_popupwin+set}" = set; then
14149 enableval=$enable_popupwin;
14150 if test "$enableval" = yes; then
14151 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14152 else
14153 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14154 fi
14155 cache=yes
14156
14157 else
14158
14159 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14160 if test "x$LINE" != x ; then
14161 eval "DEFAULT_$LINE"
14162 cache=yes
14163 else
14164 cache=no
14165 fi
14166
14167 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14168
14169 fi
14170
14171
14172 eval "$wx_cv_use_popupwin"
14173 if test "x$cache" = xyes; then
14174 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14175 fi
14176
14177 if test x"$enablestring" = xdisable; then
14178 if test $wxUSE_POPUPWIN = yes; then
14179 result=no
14180 else
14181 result=yes
14182 fi
14183 else
14184 result=$wxUSE_POPUPWIN
14185 fi
14186
14187 { echo "$as_me:$LINENO: result: $result" >&5
14188 echo "${ECHO_T}$result" >&6; }
14189
14190
14191
14192
14193 enablestring=
14194 defaultval=$wxUSE_ALL_FEATURES
14195 if test -z "$defaultval"; then
14196 if test x"$enablestring" = xdisable; then
14197 defaultval=yes
14198 else
14199 defaultval=no
14200 fi
14201 fi
14202
14203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14204 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14205 # Check whether --enable-commondlg was given.
14206 if test "${enable_commondlg+set}" = set; then
14207 enableval=$enable_commondlg;
14208 if test "$enableval" = yes; then
14209 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14210 else
14211 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14212 fi
14213 cache=yes
14214
14215 else
14216
14217 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14218 if test "x$LINE" != x ; then
14219 eval "DEFAULT_$LINE"
14220 cache=yes
14221 else
14222 cache=no
14223 fi
14224
14225 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14226
14227 fi
14228
14229
14230 eval "$wx_cv_use_commondlg"
14231 if test "x$cache" = xyes; then
14232 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14233 fi
14234
14235 if test x"$enablestring" = xdisable; then
14236 if test $wxUSE_COMMONDLGS = yes; then
14237 result=no
14238 else
14239 result=yes
14240 fi
14241 else
14242 result=$wxUSE_COMMONDLGS
14243 fi
14244
14245 { echo "$as_me:$LINENO: result: $result" >&5
14246 echo "${ECHO_T}$result" >&6; }
14247
14248
14249 enablestring=
14250 defaultval=$wxUSE_ALL_FEATURES
14251 if test -z "$defaultval"; then
14252 if test x"$enablestring" = xdisable; then
14253 defaultval=yes
14254 else
14255 defaultval=no
14256 fi
14257 fi
14258
14259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14260 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14261 # Check whether --enable-aboutdlg was given.
14262 if test "${enable_aboutdlg+set}" = set; then
14263 enableval=$enable_aboutdlg;
14264 if test "$enableval" = yes; then
14265 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14266 else
14267 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14268 fi
14269 cache=yes
14270
14271 else
14272
14273 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14274 if test "x$LINE" != x ; then
14275 eval "DEFAULT_$LINE"
14276 cache=yes
14277 else
14278 cache=no
14279 fi
14280
14281 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14282
14283 fi
14284
14285
14286 eval "$wx_cv_use_aboutdlg"
14287 if test "x$cache" = xyes; then
14288 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14289 fi
14290
14291 if test x"$enablestring" = xdisable; then
14292 if test $wxUSE_ABOUTDLG = yes; then
14293 result=no
14294 else
14295 result=yes
14296 fi
14297 else
14298 result=$wxUSE_ABOUTDLG
14299 fi
14300
14301 { echo "$as_me:$LINENO: result: $result" >&5
14302 echo "${ECHO_T}$result" >&6; }
14303
14304
14305 enablestring=
14306 defaultval=$wxUSE_ALL_FEATURES
14307 if test -z "$defaultval"; then
14308 if test x"$enablestring" = xdisable; then
14309 defaultval=yes
14310 else
14311 defaultval=no
14312 fi
14313 fi
14314
14315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14316 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14317 # Check whether --enable-choicedlg was given.
14318 if test "${enable_choicedlg+set}" = set; then
14319 enableval=$enable_choicedlg;
14320 if test "$enableval" = yes; then
14321 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14322 else
14323 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14324 fi
14325 cache=yes
14326
14327 else
14328
14329 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14330 if test "x$LINE" != x ; then
14331 eval "DEFAULT_$LINE"
14332 cache=yes
14333 else
14334 cache=no
14335 fi
14336
14337 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14338
14339 fi
14340
14341
14342 eval "$wx_cv_use_choicedlg"
14343 if test "x$cache" = xyes; then
14344 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14345 fi
14346
14347 if test x"$enablestring" = xdisable; then
14348 if test $wxUSE_CHOICEDLG = yes; then
14349 result=no
14350 else
14351 result=yes
14352 fi
14353 else
14354 result=$wxUSE_CHOICEDLG
14355 fi
14356
14357 { echo "$as_me:$LINENO: result: $result" >&5
14358 echo "${ECHO_T}$result" >&6; }
14359
14360
14361 enablestring=
14362 defaultval=$wxUSE_ALL_FEATURES
14363 if test -z "$defaultval"; then
14364 if test x"$enablestring" = xdisable; then
14365 defaultval=yes
14366 else
14367 defaultval=no
14368 fi
14369 fi
14370
14371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14372 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14373 # Check whether --enable-coldlg was given.
14374 if test "${enable_coldlg+set}" = set; then
14375 enableval=$enable_coldlg;
14376 if test "$enableval" = yes; then
14377 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14378 else
14379 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14380 fi
14381 cache=yes
14382
14383 else
14384
14385 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14386 if test "x$LINE" != x ; then
14387 eval "DEFAULT_$LINE"
14388 cache=yes
14389 else
14390 cache=no
14391 fi
14392
14393 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14394
14395 fi
14396
14397
14398 eval "$wx_cv_use_coldlg"
14399 if test "x$cache" = xyes; then
14400 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14401 fi
14402
14403 if test x"$enablestring" = xdisable; then
14404 if test $wxUSE_COLOURDLG = yes; then
14405 result=no
14406 else
14407 result=yes
14408 fi
14409 else
14410 result=$wxUSE_COLOURDLG
14411 fi
14412
14413 { echo "$as_me:$LINENO: result: $result" >&5
14414 echo "${ECHO_T}$result" >&6; }
14415
14416
14417 enablestring=
14418 defaultval=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x"$enablestring" = xdisable; then
14421 defaultval=yes
14422 else
14423 defaultval=no
14424 fi
14425 fi
14426
14427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14428 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14429 # Check whether --enable-filedlg was given.
14430 if test "${enable_filedlg+set}" = set; then
14431 enableval=$enable_filedlg;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14434 else
14435 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14436 fi
14437 cache=yes
14438
14439 else
14440
14441 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14442 if test "x$LINE" != x ; then
14443 eval "DEFAULT_$LINE"
14444 cache=yes
14445 else
14446 cache=no
14447 fi
14448
14449 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14450
14451 fi
14452
14453
14454 eval "$wx_cv_use_filedlg"
14455 if test "x$cache" = xyes; then
14456 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14457 fi
14458
14459 if test x"$enablestring" = xdisable; then
14460 if test $wxUSE_FILEDLG = yes; then
14461 result=no
14462 else
14463 result=yes
14464 fi
14465 else
14466 result=$wxUSE_FILEDLG
14467 fi
14468
14469 { echo "$as_me:$LINENO: result: $result" >&5
14470 echo "${ECHO_T}$result" >&6; }
14471
14472
14473 enablestring=
14474 defaultval=$wxUSE_ALL_FEATURES
14475 if test -z "$defaultval"; then
14476 if test x"$enablestring" = xdisable; then
14477 defaultval=yes
14478 else
14479 defaultval=no
14480 fi
14481 fi
14482
14483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14484 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14485 # Check whether --enable-finddlg was given.
14486 if test "${enable_finddlg+set}" = set; then
14487 enableval=$enable_finddlg;
14488 if test "$enableval" = yes; then
14489 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14490 else
14491 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14492 fi
14493 cache=yes
14494
14495 else
14496
14497 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14498 if test "x$LINE" != x ; then
14499 eval "DEFAULT_$LINE"
14500 cache=yes
14501 else
14502 cache=no
14503 fi
14504
14505 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14506
14507 fi
14508
14509
14510 eval "$wx_cv_use_finddlg"
14511 if test "x$cache" = xyes; then
14512 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14513 fi
14514
14515 if test x"$enablestring" = xdisable; then
14516 if test $wxUSE_FINDREPLDLG = yes; then
14517 result=no
14518 else
14519 result=yes
14520 fi
14521 else
14522 result=$wxUSE_FINDREPLDLG
14523 fi
14524
14525 { echo "$as_me:$LINENO: result: $result" >&5
14526 echo "${ECHO_T}$result" >&6; }
14527
14528
14529 enablestring=
14530 defaultval=$wxUSE_ALL_FEATURES
14531 if test -z "$defaultval"; then
14532 if test x"$enablestring" = xdisable; then
14533 defaultval=yes
14534 else
14535 defaultval=no
14536 fi
14537 fi
14538
14539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14540 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14541 # Check whether --enable-fontdlg was given.
14542 if test "${enable_fontdlg+set}" = set; then
14543 enableval=$enable_fontdlg;
14544 if test "$enableval" = yes; then
14545 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14546 else
14547 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14548 fi
14549 cache=yes
14550
14551 else
14552
14553 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14554 if test "x$LINE" != x ; then
14555 eval "DEFAULT_$LINE"
14556 cache=yes
14557 else
14558 cache=no
14559 fi
14560
14561 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14562
14563 fi
14564
14565
14566 eval "$wx_cv_use_fontdlg"
14567 if test "x$cache" = xyes; then
14568 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14569 fi
14570
14571 if test x"$enablestring" = xdisable; then
14572 if test $wxUSE_FONTDLG = yes; then
14573 result=no
14574 else
14575 result=yes
14576 fi
14577 else
14578 result=$wxUSE_FONTDLG
14579 fi
14580
14581 { echo "$as_me:$LINENO: result: $result" >&5
14582 echo "${ECHO_T}$result" >&6; }
14583
14584
14585 enablestring=
14586 defaultval=$wxUSE_ALL_FEATURES
14587 if test -z "$defaultval"; then
14588 if test x"$enablestring" = xdisable; then
14589 defaultval=yes
14590 else
14591 defaultval=no
14592 fi
14593 fi
14594
14595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14596 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14597 # Check whether --enable-dirdlg was given.
14598 if test "${enable_dirdlg+set}" = set; then
14599 enableval=$enable_dirdlg;
14600 if test "$enableval" = yes; then
14601 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14602 else
14603 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14604 fi
14605 cache=yes
14606
14607 else
14608
14609 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14610 if test "x$LINE" != x ; then
14611 eval "DEFAULT_$LINE"
14612 cache=yes
14613 else
14614 cache=no
14615 fi
14616
14617 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14618
14619 fi
14620
14621
14622 eval "$wx_cv_use_dirdlg"
14623 if test "x$cache" = xyes; then
14624 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14625 fi
14626
14627 if test x"$enablestring" = xdisable; then
14628 if test $wxUSE_DIRDLG = yes; then
14629 result=no
14630 else
14631 result=yes
14632 fi
14633 else
14634 result=$wxUSE_DIRDLG
14635 fi
14636
14637 { echo "$as_me:$LINENO: result: $result" >&5
14638 echo "${ECHO_T}$result" >&6; }
14639
14640
14641 enablestring=
14642 defaultval=$wxUSE_ALL_FEATURES
14643 if test -z "$defaultval"; then
14644 if test x"$enablestring" = xdisable; then
14645 defaultval=yes
14646 else
14647 defaultval=no
14648 fi
14649 fi
14650
14651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14652 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14653 # Check whether --enable-msgdlg was given.
14654 if test "${enable_msgdlg+set}" = set; then
14655 enableval=$enable_msgdlg;
14656 if test "$enableval" = yes; then
14657 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14658 else
14659 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14660 fi
14661 cache=yes
14662
14663 else
14664
14665 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14666 if test "x$LINE" != x ; then
14667 eval "DEFAULT_$LINE"
14668 cache=yes
14669 else
14670 cache=no
14671 fi
14672
14673 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14674
14675 fi
14676
14677
14678 eval "$wx_cv_use_msgdlg"
14679 if test "x$cache" = xyes; then
14680 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14681 fi
14682
14683 if test x"$enablestring" = xdisable; then
14684 if test $wxUSE_MSGDLG = yes; then
14685 result=no
14686 else
14687 result=yes
14688 fi
14689 else
14690 result=$wxUSE_MSGDLG
14691 fi
14692
14693 { echo "$as_me:$LINENO: result: $result" >&5
14694 echo "${ECHO_T}$result" >&6; }
14695
14696
14697 enablestring=
14698 defaultval=$wxUSE_ALL_FEATURES
14699 if test -z "$defaultval"; then
14700 if test x"$enablestring" = xdisable; then
14701 defaultval=yes
14702 else
14703 defaultval=no
14704 fi
14705 fi
14706
14707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14708 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14709 # Check whether --enable-numberdlg was given.
14710 if test "${enable_numberdlg+set}" = set; then
14711 enableval=$enable_numberdlg;
14712 if test "$enableval" = yes; then
14713 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14714 else
14715 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14716 fi
14717 cache=yes
14718
14719 else
14720
14721 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14722 if test "x$LINE" != x ; then
14723 eval "DEFAULT_$LINE"
14724 cache=yes
14725 else
14726 cache=no
14727 fi
14728
14729 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14730
14731 fi
14732
14733
14734 eval "$wx_cv_use_numberdlg"
14735 if test "x$cache" = xyes; then
14736 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14737 fi
14738
14739 if test x"$enablestring" = xdisable; then
14740 if test $wxUSE_NUMBERDLG = yes; then
14741 result=no
14742 else
14743 result=yes
14744 fi
14745 else
14746 result=$wxUSE_NUMBERDLG
14747 fi
14748
14749 { echo "$as_me:$LINENO: result: $result" >&5
14750 echo "${ECHO_T}$result" >&6; }
14751
14752
14753 enablestring=
14754 defaultval=$wxUSE_ALL_FEATURES
14755 if test -z "$defaultval"; then
14756 if test x"$enablestring" = xdisable; then
14757 defaultval=yes
14758 else
14759 defaultval=no
14760 fi
14761 fi
14762
14763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14764 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14765 # Check whether --enable-splash was given.
14766 if test "${enable_splash+set}" = set; then
14767 enableval=$enable_splash;
14768 if test "$enableval" = yes; then
14769 wx_cv_use_splash='wxUSE_SPLASH=yes'
14770 else
14771 wx_cv_use_splash='wxUSE_SPLASH=no'
14772 fi
14773 cache=yes
14774
14775 else
14776
14777 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14778 if test "x$LINE" != x ; then
14779 eval "DEFAULT_$LINE"
14780 cache=yes
14781 else
14782 cache=no
14783 fi
14784
14785 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14786
14787 fi
14788
14789
14790 eval "$wx_cv_use_splash"
14791 if test "x$cache" = xyes; then
14792 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14793 fi
14794
14795 if test x"$enablestring" = xdisable; then
14796 if test $wxUSE_SPLASH = yes; then
14797 result=no
14798 else
14799 result=yes
14800 fi
14801 else
14802 result=$wxUSE_SPLASH
14803 fi
14804
14805 { echo "$as_me:$LINENO: result: $result" >&5
14806 echo "${ECHO_T}$result" >&6; }
14807
14808
14809 enablestring=
14810 defaultval=$wxUSE_ALL_FEATURES
14811 if test -z "$defaultval"; then
14812 if test x"$enablestring" = xdisable; then
14813 defaultval=yes
14814 else
14815 defaultval=no
14816 fi
14817 fi
14818
14819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14820 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14821 # Check whether --enable-textdlg was given.
14822 if test "${enable_textdlg+set}" = set; then
14823 enableval=$enable_textdlg;
14824 if test "$enableval" = yes; then
14825 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14826 else
14827 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14828 fi
14829 cache=yes
14830
14831 else
14832
14833 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14834 if test "x$LINE" != x ; then
14835 eval "DEFAULT_$LINE"
14836 cache=yes
14837 else
14838 cache=no
14839 fi
14840
14841 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14842
14843 fi
14844
14845
14846 eval "$wx_cv_use_textdlg"
14847 if test "x$cache" = xyes; then
14848 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14849 fi
14850
14851 if test x"$enablestring" = xdisable; then
14852 if test $wxUSE_TEXTDLG = yes; then
14853 result=no
14854 else
14855 result=yes
14856 fi
14857 else
14858 result=$wxUSE_TEXTDLG
14859 fi
14860
14861 { echo "$as_me:$LINENO: result: $result" >&5
14862 echo "${ECHO_T}$result" >&6; }
14863
14864
14865 enablestring=
14866 defaultval=$wxUSE_ALL_FEATURES
14867 if test -z "$defaultval"; then
14868 if test x"$enablestring" = xdisable; then
14869 defaultval=yes
14870 else
14871 defaultval=no
14872 fi
14873 fi
14874
14875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14876 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14877 # Check whether --enable-tipdlg was given.
14878 if test "${enable_tipdlg+set}" = set; then
14879 enableval=$enable_tipdlg;
14880 if test "$enableval" = yes; then
14881 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14882 else
14883 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14884 fi
14885 cache=yes
14886
14887 else
14888
14889 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14890 if test "x$LINE" != x ; then
14891 eval "DEFAULT_$LINE"
14892 cache=yes
14893 else
14894 cache=no
14895 fi
14896
14897 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14898
14899 fi
14900
14901
14902 eval "$wx_cv_use_tipdlg"
14903 if test "x$cache" = xyes; then
14904 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14905 fi
14906
14907 if test x"$enablestring" = xdisable; then
14908 if test $wxUSE_STARTUP_TIPS = yes; then
14909 result=no
14910 else
14911 result=yes
14912 fi
14913 else
14914 result=$wxUSE_STARTUP_TIPS
14915 fi
14916
14917 { echo "$as_me:$LINENO: result: $result" >&5
14918 echo "${ECHO_T}$result" >&6; }
14919
14920
14921 enablestring=
14922 defaultval=$wxUSE_ALL_FEATURES
14923 if test -z "$defaultval"; then
14924 if test x"$enablestring" = xdisable; then
14925 defaultval=yes
14926 else
14927 defaultval=no
14928 fi
14929 fi
14930
14931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14932 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14933 # Check whether --enable-progressdlg was given.
14934 if test "${enable_progressdlg+set}" = set; then
14935 enableval=$enable_progressdlg;
14936 if test "$enableval" = yes; then
14937 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14938 else
14939 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14940 fi
14941 cache=yes
14942
14943 else
14944
14945 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14946 if test "x$LINE" != x ; then
14947 eval "DEFAULT_$LINE"
14948 cache=yes
14949 else
14950 cache=no
14951 fi
14952
14953 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14954
14955 fi
14956
14957
14958 eval "$wx_cv_use_progressdlg"
14959 if test "x$cache" = xyes; then
14960 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14961 fi
14962
14963 if test x"$enablestring" = xdisable; then
14964 if test $wxUSE_PROGRESSDLG = yes; then
14965 result=no
14966 else
14967 result=yes
14968 fi
14969 else
14970 result=$wxUSE_PROGRESSDLG
14971 fi
14972
14973 { echo "$as_me:$LINENO: result: $result" >&5
14974 echo "${ECHO_T}$result" >&6; }
14975
14976
14977 enablestring=
14978 defaultval=$wxUSE_ALL_FEATURES
14979 if test -z "$defaultval"; then
14980 if test x"$enablestring" = xdisable; then
14981 defaultval=yes
14982 else
14983 defaultval=no
14984 fi
14985 fi
14986
14987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14988 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14989 # Check whether --enable-wizarddlg was given.
14990 if test "${enable_wizarddlg+set}" = set; then
14991 enableval=$enable_wizarddlg;
14992 if test "$enableval" = yes; then
14993 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14994 else
14995 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14996 fi
14997 cache=yes
14998
14999 else
15000
15001 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15002 if test "x$LINE" != x ; then
15003 eval "DEFAULT_$LINE"
15004 cache=yes
15005 else
15006 cache=no
15007 fi
15008
15009 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15010
15011 fi
15012
15013
15014 eval "$wx_cv_use_wizarddlg"
15015 if test "x$cache" = xyes; then
15016 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15017 fi
15018
15019 if test x"$enablestring" = xdisable; then
15020 if test $wxUSE_WIZARDDLG = yes; then
15021 result=no
15022 else
15023 result=yes
15024 fi
15025 else
15026 result=$wxUSE_WIZARDDLG
15027 fi
15028
15029 { echo "$as_me:$LINENO: result: $result" >&5
15030 echo "${ECHO_T}$result" >&6; }
15031
15032
15033
15034
15035 enablestring=
15036 defaultval=$wxUSE_ALL_FEATURES
15037 if test -z "$defaultval"; then
15038 if test x"$enablestring" = xdisable; then
15039 defaultval=yes
15040 else
15041 defaultval=no
15042 fi
15043 fi
15044
15045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15046 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15047 # Check whether --enable-menus was given.
15048 if test "${enable_menus+set}" = set; then
15049 enableval=$enable_menus;
15050 if test "$enableval" = yes; then
15051 wx_cv_use_menus='wxUSE_MENUS=yes'
15052 else
15053 wx_cv_use_menus='wxUSE_MENUS=no'
15054 fi
15055 cache=yes
15056
15057 else
15058
15059 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15060 if test "x$LINE" != x ; then
15061 eval "DEFAULT_$LINE"
15062 cache=yes
15063 else
15064 cache=no
15065 fi
15066
15067 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15068
15069 fi
15070
15071
15072 eval "$wx_cv_use_menus"
15073 if test "x$cache" = xyes; then
15074 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15075 fi
15076
15077 if test x"$enablestring" = xdisable; then
15078 if test $wxUSE_MENUS = yes; then
15079 result=no
15080 else
15081 result=yes
15082 fi
15083 else
15084 result=$wxUSE_MENUS
15085 fi
15086
15087 { echo "$as_me:$LINENO: result: $result" >&5
15088 echo "${ECHO_T}$result" >&6; }
15089
15090
15091 enablestring=
15092 defaultval=$wxUSE_ALL_FEATURES
15093 if test -z "$defaultval"; then
15094 if test x"$enablestring" = xdisable; then
15095 defaultval=yes
15096 else
15097 defaultval=no
15098 fi
15099 fi
15100
15101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15102 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15103 # Check whether --enable-miniframe was given.
15104 if test "${enable_miniframe+set}" = set; then
15105 enableval=$enable_miniframe;
15106 if test "$enableval" = yes; then
15107 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15108 else
15109 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15110 fi
15111 cache=yes
15112
15113 else
15114
15115 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15116 if test "x$LINE" != x ; then
15117 eval "DEFAULT_$LINE"
15118 cache=yes
15119 else
15120 cache=no
15121 fi
15122
15123 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15124
15125 fi
15126
15127
15128 eval "$wx_cv_use_miniframe"
15129 if test "x$cache" = xyes; then
15130 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15131 fi
15132
15133 if test x"$enablestring" = xdisable; then
15134 if test $wxUSE_MINIFRAME = yes; then
15135 result=no
15136 else
15137 result=yes
15138 fi
15139 else
15140 result=$wxUSE_MINIFRAME
15141 fi
15142
15143 { echo "$as_me:$LINENO: result: $result" >&5
15144 echo "${ECHO_T}$result" >&6; }
15145
15146
15147 enablestring=
15148 defaultval=$wxUSE_ALL_FEATURES
15149 if test -z "$defaultval"; then
15150 if test x"$enablestring" = xdisable; then
15151 defaultval=yes
15152 else
15153 defaultval=no
15154 fi
15155 fi
15156
15157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15158 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15159 # Check whether --enable-tooltips was given.
15160 if test "${enable_tooltips+set}" = set; then
15161 enableval=$enable_tooltips;
15162 if test "$enableval" = yes; then
15163 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15164 else
15165 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15166 fi
15167 cache=yes
15168
15169 else
15170
15171 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15172 if test "x$LINE" != x ; then
15173 eval "DEFAULT_$LINE"
15174 cache=yes
15175 else
15176 cache=no
15177 fi
15178
15179 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15180
15181 fi
15182
15183
15184 eval "$wx_cv_use_tooltips"
15185 if test "x$cache" = xyes; then
15186 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15187 fi
15188
15189 if test x"$enablestring" = xdisable; then
15190 if test $wxUSE_TOOLTIPS = yes; then
15191 result=no
15192 else
15193 result=yes
15194 fi
15195 else
15196 result=$wxUSE_TOOLTIPS
15197 fi
15198
15199 { echo "$as_me:$LINENO: result: $result" >&5
15200 echo "${ECHO_T}$result" >&6; }
15201
15202
15203 enablestring=
15204 defaultval=$wxUSE_ALL_FEATURES
15205 if test -z "$defaultval"; then
15206 if test x"$enablestring" = xdisable; then
15207 defaultval=yes
15208 else
15209 defaultval=no
15210 fi
15211 fi
15212
15213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15214 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15215 # Check whether --enable-splines was given.
15216 if test "${enable_splines+set}" = set; then
15217 enableval=$enable_splines;
15218 if test "$enableval" = yes; then
15219 wx_cv_use_splines='wxUSE_SPLINES=yes'
15220 else
15221 wx_cv_use_splines='wxUSE_SPLINES=no'
15222 fi
15223 cache=yes
15224
15225 else
15226
15227 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15228 if test "x$LINE" != x ; then
15229 eval "DEFAULT_$LINE"
15230 cache=yes
15231 else
15232 cache=no
15233 fi
15234
15235 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15236
15237 fi
15238
15239
15240 eval "$wx_cv_use_splines"
15241 if test "x$cache" = xyes; then
15242 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15243 fi
15244
15245 if test x"$enablestring" = xdisable; then
15246 if test $wxUSE_SPLINES = yes; then
15247 result=no
15248 else
15249 result=yes
15250 fi
15251 else
15252 result=$wxUSE_SPLINES
15253 fi
15254
15255 { echo "$as_me:$LINENO: result: $result" >&5
15256 echo "${ECHO_T}$result" >&6; }
15257
15258
15259 enablestring=
15260 defaultval=$wxUSE_ALL_FEATURES
15261 if test -z "$defaultval"; then
15262 if test x"$enablestring" = xdisable; then
15263 defaultval=yes
15264 else
15265 defaultval=no
15266 fi
15267 fi
15268
15269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15270 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15271 # Check whether --enable-mousewheel was given.
15272 if test "${enable_mousewheel+set}" = set; then
15273 enableval=$enable_mousewheel;
15274 if test "$enableval" = yes; then
15275 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15276 else
15277 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15278 fi
15279 cache=yes
15280
15281 else
15282
15283 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15284 if test "x$LINE" != x ; then
15285 eval "DEFAULT_$LINE"
15286 cache=yes
15287 else
15288 cache=no
15289 fi
15290
15291 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15292
15293 fi
15294
15295
15296 eval "$wx_cv_use_mousewheel"
15297 if test "x$cache" = xyes; then
15298 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15299 fi
15300
15301 if test x"$enablestring" = xdisable; then
15302 if test $wxUSE_MOUSEWHEEL = yes; then
15303 result=no
15304 else
15305 result=yes
15306 fi
15307 else
15308 result=$wxUSE_MOUSEWHEEL
15309 fi
15310
15311 { echo "$as_me:$LINENO: result: $result" >&5
15312 echo "${ECHO_T}$result" >&6; }
15313
15314
15315 enablestring=
15316 defaultval=$wxUSE_ALL_FEATURES
15317 if test -z "$defaultval"; then
15318 if test x"$enablestring" = xdisable; then
15319 defaultval=yes
15320 else
15321 defaultval=no
15322 fi
15323 fi
15324
15325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15326 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15327 # Check whether --enable-validators was given.
15328 if test "${enable_validators+set}" = set; then
15329 enableval=$enable_validators;
15330 if test "$enableval" = yes; then
15331 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15332 else
15333 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15334 fi
15335 cache=yes
15336
15337 else
15338
15339 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15340 if test "x$LINE" != x ; then
15341 eval "DEFAULT_$LINE"
15342 cache=yes
15343 else
15344 cache=no
15345 fi
15346
15347 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15348
15349 fi
15350
15351
15352 eval "$wx_cv_use_validators"
15353 if test "x$cache" = xyes; then
15354 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15355 fi
15356
15357 if test x"$enablestring" = xdisable; then
15358 if test $wxUSE_VALIDATORS = yes; then
15359 result=no
15360 else
15361 result=yes
15362 fi
15363 else
15364 result=$wxUSE_VALIDATORS
15365 fi
15366
15367 { echo "$as_me:$LINENO: result: $result" >&5
15368 echo "${ECHO_T}$result" >&6; }
15369
15370
15371 enablestring=
15372 defaultval=$wxUSE_ALL_FEATURES
15373 if test -z "$defaultval"; then
15374 if test x"$enablestring" = xdisable; then
15375 defaultval=yes
15376 else
15377 defaultval=no
15378 fi
15379 fi
15380
15381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15382 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15383 # Check whether --enable-busyinfo was given.
15384 if test "${enable_busyinfo+set}" = set; then
15385 enableval=$enable_busyinfo;
15386 if test "$enableval" = yes; then
15387 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15388 else
15389 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15390 fi
15391 cache=yes
15392
15393 else
15394
15395 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15396 if test "x$LINE" != x ; then
15397 eval "DEFAULT_$LINE"
15398 cache=yes
15399 else
15400 cache=no
15401 fi
15402
15403 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15404
15405 fi
15406
15407
15408 eval "$wx_cv_use_busyinfo"
15409 if test "x$cache" = xyes; then
15410 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15411 fi
15412
15413 if test x"$enablestring" = xdisable; then
15414 if test $wxUSE_BUSYINFO = yes; then
15415 result=no
15416 else
15417 result=yes
15418 fi
15419 else
15420 result=$wxUSE_BUSYINFO
15421 fi
15422
15423 { echo "$as_me:$LINENO: result: $result" >&5
15424 echo "${ECHO_T}$result" >&6; }
15425
15426
15427 enablestring=
15428 defaultval=$wxUSE_ALL_FEATURES
15429 if test -z "$defaultval"; then
15430 if test x"$enablestring" = xdisable; then
15431 defaultval=yes
15432 else
15433 defaultval=no
15434 fi
15435 fi
15436
15437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15438 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15439 # Check whether --enable-joystick was given.
15440 if test "${enable_joystick+set}" = set; then
15441 enableval=$enable_joystick;
15442 if test "$enableval" = yes; then
15443 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15444 else
15445 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15446 fi
15447 cache=yes
15448
15449 else
15450
15451 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15452 if test "x$LINE" != x ; then
15453 eval "DEFAULT_$LINE"
15454 cache=yes
15455 else
15456 cache=no
15457 fi
15458
15459 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15460
15461 fi
15462
15463
15464 eval "$wx_cv_use_joystick"
15465 if test "x$cache" = xyes; then
15466 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15467 fi
15468
15469 if test x"$enablestring" = xdisable; then
15470 if test $wxUSE_JOYSTICK = yes; then
15471 result=no
15472 else
15473 result=yes
15474 fi
15475 else
15476 result=$wxUSE_JOYSTICK
15477 fi
15478
15479 { echo "$as_me:$LINENO: result: $result" >&5
15480 echo "${ECHO_T}$result" >&6; }
15481
15482
15483 enablestring=
15484 defaultval=$wxUSE_ALL_FEATURES
15485 if test -z "$defaultval"; then
15486 if test x"$enablestring" = xdisable; then
15487 defaultval=yes
15488 else
15489 defaultval=no
15490 fi
15491 fi
15492
15493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15494 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15495 # Check whether --enable-metafile was given.
15496 if test "${enable_metafile+set}" = set; then
15497 enableval=$enable_metafile;
15498 if test "$enableval" = yes; then
15499 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15500 else
15501 wx_cv_use_metafile='wxUSE_METAFILE=no'
15502 fi
15503 cache=yes
15504
15505 else
15506
15507 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15508 if test "x$LINE" != x ; then
15509 eval "DEFAULT_$LINE"
15510 cache=yes
15511 else
15512 cache=no
15513 fi
15514
15515 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15516
15517 fi
15518
15519
15520 eval "$wx_cv_use_metafile"
15521 if test "x$cache" = xyes; then
15522 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15523 fi
15524
15525 if test x"$enablestring" = xdisable; then
15526 if test $wxUSE_METAFILE = yes; then
15527 result=no
15528 else
15529 result=yes
15530 fi
15531 else
15532 result=$wxUSE_METAFILE
15533 fi
15534
15535 { echo "$as_me:$LINENO: result: $result" >&5
15536 echo "${ECHO_T}$result" >&6; }
15537
15538
15539 enablestring=
15540 defaultval=$wxUSE_ALL_FEATURES
15541 if test -z "$defaultval"; then
15542 if test x"$enablestring" = xdisable; then
15543 defaultval=yes
15544 else
15545 defaultval=no
15546 fi
15547 fi
15548
15549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15550 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15551 # Check whether --enable-dragimage was given.
15552 if test "${enable_dragimage+set}" = set; then
15553 enableval=$enable_dragimage;
15554 if test "$enableval" = yes; then
15555 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15556 else
15557 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15558 fi
15559 cache=yes
15560
15561 else
15562
15563 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15564 if test "x$LINE" != x ; then
15565 eval "DEFAULT_$LINE"
15566 cache=yes
15567 else
15568 cache=no
15569 fi
15570
15571 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15572
15573 fi
15574
15575
15576 eval "$wx_cv_use_dragimage"
15577 if test "x$cache" = xyes; then
15578 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15579 fi
15580
15581 if test x"$enablestring" = xdisable; then
15582 if test $wxUSE_DRAGIMAGE = yes; then
15583 result=no
15584 else
15585 result=yes
15586 fi
15587 else
15588 result=$wxUSE_DRAGIMAGE
15589 fi
15590
15591 { echo "$as_me:$LINENO: result: $result" >&5
15592 echo "${ECHO_T}$result" >&6; }
15593
15594
15595 enablestring=
15596 defaultval=$wxUSE_ALL_FEATURES
15597 if test -z "$defaultval"; then
15598 if test x"$enablestring" = xdisable; then
15599 defaultval=yes
15600 else
15601 defaultval=no
15602 fi
15603 fi
15604
15605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15606 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15607 # Check whether --enable-accessibility was given.
15608 if test "${enable_accessibility+set}" = set; then
15609 enableval=$enable_accessibility;
15610 if test "$enableval" = yes; then
15611 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15612 else
15613 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15614 fi
15615 cache=yes
15616
15617 else
15618
15619 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15620 if test "x$LINE" != x ; then
15621 eval "DEFAULT_$LINE"
15622 cache=yes
15623 else
15624 cache=no
15625 fi
15626
15627 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15628
15629 fi
15630
15631
15632 eval "$wx_cv_use_accessibility"
15633 if test "x$cache" = xyes; then
15634 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15635 fi
15636
15637 if test x"$enablestring" = xdisable; then
15638 if test $wxUSE_ACCESSIBILITY = yes; then
15639 result=no
15640 else
15641 result=yes
15642 fi
15643 else
15644 result=$wxUSE_ACCESSIBILITY
15645 fi
15646
15647 { echo "$as_me:$LINENO: result: $result" >&5
15648 echo "${ECHO_T}$result" >&6; }
15649
15650
15651
15652
15653 enablestring=
15654 defaultval=$wxUSE_ALL_FEATURES
15655 if test -z "$defaultval"; then
15656 if test x"$enablestring" = xdisable; then
15657 defaultval=yes
15658 else
15659 defaultval=no
15660 fi
15661 fi
15662
15663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15664 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15665 # Check whether --enable-palette was given.
15666 if test "${enable_palette+set}" = set; then
15667 enableval=$enable_palette;
15668 if test "$enableval" = yes; then
15669 wx_cv_use_palette='wxUSE_PALETTE=yes'
15670 else
15671 wx_cv_use_palette='wxUSE_PALETTE=no'
15672 fi
15673 cache=yes
15674
15675 else
15676
15677 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15678 if test "x$LINE" != x ; then
15679 eval "DEFAULT_$LINE"
15680 cache=yes
15681 else
15682 cache=no
15683 fi
15684
15685 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15686
15687 fi
15688
15689
15690 eval "$wx_cv_use_palette"
15691 if test "x$cache" = xyes; then
15692 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15693 fi
15694
15695 if test x"$enablestring" = xdisable; then
15696 if test $wxUSE_PALETTE = yes; then
15697 result=no
15698 else
15699 result=yes
15700 fi
15701 else
15702 result=$wxUSE_PALETTE
15703 fi
15704
15705 { echo "$as_me:$LINENO: result: $result" >&5
15706 echo "${ECHO_T}$result" >&6; }
15707
15708
15709 enablestring=
15710 defaultval=$wxUSE_ALL_FEATURES
15711 if test -z "$defaultval"; then
15712 if test x"$enablestring" = xdisable; then
15713 defaultval=yes
15714 else
15715 defaultval=no
15716 fi
15717 fi
15718
15719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15720 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15721 # Check whether --enable-image was given.
15722 if test "${enable_image+set}" = set; then
15723 enableval=$enable_image;
15724 if test "$enableval" = yes; then
15725 wx_cv_use_image='wxUSE_IMAGE=yes'
15726 else
15727 wx_cv_use_image='wxUSE_IMAGE=no'
15728 fi
15729 cache=yes
15730
15731 else
15732
15733 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15734 if test "x$LINE" != x ; then
15735 eval "DEFAULT_$LINE"
15736 cache=yes
15737 else
15738 cache=no
15739 fi
15740
15741 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15742
15743 fi
15744
15745
15746 eval "$wx_cv_use_image"
15747 if test "x$cache" = xyes; then
15748 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15749 fi
15750
15751 if test x"$enablestring" = xdisable; then
15752 if test $wxUSE_IMAGE = yes; then
15753 result=no
15754 else
15755 result=yes
15756 fi
15757 else
15758 result=$wxUSE_IMAGE
15759 fi
15760
15761 { echo "$as_me:$LINENO: result: $result" >&5
15762 echo "${ECHO_T}$result" >&6; }
15763
15764
15765 enablestring=
15766 defaultval=$wxUSE_ALL_FEATURES
15767 if test -z "$defaultval"; then
15768 if test x"$enablestring" = xdisable; then
15769 defaultval=yes
15770 else
15771 defaultval=no
15772 fi
15773 fi
15774
15775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15776 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15777 # Check whether --enable-gif was given.
15778 if test "${enable_gif+set}" = set; then
15779 enableval=$enable_gif;
15780 if test "$enableval" = yes; then
15781 wx_cv_use_gif='wxUSE_GIF=yes'
15782 else
15783 wx_cv_use_gif='wxUSE_GIF=no'
15784 fi
15785 cache=yes
15786
15787 else
15788
15789 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15790 if test "x$LINE" != x ; then
15791 eval "DEFAULT_$LINE"
15792 cache=yes
15793 else
15794 cache=no
15795 fi
15796
15797 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15798
15799 fi
15800
15801
15802 eval "$wx_cv_use_gif"
15803 if test "x$cache" = xyes; then
15804 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15805 fi
15806
15807 if test x"$enablestring" = xdisable; then
15808 if test $wxUSE_GIF = yes; then
15809 result=no
15810 else
15811 result=yes
15812 fi
15813 else
15814 result=$wxUSE_GIF
15815 fi
15816
15817 { echo "$as_me:$LINENO: result: $result" >&5
15818 echo "${ECHO_T}$result" >&6; }
15819
15820
15821 enablestring=
15822 defaultval=$wxUSE_ALL_FEATURES
15823 if test -z "$defaultval"; then
15824 if test x"$enablestring" = xdisable; then
15825 defaultval=yes
15826 else
15827 defaultval=no
15828 fi
15829 fi
15830
15831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15832 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15833 # Check whether --enable-pcx was given.
15834 if test "${enable_pcx+set}" = set; then
15835 enableval=$enable_pcx;
15836 if test "$enableval" = yes; then
15837 wx_cv_use_pcx='wxUSE_PCX=yes'
15838 else
15839 wx_cv_use_pcx='wxUSE_PCX=no'
15840 fi
15841 cache=yes
15842
15843 else
15844
15845 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15846 if test "x$LINE" != x ; then
15847 eval "DEFAULT_$LINE"
15848 cache=yes
15849 else
15850 cache=no
15851 fi
15852
15853 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15854
15855 fi
15856
15857
15858 eval "$wx_cv_use_pcx"
15859 if test "x$cache" = xyes; then
15860 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15861 fi
15862
15863 if test x"$enablestring" = xdisable; then
15864 if test $wxUSE_PCX = yes; then
15865 result=no
15866 else
15867 result=yes
15868 fi
15869 else
15870 result=$wxUSE_PCX
15871 fi
15872
15873 { echo "$as_me:$LINENO: result: $result" >&5
15874 echo "${ECHO_T}$result" >&6; }
15875
15876
15877 enablestring=
15878 defaultval=$wxUSE_ALL_FEATURES
15879 if test -z "$defaultval"; then
15880 if test x"$enablestring" = xdisable; then
15881 defaultval=yes
15882 else
15883 defaultval=no
15884 fi
15885 fi
15886
15887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15888 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15889 # Check whether --enable-tga was given.
15890 if test "${enable_tga+set}" = set; then
15891 enableval=$enable_tga;
15892 if test "$enableval" = yes; then
15893 wx_cv_use_tga='wxUSE_TGA=yes'
15894 else
15895 wx_cv_use_tga='wxUSE_TGA=no'
15896 fi
15897 cache=yes
15898
15899 else
15900
15901 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15902 if test "x$LINE" != x ; then
15903 eval "DEFAULT_$LINE"
15904 cache=yes
15905 else
15906 cache=no
15907 fi
15908
15909 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15910
15911 fi
15912
15913
15914 eval "$wx_cv_use_tga"
15915 if test "x$cache" = xyes; then
15916 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15917 fi
15918
15919 if test x"$enablestring" = xdisable; then
15920 if test $wxUSE_TGA = yes; then
15921 result=no
15922 else
15923 result=yes
15924 fi
15925 else
15926 result=$wxUSE_TGA
15927 fi
15928
15929 { echo "$as_me:$LINENO: result: $result" >&5
15930 echo "${ECHO_T}$result" >&6; }
15931
15932
15933 enablestring=
15934 defaultval=$wxUSE_ALL_FEATURES
15935 if test -z "$defaultval"; then
15936 if test x"$enablestring" = xdisable; then
15937 defaultval=yes
15938 else
15939 defaultval=no
15940 fi
15941 fi
15942
15943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15944 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15945 # Check whether --enable-iff was given.
15946 if test "${enable_iff+set}" = set; then
15947 enableval=$enable_iff;
15948 if test "$enableval" = yes; then
15949 wx_cv_use_iff='wxUSE_IFF=yes'
15950 else
15951 wx_cv_use_iff='wxUSE_IFF=no'
15952 fi
15953 cache=yes
15954
15955 else
15956
15957 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15958 if test "x$LINE" != x ; then
15959 eval "DEFAULT_$LINE"
15960 cache=yes
15961 else
15962 cache=no
15963 fi
15964
15965 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15966
15967 fi
15968
15969
15970 eval "$wx_cv_use_iff"
15971 if test "x$cache" = xyes; then
15972 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15973 fi
15974
15975 if test x"$enablestring" = xdisable; then
15976 if test $wxUSE_IFF = yes; then
15977 result=no
15978 else
15979 result=yes
15980 fi
15981 else
15982 result=$wxUSE_IFF
15983 fi
15984
15985 { echo "$as_me:$LINENO: result: $result" >&5
15986 echo "${ECHO_T}$result" >&6; }
15987
15988
15989 enablestring=
15990 defaultval=$wxUSE_ALL_FEATURES
15991 if test -z "$defaultval"; then
15992 if test x"$enablestring" = xdisable; then
15993 defaultval=yes
15994 else
15995 defaultval=no
15996 fi
15997 fi
15998
15999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16000 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16001 # Check whether --enable-pnm was given.
16002 if test "${enable_pnm+set}" = set; then
16003 enableval=$enable_pnm;
16004 if test "$enableval" = yes; then
16005 wx_cv_use_pnm='wxUSE_PNM=yes'
16006 else
16007 wx_cv_use_pnm='wxUSE_PNM=no'
16008 fi
16009 cache=yes
16010
16011 else
16012
16013 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16014 if test "x$LINE" != x ; then
16015 eval "DEFAULT_$LINE"
16016 cache=yes
16017 else
16018 cache=no
16019 fi
16020
16021 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16022
16023 fi
16024
16025
16026 eval "$wx_cv_use_pnm"
16027 if test "x$cache" = xyes; then
16028 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16029 fi
16030
16031 if test x"$enablestring" = xdisable; then
16032 if test $wxUSE_PNM = yes; then
16033 result=no
16034 else
16035 result=yes
16036 fi
16037 else
16038 result=$wxUSE_PNM
16039 fi
16040
16041 { echo "$as_me:$LINENO: result: $result" >&5
16042 echo "${ECHO_T}$result" >&6; }
16043
16044
16045 enablestring=
16046 defaultval=$wxUSE_ALL_FEATURES
16047 if test -z "$defaultval"; then
16048 if test x"$enablestring" = xdisable; then
16049 defaultval=yes
16050 else
16051 defaultval=no
16052 fi
16053 fi
16054
16055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16056 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16057 # Check whether --enable-xpm was given.
16058 if test "${enable_xpm+set}" = set; then
16059 enableval=$enable_xpm;
16060 if test "$enableval" = yes; then
16061 wx_cv_use_xpm='wxUSE_XPM=yes'
16062 else
16063 wx_cv_use_xpm='wxUSE_XPM=no'
16064 fi
16065 cache=yes
16066
16067 else
16068
16069 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16070 if test "x$LINE" != x ; then
16071 eval "DEFAULT_$LINE"
16072 cache=yes
16073 else
16074 cache=no
16075 fi
16076
16077 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16078
16079 fi
16080
16081
16082 eval "$wx_cv_use_xpm"
16083 if test "x$cache" = xyes; then
16084 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16085 fi
16086
16087 if test x"$enablestring" = xdisable; then
16088 if test $wxUSE_XPM = yes; then
16089 result=no
16090 else
16091 result=yes
16092 fi
16093 else
16094 result=$wxUSE_XPM
16095 fi
16096
16097 { echo "$as_me:$LINENO: result: $result" >&5
16098 echo "${ECHO_T}$result" >&6; }
16099
16100
16101 enablestring=
16102 defaultval=$wxUSE_ALL_FEATURES
16103 if test -z "$defaultval"; then
16104 if test x"$enablestring" = xdisable; then
16105 defaultval=yes
16106 else
16107 defaultval=no
16108 fi
16109 fi
16110
16111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16112 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16113 # Check whether --enable-ico_cur was given.
16114 if test "${enable_ico_cur+set}" = set; then
16115 enableval=$enable_ico_cur;
16116 if test "$enableval" = yes; then
16117 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16118 else
16119 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16120 fi
16121 cache=yes
16122
16123 else
16124
16125 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16126 if test "x$LINE" != x ; then
16127 eval "DEFAULT_$LINE"
16128 cache=yes
16129 else
16130 cache=no
16131 fi
16132
16133 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16134
16135 fi
16136
16137
16138 eval "$wx_cv_use_ico_cur"
16139 if test "x$cache" = xyes; then
16140 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16141 fi
16142
16143 if test x"$enablestring" = xdisable; then
16144 if test $wxUSE_ICO_CUR = yes; then
16145 result=no
16146 else
16147 result=yes
16148 fi
16149 else
16150 result=$wxUSE_ICO_CUR
16151 fi
16152
16153 { echo "$as_me:$LINENO: result: $result" >&5
16154 echo "${ECHO_T}$result" >&6; }
16155
16156
16157
16158
16159 enablestring=
16160 defaultval=$wxUSE_ALL_FEATURES
16161 if test -z "$defaultval"; then
16162 if test x"$enablestring" = xdisable; then
16163 defaultval=yes
16164 else
16165 defaultval=no
16166 fi
16167 fi
16168
16169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16170 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16171 # Check whether --enable-dccache was given.
16172 if test "${enable_dccache+set}" = set; then
16173 enableval=$enable_dccache;
16174 if test "$enableval" = yes; then
16175 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16176 else
16177 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16178 fi
16179 cache=yes
16180
16181 else
16182
16183 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16184 if test "x$LINE" != x ; then
16185 eval "DEFAULT_$LINE"
16186 cache=yes
16187 else
16188 cache=no
16189 fi
16190
16191 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16192
16193 fi
16194
16195
16196 eval "$wx_cv_use_dccache"
16197 if test "x$cache" = xyes; then
16198 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16199 fi
16200
16201 if test x"$enablestring" = xdisable; then
16202 if test $wxUSE_DC_CACHEING = yes; then
16203 result=no
16204 else
16205 result=yes
16206 fi
16207 else
16208 result=$wxUSE_DC_CACHEING
16209 fi
16210
16211 { echo "$as_me:$LINENO: result: $result" >&5
16212 echo "${ECHO_T}$result" >&6; }
16213
16214
16215 enablestring=
16216 defaultval=$wxUSE_ALL_FEATURES
16217 if test -z "$defaultval"; then
16218 if test x"$enablestring" = xdisable; then
16219 defaultval=yes
16220 else
16221 defaultval=no
16222 fi
16223 fi
16224
16225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16226 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16227 # Check whether --enable-ps-in-msw was given.
16228 if test "${enable_ps_in_msw+set}" = set; then
16229 enableval=$enable_ps_in_msw;
16230 if test "$enableval" = yes; then
16231 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16232 else
16233 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16234 fi
16235 cache=yes
16236
16237 else
16238
16239 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16240 if test "x$LINE" != x ; then
16241 eval "DEFAULT_$LINE"
16242 cache=yes
16243 else
16244 cache=no
16245 fi
16246
16247 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16248
16249 fi
16250
16251
16252 eval "$wx_cv_use_ps_in_msw"
16253 if test "x$cache" = xyes; then
16254 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16255 fi
16256
16257 if test x"$enablestring" = xdisable; then
16258 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16259 result=no
16260 else
16261 result=yes
16262 fi
16263 else
16264 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16265 fi
16266
16267 { echo "$as_me:$LINENO: result: $result" >&5
16268 echo "${ECHO_T}$result" >&6; }
16269
16270
16271 enablestring=
16272 defaultval=$wxUSE_ALL_FEATURES
16273 if test -z "$defaultval"; then
16274 if test x"$enablestring" = xdisable; then
16275 defaultval=yes
16276 else
16277 defaultval=no
16278 fi
16279 fi
16280
16281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16282 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16283 # Check whether --enable-ownerdrawn was given.
16284 if test "${enable_ownerdrawn+set}" = set; then
16285 enableval=$enable_ownerdrawn;
16286 if test "$enableval" = yes; then
16287 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16288 else
16289 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16290 fi
16291 cache=yes
16292
16293 else
16294
16295 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16296 if test "x$LINE" != x ; then
16297 eval "DEFAULT_$LINE"
16298 cache=yes
16299 else
16300 cache=no
16301 fi
16302
16303 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16304
16305 fi
16306
16307
16308 eval "$wx_cv_use_ownerdrawn"
16309 if test "x$cache" = xyes; then
16310 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16311 fi
16312
16313 if test x"$enablestring" = xdisable; then
16314 if test $wxUSE_OWNER_DRAWN = yes; then
16315 result=no
16316 else
16317 result=yes
16318 fi
16319 else
16320 result=$wxUSE_OWNER_DRAWN
16321 fi
16322
16323 { echo "$as_me:$LINENO: result: $result" >&5
16324 echo "${ECHO_T}$result" >&6; }
16325
16326
16327 enablestring=
16328 defaultval=$wxUSE_ALL_FEATURES
16329 if test -z "$defaultval"; then
16330 if test x"$enablestring" = xdisable; then
16331 defaultval=yes
16332 else
16333 defaultval=no
16334 fi
16335 fi
16336
16337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16338 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16339 # Check whether --enable-uxtheme was given.
16340 if test "${enable_uxtheme+set}" = set; then
16341 enableval=$enable_uxtheme;
16342 if test "$enableval" = yes; then
16343 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16344 else
16345 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16346 fi
16347 cache=yes
16348
16349 else
16350
16351 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16352 if test "x$LINE" != x ; then
16353 eval "DEFAULT_$LINE"
16354 cache=yes
16355 else
16356 cache=no
16357 fi
16358
16359 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16360
16361 fi
16362
16363
16364 eval "$wx_cv_use_uxtheme"
16365 if test "x$cache" = xyes; then
16366 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16367 fi
16368
16369 if test x"$enablestring" = xdisable; then
16370 if test $wxUSE_UXTHEME = yes; then
16371 result=no
16372 else
16373 result=yes
16374 fi
16375 else
16376 result=$wxUSE_UXTHEME
16377 fi
16378
16379 { echo "$as_me:$LINENO: result: $result" >&5
16380 echo "${ECHO_T}$result" >&6; }
16381
16382
16383 enablestring=
16384 defaultval=$wxUSE_ALL_FEATURES
16385 if test -z "$defaultval"; then
16386 if test x"$enablestring" = xdisable; then
16387 defaultval=yes
16388 else
16389 defaultval=no
16390 fi
16391 fi
16392
16393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16394 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16395 # Check whether --enable-wxdib was given.
16396 if test "${enable_wxdib+set}" = set; then
16397 enableval=$enable_wxdib;
16398 if test "$enableval" = yes; then
16399 wx_cv_use_wxdib='wxUSE_DIB=yes'
16400 else
16401 wx_cv_use_wxdib='wxUSE_DIB=no'
16402 fi
16403 cache=yes
16404
16405 else
16406
16407 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16408 if test "x$LINE" != x ; then
16409 eval "DEFAULT_$LINE"
16410 cache=yes
16411 else
16412 cache=no
16413 fi
16414
16415 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16416
16417 fi
16418
16419
16420 eval "$wx_cv_use_wxdib"
16421 if test "x$cache" = xyes; then
16422 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16423 fi
16424
16425 if test x"$enablestring" = xdisable; then
16426 if test $wxUSE_DIB = yes; then
16427 result=no
16428 else
16429 result=yes
16430 fi
16431 else
16432 result=$wxUSE_DIB
16433 fi
16434
16435 { echo "$as_me:$LINENO: result: $result" >&5
16436 echo "${ECHO_T}$result" >&6; }
16437
16438
16439 fi
16440
16441
16442 echo "saving argument cache $wx_arg_cache_file"
16443 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16444
16445
16446
16447 { echo "$as_me:$LINENO: checking for toolkit" >&5
16448 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16449
16450 # In Wine, we need to default to MSW, not GTK or MOTIF
16451 if test "$wxUSE_WINE" = "yes"; then
16452 DEFAULT_DEFAULT_wxUSE_GTK=0
16453 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16454 DEFAULT_DEFAULT_wxUSE_MSW=1
16455 wxUSE_SHARED=no
16456 CC=${CC:-winegcc}
16457 CXX=${CXX:-wineg++}
16458 fi
16459
16460
16461 if test "$wxUSE_GUI" = "yes"; then
16462
16463 if test "$USE_BEOS" = 1; then
16464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16466 { (exit 1); exit 1; }; }
16467 fi
16468
16469 if test "$TOOLKIT_GIVEN" = 1; then
16470 for toolkit in `echo $ALL_TOOLKITS`; do
16471 var=wxUSE_$toolkit
16472 eval "value=\$${var}"
16473 if test "x$value" = "xno"; then
16474 eval "$var=0"
16475 elif test "x$value" != "x"; then
16476 eval "$var=1"
16477 fi
16478
16479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16480 eval "wx${toolkit}_VERSION=$value"
16481 fi
16482 done
16483 else
16484 for toolkit in `echo $ALL_TOOLKITS`; do
16485 if test "$has_toolkit_in_cache" != 1; then
16486 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16487 else
16488 var=DEFAULT_wxUSE_$toolkit
16489
16490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16491 if test "x$version" != "x"; then
16492 eval "wx${toolkit}_VERSION=$version"
16493 fi
16494 fi
16495 eval "wxUSE_$toolkit=\$${var}"
16496 done
16497 fi
16498
16499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16500 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16502
16503 case "${host}" in
16504 *-pc-os2_emx | *-pc-os2-emx )
16505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16506 esac
16507
16508 case "$NUM_TOOLKITS" in
16509 1)
16510 ;;
16511 0)
16512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16514 { (exit 1); exit 1; }; }
16515 ;;
16516 *)
16517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16519 { (exit 1); exit 1; }; }
16520 esac
16521
16522 # to be removed when --disable-gtk2 isn't needed
16523 if test "x$wxUSE_GTK2" = "xyes"; then
16524 wxGTK_VERSION=2
16525 elif test "x$wxUSE_GTK2" = "xno"; then
16526 wxGTK_VERSION=1
16527 fi
16528
16529 for toolkit in `echo $ALL_TOOLKITS`; do
16530 var=wxUSE_$toolkit
16531 eval "value=\$${var}"
16532 if test "x$value" != x; then
16533 cache_var=CACHE_$toolkit
16534 eval "cache=\$${cache_var}"
16535 if test "$cache" = 1; then
16536 echo "$var=$value" >> ${wx_arg_cache_file}
16537 eval "version=\$wx${toolkit}_VERSION"
16538 if test "x$version" != "x"; then
16539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16540 fi
16541 fi
16542 if test "$value" = 1; then
16543 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16544 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16545 echo "${ECHO_T}$toolkit_echo" >&6; }
16546 fi
16547 fi
16548 done
16549 else
16550 if test "x$host_alias" != "x"; then
16551 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16552 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16553 else
16554 { echo "$as_me:$LINENO: result: base only" >&5
16555 echo "${ECHO_T}base only" >&6; }
16556 fi
16557 fi
16558
16559
16560 cat >confcache <<\_ACEOF
16561 # This file is a shell script that caches the results of configure
16562 # tests run on this system so they can be shared between configure
16563 # scripts and configure runs, see configure's option --config-cache.
16564 # It is not useful on other systems. If it contains results you don't
16565 # want to keep, you may remove or edit it.
16566 #
16567 # config.status only pays attention to the cache file if you give it
16568 # the --recheck option to rerun configure.
16569 #
16570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16572 # following values.
16573
16574 _ACEOF
16575
16576 # The following way of writing the cache mishandles newlines in values,
16577 # but we know of no workaround that is simple, portable, and efficient.
16578 # So, we kill variables containing newlines.
16579 # Ultrix sh set writes to stderr and can't be redirected directly,
16580 # and sets the high bit in the cache file unless we assign to the vars.
16581 (
16582 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16583 eval ac_val=\$$ac_var
16584 case $ac_val in #(
16585 *${as_nl}*)
16586 case $ac_var in #(
16587 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16588 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16589 esac
16590 case $ac_var in #(
16591 _ | IFS | as_nl) ;; #(
16592 *) $as_unset $ac_var ;;
16593 esac ;;
16594 esac
16595 done
16596
16597 (set) 2>&1 |
16598 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16599 *${as_nl}ac_space=\ *)
16600 # `set' does not quote correctly, so add quotes (double-quote
16601 # substitution turns \\\\ into \\, and sed turns \\ into \).
16602 sed -n \
16603 "s/'/'\\\\''/g;
16604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16605 ;; #(
16606 *)
16607 # `set' quotes correctly as required by POSIX, so do not add quotes.
16608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16609 ;;
16610 esac |
16611 sort
16612 ) |
16613 sed '
16614 /^ac_cv_env_/b end
16615 t clear
16616 :clear
16617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16618 t end
16619 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16620 :end' >>confcache
16621 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16622 if test -w "$cache_file"; then
16623 test "x$cache_file" != "x/dev/null" &&
16624 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16625 echo "$as_me: updating cache $cache_file" >&6;}
16626 cat confcache >$cache_file
16627 else
16628 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16629 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16630 fi
16631 fi
16632 rm -f confcache
16633
16634 CFLAGS=${CFLAGS:=}
16635
16636
16637
16638 ac_ext=c
16639 ac_cpp='$CPP $CPPFLAGS'
16640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16643 if test -n "$ac_tool_prefix"; then
16644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16648 if test "${ac_cv_prog_CC+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 else
16651 if test -n "$CC"; then
16652 ac_cv_prog_CC="$CC" # Let the user override the test.
16653 else
16654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16655 for as_dir in $PATH
16656 do
16657 IFS=$as_save_IFS
16658 test -z "$as_dir" && as_dir=.
16659 for ac_exec_ext in '' $ac_executable_extensions; do
16660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16661 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16663 break 2
16664 fi
16665 done
16666 done
16667 IFS=$as_save_IFS
16668
16669 fi
16670 fi
16671 CC=$ac_cv_prog_CC
16672 if test -n "$CC"; then
16673 { echo "$as_me:$LINENO: result: $CC" >&5
16674 echo "${ECHO_T}$CC" >&6; }
16675 else
16676 { echo "$as_me:$LINENO: result: no" >&5
16677 echo "${ECHO_T}no" >&6; }
16678 fi
16679
16680
16681 fi
16682 if test -z "$ac_cv_prog_CC"; then
16683 ac_ct_CC=$CC
16684 # Extract the first word of "gcc", so it can be a program name with args.
16685 set dummy gcc; ac_word=$2
16686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 else
16691 if test -n "$ac_ct_CC"; then
16692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16693 else
16694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16695 for as_dir in $PATH
16696 do
16697 IFS=$as_save_IFS
16698 test -z "$as_dir" && as_dir=.
16699 for ac_exec_ext in '' $ac_executable_extensions; do
16700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16701 ac_cv_prog_ac_ct_CC="gcc"
16702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16703 break 2
16704 fi
16705 done
16706 done
16707 IFS=$as_save_IFS
16708
16709 fi
16710 fi
16711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16712 if test -n "$ac_ct_CC"; then
16713 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16714 echo "${ECHO_T}$ac_ct_CC" >&6; }
16715 else
16716 { echo "$as_me:$LINENO: result: no" >&5
16717 echo "${ECHO_T}no" >&6; }
16718 fi
16719
16720 if test "x$ac_ct_CC" = x; then
16721 CC=""
16722 else
16723 case $cross_compiling:$ac_tool_warned in
16724 yes:)
16725 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16726 whose name does not start with the host triplet. If you think this
16727 configuration is useful to you, please write to autoconf@gnu.org." >&5
16728 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16729 whose name does not start with the host triplet. If you think this
16730 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16731 ac_tool_warned=yes ;;
16732 esac
16733 CC=$ac_ct_CC
16734 fi
16735 else
16736 CC="$ac_cv_prog_CC"
16737 fi
16738
16739 if test -z "$CC"; then
16740 if test -n "$ac_tool_prefix"; then
16741 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16742 set dummy ${ac_tool_prefix}cc; ac_word=$2
16743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16745 if test "${ac_cv_prog_CC+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 else
16748 if test -n "$CC"; then
16749 ac_cv_prog_CC="$CC" # Let the user override the test.
16750 else
16751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16752 for as_dir in $PATH
16753 do
16754 IFS=$as_save_IFS
16755 test -z "$as_dir" && as_dir=.
16756 for ac_exec_ext in '' $ac_executable_extensions; do
16757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16758 ac_cv_prog_CC="${ac_tool_prefix}cc"
16759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16760 break 2
16761 fi
16762 done
16763 done
16764 IFS=$as_save_IFS
16765
16766 fi
16767 fi
16768 CC=$ac_cv_prog_CC
16769 if test -n "$CC"; then
16770 { echo "$as_me:$LINENO: result: $CC" >&5
16771 echo "${ECHO_T}$CC" >&6; }
16772 else
16773 { echo "$as_me:$LINENO: result: no" >&5
16774 echo "${ECHO_T}no" >&6; }
16775 fi
16776
16777
16778 fi
16779 fi
16780 if test -z "$CC"; then
16781 # Extract the first word of "cc", so it can be a program name with args.
16782 set dummy cc; ac_word=$2
16783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16785 if test "${ac_cv_prog_CC+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 else
16788 if test -n "$CC"; then
16789 ac_cv_prog_CC="$CC" # Let the user override the test.
16790 else
16791 ac_prog_rejected=no
16792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16793 for as_dir in $PATH
16794 do
16795 IFS=$as_save_IFS
16796 test -z "$as_dir" && as_dir=.
16797 for ac_exec_ext in '' $ac_executable_extensions; do
16798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16799 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16800 ac_prog_rejected=yes
16801 continue
16802 fi
16803 ac_cv_prog_CC="cc"
16804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16805 break 2
16806 fi
16807 done
16808 done
16809 IFS=$as_save_IFS
16810
16811 if test $ac_prog_rejected = yes; then
16812 # We found a bogon in the path, so make sure we never use it.
16813 set dummy $ac_cv_prog_CC
16814 shift
16815 if test $# != 0; then
16816 # We chose a different compiler from the bogus one.
16817 # However, it has the same basename, so the bogon will be chosen
16818 # first if we set CC to just the basename; use the full file name.
16819 shift
16820 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16821 fi
16822 fi
16823 fi
16824 fi
16825 CC=$ac_cv_prog_CC
16826 if test -n "$CC"; then
16827 { echo "$as_me:$LINENO: result: $CC" >&5
16828 echo "${ECHO_T}$CC" >&6; }
16829 else
16830 { echo "$as_me:$LINENO: result: no" >&5
16831 echo "${ECHO_T}no" >&6; }
16832 fi
16833
16834
16835 fi
16836 if test -z "$CC"; then
16837 if test -n "$ac_tool_prefix"; then
16838 for ac_prog in cl.exe
16839 do
16840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16844 if test "${ac_cv_prog_CC+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 else
16847 if test -n "$CC"; then
16848 ac_cv_prog_CC="$CC" # Let the user override the test.
16849 else
16850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16851 for as_dir in $PATH
16852 do
16853 IFS=$as_save_IFS
16854 test -z "$as_dir" && as_dir=.
16855 for ac_exec_ext in '' $ac_executable_extensions; do
16856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16857 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16859 break 2
16860 fi
16861 done
16862 done
16863 IFS=$as_save_IFS
16864
16865 fi
16866 fi
16867 CC=$ac_cv_prog_CC
16868 if test -n "$CC"; then
16869 { echo "$as_me:$LINENO: result: $CC" >&5
16870 echo "${ECHO_T}$CC" >&6; }
16871 else
16872 { echo "$as_me:$LINENO: result: no" >&5
16873 echo "${ECHO_T}no" >&6; }
16874 fi
16875
16876
16877 test -n "$CC" && break
16878 done
16879 fi
16880 if test -z "$CC"; then
16881 ac_ct_CC=$CC
16882 for ac_prog in cl.exe
16883 do
16884 # Extract the first word of "$ac_prog", so it can be a program name with args.
16885 set dummy $ac_prog; ac_word=$2
16886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 else
16891 if test -n "$ac_ct_CC"; then
16892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16893 else
16894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16895 for as_dir in $PATH
16896 do
16897 IFS=$as_save_IFS
16898 test -z "$as_dir" && as_dir=.
16899 for ac_exec_ext in '' $ac_executable_extensions; do
16900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16901 ac_cv_prog_ac_ct_CC="$ac_prog"
16902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16903 break 2
16904 fi
16905 done
16906 done
16907 IFS=$as_save_IFS
16908
16909 fi
16910 fi
16911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16912 if test -n "$ac_ct_CC"; then
16913 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16914 echo "${ECHO_T}$ac_ct_CC" >&6; }
16915 else
16916 { echo "$as_me:$LINENO: result: no" >&5
16917 echo "${ECHO_T}no" >&6; }
16918 fi
16919
16920
16921 test -n "$ac_ct_CC" && break
16922 done
16923
16924 if test "x$ac_ct_CC" = x; then
16925 CC=""
16926 else
16927 case $cross_compiling:$ac_tool_warned in
16928 yes:)
16929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16930 whose name does not start with the host triplet. If you think this
16931 configuration is useful to you, please write to autoconf@gnu.org." >&5
16932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16933 whose name does not start with the host triplet. If you think this
16934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16935 ac_tool_warned=yes ;;
16936 esac
16937 CC=$ac_ct_CC
16938 fi
16939 fi
16940
16941 fi
16942
16943
16944 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16945 See \`config.log' for more details." >&5
16946 echo "$as_me: error: no acceptable C compiler found in \$PATH
16947 See \`config.log' for more details." >&2;}
16948 { (exit 1); exit 1; }; }
16949
16950 # Provide some information about the compiler.
16951 echo "$as_me:$LINENO: checking for C compiler version" >&5
16952 ac_compiler=`set X $ac_compile; echo $2`
16953 { (ac_try="$ac_compiler --version >&5"
16954 case "(($ac_try" in
16955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16956 *) ac_try_echo=$ac_try;;
16957 esac
16958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16959 (eval "$ac_compiler --version >&5") 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }
16963 { (ac_try="$ac_compiler -v >&5"
16964 case "(($ac_try" in
16965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16966 *) ac_try_echo=$ac_try;;
16967 esac
16968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16969 (eval "$ac_compiler -v >&5") 2>&5
16970 ac_status=$?
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }
16973 { (ac_try="$ac_compiler -V >&5"
16974 case "(($ac_try" in
16975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16976 *) ac_try_echo=$ac_try;;
16977 esac
16978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16979 (eval "$ac_compiler -V >&5") 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }
16983
16984 cat >conftest.$ac_ext <<_ACEOF
16985 /* confdefs.h. */
16986 _ACEOF
16987 cat confdefs.h >>conftest.$ac_ext
16988 cat >>conftest.$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16990
16991 int
16992 main ()
16993 {
16994
16995 ;
16996 return 0;
16997 }
16998 _ACEOF
16999 ac_clean_files_save=$ac_clean_files
17000 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17001 # Try to create an executable without -o first, disregard a.out.
17002 # It will help us diagnose broken compilers, and finding out an intuition
17003 # of exeext.
17004 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17005 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17006 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17007 #
17008 # List of possible output files, starting from the most likely.
17009 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17010 # only as a last resort. b.out is created by i960 compilers.
17011 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17012 #
17013 # The IRIX 6 linker writes into existing files which may not be
17014 # executable, retaining their permissions. Remove them first so a
17015 # subsequent execution test works.
17016 ac_rmfiles=
17017 for ac_file in $ac_files
17018 do
17019 case $ac_file in
17020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17021 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17022 esac
17023 done
17024 rm -f $ac_rmfiles
17025
17026 if { (ac_try="$ac_link_default"
17027 case "(($ac_try" in
17028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17029 *) ac_try_echo=$ac_try;;
17030 esac
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_link_default") 2>&5
17033 ac_status=$?
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; then
17036 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17037 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17038 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17039 # so that the user can short-circuit this test for compilers unknown to
17040 # Autoconf.
17041 for ac_file in $ac_files ''
17042 do
17043 test -f "$ac_file" || continue
17044 case $ac_file in
17045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17046 ;;
17047 [ab].out )
17048 # We found the default executable, but exeext='' is most
17049 # certainly right.
17050 break;;
17051 *.* )
17052 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17053 then :; else
17054 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17055 fi
17056 # We set ac_cv_exeext here because the later test for it is not
17057 # safe: cross compilers may not add the suffix if given an `-o'
17058 # argument, so we may need to know it at that point already.
17059 # Even if this section looks crufty: it has the advantage of
17060 # actually working.
17061 break;;
17062 * )
17063 break;;
17064 esac
17065 done
17066 test "$ac_cv_exeext" = no && ac_cv_exeext=
17067
17068 else
17069 ac_file=''
17070 fi
17071
17072 { echo "$as_me:$LINENO: result: $ac_file" >&5
17073 echo "${ECHO_T}$ac_file" >&6; }
17074 if test -z "$ac_file"; then
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.$ac_ext >&5
17077
17078 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17079 See \`config.log' for more details." >&5
17080 echo "$as_me: error: C compiler cannot create executables
17081 See \`config.log' for more details." >&2;}
17082 { (exit 77); exit 77; }; }
17083 fi
17084
17085 ac_exeext=$ac_cv_exeext
17086
17087 # Check that the compiler produces executables we can run. If not, either
17088 # the compiler is broken, or we cross compile.
17089 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17090 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17091 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17092 # If not cross compiling, check that we can run a simple program.
17093 if test "$cross_compiling" != yes; then
17094 if { ac_try='./$ac_file'
17095 { (case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17098 esac
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_try") 2>&5
17101 ac_status=$?
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; }; then
17104 cross_compiling=no
17105 else
17106 if test "$cross_compiling" = maybe; then
17107 cross_compiling=yes
17108 else
17109 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17110 If you meant to cross compile, use \`--host'.
17111 See \`config.log' for more details." >&5
17112 echo "$as_me: error: cannot run C compiled programs.
17113 If you meant to cross compile, use \`--host'.
17114 See \`config.log' for more details." >&2;}
17115 { (exit 1); exit 1; }; }
17116 fi
17117 fi
17118 fi
17119 { echo "$as_me:$LINENO: result: yes" >&5
17120 echo "${ECHO_T}yes" >&6; }
17121
17122 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17123 ac_clean_files=$ac_clean_files_save
17124 # Check that the compiler produces executables we can run. If not, either
17125 # the compiler is broken, or we cross compile.
17126 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17127 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17128 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17129 echo "${ECHO_T}$cross_compiling" >&6; }
17130
17131 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17132 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17133 if { (ac_try="$ac_link"
17134 case "(($ac_try" in
17135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17136 *) ac_try_echo=$ac_try;;
17137 esac
17138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17139 (eval "$ac_link") 2>&5
17140 ac_status=$?
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; then
17143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17145 # work properly (i.e., refer to `conftest.exe'), while it won't with
17146 # `rm'.
17147 for ac_file in conftest.exe conftest conftest.*; do
17148 test -f "$ac_file" || continue
17149 case $ac_file in
17150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17152 break;;
17153 * ) break;;
17154 esac
17155 done
17156 else
17157 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17158 See \`config.log' for more details." >&5
17159 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17160 See \`config.log' for more details." >&2;}
17161 { (exit 1); exit 1; }; }
17162 fi
17163
17164 rm -f conftest$ac_cv_exeext
17165 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17166 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17167
17168 rm -f conftest.$ac_ext
17169 EXEEXT=$ac_cv_exeext
17170 ac_exeext=$EXEEXT
17171 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17172 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17173 if test "${ac_cv_objext+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 else
17176 cat >conftest.$ac_ext <<_ACEOF
17177 /* confdefs.h. */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182
17183 int
17184 main ()
17185 {
17186
17187 ;
17188 return 0;
17189 }
17190 _ACEOF
17191 rm -f conftest.o conftest.obj
17192 if { (ac_try="$ac_compile"
17193 case "(($ac_try" in
17194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17195 *) ac_try_echo=$ac_try;;
17196 esac
17197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17198 (eval "$ac_compile") 2>&5
17199 ac_status=$?
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; then
17202 for ac_file in conftest.o conftest.obj conftest.*; do
17203 test -f "$ac_file" || continue;
17204 case $ac_file in
17205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17206 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17207 break;;
17208 esac
17209 done
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17213
17214 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17215 See \`config.log' for more details." >&5
17216 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17217 See \`config.log' for more details." >&2;}
17218 { (exit 1); exit 1; }; }
17219 fi
17220
17221 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17222 fi
17223 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17224 echo "${ECHO_T}$ac_cv_objext" >&6; }
17225 OBJEXT=$ac_cv_objext
17226 ac_objext=$OBJEXT
17227 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17228 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17229 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 else
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238
17239 int
17240 main ()
17241 {
17242 #ifndef __GNUC__
17243 choke me
17244 #endif
17245
17246 ;
17247 return 0;
17248 }
17249 _ACEOF
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17254 *) ac_try_echo=$ac_try;;
17255 esac
17256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17258 ac_status=$?
17259 grep -v '^ *+' conftest.er1 >conftest.err
17260 rm -f conftest.er1
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_c_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.$ac_objext; then
17267 ac_compiler_gnu=yes
17268 else
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17271
17272 ac_compiler_gnu=no
17273 fi
17274
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17277
17278 fi
17279 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17280 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17281 GCC=`test $ac_compiler_gnu = yes && echo yes`
17282 ac_test_CFLAGS=${CFLAGS+set}
17283 ac_save_CFLAGS=$CFLAGS
17284 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17285 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17286 if test "${ac_cv_prog_cc_g+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 else
17289 ac_save_c_werror_flag=$ac_c_werror_flag
17290 ac_c_werror_flag=yes
17291 ac_cv_prog_cc_g=no
17292 CFLAGS="-g"
17293 cat >conftest.$ac_ext <<_ACEOF
17294 /* confdefs.h. */
17295 _ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17299
17300 int
17301 main ()
17302 {
17303
17304 ;
17305 return 0;
17306 }
17307 _ACEOF
17308 rm -f conftest.$ac_objext
17309 if { (ac_try="$ac_compile"
17310 case "(($ac_try" in
17311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17312 *) ac_try_echo=$ac_try;;
17313 esac
17314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17315 (eval "$ac_compile") 2>conftest.er1
17316 ac_status=$?
17317 grep -v '^ *+' conftest.er1 >conftest.err
17318 rm -f conftest.er1
17319 cat conftest.err >&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); } && {
17322 test -z "$ac_c_werror_flag" ||
17323 test ! -s conftest.err
17324 } && test -s conftest.$ac_objext; then
17325 ac_cv_prog_cc_g=yes
17326 else
17327 echo "$as_me: failed program was:" >&5
17328 sed 's/^/| /' conftest.$ac_ext >&5
17329
17330 CFLAGS=""
17331 cat >conftest.$ac_ext <<_ACEOF
17332 /* confdefs.h. */
17333 _ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337
17338 int
17339 main ()
17340 {
17341
17342 ;
17343 return 0;
17344 }
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (ac_try="$ac_compile"
17348 case "(($ac_try" in
17349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17350 *) ac_try_echo=$ac_try;;
17351 esac
17352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17353 (eval "$ac_compile") 2>conftest.er1
17354 ac_status=$?
17355 grep -v '^ *+' conftest.er1 >conftest.err
17356 rm -f conftest.er1
17357 cat conftest.err >&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } && {
17360 test -z "$ac_c_werror_flag" ||
17361 test ! -s conftest.err
17362 } && test -s conftest.$ac_objext; then
17363 :
17364 else
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17367
17368 ac_c_werror_flag=$ac_save_c_werror_flag
17369 CFLAGS="-g"
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376
17377 int
17378 main ()
17379 {
17380
17381 ;
17382 return 0;
17383 }
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (ac_try="$ac_compile"
17387 case "(($ac_try" in
17388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17389 *) ac_try_echo=$ac_try;;
17390 esac
17391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17392 (eval "$ac_compile") 2>conftest.er1
17393 ac_status=$?
17394 grep -v '^ *+' conftest.er1 >conftest.err
17395 rm -f conftest.er1
17396 cat conftest.err >&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } && {
17399 test -z "$ac_c_werror_flag" ||
17400 test ! -s conftest.err
17401 } && test -s conftest.$ac_objext; then
17402 ac_cv_prog_cc_g=yes
17403 else
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.$ac_ext >&5
17406
17407
17408 fi
17409
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17411 fi
17412
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414 fi
17415
17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17417 ac_c_werror_flag=$ac_save_c_werror_flag
17418 fi
17419 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17420 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17421 if test "$ac_test_CFLAGS" = set; then
17422 CFLAGS=$ac_save_CFLAGS
17423 elif test $ac_cv_prog_cc_g = yes; then
17424 if test "$GCC" = yes; then
17425 CFLAGS="-g -O2"
17426 else
17427 CFLAGS="-g"
17428 fi
17429 else
17430 if test "$GCC" = yes; then
17431 CFLAGS="-O2"
17432 else
17433 CFLAGS=
17434 fi
17435 fi
17436 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17437 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17438 if test "${ac_cv_prog_cc_c89+set}" = set; then
17439 echo $ECHO_N "(cached) $ECHO_C" >&6
17440 else
17441 ac_cv_prog_cc_c89=no
17442 ac_save_CC=$CC
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 #include <stdarg.h>
17450 #include <stdio.h>
17451 #include <sys/types.h>
17452 #include <sys/stat.h>
17453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17454 struct buf { int x; };
17455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17456 static char *e (p, i)
17457 char **p;
17458 int i;
17459 {
17460 return p[i];
17461 }
17462 static char *f (char * (*g) (char **, int), char **p, ...)
17463 {
17464 char *s;
17465 va_list v;
17466 va_start (v,p);
17467 s = g (p, va_arg (v,int));
17468 va_end (v);
17469 return s;
17470 }
17471
17472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17473 function prototypes and stuff, but not '\xHH' hex character constants.
17474 These don't provoke an error unfortunately, instead are silently treated
17475 as 'x'. The following induces an error, until -std is added to get
17476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17477 array size at least. It's necessary to write '\x00'==0 to get something
17478 that's true only with -std. */
17479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17480
17481 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17482 inside strings and character constants. */
17483 #define FOO(x) 'x'
17484 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17485
17486 int test (int i, double x);
17487 struct s1 {int (*f) (int a);};
17488 struct s2 {int (*f) (double a);};
17489 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17490 int argc;
17491 char **argv;
17492 int
17493 main ()
17494 {
17495 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17496 ;
17497 return 0;
17498 }
17499 _ACEOF
17500 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17501 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17502 do
17503 CC="$ac_save_CC $ac_arg"
17504 rm -f conftest.$ac_objext
17505 if { (ac_try="$ac_compile"
17506 case "(($ac_try" in
17507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17508 *) ac_try_echo=$ac_try;;
17509 esac
17510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17511 (eval "$ac_compile") 2>conftest.er1
17512 ac_status=$?
17513 grep -v '^ *+' conftest.er1 >conftest.err
17514 rm -f conftest.er1
17515 cat conftest.err >&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } && {
17518 test -z "$ac_c_werror_flag" ||
17519 test ! -s conftest.err
17520 } && test -s conftest.$ac_objext; then
17521 ac_cv_prog_cc_c89=$ac_arg
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17525
17526
17527 fi
17528
17529 rm -f core conftest.err conftest.$ac_objext
17530 test "x$ac_cv_prog_cc_c89" != "xno" && break
17531 done
17532 rm -f conftest.$ac_ext
17533 CC=$ac_save_CC
17534
17535 fi
17536 # AC_CACHE_VAL
17537 case "x$ac_cv_prog_cc_c89" in
17538 x)
17539 { echo "$as_me:$LINENO: result: none needed" >&5
17540 echo "${ECHO_T}none needed" >&6; } ;;
17541 xno)
17542 { echo "$as_me:$LINENO: result: unsupported" >&5
17543 echo "${ECHO_T}unsupported" >&6; } ;;
17544 *)
17545 CC="$CC $ac_cv_prog_cc_c89"
17546 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17547 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17548 esac
17549
17550
17551 ac_ext=c
17552 ac_cpp='$CPP $CPPFLAGS'
17553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17556
17557
17558
17559
17560 ac_ext=c
17561 ac_cpp='$CPP $CPPFLAGS'
17562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17565
17566 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17567 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17568 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17570 else
17571 cat >conftest.$ac_ext <<_ACEOF
17572 /* confdefs.h. */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577
17578 int
17579 main ()
17580 {
17581
17582 #ifndef __INTEL_COMPILER
17583 choke me
17584 #endif
17585
17586 ;
17587 return 0;
17588 }
17589 _ACEOF
17590 rm -f conftest.$ac_objext
17591 if { (ac_try="$ac_compile"
17592 case "(($ac_try" in
17593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17594 *) ac_try_echo=$ac_try;;
17595 esac
17596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17597 (eval "$ac_compile") 2>conftest.er1
17598 ac_status=$?
17599 grep -v '^ *+' conftest.er1 >conftest.err
17600 rm -f conftest.er1
17601 cat conftest.err >&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } && {
17604 test -z "$ac_c_werror_flag" ||
17605 test ! -s conftest.err
17606 } && test -s conftest.$ac_objext; then
17607 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17608 else
17609 echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17611
17612 bakefile_cv_c_compiler___INTEL_COMPILER=no
17613
17614 fi
17615
17616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617
17618
17619 fi
17620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17621 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17622 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17623 :; INTELCC=yes
17624 else
17625 :;
17626 fi
17627 ac_ext=c
17628 ac_cpp='$CPP $CPPFLAGS'
17629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17632
17633
17634
17635
17636 if test "x$GCC" != "xyes"; then
17637 if test "xCC" = "xC"; then
17638 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17639 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17640 if test "${bakefile_cv_c_exto+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649
17650 int
17651 main ()
17652 {
17653
17654 ;
17655 return 0;
17656 }
17657 _ACEOF
17658 rm -f conftest.$ac_objext conftest.$ac_ext.o
17659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17660 (eval $ac_compile) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; then
17664 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17665 case $ac_file in
17666 conftest.$ac_ext.o)
17667 bakefile_cv_c_exto="-ext o"
17668 ;;
17669 *)
17670 ;;
17671 esac
17672 done
17673 else
17674 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17675 See \`config.log' for more details." >&5
17676 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17677 See \`config.log' for more details." >&2;}
17678 { (exit 1); exit 1; }; }
17679
17680 fi
17681
17682 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17683
17684 fi
17685 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17686 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17687 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17688 if test "c" = "c"; then
17689 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17690 fi
17691 if test "c" = "cxx"; then
17692 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17693 fi
17694 fi
17695
17696 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17697 unset ac_cv_prog_cc_g
17698 ac_test_CFLAGS=${CFLAGS+set}
17699 ac_save_CFLAGS=$CFLAGS
17700 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17701 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17702 if test "${ac_cv_prog_cc_g+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 else
17705 ac_save_c_werror_flag=$ac_c_werror_flag
17706 ac_c_werror_flag=yes
17707 ac_cv_prog_cc_g=no
17708 CFLAGS="-g"
17709 cat >conftest.$ac_ext <<_ACEOF
17710 /* confdefs.h. */
17711 _ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715
17716 int
17717 main ()
17718 {
17719
17720 ;
17721 return 0;
17722 }
17723 _ACEOF
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17729 esac
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_c_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest.$ac_objext; then
17741 ac_cv_prog_cc_g=yes
17742 else
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.$ac_ext >&5
17745
17746 CFLAGS=""
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753
17754 int
17755 main ()
17756 {
17757
17758 ;
17759 return 0;
17760 }
17761 _ACEOF
17762 rm -f conftest.$ac_objext
17763 if { (ac_try="$ac_compile"
17764 case "(($ac_try" in
17765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17766 *) ac_try_echo=$ac_try;;
17767 esac
17768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17769 (eval "$ac_compile") 2>conftest.er1
17770 ac_status=$?
17771 grep -v '^ *+' conftest.er1 >conftest.err
17772 rm -f conftest.er1
17773 cat conftest.err >&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); } && {
17776 test -z "$ac_c_werror_flag" ||
17777 test ! -s conftest.err
17778 } && test -s conftest.$ac_objext; then
17779 :
17780 else
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.$ac_ext >&5
17783
17784 ac_c_werror_flag=$ac_save_c_werror_flag
17785 CFLAGS="-g"
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792
17793 int
17794 main ()
17795 {
17796
17797 ;
17798 return 0;
17799 }
17800 _ACEOF
17801 rm -f conftest.$ac_objext
17802 if { (ac_try="$ac_compile"
17803 case "(($ac_try" in
17804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17805 *) ac_try_echo=$ac_try;;
17806 esac
17807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17808 (eval "$ac_compile") 2>conftest.er1
17809 ac_status=$?
17810 grep -v '^ *+' conftest.er1 >conftest.err
17811 rm -f conftest.er1
17812 cat conftest.err >&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); } && {
17815 test -z "$ac_c_werror_flag" ||
17816 test ! -s conftest.err
17817 } && test -s conftest.$ac_objext; then
17818 ac_cv_prog_cc_g=yes
17819 else
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.$ac_ext >&5
17822
17823
17824 fi
17825
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 fi
17828
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 fi
17831
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 ac_c_werror_flag=$ac_save_c_werror_flag
17834 fi
17835 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17836 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17837 if test "$ac_test_CFLAGS" = set; then
17838 CFLAGS=$ac_save_CFLAGS
17839 elif test $ac_cv_prog_cc_g = yes; then
17840 if test "$GCC" = yes; then
17841 CFLAGS="-g -O2"
17842 else
17843 CFLAGS="-g"
17844 fi
17845 else
17846 if test "$GCC" = yes; then
17847 CFLAGS="-O2"
17848 else
17849 CFLAGS=
17850 fi
17851 fi
17852 fi
17853 fi
17854
17855 case `uname -s` in
17856 AIX*)
17857
17858
17859 ac_ext=c
17860 ac_cpp='$CPP $CPPFLAGS'
17861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17864
17865 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17866 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17867 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 cat >conftest.$ac_ext <<_ACEOF
17871 /* confdefs.h. */
17872 _ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876
17877 int
17878 main ()
17879 {
17880
17881 #ifndef __xlC__
17882 choke me
17883 #endif
17884
17885 ;
17886 return 0;
17887 }
17888 _ACEOF
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17894 esac
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17897 ac_status=$?
17898 grep -v '^ *+' conftest.er1 >conftest.err
17899 rm -f conftest.er1
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_c_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.$ac_objext; then
17906 bakefile_cv_c_compiler___xlC__=yes
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17910
17911 bakefile_cv_c_compiler___xlC__=no
17912
17913 fi
17914
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916
17917
17918 fi
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17920 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17921 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17922 :; XLCC=yes
17923 else
17924 :;
17925 fi
17926 ac_ext=c
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17931
17932
17933
17934 ;;
17935
17936 Darwin)
17937
17938
17939 ac_ext=c
17940 ac_cpp='$CPP $CPPFLAGS'
17941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17944
17945 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17946 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17947 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17948 echo $ECHO_N "(cached) $ECHO_C" >&6
17949 else
17950 cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h. */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956
17957 int
17958 main ()
17959 {
17960
17961 #ifndef __MWERKS__
17962 choke me
17963 #endif
17964
17965 ;
17966 return 0;
17967 }
17968 _ACEOF
17969 rm -f conftest.$ac_objext
17970 if { (ac_try="$ac_compile"
17971 case "(($ac_try" in
17972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17973 *) ac_try_echo=$ac_try;;
17974 esac
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17976 (eval "$ac_compile") 2>conftest.er1
17977 ac_status=$?
17978 grep -v '^ *+' conftest.er1 >conftest.err
17979 rm -f conftest.er1
17980 cat conftest.err >&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } && {
17983 test -z "$ac_c_werror_flag" ||
17984 test ! -s conftest.err
17985 } && test -s conftest.$ac_objext; then
17986 bakefile_cv_c_compiler___MWERKS__=yes
17987 else
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17990
17991 bakefile_cv_c_compiler___MWERKS__=no
17992
17993 fi
17994
17995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17996
17997
17998 fi
17999 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18000 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18001 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18002 :; MWCC=yes
18003 else
18004 :;
18005 fi
18006 ac_ext=c
18007 ac_cpp='$CPP $CPPFLAGS'
18008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18011
18012
18013
18014
18015
18016 ac_ext=c
18017 ac_cpp='$CPP $CPPFLAGS'
18018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18021
18022 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18023 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18024 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 else
18027 cat >conftest.$ac_ext <<_ACEOF
18028 /* confdefs.h. */
18029 _ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033
18034 int
18035 main ()
18036 {
18037
18038 #ifndef __xlC__
18039 choke me
18040 #endif
18041
18042 ;
18043 return 0;
18044 }
18045 _ACEOF
18046 rm -f conftest.$ac_objext
18047 if { (ac_try="$ac_compile"
18048 case "(($ac_try" in
18049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18050 *) ac_try_echo=$ac_try;;
18051 esac
18052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18053 (eval "$ac_compile") 2>conftest.er1
18054 ac_status=$?
18055 grep -v '^ *+' conftest.er1 >conftest.err
18056 rm -f conftest.er1
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } && {
18060 test -z "$ac_c_werror_flag" ||
18061 test ! -s conftest.err
18062 } && test -s conftest.$ac_objext; then
18063 bakefile_cv_c_compiler___xlC__=yes
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 bakefile_cv_c_compiler___xlC__=no
18069
18070 fi
18071
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18073
18074
18075 fi
18076 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18077 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18078 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18079 :; XLCC=yes
18080 else
18081 :;
18082 fi
18083 ac_ext=c
18084 ac_cpp='$CPP $CPPFLAGS'
18085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18088
18089
18090
18091 ;;
18092
18093 IRIX*)
18094
18095
18096 ac_ext=c
18097 ac_cpp='$CPP $CPPFLAGS'
18098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18101
18102 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18103 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18104 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 else
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113
18114 int
18115 main ()
18116 {
18117
18118 #ifndef _SGI_COMPILER_VERSION
18119 choke me
18120 #endif
18121
18122 ;
18123 return 0;
18124 }
18125 _ACEOF
18126 rm -f conftest.$ac_objext
18127 if { (ac_try="$ac_compile"
18128 case "(($ac_try" in
18129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18130 *) ac_try_echo=$ac_try;;
18131 esac
18132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_compile") 2>conftest.er1
18134 ac_status=$?
18135 grep -v '^ *+' conftest.er1 >conftest.err
18136 rm -f conftest.er1
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest.$ac_objext; then
18143 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18144 else
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.$ac_ext >&5
18147
18148 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18149
18150 fi
18151
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153
18154
18155 fi
18156 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18157 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18158 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18159 :; SGICC=yes
18160 else
18161 :;
18162 fi
18163 ac_ext=c
18164 ac_cpp='$CPP $CPPFLAGS'
18165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18168
18169
18170
18171 ;;
18172
18173 Linux*)
18174
18175
18176 ac_ext=c
18177 ac_cpp='$CPP $CPPFLAGS'
18178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18181
18182 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18183 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18184 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18185 echo $ECHO_N "(cached) $ECHO_C" >&6
18186 else
18187 cat >conftest.$ac_ext <<_ACEOF
18188 /* confdefs.h. */
18189 _ACEOF
18190 cat confdefs.h >>conftest.$ac_ext
18191 cat >>conftest.$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18193
18194 int
18195 main ()
18196 {
18197
18198 #ifndef __SUNPRO_C
18199 choke me
18200 #endif
18201
18202 ;
18203 return 0;
18204 }
18205 _ACEOF
18206 rm -f conftest.$ac_objext
18207 if { (ac_try="$ac_compile"
18208 case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18211 esac
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_compile") 2>conftest.er1
18214 ac_status=$?
18215 grep -v '^ *+' conftest.er1 >conftest.err
18216 rm -f conftest.er1
18217 cat conftest.err >&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } && {
18220 test -z "$ac_c_werror_flag" ||
18221 test ! -s conftest.err
18222 } && test -s conftest.$ac_objext; then
18223 bakefile_cv_c_compiler___SUNPRO_C=yes
18224 else
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.$ac_ext >&5
18227
18228 bakefile_cv_c_compiler___SUNPRO_C=no
18229
18230 fi
18231
18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18233
18234
18235 fi
18236 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18237 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18238 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18239 :; SUNCC=yes
18240 else
18241 :;
18242 fi
18243 ac_ext=c
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248
18249
18250
18251 ;;
18252
18253 HP-UX*)
18254
18255
18256 ac_ext=c
18257 ac_cpp='$CPP $CPPFLAGS'
18258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18261
18262 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18263 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18264 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 else
18267 cat >conftest.$ac_ext <<_ACEOF
18268 /* confdefs.h. */
18269 _ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18273
18274 int
18275 main ()
18276 {
18277
18278 #ifndef __HP_cc
18279 choke me
18280 #endif
18281
18282 ;
18283 return 0;
18284 }
18285 _ACEOF
18286 rm -f conftest.$ac_objext
18287 if { (ac_try="$ac_compile"
18288 case "(($ac_try" in
18289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18290 *) ac_try_echo=$ac_try;;
18291 esac
18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18293 (eval "$ac_compile") 2>conftest.er1
18294 ac_status=$?
18295 grep -v '^ *+' conftest.er1 >conftest.err
18296 rm -f conftest.er1
18297 cat conftest.err >&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } && {
18300 test -z "$ac_c_werror_flag" ||
18301 test ! -s conftest.err
18302 } && test -s conftest.$ac_objext; then
18303 bakefile_cv_c_compiler___HP_cc=yes
18304 else
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18307
18308 bakefile_cv_c_compiler___HP_cc=no
18309
18310 fi
18311
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313
18314
18315 fi
18316 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18317 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18318 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18319 :; HPCC=yes
18320 else
18321 :;
18322 fi
18323 ac_ext=c
18324 ac_cpp='$CPP $CPPFLAGS'
18325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18328
18329
18330
18331 ;;
18332
18333 OSF1)
18334
18335
18336 ac_ext=c
18337 ac_cpp='$CPP $CPPFLAGS'
18338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18341
18342 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18343 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18344 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18345 echo $ECHO_N "(cached) $ECHO_C" >&6
18346 else
18347 cat >conftest.$ac_ext <<_ACEOF
18348 /* confdefs.h. */
18349 _ACEOF
18350 cat confdefs.h >>conftest.$ac_ext
18351 cat >>conftest.$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18353
18354 int
18355 main ()
18356 {
18357
18358 #ifndef __DECC
18359 choke me
18360 #endif
18361
18362 ;
18363 return 0;
18364 }
18365 _ACEOF
18366 rm -f conftest.$ac_objext
18367 if { (ac_try="$ac_compile"
18368 case "(($ac_try" in
18369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18370 *) ac_try_echo=$ac_try;;
18371 esac
18372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18373 (eval "$ac_compile") 2>conftest.er1
18374 ac_status=$?
18375 grep -v '^ *+' conftest.er1 >conftest.err
18376 rm -f conftest.er1
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } && {
18380 test -z "$ac_c_werror_flag" ||
18381 test ! -s conftest.err
18382 } && test -s conftest.$ac_objext; then
18383 bakefile_cv_c_compiler___DECC=yes
18384 else
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18387
18388 bakefile_cv_c_compiler___DECC=no
18389
18390 fi
18391
18392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18393
18394
18395 fi
18396 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18397 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18398 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18399 :; COMPAQCC=yes
18400 else
18401 :;
18402 fi
18403 ac_ext=c
18404 ac_cpp='$CPP $CPPFLAGS'
18405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18408
18409
18410
18411 ;;
18412
18413 SunOS)
18414
18415
18416 ac_ext=c
18417 ac_cpp='$CPP $CPPFLAGS'
18418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18421
18422 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18423 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18424 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18425 echo $ECHO_N "(cached) $ECHO_C" >&6
18426 else
18427 cat >conftest.$ac_ext <<_ACEOF
18428 /* confdefs.h. */
18429 _ACEOF
18430 cat confdefs.h >>conftest.$ac_ext
18431 cat >>conftest.$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18433
18434 int
18435 main ()
18436 {
18437
18438 #ifndef __SUNPRO_C
18439 choke me
18440 #endif
18441
18442 ;
18443 return 0;
18444 }
18445 _ACEOF
18446 rm -f conftest.$ac_objext
18447 if { (ac_try="$ac_compile"
18448 case "(($ac_try" in
18449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18450 *) ac_try_echo=$ac_try;;
18451 esac
18452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18453 (eval "$ac_compile") 2>conftest.er1
18454 ac_status=$?
18455 grep -v '^ *+' conftest.er1 >conftest.err
18456 rm -f conftest.er1
18457 cat conftest.err >&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } && {
18460 test -z "$ac_c_werror_flag" ||
18461 test ! -s conftest.err
18462 } && test -s conftest.$ac_objext; then
18463 bakefile_cv_c_compiler___SUNPRO_C=yes
18464 else
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.$ac_ext >&5
18467
18468 bakefile_cv_c_compiler___SUNPRO_C=no
18469
18470 fi
18471
18472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473
18474
18475 fi
18476 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18477 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18478 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18479 :; SUNCC=yes
18480 else
18481 :;
18482 fi
18483 ac_ext=c
18484 ac_cpp='$CPP $CPPFLAGS'
18485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18488
18489
18490
18491 ;;
18492 esac
18493 fi
18494
18495
18496
18497 ac_ext=c
18498 ac_cpp='$CPP $CPPFLAGS'
18499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18502 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18503 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18504 # On Suns, sometimes $CPP names a directory.
18505 if test -n "$CPP" && test -d "$CPP"; then
18506 CPP=
18507 fi
18508 if test -z "$CPP"; then
18509 if test "${ac_cv_prog_CPP+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18512 # Double quotes because CPP needs to be expanded
18513 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18514 do
18515 ac_preproc_ok=false
18516 for ac_c_preproc_warn_flag in '' yes
18517 do
18518 # Use a header file that comes with gcc, so configuring glibc
18519 # with a fresh cross-compiler works.
18520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18521 # <limits.h> exists even on freestanding compilers.
18522 # On the NeXT, cc -E runs the code through the compiler's parser,
18523 # not just through cpp. "Syntax error" is here to catch this case.
18524 cat >conftest.$ac_ext <<_ACEOF
18525 /* confdefs.h. */
18526 _ACEOF
18527 cat confdefs.h >>conftest.$ac_ext
18528 cat >>conftest.$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18530 #ifdef __STDC__
18531 # include <limits.h>
18532 #else
18533 # include <assert.h>
18534 #endif
18535 Syntax error
18536 _ACEOF
18537 if { (ac_try="$ac_cpp conftest.$ac_ext"
18538 case "(($ac_try" in
18539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18541 esac
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18544 ac_status=$?
18545 grep -v '^ *+' conftest.er1 >conftest.err
18546 rm -f conftest.er1
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } >/dev/null && {
18550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18551 test ! -s conftest.err
18552 }; then
18553 :
18554 else
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18557
18558 # Broken: fails on valid input.
18559 continue
18560 fi
18561
18562 rm -f conftest.err conftest.$ac_ext
18563
18564 # OK, works on sane cases. Now check whether nonexistent headers
18565 # can be detected and how.
18566 cat >conftest.$ac_ext <<_ACEOF
18567 /* confdefs.h. */
18568 _ACEOF
18569 cat confdefs.h >>conftest.$ac_ext
18570 cat >>conftest.$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18572 #include <ac_nonexistent.h>
18573 _ACEOF
18574 if { (ac_try="$ac_cpp conftest.$ac_ext"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18578 esac
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18581 ac_status=$?
18582 grep -v '^ *+' conftest.er1 >conftest.err
18583 rm -f conftest.er1
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } >/dev/null && {
18587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18588 test ! -s conftest.err
18589 }; then
18590 # Broken: success on invalid input.
18591 continue
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 # Passes both tests.
18597 ac_preproc_ok=:
18598 break
18599 fi
18600
18601 rm -f conftest.err conftest.$ac_ext
18602
18603 done
18604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18605 rm -f conftest.err conftest.$ac_ext
18606 if $ac_preproc_ok; then
18607 break
18608 fi
18609
18610 done
18611 ac_cv_prog_CPP=$CPP
18612
18613 fi
18614 CPP=$ac_cv_prog_CPP
18615 else
18616 ac_cv_prog_CPP=$CPP
18617 fi
18618 { echo "$as_me:$LINENO: result: $CPP" >&5
18619 echo "${ECHO_T}$CPP" >&6; }
18620 ac_preproc_ok=false
18621 for ac_c_preproc_warn_flag in '' yes
18622 do
18623 # Use a header file that comes with gcc, so configuring glibc
18624 # with a fresh cross-compiler works.
18625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18626 # <limits.h> exists even on freestanding compilers.
18627 # On the NeXT, cc -E runs the code through the compiler's parser,
18628 # not just through cpp. "Syntax error" is here to catch this case.
18629 cat >conftest.$ac_ext <<_ACEOF
18630 /* confdefs.h. */
18631 _ACEOF
18632 cat confdefs.h >>conftest.$ac_ext
18633 cat >>conftest.$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 #ifdef __STDC__
18636 # include <limits.h>
18637 #else
18638 # include <assert.h>
18639 #endif
18640 Syntax error
18641 _ACEOF
18642 if { (ac_try="$ac_cpp conftest.$ac_ext"
18643 case "(($ac_try" in
18644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18645 *) ac_try_echo=$ac_try;;
18646 esac
18647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18649 ac_status=$?
18650 grep -v '^ *+' conftest.er1 >conftest.err
18651 rm -f conftest.er1
18652 cat conftest.err >&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); } >/dev/null && {
18655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18656 test ! -s conftest.err
18657 }; then
18658 :
18659 else
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.$ac_ext >&5
18662
18663 # Broken: fails on valid input.
18664 continue
18665 fi
18666
18667 rm -f conftest.err conftest.$ac_ext
18668
18669 # OK, works on sane cases. Now check whether nonexistent headers
18670 # can be detected and how.
18671 cat >conftest.$ac_ext <<_ACEOF
18672 /* confdefs.h. */
18673 _ACEOF
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18677 #include <ac_nonexistent.h>
18678 _ACEOF
18679 if { (ac_try="$ac_cpp conftest.$ac_ext"
18680 case "(($ac_try" in
18681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18682 *) ac_try_echo=$ac_try;;
18683 esac
18684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } >/dev/null && {
18692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18693 test ! -s conftest.err
18694 }; then
18695 # Broken: success on invalid input.
18696 continue
18697 else
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18700
18701 # Passes both tests.
18702 ac_preproc_ok=:
18703 break
18704 fi
18705
18706 rm -f conftest.err conftest.$ac_ext
18707
18708 done
18709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18710 rm -f conftest.err conftest.$ac_ext
18711 if $ac_preproc_ok; then
18712 :
18713 else
18714 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18715 See \`config.log' for more details." >&5
18716 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18717 See \`config.log' for more details." >&2;}
18718 { (exit 1); exit 1; }; }
18719 fi
18720
18721 ac_ext=c
18722 ac_cpp='$CPP $CPPFLAGS'
18723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18726
18727
18728 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18729 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18730 if test "${ac_cv_path_GREP+set}" = set; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 else
18733 # Extract the first word of "grep ggrep" to use in msg output
18734 if test -z "$GREP"; then
18735 set dummy grep ggrep; ac_prog_name=$2
18736 if test "${ac_cv_path_GREP+set}" = set; then
18737 echo $ECHO_N "(cached) $ECHO_C" >&6
18738 else
18739 ac_path_GREP_found=false
18740 # Loop through the user's path and test for each of PROGNAME-LIST
18741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18743 do
18744 IFS=$as_save_IFS
18745 test -z "$as_dir" && as_dir=.
18746 for ac_prog in grep ggrep; do
18747 for ac_exec_ext in '' $ac_executable_extensions; do
18748 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18750 # Check for GNU ac_path_GREP and select it if it is found.
18751 # Check for GNU $ac_path_GREP
18752 case `"$ac_path_GREP" --version 2>&1` in
18753 *GNU*)
18754 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18755 *)
18756 ac_count=0
18757 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18758 while :
18759 do
18760 cat "conftest.in" "conftest.in" >"conftest.tmp"
18761 mv "conftest.tmp" "conftest.in"
18762 cp "conftest.in" "conftest.nl"
18763 echo 'GREP' >> "conftest.nl"
18764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18766 ac_count=`expr $ac_count + 1`
18767 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18768 # Best one so far, save it but keep looking for a better one
18769 ac_cv_path_GREP="$ac_path_GREP"
18770 ac_path_GREP_max=$ac_count
18771 fi
18772 # 10*(2^10) chars as input seems more than enough
18773 test $ac_count -gt 10 && break
18774 done
18775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18776 esac
18777
18778
18779 $ac_path_GREP_found && break 3
18780 done
18781 done
18782
18783 done
18784 IFS=$as_save_IFS
18785
18786
18787 fi
18788
18789 GREP="$ac_cv_path_GREP"
18790 if test -z "$GREP"; then
18791 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18792 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18793 { (exit 1); exit 1; }; }
18794 fi
18795
18796 else
18797 ac_cv_path_GREP=$GREP
18798 fi
18799
18800
18801 fi
18802 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18803 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18804 GREP="$ac_cv_path_GREP"
18805
18806
18807 { echo "$as_me:$LINENO: checking for egrep" >&5
18808 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18809 if test "${ac_cv_path_EGREP+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 else
18812 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18813 then ac_cv_path_EGREP="$GREP -E"
18814 else
18815 # Extract the first word of "egrep" to use in msg output
18816 if test -z "$EGREP"; then
18817 set dummy egrep; ac_prog_name=$2
18818 if test "${ac_cv_path_EGREP+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 else
18821 ac_path_EGREP_found=false
18822 # Loop through the user's path and test for each of PROGNAME-LIST
18823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18824 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18825 do
18826 IFS=$as_save_IFS
18827 test -z "$as_dir" && as_dir=.
18828 for ac_prog in egrep; do
18829 for ac_exec_ext in '' $ac_executable_extensions; do
18830 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18831 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18832 # Check for GNU ac_path_EGREP and select it if it is found.
18833 # Check for GNU $ac_path_EGREP
18834 case `"$ac_path_EGREP" --version 2>&1` in
18835 *GNU*)
18836 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18837 *)
18838 ac_count=0
18839 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18840 while :
18841 do
18842 cat "conftest.in" "conftest.in" >"conftest.tmp"
18843 mv "conftest.tmp" "conftest.in"
18844 cp "conftest.in" "conftest.nl"
18845 echo 'EGREP' >> "conftest.nl"
18846 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18847 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18848 ac_count=`expr $ac_count + 1`
18849 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18850 # Best one so far, save it but keep looking for a better one
18851 ac_cv_path_EGREP="$ac_path_EGREP"
18852 ac_path_EGREP_max=$ac_count
18853 fi
18854 # 10*(2^10) chars as input seems more than enough
18855 test $ac_count -gt 10 && break
18856 done
18857 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18858 esac
18859
18860
18861 $ac_path_EGREP_found && break 3
18862 done
18863 done
18864
18865 done
18866 IFS=$as_save_IFS
18867
18868
18869 fi
18870
18871 EGREP="$ac_cv_path_EGREP"
18872 if test -z "$EGREP"; then
18873 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18874 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18875 { (exit 1); exit 1; }; }
18876 fi
18877
18878 else
18879 ac_cv_path_EGREP=$EGREP
18880 fi
18881
18882
18883 fi
18884 fi
18885 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18886 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18887 EGREP="$ac_cv_path_EGREP"
18888
18889
18890 if test $ac_cv_c_compiler_gnu = yes; then
18891 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18892 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18893 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 else
18896 ac_pattern="Autoconf.*'x'"
18897 cat >conftest.$ac_ext <<_ACEOF
18898 /* confdefs.h. */
18899 _ACEOF
18900 cat confdefs.h >>conftest.$ac_ext
18901 cat >>conftest.$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903 #include <sgtty.h>
18904 Autoconf TIOCGETP
18905 _ACEOF
18906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18907 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18908 ac_cv_prog_gcc_traditional=yes
18909 else
18910 ac_cv_prog_gcc_traditional=no
18911 fi
18912 rm -f conftest*
18913
18914
18915 if test $ac_cv_prog_gcc_traditional = no; then
18916 cat >conftest.$ac_ext <<_ACEOF
18917 /* confdefs.h. */
18918 _ACEOF
18919 cat confdefs.h >>conftest.$ac_ext
18920 cat >>conftest.$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18922 #include <termio.h>
18923 Autoconf TCGETA
18924 _ACEOF
18925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18926 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18927 ac_cv_prog_gcc_traditional=yes
18928 fi
18929 rm -f conftest*
18930
18931 fi
18932 fi
18933 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18934 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18935 if test $ac_cv_prog_gcc_traditional = yes; then
18936 CC="$CC -traditional"
18937 fi
18938 fi
18939
18940
18941 CXXFLAGS=${CXXFLAGS:=}
18942
18943
18944
18945 ac_ext=cpp
18946 ac_cpp='$CXXCPP $CPPFLAGS'
18947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18950 if test -z "$CXX"; then
18951 if test -n "$CCC"; then
18952 CXX=$CCC
18953 else
18954 if test -n "$ac_tool_prefix"; then
18955 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18956 do
18957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18961 if test "${ac_cv_prog_CXX+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18963 else
18964 if test -n "$CXX"; then
18965 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18966 else
18967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18968 for as_dir in $PATH
18969 do
18970 IFS=$as_save_IFS
18971 test -z "$as_dir" && as_dir=.
18972 for ac_exec_ext in '' $ac_executable_extensions; do
18973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18974 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18976 break 2
18977 fi
18978 done
18979 done
18980 IFS=$as_save_IFS
18981
18982 fi
18983 fi
18984 CXX=$ac_cv_prog_CXX
18985 if test -n "$CXX"; then
18986 { echo "$as_me:$LINENO: result: $CXX" >&5
18987 echo "${ECHO_T}$CXX" >&6; }
18988 else
18989 { echo "$as_me:$LINENO: result: no" >&5
18990 echo "${ECHO_T}no" >&6; }
18991 fi
18992
18993
18994 test -n "$CXX" && break
18995 done
18996 fi
18997 if test -z "$CXX"; then
18998 ac_ct_CXX=$CXX
18999 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19000 do
19001 # Extract the first word of "$ac_prog", so it can be a program name with args.
19002 set dummy $ac_prog; ac_word=$2
19003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19005 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19006 echo $ECHO_N "(cached) $ECHO_C" >&6
19007 else
19008 if test -n "$ac_ct_CXX"; then
19009 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19010 else
19011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19012 for as_dir in $PATH
19013 do
19014 IFS=$as_save_IFS
19015 test -z "$as_dir" && as_dir=.
19016 for ac_exec_ext in '' $ac_executable_extensions; do
19017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19018 ac_cv_prog_ac_ct_CXX="$ac_prog"
19019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19020 break 2
19021 fi
19022 done
19023 done
19024 IFS=$as_save_IFS
19025
19026 fi
19027 fi
19028 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19029 if test -n "$ac_ct_CXX"; then
19030 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19031 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19032 else
19033 { echo "$as_me:$LINENO: result: no" >&5
19034 echo "${ECHO_T}no" >&6; }
19035 fi
19036
19037
19038 test -n "$ac_ct_CXX" && break
19039 done
19040
19041 if test "x$ac_ct_CXX" = x; then
19042 CXX="g++"
19043 else
19044 case $cross_compiling:$ac_tool_warned in
19045 yes:)
19046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19047 whose name does not start with the host triplet. If you think this
19048 configuration is useful to you, please write to autoconf@gnu.org." >&5
19049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19050 whose name does not start with the host triplet. If you think this
19051 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19052 ac_tool_warned=yes ;;
19053 esac
19054 CXX=$ac_ct_CXX
19055 fi
19056 fi
19057
19058 fi
19059 fi
19060 # Provide some information about the compiler.
19061 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19062 ac_compiler=`set X $ac_compile; echo $2`
19063 { (ac_try="$ac_compiler --version >&5"
19064 case "(($ac_try" in
19065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19067 esac
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_compiler --version >&5") 2>&5
19070 ac_status=$?
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }
19073 { (ac_try="$ac_compiler -v >&5"
19074 case "(($ac_try" in
19075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19076 *) ac_try_echo=$ac_try;;
19077 esac
19078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079 (eval "$ac_compiler -v >&5") 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }
19083 { (ac_try="$ac_compiler -V >&5"
19084 case "(($ac_try" in
19085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19086 *) ac_try_echo=$ac_try;;
19087 esac
19088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19089 (eval "$ac_compiler -V >&5") 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }
19093
19094 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19095 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19096 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19097 echo $ECHO_N "(cached) $ECHO_C" >&6
19098 else
19099 cat >conftest.$ac_ext <<_ACEOF
19100 /* confdefs.h. */
19101 _ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105
19106 int
19107 main ()
19108 {
19109 #ifndef __GNUC__
19110 choke me
19111 #endif
19112
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext
19118 if { (ac_try="$ac_compile"
19119 case "(($ac_try" in
19120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19121 *) ac_try_echo=$ac_try;;
19122 esac
19123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19124 (eval "$ac_compile") 2>conftest.er1
19125 ac_status=$?
19126 grep -v '^ *+' conftest.er1 >conftest.err
19127 rm -f conftest.er1
19128 cat conftest.err >&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } && {
19131 test -z "$ac_cxx_werror_flag" ||
19132 test ! -s conftest.err
19133 } && test -s conftest.$ac_objext; then
19134 ac_compiler_gnu=yes
19135 else
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19138
19139 ac_compiler_gnu=no
19140 fi
19141
19142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19143 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19144
19145 fi
19146 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19147 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19148 GXX=`test $ac_compiler_gnu = yes && echo yes`
19149 ac_test_CXXFLAGS=${CXXFLAGS+set}
19150 ac_save_CXXFLAGS=$CXXFLAGS
19151 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19152 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19153 if test "${ac_cv_prog_cxx_g+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 else
19156 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19157 ac_cxx_werror_flag=yes
19158 ac_cv_prog_cxx_g=no
19159 CXXFLAGS="-g"
19160 cat >conftest.$ac_ext <<_ACEOF
19161 /* confdefs.h. */
19162 _ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166
19167 int
19168 main ()
19169 {
19170
19171 ;
19172 return 0;
19173 }
19174 _ACEOF
19175 rm -f conftest.$ac_objext
19176 if { (ac_try="$ac_compile"
19177 case "(($ac_try" in
19178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19180 esac
19181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_compile") 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } && {
19189 test -z "$ac_cxx_werror_flag" ||
19190 test ! -s conftest.err
19191 } && test -s conftest.$ac_objext; then
19192 ac_cv_prog_cxx_g=yes
19193 else
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19196
19197 CXXFLAGS=""
19198 cat >conftest.$ac_ext <<_ACEOF
19199 /* confdefs.h. */
19200 _ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204
19205 int
19206 main ()
19207 {
19208
19209 ;
19210 return 0;
19211 }
19212 _ACEOF
19213 rm -f conftest.$ac_objext
19214 if { (ac_try="$ac_compile"
19215 case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19217 *) ac_try_echo=$ac_try;;
19218 esac
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_compile") 2>conftest.er1
19221 ac_status=$?
19222 grep -v '^ *+' conftest.er1 >conftest.err
19223 rm -f conftest.er1
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && {
19227 test -z "$ac_cxx_werror_flag" ||
19228 test ! -s conftest.err
19229 } && test -s conftest.$ac_objext; then
19230 :
19231 else
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19234
19235 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19236 CXXFLAGS="-g"
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243
19244 int
19245 main ()
19246 {
19247
19248 ;
19249 return 0;
19250 }
19251 _ACEOF
19252 rm -f conftest.$ac_objext
19253 if { (ac_try="$ac_compile"
19254 case "(($ac_try" in
19255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19256 *) ac_try_echo=$ac_try;;
19257 esac
19258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19259 (eval "$ac_compile") 2>conftest.er1
19260 ac_status=$?
19261 grep -v '^ *+' conftest.er1 >conftest.err
19262 rm -f conftest.er1
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } && {
19266 test -z "$ac_cxx_werror_flag" ||
19267 test ! -s conftest.err
19268 } && test -s conftest.$ac_objext; then
19269 ac_cv_prog_cxx_g=yes
19270 else
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19273
19274
19275 fi
19276
19277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19278 fi
19279
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281 fi
19282
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19284 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19285 fi
19286 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19287 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19288 if test "$ac_test_CXXFLAGS" = set; then
19289 CXXFLAGS=$ac_save_CXXFLAGS
19290 elif test $ac_cv_prog_cxx_g = yes; then
19291 if test "$GXX" = yes; then
19292 CXXFLAGS="-g -O2"
19293 else
19294 CXXFLAGS="-g"
19295 fi
19296 else
19297 if test "$GXX" = yes; then
19298 CXXFLAGS="-O2"
19299 else
19300 CXXFLAGS=
19301 fi
19302 fi
19303 ac_ext=c
19304 ac_cpp='$CPP $CPPFLAGS'
19305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19308
19309
19310
19311
19312 ac_ext=cpp
19313 ac_cpp='$CXXCPP $CPPFLAGS'
19314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19317
19318 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19319 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19320 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 else
19323 cat >conftest.$ac_ext <<_ACEOF
19324 /* confdefs.h. */
19325 _ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329
19330 int
19331 main ()
19332 {
19333
19334 #ifndef __INTEL_COMPILER
19335 choke me
19336 #endif
19337
19338 ;
19339 return 0;
19340 }
19341 _ACEOF
19342 rm -f conftest.$ac_objext
19343 if { (ac_try="$ac_compile"
19344 case "(($ac_try" in
19345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19346 *) ac_try_echo=$ac_try;;
19347 esac
19348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19349 (eval "$ac_compile") 2>conftest.er1
19350 ac_status=$?
19351 grep -v '^ *+' conftest.er1 >conftest.err
19352 rm -f conftest.er1
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } && {
19356 test -z "$ac_cxx_werror_flag" ||
19357 test ! -s conftest.err
19358 } && test -s conftest.$ac_objext; then
19359 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19360 else
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19363
19364 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19365
19366 fi
19367
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369
19370
19371 fi
19372 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19373 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19374 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19375 :; INTELCXX=yes
19376 else
19377 :;
19378 fi
19379 ac_ext=c
19380 ac_cpp='$CPP $CPPFLAGS'
19381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19384
19385
19386
19387
19388 if test "x$GCXX" != "xyes"; then
19389 if test "xCXX" = "xC"; then
19390 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19391 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19392 if test "${bakefile_cv_c_exto+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395 cat >conftest.$ac_ext <<_ACEOF
19396 /* confdefs.h. */
19397 _ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401
19402 int
19403 main ()
19404 {
19405
19406 ;
19407 return 0;
19408 }
19409 _ACEOF
19410 rm -f conftest.$ac_objext conftest.$ac_ext.o
19411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19412 (eval $ac_compile) 2>&5
19413 ac_status=$?
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; then
19416 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19417 case $ac_file in
19418 conftest.$ac_ext.o)
19419 bakefile_cv_c_exto="-ext o"
19420 ;;
19421 *)
19422 ;;
19423 esac
19424 done
19425 else
19426 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19427 See \`config.log' for more details." >&5
19428 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19429 See \`config.log' for more details." >&2;}
19430 { (exit 1); exit 1; }; }
19431
19432 fi
19433
19434 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19435
19436 fi
19437 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19438 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19439 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19440 if test "c" = "c"; then
19441 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19442 fi
19443 if test "c" = "cxx"; then
19444 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19445 fi
19446 fi
19447
19448 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19449 unset ac_cv_prog_cc_g
19450 ac_test_CFLAGS=${CFLAGS+set}
19451 ac_save_CFLAGS=$CFLAGS
19452 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19453 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19454 if test "${ac_cv_prog_cc_g+set}" = set; then
19455 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 else
19457 ac_save_c_werror_flag=$ac_c_werror_flag
19458 ac_c_werror_flag=yes
19459 ac_cv_prog_cc_g=no
19460 CFLAGS="-g"
19461 cat >conftest.$ac_ext <<_ACEOF
19462 /* confdefs.h. */
19463 _ACEOF
19464 cat confdefs.h >>conftest.$ac_ext
19465 cat >>conftest.$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19467
19468 int
19469 main ()
19470 {
19471
19472 ;
19473 return 0;
19474 }
19475 _ACEOF
19476 rm -f conftest.$ac_objext
19477 if { (ac_try="$ac_compile"
19478 case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19481 esac
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_compile") 2>conftest.er1
19484 ac_status=$?
19485 grep -v '^ *+' conftest.er1 >conftest.err
19486 rm -f conftest.er1
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } && {
19490 test -z "$ac_c_werror_flag" ||
19491 test ! -s conftest.err
19492 } && test -s conftest.$ac_objext; then
19493 ac_cv_prog_cc_g=yes
19494 else
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19497
19498 CFLAGS=""
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505
19506 int
19507 main ()
19508 {
19509
19510 ;
19511 return 0;
19512 }
19513 _ACEOF
19514 rm -f conftest.$ac_objext
19515 if { (ac_try="$ac_compile"
19516 case "(($ac_try" in
19517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19518 *) ac_try_echo=$ac_try;;
19519 esac
19520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19521 (eval "$ac_compile") 2>conftest.er1
19522 ac_status=$?
19523 grep -v '^ *+' conftest.er1 >conftest.err
19524 rm -f conftest.er1
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } && {
19528 test -z "$ac_c_werror_flag" ||
19529 test ! -s conftest.err
19530 } && test -s conftest.$ac_objext; then
19531 :
19532 else
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.$ac_ext >&5
19535
19536 ac_c_werror_flag=$ac_save_c_werror_flag
19537 CFLAGS="-g"
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544
19545 int
19546 main ()
19547 {
19548
19549 ;
19550 return 0;
19551 }
19552 _ACEOF
19553 rm -f conftest.$ac_objext
19554 if { (ac_try="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19558 esac
19559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19561 ac_status=$?
19562 grep -v '^ *+' conftest.er1 >conftest.err
19563 rm -f conftest.er1
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 ac_cv_prog_cc_g=yes
19571 else
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19574
19575
19576 fi
19577
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 fi
19580
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19582 fi
19583
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 ac_c_werror_flag=$ac_save_c_werror_flag
19586 fi
19587 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19588 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19589 if test "$ac_test_CFLAGS" = set; then
19590 CFLAGS=$ac_save_CFLAGS
19591 elif test $ac_cv_prog_cc_g = yes; then
19592 if test "$GCC" = yes; then
19593 CFLAGS="-g -O2"
19594 else
19595 CFLAGS="-g"
19596 fi
19597 else
19598 if test "$GCC" = yes; then
19599 CFLAGS="-O2"
19600 else
19601 CFLAGS=
19602 fi
19603 fi
19604 fi
19605 fi
19606
19607 case `uname -s` in
19608 AIX*)
19609
19610
19611 ac_ext=cpp
19612 ac_cpp='$CXXCPP $CPPFLAGS'
19613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19616
19617 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19618 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19619 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19621 else
19622 cat >conftest.$ac_ext <<_ACEOF
19623 /* confdefs.h. */
19624 _ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628
19629 int
19630 main ()
19631 {
19632
19633 #ifndef __xlC__
19634 choke me
19635 #endif
19636
19637 ;
19638 return 0;
19639 }
19640 _ACEOF
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645 *) ac_try_echo=$ac_try;;
19646 esac
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19649 ac_status=$?
19650 grep -v '^ *+' conftest.er1 >conftest.err
19651 rm -f conftest.er1
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_cxx_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.$ac_objext; then
19658 bakefile_cv_cxx_compiler___xlC__=yes
19659 else
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19662
19663 bakefile_cv_cxx_compiler___xlC__=no
19664
19665 fi
19666
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19668
19669
19670 fi
19671 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19672 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19673 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19674 :; XLCXX=yes
19675 else
19676 :;
19677 fi
19678 ac_ext=c
19679 ac_cpp='$CPP $CPPFLAGS'
19680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19683
19684
19685
19686 ;;
19687
19688 Darwin)
19689
19690
19691 ac_ext=cpp
19692 ac_cpp='$CXXCPP $CPPFLAGS'
19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19696
19697 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19698 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19699 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 else
19702 cat >conftest.$ac_ext <<_ACEOF
19703 /* confdefs.h. */
19704 _ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708
19709 int
19710 main ()
19711 {
19712
19713 #ifndef __MWERKS__
19714 choke me
19715 #endif
19716
19717 ;
19718 return 0;
19719 }
19720 _ACEOF
19721 rm -f conftest.$ac_objext
19722 if { (ac_try="$ac_compile"
19723 case "(($ac_try" in
19724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19725 *) ac_try_echo=$ac_try;;
19726 esac
19727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_compile") 2>conftest.er1
19729 ac_status=$?
19730 grep -v '^ *+' conftest.er1 >conftest.err
19731 rm -f conftest.er1
19732 cat conftest.err >&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } && {
19735 test -z "$ac_cxx_werror_flag" ||
19736 test ! -s conftest.err
19737 } && test -s conftest.$ac_objext; then
19738 bakefile_cv_cxx_compiler___MWERKS__=yes
19739 else
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19742
19743 bakefile_cv_cxx_compiler___MWERKS__=no
19744
19745 fi
19746
19747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19748
19749
19750 fi
19751 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19752 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19753 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19754 :; MWCXX=yes
19755 else
19756 :;
19757 fi
19758 ac_ext=c
19759 ac_cpp='$CPP $CPPFLAGS'
19760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19763
19764
19765
19766
19767
19768 ac_ext=cpp
19769 ac_cpp='$CXXCPP $CPPFLAGS'
19770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19773
19774 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19775 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19776 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19777 echo $ECHO_N "(cached) $ECHO_C" >&6
19778 else
19779 cat >conftest.$ac_ext <<_ACEOF
19780 /* confdefs.h. */
19781 _ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785
19786 int
19787 main ()
19788 {
19789
19790 #ifndef __xlC__
19791 choke me
19792 #endif
19793
19794 ;
19795 return 0;
19796 }
19797 _ACEOF
19798 rm -f conftest.$ac_objext
19799 if { (ac_try="$ac_compile"
19800 case "(($ac_try" in
19801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19802 *) ac_try_echo=$ac_try;;
19803 esac
19804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19805 (eval "$ac_compile") 2>conftest.er1
19806 ac_status=$?
19807 grep -v '^ *+' conftest.er1 >conftest.err
19808 rm -f conftest.er1
19809 cat conftest.err >&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } && {
19812 test -z "$ac_cxx_werror_flag" ||
19813 test ! -s conftest.err
19814 } && test -s conftest.$ac_objext; then
19815 bakefile_cv_cxx_compiler___xlC__=yes
19816 else
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19819
19820 bakefile_cv_cxx_compiler___xlC__=no
19821
19822 fi
19823
19824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19825
19826
19827 fi
19828 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19829 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19830 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19831 :; XLCXX=yes
19832 else
19833 :;
19834 fi
19835 ac_ext=c
19836 ac_cpp='$CPP $CPPFLAGS'
19837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19840
19841
19842
19843 ;;
19844
19845 IRIX*)
19846
19847
19848 ac_ext=cpp
19849 ac_cpp='$CXXCPP $CPPFLAGS'
19850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19853
19854 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19855 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19856 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19858 else
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865
19866 int
19867 main ()
19868 {
19869
19870 #ifndef _SGI_COMPILER_VERSION
19871 choke me
19872 #endif
19873
19874 ;
19875 return 0;
19876 }
19877 _ACEOF
19878 rm -f conftest.$ac_objext
19879 if { (ac_try="$ac_compile"
19880 case "(($ac_try" in
19881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19882 *) ac_try_echo=$ac_try;;
19883 esac
19884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19885 (eval "$ac_compile") 2>conftest.er1
19886 ac_status=$?
19887 grep -v '^ *+' conftest.er1 >conftest.err
19888 rm -f conftest.er1
19889 cat conftest.err >&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } && {
19892 test -z "$ac_cxx_werror_flag" ||
19893 test ! -s conftest.err
19894 } && test -s conftest.$ac_objext; then
19895 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19896 else
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19899
19900 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19901
19902 fi
19903
19904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905
19906
19907 fi
19908 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19909 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19910 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19911 :; SGICXX=yes
19912 else
19913 :;
19914 fi
19915 ac_ext=c
19916 ac_cpp='$CPP $CPPFLAGS'
19917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19920
19921
19922
19923 ;;
19924
19925 Linux*)
19926
19927
19928 ac_ext=cpp
19929 ac_cpp='$CXXCPP $CPPFLAGS'
19930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19933
19934 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19935 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19936 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945
19946 int
19947 main ()
19948 {
19949
19950 #ifndef __SUNPRO_CC
19951 choke me
19952 #endif
19953
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 rm -f conftest.$ac_objext
19959 if { (ac_try="$ac_compile"
19960 case "(($ac_try" in
19961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19962 *) ac_try_echo=$ac_try;;
19963 esac
19964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19965 (eval "$ac_compile") 2>conftest.er1
19966 ac_status=$?
19967 grep -v '^ *+' conftest.er1 >conftest.err
19968 rm -f conftest.er1
19969 cat conftest.err >&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } && {
19972 test -z "$ac_cxx_werror_flag" ||
19973 test ! -s conftest.err
19974 } && test -s conftest.$ac_objext; then
19975 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19976 else
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19979
19980 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19981
19982 fi
19983
19984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19985
19986
19987 fi
19988 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19989 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19990 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19991 :; SUNCXX=yes
19992 else
19993 :;
19994 fi
19995 ac_ext=c
19996 ac_cpp='$CPP $CPPFLAGS'
19997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20000
20001
20002
20003 ;;
20004
20005 HP-UX*)
20006
20007
20008 ac_ext=cpp
20009 ac_cpp='$CXXCPP $CPPFLAGS'
20010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20013
20014 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20015 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20016 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 else
20019 cat >conftest.$ac_ext <<_ACEOF
20020 /* confdefs.h. */
20021 _ACEOF
20022 cat confdefs.h >>conftest.$ac_ext
20023 cat >>conftest.$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20025
20026 int
20027 main ()
20028 {
20029
20030 #ifndef __HP_aCC
20031 choke me
20032 #endif
20033
20034 ;
20035 return 0;
20036 }
20037 _ACEOF
20038 rm -f conftest.$ac_objext
20039 if { (ac_try="$ac_compile"
20040 case "(($ac_try" in
20041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20042 *) ac_try_echo=$ac_try;;
20043 esac
20044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045 (eval "$ac_compile") 2>conftest.er1
20046 ac_status=$?
20047 grep -v '^ *+' conftest.er1 >conftest.err
20048 rm -f conftest.er1
20049 cat conftest.err >&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } && {
20052 test -z "$ac_cxx_werror_flag" ||
20053 test ! -s conftest.err
20054 } && test -s conftest.$ac_objext; then
20055 bakefile_cv_cxx_compiler___HP_aCC=yes
20056 else
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.$ac_ext >&5
20059
20060 bakefile_cv_cxx_compiler___HP_aCC=no
20061
20062 fi
20063
20064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20065
20066
20067 fi
20068 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20069 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20070 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20071 :; HPCXX=yes
20072 else
20073 :;
20074 fi
20075 ac_ext=c
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080
20081
20082
20083 ;;
20084
20085 OSF1)
20086
20087
20088 ac_ext=cpp
20089 ac_cpp='$CXXCPP $CPPFLAGS'
20090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20093
20094 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20095 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20096 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20097 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 else
20099 cat >conftest.$ac_ext <<_ACEOF
20100 /* confdefs.h. */
20101 _ACEOF
20102 cat confdefs.h >>conftest.$ac_ext
20103 cat >>conftest.$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20105
20106 int
20107 main ()
20108 {
20109
20110 #ifndef __DECCXX
20111 choke me
20112 #endif
20113
20114 ;
20115 return 0;
20116 }
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (ac_try="$ac_compile"
20120 case "(($ac_try" in
20121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20122 *) ac_try_echo=$ac_try;;
20123 esac
20124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20125 (eval "$ac_compile") 2>conftest.er1
20126 ac_status=$?
20127 grep -v '^ *+' conftest.er1 >conftest.err
20128 rm -f conftest.er1
20129 cat conftest.err >&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } && {
20132 test -z "$ac_cxx_werror_flag" ||
20133 test ! -s conftest.err
20134 } && test -s conftest.$ac_objext; then
20135 bakefile_cv_cxx_compiler___DECCXX=yes
20136 else
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20139
20140 bakefile_cv_cxx_compiler___DECCXX=no
20141
20142 fi
20143
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20145
20146
20147 fi
20148 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20149 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20150 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20151 :; COMPAQCXX=yes
20152 else
20153 :;
20154 fi
20155 ac_ext=c
20156 ac_cpp='$CPP $CPPFLAGS'
20157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20160
20161
20162
20163 ;;
20164
20165 SunOS)
20166
20167
20168 ac_ext=cpp
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20173
20174 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20175 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20176 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 else
20179 cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h. */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185
20186 int
20187 main ()
20188 {
20189
20190 #ifndef __SUNPRO_CC
20191 choke me
20192 #endif
20193
20194 ;
20195 return 0;
20196 }
20197 _ACEOF
20198 rm -f conftest.$ac_objext
20199 if { (ac_try="$ac_compile"
20200 case "(($ac_try" in
20201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20202 *) ac_try_echo=$ac_try;;
20203 esac
20204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20205 (eval "$ac_compile") 2>conftest.er1
20206 ac_status=$?
20207 grep -v '^ *+' conftest.er1 >conftest.err
20208 rm -f conftest.er1
20209 cat conftest.err >&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } && {
20212 test -z "$ac_cxx_werror_flag" ||
20213 test ! -s conftest.err
20214 } && test -s conftest.$ac_objext; then
20215 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20216 else
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20219
20220 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20221
20222 fi
20223
20224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225
20226
20227 fi
20228 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20229 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20230 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20231 :; SUNCXX=yes
20232 else
20233 :;
20234 fi
20235 ac_ext=c
20236 ac_cpp='$CPP $CPPFLAGS'
20237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20240
20241
20242
20243 ;;
20244 esac
20245 fi
20246
20247
20248
20249 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20250 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20251 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20252 { (exit 1); exit 1; }; }
20253 fi
20254
20255 if test "x$SUNCXX" != xyes; then
20256 if test -n "$ac_tool_prefix"; then
20257 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20258 set dummy ${ac_tool_prefix}ar; ac_word=$2
20259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20261 if test "${ac_cv_prog_AR+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 else
20264 if test -n "$AR"; then
20265 ac_cv_prog_AR="$AR" # Let the user override the test.
20266 else
20267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20268 for as_dir in $PATH
20269 do
20270 IFS=$as_save_IFS
20271 test -z "$as_dir" && as_dir=.
20272 for ac_exec_ext in '' $ac_executable_extensions; do
20273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20274 ac_cv_prog_AR="${ac_tool_prefix}ar"
20275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20276 break 2
20277 fi
20278 done
20279 done
20280 IFS=$as_save_IFS
20281
20282 fi
20283 fi
20284 AR=$ac_cv_prog_AR
20285 if test -n "$AR"; then
20286 { echo "$as_me:$LINENO: result: $AR" >&5
20287 echo "${ECHO_T}$AR" >&6; }
20288 else
20289 { echo "$as_me:$LINENO: result: no" >&5
20290 echo "${ECHO_T}no" >&6; }
20291 fi
20292
20293
20294 fi
20295 if test -z "$ac_cv_prog_AR"; then
20296 ac_ct_AR=$AR
20297 # Extract the first word of "ar", so it can be a program name with args.
20298 set dummy ar; ac_word=$2
20299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20301 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 else
20304 if test -n "$ac_ct_AR"; then
20305 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20306 else
20307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20308 for as_dir in $PATH
20309 do
20310 IFS=$as_save_IFS
20311 test -z "$as_dir" && as_dir=.
20312 for ac_exec_ext in '' $ac_executable_extensions; do
20313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20314 ac_cv_prog_ac_ct_AR="ar"
20315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20316 break 2
20317 fi
20318 done
20319 done
20320 IFS=$as_save_IFS
20321
20322 fi
20323 fi
20324 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20325 if test -n "$ac_ct_AR"; then
20326 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20327 echo "${ECHO_T}$ac_ct_AR" >&6; }
20328 else
20329 { echo "$as_me:$LINENO: result: no" >&5
20330 echo "${ECHO_T}no" >&6; }
20331 fi
20332
20333 if test "x$ac_ct_AR" = x; then
20334 AR=""
20335 else
20336 case $cross_compiling:$ac_tool_warned in
20337 yes:)
20338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20339 whose name does not start with the host triplet. If you think this
20340 configuration is useful to you, please write to autoconf@gnu.org." >&5
20341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20342 whose name does not start with the host triplet. If you think this
20343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20344 ac_tool_warned=yes ;;
20345 esac
20346 AR=$ac_ct_AR
20347 fi
20348 else
20349 AR="$ac_cv_prog_AR"
20350 fi
20351
20352 if test "x$AR" = "x" ; then
20353 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20354 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20355 { (exit 1); exit 1; }; }
20356 fi
20357 fi
20358
20359 retest_macosx_linking=no
20360
20361 #if test "$wxUSE_MAC" = 1; then
20362 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20363 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20364 # Implicitly turn on the new --with-macosx-sdk using the default
20365 # SDK which provides the behavior this option has always had.
20366 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20367 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20368 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20369 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20370 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20371 wxUSE_MACOSX_SDK=yes
20372 fi
20373 else
20374 # Complain to user if he specified an argument to --enable-universal_binary
20375 # and also 1) specified --with-macosx-sdk using the default (yes) or
20376 # 2) specified --with-macosx-sdk using a path or 3) specified
20377 # --without-macosx-sdk (no).
20378 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20379 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20380 See \`config.log' for more details." >&5
20381 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20382 See \`config.log' for more details." >&2;}
20383 { (exit 1); exit 1; }; }
20384 else
20385 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20386 # special-case the empty string because the below test simply
20387 # converts "no" to the empty string anyway.
20388 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20389 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20390 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20391 fi
20392 fi
20393 OSX_UNIV_OPTS="-arch ppc -arch i386"
20394 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20395 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20396 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20397 retest_macosx_linking=yes
20398
20399 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20400 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20401 bk_use_pch=no
20402 fi
20403 #fi
20404
20405 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20406 wxUSE_MACOSX_SDK=
20407 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20408 # TODO: Search for most recent SDK and use it.
20409 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20410 fi
20411
20412
20413 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20414 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20415 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20416 if ! test -d "$wxUSE_MACOSX_SDK"; then
20417 { { echo "$as_me:$LINENO: error: not found
20418 See \`config.log' for more details." >&5
20419 echo "$as_me: error: not found
20420 See \`config.log' for more details." >&2;}
20421 { (exit 1); exit 1; }; }
20422 else
20423 { echo "$as_me:$LINENO: result: exists" >&5
20424 echo "${ECHO_T}exists" >&6; }
20425 fi
20426 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20427 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20428 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20429 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20430 retest_macosx_linking=yes
20431 fi
20432
20433 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20434 wxUSE_MACOSX_VERSION_MIN=
20435 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20436 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20437 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20438 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20439
20440 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/'`
20441
20442 # If that failed, try again with the new key
20443 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20444
20445 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/'`
20446
20447 fi
20448
20449 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20450 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20451 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20452 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20453 else
20454 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20455 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20456 wxUSE_MACOSX_VERSION_MIN=
20457 fi
20458 else
20459 wxUSE_MACOSX_VERSION_MIN=
20460 fi
20461 fi
20462
20463 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20464 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20465 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20466 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20467 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20468 retest_macosx_linking=yes
20469 fi
20470
20471 if test "x$retest_macosx_linking" = "xyes"; then
20472 ac_ext=c
20473 ac_cpp='$CPP $CPPFLAGS'
20474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20477
20478 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20479 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486
20487 int
20488 main ()
20489 {
20490
20491 ;
20492 return 0;
20493 }
20494 _ACEOF
20495 rm -f conftest.$ac_objext conftest$ac_exeext
20496 if { (ac_try="$ac_link"
20497 case "(($ac_try" in
20498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20499 *) ac_try_echo=$ac_try;;
20500 esac
20501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20502 (eval "$ac_link") 2>conftest.er1
20503 ac_status=$?
20504 grep -v '^ *+' conftest.er1 >conftest.err
20505 rm -f conftest.er1
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } && {
20509 test -z "$ac_c_werror_flag" ||
20510 test ! -s conftest.err
20511 } && test -s conftest$ac_exeext &&
20512 $as_test_x conftest$ac_exeext; then
20513 { echo "$as_me:$LINENO: result: yes" >&5
20514 echo "${ECHO_T}yes" >&6; }
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20520 See \`config.log' for more details." >&5
20521 echo "$as_me: error: no. Try a different SDK
20522 See \`config.log' for more details." >&2;}
20523 { (exit 1); exit 1; }; }; exit 1
20524 fi
20525
20526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20527 conftest$ac_exeext conftest.$ac_ext
20528 ac_ext=c
20529 ac_cpp='$CPP $CPPFLAGS'
20530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20533
20534
20535 ac_ext=cpp
20536 ac_cpp='$CXXCPP $CPPFLAGS'
20537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20540
20541 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20542 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h. */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549
20550 int
20551 main ()
20552 {
20553
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext conftest$ac_exeext
20559 if { (ac_try="$ac_link"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_link") 2>conftest.er1
20566 ac_status=$?
20567 grep -v '^ *+' conftest.er1 >conftest.err
20568 rm -f conftest.er1
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_cxx_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest$ac_exeext &&
20575 $as_test_x conftest$ac_exeext; then
20576 { echo "$as_me:$LINENO: result: yes" >&5
20577 echo "${ECHO_T}yes" >&6; }
20578 else
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20581
20582 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20583 See \`config.log' for more details." >&5
20584 echo "$as_me: error: no. Try a different SDK
20585 See \`config.log' for more details." >&2;}
20586 { (exit 1); exit 1; }; }; exit 1
20587 fi
20588
20589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20590 conftest$ac_exeext conftest.$ac_ext
20591 ac_ext=c
20592 ac_cpp='$CPP $CPPFLAGS'
20593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20596
20597 fi
20598
20599
20600 case "${host}" in
20601
20602 *-*-darwin* )
20603 INSTALL_PROGRAM="cp -fp"
20604 INSTALL_DATA="cp -fp"
20605 ;;
20606 *)
20607 ;;
20608 esac
20609
20610
20611 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20612 CXXFLAGS="-qunique $CXXFLAGS"
20613 fi
20614
20615 case "${host}" in
20616 powerpc-*-darwin* )
20617 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20618 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20619 cat >conftest.$ac_ext <<_ACEOF
20620 /* confdefs.h. */
20621 _ACEOF
20622 cat confdefs.h >>conftest.$ac_ext
20623 cat >>conftest.$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625
20626 int
20627 main ()
20628 {
20629 #ifndef __POWERPC__
20630 choke me for lack of PowerPC
20631 #endif
20632
20633 ;
20634 return 0;
20635 }
20636 _ACEOF
20637 rm -f conftest.$ac_objext
20638 if { (ac_try="$ac_compile"
20639 case "(($ac_try" in
20640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20641 *) ac_try_echo=$ac_try;;
20642 esac
20643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20644 (eval "$ac_compile") 2>conftest.er1
20645 ac_status=$?
20646 grep -v '^ *+' conftest.er1 >conftest.err
20647 rm -f conftest.er1
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } && {
20651 test -z "$ac_c_werror_flag" ||
20652 test ! -s conftest.err
20653 } && test -s conftest.$ac_objext; then
20654 { echo "$as_me:$LINENO: result: yes" >&5
20655 echo "${ECHO_T}yes" >&6; }
20656 else
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.$ac_ext >&5
20659
20660 { echo "$as_me:$LINENO: result: no" >&5
20661 echo "${ECHO_T}no" >&6; }
20662 cat >>confdefs.h <<\_ACEOF
20663 #define __POWERPC__ 1
20664 _ACEOF
20665
20666
20667 fi
20668
20669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20670 ;;
20671 esac
20672
20673 case "${host}" in
20674 *-*-darwin* )
20675 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20676 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20677 cat >conftest.$ac_ext <<_ACEOF
20678 /* confdefs.h. */
20679 _ACEOF
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683 #include <CoreFoundation/CFBase.h>
20684
20685 int
20686 main ()
20687 {
20688
20689 ;
20690 return 0;
20691 }
20692 _ACEOF
20693 rm -f conftest.$ac_objext
20694 if { (ac_try="$ac_compile"
20695 case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20698 esac
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_compile") 2>conftest.er1
20701 ac_status=$?
20702 grep -v '^ *+' conftest.er1 >conftest.err
20703 rm -f conftest.er1
20704 cat conftest.err >&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } && {
20707 test -z "$ac_c_werror_flag" ||
20708 test ! -s conftest.err
20709 } && test -s conftest.$ac_objext; then
20710 { echo "$as_me:$LINENO: result: yes" >&5
20711 echo "${ECHO_T}yes" >&6; }
20712 else
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20715
20716 { echo "$as_me:$LINENO: result: no" >&5
20717 echo "${ECHO_T}no" >&6; }
20718 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20719 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20720 cat >conftest.$ac_ext <<_ACEOF
20721 /* confdefs.h. */
20722 _ACEOF
20723 cat confdefs.h >>conftest.$ac_ext
20724 cat >>conftest.$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 #define __CF_USE_FRAMEWORK_INCLUDES__
20727 #include <CoreFoundation/CFBase.h>
20728
20729 int
20730 main ()
20731 {
20732
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20742 esac
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20745 ac_status=$?
20746 grep -v '^ *+' conftest.er1 >conftest.err
20747 rm -f conftest.er1
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 { echo "$as_me:$LINENO: result: yes" >&5
20755 echo "${ECHO_T}yes" >&6; }
20756 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20757 else
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20760
20761 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20762 See \`config.log' for more details." >&5
20763 echo "$as_me: error: no. CoreFoundation not available.
20764 See \`config.log' for more details." >&2;}
20765 { (exit 1); exit 1; }; }
20766
20767 fi
20768
20769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20770
20771
20772 fi
20773
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775 ;;
20776 esac
20777
20778 wants_win32=0
20779 doesnt_want_win32=0
20780 case "${host}" in
20781 *-*-cygwin*)
20782 if test "$wxUSE_MSW" = 1 ; then
20783 wants_win32=1
20784 else
20785 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20786 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20787 if test "${wx_cv_nocygwin+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20789 else
20790
20791 cat >conftest.$ac_ext <<_ACEOF
20792 /* confdefs.h. */
20793 _ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797
20798 int
20799 main ()
20800 {
20801
20802 #ifdef __MINGW32__
20803 choke me
20804 #endif
20805
20806 ;
20807 return 0;
20808 }
20809 _ACEOF
20810 rm -f conftest.$ac_objext
20811 if { (ac_try="$ac_compile"
20812 case "(($ac_try" in
20813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20814 *) ac_try_echo=$ac_try;;
20815 esac
20816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20817 (eval "$ac_compile") 2>conftest.er1
20818 ac_status=$?
20819 grep -v '^ *+' conftest.er1 >conftest.err
20820 rm -f conftest.er1
20821 cat conftest.err >&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } && {
20824 test -z "$ac_c_werror_flag" ||
20825 test ! -s conftest.err
20826 } && test -s conftest.$ac_objext; then
20827 wx_cv_nocygwin=no
20828 else
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20831
20832 wx_cv_nocygwin=yes
20833
20834 fi
20835
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837
20838
20839 fi
20840 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20841 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20842
20843 if test "$wx_cv_nocygwin" = "yes"; then
20844 wants_win32=1
20845 else
20846 doesnt_want_win32=1
20847 fi
20848 fi
20849 if test "$wants_win32" = 1 ; then
20850 BAKEFILE_FORCE_PLATFORM=win32
20851 fi
20852 ;;
20853 *-*-mingw*)
20854 wants_win32=1
20855 ;;
20856 esac
20857
20858 if test "$wxUSE_WINE" = "yes"; then
20859 wants_win32=1
20860 LDFLAGS_GUI="-mwindows"
20861 fi
20862
20863 if test "$wants_win32" = 1 ; then
20864 USE_UNIX=0
20865 USE_WIN32=1
20866 cat >>confdefs.h <<\_ACEOF
20867 #define __WIN32__ 1
20868 _ACEOF
20869
20870 cat >>confdefs.h <<\_ACEOF
20871 #define __WIN95__ 1
20872 _ACEOF
20873
20874 cat >>confdefs.h <<\_ACEOF
20875 #define __WINDOWS__ 1
20876 _ACEOF
20877
20878 cat >>confdefs.h <<\_ACEOF
20879 #define __GNUWIN32__ 1
20880 _ACEOF
20881
20882 cat >>confdefs.h <<\_ACEOF
20883 #define STRICT 1
20884 _ACEOF
20885
20886 fi
20887 if test "$doesnt_want_win32" = 1 ; then
20888 USE_UNIX=1
20889 USE_WIN32=0
20890 fi
20891
20892 if test "$USE_UNIX" = 1 ; then
20893 wxUSE_UNIX=yes
20894 cat >>confdefs.h <<\_ACEOF
20895 #define __UNIX__ 1
20896 _ACEOF
20897
20898 fi
20899
20900 case "${host}" in
20901 *-pc-os2_emx | *-pc-os2-emx )
20902 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20903 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20904 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20905 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20906 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 else
20908 ac_check_lib_save_LIBS=$LIBS
20909 LIBS="-lcExt $LIBS"
20910 cat >conftest.$ac_ext <<_ACEOF
20911 /* confdefs.h. */
20912 _ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916
20917 /* Override any GCC internal prototype to avoid an error.
20918 Use char because int might match the return type of a GCC
20919 builtin and then its argument prototype would still apply. */
20920 #ifdef __cplusplus
20921 extern "C"
20922 #endif
20923 char drand48 ();
20924 int
20925 main ()
20926 {
20927 return drand48 ();
20928 ;
20929 return 0;
20930 }
20931 _ACEOF
20932 rm -f conftest.$ac_objext conftest$ac_exeext
20933 if { (ac_try="$ac_link"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20937 esac
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_link") 2>conftest.er1
20940 ac_status=$?
20941 grep -v '^ *+' conftest.er1 >conftest.err
20942 rm -f conftest.er1
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest$ac_exeext &&
20949 $as_test_x conftest$ac_exeext; then
20950 ac_cv_lib_cExt_drand48=yes
20951 else
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20954
20955 ac_cv_lib_cExt_drand48=no
20956 fi
20957
20958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20959 conftest$ac_exeext conftest.$ac_ext
20960 LIBS=$ac_check_lib_save_LIBS
20961 fi
20962 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20963 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20964 if test $ac_cv_lib_cExt_drand48 = yes; then
20965 LIBS="$LIBS -lcExt"
20966 fi
20967
20968 else
20969 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20970 fi
20971 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20972 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20973 if test "${wx_cv_gccversion+set}" = set; then
20974 echo $ECHO_N "(cached) $ECHO_C" >&6
20975 else
20976
20977 if test "$cross_compiling" = yes; then
20978 wx_cv_gccversion="EMX2"
20979
20980 else
20981 cat >conftest.$ac_ext <<_ACEOF
20982 /* confdefs.h. */
20983 _ACEOF
20984 cat confdefs.h >>conftest.$ac_ext
20985 cat >>conftest.$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20987
20988 #include <stdio.h>
20989
20990 int main()
20991 {
20992 FILE *f=fopen("conftestval", "w");
20993 if (!f) exit(1);
20994 fprintf(f,
20995 #if (__GNUC__ < 3)
20996 "EMX2"
20997 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20998 "EMX3"
20999 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21000 "Innotek5"
21001 #else
21002 "Innotek6"
21003 #endif
21004 );
21005 exit(0);
21006 }
21007
21008 _ACEOF
21009 rm -f conftest$ac_exeext
21010 if { (ac_try="$ac_link"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21014 esac
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_link") 2>&5
21017 ac_status=$?
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21020 { (case "(($ac_try" in
21021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21022 *) ac_try_echo=$ac_try;;
21023 esac
21024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_try") 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 wx_cv_gccversion=`cat conftestval`
21030 else
21031 echo "$as_me: program exited with status $ac_status" >&5
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21034
21035 ( exit $ac_status )
21036 wx_cv_gccversion="EMX2"
21037 fi
21038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21039 fi
21040
21041
21042
21043 fi
21044 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21045 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21046 if test "$wx_cv_gccversion" = "EMX2"; then
21047 LIBS="$LIBS -lstdcpp"
21048 LDFLAGS="$LDFLAGS -Zsysv-signals"
21049 else
21050 if test "$wx_cv_gccversion" = "EMX3"; then
21051 LIBS="$LIBS -lstdcxx -lgcc"
21052 LDFLAGS="$LDFLAGS -Zsysv-signals"
21053 else
21054 LIBS="$LIBS -lstdc++"
21055 fi
21056 fi
21057 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21058 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21059 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21060 wxUSE_OMF=yes
21061 enable_omf=yes
21062 fi
21063 ;;
21064 *)
21065
21066 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21067 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21068 if test "${ac_cv_string_strcasecmp+set}" = set; then
21069 echo $ECHO_N "(cached) $ECHO_C" >&6
21070 else
21071
21072 cat >conftest.$ac_ext <<_ACEOF
21073 /* confdefs.h. */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078
21079 #include <string.h>
21080
21081 int
21082 main ()
21083 {
21084
21085 strcasecmp("foo", "bar");
21086
21087 ;
21088 return 0;
21089 }
21090 _ACEOF
21091 rm -f conftest.$ac_objext conftest$ac_exeext
21092 if { (ac_try="$ac_link"
21093 case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21096 esac
21097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_link") 2>conftest.er1
21099 ac_status=$?
21100 grep -v '^ *+' conftest.er1 >conftest.err
21101 rm -f conftest.er1
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } && {
21105 test -z "$ac_c_werror_flag" ||
21106 test ! -s conftest.err
21107 } && test -s conftest$ac_exeext &&
21108 $as_test_x conftest$ac_exeext; then
21109 ac_cv_string_strcasecmp=yes
21110 else
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21113
21114 ac_cv_string_strcasecmp=no
21115
21116 fi
21117
21118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21119 conftest$ac_exeext conftest.$ac_ext
21120
21121 fi
21122 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21123 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21124
21125 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21126 cat >>confdefs.h <<\_ACEOF
21127 #define HAVE_STRCASECMP_IN_STRING_H 1
21128 _ACEOF
21129
21130 else
21131 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21132 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21133 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21134 echo $ECHO_N "(cached) $ECHO_C" >&6
21135 else
21136
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143
21144 #include <strings.h>
21145
21146 int
21147 main ()
21148 {
21149
21150 strcasecmp("foo", "bar");
21151
21152 ;
21153 return 0;
21154 }
21155 _ACEOF
21156 rm -f conftest.$ac_objext conftest$ac_exeext
21157 if { (ac_try="$ac_link"
21158 case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21161 esac
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_link") 2>conftest.er1
21164 ac_status=$?
21165 grep -v '^ *+' conftest.er1 >conftest.err
21166 rm -f conftest.er1
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest$ac_exeext &&
21173 $as_test_x conftest$ac_exeext; then
21174 ac_cv_strings_strcasecmp=yes
21175 else
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21178
21179 ac_cv_strings_strcasecmp=no
21180
21181 fi
21182
21183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21184 conftest$ac_exeext conftest.$ac_ext
21185
21186 fi
21187 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21188 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21189
21190 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21191 cat >>confdefs.h <<\_ACEOF
21192 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21193 _ACEOF
21194
21195 else
21196 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21197 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21198 { (exit 1); exit 1; }; }
21199 fi
21200 fi
21201
21202 ;;
21203 esac
21204
21205
21206 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21207 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21208 if test "${ac_cv_header_stdc+set}" = set; then
21209 echo $ECHO_N "(cached) $ECHO_C" >&6
21210 else
21211 cat >conftest.$ac_ext <<_ACEOF
21212 /* confdefs.h. */
21213 _ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 #include <stdlib.h>
21218 #include <stdarg.h>
21219 #include <string.h>
21220 #include <float.h>
21221
21222 int
21223 main ()
21224 {
21225
21226 ;
21227 return 0;
21228 }
21229 _ACEOF
21230 rm -f conftest.$ac_objext
21231 if { (ac_try="$ac_compile"
21232 case "(($ac_try" in
21233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21234 *) ac_try_echo=$ac_try;;
21235 esac
21236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21237 (eval "$ac_compile") 2>conftest.er1
21238 ac_status=$?
21239 grep -v '^ *+' conftest.er1 >conftest.err
21240 rm -f conftest.er1
21241 cat conftest.err >&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } && {
21244 test -z "$ac_c_werror_flag" ||
21245 test ! -s conftest.err
21246 } && test -s conftest.$ac_objext; then
21247 ac_cv_header_stdc=yes
21248 else
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21251
21252 ac_cv_header_stdc=no
21253 fi
21254
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256
21257 if test $ac_cv_header_stdc = yes; then
21258 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 #include <string.h>
21266
21267 _ACEOF
21268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21269 $EGREP "memchr" >/dev/null 2>&1; then
21270 :
21271 else
21272 ac_cv_header_stdc=no
21273 fi
21274 rm -f conftest*
21275
21276 fi
21277
21278 if test $ac_cv_header_stdc = yes; then
21279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21280 cat >conftest.$ac_ext <<_ACEOF
21281 /* confdefs.h. */
21282 _ACEOF
21283 cat confdefs.h >>conftest.$ac_ext
21284 cat >>conftest.$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286 #include <stdlib.h>
21287
21288 _ACEOF
21289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21290 $EGREP "free" >/dev/null 2>&1; then
21291 :
21292 else
21293 ac_cv_header_stdc=no
21294 fi
21295 rm -f conftest*
21296
21297 fi
21298
21299 if test $ac_cv_header_stdc = yes; then
21300 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21301 if test "$cross_compiling" = yes; then
21302 :
21303 else
21304 cat >conftest.$ac_ext <<_ACEOF
21305 /* confdefs.h. */
21306 _ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 #include <ctype.h>
21311 #include <stdlib.h>
21312 #if ((' ' & 0x0FF) == 0x020)
21313 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21314 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21315 #else
21316 # define ISLOWER(c) \
21317 (('a' <= (c) && (c) <= 'i') \
21318 || ('j' <= (c) && (c) <= 'r') \
21319 || ('s' <= (c) && (c) <= 'z'))
21320 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21321 #endif
21322
21323 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21324 int
21325 main ()
21326 {
21327 int i;
21328 for (i = 0; i < 256; i++)
21329 if (XOR (islower (i), ISLOWER (i))
21330 || toupper (i) != TOUPPER (i))
21331 return 2;
21332 return 0;
21333 }
21334 _ACEOF
21335 rm -f conftest$ac_exeext
21336 if { (ac_try="$ac_link"
21337 case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21340 esac
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_link") 2>&5
21343 ac_status=$?
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21346 { (case "(($ac_try" in
21347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21349 esac
21350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_try") 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 :
21356 else
21357 echo "$as_me: program exited with status $ac_status" >&5
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21360
21361 ( exit $ac_status )
21362 ac_cv_header_stdc=no
21363 fi
21364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21365 fi
21366
21367
21368 fi
21369 fi
21370 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21371 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21372 if test $ac_cv_header_stdc = yes; then
21373
21374 cat >>confdefs.h <<\_ACEOF
21375 #define STDC_HEADERS 1
21376 _ACEOF
21377
21378 fi
21379
21380 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21391 inttypes.h stdint.h unistd.h
21392 do
21393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21398 else
21399 cat >conftest.$ac_ext <<_ACEOF
21400 /* confdefs.h. */
21401 _ACEOF
21402 cat confdefs.h >>conftest.$ac_ext
21403 cat >>conftest.$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 $ac_includes_default
21406
21407 #include <$ac_header>
21408 _ACEOF
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21414 esac
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 eval "$as_ac_Header=yes"
21427 else
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21430
21431 eval "$as_ac_Header=no"
21432 fi
21433
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 fi
21436 ac_res=`eval echo '${'$as_ac_Header'}'`
21437 { echo "$as_me:$LINENO: result: $ac_res" >&5
21438 echo "${ECHO_T}$ac_res" >&6; }
21439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21440 cat >>confdefs.h <<_ACEOF
21441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21442 _ACEOF
21443
21444 fi
21445
21446 done
21447
21448
21449
21450
21451 for ac_header in langinfo.h wchar.h
21452 do
21453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 else
21459 cat >conftest.$ac_ext <<_ACEOF
21460 /* confdefs.h. */
21461 _ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21466
21467 #include <$ac_header>
21468 _ACEOF
21469 rm -f conftest.$ac_objext
21470 if { (ac_try="$ac_compile"
21471 case "(($ac_try" in
21472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21473 *) ac_try_echo=$ac_try;;
21474 esac
21475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21476 (eval "$ac_compile") 2>conftest.er1
21477 ac_status=$?
21478 grep -v '^ *+' conftest.er1 >conftest.err
21479 rm -f conftest.er1
21480 cat conftest.err >&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } && {
21483 test -z "$ac_c_werror_flag" ||
21484 test ! -s conftest.err
21485 } && test -s conftest.$ac_objext; then
21486 eval "$as_ac_Header=yes"
21487 else
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21490
21491 eval "$as_ac_Header=no"
21492 fi
21493
21494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21495 fi
21496 ac_res=`eval echo '${'$as_ac_Header'}'`
21497 { echo "$as_me:$LINENO: result: $ac_res" >&5
21498 echo "${ECHO_T}$ac_res" >&6; }
21499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21500 cat >>confdefs.h <<_ACEOF
21501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21502 _ACEOF
21503
21504 fi
21505
21506 done
21507
21508
21509 if test "$ac_cv_header_wchar_h" != "yes"; then
21510
21511 for ac_header in wcstr.h
21512 do
21513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21514 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21517 echo $ECHO_N "(cached) $ECHO_C" >&6
21518 else
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21526
21527 #include <$ac_header>
21528 _ACEOF
21529 rm -f conftest.$ac_objext
21530 if { (ac_try="$ac_compile"
21531 case "(($ac_try" in
21532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21533 *) ac_try_echo=$ac_try;;
21534 esac
21535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21536 (eval "$ac_compile") 2>conftest.er1
21537 ac_status=$?
21538 grep -v '^ *+' conftest.er1 >conftest.err
21539 rm -f conftest.er1
21540 cat conftest.err >&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); } && {
21543 test -z "$ac_c_werror_flag" ||
21544 test ! -s conftest.err
21545 } && test -s conftest.$ac_objext; then
21546 eval "$as_ac_Header=yes"
21547 else
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.$ac_ext >&5
21550
21551 eval "$as_ac_Header=no"
21552 fi
21553
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21555 fi
21556 ac_res=`eval echo '${'$as_ac_Header'}'`
21557 { echo "$as_me:$LINENO: result: $ac_res" >&5
21558 echo "${ECHO_T}$ac_res" >&6; }
21559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21560 cat >>confdefs.h <<_ACEOF
21561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21562 _ACEOF
21563
21564 fi
21565
21566 done
21567
21568 fi
21569
21570 case "${host}" in
21571 *-pc-os2_emx | *-pc-os2-emx )
21572 if test $ac_cv_header_langinfo_h = "yes" \
21573 -a \( "$wx_cv_gccversion" = "EMX2" \
21574 -o "$wx_cv_gccversion" = "EMX3" \
21575 -o "$wx_cv_gccversion" = "Innotek5" \); then
21576 LIBS="$LIBS -lintl"
21577 fi
21578 ;;
21579 esac
21580
21581 if test "$USE_UNIX" = 1 ; then
21582
21583 for ac_header in sys/select.h
21584 do
21585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21586 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21589 echo $ECHO_N "(cached) $ECHO_C" >&6
21590 else
21591 cat >conftest.$ac_ext <<_ACEOF
21592 /* confdefs.h. */
21593 _ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 $ac_includes_default
21598
21599 #include <$ac_header>
21600 _ACEOF
21601 rm -f conftest.$ac_objext
21602 if { (ac_try="$ac_compile"
21603 case "(($ac_try" in
21604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21605 *) ac_try_echo=$ac_try;;
21606 esac
21607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21608 (eval "$ac_compile") 2>conftest.er1
21609 ac_status=$?
21610 grep -v '^ *+' conftest.er1 >conftest.err
21611 rm -f conftest.er1
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } && {
21615 test -z "$ac_c_werror_flag" ||
21616 test ! -s conftest.err
21617 } && test -s conftest.$ac_objext; then
21618 eval "$as_ac_Header=yes"
21619 else
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21622
21623 eval "$as_ac_Header=no"
21624 fi
21625
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21627 fi
21628 ac_res=`eval echo '${'$as_ac_Header'}'`
21629 { echo "$as_me:$LINENO: result: $ac_res" >&5
21630 echo "${ECHO_T}$ac_res" >&6; }
21631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21632 cat >>confdefs.h <<_ACEOF
21633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21634 _ACEOF
21635
21636 fi
21637
21638 done
21639
21640 fi
21641
21642
21643 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21644 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21645 if test "${ac_cv_c_const+set}" = set; then
21646 echo $ECHO_N "(cached) $ECHO_C" >&6
21647 else
21648 cat >conftest.$ac_ext <<_ACEOF
21649 /* confdefs.h. */
21650 _ACEOF
21651 cat confdefs.h >>conftest.$ac_ext
21652 cat >>conftest.$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21654
21655 int
21656 main ()
21657 {
21658 /* FIXME: Include the comments suggested by Paul. */
21659 #ifndef __cplusplus
21660 /* Ultrix mips cc rejects this. */
21661 typedef int charset[2];
21662 const charset cs;
21663 /* SunOS 4.1.1 cc rejects this. */
21664 char const *const *pcpcc;
21665 char **ppc;
21666 /* NEC SVR4.0.2 mips cc rejects this. */
21667 struct point {int x, y;};
21668 static struct point const zero = {0,0};
21669 /* AIX XL C 1.02.0.0 rejects this.
21670 It does not let you subtract one const X* pointer from another in
21671 an arm of an if-expression whose if-part is not a constant
21672 expression */
21673 const char *g = "string";
21674 pcpcc = &g + (g ? g-g : 0);
21675 /* HPUX 7.0 cc rejects these. */
21676 ++pcpcc;
21677 ppc = (char**) pcpcc;
21678 pcpcc = (char const *const *) ppc;
21679 { /* SCO 3.2v4 cc rejects this. */
21680 char *t;
21681 char const *s = 0 ? (char *) 0 : (char const *) 0;
21682
21683 *t++ = 0;
21684 if (s) return 0;
21685 }
21686 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21687 int x[] = {25, 17};
21688 const int *foo = &x[0];
21689 ++foo;
21690 }
21691 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21692 typedef const int *iptr;
21693 iptr p = 0;
21694 ++p;
21695 }
21696 { /* AIX XL C 1.02.0.0 rejects this saying
21697 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21698 struct s { int j; const int *ap[3]; };
21699 struct s *b; b->j = 5;
21700 }
21701 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21702 const int foo = 10;
21703 if (!foo) return 0;
21704 }
21705 return !cs[0] && !zero.x;
21706 #endif
21707
21708 ;
21709 return 0;
21710 }
21711 _ACEOF
21712 rm -f conftest.$ac_objext
21713 if { (ac_try="$ac_compile"
21714 case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21717 esac
21718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_compile") 2>conftest.er1
21720 ac_status=$?
21721 grep -v '^ *+' conftest.er1 >conftest.err
21722 rm -f conftest.er1
21723 cat conftest.err >&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } && {
21726 test -z "$ac_c_werror_flag" ||
21727 test ! -s conftest.err
21728 } && test -s conftest.$ac_objext; then
21729 ac_cv_c_const=yes
21730 else
21731 echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21733
21734 ac_cv_c_const=no
21735 fi
21736
21737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21738 fi
21739 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21740 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21741 if test $ac_cv_c_const = no; then
21742
21743 cat >>confdefs.h <<\_ACEOF
21744 #define const
21745 _ACEOF
21746
21747 fi
21748
21749 { echo "$as_me:$LINENO: checking for inline" >&5
21750 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21751 if test "${ac_cv_c_inline+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 else
21754 ac_cv_c_inline=no
21755 for ac_kw in inline __inline__ __inline; do
21756 cat >conftest.$ac_ext <<_ACEOF
21757 /* confdefs.h. */
21758 _ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 #ifndef __cplusplus
21763 typedef int foo_t;
21764 static $ac_kw foo_t static_foo () {return 0; }
21765 $ac_kw foo_t foo () {return 0; }
21766 #endif
21767
21768 _ACEOF
21769 rm -f conftest.$ac_objext
21770 if { (ac_try="$ac_compile"
21771 case "(($ac_try" in
21772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21773 *) ac_try_echo=$ac_try;;
21774 esac
21775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21776 (eval "$ac_compile") 2>conftest.er1
21777 ac_status=$?
21778 grep -v '^ *+' conftest.er1 >conftest.err
21779 rm -f conftest.er1
21780 cat conftest.err >&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); } && {
21783 test -z "$ac_c_werror_flag" ||
21784 test ! -s conftest.err
21785 } && test -s conftest.$ac_objext; then
21786 ac_cv_c_inline=$ac_kw
21787 else
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.$ac_ext >&5
21790
21791
21792 fi
21793
21794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21795 test "$ac_cv_c_inline" != no && break
21796 done
21797
21798 fi
21799 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21800 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21801
21802
21803 case $ac_cv_c_inline in
21804 inline | yes) ;;
21805 *)
21806 case $ac_cv_c_inline in
21807 no) ac_val=;;
21808 *) ac_val=$ac_cv_c_inline;;
21809 esac
21810 cat >>confdefs.h <<_ACEOF
21811 #ifndef __cplusplus
21812 #define inline $ac_val
21813 #endif
21814 _ACEOF
21815 ;;
21816 esac
21817
21818
21819 { echo "$as_me:$LINENO: checking for short" >&5
21820 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21821 if test "${ac_cv_type_short+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 else
21824 cat >conftest.$ac_ext <<_ACEOF
21825 /* confdefs.h. */
21826 _ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830 $ac_includes_default
21831 typedef short ac__type_new_;
21832 int
21833 main ()
21834 {
21835 if ((ac__type_new_ *) 0)
21836 return 0;
21837 if (sizeof (ac__type_new_))
21838 return 0;
21839 ;
21840 return 0;
21841 }
21842 _ACEOF
21843 rm -f conftest.$ac_objext
21844 if { (ac_try="$ac_compile"
21845 case "(($ac_try" in
21846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21847 *) ac_try_echo=$ac_try;;
21848 esac
21849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21850 (eval "$ac_compile") 2>conftest.er1
21851 ac_status=$?
21852 grep -v '^ *+' conftest.er1 >conftest.err
21853 rm -f conftest.er1
21854 cat conftest.err >&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); } && {
21857 test -z "$ac_c_werror_flag" ||
21858 test ! -s conftest.err
21859 } && test -s conftest.$ac_objext; then
21860 ac_cv_type_short=yes
21861 else
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.$ac_ext >&5
21864
21865 ac_cv_type_short=no
21866 fi
21867
21868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21869 fi
21870 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21871 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21872
21873 # The cast to long int works around a bug in the HP C Compiler
21874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21876 # This bug is HP SR number 8606223364.
21877 { echo "$as_me:$LINENO: checking size of short" >&5
21878 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21879 if test "${ac_cv_sizeof_short+set}" = set; then
21880 echo $ECHO_N "(cached) $ECHO_C" >&6
21881 else
21882 if test "$cross_compiling" = yes; then
21883 # Depending upon the size, compute the lo and hi bounds.
21884 cat >conftest.$ac_ext <<_ACEOF
21885 /* confdefs.h. */
21886 _ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef short ac__type_sizeof_;
21892 int
21893 main ()
21894 {
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21896 test_array [0] = 0
21897
21898 ;
21899 return 0;
21900 }
21901 _ACEOF
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21907 esac
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21919 ac_lo=0 ac_mid=0
21920 while :; do
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef short ac__type_sizeof_;
21929 int
21930 main ()
21931 {
21932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21933 test_array [0] = 0
21934
21935 ;
21936 return 0;
21937 }
21938 _ACEOF
21939 rm -f conftest.$ac_objext
21940 if { (ac_try="$ac_compile"
21941 case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21944 esac
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_compile") 2>conftest.er1
21947 ac_status=$?
21948 grep -v '^ *+' conftest.er1 >conftest.err
21949 rm -f conftest.er1
21950 cat conftest.err >&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } && {
21953 test -z "$ac_c_werror_flag" ||
21954 test ! -s conftest.err
21955 } && test -s conftest.$ac_objext; then
21956 ac_hi=$ac_mid; break
21957 else
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21960
21961 ac_lo=`expr $ac_mid + 1`
21962 if test $ac_lo -le $ac_mid; then
21963 ac_lo= ac_hi=
21964 break
21965 fi
21966 ac_mid=`expr 2 '*' $ac_mid + 1`
21967 fi
21968
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 done
21971 else
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21974
21975 cat >conftest.$ac_ext <<_ACEOF
21976 /* confdefs.h. */
21977 _ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 $ac_includes_default
21982 typedef short ac__type_sizeof_;
21983 int
21984 main ()
21985 {
21986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21987 test_array [0] = 0
21988
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21998 esac
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22001 ac_status=$?
22002 grep -v '^ *+' conftest.er1 >conftest.err
22003 rm -f conftest.er1
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_hi=-1 ac_mid=-1
22011 while :; do
22012 cat >conftest.$ac_ext <<_ACEOF
22013 /* confdefs.h. */
22014 _ACEOF
22015 cat confdefs.h >>conftest.$ac_ext
22016 cat >>conftest.$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018 $ac_includes_default
22019 typedef short ac__type_sizeof_;
22020 int
22021 main ()
22022 {
22023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22024 test_array [0] = 0
22025
22026 ;
22027 return 0;
22028 }
22029 _ACEOF
22030 rm -f conftest.$ac_objext
22031 if { (ac_try="$ac_compile"
22032 case "(($ac_try" in
22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034 *) ac_try_echo=$ac_try;;
22035 esac
22036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22037 (eval "$ac_compile") 2>conftest.er1
22038 ac_status=$?
22039 grep -v '^ *+' conftest.er1 >conftest.err
22040 rm -f conftest.er1
22041 cat conftest.err >&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } && {
22044 test -z "$ac_c_werror_flag" ||
22045 test ! -s conftest.err
22046 } && test -s conftest.$ac_objext; then
22047 ac_lo=$ac_mid; break
22048 else
22049 echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22051
22052 ac_hi=`expr '(' $ac_mid ')' - 1`
22053 if test $ac_mid -le $ac_hi; then
22054 ac_lo= ac_hi=
22055 break
22056 fi
22057 ac_mid=`expr 2 '*' $ac_mid`
22058 fi
22059
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 done
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066 ac_lo= ac_hi=
22067 fi
22068
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22070 fi
22071
22072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22073 # Binary search between lo and hi bounds.
22074 while test "x$ac_lo" != "x$ac_hi"; do
22075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22076 cat >conftest.$ac_ext <<_ACEOF
22077 /* confdefs.h. */
22078 _ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef short ac__type_sizeof_;
22084 int
22085 main ()
22086 {
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22088 test_array [0] = 0
22089
22090 ;
22091 return 0;
22092 }
22093 _ACEOF
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22099 esac
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22102 ac_status=$?
22103 grep -v '^ *+' conftest.er1 >conftest.err
22104 rm -f conftest.er1
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22111 ac_hi=$ac_mid
22112 else
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22115
22116 ac_lo=`expr '(' $ac_mid ')' + 1`
22117 fi
22118
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 done
22121 case $ac_lo in
22122 ?*) ac_cv_sizeof_short=$ac_lo;;
22123 '') if test "$ac_cv_type_short" = yes; then
22124 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22125 See \`config.log' for more details." >&5
22126 echo "$as_me: error: cannot compute sizeof (short)
22127 See \`config.log' for more details." >&2;}
22128 { (exit 77); exit 77; }; }
22129 else
22130 ac_cv_sizeof_short=0
22131 fi ;;
22132 esac
22133 else
22134 cat >conftest.$ac_ext <<_ACEOF
22135 /* confdefs.h. */
22136 _ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 typedef short ac__type_sizeof_;
22142 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22143 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22144 #include <stdio.h>
22145 #include <stdlib.h>
22146 int
22147 main ()
22148 {
22149
22150 FILE *f = fopen ("conftest.val", "w");
22151 if (! f)
22152 return 1;
22153 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22154 {
22155 long int i = longval ();
22156 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22157 return 1;
22158 fprintf (f, "%ld\n", i);
22159 }
22160 else
22161 {
22162 unsigned long int i = ulongval ();
22163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22164 return 1;
22165 fprintf (f, "%lu\n", i);
22166 }
22167 return ferror (f) || fclose (f) != 0;
22168
22169 ;
22170 return 0;
22171 }
22172 _ACEOF
22173 rm -f conftest$ac_exeext
22174 if { (ac_try="$ac_link"
22175 case "(($ac_try" in
22176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22177 *) ac_try_echo=$ac_try;;
22178 esac
22179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22180 (eval "$ac_link") 2>&5
22181 ac_status=$?
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22184 { (case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22187 esac
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_try") 2>&5
22190 ac_status=$?
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); }; }; then
22193 ac_cv_sizeof_short=`cat conftest.val`
22194 else
22195 echo "$as_me: program exited with status $ac_status" >&5
22196 echo "$as_me: failed program was:" >&5
22197 sed 's/^/| /' conftest.$ac_ext >&5
22198
22199 ( exit $ac_status )
22200 if test "$ac_cv_type_short" = yes; then
22201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22202 See \`config.log' for more details." >&5
22203 echo "$as_me: error: cannot compute sizeof (short)
22204 See \`config.log' for more details." >&2;}
22205 { (exit 77); exit 77; }; }
22206 else
22207 ac_cv_sizeof_short=0
22208 fi
22209 fi
22210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22211 fi
22212 rm -f conftest.val
22213 fi
22214 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22215 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22216
22217
22218
22219 cat >>confdefs.h <<_ACEOF
22220 #define SIZEOF_SHORT $ac_cv_sizeof_short
22221 _ACEOF
22222
22223
22224 { echo "$as_me:$LINENO: checking for void *" >&5
22225 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22226 if test "${ac_cv_type_void_p+set}" = set; then
22227 echo $ECHO_N "(cached) $ECHO_C" >&6
22228 else
22229 cat >conftest.$ac_ext <<_ACEOF
22230 /* confdefs.h. */
22231 _ACEOF
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22236 typedef void * ac__type_new_;
22237 int
22238 main ()
22239 {
22240 if ((ac__type_new_ *) 0)
22241 return 0;
22242 if (sizeof (ac__type_new_))
22243 return 0;
22244 ;
22245 return 0;
22246 }
22247 _ACEOF
22248 rm -f conftest.$ac_objext
22249 if { (ac_try="$ac_compile"
22250 case "(($ac_try" in
22251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22252 *) ac_try_echo=$ac_try;;
22253 esac
22254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22255 (eval "$ac_compile") 2>conftest.er1
22256 ac_status=$?
22257 grep -v '^ *+' conftest.er1 >conftest.err
22258 rm -f conftest.er1
22259 cat conftest.err >&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); } && {
22262 test -z "$ac_c_werror_flag" ||
22263 test ! -s conftest.err
22264 } && test -s conftest.$ac_objext; then
22265 ac_cv_type_void_p=yes
22266 else
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.$ac_ext >&5
22269
22270 ac_cv_type_void_p=no
22271 fi
22272
22273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22274 fi
22275 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22276 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22277
22278 # The cast to long int works around a bug in the HP C Compiler
22279 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22280 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22281 # This bug is HP SR number 8606223364.
22282 { echo "$as_me:$LINENO: checking size of void *" >&5
22283 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22284 if test "${ac_cv_sizeof_void_p+set}" = set; then
22285 echo $ECHO_N "(cached) $ECHO_C" >&6
22286 else
22287 if test "$cross_compiling" = yes; then
22288 # Depending upon the size, compute the lo and hi bounds.
22289 cat >conftest.$ac_ext <<_ACEOF
22290 /* confdefs.h. */
22291 _ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef void * ac__type_sizeof_;
22297 int
22298 main ()
22299 {
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22301 test_array [0] = 0
22302
22303 ;
22304 return 0;
22305 }
22306 _ACEOF
22307 rm -f conftest.$ac_objext
22308 if { (ac_try="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22312 esac
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22315 ac_status=$?
22316 grep -v '^ *+' conftest.er1 >conftest.err
22317 rm -f conftest.er1
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22324 ac_lo=0 ac_mid=0
22325 while :; do
22326 cat >conftest.$ac_ext <<_ACEOF
22327 /* confdefs.h. */
22328 _ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 $ac_includes_default
22333 typedef void * ac__type_sizeof_;
22334 int
22335 main ()
22336 {
22337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22338 test_array [0] = 0
22339
22340 ;
22341 return 0;
22342 }
22343 _ACEOF
22344 rm -f conftest.$ac_objext
22345 if { (ac_try="$ac_compile"
22346 case "(($ac_try" in
22347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22348 *) ac_try_echo=$ac_try;;
22349 esac
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_compile") 2>conftest.er1
22352 ac_status=$?
22353 grep -v '^ *+' conftest.er1 >conftest.err
22354 rm -f conftest.er1
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } && {
22358 test -z "$ac_c_werror_flag" ||
22359 test ! -s conftest.err
22360 } && test -s conftest.$ac_objext; then
22361 ac_hi=$ac_mid; break
22362 else
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.$ac_ext >&5
22365
22366 ac_lo=`expr $ac_mid + 1`
22367 if test $ac_lo -le $ac_mid; then
22368 ac_lo= ac_hi=
22369 break
22370 fi
22371 ac_mid=`expr 2 '*' $ac_mid + 1`
22372 fi
22373
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22375 done
22376 else
22377 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.$ac_ext >&5
22379
22380 cat >conftest.$ac_ext <<_ACEOF
22381 /* confdefs.h. */
22382 _ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef void * ac__type_sizeof_;
22388 int
22389 main ()
22390 {
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22392 test_array [0] = 0
22393
22394 ;
22395 return 0;
22396 }
22397 _ACEOF
22398 rm -f conftest.$ac_objext
22399 if { (ac_try="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22403 esac
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22406 ac_status=$?
22407 grep -v '^ *+' conftest.er1 >conftest.err
22408 rm -f conftest.er1
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } && {
22412 test -z "$ac_c_werror_flag" ||
22413 test ! -s conftest.err
22414 } && test -s conftest.$ac_objext; then
22415 ac_hi=-1 ac_mid=-1
22416 while :; do
22417 cat >conftest.$ac_ext <<_ACEOF
22418 /* confdefs.h. */
22419 _ACEOF
22420 cat confdefs.h >>conftest.$ac_ext
22421 cat >>conftest.$ac_ext <<_ACEOF
22422 /* end confdefs.h. */
22423 $ac_includes_default
22424 typedef void * ac__type_sizeof_;
22425 int
22426 main ()
22427 {
22428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22429 test_array [0] = 0
22430
22431 ;
22432 return 0;
22433 }
22434 _ACEOF
22435 rm -f conftest.$ac_objext
22436 if { (ac_try="$ac_compile"
22437 case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;;
22440 esac
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_compile") 2>conftest.er1
22443 ac_status=$?
22444 grep -v '^ *+' conftest.er1 >conftest.err
22445 rm -f conftest.er1
22446 cat conftest.err >&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } && {
22449 test -z "$ac_c_werror_flag" ||
22450 test ! -s conftest.err
22451 } && test -s conftest.$ac_objext; then
22452 ac_lo=$ac_mid; break
22453 else
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.$ac_ext >&5
22456
22457 ac_hi=`expr '(' $ac_mid ')' - 1`
22458 if test $ac_mid -le $ac_hi; then
22459 ac_lo= ac_hi=
22460 break
22461 fi
22462 ac_mid=`expr 2 '*' $ac_mid`
22463 fi
22464
22465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22466 done
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 ac_lo= ac_hi=
22472 fi
22473
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 fi
22476
22477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22478 # Binary search between lo and hi bounds.
22479 while test "x$ac_lo" != "x$ac_hi"; do
22480 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef void * ac__type_sizeof_;
22489 int
22490 main ()
22491 {
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22493 test_array [0] = 0
22494
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_hi=$ac_mid
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22520
22521 ac_lo=`expr '(' $ac_mid ')' + 1`
22522 fi
22523
22524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22525 done
22526 case $ac_lo in
22527 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22528 '') if test "$ac_cv_type_void_p" = yes; then
22529 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22530 See \`config.log' for more details." >&5
22531 echo "$as_me: error: cannot compute sizeof (void *)
22532 See \`config.log' for more details." >&2;}
22533 { (exit 77); exit 77; }; }
22534 else
22535 ac_cv_sizeof_void_p=0
22536 fi ;;
22537 esac
22538 else
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef void * ac__type_sizeof_;
22547 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22548 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22549 #include <stdio.h>
22550 #include <stdlib.h>
22551 int
22552 main ()
22553 {
22554
22555 FILE *f = fopen ("conftest.val", "w");
22556 if (! f)
22557 return 1;
22558 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22559 {
22560 long int i = longval ();
22561 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22562 return 1;
22563 fprintf (f, "%ld\n", i);
22564 }
22565 else
22566 {
22567 unsigned long int i = ulongval ();
22568 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22569 return 1;
22570 fprintf (f, "%lu\n", i);
22571 }
22572 return ferror (f) || fclose (f) != 0;
22573
22574 ;
22575 return 0;
22576 }
22577 _ACEOF
22578 rm -f conftest$ac_exeext
22579 if { (ac_try="$ac_link"
22580 case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22583 esac
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_link") 2>&5
22586 ac_status=$?
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22589 { (case "(($ac_try" in
22590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22591 *) ac_try_echo=$ac_try;;
22592 esac
22593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22594 (eval "$ac_try") 2>&5
22595 ac_status=$?
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; }; then
22598 ac_cv_sizeof_void_p=`cat conftest.val`
22599 else
22600 echo "$as_me: program exited with status $ac_status" >&5
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22603
22604 ( exit $ac_status )
22605 if test "$ac_cv_type_void_p" = yes; then
22606 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22607 See \`config.log' for more details." >&5
22608 echo "$as_me: error: cannot compute sizeof (void *)
22609 See \`config.log' for more details." >&2;}
22610 { (exit 77); exit 77; }; }
22611 else
22612 ac_cv_sizeof_void_p=0
22613 fi
22614 fi
22615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22616 fi
22617 rm -f conftest.val
22618 fi
22619 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22620 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22621
22622
22623
22624 cat >>confdefs.h <<_ACEOF
22625 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22626 _ACEOF
22627
22628
22629 { echo "$as_me:$LINENO: checking for int" >&5
22630 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22631 if test "${ac_cv_type_int+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634 cat >conftest.$ac_ext <<_ACEOF
22635 /* confdefs.h. */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 $ac_includes_default
22641 typedef int ac__type_new_;
22642 int
22643 main ()
22644 {
22645 if ((ac__type_new_ *) 0)
22646 return 0;
22647 if (sizeof (ac__type_new_))
22648 return 0;
22649 ;
22650 return 0;
22651 }
22652 _ACEOF
22653 rm -f conftest.$ac_objext
22654 if { (ac_try="$ac_compile"
22655 case "(($ac_try" in
22656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22657 *) ac_try_echo=$ac_try;;
22658 esac
22659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22660 (eval "$ac_compile") 2>conftest.er1
22661 ac_status=$?
22662 grep -v '^ *+' conftest.er1 >conftest.err
22663 rm -f conftest.er1
22664 cat conftest.err >&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } && {
22667 test -z "$ac_c_werror_flag" ||
22668 test ! -s conftest.err
22669 } && test -s conftest.$ac_objext; then
22670 ac_cv_type_int=yes
22671 else
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22674
22675 ac_cv_type_int=no
22676 fi
22677
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 fi
22680 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22681 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22682
22683 # The cast to long int works around a bug in the HP C Compiler
22684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22686 # This bug is HP SR number 8606223364.
22687 { echo "$as_me:$LINENO: checking size of int" >&5
22688 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22689 if test "${ac_cv_sizeof_int+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 else
22692 if test "$cross_compiling" = yes; then
22693 # Depending upon the size, compute the lo and hi bounds.
22694 cat >conftest.$ac_ext <<_ACEOF
22695 /* confdefs.h. */
22696 _ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef int ac__type_sizeof_;
22702 int
22703 main ()
22704 {
22705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22706 test_array [0] = 0
22707
22708 ;
22709 return 0;
22710 }
22711 _ACEOF
22712 rm -f conftest.$ac_objext
22713 if { (ac_try="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22717 esac
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22720 ac_status=$?
22721 grep -v '^ *+' conftest.er1 >conftest.err
22722 rm -f conftest.er1
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } && {
22726 test -z "$ac_c_werror_flag" ||
22727 test ! -s conftest.err
22728 } && test -s conftest.$ac_objext; then
22729 ac_lo=0 ac_mid=0
22730 while :; do
22731 cat >conftest.$ac_ext <<_ACEOF
22732 /* confdefs.h. */
22733 _ACEOF
22734 cat confdefs.h >>conftest.$ac_ext
22735 cat >>conftest.$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22737 $ac_includes_default
22738 typedef int ac__type_sizeof_;
22739 int
22740 main ()
22741 {
22742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22743 test_array [0] = 0
22744
22745 ;
22746 return 0;
22747 }
22748 _ACEOF
22749 rm -f conftest.$ac_objext
22750 if { (ac_try="$ac_compile"
22751 case "(($ac_try" in
22752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22753 *) ac_try_echo=$ac_try;;
22754 esac
22755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22756 (eval "$ac_compile") 2>conftest.er1
22757 ac_status=$?
22758 grep -v '^ *+' conftest.er1 >conftest.err
22759 rm -f conftest.er1
22760 cat conftest.err >&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); } && {
22763 test -z "$ac_c_werror_flag" ||
22764 test ! -s conftest.err
22765 } && test -s conftest.$ac_objext; then
22766 ac_hi=$ac_mid; break
22767 else
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.$ac_ext >&5
22770
22771 ac_lo=`expr $ac_mid + 1`
22772 if test $ac_lo -le $ac_mid; then
22773 ac_lo= ac_hi=
22774 break
22775 fi
22776 ac_mid=`expr 2 '*' $ac_mid + 1`
22777 fi
22778
22779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22780 done
22781 else
22782 echo "$as_me: failed program was:" >&5
22783 sed 's/^/| /' conftest.$ac_ext >&5
22784
22785 cat >conftest.$ac_ext <<_ACEOF
22786 /* confdefs.h. */
22787 _ACEOF
22788 cat confdefs.h >>conftest.$ac_ext
22789 cat >>conftest.$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791 $ac_includes_default
22792 typedef int ac__type_sizeof_;
22793 int
22794 main ()
22795 {
22796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22797 test_array [0] = 0
22798
22799 ;
22800 return 0;
22801 }
22802 _ACEOF
22803 rm -f conftest.$ac_objext
22804 if { (ac_try="$ac_compile"
22805 case "(($ac_try" in
22806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22808 esac
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_compile") 2>conftest.er1
22811 ac_status=$?
22812 grep -v '^ *+' conftest.er1 >conftest.err
22813 rm -f conftest.er1
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && {
22817 test -z "$ac_c_werror_flag" ||
22818 test ! -s conftest.err
22819 } && test -s conftest.$ac_objext; then
22820 ac_hi=-1 ac_mid=-1
22821 while :; do
22822 cat >conftest.$ac_ext <<_ACEOF
22823 /* confdefs.h. */
22824 _ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 $ac_includes_default
22829 typedef int ac__type_sizeof_;
22830 int
22831 main ()
22832 {
22833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22834 test_array [0] = 0
22835
22836 ;
22837 return 0;
22838 }
22839 _ACEOF
22840 rm -f conftest.$ac_objext
22841 if { (ac_try="$ac_compile"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22845 esac
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_compile") 2>conftest.er1
22848 ac_status=$?
22849 grep -v '^ *+' conftest.er1 >conftest.err
22850 rm -f conftest.er1
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && {
22854 test -z "$ac_c_werror_flag" ||
22855 test ! -s conftest.err
22856 } && test -s conftest.$ac_objext; then
22857 ac_lo=$ac_mid; break
22858 else
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.$ac_ext >&5
22861
22862 ac_hi=`expr '(' $ac_mid ')' - 1`
22863 if test $ac_mid -le $ac_hi; then
22864 ac_lo= ac_hi=
22865 break
22866 fi
22867 ac_mid=`expr 2 '*' $ac_mid`
22868 fi
22869
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22871 done
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 ac_lo= ac_hi=
22877 fi
22878
22879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22880 fi
22881
22882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22883 # Binary search between lo and hi bounds.
22884 while test "x$ac_lo" != "x$ac_hi"; do
22885 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22886 cat >conftest.$ac_ext <<_ACEOF
22887 /* confdefs.h. */
22888 _ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef int ac__type_sizeof_;
22894 int
22895 main ()
22896 {
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22898 test_array [0] = 0
22899
22900 ;
22901 return 0;
22902 }
22903 _ACEOF
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22909 esac
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22912 ac_status=$?
22913 grep -v '^ *+' conftest.er1 >conftest.err
22914 rm -f conftest.er1
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22921 ac_hi=$ac_mid
22922 else
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22925
22926 ac_lo=`expr '(' $ac_mid ')' + 1`
22927 fi
22928
22929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 done
22931 case $ac_lo in
22932 ?*) ac_cv_sizeof_int=$ac_lo;;
22933 '') if test "$ac_cv_type_int" = yes; then
22934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22935 See \`config.log' for more details." >&5
22936 echo "$as_me: error: cannot compute sizeof (int)
22937 See \`config.log' for more details." >&2;}
22938 { (exit 77); exit 77; }; }
22939 else
22940 ac_cv_sizeof_int=0
22941 fi ;;
22942 esac
22943 else
22944 cat >conftest.$ac_ext <<_ACEOF
22945 /* confdefs.h. */
22946 _ACEOF
22947 cat confdefs.h >>conftest.$ac_ext
22948 cat >>conftest.$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22950 $ac_includes_default
22951 typedef int ac__type_sizeof_;
22952 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22953 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22954 #include <stdio.h>
22955 #include <stdlib.h>
22956 int
22957 main ()
22958 {
22959
22960 FILE *f = fopen ("conftest.val", "w");
22961 if (! f)
22962 return 1;
22963 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22964 {
22965 long int i = longval ();
22966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22967 return 1;
22968 fprintf (f, "%ld\n", i);
22969 }
22970 else
22971 {
22972 unsigned long int i = ulongval ();
22973 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22974 return 1;
22975 fprintf (f, "%lu\n", i);
22976 }
22977 return ferror (f) || fclose (f) != 0;
22978
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 rm -f conftest$ac_exeext
22984 if { (ac_try="$ac_link"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22988 esac
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_link") 2>&5
22991 ac_status=$?
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22994 { (case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22997 esac
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_try") 2>&5
23000 ac_status=$?
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); }; }; then
23003 ac_cv_sizeof_int=`cat conftest.val`
23004 else
23005 echo "$as_me: program exited with status $ac_status" >&5
23006 echo "$as_me: failed program was:" >&5
23007 sed 's/^/| /' conftest.$ac_ext >&5
23008
23009 ( exit $ac_status )
23010 if test "$ac_cv_type_int" = yes; then
23011 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23012 See \`config.log' for more details." >&5
23013 echo "$as_me: error: cannot compute sizeof (int)
23014 See \`config.log' for more details." >&2;}
23015 { (exit 77); exit 77; }; }
23016 else
23017 ac_cv_sizeof_int=0
23018 fi
23019 fi
23020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23021 fi
23022 rm -f conftest.val
23023 fi
23024 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23025 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23026
23027
23028
23029 cat >>confdefs.h <<_ACEOF
23030 #define SIZEOF_INT $ac_cv_sizeof_int
23031 _ACEOF
23032
23033
23034 { echo "$as_me:$LINENO: checking for long" >&5
23035 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23036 if test "${ac_cv_type_long+set}" = set; then
23037 echo $ECHO_N "(cached) $ECHO_C" >&6
23038 else
23039 cat >conftest.$ac_ext <<_ACEOF
23040 /* confdefs.h. */
23041 _ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23045 $ac_includes_default
23046 typedef long ac__type_new_;
23047 int
23048 main ()
23049 {
23050 if ((ac__type_new_ *) 0)
23051 return 0;
23052 if (sizeof (ac__type_new_))
23053 return 0;
23054 ;
23055 return 0;
23056 }
23057 _ACEOF
23058 rm -f conftest.$ac_objext
23059 if { (ac_try="$ac_compile"
23060 case "(($ac_try" in
23061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23062 *) ac_try_echo=$ac_try;;
23063 esac
23064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23065 (eval "$ac_compile") 2>conftest.er1
23066 ac_status=$?
23067 grep -v '^ *+' conftest.er1 >conftest.err
23068 rm -f conftest.er1
23069 cat conftest.err >&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); } && {
23072 test -z "$ac_c_werror_flag" ||
23073 test ! -s conftest.err
23074 } && test -s conftest.$ac_objext; then
23075 ac_cv_type_long=yes
23076 else
23077 echo "$as_me: failed program was:" >&5
23078 sed 's/^/| /' conftest.$ac_ext >&5
23079
23080 ac_cv_type_long=no
23081 fi
23082
23083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23084 fi
23085 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23086 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23087
23088 # The cast to long int works around a bug in the HP C Compiler
23089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23091 # This bug is HP SR number 8606223364.
23092 { echo "$as_me:$LINENO: checking size of long" >&5
23093 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23094 if test "${ac_cv_sizeof_long+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23096 else
23097 if test "$cross_compiling" = yes; then
23098 # Depending upon the size, compute the lo and hi bounds.
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 $ac_includes_default
23106 typedef long ac__type_sizeof_;
23107 int
23108 main ()
23109 {
23110 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23111 test_array [0] = 0
23112
23113 ;
23114 return 0;
23115 }
23116 _ACEOF
23117 rm -f conftest.$ac_objext
23118 if { (ac_try="$ac_compile"
23119 case "(($ac_try" in
23120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23121 *) ac_try_echo=$ac_try;;
23122 esac
23123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23124 (eval "$ac_compile") 2>conftest.er1
23125 ac_status=$?
23126 grep -v '^ *+' conftest.er1 >conftest.err
23127 rm -f conftest.er1
23128 cat conftest.err >&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && {
23131 test -z "$ac_c_werror_flag" ||
23132 test ! -s conftest.err
23133 } && test -s conftest.$ac_objext; then
23134 ac_lo=0 ac_mid=0
23135 while :; do
23136 cat >conftest.$ac_ext <<_ACEOF
23137 /* confdefs.h. */
23138 _ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23142 $ac_includes_default
23143 typedef long ac__type_sizeof_;
23144 int
23145 main ()
23146 {
23147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23148 test_array [0] = 0
23149
23150 ;
23151 return 0;
23152 }
23153 _ACEOF
23154 rm -f conftest.$ac_objext
23155 if { (ac_try="$ac_compile"
23156 case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23158 *) ac_try_echo=$ac_try;;
23159 esac
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_compile") 2>conftest.er1
23162 ac_status=$?
23163 grep -v '^ *+' conftest.er1 >conftest.err
23164 rm -f conftest.er1
23165 cat conftest.err >&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } && {
23168 test -z "$ac_c_werror_flag" ||
23169 test ! -s conftest.err
23170 } && test -s conftest.$ac_objext; then
23171 ac_hi=$ac_mid; break
23172 else
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.$ac_ext >&5
23175
23176 ac_lo=`expr $ac_mid + 1`
23177 if test $ac_lo -le $ac_mid; then
23178 ac_lo= ac_hi=
23179 break
23180 fi
23181 ac_mid=`expr 2 '*' $ac_mid + 1`
23182 fi
23183
23184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23185 done
23186 else
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.$ac_ext >&5
23189
23190 cat >conftest.$ac_ext <<_ACEOF
23191 /* confdefs.h. */
23192 _ACEOF
23193 cat confdefs.h >>conftest.$ac_ext
23194 cat >>conftest.$ac_ext <<_ACEOF
23195 /* end confdefs.h. */
23196 $ac_includes_default
23197 typedef long ac__type_sizeof_;
23198 int
23199 main ()
23200 {
23201 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23202 test_array [0] = 0
23203
23204 ;
23205 return 0;
23206 }
23207 _ACEOF
23208 rm -f conftest.$ac_objext
23209 if { (ac_try="$ac_compile"
23210 case "(($ac_try" in
23211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23212 *) ac_try_echo=$ac_try;;
23213 esac
23214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23215 (eval "$ac_compile") 2>conftest.er1
23216 ac_status=$?
23217 grep -v '^ *+' conftest.er1 >conftest.err
23218 rm -f conftest.er1
23219 cat conftest.err >&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); } && {
23222 test -z "$ac_c_werror_flag" ||
23223 test ! -s conftest.err
23224 } && test -s conftest.$ac_objext; then
23225 ac_hi=-1 ac_mid=-1
23226 while :; do
23227 cat >conftest.$ac_ext <<_ACEOF
23228 /* confdefs.h. */
23229 _ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 $ac_includes_default
23234 typedef long ac__type_sizeof_;
23235 int
23236 main ()
23237 {
23238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23239 test_array [0] = 0
23240
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext
23246 if { (ac_try="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23250 esac
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23253 ac_status=$?
23254 grep -v '^ *+' conftest.er1 >conftest.err
23255 rm -f conftest.er1
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.$ac_objext; then
23262 ac_lo=$ac_mid; break
23263 else
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23266
23267 ac_hi=`expr '(' $ac_mid ')' - 1`
23268 if test $ac_mid -le $ac_hi; then
23269 ac_lo= ac_hi=
23270 break
23271 fi
23272 ac_mid=`expr 2 '*' $ac_mid`
23273 fi
23274
23275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23276 done
23277 else
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23280
23281 ac_lo= ac_hi=
23282 fi
23283
23284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23285 fi
23286
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 # Binary search between lo and hi bounds.
23289 while test "x$ac_lo" != "x$ac_hi"; do
23290 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef long ac__type_sizeof_;
23299 int
23300 main ()
23301 {
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23303 test_array [0] = 0
23304
23305 ;
23306 return 0;
23307 }
23308 _ACEOF
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23314 esac
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23317 ac_status=$?
23318 grep -v '^ *+' conftest.er1 >conftest.err
23319 rm -f conftest.er1
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23326 ac_hi=$ac_mid
23327 else
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23330
23331 ac_lo=`expr '(' $ac_mid ')' + 1`
23332 fi
23333
23334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23335 done
23336 case $ac_lo in
23337 ?*) ac_cv_sizeof_long=$ac_lo;;
23338 '') if test "$ac_cv_type_long" = yes; then
23339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23340 See \`config.log' for more details." >&5
23341 echo "$as_me: error: cannot compute sizeof (long)
23342 See \`config.log' for more details." >&2;}
23343 { (exit 77); exit 77; }; }
23344 else
23345 ac_cv_sizeof_long=0
23346 fi ;;
23347 esac
23348 else
23349 cat >conftest.$ac_ext <<_ACEOF
23350 /* confdefs.h. */
23351 _ACEOF
23352 cat confdefs.h >>conftest.$ac_ext
23353 cat >>conftest.$ac_ext <<_ACEOF
23354 /* end confdefs.h. */
23355 $ac_includes_default
23356 typedef long ac__type_sizeof_;
23357 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23358 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23359 #include <stdio.h>
23360 #include <stdlib.h>
23361 int
23362 main ()
23363 {
23364
23365 FILE *f = fopen ("conftest.val", "w");
23366 if (! f)
23367 return 1;
23368 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23369 {
23370 long int i = longval ();
23371 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23372 return 1;
23373 fprintf (f, "%ld\n", i);
23374 }
23375 else
23376 {
23377 unsigned long int i = ulongval ();
23378 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23379 return 1;
23380 fprintf (f, "%lu\n", i);
23381 }
23382 return ferror (f) || fclose (f) != 0;
23383
23384 ;
23385 return 0;
23386 }
23387 _ACEOF
23388 rm -f conftest$ac_exeext
23389 if { (ac_try="$ac_link"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23393 esac
23394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_link") 2>&5
23396 ac_status=$?
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23399 { (case "(($ac_try" in
23400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23401 *) ac_try_echo=$ac_try;;
23402 esac
23403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23404 (eval "$ac_try") 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; }; then
23408 ac_cv_sizeof_long=`cat conftest.val`
23409 else
23410 echo "$as_me: program exited with status $ac_status" >&5
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23413
23414 ( exit $ac_status )
23415 if test "$ac_cv_type_long" = yes; then
23416 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23417 See \`config.log' for more details." >&5
23418 echo "$as_me: error: cannot compute sizeof (long)
23419 See \`config.log' for more details." >&2;}
23420 { (exit 77); exit 77; }; }
23421 else
23422 ac_cv_sizeof_long=0
23423 fi
23424 fi
23425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23426 fi
23427 rm -f conftest.val
23428 fi
23429 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23430 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23431
23432
23433
23434 cat >>confdefs.h <<_ACEOF
23435 #define SIZEOF_LONG $ac_cv_sizeof_long
23436 _ACEOF
23437
23438
23439 { echo "$as_me:$LINENO: checking for size_t" >&5
23440 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23441 if test "${ac_cv_type_size_t+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 else
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 $ac_includes_default
23451 typedef size_t ac__type_new_;
23452 int
23453 main ()
23454 {
23455 if ((ac__type_new_ *) 0)
23456 return 0;
23457 if (sizeof (ac__type_new_))
23458 return 0;
23459 ;
23460 return 0;
23461 }
23462 _ACEOF
23463 rm -f conftest.$ac_objext
23464 if { (ac_try="$ac_compile"
23465 case "(($ac_try" in
23466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23467 *) ac_try_echo=$ac_try;;
23468 esac
23469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23470 (eval "$ac_compile") 2>conftest.er1
23471 ac_status=$?
23472 grep -v '^ *+' conftest.er1 >conftest.err
23473 rm -f conftest.er1
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } && {
23477 test -z "$ac_c_werror_flag" ||
23478 test ! -s conftest.err
23479 } && test -s conftest.$ac_objext; then
23480 ac_cv_type_size_t=yes
23481 else
23482 echo "$as_me: failed program was:" >&5
23483 sed 's/^/| /' conftest.$ac_ext >&5
23484
23485 ac_cv_type_size_t=no
23486 fi
23487
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 fi
23490 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23491 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23492
23493 # The cast to long int works around a bug in the HP C Compiler
23494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23496 # This bug is HP SR number 8606223364.
23497 { echo "$as_me:$LINENO: checking size of size_t" >&5
23498 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23499 if test "${ac_cv_sizeof_size_t+set}" = set; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 else
23502 if test "$cross_compiling" = yes; then
23503 # Depending upon the size, compute the lo and hi bounds.
23504 cat >conftest.$ac_ext <<_ACEOF
23505 /* confdefs.h. */
23506 _ACEOF
23507 cat confdefs.h >>conftest.$ac_ext
23508 cat >>conftest.$ac_ext <<_ACEOF
23509 /* end confdefs.h. */
23510 $ac_includes_default
23511 typedef size_t ac__type_sizeof_;
23512 int
23513 main ()
23514 {
23515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23516 test_array [0] = 0
23517
23518 ;
23519 return 0;
23520 }
23521 _ACEOF
23522 rm -f conftest.$ac_objext
23523 if { (ac_try="$ac_compile"
23524 case "(($ac_try" in
23525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23526 *) ac_try_echo=$ac_try;;
23527 esac
23528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23529 (eval "$ac_compile") 2>conftest.er1
23530 ac_status=$?
23531 grep -v '^ *+' conftest.er1 >conftest.err
23532 rm -f conftest.er1
23533 cat conftest.err >&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); } && {
23536 test -z "$ac_c_werror_flag" ||
23537 test ! -s conftest.err
23538 } && test -s conftest.$ac_objext; then
23539 ac_lo=0 ac_mid=0
23540 while :; do
23541 cat >conftest.$ac_ext <<_ACEOF
23542 /* confdefs.h. */
23543 _ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 $ac_includes_default
23548 typedef size_t ac__type_sizeof_;
23549 int
23550 main ()
23551 {
23552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23553 test_array [0] = 0
23554
23555 ;
23556 return 0;
23557 }
23558 _ACEOF
23559 rm -f conftest.$ac_objext
23560 if { (ac_try="$ac_compile"
23561 case "(($ac_try" in
23562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23563 *) ac_try_echo=$ac_try;;
23564 esac
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_compile") 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } && {
23573 test -z "$ac_c_werror_flag" ||
23574 test ! -s conftest.err
23575 } && test -s conftest.$ac_objext; then
23576 ac_hi=$ac_mid; break
23577 else
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.$ac_ext >&5
23580
23581 ac_lo=`expr $ac_mid + 1`
23582 if test $ac_lo -le $ac_mid; then
23583 ac_lo= ac_hi=
23584 break
23585 fi
23586 ac_mid=`expr 2 '*' $ac_mid + 1`
23587 fi
23588
23589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23590 done
23591 else
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23594
23595 cat >conftest.$ac_ext <<_ACEOF
23596 /* confdefs.h. */
23597 _ACEOF
23598 cat confdefs.h >>conftest.$ac_ext
23599 cat >>conftest.$ac_ext <<_ACEOF
23600 /* end confdefs.h. */
23601 $ac_includes_default
23602 typedef size_t ac__type_sizeof_;
23603 int
23604 main ()
23605 {
23606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23607 test_array [0] = 0
23608
23609 ;
23610 return 0;
23611 }
23612 _ACEOF
23613 rm -f conftest.$ac_objext
23614 if { (ac_try="$ac_compile"
23615 case "(($ac_try" in
23616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23617 *) ac_try_echo=$ac_try;;
23618 esac
23619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23620 (eval "$ac_compile") 2>conftest.er1
23621 ac_status=$?
23622 grep -v '^ *+' conftest.er1 >conftest.err
23623 rm -f conftest.er1
23624 cat conftest.err >&5
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); } && {
23627 test -z "$ac_c_werror_flag" ||
23628 test ! -s conftest.err
23629 } && test -s conftest.$ac_objext; then
23630 ac_hi=-1 ac_mid=-1
23631 while :; do
23632 cat >conftest.$ac_ext <<_ACEOF
23633 /* confdefs.h. */
23634 _ACEOF
23635 cat confdefs.h >>conftest.$ac_ext
23636 cat >>conftest.$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 $ac_includes_default
23639 typedef size_t ac__type_sizeof_;
23640 int
23641 main ()
23642 {
23643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23644 test_array [0] = 0
23645
23646 ;
23647 return 0;
23648 }
23649 _ACEOF
23650 rm -f conftest.$ac_objext
23651 if { (ac_try="$ac_compile"
23652 case "(($ac_try" in
23653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23654 *) ac_try_echo=$ac_try;;
23655 esac
23656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23657 (eval "$ac_compile") 2>conftest.er1
23658 ac_status=$?
23659 grep -v '^ *+' conftest.er1 >conftest.err
23660 rm -f conftest.er1
23661 cat conftest.err >&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); } && {
23664 test -z "$ac_c_werror_flag" ||
23665 test ! -s conftest.err
23666 } && test -s conftest.$ac_objext; then
23667 ac_lo=$ac_mid; break
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 ac_hi=`expr '(' $ac_mid ')' - 1`
23673 if test $ac_mid -le $ac_hi; then
23674 ac_lo= ac_hi=
23675 break
23676 fi
23677 ac_mid=`expr 2 '*' $ac_mid`
23678 fi
23679
23680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 done
23682 else
23683 echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.$ac_ext >&5
23685
23686 ac_lo= ac_hi=
23687 fi
23688
23689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23690 fi
23691
23692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23693 # Binary search between lo and hi bounds.
23694 while test "x$ac_lo" != "x$ac_hi"; do
23695 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23703 typedef size_t ac__type_sizeof_;
23704 int
23705 main ()
23706 {
23707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23708 test_array [0] = 0
23709
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731 ac_hi=$ac_mid
23732 else
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 ac_lo=`expr '(' $ac_mid ')' + 1`
23737 fi
23738
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 done
23741 case $ac_lo in
23742 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23743 '') if test "$ac_cv_type_size_t" = yes; then
23744 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23745 See \`config.log' for more details." >&5
23746 echo "$as_me: error: cannot compute sizeof (size_t)
23747 See \`config.log' for more details." >&2;}
23748 { (exit 77); exit 77; }; }
23749 else
23750 ac_cv_sizeof_size_t=0
23751 fi ;;
23752 esac
23753 else
23754 cat >conftest.$ac_ext <<_ACEOF
23755 /* confdefs.h. */
23756 _ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 $ac_includes_default
23761 typedef size_t ac__type_sizeof_;
23762 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23763 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23764 #include <stdio.h>
23765 #include <stdlib.h>
23766 int
23767 main ()
23768 {
23769
23770 FILE *f = fopen ("conftest.val", "w");
23771 if (! f)
23772 return 1;
23773 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23774 {
23775 long int i = longval ();
23776 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23777 return 1;
23778 fprintf (f, "%ld\n", i);
23779 }
23780 else
23781 {
23782 unsigned long int i = ulongval ();
23783 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23784 return 1;
23785 fprintf (f, "%lu\n", i);
23786 }
23787 return ferror (f) || fclose (f) != 0;
23788
23789 ;
23790 return 0;
23791 }
23792 _ACEOF
23793 rm -f conftest$ac_exeext
23794 if { (ac_try="$ac_link"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23798 esac
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_link") 2>&5
23801 ac_status=$?
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23804 { (case "(($ac_try" in
23805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23806 *) ac_try_echo=$ac_try;;
23807 esac
23808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23809 (eval "$ac_try") 2>&5
23810 ac_status=$?
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); }; }; then
23813 ac_cv_sizeof_size_t=`cat conftest.val`
23814 else
23815 echo "$as_me: program exited with status $ac_status" >&5
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.$ac_ext >&5
23818
23819 ( exit $ac_status )
23820 if test "$ac_cv_type_size_t" = yes; then
23821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23822 See \`config.log' for more details." >&5
23823 echo "$as_me: error: cannot compute sizeof (size_t)
23824 See \`config.log' for more details." >&2;}
23825 { (exit 77); exit 77; }; }
23826 else
23827 ac_cv_sizeof_size_t=0
23828 fi
23829 fi
23830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23831 fi
23832 rm -f conftest.val
23833 fi
23834 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23835 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23836
23837
23838
23839 cat >>confdefs.h <<_ACEOF
23840 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23841 _ACEOF
23842
23843
23844
23845 case "${host}" in
23846 arm-*-linux* )
23847 { echo "$as_me:$LINENO: checking for long long" >&5
23848 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23849 if test "${ac_cv_type_long_long+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 else
23852 cat >conftest.$ac_ext <<_ACEOF
23853 /* confdefs.h. */
23854 _ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 $ac_includes_default
23859 typedef long long ac__type_new_;
23860 int
23861 main ()
23862 {
23863 if ((ac__type_new_ *) 0)
23864 return 0;
23865 if (sizeof (ac__type_new_))
23866 return 0;
23867 ;
23868 return 0;
23869 }
23870 _ACEOF
23871 rm -f conftest.$ac_objext
23872 if { (ac_try="$ac_compile"
23873 case "(($ac_try" in
23874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23875 *) ac_try_echo=$ac_try;;
23876 esac
23877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23878 (eval "$ac_compile") 2>conftest.er1
23879 ac_status=$?
23880 grep -v '^ *+' conftest.er1 >conftest.err
23881 rm -f conftest.er1
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } && {
23885 test -z "$ac_c_werror_flag" ||
23886 test ! -s conftest.err
23887 } && test -s conftest.$ac_objext; then
23888 ac_cv_type_long_long=yes
23889 else
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23892
23893 ac_cv_type_long_long=no
23894 fi
23895
23896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23897 fi
23898 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23899 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23900
23901 # The cast to long int works around a bug in the HP C Compiler
23902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23904 # This bug is HP SR number 8606223364.
23905 { echo "$as_me:$LINENO: checking size of long long" >&5
23906 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23907 if test "${ac_cv_sizeof_long_long+set}" = set; then
23908 echo $ECHO_N "(cached) $ECHO_C" >&6
23909 else
23910 if test "$cross_compiling" = yes; then
23911 # Depending upon the size, compute the lo and hi bounds.
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h. */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 $ac_includes_default
23919 typedef long long ac__type_sizeof_;
23920 int
23921 main ()
23922 {
23923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23924 test_array [0] = 0
23925
23926 ;
23927 return 0;
23928 }
23929 _ACEOF
23930 rm -f conftest.$ac_objext
23931 if { (ac_try="$ac_compile"
23932 case "(($ac_try" in
23933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23934 *) ac_try_echo=$ac_try;;
23935 esac
23936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23937 (eval "$ac_compile") 2>conftest.er1
23938 ac_status=$?
23939 grep -v '^ *+' conftest.er1 >conftest.err
23940 rm -f conftest.er1
23941 cat conftest.err >&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } && {
23944 test -z "$ac_c_werror_flag" ||
23945 test ! -s conftest.err
23946 } && test -s conftest.$ac_objext; then
23947 ac_lo=0 ac_mid=0
23948 while :; do
23949 cat >conftest.$ac_ext <<_ACEOF
23950 /* confdefs.h. */
23951 _ACEOF
23952 cat confdefs.h >>conftest.$ac_ext
23953 cat >>conftest.$ac_ext <<_ACEOF
23954 /* end confdefs.h. */
23955 $ac_includes_default
23956 typedef long long ac__type_sizeof_;
23957 int
23958 main ()
23959 {
23960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23961 test_array [0] = 0
23962
23963 ;
23964 return 0;
23965 }
23966 _ACEOF
23967 rm -f conftest.$ac_objext
23968 if { (ac_try="$ac_compile"
23969 case "(($ac_try" in
23970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23971 *) ac_try_echo=$ac_try;;
23972 esac
23973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23974 (eval "$ac_compile") 2>conftest.er1
23975 ac_status=$?
23976 grep -v '^ *+' conftest.er1 >conftest.err
23977 rm -f conftest.er1
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } && {
23981 test -z "$ac_c_werror_flag" ||
23982 test ! -s conftest.err
23983 } && test -s conftest.$ac_objext; then
23984 ac_hi=$ac_mid; break
23985 else
23986 echo "$as_me: failed program was:" >&5
23987 sed 's/^/| /' conftest.$ac_ext >&5
23988
23989 ac_lo=`expr $ac_mid + 1`
23990 if test $ac_lo -le $ac_mid; then
23991 ac_lo= ac_hi=
23992 break
23993 fi
23994 ac_mid=`expr 2 '*' $ac_mid + 1`
23995 fi
23996
23997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23998 done
23999 else
24000 echo "$as_me: failed program was:" >&5
24001 sed 's/^/| /' conftest.$ac_ext >&5
24002
24003 cat >conftest.$ac_ext <<_ACEOF
24004 /* confdefs.h. */
24005 _ACEOF
24006 cat confdefs.h >>conftest.$ac_ext
24007 cat >>conftest.$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24009 $ac_includes_default
24010 typedef long long ac__type_sizeof_;
24011 int
24012 main ()
24013 {
24014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24015 test_array [0] = 0
24016
24017 ;
24018 return 0;
24019 }
24020 _ACEOF
24021 rm -f conftest.$ac_objext
24022 if { (ac_try="$ac_compile"
24023 case "(($ac_try" in
24024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24026 esac
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_compile") 2>conftest.er1
24029 ac_status=$?
24030 grep -v '^ *+' conftest.er1 >conftest.err
24031 rm -f conftest.er1
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_c_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest.$ac_objext; then
24038 ac_hi=-1 ac_mid=-1
24039 while :; do
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 typedef long long ac__type_sizeof_;
24048 int
24049 main ()
24050 {
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24052 test_array [0] = 0
24053
24054 ;
24055 return 0;
24056 }
24057 _ACEOF
24058 rm -f conftest.$ac_objext
24059 if { (ac_try="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24063 esac
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24075 ac_lo=$ac_mid; break
24076 else
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24079
24080 ac_hi=`expr '(' $ac_mid ')' - 1`
24081 if test $ac_mid -le $ac_hi; then
24082 ac_lo= ac_hi=
24083 break
24084 fi
24085 ac_mid=`expr 2 '*' $ac_mid`
24086 fi
24087
24088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24089 done
24090 else
24091 echo "$as_me: failed program was:" >&5
24092 sed 's/^/| /' conftest.$ac_ext >&5
24093
24094 ac_lo= ac_hi=
24095 fi
24096
24097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24098 fi
24099
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 # Binary search between lo and hi bounds.
24102 while test "x$ac_lo" != "x$ac_hi"; do
24103 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24104 cat >conftest.$ac_ext <<_ACEOF
24105 /* confdefs.h. */
24106 _ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 typedef long long ac__type_sizeof_;
24112 int
24113 main ()
24114 {
24115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24116 test_array [0] = 0
24117
24118 ;
24119 return 0;
24120 }
24121 _ACEOF
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24127 esac
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24130 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_hi=$ac_mid
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144 ac_lo=`expr '(' $ac_mid ')' + 1`
24145 fi
24146
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 done
24149 case $ac_lo in
24150 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24151 '') if test "$ac_cv_type_long_long" = yes; then
24152 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24153 See \`config.log' for more details." >&5
24154 echo "$as_me: error: cannot compute sizeof (long long)
24155 See \`config.log' for more details." >&2;}
24156 { (exit 77); exit 77; }; }
24157 else
24158 ac_cv_sizeof_long_long=0
24159 fi ;;
24160 esac
24161 else
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168 $ac_includes_default
24169 typedef long long ac__type_sizeof_;
24170 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24171 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24172 #include <stdio.h>
24173 #include <stdlib.h>
24174 int
24175 main ()
24176 {
24177
24178 FILE *f = fopen ("conftest.val", "w");
24179 if (! f)
24180 return 1;
24181 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24182 {
24183 long int i = longval ();
24184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24185 return 1;
24186 fprintf (f, "%ld\n", i);
24187 }
24188 else
24189 {
24190 unsigned long int i = ulongval ();
24191 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24192 return 1;
24193 fprintf (f, "%lu\n", i);
24194 }
24195 return ferror (f) || fclose (f) != 0;
24196
24197 ;
24198 return 0;
24199 }
24200 _ACEOF
24201 rm -f conftest$ac_exeext
24202 if { (ac_try="$ac_link"
24203 case "(($ac_try" in
24204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24205 *) ac_try_echo=$ac_try;;
24206 esac
24207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24208 (eval "$ac_link") 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24212 { (case "(($ac_try" in
24213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24214 *) ac_try_echo=$ac_try;;
24215 esac
24216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24217 (eval "$ac_try") 2>&5
24218 ac_status=$?
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); }; }; then
24221 ac_cv_sizeof_long_long=`cat conftest.val`
24222 else
24223 echo "$as_me: program exited with status $ac_status" >&5
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24226
24227 ( exit $ac_status )
24228 if test "$ac_cv_type_long_long" = yes; then
24229 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24230 See \`config.log' for more details." >&5
24231 echo "$as_me: error: cannot compute sizeof (long long)
24232 See \`config.log' for more details." >&2;}
24233 { (exit 77); exit 77; }; }
24234 else
24235 ac_cv_sizeof_long_long=0
24236 fi
24237 fi
24238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24239 fi
24240 rm -f conftest.val
24241 fi
24242 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24243 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24244
24245
24246
24247 cat >>confdefs.h <<_ACEOF
24248 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24249 _ACEOF
24250
24251
24252 ;;
24253 *-hp-hpux* )
24254 { echo "$as_me:$LINENO: checking for long long" >&5
24255 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24256 if test "${ac_cv_type_long_long+set}" = set; then
24257 echo $ECHO_N "(cached) $ECHO_C" >&6
24258 else
24259 cat >conftest.$ac_ext <<_ACEOF
24260 /* confdefs.h. */
24261 _ACEOF
24262 cat confdefs.h >>conftest.$ac_ext
24263 cat >>conftest.$ac_ext <<_ACEOF
24264 /* end confdefs.h. */
24265 $ac_includes_default
24266 typedef long long ac__type_new_;
24267 int
24268 main ()
24269 {
24270 if ((ac__type_new_ *) 0)
24271 return 0;
24272 if (sizeof (ac__type_new_))
24273 return 0;
24274 ;
24275 return 0;
24276 }
24277 _ACEOF
24278 rm -f conftest.$ac_objext
24279 if { (ac_try="$ac_compile"
24280 case "(($ac_try" in
24281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24282 *) ac_try_echo=$ac_try;;
24283 esac
24284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24285 (eval "$ac_compile") 2>conftest.er1
24286 ac_status=$?
24287 grep -v '^ *+' conftest.er1 >conftest.err
24288 rm -f conftest.er1
24289 cat conftest.err >&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } && {
24292 test -z "$ac_c_werror_flag" ||
24293 test ! -s conftest.err
24294 } && test -s conftest.$ac_objext; then
24295 ac_cv_type_long_long=yes
24296 else
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24299
24300 ac_cv_type_long_long=no
24301 fi
24302
24303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24304 fi
24305 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24306 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24307
24308 # The cast to long int works around a bug in the HP C Compiler
24309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24311 # This bug is HP SR number 8606223364.
24312 { echo "$as_me:$LINENO: checking size of long long" >&5
24313 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24314 if test "${ac_cv_sizeof_long_long+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24316 else
24317 if test "$cross_compiling" = yes; then
24318 # Depending upon the size, compute the lo and hi bounds.
24319 cat >conftest.$ac_ext <<_ACEOF
24320 /* confdefs.h. */
24321 _ACEOF
24322 cat confdefs.h >>conftest.$ac_ext
24323 cat >>conftest.$ac_ext <<_ACEOF
24324 /* end confdefs.h. */
24325 $ac_includes_default
24326 typedef long long ac__type_sizeof_;
24327 int
24328 main ()
24329 {
24330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24331 test_array [0] = 0
24332
24333 ;
24334 return 0;
24335 }
24336 _ACEOF
24337 rm -f conftest.$ac_objext
24338 if { (ac_try="$ac_compile"
24339 case "(($ac_try" in
24340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24341 *) ac_try_echo=$ac_try;;
24342 esac
24343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24344 (eval "$ac_compile") 2>conftest.er1
24345 ac_status=$?
24346 grep -v '^ *+' conftest.er1 >conftest.err
24347 rm -f conftest.er1
24348 cat conftest.err >&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } && {
24351 test -z "$ac_c_werror_flag" ||
24352 test ! -s conftest.err
24353 } && test -s conftest.$ac_objext; then
24354 ac_lo=0 ac_mid=0
24355 while :; do
24356 cat >conftest.$ac_ext <<_ACEOF
24357 /* confdefs.h. */
24358 _ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h. */
24362 $ac_includes_default
24363 typedef long long ac__type_sizeof_;
24364 int
24365 main ()
24366 {
24367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24368 test_array [0] = 0
24369
24370 ;
24371 return 0;
24372 }
24373 _ACEOF
24374 rm -f conftest.$ac_objext
24375 if { (ac_try="$ac_compile"
24376 case "(($ac_try" in
24377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24378 *) ac_try_echo=$ac_try;;
24379 esac
24380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24381 (eval "$ac_compile") 2>conftest.er1
24382 ac_status=$?
24383 grep -v '^ *+' conftest.er1 >conftest.err
24384 rm -f conftest.er1
24385 cat conftest.err >&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } && {
24388 test -z "$ac_c_werror_flag" ||
24389 test ! -s conftest.err
24390 } && test -s conftest.$ac_objext; then
24391 ac_hi=$ac_mid; break
24392 else
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24395
24396 ac_lo=`expr $ac_mid + 1`
24397 if test $ac_lo -le $ac_mid; then
24398 ac_lo= ac_hi=
24399 break
24400 fi
24401 ac_mid=`expr 2 '*' $ac_mid + 1`
24402 fi
24403
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 done
24406 else
24407 echo "$as_me: failed program was:" >&5
24408 sed 's/^/| /' conftest.$ac_ext >&5
24409
24410 cat >conftest.$ac_ext <<_ACEOF
24411 /* confdefs.h. */
24412 _ACEOF
24413 cat confdefs.h >>conftest.$ac_ext
24414 cat >>conftest.$ac_ext <<_ACEOF
24415 /* end confdefs.h. */
24416 $ac_includes_default
24417 typedef long long ac__type_sizeof_;
24418 int
24419 main ()
24420 {
24421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24422 test_array [0] = 0
24423
24424 ;
24425 return 0;
24426 }
24427 _ACEOF
24428 rm -f conftest.$ac_objext
24429 if { (ac_try="$ac_compile"
24430 case "(($ac_try" in
24431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24432 *) ac_try_echo=$ac_try;;
24433 esac
24434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24435 (eval "$ac_compile") 2>conftest.er1
24436 ac_status=$?
24437 grep -v '^ *+' conftest.er1 >conftest.err
24438 rm -f conftest.er1
24439 cat conftest.err >&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } && {
24442 test -z "$ac_c_werror_flag" ||
24443 test ! -s conftest.err
24444 } && test -s conftest.$ac_objext; then
24445 ac_hi=-1 ac_mid=-1
24446 while :; do
24447 cat >conftest.$ac_ext <<_ACEOF
24448 /* confdefs.h. */
24449 _ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 $ac_includes_default
24454 typedef long long ac__type_sizeof_;
24455 int
24456 main ()
24457 {
24458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24459 test_array [0] = 0
24460
24461 ;
24462 return 0;
24463 }
24464 _ACEOF
24465 rm -f conftest.$ac_objext
24466 if { (ac_try="$ac_compile"
24467 case "(($ac_try" in
24468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24469 *) ac_try_echo=$ac_try;;
24470 esac
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_compile") 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } && {
24479 test -z "$ac_c_werror_flag" ||
24480 test ! -s conftest.err
24481 } && test -s conftest.$ac_objext; then
24482 ac_lo=$ac_mid; break
24483 else
24484 echo "$as_me: failed program was:" >&5
24485 sed 's/^/| /' conftest.$ac_ext >&5
24486
24487 ac_hi=`expr '(' $ac_mid ')' - 1`
24488 if test $ac_mid -le $ac_hi; then
24489 ac_lo= ac_hi=
24490 break
24491 fi
24492 ac_mid=`expr 2 '*' $ac_mid`
24493 fi
24494
24495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24496 done
24497 else
24498 echo "$as_me: failed program was:" >&5
24499 sed 's/^/| /' conftest.$ac_ext >&5
24500
24501 ac_lo= ac_hi=
24502 fi
24503
24504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505 fi
24506
24507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24508 # Binary search between lo and hi bounds.
24509 while test "x$ac_lo" != "x$ac_hi"; do
24510 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 $ac_includes_default
24518 typedef long long ac__type_sizeof_;
24519 int
24520 main ()
24521 {
24522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24523 test_array [0] = 0
24524
24525 ;
24526 return 0;
24527 }
24528 _ACEOF
24529 rm -f conftest.$ac_objext
24530 if { (ac_try="$ac_compile"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24534 esac
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_compile") 2>conftest.er1
24537 ac_status=$?
24538 grep -v '^ *+' conftest.er1 >conftest.err
24539 rm -f conftest.er1
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } && {
24543 test -z "$ac_c_werror_flag" ||
24544 test ! -s conftest.err
24545 } && test -s conftest.$ac_objext; then
24546 ac_hi=$ac_mid
24547 else
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24550
24551 ac_lo=`expr '(' $ac_mid ')' + 1`
24552 fi
24553
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24555 done
24556 case $ac_lo in
24557 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24558 '') if test "$ac_cv_type_long_long" = yes; then
24559 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24560 See \`config.log' for more details." >&5
24561 echo "$as_me: error: cannot compute sizeof (long long)
24562 See \`config.log' for more details." >&2;}
24563 { (exit 77); exit 77; }; }
24564 else
24565 ac_cv_sizeof_long_long=0
24566 fi ;;
24567 esac
24568 else
24569 cat >conftest.$ac_ext <<_ACEOF
24570 /* confdefs.h. */
24571 _ACEOF
24572 cat confdefs.h >>conftest.$ac_ext
24573 cat >>conftest.$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24575 $ac_includes_default
24576 typedef long long ac__type_sizeof_;
24577 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24578 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24579 #include <stdio.h>
24580 #include <stdlib.h>
24581 int
24582 main ()
24583 {
24584
24585 FILE *f = fopen ("conftest.val", "w");
24586 if (! f)
24587 return 1;
24588 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24589 {
24590 long int i = longval ();
24591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24592 return 1;
24593 fprintf (f, "%ld\n", i);
24594 }
24595 else
24596 {
24597 unsigned long int i = ulongval ();
24598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24599 return 1;
24600 fprintf (f, "%lu\n", i);
24601 }
24602 return ferror (f) || fclose (f) != 0;
24603
24604 ;
24605 return 0;
24606 }
24607 _ACEOF
24608 rm -f conftest$ac_exeext
24609 if { (ac_try="$ac_link"
24610 case "(($ac_try" in
24611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612 *) ac_try_echo=$ac_try;;
24613 esac
24614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24615 (eval "$ac_link") 2>&5
24616 ac_status=$?
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24619 { (case "(($ac_try" in
24620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24621 *) ac_try_echo=$ac_try;;
24622 esac
24623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24624 (eval "$ac_try") 2>&5
24625 ac_status=$?
24626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627 (exit $ac_status); }; }; then
24628 ac_cv_sizeof_long_long=`cat conftest.val`
24629 else
24630 echo "$as_me: program exited with status $ac_status" >&5
24631 echo "$as_me: failed program was:" >&5
24632 sed 's/^/| /' conftest.$ac_ext >&5
24633
24634 ( exit $ac_status )
24635 if test "$ac_cv_type_long_long" = yes; then
24636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24637 See \`config.log' for more details." >&5
24638 echo "$as_me: error: cannot compute sizeof (long long)
24639 See \`config.log' for more details." >&2;}
24640 { (exit 77); exit 77; }; }
24641 else
24642 ac_cv_sizeof_long_long=0
24643 fi
24644 fi
24645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24646 fi
24647 rm -f conftest.val
24648 fi
24649 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24650 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24651
24652
24653
24654 cat >>confdefs.h <<_ACEOF
24655 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24656 _ACEOF
24657
24658
24659 if test "$ac_cv_sizeof_long_long" != "0"; then
24660 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24661 fi
24662 ;;
24663 * )
24664 { echo "$as_me:$LINENO: checking for long long" >&5
24665 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24666 if test "${ac_cv_type_long_long+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 else
24669 cat >conftest.$ac_ext <<_ACEOF
24670 /* confdefs.h. */
24671 _ACEOF
24672 cat confdefs.h >>conftest.$ac_ext
24673 cat >>conftest.$ac_ext <<_ACEOF
24674 /* end confdefs.h. */
24675 $ac_includes_default
24676 typedef long long ac__type_new_;
24677 int
24678 main ()
24679 {
24680 if ((ac__type_new_ *) 0)
24681 return 0;
24682 if (sizeof (ac__type_new_))
24683 return 0;
24684 ;
24685 return 0;
24686 }
24687 _ACEOF
24688 rm -f conftest.$ac_objext
24689 if { (ac_try="$ac_compile"
24690 case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24693 esac
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_compile") 2>conftest.er1
24696 ac_status=$?
24697 grep -v '^ *+' conftest.er1 >conftest.err
24698 rm -f conftest.er1
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_c_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest.$ac_objext; then
24705 ac_cv_type_long_long=yes
24706 else
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24709
24710 ac_cv_type_long_long=no
24711 fi
24712
24713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24714 fi
24715 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24716 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24717
24718 # The cast to long int works around a bug in the HP C Compiler
24719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24721 # This bug is HP SR number 8606223364.
24722 { echo "$as_me:$LINENO: checking size of long long" >&5
24723 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24724 if test "${ac_cv_sizeof_long_long+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727 if test "$cross_compiling" = yes; then
24728 # Depending upon the size, compute the lo and hi bounds.
24729 cat >conftest.$ac_ext <<_ACEOF
24730 /* confdefs.h. */
24731 _ACEOF
24732 cat confdefs.h >>conftest.$ac_ext
24733 cat >>conftest.$ac_ext <<_ACEOF
24734 /* end confdefs.h. */
24735 $ac_includes_default
24736 typedef long long ac__type_sizeof_;
24737 int
24738 main ()
24739 {
24740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24741 test_array [0] = 0
24742
24743 ;
24744 return 0;
24745 }
24746 _ACEOF
24747 rm -f conftest.$ac_objext
24748 if { (ac_try="$ac_compile"
24749 case "(($ac_try" in
24750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24751 *) ac_try_echo=$ac_try;;
24752 esac
24753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24754 (eval "$ac_compile") 2>conftest.er1
24755 ac_status=$?
24756 grep -v '^ *+' conftest.er1 >conftest.err
24757 rm -f conftest.er1
24758 cat conftest.err >&5
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); } && {
24761 test -z "$ac_c_werror_flag" ||
24762 test ! -s conftest.err
24763 } && test -s conftest.$ac_objext; then
24764 ac_lo=0 ac_mid=0
24765 while :; do
24766 cat >conftest.$ac_ext <<_ACEOF
24767 /* confdefs.h. */
24768 _ACEOF
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772 $ac_includes_default
24773 typedef long long ac__type_sizeof_;
24774 int
24775 main ()
24776 {
24777 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24778 test_array [0] = 0
24779
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_c_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 ac_hi=$ac_mid; break
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 ac_lo=`expr $ac_mid + 1`
24807 if test $ac_lo -le $ac_mid; then
24808 ac_lo= ac_hi=
24809 break
24810 fi
24811 ac_mid=`expr 2 '*' $ac_mid + 1`
24812 fi
24813
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815 done
24816 else
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 cat >conftest.$ac_ext <<_ACEOF
24821 /* confdefs.h. */
24822 _ACEOF
24823 cat confdefs.h >>conftest.$ac_ext
24824 cat >>conftest.$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826 $ac_includes_default
24827 typedef long long ac__type_sizeof_;
24828 int
24829 main ()
24830 {
24831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24832 test_array [0] = 0
24833
24834 ;
24835 return 0;
24836 }
24837 _ACEOF
24838 rm -f conftest.$ac_objext
24839 if { (ac_try="$ac_compile"
24840 case "(($ac_try" in
24841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24842 *) ac_try_echo=$ac_try;;
24843 esac
24844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24845 (eval "$ac_compile") 2>conftest.er1
24846 ac_status=$?
24847 grep -v '^ *+' conftest.er1 >conftest.err
24848 rm -f conftest.er1
24849 cat conftest.err >&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); } && {
24852 test -z "$ac_c_werror_flag" ||
24853 test ! -s conftest.err
24854 } && test -s conftest.$ac_objext; then
24855 ac_hi=-1 ac_mid=-1
24856 while :; do
24857 cat >conftest.$ac_ext <<_ACEOF
24858 /* confdefs.h. */
24859 _ACEOF
24860 cat confdefs.h >>conftest.$ac_ext
24861 cat >>conftest.$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24863 $ac_includes_default
24864 typedef long long ac__type_sizeof_;
24865 int
24866 main ()
24867 {
24868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24869 test_array [0] = 0
24870
24871 ;
24872 return 0;
24873 }
24874 _ACEOF
24875 rm -f conftest.$ac_objext
24876 if { (ac_try="$ac_compile"
24877 case "(($ac_try" in
24878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24879 *) ac_try_echo=$ac_try;;
24880 esac
24881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882 (eval "$ac_compile") 2>conftest.er1
24883 ac_status=$?
24884 grep -v '^ *+' conftest.er1 >conftest.err
24885 rm -f conftest.er1
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } && {
24889 test -z "$ac_c_werror_flag" ||
24890 test ! -s conftest.err
24891 } && test -s conftest.$ac_objext; then
24892 ac_lo=$ac_mid; break
24893 else
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.$ac_ext >&5
24896
24897 ac_hi=`expr '(' $ac_mid ')' - 1`
24898 if test $ac_mid -le $ac_hi; then
24899 ac_lo= ac_hi=
24900 break
24901 fi
24902 ac_mid=`expr 2 '*' $ac_mid`
24903 fi
24904
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906 done
24907 else
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.$ac_ext >&5
24910
24911 ac_lo= ac_hi=
24912 fi
24913
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 fi
24916
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 # Binary search between lo and hi bounds.
24919 while test "x$ac_lo" != "x$ac_hi"; do
24920 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24921 cat >conftest.$ac_ext <<_ACEOF
24922 /* confdefs.h. */
24923 _ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 $ac_includes_default
24928 typedef long long ac__type_sizeof_;
24929 int
24930 main ()
24931 {
24932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24933 test_array [0] = 0
24934
24935 ;
24936 return 0;
24937 }
24938 _ACEOF
24939 rm -f conftest.$ac_objext
24940 if { (ac_try="$ac_compile"
24941 case "(($ac_try" in
24942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24943 *) ac_try_echo=$ac_try;;
24944 esac
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_compile") 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest.$ac_objext; then
24956 ac_hi=$ac_mid
24957 else
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.$ac_ext >&5
24960
24961 ac_lo=`expr '(' $ac_mid ')' + 1`
24962 fi
24963
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 done
24966 case $ac_lo in
24967 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24968 '') if test "$ac_cv_type_long_long" = yes; then
24969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24970 See \`config.log' for more details." >&5
24971 echo "$as_me: error: cannot compute sizeof (long long)
24972 See \`config.log' for more details." >&2;}
24973 { (exit 77); exit 77; }; }
24974 else
24975 ac_cv_sizeof_long_long=0
24976 fi ;;
24977 esac
24978 else
24979 cat >conftest.$ac_ext <<_ACEOF
24980 /* confdefs.h. */
24981 _ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24985 $ac_includes_default
24986 typedef long long ac__type_sizeof_;
24987 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24988 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24989 #include <stdio.h>
24990 #include <stdlib.h>
24991 int
24992 main ()
24993 {
24994
24995 FILE *f = fopen ("conftest.val", "w");
24996 if (! f)
24997 return 1;
24998 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24999 {
25000 long int i = longval ();
25001 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25002 return 1;
25003 fprintf (f, "%ld\n", i);
25004 }
25005 else
25006 {
25007 unsigned long int i = ulongval ();
25008 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25009 return 1;
25010 fprintf (f, "%lu\n", i);
25011 }
25012 return ferror (f) || fclose (f) != 0;
25013
25014 ;
25015 return 0;
25016 }
25017 _ACEOF
25018 rm -f conftest$ac_exeext
25019 if { (ac_try="$ac_link"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25023 esac
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_link") 2>&5
25026 ac_status=$?
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25029 { (case "(($ac_try" in
25030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25031 *) ac_try_echo=$ac_try;;
25032 esac
25033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25034 (eval "$ac_try") 2>&5
25035 ac_status=$?
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); }; }; then
25038 ac_cv_sizeof_long_long=`cat conftest.val`
25039 else
25040 echo "$as_me: program exited with status $ac_status" >&5
25041 echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25043
25044 ( exit $ac_status )
25045 if test "$ac_cv_type_long_long" = yes; then
25046 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25047 See \`config.log' for more details." >&5
25048 echo "$as_me: error: cannot compute sizeof (long long)
25049 See \`config.log' for more details." >&2;}
25050 { (exit 77); exit 77; }; }
25051 else
25052 ac_cv_sizeof_long_long=0
25053 fi
25054 fi
25055 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25056 fi
25057 rm -f conftest.val
25058 fi
25059 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25061
25062
25063
25064 cat >>confdefs.h <<_ACEOF
25065 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25066 _ACEOF
25067
25068
25069 esac
25070
25071 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25072 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25073 if test "${ac_cv_type_wchar_t+set}" = set; then
25074 echo $ECHO_N "(cached) $ECHO_C" >&6
25075 else
25076 cat >conftest.$ac_ext <<_ACEOF
25077 /* confdefs.h. */
25078 _ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25082
25083 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25084 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25085 # error "fake wchar_t"
25086 #endif
25087 #ifdef HAVE_WCHAR_H
25088 # ifdef __CYGWIN__
25089 # include <stddef.h>
25090 # endif
25091 # include <wchar.h>
25092 #endif
25093 #ifdef HAVE_STDLIB_H
25094 # include <stdlib.h>
25095 #endif
25096 #include <stdio.h>
25097
25098
25099
25100 typedef wchar_t ac__type_new_;
25101 int
25102 main ()
25103 {
25104 if ((ac__type_new_ *) 0)
25105 return 0;
25106 if (sizeof (ac__type_new_))
25107 return 0;
25108 ;
25109 return 0;
25110 }
25111 _ACEOF
25112 rm -f conftest.$ac_objext
25113 if { (ac_try="$ac_compile"
25114 case "(($ac_try" in
25115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25116 *) ac_try_echo=$ac_try;;
25117 esac
25118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25119 (eval "$ac_compile") 2>conftest.er1
25120 ac_status=$?
25121 grep -v '^ *+' conftest.er1 >conftest.err
25122 rm -f conftest.er1
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } && {
25126 test -z "$ac_c_werror_flag" ||
25127 test ! -s conftest.err
25128 } && test -s conftest.$ac_objext; then
25129 ac_cv_type_wchar_t=yes
25130 else
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.$ac_ext >&5
25133
25134 ac_cv_type_wchar_t=no
25135 fi
25136
25137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25138 fi
25139 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25140 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25141
25142 # The cast to long int works around a bug in the HP C Compiler
25143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25145 # This bug is HP SR number 8606223364.
25146 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25147 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25148 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25149 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 else
25151 if test "$cross_compiling" = yes; then
25152 # Depending upon the size, compute the lo and hi bounds.
25153 cat >conftest.$ac_ext <<_ACEOF
25154 /* confdefs.h. */
25155 _ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h. */
25159
25160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25162 # error "fake wchar_t"
25163 #endif
25164 #ifdef HAVE_WCHAR_H
25165 # ifdef __CYGWIN__
25166 # include <stddef.h>
25167 # endif
25168 # include <wchar.h>
25169 #endif
25170 #ifdef HAVE_STDLIB_H
25171 # include <stdlib.h>
25172 #endif
25173 #include <stdio.h>
25174
25175
25176
25177 typedef wchar_t ac__type_sizeof_;
25178 int
25179 main ()
25180 {
25181 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25182 test_array [0] = 0
25183
25184 ;
25185 return 0;
25186 }
25187 _ACEOF
25188 rm -f conftest.$ac_objext
25189 if { (ac_try="$ac_compile"
25190 case "(($ac_try" in
25191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25192 *) ac_try_echo=$ac_try;;
25193 esac
25194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25195 (eval "$ac_compile") 2>conftest.er1
25196 ac_status=$?
25197 grep -v '^ *+' conftest.er1 >conftest.err
25198 rm -f conftest.er1
25199 cat conftest.err >&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } && {
25202 test -z "$ac_c_werror_flag" ||
25203 test ! -s conftest.err
25204 } && test -s conftest.$ac_objext; then
25205 ac_lo=0 ac_mid=0
25206 while :; do
25207 cat >conftest.$ac_ext <<_ACEOF
25208 /* confdefs.h. */
25209 _ACEOF
25210 cat confdefs.h >>conftest.$ac_ext
25211 cat >>conftest.$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25213
25214 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25215 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25216 # error "fake wchar_t"
25217 #endif
25218 #ifdef HAVE_WCHAR_H
25219 # ifdef __CYGWIN__
25220 # include <stddef.h>
25221 # endif
25222 # include <wchar.h>
25223 #endif
25224 #ifdef HAVE_STDLIB_H
25225 # include <stdlib.h>
25226 #endif
25227 #include <stdio.h>
25228
25229
25230
25231 typedef wchar_t ac__type_sizeof_;
25232 int
25233 main ()
25234 {
25235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25236 test_array [0] = 0
25237
25238 ;
25239 return 0;
25240 }
25241 _ACEOF
25242 rm -f conftest.$ac_objext
25243 if { (ac_try="$ac_compile"
25244 case "(($ac_try" in
25245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25246 *) ac_try_echo=$ac_try;;
25247 esac
25248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25249 (eval "$ac_compile") 2>conftest.er1
25250 ac_status=$?
25251 grep -v '^ *+' conftest.er1 >conftest.err
25252 rm -f conftest.er1
25253 cat conftest.err >&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } && {
25256 test -z "$ac_c_werror_flag" ||
25257 test ! -s conftest.err
25258 } && test -s conftest.$ac_objext; then
25259 ac_hi=$ac_mid; break
25260 else
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 ac_lo=`expr $ac_mid + 1`
25265 if test $ac_lo -le $ac_mid; then
25266 ac_lo= ac_hi=
25267 break
25268 fi
25269 ac_mid=`expr 2 '*' $ac_mid + 1`
25270 fi
25271
25272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25273 done
25274 else
25275 echo "$as_me: failed program was:" >&5
25276 sed 's/^/| /' conftest.$ac_ext >&5
25277
25278 cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h. */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284
25285 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25286 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25287 # error "fake wchar_t"
25288 #endif
25289 #ifdef HAVE_WCHAR_H
25290 # ifdef __CYGWIN__
25291 # include <stddef.h>
25292 # endif
25293 # include <wchar.h>
25294 #endif
25295 #ifdef HAVE_STDLIB_H
25296 # include <stdlib.h>
25297 #endif
25298 #include <stdio.h>
25299
25300
25301
25302 typedef wchar_t ac__type_sizeof_;
25303 int
25304 main ()
25305 {
25306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25307 test_array [0] = 0
25308
25309 ;
25310 return 0;
25311 }
25312 _ACEOF
25313 rm -f conftest.$ac_objext
25314 if { (ac_try="$ac_compile"
25315 case "(($ac_try" in
25316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25317 *) ac_try_echo=$ac_try;;
25318 esac
25319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25320 (eval "$ac_compile") 2>conftest.er1
25321 ac_status=$?
25322 grep -v '^ *+' conftest.er1 >conftest.err
25323 rm -f conftest.er1
25324 cat conftest.err >&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } && {
25327 test -z "$ac_c_werror_flag" ||
25328 test ! -s conftest.err
25329 } && test -s conftest.$ac_objext; then
25330 ac_hi=-1 ac_mid=-1
25331 while :; do
25332 cat >conftest.$ac_ext <<_ACEOF
25333 /* confdefs.h. */
25334 _ACEOF
25335 cat confdefs.h >>conftest.$ac_ext
25336 cat >>conftest.$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25338
25339 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25340 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25341 # error "fake wchar_t"
25342 #endif
25343 #ifdef HAVE_WCHAR_H
25344 # ifdef __CYGWIN__
25345 # include <stddef.h>
25346 # endif
25347 # include <wchar.h>
25348 #endif
25349 #ifdef HAVE_STDLIB_H
25350 # include <stdlib.h>
25351 #endif
25352 #include <stdio.h>
25353
25354
25355
25356 typedef wchar_t ac__type_sizeof_;
25357 int
25358 main ()
25359 {
25360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25361 test_array [0] = 0
25362
25363 ;
25364 return 0;
25365 }
25366 _ACEOF
25367 rm -f conftest.$ac_objext
25368 if { (ac_try="$ac_compile"
25369 case "(($ac_try" in
25370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25371 *) ac_try_echo=$ac_try;;
25372 esac
25373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25374 (eval "$ac_compile") 2>conftest.er1
25375 ac_status=$?
25376 grep -v '^ *+' conftest.er1 >conftest.err
25377 rm -f conftest.er1
25378 cat conftest.err >&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); } && {
25381 test -z "$ac_c_werror_flag" ||
25382 test ! -s conftest.err
25383 } && test -s conftest.$ac_objext; then
25384 ac_lo=$ac_mid; break
25385 else
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.$ac_ext >&5
25388
25389 ac_hi=`expr '(' $ac_mid ')' - 1`
25390 if test $ac_mid -le $ac_hi; then
25391 ac_lo= ac_hi=
25392 break
25393 fi
25394 ac_mid=`expr 2 '*' $ac_mid`
25395 fi
25396
25397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25398 done
25399 else
25400 echo "$as_me: failed program was:" >&5
25401 sed 's/^/| /' conftest.$ac_ext >&5
25402
25403 ac_lo= ac_hi=
25404 fi
25405
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407 fi
25408
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410 # Binary search between lo and hi bounds.
25411 while test "x$ac_lo" != "x$ac_hi"; do
25412 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25413 cat >conftest.$ac_ext <<_ACEOF
25414 /* confdefs.h. */
25415 _ACEOF
25416 cat confdefs.h >>conftest.$ac_ext
25417 cat >>conftest.$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25419
25420 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25421 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25422 # error "fake wchar_t"
25423 #endif
25424 #ifdef HAVE_WCHAR_H
25425 # ifdef __CYGWIN__
25426 # include <stddef.h>
25427 # endif
25428 # include <wchar.h>
25429 #endif
25430 #ifdef HAVE_STDLIB_H
25431 # include <stdlib.h>
25432 #endif
25433 #include <stdio.h>
25434
25435
25436
25437 typedef wchar_t ac__type_sizeof_;
25438 int
25439 main ()
25440 {
25441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25442 test_array [0] = 0
25443
25444 ;
25445 return 0;
25446 }
25447 _ACEOF
25448 rm -f conftest.$ac_objext
25449 if { (ac_try="$ac_compile"
25450 case "(($ac_try" in
25451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25452 *) ac_try_echo=$ac_try;;
25453 esac
25454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25455 (eval "$ac_compile") 2>conftest.er1
25456 ac_status=$?
25457 grep -v '^ *+' conftest.er1 >conftest.err
25458 rm -f conftest.er1
25459 cat conftest.err >&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } && {
25462 test -z "$ac_c_werror_flag" ||
25463 test ! -s conftest.err
25464 } && test -s conftest.$ac_objext; then
25465 ac_hi=$ac_mid
25466 else
25467 echo "$as_me: failed program was:" >&5
25468 sed 's/^/| /' conftest.$ac_ext >&5
25469
25470 ac_lo=`expr '(' $ac_mid ')' + 1`
25471 fi
25472
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 done
25475 case $ac_lo in
25476 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25477 '') if test "$ac_cv_type_wchar_t" = yes; then
25478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25479 See \`config.log' for more details." >&5
25480 echo "$as_me: error: cannot compute sizeof (wchar_t)
25481 See \`config.log' for more details." >&2;}
25482 { (exit 77); exit 77; }; }
25483 else
25484 ac_cv_sizeof_wchar_t=0
25485 fi ;;
25486 esac
25487 else
25488 cat >conftest.$ac_ext <<_ACEOF
25489 /* confdefs.h. */
25490 _ACEOF
25491 cat confdefs.h >>conftest.$ac_ext
25492 cat >>conftest.$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25494
25495 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25496 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25497 # error "fake wchar_t"
25498 #endif
25499 #ifdef HAVE_WCHAR_H
25500 # ifdef __CYGWIN__
25501 # include <stddef.h>
25502 # endif
25503 # include <wchar.h>
25504 #endif
25505 #ifdef HAVE_STDLIB_H
25506 # include <stdlib.h>
25507 #endif
25508 #include <stdio.h>
25509
25510
25511
25512 typedef wchar_t ac__type_sizeof_;
25513 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25514 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25515 #include <stdio.h>
25516 #include <stdlib.h>
25517 int
25518 main ()
25519 {
25520
25521 FILE *f = fopen ("conftest.val", "w");
25522 if (! f)
25523 return 1;
25524 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25525 {
25526 long int i = longval ();
25527 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25528 return 1;
25529 fprintf (f, "%ld\n", i);
25530 }
25531 else
25532 {
25533 unsigned long int i = ulongval ();
25534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25535 return 1;
25536 fprintf (f, "%lu\n", i);
25537 }
25538 return ferror (f) || fclose (f) != 0;
25539
25540 ;
25541 return 0;
25542 }
25543 _ACEOF
25544 rm -f conftest$ac_exeext
25545 if { (ac_try="$ac_link"
25546 case "(($ac_try" in
25547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25548 *) ac_try_echo=$ac_try;;
25549 esac
25550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25551 (eval "$ac_link") 2>&5
25552 ac_status=$?
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25555 { (case "(($ac_try" in
25556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25557 *) ac_try_echo=$ac_try;;
25558 esac
25559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25560 (eval "$ac_try") 2>&5
25561 ac_status=$?
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); }; }; then
25564 ac_cv_sizeof_wchar_t=`cat conftest.val`
25565 else
25566 echo "$as_me: program exited with status $ac_status" >&5
25567 echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25569
25570 ( exit $ac_status )
25571 if test "$ac_cv_type_wchar_t" = yes; then
25572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25573 See \`config.log' for more details." >&5
25574 echo "$as_me: error: cannot compute sizeof (wchar_t)
25575 See \`config.log' for more details." >&2;}
25576 { (exit 77); exit 77; }; }
25577 else
25578 ac_cv_sizeof_wchar_t=0
25579 fi
25580 fi
25581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25582 fi
25583 rm -f conftest.val
25584 fi
25585 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25586 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25587
25588
25589
25590 cat >>confdefs.h <<_ACEOF
25591 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25592 _ACEOF
25593
25594
25595 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25596 wxUSE_WCHAR_T=yes
25597 else
25598 wxUSE_WCHAR_T=no
25599 fi
25600
25601 { echo "$as_me:$LINENO: checking for va_copy" >&5
25602 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25603 if test "${wx_cv_func_va_copy+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 else
25606
25607 ac_ext=cpp
25608 ac_cpp='$CXXCPP $CPPFLAGS'
25609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25612
25613 cat >conftest.$ac_ext <<_ACEOF
25614
25615 #include <stdarg.h>
25616 void foo(char *f, ...)
25617 {
25618 va_list ap1, ap2;
25619 va_start(ap1, f);
25620 va_copy(ap2, ap1);
25621 va_end(ap2);
25622 va_end(ap1);
25623 }
25624 int main()
25625 {
25626 foo("hi", 17);
25627 return 0;
25628 }
25629 _ACEOF
25630 rm -f conftest.$ac_objext conftest$ac_exeext
25631 if { (ac_try="$ac_link"
25632 case "(($ac_try" in
25633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25634 *) ac_try_echo=$ac_try;;
25635 esac
25636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25637 (eval "$ac_link") 2>conftest.er1
25638 ac_status=$?
25639 grep -v '^ *+' conftest.er1 >conftest.err
25640 rm -f conftest.er1
25641 cat conftest.err >&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } && {
25644 test -z "$ac_cxx_werror_flag" ||
25645 test ! -s conftest.err
25646 } && test -s conftest$ac_exeext &&
25647 $as_test_x conftest$ac_exeext; then
25648 wx_cv_func_va_copy=yes
25649 else
25650 echo "$as_me: failed program was:" >&5
25651 sed 's/^/| /' conftest.$ac_ext >&5
25652
25653 wx_cv_func_va_copy=no
25654
25655 fi
25656
25657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25658 conftest$ac_exeext conftest.$ac_ext
25659 ac_ext=c
25660 ac_cpp='$CPP $CPPFLAGS'
25661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25664
25665
25666
25667 fi
25668 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25669 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25670
25671 if test $wx_cv_func_va_copy = "yes"; then
25672 cat >>confdefs.h <<\_ACEOF
25673 #define HAVE_VA_COPY 1
25674 _ACEOF
25675
25676 else
25677 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25678 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25679 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25681 else
25682
25683 if test "$cross_compiling" = yes; then
25684 wx_cv_type_va_list_lvalue=yes
25685
25686 else
25687 cat >conftest.$ac_ext <<_ACEOF
25688
25689 #include <stdarg.h>
25690 int foo(char *f, ...)
25691 {
25692 va_list ap1, ap2;
25693 va_start(ap1, f);
25694 ap2 = ap1;
25695 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25696 return 1;
25697 va_end(ap2);
25698 va_end(ap1);
25699 return 0;
25700 }
25701 int main()
25702 {
25703 return foo("hi", 17);
25704 }
25705 _ACEOF
25706 rm -f conftest$ac_exeext
25707 if { (ac_try="$ac_link"
25708 case "(($ac_try" in
25709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25710 *) ac_try_echo=$ac_try;;
25711 esac
25712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25713 (eval "$ac_link") 2>&5
25714 ac_status=$?
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25717 { (case "(($ac_try" in
25718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25719 *) ac_try_echo=$ac_try;;
25720 esac
25721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722 (eval "$ac_try") 2>&5
25723 ac_status=$?
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); }; }; then
25726 wx_cv_type_va_list_lvalue=yes
25727 else
25728 echo "$as_me: program exited with status $ac_status" >&5
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.$ac_ext >&5
25731
25732 ( exit $ac_status )
25733 wx_cv_type_va_list_lvalue=no
25734 fi
25735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25736 fi
25737
25738
25739
25740
25741 fi
25742 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25743 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25744
25745 if test $wx_cv_type_va_list_lvalue != "yes"; then
25746 cat >>confdefs.h <<\_ACEOF
25747 #define VA_LIST_IS_ARRAY 1
25748 _ACEOF
25749
25750 fi
25751 fi
25752
25753 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25754
25755 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25756 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25757 if test "${wx_cv_have_variadic_macros+set}" = set; then
25758 echo $ECHO_N "(cached) $ECHO_C" >&6
25759 else
25760
25761 ac_ext=cpp
25762 ac_cpp='$CXXCPP $CPPFLAGS'
25763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25766
25767 cat >conftest.$ac_ext <<_ACEOF
25768 /* confdefs.h. */
25769 _ACEOF
25770 cat confdefs.h >>conftest.$ac_ext
25771 cat >>conftest.$ac_ext <<_ACEOF
25772 /* end confdefs.h. */
25773
25774 #include <stdio.h>
25775 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25776
25777 int
25778 main ()
25779 {
25780
25781 test("%s %d %p", "test", 1, 0);
25782
25783
25784 ;
25785 return 0;
25786 }
25787 _ACEOF
25788 rm -f conftest.$ac_objext
25789 if { (ac_try="$ac_compile"
25790 case "(($ac_try" in
25791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25792 *) ac_try_echo=$ac_try;;
25793 esac
25794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25795 (eval "$ac_compile") 2>conftest.er1
25796 ac_status=$?
25797 grep -v '^ *+' conftest.er1 >conftest.err
25798 rm -f conftest.er1
25799 cat conftest.err >&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); } && {
25802 test -z "$ac_cxx_werror_flag" ||
25803 test ! -s conftest.err
25804 } && test -s conftest.$ac_objext; then
25805 wx_cv_have_variadic_macros=yes
25806 else
25807 echo "$as_me: failed program was:" >&5
25808 sed 's/^/| /' conftest.$ac_ext >&5
25809
25810 wx_cv_have_variadic_macros=no
25811
25812 fi
25813
25814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25815 ac_ext=c
25816 ac_cpp='$CPP $CPPFLAGS'
25817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25820
25821
25822
25823 fi
25824 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25825 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25826
25827 if test $wx_cv_have_variadic_macros = "yes"; then
25828 cat >>confdefs.h <<\_ACEOF
25829 #define HAVE_VARIADIC_MACROS 1
25830 _ACEOF
25831
25832 fi
25833
25834 fi
25835 # Check whether --enable-largefile was given.
25836 if test "${enable_largefile+set}" = set; then
25837 enableval=$enable_largefile;
25838 fi
25839
25840 if test "$enable_largefile" != no; then
25841 wx_largefile=no
25842
25843 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25844 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25845 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25846 echo $ECHO_N "(cached) $ECHO_C" >&6
25847 else
25848
25849 cat >conftest.$ac_ext <<_ACEOF
25850 /* confdefs.h. */
25851 _ACEOF
25852 cat confdefs.h >>conftest.$ac_ext
25853 cat >>conftest.$ac_ext <<_ACEOF
25854 /* end confdefs.h. */
25855 #define _FILE_OFFSET_BITS 64
25856 #include <sys/types.h>
25857 int
25858 main ()
25859 {
25860 typedef struct {
25861 unsigned int field: sizeof(off_t) == 8;
25862 } wxlf;
25863
25864 ;
25865 return 0;
25866 }
25867 _ACEOF
25868 rm -f conftest.$ac_objext
25869 if { (ac_try="$ac_compile"
25870 case "(($ac_try" in
25871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25872 *) ac_try_echo=$ac_try;;
25873 esac
25874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25875 (eval "$ac_compile") 2>conftest.er1
25876 ac_status=$?
25877 grep -v '^ *+' conftest.er1 >conftest.err
25878 rm -f conftest.er1
25879 cat conftest.err >&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); } && {
25882 test -z "$ac_c_werror_flag" ||
25883 test ! -s conftest.err
25884 } && test -s conftest.$ac_objext; then
25885 ac_cv_sys_file_offset_bits=64
25886 else
25887 echo "$as_me: failed program was:" >&5
25888 sed 's/^/| /' conftest.$ac_ext >&5
25889
25890 ac_cv_sys_file_offset_bits=no
25891 fi
25892
25893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25894
25895
25896 fi
25897 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25898 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25899
25900 if test "$ac_cv_sys_file_offset_bits" != no; then
25901 wx_largefile=yes
25902 cat >>confdefs.h <<_ACEOF
25903 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25904 _ACEOF
25905
25906 fi
25907
25908 if test "x$wx_largefile" != "xyes"; then
25909
25910 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25911 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25912 if test "${ac_cv_sys_large_files+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25915
25916 cat >conftest.$ac_ext <<_ACEOF
25917 /* confdefs.h. */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 #define _LARGE_FILES 1
25923 #include <sys/types.h>
25924 int
25925 main ()
25926 {
25927 typedef struct {
25928 unsigned int field: sizeof(off_t) == 8;
25929 } wxlf;
25930
25931 ;
25932 return 0;
25933 }
25934 _ACEOF
25935 rm -f conftest.$ac_objext
25936 if { (ac_try="$ac_compile"
25937 case "(($ac_try" in
25938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25939 *) ac_try_echo=$ac_try;;
25940 esac
25941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25942 (eval "$ac_compile") 2>conftest.er1
25943 ac_status=$?
25944 grep -v '^ *+' conftest.er1 >conftest.err
25945 rm -f conftest.er1
25946 cat conftest.err >&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } && {
25949 test -z "$ac_c_werror_flag" ||
25950 test ! -s conftest.err
25951 } && test -s conftest.$ac_objext; then
25952 ac_cv_sys_large_files=1
25953 else
25954 echo "$as_me: failed program was:" >&5
25955 sed 's/^/| /' conftest.$ac_ext >&5
25956
25957 ac_cv_sys_large_files=no
25958 fi
25959
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961
25962
25963 fi
25964 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25965 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25966
25967 if test "$ac_cv_sys_large_files" != no; then
25968 wx_largefile=yes
25969 cat >>confdefs.h <<_ACEOF
25970 #define _LARGE_FILES $ac_cv_sys_large_files
25971 _ACEOF
25972
25973 fi
25974
25975 fi
25976
25977 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25978 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25979 if test "x$wx_largefile" = "xyes"; then
25980 cat >>confdefs.h <<\_ACEOF
25981 #define HAVE_LARGEFILE_SUPPORT 1
25982 _ACEOF
25983
25984 fi
25985 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25986 echo "${ECHO_T}$wx_largefile" >&6; }
25987 fi
25988
25989
25990 if test "x$wx_largefile" = "xyes"; then
25991 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25992 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25993
25994 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25995 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25996 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25997 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 else
26000
26001 ac_ext=cpp
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26006
26007 cat >conftest.$ac_ext <<_ACEOF
26008 /* confdefs.h. */
26009 _ACEOF
26010 cat confdefs.h >>conftest.$ac_ext
26011 cat >>conftest.$ac_ext <<_ACEOF
26012 /* end confdefs.h. */
26013
26014 int
26015 main ()
26016 {
26017
26018 #ifndef __STDC_EXT__
26019 choke me
26020 #endif
26021
26022 ;
26023 return 0;
26024 }
26025 _ACEOF
26026 rm -f conftest.$ac_objext
26027 if { (ac_try="$ac_compile"
26028 case "(($ac_try" in
26029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26030 *) ac_try_echo=$ac_try;;
26031 esac
26032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26033 (eval "$ac_compile") 2>conftest.er1
26034 ac_status=$?
26035 grep -v '^ *+' conftest.er1 >conftest.err
26036 rm -f conftest.er1
26037 cat conftest.err >&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); } && {
26040 test -z "$ac_cxx_werror_flag" ||
26041 test ! -s conftest.err
26042 } && test -s conftest.$ac_objext; then
26043 wx_cv_STDC_EXT_required=no
26044 else
26045 echo "$as_me: failed program was:" >&5
26046 sed 's/^/| /' conftest.$ac_ext >&5
26047
26048 wx_cv_STDC_EXT_required=yes
26049
26050 fi
26051
26052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26053 ac_ext=c
26054 ac_cpp='$CPP $CPPFLAGS'
26055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26058
26059
26060
26061 fi
26062 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26063 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26064 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26065 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26066 fi
26067 fi
26068 else
26069 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26070 fi
26071 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26072 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26073 if test "${ac_cv_sys_largefile_source+set}" = set; then
26074 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 else
26076 while :; do
26077 cat >conftest.$ac_ext <<_ACEOF
26078 /* confdefs.h. */
26079 _ACEOF
26080 cat confdefs.h >>conftest.$ac_ext
26081 cat >>conftest.$ac_ext <<_ACEOF
26082 /* end confdefs.h. */
26083 #include <sys/types.h> /* for off_t */
26084 #include <stdio.h>
26085 int
26086 main ()
26087 {
26088 int (*fp) (FILE *, off_t, int) = fseeko;
26089 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26090 ;
26091 return 0;
26092 }
26093 _ACEOF
26094 rm -f conftest.$ac_objext conftest$ac_exeext
26095 if { (ac_try="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26099 esac
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26102 ac_status=$?
26103 grep -v '^ *+' conftest.er1 >conftest.err
26104 rm -f conftest.er1
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 ac_cv_sys_largefile_source=no; break
26113 else
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26116
26117
26118 fi
26119
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26122 cat >conftest.$ac_ext <<_ACEOF
26123 /* confdefs.h. */
26124 _ACEOF
26125 cat confdefs.h >>conftest.$ac_ext
26126 cat >>conftest.$ac_ext <<_ACEOF
26127 /* end confdefs.h. */
26128 #define _LARGEFILE_SOURCE 1
26129 #include <sys/types.h> /* for off_t */
26130 #include <stdio.h>
26131 int
26132 main ()
26133 {
26134 int (*fp) (FILE *, off_t, int) = fseeko;
26135 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26136 ;
26137 return 0;
26138 }
26139 _ACEOF
26140 rm -f conftest.$ac_objext conftest$ac_exeext
26141 if { (ac_try="$ac_link"
26142 case "(($ac_try" in
26143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26144 *) ac_try_echo=$ac_try;;
26145 esac
26146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26147 (eval "$ac_link") 2>conftest.er1
26148 ac_status=$?
26149 grep -v '^ *+' conftest.er1 >conftest.err
26150 rm -f conftest.er1
26151 cat conftest.err >&5
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); } && {
26154 test -z "$ac_c_werror_flag" ||
26155 test ! -s conftest.err
26156 } && test -s conftest$ac_exeext &&
26157 $as_test_x conftest$ac_exeext; then
26158 ac_cv_sys_largefile_source=1; break
26159 else
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.$ac_ext >&5
26162
26163
26164 fi
26165
26166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26167 conftest$ac_exeext conftest.$ac_ext
26168 ac_cv_sys_largefile_source=unknown
26169 break
26170 done
26171 fi
26172 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26173 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26174 case $ac_cv_sys_largefile_source in #(
26175 no | unknown) ;;
26176 *)
26177 cat >>confdefs.h <<_ACEOF
26178 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26179 _ACEOF
26180 ;;
26181 esac
26182 rm -f conftest*
26183
26184 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26185 # in glibc 2.1.3, but that breaks too many other things.
26186 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26187 if test $ac_cv_sys_largefile_source != unknown; then
26188
26189 cat >>confdefs.h <<\_ACEOF
26190 #define HAVE_FSEEKO 1
26191 _ACEOF
26192
26193 fi
26194
26195 if test "$ac_cv_sys_largefile_source" != no; then
26196 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26197 fi
26198 fi
26199
26200 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26201 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26202 if test "${ac_cv_c_bigendian+set}" = set; then
26203 echo $ECHO_N "(cached) $ECHO_C" >&6
26204 else
26205 ac_cv_c_bigendian=unknown
26206 # See if sys/param.h defines the BYTE_ORDER macro.
26207 cat >conftest.$ac_ext <<_ACEOF
26208 /* confdefs.h. */
26209 _ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <sys/types.h>
26214 #include <sys/param.h>
26215 int
26216 main ()
26217 {
26218
26219 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26220 bogus endian macros
26221 #endif
26222 ;
26223 return 0;
26224 }
26225 _ACEOF
26226 rm -f conftest.$ac_objext
26227 if { (ac_try="$ac_compile"
26228 case "(($ac_try" in
26229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26230 *) ac_try_echo=$ac_try;;
26231 esac
26232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26233 (eval "$ac_compile") 2>conftest.er1
26234 ac_status=$?
26235 grep -v '^ *+' conftest.er1 >conftest.err
26236 rm -f conftest.er1
26237 cat conftest.err >&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); } && {
26240 test -z "$ac_c_werror_flag" ||
26241 test ! -s conftest.err
26242 } && test -s conftest.$ac_objext; then
26243 # It does; now see whether it defined to BIG_ENDIAN or not.
26244 cat >conftest.$ac_ext <<_ACEOF
26245 /* confdefs.h. */
26246 _ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26250 #include <sys/types.h>
26251 #include <sys/param.h>
26252 int
26253 main ()
26254 {
26255
26256 #if BYTE_ORDER != BIG_ENDIAN
26257 not big endian
26258 #endif
26259 ;
26260 return 0;
26261 }
26262 _ACEOF
26263 rm -f conftest.$ac_objext
26264 if { (ac_try="$ac_compile"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26268 esac
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_compile") 2>conftest.er1
26271 ac_status=$?
26272 grep -v '^ *+' conftest.er1 >conftest.err
26273 rm -f conftest.er1
26274 cat conftest.err >&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_c_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest.$ac_objext; then
26280 ac_cv_c_bigendian=yes
26281 else
26282 echo "$as_me: failed program was:" >&5
26283 sed 's/^/| /' conftest.$ac_ext >&5
26284
26285 ac_cv_c_bigendian=no
26286 fi
26287
26288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26289 else
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.$ac_ext >&5
26292
26293
26294 fi
26295
26296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26297 if test $ac_cv_c_bigendian = unknown; then
26298 if test "$cross_compiling" = yes; then
26299 ac_cv_c_bigendian=unknown
26300 else
26301 cat >conftest.$ac_ext <<_ACEOF
26302 /* confdefs.h. */
26303 _ACEOF
26304 cat confdefs.h >>conftest.$ac_ext
26305 cat >>conftest.$ac_ext <<_ACEOF
26306 /* end confdefs.h. */
26307 main () {
26308 /* Are we little or big endian? From Harbison&Steele. */
26309 union
26310 {
26311 long l;
26312 char c[sizeof (long)];
26313 } u;
26314 u.l = 1;
26315 exit (u.c[sizeof (long) - 1] == 1);
26316 }
26317 _ACEOF
26318 rm -f conftest$ac_exeext
26319 if { (ac_try="$ac_link"
26320 case "(($ac_try" in
26321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26322 *) ac_try_echo=$ac_try;;
26323 esac
26324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26325 (eval "$ac_link") 2>&5
26326 ac_status=$?
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26329 { (case "(($ac_try" in
26330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26331 *) ac_try_echo=$ac_try;;
26332 esac
26333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26334 (eval "$ac_try") 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_cv_c_bigendian=no
26339 else
26340 echo "$as_me: program exited with status $ac_status" >&5
26341 echo "$as_me: failed program was:" >&5
26342 sed 's/^/| /' conftest.$ac_ext >&5
26343
26344 ( exit $ac_status )
26345 ac_cv_c_bigendian=yes
26346 fi
26347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26348 fi
26349
26350
26351 fi
26352 fi
26353 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26354 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26355 if test $ac_cv_c_bigendian = unknown; then
26356 { 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
26357 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;}
26358 fi
26359 if test $ac_cv_c_bigendian = yes; then
26360 cat >>confdefs.h <<\_ACEOF
26361 #define WORDS_BIGENDIAN 1
26362 _ACEOF
26363
26364 fi
26365
26366
26367
26368
26369 ac_ext=cpp
26370 ac_cpp='$CXXCPP $CPPFLAGS'
26371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26374
26375
26376
26377 for ac_header in iostream
26378 do
26379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26384 else
26385 cat >conftest.$ac_ext <<_ACEOF
26386 /* confdefs.h. */
26387 _ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26391
26392
26393 #include <$ac_header>
26394 _ACEOF
26395 rm -f conftest.$ac_objext
26396 if { (ac_try="$ac_compile"
26397 case "(($ac_try" in
26398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26399 *) ac_try_echo=$ac_try;;
26400 esac
26401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26402 (eval "$ac_compile") 2>conftest.er1
26403 ac_status=$?
26404 grep -v '^ *+' conftest.er1 >conftest.err
26405 rm -f conftest.er1
26406 cat conftest.err >&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); } && {
26409 test -z "$ac_cxx_werror_flag" ||
26410 test ! -s conftest.err
26411 } && test -s conftest.$ac_objext; then
26412 eval "$as_ac_Header=yes"
26413 else
26414 echo "$as_me: failed program was:" >&5
26415 sed 's/^/| /' conftest.$ac_ext >&5
26416
26417 eval "$as_ac_Header=no"
26418 fi
26419
26420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26421 fi
26422 ac_res=`eval echo '${'$as_ac_Header'}'`
26423 { echo "$as_me:$LINENO: result: $ac_res" >&5
26424 echo "${ECHO_T}$ac_res" >&6; }
26425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26426 cat >>confdefs.h <<_ACEOF
26427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26428 _ACEOF
26429
26430 fi
26431
26432 done
26433
26434
26435 if test "$ac_cv_header_iostream" = "yes" ; then
26436 :
26437 else
26438 cat >>confdefs.h <<\_ACEOF
26439 #define wxUSE_IOSTREAMH 1
26440 _ACEOF
26441
26442 fi
26443
26444 ac_ext=c
26445 ac_cpp='$CPP $CPPFLAGS'
26446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26449
26450
26451
26452
26453 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26454 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26455 if test "${wx_cv_cpp_bool+set}" = set; then
26456 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 else
26458
26459
26460 ac_ext=cpp
26461 ac_cpp='$CXXCPP $CPPFLAGS'
26462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26465
26466
26467 cat >conftest.$ac_ext <<_ACEOF
26468 /* confdefs.h. */
26469 _ACEOF
26470 cat confdefs.h >>conftest.$ac_ext
26471 cat >>conftest.$ac_ext <<_ACEOF
26472 /* end confdefs.h. */
26473
26474
26475 int
26476 main ()
26477 {
26478
26479 bool b = true;
26480
26481 return 0;
26482
26483 ;
26484 return 0;
26485 }
26486 _ACEOF
26487 rm -f conftest.$ac_objext
26488 if { (ac_try="$ac_compile"
26489 case "(($ac_try" in
26490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26491 *) ac_try_echo=$ac_try;;
26492 esac
26493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26494 (eval "$ac_compile") 2>conftest.er1
26495 ac_status=$?
26496 grep -v '^ *+' conftest.er1 >conftest.err
26497 rm -f conftest.er1
26498 cat conftest.err >&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } && {
26501 test -z "$ac_cxx_werror_flag" ||
26502 test ! -s conftest.err
26503 } && test -s conftest.$ac_objext; then
26504
26505 wx_cv_cpp_bool=yes
26506
26507 else
26508 echo "$as_me: failed program was:" >&5
26509 sed 's/^/| /' conftest.$ac_ext >&5
26510
26511
26512 wx_cv_cpp_bool=no
26513
26514
26515 fi
26516
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26518
26519 ac_ext=c
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26524
26525
26526 fi
26527 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26528 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26529
26530 if test "$wx_cv_cpp_bool" = "yes"; then
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_BOOL 1
26533 _ACEOF
26534
26535 fi
26536
26537
26538
26539 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26540 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26541 if test "${wx_cv_explicit+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 else
26544
26545
26546 ac_ext=cpp
26547 ac_cpp='$CXXCPP $CPPFLAGS'
26548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26551
26552
26553 cat >conftest.$ac_ext <<_ACEOF
26554 /* confdefs.h. */
26555 _ACEOF
26556 cat confdefs.h >>conftest.$ac_ext
26557 cat >>conftest.$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26559
26560 class Foo { public: explicit Foo(int) {} };
26561
26562 int
26563 main ()
26564 {
26565
26566 return 0;
26567
26568 ;
26569 return 0;
26570 }
26571 _ACEOF
26572 rm -f conftest.$ac_objext
26573 if { (ac_try="$ac_compile"
26574 case "(($ac_try" in
26575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576 *) ac_try_echo=$ac_try;;
26577 esac
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_compile") 2>conftest.er1
26580 ac_status=$?
26581 grep -v '^ *+' conftest.er1 >conftest.err
26582 rm -f conftest.er1
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } && {
26586 test -z "$ac_cxx_werror_flag" ||
26587 test ! -s conftest.err
26588 } && test -s conftest.$ac_objext; then
26589
26590 cat >conftest.$ac_ext <<_ACEOF
26591 /* confdefs.h. */
26592 _ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596
26597 class Foo { public: explicit Foo(int) {} };
26598 static void TakeFoo(const Foo& foo) { }
26599
26600 int
26601 main ()
26602 {
26603
26604 TakeFoo(17);
26605 return 0;
26606
26607 ;
26608 return 0;
26609 }
26610 _ACEOF
26611 rm -f conftest.$ac_objext
26612 if { (ac_try="$ac_compile"
26613 case "(($ac_try" in
26614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26616 esac
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_compile") 2>conftest.er1
26619 ac_status=$?
26620 grep -v '^ *+' conftest.er1 >conftest.err
26621 rm -f conftest.er1
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } && {
26625 test -z "$ac_cxx_werror_flag" ||
26626 test ! -s conftest.err
26627 } && test -s conftest.$ac_objext; then
26628 wx_cv_explicit=no
26629 else
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26632
26633 wx_cv_explicit=yes
26634
26635 fi
26636
26637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26638
26639 else
26640 echo "$as_me: failed program was:" >&5
26641 sed 's/^/| /' conftest.$ac_ext >&5
26642
26643 wx_cv_explicit=no
26644
26645 fi
26646
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648
26649 ac_ext=c
26650 ac_cpp='$CPP $CPPFLAGS'
26651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26654
26655
26656 fi
26657 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26658 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26659
26660 if test "$wx_cv_explicit" = "yes"; then
26661 cat >>confdefs.h <<\_ACEOF
26662 #define HAVE_EXPLICIT 1
26663 _ACEOF
26664
26665 fi
26666
26667
26668 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26669 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26670 if test "${ac_cv_cxx_const_cast+set}" = set; then
26671 echo $ECHO_N "(cached) $ECHO_C" >&6
26672 else
26673
26674 ac_ext=cpp
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26679
26680 cat >conftest.$ac_ext <<_ACEOF
26681 /* confdefs.h. */
26682 _ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686
26687 int
26688 main ()
26689 {
26690 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26691 ;
26692 return 0;
26693 }
26694 _ACEOF
26695 rm -f conftest.$ac_objext
26696 if { (ac_try="$ac_compile"
26697 case "(($ac_try" in
26698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26699 *) ac_try_echo=$ac_try;;
26700 esac
26701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26702 (eval "$ac_compile") 2>conftest.er1
26703 ac_status=$?
26704 grep -v '^ *+' conftest.er1 >conftest.err
26705 rm -f conftest.er1
26706 cat conftest.err >&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); } && {
26709 test -z "$ac_cxx_werror_flag" ||
26710 test ! -s conftest.err
26711 } && test -s conftest.$ac_objext; then
26712 ac_cv_cxx_const_cast=yes
26713 else
26714 echo "$as_me: failed program was:" >&5
26715 sed 's/^/| /' conftest.$ac_ext >&5
26716
26717 ac_cv_cxx_const_cast=no
26718 fi
26719
26720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26721 ac_ext=c
26722 ac_cpp='$CPP $CPPFLAGS'
26723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26726
26727
26728 fi
26729 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26730 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26731 if test "$ac_cv_cxx_const_cast" = yes; then
26732
26733 cat >>confdefs.h <<\_ACEOF
26734 #define HAVE_CONST_CAST
26735 _ACEOF
26736
26737 fi
26738
26739 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26740 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26741 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744
26745 ac_ext=cpp
26746 ac_cpp='$CXXCPP $CPPFLAGS'
26747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26750
26751 cat >conftest.$ac_ext <<_ACEOF
26752 /* confdefs.h. */
26753 _ACEOF
26754 cat confdefs.h >>conftest.$ac_ext
26755 cat >>conftest.$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757 #include <typeinfo>
26758 class Base { public : Base () {} virtual void f () = 0;};
26759 class Derived : public Base { public : Derived () {} virtual void f () {} };
26760 class Unrelated { public : Unrelated () {} };
26761 int g (Unrelated&) { return 0; }
26762 int
26763 main ()
26764 {
26765
26766 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 rm -f conftest.$ac_objext
26772 if { (ac_try="$ac_compile"
26773 case "(($ac_try" in
26774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26775 *) ac_try_echo=$ac_try;;
26776 esac
26777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26778 (eval "$ac_compile") 2>conftest.er1
26779 ac_status=$?
26780 grep -v '^ *+' conftest.er1 >conftest.err
26781 rm -f conftest.er1
26782 cat conftest.err >&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } && {
26785 test -z "$ac_cxx_werror_flag" ||
26786 test ! -s conftest.err
26787 } && test -s conftest.$ac_objext; then
26788 ac_cv_cxx_reinterpret_cast=yes
26789 else
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.$ac_ext >&5
26792
26793 ac_cv_cxx_reinterpret_cast=no
26794 fi
26795
26796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26797 ac_ext=c
26798 ac_cpp='$CPP $CPPFLAGS'
26799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26802
26803
26804 fi
26805 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26806 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26807 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26808
26809 cat >>confdefs.h <<\_ACEOF
26810 #define HAVE_REINTERPRET_CAST
26811 _ACEOF
26812
26813 fi
26814
26815 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26816 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26817 if test "${ac_cv_cxx_static_cast+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26819 else
26820
26821 ac_ext=cpp
26822 ac_cpp='$CXXCPP $CPPFLAGS'
26823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26826
26827 cat >conftest.$ac_ext <<_ACEOF
26828 /* confdefs.h. */
26829 _ACEOF
26830 cat confdefs.h >>conftest.$ac_ext
26831 cat >>conftest.$ac_ext <<_ACEOF
26832 /* end confdefs.h. */
26833 #include <typeinfo>
26834 class Base { public : Base () {} virtual void f () = 0; };
26835 class Derived : public Base { public : Derived () {} virtual void f () {} };
26836 int g (Derived&) { return 0; }
26837 int
26838 main ()
26839 {
26840
26841 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26842 ;
26843 return 0;
26844 }
26845 _ACEOF
26846 rm -f conftest.$ac_objext
26847 if { (ac_try="$ac_compile"
26848 case "(($ac_try" in
26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850 *) ac_try_echo=$ac_try;;
26851 esac
26852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26853 (eval "$ac_compile") 2>conftest.er1
26854 ac_status=$?
26855 grep -v '^ *+' conftest.er1 >conftest.err
26856 rm -f conftest.er1
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); } && {
26860 test -z "$ac_cxx_werror_flag" ||
26861 test ! -s conftest.err
26862 } && test -s conftest.$ac_objext; then
26863 ac_cv_cxx_static_cast=yes
26864 else
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.$ac_ext >&5
26867
26868 ac_cv_cxx_static_cast=no
26869 fi
26870
26871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26872 ac_ext=c
26873 ac_cpp='$CPP $CPPFLAGS'
26874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26877
26878
26879 fi
26880 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26881 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26882 if test "$ac_cv_cxx_static_cast" = yes; then
26883
26884 cat >>confdefs.h <<\_ACEOF
26885 #define HAVE_STATIC_CAST
26886 _ACEOF
26887
26888 fi
26889
26890
26891 if test "x$SUNCXX" = xyes; then
26892 CXXFLAGS="-features=tmplife $CXXFLAGS"
26893 fi
26894
26895 if test "x$SUNCC" = xyes; then
26896 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26897 fi
26898
26899 if test "x$SGICC" = "xyes"; then
26900 CFLAGS="-woff 3970 $CFLAGS"
26901 fi
26902 if test "x$SGICXX" = "xyes"; then
26903 CXXFLAGS="-woff 3970 $CXXFLAGS"
26904 fi
26905
26906 if test "x$HPCC" = "xyes"; then
26907 CFLAGS="+W 2011,2450 $CFLAGS"
26908 fi
26909 if test "x$HPCXX" = "xyes"; then
26910 CXXFLAGS="+W 2340 $CXXFLAGS"
26911 fi
26912
26913 if test "x$COMPAQCXX" = "xyes"; then
26914 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26915 fi
26916
26917 ac_ext=cpp
26918 ac_cpp='$CXXCPP $CPPFLAGS'
26919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26922
26923
26924 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26925 if test "$wxUSE_UNICODE" = "yes"; then
26926 std_string="std::wstring"
26927 char_type="wchar_t"
26928 else
26929 std_string="std::string"
26930 char_type="char"
26931 fi
26932
26933 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26934 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26935 if test "${wx_cv_class_stdstring+set}" = set; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 else
26938
26939 cat >conftest.$ac_ext <<_ACEOF
26940 /* confdefs.h. */
26941 _ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <string>
26946 int
26947 main ()
26948 {
26949 $std_string foo;
26950 ;
26951 return 0;
26952 }
26953 _ACEOF
26954 rm -f conftest.$ac_objext
26955 if { (ac_try="$ac_compile"
26956 case "(($ac_try" in
26957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26958 *) ac_try_echo=$ac_try;;
26959 esac
26960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26961 (eval "$ac_compile") 2>conftest.er1
26962 ac_status=$?
26963 grep -v '^ *+' conftest.er1 >conftest.err
26964 rm -f conftest.er1
26965 cat conftest.err >&5
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); } && {
26968 test -z "$ac_cxx_werror_flag" ||
26969 test ! -s conftest.err
26970 } && test -s conftest.$ac_objext; then
26971 wx_cv_class_stdstring=yes
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976 wx_cv_class_stdstring=no
26977
26978 fi
26979
26980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26981
26982
26983 fi
26984 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26985 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26986
26987 if test "$wx_cv_class_stdstring" = yes; then
26988 if test "$wxUSE_UNICODE" = "yes"; then
26989 cat >>confdefs.h <<\_ACEOF
26990 #define HAVE_STD_WSTRING 1
26991 _ACEOF
26992
26993 fi
26994 else
26995 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26996 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26997 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26998 echo $ECHO_N "(cached) $ECHO_C" >&6
26999 else
27000
27001 cat >conftest.$ac_ext <<_ACEOF
27002 /* confdefs.h. */
27003 _ACEOF
27004 cat confdefs.h >>conftest.$ac_ext
27005 cat >>conftest.$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27007
27008 #ifdef HAVE_WCHAR_H
27009 # ifdef __CYGWIN__
27010 # include <stddef.h>
27011 # endif
27012 # include <wchar.h>
27013 #endif
27014 #ifdef HAVE_STDLIB_H
27015 # include <stdlib.h>
27016 #endif
27017 #include <stdio.h>
27018 #include <string>
27019
27020 int
27021 main ()
27022 {
27023 std::basic_string<$char_type> foo;
27024 const $char_type* dummy = foo.c_str();
27025 ;
27026 return 0;
27027 }
27028 _ACEOF
27029 rm -f conftest.$ac_objext
27030 if { (ac_try="$ac_compile"
27031 case "(($ac_try" in
27032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27033 *) ac_try_echo=$ac_try;;
27034 esac
27035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27036 (eval "$ac_compile") 2>conftest.er1
27037 ac_status=$?
27038 grep -v '^ *+' conftest.er1 >conftest.err
27039 rm -f conftest.er1
27040 cat conftest.err >&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); } && {
27043 test -z "$ac_cxx_werror_flag" ||
27044 test ! -s conftest.err
27045 } && test -s conftest.$ac_objext; then
27046 wx_cv_class_stdbasicstring=yes
27047 else
27048 echo "$as_me: failed program was:" >&5
27049 sed 's/^/| /' conftest.$ac_ext >&5
27050
27051 wx_cv_class_stdbasicstring=no
27052
27053 fi
27054
27055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27056
27057
27058 fi
27059 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27060 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27061
27062 if test "$wx_cv_class_stdbasicstring" != yes; then
27063 if test "$wxUSE_STL" = "yes"; then
27064 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27065 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27066 { (exit 1); exit 1; }; }
27067 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27068 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27069 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27070 { (exit 1); exit 1; }; }
27071 else
27072 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27073 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27074 wxUSE_STD_STRING=no
27075 fi
27076 fi
27077 fi
27078 fi
27079
27080 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27081 { echo "$as_me:$LINENO: checking for std::istream" >&5
27082 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27083 if test "${ac_cv_type_std__istream+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 else
27086 cat >conftest.$ac_ext <<_ACEOF
27087 /* confdefs.h. */
27088 _ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <iostream>
27093
27094 typedef std::istream ac__type_new_;
27095 int
27096 main ()
27097 {
27098 if ((ac__type_new_ *) 0)
27099 return 0;
27100 if (sizeof (ac__type_new_))
27101 return 0;
27102 ;
27103 return 0;
27104 }
27105 _ACEOF
27106 rm -f conftest.$ac_objext
27107 if { (ac_try="$ac_compile"
27108 case "(($ac_try" in
27109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110 *) ac_try_echo=$ac_try;;
27111 esac
27112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27113 (eval "$ac_compile") 2>conftest.er1
27114 ac_status=$?
27115 grep -v '^ *+' conftest.er1 >conftest.err
27116 rm -f conftest.er1
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } && {
27120 test -z "$ac_cxx_werror_flag" ||
27121 test ! -s conftest.err
27122 } && test -s conftest.$ac_objext; then
27123 ac_cv_type_std__istream=yes
27124 else
27125 echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.$ac_ext >&5
27127
27128 ac_cv_type_std__istream=no
27129 fi
27130
27131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27132 fi
27133 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27134 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27135 if test $ac_cv_type_std__istream = yes; then
27136
27137 cat >>confdefs.h <<_ACEOF
27138 #define HAVE_STD__ISTREAM 1
27139 _ACEOF
27140
27141
27142 else
27143 wxUSE_STD_IOSTREAM=no
27144 fi
27145 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27146 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27147 if test "${ac_cv_type_std__ostream+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 else
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <iostream>
27157
27158 typedef std::ostream ac__type_new_;
27159 int
27160 main ()
27161 {
27162 if ((ac__type_new_ *) 0)
27163 return 0;
27164 if (sizeof (ac__type_new_))
27165 return 0;
27166 ;
27167 return 0;
27168 }
27169 _ACEOF
27170 rm -f conftest.$ac_objext
27171 if { (ac_try="$ac_compile"
27172 case "(($ac_try" in
27173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27174 *) ac_try_echo=$ac_try;;
27175 esac
27176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27177 (eval "$ac_compile") 2>conftest.er1
27178 ac_status=$?
27179 grep -v '^ *+' conftest.er1 >conftest.err
27180 rm -f conftest.er1
27181 cat conftest.err >&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); } && {
27184 test -z "$ac_cxx_werror_flag" ||
27185 test ! -s conftest.err
27186 } && test -s conftest.$ac_objext; then
27187 ac_cv_type_std__ostream=yes
27188 else
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.$ac_ext >&5
27191
27192 ac_cv_type_std__ostream=no
27193 fi
27194
27195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27196 fi
27197 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27198 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27199 if test $ac_cv_type_std__ostream = yes; then
27200
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE_STD__OSTREAM 1
27203 _ACEOF
27204
27205
27206 else
27207 wxUSE_STD_IOSTREAM=no
27208 fi
27209
27210
27211 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27212 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27213 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27214 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27215 { (exit 1); exit 1; }; }
27216 else
27217 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27218 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27219 fi
27220 fi
27221 fi
27222
27223 if test "$wxUSE_STL" = "yes"; then
27224 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27225 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27226 if test "${wx_cv_lib_stl+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27228 else
27229 cat >conftest.$ac_ext <<_ACEOF
27230 /* confdefs.h. */
27231 _ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27235 #include <string>
27236 #include <functional>
27237 #include <algorithm>
27238 #include <vector>
27239 #include <list>
27240 int
27241 main ()
27242 {
27243 std::vector<int> moo;
27244 std::list<int> foo;
27245 std::vector<int>::iterator it =
27246 std::find_if(moo.begin(), moo.end(),
27247 std::bind2nd(std::less<int>(), 3));
27248 ;
27249 return 0;
27250 }
27251 _ACEOF
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27257 esac
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_cxx_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 wx_cv_lib_stl=yes
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 wx_cv_lib_stl=no
27275
27276 fi
27277
27278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27279
27280 fi
27281 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27282 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27283
27284 if test "$wx_cv_lib_stl" != yes; then
27285 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27286 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27287 { (exit 1); exit 1; }; }
27288 fi
27289
27290 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27291 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27292 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27294 else
27295 cat >conftest.$ac_ext <<_ACEOF
27296 /* confdefs.h. */
27297 _ACEOF
27298 cat confdefs.h >>conftest.$ac_ext
27299 cat >>conftest.$ac_ext <<_ACEOF
27300 /* end confdefs.h. */
27301 #include <string>
27302 int
27303 main ()
27304 {
27305 std::string foo, bar;
27306 foo.compare(bar);
27307 foo.compare(1, 1, bar);
27308 foo.compare(1, 1, bar, 1, 1);
27309 foo.compare("");
27310 foo.compare(1, 1, "");
27311 foo.compare(1, 1, "", 2);
27312 ;
27313 return 0;
27314 }
27315 _ACEOF
27316 rm -f conftest.$ac_objext
27317 if { (ac_try="$ac_compile"
27318 case "(($ac_try" in
27319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27320 *) ac_try_echo=$ac_try;;
27321 esac
27322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27323 (eval "$ac_compile") 2>conftest.er1
27324 ac_status=$?
27325 grep -v '^ *+' conftest.er1 >conftest.err
27326 rm -f conftest.er1
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } && {
27330 test -z "$ac_cxx_werror_flag" ||
27331 test ! -s conftest.err
27332 } && test -s conftest.$ac_objext; then
27333 wx_cv_func_stdstring_compare=yes
27334 else
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27337
27338 wx_cv_func_stdstring_compare=no
27339
27340 fi
27341
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27343
27344 fi
27345 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27346 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27347
27348 if test "$wx_cv_func_stdstring_compare" = yes; then
27349 cat >>confdefs.h <<\_ACEOF
27350 #define HAVE_STD_STRING_COMPARE 1
27351 _ACEOF
27352
27353 fi
27354
27355 { echo "$as_me:$LINENO: checking for hash_map" >&5
27356 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27357 if test "${ac_cv_header_hash_map+set}" = set; then
27358 echo $ECHO_N "(cached) $ECHO_C" >&6
27359 else
27360 cat >conftest.$ac_ext <<_ACEOF
27361 /* confdefs.h. */
27362 _ACEOF
27363 cat confdefs.h >>conftest.$ac_ext
27364 cat >>conftest.$ac_ext <<_ACEOF
27365 /* end confdefs.h. */
27366
27367
27368
27369 #include <hash_map>
27370 _ACEOF
27371 rm -f conftest.$ac_objext
27372 if { (ac_try="$ac_compile"
27373 case "(($ac_try" in
27374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27375 *) ac_try_echo=$ac_try;;
27376 esac
27377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27378 (eval "$ac_compile") 2>conftest.er1
27379 ac_status=$?
27380 grep -v '^ *+' conftest.er1 >conftest.err
27381 rm -f conftest.er1
27382 cat conftest.err >&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } && {
27385 test -z "$ac_cxx_werror_flag" ||
27386 test ! -s conftest.err
27387 } && test -s conftest.$ac_objext; then
27388 ac_cv_header_hash_map=yes
27389 else
27390 echo "$as_me: failed program was:" >&5
27391 sed 's/^/| /' conftest.$ac_ext >&5
27392
27393 ac_cv_header_hash_map=no
27394 fi
27395
27396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27397 fi
27398 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27399 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27400 if test $ac_cv_header_hash_map = yes; then
27401 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27402 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27403 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27405 else
27406 cat >conftest.$ac_ext <<_ACEOF
27407 /* confdefs.h. */
27408 _ACEOF
27409 cat confdefs.h >>conftest.$ac_ext
27410 cat >>conftest.$ac_ext <<_ACEOF
27411 /* end confdefs.h. */
27412 #include <hash_map>
27413 #include <hash_set>
27414 int
27415 main ()
27416 {
27417 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27418 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27419 ;
27420 return 0;
27421 }
27422 _ACEOF
27423 rm -f conftest.$ac_objext
27424 if { (ac_try="$ac_compile"
27425 case "(($ac_try" in
27426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27427 *) ac_try_echo=$ac_try;;
27428 esac
27429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27430 (eval "$ac_compile") 2>conftest.er1
27431 ac_status=$?
27432 grep -v '^ *+' conftest.er1 >conftest.err
27433 rm -f conftest.er1
27434 cat conftest.err >&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); } && {
27437 test -z "$ac_cxx_werror_flag" ||
27438 test ! -s conftest.err
27439 } && test -s conftest.$ac_objext; then
27440 wx_cv_class_stdhashmapset=yes
27441 else
27442 echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27444
27445 wx_cv_class_stdhashmapset=no
27446 fi
27447
27448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27449
27450
27451 fi
27452 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27453 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27454 fi
27455
27456
27457
27458 if test "$wx_cv_class_stdhashmapset" = yes; then
27459 cat >>confdefs.h <<\_ACEOF
27460 #define HAVE_HASH_MAP 1
27461 _ACEOF
27462
27463 cat >>confdefs.h <<\_ACEOF
27464 #define HAVE_STD_HASH_MAP 1
27465 _ACEOF
27466
27467 fi
27468
27469 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27470 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27471 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27473 else
27474 cat >conftest.$ac_ext <<_ACEOF
27475 /* confdefs.h. */
27476 _ACEOF
27477 cat confdefs.h >>conftest.$ac_ext
27478 cat >>conftest.$ac_ext <<_ACEOF
27479 /* end confdefs.h. */
27480
27481
27482
27483 #include <ext/hash_map>
27484 _ACEOF
27485 rm -f conftest.$ac_objext
27486 if { (ac_try="$ac_compile"
27487 case "(($ac_try" in
27488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27489 *) ac_try_echo=$ac_try;;
27490 esac
27491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27492 (eval "$ac_compile") 2>conftest.er1
27493 ac_status=$?
27494 grep -v '^ *+' conftest.er1 >conftest.err
27495 rm -f conftest.er1
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } && {
27499 test -z "$ac_cxx_werror_flag" ||
27500 test ! -s conftest.err
27501 } && test -s conftest.$ac_objext; then
27502 ac_cv_header_ext_hash_map=yes
27503 else
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.$ac_ext >&5
27506
27507 ac_cv_header_ext_hash_map=no
27508 fi
27509
27510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27511 fi
27512 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27513 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27514 if test $ac_cv_header_ext_hash_map = yes; then
27515 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27516 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27517 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27519 else
27520 cat >conftest.$ac_ext <<_ACEOF
27521 /* confdefs.h. */
27522 _ACEOF
27523 cat confdefs.h >>conftest.$ac_ext
27524 cat >>conftest.$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27526 #include <ext/hash_map>
27527 #include <ext/hash_set>
27528 int
27529 main ()
27530 {
27531 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27532 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27533 ;
27534 return 0;
27535 }
27536 _ACEOF
27537 rm -f conftest.$ac_objext
27538 if { (ac_try="$ac_compile"
27539 case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27542 esac
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_compile") 2>conftest.er1
27545 ac_status=$?
27546 grep -v '^ *+' conftest.er1 >conftest.err
27547 rm -f conftest.er1
27548 cat conftest.err >&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } && {
27551 test -z "$ac_cxx_werror_flag" ||
27552 test ! -s conftest.err
27553 } && test -s conftest.$ac_objext; then
27554 wx_cv_class_gnuhashmapset=yes
27555 else
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27558
27559 wx_cv_class_gnuhashmapset=no
27560 fi
27561
27562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27563
27564
27565 fi
27566 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27567 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27568 fi
27569
27570
27571
27572 if test "$wx_cv_class_gnuhashmapset" = yes; then
27573 cat >>confdefs.h <<\_ACEOF
27574 #define HAVE_EXT_HASH_MAP 1
27575 _ACEOF
27576
27577 cat >>confdefs.h <<\_ACEOF
27578 #define HAVE_GNU_CXX_HASH_MAP 1
27579 _ACEOF
27580
27581 fi
27582 fi
27583
27584
27585
27586 if test -n "$GCC"; then
27587 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27588 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27589 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27591 else
27592
27593 cat >conftest.$ac_ext <<_ACEOF
27594 /* confdefs.h. */
27595 _ACEOF
27596 cat confdefs.h >>conftest.$ac_ext
27597 cat >>conftest.$ac_ext <<_ACEOF
27598 /* end confdefs.h. */
27599
27600 int
27601 main ()
27602 {
27603
27604 int value=0;
27605 __sync_fetch_and_add(&value, 1);
27606 __sync_sub_and_fetch(&value, 1);
27607
27608 ;
27609 return 0;
27610 }
27611 _ACEOF
27612 rm -f conftest.$ac_objext
27613 if { (ac_try="$ac_compile"
27614 case "(($ac_try" in
27615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27616 *) ac_try_echo=$ac_try;;
27617 esac
27618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27619 (eval "$ac_compile") 2>conftest.er1
27620 ac_status=$?
27621 grep -v '^ *+' conftest.er1 >conftest.err
27622 rm -f conftest.er1
27623 cat conftest.err >&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } && {
27626 test -z "$ac_cxx_werror_flag" ||
27627 test ! -s conftest.err
27628 } && test -s conftest.$ac_objext; then
27629 wx_cv_cc_gcc_atomic_builtins=yes
27630 else
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.$ac_ext >&5
27633
27634 wx_cv_cc_gcc_atomic_builtins=no
27635 fi
27636
27637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27638
27639 fi
27640
27641 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27642 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27643 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27644 cat >>confdefs.h <<\_ACEOF
27645 #define HAVE_GCC_ATOMIC_BUILTINS 1
27646 _ACEOF
27647
27648 fi
27649 fi
27650
27651
27652 ac_ext=c
27653 ac_cpp='$CPP $CPPFLAGS'
27654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27657
27658
27659
27660 SEARCH_INCLUDE="\
27661 /usr/local/include \
27662 \
27663 /usr/Motif-2.1/include \
27664 /usr/Motif-1.2/include \
27665 /usr/include/Motif1.2 \
27666 \
27667 /usr/dt/include \
27668 /usr/openwin/include \
27669 \
27670 /usr/include/Xm \
27671 \
27672 /usr/X11R6/include \
27673 /usr/X11R6.4/include \
27674 /usr/X11R5/include \
27675 /usr/X11R4/include \
27676 \
27677 /usr/include/X11R6 \
27678 /usr/include/X11R5 \
27679 /usr/include/X11R4 \
27680 \
27681 /usr/local/X11R6/include \
27682 /usr/local/X11R5/include \
27683 /usr/local/X11R4/include \
27684 \
27685 /usr/local/include/X11R6 \
27686 /usr/local/include/X11R5 \
27687 /usr/local/include/X11R4 \
27688 \
27689 /usr/X11/include \
27690 /usr/include/X11 \
27691 /usr/local/X11/include \
27692 /usr/local/include/X11 \
27693 \
27694 /usr/XFree86/include/X11 \
27695 /usr/pkg/include \
27696 \
27697 /usr/openwin/share/include"
27698
27699 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27700 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27701
27702 case "${host}" in
27703 *-*-irix6* )
27704 if test "${wx_cv_std_libpath+set}" = set; then
27705 echo $ECHO_N "(cached) $ECHO_C" >&6
27706 else
27707
27708 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27709 for e in a so sl dylib dll.a; do
27710 libc="$d/libc.$e"
27711 if test -f $libc; then
27712 save_LIBS="$LIBS"
27713 LIBS="$libc"
27714 cat >conftest.$ac_ext <<_ACEOF
27715 int main() { return 0; }
27716 _ACEOF
27717 rm -f conftest.$ac_objext conftest$ac_exeext
27718 if { (ac_try="$ac_link"
27719 case "(($ac_try" in
27720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27721 *) ac_try_echo=$ac_try;;
27722 esac
27723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27724 (eval "$ac_link") 2>conftest.er1
27725 ac_status=$?
27726 grep -v '^ *+' conftest.er1 >conftest.err
27727 rm -f conftest.er1
27728 cat conftest.err >&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } && {
27731 test -z "$ac_c_werror_flag" ||
27732 test ! -s conftest.err
27733 } && test -s conftest$ac_exeext &&
27734 $as_test_x conftest$ac_exeext; then
27735 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27736 else
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27739
27740
27741 fi
27742
27743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27744 conftest$ac_exeext conftest.$ac_ext
27745 LIBS="$save_LIBS"
27746 if test "x$wx_cv_std_libpath" != "x"; then
27747 break 2
27748 fi
27749 fi
27750 done
27751 done
27752 if test "x$wx_cv_std_libpath" = "x"; then
27753 wx_cv_std_libpath="lib"
27754 fi
27755
27756
27757 fi
27758
27759 ;;
27760
27761 *-*-solaris2* )
27762 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27763 wx_cv_std_libpath="lib/64"
27764 else
27765 wx_cv_std_libpath="lib"
27766 fi
27767 ;;
27768
27769 *-*-linux* )
27770 if test "$ac_cv_sizeof_void_p" = 8 -a \
27771 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27772 wx_cv_std_libpath="lib64"
27773 else
27774 wx_cv_std_libpath="lib"
27775 fi
27776 ;;
27777
27778 *)
27779 wx_cv_std_libpath="lib";
27780 ;;
27781 esac
27782
27783 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27784 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27785
27786 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27787
27788 if test "$build" != "$host" -a "$GCC" = yes; then
27789 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27790 cross_root=`dirname $cross_root`
27791 cross_root=`dirname $cross_root`
27792
27793 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27794 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27795 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27796
27797 if test -z "$PKG_CONFIG_PATH"; then
27798 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27799 export PKG_CONFIG_PATH
27800 fi
27801
27802 if test -z "$x_includes" -o "$x_includes" = NONE; then
27803
27804 ac_find_includes=
27805 for ac_dir in $SEARCH_INCLUDE /usr/include;
27806 do
27807 if test -f "$ac_dir/X11/Intrinsic.h"; then
27808 ac_find_includes=$ac_dir
27809 break
27810 fi
27811 done
27812
27813 x_includes=$ac_find_includes
27814 fi
27815 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27816
27817 ac_find_libraries=
27818 for ac_dir in $SEARCH_LIB;
27819 do
27820 for ac_extension in a so sl dylib dll.a; do
27821 if test -f "$ac_dir/libXt.$ac_extension"; then
27822 ac_find_libraries=$ac_dir
27823 break 2
27824 fi
27825 done
27826 done
27827
27828 x_libraries=$ac_find_libraries
27829 fi
27830 fi
27831 fi
27832
27833
27834 cat >confcache <<\_ACEOF
27835 # This file is a shell script that caches the results of configure
27836 # tests run on this system so they can be shared between configure
27837 # scripts and configure runs, see configure's option --config-cache.
27838 # It is not useful on other systems. If it contains results you don't
27839 # want to keep, you may remove or edit it.
27840 #
27841 # config.status only pays attention to the cache file if you give it
27842 # the --recheck option to rerun configure.
27843 #
27844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27846 # following values.
27847
27848 _ACEOF
27849
27850 # The following way of writing the cache mishandles newlines in values,
27851 # but we know of no workaround that is simple, portable, and efficient.
27852 # So, we kill variables containing newlines.
27853 # Ultrix sh set writes to stderr and can't be redirected directly,
27854 # and sets the high bit in the cache file unless we assign to the vars.
27855 (
27856 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27857 eval ac_val=\$$ac_var
27858 case $ac_val in #(
27859 *${as_nl}*)
27860 case $ac_var in #(
27861 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27862 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27863 esac
27864 case $ac_var in #(
27865 _ | IFS | as_nl) ;; #(
27866 *) $as_unset $ac_var ;;
27867 esac ;;
27868 esac
27869 done
27870
27871 (set) 2>&1 |
27872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27873 *${as_nl}ac_space=\ *)
27874 # `set' does not quote correctly, so add quotes (double-quote
27875 # substitution turns \\\\ into \\, and sed turns \\ into \).
27876 sed -n \
27877 "s/'/'\\\\''/g;
27878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27879 ;; #(
27880 *)
27881 # `set' quotes correctly as required by POSIX, so do not add quotes.
27882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27883 ;;
27884 esac |
27885 sort
27886 ) |
27887 sed '
27888 /^ac_cv_env_/b end
27889 t clear
27890 :clear
27891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27892 t end
27893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27894 :end' >>confcache
27895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27896 if test -w "$cache_file"; then
27897 test "x$cache_file" != "x/dev/null" &&
27898 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27899 echo "$as_me: updating cache $cache_file" >&6;}
27900 cat confcache >$cache_file
27901 else
27902 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27903 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27904 fi
27905 fi
27906 rm -f confcache
27907
27908 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27909 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27910 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27911 if test "${wx_cv_lib_glibc21+set}" = set; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27913 else
27914
27915 cat >conftest.$ac_ext <<_ACEOF
27916 /* confdefs.h. */
27917 _ACEOF
27918 cat confdefs.h >>conftest.$ac_ext
27919 cat >>conftest.$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27921 #include <features.h>
27922 int
27923 main ()
27924 {
27925
27926 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27927 not glibc 2.1
27928 #endif
27929
27930 ;
27931 return 0;
27932 }
27933 _ACEOF
27934 rm -f conftest.$ac_objext
27935 if { (ac_try="$ac_compile"
27936 case "(($ac_try" in
27937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27938 *) ac_try_echo=$ac_try;;
27939 esac
27940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27941 (eval "$ac_compile") 2>conftest.er1
27942 ac_status=$?
27943 grep -v '^ *+' conftest.er1 >conftest.err
27944 rm -f conftest.er1
27945 cat conftest.err >&5
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); } && {
27948 test -z "$ac_c_werror_flag" ||
27949 test ! -s conftest.err
27950 } && test -s conftest.$ac_objext; then
27951
27952 wx_cv_lib_glibc21=yes
27953
27954 else
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.$ac_ext >&5
27957
27958
27959 wx_cv_lib_glibc21=no
27960
27961
27962 fi
27963
27964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27965
27966 fi
27967 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27968 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27969 if test "$wx_cv_lib_glibc21" = "yes"; then
27970 cat >>confdefs.h <<\_ACEOF
27971 #define wxHAVE_GLIBC2 1
27972 _ACEOF
27973
27974 fi
27975 fi
27976
27977 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27978 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27979 cat >>confdefs.h <<\_ACEOF
27980 #define _GNU_SOURCE 1
27981 _ACEOF
27982
27983 fi
27984 fi
27985
27986 have_cos=0
27987 have_floor=0
27988
27989 for ac_func in cos
27990 do
27991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27994 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27995 echo $ECHO_N "(cached) $ECHO_C" >&6
27996 else
27997 cat >conftest.$ac_ext <<_ACEOF
27998 /* confdefs.h. */
27999 _ACEOF
28000 cat confdefs.h >>conftest.$ac_ext
28001 cat >>conftest.$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28005 #define $ac_func innocuous_$ac_func
28006
28007 /* System header to define __stub macros and hopefully few prototypes,
28008 which can conflict with char $ac_func (); below.
28009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28010 <limits.h> exists even on freestanding compilers. */
28011
28012 #ifdef __STDC__
28013 # include <limits.h>
28014 #else
28015 # include <assert.h>
28016 #endif
28017
28018 #undef $ac_func
28019
28020 /* Override any GCC internal prototype to avoid an error.
28021 Use char because int might match the return type of a GCC
28022 builtin and then its argument prototype would still apply. */
28023 #ifdef __cplusplus
28024 extern "C"
28025 #endif
28026 char $ac_func ();
28027 /* The GNU C library defines this for functions which it implements
28028 to always fail with ENOSYS. Some functions are actually named
28029 something starting with __ and the normal name is an alias. */
28030 #if defined __stub_$ac_func || defined __stub___$ac_func
28031 choke me
28032 #endif
28033
28034 int
28035 main ()
28036 {
28037 return $ac_func ();
28038 ;
28039 return 0;
28040 }
28041 _ACEOF
28042 rm -f conftest.$ac_objext conftest$ac_exeext
28043 if { (ac_try="$ac_link"
28044 case "(($ac_try" in
28045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28046 *) ac_try_echo=$ac_try;;
28047 esac
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_link") 2>conftest.er1
28050 ac_status=$?
28051 grep -v '^ *+' conftest.er1 >conftest.err
28052 rm -f conftest.er1
28053 cat conftest.err >&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } && {
28056 test -z "$ac_c_werror_flag" ||
28057 test ! -s conftest.err
28058 } && test -s conftest$ac_exeext &&
28059 $as_test_x conftest$ac_exeext; then
28060 eval "$as_ac_var=yes"
28061 else
28062 echo "$as_me: failed program was:" >&5
28063 sed 's/^/| /' conftest.$ac_ext >&5
28064
28065 eval "$as_ac_var=no"
28066 fi
28067
28068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28069 conftest$ac_exeext conftest.$ac_ext
28070 fi
28071 ac_res=`eval echo '${'$as_ac_var'}'`
28072 { echo "$as_me:$LINENO: result: $ac_res" >&5
28073 echo "${ECHO_T}$ac_res" >&6; }
28074 if test `eval echo '${'$as_ac_var'}'` = yes; then
28075 cat >>confdefs.h <<_ACEOF
28076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28077 _ACEOF
28078 have_cos=1
28079 fi
28080 done
28081
28082
28083 for ac_func in floor
28084 do
28085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091 cat >conftest.$ac_ext <<_ACEOF
28092 /* confdefs.h. */
28093 _ACEOF
28094 cat confdefs.h >>conftest.$ac_ext
28095 cat >>conftest.$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28099 #define $ac_func innocuous_$ac_func
28100
28101 /* System header to define __stub macros and hopefully few prototypes,
28102 which can conflict with char $ac_func (); below.
28103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28104 <limits.h> exists even on freestanding compilers. */
28105
28106 #ifdef __STDC__
28107 # include <limits.h>
28108 #else
28109 # include <assert.h>
28110 #endif
28111
28112 #undef $ac_func
28113
28114 /* Override any GCC internal prototype to avoid an error.
28115 Use char because int might match the return type of a GCC
28116 builtin and then its argument prototype would still apply. */
28117 #ifdef __cplusplus
28118 extern "C"
28119 #endif
28120 char $ac_func ();
28121 /* The GNU C library defines this for functions which it implements
28122 to always fail with ENOSYS. Some functions are actually named
28123 something starting with __ and the normal name is an alias. */
28124 #if defined __stub_$ac_func || defined __stub___$ac_func
28125 choke me
28126 #endif
28127
28128 int
28129 main ()
28130 {
28131 return $ac_func ();
28132 ;
28133 return 0;
28134 }
28135 _ACEOF
28136 rm -f conftest.$ac_objext conftest$ac_exeext
28137 if { (ac_try="$ac_link"
28138 case "(($ac_try" in
28139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28140 *) ac_try_echo=$ac_try;;
28141 esac
28142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28143 (eval "$ac_link") 2>conftest.er1
28144 ac_status=$?
28145 grep -v '^ *+' conftest.er1 >conftest.err
28146 rm -f conftest.er1
28147 cat conftest.err >&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); } && {
28150 test -z "$ac_c_werror_flag" ||
28151 test ! -s conftest.err
28152 } && test -s conftest$ac_exeext &&
28153 $as_test_x conftest$ac_exeext; then
28154 eval "$as_ac_var=yes"
28155 else
28156 echo "$as_me: failed program was:" >&5
28157 sed 's/^/| /' conftest.$ac_ext >&5
28158
28159 eval "$as_ac_var=no"
28160 fi
28161
28162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28163 conftest$ac_exeext conftest.$ac_ext
28164 fi
28165 ac_res=`eval echo '${'$as_ac_var'}'`
28166 { echo "$as_me:$LINENO: result: $ac_res" >&5
28167 echo "${ECHO_T}$ac_res" >&6; }
28168 if test `eval echo '${'$as_ac_var'}'` = yes; then
28169 cat >>confdefs.h <<_ACEOF
28170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28171 _ACEOF
28172 have_floor=1
28173 fi
28174 done
28175
28176 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28177 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28178 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28179 { echo "$as_me:$LINENO: result: yes" >&5
28180 echo "${ECHO_T}yes" >&6; }
28181 else
28182 { echo "$as_me:$LINENO: result: no" >&5
28183 echo "${ECHO_T}no" >&6; }
28184 LIBS="$LIBS -lm"
28185 # use different functions to avoid configure caching
28186 have_sin=0
28187 have_ceil=0
28188
28189 for ac_func in sin
28190 do
28191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 else
28197 cat >conftest.$ac_ext <<_ACEOF
28198 /* confdefs.h. */
28199 _ACEOF
28200 cat confdefs.h >>conftest.$ac_ext
28201 cat >>conftest.$ac_ext <<_ACEOF
28202 /* end confdefs.h. */
28203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28205 #define $ac_func innocuous_$ac_func
28206
28207 /* System header to define __stub macros and hopefully few prototypes,
28208 which can conflict with char $ac_func (); below.
28209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28210 <limits.h> exists even on freestanding compilers. */
28211
28212 #ifdef __STDC__
28213 # include <limits.h>
28214 #else
28215 # include <assert.h>
28216 #endif
28217
28218 #undef $ac_func
28219
28220 /* Override any GCC internal prototype to avoid an error.
28221 Use char because int might match the return type of a GCC
28222 builtin and then its argument prototype would still apply. */
28223 #ifdef __cplusplus
28224 extern "C"
28225 #endif
28226 char $ac_func ();
28227 /* The GNU C library defines this for functions which it implements
28228 to always fail with ENOSYS. Some functions are actually named
28229 something starting with __ and the normal name is an alias. */
28230 #if defined __stub_$ac_func || defined __stub___$ac_func
28231 choke me
28232 #endif
28233
28234 int
28235 main ()
28236 {
28237 return $ac_func ();
28238 ;
28239 return 0;
28240 }
28241 _ACEOF
28242 rm -f conftest.$ac_objext conftest$ac_exeext
28243 if { (ac_try="$ac_link"
28244 case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246 *) ac_try_echo=$ac_try;;
28247 esac
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_link") 2>conftest.er1
28250 ac_status=$?
28251 grep -v '^ *+' conftest.er1 >conftest.err
28252 rm -f conftest.er1
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } && {
28256 test -z "$ac_c_werror_flag" ||
28257 test ! -s conftest.err
28258 } && test -s conftest$ac_exeext &&
28259 $as_test_x conftest$ac_exeext; then
28260 eval "$as_ac_var=yes"
28261 else
28262 echo "$as_me: failed program was:" >&5
28263 sed 's/^/| /' conftest.$ac_ext >&5
28264
28265 eval "$as_ac_var=no"
28266 fi
28267
28268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28269 conftest$ac_exeext conftest.$ac_ext
28270 fi
28271 ac_res=`eval echo '${'$as_ac_var'}'`
28272 { echo "$as_me:$LINENO: result: $ac_res" >&5
28273 echo "${ECHO_T}$ac_res" >&6; }
28274 if test `eval echo '${'$as_ac_var'}'` = yes; then
28275 cat >>confdefs.h <<_ACEOF
28276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28277 _ACEOF
28278 have_sin=1
28279 fi
28280 done
28281
28282
28283 for ac_func in ceil
28284 do
28285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28289 echo $ECHO_N "(cached) $ECHO_C" >&6
28290 else
28291 cat >conftest.$ac_ext <<_ACEOF
28292 /* confdefs.h. */
28293 _ACEOF
28294 cat confdefs.h >>conftest.$ac_ext
28295 cat >>conftest.$ac_ext <<_ACEOF
28296 /* end confdefs.h. */
28297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28299 #define $ac_func innocuous_$ac_func
28300
28301 /* System header to define __stub macros and hopefully few prototypes,
28302 which can conflict with char $ac_func (); below.
28303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28304 <limits.h> exists even on freestanding compilers. */
28305
28306 #ifdef __STDC__
28307 # include <limits.h>
28308 #else
28309 # include <assert.h>
28310 #endif
28311
28312 #undef $ac_func
28313
28314 /* Override any GCC internal prototype to avoid an error.
28315 Use char because int might match the return type of a GCC
28316 builtin and then its argument prototype would still apply. */
28317 #ifdef __cplusplus
28318 extern "C"
28319 #endif
28320 char $ac_func ();
28321 /* The GNU C library defines this for functions which it implements
28322 to always fail with ENOSYS. Some functions are actually named
28323 something starting with __ and the normal name is an alias. */
28324 #if defined __stub_$ac_func || defined __stub___$ac_func
28325 choke me
28326 #endif
28327
28328 int
28329 main ()
28330 {
28331 return $ac_func ();
28332 ;
28333 return 0;
28334 }
28335 _ACEOF
28336 rm -f conftest.$ac_objext conftest$ac_exeext
28337 if { (ac_try="$ac_link"
28338 case "(($ac_try" in
28339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28340 *) ac_try_echo=$ac_try;;
28341 esac
28342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28343 (eval "$ac_link") 2>conftest.er1
28344 ac_status=$?
28345 grep -v '^ *+' conftest.er1 >conftest.err
28346 rm -f conftest.er1
28347 cat conftest.err >&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } && {
28350 test -z "$ac_c_werror_flag" ||
28351 test ! -s conftest.err
28352 } && test -s conftest$ac_exeext &&
28353 $as_test_x conftest$ac_exeext; then
28354 eval "$as_ac_var=yes"
28355 else
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.$ac_ext >&5
28358
28359 eval "$as_ac_var=no"
28360 fi
28361
28362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28363 conftest$ac_exeext conftest.$ac_ext
28364 fi
28365 ac_res=`eval echo '${'$as_ac_var'}'`
28366 { echo "$as_me:$LINENO: result: $ac_res" >&5
28367 echo "${ECHO_T}$ac_res" >&6; }
28368 if test `eval echo '${'$as_ac_var'}'` = yes; then
28369 cat >>confdefs.h <<_ACEOF
28370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28371 _ACEOF
28372 have_ceil=1
28373 fi
28374 done
28375
28376 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28377 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28378 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28379 { echo "$as_me:$LINENO: result: yes" >&5
28380 echo "${ECHO_T}yes" >&6; }
28381 else
28382 { echo "$as_me:$LINENO: result: no" >&5
28383 echo "${ECHO_T}no" >&6; }
28384 # not sure we should warn the user, crash, etc.
28385 fi
28386 fi
28387
28388 ac_ext=cpp
28389 ac_cpp='$CXXCPP $CPPFLAGS'
28390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28393
28394 if test "wxUSE_UNICODE" = "yes"; then
28395
28396 for wx_func in wcstoull
28397 do
28398 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28399 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28400 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28402 else
28403
28404 cat >conftest.$ac_ext <<_ACEOF
28405
28406 /* confdefs.h. */
28407 _ACEOF
28408 cat confdefs.h >>conftest.$ac_ext
28409 cat >>conftest.$ac_ext <<_ACEOF
28410 /* end confdefs.h. */
28411
28412
28413 $ac_includes_default
28414
28415 int
28416 main ()
28417 {
28418
28419 #ifndef $wx_func
28420 &$wx_func;
28421 #endif
28422
28423
28424 ;
28425 return 0;
28426 }
28427
28428 _ACEOF
28429 rm -f conftest.$ac_objext conftest$ac_exeext
28430 if { (ac_try="$ac_link"
28431 case "(($ac_try" in
28432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28433 *) ac_try_echo=$ac_try;;
28434 esac
28435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28436 (eval "$ac_link") 2>conftest.er1
28437 ac_status=$?
28438 grep -v '^ *+' conftest.er1 >conftest.err
28439 rm -f conftest.er1
28440 cat conftest.err >&5
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); } && {
28443 test -z "$ac_cxx_werror_flag" ||
28444 test ! -s conftest.err
28445 } && test -s conftest$ac_exeext &&
28446 $as_test_x conftest$ac_exeext; then
28447 eval wx_cv_func_$wx_func=yes
28448 else
28449 echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28451
28452 eval wx_cv_func_$wx_func=no
28453 fi
28454
28455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28456 conftest$ac_exeext conftest.$ac_ext
28457
28458 fi
28459 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28460 { echo "$as_me:$LINENO: result: $ac_res" >&5
28461 echo "${ECHO_T}$ac_res" >&6; }
28462
28463 if eval test \$wx_cv_func_$wx_func = yes
28464 then
28465 cat >>confdefs.h <<_ACEOF
28466 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28467 _ACEOF
28468
28469
28470 else
28471 :
28472
28473 fi
28474 done
28475
28476 else
28477
28478 for wx_func in strtoull
28479 do
28480 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28481 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28482 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28484 else
28485
28486 cat >conftest.$ac_ext <<_ACEOF
28487
28488 /* confdefs.h. */
28489 _ACEOF
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493
28494
28495 $ac_includes_default
28496
28497 int
28498 main ()
28499 {
28500
28501 #ifndef $wx_func
28502 &$wx_func;
28503 #endif
28504
28505
28506 ;
28507 return 0;
28508 }
28509
28510 _ACEOF
28511 rm -f conftest.$ac_objext conftest$ac_exeext
28512 if { (ac_try="$ac_link"
28513 case "(($ac_try" in
28514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28515 *) ac_try_echo=$ac_try;;
28516 esac
28517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28518 (eval "$ac_link") 2>conftest.er1
28519 ac_status=$?
28520 grep -v '^ *+' conftest.er1 >conftest.err
28521 rm -f conftest.er1
28522 cat conftest.err >&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } && {
28525 test -z "$ac_cxx_werror_flag" ||
28526 test ! -s conftest.err
28527 } && test -s conftest$ac_exeext &&
28528 $as_test_x conftest$ac_exeext; then
28529 eval wx_cv_func_$wx_func=yes
28530 else
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28533
28534 eval wx_cv_func_$wx_func=no
28535 fi
28536
28537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28538 conftest$ac_exeext conftest.$ac_ext
28539
28540 fi
28541 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28542 { echo "$as_me:$LINENO: result: $ac_res" >&5
28543 echo "${ECHO_T}$ac_res" >&6; }
28544
28545 if eval test \$wx_cv_func_$wx_func = yes
28546 then
28547 cat >>confdefs.h <<_ACEOF
28548 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28549 _ACEOF
28550
28551
28552 else
28553 :
28554
28555 fi
28556 done
28557
28558 fi
28559 ac_ext=c
28560 ac_cpp='$CPP $CPPFLAGS'
28561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28564
28565
28566
28567
28568 if test "$wxUSE_REGEX" != "no"; then
28569 cat >>confdefs.h <<\_ACEOF
28570 #define wxUSE_REGEX 1
28571 _ACEOF
28572
28573
28574 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28575 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28576 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28577 wxUSE_REGEX=builtin
28578 fi
28579
28580 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28581 { echo "$as_me:$LINENO: checking for regex.h" >&5
28582 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28583 if test "${ac_cv_header_regex_h+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 else
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592
28593
28594 #include <regex.h>
28595 _ACEOF
28596 rm -f conftest.$ac_objext
28597 if { (ac_try="$ac_compile"
28598 case "(($ac_try" in
28599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28600 *) ac_try_echo=$ac_try;;
28601 esac
28602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28603 (eval "$ac_compile") 2>conftest.er1
28604 ac_status=$?
28605 grep -v '^ *+' conftest.er1 >conftest.err
28606 rm -f conftest.er1
28607 cat conftest.err >&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); } && {
28610 test -z "$ac_c_werror_flag" ||
28611 test ! -s conftest.err
28612 } && test -s conftest.$ac_objext; then
28613 ac_cv_header_regex_h=yes
28614 else
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28617
28618 ac_cv_header_regex_h=no
28619 fi
28620
28621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28622 fi
28623 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28624 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28625 if test $ac_cv_header_regex_h = yes; then
28626
28627
28628 for ac_func in regcomp re_search
28629 do
28630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 else
28636 cat >conftest.$ac_ext <<_ACEOF
28637 /* confdefs.h. */
28638 _ACEOF
28639 cat confdefs.h >>conftest.$ac_ext
28640 cat >>conftest.$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28644 #define $ac_func innocuous_$ac_func
28645
28646 /* System header to define __stub macros and hopefully few prototypes,
28647 which can conflict with char $ac_func (); below.
28648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28649 <limits.h> exists even on freestanding compilers. */
28650
28651 #ifdef __STDC__
28652 # include <limits.h>
28653 #else
28654 # include <assert.h>
28655 #endif
28656
28657 #undef $ac_func
28658
28659 /* Override any GCC internal prototype to avoid an error.
28660 Use char because int might match the return type of a GCC
28661 builtin and then its argument prototype would still apply. */
28662 #ifdef __cplusplus
28663 extern "C"
28664 #endif
28665 char $ac_func ();
28666 /* The GNU C library defines this for functions which it implements
28667 to always fail with ENOSYS. Some functions are actually named
28668 something starting with __ and the normal name is an alias. */
28669 #if defined __stub_$ac_func || defined __stub___$ac_func
28670 choke me
28671 #endif
28672
28673 int
28674 main ()
28675 {
28676 return $ac_func ();
28677 ;
28678 return 0;
28679 }
28680 _ACEOF
28681 rm -f conftest.$ac_objext conftest$ac_exeext
28682 if { (ac_try="$ac_link"
28683 case "(($ac_try" in
28684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28685 *) ac_try_echo=$ac_try;;
28686 esac
28687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28688 (eval "$ac_link") 2>conftest.er1
28689 ac_status=$?
28690 grep -v '^ *+' conftest.er1 >conftest.err
28691 rm -f conftest.er1
28692 cat conftest.err >&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); } && {
28695 test -z "$ac_c_werror_flag" ||
28696 test ! -s conftest.err
28697 } && test -s conftest$ac_exeext &&
28698 $as_test_x conftest$ac_exeext; then
28699 eval "$as_ac_var=yes"
28700 else
28701 echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28703
28704 eval "$as_ac_var=no"
28705 fi
28706
28707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28708 conftest$ac_exeext conftest.$ac_ext
28709 fi
28710 ac_res=`eval echo '${'$as_ac_var'}'`
28711 { echo "$as_me:$LINENO: result: $ac_res" >&5
28712 echo "${ECHO_T}$ac_res" >&6; }
28713 if test `eval echo '${'$as_ac_var'}'` = yes; then
28714 cat >>confdefs.h <<_ACEOF
28715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28716 _ACEOF
28717
28718 fi
28719 done
28720
28721 fi
28722
28723
28724
28725 if test "x$ac_cv_func_regcomp" != "xyes"; then
28726 if test "$wxUSE_REGEX" = "sys" ; then
28727 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28728 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28729 { (exit 1); exit 1; }; }
28730 else
28731 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28732 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28733 wxUSE_REGEX=builtin
28734 fi
28735 else
28736 wxUSE_REGEX=sys
28737 cat >>confdefs.h <<\_ACEOF
28738 #define WX_NO_REGEX_ADVANCED 1
28739 _ACEOF
28740
28741 fi
28742 fi
28743 fi
28744
28745
28746 ZLIB_LINK=
28747 if test "$wxUSE_ZLIB" != "no" ; then
28748 cat >>confdefs.h <<\_ACEOF
28749 #define wxUSE_ZLIB 1
28750 _ACEOF
28751
28752
28753 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28754 if test "$USE_DARWIN" = 1; then
28755 system_zlib_h_ok="yes"
28756 else
28757 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28758 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28759 if test "${ac_cv_header_zlib_h+set}" = set; then
28760 echo $ECHO_N "(cached) $ECHO_C" >&6
28761 else
28762 if test "$cross_compiling" = yes; then
28763 unset ac_cv_header_zlib_h
28764
28765 else
28766 cat >conftest.$ac_ext <<_ACEOF
28767 /* confdefs.h. */
28768 _ACEOF
28769 cat confdefs.h >>conftest.$ac_ext
28770 cat >>conftest.$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28772
28773 #include <zlib.h>
28774 #include <stdio.h>
28775
28776 int main()
28777 {
28778 FILE *f=fopen("conftestval", "w");
28779 if (!f) exit(1);
28780 fprintf(f, "%s",
28781 ZLIB_VERSION[0] == '1' &&
28782 (ZLIB_VERSION[2] > '1' ||
28783 (ZLIB_VERSION[2] == '1' &&
28784 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28785 exit(0);
28786 }
28787
28788 _ACEOF
28789 rm -f conftest$ac_exeext
28790 if { (ac_try="$ac_link"
28791 case "(($ac_try" in
28792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28793 *) ac_try_echo=$ac_try;;
28794 esac
28795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28796 (eval "$ac_link") 2>&5
28797 ac_status=$?
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28800 { (case "(($ac_try" in
28801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28802 *) ac_try_echo=$ac_try;;
28803 esac
28804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28805 (eval "$ac_try") 2>&5
28806 ac_status=$?
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; }; then
28809 ac_cv_header_zlib_h=`cat conftestval`
28810 else
28811 echo "$as_me: program exited with status $ac_status" >&5
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28814
28815 ( exit $ac_status )
28816 ac_cv_header_zlib_h=no
28817 fi
28818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28819 fi
28820
28821
28822
28823 fi
28824 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28825 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28826 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28827 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28828 if test "${ac_cv_header_zlib_h+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 else
28831 cat >conftest.$ac_ext <<_ACEOF
28832 /* confdefs.h. */
28833 _ACEOF
28834 cat confdefs.h >>conftest.$ac_ext
28835 cat >>conftest.$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28837
28838
28839 #include <zlib.h>
28840 _ACEOF
28841 rm -f conftest.$ac_objext
28842 if { (ac_try="$ac_compile"
28843 case "(($ac_try" in
28844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28845 *) ac_try_echo=$ac_try;;
28846 esac
28847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28848 (eval "$ac_compile") 2>conftest.er1
28849 ac_status=$?
28850 grep -v '^ *+' conftest.er1 >conftest.err
28851 rm -f conftest.er1
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } && {
28855 test -z "$ac_c_werror_flag" ||
28856 test ! -s conftest.err
28857 } && test -s conftest.$ac_objext; then
28858 ac_cv_header_zlib_h=yes
28859 else
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28862
28863 ac_cv_header_zlib_h=no
28864 fi
28865
28866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28867 fi
28868 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28869 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28870
28871
28872
28873 system_zlib_h_ok=$ac_cv_header_zlib_h
28874 fi
28875
28876 if test "$system_zlib_h_ok" = "yes"; then
28877 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28878 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28879 if test "${ac_cv_lib_z_deflate+set}" = set; then
28880 echo $ECHO_N "(cached) $ECHO_C" >&6
28881 else
28882 ac_check_lib_save_LIBS=$LIBS
28883 LIBS="-lz $LIBS"
28884 cat >conftest.$ac_ext <<_ACEOF
28885 /* confdefs.h. */
28886 _ACEOF
28887 cat confdefs.h >>conftest.$ac_ext
28888 cat >>conftest.$ac_ext <<_ACEOF
28889 /* end confdefs.h. */
28890
28891 /* Override any GCC internal prototype to avoid an error.
28892 Use char because int might match the return type of a GCC
28893 builtin and then its argument prototype would still apply. */
28894 #ifdef __cplusplus
28895 extern "C"
28896 #endif
28897 char deflate ();
28898 int
28899 main ()
28900 {
28901 return deflate ();
28902 ;
28903 return 0;
28904 }
28905 _ACEOF
28906 rm -f conftest.$ac_objext conftest$ac_exeext
28907 if { (ac_try="$ac_link"
28908 case "(($ac_try" in
28909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28910 *) ac_try_echo=$ac_try;;
28911 esac
28912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28913 (eval "$ac_link") 2>conftest.er1
28914 ac_status=$?
28915 grep -v '^ *+' conftest.er1 >conftest.err
28916 rm -f conftest.er1
28917 cat conftest.err >&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); } && {
28920 test -z "$ac_c_werror_flag" ||
28921 test ! -s conftest.err
28922 } && test -s conftest$ac_exeext &&
28923 $as_test_x conftest$ac_exeext; then
28924 ac_cv_lib_z_deflate=yes
28925 else
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28928
28929 ac_cv_lib_z_deflate=no
28930 fi
28931
28932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28933 conftest$ac_exeext conftest.$ac_ext
28934 LIBS=$ac_check_lib_save_LIBS
28935 fi
28936 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28937 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28938 if test $ac_cv_lib_z_deflate = yes; then
28939 ZLIB_LINK=" -lz"
28940 fi
28941
28942 fi
28943
28944 if test "x$ZLIB_LINK" = "x" ; then
28945 if test "$wxUSE_ZLIB" = "sys" ; then
28946 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28947 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28948 { (exit 1); exit 1; }; }
28949 else
28950 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28951 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28952 wxUSE_ZLIB=builtin
28953 fi
28954 else
28955 wxUSE_ZLIB=sys
28956 fi
28957 fi
28958 fi
28959
28960
28961 PNG_LINK=
28962 if test "$wxUSE_LIBPNG" != "no" ; then
28963 cat >>confdefs.h <<\_ACEOF
28964 #define wxUSE_LIBPNG 1
28965 _ACEOF
28966
28967
28968 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28969 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28970 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28971 wxUSE_LIBPNG=sys
28972 fi
28973
28974 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28975 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28976 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28977 wxUSE_LIBPNG=builtin
28978 fi
28979
28980 if test "$wxUSE_MGL" != 1 ; then
28981 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28982 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28983 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28984 if test "${ac_cv_header_png_h+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28986 else
28987 if test "$cross_compiling" = yes; then
28988 unset ac_cv_header_png_h
28989
28990 else
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997
28998 #include <png.h>
28999 #include <stdio.h>
29000
29001 int main()
29002 {
29003 FILE *f=fopen("conftestval", "w");
29004 if (!f) exit(1);
29005 fprintf(f, "%s",
29006 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29007 exit(0);
29008 }
29009
29010 _ACEOF
29011 rm -f conftest$ac_exeext
29012 if { (ac_try="$ac_link"
29013 case "(($ac_try" in
29014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29015 *) ac_try_echo=$ac_try;;
29016 esac
29017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29018 (eval "$ac_link") 2>&5
29019 ac_status=$?
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29022 { (case "(($ac_try" in
29023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29024 *) ac_try_echo=$ac_try;;
29025 esac
29026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29027 (eval "$ac_try") 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031 ac_cv_header_png_h=`cat conftestval`
29032 else
29033 echo "$as_me: program exited with status $ac_status" >&5
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.$ac_ext >&5
29036
29037 ( exit $ac_status )
29038 ac_cv_header_png_h=no
29039 fi
29040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29041 fi
29042
29043
29044
29045 fi
29046 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29047 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29048 { echo "$as_me:$LINENO: checking for png.h" >&5
29049 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29050 if test "${ac_cv_header_png_h+set}" = set; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29052 else
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059
29060
29061 #include <png.h>
29062 _ACEOF
29063 rm -f conftest.$ac_objext
29064 if { (ac_try="$ac_compile"
29065 case "(($ac_try" in
29066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29067 *) ac_try_echo=$ac_try;;
29068 esac
29069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29070 (eval "$ac_compile") 2>conftest.er1
29071 ac_status=$?
29072 grep -v '^ *+' conftest.er1 >conftest.err
29073 rm -f conftest.er1
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } && {
29077 test -z "$ac_c_werror_flag" ||
29078 test ! -s conftest.err
29079 } && test -s conftest.$ac_objext; then
29080 ac_cv_header_png_h=yes
29081 else
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.$ac_ext >&5
29084
29085 ac_cv_header_png_h=no
29086 fi
29087
29088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29089 fi
29090 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29091 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29092
29093
29094
29095 if test "$ac_cv_header_png_h" = "yes"; then
29096 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29097 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29098 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29100 else
29101 ac_check_lib_save_LIBS=$LIBS
29102 LIBS="-lpng -lz -lm $LIBS"
29103 cat >conftest.$ac_ext <<_ACEOF
29104 /* confdefs.h. */
29105 _ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109
29110 /* Override any GCC internal prototype to avoid an error.
29111 Use char because int might match the return type of a GCC
29112 builtin and then its argument prototype would still apply. */
29113 #ifdef __cplusplus
29114 extern "C"
29115 #endif
29116 char png_check_sig ();
29117 int
29118 main ()
29119 {
29120 return png_check_sig ();
29121 ;
29122 return 0;
29123 }
29124 _ACEOF
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (ac_try="$ac_link"
29127 case "(($ac_try" in
29128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29129 *) ac_try_echo=$ac_try;;
29130 esac
29131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29132 (eval "$ac_link") 2>conftest.er1
29133 ac_status=$?
29134 grep -v '^ *+' conftest.er1 >conftest.err
29135 rm -f conftest.er1
29136 cat conftest.err >&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } && {
29139 test -z "$ac_c_werror_flag" ||
29140 test ! -s conftest.err
29141 } && test -s conftest$ac_exeext &&
29142 $as_test_x conftest$ac_exeext; then
29143 ac_cv_lib_png_png_check_sig=yes
29144 else
29145 echo "$as_me: failed program was:" >&5
29146 sed 's/^/| /' conftest.$ac_ext >&5
29147
29148 ac_cv_lib_png_png_check_sig=no
29149 fi
29150
29151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29152 conftest$ac_exeext conftest.$ac_ext
29153 LIBS=$ac_check_lib_save_LIBS
29154 fi
29155 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29156 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29157 if test $ac_cv_lib_png_png_check_sig = yes; then
29158 PNG_LINK=" -lpng -lz"
29159 fi
29160
29161 fi
29162
29163 if test "x$PNG_LINK" = "x" ; then
29164 if test "$wxUSE_LIBPNG" = "sys" ; then
29165 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29166 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29167 { (exit 1); exit 1; }; }
29168 else
29169 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29170 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29171 wxUSE_LIBPNG=builtin
29172 fi
29173 else
29174 wxUSE_LIBPNG=sys
29175 fi
29176 fi
29177 fi
29178 fi
29179
29180
29181 JPEG_LINK=
29182 if test "$wxUSE_LIBJPEG" != "no" ; then
29183 cat >>confdefs.h <<\_ACEOF
29184 #define wxUSE_LIBJPEG 1
29185 _ACEOF
29186
29187
29188 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29189 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29190 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29191 wxUSE_LIBJPEG=sys
29192 fi
29193
29194 if test "$wxUSE_MGL" != 1 ; then
29195 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29196 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29197 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29198 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29200 else
29201 cat >conftest.$ac_ext <<_ACEOF
29202 /* confdefs.h. */
29203 _ACEOF
29204 cat confdefs.h >>conftest.$ac_ext
29205 cat >>conftest.$ac_ext <<_ACEOF
29206 /* end confdefs.h. */
29207
29208 #undef HAVE_STDLIB_H
29209 #include <stdio.h>
29210 #include <jpeglib.h>
29211
29212 int
29213 main ()
29214 {
29215
29216
29217 ;
29218 return 0;
29219 }
29220 _ACEOF
29221 rm -f conftest.$ac_objext
29222 if { (ac_try="$ac_compile"
29223 case "(($ac_try" in
29224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29225 *) ac_try_echo=$ac_try;;
29226 esac
29227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29228 (eval "$ac_compile") 2>conftest.er1
29229 ac_status=$?
29230 grep -v '^ *+' conftest.er1 >conftest.err
29231 rm -f conftest.er1
29232 cat conftest.err >&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); } && {
29235 test -z "$ac_c_werror_flag" ||
29236 test ! -s conftest.err
29237 } && test -s conftest.$ac_objext; then
29238 ac_cv_header_jpeglib_h=yes
29239 else
29240 echo "$as_me: failed program was:" >&5
29241 sed 's/^/| /' conftest.$ac_ext >&5
29242
29243 ac_cv_header_jpeglib_h=no
29244
29245 fi
29246
29247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29248
29249 fi
29250
29251 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29252 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29253
29254 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29255 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29256 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29257 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 else
29260 ac_check_lib_save_LIBS=$LIBS
29261 LIBS="-ljpeg $LIBS"
29262 cat >conftest.$ac_ext <<_ACEOF
29263 /* confdefs.h. */
29264 _ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268
29269 /* Override any GCC internal prototype to avoid an error.
29270 Use char because int might match the return type of a GCC
29271 builtin and then its argument prototype would still apply. */
29272 #ifdef __cplusplus
29273 extern "C"
29274 #endif
29275 char jpeg_read_header ();
29276 int
29277 main ()
29278 {
29279 return jpeg_read_header ();
29280 ;
29281 return 0;
29282 }
29283 _ACEOF
29284 rm -f conftest.$ac_objext conftest$ac_exeext
29285 if { (ac_try="$ac_link"
29286 case "(($ac_try" in
29287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29288 *) ac_try_echo=$ac_try;;
29289 esac
29290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29291 (eval "$ac_link") 2>conftest.er1
29292 ac_status=$?
29293 grep -v '^ *+' conftest.er1 >conftest.err
29294 rm -f conftest.er1
29295 cat conftest.err >&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } && {
29298 test -z "$ac_c_werror_flag" ||
29299 test ! -s conftest.err
29300 } && test -s conftest$ac_exeext &&
29301 $as_test_x conftest$ac_exeext; then
29302 ac_cv_lib_jpeg_jpeg_read_header=yes
29303 else
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29306
29307 ac_cv_lib_jpeg_jpeg_read_header=no
29308 fi
29309
29310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29311 conftest$ac_exeext conftest.$ac_ext
29312 LIBS=$ac_check_lib_save_LIBS
29313 fi
29314 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29315 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29316 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29317 JPEG_LINK=" -ljpeg"
29318 fi
29319
29320 fi
29321
29322 if test "x$JPEG_LINK" = "x" ; then
29323 if test "$wxUSE_LIBJPEG" = "sys" ; then
29324 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29325 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29326 { (exit 1); exit 1; }; }
29327 else
29328 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29329 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29330 wxUSE_LIBJPEG=builtin
29331 fi
29332 else
29333 wxUSE_LIBJPEG=sys
29334
29335 if test "$wxUSE_MSW" = 1; then
29336 { echo "$as_me:$LINENO: checking for boolean" >&5
29337 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29338 if test "${ac_cv_type_boolean+set}" = set; then
29339 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 else
29341 cat >conftest.$ac_ext <<_ACEOF
29342 /* confdefs.h. */
29343 _ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29347 #include <windows.h>
29348
29349 typedef boolean ac__type_new_;
29350 int
29351 main ()
29352 {
29353 if ((ac__type_new_ *) 0)
29354 return 0;
29355 if (sizeof (ac__type_new_))
29356 return 0;
29357 ;
29358 return 0;
29359 }
29360 _ACEOF
29361 rm -f conftest.$ac_objext
29362 if { (ac_try="$ac_compile"
29363 case "(($ac_try" in
29364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29365 *) ac_try_echo=$ac_try;;
29366 esac
29367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29368 (eval "$ac_compile") 2>conftest.er1
29369 ac_status=$?
29370 grep -v '^ *+' conftest.er1 >conftest.err
29371 rm -f conftest.er1
29372 cat conftest.err >&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } && {
29375 test -z "$ac_c_werror_flag" ||
29376 test ! -s conftest.err
29377 } && test -s conftest.$ac_objext; then
29378 ac_cv_type_boolean=yes
29379 else
29380 echo "$as_me: failed program was:" >&5
29381 sed 's/^/| /' conftest.$ac_ext >&5
29382
29383 ac_cv_type_boolean=no
29384 fi
29385
29386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29387 fi
29388 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29389 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29390 if test $ac_cv_type_boolean = yes; then
29391
29392 cat >>confdefs.h <<_ACEOF
29393 #define HAVE_BOOLEAN 1
29394 _ACEOF
29395
29396
29397 { echo "$as_me:$LINENO: checking for boolean" >&5
29398 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29399 if test "${ac_cv_type_boolean+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29401 else
29402 cat >conftest.$ac_ext <<_ACEOF
29403 /* confdefs.h. */
29404 _ACEOF
29405 cat confdefs.h >>conftest.$ac_ext
29406 cat >>conftest.$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29408
29409 #undef HAVE_BOOLEAN
29410 #include <stdio.h>
29411 #include <jpeglib.h>
29412
29413
29414 typedef boolean ac__type_new_;
29415 int
29416 main ()
29417 {
29418 if ((ac__type_new_ *) 0)
29419 return 0;
29420 if (sizeof (ac__type_new_))
29421 return 0;
29422 ;
29423 return 0;
29424 }
29425 _ACEOF
29426 rm -f conftest.$ac_objext
29427 if { (ac_try="$ac_compile"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29431 esac
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_compile") 2>conftest.er1
29434 ac_status=$?
29435 grep -v '^ *+' conftest.er1 >conftest.err
29436 rm -f conftest.er1
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest.$ac_objext; then
29443 ac_cv_type_boolean=yes
29444 else
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29447
29448 ac_cv_type_boolean=no
29449 fi
29450
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 fi
29453 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29454 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29455
29456 # The cast to long int works around a bug in the HP C Compiler
29457 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29458 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29459 # This bug is HP SR number 8606223364.
29460 { echo "$as_me:$LINENO: checking size of boolean" >&5
29461 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29462 if test "${ac_cv_sizeof_boolean+set}" = set; then
29463 echo $ECHO_N "(cached) $ECHO_C" >&6
29464 else
29465 if test "$cross_compiling" = yes; then
29466 # Depending upon the size, compute the lo and hi bounds.
29467 cat >conftest.$ac_ext <<_ACEOF
29468 /* confdefs.h. */
29469 _ACEOF
29470 cat confdefs.h >>conftest.$ac_ext
29471 cat >>conftest.$ac_ext <<_ACEOF
29472 /* end confdefs.h. */
29473
29474 #undef HAVE_BOOLEAN
29475 #include <stdio.h>
29476 #include <jpeglib.h>
29477
29478
29479 typedef boolean ac__type_sizeof_;
29480 int
29481 main ()
29482 {
29483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29484 test_array [0] = 0
29485
29486 ;
29487 return 0;
29488 }
29489 _ACEOF
29490 rm -f conftest.$ac_objext
29491 if { (ac_try="$ac_compile"
29492 case "(($ac_try" in
29493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29494 *) ac_try_echo=$ac_try;;
29495 esac
29496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29497 (eval "$ac_compile") 2>conftest.er1
29498 ac_status=$?
29499 grep -v '^ *+' conftest.er1 >conftest.err
29500 rm -f conftest.er1
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } && {
29504 test -z "$ac_c_werror_flag" ||
29505 test ! -s conftest.err
29506 } && test -s conftest.$ac_objext; then
29507 ac_lo=0 ac_mid=0
29508 while :; do
29509 cat >conftest.$ac_ext <<_ACEOF
29510 /* confdefs.h. */
29511 _ACEOF
29512 cat confdefs.h >>conftest.$ac_ext
29513 cat >>conftest.$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515
29516 #undef HAVE_BOOLEAN
29517 #include <stdio.h>
29518 #include <jpeglib.h>
29519
29520
29521 typedef boolean ac__type_sizeof_;
29522 int
29523 main ()
29524 {
29525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29526 test_array [0] = 0
29527
29528 ;
29529 return 0;
29530 }
29531 _ACEOF
29532 rm -f conftest.$ac_objext
29533 if { (ac_try="$ac_compile"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29537 esac
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_compile") 2>conftest.er1
29540 ac_status=$?
29541 grep -v '^ *+' conftest.er1 >conftest.err
29542 rm -f conftest.er1
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest.$ac_objext; then
29549 ac_hi=$ac_mid; break
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 ac_lo=`expr $ac_mid + 1`
29555 if test $ac_lo -le $ac_mid; then
29556 ac_lo= ac_hi=
29557 break
29558 fi
29559 ac_mid=`expr 2 '*' $ac_mid + 1`
29560 fi
29561
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29563 done
29564 else
29565 echo "$as_me: failed program was:" >&5
29566 sed 's/^/| /' conftest.$ac_ext >&5
29567
29568 cat >conftest.$ac_ext <<_ACEOF
29569 /* confdefs.h. */
29570 _ACEOF
29571 cat confdefs.h >>conftest.$ac_ext
29572 cat >>conftest.$ac_ext <<_ACEOF
29573 /* end confdefs.h. */
29574
29575 #undef HAVE_BOOLEAN
29576 #include <stdio.h>
29577 #include <jpeglib.h>
29578
29579
29580 typedef boolean ac__type_sizeof_;
29581 int
29582 main ()
29583 {
29584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29585 test_array [0] = 0
29586
29587 ;
29588 return 0;
29589 }
29590 _ACEOF
29591 rm -f conftest.$ac_objext
29592 if { (ac_try="$ac_compile"
29593 case "(($ac_try" in
29594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29595 *) ac_try_echo=$ac_try;;
29596 esac
29597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29598 (eval "$ac_compile") 2>conftest.er1
29599 ac_status=$?
29600 grep -v '^ *+' conftest.er1 >conftest.err
29601 rm -f conftest.er1
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } && {
29605 test -z "$ac_c_werror_flag" ||
29606 test ! -s conftest.err
29607 } && test -s conftest.$ac_objext; then
29608 ac_hi=-1 ac_mid=-1
29609 while :; do
29610 cat >conftest.$ac_ext <<_ACEOF
29611 /* confdefs.h. */
29612 _ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29616
29617 #undef HAVE_BOOLEAN
29618 #include <stdio.h>
29619 #include <jpeglib.h>
29620
29621
29622 typedef boolean ac__type_sizeof_;
29623 int
29624 main ()
29625 {
29626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29627 test_array [0] = 0
29628
29629 ;
29630 return 0;
29631 }
29632 _ACEOF
29633 rm -f conftest.$ac_objext
29634 if { (ac_try="$ac_compile"
29635 case "(($ac_try" in
29636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29637 *) ac_try_echo=$ac_try;;
29638 esac
29639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29640 (eval "$ac_compile") 2>conftest.er1
29641 ac_status=$?
29642 grep -v '^ *+' conftest.er1 >conftest.err
29643 rm -f conftest.er1
29644 cat conftest.err >&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } && {
29647 test -z "$ac_c_werror_flag" ||
29648 test ! -s conftest.err
29649 } && test -s conftest.$ac_objext; then
29650 ac_lo=$ac_mid; break
29651 else
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655 ac_hi=`expr '(' $ac_mid ')' - 1`
29656 if test $ac_mid -le $ac_hi; then
29657 ac_lo= ac_hi=
29658 break
29659 fi
29660 ac_mid=`expr 2 '*' $ac_mid`
29661 fi
29662
29663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29664 done
29665 else
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.$ac_ext >&5
29668
29669 ac_lo= ac_hi=
29670 fi
29671
29672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29673 fi
29674
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29676 # Binary search between lo and hi bounds.
29677 while test "x$ac_lo" != "x$ac_hi"; do
29678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29679 cat >conftest.$ac_ext <<_ACEOF
29680 /* confdefs.h. */
29681 _ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29685
29686 #undef HAVE_BOOLEAN
29687 #include <stdio.h>
29688 #include <jpeglib.h>
29689
29690
29691 typedef boolean ac__type_sizeof_;
29692 int
29693 main ()
29694 {
29695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29696 test_array [0] = 0
29697
29698 ;
29699 return 0;
29700 }
29701 _ACEOF
29702 rm -f conftest.$ac_objext
29703 if { (ac_try="$ac_compile"
29704 case "(($ac_try" in
29705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29706 *) ac_try_echo=$ac_try;;
29707 esac
29708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29709 (eval "$ac_compile") 2>conftest.er1
29710 ac_status=$?
29711 grep -v '^ *+' conftest.er1 >conftest.err
29712 rm -f conftest.er1
29713 cat conftest.err >&5
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); } && {
29716 test -z "$ac_c_werror_flag" ||
29717 test ! -s conftest.err
29718 } && test -s conftest.$ac_objext; then
29719 ac_hi=$ac_mid
29720 else
29721 echo "$as_me: failed program was:" >&5
29722 sed 's/^/| /' conftest.$ac_ext >&5
29723
29724 ac_lo=`expr '(' $ac_mid ')' + 1`
29725 fi
29726
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29728 done
29729 case $ac_lo in
29730 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29731 '') if test "$ac_cv_type_boolean" = yes; then
29732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29733 See \`config.log' for more details." >&5
29734 echo "$as_me: error: cannot compute sizeof (boolean)
29735 See \`config.log' for more details." >&2;}
29736 { (exit 77); exit 77; }; }
29737 else
29738 ac_cv_sizeof_boolean=0
29739 fi ;;
29740 esac
29741 else
29742 cat >conftest.$ac_ext <<_ACEOF
29743 /* confdefs.h. */
29744 _ACEOF
29745 cat confdefs.h >>conftest.$ac_ext
29746 cat >>conftest.$ac_ext <<_ACEOF
29747 /* end confdefs.h. */
29748
29749 #undef HAVE_BOOLEAN
29750 #include <stdio.h>
29751 #include <jpeglib.h>
29752
29753
29754 typedef boolean ac__type_sizeof_;
29755 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29756 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29757 #include <stdio.h>
29758 #include <stdlib.h>
29759 int
29760 main ()
29761 {
29762
29763 FILE *f = fopen ("conftest.val", "w");
29764 if (! f)
29765 return 1;
29766 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29767 {
29768 long int i = longval ();
29769 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29770 return 1;
29771 fprintf (f, "%ld\n", i);
29772 }
29773 else
29774 {
29775 unsigned long int i = ulongval ();
29776 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29777 return 1;
29778 fprintf (f, "%lu\n", i);
29779 }
29780 return ferror (f) || fclose (f) != 0;
29781
29782 ;
29783 return 0;
29784 }
29785 _ACEOF
29786 rm -f conftest$ac_exeext
29787 if { (ac_try="$ac_link"
29788 case "(($ac_try" in
29789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29790 *) ac_try_echo=$ac_try;;
29791 esac
29792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29793 (eval "$ac_link") 2>&5
29794 ac_status=$?
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29797 { (case "(($ac_try" in
29798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29799 *) ac_try_echo=$ac_try;;
29800 esac
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_try") 2>&5
29803 ac_status=$?
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); }; }; then
29806 ac_cv_sizeof_boolean=`cat conftest.val`
29807 else
29808 echo "$as_me: program exited with status $ac_status" >&5
29809 echo "$as_me: failed program was:" >&5
29810 sed 's/^/| /' conftest.$ac_ext >&5
29811
29812 ( exit $ac_status )
29813 if test "$ac_cv_type_boolean" = yes; then
29814 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29815 See \`config.log' for more details." >&5
29816 echo "$as_me: error: cannot compute sizeof (boolean)
29817 See \`config.log' for more details." >&2;}
29818 { (exit 77); exit 77; }; }
29819 else
29820 ac_cv_sizeof_boolean=0
29821 fi
29822 fi
29823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29824 fi
29825 rm -f conftest.val
29826 fi
29827 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29828 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29829
29830
29831
29832 cat >>confdefs.h <<_ACEOF
29833 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29834 _ACEOF
29835
29836
29837 cat >>confdefs.h <<_ACEOF
29838 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29839 _ACEOF
29840
29841
29842 fi
29843
29844 fi
29845 fi
29846 fi
29847 fi
29848 fi
29849
29850
29851 TIFF_LINK=
29852 TIFF_PREREQ_LINKS=-lm
29853 if test "$wxUSE_LIBTIFF" != "no" ; then
29854 cat >>confdefs.h <<\_ACEOF
29855 #define wxUSE_LIBTIFF 1
29856 _ACEOF
29857
29858
29859 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29860 if test "$wxUSE_LIBJPEG" = "sys"; then
29861 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29862 fi
29863 if test "$wxUSE_ZLIB" = "sys"; then
29864 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29865 fi
29866 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29867 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29868 if test "${ac_cv_header_tiffio_h+set}" = set; then
29869 echo $ECHO_N "(cached) $ECHO_C" >&6
29870 else
29871 cat >conftest.$ac_ext <<_ACEOF
29872 /* confdefs.h. */
29873 _ACEOF
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29877
29878
29879
29880 #include <tiffio.h>
29881 _ACEOF
29882 rm -f conftest.$ac_objext
29883 if { (ac_try="$ac_compile"
29884 case "(($ac_try" in
29885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29886 *) ac_try_echo=$ac_try;;
29887 esac
29888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29889 (eval "$ac_compile") 2>conftest.er1
29890 ac_status=$?
29891 grep -v '^ *+' conftest.er1 >conftest.err
29892 rm -f conftest.er1
29893 cat conftest.err >&5
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); } && {
29896 test -z "$ac_c_werror_flag" ||
29897 test ! -s conftest.err
29898 } && test -s conftest.$ac_objext; then
29899 ac_cv_header_tiffio_h=yes
29900 else
29901 echo "$as_me: failed program was:" >&5
29902 sed 's/^/| /' conftest.$ac_ext >&5
29903
29904 ac_cv_header_tiffio_h=no
29905 fi
29906
29907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29908 fi
29909 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29910 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29911 if test $ac_cv_header_tiffio_h = yes; then
29912
29913 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29914 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29915 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29916 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 else
29918 ac_check_lib_save_LIBS=$LIBS
29919 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29920 cat >conftest.$ac_ext <<_ACEOF
29921 /* confdefs.h. */
29922 _ACEOF
29923 cat confdefs.h >>conftest.$ac_ext
29924 cat >>conftest.$ac_ext <<_ACEOF
29925 /* end confdefs.h. */
29926
29927 /* Override any GCC internal prototype to avoid an error.
29928 Use char because int might match the return type of a GCC
29929 builtin and then its argument prototype would still apply. */
29930 #ifdef __cplusplus
29931 extern "C"
29932 #endif
29933 char TIFFError ();
29934 int
29935 main ()
29936 {
29937 return TIFFError ();
29938 ;
29939 return 0;
29940 }
29941 _ACEOF
29942 rm -f conftest.$ac_objext conftest$ac_exeext
29943 if { (ac_try="$ac_link"
29944 case "(($ac_try" in
29945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29946 *) ac_try_echo=$ac_try;;
29947 esac
29948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29949 (eval "$ac_link") 2>conftest.er1
29950 ac_status=$?
29951 grep -v '^ *+' conftest.er1 >conftest.err
29952 rm -f conftest.er1
29953 cat conftest.err >&5
29954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955 (exit $ac_status); } && {
29956 test -z "$ac_c_werror_flag" ||
29957 test ! -s conftest.err
29958 } && test -s conftest$ac_exeext &&
29959 $as_test_x conftest$ac_exeext; then
29960 ac_cv_lib_tiff_TIFFError=yes
29961 else
29962 echo "$as_me: failed program was:" >&5
29963 sed 's/^/| /' conftest.$ac_ext >&5
29964
29965 ac_cv_lib_tiff_TIFFError=no
29966 fi
29967
29968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29969 conftest$ac_exeext conftest.$ac_ext
29970 LIBS=$ac_check_lib_save_LIBS
29971 fi
29972 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29973 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29974 if test $ac_cv_lib_tiff_TIFFError = yes; then
29975 TIFF_LINK=" -ltiff"
29976 fi
29977
29978
29979 fi
29980
29981
29982
29983 if test "x$TIFF_LINK" = "x" ; then
29984 if test "$wxUSE_LIBTIFF" = "sys" ; then
29985 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29986 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29987 { (exit 1); exit 1; }; }
29988 else
29989 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29990 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29991 wxUSE_LIBTIFF=builtin
29992 fi
29993 else
29994 wxUSE_LIBTIFF=sys
29995 fi
29996 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29997 subdirs="$subdirs src/tiff"
29998
29999 fi
30000 fi
30001 fi
30002
30003
30004 if test "$wxUSE_WCHAR_T" != "yes"; then
30005 if test "$wxUSE_EXPAT" != "no"; then
30006 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30007 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30008 wxUSE_EXPAT=no
30009 fi
30010 if test "$wxUSE_XML" != "no"; then
30011 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30012 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30013 wxUSE_XML=no
30014 fi
30015 fi
30016
30017 if test "$wxUSE_EXPAT" != "no"; then
30018 wxUSE_XML=yes
30019 cat >>confdefs.h <<\_ACEOF
30020 #define wxUSE_EXPAT 1
30021 _ACEOF
30022
30023 cat >>confdefs.h <<\_ACEOF
30024 #define wxUSE_XML 1
30025 _ACEOF
30026
30027
30028 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30029 { echo "$as_me:$LINENO: checking for expat.h" >&5
30030 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30031 if test "${ac_cv_header_expat_h+set}" = set; then
30032 echo $ECHO_N "(cached) $ECHO_C" >&6
30033 else
30034 cat >conftest.$ac_ext <<_ACEOF
30035 /* confdefs.h. */
30036 _ACEOF
30037 cat confdefs.h >>conftest.$ac_ext
30038 cat >>conftest.$ac_ext <<_ACEOF
30039 /* end confdefs.h. */
30040
30041
30042 #include <expat.h>
30043 _ACEOF
30044 rm -f conftest.$ac_objext
30045 if { (ac_try="$ac_compile"
30046 case "(($ac_try" in
30047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30048 *) ac_try_echo=$ac_try;;
30049 esac
30050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30051 (eval "$ac_compile") 2>conftest.er1
30052 ac_status=$?
30053 grep -v '^ *+' conftest.er1 >conftest.err
30054 rm -f conftest.er1
30055 cat conftest.err >&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } && {
30058 test -z "$ac_c_werror_flag" ||
30059 test ! -s conftest.err
30060 } && test -s conftest.$ac_objext; then
30061 ac_cv_header_expat_h=yes
30062 else
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.$ac_ext >&5
30065
30066 ac_cv_header_expat_h=no
30067 fi
30068
30069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30070 fi
30071 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30072 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30073 if test $ac_cv_header_expat_h = yes; then
30074 found_expat_h=1
30075 fi
30076
30077
30078 if test "x$found_expat_h" = "x1"; then
30079 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30080 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30081 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30083 else
30084
30085 ac_ext=cpp
30086 ac_cpp='$CXXCPP $CPPFLAGS'
30087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30090
30091 cat >conftest.$ac_ext <<_ACEOF
30092 /* confdefs.h. */
30093 _ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30097 #include <expat.h>
30098 int
30099 main ()
30100 {
30101
30102 ;
30103 return 0;
30104 }
30105 _ACEOF
30106 rm -f conftest.$ac_objext
30107 if { (ac_try="$ac_compile"
30108 case "(($ac_try" in
30109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30110 *) ac_try_echo=$ac_try;;
30111 esac
30112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_compile") 2>conftest.er1
30114 ac_status=$?
30115 grep -v '^ *+' conftest.er1 >conftest.err
30116 rm -f conftest.er1
30117 cat conftest.err >&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); } && {
30120 test -z "$ac_cxx_werror_flag" ||
30121 test ! -s conftest.err
30122 } && test -s conftest.$ac_objext; then
30123 wx_cv_expat_is_not_broken=yes
30124 else
30125 echo "$as_me: failed program was:" >&5
30126 sed 's/^/| /' conftest.$ac_ext >&5
30127
30128 wx_cv_expat_is_not_broken=no
30129
30130 fi
30131
30132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30133 ac_ext=c
30134 ac_cpp='$CPP $CPPFLAGS'
30135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30138
30139
30140
30141 fi
30142 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30143 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30144 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30145 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30146 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30147 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30149 else
30150 ac_check_lib_save_LIBS=$LIBS
30151 LIBS="-lexpat $LIBS"
30152 cat >conftest.$ac_ext <<_ACEOF
30153 /* confdefs.h. */
30154 _ACEOF
30155 cat confdefs.h >>conftest.$ac_ext
30156 cat >>conftest.$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30158
30159 /* Override any GCC internal prototype to avoid an error.
30160 Use char because int might match the return type of a GCC
30161 builtin and then its argument prototype would still apply. */
30162 #ifdef __cplusplus
30163 extern "C"
30164 #endif
30165 char XML_ParserCreate ();
30166 int
30167 main ()
30168 {
30169 return XML_ParserCreate ();
30170 ;
30171 return 0;
30172 }
30173 _ACEOF
30174 rm -f conftest.$ac_objext conftest$ac_exeext
30175 if { (ac_try="$ac_link"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30179 esac
30180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_link") 2>conftest.er1
30182 ac_status=$?
30183 grep -v '^ *+' conftest.er1 >conftest.err
30184 rm -f conftest.er1
30185 cat conftest.err >&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); } && {
30188 test -z "$ac_c_werror_flag" ||
30189 test ! -s conftest.err
30190 } && test -s conftest$ac_exeext &&
30191 $as_test_x conftest$ac_exeext; then
30192 ac_cv_lib_expat_XML_ParserCreate=yes
30193 else
30194 echo "$as_me: failed program was:" >&5
30195 sed 's/^/| /' conftest.$ac_ext >&5
30196
30197 ac_cv_lib_expat_XML_ParserCreate=no
30198 fi
30199
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30202 LIBS=$ac_check_lib_save_LIBS
30203 fi
30204 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30205 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30206 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30207 EXPAT_LINK=" -lexpat"
30208 fi
30209
30210 fi
30211 fi
30212 if test "x$EXPAT_LINK" = "x" ; then
30213 if test "$wxUSE_EXPAT" = "sys" ; then
30214 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30215 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30216 { (exit 1); exit 1; }; }
30217 else
30218 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30219 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30220 wxUSE_EXPAT=builtin
30221 fi
30222 else
30223 wxUSE_EXPAT=sys
30224 fi
30225 fi
30226 if test "$wxUSE_EXPAT" = "builtin" ; then
30227 subdirs="$subdirs src/expat"
30228
30229 fi
30230 fi
30231
30232
30233
30234 if test "$wxUSE_LIBMSPACK" != "no"; then
30235 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30236 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30237 if test "${ac_cv_header_mspack_h+set}" = set; then
30238 echo $ECHO_N "(cached) $ECHO_C" >&6
30239 else
30240 cat >conftest.$ac_ext <<_ACEOF
30241 /* confdefs.h. */
30242 _ACEOF
30243 cat confdefs.h >>conftest.$ac_ext
30244 cat >>conftest.$ac_ext <<_ACEOF
30245 /* end confdefs.h. */
30246
30247
30248 #include <mspack.h>
30249 _ACEOF
30250 rm -f conftest.$ac_objext
30251 if { (ac_try="$ac_compile"
30252 case "(($ac_try" in
30253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30254 *) ac_try_echo=$ac_try;;
30255 esac
30256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30257 (eval "$ac_compile") 2>conftest.er1
30258 ac_status=$?
30259 grep -v '^ *+' conftest.er1 >conftest.err
30260 rm -f conftest.er1
30261 cat conftest.err >&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } && {
30264 test -z "$ac_c_werror_flag" ||
30265 test ! -s conftest.err
30266 } && test -s conftest.$ac_objext; then
30267 ac_cv_header_mspack_h=yes
30268 else
30269 echo "$as_me: failed program was:" >&5
30270 sed 's/^/| /' conftest.$ac_ext >&5
30271
30272 ac_cv_header_mspack_h=no
30273 fi
30274
30275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30276 fi
30277 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30278 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30279 if test $ac_cv_header_mspack_h = yes; then
30280 found_mspack_h=1
30281 fi
30282
30283
30284 if test "x$found_mspack_h" = "x1"; then
30285 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30286 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30287 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 else
30290 ac_check_lib_save_LIBS=$LIBS
30291 LIBS="-lmspack $LIBS"
30292 cat >conftest.$ac_ext <<_ACEOF
30293 /* confdefs.h. */
30294 _ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30298
30299 /* Override any GCC internal prototype to avoid an error.
30300 Use char because int might match the return type of a GCC
30301 builtin and then its argument prototype would still apply. */
30302 #ifdef __cplusplus
30303 extern "C"
30304 #endif
30305 char mspack_create_chm_decompressor ();
30306 int
30307 main ()
30308 {
30309 return mspack_create_chm_decompressor ();
30310 ;
30311 return 0;
30312 }
30313 _ACEOF
30314 rm -f conftest.$ac_objext conftest$ac_exeext
30315 if { (ac_try="$ac_link"
30316 case "(($ac_try" in
30317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30318 *) ac_try_echo=$ac_try;;
30319 esac
30320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30321 (eval "$ac_link") 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } && {
30328 test -z "$ac_c_werror_flag" ||
30329 test ! -s conftest.err
30330 } && test -s conftest$ac_exeext &&
30331 $as_test_x conftest$ac_exeext; then
30332 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30333 else
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30336
30337 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30338 fi
30339
30340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30341 conftest$ac_exeext conftest.$ac_ext
30342 LIBS=$ac_check_lib_save_LIBS
30343 fi
30344 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30345 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30346 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30347 MSPACK_LINK=" -lmspack"
30348 fi
30349
30350 fi
30351 if test "x$MSPACK_LINK" = "x" ; then
30352 wxUSE_LIBMSPACK=no
30353 fi
30354 fi
30355
30356 if test "$wxUSE_LIBMSPACK" != "no"; then
30357 cat >>confdefs.h <<\_ACEOF
30358 #define wxUSE_LIBMSPACK 1
30359 _ACEOF
30360
30361 fi
30362
30363
30364
30365 AFMINSTALL=
30366 WIN32INSTALL=
30367
30368 TOOLKIT=
30369 TOOLKIT_INCLUDE=
30370 WIDGET_SET=
30371
30372 if test "$USE_WIN32" = 1 ; then
30373
30374 for ac_header in w32api.h
30375 do
30376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30380 echo $ECHO_N "(cached) $ECHO_C" >&6
30381 else
30382 cat >conftest.$ac_ext <<_ACEOF
30383 /* confdefs.h. */
30384 _ACEOF
30385 cat confdefs.h >>conftest.$ac_ext
30386 cat >>conftest.$ac_ext <<_ACEOF
30387 /* end confdefs.h. */
30388
30389
30390 #include <$ac_header>
30391 _ACEOF
30392 rm -f conftest.$ac_objext
30393 if { (ac_try="$ac_compile"
30394 case "(($ac_try" in
30395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30396 *) ac_try_echo=$ac_try;;
30397 esac
30398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30399 (eval "$ac_compile") 2>conftest.er1
30400 ac_status=$?
30401 grep -v '^ *+' conftest.er1 >conftest.err
30402 rm -f conftest.er1
30403 cat conftest.err >&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } && {
30406 test -z "$ac_c_werror_flag" ||
30407 test ! -s conftest.err
30408 } && test -s conftest.$ac_objext; then
30409 eval "$as_ac_Header=yes"
30410 else
30411 echo "$as_me: failed program was:" >&5
30412 sed 's/^/| /' conftest.$ac_ext >&5
30413
30414 eval "$as_ac_Header=no"
30415 fi
30416
30417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30418 fi
30419 ac_res=`eval echo '${'$as_ac_Header'}'`
30420 { echo "$as_me:$LINENO: result: $ac_res" >&5
30421 echo "${ECHO_T}$ac_res" >&6; }
30422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30423 cat >>confdefs.h <<_ACEOF
30424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30425 _ACEOF
30426
30427 fi
30428
30429 done
30430
30431 { echo "$as_me:$LINENO: checking for windows.h" >&5
30432 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30433 if test "${ac_cv_header_windows_h+set}" = set; then
30434 echo $ECHO_N "(cached) $ECHO_C" >&6
30435 else
30436 cat >conftest.$ac_ext <<_ACEOF
30437 /* confdefs.h. */
30438 _ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442
30443
30444 #include <windows.h>
30445 _ACEOF
30446 rm -f conftest.$ac_objext
30447 if { (ac_try="$ac_compile"
30448 case "(($ac_try" in
30449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30450 *) ac_try_echo=$ac_try;;
30451 esac
30452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30453 (eval "$ac_compile") 2>conftest.er1
30454 ac_status=$?
30455 grep -v '^ *+' conftest.er1 >conftest.err
30456 rm -f conftest.er1
30457 cat conftest.err >&5
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); } && {
30460 test -z "$ac_c_werror_flag" ||
30461 test ! -s conftest.err
30462 } && test -s conftest.$ac_objext; then
30463 ac_cv_header_windows_h=yes
30464 else
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.$ac_ext >&5
30467
30468 ac_cv_header_windows_h=no
30469 fi
30470
30471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30472 fi
30473 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30474 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30475 if test $ac_cv_header_windows_h = yes; then
30476 :
30477 else
30478
30479 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30480 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30481 { (exit 1); exit 1; }; }
30482
30483 fi
30484
30485
30486
30487 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30488
30489 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30490 LIBS="$LIBS -loleacc"
30491 fi
30492
30493 case "${host}" in
30494 *-*-cygwin* )
30495 LIBS="$LIBS -lkernel32 -luser32"
30496 esac
30497
30498 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30499 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30500
30501 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30502
30503 WIN32INSTALL=win32install
30504
30505 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30506 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30507 if test "${ac_cv_header_pbt_h+set}" = set; then
30508 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 else
30510 cat >conftest.$ac_ext <<_ACEOF
30511 /* confdefs.h. */
30512 _ACEOF
30513 cat confdefs.h >>conftest.$ac_ext
30514 cat >>conftest.$ac_ext <<_ACEOF
30515 /* end confdefs.h. */
30516
30517
30518 #include <pbt.h>
30519 _ACEOF
30520 rm -f conftest.$ac_objext
30521 if { (ac_try="$ac_compile"
30522 case "(($ac_try" in
30523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30524 *) ac_try_echo=$ac_try;;
30525 esac
30526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30527 (eval "$ac_compile") 2>conftest.er1
30528 ac_status=$?
30529 grep -v '^ *+' conftest.er1 >conftest.err
30530 rm -f conftest.er1
30531 cat conftest.err >&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); } && {
30534 test -z "$ac_c_werror_flag" ||
30535 test ! -s conftest.err
30536 } && test -s conftest.$ac_objext; then
30537 ac_cv_header_pbt_h=yes
30538 else
30539 echo "$as_me: failed program was:" >&5
30540 sed 's/^/| /' conftest.$ac_ext >&5
30541
30542 ac_cv_header_pbt_h=no
30543 fi
30544
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30546 fi
30547 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30548 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30549 if test $ac_cv_header_pbt_h = yes; then
30550 :
30551 else
30552 cat >>confdefs.h <<\_ACEOF
30553 #define NEED_PBT_H 1
30554 _ACEOF
30555
30556 fi
30557
30558
30559 fi
30560
30561 if test "$wxUSE_GUI" = "yes"; then
30562 USE_GUI=1
30563
30564 GUI_TK_LIBRARY=
30565
30566 WXGTK12=
30567 WXGTK127=
30568 WXGTK20=
30569 WXGPE=
30570
30571 if test "$wxUSE_COCOA" = 1 ; then
30572 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30573 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30574 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30575 wxUSE_PRINTING_ARCHITECTURE=no
30576 fi
30577 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30578 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30579 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30580 wxUSE_DRAG_AND_DROP=no
30581 fi
30582 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30583 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30584 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30585 wxUSE_DRAGIMAGE=no
30586 fi
30587 fi
30588
30589 if test "$wxUSE_MSW" = 1 ; then
30590 TOOLKIT=MSW
30591 GUIDIST=MSW_DIST
30592
30593 case "${host}" in
30594 *-*-mingw32* )
30595 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30596 esac
30597 fi
30598
30599 if test "$wxUSE_GTK" = 1; then
30600 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30601 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30602
30603 gtk_version_cached=1
30604 if test "${wx_cv_lib_gtk+set}" = set; then
30605 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 else
30607
30608 gtk_version_cached=0
30609 { echo "$as_me:$LINENO: result: " >&5
30610 echo "${ECHO_T}" >&6; }
30611
30612 GTK_MODULES=
30613 if test "$wxUSE_THREADS" = "yes"; then
30614 GTK_MODULES=gthread
30615 fi
30616
30617 wx_cv_lib_gtk=
30618 if test "x$wxGTK_VERSION" != "x1"
30619 then
30620 case "${host}" in
30621 *-*-solaris2* )
30622 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30623 enable_gtktest=no
30624 fi
30625 esac
30626
30627 # Check whether --enable-gtktest was given.
30628 if test "${enable_gtktest+set}" = set; then
30629 enableval=$enable_gtktest;
30630 else
30631 enable_gtktest=yes
30632 fi
30633
30634
30635 pkg_config_args=gtk+-2.0
30636 for module in . $GTK_MODULES
30637 do
30638 case "$module" in
30639 gthread)
30640 pkg_config_args="$pkg_config_args gthread-2.0"
30641 ;;
30642 esac
30643 done
30644
30645 no_gtk=""
30646
30647 # Extract the first word of "pkg-config", so it can be a program name with args.
30648 set dummy pkg-config; ac_word=$2
30649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30651 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30652 echo $ECHO_N "(cached) $ECHO_C" >&6
30653 else
30654 case $PKG_CONFIG in
30655 [\\/]* | ?:[\\/]*)
30656 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30657 ;;
30658 *)
30659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30660 for as_dir in $PATH
30661 do
30662 IFS=$as_save_IFS
30663 test -z "$as_dir" && as_dir=.
30664 for ac_exec_ext in '' $ac_executable_extensions; do
30665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30666 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30668 break 2
30669 fi
30670 done
30671 done
30672 IFS=$as_save_IFS
30673
30674 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30675 ;;
30676 esac
30677 fi
30678 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30679 if test -n "$PKG_CONFIG"; then
30680 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30681 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30682 else
30683 { echo "$as_me:$LINENO: result: no" >&5
30684 echo "${ECHO_T}no" >&6; }
30685 fi
30686
30687
30688
30689 if test x$PKG_CONFIG != xno ; then
30690 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30691 :
30692 else
30693 echo "*** pkg-config too old; version 0.7 or better required."
30694 no_gtk=yes
30695 PKG_CONFIG=no
30696 fi
30697 else
30698 no_gtk=yes
30699 fi
30700
30701 min_gtk_version=2.0.0
30702 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30703 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30704
30705 if test x$PKG_CONFIG != xno ; then
30706 ## don't try to run the test against uninstalled libtool libs
30707 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30708 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30709 enable_gtktest=no
30710 fi
30711
30712 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30713 :
30714 else
30715 no_gtk=yes
30716 fi
30717 fi
30718
30719 if test x"$no_gtk" = x ; then
30720 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30721 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30722 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30724 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30726 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30728 if test "x$enable_gtktest" = "xyes" ; then
30729 ac_save_CFLAGS="$CFLAGS"
30730 ac_save_LIBS="$LIBS"
30731 CFLAGS="$CFLAGS $GTK_CFLAGS"
30732 LIBS="$GTK_LIBS $LIBS"
30733 rm -f conf.gtktest
30734 if test "$cross_compiling" = yes; then
30735 echo $ac_n "cross compiling; assumed OK... $ac_c"
30736 else
30737 cat >conftest.$ac_ext <<_ACEOF
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743
30744 #include <gtk/gtk.h>
30745 #include <stdio.h>
30746 #include <stdlib.h>
30747
30748 int
30749 main ()
30750 {
30751 int major, minor, micro;
30752 char *tmp_version;
30753
30754 system ("touch conf.gtktest");
30755
30756 /* HP/UX 9 (%@#!) writes to sscanf strings */
30757 tmp_version = g_strdup("$min_gtk_version");
30758 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30759 printf("%s, bad version string\n", "$min_gtk_version");
30760 exit(1);
30761 }
30762
30763 if ((gtk_major_version != $gtk_config_major_version) ||
30764 (gtk_minor_version != $gtk_config_minor_version) ||
30765 (gtk_micro_version != $gtk_config_micro_version))
30766 {
30767 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30768 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30769 gtk_major_version, gtk_minor_version, gtk_micro_version);
30770 printf ("*** was found! If pkg-config was correct, then it is best\n");
30771 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30772 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30773 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30774 printf("*** required on your system.\n");
30775 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30776 printf("*** to point to the correct configuration files\n");
30777 }
30778 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30779 (gtk_minor_version != GTK_MINOR_VERSION) ||
30780 (gtk_micro_version != GTK_MICRO_VERSION))
30781 {
30782 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30783 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30784 printf("*** library (version %d.%d.%d)\n",
30785 gtk_major_version, gtk_minor_version, gtk_micro_version);
30786 }
30787 else
30788 {
30789 if ((gtk_major_version > major) ||
30790 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30791 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30792 {
30793 return 0;
30794 }
30795 else
30796 {
30797 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30798 gtk_major_version, gtk_minor_version, gtk_micro_version);
30799 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30800 major, minor, micro);
30801 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30802 printf("***\n");
30803 printf("*** If you have already installed a sufficiently new version, this error\n");
30804 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30805 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30806 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30807 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30808 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30809 printf("*** so that the correct libraries are found at run-time))\n");
30810 }
30811 }
30812 return 1;
30813 }
30814
30815 _ACEOF
30816 rm -f conftest$ac_exeext
30817 if { (ac_try="$ac_link"
30818 case "(($ac_try" in
30819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30820 *) ac_try_echo=$ac_try;;
30821 esac
30822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30823 (eval "$ac_link") 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30827 { (case "(($ac_try" in
30828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30829 *) ac_try_echo=$ac_try;;
30830 esac
30831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30832 (eval "$ac_try") 2>&5
30833 ac_status=$?
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; }; then
30836 :
30837 else
30838 echo "$as_me: program exited with status $ac_status" >&5
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.$ac_ext >&5
30841
30842 ( exit $ac_status )
30843 no_gtk=yes
30844 fi
30845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30846 fi
30847
30848
30849 CFLAGS="$ac_save_CFLAGS"
30850 LIBS="$ac_save_LIBS"
30851 fi
30852 fi
30853 if test "x$no_gtk" = x ; then
30854 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30855 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30856 wx_cv_lib_gtk=2.0
30857 else
30858 { echo "$as_me:$LINENO: result: no" >&5
30859 echo "${ECHO_T}no" >&6; }
30860 if test "$PKG_CONFIG" = "no" ; then
30861 echo "*** A new enough version of pkg-config was not found."
30862 echo "*** See http://pkgconfig.sourceforge.net"
30863 else
30864 if test -f conf.gtktest ; then
30865 :
30866 else
30867 echo "*** Could not run GTK+ test program, checking why..."
30868 ac_save_CFLAGS="$CFLAGS"
30869 ac_save_LIBS="$LIBS"
30870 CFLAGS="$CFLAGS $GTK_CFLAGS"
30871 LIBS="$LIBS $GTK_LIBS"
30872 cat >conftest.$ac_ext <<_ACEOF
30873 /* confdefs.h. */
30874 _ACEOF
30875 cat confdefs.h >>conftest.$ac_ext
30876 cat >>conftest.$ac_ext <<_ACEOF
30877 /* end confdefs.h. */
30878
30879 #include <gtk/gtk.h>
30880 #include <stdio.h>
30881
30882 int
30883 main ()
30884 {
30885 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30886 ;
30887 return 0;
30888 }
30889 _ACEOF
30890 rm -f conftest.$ac_objext conftest$ac_exeext
30891 if { (ac_try="$ac_link"
30892 case "(($ac_try" in
30893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30894 *) ac_try_echo=$ac_try;;
30895 esac
30896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30897 (eval "$ac_link") 2>conftest.er1
30898 ac_status=$?
30899 grep -v '^ *+' conftest.er1 >conftest.err
30900 rm -f conftest.er1
30901 cat conftest.err >&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); } && {
30904 test -z "$ac_c_werror_flag" ||
30905 test ! -s conftest.err
30906 } && test -s conftest$ac_exeext &&
30907 $as_test_x conftest$ac_exeext; then
30908 echo "*** The test program compiled, but did not run. This usually means"
30909 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30910 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30911 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30912 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30913 echo "*** is required on your system"
30914 echo "***"
30915 echo "*** If you have an old version installed, it is best to remove it, although"
30916 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30917 else
30918 echo "$as_me: failed program was:" >&5
30919 sed 's/^/| /' conftest.$ac_ext >&5
30920
30921 echo "*** The test program failed to compile or link. See the file config.log for the"
30922 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30923 fi
30924
30925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30926 conftest$ac_exeext conftest.$ac_ext
30927 CFLAGS="$ac_save_CFLAGS"
30928 LIBS="$ac_save_LIBS"
30929 fi
30930 fi
30931 GTK_CFLAGS=""
30932 GTK_LIBS=""
30933 :
30934 fi
30935
30936
30937 rm -f conf.gtktest
30938
30939
30940 case "${host}" in
30941 *-*-solaris2* )
30942 if test "$wxUSE_SHARED" != "yes"; then
30943 GTK_LIBS="$GTK_LIBS -lX11"
30944 fi
30945 esac
30946 fi
30947
30948 if test -z "$wx_cv_lib_gtk"; then
30949 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30950
30951 # Check whether --with-gtk-prefix was given.
30952 if test "${with_gtk_prefix+set}" = set; then
30953 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30954 else
30955 gtk_config_prefix=""
30956 fi
30957
30958
30959 # Check whether --with-gtk-exec-prefix was given.
30960 if test "${with_gtk_exec_prefix+set}" = set; then
30961 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30962 else
30963 gtk_config_exec_prefix=""
30964 fi
30965
30966 # Check whether --enable-gtktest was given.
30967 if test "${enable_gtktest+set}" = set; then
30968 enableval=$enable_gtktest;
30969 else
30970 enable_gtktest=yes
30971 fi
30972
30973
30974 for module in . $GTK_MODULES
30975 do
30976 case "$module" in
30977 gthread)
30978 gtk_config_args="$gtk_config_args gthread"
30979 ;;
30980 esac
30981 done
30982
30983 if test x$gtk_config_exec_prefix != x ; then
30984 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30985 if test x${GTK_CONFIG+set} != xset ; then
30986 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30987 fi
30988 fi
30989 if test x$gtk_config_prefix != x ; then
30990 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30991 if test x${GTK_CONFIG+set} != xset ; then
30992 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30993 fi
30994 fi
30995
30996 # Extract the first word of "gtk-config", so it can be a program name with args.
30997 set dummy gtk-config; ac_word=$2
30998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31000 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 else
31003 case $GTK_CONFIG in
31004 [\\/]* | ?:[\\/]*)
31005 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31006 ;;
31007 *)
31008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31009 for as_dir in $PATH
31010 do
31011 IFS=$as_save_IFS
31012 test -z "$as_dir" && as_dir=.
31013 for ac_exec_ext in '' $ac_executable_extensions; do
31014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31015 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31017 break 2
31018 fi
31019 done
31020 done
31021 IFS=$as_save_IFS
31022
31023 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31024 ;;
31025 esac
31026 fi
31027 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31028 if test -n "$GTK_CONFIG"; then
31029 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31030 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31031 else
31032 { echo "$as_me:$LINENO: result: no" >&5
31033 echo "${ECHO_T}no" >&6; }
31034 fi
31035
31036
31037 min_gtk_version=1.2.7
31038 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31039 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31040 no_gtk=""
31041 if test "$GTK_CONFIG" = "no" ; then
31042 no_gtk=yes
31043 else
31044 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31045 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31046 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31048 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31050 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31052 if test "x$enable_gtktest" = "xyes" ; then
31053 ac_save_CFLAGS="$CFLAGS"
31054 ac_save_LIBS="$LIBS"
31055 CFLAGS="$CFLAGS $GTK_CFLAGS"
31056 LIBS="$GTK_LIBS $LIBS"
31057 rm -f conf.gtktest
31058 if test "$cross_compiling" = yes; then
31059 echo $ac_n "cross compiling; assumed OK... $ac_c"
31060 else
31061 cat >conftest.$ac_ext <<_ACEOF
31062 /* confdefs.h. */
31063 _ACEOF
31064 cat confdefs.h >>conftest.$ac_ext
31065 cat >>conftest.$ac_ext <<_ACEOF
31066 /* end confdefs.h. */
31067
31068 #include <gtk/gtk.h>
31069 #include <stdio.h>
31070 #include <stdlib.h>
31071
31072 int
31073 main ()
31074 {
31075 int major, minor, micro;
31076 char *tmp_version;
31077
31078 system ("touch conf.gtktest");
31079
31080 /* HP/UX 9 (%@#!) writes to sscanf strings */
31081 tmp_version = g_strdup("$min_gtk_version");
31082 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31083 printf("%s, bad version string\n", "$min_gtk_version");
31084 exit(1);
31085 }
31086
31087 if ((gtk_major_version != $gtk_config_major_version) ||
31088 (gtk_minor_version != $gtk_config_minor_version) ||
31089 (gtk_micro_version != $gtk_config_micro_version))
31090 {
31091 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31092 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31093 gtk_major_version, gtk_minor_version, gtk_micro_version);
31094 printf ("*** was found! If gtk-config was correct, then it is best\n");
31095 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31096 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31097 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31098 printf("*** required on your system.\n");
31099 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31100 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31101 printf("*** before re-running configure\n");
31102 }
31103 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31104 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31105 (gtk_minor_version != GTK_MINOR_VERSION) ||
31106 (gtk_micro_version != GTK_MICRO_VERSION))
31107 {
31108 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31109 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31110 printf("*** library (version %d.%d.%d)\n",
31111 gtk_major_version, gtk_minor_version, gtk_micro_version);
31112 }
31113 #endif /* defined (GTK_MAJOR_VERSION) ... */
31114 else
31115 {
31116 if ((gtk_major_version > major) ||
31117 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31118 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31119 {
31120 return 0;
31121 }
31122 else
31123 {
31124 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31125 gtk_major_version, gtk_minor_version, gtk_micro_version);
31126 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31127 major, minor, micro);
31128 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31129 printf("***\n");
31130 printf("*** If you have already installed a sufficiently new version, this error\n");
31131 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31132 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31133 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31134 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31135 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31136 printf("*** so that the correct libraries are found at run-time))\n");
31137 }
31138 }
31139 return 1;
31140 }
31141
31142 _ACEOF
31143 rm -f conftest$ac_exeext
31144 if { (ac_try="$ac_link"
31145 case "(($ac_try" in
31146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31147 *) ac_try_echo=$ac_try;;
31148 esac
31149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31150 (eval "$ac_link") 2>&5
31151 ac_status=$?
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31154 { (case "(($ac_try" in
31155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31156 *) ac_try_echo=$ac_try;;
31157 esac
31158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31159 (eval "$ac_try") 2>&5
31160 ac_status=$?
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); }; }; then
31163 :
31164 else
31165 echo "$as_me: program exited with status $ac_status" >&5
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.$ac_ext >&5
31168
31169 ( exit $ac_status )
31170 no_gtk=yes
31171 fi
31172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31173 fi
31174
31175
31176 CFLAGS="$ac_save_CFLAGS"
31177 LIBS="$ac_save_LIBS"
31178 fi
31179 fi
31180 if test "x$no_gtk" = x ; then
31181 { echo "$as_me:$LINENO: result: yes" >&5
31182 echo "${ECHO_T}yes" >&6; }
31183 wx_cv_lib_gtk=1.2.7
31184 else
31185 { echo "$as_me:$LINENO: result: no" >&5
31186 echo "${ECHO_T}no" >&6; }
31187 if test "$GTK_CONFIG" = "no" ; then
31188 echo "*** The gtk-config script installed by GTK could not be found"
31189 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31190 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31191 echo "*** full path to gtk-config."
31192 else
31193 if test -f conf.gtktest ; then
31194 :
31195 else
31196 echo "*** Could not run GTK test program, checking why..."
31197 CFLAGS="$CFLAGS $GTK_CFLAGS"
31198 LIBS="$LIBS $GTK_LIBS"
31199 cat >conftest.$ac_ext <<_ACEOF
31200 /* confdefs.h. */
31201 _ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h. */
31205
31206 #include <gtk/gtk.h>
31207 #include <stdio.h>
31208
31209 int
31210 main ()
31211 {
31212 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31213 ;
31214 return 0;
31215 }
31216 _ACEOF
31217 rm -f conftest.$ac_objext conftest$ac_exeext
31218 if { (ac_try="$ac_link"
31219 case "(($ac_try" in
31220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31221 *) ac_try_echo=$ac_try;;
31222 esac
31223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31224 (eval "$ac_link") 2>conftest.er1
31225 ac_status=$?
31226 grep -v '^ *+' conftest.er1 >conftest.err
31227 rm -f conftest.er1
31228 cat conftest.err >&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); } && {
31231 test -z "$ac_c_werror_flag" ||
31232 test ! -s conftest.err
31233 } && test -s conftest$ac_exeext &&
31234 $as_test_x conftest$ac_exeext; then
31235 echo "*** The test program compiled, but did not run. This usually means"
31236 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31237 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31238 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31239 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31240 echo "*** is required on your system"
31241 echo "***"
31242 echo "*** If you have an old version installed, it is best to remove it, although"
31243 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31244 echo "***"
31245 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31246 echo "*** came with the system with the command"
31247 echo "***"
31248 echo "*** rpm --erase --nodeps gtk gtk-devel"
31249 else
31250 echo "$as_me: failed program was:" >&5
31251 sed 's/^/| /' conftest.$ac_ext >&5
31252
31253 echo "*** The test program failed to compile or link. See the file config.log for the"
31254 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31255 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31256 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31257 fi
31258
31259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31260 conftest$ac_exeext conftest.$ac_ext
31261 CFLAGS="$ac_save_CFLAGS"
31262 LIBS="$ac_save_LIBS"
31263 fi
31264 fi
31265 GTK_CFLAGS=""
31266 GTK_LIBS=""
31267 :
31268 fi
31269
31270
31271 rm -f conf.gtktest
31272
31273
31274 if test -z "$wx_cv_lib_gtk"; then
31275
31276 # Check whether --with-gtk-prefix was given.
31277 if test "${with_gtk_prefix+set}" = set; then
31278 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31279 else
31280 gtk_config_prefix=""
31281 fi
31282
31283
31284 # Check whether --with-gtk-exec-prefix was given.
31285 if test "${with_gtk_exec_prefix+set}" = set; then
31286 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31287 else
31288 gtk_config_exec_prefix=""
31289 fi
31290
31291 # Check whether --enable-gtktest was given.
31292 if test "${enable_gtktest+set}" = set; then
31293 enableval=$enable_gtktest;
31294 else
31295 enable_gtktest=yes
31296 fi
31297
31298
31299 for module in . $GTK_MODULES
31300 do
31301 case "$module" in
31302 gthread)
31303 gtk_config_args="$gtk_config_args gthread"
31304 ;;
31305 esac
31306 done
31307
31308 if test x$gtk_config_exec_prefix != x ; then
31309 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31310 if test x${GTK_CONFIG+set} != xset ; then
31311 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31312 fi
31313 fi
31314 if test x$gtk_config_prefix != x ; then
31315 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31316 if test x${GTK_CONFIG+set} != xset ; then
31317 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31318 fi
31319 fi
31320
31321 # Extract the first word of "gtk-config", so it can be a program name with args.
31322 set dummy gtk-config; ac_word=$2
31323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31325 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31326 echo $ECHO_N "(cached) $ECHO_C" >&6
31327 else
31328 case $GTK_CONFIG in
31329 [\\/]* | ?:[\\/]*)
31330 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31331 ;;
31332 *)
31333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31334 for as_dir in $PATH
31335 do
31336 IFS=$as_save_IFS
31337 test -z "$as_dir" && as_dir=.
31338 for ac_exec_ext in '' $ac_executable_extensions; do
31339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31340 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31342 break 2
31343 fi
31344 done
31345 done
31346 IFS=$as_save_IFS
31347
31348 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31349 ;;
31350 esac
31351 fi
31352 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31353 if test -n "$GTK_CONFIG"; then
31354 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31355 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31356 else
31357 { echo "$as_me:$LINENO: result: no" >&5
31358 echo "${ECHO_T}no" >&6; }
31359 fi
31360
31361
31362 min_gtk_version=1.2.3
31363 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31364 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31365 no_gtk=""
31366 if test "$GTK_CONFIG" = "no" ; then
31367 no_gtk=yes
31368 else
31369 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31370 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31371 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31373 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31375 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31377 if test "x$enable_gtktest" = "xyes" ; then
31378 ac_save_CFLAGS="$CFLAGS"
31379 ac_save_LIBS="$LIBS"
31380 CFLAGS="$CFLAGS $GTK_CFLAGS"
31381 LIBS="$GTK_LIBS $LIBS"
31382 rm -f conf.gtktest
31383 if test "$cross_compiling" = yes; then
31384 echo $ac_n "cross compiling; assumed OK... $ac_c"
31385 else
31386 cat >conftest.$ac_ext <<_ACEOF
31387 /* confdefs.h. */
31388 _ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392
31393 #include <gtk/gtk.h>
31394 #include <stdio.h>
31395 #include <stdlib.h>
31396
31397 int
31398 main ()
31399 {
31400 int major, minor, micro;
31401 char *tmp_version;
31402
31403 system ("touch conf.gtktest");
31404
31405 /* HP/UX 9 (%@#!) writes to sscanf strings */
31406 tmp_version = g_strdup("$min_gtk_version");
31407 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31408 printf("%s, bad version string\n", "$min_gtk_version");
31409 exit(1);
31410 }
31411
31412 if ((gtk_major_version != $gtk_config_major_version) ||
31413 (gtk_minor_version != $gtk_config_minor_version) ||
31414 (gtk_micro_version != $gtk_config_micro_version))
31415 {
31416 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31418 gtk_major_version, gtk_minor_version, gtk_micro_version);
31419 printf ("*** was found! If gtk-config was correct, then it is best\n");
31420 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31422 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31423 printf("*** required on your system.\n");
31424 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31425 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31426 printf("*** before re-running configure\n");
31427 }
31428 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31429 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31430 (gtk_minor_version != GTK_MINOR_VERSION) ||
31431 (gtk_micro_version != GTK_MICRO_VERSION))
31432 {
31433 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31434 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31435 printf("*** library (version %d.%d.%d)\n",
31436 gtk_major_version, gtk_minor_version, gtk_micro_version);
31437 }
31438 #endif /* defined (GTK_MAJOR_VERSION) ... */
31439 else
31440 {
31441 if ((gtk_major_version > major) ||
31442 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31443 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31444 {
31445 return 0;
31446 }
31447 else
31448 {
31449 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31450 gtk_major_version, gtk_minor_version, gtk_micro_version);
31451 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31452 major, minor, micro);
31453 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31454 printf("***\n");
31455 printf("*** If you have already installed a sufficiently new version, this error\n");
31456 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31457 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31458 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31459 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31460 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31461 printf("*** so that the correct libraries are found at run-time))\n");
31462 }
31463 }
31464 return 1;
31465 }
31466
31467 _ACEOF
31468 rm -f conftest$ac_exeext
31469 if { (ac_try="$ac_link"
31470 case "(($ac_try" in
31471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31472 *) ac_try_echo=$ac_try;;
31473 esac
31474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31475 (eval "$ac_link") 2>&5
31476 ac_status=$?
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31479 { (case "(($ac_try" in
31480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31481 *) ac_try_echo=$ac_try;;
31482 esac
31483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31484 (eval "$ac_try") 2>&5
31485 ac_status=$?
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; }; then
31488 :
31489 else
31490 echo "$as_me: program exited with status $ac_status" >&5
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494 ( exit $ac_status )
31495 no_gtk=yes
31496 fi
31497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31498 fi
31499
31500
31501 CFLAGS="$ac_save_CFLAGS"
31502 LIBS="$ac_save_LIBS"
31503 fi
31504 fi
31505 if test "x$no_gtk" = x ; then
31506 { echo "$as_me:$LINENO: result: yes" >&5
31507 echo "${ECHO_T}yes" >&6; }
31508 wx_cv_lib_gtk=1.2.3
31509 else
31510 { echo "$as_me:$LINENO: result: no" >&5
31511 echo "${ECHO_T}no" >&6; }
31512 if test "$GTK_CONFIG" = "no" ; then
31513 echo "*** The gtk-config script installed by GTK could not be found"
31514 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31515 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31516 echo "*** full path to gtk-config."
31517 else
31518 if test -f conf.gtktest ; then
31519 :
31520 else
31521 echo "*** Could not run GTK test program, checking why..."
31522 CFLAGS="$CFLAGS $GTK_CFLAGS"
31523 LIBS="$LIBS $GTK_LIBS"
31524 cat >conftest.$ac_ext <<_ACEOF
31525 /* confdefs.h. */
31526 _ACEOF
31527 cat confdefs.h >>conftest.$ac_ext
31528 cat >>conftest.$ac_ext <<_ACEOF
31529 /* end confdefs.h. */
31530
31531 #include <gtk/gtk.h>
31532 #include <stdio.h>
31533
31534 int
31535 main ()
31536 {
31537 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31538 ;
31539 return 0;
31540 }
31541 _ACEOF
31542 rm -f conftest.$ac_objext conftest$ac_exeext
31543 if { (ac_try="$ac_link"
31544 case "(($ac_try" in
31545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31546 *) ac_try_echo=$ac_try;;
31547 esac
31548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31549 (eval "$ac_link") 2>conftest.er1
31550 ac_status=$?
31551 grep -v '^ *+' conftest.er1 >conftest.err
31552 rm -f conftest.er1
31553 cat conftest.err >&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } && {
31556 test -z "$ac_c_werror_flag" ||
31557 test ! -s conftest.err
31558 } && test -s conftest$ac_exeext &&
31559 $as_test_x conftest$ac_exeext; then
31560 echo "*** The test program compiled, but did not run. This usually means"
31561 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31562 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31563 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31564 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31565 echo "*** is required on your system"
31566 echo "***"
31567 echo "*** If you have an old version installed, it is best to remove it, although"
31568 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31569 echo "***"
31570 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31571 echo "*** came with the system with the command"
31572 echo "***"
31573 echo "*** rpm --erase --nodeps gtk gtk-devel"
31574 else
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.$ac_ext >&5
31577
31578 echo "*** The test program failed to compile or link. See the file config.log for the"
31579 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31580 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31581 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31582 fi
31583
31584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31585 conftest$ac_exeext conftest.$ac_ext
31586 CFLAGS="$ac_save_CFLAGS"
31587 LIBS="$ac_save_LIBS"
31588 fi
31589 fi
31590 GTK_CFLAGS=""
31591 GTK_LIBS=""
31592 :
31593 fi
31594
31595
31596 rm -f conf.gtktest
31597
31598 fi
31599 fi
31600 fi
31601
31602 if test -z "$wx_cv_lib_gtk"; then
31603 wx_cv_lib_gtk=none
31604 else
31605 wx_cv_cflags_gtk=$GTK_CFLAGS
31606 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31607 fi
31608
31609
31610 fi
31611
31612
31613 if test "$gtk_version_cached" = 1; then
31614 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31615 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31616 fi
31617
31618 case "$wx_cv_lib_gtk" in
31619 2.0) WXGTK20=1
31620 TOOLKIT_VERSION=2
31621 ;;
31622 1.2.7) WXGTK127=1
31623 WXGTK12=1
31624 ;;
31625 1.2.3) WXGTK12=1
31626 ;;
31627 *) { { echo "$as_me:$LINENO: error:
31628 The development files for GTK+ were not found. For GTK+ 2, please
31629 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31630 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31631 and that the version is 1.2.3 or above. Also check that the
31632 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31633 --libs' are in the LD_LIBRARY_PATH or equivalent.
31634 " >&5
31635 echo "$as_me: error:
31636 The development files for GTK+ were not found. For GTK+ 2, please
31637 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31638 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31639 and that the version is 1.2.3 or above. Also check that the
31640 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31641 --libs' are in the LD_LIBRARY_PATH or equivalent.
31642 " >&2;}
31643 { (exit 1); exit 1; }; }
31644 ;;
31645 esac
31646
31647 if test "$WXGTK20" = 1; then
31648 save_CFLAGS="$CFLAGS"
31649 save_LIBS="$LIBS"
31650 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31651 LIBS="$LIBS $wx_cv_libs_gtk"
31652
31653 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31654 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31655 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 else
31658 cat >conftest.$ac_ext <<_ACEOF
31659 /* confdefs.h. */
31660 _ACEOF
31661 cat confdefs.h >>conftest.$ac_ext
31662 cat >>conftest.$ac_ext <<_ACEOF
31663 /* end confdefs.h. */
31664 #include <gtk/gtk.h>
31665
31666 int
31667 main ()
31668 {
31669 #ifndef gtk_icon_size_lookup
31670 (void) gtk_icon_size_lookup;
31671 #endif
31672
31673 ;
31674 return 0;
31675 }
31676 _ACEOF
31677 rm -f conftest.$ac_objext
31678 if { (ac_try="$ac_compile"
31679 case "(($ac_try" in
31680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31681 *) ac_try_echo=$ac_try;;
31682 esac
31683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31684 (eval "$ac_compile") 2>conftest.er1
31685 ac_status=$?
31686 grep -v '^ *+' conftest.er1 >conftest.err
31687 rm -f conftest.er1
31688 cat conftest.err >&5
31689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31690 (exit $ac_status); } && {
31691 test -z "$ac_c_werror_flag" ||
31692 test ! -s conftest.err
31693 } && test -s conftest.$ac_objext; then
31694 ac_cv_have_decl_gtk_icon_size_lookup=yes
31695 else
31696 echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.$ac_ext >&5
31698
31699 ac_cv_have_decl_gtk_icon_size_lookup=no
31700 fi
31701
31702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31703 fi
31704 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31705 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31706 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31707
31708 cat >>confdefs.h <<_ACEOF
31709 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31710 _ACEOF
31711
31712
31713 else
31714 cat >>confdefs.h <<_ACEOF
31715 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31716 _ACEOF
31717
31718 cat >>confdefs.h <<\_ACEOF
31719 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31720 _ACEOF
31721
31722 fi
31723
31724
31725
31726
31727 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31728 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31729 cat >conftest.$ac_ext <<_ACEOF
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735
31736 #include <gtk/gtk.h>
31737
31738 int
31739 main ()
31740 {
31741
31742 #if !GTK_CHECK_VERSION(2,10,0)
31743 Not GTK+ 2.10
31744 #endif
31745
31746 ;
31747 return 0;
31748 }
31749 _ACEOF
31750 rm -f conftest.$ac_objext
31751 if { (ac_try="$ac_compile"
31752 case "(($ac_try" in
31753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31754 *) ac_try_echo=$ac_try;;
31755 esac
31756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31757 (eval "$ac_compile") 2>conftest.er1
31758 ac_status=$?
31759 grep -v '^ *+' conftest.er1 >conftest.err
31760 rm -f conftest.er1
31761 cat conftest.err >&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); } && {
31764 test -z "$ac_c_werror_flag" ||
31765 test ! -s conftest.err
31766 } && test -s conftest.$ac_objext; then
31767
31768 cat >>confdefs.h <<\_ACEOF
31769 #define __WXGTK210__ 1
31770 _ACEOF
31771
31772 cat >>confdefs.h <<\_ACEOF
31773 #define __WXGTK26__ 1
31774 _ACEOF
31775
31776 cat >>confdefs.h <<\_ACEOF
31777 #define __WXGTK24__ 1
31778 _ACEOF
31779
31780 { echo "$as_me:$LINENO: result: yes" >&5
31781 echo "${ECHO_T}yes" >&6; }
31782 ac_wxgtk210=1
31783
31784 else
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31787
31788
31789 { echo "$as_me:$LINENO: result: no" >&5
31790 echo "${ECHO_T}no" >&6; }
31791 ac_wxgtk210=0
31792
31793 fi
31794
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796
31797 if test "$ac_wxgtk210" = 0; then
31798 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31799 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31800 cat >conftest.$ac_ext <<_ACEOF
31801 /* confdefs.h. */
31802 _ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806
31807 #include <gtk/gtk.h>
31808
31809 int
31810 main ()
31811 {
31812
31813 #if !GTK_CHECK_VERSION(2,6,0)
31814 Not GTK+ 2.6
31815 #endif
31816
31817 ;
31818 return 0;
31819 }
31820 _ACEOF
31821 rm -f conftest.$ac_objext
31822 if { (ac_try="$ac_compile"
31823 case "(($ac_try" in
31824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31825 *) ac_try_echo=$ac_try;;
31826 esac
31827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31828 (eval "$ac_compile") 2>conftest.er1
31829 ac_status=$?
31830 grep -v '^ *+' conftest.er1 >conftest.err
31831 rm -f conftest.er1
31832 cat conftest.err >&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); } && {
31835 test -z "$ac_c_werror_flag" ||
31836 test ! -s conftest.err
31837 } && test -s conftest.$ac_objext; then
31838
31839 cat >>confdefs.h <<\_ACEOF
31840 #define __WXGTK26__ 1
31841 _ACEOF
31842
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXGTK24__ 1
31845 _ACEOF
31846
31847 { echo "$as_me:$LINENO: result: yes" >&5
31848 echo "${ECHO_T}yes" >&6; }
31849 ac_wxgtk26=1
31850
31851 else
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.$ac_ext >&5
31854
31855
31856 { echo "$as_me:$LINENO: result: no" >&5
31857 echo "${ECHO_T}no" >&6; }
31858 ac_wxgtk26=0
31859
31860 fi
31861
31862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31863 fi
31864
31865 if test "$ac_wxgtk26" = 0; then
31866 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31867 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31868 cat >conftest.$ac_ext <<_ACEOF
31869 /* confdefs.h. */
31870 _ACEOF
31871 cat confdefs.h >>conftest.$ac_ext
31872 cat >>conftest.$ac_ext <<_ACEOF
31873 /* end confdefs.h. */
31874
31875 #include <gtk/gtk.h>
31876
31877 int
31878 main ()
31879 {
31880
31881 #if !GTK_CHECK_VERSION(2,4,0)
31882 Not GTK+ 2.4
31883 #endif
31884
31885 ;
31886 return 0;
31887 }
31888 _ACEOF
31889 rm -f conftest.$ac_objext
31890 if { (ac_try="$ac_compile"
31891 case "(($ac_try" in
31892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31893 *) ac_try_echo=$ac_try;;
31894 esac
31895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31896 (eval "$ac_compile") 2>conftest.er1
31897 ac_status=$?
31898 grep -v '^ *+' conftest.er1 >conftest.err
31899 rm -f conftest.er1
31900 cat conftest.err >&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } && {
31903 test -z "$ac_c_werror_flag" ||
31904 test ! -s conftest.err
31905 } && test -s conftest.$ac_objext; then
31906
31907 cat >>confdefs.h <<\_ACEOF
31908 #define __WXGTK24__ 1
31909 _ACEOF
31910
31911 { echo "$as_me:$LINENO: result: yes" >&5
31912 echo "${ECHO_T}yes" >&6; }
31913
31914 else
31915 echo "$as_me: failed program was:" >&5
31916 sed 's/^/| /' conftest.$ac_ext >&5
31917
31918
31919 { echo "$as_me:$LINENO: result: no" >&5
31920 echo "${ECHO_T}no" >&6; }
31921
31922 fi
31923
31924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31925 fi
31926
31927 CFLAGS="$save_CFLAGS"
31928 LIBS="$save_LIBS"
31929 else
31930 if test "$wxUSE_UNICODE" = "yes"; then
31931 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31932 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31933 wxUSE_UNICODE=no
31934 fi
31935
31936 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31937 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31938 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31939 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 else
31941 ac_check_lib_save_LIBS=$LIBS
31942 LIBS="-lgdk $LIBS"
31943 cat >conftest.$ac_ext <<_ACEOF
31944 /* confdefs.h. */
31945 _ACEOF
31946 cat confdefs.h >>conftest.$ac_ext
31947 cat >>conftest.$ac_ext <<_ACEOF
31948 /* end confdefs.h. */
31949
31950 /* Override any GCC internal prototype to avoid an error.
31951 Use char because int might match the return type of a GCC
31952 builtin and then its argument prototype would still apply. */
31953 #ifdef __cplusplus
31954 extern "C"
31955 #endif
31956 char gdk_im_open ();
31957 int
31958 main ()
31959 {
31960 return gdk_im_open ();
31961 ;
31962 return 0;
31963 }
31964 _ACEOF
31965 rm -f conftest.$ac_objext conftest$ac_exeext
31966 if { (ac_try="$ac_link"
31967 case "(($ac_try" in
31968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31969 *) ac_try_echo=$ac_try;;
31970 esac
31971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31972 (eval "$ac_link") 2>conftest.er1
31973 ac_status=$?
31974 grep -v '^ *+' conftest.er1 >conftest.err
31975 rm -f conftest.er1
31976 cat conftest.err >&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); } && {
31979 test -z "$ac_c_werror_flag" ||
31980 test ! -s conftest.err
31981 } && test -s conftest$ac_exeext &&
31982 $as_test_x conftest$ac_exeext; then
31983 ac_cv_lib_gdk_gdk_im_open=yes
31984 else
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31987
31988 ac_cv_lib_gdk_gdk_im_open=no
31989 fi
31990
31991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31992 conftest$ac_exeext conftest.$ac_ext
31993 LIBS=$ac_check_lib_save_LIBS
31994 fi
31995 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31996 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31997 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31998 cat >>confdefs.h <<\_ACEOF
31999 #define HAVE_XIM 1
32000 _ACEOF
32001
32002 fi
32003
32004
32005 if test "$USE_DARWIN" != 1; then
32006
32007 for ac_func in poll
32008 do
32009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32014 else
32015 cat >conftest.$ac_ext <<_ACEOF
32016 /* confdefs.h. */
32017 _ACEOF
32018 cat confdefs.h >>conftest.$ac_ext
32019 cat >>conftest.$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32023 #define $ac_func innocuous_$ac_func
32024
32025 /* System header to define __stub macros and hopefully few prototypes,
32026 which can conflict with char $ac_func (); below.
32027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32028 <limits.h> exists even on freestanding compilers. */
32029
32030 #ifdef __STDC__
32031 # include <limits.h>
32032 #else
32033 # include <assert.h>
32034 #endif
32035
32036 #undef $ac_func
32037
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32041 #ifdef __cplusplus
32042 extern "C"
32043 #endif
32044 char $ac_func ();
32045 /* The GNU C library defines this for functions which it implements
32046 to always fail with ENOSYS. Some functions are actually named
32047 something starting with __ and the normal name is an alias. */
32048 #if defined __stub_$ac_func || defined __stub___$ac_func
32049 choke me
32050 #endif
32051
32052 int
32053 main ()
32054 {
32055 return $ac_func ();
32056 ;
32057 return 0;
32058 }
32059 _ACEOF
32060 rm -f conftest.$ac_objext conftest$ac_exeext
32061 if { (ac_try="$ac_link"
32062 case "(($ac_try" in
32063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32064 *) ac_try_echo=$ac_try;;
32065 esac
32066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32067 (eval "$ac_link") 2>conftest.er1
32068 ac_status=$?
32069 grep -v '^ *+' conftest.er1 >conftest.err
32070 rm -f conftest.er1
32071 cat conftest.err >&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); } && {
32074 test -z "$ac_c_werror_flag" ||
32075 test ! -s conftest.err
32076 } && test -s conftest$ac_exeext &&
32077 $as_test_x conftest$ac_exeext; then
32078 eval "$as_ac_var=yes"
32079 else
32080 echo "$as_me: failed program was:" >&5
32081 sed 's/^/| /' conftest.$ac_ext >&5
32082
32083 eval "$as_ac_var=no"
32084 fi
32085
32086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32087 conftest$ac_exeext conftest.$ac_ext
32088 fi
32089 ac_res=`eval echo '${'$as_ac_var'}'`
32090 { echo "$as_me:$LINENO: result: $ac_res" >&5
32091 echo "${ECHO_T}$ac_res" >&6; }
32092 if test `eval echo '${'$as_ac_var'}'` = yes; then
32093 cat >>confdefs.h <<_ACEOF
32094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32095 _ACEOF
32096
32097 fi
32098 done
32099
32100 fi
32101 fi
32102
32103 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32104 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32105
32106 AFMINSTALL=afminstall
32107 TOOLKIT=GTK
32108 GUIDIST=GTK_DIST
32109
32110 if test "$wxUSE_GPE" = "yes"; then
32111 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32112 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32113
32114 ac_find_libraries=
32115 for ac_dir in $SEARCH_LIB;
32116 do
32117 for ac_extension in a so sl dylib dll.a; do
32118 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32119 ac_find_libraries=$ac_dir
32120 break 2
32121 fi
32122 done
32123 done
32124
32125 if test "$ac_find_libraries" != "" ; then
32126
32127 if test "$ac_find_libraries" = "default location"; then
32128 ac_path_to_link=""
32129 else
32130 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32131 result=$?
32132 if test $result = 0; then
32133 ac_path_to_link=""
32134 else
32135 ac_path_to_link=" -L$ac_find_libraries"
32136 fi
32137 fi
32138
32139 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32140 WXGPE=1
32141 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32142 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32143 else
32144 { echo "$as_me:$LINENO: result: not found" >&5
32145 echo "${ECHO_T}not found" >&6; }
32146 fi
32147
32148 fi
32149 fi
32150
32151 if test "$wxUSE_MGL" = 1; then
32152 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32153 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32154 if test "x$MGL_ROOT" = x ; then
32155 { echo "$as_me:$LINENO: result: not found" >&5
32156 echo "${ECHO_T}not found" >&6; }
32157 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32158 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32159 { (exit 1); exit 1; }; }
32160 else
32161 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32162 echo "${ECHO_T}$MGL_ROOT" >&6; }
32163 fi
32164
32165 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32166 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32167 case "${host}" in
32168 *-*-linux* )
32169 if test "x$wxUSE_SHARED" = xyes ; then
32170 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32171 else
32172 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32173 fi
32174 ;;
32175 *-pc-msdosdjgpp )
32176 mgl_os_candidates="dos32/dj2"
32177 ;;
32178 *)
32179 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32180 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32181 { (exit 1); exit 1; }; }
32182 esac
32183
32184 mgl_lib_type=""
32185 mgl_os=""
32186
32187 for mgl_os_i in $mgl_os_candidates ; do
32188 if test "x$mgl_os" = x ; then
32189 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32190 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32191 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32192 mgl_lib_type=debug
32193 mgl_os=$mgl_os_i
32194 fi
32195 fi
32196 if test "x$mgl_lib_type" = x ; then
32197 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32198 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32199 mgl_lib_type=release
32200 mgl_os=$mgl_os_i
32201 fi
32202 fi
32203 fi
32204 done
32205
32206 if test "x$mgl_os" = x ; then
32207 { echo "$as_me:$LINENO: result: not found" >&5
32208 echo "${ECHO_T}not found" >&6; }
32209 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32210 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32211 { (exit 1); exit 1; }; }
32212 fi
32213 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32214 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32215
32216 wxUSE_UNIVERSAL="yes"
32217
32218 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32219 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32220
32221 AFMINSTALL=afminstall
32222 TOOLKIT=MGL
32223 GUIDIST=MGL_DIST
32224 fi
32225
32226 if test "$wxUSE_DFB" = 1; then
32227
32228
32229 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32230 if test -n "$ac_tool_prefix"; then
32231 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32232 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 else
32238 case $PKG_CONFIG in
32239 [\\/]* | ?:[\\/]*)
32240 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32241 ;;
32242 *)
32243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32244 for as_dir in $PATH
32245 do
32246 IFS=$as_save_IFS
32247 test -z "$as_dir" && as_dir=.
32248 for ac_exec_ext in '' $ac_executable_extensions; do
32249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32250 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32252 break 2
32253 fi
32254 done
32255 done
32256 IFS=$as_save_IFS
32257
32258 ;;
32259 esac
32260 fi
32261 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32262 if test -n "$PKG_CONFIG"; then
32263 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32264 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32265 else
32266 { echo "$as_me:$LINENO: result: no" >&5
32267 echo "${ECHO_T}no" >&6; }
32268 fi
32269
32270
32271 fi
32272 if test -z "$ac_cv_path_PKG_CONFIG"; then
32273 ac_pt_PKG_CONFIG=$PKG_CONFIG
32274 # Extract the first word of "pkg-config", so it can be a program name with args.
32275 set dummy pkg-config; ac_word=$2
32276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32278 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32279 echo $ECHO_N "(cached) $ECHO_C" >&6
32280 else
32281 case $ac_pt_PKG_CONFIG in
32282 [\\/]* | ?:[\\/]*)
32283 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32284 ;;
32285 *)
32286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32287 for as_dir in $PATH
32288 do
32289 IFS=$as_save_IFS
32290 test -z "$as_dir" && as_dir=.
32291 for ac_exec_ext in '' $ac_executable_extensions; do
32292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32293 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32295 break 2
32296 fi
32297 done
32298 done
32299 IFS=$as_save_IFS
32300
32301 ;;
32302 esac
32303 fi
32304 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32305 if test -n "$ac_pt_PKG_CONFIG"; then
32306 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32307 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32308 else
32309 { echo "$as_me:$LINENO: result: no" >&5
32310 echo "${ECHO_T}no" >&6; }
32311 fi
32312
32313 if test "x$ac_pt_PKG_CONFIG" = x; then
32314 PKG_CONFIG=""
32315 else
32316 case $cross_compiling:$ac_tool_warned in
32317 yes:)
32318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32319 whose name does not start with the host triplet. If you think this
32320 configuration is useful to you, please write to autoconf@gnu.org." >&5
32321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32322 whose name does not start with the host triplet. If you think this
32323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32324 ac_tool_warned=yes ;;
32325 esac
32326 PKG_CONFIG=$ac_pt_PKG_CONFIG
32327 fi
32328 else
32329 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32330 fi
32331
32332 fi
32333 if test -n "$PKG_CONFIG"; then
32334 _pkg_min_version=0.9.0
32335 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32336 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32338 { echo "$as_me:$LINENO: result: yes" >&5
32339 echo "${ECHO_T}yes" >&6; }
32340 else
32341 { echo "$as_me:$LINENO: result: no" >&5
32342 echo "${ECHO_T}no" >&6; }
32343 PKG_CONFIG=""
32344 fi
32345
32346 fi
32347
32348
32349 pkg_failed=no
32350 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32351 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32352
32353 if test -n "$PKG_CONFIG"; then
32354 if test -n "$DIRECTFB_CFLAGS"; then
32355 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32356 else
32357 if test -n "$PKG_CONFIG" && \
32358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32359 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32360 ac_status=$?
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; then
32363 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32364 else
32365 pkg_failed=yes
32366 fi
32367 fi
32368 else
32369 pkg_failed=untried
32370 fi
32371 if test -n "$PKG_CONFIG"; then
32372 if test -n "$DIRECTFB_LIBS"; then
32373 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32374 else
32375 if test -n "$PKG_CONFIG" && \
32376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32377 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32378 ac_status=$?
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); }; then
32381 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32382 else
32383 pkg_failed=yes
32384 fi
32385 fi
32386 else
32387 pkg_failed=untried
32388 fi
32389
32390
32391
32392 if test $pkg_failed = yes; then
32393
32394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32395 _pkg_short_errors_supported=yes
32396 else
32397 _pkg_short_errors_supported=no
32398 fi
32399 if test $_pkg_short_errors_supported = yes; then
32400 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32401 else
32402 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32403 fi
32404 # Put the nasty error message in config.log where it belongs
32405 echo "$DIRECTFB_PKG_ERRORS" >&5
32406
32407
32408 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32409 echo "$as_me: error: DirectFB not found." >&2;}
32410 { (exit 1); exit 1; }; }
32411
32412
32413 elif test $pkg_failed = untried; then
32414
32415 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32416 echo "$as_me: error: DirectFB not found." >&2;}
32417 { (exit 1); exit 1; }; }
32418
32419
32420 else
32421 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32422 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32423 { echo "$as_me:$LINENO: result: yes" >&5
32424 echo "${ECHO_T}yes" >&6; }
32425
32426 wxUSE_UNIVERSAL="yes"
32427 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32428 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32429 TOOLKIT=DFB
32430 GUIDIST=DFB_DIST
32431
32432 fi
32433 fi
32434
32435 if test "$wxUSE_MICROWIN" = 1; then
32436 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32437 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32438 if test "x$MICROWINDOWS" = x ; then
32439 { echo "$as_me:$LINENO: result: not found" >&5
32440 echo "${ECHO_T}not found" >&6; }
32441 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32442 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32443 { (exit 1); exit 1; }; }
32444 else
32445 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32446 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32447 fi
32448
32449 if test -f $MICROWINDOWS/lib/libmwin.a; then
32450 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32451 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32452 else
32453 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32454 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32455 { (exit 1); exit 1; }; }
32456 fi
32457
32458 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32459 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32460
32461 wxUSE_UNIVERSAL="yes"
32462
32463 AFMINSTALL=afminstall
32464 TOOLKIT=MICROWIN
32465 GUIDIST=MICROWIN_DIST
32466
32467 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32468 fi
32469
32470 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32471 { echo "$as_me:$LINENO: checking for X" >&5
32472 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32473
32474
32475 # Check whether --with-x was given.
32476 if test "${with_x+set}" = set; then
32477 withval=$with_x;
32478 fi
32479
32480 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32481 if test "x$with_x" = xno; then
32482 # The user explicitly disabled X.
32483 have_x=disabled
32484 else
32485 case $x_includes,$x_libraries in #(
32486 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32487 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32488 { (exit 1); exit 1; }; };; #(
32489 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32490 echo $ECHO_N "(cached) $ECHO_C" >&6
32491 else
32492 # One or both of the vars are not set, and there is no cached value.
32493 ac_x_includes=no ac_x_libraries=no
32494 rm -f -r conftest.dir
32495 if mkdir conftest.dir; then
32496 cd conftest.dir
32497 cat >Imakefile <<'_ACEOF'
32498 incroot:
32499 @echo incroot='${INCROOT}'
32500 usrlibdir:
32501 @echo usrlibdir='${USRLIBDIR}'
32502 libdir:
32503 @echo libdir='${LIBDIR}'
32504 _ACEOF
32505 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32506 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32507 for ac_var in incroot usrlibdir libdir; do
32508 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32509 done
32510 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32511 for ac_extension in a so sl; do
32512 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32513 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32514 ac_im_usrlibdir=$ac_im_libdir; break
32515 fi
32516 done
32517 # Screen out bogus values from the imake configuration. They are
32518 # bogus both because they are the default anyway, and because
32519 # using them would break gcc on systems where it needs fixed includes.
32520 case $ac_im_incroot in
32521 /usr/include) ac_x_includes= ;;
32522 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32523 esac
32524 case $ac_im_usrlibdir in
32525 /usr/lib | /lib) ;;
32526 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32527 esac
32528 fi
32529 cd ..
32530 rm -f -r conftest.dir
32531 fi
32532
32533 # Standard set of common directories for X headers.
32534 # Check X11 before X11Rn because it is often a symlink to the current release.
32535 ac_x_header_dirs='
32536 /usr/X11/include
32537 /usr/X11R6/include
32538 /usr/X11R5/include
32539 /usr/X11R4/include
32540
32541 /usr/include/X11
32542 /usr/include/X11R6
32543 /usr/include/X11R5
32544 /usr/include/X11R4
32545
32546 /usr/local/X11/include
32547 /usr/local/X11R6/include
32548 /usr/local/X11R5/include
32549 /usr/local/X11R4/include
32550
32551 /usr/local/include/X11
32552 /usr/local/include/X11R6
32553 /usr/local/include/X11R5
32554 /usr/local/include/X11R4
32555
32556 /usr/X386/include
32557 /usr/x386/include
32558 /usr/XFree86/include/X11
32559
32560 /usr/include
32561 /usr/local/include
32562 /usr/unsupported/include
32563 /usr/athena/include
32564 /usr/local/x11r5/include
32565 /usr/lpp/Xamples/include
32566
32567 /usr/openwin/include
32568 /usr/openwin/share/include'
32569
32570 if test "$ac_x_includes" = no; then
32571 # Guess where to find include files, by looking for Xlib.h.
32572 # First, try using that file with no special directory specified.
32573 cat >conftest.$ac_ext <<_ACEOF
32574 /* confdefs.h. */
32575 _ACEOF
32576 cat confdefs.h >>conftest.$ac_ext
32577 cat >>conftest.$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579 #include <X11/Xlib.h>
32580 _ACEOF
32581 if { (ac_try="$ac_cpp conftest.$ac_ext"
32582 case "(($ac_try" in
32583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32584 *) ac_try_echo=$ac_try;;
32585 esac
32586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32588 ac_status=$?
32589 grep -v '^ *+' conftest.er1 >conftest.err
32590 rm -f conftest.er1
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } >/dev/null && {
32594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32595 test ! -s conftest.err
32596 }; then
32597 # We can compile using X headers with no special include directory.
32598 ac_x_includes=
32599 else
32600 echo "$as_me: failed program was:" >&5
32601 sed 's/^/| /' conftest.$ac_ext >&5
32602
32603 for ac_dir in $ac_x_header_dirs; do
32604 if test -r "$ac_dir/X11/Xlib.h"; then
32605 ac_x_includes=$ac_dir
32606 break
32607 fi
32608 done
32609 fi
32610
32611 rm -f conftest.err conftest.$ac_ext
32612 fi # $ac_x_includes = no
32613
32614 if test "$ac_x_libraries" = no; then
32615 # Check for the libraries.
32616 # See if we find them without any special options.
32617 # Don't add to $LIBS permanently.
32618 ac_save_LIBS=$LIBS
32619 LIBS="-lX11 $LIBS"
32620 cat >conftest.$ac_ext <<_ACEOF
32621 /* confdefs.h. */
32622 _ACEOF
32623 cat confdefs.h >>conftest.$ac_ext
32624 cat >>conftest.$ac_ext <<_ACEOF
32625 /* end confdefs.h. */
32626 #include <X11/Xlib.h>
32627 int
32628 main ()
32629 {
32630 XrmInitialize ()
32631 ;
32632 return 0;
32633 }
32634 _ACEOF
32635 rm -f conftest.$ac_objext conftest$ac_exeext
32636 if { (ac_try="$ac_link"
32637 case "(($ac_try" in
32638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32639 *) ac_try_echo=$ac_try;;
32640 esac
32641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32642 (eval "$ac_link") 2>conftest.er1
32643 ac_status=$?
32644 grep -v '^ *+' conftest.er1 >conftest.err
32645 rm -f conftest.er1
32646 cat conftest.err >&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); } && {
32649 test -z "$ac_c_werror_flag" ||
32650 test ! -s conftest.err
32651 } && test -s conftest$ac_exeext &&
32652 $as_test_x conftest$ac_exeext; then
32653 LIBS=$ac_save_LIBS
32654 # We can link X programs with no special library path.
32655 ac_x_libraries=
32656 else
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.$ac_ext >&5
32659
32660 LIBS=$ac_save_LIBS
32661 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32662 do
32663 # Don't even attempt the hair of trying to link an X program!
32664 for ac_extension in a so sl; do
32665 if test -r "$ac_dir/libX11.$ac_extension"; then
32666 ac_x_libraries=$ac_dir
32667 break 2
32668 fi
32669 done
32670 done
32671 fi
32672
32673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32674 conftest$ac_exeext conftest.$ac_ext
32675 fi # $ac_x_libraries = no
32676
32677 case $ac_x_includes,$ac_x_libraries in #(
32678 no,* | *,no | *\'*)
32679 # Didn't find X, or a directory has "'" in its name.
32680 ac_cv_have_x="have_x=no";; #(
32681 *)
32682 # Record where we found X for the cache.
32683 ac_cv_have_x="have_x=yes\
32684 ac_x_includes='$ac_x_includes'\
32685 ac_x_libraries='$ac_x_libraries'"
32686 esac
32687 fi
32688 ;; #(
32689 *) have_x=yes;;
32690 esac
32691 eval "$ac_cv_have_x"
32692 fi # $with_x != no
32693
32694 if test "$have_x" != yes; then
32695 { echo "$as_me:$LINENO: result: $have_x" >&5
32696 echo "${ECHO_T}$have_x" >&6; }
32697 no_x=yes
32698 else
32699 # If each of the values was on the command line, it overrides each guess.
32700 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32701 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32702 # Update the cache value to reflect the command line values.
32703 ac_cv_have_x="have_x=yes\
32704 ac_x_includes='$x_includes'\
32705 ac_x_libraries='$x_libraries'"
32706 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32707 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32708 fi
32709
32710 if test "$no_x" = yes; then
32711 # Not all programs may use this symbol, but it does not hurt to define it.
32712
32713 cat >>confdefs.h <<\_ACEOF
32714 #define X_DISPLAY_MISSING 1
32715 _ACEOF
32716
32717 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32718 else
32719 if test -n "$x_includes"; then
32720 X_CFLAGS="$X_CFLAGS -I$x_includes"
32721 fi
32722
32723 # It would also be nice to do this for all -L options, not just this one.
32724 if test -n "$x_libraries"; then
32725 X_LIBS="$X_LIBS -L$x_libraries"
32726 # For Solaris; some versions of Sun CC require a space after -R and
32727 # others require no space. Words are not sufficient . . . .
32728 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32729 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32730 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32731 ac_xsave_c_werror_flag=$ac_c_werror_flag
32732 ac_c_werror_flag=yes
32733 cat >conftest.$ac_ext <<_ACEOF
32734 /* confdefs.h. */
32735 _ACEOF
32736 cat confdefs.h >>conftest.$ac_ext
32737 cat >>conftest.$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32739
32740 int
32741 main ()
32742 {
32743
32744 ;
32745 return 0;
32746 }
32747 _ACEOF
32748 rm -f conftest.$ac_objext conftest$ac_exeext
32749 if { (ac_try="$ac_link"
32750 case "(($ac_try" in
32751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32752 *) ac_try_echo=$ac_try;;
32753 esac
32754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32755 (eval "$ac_link") 2>conftest.er1
32756 ac_status=$?
32757 grep -v '^ *+' conftest.er1 >conftest.err
32758 rm -f conftest.er1
32759 cat conftest.err >&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } && {
32762 test -z "$ac_c_werror_flag" ||
32763 test ! -s conftest.err
32764 } && test -s conftest$ac_exeext &&
32765 $as_test_x conftest$ac_exeext; then
32766 { echo "$as_me:$LINENO: result: no" >&5
32767 echo "${ECHO_T}no" >&6; }
32768 X_LIBS="$X_LIBS -R$x_libraries"
32769 else
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32772
32773 LIBS="$ac_xsave_LIBS -R $x_libraries"
32774 cat >conftest.$ac_ext <<_ACEOF
32775 /* confdefs.h. */
32776 _ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780
32781 int
32782 main ()
32783 {
32784
32785 ;
32786 return 0;
32787 }
32788 _ACEOF
32789 rm -f conftest.$ac_objext conftest$ac_exeext
32790 if { (ac_try="$ac_link"
32791 case "(($ac_try" in
32792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32793 *) ac_try_echo=$ac_try;;
32794 esac
32795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32796 (eval "$ac_link") 2>conftest.er1
32797 ac_status=$?
32798 grep -v '^ *+' conftest.er1 >conftest.err
32799 rm -f conftest.er1
32800 cat conftest.err >&5
32801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802 (exit $ac_status); } && {
32803 test -z "$ac_c_werror_flag" ||
32804 test ! -s conftest.err
32805 } && test -s conftest$ac_exeext &&
32806 $as_test_x conftest$ac_exeext; then
32807 { echo "$as_me:$LINENO: result: yes" >&5
32808 echo "${ECHO_T}yes" >&6; }
32809 X_LIBS="$X_LIBS -R $x_libraries"
32810 else
32811 echo "$as_me: failed program was:" >&5
32812 sed 's/^/| /' conftest.$ac_ext >&5
32813
32814 { echo "$as_me:$LINENO: result: neither works" >&5
32815 echo "${ECHO_T}neither works" >&6; }
32816 fi
32817
32818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32819 conftest$ac_exeext conftest.$ac_ext
32820 fi
32821
32822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32823 conftest$ac_exeext conftest.$ac_ext
32824 ac_c_werror_flag=$ac_xsave_c_werror_flag
32825 LIBS=$ac_xsave_LIBS
32826 fi
32827
32828 # Check for system-dependent libraries X programs must link with.
32829 # Do this before checking for the system-independent R6 libraries
32830 # (-lICE), since we may need -lsocket or whatever for X linking.
32831
32832 if test "$ISC" = yes; then
32833 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32834 else
32835 # Martyn Johnson says this is needed for Ultrix, if the X
32836 # libraries were built with DECnet support. And Karl Berry says
32837 # the Alpha needs dnet_stub (dnet does not exist).
32838 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32839 cat >conftest.$ac_ext <<_ACEOF
32840 /* confdefs.h. */
32841 _ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845
32846 /* Override any GCC internal prototype to avoid an error.
32847 Use char because int might match the return type of a GCC
32848 builtin and then its argument prototype would still apply. */
32849 #ifdef __cplusplus
32850 extern "C"
32851 #endif
32852 char XOpenDisplay ();
32853 int
32854 main ()
32855 {
32856 return XOpenDisplay ();
32857 ;
32858 return 0;
32859 }
32860 _ACEOF
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (ac_try="$ac_link"
32863 case "(($ac_try" in
32864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32865 *) ac_try_echo=$ac_try;;
32866 esac
32867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32868 (eval "$ac_link") 2>conftest.er1
32869 ac_status=$?
32870 grep -v '^ *+' conftest.er1 >conftest.err
32871 rm -f conftest.er1
32872 cat conftest.err >&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } && {
32875 test -z "$ac_c_werror_flag" ||
32876 test ! -s conftest.err
32877 } && test -s conftest$ac_exeext &&
32878 $as_test_x conftest$ac_exeext; then
32879 :
32880 else
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32883
32884 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32885 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32886 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32888 else
32889 ac_check_lib_save_LIBS=$LIBS
32890 LIBS="-ldnet $LIBS"
32891 cat >conftest.$ac_ext <<_ACEOF
32892 /* confdefs.h. */
32893 _ACEOF
32894 cat confdefs.h >>conftest.$ac_ext
32895 cat >>conftest.$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32897
32898 /* Override any GCC internal prototype to avoid an error.
32899 Use char because int might match the return type of a GCC
32900 builtin and then its argument prototype would still apply. */
32901 #ifdef __cplusplus
32902 extern "C"
32903 #endif
32904 char dnet_ntoa ();
32905 int
32906 main ()
32907 {
32908 return dnet_ntoa ();
32909 ;
32910 return 0;
32911 }
32912 _ACEOF
32913 rm -f conftest.$ac_objext conftest$ac_exeext
32914 if { (ac_try="$ac_link"
32915 case "(($ac_try" in
32916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32917 *) ac_try_echo=$ac_try;;
32918 esac
32919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32920 (eval "$ac_link") 2>conftest.er1
32921 ac_status=$?
32922 grep -v '^ *+' conftest.er1 >conftest.err
32923 rm -f conftest.er1
32924 cat conftest.err >&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } && {
32927 test -z "$ac_c_werror_flag" ||
32928 test ! -s conftest.err
32929 } && test -s conftest$ac_exeext &&
32930 $as_test_x conftest$ac_exeext; then
32931 ac_cv_lib_dnet_dnet_ntoa=yes
32932 else
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.$ac_ext >&5
32935
32936 ac_cv_lib_dnet_dnet_ntoa=no
32937 fi
32938
32939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32940 conftest$ac_exeext conftest.$ac_ext
32941 LIBS=$ac_check_lib_save_LIBS
32942 fi
32943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32944 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32945 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32946 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32947 fi
32948
32949 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32950 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32951 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32952 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32953 echo $ECHO_N "(cached) $ECHO_C" >&6
32954 else
32955 ac_check_lib_save_LIBS=$LIBS
32956 LIBS="-ldnet_stub $LIBS"
32957 cat >conftest.$ac_ext <<_ACEOF
32958 /* confdefs.h. */
32959 _ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963
32964 /* Override any GCC internal prototype to avoid an error.
32965 Use char because int might match the return type of a GCC
32966 builtin and then its argument prototype would still apply. */
32967 #ifdef __cplusplus
32968 extern "C"
32969 #endif
32970 char dnet_ntoa ();
32971 int
32972 main ()
32973 {
32974 return dnet_ntoa ();
32975 ;
32976 return 0;
32977 }
32978 _ACEOF
32979 rm -f conftest.$ac_objext conftest$ac_exeext
32980 if { (ac_try="$ac_link"
32981 case "(($ac_try" in
32982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32983 *) ac_try_echo=$ac_try;;
32984 esac
32985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32986 (eval "$ac_link") 2>conftest.er1
32987 ac_status=$?
32988 grep -v '^ *+' conftest.er1 >conftest.err
32989 rm -f conftest.er1
32990 cat conftest.err >&5
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); } && {
32993 test -z "$ac_c_werror_flag" ||
32994 test ! -s conftest.err
32995 } && test -s conftest$ac_exeext &&
32996 $as_test_x conftest$ac_exeext; then
32997 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32998 else
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.$ac_ext >&5
33001
33002 ac_cv_lib_dnet_stub_dnet_ntoa=no
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_check_lib_save_LIBS
33008 fi
33009 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33010 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33011 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33012 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33013 fi
33014
33015 fi
33016 fi
33017
33018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33019 conftest$ac_exeext conftest.$ac_ext
33020 LIBS="$ac_xsave_LIBS"
33021
33022 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33023 # to get the SysV transport functions.
33024 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33025 # needs -lnsl.
33026 # The nsl library prevents programs from opening the X display
33027 # on Irix 5.2, according to T.E. Dickey.
33028 # The functions gethostbyname, getservbyname, and inet_addr are
33029 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33030 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33031 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33032 if test "${ac_cv_func_gethostbyname+set}" = set; then
33033 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 else
33035 cat >conftest.$ac_ext <<_ACEOF
33036 /* confdefs.h. */
33037 _ACEOF
33038 cat confdefs.h >>conftest.$ac_ext
33039 cat >>conftest.$ac_ext <<_ACEOF
33040 /* end confdefs.h. */
33041 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33043 #define gethostbyname innocuous_gethostbyname
33044
33045 /* System header to define __stub macros and hopefully few prototypes,
33046 which can conflict with char gethostbyname (); below.
33047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33048 <limits.h> exists even on freestanding compilers. */
33049
33050 #ifdef __STDC__
33051 # include <limits.h>
33052 #else
33053 # include <assert.h>
33054 #endif
33055
33056 #undef gethostbyname
33057
33058 /* Override any GCC internal prototype to avoid an error.
33059 Use char because int might match the return type of a GCC
33060 builtin and then its argument prototype would still apply. */
33061 #ifdef __cplusplus
33062 extern "C"
33063 #endif
33064 char gethostbyname ();
33065 /* The GNU C library defines this for functions which it implements
33066 to always fail with ENOSYS. Some functions are actually named
33067 something starting with __ and the normal name is an alias. */
33068 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33069 choke me
33070 #endif
33071
33072 int
33073 main ()
33074 {
33075 return gethostbyname ();
33076 ;
33077 return 0;
33078 }
33079 _ACEOF
33080 rm -f conftest.$ac_objext conftest$ac_exeext
33081 if { (ac_try="$ac_link"
33082 case "(($ac_try" in
33083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33084 *) ac_try_echo=$ac_try;;
33085 esac
33086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33087 (eval "$ac_link") 2>conftest.er1
33088 ac_status=$?
33089 grep -v '^ *+' conftest.er1 >conftest.err
33090 rm -f conftest.er1
33091 cat conftest.err >&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } && {
33094 test -z "$ac_c_werror_flag" ||
33095 test ! -s conftest.err
33096 } && test -s conftest$ac_exeext &&
33097 $as_test_x conftest$ac_exeext; then
33098 ac_cv_func_gethostbyname=yes
33099 else
33100 echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.$ac_ext >&5
33102
33103 ac_cv_func_gethostbyname=no
33104 fi
33105
33106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33107 conftest$ac_exeext conftest.$ac_ext
33108 fi
33109 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33110 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33111
33112 if test $ac_cv_func_gethostbyname = no; then
33113 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33114 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33115 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33116 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 else
33118 ac_check_lib_save_LIBS=$LIBS
33119 LIBS="-lnsl $LIBS"
33120 cat >conftest.$ac_ext <<_ACEOF
33121 /* confdefs.h. */
33122 _ACEOF
33123 cat confdefs.h >>conftest.$ac_ext
33124 cat >>conftest.$ac_ext <<_ACEOF
33125 /* end confdefs.h. */
33126
33127 /* Override any GCC internal prototype to avoid an error.
33128 Use char because int might match the return type of a GCC
33129 builtin and then its argument prototype would still apply. */
33130 #ifdef __cplusplus
33131 extern "C"
33132 #endif
33133 char gethostbyname ();
33134 int
33135 main ()
33136 {
33137 return gethostbyname ();
33138 ;
33139 return 0;
33140 }
33141 _ACEOF
33142 rm -f conftest.$ac_objext conftest$ac_exeext
33143 if { (ac_try="$ac_link"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33146 *) ac_try_echo=$ac_try;;
33147 esac
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_link") 2>conftest.er1
33150 ac_status=$?
33151 grep -v '^ *+' conftest.er1 >conftest.err
33152 rm -f conftest.er1
33153 cat conftest.err >&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest$ac_exeext &&
33159 $as_test_x conftest$ac_exeext; then
33160 ac_cv_lib_nsl_gethostbyname=yes
33161 else
33162 echo "$as_me: failed program was:" >&5
33163 sed 's/^/| /' conftest.$ac_ext >&5
33164
33165 ac_cv_lib_nsl_gethostbyname=no
33166 fi
33167
33168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33169 conftest$ac_exeext conftest.$ac_ext
33170 LIBS=$ac_check_lib_save_LIBS
33171 fi
33172 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33173 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33174 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33176 fi
33177
33178 if test $ac_cv_lib_nsl_gethostbyname = no; then
33179 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33180 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33181 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33183 else
33184 ac_check_lib_save_LIBS=$LIBS
33185 LIBS="-lbsd $LIBS"
33186 cat >conftest.$ac_ext <<_ACEOF
33187 /* confdefs.h. */
33188 _ACEOF
33189 cat confdefs.h >>conftest.$ac_ext
33190 cat >>conftest.$ac_ext <<_ACEOF
33191 /* end confdefs.h. */
33192
33193 /* Override any GCC internal prototype to avoid an error.
33194 Use char because int might match the return type of a GCC
33195 builtin and then its argument prototype would still apply. */
33196 #ifdef __cplusplus
33197 extern "C"
33198 #endif
33199 char gethostbyname ();
33200 int
33201 main ()
33202 {
33203 return gethostbyname ();
33204 ;
33205 return 0;
33206 }
33207 _ACEOF
33208 rm -f conftest.$ac_objext conftest$ac_exeext
33209 if { (ac_try="$ac_link"
33210 case "(($ac_try" in
33211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33212 *) ac_try_echo=$ac_try;;
33213 esac
33214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33215 (eval "$ac_link") 2>conftest.er1
33216 ac_status=$?
33217 grep -v '^ *+' conftest.er1 >conftest.err
33218 rm -f conftest.er1
33219 cat conftest.err >&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); } && {
33222 test -z "$ac_c_werror_flag" ||
33223 test ! -s conftest.err
33224 } && test -s conftest$ac_exeext &&
33225 $as_test_x conftest$ac_exeext; then
33226 ac_cv_lib_bsd_gethostbyname=yes
33227 else
33228 echo "$as_me: failed program was:" >&5
33229 sed 's/^/| /' conftest.$ac_ext >&5
33230
33231 ac_cv_lib_bsd_gethostbyname=no
33232 fi
33233
33234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33235 conftest$ac_exeext conftest.$ac_ext
33236 LIBS=$ac_check_lib_save_LIBS
33237 fi
33238 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33239 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33240 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33242 fi
33243
33244 fi
33245 fi
33246
33247 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33248 # socket/setsockopt and other routines are undefined under SCO ODT
33249 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33250 # on later versions), says Simon Leinen: it contains gethostby*
33251 # variants that don't use the name server (or something). -lsocket
33252 # must be given before -lnsl if both are needed. We assume that
33253 # if connect needs -lnsl, so does gethostbyname.
33254 { echo "$as_me:$LINENO: checking for connect" >&5
33255 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33256 if test "${ac_cv_func_connect+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33258 else
33259 cat >conftest.$ac_ext <<_ACEOF
33260 /* confdefs.h. */
33261 _ACEOF
33262 cat confdefs.h >>conftest.$ac_ext
33263 cat >>conftest.$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33265 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33267 #define connect innocuous_connect
33268
33269 /* System header to define __stub macros and hopefully few prototypes,
33270 which can conflict with char connect (); below.
33271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33272 <limits.h> exists even on freestanding compilers. */
33273
33274 #ifdef __STDC__
33275 # include <limits.h>
33276 #else
33277 # include <assert.h>
33278 #endif
33279
33280 #undef connect
33281
33282 /* Override any GCC internal prototype to avoid an error.
33283 Use char because int might match the return type of a GCC
33284 builtin and then its argument prototype would still apply. */
33285 #ifdef __cplusplus
33286 extern "C"
33287 #endif
33288 char connect ();
33289 /* The GNU C library defines this for functions which it implements
33290 to always fail with ENOSYS. Some functions are actually named
33291 something starting with __ and the normal name is an alias. */
33292 #if defined __stub_connect || defined __stub___connect
33293 choke me
33294 #endif
33295
33296 int
33297 main ()
33298 {
33299 return connect ();
33300 ;
33301 return 0;
33302 }
33303 _ACEOF
33304 rm -f conftest.$ac_objext conftest$ac_exeext
33305 if { (ac_try="$ac_link"
33306 case "(($ac_try" in
33307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33308 *) ac_try_echo=$ac_try;;
33309 esac
33310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33311 (eval "$ac_link") 2>conftest.er1
33312 ac_status=$?
33313 grep -v '^ *+' conftest.er1 >conftest.err
33314 rm -f conftest.er1
33315 cat conftest.err >&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); } && {
33318 test -z "$ac_c_werror_flag" ||
33319 test ! -s conftest.err
33320 } && test -s conftest$ac_exeext &&
33321 $as_test_x conftest$ac_exeext; then
33322 ac_cv_func_connect=yes
33323 else
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33326
33327 ac_cv_func_connect=no
33328 fi
33329
33330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33331 conftest$ac_exeext conftest.$ac_ext
33332 fi
33333 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33334 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33335
33336 if test $ac_cv_func_connect = no; then
33337 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33338 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33339 if test "${ac_cv_lib_socket_connect+set}" = set; then
33340 echo $ECHO_N "(cached) $ECHO_C" >&6
33341 else
33342 ac_check_lib_save_LIBS=$LIBS
33343 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33344 cat >conftest.$ac_ext <<_ACEOF
33345 /* confdefs.h. */
33346 _ACEOF
33347 cat confdefs.h >>conftest.$ac_ext
33348 cat >>conftest.$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33350
33351 /* Override any GCC internal prototype to avoid an error.
33352 Use char because int might match the return type of a GCC
33353 builtin and then its argument prototype would still apply. */
33354 #ifdef __cplusplus
33355 extern "C"
33356 #endif
33357 char connect ();
33358 int
33359 main ()
33360 {
33361 return connect ();
33362 ;
33363 return 0;
33364 }
33365 _ACEOF
33366 rm -f conftest.$ac_objext conftest$ac_exeext
33367 if { (ac_try="$ac_link"
33368 case "(($ac_try" in
33369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33370 *) ac_try_echo=$ac_try;;
33371 esac
33372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33373 (eval "$ac_link") 2>conftest.er1
33374 ac_status=$?
33375 grep -v '^ *+' conftest.er1 >conftest.err
33376 rm -f conftest.er1
33377 cat conftest.err >&5
33378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33379 (exit $ac_status); } && {
33380 test -z "$ac_c_werror_flag" ||
33381 test ! -s conftest.err
33382 } && test -s conftest$ac_exeext &&
33383 $as_test_x conftest$ac_exeext; then
33384 ac_cv_lib_socket_connect=yes
33385 else
33386 echo "$as_me: failed program was:" >&5
33387 sed 's/^/| /' conftest.$ac_ext >&5
33388
33389 ac_cv_lib_socket_connect=no
33390 fi
33391
33392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33393 conftest$ac_exeext conftest.$ac_ext
33394 LIBS=$ac_check_lib_save_LIBS
33395 fi
33396 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33397 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33398 if test $ac_cv_lib_socket_connect = yes; then
33399 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33400 fi
33401
33402 fi
33403
33404 # Guillermo Gomez says -lposix is necessary on A/UX.
33405 { echo "$as_me:$LINENO: checking for remove" >&5
33406 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33407 if test "${ac_cv_func_remove+set}" = set; then
33408 echo $ECHO_N "(cached) $ECHO_C" >&6
33409 else
33410 cat >conftest.$ac_ext <<_ACEOF
33411 /* confdefs.h. */
33412 _ACEOF
33413 cat confdefs.h >>conftest.$ac_ext
33414 cat >>conftest.$ac_ext <<_ACEOF
33415 /* end confdefs.h. */
33416 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33418 #define remove innocuous_remove
33419
33420 /* System header to define __stub macros and hopefully few prototypes,
33421 which can conflict with char remove (); below.
33422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33423 <limits.h> exists even on freestanding compilers. */
33424
33425 #ifdef __STDC__
33426 # include <limits.h>
33427 #else
33428 # include <assert.h>
33429 #endif
33430
33431 #undef remove
33432
33433 /* Override any GCC internal prototype to avoid an error.
33434 Use char because int might match the return type of a GCC
33435 builtin and then its argument prototype would still apply. */
33436 #ifdef __cplusplus
33437 extern "C"
33438 #endif
33439 char remove ();
33440 /* The GNU C library defines this for functions which it implements
33441 to always fail with ENOSYS. Some functions are actually named
33442 something starting with __ and the normal name is an alias. */
33443 #if defined __stub_remove || defined __stub___remove
33444 choke me
33445 #endif
33446
33447 int
33448 main ()
33449 {
33450 return remove ();
33451 ;
33452 return 0;
33453 }
33454 _ACEOF
33455 rm -f conftest.$ac_objext conftest$ac_exeext
33456 if { (ac_try="$ac_link"
33457 case "(($ac_try" in
33458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33459 *) ac_try_echo=$ac_try;;
33460 esac
33461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33462 (eval "$ac_link") 2>conftest.er1
33463 ac_status=$?
33464 grep -v '^ *+' conftest.er1 >conftest.err
33465 rm -f conftest.er1
33466 cat conftest.err >&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); } && {
33469 test -z "$ac_c_werror_flag" ||
33470 test ! -s conftest.err
33471 } && test -s conftest$ac_exeext &&
33472 $as_test_x conftest$ac_exeext; then
33473 ac_cv_func_remove=yes
33474 else
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.$ac_ext >&5
33477
33478 ac_cv_func_remove=no
33479 fi
33480
33481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33482 conftest$ac_exeext conftest.$ac_ext
33483 fi
33484 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33485 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33486
33487 if test $ac_cv_func_remove = no; then
33488 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33489 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33490 if test "${ac_cv_lib_posix_remove+set}" = set; then
33491 echo $ECHO_N "(cached) $ECHO_C" >&6
33492 else
33493 ac_check_lib_save_LIBS=$LIBS
33494 LIBS="-lposix $LIBS"
33495 cat >conftest.$ac_ext <<_ACEOF
33496 /* confdefs.h. */
33497 _ACEOF
33498 cat confdefs.h >>conftest.$ac_ext
33499 cat >>conftest.$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501
33502 /* Override any GCC internal prototype to avoid an error.
33503 Use char because int might match the return type of a GCC
33504 builtin and then its argument prototype would still apply. */
33505 #ifdef __cplusplus
33506 extern "C"
33507 #endif
33508 char remove ();
33509 int
33510 main ()
33511 {
33512 return remove ();
33513 ;
33514 return 0;
33515 }
33516 _ACEOF
33517 rm -f conftest.$ac_objext conftest$ac_exeext
33518 if { (ac_try="$ac_link"
33519 case "(($ac_try" in
33520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33521 *) ac_try_echo=$ac_try;;
33522 esac
33523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33524 (eval "$ac_link") 2>conftest.er1
33525 ac_status=$?
33526 grep -v '^ *+' conftest.er1 >conftest.err
33527 rm -f conftest.er1
33528 cat conftest.err >&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } && {
33531 test -z "$ac_c_werror_flag" ||
33532 test ! -s conftest.err
33533 } && test -s conftest$ac_exeext &&
33534 $as_test_x conftest$ac_exeext; then
33535 ac_cv_lib_posix_remove=yes
33536 else
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.$ac_ext >&5
33539
33540 ac_cv_lib_posix_remove=no
33541 fi
33542
33543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33544 conftest$ac_exeext conftest.$ac_ext
33545 LIBS=$ac_check_lib_save_LIBS
33546 fi
33547 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33548 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33549 if test $ac_cv_lib_posix_remove = yes; then
33550 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33551 fi
33552
33553 fi
33554
33555 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33556 { echo "$as_me:$LINENO: checking for shmat" >&5
33557 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33558 if test "${ac_cv_func_shmat+set}" = set; then
33559 echo $ECHO_N "(cached) $ECHO_C" >&6
33560 else
33561 cat >conftest.$ac_ext <<_ACEOF
33562 /* confdefs.h. */
33563 _ACEOF
33564 cat confdefs.h >>conftest.$ac_ext
33565 cat >>conftest.$ac_ext <<_ACEOF
33566 /* end confdefs.h. */
33567 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33569 #define shmat innocuous_shmat
33570
33571 /* System header to define __stub macros and hopefully few prototypes,
33572 which can conflict with char shmat (); below.
33573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33574 <limits.h> exists even on freestanding compilers. */
33575
33576 #ifdef __STDC__
33577 # include <limits.h>
33578 #else
33579 # include <assert.h>
33580 #endif
33581
33582 #undef shmat
33583
33584 /* Override any GCC internal prototype to avoid an error.
33585 Use char because int might match the return type of a GCC
33586 builtin and then its argument prototype would still apply. */
33587 #ifdef __cplusplus
33588 extern "C"
33589 #endif
33590 char shmat ();
33591 /* The GNU C library defines this for functions which it implements
33592 to always fail with ENOSYS. Some functions are actually named
33593 something starting with __ and the normal name is an alias. */
33594 #if defined __stub_shmat || defined __stub___shmat
33595 choke me
33596 #endif
33597
33598 int
33599 main ()
33600 {
33601 return shmat ();
33602 ;
33603 return 0;
33604 }
33605 _ACEOF
33606 rm -f conftest.$ac_objext conftest$ac_exeext
33607 if { (ac_try="$ac_link"
33608 case "(($ac_try" in
33609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33610 *) ac_try_echo=$ac_try;;
33611 esac
33612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33613 (eval "$ac_link") 2>conftest.er1
33614 ac_status=$?
33615 grep -v '^ *+' conftest.er1 >conftest.err
33616 rm -f conftest.er1
33617 cat conftest.err >&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); } && {
33620 test -z "$ac_c_werror_flag" ||
33621 test ! -s conftest.err
33622 } && test -s conftest$ac_exeext &&
33623 $as_test_x conftest$ac_exeext; then
33624 ac_cv_func_shmat=yes
33625 else
33626 echo "$as_me: failed program was:" >&5
33627 sed 's/^/| /' conftest.$ac_ext >&5
33628
33629 ac_cv_func_shmat=no
33630 fi
33631
33632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33633 conftest$ac_exeext conftest.$ac_ext
33634 fi
33635 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33636 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33637
33638 if test $ac_cv_func_shmat = no; then
33639 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33640 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33641 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 else
33644 ac_check_lib_save_LIBS=$LIBS
33645 LIBS="-lipc $LIBS"
33646 cat >conftest.$ac_ext <<_ACEOF
33647 /* confdefs.h. */
33648 _ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652
33653 /* Override any GCC internal prototype to avoid an error.
33654 Use char because int might match the return type of a GCC
33655 builtin and then its argument prototype would still apply. */
33656 #ifdef __cplusplus
33657 extern "C"
33658 #endif
33659 char shmat ();
33660 int
33661 main ()
33662 {
33663 return shmat ();
33664 ;
33665 return 0;
33666 }
33667 _ACEOF
33668 rm -f conftest.$ac_objext conftest$ac_exeext
33669 if { (ac_try="$ac_link"
33670 case "(($ac_try" in
33671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33672 *) ac_try_echo=$ac_try;;
33673 esac
33674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33675 (eval "$ac_link") 2>conftest.er1
33676 ac_status=$?
33677 grep -v '^ *+' conftest.er1 >conftest.err
33678 rm -f conftest.er1
33679 cat conftest.err >&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); } && {
33682 test -z "$ac_c_werror_flag" ||
33683 test ! -s conftest.err
33684 } && test -s conftest$ac_exeext &&
33685 $as_test_x conftest$ac_exeext; then
33686 ac_cv_lib_ipc_shmat=yes
33687 else
33688 echo "$as_me: failed program was:" >&5
33689 sed 's/^/| /' conftest.$ac_ext >&5
33690
33691 ac_cv_lib_ipc_shmat=no
33692 fi
33693
33694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33695 conftest$ac_exeext conftest.$ac_ext
33696 LIBS=$ac_check_lib_save_LIBS
33697 fi
33698 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33699 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33700 if test $ac_cv_lib_ipc_shmat = yes; then
33701 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33702 fi
33703
33704 fi
33705 fi
33706
33707 # Check for libraries that X11R6 Xt/Xaw programs need.
33708 ac_save_LDFLAGS=$LDFLAGS
33709 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33710 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33711 # check for ICE first), but we must link in the order -lSM -lICE or
33712 # we get undefined symbols. So assume we have SM if we have ICE.
33713 # These have to be linked with before -lX11, unlike the other
33714 # libraries we check for below, so use a different variable.
33715 # John Interrante, Karl Berry
33716 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33717 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33718 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33719 echo $ECHO_N "(cached) $ECHO_C" >&6
33720 else
33721 ac_check_lib_save_LIBS=$LIBS
33722 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729
33730 /* Override any GCC internal prototype to avoid an error.
33731 Use char because int might match the return type of a GCC
33732 builtin and then its argument prototype would still apply. */
33733 #ifdef __cplusplus
33734 extern "C"
33735 #endif
33736 char IceConnectionNumber ();
33737 int
33738 main ()
33739 {
33740 return IceConnectionNumber ();
33741 ;
33742 return 0;
33743 }
33744 _ACEOF
33745 rm -f conftest.$ac_objext conftest$ac_exeext
33746 if { (ac_try="$ac_link"
33747 case "(($ac_try" in
33748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33749 *) ac_try_echo=$ac_try;;
33750 esac
33751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33752 (eval "$ac_link") 2>conftest.er1
33753 ac_status=$?
33754 grep -v '^ *+' conftest.er1 >conftest.err
33755 rm -f conftest.er1
33756 cat conftest.err >&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); } && {
33759 test -z "$ac_c_werror_flag" ||
33760 test ! -s conftest.err
33761 } && test -s conftest$ac_exeext &&
33762 $as_test_x conftest$ac_exeext; then
33763 ac_cv_lib_ICE_IceConnectionNumber=yes
33764 else
33765 echo "$as_me: failed program was:" >&5
33766 sed 's/^/| /' conftest.$ac_ext >&5
33767
33768 ac_cv_lib_ICE_IceConnectionNumber=no
33769 fi
33770
33771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33772 conftest$ac_exeext conftest.$ac_ext
33773 LIBS=$ac_check_lib_save_LIBS
33774 fi
33775 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33776 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33777 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33778 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33779 fi
33780
33781 LDFLAGS=$ac_save_LDFLAGS
33782
33783 fi
33784
33785
33786 if test "$no_x" = "yes"; then
33787 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33788 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33789 { (exit 1); exit 1; }; }
33790 fi
33791
33792 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33793 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33794 AFMINSTALL=afminstall
33795 COMPILED_X_PROGRAM=0
33796
33797 fi
33798
33799 if test "$wxUSE_X11" = 1; then
33800 if test "$wxUSE_NANOX" = "yes"; then
33801 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33802 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33803 if test "x$MICROWIN" = x ; then
33804 { echo "$as_me:$LINENO: result: not found" >&5
33805 echo "${ECHO_T}not found" >&6; }
33806 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33807 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33808 { (exit 1); exit 1; }; }
33809 else
33810 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33811 echo "${ECHO_T}$MICROWIN" >&6; }
33812 cat >>confdefs.h <<\_ACEOF
33813 #define wxUSE_NANOX 1
33814 _ACEOF
33815
33816 fi
33817 fi
33818
33819 if test "$wxUSE_UNICODE" = "yes"; then
33820
33821
33822 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33823 if test -n "$ac_tool_prefix"; then
33824 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33825 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33828 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 else
33831 case $PKG_CONFIG in
33832 [\\/]* | ?:[\\/]*)
33833 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33834 ;;
33835 *)
33836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33837 for as_dir in $PATH
33838 do
33839 IFS=$as_save_IFS
33840 test -z "$as_dir" && as_dir=.
33841 for ac_exec_ext in '' $ac_executable_extensions; do
33842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33843 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33845 break 2
33846 fi
33847 done
33848 done
33849 IFS=$as_save_IFS
33850
33851 ;;
33852 esac
33853 fi
33854 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33855 if test -n "$PKG_CONFIG"; then
33856 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33857 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33858 else
33859 { echo "$as_me:$LINENO: result: no" >&5
33860 echo "${ECHO_T}no" >&6; }
33861 fi
33862
33863
33864 fi
33865 if test -z "$ac_cv_path_PKG_CONFIG"; then
33866 ac_pt_PKG_CONFIG=$PKG_CONFIG
33867 # Extract the first word of "pkg-config", so it can be a program name with args.
33868 set dummy pkg-config; ac_word=$2
33869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33871 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 else
33874 case $ac_pt_PKG_CONFIG in
33875 [\\/]* | ?:[\\/]*)
33876 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33877 ;;
33878 *)
33879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33880 for as_dir in $PATH
33881 do
33882 IFS=$as_save_IFS
33883 test -z "$as_dir" && as_dir=.
33884 for ac_exec_ext in '' $ac_executable_extensions; do
33885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33886 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33888 break 2
33889 fi
33890 done
33891 done
33892 IFS=$as_save_IFS
33893
33894 ;;
33895 esac
33896 fi
33897 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33898 if test -n "$ac_pt_PKG_CONFIG"; then
33899 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33900 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33901 else
33902 { echo "$as_me:$LINENO: result: no" >&5
33903 echo "${ECHO_T}no" >&6; }
33904 fi
33905
33906 if test "x$ac_pt_PKG_CONFIG" = x; then
33907 PKG_CONFIG=""
33908 else
33909 case $cross_compiling:$ac_tool_warned in
33910 yes:)
33911 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33912 whose name does not start with the host triplet. If you think this
33913 configuration is useful to you, please write to autoconf@gnu.org." >&5
33914 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33915 whose name does not start with the host triplet. If you think this
33916 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33917 ac_tool_warned=yes ;;
33918 esac
33919 PKG_CONFIG=$ac_pt_PKG_CONFIG
33920 fi
33921 else
33922 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33923 fi
33924
33925 fi
33926 if test -n "$PKG_CONFIG"; then
33927 _pkg_min_version=0.9.0
33928 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33929 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33930 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33931 { echo "$as_me:$LINENO: result: yes" >&5
33932 echo "${ECHO_T}yes" >&6; }
33933 else
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33936 PKG_CONFIG=""
33937 fi
33938
33939 fi
33940
33941
33942 pkg_failed=no
33943 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33944 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33945
33946 if test -n "$PKG_CONFIG"; then
33947 if test -n "$PANGOX_CFLAGS"; then
33948 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33949 else
33950 if test -n "$PKG_CONFIG" && \
33951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33952 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33953 ac_status=$?
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); }; then
33956 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33957 else
33958 pkg_failed=yes
33959 fi
33960 fi
33961 else
33962 pkg_failed=untried
33963 fi
33964 if test -n "$PKG_CONFIG"; then
33965 if test -n "$PANGOX_LIBS"; then
33966 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33967 else
33968 if test -n "$PKG_CONFIG" && \
33969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33970 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33971 ac_status=$?
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; then
33974 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33975 else
33976 pkg_failed=yes
33977 fi
33978 fi
33979 else
33980 pkg_failed=untried
33981 fi
33982
33983
33984
33985 if test $pkg_failed = yes; then
33986
33987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33988 _pkg_short_errors_supported=yes
33989 else
33990 _pkg_short_errors_supported=no
33991 fi
33992 if test $_pkg_short_errors_supported = yes; then
33993 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33994 else
33995 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33996 fi
33997 # Put the nasty error message in config.log where it belongs
33998 echo "$PANGOX_PKG_ERRORS" >&5
33999
34000
34001 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34002 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34003 { (exit 1); exit 1; }; }
34004
34005
34006 elif test $pkg_failed = untried; then
34007
34008 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34009 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34010 { (exit 1); exit 1; }; }
34011
34012
34013 else
34014 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34015 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34016 { echo "$as_me:$LINENO: result: yes" >&5
34017 echo "${ECHO_T}yes" >&6; }
34018
34019 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34020 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34021 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34022
34023 fi
34024
34025 pkg_failed=no
34026 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34027 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34028
34029 if test -n "$PKG_CONFIG"; then
34030 if test -n "$PANGOFT2_CFLAGS"; then
34031 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34032 else
34033 if test -n "$PKG_CONFIG" && \
34034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34035 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34036 ac_status=$?
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); }; then
34039 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34040 else
34041 pkg_failed=yes
34042 fi
34043 fi
34044 else
34045 pkg_failed=untried
34046 fi
34047 if test -n "$PKG_CONFIG"; then
34048 if test -n "$PANGOFT2_LIBS"; then
34049 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34050 else
34051 if test -n "$PKG_CONFIG" && \
34052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34053 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34054 ac_status=$?
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); }; then
34057 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34058 else
34059 pkg_failed=yes
34060 fi
34061 fi
34062 else
34063 pkg_failed=untried
34064 fi
34065
34066
34067
34068 if test $pkg_failed = yes; then
34069
34070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34071 _pkg_short_errors_supported=yes
34072 else
34073 _pkg_short_errors_supported=no
34074 fi
34075 if test $_pkg_short_errors_supported = yes; then
34076 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34077 else
34078 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34079 fi
34080 # Put the nasty error message in config.log where it belongs
34081 echo "$PANGOFT2_PKG_ERRORS" >&5
34082
34083
34084 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34085 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34086 wxUSE_PRINTING_ARCHITECTURE="no"
34087
34088
34089 elif test $pkg_failed = untried; then
34090
34091 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34092 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34093 wxUSE_PRINTING_ARCHITECTURE="no"
34094
34095
34096 else
34097 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34098 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34099 { echo "$as_me:$LINENO: result: yes" >&5
34100 echo "${ECHO_T}yes" >&6; }
34101
34102 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34103 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34104 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34105
34106 fi
34107
34108 pkg_failed=no
34109 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34110 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34111
34112 if test -n "$PKG_CONFIG"; then
34113 if test -n "$PANGOXFT_CFLAGS"; then
34114 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34115 else
34116 if test -n "$PKG_CONFIG" && \
34117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34118 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34119 ac_status=$?
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); }; then
34122 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34123 else
34124 pkg_failed=yes
34125 fi
34126 fi
34127 else
34128 pkg_failed=untried
34129 fi
34130 if test -n "$PKG_CONFIG"; then
34131 if test -n "$PANGOXFT_LIBS"; then
34132 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34133 else
34134 if test -n "$PKG_CONFIG" && \
34135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34136 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34137 ac_status=$?
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; then
34140 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34141 else
34142 pkg_failed=yes
34143 fi
34144 fi
34145 else
34146 pkg_failed=untried
34147 fi
34148
34149
34150
34151 if test $pkg_failed = yes; then
34152
34153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34154 _pkg_short_errors_supported=yes
34155 else
34156 _pkg_short_errors_supported=no
34157 fi
34158 if test $_pkg_short_errors_supported = yes; then
34159 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34160 else
34161 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34162 fi
34163 # Put the nasty error message in config.log where it belongs
34164 echo "$PANGOXFT_PKG_ERRORS" >&5
34165
34166
34167 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34168 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34169
34170
34171 elif test $pkg_failed = untried; then
34172
34173 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34174 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34175
34176
34177 else
34178 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34179 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34180 { echo "$as_me:$LINENO: result: yes" >&5
34181 echo "${ECHO_T}yes" >&6; }
34182
34183 cat >>confdefs.h <<\_ACEOF
34184 #define HAVE_PANGO_XFT 1
34185 _ACEOF
34186
34187 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34188 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34190
34191 fi
34192 save_LIBS="$LIBS"
34193 LIBS="$LIBS $PANGOX_LIBS"
34194
34195 for ac_func in pango_font_family_is_monospace
34196 do
34197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34200 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 else
34203 cat >conftest.$ac_ext <<_ACEOF
34204 /* confdefs.h. */
34205 _ACEOF
34206 cat confdefs.h >>conftest.$ac_ext
34207 cat >>conftest.$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34211 #define $ac_func innocuous_$ac_func
34212
34213 /* System header to define __stub macros and hopefully few prototypes,
34214 which can conflict with char $ac_func (); below.
34215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34216 <limits.h> exists even on freestanding compilers. */
34217
34218 #ifdef __STDC__
34219 # include <limits.h>
34220 #else
34221 # include <assert.h>
34222 #endif
34223
34224 #undef $ac_func
34225
34226 /* Override any GCC internal prototype to avoid an error.
34227 Use char because int might match the return type of a GCC
34228 builtin and then its argument prototype would still apply. */
34229 #ifdef __cplusplus
34230 extern "C"
34231 #endif
34232 char $ac_func ();
34233 /* The GNU C library defines this for functions which it implements
34234 to always fail with ENOSYS. Some functions are actually named
34235 something starting with __ and the normal name is an alias. */
34236 #if defined __stub_$ac_func || defined __stub___$ac_func
34237 choke me
34238 #endif
34239
34240 int
34241 main ()
34242 {
34243 return $ac_func ();
34244 ;
34245 return 0;
34246 }
34247 _ACEOF
34248 rm -f conftest.$ac_objext conftest$ac_exeext
34249 if { (ac_try="$ac_link"
34250 case "(($ac_try" in
34251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34252 *) ac_try_echo=$ac_try;;
34253 esac
34254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34255 (eval "$ac_link") 2>conftest.er1
34256 ac_status=$?
34257 grep -v '^ *+' conftest.er1 >conftest.err
34258 rm -f conftest.er1
34259 cat conftest.err >&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } && {
34262 test -z "$ac_c_werror_flag" ||
34263 test ! -s conftest.err
34264 } && test -s conftest$ac_exeext &&
34265 $as_test_x conftest$ac_exeext; then
34266 eval "$as_ac_var=yes"
34267 else
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34270
34271 eval "$as_ac_var=no"
34272 fi
34273
34274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34275 conftest$ac_exeext conftest.$ac_ext
34276 fi
34277 ac_res=`eval echo '${'$as_ac_var'}'`
34278 { echo "$as_me:$LINENO: result: $ac_res" >&5
34279 echo "${ECHO_T}$ac_res" >&6; }
34280 if test `eval echo '${'$as_ac_var'}'` = yes; then
34281 cat >>confdefs.h <<_ACEOF
34282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34283 _ACEOF
34284
34285 fi
34286 done
34287
34288 LIBS="$save_LIBS"
34289 fi
34290
34291 wxUSE_UNIVERSAL="yes"
34292
34293 if test "$wxUSE_NANOX" = "yes"; then
34294 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34295 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"
34296 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34297 else
34298 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34299 fi
34300
34301 TOOLKIT=X11
34302 GUIDIST=X11_DIST
34303 fi
34304
34305 if test "$wxUSE_MOTIF" = 1; then
34306 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34307 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34308
34309 ac_find_includes=
34310 for ac_dir in $SEARCH_INCLUDE /usr/include;
34311 do
34312 if test -f "$ac_dir/Xm/Xm.h"; then
34313 ac_find_includes=$ac_dir
34314 break
34315 fi
34316 done
34317
34318 if test "$ac_find_includes" != "" ; then
34319 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34320 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34321
34322 if test "x$ac_find_includes" = "x/usr/include"; then
34323 ac_path_to_include=""
34324 else
34325 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34326 result=$?
34327 if test $result = 0; then
34328 ac_path_to_include=""
34329 else
34330 ac_path_to_include=" -I$ac_find_includes"
34331 fi
34332 fi
34333
34334 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34335 else
34336 save_CFLAGS=$CFLAGS
34337 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34338
34339 cat >conftest.$ac_ext <<_ACEOF
34340 /* confdefs.h. */
34341 _ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34345
34346 #include <Xm/Xm.h>
34347
34348 int
34349 main ()
34350 {
34351
34352 int version;
34353 version = xmUseVersion;
34354
34355 ;
34356 return 0;
34357 }
34358 _ACEOF
34359 rm -f conftest.$ac_objext
34360 if { (ac_try="$ac_compile"
34361 case "(($ac_try" in
34362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34363 *) ac_try_echo=$ac_try;;
34364 esac
34365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34366 (eval "$ac_compile") 2>conftest.er1
34367 ac_status=$?
34368 grep -v '^ *+' conftest.er1 >conftest.err
34369 rm -f conftest.er1
34370 cat conftest.err >&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } && {
34373 test -z "$ac_c_werror_flag" ||
34374 test ! -s conftest.err
34375 } && test -s conftest.$ac_objext; then
34376
34377 { echo "$as_me:$LINENO: result: found in default search path" >&5
34378 echo "${ECHO_T}found in default search path" >&6; }
34379 COMPILED_X_PROGRAM=1
34380
34381 else
34382 echo "$as_me: failed program was:" >&5
34383 sed 's/^/| /' conftest.$ac_ext >&5
34384
34385
34386 { echo "$as_me:$LINENO: result: no" >&5
34387 echo "${ECHO_T}no" >&6; }
34388 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34389 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34390 { (exit 1); exit 1; }; }
34391
34392
34393 fi
34394
34395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34396
34397 CFLAGS=$save_CFLAGS
34398 fi
34399
34400
34401 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34402 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34403
34404 ac_find_libraries=
34405 for ac_dir in $SEARCH_LIB;
34406 do
34407 for ac_extension in a so sl dylib dll.a; do
34408 if test -f "$ac_dir/libXm.$ac_extension"; then
34409 ac_find_libraries=$ac_dir
34410 break 2
34411 fi
34412 done
34413 done
34414
34415
34416 if test "x$ac_find_libraries" != "x" ; then
34417 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34418 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34419
34420
34421 if test "$ac_find_libraries" = "default location"; then
34422 ac_path_to_link=""
34423 else
34424 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34425 result=$?
34426 if test $result = 0; then
34427 ac_path_to_link=""
34428 else
34429 ac_path_to_link=" -L$ac_find_libraries"
34430 fi
34431 fi
34432
34433 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34434 else
34435 save_CFLAGS=$CFLAGS
34436 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34437 save_LIBS="$LIBS"
34438 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34439
34440 cat >conftest.$ac_ext <<_ACEOF
34441 /* confdefs.h. */
34442 _ACEOF
34443 cat confdefs.h >>conftest.$ac_ext
34444 cat >>conftest.$ac_ext <<_ACEOF
34445 /* end confdefs.h. */
34446
34447 #include <Xm/Xm.h>
34448
34449 int
34450 main ()
34451 {
34452
34453 int version;
34454 version = xmUseVersion;
34455
34456 ;
34457 return 0;
34458 }
34459 _ACEOF
34460 rm -f conftest.$ac_objext conftest$ac_exeext
34461 if { (ac_try="$ac_link"
34462 case "(($ac_try" in
34463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34464 *) ac_try_echo=$ac_try;;
34465 esac
34466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34467 (eval "$ac_link") 2>conftest.er1
34468 ac_status=$?
34469 grep -v '^ *+' conftest.er1 >conftest.err
34470 rm -f conftest.er1
34471 cat conftest.err >&5
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); } && {
34474 test -z "$ac_c_werror_flag" ||
34475 test ! -s conftest.err
34476 } && test -s conftest$ac_exeext &&
34477 $as_test_x conftest$ac_exeext; then
34478
34479 { echo "$as_me:$LINENO: result: found in default search path" >&5
34480 echo "${ECHO_T}found in default search path" >&6; }
34481 COMPILED_X_PROGRAM=1
34482
34483 else
34484 echo "$as_me: failed program was:" >&5
34485 sed 's/^/| /' conftest.$ac_ext >&5
34486
34487
34488 { echo "$as_me:$LINENO: result: no" >&5
34489 echo "${ECHO_T}no" >&6; }
34490 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34491 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34492 { (exit 1); exit 1; }; }
34493
34494
34495 fi
34496
34497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34498 conftest$ac_exeext conftest.$ac_ext
34499
34500 CFLAGS=$save_CFLAGS
34501 LIBS="$save_LIBS"
34502 fi
34503
34504 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34505 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34506 libp_link=""
34507 libsm_ice_link=""
34508 libs_found=0
34509 for libp in "" " -lXp"; do
34510 if test "$libs_found" = "0"; then
34511 for libsm_ice in "" " -lSM -lICE"; do
34512 if test "$libs_found" = "0"; then
34513 save_LIBS="$LIBS"
34514 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34515 save_CFLAGS=$CFLAGS
34516 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34517
34518 cat >conftest.$ac_ext <<_ACEOF
34519 /* confdefs.h. */
34520 _ACEOF
34521 cat confdefs.h >>conftest.$ac_ext
34522 cat >>conftest.$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524
34525 #include <Xm/Xm.h>
34526 #include <Xm/List.h>
34527
34528 int
34529 main ()
34530 {
34531
34532 XmString string = NULL;
34533 Widget w = NULL;
34534 int position = 0;
34535 XmListAddItem(w, string, position);
34536
34537 ;
34538 return 0;
34539 }
34540 _ACEOF
34541 rm -f conftest.$ac_objext conftest$ac_exeext
34542 if { (ac_try="$ac_link"
34543 case "(($ac_try" in
34544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34545 *) ac_try_echo=$ac_try;;
34546 esac
34547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34548 (eval "$ac_link") 2>conftest.er1
34549 ac_status=$?
34550 grep -v '^ *+' conftest.er1 >conftest.err
34551 rm -f conftest.er1
34552 cat conftest.err >&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } && {
34555 test -z "$ac_c_werror_flag" ||
34556 test ! -s conftest.err
34557 } && test -s conftest$ac_exeext &&
34558 $as_test_x conftest$ac_exeext; then
34559
34560 libp_link="$libp"
34561 libsm_ice_link="$libsm_ice"
34562 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34563 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34564 libs_found=1
34565
34566 else
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.$ac_ext >&5
34569
34570
34571
34572 fi
34573
34574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34575 conftest$ac_exeext conftest.$ac_ext
34576
34577 LIBS="$save_LIBS"
34578 CFLAGS=$save_CFLAGS
34579 fi
34580 done
34581 fi
34582 done
34583
34584 if test "$libs_found" = "0"; then
34585 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34586 echo "${ECHO_T}can't find the right libraries" >&6; }
34587 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34588 echo "$as_me: error: can't link a simple motif program" >&2;}
34589 { (exit 1); exit 1; }; }
34590 fi
34591
34592 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34593 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34594 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34596 else
34597 ac_check_lib_save_LIBS=$LIBS
34598 LIBS="-lSgm $LIBS"
34599 cat >conftest.$ac_ext <<_ACEOF
34600 /* confdefs.h. */
34601 _ACEOF
34602 cat confdefs.h >>conftest.$ac_ext
34603 cat >>conftest.$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34605
34606 /* Override any GCC internal prototype to avoid an error.
34607 Use char because int might match the return type of a GCC
34608 builtin and then its argument prototype would still apply. */
34609 #ifdef __cplusplus
34610 extern "C"
34611 #endif
34612 char SgCreateList ();
34613 int
34614 main ()
34615 {
34616 return SgCreateList ();
34617 ;
34618 return 0;
34619 }
34620 _ACEOF
34621 rm -f conftest.$ac_objext conftest$ac_exeext
34622 if { (ac_try="$ac_link"
34623 case "(($ac_try" in
34624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34625 *) ac_try_echo=$ac_try;;
34626 esac
34627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34628 (eval "$ac_link") 2>conftest.er1
34629 ac_status=$?
34630 grep -v '^ *+' conftest.er1 >conftest.err
34631 rm -f conftest.er1
34632 cat conftest.err >&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } && {
34635 test -z "$ac_c_werror_flag" ||
34636 test ! -s conftest.err
34637 } && test -s conftest$ac_exeext &&
34638 $as_test_x conftest$ac_exeext; then
34639 ac_cv_lib_Sgm_SgCreateList=yes
34640 else
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34643
34644 ac_cv_lib_Sgm_SgCreateList=no
34645 fi
34646
34647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34648 conftest$ac_exeext conftest.$ac_ext
34649 LIBS=$ac_check_lib_save_LIBS
34650 fi
34651 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34652 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34653 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34654 libsgm_link=" -lSgm"
34655 fi
34656
34657
34658 save_CFLAGS=$CFLAGS
34659 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34660
34661 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34662 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34663 if test "${wx_cv_lib_motif2+set}" = set; then
34664 echo $ECHO_N "(cached) $ECHO_C" >&6
34665 else
34666 cat >conftest.$ac_ext <<_ACEOF
34667 /* confdefs.h. */
34668 _ACEOF
34669 cat confdefs.h >>conftest.$ac_ext
34670 cat >>conftest.$ac_ext <<_ACEOF
34671 /* end confdefs.h. */
34672
34673 #include <Xm/Xm.h>
34674
34675 int
34676 main ()
34677 {
34678
34679 #if XmVersion < 2000
34680 Not Motif 2
34681 #endif
34682
34683 ;
34684 return 0;
34685 }
34686 _ACEOF
34687 rm -f conftest.$ac_objext
34688 if { (ac_try="$ac_compile"
34689 case "(($ac_try" in
34690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34691 *) ac_try_echo=$ac_try;;
34692 esac
34693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34694 (eval "$ac_compile") 2>conftest.er1
34695 ac_status=$?
34696 grep -v '^ *+' conftest.er1 >conftest.err
34697 rm -f conftest.er1
34698 cat conftest.err >&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); } && {
34701 test -z "$ac_c_werror_flag" ||
34702 test ! -s conftest.err
34703 } && test -s conftest.$ac_objext; then
34704 wx_cv_lib_motif2="yes"
34705 else
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34708
34709 wx_cv_lib_motif2="no"
34710 fi
34711
34712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34713 fi
34714 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34715 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34716 if test "$wx_cv_lib_motif2" = "yes"; then
34717 cat >>confdefs.h <<\_ACEOF
34718 #define __WXMOTIF20__ 1
34719 _ACEOF
34720
34721 else
34722 cat >>confdefs.h <<\_ACEOF
34723 #define __WXMOTIF20__ 0
34724 _ACEOF
34725
34726 fi
34727
34728 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34729 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34730 if test "${wx_cv_lib_lesstif+set}" = set; then
34731 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 else
34733 cat >conftest.$ac_ext <<_ACEOF
34734 /* confdefs.h. */
34735 _ACEOF
34736 cat confdefs.h >>conftest.$ac_ext
34737 cat >>conftest.$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34739
34740 #include <Xm/Xm.h>
34741
34742 int
34743 main ()
34744 {
34745
34746 #if !defined(LesstifVersion) || LesstifVersion <= 0
34747 Not Lesstif
34748 #endif
34749
34750 ;
34751 return 0;
34752 }
34753 _ACEOF
34754 rm -f conftest.$ac_objext
34755 if { (ac_try="$ac_compile"
34756 case "(($ac_try" in
34757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34758 *) ac_try_echo=$ac_try;;
34759 esac
34760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34761 (eval "$ac_compile") 2>conftest.er1
34762 ac_status=$?
34763 grep -v '^ *+' conftest.er1 >conftest.err
34764 rm -f conftest.er1
34765 cat conftest.err >&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); } && {
34768 test -z "$ac_c_werror_flag" ||
34769 test ! -s conftest.err
34770 } && test -s conftest.$ac_objext; then
34771 wx_cv_lib_lesstif="yes"
34772 else
34773 echo "$as_me: failed program was:" >&5
34774 sed 's/^/| /' conftest.$ac_ext >&5
34775
34776 wx_cv_lib_lesstif="no"
34777 fi
34778
34779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34780
34781 fi
34782 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34783 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34784 if test "$wx_cv_lib_lesstif" = "yes"; then
34785 cat >>confdefs.h <<\_ACEOF
34786 #define __WXLESSTIF__ 1
34787 _ACEOF
34788
34789 else
34790 cat >>confdefs.h <<\_ACEOF
34791 #define __WXLESSTIF__ 0
34792 _ACEOF
34793
34794 fi
34795
34796 CFLAGS=$save_CFLAGS
34797
34798 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34799 TOOLKIT=MOTIF
34800 GUIDIST=MOTIF_DIST
34801 fi
34802
34803 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34804 if test "$wxUSE_LIBXPM" = "sys"; then
34805 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34806 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34807
34808 ac_find_libraries=
34809 for ac_dir in $SEARCH_LIB;
34810 do
34811 for ac_extension in a so sl dylib dll.a; do
34812 if test -f "$ac_dir/libXpm.$ac_extension"; then
34813 ac_find_libraries=$ac_dir
34814 break 2
34815 fi
34816 done
34817 done
34818
34819 if test "$ac_find_libraries" != "" ; then
34820
34821 if test "$ac_find_libraries" = "default location"; then
34822 ac_path_to_link=""
34823 else
34824 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34825 result=$?
34826 if test $result = 0; then
34827 ac_path_to_link=""
34828 else
34829 ac_path_to_link=" -L$ac_find_libraries"
34830 fi
34831 fi
34832
34833 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34834 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34835 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34836
34837 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34838 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34839 if test "${wx_cv_x11_xpm_h+set}" = set; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 else
34842
34843 save_CFLAGS=$CFLAGS
34844 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34845
34846 cat >conftest.$ac_ext <<_ACEOF
34847 /* confdefs.h. */
34848 _ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34852
34853 #include <X11/xpm.h>
34854
34855 int
34856 main ()
34857 {
34858
34859 int version;
34860 version = XpmLibraryVersion();
34861
34862 ;
34863 return 0;
34864 }
34865 _ACEOF
34866 rm -f conftest.$ac_objext
34867 if { (ac_try="$ac_compile"
34868 case "(($ac_try" in
34869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34870 *) ac_try_echo=$ac_try;;
34871 esac
34872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34873 (eval "$ac_compile") 2>conftest.er1
34874 ac_status=$?
34875 grep -v '^ *+' conftest.er1 >conftest.err
34876 rm -f conftest.er1
34877 cat conftest.err >&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } && {
34880 test -z "$ac_c_werror_flag" ||
34881 test ! -s conftest.err
34882 } && test -s conftest.$ac_objext; then
34883 wx_cv_x11_xpm_h=yes
34884 else
34885 echo "$as_me: failed program was:" >&5
34886 sed 's/^/| /' conftest.$ac_ext >&5
34887
34888 wx_cv_x11_xpm_h=no
34889
34890 fi
34891
34892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34893
34894 CFLAGS=$save_CFLAGS
34895
34896
34897 fi
34898 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34899 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34900
34901 if test $wx_cv_x11_xpm_h = "yes"; then
34902 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34903 cat >>confdefs.h <<\_ACEOF
34904 #define wxHAVE_LIB_XPM 1
34905 _ACEOF
34906
34907 else
34908 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34909 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34910 fi
34911 fi
34912
34913 fi
34914
34915 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34916 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34917 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34918 echo $ECHO_N "(cached) $ECHO_C" >&6
34919 else
34920 ac_check_lib_save_LIBS=$LIBS
34921 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34922 cat >conftest.$ac_ext <<_ACEOF
34923 /* confdefs.h. */
34924 _ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34928
34929 /* Override any GCC internal prototype to avoid an error.
34930 Use char because int might match the return type of a GCC
34931 builtin and then its argument prototype would still apply. */
34932 #ifdef __cplusplus
34933 extern "C"
34934 #endif
34935 char XShapeQueryExtension ();
34936 int
34937 main ()
34938 {
34939 return XShapeQueryExtension ();
34940 ;
34941 return 0;
34942 }
34943 _ACEOF
34944 rm -f conftest.$ac_objext conftest$ac_exeext
34945 if { (ac_try="$ac_link"
34946 case "(($ac_try" in
34947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34948 *) ac_try_echo=$ac_try;;
34949 esac
34950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34951 (eval "$ac_link") 2>conftest.er1
34952 ac_status=$?
34953 grep -v '^ *+' conftest.er1 >conftest.err
34954 rm -f conftest.er1
34955 cat conftest.err >&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } && {
34958 test -z "$ac_c_werror_flag" ||
34959 test ! -s conftest.err
34960 } && test -s conftest$ac_exeext &&
34961 $as_test_x conftest$ac_exeext; then
34962 ac_cv_lib_Xext_XShapeQueryExtension=yes
34963 else
34964 echo "$as_me: failed program was:" >&5
34965 sed 's/^/| /' conftest.$ac_ext >&5
34966
34967 ac_cv_lib_Xext_XShapeQueryExtension=no
34968 fi
34969
34970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34971 conftest$ac_exeext conftest.$ac_ext
34972 LIBS=$ac_check_lib_save_LIBS
34973 fi
34974 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34975 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34976 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34977
34978 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34979 wxHAVE_XEXT_LIB=1
34980
34981 fi
34982
34983
34984 if test "$wxHAVE_XEXT_LIB" = 1; then
34985 save_CFLAGS="$CFLAGS"
34986 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34987
34988 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34989 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34990 cat >conftest.$ac_ext <<_ACEOF
34991 /* confdefs.h. */
34992 _ACEOF
34993 cat confdefs.h >>conftest.$ac_ext
34994 cat >>conftest.$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
34996
34997 #include <X11/Xlib.h>
34998 #include <X11/extensions/shape.h>
34999
35000 int
35001 main ()
35002 {
35003
35004 int dummy1, dummy2;
35005 XShapeQueryExtension((Display*)NULL,
35006 (int*)NULL, (int*)NULL);
35007
35008 ;
35009 return 0;
35010 }
35011 _ACEOF
35012 rm -f conftest.$ac_objext
35013 if { (ac_try="$ac_compile"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35016 *) ac_try_echo=$ac_try;;
35017 esac
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_compile") 2>conftest.er1
35020 ac_status=$?
35021 grep -v '^ *+' conftest.er1 >conftest.err
35022 rm -f conftest.er1
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest.$ac_objext; then
35029
35030 cat >>confdefs.h <<\_ACEOF
35031 #define HAVE_XSHAPE 1
35032 _ACEOF
35033
35034 { echo "$as_me:$LINENO: result: found" >&5
35035 echo "${ECHO_T}found" >&6; }
35036
35037 else
35038 echo "$as_me: failed program was:" >&5
35039 sed 's/^/| /' conftest.$ac_ext >&5
35040
35041
35042 { echo "$as_me:$LINENO: result: not found" >&5
35043 echo "${ECHO_T}not found" >&6; }
35044
35045 fi
35046
35047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35048 CFLAGS="$save_CFLAGS"
35049
35050 fi
35051 fi
35052
35053 if test "$wxUSE_MAC" = 1; then
35054 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35055 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35056 if test "$GCC" = yes; then
35057 { echo "$as_me:$LINENO: result: gcc" >&5
35058 echo "${ECHO_T}gcc" >&6; }
35059 CPPFLAGS_PASCAL="-fpascal-strings"
35060 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35061 { echo "$as_me:$LINENO: result: xlc" >&5
35062 echo "${ECHO_T}xlc" >&6; }
35063 CPPFLAGS_PASCAL="-qmacpstr"
35064 else
35065 { echo "$as_me:$LINENO: result: none" >&5
35066 echo "${ECHO_T}none" >&6; }
35067 fi
35068
35069 if test "x$wxUSE_UNIX" = "xyes"; then
35070 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35071 else
35072 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35073 fi
35074
35075 TOOLKIT=MAC
35076 GUIDIST=MACX_DIST
35077 WXBASEPORT="_carbon"
35078 fi
35079
35080 if test "$wxUSE_COCOA" = 1; then
35081 TOOLKIT=COCOA
35082 GUIDIST=COCOA_DIST
35083 fi
35084
35085 if test "$wxUSE_PM" = 1; then
35086 TOOLKIT=PM
35087 GUIDIST=PM_DIST
35088 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35089 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35090 if test "${wx_cv_spbcdata+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 else
35093
35094 cat >conftest.$ac_ext <<_ACEOF
35095 /* confdefs.h. */
35096 _ACEOF
35097 cat confdefs.h >>conftest.$ac_ext
35098 cat >>conftest.$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35100
35101 #define INCL_PM
35102 #include <os2.h>
35103
35104 int
35105 main ()
35106 {
35107
35108 SPBCDATA test;
35109
35110 ;
35111 return 0;
35112 }
35113 _ACEOF
35114 rm -f conftest.$ac_objext
35115 if { (ac_try="$ac_compile"
35116 case "(($ac_try" in
35117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35118 *) ac_try_echo=$ac_try;;
35119 esac
35120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35121 (eval "$ac_compile") 2>conftest.er1
35122 ac_status=$?
35123 grep -v '^ *+' conftest.er1 >conftest.err
35124 rm -f conftest.er1
35125 cat conftest.err >&5
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); } && {
35128 test -z "$ac_c_werror_flag" ||
35129 test ! -s conftest.err
35130 } && test -s conftest.$ac_objext; then
35131 wx_cv_spbcdata=yes
35132 else
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35135
35136 wx_cv_spbcdata=no
35137
35138 fi
35139
35140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35141
35142
35143 fi
35144 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35145 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35146
35147 if test $wx_cv_spbcdata = "yes"; then
35148 cat >>confdefs.h <<\_ACEOF
35149 #define HAVE_SPBCDATA 1
35150 _ACEOF
35151
35152 fi
35153 fi
35154
35155 if test "$TOOLKIT" = "PM" ; then
35156 TOOLKIT_DIR="os2"
35157 else
35158 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35159 fi
35160
35161 if test "$wxUSE_UNIVERSAL" = "yes"; then
35162 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35163 WIDGET_SET=univ
35164 fi
35165
35166 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35167 DISTDIR="wx\$(TOOLKIT)"
35168 else
35169 USE_GUI=0
35170
35171 TOOLKIT_DIR="base"
35172
35173 if test "$USE_WIN32" = 1 ; then
35174 TOOLKIT="MSW"
35175 fi
35176
35177 GUIDIST="BASE_DIST"
35178 DISTDIR="wxBase"
35179 fi
35180
35181
35182
35183 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35184 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35185 wxUSE_UNICODE_UTF8=yes
35186 elif test "$USE_OS2" = "1" ; then
35187 wxUSE_UNICODE_UTF8=yes
35188 else
35189 wxUSE_UNICODE_UTF8=no
35190 fi
35191 fi
35192
35193
35194 if test "$wxUSE_GUI" = "yes"; then
35195 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35196
35197 for ac_header in X11/Xlib.h
35198 do
35199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 else
35205 cat >conftest.$ac_ext <<_ACEOF
35206 /* confdefs.h. */
35207 _ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35211
35212
35213 #include <$ac_header>
35214 _ACEOF
35215 rm -f conftest.$ac_objext
35216 if { (ac_try="$ac_compile"
35217 case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35220 esac
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_compile") 2>conftest.er1
35223 ac_status=$?
35224 grep -v '^ *+' conftest.er1 >conftest.err
35225 rm -f conftest.er1
35226 cat conftest.err >&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } && {
35229 test -z "$ac_c_werror_flag" ||
35230 test ! -s conftest.err
35231 } && test -s conftest.$ac_objext; then
35232 eval "$as_ac_Header=yes"
35233 else
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35236
35237 eval "$as_ac_Header=no"
35238 fi
35239
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 fi
35242 ac_res=`eval echo '${'$as_ac_Header'}'`
35243 { echo "$as_me:$LINENO: result: $ac_res" >&5
35244 echo "${ECHO_T}$ac_res" >&6; }
35245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35246 cat >>confdefs.h <<_ACEOF
35247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35248 _ACEOF
35249
35250 fi
35251
35252 done
35253
35254
35255 for ac_header in X11/XKBlib.h
35256 do
35257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 else
35263 cat >conftest.$ac_ext <<_ACEOF
35264 /* confdefs.h. */
35265 _ACEOF
35266 cat confdefs.h >>conftest.$ac_ext
35267 cat >>conftest.$ac_ext <<_ACEOF
35268 /* end confdefs.h. */
35269
35270 #if HAVE_X11_XLIB_H
35271 #include <X11/Xlib.h>
35272 #endif
35273
35274
35275 #include <$ac_header>
35276 _ACEOF
35277 rm -f conftest.$ac_objext
35278 if { (ac_try="$ac_compile"
35279 case "(($ac_try" in
35280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35281 *) ac_try_echo=$ac_try;;
35282 esac
35283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35284 (eval "$ac_compile") 2>conftest.er1
35285 ac_status=$?
35286 grep -v '^ *+' conftest.er1 >conftest.err
35287 rm -f conftest.er1
35288 cat conftest.err >&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } && {
35291 test -z "$ac_c_werror_flag" ||
35292 test ! -s conftest.err
35293 } && test -s conftest.$ac_objext; then
35294 eval "$as_ac_Header=yes"
35295 else
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.$ac_ext >&5
35298
35299 eval "$as_ac_Header=no"
35300 fi
35301
35302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35303 fi
35304 ac_res=`eval echo '${'$as_ac_Header'}'`
35305 { echo "$as_me:$LINENO: result: $ac_res" >&5
35306 echo "${ECHO_T}$ac_res" >&6; }
35307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35308 cat >>confdefs.h <<_ACEOF
35309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35310 _ACEOF
35311
35312 fi
35313
35314 done
35315
35316 fi
35317 fi
35318
35319
35320
35321 if test "$wxUSE_DISPLAY" = "yes"; then
35322 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35323 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35324 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35325
35326 ac_find_libraries=
35327 for ac_dir in $SEARCH_LIB;
35328 do
35329 for ac_extension in a so sl dylib dll.a; do
35330 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35331 ac_find_libraries=$ac_dir
35332 break 2
35333 fi
35334 done
35335 done
35336
35337 if test "$ac_find_libraries" != "" ; then
35338
35339 if test "$ac_find_libraries" = "default location"; then
35340 ac_path_to_link=""
35341 else
35342 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35343 result=$?
35344 if test $result = 0; then
35345 ac_path_to_link=""
35346 else
35347 ac_path_to_link=" -L$ac_find_libraries"
35348 fi
35349 fi
35350
35351 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35352 LDFLAGS="$LDFLAGS $ac_path_to_link"
35353 fi
35354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35355 { echo "$as_me:$LINENO: result: yes" >&5
35356 echo "${ECHO_T}yes" >&6; }
35357
35358 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35359 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35360
35361 ac_find_libraries=
35362 for ac_dir in $SEARCH_LIB;
35363 do
35364 for ac_extension in a so sl dylib dll.a; do
35365 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35366 ac_find_libraries=$ac_dir
35367 break 2
35368 fi
35369 done
35370 done
35371
35372 if test "$ac_find_libraries" != "" ; then
35373 { echo "$as_me:$LINENO: result: yes" >&5
35374 echo "${ECHO_T}yes" >&6; }
35375
35376 for ac_header in X11/extensions/xf86vmode.h
35377 do
35378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35384 cat >conftest.$ac_ext <<_ACEOF
35385 /* confdefs.h. */
35386 _ACEOF
35387 cat confdefs.h >>conftest.$ac_ext
35388 cat >>conftest.$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35390
35391 #if HAVE_X11_XLIB_H
35392 #include <X11/Xlib.h>
35393 #endif
35394
35395
35396 #include <$ac_header>
35397 _ACEOF
35398 rm -f conftest.$ac_objext
35399 if { (ac_try="$ac_compile"
35400 case "(($ac_try" in
35401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35402 *) ac_try_echo=$ac_try;;
35403 esac
35404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35405 (eval "$ac_compile") 2>conftest.er1
35406 ac_status=$?
35407 grep -v '^ *+' conftest.er1 >conftest.err
35408 rm -f conftest.er1
35409 cat conftest.err >&5
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); } && {
35412 test -z "$ac_c_werror_flag" ||
35413 test ! -s conftest.err
35414 } && test -s conftest.$ac_objext; then
35415 eval "$as_ac_Header=yes"
35416 else
35417 echo "$as_me: failed program was:" >&5
35418 sed 's/^/| /' conftest.$ac_ext >&5
35419
35420 eval "$as_ac_Header=no"
35421 fi
35422
35423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35424 fi
35425 ac_res=`eval echo '${'$as_ac_Header'}'`
35426 { echo "$as_me:$LINENO: result: $ac_res" >&5
35427 echo "${ECHO_T}$ac_res" >&6; }
35428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35429 cat >>confdefs.h <<_ACEOF
35430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35431 _ACEOF
35432
35433 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35434
35435 fi
35436
35437 done
35438
35439 else
35440 { echo "$as_me:$LINENO: result: no" >&5
35441 echo "${ECHO_T}no" >&6; }
35442 fi
35443
35444 else
35445 { echo "$as_me:$LINENO: result: no" >&5
35446 echo "${ECHO_T}no" >&6; }
35447 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35448 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35449 wxUSE_DISPLAY="no"
35450 fi
35451 elif test "$wxUSE_MSW" = 1; then
35452 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35453 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35454 if test "${ac_cv_header_ddraw_h+set}" = set; then
35455 echo $ECHO_N "(cached) $ECHO_C" >&6
35456 else
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 #include <windows.h>
35464
35465 #include <ddraw.h>
35466 _ACEOF
35467 rm -f conftest.$ac_objext
35468 if { (ac_try="$ac_compile"
35469 case "(($ac_try" in
35470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35471 *) ac_try_echo=$ac_try;;
35472 esac
35473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35474 (eval "$ac_compile") 2>conftest.er1
35475 ac_status=$?
35476 grep -v '^ *+' conftest.er1 >conftest.err
35477 rm -f conftest.er1
35478 cat conftest.err >&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); } && {
35481 test -z "$ac_c_werror_flag" ||
35482 test ! -s conftest.err
35483 } && test -s conftest.$ac_objext; then
35484 ac_cv_header_ddraw_h=yes
35485 else
35486 echo "$as_me: failed program was:" >&5
35487 sed 's/^/| /' conftest.$ac_ext >&5
35488
35489 ac_cv_header_ddraw_h=no
35490 fi
35491
35492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35493 fi
35494 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35495 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35496
35497
35498 fi
35499 fi
35500
35501 if test "$wxUSE_DETECT_SM" = "yes"; then
35502 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35503 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35504 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35505
35506 ac_find_libraries=
35507 for ac_dir in $SEARCH_LIB;
35508 do
35509 for ac_extension in a so sl dylib dll.a; do
35510 if test -f "$ac_dir/libSM.$ac_extension"; then
35511 ac_find_libraries=$ac_dir
35512 break 2
35513 fi
35514 done
35515 done
35516
35517 if test "$ac_find_libraries" != "" ; then
35518
35519 if test "$ac_find_libraries" = "default location"; then
35520 ac_path_to_link=""
35521 else
35522 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35523 result=$?
35524 if test $result = 0; then
35525 ac_path_to_link=""
35526 else
35527 ac_path_to_link=" -L$ac_find_libraries"
35528 fi
35529 fi
35530
35531 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35532 LDFLAGS="$LDFLAGS $ac_path_to_link"
35533 fi
35534 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35535 { echo "$as_me:$LINENO: result: yes" >&5
35536 echo "${ECHO_T}yes" >&6; }
35537 else
35538 { echo "$as_me:$LINENO: result: no" >&5
35539 echo "${ECHO_T}no" >&6; }
35540 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35541 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35542 wxUSE_DETECT_SM="no"
35543 fi
35544 else
35545 wxUSE_DETECT_SM="no"
35546 fi
35547 fi
35548
35549
35550
35551 USE_OPENGL=0
35552 if test "$wxUSE_OPENGL" = "yes"; then
35553 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35554 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35555 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35556 wxUSE_OPENGL="no"
35557 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35558 OPENGL_LIBS="-framework OpenGL -framework AGL"
35559 elif test "$wxUSE_MSW" = 1; then
35560 OPENGL_LIBS="-lopengl32 -lglu32"
35561 else
35562 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35563 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35564
35565 ac_find_includes=
35566 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35567 do
35568 if test -f "$ac_dir/GL/gl.h"; then
35569 ac_find_includes=$ac_dir
35570 break
35571 fi
35572 done
35573
35574 if test "$ac_find_includes" != "" ; then
35575 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35576 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35577
35578 if test "x$ac_find_includes" = "x/usr/include"; then
35579 ac_path_to_include=""
35580 else
35581 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35582 result=$?
35583 if test $result = 0; then
35584 ac_path_to_include=""
35585 else
35586 ac_path_to_include=" -I$ac_find_includes"
35587 fi
35588 fi
35589
35590 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35591 else
35592 { echo "$as_me:$LINENO: result: not found" >&5
35593 echo "${ECHO_T}not found" >&6; }
35594 fi
35595
35596 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35597 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35598 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35600 else
35601 cat >conftest.$ac_ext <<_ACEOF
35602 /* confdefs.h. */
35603 _ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35607
35608
35609 #include <GL/gl.h>
35610 _ACEOF
35611 rm -f conftest.$ac_objext
35612 if { (ac_try="$ac_compile"
35613 case "(($ac_try" in
35614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35615 *) ac_try_echo=$ac_try;;
35616 esac
35617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35618 (eval "$ac_compile") 2>conftest.er1
35619 ac_status=$?
35620 grep -v '^ *+' conftest.er1 >conftest.err
35621 rm -f conftest.er1
35622 cat conftest.err >&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); } && {
35625 test -z "$ac_c_werror_flag" ||
35626 test ! -s conftest.err
35627 } && test -s conftest.$ac_objext; then
35628 ac_cv_header_GL_gl_h=yes
35629 else
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.$ac_ext >&5
35632
35633 ac_cv_header_GL_gl_h=no
35634 fi
35635
35636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 fi
35638 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35639 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35640 if test $ac_cv_header_GL_gl_h = yes; then
35641
35642 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35643 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35644 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35646 else
35647 cat >conftest.$ac_ext <<_ACEOF
35648 /* confdefs.h. */
35649 _ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653
35654
35655 #include <GL/glu.h>
35656 _ACEOF
35657 rm -f conftest.$ac_objext
35658 if { (ac_try="$ac_compile"
35659 case "(($ac_try" in
35660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35661 *) ac_try_echo=$ac_try;;
35662 esac
35663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35664 (eval "$ac_compile") 2>conftest.er1
35665 ac_status=$?
35666 grep -v '^ *+' conftest.er1 >conftest.err
35667 rm -f conftest.er1
35668 cat conftest.err >&5
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); } && {
35671 test -z "$ac_c_werror_flag" ||
35672 test ! -s conftest.err
35673 } && test -s conftest.$ac_objext; then
35674 ac_cv_header_GL_glu_h=yes
35675 else
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35678
35679 ac_cv_header_GL_glu_h=no
35680 fi
35681
35682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35683 fi
35684 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35685 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35686 if test $ac_cv_header_GL_glu_h = yes; then
35687
35688 found_gl=0
35689
35690 { echo "$as_me:$LINENO: checking for -lGL" >&5
35691 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35692
35693 ac_find_libraries=
35694 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35695 do
35696 for ac_extension in a so sl dylib dll.a; do
35697 if test -f "$ac_dir/libGL.$ac_extension"; then
35698 ac_find_libraries=$ac_dir
35699 break 2
35700 fi
35701 done
35702 done
35703
35704 if test "$ac_find_libraries" != "" ; then
35705 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35706 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35707
35708
35709 if test "$ac_find_libraries" = "default location"; then
35710 ac_path_to_link=""
35711 else
35712 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35713 result=$?
35714 if test $result = 0; then
35715 ac_path_to_link=""
35716 else
35717 ac_path_to_link=" -L$ac_find_libraries"
35718 fi
35719 fi
35720
35721 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35722 LDFLAGS_GL="$ac_path_to_link"
35723 fi
35724
35725 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35726 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35727
35728 ac_find_libraries=
35729 for ac_dir in $SEARCH_LIB;
35730 do
35731 for ac_extension in a so sl dylib dll.a; do
35732 if test -f "$ac_dir/libGLU.$ac_extension"; then
35733 ac_find_libraries=$ac_dir
35734 break 2
35735 fi
35736 done
35737 done
35738
35739 if test "$ac_find_libraries" != "" ; then
35740
35741 if test "$ac_find_libraries" = "default location"; then
35742 ac_path_to_link=""
35743 else
35744 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35745 result=$?
35746 if test $result = 0; then
35747 ac_path_to_link=""
35748 else
35749 ac_path_to_link=" -L$ac_find_libraries"
35750 fi
35751 fi
35752
35753 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35754 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35755 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35756 fi
35757
35758 found_gl=1
35759 OPENGL_LIBS="-lGL -lGLU"
35760 { echo "$as_me:$LINENO: result: yes" >&5
35761 echo "${ECHO_T}yes" >&6; }
35762 else
35763 { echo "$as_me:$LINENO: result: no" >&5
35764 echo "${ECHO_T}no" >&6; }
35765 fi
35766 else
35767 { echo "$as_me:$LINENO: result: no" >&5
35768 echo "${ECHO_T}no" >&6; }
35769 fi
35770
35771 if test "$found_gl" != 1; then
35772 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35773 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35774
35775 ac_find_libraries=
35776 for ac_dir in $SEARCH_LIB;
35777 do
35778 for ac_extension in a so sl dylib dll.a; do
35779 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35780 ac_find_libraries=$ac_dir
35781 break 2
35782 fi
35783 done
35784 done
35785
35786 if test "$ac_find_libraries" != "" ; then
35787
35788 if test "$ac_find_libraries" = "default location"; then
35789 ac_path_to_link=""
35790 else
35791 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35792 result=$?
35793 if test $result = 0; then
35794 ac_path_to_link=""
35795 else
35796 ac_path_to_link=" -L$ac_find_libraries"
35797 fi
35798 fi
35799
35800 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35801 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35802 { echo "$as_me:$LINENO: result: yes" >&5
35803 echo "${ECHO_T}yes" >&6; }
35804 else
35805 { echo "$as_me:$LINENO: result: no" >&5
35806 echo "${ECHO_T}no" >&6; }
35807 fi
35808 fi
35809
35810 fi
35811
35812
35813
35814 fi
35815
35816
35817
35818 if test "x$OPENGL_LIBS" = "x"; then
35819 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35820 echo "$as_me: error: OpenGL libraries not available" >&2;}
35821 { (exit 1); exit 1; }; }
35822 fi
35823 fi
35824
35825 if test "$wxUSE_OPENGL" = "yes"; then
35826 USE_OPENGL=1
35827 cat >>confdefs.h <<\_ACEOF
35828 #define wxUSE_OPENGL 1
35829 _ACEOF
35830
35831 cat >>confdefs.h <<\_ACEOF
35832 #define wxUSE_GLCANVAS 1
35833 _ACEOF
35834
35835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35836 fi
35837 fi
35838
35839
35840 if test -n "$TOOLKIT" ; then
35841 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35842 fi
35843
35844
35845
35846 if test "$wxUSE_SHARED" = "yes"; then
35847 case "${host}" in
35848 *-pc-msdosdjgpp )
35849 wxUSE_SHARED=no
35850 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35851 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35852 ;;
35853 esac
35854 fi
35855
35856 if test "$wxUSE_SHARED" = "yes"; then
35857
35858
35859 case "${host}" in
35860 *-*-cygwin* | *-*-mingw* )
35861 wx_cv_version_script=no
35862 ;;
35863
35864 *)
35865 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35866 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35867 if test "${wx_cv_version_script+set}" = set; then
35868 echo $ECHO_N "(cached) $ECHO_C" >&6
35869 else
35870
35871 echo "VER_1 { *; };" >conftest.sym
35872 echo "int main() { return 0; }" >conftest.cpp
35873
35874 if { ac_try='
35875 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35876 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35878 (eval $ac_try) 2>&5
35879 ac_status=$?
35880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881 (exit $ac_status); }; } ; then
35882 if test -s conftest.stderr ; then
35883 wx_cv_version_script=no
35884 else
35885 wx_cv_version_script=yes
35886 fi
35887 else
35888 wx_cv_version_script=no
35889 fi
35890
35891 if test $wx_cv_version_script = yes
35892 then
35893 echo "struct B { virtual ~B() { } }; \
35894 struct D : public B { }; \
35895 void F() { D d; }" > conftest.cpp
35896
35897 if { ac_try='
35898 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35899 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35902 ac_status=$?
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; } &&
35905 { ac_try='
35906 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35907 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35910 ac_status=$?
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; }
35913 then
35914 if { ac_try='
35915 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35916 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35918 (eval $ac_try) 2>&5
35919 ac_status=$?
35920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35921 (exit $ac_status); }; }
35922 then
35923 wx_cv_version_script=yes
35924 else
35925 wx_cv_version_script=no
35926 fi
35927 fi
35928 fi
35929
35930 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35931 rm -f conftest1.output conftest2.output conftest3.output
35932
35933 fi
35934 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35935 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35936
35937 if test $wx_cv_version_script = yes ; then
35938 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35939 fi
35940 ;;
35941 esac
35942
35943
35944 if test "$wxUSE_VISIBILITY" != "no"; then
35945
35946
35947 if test -n "$GCC"; then
35948 CFLAGS_VISIBILITY="-fvisibility=hidden"
35949 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35950 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35951 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35952 if test "${wx_cv_cc_visibility+set}" = set; then
35953 echo $ECHO_N "(cached) $ECHO_C" >&6
35954 else
35955
35956 wx_save_CXXFLAGS="$CXXFLAGS"
35957 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35958 ac_ext=cpp
35959 ac_cpp='$CXXCPP $CPPFLAGS'
35960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35963
35964 cat >conftest.$ac_ext <<_ACEOF
35965 /* confdefs.h. */
35966 _ACEOF
35967 cat confdefs.h >>conftest.$ac_ext
35968 cat >>conftest.$ac_ext <<_ACEOF
35969 /* end confdefs.h. */
35970
35971 /* we need gcc >= 4.0, older versions with visibility support
35972 didn't have class visibility: */
35973 #if defined(__GNUC__) && __GNUC__ < 4
35974 error this gcc is too old;
35975 #endif
35976
35977 /* visibility only makes sense for ELF shared libs: */
35978 #if !defined(__ELF__) && !defined(__APPLE__)
35979 error this platform has no visibility;
35980 #endif
35981
35982 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35983 extern __attribute__((__visibility__("default"))) int exportedvar;
35984 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35985 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35986 class __attribute__((__visibility__("default"))) Foo {
35987 Foo() {}
35988 };
35989
35990 int
35991 main ()
35992 {
35993
35994 ;
35995 return 0;
35996 }
35997 _ACEOF
35998 rm -f conftest.$ac_objext
35999 if { (ac_try="$ac_compile"
36000 case "(($ac_try" in
36001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36002 *) ac_try_echo=$ac_try;;
36003 esac
36004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36005 (eval "$ac_compile") 2>conftest.er1
36006 ac_status=$?
36007 grep -v '^ *+' conftest.er1 >conftest.err
36008 rm -f conftest.er1
36009 cat conftest.err >&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); } && {
36012 test -z "$ac_cxx_werror_flag" ||
36013 test ! -s conftest.err
36014 } && test -s conftest.$ac_objext; then
36015 wx_cv_cc_visibility=yes
36016 else
36017 echo "$as_me: failed program was:" >&5
36018 sed 's/^/| /' conftest.$ac_ext >&5
36019
36020 wx_cv_cc_visibility=no
36021 fi
36022
36023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36024 ac_ext=c
36025 ac_cpp='$CPP $CPPFLAGS'
36026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36029
36030 CXXFLAGS="$wx_save_CXXFLAGS"
36031 fi
36032
36033 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36034 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36035 if test $wx_cv_cc_visibility = yes; then
36036 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36037 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36038 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36040 else
36041
36042 wx_save_CXXFLAGS="$CXXFLAGS"
36043 wx_save_LDFLAGS="$LDFLAGS"
36044 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36045 LDFLAGS="$LDFLAGS -shared -fPIC"
36046 ac_ext=cpp
36047 ac_cpp='$CXXCPP $CPPFLAGS'
36048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36051
36052 cat >conftest.$ac_ext <<_ACEOF
36053 /* confdefs.h. */
36054 _ACEOF
36055 cat confdefs.h >>conftest.$ac_ext
36056 cat >>conftest.$ac_ext <<_ACEOF
36057 /* end confdefs.h. */
36058
36059 #include <string>
36060
36061 int
36062 main ()
36063 {
36064
36065 std::string s("hello");
36066 return s.length();
36067
36068 ;
36069 return 0;
36070 }
36071 _ACEOF
36072 rm -f conftest.$ac_objext conftest$ac_exeext
36073 if { (ac_try="$ac_link"
36074 case "(($ac_try" in
36075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36076 *) ac_try_echo=$ac_try;;
36077 esac
36078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36079 (eval "$ac_link") 2>conftest.er1
36080 ac_status=$?
36081 grep -v '^ *+' conftest.er1 >conftest.err
36082 rm -f conftest.er1
36083 cat conftest.err >&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); } && {
36086 test -z "$ac_cxx_werror_flag" ||
36087 test ! -s conftest.err
36088 } && test -s conftest$ac_exeext &&
36089 $as_test_x conftest$ac_exeext; then
36090 wx_cv_cc_broken_libstdcxx_visibility=no
36091 else
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.$ac_ext >&5
36094
36095 wx_cv_cc_broken_libstdcxx_visibility=yes
36096 fi
36097
36098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36099 conftest$ac_exeext conftest.$ac_ext
36100 ac_ext=c
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36105
36106 CXXFLAGS="$wx_save_CXXFLAGS"
36107 LDFLAGS="$wx_save_LDFLAGS"
36108 fi
36109
36110 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36111 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36112
36113 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36114 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36115 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36116 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36117 echo $ECHO_N "(cached) $ECHO_C" >&6
36118 else
36119
36120 ac_ext=cpp
36121 ac_cpp='$CXXCPP $CPPFLAGS'
36122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36125
36126 cat >conftest.$ac_ext <<_ACEOF
36127 /* confdefs.h. */
36128 _ACEOF
36129 cat confdefs.h >>conftest.$ac_ext
36130 cat >>conftest.$ac_ext <<_ACEOF
36131 /* end confdefs.h. */
36132
36133 #pragma GCC visibility push(default)
36134 #include <string>
36135 #pragma GCC visibility pop
36136
36137 int
36138 main ()
36139 {
36140
36141 std::string s("hello");
36142 return s.length();
36143
36144 ;
36145 return 0;
36146 }
36147 _ACEOF
36148 rm -f conftest.$ac_objext conftest$ac_exeext
36149 if { (ac_try="$ac_link"
36150 case "(($ac_try" in
36151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36152 *) ac_try_echo=$ac_try;;
36153 esac
36154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36155 (eval "$ac_link") 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } && {
36162 test -z "$ac_cxx_werror_flag" ||
36163 test ! -s conftest.err
36164 } && test -s conftest$ac_exeext &&
36165 $as_test_x conftest$ac_exeext; then
36166 wx_cv_cc_visibility_workaround=no
36167 else
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.$ac_ext >&5
36170
36171 wx_cv_cc_visibility_workaround=yes
36172 fi
36173
36174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36175 conftest$ac_exeext conftest.$ac_ext
36176 ac_ext=c
36177 ac_cpp='$CPP $CPPFLAGS'
36178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36181
36182
36183 fi
36184
36185 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36186 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36187
36188 if test $wx_cv_cc_visibility_workaround = no; then
36189 wx_cv_cc_visibility=no
36190 fi
36191 fi
36192 fi
36193
36194 if test $wx_cv_cc_visibility = yes; then
36195 cat >>confdefs.h <<\_ACEOF
36196 #define HAVE_VISIBILITY 1
36197 _ACEOF
36198
36199 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36200 cat >>confdefs.h <<\_ACEOF
36201 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36202 _ACEOF
36203
36204 fi
36205 else
36206 CFLAGS_VISIBILITY=""
36207 CXXFLAGS_VISIBILITY=""
36208 fi
36209
36210
36211 fi
36212
36213 fi
36214
36215 if test "x$SUNCXX" = xyes; then
36216 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36217 WXCONFIG_RPATH="-R\$libdir"
36218 else
36219 case "${host}" in
36220 *-*-linux* | *-*-gnu* )
36221 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36222 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36223 ;;
36224
36225 *-*-solaris2* )
36226
36227 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36228
36229 saveLdflags="$LDFLAGS"
36230 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36231 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36232 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36233 cat >conftest.$ac_ext <<_ACEOF
36234 /* confdefs.h. */
36235 _ACEOF
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36239
36240 int
36241 main ()
36242 {
36243
36244 ;
36245 return 0;
36246 }
36247 _ACEOF
36248 rm -f conftest.$ac_objext conftest$ac_exeext
36249 if { (ac_try="$ac_link"
36250 case "(($ac_try" in
36251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36252 *) ac_try_echo=$ac_try;;
36253 esac
36254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36255 (eval "$ac_link") 2>conftest.er1
36256 ac_status=$?
36257 grep -v '^ *+' conftest.er1 >conftest.err
36258 rm -f conftest.er1
36259 cat conftest.err >&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } && {
36262 test -z "$ac_c_werror_flag" ||
36263 test ! -s conftest.err
36264 } && test -s conftest$ac_exeext &&
36265 $as_test_x conftest$ac_exeext; then
36266
36267 { echo "$as_me:$LINENO: result: yes" >&5
36268 echo "${ECHO_T}yes" >&6; }
36269 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36270 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36271
36272 else
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.$ac_ext >&5
36275
36276
36277 { echo "$as_me:$LINENO: result: no" >&5
36278 echo "${ECHO_T}no" >&6; }
36279 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36280 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36281 LDFLAGS="$saveLdflags -Wl,-R,/"
36282 cat >conftest.$ac_ext <<_ACEOF
36283 /* confdefs.h. */
36284 _ACEOF
36285 cat confdefs.h >>conftest.$ac_ext
36286 cat >>conftest.$ac_ext <<_ACEOF
36287 /* end confdefs.h. */
36288
36289 int
36290 main ()
36291 {
36292
36293 ;
36294 return 0;
36295 }
36296 _ACEOF
36297 rm -f conftest.$ac_objext conftest$ac_exeext
36298 if { (ac_try="$ac_link"
36299 case "(($ac_try" in
36300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36301 *) ac_try_echo=$ac_try;;
36302 esac
36303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36304 (eval "$ac_link") 2>conftest.er1
36305 ac_status=$?
36306 grep -v '^ *+' conftest.er1 >conftest.err
36307 rm -f conftest.er1
36308 cat conftest.err >&5
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); } && {
36311 test -z "$ac_c_werror_flag" ||
36312 test ! -s conftest.err
36313 } && test -s conftest$ac_exeext &&
36314 $as_test_x conftest$ac_exeext; then
36315
36316 { echo "$as_me:$LINENO: result: yes" >&5
36317 echo "${ECHO_T}yes" >&6; }
36318 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36319 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36320
36321 else
36322 echo "$as_me: failed program was:" >&5
36323 sed 's/^/| /' conftest.$ac_ext >&5
36324
36325
36326 { echo "$as_me:$LINENO: result: no" >&5
36327 echo "${ECHO_T}no" >&6; }
36328
36329 fi
36330
36331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36332 conftest$ac_exeext conftest.$ac_ext
36333
36334 fi
36335
36336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36337 conftest$ac_exeext conftest.$ac_ext
36338 LDFLAGS="$saveLdflags"
36339 ;;
36340
36341 *-*-darwin* )
36342 install_name_tool=`which install_name_tool`
36343 if test "$install_name_tool" -a -x "$install_name_tool"; then
36344 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36345 cat <<EOF >change-install-names
36346 #!/bin/sh
36347 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36348 inst_cmd="install_name_tool "
36349 for i in \${libnames} ; do
36350 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36351 done
36352 \${inst_cmd} \${3}
36353 EOF
36354 chmod +x change-install-names
36355 fi
36356 ;;
36357
36358 *-*-cygwin* | *-*-mingw32* )
36359 ;;
36360
36361 *-*-hpux* )
36362 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36363 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36364 ;;
36365
36366 esac
36367 fi
36368
36369 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36370
36371 if test $wxUSE_RPATH = "no"; then
36372 SAMPLES_RPATH_FLAG=''
36373 SAMPLES_RPATH_POSTLINK=''
36374 WXCONFIG_RPATH=''
36375 fi
36376
36377 SHARED=1
36378
36379 else
36380
36381 config_linkage_component="-static"
36382 SHARED=0
36383
36384 fi
36385
36386
36387 UNICODE=0
36388 lib_unicode_suffix=
36389 WX_CHARTYPE="ansi"
36390 if test "$wxUSE_UNICODE" = "yes"; then
36391 lib_unicode_suffix=u
36392 WX_CHARTYPE="unicode"
36393 UNICODE=1
36394 fi
36395
36396 lib_debug_suffix=
36397 WX_DEBUGTYPE="release"
36398 DEBUG_FLAG=0
36399 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36400 lib_debug_suffix=d
36401 WX_DEBUGTYPE="debug"
36402 DEBUG_FLAG=1
36403 fi
36404
36405 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36406 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36407
36408 DEBUG_INFO=0
36409 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36410 DEBUG_INFO=1
36411 fi
36412
36413 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36414
36415 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36416
36417 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36418
36419 if test "$cross_compiling" = "yes"; then
36420 HOST_SUFFIX="-$host_alias"
36421 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36422 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36423 fi
36424
36425 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36426 if test "${TOOLKIT_DIR}" = "os2"; then
36427 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36428 else
36429 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36430 fi
36431
36432
36433
36434 if test "$wxUSE_COCOA" = 1; then
36435
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36441
36442 ac_ext=m
36443
36444 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36445 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36446 cat >conftest.$ac_ext <<_ACEOF
36447 /* confdefs.h. */
36448 _ACEOF
36449 cat confdefs.h >>conftest.$ac_ext
36450 cat >>conftest.$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36452 #include <AppKit/NSEvent.h>
36453 #include <CoreFoundation/CoreFoundation.h>
36454
36455 int
36456 main ()
36457 {
36458
36459 ;
36460 return 0;
36461 }
36462 _ACEOF
36463 rm -f conftest.$ac_objext
36464 if { (ac_try="$ac_compile"
36465 case "(($ac_try" in
36466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36467 *) ac_try_echo=$ac_try;;
36468 esac
36469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36470 (eval "$ac_compile") 2>conftest.er1
36471 ac_status=$?
36472 grep -v '^ *+' conftest.er1 >conftest.err
36473 rm -f conftest.er1
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } && {
36477 test -z "$ac_c_werror_flag" ||
36478 test ! -s conftest.err
36479 } && test -s conftest.$ac_objext; then
36480 { echo "$as_me:$LINENO: result: no" >&5
36481 echo "${ECHO_T}no" >&6; }
36482 else
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.$ac_ext >&5
36485
36486 { echo "$as_me:$LINENO: result: yes" >&5
36487 echo "${ECHO_T}yes" >&6; }
36488 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36489 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36490 cat >conftest.$ac_ext <<_ACEOF
36491 /* confdefs.h. */
36492 _ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 #define __Point__ 1
36497 #include <AppKit/NSEvent.h>
36498 #include <CoreFoundation/CoreFoundation.h>
36499
36500 int
36501 main ()
36502 {
36503
36504 ;
36505 return 0;
36506 }
36507 _ACEOF
36508 rm -f conftest.$ac_objext
36509 if { (ac_try="$ac_compile"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36512 *) ac_try_echo=$ac_try;;
36513 esac
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_compile") 2>conftest.er1
36516 ac_status=$?
36517 grep -v '^ *+' conftest.er1 >conftest.err
36518 rm -f conftest.er1
36519 cat conftest.err >&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_c_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest.$ac_objext; then
36525 { echo "$as_me:$LINENO: result: yes" >&5
36526 echo "${ECHO_T}yes" >&6; }
36527 cat >>confdefs.h <<\_ACEOF
36528 #define __Point__ 1
36529 _ACEOF
36530
36531
36532 else
36533 echo "$as_me: failed program was:" >&5
36534 sed 's/^/| /' conftest.$ac_ext >&5
36535
36536 { { echo "$as_me:$LINENO: error: no
36537 See \`config.log' for more details." >&5
36538 echo "$as_me: error: no
36539 See \`config.log' for more details." >&2;}
36540 { (exit 1); exit 1; }; }
36541
36542 fi
36543
36544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36545
36546 fi
36547
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554
36555 fi
36556
36557
36558 { echo "$as_me:$LINENO: checking for mode_t" >&5
36559 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36560 if test "${ac_cv_type_mode_t+set}" = set; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36562 else
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 $ac_includes_default
36570 typedef mode_t ac__type_new_;
36571 int
36572 main ()
36573 {
36574 if ((ac__type_new_ *) 0)
36575 return 0;
36576 if (sizeof (ac__type_new_))
36577 return 0;
36578 ;
36579 return 0;
36580 }
36581 _ACEOF
36582 rm -f conftest.$ac_objext
36583 if { (ac_try="$ac_compile"
36584 case "(($ac_try" in
36585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36586 *) ac_try_echo=$ac_try;;
36587 esac
36588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36589 (eval "$ac_compile") 2>conftest.er1
36590 ac_status=$?
36591 grep -v '^ *+' conftest.er1 >conftest.err
36592 rm -f conftest.er1
36593 cat conftest.err >&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); } && {
36596 test -z "$ac_c_werror_flag" ||
36597 test ! -s conftest.err
36598 } && test -s conftest.$ac_objext; then
36599 ac_cv_type_mode_t=yes
36600 else
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36603
36604 ac_cv_type_mode_t=no
36605 fi
36606
36607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608 fi
36609 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36610 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36611 if test $ac_cv_type_mode_t = yes; then
36612 :
36613 else
36614
36615 cat >>confdefs.h <<_ACEOF
36616 #define mode_t int
36617 _ACEOF
36618
36619 fi
36620
36621 { echo "$as_me:$LINENO: checking for off_t" >&5
36622 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36623 if test "${ac_cv_type_off_t+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626 cat >conftest.$ac_ext <<_ACEOF
36627 /* confdefs.h. */
36628 _ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 $ac_includes_default
36633 typedef off_t ac__type_new_;
36634 int
36635 main ()
36636 {
36637 if ((ac__type_new_ *) 0)
36638 return 0;
36639 if (sizeof (ac__type_new_))
36640 return 0;
36641 ;
36642 return 0;
36643 }
36644 _ACEOF
36645 rm -f conftest.$ac_objext
36646 if { (ac_try="$ac_compile"
36647 case "(($ac_try" in
36648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36649 *) ac_try_echo=$ac_try;;
36650 esac
36651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36652 (eval "$ac_compile") 2>conftest.er1
36653 ac_status=$?
36654 grep -v '^ *+' conftest.er1 >conftest.err
36655 rm -f conftest.er1
36656 cat conftest.err >&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } && {
36659 test -z "$ac_c_werror_flag" ||
36660 test ! -s conftest.err
36661 } && test -s conftest.$ac_objext; then
36662 ac_cv_type_off_t=yes
36663 else
36664 echo "$as_me: failed program was:" >&5
36665 sed 's/^/| /' conftest.$ac_ext >&5
36666
36667 ac_cv_type_off_t=no
36668 fi
36669
36670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36671 fi
36672 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36673 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36674 if test $ac_cv_type_off_t = yes; then
36675 :
36676 else
36677
36678 cat >>confdefs.h <<_ACEOF
36679 #define off_t long int
36680 _ACEOF
36681
36682 fi
36683
36684 { echo "$as_me:$LINENO: checking for pid_t" >&5
36685 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36686 if test "${ac_cv_type_pid_t+set}" = set; then
36687 echo $ECHO_N "(cached) $ECHO_C" >&6
36688 else
36689 cat >conftest.$ac_ext <<_ACEOF
36690 /* confdefs.h. */
36691 _ACEOF
36692 cat confdefs.h >>conftest.$ac_ext
36693 cat >>conftest.$ac_ext <<_ACEOF
36694 /* end confdefs.h. */
36695 $ac_includes_default
36696 typedef pid_t ac__type_new_;
36697 int
36698 main ()
36699 {
36700 if ((ac__type_new_ *) 0)
36701 return 0;
36702 if (sizeof (ac__type_new_))
36703 return 0;
36704 ;
36705 return 0;
36706 }
36707 _ACEOF
36708 rm -f conftest.$ac_objext
36709 if { (ac_try="$ac_compile"
36710 case "(($ac_try" in
36711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36712 *) ac_try_echo=$ac_try;;
36713 esac
36714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36715 (eval "$ac_compile") 2>conftest.er1
36716 ac_status=$?
36717 grep -v '^ *+' conftest.er1 >conftest.err
36718 rm -f conftest.er1
36719 cat conftest.err >&5
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); } && {
36722 test -z "$ac_c_werror_flag" ||
36723 test ! -s conftest.err
36724 } && test -s conftest.$ac_objext; then
36725 ac_cv_type_pid_t=yes
36726 else
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36729
36730 ac_cv_type_pid_t=no
36731 fi
36732
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36734 fi
36735 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36736 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36737 if test $ac_cv_type_pid_t = yes; then
36738 :
36739 else
36740
36741 cat >>confdefs.h <<_ACEOF
36742 #define pid_t int
36743 _ACEOF
36744
36745 fi
36746
36747 { echo "$as_me:$LINENO: checking for size_t" >&5
36748 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36749 if test "${ac_cv_type_size_t+set}" = set; then
36750 echo $ECHO_N "(cached) $ECHO_C" >&6
36751 else
36752 cat >conftest.$ac_ext <<_ACEOF
36753 /* confdefs.h. */
36754 _ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 $ac_includes_default
36759 typedef size_t ac__type_new_;
36760 int
36761 main ()
36762 {
36763 if ((ac__type_new_ *) 0)
36764 return 0;
36765 if (sizeof (ac__type_new_))
36766 return 0;
36767 ;
36768 return 0;
36769 }
36770 _ACEOF
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36776 esac
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36779 ac_status=$?
36780 grep -v '^ *+' conftest.er1 >conftest.err
36781 rm -f conftest.er1
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } && {
36785 test -z "$ac_c_werror_flag" ||
36786 test ! -s conftest.err
36787 } && test -s conftest.$ac_objext; then
36788 ac_cv_type_size_t=yes
36789 else
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36792
36793 ac_cv_type_size_t=no
36794 fi
36795
36796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36797 fi
36798 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36799 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36800 if test $ac_cv_type_size_t = yes; then
36801 :
36802 else
36803
36804 cat >>confdefs.h <<_ACEOF
36805 #define size_t unsigned int
36806 _ACEOF
36807
36808 fi
36809
36810 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36811 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36812 if test "${ac_cv_type_uid_t+set}" = set; then
36813 echo $ECHO_N "(cached) $ECHO_C" >&6
36814 else
36815 cat >conftest.$ac_ext <<_ACEOF
36816 /* confdefs.h. */
36817 _ACEOF
36818 cat confdefs.h >>conftest.$ac_ext
36819 cat >>conftest.$ac_ext <<_ACEOF
36820 /* end confdefs.h. */
36821 #include <sys/types.h>
36822
36823 _ACEOF
36824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36825 $EGREP "uid_t" >/dev/null 2>&1; then
36826 ac_cv_type_uid_t=yes
36827 else
36828 ac_cv_type_uid_t=no
36829 fi
36830 rm -f conftest*
36831
36832 fi
36833 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36834 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36835 if test $ac_cv_type_uid_t = no; then
36836
36837 cat >>confdefs.h <<\_ACEOF
36838 #define uid_t int
36839 _ACEOF
36840
36841
36842 cat >>confdefs.h <<\_ACEOF
36843 #define gid_t int
36844 _ACEOF
36845
36846 fi
36847
36848
36849 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36850 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36851 if test "${ac_cv_type_ssize_t+set}" = set; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36853 else
36854 cat >conftest.$ac_ext <<_ACEOF
36855 /* confdefs.h. */
36856 _ACEOF
36857 cat confdefs.h >>conftest.$ac_ext
36858 cat >>conftest.$ac_ext <<_ACEOF
36859 /* end confdefs.h. */
36860 $ac_includes_default
36861 typedef ssize_t ac__type_new_;
36862 int
36863 main ()
36864 {
36865 if ((ac__type_new_ *) 0)
36866 return 0;
36867 if (sizeof (ac__type_new_))
36868 return 0;
36869 ;
36870 return 0;
36871 }
36872 _ACEOF
36873 rm -f conftest.$ac_objext
36874 if { (ac_try="$ac_compile"
36875 case "(($ac_try" in
36876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36877 *) ac_try_echo=$ac_try;;
36878 esac
36879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36880 (eval "$ac_compile") 2>conftest.er1
36881 ac_status=$?
36882 grep -v '^ *+' conftest.er1 >conftest.err
36883 rm -f conftest.er1
36884 cat conftest.err >&5
36885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886 (exit $ac_status); } && {
36887 test -z "$ac_c_werror_flag" ||
36888 test ! -s conftest.err
36889 } && test -s conftest.$ac_objext; then
36890 ac_cv_type_ssize_t=yes
36891 else
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36894
36895 ac_cv_type_ssize_t=no
36896 fi
36897
36898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36899 fi
36900 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36901 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36902 if test $ac_cv_type_ssize_t = yes; then
36903
36904 cat >>confdefs.h <<_ACEOF
36905 #define HAVE_SSIZE_T 1
36906 _ACEOF
36907
36908
36909 fi
36910
36911
36912 ac_ext=cpp
36913 ac_cpp='$CXXCPP $CPPFLAGS'
36914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36917 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36918 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36919 if test "${wx_cv_size_t_is_uint+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36921 else
36922
36923 cat >conftest.$ac_ext <<_ACEOF
36924 /* confdefs.h. */
36925 _ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 #include <stddef.h>
36930 int
36931 main ()
36932 {
36933
36934 return 0; }
36935
36936 struct Foo { void foo(size_t); void foo(unsigned int); };
36937
36938 int bar() {
36939
36940 ;
36941 return 0;
36942 }
36943 _ACEOF
36944 rm -f conftest.$ac_objext
36945 if { (ac_try="$ac_compile"
36946 case "(($ac_try" in
36947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36948 *) ac_try_echo=$ac_try;;
36949 esac
36950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36951 (eval "$ac_compile") 2>conftest.er1
36952 ac_status=$?
36953 grep -v '^ *+' conftest.er1 >conftest.err
36954 rm -f conftest.er1
36955 cat conftest.err >&5
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); } && {
36958 test -z "$ac_cxx_werror_flag" ||
36959 test ! -s conftest.err
36960 } && test -s conftest.$ac_objext; then
36961 wx_cv_size_t_is_uint=no
36962 else
36963 echo "$as_me: failed program was:" >&5
36964 sed 's/^/| /' conftest.$ac_ext >&5
36965
36966 wx_cv_size_t_is_uint=yes
36967
36968 fi
36969
36970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36971
36972
36973 fi
36974 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36975 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36976
36977 if test "$wx_cv_size_t_is_uint" = "yes"; then
36978 cat >>confdefs.h <<\_ACEOF
36979 #define wxSIZE_T_IS_UINT 1
36980 _ACEOF
36981
36982 else
36983 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36984 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36985 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36987 else
36988 cat >conftest.$ac_ext <<_ACEOF
36989 /* confdefs.h. */
36990 _ACEOF
36991 cat confdefs.h >>conftest.$ac_ext
36992 cat >>conftest.$ac_ext <<_ACEOF
36993 /* end confdefs.h. */
36994 #include <stddef.h>
36995 int
36996 main ()
36997 {
36998
36999 return 0; }
37000
37001 struct Foo { void foo(size_t); void foo(unsigned long); };
37002
37003 int bar() {
37004
37005 ;
37006 return 0;
37007 }
37008 _ACEOF
37009 rm -f conftest.$ac_objext
37010 if { (ac_try="$ac_compile"
37011 case "(($ac_try" in
37012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37013 *) ac_try_echo=$ac_try;;
37014 esac
37015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37016 (eval "$ac_compile") 2>conftest.er1
37017 ac_status=$?
37018 grep -v '^ *+' conftest.er1 >conftest.err
37019 rm -f conftest.er1
37020 cat conftest.err >&5
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); } && {
37023 test -z "$ac_cxx_werror_flag" ||
37024 test ! -s conftest.err
37025 } && test -s conftest.$ac_objext; then
37026 wx_cv_size_t_is_ulong=no
37027 else
37028 echo "$as_me: failed program was:" >&5
37029 sed 's/^/| /' conftest.$ac_ext >&5
37030
37031 wx_cv_size_t_is_ulong=yes
37032
37033 fi
37034
37035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37036
37037 fi
37038 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37039 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37040
37041 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37042 cat >>confdefs.h <<\_ACEOF
37043 #define wxSIZE_T_IS_ULONG 1
37044 _ACEOF
37045
37046 fi
37047 fi
37048
37049 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37050 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37051 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 else
37054 cat >conftest.$ac_ext <<_ACEOF
37055 /* confdefs.h. */
37056 _ACEOF
37057 cat confdefs.h >>conftest.$ac_ext
37058 cat >>conftest.$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37060 #include <wchar.h>
37061 int
37062 main ()
37063 {
37064
37065 return 0; }
37066
37067 struct Foo { void foo(wchar_t);
37068 void foo(unsigned short);
37069 void foo(unsigned int);
37070 void foo(unsigned long); };
37071
37072 int bar() {
37073
37074 ;
37075 return 0;
37076 }
37077 _ACEOF
37078 rm -f conftest.$ac_objext
37079 if { (ac_try="$ac_compile"
37080 case "(($ac_try" in
37081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37082 *) ac_try_echo=$ac_try;;
37083 esac
37084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37085 (eval "$ac_compile") 2>conftest.er1
37086 ac_status=$?
37087 grep -v '^ *+' conftest.er1 >conftest.err
37088 rm -f conftest.er1
37089 cat conftest.err >&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); } && {
37092 test -z "$ac_cxx_werror_flag" ||
37093 test ! -s conftest.err
37094 } && test -s conftest.$ac_objext; then
37095 wx_cv_wchar_t_is_separate_type=yes
37096 else
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.$ac_ext >&5
37099
37100 wx_cv_wchar_t_is_separate_type=no
37101
37102 fi
37103
37104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37105
37106 fi
37107 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37108 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37109
37110 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37111 cat >>confdefs.h <<\_ACEOF
37112 #define wxWCHAR_T_IS_REAL_TYPE 1
37113 _ACEOF
37114
37115 else
37116 cat >>confdefs.h <<\_ACEOF
37117 #define wxWCHAR_T_IS_REAL_TYPE 0
37118 _ACEOF
37119
37120 fi
37121
37122 ac_ext=c
37123 ac_cpp='$CPP $CPPFLAGS'
37124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37127
37128
37129 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37130 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37131 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37132 echo $ECHO_N "(cached) $ECHO_C" >&6
37133 else
37134
37135 cat >conftest.$ac_ext <<_ACEOF
37136 /* confdefs.h. */
37137 _ACEOF
37138 cat confdefs.h >>conftest.$ac_ext
37139 cat >>conftest.$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141 #include <pwd.h>
37142 int
37143 main ()
37144 {
37145
37146 char *p;
37147 struct passwd *pw;
37148 p = pw->pw_gecos;
37149
37150 ;
37151 return 0;
37152 }
37153 _ACEOF
37154 rm -f conftest.$ac_objext
37155 if { (ac_try="$ac_compile"
37156 case "(($ac_try" in
37157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37159 esac
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_compile") 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_c_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest.$ac_objext; then
37171
37172 wx_cv_struct_pw_gecos=yes
37173
37174 else
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.$ac_ext >&5
37177
37178
37179 wx_cv_struct_pw_gecos=no
37180
37181
37182 fi
37183
37184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37185
37186
37187 fi
37188 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37189 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37190
37191 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37192 cat >>confdefs.h <<\_ACEOF
37193 #define HAVE_PW_GECOS 1
37194 _ACEOF
37195
37196 fi
37197
37198
37199 if test "$wxUSE_WCHAR_T" = "yes"; then
37200 cat >>confdefs.h <<\_ACEOF
37201 #define wxUSE_WCHAR_T 1
37202 _ACEOF
37203
37204
37205 WCSLEN_FOUND=0
37206 WCHAR_LINK=
37207
37208 for ac_func in wcslen
37209 do
37210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37213 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 else
37216 cat >conftest.$ac_ext <<_ACEOF
37217 /* confdefs.h. */
37218 _ACEOF
37219 cat confdefs.h >>conftest.$ac_ext
37220 cat >>conftest.$ac_ext <<_ACEOF
37221 /* end confdefs.h. */
37222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37224 #define $ac_func innocuous_$ac_func
37225
37226 /* System header to define __stub macros and hopefully few prototypes,
37227 which can conflict with char $ac_func (); below.
37228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37229 <limits.h> exists even on freestanding compilers. */
37230
37231 #ifdef __STDC__
37232 # include <limits.h>
37233 #else
37234 # include <assert.h>
37235 #endif
37236
37237 #undef $ac_func
37238
37239 /* Override any GCC internal prototype to avoid an error.
37240 Use char because int might match the return type of a GCC
37241 builtin and then its argument prototype would still apply. */
37242 #ifdef __cplusplus
37243 extern "C"
37244 #endif
37245 char $ac_func ();
37246 /* The GNU C library defines this for functions which it implements
37247 to always fail with ENOSYS. Some functions are actually named
37248 something starting with __ and the normal name is an alias. */
37249 #if defined __stub_$ac_func || defined __stub___$ac_func
37250 choke me
37251 #endif
37252
37253 int
37254 main ()
37255 {
37256 return $ac_func ();
37257 ;
37258 return 0;
37259 }
37260 _ACEOF
37261 rm -f conftest.$ac_objext conftest$ac_exeext
37262 if { (ac_try="$ac_link"
37263 case "(($ac_try" in
37264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37265 *) ac_try_echo=$ac_try;;
37266 esac
37267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37268 (eval "$ac_link") 2>conftest.er1
37269 ac_status=$?
37270 grep -v '^ *+' conftest.er1 >conftest.err
37271 rm -f conftest.er1
37272 cat conftest.err >&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); } && {
37275 test -z "$ac_c_werror_flag" ||
37276 test ! -s conftest.err
37277 } && test -s conftest$ac_exeext &&
37278 $as_test_x conftest$ac_exeext; then
37279 eval "$as_ac_var=yes"
37280 else
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.$ac_ext >&5
37283
37284 eval "$as_ac_var=no"
37285 fi
37286
37287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37288 conftest$ac_exeext conftest.$ac_ext
37289 fi
37290 ac_res=`eval echo '${'$as_ac_var'}'`
37291 { echo "$as_me:$LINENO: result: $ac_res" >&5
37292 echo "${ECHO_T}$ac_res" >&6; }
37293 if test `eval echo '${'$as_ac_var'}'` = yes; then
37294 cat >>confdefs.h <<_ACEOF
37295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37296 _ACEOF
37297 WCSLEN_FOUND=1
37298 fi
37299 done
37300
37301
37302 if test "$WCSLEN_FOUND" = 0; then
37303 if test "$TOOLKIT" = "MSW"; then
37304 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37305 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37306 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 else
37309 ac_check_lib_save_LIBS=$LIBS
37310 LIBS="-lmsvcrt $LIBS"
37311 cat >conftest.$ac_ext <<_ACEOF
37312 /* confdefs.h. */
37313 _ACEOF
37314 cat confdefs.h >>conftest.$ac_ext
37315 cat >>conftest.$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37317
37318 /* Override any GCC internal prototype to avoid an error.
37319 Use char because int might match the return type of a GCC
37320 builtin and then its argument prototype would still apply. */
37321 #ifdef __cplusplus
37322 extern "C"
37323 #endif
37324 char wcslen ();
37325 int
37326 main ()
37327 {
37328 return wcslen ();
37329 ;
37330 return 0;
37331 }
37332 _ACEOF
37333 rm -f conftest.$ac_objext conftest$ac_exeext
37334 if { (ac_try="$ac_link"
37335 case "(($ac_try" in
37336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37337 *) ac_try_echo=$ac_try;;
37338 esac
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_link") 2>conftest.er1
37341 ac_status=$?
37342 grep -v '^ *+' conftest.er1 >conftest.err
37343 rm -f conftest.er1
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest$ac_exeext &&
37350 $as_test_x conftest$ac_exeext; then
37351 ac_cv_lib_msvcrt_wcslen=yes
37352 else
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356 ac_cv_lib_msvcrt_wcslen=no
37357 fi
37358
37359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37360 conftest$ac_exeext conftest.$ac_ext
37361 LIBS=$ac_check_lib_save_LIBS
37362 fi
37363 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37364 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37365 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37366 WCHAR_OK=1
37367 fi
37368
37369 else
37370 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37371 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37372 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37373 echo $ECHO_N "(cached) $ECHO_C" >&6
37374 else
37375 ac_check_lib_save_LIBS=$LIBS
37376 LIBS="-lw $LIBS"
37377 cat >conftest.$ac_ext <<_ACEOF
37378 /* confdefs.h. */
37379 _ACEOF
37380 cat confdefs.h >>conftest.$ac_ext
37381 cat >>conftest.$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37383
37384 /* Override any GCC internal prototype to avoid an error.
37385 Use char because int might match the return type of a GCC
37386 builtin and then its argument prototype would still apply. */
37387 #ifdef __cplusplus
37388 extern "C"
37389 #endif
37390 char wcslen ();
37391 int
37392 main ()
37393 {
37394 return wcslen ();
37395 ;
37396 return 0;
37397 }
37398 _ACEOF
37399 rm -f conftest.$ac_objext conftest$ac_exeext
37400 if { (ac_try="$ac_link"
37401 case "(($ac_try" in
37402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37403 *) ac_try_echo=$ac_try;;
37404 esac
37405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37406 (eval "$ac_link") 2>conftest.er1
37407 ac_status=$?
37408 grep -v '^ *+' conftest.er1 >conftest.err
37409 rm -f conftest.er1
37410 cat conftest.err >&5
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); } && {
37413 test -z "$ac_c_werror_flag" ||
37414 test ! -s conftest.err
37415 } && test -s conftest$ac_exeext &&
37416 $as_test_x conftest$ac_exeext; then
37417 ac_cv_lib_w_wcslen=yes
37418 else
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.$ac_ext >&5
37421
37422 ac_cv_lib_w_wcslen=no
37423 fi
37424
37425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37426 conftest$ac_exeext conftest.$ac_ext
37427 LIBS=$ac_check_lib_save_LIBS
37428 fi
37429 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37430 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37431 if test $ac_cv_lib_w_wcslen = yes; then
37432
37433 WCHAR_LINK=" -lw"
37434 WCSLEN_FOUND=1
37435
37436 fi
37437
37438 fi
37439 fi
37440
37441 if test "$WCSLEN_FOUND" = 1; then
37442 cat >>confdefs.h <<\_ACEOF
37443 #define HAVE_WCSLEN 1
37444 _ACEOF
37445
37446 fi
37447
37448
37449 for ac_func in wcsdup
37450 do
37451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37454 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37455 echo $ECHO_N "(cached) $ECHO_C" >&6
37456 else
37457 cat >conftest.$ac_ext <<_ACEOF
37458 /* confdefs.h. */
37459 _ACEOF
37460 cat confdefs.h >>conftest.$ac_ext
37461 cat >>conftest.$ac_ext <<_ACEOF
37462 /* end confdefs.h. */
37463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37465 #define $ac_func innocuous_$ac_func
37466
37467 /* System header to define __stub macros and hopefully few prototypes,
37468 which can conflict with char $ac_func (); below.
37469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37470 <limits.h> exists even on freestanding compilers. */
37471
37472 #ifdef __STDC__
37473 # include <limits.h>
37474 #else
37475 # include <assert.h>
37476 #endif
37477
37478 #undef $ac_func
37479
37480 /* Override any GCC internal prototype to avoid an error.
37481 Use char because int might match the return type of a GCC
37482 builtin and then its argument prototype would still apply. */
37483 #ifdef __cplusplus
37484 extern "C"
37485 #endif
37486 char $ac_func ();
37487 /* The GNU C library defines this for functions which it implements
37488 to always fail with ENOSYS. Some functions are actually named
37489 something starting with __ and the normal name is an alias. */
37490 #if defined __stub_$ac_func || defined __stub___$ac_func
37491 choke me
37492 #endif
37493
37494 int
37495 main ()
37496 {
37497 return $ac_func ();
37498 ;
37499 return 0;
37500 }
37501 _ACEOF
37502 rm -f conftest.$ac_objext conftest$ac_exeext
37503 if { (ac_try="$ac_link"
37504 case "(($ac_try" in
37505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37506 *) ac_try_echo=$ac_try;;
37507 esac
37508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37509 (eval "$ac_link") 2>conftest.er1
37510 ac_status=$?
37511 grep -v '^ *+' conftest.er1 >conftest.err
37512 rm -f conftest.er1
37513 cat conftest.err >&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); } && {
37516 test -z "$ac_c_werror_flag" ||
37517 test ! -s conftest.err
37518 } && test -s conftest$ac_exeext &&
37519 $as_test_x conftest$ac_exeext; then
37520 eval "$as_ac_var=yes"
37521 else
37522 echo "$as_me: failed program was:" >&5
37523 sed 's/^/| /' conftest.$ac_ext >&5
37524
37525 eval "$as_ac_var=no"
37526 fi
37527
37528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37529 conftest$ac_exeext conftest.$ac_ext
37530 fi
37531 ac_res=`eval echo '${'$as_ac_var'}'`
37532 { echo "$as_me:$LINENO: result: $ac_res" >&5
37533 echo "${ECHO_T}$ac_res" >&6; }
37534 if test `eval echo '${'$as_ac_var'}'` = yes; then
37535 cat >>confdefs.h <<_ACEOF
37536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37537 _ACEOF
37538
37539 fi
37540 done
37541
37542
37543 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37544 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37545 fi
37546
37547 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37548 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37549 if test "${ac_cv_type_mbstate_t+set}" = set; then
37550 echo $ECHO_N "(cached) $ECHO_C" >&6
37551 else
37552 cat >conftest.$ac_ext <<_ACEOF
37553 /* confdefs.h. */
37554 _ACEOF
37555 cat confdefs.h >>conftest.$ac_ext
37556 cat >>conftest.$ac_ext <<_ACEOF
37557 /* end confdefs.h. */
37558 #include <wchar.h>
37559
37560 typedef mbstate_t ac__type_new_;
37561 int
37562 main ()
37563 {
37564 if ((ac__type_new_ *) 0)
37565 return 0;
37566 if (sizeof (ac__type_new_))
37567 return 0;
37568 ;
37569 return 0;
37570 }
37571 _ACEOF
37572 rm -f conftest.$ac_objext
37573 if { (ac_try="$ac_compile"
37574 case "(($ac_try" in
37575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37576 *) ac_try_echo=$ac_try;;
37577 esac
37578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37579 (eval "$ac_compile") 2>conftest.er1
37580 ac_status=$?
37581 grep -v '^ *+' conftest.er1 >conftest.err
37582 rm -f conftest.er1
37583 cat conftest.err >&5
37584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37585 (exit $ac_status); } && {
37586 test -z "$ac_c_werror_flag" ||
37587 test ! -s conftest.err
37588 } && test -s conftest.$ac_objext; then
37589 ac_cv_type_mbstate_t=yes
37590 else
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.$ac_ext >&5
37593
37594 ac_cv_type_mbstate_t=no
37595 fi
37596
37597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37598 fi
37599 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37600 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37601 if test $ac_cv_type_mbstate_t = yes; then
37602
37603 cat >>confdefs.h <<_ACEOF
37604 #define HAVE_MBSTATE_T 1
37605 _ACEOF
37606
37607
37608 for ac_func in wcsrtombs
37609 do
37610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37611 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37613 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37615 else
37616 cat >conftest.$ac_ext <<_ACEOF
37617 /* confdefs.h. */
37618 _ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37624 #define $ac_func innocuous_$ac_func
37625
37626 /* System header to define __stub macros and hopefully few prototypes,
37627 which can conflict with char $ac_func (); below.
37628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37629 <limits.h> exists even on freestanding compilers. */
37630
37631 #ifdef __STDC__
37632 # include <limits.h>
37633 #else
37634 # include <assert.h>
37635 #endif
37636
37637 #undef $ac_func
37638
37639 /* Override any GCC internal prototype to avoid an error.
37640 Use char because int might match the return type of a GCC
37641 builtin and then its argument prototype would still apply. */
37642 #ifdef __cplusplus
37643 extern "C"
37644 #endif
37645 char $ac_func ();
37646 /* The GNU C library defines this for functions which it implements
37647 to always fail with ENOSYS. Some functions are actually named
37648 something starting with __ and the normal name is an alias. */
37649 #if defined __stub_$ac_func || defined __stub___$ac_func
37650 choke me
37651 #endif
37652
37653 int
37654 main ()
37655 {
37656 return $ac_func ();
37657 ;
37658 return 0;
37659 }
37660 _ACEOF
37661 rm -f conftest.$ac_objext conftest$ac_exeext
37662 if { (ac_try="$ac_link"
37663 case "(($ac_try" in
37664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37665 *) ac_try_echo=$ac_try;;
37666 esac
37667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37668 (eval "$ac_link") 2>conftest.er1
37669 ac_status=$?
37670 grep -v '^ *+' conftest.er1 >conftest.err
37671 rm -f conftest.er1
37672 cat conftest.err >&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); } && {
37675 test -z "$ac_c_werror_flag" ||
37676 test ! -s conftest.err
37677 } && test -s conftest$ac_exeext &&
37678 $as_test_x conftest$ac_exeext; then
37679 eval "$as_ac_var=yes"
37680 else
37681 echo "$as_me: failed program was:" >&5
37682 sed 's/^/| /' conftest.$ac_ext >&5
37683
37684 eval "$as_ac_var=no"
37685 fi
37686
37687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37688 conftest$ac_exeext conftest.$ac_ext
37689 fi
37690 ac_res=`eval echo '${'$as_ac_var'}'`
37691 { echo "$as_me:$LINENO: result: $ac_res" >&5
37692 echo "${ECHO_T}$ac_res" >&6; }
37693 if test `eval echo '${'$as_ac_var'}'` = yes; then
37694 cat >>confdefs.h <<_ACEOF
37695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37696 _ACEOF
37697
37698 fi
37699 done
37700
37701 fi
37702
37703 else
37704 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37705 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37706 fi
37707
37708
37709
37710 for ac_func in snprintf vsnprintf
37711 do
37712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37713 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37715 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37717 else
37718 cat >conftest.$ac_ext <<_ACEOF
37719 /* confdefs.h. */
37720 _ACEOF
37721 cat confdefs.h >>conftest.$ac_ext
37722 cat >>conftest.$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37726 #define $ac_func innocuous_$ac_func
37727
37728 /* System header to define __stub macros and hopefully few prototypes,
37729 which can conflict with char $ac_func (); below.
37730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37731 <limits.h> exists even on freestanding compilers. */
37732
37733 #ifdef __STDC__
37734 # include <limits.h>
37735 #else
37736 # include <assert.h>
37737 #endif
37738
37739 #undef $ac_func
37740
37741 /* Override any GCC internal prototype to avoid an error.
37742 Use char because int might match the return type of a GCC
37743 builtin and then its argument prototype would still apply. */
37744 #ifdef __cplusplus
37745 extern "C"
37746 #endif
37747 char $ac_func ();
37748 /* The GNU C library defines this for functions which it implements
37749 to always fail with ENOSYS. Some functions are actually named
37750 something starting with __ and the normal name is an alias. */
37751 #if defined __stub_$ac_func || defined __stub___$ac_func
37752 choke me
37753 #endif
37754
37755 int
37756 main ()
37757 {
37758 return $ac_func ();
37759 ;
37760 return 0;
37761 }
37762 _ACEOF
37763 rm -f conftest.$ac_objext conftest$ac_exeext
37764 if { (ac_try="$ac_link"
37765 case "(($ac_try" in
37766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37767 *) ac_try_echo=$ac_try;;
37768 esac
37769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37770 (eval "$ac_link") 2>conftest.er1
37771 ac_status=$?
37772 grep -v '^ *+' conftest.er1 >conftest.err
37773 rm -f conftest.er1
37774 cat conftest.err >&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } && {
37777 test -z "$ac_c_werror_flag" ||
37778 test ! -s conftest.err
37779 } && test -s conftest$ac_exeext &&
37780 $as_test_x conftest$ac_exeext; then
37781 eval "$as_ac_var=yes"
37782 else
37783 echo "$as_me: failed program was:" >&5
37784 sed 's/^/| /' conftest.$ac_ext >&5
37785
37786 eval "$as_ac_var=no"
37787 fi
37788
37789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37790 conftest$ac_exeext conftest.$ac_ext
37791 fi
37792 ac_res=`eval echo '${'$as_ac_var'}'`
37793 { echo "$as_me:$LINENO: result: $ac_res" >&5
37794 echo "${ECHO_T}$ac_res" >&6; }
37795 if test `eval echo '${'$as_ac_var'}'` = yes; then
37796 cat >>confdefs.h <<_ACEOF
37797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37798 _ACEOF
37799
37800 fi
37801 done
37802
37803
37804 if test "$ac_cv_func_vsnprintf" = "yes"; then
37805 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37806 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37807 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37809 else
37810
37811 cat >conftest.$ac_ext <<_ACEOF
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817
37818 #include <stdio.h>
37819 #include <stdarg.h>
37820 #ifdef __MSL__
37821 #if __MSL__ >= 0x6000
37822 namespace std {}
37823 using namespace std;
37824 #endif
37825 #endif
37826
37827 int
37828 main ()
37829 {
37830
37831 char *buf;
37832 va_list ap;
37833 vsnprintf(buf, 10u, "%s", ap);
37834
37835 ;
37836 return 0;
37837 }
37838 _ACEOF
37839 rm -f conftest.$ac_objext
37840 if { (ac_try="$ac_compile"
37841 case "(($ac_try" in
37842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37843 *) ac_try_echo=$ac_try;;
37844 esac
37845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37846 (eval "$ac_compile") 2>conftest.er1
37847 ac_status=$?
37848 grep -v '^ *+' conftest.er1 >conftest.err
37849 rm -f conftest.er1
37850 cat conftest.err >&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } && {
37853 test -z "$ac_c_werror_flag" ||
37854 test ! -s conftest.err
37855 } && test -s conftest.$ac_objext; then
37856 wx_cv_func_vsnprintf_decl=yes
37857 else
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37860
37861 wx_cv_func_vsnprintf_decl=no
37862
37863 fi
37864
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37866
37867
37868 fi
37869 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37870 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37871
37872 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE_VSNPRINTF_DECL 1
37875 _ACEOF
37876
37877
37878 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37879 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37880 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37881 echo $ECHO_N "(cached) $ECHO_C" >&6
37882 else
37883
37884 cat >conftest.$ac_ext <<_ACEOF
37885 /* confdefs.h. */
37886 _ACEOF
37887 cat confdefs.h >>conftest.$ac_ext
37888 cat >>conftest.$ac_ext <<_ACEOF
37889 /* end confdefs.h. */
37890
37891 #include <stdio.h>
37892 #include <stdarg.h>
37893 #ifdef __MSL__
37894 #if __MSL__ >= 0x6000
37895 namespace std {}
37896 using namespace std;
37897 #endif
37898 #endif
37899
37900 int
37901 main ()
37902 {
37903
37904 char *buf;
37905 va_list ap;
37906 const char *fmt = "%s";
37907 vsnprintf(buf, 10u, fmt, ap);
37908
37909 ;
37910 return 0;
37911 }
37912 _ACEOF
37913 rm -f conftest.$ac_objext
37914 if { (ac_try="$ac_compile"
37915 case "(($ac_try" in
37916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37917 *) ac_try_echo=$ac_try;;
37918 esac
37919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37920 (eval "$ac_compile") 2>conftest.er1
37921 ac_status=$?
37922 grep -v '^ *+' conftest.er1 >conftest.err
37923 rm -f conftest.er1
37924 cat conftest.err >&5
37925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37926 (exit $ac_status); } && {
37927 test -z "$ac_c_werror_flag" ||
37928 test ! -s conftest.err
37929 } && test -s conftest.$ac_objext; then
37930 wx_cv_func_broken_vsnprintf_decl=no
37931 else
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.$ac_ext >&5
37934
37935 wx_cv_func_broken_vsnprintf_decl=yes
37936
37937 fi
37938
37939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37940
37941
37942 fi
37943 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37944 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37945
37946 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37947 cat >>confdefs.h <<\_ACEOF
37948 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37949 _ACEOF
37950
37951 fi
37952 fi
37953 fi
37954
37955 if test "$ac_cv_func_snprintf" = "yes"; then
37956 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37957 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37958 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37959 echo $ECHO_N "(cached) $ECHO_C" >&6
37960 else
37961
37962 cat >conftest.$ac_ext <<_ACEOF
37963 /* confdefs.h. */
37964 _ACEOF
37965 cat confdefs.h >>conftest.$ac_ext
37966 cat >>conftest.$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37968
37969 #include <stdio.h>
37970 #include <stdarg.h>
37971 #ifdef __MSL__
37972 #if __MSL__ >= 0x6000
37973 namespace std {}
37974 using namespace std;
37975 #endif
37976 #endif
37977
37978 int
37979 main ()
37980 {
37981
37982 char *buf;
37983 snprintf(buf, 10u, "%s", "wx");
37984
37985 ;
37986 return 0;
37987 }
37988 _ACEOF
37989 rm -f conftest.$ac_objext
37990 if { (ac_try="$ac_compile"
37991 case "(($ac_try" in
37992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37993 *) ac_try_echo=$ac_try;;
37994 esac
37995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37996 (eval "$ac_compile") 2>conftest.er1
37997 ac_status=$?
37998 grep -v '^ *+' conftest.er1 >conftest.err
37999 rm -f conftest.er1
38000 cat conftest.err >&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); } && {
38003 test -z "$ac_c_werror_flag" ||
38004 test ! -s conftest.err
38005 } && test -s conftest.$ac_objext; then
38006 wx_cv_func_snprintf_decl=yes
38007 else
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.$ac_ext >&5
38010
38011 wx_cv_func_snprintf_decl=no
38012
38013 fi
38014
38015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38016
38017
38018 fi
38019 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38020 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38021
38022 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38023 cat >>confdefs.h <<\_ACEOF
38024 #define HAVE_SNPRINTF_DECL 1
38025 _ACEOF
38026
38027 fi
38028
38029 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38030
38031 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38032 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38033 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38034 echo $ECHO_N "(cached) $ECHO_C" >&6
38035 else
38036
38037 if test "$cross_compiling" = yes; then
38038
38039 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38040 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38041 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38042 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38043 wx_cv_func_snprintf_pos_params=no
38044
38045
38046 else
38047 cat >conftest.$ac_ext <<_ACEOF
38048 /* confdefs.h. */
38049 _ACEOF
38050 cat confdefs.h >>conftest.$ac_ext
38051 cat >>conftest.$ac_ext <<_ACEOF
38052 /* end confdefs.h. */
38053
38054 #include <stdio.h>
38055
38056 int main (void)
38057 {
38058 char buffer[128];
38059 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38060 if (strcmp ("2 3 1", buffer) == 0)
38061 exit (0);
38062 exit (1);
38063 }
38064
38065 _ACEOF
38066 rm -f conftest$ac_exeext
38067 if { (ac_try="$ac_link"
38068 case "(($ac_try" in
38069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38070 *) ac_try_echo=$ac_try;;
38071 esac
38072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38073 (eval "$ac_link") 2>&5
38074 ac_status=$?
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38077 { (case "(($ac_try" in
38078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38079 *) ac_try_echo=$ac_try;;
38080 esac
38081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38082 (eval "$ac_try") 2>&5
38083 ac_status=$?
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); }; }; then
38086 wx_cv_func_snprintf_pos_params=no
38087 else
38088 echo "$as_me: program exited with status $ac_status" >&5
38089 echo "$as_me: failed program was:" >&5
38090 sed 's/^/| /' conftest.$ac_ext >&5
38091
38092 ( exit $ac_status )
38093 wx_cv_func_snprintf_pos_params=yes
38094 fi
38095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38096 fi
38097
38098
38099
38100
38101 fi
38102 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38103 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38104
38105 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38106 cat >>confdefs.h <<\_ACEOF
38107 #define HAVE_UNIX98_PRINTF 1
38108 _ACEOF
38109
38110 fi
38111 fi
38112 fi
38113
38114 if test "$wxUSE_UNICODE" = yes; then
38115
38116 wchar_headers="#include <stdio.h>
38117 #include <wchar.h>"
38118 case "${host}" in
38119 *-*-solaris2* )
38120
38121 for ac_header in widec.h
38122 do
38123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38127 echo $ECHO_N "(cached) $ECHO_C" >&6
38128 else
38129 cat >conftest.$ac_ext <<_ACEOF
38130 /* confdefs.h. */
38131 _ACEOF
38132 cat confdefs.h >>conftest.$ac_ext
38133 cat >>conftest.$ac_ext <<_ACEOF
38134 /* end confdefs.h. */
38135 $ac_includes_default
38136
38137 #include <$ac_header>
38138 _ACEOF
38139 rm -f conftest.$ac_objext
38140 if { (ac_try="$ac_compile"
38141 case "(($ac_try" in
38142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38143 *) ac_try_echo=$ac_try;;
38144 esac
38145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38146 (eval "$ac_compile") 2>conftest.er1
38147 ac_status=$?
38148 grep -v '^ *+' conftest.er1 >conftest.err
38149 rm -f conftest.er1
38150 cat conftest.err >&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); } && {
38153 test -z "$ac_c_werror_flag" ||
38154 test ! -s conftest.err
38155 } && test -s conftest.$ac_objext; then
38156 eval "$as_ac_Header=yes"
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38160
38161 eval "$as_ac_Header=no"
38162 fi
38163
38164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38165 fi
38166 ac_res=`eval echo '${'$as_ac_Header'}'`
38167 { echo "$as_me:$LINENO: result: $ac_res" >&5
38168 echo "${ECHO_T}$ac_res" >&6; }
38169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38170 cat >>confdefs.h <<_ACEOF
38171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38172 _ACEOF
38173
38174 fi
38175
38176 done
38177
38178 if test "$ac_cv_header_widec_h" = "yes"; then
38179 wchar_headers="$wchar_headers
38180 #include <widec.h>"
38181 fi
38182 esac
38183
38184
38185 for wx_func in putws fputws wprintf vswprintf
38186 do
38187 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38188 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38189 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 else
38192
38193 cat >conftest.$ac_ext <<_ACEOF
38194
38195 /* confdefs.h. */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200
38201 $wchar_headers
38202 $ac_includes_default
38203
38204 int
38205 main ()
38206 {
38207
38208 #ifndef $wx_func
38209 &$wx_func;
38210 #endif
38211
38212
38213 ;
38214 return 0;
38215 }
38216
38217 _ACEOF
38218 rm -f conftest.$ac_objext conftest$ac_exeext
38219 if { (ac_try="$ac_link"
38220 case "(($ac_try" in
38221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38222 *) ac_try_echo=$ac_try;;
38223 esac
38224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38225 (eval "$ac_link") 2>conftest.er1
38226 ac_status=$?
38227 grep -v '^ *+' conftest.er1 >conftest.err
38228 rm -f conftest.er1
38229 cat conftest.err >&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); } && {
38232 test -z "$ac_c_werror_flag" ||
38233 test ! -s conftest.err
38234 } && test -s conftest$ac_exeext &&
38235 $as_test_x conftest$ac_exeext; then
38236 eval wx_cv_func_$wx_func=yes
38237 else
38238 echo "$as_me: failed program was:" >&5
38239 sed 's/^/| /' conftest.$ac_ext >&5
38240
38241 eval wx_cv_func_$wx_func=no
38242 fi
38243
38244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38245 conftest$ac_exeext conftest.$ac_ext
38246
38247 fi
38248 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38249 { echo "$as_me:$LINENO: result: $ac_res" >&5
38250 echo "${ECHO_T}$ac_res" >&6; }
38251
38252 if eval test \$wx_cv_func_$wx_func = yes
38253 then
38254 cat >>confdefs.h <<_ACEOF
38255 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38256 _ACEOF
38257
38258
38259 else
38260 :
38261
38262 fi
38263 done
38264
38265
38266 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38267 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38268 cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h. */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38274 #include <wchar.h>
38275 int
38276 main ()
38277 {
38278 &_vsnwprintf;
38279 ;
38280 return 0;
38281 }
38282 _ACEOF
38283 rm -f conftest.$ac_objext
38284 if { (ac_try="$ac_compile"
38285 case "(($ac_try" in
38286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38287 *) ac_try_echo=$ac_try;;
38288 esac
38289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38290 (eval "$ac_compile") 2>conftest.er1
38291 ac_status=$?
38292 grep -v '^ *+' conftest.er1 >conftest.err
38293 rm -f conftest.er1
38294 cat conftest.err >&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); } && {
38297 test -z "$ac_c_werror_flag" ||
38298 test ! -s conftest.err
38299 } && test -s conftest.$ac_objext; then
38300 { echo "$as_me:$LINENO: result: yes" >&5
38301 echo "${ECHO_T}yes" >&6; }
38302 cat >>confdefs.h <<\_ACEOF
38303 #define HAVE__VSNWPRINTF 1
38304 _ACEOF
38305
38306 else
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.$ac_ext >&5
38309
38310 { echo "$as_me:$LINENO: result: no" >&5
38311 echo "${ECHO_T}no" >&6; }
38312 fi
38313
38314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38315 fi
38316
38317 if test "$wxUSE_FILE" = "yes"; then
38318
38319 for wx_func in fsync
38320 do
38321 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38322 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38323 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38324 echo $ECHO_N "(cached) $ECHO_C" >&6
38325 else
38326
38327 cat >conftest.$ac_ext <<_ACEOF
38328
38329 /* confdefs.h. */
38330 _ACEOF
38331 cat confdefs.h >>conftest.$ac_ext
38332 cat >>conftest.$ac_ext <<_ACEOF
38333 /* end confdefs.h. */
38334
38335
38336 $ac_includes_default
38337
38338 int
38339 main ()
38340 {
38341
38342 #ifndef $wx_func
38343 &$wx_func;
38344 #endif
38345
38346
38347 ;
38348 return 0;
38349 }
38350
38351 _ACEOF
38352 rm -f conftest.$ac_objext conftest$ac_exeext
38353 if { (ac_try="$ac_link"
38354 case "(($ac_try" in
38355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38356 *) ac_try_echo=$ac_try;;
38357 esac
38358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38359 (eval "$ac_link") 2>conftest.er1
38360 ac_status=$?
38361 grep -v '^ *+' conftest.er1 >conftest.err
38362 rm -f conftest.er1
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } && {
38366 test -z "$ac_c_werror_flag" ||
38367 test ! -s conftest.err
38368 } && test -s conftest$ac_exeext &&
38369 $as_test_x conftest$ac_exeext; then
38370 eval wx_cv_func_$wx_func=yes
38371 else
38372 echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.$ac_ext >&5
38374
38375 eval wx_cv_func_$wx_func=no
38376 fi
38377
38378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38379 conftest$ac_exeext conftest.$ac_ext
38380
38381 fi
38382 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38383 { echo "$as_me:$LINENO: result: $ac_res" >&5
38384 echo "${ECHO_T}$ac_res" >&6; }
38385
38386 if eval test \$wx_cv_func_$wx_func = yes
38387 then
38388 cat >>confdefs.h <<_ACEOF
38389 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38390 _ACEOF
38391
38392
38393 else
38394 :
38395
38396 fi
38397 done
38398
38399 fi
38400
38401 ac_ext=cpp
38402 ac_cpp='$CXXCPP $CPPFLAGS'
38403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38406
38407
38408 for wx_func in round
38409 do
38410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38412 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 else
38415
38416 cat >conftest.$ac_ext <<_ACEOF
38417
38418 /* confdefs.h. */
38419 _ACEOF
38420 cat confdefs.h >>conftest.$ac_ext
38421 cat >>conftest.$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38423
38424 #include <math.h>
38425 $ac_includes_default
38426
38427 int
38428 main ()
38429 {
38430
38431 #ifndef $wx_func
38432 &$wx_func;
38433 #endif
38434
38435
38436 ;
38437 return 0;
38438 }
38439
38440 _ACEOF
38441 rm -f conftest.$ac_objext conftest$ac_exeext
38442 if { (ac_try="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38445 *) ac_try_echo=$ac_try;;
38446 esac
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38449 ac_status=$?
38450 grep -v '^ *+' conftest.er1 >conftest.err
38451 rm -f conftest.er1
38452 cat conftest.err >&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_cxx_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest$ac_exeext &&
38458 $as_test_x conftest$ac_exeext; then
38459 eval wx_cv_func_$wx_func=yes
38460 else
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.$ac_ext >&5
38463
38464 eval wx_cv_func_$wx_func=no
38465 fi
38466
38467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38468 conftest$ac_exeext conftest.$ac_ext
38469
38470 fi
38471 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38474
38475 if eval test \$wx_cv_func_$wx_func = yes
38476 then
38477 cat >>confdefs.h <<_ACEOF
38478 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38479 _ACEOF
38480
38481
38482 else
38483 :
38484
38485 fi
38486 done
38487
38488 ac_ext=c
38489 ac_cpp='$CPP $CPPFLAGS'
38490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38493
38494
38495 if test "$TOOLKIT" != "MSW"; then
38496
38497
38498
38499
38500
38501 # Check whether --with-libiconv-prefix was given.
38502 if test "${with_libiconv_prefix+set}" = set; then
38503 withval=$with_libiconv_prefix;
38504 for dir in `echo "$withval" | tr : ' '`; do
38505 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38506 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38507 done
38508
38509 fi
38510
38511
38512 { echo "$as_me:$LINENO: checking for iconv" >&5
38513 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38514 if test "${am_cv_func_iconv+set}" = set; then
38515 echo $ECHO_N "(cached) $ECHO_C" >&6
38516 else
38517
38518 am_cv_func_iconv="no, consider installing GNU libiconv"
38519 am_cv_lib_iconv=no
38520 cat >conftest.$ac_ext <<_ACEOF
38521 /* confdefs.h. */
38522 _ACEOF
38523 cat confdefs.h >>conftest.$ac_ext
38524 cat >>conftest.$ac_ext <<_ACEOF
38525 /* end confdefs.h. */
38526 #include <stdlib.h>
38527 #include <iconv.h>
38528 int
38529 main ()
38530 {
38531 iconv_t cd = iconv_open("","");
38532 iconv(cd,NULL,NULL,NULL,NULL);
38533 iconv_close(cd);
38534 ;
38535 return 0;
38536 }
38537 _ACEOF
38538 rm -f conftest.$ac_objext conftest$ac_exeext
38539 if { (ac_try="$ac_link"
38540 case "(($ac_try" in
38541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38542 *) ac_try_echo=$ac_try;;
38543 esac
38544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38545 (eval "$ac_link") 2>conftest.er1
38546 ac_status=$?
38547 grep -v '^ *+' conftest.er1 >conftest.err
38548 rm -f conftest.er1
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } && {
38552 test -z "$ac_c_werror_flag" ||
38553 test ! -s conftest.err
38554 } && test -s conftest$ac_exeext &&
38555 $as_test_x conftest$ac_exeext; then
38556 am_cv_func_iconv=yes
38557 else
38558 echo "$as_me: failed program was:" >&5
38559 sed 's/^/| /' conftest.$ac_ext >&5
38560
38561
38562 fi
38563
38564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38565 conftest$ac_exeext conftest.$ac_ext
38566 if test "$am_cv_func_iconv" != yes; then
38567 am_save_LIBS="$LIBS"
38568 LIBS="$LIBS -liconv"
38569 cat >conftest.$ac_ext <<_ACEOF
38570 /* confdefs.h. */
38571 _ACEOF
38572 cat confdefs.h >>conftest.$ac_ext
38573 cat >>conftest.$ac_ext <<_ACEOF
38574 /* end confdefs.h. */
38575 #include <stdlib.h>
38576 #include <iconv.h>
38577 int
38578 main ()
38579 {
38580 iconv_t cd = iconv_open("","");
38581 iconv(cd,NULL,NULL,NULL,NULL);
38582 iconv_close(cd);
38583 ;
38584 return 0;
38585 }
38586 _ACEOF
38587 rm -f conftest.$ac_objext conftest$ac_exeext
38588 if { (ac_try="$ac_link"
38589 case "(($ac_try" in
38590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38591 *) ac_try_echo=$ac_try;;
38592 esac
38593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38594 (eval "$ac_link") 2>conftest.er1
38595 ac_status=$?
38596 grep -v '^ *+' conftest.er1 >conftest.err
38597 rm -f conftest.er1
38598 cat conftest.err >&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); } && {
38601 test -z "$ac_c_werror_flag" ||
38602 test ! -s conftest.err
38603 } && test -s conftest$ac_exeext &&
38604 $as_test_x conftest$ac_exeext; then
38605 am_cv_lib_iconv=yes
38606 am_cv_func_iconv=yes
38607 else
38608 echo "$as_me: failed program was:" >&5
38609 sed 's/^/| /' conftest.$ac_ext >&5
38610
38611
38612 fi
38613
38614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38615 conftest$ac_exeext conftest.$ac_ext
38616 LIBS="$am_save_LIBS"
38617 fi
38618
38619 fi
38620 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38621 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38622 if test "$am_cv_func_iconv" = yes; then
38623
38624 cat >>confdefs.h <<\_ACEOF
38625 #define HAVE_ICONV 1
38626 _ACEOF
38627
38628 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38629 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38630 if test "${wx_cv_func_iconv_const+set}" = set; then
38631 echo $ECHO_N "(cached) $ECHO_C" >&6
38632 else
38633 cat >conftest.$ac_ext <<_ACEOF
38634 /* confdefs.h. */
38635 _ACEOF
38636 cat confdefs.h >>conftest.$ac_ext
38637 cat >>conftest.$ac_ext <<_ACEOF
38638 /* end confdefs.h. */
38639
38640 #include <stdlib.h>
38641 #include <iconv.h>
38642 extern
38643 #ifdef __cplusplus
38644 "C"
38645 #endif
38646 #if defined(__STDC__) || defined(__cplusplus)
38647 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38648 #else
38649 size_t iconv();
38650 #endif
38651
38652 int
38653 main ()
38654 {
38655
38656 ;
38657 return 0;
38658 }
38659 _ACEOF
38660 rm -f conftest.$ac_objext
38661 if { (ac_try="$ac_compile"
38662 case "(($ac_try" in
38663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38664 *) ac_try_echo=$ac_try;;
38665 esac
38666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38667 (eval "$ac_compile") 2>conftest.er1
38668 ac_status=$?
38669 grep -v '^ *+' conftest.er1 >conftest.err
38670 rm -f conftest.er1
38671 cat conftest.err >&5
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); } && {
38674 test -z "$ac_c_werror_flag" ||
38675 test ! -s conftest.err
38676 } && test -s conftest.$ac_objext; then
38677 wx_cv_func_iconv_const="no"
38678 else
38679 echo "$as_me: failed program was:" >&5
38680 sed 's/^/| /' conftest.$ac_ext >&5
38681
38682 wx_cv_func_iconv_const="yes"
38683
38684 fi
38685
38686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38687
38688 fi
38689 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38690 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38691
38692 iconv_const=
38693 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38694 iconv_const="const"
38695 fi
38696
38697
38698 cat >>confdefs.h <<_ACEOF
38699 #define ICONV_CONST $iconv_const
38700 _ACEOF
38701
38702 fi
38703 LIBICONV=
38704 if test "$am_cv_lib_iconv" = yes; then
38705 LIBICONV="-liconv"
38706 fi
38707
38708
38709 LIBS="$LIBICONV $LIBS"
38710
38711 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38712
38713 for ac_func in sigaction
38714 do
38715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38719 echo $ECHO_N "(cached) $ECHO_C" >&6
38720 else
38721 cat >conftest.$ac_ext <<_ACEOF
38722 /* confdefs.h. */
38723 _ACEOF
38724 cat confdefs.h >>conftest.$ac_ext
38725 cat >>conftest.$ac_ext <<_ACEOF
38726 /* end confdefs.h. */
38727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38729 #define $ac_func innocuous_$ac_func
38730
38731 /* System header to define __stub macros and hopefully few prototypes,
38732 which can conflict with char $ac_func (); below.
38733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38734 <limits.h> exists even on freestanding compilers. */
38735
38736 #ifdef __STDC__
38737 # include <limits.h>
38738 #else
38739 # include <assert.h>
38740 #endif
38741
38742 #undef $ac_func
38743
38744 /* Override any GCC internal prototype to avoid an error.
38745 Use char because int might match the return type of a GCC
38746 builtin and then its argument prototype would still apply. */
38747 #ifdef __cplusplus
38748 extern "C"
38749 #endif
38750 char $ac_func ();
38751 /* The GNU C library defines this for functions which it implements
38752 to always fail with ENOSYS. Some functions are actually named
38753 something starting with __ and the normal name is an alias. */
38754 #if defined __stub_$ac_func || defined __stub___$ac_func
38755 choke me
38756 #endif
38757
38758 int
38759 main ()
38760 {
38761 return $ac_func ();
38762 ;
38763 return 0;
38764 }
38765 _ACEOF
38766 rm -f conftest.$ac_objext conftest$ac_exeext
38767 if { (ac_try="$ac_link"
38768 case "(($ac_try" in
38769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38770 *) ac_try_echo=$ac_try;;
38771 esac
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_link") 2>conftest.er1
38774 ac_status=$?
38775 grep -v '^ *+' conftest.er1 >conftest.err
38776 rm -f conftest.er1
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_c_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest$ac_exeext &&
38783 $as_test_x conftest$ac_exeext; then
38784 eval "$as_ac_var=yes"
38785 else
38786 echo "$as_me: failed program was:" >&5
38787 sed 's/^/| /' conftest.$ac_ext >&5
38788
38789 eval "$as_ac_var=no"
38790 fi
38791
38792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38793 conftest$ac_exeext conftest.$ac_ext
38794 fi
38795 ac_res=`eval echo '${'$as_ac_var'}'`
38796 { echo "$as_me:$LINENO: result: $ac_res" >&5
38797 echo "${ECHO_T}$ac_res" >&6; }
38798 if test `eval echo '${'$as_ac_var'}'` = yes; then
38799 cat >>confdefs.h <<_ACEOF
38800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38801 _ACEOF
38802
38803 fi
38804 done
38805
38806
38807 if test "$ac_cv_func_sigaction" = "no"; then
38808 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38809 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38810 wxUSE_ON_FATAL_EXCEPTION=no
38811 fi
38812
38813 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38814 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38815 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38816 if test "${wx_cv_type_sa_handler+set}" = set; then
38817 echo $ECHO_N "(cached) $ECHO_C" >&6
38818 else
38819
38820 ac_ext=cpp
38821 ac_cpp='$CXXCPP $CPPFLAGS'
38822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38825
38826 cat >conftest.$ac_ext <<_ACEOF
38827 /* confdefs.h. */
38828 _ACEOF
38829 cat confdefs.h >>conftest.$ac_ext
38830 cat >>conftest.$ac_ext <<_ACEOF
38831 /* end confdefs.h. */
38832 #include <signal.h>
38833 int
38834 main ()
38835 {
38836
38837 extern void testSigHandler(int);
38838
38839 struct sigaction sa;
38840 sa.sa_handler = testSigHandler;
38841
38842 ;
38843 return 0;
38844 }
38845 _ACEOF
38846 rm -f conftest.$ac_objext
38847 if { (ac_try="$ac_compile"
38848 case "(($ac_try" in
38849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38850 *) ac_try_echo=$ac_try;;
38851 esac
38852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38853 (eval "$ac_compile") 2>conftest.er1
38854 ac_status=$?
38855 grep -v '^ *+' conftest.er1 >conftest.err
38856 rm -f conftest.er1
38857 cat conftest.err >&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); } && {
38860 test -z "$ac_cxx_werror_flag" ||
38861 test ! -s conftest.err
38862 } && test -s conftest.$ac_objext; then
38863
38864 wx_cv_type_sa_handler=int
38865
38866 else
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38869
38870
38871 wx_cv_type_sa_handler=void
38872
38873 fi
38874
38875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38876 ac_ext=c
38877 ac_cpp='$CPP $CPPFLAGS'
38878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881
38882
38883 fi
38884 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38885 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38886
38887 cat >>confdefs.h <<_ACEOF
38888 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38889 _ACEOF
38890
38891 fi
38892 fi
38893
38894 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38895 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38896 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38897 if test "${wx_cv_func_backtrace+set}" = set; then
38898 echo $ECHO_N "(cached) $ECHO_C" >&6
38899 else
38900
38901 ac_ext=cpp
38902 ac_cpp='$CXXCPP $CPPFLAGS'
38903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38906
38907 cat >conftest.$ac_ext <<_ACEOF
38908 /* confdefs.h. */
38909 _ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 #include <execinfo.h>
38914 int
38915 main ()
38916 {
38917
38918 void *trace[1];
38919 char **messages;
38920
38921 backtrace(trace, 1);
38922 messages = backtrace_symbols(trace, 1);
38923
38924 ;
38925 return 0;
38926 }
38927 _ACEOF
38928 rm -f conftest.$ac_objext
38929 if { (ac_try="$ac_compile"
38930 case "(($ac_try" in
38931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38932 *) ac_try_echo=$ac_try;;
38933 esac
38934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38935 (eval "$ac_compile") 2>conftest.er1
38936 ac_status=$?
38937 grep -v '^ *+' conftest.er1 >conftest.err
38938 rm -f conftest.er1
38939 cat conftest.err >&5
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); } && {
38942 test -z "$ac_cxx_werror_flag" ||
38943 test ! -s conftest.err
38944 } && test -s conftest.$ac_objext; then
38945 wx_cv_func_backtrace=yes
38946 else
38947 echo "$as_me: failed program was:" >&5
38948 sed 's/^/| /' conftest.$ac_ext >&5
38949
38950 wx_cv_func_backtrace=no
38951
38952 fi
38953
38954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38955 ac_ext=c
38956 ac_cpp='$CPP $CPPFLAGS'
38957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38960
38961
38962
38963 fi
38964 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38965 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38966
38967
38968 if test "$wx_cv_func_backtrace" = "no"; then
38969 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38970 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38971 wxUSE_STACKWALKER=no
38972 else
38973 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38974 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38975 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38976 echo $ECHO_N "(cached) $ECHO_C" >&6
38977 else
38978
38979 ac_ext=cpp
38980 ac_cpp='$CXXCPP $CPPFLAGS'
38981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38984
38985 cat >conftest.$ac_ext <<_ACEOF
38986 /* confdefs.h. */
38987 _ACEOF
38988 cat confdefs.h >>conftest.$ac_ext
38989 cat >>conftest.$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 #include <cxxabi.h>
38992 int
38993 main ()
38994 {
38995
38996 int rc;
38997 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38998
38999 ;
39000 return 0;
39001 }
39002 _ACEOF
39003 rm -f conftest.$ac_objext conftest$ac_exeext
39004 if { (ac_try="$ac_link"
39005 case "(($ac_try" in
39006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39007 *) ac_try_echo=$ac_try;;
39008 esac
39009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39010 (eval "$ac_link") 2>conftest.er1
39011 ac_status=$?
39012 grep -v '^ *+' conftest.er1 >conftest.err
39013 rm -f conftest.er1
39014 cat conftest.err >&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); } && {
39017 test -z "$ac_cxx_werror_flag" ||
39018 test ! -s conftest.err
39019 } && test -s conftest$ac_exeext &&
39020 $as_test_x conftest$ac_exeext; then
39021 wx_cv_func_cxa_demangle=yes
39022 else
39023 echo "$as_me: failed program was:" >&5
39024 sed 's/^/| /' conftest.$ac_ext >&5
39025
39026 wx_cv_func_cxa_demangle=no
39027
39028 fi
39029
39030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39031 conftest$ac_exeext conftest.$ac_ext
39032 ac_ext=c
39033 ac_cpp='$CPP $CPPFLAGS'
39034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39037
39038
39039
39040 fi
39041 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39042 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39043
39044 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39045 cat >>confdefs.h <<\_ACEOF
39046 #define HAVE_CXA_DEMANGLE 1
39047 _ACEOF
39048
39049 fi
39050 fi
39051 fi
39052
39053 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39054 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39055 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39056 wxUSE_STACKWALKER=no
39057 fi
39058
39059
39060
39061
39062 for ac_func in mkstemp mktemp
39063 do
39064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39068 echo $ECHO_N "(cached) $ECHO_C" >&6
39069 else
39070 cat >conftest.$ac_ext <<_ACEOF
39071 /* confdefs.h. */
39072 _ACEOF
39073 cat confdefs.h >>conftest.$ac_ext
39074 cat >>conftest.$ac_ext <<_ACEOF
39075 /* end confdefs.h. */
39076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39078 #define $ac_func innocuous_$ac_func
39079
39080 /* System header to define __stub macros and hopefully few prototypes,
39081 which can conflict with char $ac_func (); below.
39082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39083 <limits.h> exists even on freestanding compilers. */
39084
39085 #ifdef __STDC__
39086 # include <limits.h>
39087 #else
39088 # include <assert.h>
39089 #endif
39090
39091 #undef $ac_func
39092
39093 /* Override any GCC internal prototype to avoid an error.
39094 Use char because int might match the return type of a GCC
39095 builtin and then its argument prototype would still apply. */
39096 #ifdef __cplusplus
39097 extern "C"
39098 #endif
39099 char $ac_func ();
39100 /* The GNU C library defines this for functions which it implements
39101 to always fail with ENOSYS. Some functions are actually named
39102 something starting with __ and the normal name is an alias. */
39103 #if defined __stub_$ac_func || defined __stub___$ac_func
39104 choke me
39105 #endif
39106
39107 int
39108 main ()
39109 {
39110 return $ac_func ();
39111 ;
39112 return 0;
39113 }
39114 _ACEOF
39115 rm -f conftest.$ac_objext conftest$ac_exeext
39116 if { (ac_try="$ac_link"
39117 case "(($ac_try" in
39118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39119 *) ac_try_echo=$ac_try;;
39120 esac
39121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39122 (eval "$ac_link") 2>conftest.er1
39123 ac_status=$?
39124 grep -v '^ *+' conftest.er1 >conftest.err
39125 rm -f conftest.er1
39126 cat conftest.err >&5
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); } && {
39129 test -z "$ac_c_werror_flag" ||
39130 test ! -s conftest.err
39131 } && test -s conftest$ac_exeext &&
39132 $as_test_x conftest$ac_exeext; then
39133 eval "$as_ac_var=yes"
39134 else
39135 echo "$as_me: failed program was:" >&5
39136 sed 's/^/| /' conftest.$ac_ext >&5
39137
39138 eval "$as_ac_var=no"
39139 fi
39140
39141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39142 conftest$ac_exeext conftest.$ac_ext
39143 fi
39144 ac_res=`eval echo '${'$as_ac_var'}'`
39145 { echo "$as_me:$LINENO: result: $ac_res" >&5
39146 echo "${ECHO_T}$ac_res" >&6; }
39147 if test `eval echo '${'$as_ac_var'}'` = yes; then
39148 cat >>confdefs.h <<_ACEOF
39149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39150 _ACEOF
39151 break
39152 fi
39153 done
39154
39155
39156 { echo "$as_me:$LINENO: checking for statfs" >&5
39157 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39158 if test "${wx_cv_func_statfs+set}" = set; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39160 else
39161 cat >conftest.$ac_ext <<_ACEOF
39162 /* confdefs.h. */
39163 _ACEOF
39164 cat confdefs.h >>conftest.$ac_ext
39165 cat >>conftest.$ac_ext <<_ACEOF
39166 /* end confdefs.h. */
39167
39168 #if defined(__BSD__)
39169 #include <sys/param.h>
39170 #include <sys/mount.h>
39171 #else
39172 #include <sys/vfs.h>
39173 #endif
39174
39175 int
39176 main ()
39177 {
39178
39179 long l;
39180 struct statfs fs;
39181 statfs("/", &fs);
39182 l = fs.f_bsize;
39183 l += fs.f_blocks;
39184 l += fs.f_bavail;
39185
39186 ;
39187 return 0;
39188 }
39189 _ACEOF
39190 rm -f conftest.$ac_objext
39191 if { (ac_try="$ac_compile"
39192 case "(($ac_try" in
39193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39194 *) ac_try_echo=$ac_try;;
39195 esac
39196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39197 (eval "$ac_compile") 2>conftest.er1
39198 ac_status=$?
39199 grep -v '^ *+' conftest.er1 >conftest.err
39200 rm -f conftest.er1
39201 cat conftest.err >&5
39202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203 (exit $ac_status); } && {
39204 test -z "$ac_c_werror_flag" ||
39205 test ! -s conftest.err
39206 } && test -s conftest.$ac_objext; then
39207 wx_cv_func_statfs=yes
39208 else
39209 echo "$as_me: failed program was:" >&5
39210 sed 's/^/| /' conftest.$ac_ext >&5
39211
39212 wx_cv_func_statfs=no
39213
39214 fi
39215
39216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39217
39218 fi
39219 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39220 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39221
39222 if test "$wx_cv_func_statfs" = "yes"; then
39223 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39224 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39225 if test "${wx_cv_func_statfs_decl+set}" = set; then
39226 echo $ECHO_N "(cached) $ECHO_C" >&6
39227 else
39228 ac_ext=cpp
39229 ac_cpp='$CXXCPP $CPPFLAGS'
39230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39233
39234 cat >conftest.$ac_ext <<_ACEOF
39235 /* confdefs.h. */
39236 _ACEOF
39237 cat confdefs.h >>conftest.$ac_ext
39238 cat >>conftest.$ac_ext <<_ACEOF
39239 /* end confdefs.h. */
39240
39241 #if defined(__BSD__)
39242 #include <sys/param.h>
39243 #include <sys/mount.h>
39244 #else
39245 #include <sys/vfs.h>
39246 #endif
39247
39248 int
39249 main ()
39250 {
39251
39252 struct statfs fs;
39253 statfs("", &fs);
39254
39255 ;
39256 return 0;
39257 }
39258 _ACEOF
39259 rm -f conftest.$ac_objext
39260 if { (ac_try="$ac_compile"
39261 case "(($ac_try" in
39262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39263 *) ac_try_echo=$ac_try;;
39264 esac
39265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39266 (eval "$ac_compile") 2>conftest.er1
39267 ac_status=$?
39268 grep -v '^ *+' conftest.er1 >conftest.err
39269 rm -f conftest.er1
39270 cat conftest.err >&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); } && {
39273 test -z "$ac_cxx_werror_flag" ||
39274 test ! -s conftest.err
39275 } && test -s conftest.$ac_objext; then
39276 wx_cv_func_statfs_decl=yes
39277 else
39278 echo "$as_me: failed program was:" >&5
39279 sed 's/^/| /' conftest.$ac_ext >&5
39280
39281 wx_cv_func_statfs_decl=no
39282
39283 fi
39284
39285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39286 ac_ext=c
39287 ac_cpp='$CPP $CPPFLAGS'
39288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39291
39292
39293 fi
39294 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39295 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39296
39297 if test "$wx_cv_func_statfs_decl" = "yes"; then
39298 cat >>confdefs.h <<\_ACEOF
39299 #define HAVE_STATFS_DECL 1
39300 _ACEOF
39301
39302 fi
39303
39304 wx_cv_type_statvfs_t="struct statfs"
39305 cat >>confdefs.h <<\_ACEOF
39306 #define HAVE_STATFS 1
39307 _ACEOF
39308
39309 else
39310 { echo "$as_me:$LINENO: checking for statvfs" >&5
39311 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39312 if test "${wx_cv_func_statvfs+set}" = set; then
39313 echo $ECHO_N "(cached) $ECHO_C" >&6
39314 else
39315 cat >conftest.$ac_ext <<_ACEOF
39316 /* confdefs.h. */
39317 _ACEOF
39318 cat confdefs.h >>conftest.$ac_ext
39319 cat >>conftest.$ac_ext <<_ACEOF
39320 /* end confdefs.h. */
39321
39322 #include <stddef.h>
39323 #include <sys/statvfs.h>
39324
39325 int
39326 main ()
39327 {
39328
39329 statvfs("/", NULL);
39330
39331 ;
39332 return 0;
39333 }
39334 _ACEOF
39335 rm -f conftest.$ac_objext
39336 if { (ac_try="$ac_compile"
39337 case "(($ac_try" in
39338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39339 *) ac_try_echo=$ac_try;;
39340 esac
39341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39342 (eval "$ac_compile") 2>conftest.er1
39343 ac_status=$?
39344 grep -v '^ *+' conftest.er1 >conftest.err
39345 rm -f conftest.er1
39346 cat conftest.err >&5
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); } && {
39349 test -z "$ac_c_werror_flag" ||
39350 test ! -s conftest.err
39351 } && test -s conftest.$ac_objext; then
39352 wx_cv_func_statvfs=yes
39353 else
39354 echo "$as_me: failed program was:" >&5
39355 sed 's/^/| /' conftest.$ac_ext >&5
39356
39357 wx_cv_func_statvfs=no
39358
39359 fi
39360
39361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39362
39363 fi
39364 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39365 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39366
39367 if test "$wx_cv_func_statvfs" = "yes"; then
39368 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39369 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39370 if test "${wx_cv_type_statvfs_t+set}" = set; then
39371 echo $ECHO_N "(cached) $ECHO_C" >&6
39372 else
39373 ac_ext=cpp
39374 ac_cpp='$CXXCPP $CPPFLAGS'
39375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39378
39379 cat >conftest.$ac_ext <<_ACEOF
39380 /* confdefs.h. */
39381 _ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39385
39386 #include <sys/statvfs.h>
39387
39388 int
39389 main ()
39390 {
39391
39392 long l;
39393 statvfs_t fs;
39394 statvfs("/", &fs);
39395 l = fs.f_bsize;
39396 l += fs.f_blocks;
39397 l += fs.f_bavail;
39398
39399 ;
39400 return 0;
39401 }
39402 _ACEOF
39403 rm -f conftest.$ac_objext
39404 if { (ac_try="$ac_compile"
39405 case "(($ac_try" in
39406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39407 *) ac_try_echo=$ac_try;;
39408 esac
39409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39410 (eval "$ac_compile") 2>conftest.er1
39411 ac_status=$?
39412 grep -v '^ *+' conftest.er1 >conftest.err
39413 rm -f conftest.er1
39414 cat conftest.err >&5
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); } && {
39417 test -z "$ac_cxx_werror_flag" ||
39418 test ! -s conftest.err
39419 } && test -s conftest.$ac_objext; then
39420 wx_cv_type_statvfs_t=statvfs_t
39421 else
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39424
39425
39426 cat >conftest.$ac_ext <<_ACEOF
39427 /* confdefs.h. */
39428 _ACEOF
39429 cat confdefs.h >>conftest.$ac_ext
39430 cat >>conftest.$ac_ext <<_ACEOF
39431 /* end confdefs.h. */
39432
39433 #include <sys/statvfs.h>
39434
39435 int
39436 main ()
39437 {
39438
39439 long l;
39440 struct statvfs fs;
39441 statvfs("/", &fs);
39442 l = fs.f_bsize;
39443 l += fs.f_blocks;
39444 l += fs.f_bavail;
39445
39446 ;
39447 return 0;
39448 }
39449 _ACEOF
39450 rm -f conftest.$ac_objext
39451 if { (ac_try="$ac_compile"
39452 case "(($ac_try" in
39453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39454 *) ac_try_echo=$ac_try;;
39455 esac
39456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39457 (eval "$ac_compile") 2>conftest.er1
39458 ac_status=$?
39459 grep -v '^ *+' conftest.er1 >conftest.err
39460 rm -f conftest.er1
39461 cat conftest.err >&5
39462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463 (exit $ac_status); } && {
39464 test -z "$ac_cxx_werror_flag" ||
39465 test ! -s conftest.err
39466 } && test -s conftest.$ac_objext; then
39467 wx_cv_type_statvfs_t="struct statvfs"
39468 else
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.$ac_ext >&5
39471
39472 wx_cv_type_statvfs_t="unknown"
39473
39474 fi
39475
39476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39477
39478
39479 fi
39480
39481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39482 ac_ext=c
39483 ac_cpp='$CPP $CPPFLAGS'
39484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39487
39488
39489 fi
39490 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39491 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39492
39493 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39494 cat >>confdefs.h <<\_ACEOF
39495 #define HAVE_STATVFS 1
39496 _ACEOF
39497
39498 fi
39499 else
39500 wx_cv_type_statvfs_t="unknown"
39501 fi
39502 fi
39503
39504 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39505 cat >>confdefs.h <<_ACEOF
39506 #define WX_STATFS_T $wx_cv_type_statvfs_t
39507 _ACEOF
39508
39509 else
39510 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39511 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39512 fi
39513
39514 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39515
39516
39517 for ac_func in fcntl flock
39518 do
39519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39523 echo $ECHO_N "(cached) $ECHO_C" >&6
39524 else
39525 cat >conftest.$ac_ext <<_ACEOF
39526 /* confdefs.h. */
39527 _ACEOF
39528 cat confdefs.h >>conftest.$ac_ext
39529 cat >>conftest.$ac_ext <<_ACEOF
39530 /* end confdefs.h. */
39531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39533 #define $ac_func innocuous_$ac_func
39534
39535 /* System header to define __stub macros and hopefully few prototypes,
39536 which can conflict with char $ac_func (); below.
39537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39538 <limits.h> exists even on freestanding compilers. */
39539
39540 #ifdef __STDC__
39541 # include <limits.h>
39542 #else
39543 # include <assert.h>
39544 #endif
39545
39546 #undef $ac_func
39547
39548 /* Override any GCC internal prototype to avoid an error.
39549 Use char because int might match the return type of a GCC
39550 builtin and then its argument prototype would still apply. */
39551 #ifdef __cplusplus
39552 extern "C"
39553 #endif
39554 char $ac_func ();
39555 /* The GNU C library defines this for functions which it implements
39556 to always fail with ENOSYS. Some functions are actually named
39557 something starting with __ and the normal name is an alias. */
39558 #if defined __stub_$ac_func || defined __stub___$ac_func
39559 choke me
39560 #endif
39561
39562 int
39563 main ()
39564 {
39565 return $ac_func ();
39566 ;
39567 return 0;
39568 }
39569 _ACEOF
39570 rm -f conftest.$ac_objext conftest$ac_exeext
39571 if { (ac_try="$ac_link"
39572 case "(($ac_try" in
39573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39574 *) ac_try_echo=$ac_try;;
39575 esac
39576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39577 (eval "$ac_link") 2>conftest.er1
39578 ac_status=$?
39579 grep -v '^ *+' conftest.er1 >conftest.err
39580 rm -f conftest.er1
39581 cat conftest.err >&5
39582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583 (exit $ac_status); } && {
39584 test -z "$ac_c_werror_flag" ||
39585 test ! -s conftest.err
39586 } && test -s conftest$ac_exeext &&
39587 $as_test_x conftest$ac_exeext; then
39588 eval "$as_ac_var=yes"
39589 else
39590 echo "$as_me: failed program was:" >&5
39591 sed 's/^/| /' conftest.$ac_ext >&5
39592
39593 eval "$as_ac_var=no"
39594 fi
39595
39596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39597 conftest$ac_exeext conftest.$ac_ext
39598 fi
39599 ac_res=`eval echo '${'$as_ac_var'}'`
39600 { echo "$as_me:$LINENO: result: $ac_res" >&5
39601 echo "${ECHO_T}$ac_res" >&6; }
39602 if test `eval echo '${'$as_ac_var'}'` = yes; then
39603 cat >>confdefs.h <<_ACEOF
39604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39605 _ACEOF
39606 break
39607 fi
39608 done
39609
39610
39611 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39612 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39613 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39614 wxUSE_SNGLINST_CHECKER=no
39615 fi
39616 fi
39617
39618
39619
39620 for ac_func in setenv putenv
39621 do
39622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39626 echo $ECHO_N "(cached) $ECHO_C" >&6
39627 else
39628 cat >conftest.$ac_ext <<_ACEOF
39629 /* confdefs.h. */
39630 _ACEOF
39631 cat confdefs.h >>conftest.$ac_ext
39632 cat >>conftest.$ac_ext <<_ACEOF
39633 /* end confdefs.h. */
39634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39636 #define $ac_func innocuous_$ac_func
39637
39638 /* System header to define __stub macros and hopefully few prototypes,
39639 which can conflict with char $ac_func (); below.
39640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39641 <limits.h> exists even on freestanding compilers. */
39642
39643 #ifdef __STDC__
39644 # include <limits.h>
39645 #else
39646 # include <assert.h>
39647 #endif
39648
39649 #undef $ac_func
39650
39651 /* Override any GCC internal prototype to avoid an error.
39652 Use char because int might match the return type of a GCC
39653 builtin and then its argument prototype would still apply. */
39654 #ifdef __cplusplus
39655 extern "C"
39656 #endif
39657 char $ac_func ();
39658 /* The GNU C library defines this for functions which it implements
39659 to always fail with ENOSYS. Some functions are actually named
39660 something starting with __ and the normal name is an alias. */
39661 #if defined __stub_$ac_func || defined __stub___$ac_func
39662 choke me
39663 #endif
39664
39665 int
39666 main ()
39667 {
39668 return $ac_func ();
39669 ;
39670 return 0;
39671 }
39672 _ACEOF
39673 rm -f conftest.$ac_objext conftest$ac_exeext
39674 if { (ac_try="$ac_link"
39675 case "(($ac_try" in
39676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39677 *) ac_try_echo=$ac_try;;
39678 esac
39679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39680 (eval "$ac_link") 2>conftest.er1
39681 ac_status=$?
39682 grep -v '^ *+' conftest.er1 >conftest.err
39683 rm -f conftest.er1
39684 cat conftest.err >&5
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); } && {
39687 test -z "$ac_c_werror_flag" ||
39688 test ! -s conftest.err
39689 } && test -s conftest$ac_exeext &&
39690 $as_test_x conftest$ac_exeext; then
39691 eval "$as_ac_var=yes"
39692 else
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39695
39696 eval "$as_ac_var=no"
39697 fi
39698
39699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39700 conftest$ac_exeext conftest.$ac_ext
39701 fi
39702 ac_res=`eval echo '${'$as_ac_var'}'`
39703 { echo "$as_me:$LINENO: result: $ac_res" >&5
39704 echo "${ECHO_T}$ac_res" >&6; }
39705 if test `eval echo '${'$as_ac_var'}'` = yes; then
39706 cat >>confdefs.h <<_ACEOF
39707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39708 _ACEOF
39709 break
39710 fi
39711 done
39712
39713 if test "$ac_cv_func_setenv" = "yes"; then
39714
39715 for ac_func in unsetenv
39716 do
39717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39721 echo $ECHO_N "(cached) $ECHO_C" >&6
39722 else
39723 cat >conftest.$ac_ext <<_ACEOF
39724 /* confdefs.h. */
39725 _ACEOF
39726 cat confdefs.h >>conftest.$ac_ext
39727 cat >>conftest.$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39731 #define $ac_func innocuous_$ac_func
39732
39733 /* System header to define __stub macros and hopefully few prototypes,
39734 which can conflict with char $ac_func (); below.
39735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39736 <limits.h> exists even on freestanding compilers. */
39737
39738 #ifdef __STDC__
39739 # include <limits.h>
39740 #else
39741 # include <assert.h>
39742 #endif
39743
39744 #undef $ac_func
39745
39746 /* Override any GCC internal prototype to avoid an error.
39747 Use char because int might match the return type of a GCC
39748 builtin and then its argument prototype would still apply. */
39749 #ifdef __cplusplus
39750 extern "C"
39751 #endif
39752 char $ac_func ();
39753 /* The GNU C library defines this for functions which it implements
39754 to always fail with ENOSYS. Some functions are actually named
39755 something starting with __ and the normal name is an alias. */
39756 #if defined __stub_$ac_func || defined __stub___$ac_func
39757 choke me
39758 #endif
39759
39760 int
39761 main ()
39762 {
39763 return $ac_func ();
39764 ;
39765 return 0;
39766 }
39767 _ACEOF
39768 rm -f conftest.$ac_objext conftest$ac_exeext
39769 if { (ac_try="$ac_link"
39770 case "(($ac_try" in
39771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39772 *) ac_try_echo=$ac_try;;
39773 esac
39774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39775 (eval "$ac_link") 2>conftest.er1
39776 ac_status=$?
39777 grep -v '^ *+' conftest.er1 >conftest.err
39778 rm -f conftest.er1
39779 cat conftest.err >&5
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); } && {
39782 test -z "$ac_c_werror_flag" ||
39783 test ! -s conftest.err
39784 } && test -s conftest$ac_exeext &&
39785 $as_test_x conftest$ac_exeext; then
39786 eval "$as_ac_var=yes"
39787 else
39788 echo "$as_me: failed program was:" >&5
39789 sed 's/^/| /' conftest.$ac_ext >&5
39790
39791 eval "$as_ac_var=no"
39792 fi
39793
39794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39795 conftest$ac_exeext conftest.$ac_ext
39796 fi
39797 ac_res=`eval echo '${'$as_ac_var'}'`
39798 { echo "$as_me:$LINENO: result: $ac_res" >&5
39799 echo "${ECHO_T}$ac_res" >&6; }
39800 if test `eval echo '${'$as_ac_var'}'` = yes; then
39801 cat >>confdefs.h <<_ACEOF
39802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39803 _ACEOF
39804
39805 fi
39806 done
39807
39808 fi
39809
39810 HAVE_SOME_SLEEP_FUNC=0
39811 if test "$USE_BEOS" = 1; then
39812 cat >>confdefs.h <<\_ACEOF
39813 #define HAVE_SLEEP 1
39814 _ACEOF
39815
39816 HAVE_SOME_SLEEP_FUNC=1
39817 fi
39818
39819 if test "$USE_DARWIN" = 1; then
39820 cat >>confdefs.h <<\_ACEOF
39821 #define HAVE_USLEEP 1
39822 _ACEOF
39823
39824 HAVE_SOME_SLEEP_FUNC=1
39825 fi
39826
39827 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39828 POSIX4_LINK=
39829
39830 for ac_func in nanosleep
39831 do
39832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39833 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39835 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 else
39838 cat >conftest.$ac_ext <<_ACEOF
39839 /* confdefs.h. */
39840 _ACEOF
39841 cat confdefs.h >>conftest.$ac_ext
39842 cat >>conftest.$ac_ext <<_ACEOF
39843 /* end confdefs.h. */
39844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39846 #define $ac_func innocuous_$ac_func
39847
39848 /* System header to define __stub macros and hopefully few prototypes,
39849 which can conflict with char $ac_func (); below.
39850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39851 <limits.h> exists even on freestanding compilers. */
39852
39853 #ifdef __STDC__
39854 # include <limits.h>
39855 #else
39856 # include <assert.h>
39857 #endif
39858
39859 #undef $ac_func
39860
39861 /* Override any GCC internal prototype to avoid an error.
39862 Use char because int might match the return type of a GCC
39863 builtin and then its argument prototype would still apply. */
39864 #ifdef __cplusplus
39865 extern "C"
39866 #endif
39867 char $ac_func ();
39868 /* The GNU C library defines this for functions which it implements
39869 to always fail with ENOSYS. Some functions are actually named
39870 something starting with __ and the normal name is an alias. */
39871 #if defined __stub_$ac_func || defined __stub___$ac_func
39872 choke me
39873 #endif
39874
39875 int
39876 main ()
39877 {
39878 return $ac_func ();
39879 ;
39880 return 0;
39881 }
39882 _ACEOF
39883 rm -f conftest.$ac_objext conftest$ac_exeext
39884 if { (ac_try="$ac_link"
39885 case "(($ac_try" in
39886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39887 *) ac_try_echo=$ac_try;;
39888 esac
39889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39890 (eval "$ac_link") 2>conftest.er1
39891 ac_status=$?
39892 grep -v '^ *+' conftest.er1 >conftest.err
39893 rm -f conftest.er1
39894 cat conftest.err >&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); } && {
39897 test -z "$ac_c_werror_flag" ||
39898 test ! -s conftest.err
39899 } && test -s conftest$ac_exeext &&
39900 $as_test_x conftest$ac_exeext; then
39901 eval "$as_ac_var=yes"
39902 else
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39905
39906 eval "$as_ac_var=no"
39907 fi
39908
39909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39910 conftest$ac_exeext conftest.$ac_ext
39911 fi
39912 ac_res=`eval echo '${'$as_ac_var'}'`
39913 { echo "$as_me:$LINENO: result: $ac_res" >&5
39914 echo "${ECHO_T}$ac_res" >&6; }
39915 if test `eval echo '${'$as_ac_var'}'` = yes; then
39916 cat >>confdefs.h <<_ACEOF
39917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39918 _ACEOF
39919 cat >>confdefs.h <<\_ACEOF
39920 #define HAVE_NANOSLEEP 1
39921 _ACEOF
39922
39923 else
39924
39925 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39926 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39927 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39928 echo $ECHO_N "(cached) $ECHO_C" >&6
39929 else
39930 ac_check_lib_save_LIBS=$LIBS
39931 LIBS="-lposix4 $LIBS"
39932 cat >conftest.$ac_ext <<_ACEOF
39933 /* confdefs.h. */
39934 _ACEOF
39935 cat confdefs.h >>conftest.$ac_ext
39936 cat >>conftest.$ac_ext <<_ACEOF
39937 /* end confdefs.h. */
39938
39939 /* Override any GCC internal prototype to avoid an error.
39940 Use char because int might match the return type of a GCC
39941 builtin and then its argument prototype would still apply. */
39942 #ifdef __cplusplus
39943 extern "C"
39944 #endif
39945 char nanosleep ();
39946 int
39947 main ()
39948 {
39949 return nanosleep ();
39950 ;
39951 return 0;
39952 }
39953 _ACEOF
39954 rm -f conftest.$ac_objext conftest$ac_exeext
39955 if { (ac_try="$ac_link"
39956 case "(($ac_try" in
39957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39958 *) ac_try_echo=$ac_try;;
39959 esac
39960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39961 (eval "$ac_link") 2>conftest.er1
39962 ac_status=$?
39963 grep -v '^ *+' conftest.er1 >conftest.err
39964 rm -f conftest.er1
39965 cat conftest.err >&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); } && {
39968 test -z "$ac_c_werror_flag" ||
39969 test ! -s conftest.err
39970 } && test -s conftest$ac_exeext &&
39971 $as_test_x conftest$ac_exeext; then
39972 ac_cv_lib_posix4_nanosleep=yes
39973 else
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.$ac_ext >&5
39976
39977 ac_cv_lib_posix4_nanosleep=no
39978 fi
39979
39980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39981 conftest$ac_exeext conftest.$ac_ext
39982 LIBS=$ac_check_lib_save_LIBS
39983 fi
39984 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39985 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39986 if test $ac_cv_lib_posix4_nanosleep = yes; then
39987
39988 cat >>confdefs.h <<\_ACEOF
39989 #define HAVE_NANOSLEEP 1
39990 _ACEOF
39991
39992 POSIX4_LINK=" -lposix4"
39993
39994 else
39995
39996
39997 for wx_func in usleep
39998 do
39999 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40000 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40001 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40003 else
40004
40005 cat >conftest.$ac_ext <<_ACEOF
40006
40007 /* confdefs.h. */
40008 _ACEOF
40009 cat confdefs.h >>conftest.$ac_ext
40010 cat >>conftest.$ac_ext <<_ACEOF
40011 /* end confdefs.h. */
40012
40013
40014 $ac_includes_default
40015
40016 int
40017 main ()
40018 {
40019
40020 #ifndef $wx_func
40021 &$wx_func;
40022 #endif
40023
40024
40025 ;
40026 return 0;
40027 }
40028
40029 _ACEOF
40030 rm -f conftest.$ac_objext conftest$ac_exeext
40031 if { (ac_try="$ac_link"
40032 case "(($ac_try" in
40033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40034 *) ac_try_echo=$ac_try;;
40035 esac
40036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40037 (eval "$ac_link") 2>conftest.er1
40038 ac_status=$?
40039 grep -v '^ *+' conftest.er1 >conftest.err
40040 rm -f conftest.er1
40041 cat conftest.err >&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } && {
40044 test -z "$ac_c_werror_flag" ||
40045 test ! -s conftest.err
40046 } && test -s conftest$ac_exeext &&
40047 $as_test_x conftest$ac_exeext; then
40048 eval wx_cv_func_$wx_func=yes
40049 else
40050 echo "$as_me: failed program was:" >&5
40051 sed 's/^/| /' conftest.$ac_ext >&5
40052
40053 eval wx_cv_func_$wx_func=no
40054 fi
40055
40056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40057 conftest$ac_exeext conftest.$ac_ext
40058
40059 fi
40060 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40061 { echo "$as_me:$LINENO: result: $ac_res" >&5
40062 echo "${ECHO_T}$ac_res" >&6; }
40063
40064 if eval test \$wx_cv_func_$wx_func = yes
40065 then
40066 cat >>confdefs.h <<_ACEOF
40067 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40068 _ACEOF
40069
40070
40071 else
40072 :
40073 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40074 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40075
40076 fi
40077 done
40078
40079
40080
40081 fi
40082
40083
40084
40085 fi
40086 done
40087
40088 fi
40089
40090
40091 for wx_func in uname
40092 do
40093 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40094 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40095 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40096 echo $ECHO_N "(cached) $ECHO_C" >&6
40097 else
40098
40099 cat >conftest.$ac_ext <<_ACEOF
40100
40101 /* confdefs.h. */
40102 _ACEOF
40103 cat confdefs.h >>conftest.$ac_ext
40104 cat >>conftest.$ac_ext <<_ACEOF
40105 /* end confdefs.h. */
40106
40107 #include <sys/utsname.h>
40108 $ac_includes_default
40109
40110 int
40111 main ()
40112 {
40113
40114 #ifndef $wx_func
40115 &$wx_func;
40116 #endif
40117
40118
40119 ;
40120 return 0;
40121 }
40122
40123 _ACEOF
40124 rm -f conftest.$ac_objext conftest$ac_exeext
40125 if { (ac_try="$ac_link"
40126 case "(($ac_try" in
40127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40128 *) ac_try_echo=$ac_try;;
40129 esac
40130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40131 (eval "$ac_link") 2>conftest.er1
40132 ac_status=$?
40133 grep -v '^ *+' conftest.er1 >conftest.err
40134 rm -f conftest.er1
40135 cat conftest.err >&5
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); } && {
40138 test -z "$ac_c_werror_flag" ||
40139 test ! -s conftest.err
40140 } && test -s conftest$ac_exeext &&
40141 $as_test_x conftest$ac_exeext; then
40142 eval wx_cv_func_$wx_func=yes
40143 else
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40146
40147 eval wx_cv_func_$wx_func=no
40148 fi
40149
40150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40151 conftest$ac_exeext conftest.$ac_ext
40152
40153 fi
40154 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40155 { echo "$as_me:$LINENO: result: $ac_res" >&5
40156 echo "${ECHO_T}$ac_res" >&6; }
40157
40158 if eval test \$wx_cv_func_$wx_func = yes
40159 then
40160 cat >>confdefs.h <<_ACEOF
40161 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40162 _ACEOF
40163
40164
40165 else
40166 :
40167
40168 fi
40169 done
40170
40171 if test "$wx_cv_func_uname" != yes; then
40172
40173 for wx_func in gethostname
40174 do
40175 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40176 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40177 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40178 echo $ECHO_N "(cached) $ECHO_C" >&6
40179 else
40180
40181 cat >conftest.$ac_ext <<_ACEOF
40182
40183 /* confdefs.h. */
40184 _ACEOF
40185 cat confdefs.h >>conftest.$ac_ext
40186 cat >>conftest.$ac_ext <<_ACEOF
40187 /* end confdefs.h. */
40188
40189
40190 $ac_includes_default
40191
40192 int
40193 main ()
40194 {
40195
40196 #ifndef $wx_func
40197 &$wx_func;
40198 #endif
40199
40200
40201 ;
40202 return 0;
40203 }
40204
40205 _ACEOF
40206 rm -f conftest.$ac_objext conftest$ac_exeext
40207 if { (ac_try="$ac_link"
40208 case "(($ac_try" in
40209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40210 *) ac_try_echo=$ac_try;;
40211 esac
40212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40213 (eval "$ac_link") 2>conftest.er1
40214 ac_status=$?
40215 grep -v '^ *+' conftest.er1 >conftest.err
40216 rm -f conftest.er1
40217 cat conftest.err >&5
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); } && {
40220 test -z "$ac_c_werror_flag" ||
40221 test ! -s conftest.err
40222 } && test -s conftest$ac_exeext &&
40223 $as_test_x conftest$ac_exeext; then
40224 eval wx_cv_func_$wx_func=yes
40225 else
40226 echo "$as_me: failed program was:" >&5
40227 sed 's/^/| /' conftest.$ac_ext >&5
40228
40229 eval wx_cv_func_$wx_func=no
40230 fi
40231
40232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40233 conftest$ac_exeext conftest.$ac_ext
40234
40235 fi
40236 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40237 { echo "$as_me:$LINENO: result: $ac_res" >&5
40238 echo "${ECHO_T}$ac_res" >&6; }
40239
40240 if eval test \$wx_cv_func_$wx_func = yes
40241 then
40242 cat >>confdefs.h <<_ACEOF
40243 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40244 _ACEOF
40245
40246
40247 else
40248 :
40249
40250 fi
40251 done
40252
40253 fi
40254
40255
40256 for wx_func in strtok_r
40257 do
40258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40260 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40262 else
40263
40264 cat >conftest.$ac_ext <<_ACEOF
40265
40266 /* confdefs.h. */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271
40272 #define _REENTRANT
40273 $ac_includes_default
40274
40275 int
40276 main ()
40277 {
40278
40279 #ifndef $wx_func
40280 &$wx_func;
40281 #endif
40282
40283
40284 ;
40285 return 0;
40286 }
40287
40288 _ACEOF
40289 rm -f conftest.$ac_objext conftest$ac_exeext
40290 if { (ac_try="$ac_link"
40291 case "(($ac_try" in
40292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40293 *) ac_try_echo=$ac_try;;
40294 esac
40295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40296 (eval "$ac_link") 2>conftest.er1
40297 ac_status=$?
40298 grep -v '^ *+' conftest.er1 >conftest.err
40299 rm -f conftest.er1
40300 cat conftest.err >&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); } && {
40303 test -z "$ac_c_werror_flag" ||
40304 test ! -s conftest.err
40305 } && test -s conftest$ac_exeext &&
40306 $as_test_x conftest$ac_exeext; then
40307 eval wx_cv_func_$wx_func=yes
40308 else
40309 echo "$as_me: failed program was:" >&5
40310 sed 's/^/| /' conftest.$ac_ext >&5
40311
40312 eval wx_cv_func_$wx_func=no
40313 fi
40314
40315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40316 conftest$ac_exeext conftest.$ac_ext
40317
40318 fi
40319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40320 { echo "$as_me:$LINENO: result: $ac_res" >&5
40321 echo "${ECHO_T}$ac_res" >&6; }
40322
40323 if eval test \$wx_cv_func_$wx_func = yes
40324 then
40325 cat >>confdefs.h <<_ACEOF
40326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40327 _ACEOF
40328
40329
40330 else
40331 :
40332
40333 fi
40334 done
40335
40336
40337 INET_LINK=
40338
40339 for ac_func in inet_addr
40340 do
40341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40342 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40344 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40345 echo $ECHO_N "(cached) $ECHO_C" >&6
40346 else
40347 cat >conftest.$ac_ext <<_ACEOF
40348 /* confdefs.h. */
40349 _ACEOF
40350 cat confdefs.h >>conftest.$ac_ext
40351 cat >>conftest.$ac_ext <<_ACEOF
40352 /* end confdefs.h. */
40353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40355 #define $ac_func innocuous_$ac_func
40356
40357 /* System header to define __stub macros and hopefully few prototypes,
40358 which can conflict with char $ac_func (); below.
40359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40360 <limits.h> exists even on freestanding compilers. */
40361
40362 #ifdef __STDC__
40363 # include <limits.h>
40364 #else
40365 # include <assert.h>
40366 #endif
40367
40368 #undef $ac_func
40369
40370 /* Override any GCC internal prototype to avoid an error.
40371 Use char because int might match the return type of a GCC
40372 builtin and then its argument prototype would still apply. */
40373 #ifdef __cplusplus
40374 extern "C"
40375 #endif
40376 char $ac_func ();
40377 /* The GNU C library defines this for functions which it implements
40378 to always fail with ENOSYS. Some functions are actually named
40379 something starting with __ and the normal name is an alias. */
40380 #if defined __stub_$ac_func || defined __stub___$ac_func
40381 choke me
40382 #endif
40383
40384 int
40385 main ()
40386 {
40387 return $ac_func ();
40388 ;
40389 return 0;
40390 }
40391 _ACEOF
40392 rm -f conftest.$ac_objext conftest$ac_exeext
40393 if { (ac_try="$ac_link"
40394 case "(($ac_try" in
40395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40396 *) ac_try_echo=$ac_try;;
40397 esac
40398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40399 (eval "$ac_link") 2>conftest.er1
40400 ac_status=$?
40401 grep -v '^ *+' conftest.er1 >conftest.err
40402 rm -f conftest.er1
40403 cat conftest.err >&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); } && {
40406 test -z "$ac_c_werror_flag" ||
40407 test ! -s conftest.err
40408 } && test -s conftest$ac_exeext &&
40409 $as_test_x conftest$ac_exeext; then
40410 eval "$as_ac_var=yes"
40411 else
40412 echo "$as_me: failed program was:" >&5
40413 sed 's/^/| /' conftest.$ac_ext >&5
40414
40415 eval "$as_ac_var=no"
40416 fi
40417
40418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40419 conftest$ac_exeext conftest.$ac_ext
40420 fi
40421 ac_res=`eval echo '${'$as_ac_var'}'`
40422 { echo "$as_me:$LINENO: result: $ac_res" >&5
40423 echo "${ECHO_T}$ac_res" >&6; }
40424 if test `eval echo '${'$as_ac_var'}'` = yes; then
40425 cat >>confdefs.h <<_ACEOF
40426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40427 _ACEOF
40428 cat >>confdefs.h <<\_ACEOF
40429 #define HAVE_INET_ADDR 1
40430 _ACEOF
40431
40432 else
40433
40434 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40435 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40436 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40437 echo $ECHO_N "(cached) $ECHO_C" >&6
40438 else
40439 ac_check_lib_save_LIBS=$LIBS
40440 LIBS="-lnsl $LIBS"
40441 cat >conftest.$ac_ext <<_ACEOF
40442 /* confdefs.h. */
40443 _ACEOF
40444 cat confdefs.h >>conftest.$ac_ext
40445 cat >>conftest.$ac_ext <<_ACEOF
40446 /* end confdefs.h. */
40447
40448 /* Override any GCC internal prototype to avoid an error.
40449 Use char because int might match the return type of a GCC
40450 builtin and then its argument prototype would still apply. */
40451 #ifdef __cplusplus
40452 extern "C"
40453 #endif
40454 char inet_addr ();
40455 int
40456 main ()
40457 {
40458 return inet_addr ();
40459 ;
40460 return 0;
40461 }
40462 _ACEOF
40463 rm -f conftest.$ac_objext conftest$ac_exeext
40464 if { (ac_try="$ac_link"
40465 case "(($ac_try" in
40466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40467 *) ac_try_echo=$ac_try;;
40468 esac
40469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40470 (eval "$ac_link") 2>conftest.er1
40471 ac_status=$?
40472 grep -v '^ *+' conftest.er1 >conftest.err
40473 rm -f conftest.er1
40474 cat conftest.err >&5
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); } && {
40477 test -z "$ac_c_werror_flag" ||
40478 test ! -s conftest.err
40479 } && test -s conftest$ac_exeext &&
40480 $as_test_x conftest$ac_exeext; then
40481 ac_cv_lib_nsl_inet_addr=yes
40482 else
40483 echo "$as_me: failed program was:" >&5
40484 sed 's/^/| /' conftest.$ac_ext >&5
40485
40486 ac_cv_lib_nsl_inet_addr=no
40487 fi
40488
40489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40490 conftest$ac_exeext conftest.$ac_ext
40491 LIBS=$ac_check_lib_save_LIBS
40492 fi
40493 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40494 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40495 if test $ac_cv_lib_nsl_inet_addr = yes; then
40496 INET_LINK="nsl"
40497 else
40498
40499 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40500 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40501 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 else
40504 ac_check_lib_save_LIBS=$LIBS
40505 LIBS="-lresolv $LIBS"
40506 cat >conftest.$ac_ext <<_ACEOF
40507 /* confdefs.h. */
40508 _ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512
40513 /* Override any GCC internal prototype to avoid an error.
40514 Use char because int might match the return type of a GCC
40515 builtin and then its argument prototype would still apply. */
40516 #ifdef __cplusplus
40517 extern "C"
40518 #endif
40519 char inet_addr ();
40520 int
40521 main ()
40522 {
40523 return inet_addr ();
40524 ;
40525 return 0;
40526 }
40527 _ACEOF
40528 rm -f conftest.$ac_objext conftest$ac_exeext
40529 if { (ac_try="$ac_link"
40530 case "(($ac_try" in
40531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40532 *) ac_try_echo=$ac_try;;
40533 esac
40534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40535 (eval "$ac_link") 2>conftest.er1
40536 ac_status=$?
40537 grep -v '^ *+' conftest.er1 >conftest.err
40538 rm -f conftest.er1
40539 cat conftest.err >&5
40540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40541 (exit $ac_status); } && {
40542 test -z "$ac_c_werror_flag" ||
40543 test ! -s conftest.err
40544 } && test -s conftest$ac_exeext &&
40545 $as_test_x conftest$ac_exeext; then
40546 ac_cv_lib_resolv_inet_addr=yes
40547 else
40548 echo "$as_me: failed program was:" >&5
40549 sed 's/^/| /' conftest.$ac_ext >&5
40550
40551 ac_cv_lib_resolv_inet_addr=no
40552 fi
40553
40554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40555 conftest$ac_exeext conftest.$ac_ext
40556 LIBS=$ac_check_lib_save_LIBS
40557 fi
40558 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40559 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40560 if test $ac_cv_lib_resolv_inet_addr = yes; then
40561 INET_LINK="resolv"
40562 else
40563
40564 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40565 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40566 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40568 else
40569 ac_check_lib_save_LIBS=$LIBS
40570 LIBS="-lsocket $LIBS"
40571 cat >conftest.$ac_ext <<_ACEOF
40572 /* confdefs.h. */
40573 _ACEOF
40574 cat confdefs.h >>conftest.$ac_ext
40575 cat >>conftest.$ac_ext <<_ACEOF
40576 /* end confdefs.h. */
40577
40578 /* Override any GCC internal prototype to avoid an error.
40579 Use char because int might match the return type of a GCC
40580 builtin and then its argument prototype would still apply. */
40581 #ifdef __cplusplus
40582 extern "C"
40583 #endif
40584 char inet_addr ();
40585 int
40586 main ()
40587 {
40588 return inet_addr ();
40589 ;
40590 return 0;
40591 }
40592 _ACEOF
40593 rm -f conftest.$ac_objext conftest$ac_exeext
40594 if { (ac_try="$ac_link"
40595 case "(($ac_try" in
40596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40597 *) ac_try_echo=$ac_try;;
40598 esac
40599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40600 (eval "$ac_link") 2>conftest.er1
40601 ac_status=$?
40602 grep -v '^ *+' conftest.er1 >conftest.err
40603 rm -f conftest.er1
40604 cat conftest.err >&5
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); } && {
40607 test -z "$ac_c_werror_flag" ||
40608 test ! -s conftest.err
40609 } && test -s conftest$ac_exeext &&
40610 $as_test_x conftest$ac_exeext; then
40611 ac_cv_lib_socket_inet_addr=yes
40612 else
40613 echo "$as_me: failed program was:" >&5
40614 sed 's/^/| /' conftest.$ac_ext >&5
40615
40616 ac_cv_lib_socket_inet_addr=no
40617 fi
40618
40619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40620 conftest$ac_exeext conftest.$ac_ext
40621 LIBS=$ac_check_lib_save_LIBS
40622 fi
40623 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40624 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40625 if test $ac_cv_lib_socket_inet_addr = yes; then
40626 INET_LINK="socket"
40627
40628 fi
40629
40630
40631
40632 fi
40633
40634
40635
40636 fi
40637
40638
40639
40640 fi
40641 done
40642
40643
40644
40645 for ac_func in inet_aton
40646 do
40647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40651 echo $ECHO_N "(cached) $ECHO_C" >&6
40652 else
40653 cat >conftest.$ac_ext <<_ACEOF
40654 /* confdefs.h. */
40655 _ACEOF
40656 cat confdefs.h >>conftest.$ac_ext
40657 cat >>conftest.$ac_ext <<_ACEOF
40658 /* end confdefs.h. */
40659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40661 #define $ac_func innocuous_$ac_func
40662
40663 /* System header to define __stub macros and hopefully few prototypes,
40664 which can conflict with char $ac_func (); below.
40665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40666 <limits.h> exists even on freestanding compilers. */
40667
40668 #ifdef __STDC__
40669 # include <limits.h>
40670 #else
40671 # include <assert.h>
40672 #endif
40673
40674 #undef $ac_func
40675
40676 /* Override any GCC internal prototype to avoid an error.
40677 Use char because int might match the return type of a GCC
40678 builtin and then its argument prototype would still apply. */
40679 #ifdef __cplusplus
40680 extern "C"
40681 #endif
40682 char $ac_func ();
40683 /* The GNU C library defines this for functions which it implements
40684 to always fail with ENOSYS. Some functions are actually named
40685 something starting with __ and the normal name is an alias. */
40686 #if defined __stub_$ac_func || defined __stub___$ac_func
40687 choke me
40688 #endif
40689
40690 int
40691 main ()
40692 {
40693 return $ac_func ();
40694 ;
40695 return 0;
40696 }
40697 _ACEOF
40698 rm -f conftest.$ac_objext conftest$ac_exeext
40699 if { (ac_try="$ac_link"
40700 case "(($ac_try" in
40701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40702 *) ac_try_echo=$ac_try;;
40703 esac
40704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40705 (eval "$ac_link") 2>conftest.er1
40706 ac_status=$?
40707 grep -v '^ *+' conftest.er1 >conftest.err
40708 rm -f conftest.er1
40709 cat conftest.err >&5
40710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711 (exit $ac_status); } && {
40712 test -z "$ac_c_werror_flag" ||
40713 test ! -s conftest.err
40714 } && test -s conftest$ac_exeext &&
40715 $as_test_x conftest$ac_exeext; then
40716 eval "$as_ac_var=yes"
40717 else
40718 echo "$as_me: failed program was:" >&5
40719 sed 's/^/| /' conftest.$ac_ext >&5
40720
40721 eval "$as_ac_var=no"
40722 fi
40723
40724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40725 conftest$ac_exeext conftest.$ac_ext
40726 fi
40727 ac_res=`eval echo '${'$as_ac_var'}'`
40728 { echo "$as_me:$LINENO: result: $ac_res" >&5
40729 echo "${ECHO_T}$ac_res" >&6; }
40730 if test `eval echo '${'$as_ac_var'}'` = yes; then
40731 cat >>confdefs.h <<_ACEOF
40732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40733 _ACEOF
40734 cat >>confdefs.h <<\_ACEOF
40735 #define HAVE_INET_ATON 1
40736 _ACEOF
40737
40738 else
40739
40740 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40741 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40742 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40743 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40744 echo $ECHO_N "(cached) $ECHO_C" >&6
40745 else
40746 ac_check_lib_save_LIBS=$LIBS
40747 LIBS="-l$INET_LINK $LIBS"
40748 cat >conftest.$ac_ext <<_ACEOF
40749 /* confdefs.h. */
40750 _ACEOF
40751 cat confdefs.h >>conftest.$ac_ext
40752 cat >>conftest.$ac_ext <<_ACEOF
40753 /* end confdefs.h. */
40754
40755 /* Override any GCC internal prototype to avoid an error.
40756 Use char because int might match the return type of a GCC
40757 builtin and then its argument prototype would still apply. */
40758 #ifdef __cplusplus
40759 extern "C"
40760 #endif
40761 char inet_aton ();
40762 int
40763 main ()
40764 {
40765 return inet_aton ();
40766 ;
40767 return 0;
40768 }
40769 _ACEOF
40770 rm -f conftest.$ac_objext conftest$ac_exeext
40771 if { (ac_try="$ac_link"
40772 case "(($ac_try" in
40773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40774 *) ac_try_echo=$ac_try;;
40775 esac
40776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40777 (eval "$ac_link") 2>conftest.er1
40778 ac_status=$?
40779 grep -v '^ *+' conftest.er1 >conftest.err
40780 rm -f conftest.er1
40781 cat conftest.err >&5
40782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40783 (exit $ac_status); } && {
40784 test -z "$ac_c_werror_flag" ||
40785 test ! -s conftest.err
40786 } && test -s conftest$ac_exeext &&
40787 $as_test_x conftest$ac_exeext; then
40788 eval "$as_ac_Lib=yes"
40789 else
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40792
40793 eval "$as_ac_Lib=no"
40794 fi
40795
40796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40797 conftest$ac_exeext conftest.$ac_ext
40798 LIBS=$ac_check_lib_save_LIBS
40799 fi
40800 ac_res=`eval echo '${'$as_ac_Lib'}'`
40801 { echo "$as_me:$LINENO: result: $ac_res" >&5
40802 echo "${ECHO_T}$ac_res" >&6; }
40803 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40804 cat >>confdefs.h <<\_ACEOF
40805 #define HAVE_INET_ATON 1
40806 _ACEOF
40807
40808 fi
40809
40810
40811 fi
40812 done
40813
40814
40815 if test "x$INET_LINK" != "x"; then
40816 cat >>confdefs.h <<\_ACEOF
40817 #define HAVE_INET_ADDR 1
40818 _ACEOF
40819
40820 INET_LINK=" -l$INET_LINK"
40821 fi
40822
40823
40824 for wx_func in fdopen
40825 do
40826 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40827 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40828 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40829 echo $ECHO_N "(cached) $ECHO_C" >&6
40830 else
40831
40832 cat >conftest.$ac_ext <<_ACEOF
40833
40834 /* confdefs.h. */
40835 _ACEOF
40836 cat confdefs.h >>conftest.$ac_ext
40837 cat >>conftest.$ac_ext <<_ACEOF
40838 /* end confdefs.h. */
40839
40840
40841 $ac_includes_default
40842
40843 int
40844 main ()
40845 {
40846
40847 #ifndef $wx_func
40848 &$wx_func;
40849 #endif
40850
40851
40852 ;
40853 return 0;
40854 }
40855
40856 _ACEOF
40857 rm -f conftest.$ac_objext conftest$ac_exeext
40858 if { (ac_try="$ac_link"
40859 case "(($ac_try" in
40860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40861 *) ac_try_echo=$ac_try;;
40862 esac
40863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40864 (eval "$ac_link") 2>conftest.er1
40865 ac_status=$?
40866 grep -v '^ *+' conftest.er1 >conftest.err
40867 rm -f conftest.er1
40868 cat conftest.err >&5
40869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40870 (exit $ac_status); } && {
40871 test -z "$ac_c_werror_flag" ||
40872 test ! -s conftest.err
40873 } && test -s conftest$ac_exeext &&
40874 $as_test_x conftest$ac_exeext; then
40875 eval wx_cv_func_$wx_func=yes
40876 else
40877 echo "$as_me: failed program was:" >&5
40878 sed 's/^/| /' conftest.$ac_ext >&5
40879
40880 eval wx_cv_func_$wx_func=no
40881 fi
40882
40883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40884 conftest$ac_exeext conftest.$ac_ext
40885
40886 fi
40887 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40888 { echo "$as_me:$LINENO: result: $ac_res" >&5
40889 echo "${ECHO_T}$ac_res" >&6; }
40890
40891 if eval test \$wx_cv_func_$wx_func = yes
40892 then
40893 cat >>confdefs.h <<_ACEOF
40894 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40895 _ACEOF
40896
40897
40898 else
40899 :
40900
40901 fi
40902 done
40903
40904
40905 if test "$wxUSE_TARSTREAM" = "yes"; then
40906
40907 for wx_func in sysconf
40908 do
40909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40911 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40913 else
40914
40915 cat >conftest.$ac_ext <<_ACEOF
40916
40917 /* confdefs.h. */
40918 _ACEOF
40919 cat confdefs.h >>conftest.$ac_ext
40920 cat >>conftest.$ac_ext <<_ACEOF
40921 /* end confdefs.h. */
40922
40923
40924 $ac_includes_default
40925
40926 int
40927 main ()
40928 {
40929
40930 #ifndef $wx_func
40931 &$wx_func;
40932 #endif
40933
40934
40935 ;
40936 return 0;
40937 }
40938
40939 _ACEOF
40940 rm -f conftest.$ac_objext conftest$ac_exeext
40941 if { (ac_try="$ac_link"
40942 case "(($ac_try" in
40943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40944 *) ac_try_echo=$ac_try;;
40945 esac
40946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40947 (eval "$ac_link") 2>conftest.er1
40948 ac_status=$?
40949 grep -v '^ *+' conftest.er1 >conftest.err
40950 rm -f conftest.er1
40951 cat conftest.err >&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); } && {
40954 test -z "$ac_c_werror_flag" ||
40955 test ! -s conftest.err
40956 } && test -s conftest$ac_exeext &&
40957 $as_test_x conftest$ac_exeext; then
40958 eval wx_cv_func_$wx_func=yes
40959 else
40960 echo "$as_me: failed program was:" >&5
40961 sed 's/^/| /' conftest.$ac_ext >&5
40962
40963 eval wx_cv_func_$wx_func=no
40964 fi
40965
40966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40967 conftest$ac_exeext conftest.$ac_ext
40968
40969 fi
40970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40971 { echo "$as_me:$LINENO: result: $ac_res" >&5
40972 echo "${ECHO_T}$ac_res" >&6; }
40973
40974 if eval test \$wx_cv_func_$wx_func = yes
40975 then
40976 cat >>confdefs.h <<_ACEOF
40977 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40978 _ACEOF
40979
40980
40981 else
40982 :
40983
40984 fi
40985 done
40986
40987
40988
40989 for wx_func in getpwuid_r
40990 do
40991 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40992 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40993 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40994 echo $ECHO_N "(cached) $ECHO_C" >&6
40995 else
40996
40997 cat >conftest.$ac_ext <<_ACEOF
40998
40999 /* confdefs.h. */
41000 _ACEOF
41001 cat confdefs.h >>conftest.$ac_ext
41002 cat >>conftest.$ac_ext <<_ACEOF
41003 /* end confdefs.h. */
41004
41005
41006 #define _REENTRANT
41007 #include <pwd.h>
41008
41009 $ac_includes_default
41010
41011 int
41012 main ()
41013 {
41014
41015 #ifndef $wx_func
41016 &$wx_func;
41017 #endif
41018
41019 struct passwd pw, *ppw;
41020 char buf[1024];
41021 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
41022
41023
41024 ;
41025 return 0;
41026 }
41027
41028 _ACEOF
41029 rm -f conftest.$ac_objext conftest$ac_exeext
41030 if { (ac_try="$ac_link"
41031 case "(($ac_try" in
41032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41033 *) ac_try_echo=$ac_try;;
41034 esac
41035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41036 (eval "$ac_link") 2>conftest.er1
41037 ac_status=$?
41038 grep -v '^ *+' conftest.er1 >conftest.err
41039 rm -f conftest.er1
41040 cat conftest.err >&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } && {
41043 test -z "$ac_c_werror_flag" ||
41044 test ! -s conftest.err
41045 } && test -s conftest$ac_exeext &&
41046 $as_test_x conftest$ac_exeext; then
41047 eval wx_cv_func_$wx_func=yes
41048 else
41049 echo "$as_me: failed program was:" >&5
41050 sed 's/^/| /' conftest.$ac_ext >&5
41051
41052 eval wx_cv_func_$wx_func=no
41053 fi
41054
41055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41056 conftest$ac_exeext conftest.$ac_ext
41057
41058 fi
41059 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41060 { echo "$as_me:$LINENO: result: $ac_res" >&5
41061 echo "${ECHO_T}$ac_res" >&6; }
41062
41063 if eval test \$wx_cv_func_$wx_func = yes
41064 then
41065 cat >>confdefs.h <<_ACEOF
41066 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41067 _ACEOF
41068
41069
41070 else
41071 :
41072
41073 fi
41074 done
41075
41076
41077
41078 for wx_func in getgrgid_r
41079 do
41080 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41081 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41082 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41084 else
41085
41086 cat >conftest.$ac_ext <<_ACEOF
41087
41088 /* confdefs.h. */
41089 _ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h. */
41093
41094
41095 #define _REENTRANT
41096 #include <grp.h>
41097
41098 $ac_includes_default
41099
41100 int
41101 main ()
41102 {
41103
41104 #ifndef $wx_func
41105 &$wx_func;
41106 #endif
41107
41108 struct group grp, *pgrp;
41109 char buf[1024];
41110 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41111
41112
41113 ;
41114 return 0;
41115 }
41116
41117 _ACEOF
41118 rm -f conftest.$ac_objext conftest$ac_exeext
41119 if { (ac_try="$ac_link"
41120 case "(($ac_try" in
41121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41122 *) ac_try_echo=$ac_try;;
41123 esac
41124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41125 (eval "$ac_link") 2>conftest.er1
41126 ac_status=$?
41127 grep -v '^ *+' conftest.er1 >conftest.err
41128 rm -f conftest.er1
41129 cat conftest.err >&5
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); } && {
41132 test -z "$ac_c_werror_flag" ||
41133 test ! -s conftest.err
41134 } && test -s conftest$ac_exeext &&
41135 $as_test_x conftest$ac_exeext; then
41136 eval wx_cv_func_$wx_func=yes
41137 else
41138 echo "$as_me: failed program was:" >&5
41139 sed 's/^/| /' conftest.$ac_ext >&5
41140
41141 eval wx_cv_func_$wx_func=no
41142 fi
41143
41144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41145 conftest$ac_exeext conftest.$ac_ext
41146
41147 fi
41148 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41149 { echo "$as_me:$LINENO: result: $ac_res" >&5
41150 echo "${ECHO_T}$ac_res" >&6; }
41151
41152 if eval test \$wx_cv_func_$wx_func = yes
41153 then
41154 cat >>confdefs.h <<_ACEOF
41155 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41156 _ACEOF
41157
41158
41159 else
41160 :
41161
41162 fi
41163 done
41164
41165 fi
41166
41167 fi
41168
41169
41170
41171 cat >confcache <<\_ACEOF
41172 # This file is a shell script that caches the results of configure
41173 # tests run on this system so they can be shared between configure
41174 # scripts and configure runs, see configure's option --config-cache.
41175 # It is not useful on other systems. If it contains results you don't
41176 # want to keep, you may remove or edit it.
41177 #
41178 # config.status only pays attention to the cache file if you give it
41179 # the --recheck option to rerun configure.
41180 #
41181 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41182 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41183 # following values.
41184
41185 _ACEOF
41186
41187 # The following way of writing the cache mishandles newlines in values,
41188 # but we know of no workaround that is simple, portable, and efficient.
41189 # So, we kill variables containing newlines.
41190 # Ultrix sh set writes to stderr and can't be redirected directly,
41191 # and sets the high bit in the cache file unless we assign to the vars.
41192 (
41193 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41194 eval ac_val=\$$ac_var
41195 case $ac_val in #(
41196 *${as_nl}*)
41197 case $ac_var in #(
41198 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41199 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41200 esac
41201 case $ac_var in #(
41202 _ | IFS | as_nl) ;; #(
41203 *) $as_unset $ac_var ;;
41204 esac ;;
41205 esac
41206 done
41207
41208 (set) 2>&1 |
41209 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41210 *${as_nl}ac_space=\ *)
41211 # `set' does not quote correctly, so add quotes (double-quote
41212 # substitution turns \\\\ into \\, and sed turns \\ into \).
41213 sed -n \
41214 "s/'/'\\\\''/g;
41215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41216 ;; #(
41217 *)
41218 # `set' quotes correctly as required by POSIX, so do not add quotes.
41219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41220 ;;
41221 esac |
41222 sort
41223 ) |
41224 sed '
41225 /^ac_cv_env_/b end
41226 t clear
41227 :clear
41228 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41229 t end
41230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41231 :end' >>confcache
41232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41233 if test -w "$cache_file"; then
41234 test "x$cache_file" != "x/dev/null" &&
41235 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41236 echo "$as_me: updating cache $cache_file" >&6;}
41237 cat confcache >$cache_file
41238 else
41239 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41240 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41241 fi
41242 fi
41243 rm -f confcache
41244
41245
41246 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41247
41248
41249 THREADS_LINK=
41250 THREADS_CFLAGS=
41251
41252 if test "$wxUSE_THREADS" = "yes" ; then
41253 if test "$USE_BEOS" = 1; then
41254 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41255 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41256 wxUSE_THREADS="no"
41257 fi
41258 fi
41259
41260 if test "$wxUSE_THREADS" = "yes" ; then
41261
41262
41263 THREAD_OPTS="-pthread"
41264 if test "x$SUNCXX" = xyes; then
41265 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41266 fi
41267
41268 case "${host}" in
41269 *-*-solaris2* | *-*-sunos4* )
41270 if test "x$GCC" = "xyes"; then
41271 THREAD_OPTS="-pthreads $THREAD_OPTS"
41272 fi
41273 ;;
41274 *-*-freebsd*)
41275 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41276 ;;
41277 *-*-darwin* | *-*-cygwin* )
41278 THREAD_OPTS=""
41279 ;;
41280 *-*-aix*)
41281 THREAD_OPTS="pthreads"
41282 ;;
41283 *-hp-hpux* )
41284 if test "x$GCC" = "xyes"; then
41285 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41286 THREAD_OPTS=""
41287 else
41288 THREAD_OPTS="-mt"
41289 fi
41290 ;;
41291
41292 *-*-irix* )
41293 if test "x$GCC" = "xyes"; then
41294 THREAD_OPTS=""
41295 fi
41296 ;;
41297
41298 *-*-*UnixWare*)
41299 if test "x$GCC" != "xyes"; then
41300 THREAD_OPTS="-Ethread"
41301 fi
41302 ;;
41303 esac
41304
41305 THREAD_OPTS="$THREAD_OPTS pthread none"
41306
41307 THREADS_OK=no
41308 for flag in $THREAD_OPTS; do
41309 case $flag in
41310 none)
41311 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41312 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41313 ;;
41314
41315 -*)
41316 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41317 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41318 THREADS_CFLAGS="$flag"
41319 ;;
41320
41321 *)
41322 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41323 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41324 THREADS_LINK="-l$flag"
41325 ;;
41326 esac
41327
41328 save_LIBS="$LIBS"
41329 save_CFLAGS="$CFLAGS"
41330 LIBS="$THREADS_LINK $LIBS"
41331 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41332
41333 cat >conftest.$ac_ext <<_ACEOF
41334 /* confdefs.h. */
41335 _ACEOF
41336 cat confdefs.h >>conftest.$ac_ext
41337 cat >>conftest.$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41339 #include <pthread.h>
41340 int
41341 main ()
41342 {
41343 pthread_create(0,0,0,0);
41344 ;
41345 return 0;
41346 }
41347 _ACEOF
41348 rm -f conftest.$ac_objext conftest$ac_exeext
41349 if { (ac_try="$ac_link"
41350 case "(($ac_try" in
41351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41352 *) ac_try_echo=$ac_try;;
41353 esac
41354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41355 (eval "$ac_link") 2>conftest.er1
41356 ac_status=$?
41357 grep -v '^ *+' conftest.er1 >conftest.err
41358 rm -f conftest.er1
41359 cat conftest.err >&5
41360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41361 (exit $ac_status); } && {
41362 test -z "$ac_c_werror_flag" ||
41363 test ! -s conftest.err
41364 } && test -s conftest$ac_exeext &&
41365 $as_test_x conftest$ac_exeext; then
41366 THREADS_OK=yes
41367 else
41368 echo "$as_me: failed program was:" >&5
41369 sed 's/^/| /' conftest.$ac_ext >&5
41370
41371
41372 fi
41373
41374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41375 conftest$ac_exeext conftest.$ac_ext
41376
41377 LIBS="$save_LIBS"
41378 CFLAGS="$save_CFLAGS"
41379
41380 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41381 echo "${ECHO_T}$THREADS_OK" >&6; }
41382 if test "x$THREADS_OK" = "xyes"; then
41383 break;
41384 fi
41385
41386 THREADS_LINK=""
41387 THREADS_CFLAGS=""
41388 done
41389
41390 if test "x$THREADS_OK" != "xyes"; then
41391 wxUSE_THREADS=no
41392 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41393 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41394 else
41395 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41396 LIBS="$THREADS_LINK $LIBS"
41397
41398 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41399 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41400 flag=no
41401 case "${host}" in
41402 *-aix*)
41403 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41404 flag="-D_THREAD_SAFE"
41405 ;;
41406 *-freebsd*)
41407 flag="-D_THREAD_SAFE"
41408 ;;
41409 *-hp-hpux* )
41410 flag="-D_REENTRANT"
41411 if test "x$GCC" != "xyes"; then
41412 flag="$flag -D_RWSTD_MULTI_THREAD"
41413 fi
41414 ;;
41415 *solaris* | alpha*-osf*)
41416 flag="-D_REENTRANT"
41417 ;;
41418 esac
41419 { echo "$as_me:$LINENO: result: ${flag}" >&5
41420 echo "${ECHO_T}${flag}" >&6; }
41421 if test "x$flag" != xno; then
41422 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41423 fi
41424
41425 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41426 fi
41427 fi
41428
41429 if test "$wxUSE_THREADS" = "yes" ; then
41430
41431 for ac_func in thr_setconcurrency
41432 do
41433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41436 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 else
41439 cat >conftest.$ac_ext <<_ACEOF
41440 /* confdefs.h. */
41441 _ACEOF
41442 cat confdefs.h >>conftest.$ac_ext
41443 cat >>conftest.$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define $ac_func innocuous_$ac_func
41448
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char $ac_func (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41453
41454 #ifdef __STDC__
41455 # include <limits.h>
41456 #else
41457 # include <assert.h>
41458 #endif
41459
41460 #undef $ac_func
41461
41462 /* Override any GCC internal prototype to avoid an error.
41463 Use char because int might match the return type of a GCC
41464 builtin and then its argument prototype would still apply. */
41465 #ifdef __cplusplus
41466 extern "C"
41467 #endif
41468 char $ac_func ();
41469 /* The GNU C library defines this for functions which it implements
41470 to always fail with ENOSYS. Some functions are actually named
41471 something starting with __ and the normal name is an alias. */
41472 #if defined __stub_$ac_func || defined __stub___$ac_func
41473 choke me
41474 #endif
41475
41476 int
41477 main ()
41478 {
41479 return $ac_func ();
41480 ;
41481 return 0;
41482 }
41483 _ACEOF
41484 rm -f conftest.$ac_objext conftest$ac_exeext
41485 if { (ac_try="$ac_link"
41486 case "(($ac_try" in
41487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41488 *) ac_try_echo=$ac_try;;
41489 esac
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_link") 2>conftest.er1
41492 ac_status=$?
41493 grep -v '^ *+' conftest.er1 >conftest.err
41494 rm -f conftest.er1
41495 cat conftest.err >&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest$ac_exeext &&
41501 $as_test_x conftest$ac_exeext; then
41502 eval "$as_ac_var=yes"
41503 else
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.$ac_ext >&5
41506
41507 eval "$as_ac_var=no"
41508 fi
41509
41510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41511 conftest$ac_exeext conftest.$ac_ext
41512 fi
41513 ac_res=`eval echo '${'$as_ac_var'}'`
41514 { echo "$as_me:$LINENO: result: $ac_res" >&5
41515 echo "${ECHO_T}$ac_res" >&6; }
41516 if test `eval echo '${'$as_ac_var'}'` = yes; then
41517 cat >>confdefs.h <<_ACEOF
41518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41519 _ACEOF
41520
41521 fi
41522 done
41523
41524
41525 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41526 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41527 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41528 echo $ECHO_N "(cached) $ECHO_C" >&6
41529 else
41530
41531 ac_ext=cpp
41532 ac_cpp='$CXXCPP $CPPFLAGS'
41533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41536
41537 cat >conftest.$ac_ext <<_ACEOF
41538 /* confdefs.h. */
41539 _ACEOF
41540 cat confdefs.h >>conftest.$ac_ext
41541 cat >>conftest.$ac_ext <<_ACEOF
41542 /* end confdefs.h. */
41543 #include <pthread.h>
41544 void ThreadCleanupFunc(void *p);
41545
41546 int
41547 main ()
41548 {
41549
41550 void *p;
41551 pthread_cleanup_push(ThreadCleanupFunc, p);
41552 pthread_cleanup_pop(0);
41553
41554 ;
41555 return 0;
41556 }
41557 _ACEOF
41558 rm -f conftest.$ac_objext
41559 if { (ac_try="$ac_compile"
41560 case "(($ac_try" in
41561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41562 *) ac_try_echo=$ac_try;;
41563 esac
41564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41565 (eval "$ac_compile") 2>conftest.er1
41566 ac_status=$?
41567 grep -v '^ *+' conftest.er1 >conftest.err
41568 rm -f conftest.er1
41569 cat conftest.err >&5
41570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); } && {
41572 test -z "$ac_cxx_werror_flag" ||
41573 test ! -s conftest.err
41574 } && test -s conftest.$ac_objext; then
41575
41576 wx_cv_func_pthread_cleanup=yes
41577
41578 else
41579 echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41581
41582
41583 wx_cv_func_pthread_cleanup=no
41584
41585
41586 fi
41587
41588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41589 ac_ext=c
41590 ac_cpp='$CPP $CPPFLAGS'
41591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41594
41595
41596 fi
41597 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41598 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41599 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41600 cat >>confdefs.h <<\_ACEOF
41601 #define wxHAVE_PTHREAD_CLEANUP 1
41602 _ACEOF
41603
41604 fi
41605
41606
41607 for ac_header in sched.h
41608 do
41609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41613 echo $ECHO_N "(cached) $ECHO_C" >&6
41614 else
41615 cat >conftest.$ac_ext <<_ACEOF
41616 /* confdefs.h. */
41617 _ACEOF
41618 cat confdefs.h >>conftest.$ac_ext
41619 cat >>conftest.$ac_ext <<_ACEOF
41620 /* end confdefs.h. */
41621 $ac_includes_default
41622
41623 #include <$ac_header>
41624 _ACEOF
41625 rm -f conftest.$ac_objext
41626 if { (ac_try="$ac_compile"
41627 case "(($ac_try" in
41628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41629 *) ac_try_echo=$ac_try;;
41630 esac
41631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41632 (eval "$ac_compile") 2>conftest.er1
41633 ac_status=$?
41634 grep -v '^ *+' conftest.er1 >conftest.err
41635 rm -f conftest.er1
41636 cat conftest.err >&5
41637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638 (exit $ac_status); } && {
41639 test -z "$ac_c_werror_flag" ||
41640 test ! -s conftest.err
41641 } && test -s conftest.$ac_objext; then
41642 eval "$as_ac_Header=yes"
41643 else
41644 echo "$as_me: failed program was:" >&5
41645 sed 's/^/| /' conftest.$ac_ext >&5
41646
41647 eval "$as_ac_Header=no"
41648 fi
41649
41650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41651 fi
41652 ac_res=`eval echo '${'$as_ac_Header'}'`
41653 { echo "$as_me:$LINENO: result: $ac_res" >&5
41654 echo "${ECHO_T}$ac_res" >&6; }
41655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41656 cat >>confdefs.h <<_ACEOF
41657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41658 _ACEOF
41659
41660 fi
41661
41662 done
41663
41664 if test "$ac_cv_header_sched_h" = "yes"; then
41665 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41666 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41667 if test "${ac_cv_func_sched_yield+set}" = set; then
41668 echo $ECHO_N "(cached) $ECHO_C" >&6
41669 else
41670 cat >conftest.$ac_ext <<_ACEOF
41671 /* confdefs.h. */
41672 _ACEOF
41673 cat confdefs.h >>conftest.$ac_ext
41674 cat >>conftest.$ac_ext <<_ACEOF
41675 /* end confdefs.h. */
41676 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41678 #define sched_yield innocuous_sched_yield
41679
41680 /* System header to define __stub macros and hopefully few prototypes,
41681 which can conflict with char sched_yield (); below.
41682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41683 <limits.h> exists even on freestanding compilers. */
41684
41685 #ifdef __STDC__
41686 # include <limits.h>
41687 #else
41688 # include <assert.h>
41689 #endif
41690
41691 #undef sched_yield
41692
41693 /* Override any GCC internal prototype to avoid an error.
41694 Use char because int might match the return type of a GCC
41695 builtin and then its argument prototype would still apply. */
41696 #ifdef __cplusplus
41697 extern "C"
41698 #endif
41699 char sched_yield ();
41700 /* The GNU C library defines this for functions which it implements
41701 to always fail with ENOSYS. Some functions are actually named
41702 something starting with __ and the normal name is an alias. */
41703 #if defined __stub_sched_yield || defined __stub___sched_yield
41704 choke me
41705 #endif
41706
41707 int
41708 main ()
41709 {
41710 return sched_yield ();
41711 ;
41712 return 0;
41713 }
41714 _ACEOF
41715 rm -f conftest.$ac_objext conftest$ac_exeext
41716 if { (ac_try="$ac_link"
41717 case "(($ac_try" in
41718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41719 *) ac_try_echo=$ac_try;;
41720 esac
41721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41722 (eval "$ac_link") 2>conftest.er1
41723 ac_status=$?
41724 grep -v '^ *+' conftest.er1 >conftest.err
41725 rm -f conftest.er1
41726 cat conftest.err >&5
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); } && {
41729 test -z "$ac_c_werror_flag" ||
41730 test ! -s conftest.err
41731 } && test -s conftest$ac_exeext &&
41732 $as_test_x conftest$ac_exeext; then
41733 ac_cv_func_sched_yield=yes
41734 else
41735 echo "$as_me: failed program was:" >&5
41736 sed 's/^/| /' conftest.$ac_ext >&5
41737
41738 ac_cv_func_sched_yield=no
41739 fi
41740
41741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41742 conftest$ac_exeext conftest.$ac_ext
41743 fi
41744 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41745 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41746 if test $ac_cv_func_sched_yield = yes; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define HAVE_SCHED_YIELD 1
41749 _ACEOF
41750
41751 else
41752
41753 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41754 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41755 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41756 echo $ECHO_N "(cached) $ECHO_C" >&6
41757 else
41758 ac_check_lib_save_LIBS=$LIBS
41759 LIBS="-lposix4 $LIBS"
41760 cat >conftest.$ac_ext <<_ACEOF
41761 /* confdefs.h. */
41762 _ACEOF
41763 cat confdefs.h >>conftest.$ac_ext
41764 cat >>conftest.$ac_ext <<_ACEOF
41765 /* end confdefs.h. */
41766
41767 /* Override any GCC internal prototype to avoid an error.
41768 Use char because int might match the return type of a GCC
41769 builtin and then its argument prototype would still apply. */
41770 #ifdef __cplusplus
41771 extern "C"
41772 #endif
41773 char sched_yield ();
41774 int
41775 main ()
41776 {
41777 return sched_yield ();
41778 ;
41779 return 0;
41780 }
41781 _ACEOF
41782 rm -f conftest.$ac_objext conftest$ac_exeext
41783 if { (ac_try="$ac_link"
41784 case "(($ac_try" in
41785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41786 *) ac_try_echo=$ac_try;;
41787 esac
41788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41789 (eval "$ac_link") 2>conftest.er1
41790 ac_status=$?
41791 grep -v '^ *+' conftest.er1 >conftest.err
41792 rm -f conftest.er1
41793 cat conftest.err >&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); } && {
41796 test -z "$ac_c_werror_flag" ||
41797 test ! -s conftest.err
41798 } && test -s conftest$ac_exeext &&
41799 $as_test_x conftest$ac_exeext; then
41800 ac_cv_lib_posix4_sched_yield=yes
41801 else
41802 echo "$as_me: failed program was:" >&5
41803 sed 's/^/| /' conftest.$ac_ext >&5
41804
41805 ac_cv_lib_posix4_sched_yield=no
41806 fi
41807
41808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41809 conftest$ac_exeext conftest.$ac_ext
41810 LIBS=$ac_check_lib_save_LIBS
41811 fi
41812 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41813 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41814 if test $ac_cv_lib_posix4_sched_yield = yes; then
41815 cat >>confdefs.h <<\_ACEOF
41816 #define HAVE_SCHED_YIELD 1
41817 _ACEOF
41818 POSIX4_LINK=" -lposix4"
41819 else
41820 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41821 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41822
41823 fi
41824
41825
41826
41827 fi
41828
41829 fi
41830
41831 HAVE_PRIOR_FUNCS=0
41832 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41833 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41834 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41835 echo $ECHO_N "(cached) $ECHO_C" >&6
41836 else
41837 cat >conftest.$ac_ext <<_ACEOF
41838 /* confdefs.h. */
41839 _ACEOF
41840 cat confdefs.h >>conftest.$ac_ext
41841 cat >>conftest.$ac_ext <<_ACEOF
41842 /* end confdefs.h. */
41843 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41845 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41846
41847 /* System header to define __stub macros and hopefully few prototypes,
41848 which can conflict with char pthread_attr_getschedpolicy (); below.
41849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41850 <limits.h> exists even on freestanding compilers. */
41851
41852 #ifdef __STDC__
41853 # include <limits.h>
41854 #else
41855 # include <assert.h>
41856 #endif
41857
41858 #undef pthread_attr_getschedpolicy
41859
41860 /* Override any GCC internal prototype to avoid an error.
41861 Use char because int might match the return type of a GCC
41862 builtin and then its argument prototype would still apply. */
41863 #ifdef __cplusplus
41864 extern "C"
41865 #endif
41866 char pthread_attr_getschedpolicy ();
41867 /* The GNU C library defines this for functions which it implements
41868 to always fail with ENOSYS. Some functions are actually named
41869 something starting with __ and the normal name is an alias. */
41870 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41871 choke me
41872 #endif
41873
41874 int
41875 main ()
41876 {
41877 return pthread_attr_getschedpolicy ();
41878 ;
41879 return 0;
41880 }
41881 _ACEOF
41882 rm -f conftest.$ac_objext conftest$ac_exeext
41883 if { (ac_try="$ac_link"
41884 case "(($ac_try" in
41885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41886 *) ac_try_echo=$ac_try;;
41887 esac
41888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41889 (eval "$ac_link") 2>conftest.er1
41890 ac_status=$?
41891 grep -v '^ *+' conftest.er1 >conftest.err
41892 rm -f conftest.er1
41893 cat conftest.err >&5
41894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895 (exit $ac_status); } && {
41896 test -z "$ac_c_werror_flag" ||
41897 test ! -s conftest.err
41898 } && test -s conftest$ac_exeext &&
41899 $as_test_x conftest$ac_exeext; then
41900 ac_cv_func_pthread_attr_getschedpolicy=yes
41901 else
41902 echo "$as_me: failed program was:" >&5
41903 sed 's/^/| /' conftest.$ac_ext >&5
41904
41905 ac_cv_func_pthread_attr_getschedpolicy=no
41906 fi
41907
41908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41909 conftest$ac_exeext conftest.$ac_ext
41910 fi
41911 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41912 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41913 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41914 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41915 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41916 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41917 echo $ECHO_N "(cached) $ECHO_C" >&6
41918 else
41919 cat >conftest.$ac_ext <<_ACEOF
41920 /* confdefs.h. */
41921 _ACEOF
41922 cat confdefs.h >>conftest.$ac_ext
41923 cat >>conftest.$ac_ext <<_ACEOF
41924 /* end confdefs.h. */
41925 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41927 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41928
41929 /* System header to define __stub macros and hopefully few prototypes,
41930 which can conflict with char pthread_attr_setschedparam (); below.
41931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41932 <limits.h> exists even on freestanding compilers. */
41933
41934 #ifdef __STDC__
41935 # include <limits.h>
41936 #else
41937 # include <assert.h>
41938 #endif
41939
41940 #undef pthread_attr_setschedparam
41941
41942 /* Override any GCC internal prototype to avoid an error.
41943 Use char because int might match the return type of a GCC
41944 builtin and then its argument prototype would still apply. */
41945 #ifdef __cplusplus
41946 extern "C"
41947 #endif
41948 char pthread_attr_setschedparam ();
41949 /* The GNU C library defines this for functions which it implements
41950 to always fail with ENOSYS. Some functions are actually named
41951 something starting with __ and the normal name is an alias. */
41952 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41953 choke me
41954 #endif
41955
41956 int
41957 main ()
41958 {
41959 return pthread_attr_setschedparam ();
41960 ;
41961 return 0;
41962 }
41963 _ACEOF
41964 rm -f conftest.$ac_objext conftest$ac_exeext
41965 if { (ac_try="$ac_link"
41966 case "(($ac_try" in
41967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41968 *) ac_try_echo=$ac_try;;
41969 esac
41970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41971 (eval "$ac_link") 2>conftest.er1
41972 ac_status=$?
41973 grep -v '^ *+' conftest.er1 >conftest.err
41974 rm -f conftest.er1
41975 cat conftest.err >&5
41976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977 (exit $ac_status); } && {
41978 test -z "$ac_c_werror_flag" ||
41979 test ! -s conftest.err
41980 } && test -s conftest$ac_exeext &&
41981 $as_test_x conftest$ac_exeext; then
41982 ac_cv_func_pthread_attr_setschedparam=yes
41983 else
41984 echo "$as_me: failed program was:" >&5
41985 sed 's/^/| /' conftest.$ac_ext >&5
41986
41987 ac_cv_func_pthread_attr_setschedparam=no
41988 fi
41989
41990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41991 conftest$ac_exeext conftest.$ac_ext
41992 fi
41993 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41994 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41995 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41996 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41997 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41998 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41999 echo $ECHO_N "(cached) $ECHO_C" >&6
42000 else
42001 cat >conftest.$ac_ext <<_ACEOF
42002 /* confdefs.h. */
42003 _ACEOF
42004 cat confdefs.h >>conftest.$ac_ext
42005 cat >>conftest.$ac_ext <<_ACEOF
42006 /* end confdefs.h. */
42007 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42009 #define sched_get_priority_max innocuous_sched_get_priority_max
42010
42011 /* System header to define __stub macros and hopefully few prototypes,
42012 which can conflict with char sched_get_priority_max (); below.
42013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42014 <limits.h> exists even on freestanding compilers. */
42015
42016 #ifdef __STDC__
42017 # include <limits.h>
42018 #else
42019 # include <assert.h>
42020 #endif
42021
42022 #undef sched_get_priority_max
42023
42024 /* Override any GCC internal prototype to avoid an error.
42025 Use char because int might match the return type of a GCC
42026 builtin and then its argument prototype would still apply. */
42027 #ifdef __cplusplus
42028 extern "C"
42029 #endif
42030 char sched_get_priority_max ();
42031 /* The GNU C library defines this for functions which it implements
42032 to always fail with ENOSYS. Some functions are actually named
42033 something starting with __ and the normal name is an alias. */
42034 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42035 choke me
42036 #endif
42037
42038 int
42039 main ()
42040 {
42041 return sched_get_priority_max ();
42042 ;
42043 return 0;
42044 }
42045 _ACEOF
42046 rm -f conftest.$ac_objext conftest$ac_exeext
42047 if { (ac_try="$ac_link"
42048 case "(($ac_try" in
42049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42050 *) ac_try_echo=$ac_try;;
42051 esac
42052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42053 (eval "$ac_link") 2>conftest.er1
42054 ac_status=$?
42055 grep -v '^ *+' conftest.er1 >conftest.err
42056 rm -f conftest.er1
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } && {
42060 test -z "$ac_c_werror_flag" ||
42061 test ! -s conftest.err
42062 } && test -s conftest$ac_exeext &&
42063 $as_test_x conftest$ac_exeext; then
42064 ac_cv_func_sched_get_priority_max=yes
42065 else
42066 echo "$as_me: failed program was:" >&5
42067 sed 's/^/| /' conftest.$ac_ext >&5
42068
42069 ac_cv_func_sched_get_priority_max=no
42070 fi
42071
42072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42073 conftest$ac_exeext conftest.$ac_ext
42074 fi
42075 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42076 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42077 if test $ac_cv_func_sched_get_priority_max = yes; then
42078 HAVE_PRIOR_FUNCS=1
42079 else
42080 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42081 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42082 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42083 echo $ECHO_N "(cached) $ECHO_C" >&6
42084 else
42085 ac_check_lib_save_LIBS=$LIBS
42086 LIBS="-lposix4 $LIBS"
42087 cat >conftest.$ac_ext <<_ACEOF
42088 /* confdefs.h. */
42089 _ACEOF
42090 cat confdefs.h >>conftest.$ac_ext
42091 cat >>conftest.$ac_ext <<_ACEOF
42092 /* end confdefs.h. */
42093
42094 /* Override any GCC internal prototype to avoid an error.
42095 Use char because int might match the return type of a GCC
42096 builtin and then its argument prototype would still apply. */
42097 #ifdef __cplusplus
42098 extern "C"
42099 #endif
42100 char sched_get_priority_max ();
42101 int
42102 main ()
42103 {
42104 return sched_get_priority_max ();
42105 ;
42106 return 0;
42107 }
42108 _ACEOF
42109 rm -f conftest.$ac_objext conftest$ac_exeext
42110 if { (ac_try="$ac_link"
42111 case "(($ac_try" in
42112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42113 *) ac_try_echo=$ac_try;;
42114 esac
42115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42116 (eval "$ac_link") 2>conftest.er1
42117 ac_status=$?
42118 grep -v '^ *+' conftest.er1 >conftest.err
42119 rm -f conftest.er1
42120 cat conftest.err >&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); } && {
42123 test -z "$ac_c_werror_flag" ||
42124 test ! -s conftest.err
42125 } && test -s conftest$ac_exeext &&
42126 $as_test_x conftest$ac_exeext; then
42127 ac_cv_lib_posix4_sched_get_priority_max=yes
42128 else
42129 echo "$as_me: failed program was:" >&5
42130 sed 's/^/| /' conftest.$ac_ext >&5
42131
42132 ac_cv_lib_posix4_sched_get_priority_max=no
42133 fi
42134
42135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42136 conftest$ac_exeext conftest.$ac_ext
42137 LIBS=$ac_check_lib_save_LIBS
42138 fi
42139 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42140 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42141 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42142
42143 HAVE_PRIOR_FUNCS=1
42144 POSIX4_LINK=" -lposix4"
42145
42146 fi
42147
42148
42149 fi
42150
42151
42152 fi
42153
42154
42155 fi
42156
42157
42158 if test "$HAVE_PRIOR_FUNCS" = 1; then
42159 cat >>confdefs.h <<\_ACEOF
42160 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42161 _ACEOF
42162
42163 else
42164 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42165 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42166 fi
42167
42168 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42169 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42170 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42171 echo $ECHO_N "(cached) $ECHO_C" >&6
42172 else
42173 cat >conftest.$ac_ext <<_ACEOF
42174 /* confdefs.h. */
42175 _ACEOF
42176 cat confdefs.h >>conftest.$ac_ext
42177 cat >>conftest.$ac_ext <<_ACEOF
42178 /* end confdefs.h. */
42179 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42181 #define pthread_cancel innocuous_pthread_cancel
42182
42183 /* System header to define __stub macros and hopefully few prototypes,
42184 which can conflict with char pthread_cancel (); below.
42185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42186 <limits.h> exists even on freestanding compilers. */
42187
42188 #ifdef __STDC__
42189 # include <limits.h>
42190 #else
42191 # include <assert.h>
42192 #endif
42193
42194 #undef pthread_cancel
42195
42196 /* Override any GCC internal prototype to avoid an error.
42197 Use char because int might match the return type of a GCC
42198 builtin and then its argument prototype would still apply. */
42199 #ifdef __cplusplus
42200 extern "C"
42201 #endif
42202 char pthread_cancel ();
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42207 choke me
42208 #endif
42209
42210 int
42211 main ()
42212 {
42213 return pthread_cancel ();
42214 ;
42215 return 0;
42216 }
42217 _ACEOF
42218 rm -f conftest.$ac_objext conftest$ac_exeext
42219 if { (ac_try="$ac_link"
42220 case "(($ac_try" in
42221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42222 *) ac_try_echo=$ac_try;;
42223 esac
42224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42225 (eval "$ac_link") 2>conftest.er1
42226 ac_status=$?
42227 grep -v '^ *+' conftest.er1 >conftest.err
42228 rm -f conftest.er1
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } && {
42232 test -z "$ac_c_werror_flag" ||
42233 test ! -s conftest.err
42234 } && test -s conftest$ac_exeext &&
42235 $as_test_x conftest$ac_exeext; then
42236 ac_cv_func_pthread_cancel=yes
42237 else
42238 echo "$as_me: failed program was:" >&5
42239 sed 's/^/| /' conftest.$ac_ext >&5
42240
42241 ac_cv_func_pthread_cancel=no
42242 fi
42243
42244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42245 conftest$ac_exeext conftest.$ac_ext
42246 fi
42247 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42248 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42249 if test $ac_cv_func_pthread_cancel = yes; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define HAVE_PTHREAD_CANCEL 1
42252 _ACEOF
42253
42254 else
42255 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42256 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42257 fi
42258
42259
42260 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42261 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42262 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42263 echo $ECHO_N "(cached) $ECHO_C" >&6
42264 else
42265 cat >conftest.$ac_ext <<_ACEOF
42266 /* confdefs.h. */
42267 _ACEOF
42268 cat confdefs.h >>conftest.$ac_ext
42269 cat >>conftest.$ac_ext <<_ACEOF
42270 /* end confdefs.h. */
42271 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42273 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42274
42275 /* System header to define __stub macros and hopefully few prototypes,
42276 which can conflict with char pthread_mutex_timedlock (); below.
42277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42278 <limits.h> exists even on freestanding compilers. */
42279
42280 #ifdef __STDC__
42281 # include <limits.h>
42282 #else
42283 # include <assert.h>
42284 #endif
42285
42286 #undef pthread_mutex_timedlock
42287
42288 /* Override any GCC internal prototype to avoid an error.
42289 Use char because int might match the return type of a GCC
42290 builtin and then its argument prototype would still apply. */
42291 #ifdef __cplusplus
42292 extern "C"
42293 #endif
42294 char pthread_mutex_timedlock ();
42295 /* The GNU C library defines this for functions which it implements
42296 to always fail with ENOSYS. Some functions are actually named
42297 something starting with __ and the normal name is an alias. */
42298 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42299 choke me
42300 #endif
42301
42302 int
42303 main ()
42304 {
42305 return pthread_mutex_timedlock ();
42306 ;
42307 return 0;
42308 }
42309 _ACEOF
42310 rm -f conftest.$ac_objext conftest$ac_exeext
42311 if { (ac_try="$ac_link"
42312 case "(($ac_try" in
42313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42314 *) ac_try_echo=$ac_try;;
42315 esac
42316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42317 (eval "$ac_link") 2>conftest.er1
42318 ac_status=$?
42319 grep -v '^ *+' conftest.er1 >conftest.err
42320 rm -f conftest.er1
42321 cat conftest.err >&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); } && {
42324 test -z "$ac_c_werror_flag" ||
42325 test ! -s conftest.err
42326 } && test -s conftest$ac_exeext &&
42327 $as_test_x conftest$ac_exeext; then
42328 ac_cv_func_pthread_mutex_timedlock=yes
42329 else
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.$ac_ext >&5
42332
42333 ac_cv_func_pthread_mutex_timedlock=no
42334 fi
42335
42336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42337 conftest$ac_exeext conftest.$ac_ext
42338 fi
42339 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42340 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42341 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42344 _ACEOF
42345
42346 else
42347 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42348 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42349 fi
42350
42351
42352 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42353 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42354 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42355 echo $ECHO_N "(cached) $ECHO_C" >&6
42356 else
42357 cat >conftest.$ac_ext <<_ACEOF
42358 /* confdefs.h. */
42359 _ACEOF
42360 cat confdefs.h >>conftest.$ac_ext
42361 cat >>conftest.$ac_ext <<_ACEOF
42362 /* end confdefs.h. */
42363 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42365 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42366
42367 /* System header to define __stub macros and hopefully few prototypes,
42368 which can conflict with char pthread_attr_setstacksize (); below.
42369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42370 <limits.h> exists even on freestanding compilers. */
42371
42372 #ifdef __STDC__
42373 # include <limits.h>
42374 #else
42375 # include <assert.h>
42376 #endif
42377
42378 #undef pthread_attr_setstacksize
42379
42380 /* Override any GCC internal prototype to avoid an error.
42381 Use char because int might match the return type of a GCC
42382 builtin and then its argument prototype would still apply. */
42383 #ifdef __cplusplus
42384 extern "C"
42385 #endif
42386 char pthread_attr_setstacksize ();
42387 /* The GNU C library defines this for functions which it implements
42388 to always fail with ENOSYS. Some functions are actually named
42389 something starting with __ and the normal name is an alias. */
42390 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42391 choke me
42392 #endif
42393
42394 int
42395 main ()
42396 {
42397 return pthread_attr_setstacksize ();
42398 ;
42399 return 0;
42400 }
42401 _ACEOF
42402 rm -f conftest.$ac_objext conftest$ac_exeext
42403 if { (ac_try="$ac_link"
42404 case "(($ac_try" in
42405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42406 *) ac_try_echo=$ac_try;;
42407 esac
42408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42409 (eval "$ac_link") 2>conftest.er1
42410 ac_status=$?
42411 grep -v '^ *+' conftest.er1 >conftest.err
42412 rm -f conftest.er1
42413 cat conftest.err >&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); } && {
42416 test -z "$ac_c_werror_flag" ||
42417 test ! -s conftest.err
42418 } && test -s conftest$ac_exeext &&
42419 $as_test_x conftest$ac_exeext; then
42420 ac_cv_func_pthread_attr_setstacksize=yes
42421 else
42422 echo "$as_me: failed program was:" >&5
42423 sed 's/^/| /' conftest.$ac_ext >&5
42424
42425 ac_cv_func_pthread_attr_setstacksize=no
42426 fi
42427
42428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42429 conftest$ac_exeext conftest.$ac_ext
42430 fi
42431 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42432 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42433 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42434 cat >>confdefs.h <<\_ACEOF
42435 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42436 _ACEOF
42437
42438 fi
42439
42440
42441
42442 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42443 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42444 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42445 echo $ECHO_N "(cached) $ECHO_C" >&6
42446 else
42447
42448 cat >conftest.$ac_ext <<_ACEOF
42449 /* confdefs.h. */
42450 _ACEOF
42451 cat confdefs.h >>conftest.$ac_ext
42452 cat >>conftest.$ac_ext <<_ACEOF
42453 /* end confdefs.h. */
42454 #include <pthread.h>
42455 int
42456 main ()
42457 {
42458
42459 pthread_mutexattr_t attr;
42460 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42461
42462 ;
42463 return 0;
42464 }
42465 _ACEOF
42466 rm -f conftest.$ac_objext
42467 if { (ac_try="$ac_compile"
42468 case "(($ac_try" in
42469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42470 *) ac_try_echo=$ac_try;;
42471 esac
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_compile") 2>conftest.er1
42474 ac_status=$?
42475 grep -v '^ *+' conftest.er1 >conftest.err
42476 rm -f conftest.er1
42477 cat conftest.err >&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } && {
42480 test -z "$ac_c_werror_flag" ||
42481 test ! -s conftest.err
42482 } && test -s conftest.$ac_objext; then
42483 wx_cv_type_pthread_mutexattr_t=yes
42484 else
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42487
42488 wx_cv_type_pthread_mutexattr_t=no
42489
42490 fi
42491
42492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42493
42494 fi
42495 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42496 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42497
42498 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42499 cat >>confdefs.h <<\_ACEOF
42500 #define HAVE_PTHREAD_MUTEXATTR_T 1
42501 _ACEOF
42502
42503
42504 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42505 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42506 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42507 echo $ECHO_N "(cached) $ECHO_C" >&6
42508 else
42509
42510 cat >conftest.$ac_ext <<_ACEOF
42511 /* confdefs.h. */
42512 _ACEOF
42513 cat confdefs.h >>conftest.$ac_ext
42514 cat >>conftest.$ac_ext <<_ACEOF
42515 /* end confdefs.h. */
42516 #include <pthread.h>
42517 int
42518 main ()
42519 {
42520
42521 pthread_mutexattr_t attr;
42522 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42523
42524 ;
42525 return 0;
42526 }
42527 _ACEOF
42528 rm -f conftest.$ac_objext
42529 if { (ac_try="$ac_compile"
42530 case "(($ac_try" in
42531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42532 *) ac_try_echo=$ac_try;;
42533 esac
42534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42535 (eval "$ac_compile") 2>conftest.er1
42536 ac_status=$?
42537 grep -v '^ *+' conftest.er1 >conftest.err
42538 rm -f conftest.er1
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } && {
42542 test -z "$ac_c_werror_flag" ||
42543 test ! -s conftest.err
42544 } && test -s conftest.$ac_objext; then
42545 wx_cv_func_pthread_mutexattr_settype_decl=yes
42546 else
42547 echo "$as_me: failed program was:" >&5
42548 sed 's/^/| /' conftest.$ac_ext >&5
42549
42550 wx_cv_func_pthread_mutexattr_settype_decl=no
42551
42552 fi
42553
42554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42555
42556 fi
42557 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42558 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42559 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42560 cat >>confdefs.h <<\_ACEOF
42561 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42562 _ACEOF
42563
42564 fi
42565 else
42566 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42567 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42568 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42569 echo $ECHO_N "(cached) $ECHO_C" >&6
42570 else
42571
42572 cat >conftest.$ac_ext <<_ACEOF
42573 /* confdefs.h. */
42574 _ACEOF
42575 cat confdefs.h >>conftest.$ac_ext
42576 cat >>conftest.$ac_ext <<_ACEOF
42577 /* end confdefs.h. */
42578 #include <pthread.h>
42579 int
42580 main ()
42581 {
42582
42583 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42584
42585 ;
42586 return 0;
42587 }
42588 _ACEOF
42589 rm -f conftest.$ac_objext
42590 if { (ac_try="$ac_compile"
42591 case "(($ac_try" in
42592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42593 *) ac_try_echo=$ac_try;;
42594 esac
42595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42596 (eval "$ac_compile") 2>conftest.er1
42597 ac_status=$?
42598 grep -v '^ *+' conftest.er1 >conftest.err
42599 rm -f conftest.er1
42600 cat conftest.err >&5
42601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602 (exit $ac_status); } && {
42603 test -z "$ac_c_werror_flag" ||
42604 test ! -s conftest.err
42605 } && test -s conftest.$ac_objext; then
42606
42607 wx_cv_type_pthread_rec_mutex_init=yes
42608
42609 else
42610 echo "$as_me: failed program was:" >&5
42611 sed 's/^/| /' conftest.$ac_ext >&5
42612
42613
42614 wx_cv_type_pthread_rec_mutex_init=no
42615
42616
42617 fi
42618
42619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42620
42621 fi
42622 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42623 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42624 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42625 cat >>confdefs.h <<\_ACEOF
42626 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42627 _ACEOF
42628
42629 else
42630 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42631 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42632 fi
42633 fi
42634 fi
42635
42636 else
42637 if test "$wxUSE_THREADS" = "yes" ; then
42638 case "${host}" in
42639 *-*-mingw32* )
42640 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42641 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42642 if test "${wx_cv_cflags_mthread+set}" = set; then
42643 echo $ECHO_N "(cached) $ECHO_C" >&6
42644 else
42645
42646 CFLAGS_OLD="$CFLAGS"
42647 CFLAGS="-mthreads $CFLAGS"
42648 cat >conftest.$ac_ext <<_ACEOF
42649 /* confdefs.h. */
42650 _ACEOF
42651 cat confdefs.h >>conftest.$ac_ext
42652 cat >>conftest.$ac_ext <<_ACEOF
42653 /* end confdefs.h. */
42654
42655 int
42656 main ()
42657 {
42658
42659 ;
42660 return 0;
42661 }
42662 _ACEOF
42663 rm -f conftest.$ac_objext
42664 if { (ac_try="$ac_compile"
42665 case "(($ac_try" in
42666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42667 *) ac_try_echo=$ac_try;;
42668 esac
42669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42670 (eval "$ac_compile") 2>conftest.er1
42671 ac_status=$?
42672 grep -v '^ *+' conftest.er1 >conftest.err
42673 rm -f conftest.er1
42674 cat conftest.err >&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); } && {
42677 test -z "$ac_c_werror_flag" ||
42678 test ! -s conftest.err
42679 } && test -s conftest.$ac_objext; then
42680 wx_cv_cflags_mthread=yes
42681 else
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.$ac_ext >&5
42684
42685 wx_cv_cflags_mthread=no
42686
42687 fi
42688
42689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42690
42691
42692 fi
42693 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42694 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42695
42696 if test "$wx_cv_cflags_mthread" = "yes"; then
42697 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42698 LDFLAGS="$LDFLAGS -mthreads"
42699 else
42700 CFLAGS="$CFLAGS_OLD"
42701 fi
42702 ;;
42703 *-pc-os2*emx )
42704 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42705 LDFLAGS="$LDFLAGS -Zmt"
42706 ;;
42707 esac
42708 fi
42709 fi
42710
42711 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42712 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42713 if test "${ac_cv_func_localtime_r+set}" = set; then
42714 echo $ECHO_N "(cached) $ECHO_C" >&6
42715 else
42716 cat >conftest.$ac_ext <<_ACEOF
42717 /* confdefs.h. */
42718 _ACEOF
42719 cat confdefs.h >>conftest.$ac_ext
42720 cat >>conftest.$ac_ext <<_ACEOF
42721 /* end confdefs.h. */
42722 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42724 #define localtime_r innocuous_localtime_r
42725
42726 /* System header to define __stub macros and hopefully few prototypes,
42727 which can conflict with char localtime_r (); below.
42728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42729 <limits.h> exists even on freestanding compilers. */
42730
42731 #ifdef __STDC__
42732 # include <limits.h>
42733 #else
42734 # include <assert.h>
42735 #endif
42736
42737 #undef localtime_r
42738
42739 /* Override any GCC internal prototype to avoid an error.
42740 Use char because int might match the return type of a GCC
42741 builtin and then its argument prototype would still apply. */
42742 #ifdef __cplusplus
42743 extern "C"
42744 #endif
42745 char localtime_r ();
42746 /* The GNU C library defines this for functions which it implements
42747 to always fail with ENOSYS. Some functions are actually named
42748 something starting with __ and the normal name is an alias. */
42749 #if defined __stub_localtime_r || defined __stub___localtime_r
42750 choke me
42751 #endif
42752
42753 int
42754 main ()
42755 {
42756 return localtime_r ();
42757 ;
42758 return 0;
42759 }
42760 _ACEOF
42761 rm -f conftest.$ac_objext conftest$ac_exeext
42762 if { (ac_try="$ac_link"
42763 case "(($ac_try" in
42764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42765 *) ac_try_echo=$ac_try;;
42766 esac
42767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42768 (eval "$ac_link") 2>conftest.er1
42769 ac_status=$?
42770 grep -v '^ *+' conftest.er1 >conftest.err
42771 rm -f conftest.er1
42772 cat conftest.err >&5
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); } && {
42775 test -z "$ac_c_werror_flag" ||
42776 test ! -s conftest.err
42777 } && test -s conftest$ac_exeext &&
42778 $as_test_x conftest$ac_exeext; then
42779 ac_cv_func_localtime_r=yes
42780 else
42781 echo "$as_me: failed program was:" >&5
42782 sed 's/^/| /' conftest.$ac_ext >&5
42783
42784 ac_cv_func_localtime_r=no
42785 fi
42786
42787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42788 conftest$ac_exeext conftest.$ac_ext
42789 fi
42790 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42791 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42792 if test $ac_cv_func_localtime_r = yes; then
42793 cat >>confdefs.h <<\_ACEOF
42794 #define HAVE_LOCALTIME_R 1
42795 _ACEOF
42796
42797 fi
42798
42799 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42800 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42801 if test "${ac_cv_func_gmtime_r+set}" = set; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42803 else
42804 cat >conftest.$ac_ext <<_ACEOF
42805 /* confdefs.h. */
42806 _ACEOF
42807 cat confdefs.h >>conftest.$ac_ext
42808 cat >>conftest.$ac_ext <<_ACEOF
42809 /* end confdefs.h. */
42810 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42812 #define gmtime_r innocuous_gmtime_r
42813
42814 /* System header to define __stub macros and hopefully few prototypes,
42815 which can conflict with char gmtime_r (); below.
42816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42817 <limits.h> exists even on freestanding compilers. */
42818
42819 #ifdef __STDC__
42820 # include <limits.h>
42821 #else
42822 # include <assert.h>
42823 #endif
42824
42825 #undef gmtime_r
42826
42827 /* Override any GCC internal prototype to avoid an error.
42828 Use char because int might match the return type of a GCC
42829 builtin and then its argument prototype would still apply. */
42830 #ifdef __cplusplus
42831 extern "C"
42832 #endif
42833 char gmtime_r ();
42834 /* The GNU C library defines this for functions which it implements
42835 to always fail with ENOSYS. Some functions are actually named
42836 something starting with __ and the normal name is an alias. */
42837 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42838 choke me
42839 #endif
42840
42841 int
42842 main ()
42843 {
42844 return gmtime_r ();
42845 ;
42846 return 0;
42847 }
42848 _ACEOF
42849 rm -f conftest.$ac_objext conftest$ac_exeext
42850 if { (ac_try="$ac_link"
42851 case "(($ac_try" in
42852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42853 *) ac_try_echo=$ac_try;;
42854 esac
42855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42856 (eval "$ac_link") 2>conftest.er1
42857 ac_status=$?
42858 grep -v '^ *+' conftest.er1 >conftest.err
42859 rm -f conftest.er1
42860 cat conftest.err >&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); } && {
42863 test -z "$ac_c_werror_flag" ||
42864 test ! -s conftest.err
42865 } && test -s conftest$ac_exeext &&
42866 $as_test_x conftest$ac_exeext; then
42867 ac_cv_func_gmtime_r=yes
42868 else
42869 echo "$as_me: failed program was:" >&5
42870 sed 's/^/| /' conftest.$ac_ext >&5
42871
42872 ac_cv_func_gmtime_r=no
42873 fi
42874
42875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42876 conftest$ac_exeext conftest.$ac_ext
42877 fi
42878 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42879 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42880 if test $ac_cv_func_gmtime_r = yes; then
42881 cat >>confdefs.h <<\_ACEOF
42882 #define HAVE_GMTIME_R 1
42883 _ACEOF
42884
42885 fi
42886
42887
42888
42889
42890 ac_ext=c
42891 ac_cpp='$CPP $CPPFLAGS'
42892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42895
42896 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42897 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42898
42899 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42900 echo $ECHO_N "(cached) $ECHO_C" >&6
42901 else
42902
42903
42904 ################################################################
42905
42906 ac_cv_func_which_gethostbyname_r=unknown
42907
42908 #
42909 # ONE ARGUMENT (sanity check)
42910 #
42911
42912 # This should fail, as there is no variant of gethostbyname_r() that takes
42913 # a single argument. If it actually compiles, then we can assume that
42914 # netdb.h is not declaring the function, and the compiler is thereby
42915 # assuming an implicit prototype. In which case, we're out of luck.
42916 #
42917 cat >conftest.$ac_ext <<_ACEOF
42918 /* confdefs.h. */
42919 _ACEOF
42920 cat confdefs.h >>conftest.$ac_ext
42921 cat >>conftest.$ac_ext <<_ACEOF
42922 /* end confdefs.h. */
42923 #include <netdb.h>
42924 int
42925 main ()
42926 {
42927
42928 char *name = "www.gnu.org";
42929 (void)gethostbyname_r(name) /* ; */
42930
42931 ;
42932 return 0;
42933 }
42934 _ACEOF
42935 rm -f conftest.$ac_objext
42936 if { (ac_try="$ac_compile"
42937 case "(($ac_try" in
42938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42939 *) ac_try_echo=$ac_try;;
42940 esac
42941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42942 (eval "$ac_compile") 2>conftest.er1
42943 ac_status=$?
42944 grep -v '^ *+' conftest.er1 >conftest.err
42945 rm -f conftest.er1
42946 cat conftest.err >&5
42947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42948 (exit $ac_status); } && {
42949 test -z "$ac_c_werror_flag" ||
42950 test ! -s conftest.err
42951 } && test -s conftest.$ac_objext; then
42952 ac_cv_func_which_gethostbyname_r=no
42953 else
42954 echo "$as_me: failed program was:" >&5
42955 sed 's/^/| /' conftest.$ac_ext >&5
42956
42957
42958 fi
42959
42960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42961
42962 #
42963 # SIX ARGUMENTS
42964 # (e.g. Linux)
42965 #
42966
42967 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42968
42969 cat >conftest.$ac_ext <<_ACEOF
42970 /* confdefs.h. */
42971 _ACEOF
42972 cat confdefs.h >>conftest.$ac_ext
42973 cat >>conftest.$ac_ext <<_ACEOF
42974 /* end confdefs.h. */
42975 #include <netdb.h>
42976 int
42977 main ()
42978 {
42979
42980 char *name = "www.gnu.org";
42981 struct hostent ret, *retp;
42982 char buf[1024];
42983 int buflen = 1024;
42984 int my_h_errno;
42985 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42986
42987 ;
42988 return 0;
42989 }
42990 _ACEOF
42991 rm -f conftest.$ac_objext
42992 if { (ac_try="$ac_compile"
42993 case "(($ac_try" in
42994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42995 *) ac_try_echo=$ac_try;;
42996 esac
42997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42998 (eval "$ac_compile") 2>conftest.er1
42999 ac_status=$?
43000 grep -v '^ *+' conftest.er1 >conftest.err
43001 rm -f conftest.er1
43002 cat conftest.err >&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); } && {
43005 test -z "$ac_c_werror_flag" ||
43006 test ! -s conftest.err
43007 } && test -s conftest.$ac_objext; then
43008 ac_cv_func_which_gethostbyname_r=six
43009 else
43010 echo "$as_me: failed program was:" >&5
43011 sed 's/^/| /' conftest.$ac_ext >&5
43012
43013
43014 fi
43015
43016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43017
43018 fi
43019
43020 #
43021 # FIVE ARGUMENTS
43022 # (e.g. Solaris)
43023 #
43024
43025 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43026
43027 cat >conftest.$ac_ext <<_ACEOF
43028 /* confdefs.h. */
43029 _ACEOF
43030 cat confdefs.h >>conftest.$ac_ext
43031 cat >>conftest.$ac_ext <<_ACEOF
43032 /* end confdefs.h. */
43033 #include <netdb.h>
43034 int
43035 main ()
43036 {
43037
43038 char *name = "www.gnu.org";
43039 struct hostent ret;
43040 char buf[1024];
43041 int buflen = 1024;
43042 int my_h_errno;
43043 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43044
43045 ;
43046 return 0;
43047 }
43048 _ACEOF
43049 rm -f conftest.$ac_objext
43050 if { (ac_try="$ac_compile"
43051 case "(($ac_try" in
43052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43053 *) ac_try_echo=$ac_try;;
43054 esac
43055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43056 (eval "$ac_compile") 2>conftest.er1
43057 ac_status=$?
43058 grep -v '^ *+' conftest.er1 >conftest.err
43059 rm -f conftest.er1
43060 cat conftest.err >&5
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); } && {
43063 test -z "$ac_c_werror_flag" ||
43064 test ! -s conftest.err
43065 } && test -s conftest.$ac_objext; then
43066 ac_cv_func_which_gethostbyname_r=five
43067 else
43068 echo "$as_me: failed program was:" >&5
43069 sed 's/^/| /' conftest.$ac_ext >&5
43070
43071
43072 fi
43073
43074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43075
43076 fi
43077
43078 #
43079 # THREE ARGUMENTS
43080 # (e.g. AIX, HP-UX, Tru64)
43081 #
43082
43083 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43084
43085 cat >conftest.$ac_ext <<_ACEOF
43086 /* confdefs.h. */
43087 _ACEOF
43088 cat confdefs.h >>conftest.$ac_ext
43089 cat >>conftest.$ac_ext <<_ACEOF
43090 /* end confdefs.h. */
43091 #include <netdb.h>
43092 int
43093 main ()
43094 {
43095
43096 char *name = "www.gnu.org";
43097 struct hostent ret;
43098 struct hostent_data data;
43099 (void)gethostbyname_r(name, &ret, &data) /* ; */
43100
43101 ;
43102 return 0;
43103 }
43104 _ACEOF
43105 rm -f conftest.$ac_objext
43106 if { (ac_try="$ac_compile"
43107 case "(($ac_try" in
43108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43109 *) ac_try_echo=$ac_try;;
43110 esac
43111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43112 (eval "$ac_compile") 2>conftest.er1
43113 ac_status=$?
43114 grep -v '^ *+' conftest.er1 >conftest.err
43115 rm -f conftest.er1
43116 cat conftest.err >&5
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); } && {
43119 test -z "$ac_c_werror_flag" ||
43120 test ! -s conftest.err
43121 } && test -s conftest.$ac_objext; then
43122 ac_cv_func_which_gethostbyname_r=three
43123 else
43124 echo "$as_me: failed program was:" >&5
43125 sed 's/^/| /' conftest.$ac_ext >&5
43126
43127
43128 fi
43129
43130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43131
43132 fi
43133
43134 ################################################################
43135
43136
43137 fi
43138
43139 case "$ac_cv_func_which_gethostbyname_r" in
43140 three)
43141 { echo "$as_me:$LINENO: result: three" >&5
43142 echo "${ECHO_T}three" >&6; }
43143 cat >>confdefs.h <<\_ACEOF
43144 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43145 _ACEOF
43146
43147 ;;
43148
43149 five)
43150 { echo "$as_me:$LINENO: result: five" >&5
43151 echo "${ECHO_T}five" >&6; }
43152 cat >>confdefs.h <<\_ACEOF
43153 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43154 _ACEOF
43155
43156 ;;
43157
43158 six)
43159 { echo "$as_me:$LINENO: result: six" >&5
43160 echo "${ECHO_T}six" >&6; }
43161 cat >>confdefs.h <<\_ACEOF
43162 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43163 _ACEOF
43164
43165 ;;
43166
43167 no)
43168 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43169 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43170 ;;
43171
43172 unknown)
43173 { echo "$as_me:$LINENO: result: can't tell" >&5
43174 echo "${ECHO_T}can't tell" >&6; }
43175 ;;
43176
43177 *)
43178 { { echo "$as_me:$LINENO: error: internal error" >&5
43179 echo "$as_me: error: internal error" >&2;}
43180 { (exit 1); exit 1; }; }
43181 ;;
43182 esac
43183
43184 ac_ext=c
43185 ac_cpp='$CPP $CPPFLAGS'
43186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43189
43190
43191
43192 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43193 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43194 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43195 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43196 if test "${ac_cv_func_gethostbyname+set}" = set; then
43197 echo $ECHO_N "(cached) $ECHO_C" >&6
43198 else
43199 cat >conftest.$ac_ext <<_ACEOF
43200 /* confdefs.h. */
43201 _ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43205 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43207 #define gethostbyname innocuous_gethostbyname
43208
43209 /* System header to define __stub macros and hopefully few prototypes,
43210 which can conflict with char gethostbyname (); below.
43211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43212 <limits.h> exists even on freestanding compilers. */
43213
43214 #ifdef __STDC__
43215 # include <limits.h>
43216 #else
43217 # include <assert.h>
43218 #endif
43219
43220 #undef gethostbyname
43221
43222 /* Override any GCC internal prototype to avoid an error.
43223 Use char because int might match the return type of a GCC
43224 builtin and then its argument prototype would still apply. */
43225 #ifdef __cplusplus
43226 extern "C"
43227 #endif
43228 char gethostbyname ();
43229 /* The GNU C library defines this for functions which it implements
43230 to always fail with ENOSYS. Some functions are actually named
43231 something starting with __ and the normal name is an alias. */
43232 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43233 choke me
43234 #endif
43235
43236 int
43237 main ()
43238 {
43239 return gethostbyname ();
43240 ;
43241 return 0;
43242 }
43243 _ACEOF
43244 rm -f conftest.$ac_objext conftest$ac_exeext
43245 if { (ac_try="$ac_link"
43246 case "(($ac_try" in
43247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43248 *) ac_try_echo=$ac_try;;
43249 esac
43250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43251 (eval "$ac_link") 2>conftest.er1
43252 ac_status=$?
43253 grep -v '^ *+' conftest.er1 >conftest.err
43254 rm -f conftest.er1
43255 cat conftest.err >&5
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); } && {
43258 test -z "$ac_c_werror_flag" ||
43259 test ! -s conftest.err
43260 } && test -s conftest$ac_exeext &&
43261 $as_test_x conftest$ac_exeext; then
43262 ac_cv_func_gethostbyname=yes
43263 else
43264 echo "$as_me: failed program was:" >&5
43265 sed 's/^/| /' conftest.$ac_ext >&5
43266
43267 ac_cv_func_gethostbyname=no
43268 fi
43269
43270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43271 conftest$ac_exeext conftest.$ac_ext
43272 fi
43273 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43274 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43275 if test $ac_cv_func_gethostbyname = yes; then
43276 cat >>confdefs.h <<\_ACEOF
43277 #define HAVE_GETHOSTBYNAME 1
43278 _ACEOF
43279
43280 fi
43281
43282 fi
43283
43284 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43285 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43286 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43287 echo $ECHO_N "(cached) $ECHO_C" >&6
43288 else
43289
43290 ac_ext=cpp
43291 ac_cpp='$CXXCPP $CPPFLAGS'
43292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295
43296
43297 cat >conftest.$ac_ext <<_ACEOF
43298 /* confdefs.h. */
43299 _ACEOF
43300 cat confdefs.h >>conftest.$ac_ext
43301 cat >>conftest.$ac_ext <<_ACEOF
43302 /* end confdefs.h. */
43303 #include <netdb.h>
43304 int
43305 main ()
43306 {
43307
43308 char *name;
43309 char *proto;
43310 struct servent *se, *res;
43311 char buffer[2048];
43312 int buflen = 2048;
43313 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43314
43315 ;
43316 return 0;
43317 }
43318 _ACEOF
43319 rm -f conftest.$ac_objext
43320 if { (ac_try="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43323 *) ac_try_echo=$ac_try;;
43324 esac
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43327 ac_status=$?
43328 grep -v '^ *+' conftest.er1 >conftest.err
43329 rm -f conftest.er1
43330 cat conftest.err >&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_cxx_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.$ac_objext; then
43336 ac_cv_func_which_getservbyname_r=six
43337 else
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43340
43341
43342 cat >conftest.$ac_ext <<_ACEOF
43343 /* confdefs.h. */
43344 _ACEOF
43345 cat confdefs.h >>conftest.$ac_ext
43346 cat >>conftest.$ac_ext <<_ACEOF
43347 /* end confdefs.h. */
43348 #include <netdb.h>
43349 int
43350 main ()
43351 {
43352
43353 char *name;
43354 char *proto;
43355 struct servent *se;
43356 char buffer[2048];
43357 int buflen = 2048;
43358 (void) getservbyname_r(name, proto, se, buffer, buflen)
43359
43360 ;
43361 return 0;
43362 }
43363 _ACEOF
43364 rm -f conftest.$ac_objext
43365 if { (ac_try="$ac_compile"
43366 case "(($ac_try" in
43367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43368 *) ac_try_echo=$ac_try;;
43369 esac
43370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43371 (eval "$ac_compile") 2>conftest.er1
43372 ac_status=$?
43373 grep -v '^ *+' conftest.er1 >conftest.err
43374 rm -f conftest.er1
43375 cat conftest.err >&5
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); } && {
43378 test -z "$ac_cxx_werror_flag" ||
43379 test ! -s conftest.err
43380 } && test -s conftest.$ac_objext; then
43381 ac_cv_func_which_getservbyname_r=five
43382 else
43383 echo "$as_me: failed program was:" >&5
43384 sed 's/^/| /' conftest.$ac_ext >&5
43385
43386
43387 cat >conftest.$ac_ext <<_ACEOF
43388 /* confdefs.h. */
43389 _ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43393 #include <netdb.h>
43394 int
43395 main ()
43396 {
43397
43398 char *name;
43399 char *proto;
43400 struct servent *se;
43401 struct servent_data data;
43402 (void) getservbyname_r(name, proto, se, &data);
43403
43404 ;
43405 return 0;
43406 }
43407 _ACEOF
43408 rm -f conftest.$ac_objext
43409 if { (ac_try="$ac_compile"
43410 case "(($ac_try" in
43411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43412 *) ac_try_echo=$ac_try;;
43413 esac
43414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43415 (eval "$ac_compile") 2>conftest.er1
43416 ac_status=$?
43417 grep -v '^ *+' conftest.er1 >conftest.err
43418 rm -f conftest.er1
43419 cat conftest.err >&5
43420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43421 (exit $ac_status); } && {
43422 test -z "$ac_cxx_werror_flag" ||
43423 test ! -s conftest.err
43424 } && test -s conftest.$ac_objext; then
43425 ac_cv_func_which_getservbyname_r=four
43426 else
43427 echo "$as_me: failed program was:" >&5
43428 sed 's/^/| /' conftest.$ac_ext >&5
43429
43430 ac_cv_func_which_getservbyname_r=no
43431
43432 fi
43433
43434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43435
43436
43437 fi
43438
43439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43440
43441
43442 fi
43443
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43450
43451
43452
43453 fi
43454 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43455 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43456
43457 if test $ac_cv_func_which_getservbyname_r = six; then
43458 cat >>confdefs.h <<\_ACEOF
43459 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43460 _ACEOF
43461
43462 elif test $ac_cv_func_which_getservbyname_r = five; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43465 _ACEOF
43466
43467 elif test $ac_cv_func_which_getservbyname_r = four; then
43468 cat >>confdefs.h <<\_ACEOF
43469 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43470 _ACEOF
43471
43472 fi
43473
43474
43475 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43476 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43477
43478 for ac_func in getservbyname
43479 do
43480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43481 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43483 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43484 echo $ECHO_N "(cached) $ECHO_C" >&6
43485 else
43486 cat >conftest.$ac_ext <<_ACEOF
43487 /* confdefs.h. */
43488 _ACEOF
43489 cat confdefs.h >>conftest.$ac_ext
43490 cat >>conftest.$ac_ext <<_ACEOF
43491 /* end confdefs.h. */
43492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43494 #define $ac_func innocuous_$ac_func
43495
43496 /* System header to define __stub macros and hopefully few prototypes,
43497 which can conflict with char $ac_func (); below.
43498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43499 <limits.h> exists even on freestanding compilers. */
43500
43501 #ifdef __STDC__
43502 # include <limits.h>
43503 #else
43504 # include <assert.h>
43505 #endif
43506
43507 #undef $ac_func
43508
43509 /* Override any GCC internal prototype to avoid an error.
43510 Use char because int might match the return type of a GCC
43511 builtin and then its argument prototype would still apply. */
43512 #ifdef __cplusplus
43513 extern "C"
43514 #endif
43515 char $ac_func ();
43516 /* The GNU C library defines this for functions which it implements
43517 to always fail with ENOSYS. Some functions are actually named
43518 something starting with __ and the normal name is an alias. */
43519 #if defined __stub_$ac_func || defined __stub___$ac_func
43520 choke me
43521 #endif
43522
43523 int
43524 main ()
43525 {
43526 return $ac_func ();
43527 ;
43528 return 0;
43529 }
43530 _ACEOF
43531 rm -f conftest.$ac_objext conftest$ac_exeext
43532 if { (ac_try="$ac_link"
43533 case "(($ac_try" in
43534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43535 *) ac_try_echo=$ac_try;;
43536 esac
43537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43538 (eval "$ac_link") 2>conftest.er1
43539 ac_status=$?
43540 grep -v '^ *+' conftest.er1 >conftest.err
43541 rm -f conftest.er1
43542 cat conftest.err >&5
43543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43544 (exit $ac_status); } && {
43545 test -z "$ac_c_werror_flag" ||
43546 test ! -s conftest.err
43547 } && test -s conftest$ac_exeext &&
43548 $as_test_x conftest$ac_exeext; then
43549 eval "$as_ac_var=yes"
43550 else
43551 echo "$as_me: failed program was:" >&5
43552 sed 's/^/| /' conftest.$ac_ext >&5
43553
43554 eval "$as_ac_var=no"
43555 fi
43556
43557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43558 conftest$ac_exeext conftest.$ac_ext
43559 fi
43560 ac_res=`eval echo '${'$as_ac_var'}'`
43561 { echo "$as_me:$LINENO: result: $ac_res" >&5
43562 echo "${ECHO_T}$ac_res" >&6; }
43563 if test `eval echo '${'$as_ac_var'}'` = yes; then
43564 cat >>confdefs.h <<_ACEOF
43565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43566 _ACEOF
43567 cat >>confdefs.h <<\_ACEOF
43568 #define HAVE_GETSERVBYNAME 1
43569 _ACEOF
43570
43571 fi
43572 done
43573
43574 fi
43575
43576 if test "$wxUSE_THREADS" = "yes"; then
43577 cat >>confdefs.h <<\_ACEOF
43578 #define wxUSE_THREADS 1
43579 _ACEOF
43580
43581
43582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43583 else
43584 if test "$wx_cv_func_strtok_r" = "yes"; then
43585 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43586 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43587 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43588 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43589 { echo "$as_me:$LINENO: result: yes" >&5
43590 echo "${ECHO_T}yes" >&6; }
43591 else
43592 { echo "$as_me:$LINENO: result: no" >&5
43593 echo "${ECHO_T}no" >&6; }
43594 fi
43595 fi
43596 fi
43597
43598 if test "$WXGTK20" = 1 ; then
43599 cat >>confdefs.h <<_ACEOF
43600 #define __WXGTK20__ $WXGTK20
43601 _ACEOF
43602
43603 WXGTK12=1
43604 fi
43605
43606 if test "$WXGTK12" = 1 ; then
43607 cat >>confdefs.h <<_ACEOF
43608 #define __WXGTK12__ $WXGTK12
43609 _ACEOF
43610
43611 fi
43612
43613 if test "$WXGTK127" = 1 ; then
43614 cat >>confdefs.h <<_ACEOF
43615 #define __WXGTK127__ $WXGTK127
43616 _ACEOF
43617
43618 fi
43619
43620 if test "$WXGPE" = 1 ; then
43621 cat >>confdefs.h <<_ACEOF
43622 #define __WXGPE__ $WXGPE
43623 _ACEOF
43624
43625 fi
43626
43627 DEBUG_CFLAGS=
43628 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43629 DEBUG_CFLAGS="-g"
43630 wxUSE_OPTIMISE=no
43631 fi
43632
43633 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43634 wxUSE_DEBUG_INFO=yes
43635 if test "$GCC" = yes; then
43636 DEBUG_CFLAGS="-ggdb"
43637 fi
43638 fi
43639
43640 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43641 cat >>confdefs.h <<\_ACEOF
43642 #define WXDEBUG 1
43643 _ACEOF
43644
43645 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43646 else
43647 if test "$wxUSE_GTK" = 1 ; then
43648 if test "x$wxGTK_VERSION" = "x1" ; then
43649 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43650 fi
43651 fi
43652 fi
43653
43654 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43655 cat >>confdefs.h <<\_ACEOF
43656 #define wxUSE_MEMORY_TRACING 1
43657 _ACEOF
43658
43659 cat >>confdefs.h <<\_ACEOF
43660 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43661 _ACEOF
43662
43663 cat >>confdefs.h <<\_ACEOF
43664 #define wxUSE_DEBUG_NEW_ALWAYS 1
43665 _ACEOF
43666
43667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43668 fi
43669
43670 if test "$wxUSE_DMALLOC" = "yes" ; then
43671 DMALLOC_LIBS="-ldmallocthcxx"
43672 fi
43673
43674 PROFILE_FLAGS=
43675 if test "$wxUSE_PROFILE" = "yes" ; then
43676 PROFILE_FLAGS=" -pg"
43677 fi
43678
43679 if test "$GCC" = "yes" ; then
43680 if test "$wxUSE_NO_RTTI" = "yes" ; then
43681 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43682 fi
43683 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43684 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43685 fi
43686 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43687 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43688 fi
43689
43690 case "${host}" in
43691 powerpc*-*-aix* )
43692 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43693 ;;
43694 *-hppa* )
43695 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43696 ;;
43697 esac
43698 fi
43699
43700 OPTIMISE_CFLAGS=
43701 if test "$wxUSE_OPTIMISE" = "no" ; then
43702 if test "$GCC" = yes ; then
43703 OPTIMISE_CFLAGS="-O0"
43704 fi
43705 else
43706 if test "$GCC" = yes ; then
43707 case "${host}" in
43708 *-pc-os2_emx | *-pc-os2-emx )
43709 OPTIMISE_CFLAGS="-O2"
43710 ;;
43711 *)
43712 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43713 ;;
43714 esac
43715 else
43716 OPTIMISE_CFLAGS="-O"
43717 fi
43718 fi
43719
43720
43721 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43722 cat >>confdefs.h <<\_ACEOF
43723 #define WXWIN_COMPATIBILITY_2_6 1
43724 _ACEOF
43725
43726
43727 WXWIN_COMPATIBILITY_2_8="yes"
43728 fi
43729
43730 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define WXWIN_COMPATIBILITY_2_8 1
43733 _ACEOF
43734
43735 fi
43736
43737
43738 if test "$wxUSE_GUI" = "yes"; then
43739 cat >>confdefs.h <<\_ACEOF
43740 #define wxUSE_GUI 1
43741 _ACEOF
43742
43743
43744 fi
43745
43746
43747 if test "$wxUSE_UNIX" = "yes"; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_UNIX 1
43750 _ACEOF
43751
43752 fi
43753
43754
43755 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43756
43757 HAVE_DL_FUNCS=0
43758 HAVE_SHL_FUNCS=0
43759 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43760 if test "$USE_DARWIN" = 1; then
43761 HAVE_DL_FUNCS=1
43762 elif test "$USE_DOS" = 1; then
43763 HAVE_DL_FUNCS=0
43764 else
43765
43766 for ac_func in dlopen
43767 do
43768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43772 echo $ECHO_N "(cached) $ECHO_C" >&6
43773 else
43774 cat >conftest.$ac_ext <<_ACEOF
43775 /* confdefs.h. */
43776 _ACEOF
43777 cat confdefs.h >>conftest.$ac_ext
43778 cat >>conftest.$ac_ext <<_ACEOF
43779 /* end confdefs.h. */
43780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43782 #define $ac_func innocuous_$ac_func
43783
43784 /* System header to define __stub macros and hopefully few prototypes,
43785 which can conflict with char $ac_func (); below.
43786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43787 <limits.h> exists even on freestanding compilers. */
43788
43789 #ifdef __STDC__
43790 # include <limits.h>
43791 #else
43792 # include <assert.h>
43793 #endif
43794
43795 #undef $ac_func
43796
43797 /* Override any GCC internal prototype to avoid an error.
43798 Use char because int might match the return type of a GCC
43799 builtin and then its argument prototype would still apply. */
43800 #ifdef __cplusplus
43801 extern "C"
43802 #endif
43803 char $ac_func ();
43804 /* The GNU C library defines this for functions which it implements
43805 to always fail with ENOSYS. Some functions are actually named
43806 something starting with __ and the normal name is an alias. */
43807 #if defined __stub_$ac_func || defined __stub___$ac_func
43808 choke me
43809 #endif
43810
43811 int
43812 main ()
43813 {
43814 return $ac_func ();
43815 ;
43816 return 0;
43817 }
43818 _ACEOF
43819 rm -f conftest.$ac_objext conftest$ac_exeext
43820 if { (ac_try="$ac_link"
43821 case "(($ac_try" in
43822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43823 *) ac_try_echo=$ac_try;;
43824 esac
43825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43826 (eval "$ac_link") 2>conftest.er1
43827 ac_status=$?
43828 grep -v '^ *+' conftest.er1 >conftest.err
43829 rm -f conftest.er1
43830 cat conftest.err >&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); } && {
43833 test -z "$ac_c_werror_flag" ||
43834 test ! -s conftest.err
43835 } && test -s conftest$ac_exeext &&
43836 $as_test_x conftest$ac_exeext; then
43837 eval "$as_ac_var=yes"
43838 else
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.$ac_ext >&5
43841
43842 eval "$as_ac_var=no"
43843 fi
43844
43845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43846 conftest$ac_exeext conftest.$ac_ext
43847 fi
43848 ac_res=`eval echo '${'$as_ac_var'}'`
43849 { echo "$as_me:$LINENO: result: $ac_res" >&5
43850 echo "${ECHO_T}$ac_res" >&6; }
43851 if test `eval echo '${'$as_ac_var'}'` = yes; then
43852 cat >>confdefs.h <<_ACEOF
43853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43854 _ACEOF
43855
43856 cat >>confdefs.h <<\_ACEOF
43857 #define HAVE_DLOPEN 1
43858 _ACEOF
43859
43860 HAVE_DL_FUNCS=1
43861
43862 else
43863
43864 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43865 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43867 echo $ECHO_N "(cached) $ECHO_C" >&6
43868 else
43869 ac_check_lib_save_LIBS=$LIBS
43870 LIBS="-ldl $LIBS"
43871 cat >conftest.$ac_ext <<_ACEOF
43872 /* confdefs.h. */
43873 _ACEOF
43874 cat confdefs.h >>conftest.$ac_ext
43875 cat >>conftest.$ac_ext <<_ACEOF
43876 /* end confdefs.h. */
43877
43878 /* Override any GCC internal prototype to avoid an error.
43879 Use char because int might match the return type of a GCC
43880 builtin and then its argument prototype would still apply. */
43881 #ifdef __cplusplus
43882 extern "C"
43883 #endif
43884 char dlopen ();
43885 int
43886 main ()
43887 {
43888 return dlopen ();
43889 ;
43890 return 0;
43891 }
43892 _ACEOF
43893 rm -f conftest.$ac_objext conftest$ac_exeext
43894 if { (ac_try="$ac_link"
43895 case "(($ac_try" in
43896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43897 *) ac_try_echo=$ac_try;;
43898 esac
43899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43900 (eval "$ac_link") 2>conftest.er1
43901 ac_status=$?
43902 grep -v '^ *+' conftest.er1 >conftest.err
43903 rm -f conftest.er1
43904 cat conftest.err >&5
43905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906 (exit $ac_status); } && {
43907 test -z "$ac_c_werror_flag" ||
43908 test ! -s conftest.err
43909 } && test -s conftest$ac_exeext &&
43910 $as_test_x conftest$ac_exeext; then
43911 ac_cv_lib_dl_dlopen=yes
43912 else
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43915
43916 ac_cv_lib_dl_dlopen=no
43917 fi
43918
43919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43920 conftest$ac_exeext conftest.$ac_ext
43921 LIBS=$ac_check_lib_save_LIBS
43922 fi
43923 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43924 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43925 if test $ac_cv_lib_dl_dlopen = yes; then
43926
43927 cat >>confdefs.h <<\_ACEOF
43928 #define HAVE_DLOPEN 1
43929 _ACEOF
43930
43931 HAVE_DL_FUNCS=1
43932 DL_LINK=" -ldl$DL_LINK"
43933
43934 else
43935
43936
43937 for ac_func in shl_load
43938 do
43939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43943 echo $ECHO_N "(cached) $ECHO_C" >&6
43944 else
43945 cat >conftest.$ac_ext <<_ACEOF
43946 /* confdefs.h. */
43947 _ACEOF
43948 cat confdefs.h >>conftest.$ac_ext
43949 cat >>conftest.$ac_ext <<_ACEOF
43950 /* end confdefs.h. */
43951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43953 #define $ac_func innocuous_$ac_func
43954
43955 /* System header to define __stub macros and hopefully few prototypes,
43956 which can conflict with char $ac_func (); below.
43957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43958 <limits.h> exists even on freestanding compilers. */
43959
43960 #ifdef __STDC__
43961 # include <limits.h>
43962 #else
43963 # include <assert.h>
43964 #endif
43965
43966 #undef $ac_func
43967
43968 /* Override any GCC internal prototype to avoid an error.
43969 Use char because int might match the return type of a GCC
43970 builtin and then its argument prototype would still apply. */
43971 #ifdef __cplusplus
43972 extern "C"
43973 #endif
43974 char $ac_func ();
43975 /* The GNU C library defines this for functions which it implements
43976 to always fail with ENOSYS. Some functions are actually named
43977 something starting with __ and the normal name is an alias. */
43978 #if defined __stub_$ac_func || defined __stub___$ac_func
43979 choke me
43980 #endif
43981
43982 int
43983 main ()
43984 {
43985 return $ac_func ();
43986 ;
43987 return 0;
43988 }
43989 _ACEOF
43990 rm -f conftest.$ac_objext conftest$ac_exeext
43991 if { (ac_try="$ac_link"
43992 case "(($ac_try" in
43993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43994 *) ac_try_echo=$ac_try;;
43995 esac
43996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43997 (eval "$ac_link") 2>conftest.er1
43998 ac_status=$?
43999 grep -v '^ *+' conftest.er1 >conftest.err
44000 rm -f conftest.er1
44001 cat conftest.err >&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); } && {
44004 test -z "$ac_c_werror_flag" ||
44005 test ! -s conftest.err
44006 } && test -s conftest$ac_exeext &&
44007 $as_test_x conftest$ac_exeext; then
44008 eval "$as_ac_var=yes"
44009 else
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.$ac_ext >&5
44012
44013 eval "$as_ac_var=no"
44014 fi
44015
44016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44017 conftest$ac_exeext conftest.$ac_ext
44018 fi
44019 ac_res=`eval echo '${'$as_ac_var'}'`
44020 { echo "$as_me:$LINENO: result: $ac_res" >&5
44021 echo "${ECHO_T}$ac_res" >&6; }
44022 if test `eval echo '${'$as_ac_var'}'` = yes; then
44023 cat >>confdefs.h <<_ACEOF
44024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44025 _ACEOF
44026
44027 cat >>confdefs.h <<\_ACEOF
44028 #define HAVE_SHL_LOAD 1
44029 _ACEOF
44030
44031 HAVE_SHL_FUNCS=1
44032
44033 else
44034
44035 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44036 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44037 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44038 echo $ECHO_N "(cached) $ECHO_C" >&6
44039 else
44040 ac_check_lib_save_LIBS=$LIBS
44041 LIBS="-lshl_load $LIBS"
44042 cat >conftest.$ac_ext <<_ACEOF
44043 /* confdefs.h. */
44044 _ACEOF
44045 cat confdefs.h >>conftest.$ac_ext
44046 cat >>conftest.$ac_ext <<_ACEOF
44047 /* end confdefs.h. */
44048
44049 /* Override any GCC internal prototype to avoid an error.
44050 Use char because int might match the return type of a GCC
44051 builtin and then its argument prototype would still apply. */
44052 #ifdef __cplusplus
44053 extern "C"
44054 #endif
44055 char dld ();
44056 int
44057 main ()
44058 {
44059 return dld ();
44060 ;
44061 return 0;
44062 }
44063 _ACEOF
44064 rm -f conftest.$ac_objext conftest$ac_exeext
44065 if { (ac_try="$ac_link"
44066 case "(($ac_try" in
44067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44068 *) ac_try_echo=$ac_try;;
44069 esac
44070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44071 (eval "$ac_link") 2>conftest.er1
44072 ac_status=$?
44073 grep -v '^ *+' conftest.er1 >conftest.err
44074 rm -f conftest.er1
44075 cat conftest.err >&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); } && {
44078 test -z "$ac_c_werror_flag" ||
44079 test ! -s conftest.err
44080 } && test -s conftest$ac_exeext &&
44081 $as_test_x conftest$ac_exeext; then
44082 ac_cv_lib_shl_load_dld=yes
44083 else
44084 echo "$as_me: failed program was:" >&5
44085 sed 's/^/| /' conftest.$ac_ext >&5
44086
44087 ac_cv_lib_shl_load_dld=no
44088 fi
44089
44090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44091 conftest$ac_exeext conftest.$ac_ext
44092 LIBS=$ac_check_lib_save_LIBS
44093 fi
44094 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44095 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44096 if test $ac_cv_lib_shl_load_dld = yes; then
44097
44098 HAVE_SHL_FUNCS=1
44099 DL_LINK=" -ldld$DL_LINK"
44100
44101 fi
44102
44103
44104 fi
44105 done
44106
44107
44108 fi
44109
44110
44111 fi
44112 done
44113
44114
44115 if test "$HAVE_DL_FUNCS" = 1; then
44116
44117 for ac_func in dlerror
44118 do
44119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44123 echo $ECHO_N "(cached) $ECHO_C" >&6
44124 else
44125 cat >conftest.$ac_ext <<_ACEOF
44126 /* confdefs.h. */
44127 _ACEOF
44128 cat confdefs.h >>conftest.$ac_ext
44129 cat >>conftest.$ac_ext <<_ACEOF
44130 /* end confdefs.h. */
44131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44133 #define $ac_func innocuous_$ac_func
44134
44135 /* System header to define __stub macros and hopefully few prototypes,
44136 which can conflict with char $ac_func (); below.
44137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44138 <limits.h> exists even on freestanding compilers. */
44139
44140 #ifdef __STDC__
44141 # include <limits.h>
44142 #else
44143 # include <assert.h>
44144 #endif
44145
44146 #undef $ac_func
44147
44148 /* Override any GCC internal prototype to avoid an error.
44149 Use char because int might match the return type of a GCC
44150 builtin and then its argument prototype would still apply. */
44151 #ifdef __cplusplus
44152 extern "C"
44153 #endif
44154 char $ac_func ();
44155 /* The GNU C library defines this for functions which it implements
44156 to always fail with ENOSYS. Some functions are actually named
44157 something starting with __ and the normal name is an alias. */
44158 #if defined __stub_$ac_func || defined __stub___$ac_func
44159 choke me
44160 #endif
44161
44162 int
44163 main ()
44164 {
44165 return $ac_func ();
44166 ;
44167 return 0;
44168 }
44169 _ACEOF
44170 rm -f conftest.$ac_objext conftest$ac_exeext
44171 if { (ac_try="$ac_link"
44172 case "(($ac_try" in
44173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44174 *) ac_try_echo=$ac_try;;
44175 esac
44176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44177 (eval "$ac_link") 2>conftest.er1
44178 ac_status=$?
44179 grep -v '^ *+' conftest.er1 >conftest.err
44180 rm -f conftest.er1
44181 cat conftest.err >&5
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); } && {
44184 test -z "$ac_c_werror_flag" ||
44185 test ! -s conftest.err
44186 } && test -s conftest$ac_exeext &&
44187 $as_test_x conftest$ac_exeext; then
44188 eval "$as_ac_var=yes"
44189 else
44190 echo "$as_me: failed program was:" >&5
44191 sed 's/^/| /' conftest.$ac_ext >&5
44192
44193 eval "$as_ac_var=no"
44194 fi
44195
44196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44197 conftest$ac_exeext conftest.$ac_ext
44198 fi
44199 ac_res=`eval echo '${'$as_ac_var'}'`
44200 { echo "$as_me:$LINENO: result: $ac_res" >&5
44201 echo "${ECHO_T}$ac_res" >&6; }
44202 if test `eval echo '${'$as_ac_var'}'` = yes; then
44203 cat >>confdefs.h <<_ACEOF
44204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44205 _ACEOF
44206 cat >>confdefs.h <<\_ACEOF
44207 #define HAVE_DLERROR 1
44208 _ACEOF
44209
44210 else
44211
44212 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44213 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44214 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44215 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 else
44217 ac_check_lib_save_LIBS=$LIBS
44218 LIBS="-ldl $LIBS"
44219 cat >conftest.$ac_ext <<_ACEOF
44220 /* confdefs.h. */
44221 _ACEOF
44222 cat confdefs.h >>conftest.$ac_ext
44223 cat >>conftest.$ac_ext <<_ACEOF
44224 /* end confdefs.h. */
44225
44226 /* Override any GCC internal prototype to avoid an error.
44227 Use char because int might match the return type of a GCC
44228 builtin and then its argument prototype would still apply. */
44229 #ifdef __cplusplus
44230 extern "C"
44231 #endif
44232 char dlerror ();
44233 int
44234 main ()
44235 {
44236 return dlerror ();
44237 ;
44238 return 0;
44239 }
44240 _ACEOF
44241 rm -f conftest.$ac_objext conftest$ac_exeext
44242 if { (ac_try="$ac_link"
44243 case "(($ac_try" in
44244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44245 *) ac_try_echo=$ac_try;;
44246 esac
44247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44248 (eval "$ac_link") 2>conftest.er1
44249 ac_status=$?
44250 grep -v '^ *+' conftest.er1 >conftest.err
44251 rm -f conftest.er1
44252 cat conftest.err >&5
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); } && {
44255 test -z "$ac_c_werror_flag" ||
44256 test ! -s conftest.err
44257 } && test -s conftest$ac_exeext &&
44258 $as_test_x conftest$ac_exeext; then
44259 ac_cv_lib_dl_dlerror=yes
44260 else
44261 echo "$as_me: failed program was:" >&5
44262 sed 's/^/| /' conftest.$ac_ext >&5
44263
44264 ac_cv_lib_dl_dlerror=no
44265 fi
44266
44267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44268 conftest$ac_exeext conftest.$ac_ext
44269 LIBS=$ac_check_lib_save_LIBS
44270 fi
44271 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44272 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44273 if test $ac_cv_lib_dl_dlerror = yes; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define HAVE_DLERROR 1
44276 _ACEOF
44277
44278 fi
44279
44280
44281
44282 fi
44283 done
44284
44285 fi
44286 fi
44287
44288 if test "$HAVE_DL_FUNCS" = 0; then
44289 if test "$HAVE_SHL_FUNCS" = 0; then
44290 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44291 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44292 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44293 wxUSE_DYNAMIC_LOADER=no
44294 wxUSE_DYNLIB_CLASS=no
44295 else
44296 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44297 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44298 fi
44299 fi
44300 fi
44301 fi
44302 fi
44303
44304 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44305 cat >>confdefs.h <<\_ACEOF
44306 #define wxUSE_DYNAMIC_LOADER 1
44307 _ACEOF
44308
44309 fi
44310 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_DYNLIB_CLASS 1
44313 _ACEOF
44314
44315 fi
44316
44317
44318
44319 if test "$wxUSE_PLUGINS" = "yes" ; then
44320 if test "$wxUSE_SHARED" = "no" ; then
44321 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44322 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44323 wxUSE_PLUGINS=no
44324 fi
44325 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44326 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44327 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44328 wxUSE_PLUGINS=no
44329 fi
44330 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44331 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44332 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44333 wxUSE_PLUGINS=no
44334 fi
44335 if test "$wxUSE_PLUGINS" = "yes" ; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_PLUGINS 1
44338 _ACEOF
44339
44340 fi
44341 fi
44342
44343
44344 if test "$wxUSE_STL" = "yes"; then
44345 cat >>confdefs.h <<\_ACEOF
44346 #define wxUSE_STL 1
44347 _ACEOF
44348
44349 fi
44350
44351 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_EXTENDED_RTTI 1
44354 _ACEOF
44355
44356 fi
44357
44358 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44359 cat >>confdefs.h <<\_ACEOF
44360 #define wxUSE_APPLE_IEEE 1
44361 _ACEOF
44362
44363 fi
44364
44365 if test "$wxUSE_TIMER" = "yes"; then
44366 cat >>confdefs.h <<\_ACEOF
44367 #define wxUSE_TIMER 1
44368 _ACEOF
44369
44370 fi
44371
44372 if test "$USE_UNIX" = "1" ; then
44373 if test "$wxUSE_MGL" != 1; then
44374 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44375 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44376 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44377 echo $ECHO_N "(cached) $ECHO_C" >&6
44378 else
44379
44380 cat >conftest.$ac_ext <<_ACEOF
44381 /* confdefs.h. */
44382 _ACEOF
44383 cat confdefs.h >>conftest.$ac_ext
44384 cat >>conftest.$ac_ext <<_ACEOF
44385 /* end confdefs.h. */
44386
44387 #include <sys/ioctl.h>
44388 #include <sys/soundcard.h>
44389
44390 int
44391 main ()
44392 {
44393
44394 ioctl(0, SNDCTL_DSP_SPEED, 0);
44395
44396 ;
44397 return 0;
44398 }
44399 _ACEOF
44400 rm -f conftest.$ac_objext conftest$ac_exeext
44401 if { (ac_try="$ac_link"
44402 case "(($ac_try" in
44403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44404 *) ac_try_echo=$ac_try;;
44405 esac
44406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44407 (eval "$ac_link") 2>conftest.er1
44408 ac_status=$?
44409 grep -v '^ *+' conftest.er1 >conftest.err
44410 rm -f conftest.er1
44411 cat conftest.err >&5
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); } && {
44414 test -z "$ac_c_werror_flag" ||
44415 test ! -s conftest.err
44416 } && test -s conftest$ac_exeext &&
44417 $as_test_x conftest$ac_exeext; then
44418 ac_cv_header_sys_soundcard=yes
44419 else
44420 echo "$as_me: failed program was:" >&5
44421 sed 's/^/| /' conftest.$ac_ext >&5
44422
44423
44424 saveLibs="$LIBS"
44425 LIBS="$saveLibs -lossaudio"
44426 cat >conftest.$ac_ext <<_ACEOF
44427 /* confdefs.h. */
44428 _ACEOF
44429 cat confdefs.h >>conftest.$ac_ext
44430 cat >>conftest.$ac_ext <<_ACEOF
44431 /* end confdefs.h. */
44432
44433 #include <sys/ioctl.h>
44434 #include <sys/soundcard.h>
44435
44436 int
44437 main ()
44438 {
44439
44440 ioctl(0, SNDCTL_DSP_SPEED, 0);
44441
44442 ;
44443 return 0;
44444 }
44445 _ACEOF
44446 rm -f conftest.$ac_objext conftest$ac_exeext
44447 if { (ac_try="$ac_link"
44448 case "(($ac_try" in
44449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44450 *) ac_try_echo=$ac_try;;
44451 esac
44452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44453 (eval "$ac_link") 2>conftest.er1
44454 ac_status=$?
44455 grep -v '^ *+' conftest.er1 >conftest.err
44456 rm -f conftest.er1
44457 cat conftest.err >&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); } && {
44460 test -z "$ac_c_werror_flag" ||
44461 test ! -s conftest.err
44462 } && test -s conftest$ac_exeext &&
44463 $as_test_x conftest$ac_exeext; then
44464 ac_cv_header_sys_soundcard=yes
44465 else
44466 echo "$as_me: failed program was:" >&5
44467 sed 's/^/| /' conftest.$ac_ext >&5
44468
44469
44470 LIBS="$saveLibs"
44471 ac_cv_header_sys_soundcard=no
44472
44473
44474 fi
44475
44476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44477 conftest$ac_exeext conftest.$ac_ext
44478
44479
44480 fi
44481
44482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44483 conftest$ac_exeext conftest.$ac_ext
44484
44485 fi
44486 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44487 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44488 fi
44489
44490 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define HAVE_SYS_SOUNDCARD_H 1
44493 _ACEOF
44494
44495 fi
44496 fi
44497
44498 WITH_PLUGIN_SDL=0
44499 if test "$wxUSE_SOUND" = "yes"; then
44500 if test "$USE_UNIX" = "1" ; then
44501 if test "$wxUSE_LIBSDL" != "no"; then
44502
44503 # Check whether --with-sdl-prefix was given.
44504 if test "${with_sdl_prefix+set}" = set; then
44505 withval=$with_sdl_prefix; sdl_prefix="$withval"
44506 else
44507 sdl_prefix=""
44508 fi
44509
44510
44511 # Check whether --with-sdl-exec-prefix was given.
44512 if test "${with_sdl_exec_prefix+set}" = set; then
44513 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44514 else
44515 sdl_exec_prefix=""
44516 fi
44517
44518 # Check whether --enable-sdltest was given.
44519 if test "${enable_sdltest+set}" = set; then
44520 enableval=$enable_sdltest;
44521 else
44522 enable_sdltest=yes
44523 fi
44524
44525
44526 if test x$sdl_exec_prefix != x ; then
44527 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44528 if test x${SDL_CONFIG+set} != xset ; then
44529 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44530 fi
44531 fi
44532 if test x$sdl_prefix != x ; then
44533 sdl_args="$sdl_args --prefix=$sdl_prefix"
44534 if test x${SDL_CONFIG+set} != xset ; then
44535 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44536 fi
44537 fi
44538
44539 if test "x$prefix" != xNONE; then
44540 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44541 fi
44542 # Extract the first word of "sdl-config", so it can be a program name with args.
44543 set dummy sdl-config; ac_word=$2
44544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44546 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44547 echo $ECHO_N "(cached) $ECHO_C" >&6
44548 else
44549 case $SDL_CONFIG in
44550 [\\/]* | ?:[\\/]*)
44551 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44552 ;;
44553 *)
44554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44555 for as_dir in $PATH
44556 do
44557 IFS=$as_save_IFS
44558 test -z "$as_dir" && as_dir=.
44559 for ac_exec_ext in '' $ac_executable_extensions; do
44560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44561 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44563 break 2
44564 fi
44565 done
44566 done
44567 IFS=$as_save_IFS
44568
44569 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44570 ;;
44571 esac
44572 fi
44573 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44574 if test -n "$SDL_CONFIG"; then
44575 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44576 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44577 else
44578 { echo "$as_me:$LINENO: result: no" >&5
44579 echo "${ECHO_T}no" >&6; }
44580 fi
44581
44582
44583 min_sdl_version=1.2.0
44584 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44585 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44586 no_sdl=""
44587 if test "$SDL_CONFIG" = "no" ; then
44588 no_sdl=yes
44589 else
44590 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44591 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44592
44593 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44595 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44597 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44599 if test "x$enable_sdltest" = "xyes" ; then
44600 ac_save_CFLAGS="$CFLAGS"
44601 ac_save_CXXFLAGS="$CXXFLAGS"
44602 ac_save_LIBS="$LIBS"
44603 CFLAGS="$CFLAGS $SDL_CFLAGS"
44604 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44605 LIBS="$LIBS $SDL_LIBS"
44606 rm -f conf.sdltest
44607 if test "$cross_compiling" = yes; then
44608 echo $ac_n "cross compiling; assumed OK... $ac_c"
44609 else
44610 cat >conftest.$ac_ext <<_ACEOF
44611 /* confdefs.h. */
44612 _ACEOF
44613 cat confdefs.h >>conftest.$ac_ext
44614 cat >>conftest.$ac_ext <<_ACEOF
44615 /* end confdefs.h. */
44616
44617 #include <stdio.h>
44618 #include <stdlib.h>
44619 #include <string.h>
44620 #include "SDL.h"
44621
44622 char*
44623 my_strdup (char *str)
44624 {
44625 char *new_str;
44626
44627 if (str)
44628 {
44629 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44630 strcpy (new_str, str);
44631 }
44632 else
44633 new_str = NULL;
44634
44635 return new_str;
44636 }
44637
44638 int main (int argc, char *argv[])
44639 {
44640 int major, minor, micro;
44641 char *tmp_version;
44642
44643 /* This hangs on some systems (?)
44644 system ("touch conf.sdltest");
44645 */
44646 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44647
44648 /* HP/UX 9 (%@#!) writes to sscanf strings */
44649 tmp_version = my_strdup("$min_sdl_version");
44650 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44651 printf("%s, bad version string\n", "$min_sdl_version");
44652 exit(1);
44653 }
44654
44655 if (($sdl_major_version > major) ||
44656 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44657 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44658 {
44659 return 0;
44660 }
44661 else
44662 {
44663 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44664 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44665 printf("*** best to upgrade to the required version.\n");
44666 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44667 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44668 printf("*** config.cache before re-running configure\n");
44669 return 1;
44670 }
44671 }
44672
44673
44674 _ACEOF
44675 rm -f conftest$ac_exeext
44676 if { (ac_try="$ac_link"
44677 case "(($ac_try" in
44678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44679 *) ac_try_echo=$ac_try;;
44680 esac
44681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44682 (eval "$ac_link") 2>&5
44683 ac_status=$?
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44686 { (case "(($ac_try" in
44687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44688 *) ac_try_echo=$ac_try;;
44689 esac
44690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44691 (eval "$ac_try") 2>&5
44692 ac_status=$?
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; }; then
44695 :
44696 else
44697 echo "$as_me: program exited with status $ac_status" >&5
44698 echo "$as_me: failed program was:" >&5
44699 sed 's/^/| /' conftest.$ac_ext >&5
44700
44701 ( exit $ac_status )
44702 no_sdl=yes
44703 fi
44704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44705 fi
44706
44707
44708 CFLAGS="$ac_save_CFLAGS"
44709 CXXFLAGS="$ac_save_CXXFLAGS"
44710 LIBS="$ac_save_LIBS"
44711 fi
44712 fi
44713 if test "x$no_sdl" = x ; then
44714 { echo "$as_me:$LINENO: result: yes" >&5
44715 echo "${ECHO_T}yes" >&6; }
44716
44717 EXTRALIBS_SDL="$SDL_LIBS"
44718 CFLAGS="$SDL_CFLAGS $CFLAGS"
44719 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_LIBSDL 1
44722 _ACEOF
44723
44724
44725 else
44726 { echo "$as_me:$LINENO: result: no" >&5
44727 echo "${ECHO_T}no" >&6; }
44728 if test "$SDL_CONFIG" = "no" ; then
44729 echo "*** The sdl-config script installed by SDL could not be found"
44730 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44731 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44732 echo "*** full path to sdl-config."
44733 else
44734 if test -f conf.sdltest ; then
44735 :
44736 else
44737 echo "*** Could not run SDL test program, checking why..."
44738 CFLAGS="$CFLAGS $SDL_CFLAGS"
44739 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44740 LIBS="$LIBS $SDL_LIBS"
44741 cat >conftest.$ac_ext <<_ACEOF
44742 /* confdefs.h. */
44743 _ACEOF
44744 cat confdefs.h >>conftest.$ac_ext
44745 cat >>conftest.$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44747
44748 #include <stdio.h>
44749 #include "SDL.h"
44750
44751 int main(int argc, char *argv[])
44752 { return 0; }
44753 #undef main
44754 #define main K_and_R_C_main
44755
44756 int
44757 main ()
44758 {
44759 return 0;
44760 ;
44761 return 0;
44762 }
44763 _ACEOF
44764 rm -f conftest.$ac_objext conftest$ac_exeext
44765 if { (ac_try="$ac_link"
44766 case "(($ac_try" in
44767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44768 *) ac_try_echo=$ac_try;;
44769 esac
44770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44771 (eval "$ac_link") 2>conftest.er1
44772 ac_status=$?
44773 grep -v '^ *+' conftest.er1 >conftest.err
44774 rm -f conftest.er1
44775 cat conftest.err >&5
44776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44777 (exit $ac_status); } && {
44778 test -z "$ac_c_werror_flag" ||
44779 test ! -s conftest.err
44780 } && test -s conftest$ac_exeext &&
44781 $as_test_x conftest$ac_exeext; then
44782 echo "*** The test program compiled, but did not run. This usually means"
44783 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44784 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44785 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44786 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44787 echo "*** is required on your system"
44788 echo "***"
44789 echo "*** If you have an old version installed, it is best to remove it, although"
44790 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44791 else
44792 echo "$as_me: failed program was:" >&5
44793 sed 's/^/| /' conftest.$ac_ext >&5
44794
44795 echo "*** The test program failed to compile or link. See the file config.log for the"
44796 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44797 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44798 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44799 fi
44800
44801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44802 conftest$ac_exeext conftest.$ac_ext
44803 CFLAGS="$ac_save_CFLAGS"
44804 CXXFLAGS="$ac_save_CXXFLAGS"
44805 LIBS="$ac_save_LIBS"
44806 fi
44807 fi
44808 SDL_CFLAGS=""
44809 SDL_LIBS=""
44810 wxUSE_LIBSDL="no"
44811 fi
44812
44813
44814 rm -f conf.sdltest
44815
44816 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44817 WITH_PLUGIN_SDL=1
44818 fi
44819 fi
44820 else
44821 if test "$wxUSE_MGL" = 1; then
44822 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44823 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44824 wxUSE_SOUND="no"
44825 fi
44826 fi
44827 fi
44828
44829 if test "$wxUSE_SOUND" = "yes"; then
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_SOUND 1
44832 _ACEOF
44833
44834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44835 fi
44836
44837 if test "$WXGTK20" = 1; then
44838
44839
44840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44841 if test -n "$ac_tool_prefix"; then
44842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44847 echo $ECHO_N "(cached) $ECHO_C" >&6
44848 else
44849 case $PKG_CONFIG in
44850 [\\/]* | ?:[\\/]*)
44851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44852 ;;
44853 *)
44854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44855 for as_dir in $PATH
44856 do
44857 IFS=$as_save_IFS
44858 test -z "$as_dir" && as_dir=.
44859 for ac_exec_ext in '' $ac_executable_extensions; do
44860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44861 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44863 break 2
44864 fi
44865 done
44866 done
44867 IFS=$as_save_IFS
44868
44869 ;;
44870 esac
44871 fi
44872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44873 if test -n "$PKG_CONFIG"; then
44874 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44875 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44876 else
44877 { echo "$as_me:$LINENO: result: no" >&5
44878 echo "${ECHO_T}no" >&6; }
44879 fi
44880
44881
44882 fi
44883 if test -z "$ac_cv_path_PKG_CONFIG"; then
44884 ac_pt_PKG_CONFIG=$PKG_CONFIG
44885 # Extract the first word of "pkg-config", so it can be a program name with args.
44886 set dummy pkg-config; ac_word=$2
44887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44890 echo $ECHO_N "(cached) $ECHO_C" >&6
44891 else
44892 case $ac_pt_PKG_CONFIG in
44893 [\\/]* | ?:[\\/]*)
44894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44895 ;;
44896 *)
44897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44898 for as_dir in $PATH
44899 do
44900 IFS=$as_save_IFS
44901 test -z "$as_dir" && as_dir=.
44902 for ac_exec_ext in '' $ac_executable_extensions; do
44903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44906 break 2
44907 fi
44908 done
44909 done
44910 IFS=$as_save_IFS
44911
44912 ;;
44913 esac
44914 fi
44915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44916 if test -n "$ac_pt_PKG_CONFIG"; then
44917 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44918 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44919 else
44920 { echo "$as_me:$LINENO: result: no" >&5
44921 echo "${ECHO_T}no" >&6; }
44922 fi
44923
44924 if test "x$ac_pt_PKG_CONFIG" = x; then
44925 PKG_CONFIG=""
44926 else
44927 case $cross_compiling:$ac_tool_warned in
44928 yes:)
44929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44930 whose name does not start with the host triplet. If you think this
44931 configuration is useful to you, please write to autoconf@gnu.org." >&5
44932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44933 whose name does not start with the host triplet. If you think this
44934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44935 ac_tool_warned=yes ;;
44936 esac
44937 PKG_CONFIG=$ac_pt_PKG_CONFIG
44938 fi
44939 else
44940 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44941 fi
44942
44943 fi
44944 if test -n "$PKG_CONFIG"; then
44945 _pkg_min_version=0.9.0
44946 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44947 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44948 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44949 { echo "$as_me:$LINENO: result: yes" >&5
44950 echo "${ECHO_T}yes" >&6; }
44951 else
44952 { echo "$as_me:$LINENO: result: no" >&5
44953 echo "${ECHO_T}no" >&6; }
44954 PKG_CONFIG=""
44955 fi
44956
44957 fi
44958
44959 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44960
44961 if test "$wxUSE_GTKPRINT" = "yes" ; then
44962
44963
44964 pkg_failed=no
44965 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44966 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44967
44968 if test -n "$PKG_CONFIG"; then
44969 if test -n "$GTKPRINT_CFLAGS"; then
44970 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44971 else
44972 if test -n "$PKG_CONFIG" && \
44973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44974 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44975 ac_status=$?
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; then
44978 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44979 else
44980 pkg_failed=yes
44981 fi
44982 fi
44983 else
44984 pkg_failed=untried
44985 fi
44986 if test -n "$PKG_CONFIG"; then
44987 if test -n "$GTKPRINT_LIBS"; then
44988 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44989 else
44990 if test -n "$PKG_CONFIG" && \
44991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44992 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44993 ac_status=$?
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); }; then
44996 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44997 else
44998 pkg_failed=yes
44999 fi
45000 fi
45001 else
45002 pkg_failed=untried
45003 fi
45004
45005
45006
45007 if test $pkg_failed = yes; then
45008
45009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45010 _pkg_short_errors_supported=yes
45011 else
45012 _pkg_short_errors_supported=no
45013 fi
45014 if test $_pkg_short_errors_supported = yes; then
45015 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45016 else
45017 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45018 fi
45019 # Put the nasty error message in config.log where it belongs
45020 echo "$GTKPRINT_PKG_ERRORS" >&5
45021
45022
45023 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45024 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45025 wxUSE_GTKPRINT="no"
45026
45027
45028 elif test $pkg_failed = untried; then
45029
45030 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45031 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45032 wxUSE_GTKPRINT="no"
45033
45034
45035 else
45036 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45037 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45038 { echo "$as_me:$LINENO: result: yes" >&5
45039 echo "${ECHO_T}yes" >&6; }
45040
45041 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45042 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_GTKPRINT 1
45045 _ACEOF
45046
45047
45048 fi
45049 fi
45050
45051 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45052
45053
45054 pkg_failed=no
45055 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45056 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45057
45058 if test -n "$PKG_CONFIG"; then
45059 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45060 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45061 else
45062 if test -n "$PKG_CONFIG" && \
45063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45064 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45065 ac_status=$?
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); }; then
45068 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45069 else
45070 pkg_failed=yes
45071 fi
45072 fi
45073 else
45074 pkg_failed=untried
45075 fi
45076 if test -n "$PKG_CONFIG"; then
45077 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45078 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45079 else
45080 if test -n "$PKG_CONFIG" && \
45081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45082 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45083 ac_status=$?
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); }; then
45086 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45087 else
45088 pkg_failed=yes
45089 fi
45090 fi
45091 else
45092 pkg_failed=untried
45093 fi
45094
45095
45096
45097 if test $pkg_failed = yes; then
45098
45099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45100 _pkg_short_errors_supported=yes
45101 else
45102 _pkg_short_errors_supported=no
45103 fi
45104 if test $_pkg_short_errors_supported = yes; then
45105 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45106 else
45107 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45108 fi
45109 # Put the nasty error message in config.log where it belongs
45110 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45111
45112
45113 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45114 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45115 wxUSE_LIBGNOMEPRINT="no"
45116
45117
45118 elif test $pkg_failed = untried; then
45119
45120 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45121 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45122 wxUSE_LIBGNOMEPRINT="no"
45123
45124
45125 else
45126 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45127 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45128 { echo "$as_me:$LINENO: result: yes" >&5
45129 echo "${ECHO_T}yes" >&6; }
45130
45131 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45132 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_LIBGNOMEPRINT 1
45135 _ACEOF
45136
45137
45138 fi
45139 fi
45140 fi
45141
45142 if test "$wxUSE_MIMETYPE" = "yes" ; then
45143 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45144
45145
45146 pkg_failed=no
45147 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45148 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45149
45150 if test -n "$PKG_CONFIG"; then
45151 if test -n "$GNOMEVFS_CFLAGS"; then
45152 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45153 else
45154 if test -n "$PKG_CONFIG" && \
45155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45156 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45157 ac_status=$?
45158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159 (exit $ac_status); }; then
45160 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45161 else
45162 pkg_failed=yes
45163 fi
45164 fi
45165 else
45166 pkg_failed=untried
45167 fi
45168 if test -n "$PKG_CONFIG"; then
45169 if test -n "$GNOMEVFS_LIBS"; then
45170 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45171 else
45172 if test -n "$PKG_CONFIG" && \
45173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45174 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45175 ac_status=$?
45176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177 (exit $ac_status); }; then
45178 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45179 else
45180 pkg_failed=yes
45181 fi
45182 fi
45183 else
45184 pkg_failed=untried
45185 fi
45186
45187
45188
45189 if test $pkg_failed = yes; then
45190
45191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45192 _pkg_short_errors_supported=yes
45193 else
45194 _pkg_short_errors_supported=no
45195 fi
45196 if test $_pkg_short_errors_supported = yes; then
45197 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45198 else
45199 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45200 fi
45201 # Put the nasty error message in config.log where it belongs
45202 echo "$GNOMEVFS_PKG_ERRORS" >&5
45203
45204
45205 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45206 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45207 wxUSE_LIBGNOMEVFS="no"
45208
45209
45210 elif test $pkg_failed = untried; then
45211
45212 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45213 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45214 wxUSE_LIBGNOMEVFS="no"
45215
45216
45217 else
45218 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45219 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45220 { echo "$as_me:$LINENO: result: yes" >&5
45221 echo "${ECHO_T}yes" >&6; }
45222
45223 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45224 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_LIBGNOMEVFS 1
45227 _ACEOF
45228
45229
45230 fi
45231 fi
45232 fi
45233
45234 if test "$wxUSE_LIBHILDON" = "yes" ; then
45235
45236 pkg_failed=no
45237 { echo "$as_me:$LINENO: checking for HILDON" >&5
45238 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45239
45240 if test -n "$PKG_CONFIG"; then
45241 if test -n "$HILDON_CFLAGS"; then
45242 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45243 else
45244 if test -n "$PKG_CONFIG" && \
45245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45246 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45247 ac_status=$?
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; then
45250 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45251 else
45252 pkg_failed=yes
45253 fi
45254 fi
45255 else
45256 pkg_failed=untried
45257 fi
45258 if test -n "$PKG_CONFIG"; then
45259 if test -n "$HILDON_LIBS"; then
45260 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45261 else
45262 if test -n "$PKG_CONFIG" && \
45263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45264 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45265 ac_status=$?
45266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267 (exit $ac_status); }; then
45268 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45269 else
45270 pkg_failed=yes
45271 fi
45272 fi
45273 else
45274 pkg_failed=untried
45275 fi
45276
45277
45278
45279 if test $pkg_failed = yes; then
45280
45281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45282 _pkg_short_errors_supported=yes
45283 else
45284 _pkg_short_errors_supported=no
45285 fi
45286 if test $_pkg_short_errors_supported = yes; then
45287 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45288 else
45289 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45290 fi
45291 # Put the nasty error message in config.log where it belongs
45292 echo "$HILDON_PKG_ERRORS" >&5
45293
45294
45295 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45296 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45297 wxUSE_LIBHILDON="no"
45298
45299
45300 elif test $pkg_failed = untried; then
45301
45302 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45303 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45304 wxUSE_LIBHILDON="no"
45305
45306
45307 else
45308 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45309 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45310 { echo "$as_me:$LINENO: result: yes" >&5
45311 echo "${ECHO_T}yes" >&6; }
45312
45313 EXTRALIBS_HILDON="$HILDON_LIBS"
45314 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45315 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_LIBHILDON 1
45318 _ACEOF
45319
45320
45321 fi
45322 fi
45323 fi
45324
45325 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_CMDLINE_PARSER 1
45328 _ACEOF
45329
45330 fi
45331
45332 if test "$wxUSE_STOPWATCH" = "yes"; then
45333 cat >>confdefs.h <<\_ACEOF
45334 #define wxUSE_STOPWATCH 1
45335 _ACEOF
45336
45337 fi
45338
45339 if test "$wxUSE_DATETIME" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_DATETIME 1
45342 _ACEOF
45343
45344 fi
45345
45346 if test "$wxUSE_FILE" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_FILE 1
45349 _ACEOF
45350
45351 fi
45352
45353 if test "$wxUSE_FFILE" = "yes"; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_FFILE 1
45356 _ACEOF
45357
45358 fi
45359
45360 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45361 if test "$wxUSE_STREAMS" != yes; then
45362 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45363 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45364 wxUSE_ARCHIVE_STREAMS=no
45365 else
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_ARCHIVE_STREAMS 1
45368 _ACEOF
45369
45370 fi
45371 fi
45372
45373 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45374 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45375 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45376 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45377 elif test "$wxUSE_ZLIB" = "no"; then
45378 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45379 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45380 else
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_ZIPSTREAM 1
45383 _ACEOF
45384
45385 fi
45386 fi
45387
45388 if test "$wxUSE_TARSTREAM" = "yes"; then
45389 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45390 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45391 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45392 else
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_TARSTREAM 1
45395 _ACEOF
45396
45397 fi
45398 fi
45399
45400 if test "$wxUSE_FILESYSTEM" = "yes"; then
45401 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45402 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45403 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45404 wxUSE_FILESYSTEM=no
45405 else
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_FILESYSTEM 1
45408 _ACEOF
45409
45410 fi
45411 fi
45412
45413 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45414 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45415 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45416 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45417 else
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_FS_ARCHIVE 1
45420 _ACEOF
45421
45422 fi
45423 fi
45424
45425 if test "$wxUSE_FS_ZIP" = "yes"; then
45426 if test "$wxUSE_FS_ARCHIVE" != yes; then
45427 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45428 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45429 else
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_FS_ZIP 1
45432 _ACEOF
45433
45434 fi
45435 fi
45436
45437 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45438 if test "$USE_UNIX" != 1; then
45439 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45440 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45441 wxUSE_ON_FATAL_EXCEPTION=no
45442 else
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_ON_FATAL_EXCEPTION 1
45445 _ACEOF
45446
45447 fi
45448 fi
45449
45450 if test "$wxUSE_STACKWALKER" = "yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_STACKWALKER 1
45453 _ACEOF
45454
45455 fi
45456
45457 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45458 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45459 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45460 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45461 wxUSE_DEBUGREPORT=no
45462 else
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_DEBUGREPORT 1
45465 _ACEOF
45466
45467 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45469 fi
45470 fi
45471 fi
45472
45473 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_SNGLINST_CHECKER 1
45476 _ACEOF
45477
45478 fi
45479
45480 if test "$wxUSE_BUSYINFO" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_BUSYINFO 1
45483 _ACEOF
45484
45485 fi
45486
45487 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_STD_IOSTREAM 1
45490 _ACEOF
45491
45492 fi
45493
45494 if test "$wxUSE_STD_STRING" = "yes"; then
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_STD_STRING 1
45497 _ACEOF
45498
45499 fi
45500
45501 if test "$wxUSE_STDPATHS" = "yes"; then
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_STDPATHS 1
45504 _ACEOF
45505
45506 fi
45507
45508 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_TEXTBUFFER 1
45511 _ACEOF
45512
45513 fi
45514
45515 if test "$wxUSE_TEXTFILE" = "yes"; then
45516 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45517 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45518 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45519 else
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_TEXTFILE 1
45522 _ACEOF
45523
45524 fi
45525 fi
45526
45527 if test "$wxUSE_CONFIG" = "yes" ; then
45528 if test "$wxUSE_TEXTFILE" != "yes"; then
45529 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45530 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45531 else
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_CONFIG 1
45534 _ACEOF
45535
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_CONFIG_NATIVE 1
45538 _ACEOF
45539
45540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45541 fi
45542 fi
45543
45544 if test "$wxUSE_INTL" = "yes" ; then
45545 if test "$wxUSE_FILE" != "yes"; then
45546 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45547 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45548 else
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_INTL 1
45551 _ACEOF
45552
45553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45554 GUIDIST="$GUIDIST INTL_DIST"
45555 fi
45556 fi
45557
45558 if test "$wxUSE_LOG" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_LOG 1
45561 _ACEOF
45562
45563
45564 if test "$wxUSE_LOGGUI" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_LOGGUI 1
45567 _ACEOF
45568
45569 fi
45570
45571 if test "$wxUSE_LOGWINDOW" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_LOGWINDOW 1
45574 _ACEOF
45575
45576 fi
45577
45578 if test "$wxUSE_LOGDIALOG" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_LOG_DIALOG 1
45581 _ACEOF
45582
45583 fi
45584
45585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45586 fi
45587
45588 if test "$wxUSE_LONGLONG" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_LONGLONG 1
45591 _ACEOF
45592
45593 fi
45594
45595 if test "$wxUSE_GEOMETRY" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_GEOMETRY 1
45598 _ACEOF
45599
45600 fi
45601
45602 if test "$wxUSE_BASE64" = "yes"; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_BASE64 1
45605 _ACEOF
45606
45607 fi
45608
45609 if test "$wxUSE_STREAMS" = "yes" ; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_STREAMS 1
45612 _ACEOF
45613
45614 fi
45615
45616 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45617 cat >>confdefs.h <<\_ACEOF
45618 #define wxUSE_PRINTF_POS_PARAMS 1
45619 _ACEOF
45620
45621 fi
45622
45623 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_OBJC_UNIQUIFYING 1
45626 _ACEOF
45627
45628 fi
45629
45630
45631 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_CONSOLE_EVENTLOOP 1
45634 _ACEOF
45635
45636
45637 if test "$wxUSE_UNIX" = "yes"; then
45638 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45639 cat >>confdefs.h <<\_ACEOF
45640 #define wxUSE_SELECT_DISPATCHER 1
45641 _ACEOF
45642
45643 fi
45644
45645 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45646
45647 for ac_header in sys/epoll.h
45648 do
45649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45653 echo $ECHO_N "(cached) $ECHO_C" >&6
45654 else
45655 cat >conftest.$ac_ext <<_ACEOF
45656 /* confdefs.h. */
45657 _ACEOF
45658 cat confdefs.h >>conftest.$ac_ext
45659 cat >>conftest.$ac_ext <<_ACEOF
45660 /* end confdefs.h. */
45661 $ac_includes_default
45662
45663 #include <$ac_header>
45664 _ACEOF
45665 rm -f conftest.$ac_objext
45666 if { (ac_try="$ac_compile"
45667 case "(($ac_try" in
45668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45669 *) ac_try_echo=$ac_try;;
45670 esac
45671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45672 (eval "$ac_compile") 2>conftest.er1
45673 ac_status=$?
45674 grep -v '^ *+' conftest.er1 >conftest.err
45675 rm -f conftest.er1
45676 cat conftest.err >&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); } && {
45679 test -z "$ac_c_werror_flag" ||
45680 test ! -s conftest.err
45681 } && test -s conftest.$ac_objext; then
45682 eval "$as_ac_Header=yes"
45683 else
45684 echo "$as_me: failed program was:" >&5
45685 sed 's/^/| /' conftest.$ac_ext >&5
45686
45687 eval "$as_ac_Header=no"
45688 fi
45689
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45691 fi
45692 ac_res=`eval echo '${'$as_ac_Header'}'`
45693 { echo "$as_me:$LINENO: result: $ac_res" >&5
45694 echo "${ECHO_T}$ac_res" >&6; }
45695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45696 cat >>confdefs.h <<_ACEOF
45697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45698 _ACEOF
45699
45700 fi
45701
45702 done
45703
45704 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_EPOLL_DISPATCHER 1
45707 _ACEOF
45708
45709 else
45710 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45711 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45712 fi
45713 fi
45714 fi
45715 fi
45716
45717
45718
45719
45720 for ac_func in gettimeofday ftime
45721 do
45722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45726 echo $ECHO_N "(cached) $ECHO_C" >&6
45727 else
45728 cat >conftest.$ac_ext <<_ACEOF
45729 /* confdefs.h. */
45730 _ACEOF
45731 cat confdefs.h >>conftest.$ac_ext
45732 cat >>conftest.$ac_ext <<_ACEOF
45733 /* end confdefs.h. */
45734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45736 #define $ac_func innocuous_$ac_func
45737
45738 /* System header to define __stub macros and hopefully few prototypes,
45739 which can conflict with char $ac_func (); below.
45740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45741 <limits.h> exists even on freestanding compilers. */
45742
45743 #ifdef __STDC__
45744 # include <limits.h>
45745 #else
45746 # include <assert.h>
45747 #endif
45748
45749 #undef $ac_func
45750
45751 /* Override any GCC internal prototype to avoid an error.
45752 Use char because int might match the return type of a GCC
45753 builtin and then its argument prototype would still apply. */
45754 #ifdef __cplusplus
45755 extern "C"
45756 #endif
45757 char $ac_func ();
45758 /* The GNU C library defines this for functions which it implements
45759 to always fail with ENOSYS. Some functions are actually named
45760 something starting with __ and the normal name is an alias. */
45761 #if defined __stub_$ac_func || defined __stub___$ac_func
45762 choke me
45763 #endif
45764
45765 int
45766 main ()
45767 {
45768 return $ac_func ();
45769 ;
45770 return 0;
45771 }
45772 _ACEOF
45773 rm -f conftest.$ac_objext conftest$ac_exeext
45774 if { (ac_try="$ac_link"
45775 case "(($ac_try" in
45776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45777 *) ac_try_echo=$ac_try;;
45778 esac
45779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45780 (eval "$ac_link") 2>conftest.er1
45781 ac_status=$?
45782 grep -v '^ *+' conftest.er1 >conftest.err
45783 rm -f conftest.er1
45784 cat conftest.err >&5
45785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45786 (exit $ac_status); } && {
45787 test -z "$ac_c_werror_flag" ||
45788 test ! -s conftest.err
45789 } && test -s conftest$ac_exeext &&
45790 $as_test_x conftest$ac_exeext; then
45791 eval "$as_ac_var=yes"
45792 else
45793 echo "$as_me: failed program was:" >&5
45794 sed 's/^/| /' conftest.$ac_ext >&5
45795
45796 eval "$as_ac_var=no"
45797 fi
45798
45799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45800 conftest$ac_exeext conftest.$ac_ext
45801 fi
45802 ac_res=`eval echo '${'$as_ac_var'}'`
45803 { echo "$as_me:$LINENO: result: $ac_res" >&5
45804 echo "${ECHO_T}$ac_res" >&6; }
45805 if test `eval echo '${'$as_ac_var'}'` = yes; then
45806 cat >>confdefs.h <<_ACEOF
45807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45808 _ACEOF
45809 break
45810 fi
45811 done
45812
45813
45814 if test "$ac_cv_func_gettimeofday" = "yes"; then
45815 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45816 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45817 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45818 echo $ECHO_N "(cached) $ECHO_C" >&6
45819 else
45820
45821 cat >conftest.$ac_ext <<_ACEOF
45822 /* confdefs.h. */
45823 _ACEOF
45824 cat confdefs.h >>conftest.$ac_ext
45825 cat >>conftest.$ac_ext <<_ACEOF
45826 /* end confdefs.h. */
45827
45828 #include <sys/time.h>
45829 #include <unistd.h>
45830
45831 int
45832 main ()
45833 {
45834
45835 struct timeval tv;
45836 gettimeofday(&tv, NULL);
45837
45838 ;
45839 return 0;
45840 }
45841 _ACEOF
45842 rm -f conftest.$ac_objext
45843 if { (ac_try="$ac_compile"
45844 case "(($ac_try" in
45845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45846 *) ac_try_echo=$ac_try;;
45847 esac
45848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45849 (eval "$ac_compile") 2>conftest.er1
45850 ac_status=$?
45851 grep -v '^ *+' conftest.er1 >conftest.err
45852 rm -f conftest.er1
45853 cat conftest.err >&5
45854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45855 (exit $ac_status); } && {
45856 test -z "$ac_c_werror_flag" ||
45857 test ! -s conftest.err
45858 } && test -s conftest.$ac_objext; then
45859 wx_cv_func_gettimeofday_has_2_args=yes
45860 else
45861 echo "$as_me: failed program was:" >&5
45862 sed 's/^/| /' conftest.$ac_ext >&5
45863
45864 cat >conftest.$ac_ext <<_ACEOF
45865 /* confdefs.h. */
45866 _ACEOF
45867 cat confdefs.h >>conftest.$ac_ext
45868 cat >>conftest.$ac_ext <<_ACEOF
45869 /* end confdefs.h. */
45870
45871 #include <sys/time.h>
45872 #include <unistd.h>
45873
45874 int
45875 main ()
45876 {
45877
45878 struct timeval tv;
45879 gettimeofday(&tv);
45880
45881 ;
45882 return 0;
45883 }
45884 _ACEOF
45885 rm -f conftest.$ac_objext
45886 if { (ac_try="$ac_compile"
45887 case "(($ac_try" in
45888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45889 *) ac_try_echo=$ac_try;;
45890 esac
45891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45892 (eval "$ac_compile") 2>conftest.er1
45893 ac_status=$?
45894 grep -v '^ *+' conftest.er1 >conftest.err
45895 rm -f conftest.er1
45896 cat conftest.err >&5
45897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45898 (exit $ac_status); } && {
45899 test -z "$ac_c_werror_flag" ||
45900 test ! -s conftest.err
45901 } && test -s conftest.$ac_objext; then
45902 wx_cv_func_gettimeofday_has_2_args=no
45903 else
45904 echo "$as_me: failed program was:" >&5
45905 sed 's/^/| /' conftest.$ac_ext >&5
45906
45907
45908 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45909 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45910 wx_cv_func_gettimeofday_has_2_args=unknown
45911
45912
45913 fi
45914
45915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45916
45917 fi
45918
45919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45920
45921 fi
45922 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45923 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45924
45925 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define WX_GETTIMEOFDAY_NO_TZ 1
45928 _ACEOF
45929
45930 fi
45931 fi
45932
45933 if test "$wxUSE_DATETIME" = "yes"; then
45934 { echo "$as_me:$LINENO: checking for strptime" >&5
45935 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45936 if test "${ac_cv_func_strptime+set}" = set; then
45937 echo $ECHO_N "(cached) $ECHO_C" >&6
45938 else
45939 cat >conftest.$ac_ext <<_ACEOF
45940 /* confdefs.h. */
45941 _ACEOF
45942 cat confdefs.h >>conftest.$ac_ext
45943 cat >>conftest.$ac_ext <<_ACEOF
45944 /* end confdefs.h. */
45945 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45947 #define strptime innocuous_strptime
45948
45949 /* System header to define __stub macros and hopefully few prototypes,
45950 which can conflict with char strptime (); below.
45951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45952 <limits.h> exists even on freestanding compilers. */
45953
45954 #ifdef __STDC__
45955 # include <limits.h>
45956 #else
45957 # include <assert.h>
45958 #endif
45959
45960 #undef strptime
45961
45962 /* Override any GCC internal prototype to avoid an error.
45963 Use char because int might match the return type of a GCC
45964 builtin and then its argument prototype would still apply. */
45965 #ifdef __cplusplus
45966 extern "C"
45967 #endif
45968 char strptime ();
45969 /* The GNU C library defines this for functions which it implements
45970 to always fail with ENOSYS. Some functions are actually named
45971 something starting with __ and the normal name is an alias. */
45972 #if defined __stub_strptime || defined __stub___strptime
45973 choke me
45974 #endif
45975
45976 int
45977 main ()
45978 {
45979 return strptime ();
45980 ;
45981 return 0;
45982 }
45983 _ACEOF
45984 rm -f conftest.$ac_objext conftest$ac_exeext
45985 if { (ac_try="$ac_link"
45986 case "(($ac_try" in
45987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45988 *) ac_try_echo=$ac_try;;
45989 esac
45990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45991 (eval "$ac_link") 2>conftest.er1
45992 ac_status=$?
45993 grep -v '^ *+' conftest.er1 >conftest.err
45994 rm -f conftest.er1
45995 cat conftest.err >&5
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); } && {
45998 test -z "$ac_c_werror_flag" ||
45999 test ! -s conftest.err
46000 } && test -s conftest$ac_exeext &&
46001 $as_test_x conftest$ac_exeext; then
46002 ac_cv_func_strptime=yes
46003 else
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46006
46007 ac_cv_func_strptime=no
46008 fi
46009
46010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46011 conftest$ac_exeext conftest.$ac_ext
46012 fi
46013 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46014 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46015
46016 if test "$ac_cv_func_strptime" = "yes"; then
46017 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46018 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46019 if test "${wx_cv_func_strptime_decl+set}" = set; then
46020 echo $ECHO_N "(cached) $ECHO_C" >&6
46021 else
46022
46023 ac_ext=cpp
46024 ac_cpp='$CXXCPP $CPPFLAGS'
46025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028
46029 cat >conftest.$ac_ext <<_ACEOF
46030 /* confdefs.h. */
46031 _ACEOF
46032 cat confdefs.h >>conftest.$ac_ext
46033 cat >>conftest.$ac_ext <<_ACEOF
46034 /* end confdefs.h. */
46035
46036 #include <time.h>
46037
46038 int
46039 main ()
46040 {
46041
46042 struct tm t;
46043 strptime("foo", "bar", &t);
46044
46045 ;
46046 return 0;
46047 }
46048 _ACEOF
46049 rm -f conftest.$ac_objext
46050 if { (ac_try="$ac_compile"
46051 case "(($ac_try" in
46052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46053 *) ac_try_echo=$ac_try;;
46054 esac
46055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46056 (eval "$ac_compile") 2>conftest.er1
46057 ac_status=$?
46058 grep -v '^ *+' conftest.er1 >conftest.err
46059 rm -f conftest.er1
46060 cat conftest.err >&5
46061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46062 (exit $ac_status); } && {
46063 test -z "$ac_cxx_werror_flag" ||
46064 test ! -s conftest.err
46065 } && test -s conftest.$ac_objext; then
46066 wx_cv_func_strptime_decl=yes
46067 else
46068 echo "$as_me: failed program was:" >&5
46069 sed 's/^/| /' conftest.$ac_ext >&5
46070
46071 wx_cv_func_strptime_decl=no
46072
46073 fi
46074
46075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46076 ac_ext=c
46077 ac_cpp='$CPP $CPPFLAGS'
46078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46081
46082
46083
46084 fi
46085 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46086 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46087 fi
46088 if test "$wx_cv_func_strptime_decl" = "yes"; then
46089 cat >>confdefs.h <<\_ACEOF
46090 #define HAVE_STRPTIME_DECL 1
46091 _ACEOF
46092
46093 else
46094 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46095 fi
46096 if test "$ac_cv_func_strptime" = "yes"; then
46097 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46098 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46099 if test "${wx_cv_func_strptime_ok+set}" = set; then
46100 echo $ECHO_N "(cached) $ECHO_C" >&6
46101 else
46102 if test "$cross_compiling" = yes; then
46103 wx_cv_func_strptime_ok=no
46104
46105 else
46106 cat >conftest.$ac_ext <<_ACEOF
46107
46108 #include <stdlib.h>
46109 #include <time.h>
46110 #include "confdefs.h"
46111
46112 $wx_strptime_decl
46113
46114 int main()
46115 {
46116 struct tm t;
46117 return !!strptime("", "%x", &t);
46118 }
46119
46120 _ACEOF
46121 rm -f conftest$ac_exeext
46122 if { (ac_try="$ac_link"
46123 case "(($ac_try" in
46124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46125 *) ac_try_echo=$ac_try;;
46126 esac
46127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46128 (eval "$ac_link") 2>&5
46129 ac_status=$?
46130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46132 { (case "(($ac_try" in
46133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46134 *) ac_try_echo=$ac_try;;
46135 esac
46136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46137 (eval "$ac_try") 2>&5
46138 ac_status=$?
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); }; }; then
46141 wx_cv_func_strptime_ok=yes
46142 else
46143 echo "$as_me: program exited with status $ac_status" >&5
46144 echo "$as_me: failed program was:" >&5
46145 sed 's/^/| /' conftest.$ac_ext >&5
46146
46147 ( exit $ac_status )
46148 wx_cv_func_strptime_ok=no
46149 fi
46150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46151 fi
46152
46153
46154
46155 fi
46156 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46157 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46158
46159 if test "$wx_cv_func_strptime_ok" = "yes"; then
46160 cat >>confdefs.h <<\_ACEOF
46161 #define HAVE_STRPTIME 1
46162 _ACEOF
46163
46164 fi
46165 fi
46166
46167 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46168 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46169 if test "${wx_cv_var_timezone+set}" = set; then
46170 echo $ECHO_N "(cached) $ECHO_C" >&6
46171 else
46172
46173 ac_ext=cpp
46174 ac_cpp='$CXXCPP $CPPFLAGS'
46175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46178
46179 cat >conftest.$ac_ext <<_ACEOF
46180 /* confdefs.h. */
46181 _ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46185
46186 #include <time.h>
46187
46188 int
46189 main ()
46190 {
46191
46192 int tz;
46193 tz = timezone;
46194
46195 ;
46196 return 0;
46197 }
46198 _ACEOF
46199 rm -f conftest.$ac_objext
46200 if { (ac_try="$ac_compile"
46201 case "(($ac_try" in
46202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46203 *) ac_try_echo=$ac_try;;
46204 esac
46205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46206 (eval "$ac_compile") 2>conftest.er1
46207 ac_status=$?
46208 grep -v '^ *+' conftest.er1 >conftest.err
46209 rm -f conftest.er1
46210 cat conftest.err >&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); } && {
46213 test -z "$ac_cxx_werror_flag" ||
46214 test ! -s conftest.err
46215 } && test -s conftest.$ac_objext; then
46216
46217 wx_cv_var_timezone=timezone
46218
46219 else
46220 echo "$as_me: failed program was:" >&5
46221 sed 's/^/| /' conftest.$ac_ext >&5
46222
46223
46224 cat >conftest.$ac_ext <<_ACEOF
46225 /* confdefs.h. */
46226 _ACEOF
46227 cat confdefs.h >>conftest.$ac_ext
46228 cat >>conftest.$ac_ext <<_ACEOF
46229 /* end confdefs.h. */
46230
46231 #include <time.h>
46232
46233 int
46234 main ()
46235 {
46236
46237 int tz;
46238 tz = _timezone;
46239
46240 ;
46241 return 0;
46242 }
46243 _ACEOF
46244 rm -f conftest.$ac_objext
46245 if { (ac_try="$ac_compile"
46246 case "(($ac_try" in
46247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46248 *) ac_try_echo=$ac_try;;
46249 esac
46250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46251 (eval "$ac_compile") 2>conftest.er1
46252 ac_status=$?
46253 grep -v '^ *+' conftest.er1 >conftest.err
46254 rm -f conftest.er1
46255 cat conftest.err >&5
46256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46257 (exit $ac_status); } && {
46258 test -z "$ac_cxx_werror_flag" ||
46259 test ! -s conftest.err
46260 } && test -s conftest.$ac_objext; then
46261
46262 wx_cv_var_timezone=_timezone
46263
46264 else
46265 echo "$as_me: failed program was:" >&5
46266 sed 's/^/| /' conftest.$ac_ext >&5
46267
46268
46269 cat >conftest.$ac_ext <<_ACEOF
46270 /* confdefs.h. */
46271 _ACEOF
46272 cat confdefs.h >>conftest.$ac_ext
46273 cat >>conftest.$ac_ext <<_ACEOF
46274 /* end confdefs.h. */
46275
46276 #include <time.h>
46277
46278 int
46279 main ()
46280 {
46281
46282 int tz;
46283 tz = __timezone;
46284
46285 ;
46286 return 0;
46287 }
46288 _ACEOF
46289 rm -f conftest.$ac_objext
46290 if { (ac_try="$ac_compile"
46291 case "(($ac_try" in
46292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46293 *) ac_try_echo=$ac_try;;
46294 esac
46295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46296 (eval "$ac_compile") 2>conftest.er1
46297 ac_status=$?
46298 grep -v '^ *+' conftest.er1 >conftest.err
46299 rm -f conftest.er1
46300 cat conftest.err >&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } && {
46303 test -z "$ac_cxx_werror_flag" ||
46304 test ! -s conftest.err
46305 } && test -s conftest.$ac_objext; then
46306
46307 wx_cv_var_timezone=__timezone
46308
46309 else
46310 echo "$as_me: failed program was:" >&5
46311 sed 's/^/| /' conftest.$ac_ext >&5
46312
46313
46314 if test "$USE_DOS" = 0 ; then
46315 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46316 echo "$as_me: WARNING: no timezone variable" >&2;}
46317 fi
46318
46319
46320 fi
46321
46322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46323
46324
46325 fi
46326
46327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46328
46329
46330 fi
46331
46332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46333 ac_ext=c
46334 ac_cpp='$CPP $CPPFLAGS'
46335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46338
46339
46340
46341 fi
46342 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46343 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46344
46345 if test "x$wx_cv_var_timezone" != x ; then
46346 cat >>confdefs.h <<_ACEOF
46347 #define WX_TIMEZONE $wx_cv_var_timezone
46348 _ACEOF
46349
46350 fi
46351
46352
46353 for ac_func in localtime
46354 do
46355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46359 echo $ECHO_N "(cached) $ECHO_C" >&6
46360 else
46361 cat >conftest.$ac_ext <<_ACEOF
46362 /* confdefs.h. */
46363 _ACEOF
46364 cat confdefs.h >>conftest.$ac_ext
46365 cat >>conftest.$ac_ext <<_ACEOF
46366 /* end confdefs.h. */
46367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46369 #define $ac_func innocuous_$ac_func
46370
46371 /* System header to define __stub macros and hopefully few prototypes,
46372 which can conflict with char $ac_func (); below.
46373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46374 <limits.h> exists even on freestanding compilers. */
46375
46376 #ifdef __STDC__
46377 # include <limits.h>
46378 #else
46379 # include <assert.h>
46380 #endif
46381
46382 #undef $ac_func
46383
46384 /* Override any GCC internal prototype to avoid an error.
46385 Use char because int might match the return type of a GCC
46386 builtin and then its argument prototype would still apply. */
46387 #ifdef __cplusplus
46388 extern "C"
46389 #endif
46390 char $ac_func ();
46391 /* The GNU C library defines this for functions which it implements
46392 to always fail with ENOSYS. Some functions are actually named
46393 something starting with __ and the normal name is an alias. */
46394 #if defined __stub_$ac_func || defined __stub___$ac_func
46395 choke me
46396 #endif
46397
46398 int
46399 main ()
46400 {
46401 return $ac_func ();
46402 ;
46403 return 0;
46404 }
46405 _ACEOF
46406 rm -f conftest.$ac_objext conftest$ac_exeext
46407 if { (ac_try="$ac_link"
46408 case "(($ac_try" in
46409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46410 *) ac_try_echo=$ac_try;;
46411 esac
46412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46413 (eval "$ac_link") 2>conftest.er1
46414 ac_status=$?
46415 grep -v '^ *+' conftest.er1 >conftest.err
46416 rm -f conftest.er1
46417 cat conftest.err >&5
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); } && {
46420 test -z "$ac_c_werror_flag" ||
46421 test ! -s conftest.err
46422 } && test -s conftest$ac_exeext &&
46423 $as_test_x conftest$ac_exeext; then
46424 eval "$as_ac_var=yes"
46425 else
46426 echo "$as_me: failed program was:" >&5
46427 sed 's/^/| /' conftest.$ac_ext >&5
46428
46429 eval "$as_ac_var=no"
46430 fi
46431
46432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46433 conftest$ac_exeext conftest.$ac_ext
46434 fi
46435 ac_res=`eval echo '${'$as_ac_var'}'`
46436 { echo "$as_me:$LINENO: result: $ac_res" >&5
46437 echo "${ECHO_T}$ac_res" >&6; }
46438 if test `eval echo '${'$as_ac_var'}'` = yes; then
46439 cat >>confdefs.h <<_ACEOF
46440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46441 _ACEOF
46442
46443 fi
46444 done
46445
46446
46447 if test "$ac_cv_func_localtime" = "yes"; then
46448 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46449 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46450 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46451 echo $ECHO_N "(cached) $ECHO_C" >&6
46452 else
46453
46454 cat >conftest.$ac_ext <<_ACEOF
46455 /* confdefs.h. */
46456 _ACEOF
46457 cat confdefs.h >>conftest.$ac_ext
46458 cat >>conftest.$ac_ext <<_ACEOF
46459 /* end confdefs.h. */
46460
46461 #include <time.h>
46462
46463 int
46464 main ()
46465 {
46466
46467 struct tm tm;
46468 tm.tm_gmtoff++;
46469
46470 ;
46471 return 0;
46472 }
46473 _ACEOF
46474 rm -f conftest.$ac_objext
46475 if { (ac_try="$ac_compile"
46476 case "(($ac_try" in
46477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46478 *) ac_try_echo=$ac_try;;
46479 esac
46480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46481 (eval "$ac_compile") 2>conftest.er1
46482 ac_status=$?
46483 grep -v '^ *+' conftest.er1 >conftest.err
46484 rm -f conftest.er1
46485 cat conftest.err >&5
46486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46487 (exit $ac_status); } && {
46488 test -z "$ac_c_werror_flag" ||
46489 test ! -s conftest.err
46490 } && test -s conftest.$ac_objext; then
46491
46492 wx_cv_struct_tm_has_gmtoff=yes
46493
46494 else
46495 echo "$as_me: failed program was:" >&5
46496 sed 's/^/| /' conftest.$ac_ext >&5
46497
46498 wx_cv_struct_tm_has_gmtoff=no
46499
46500 fi
46501
46502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46503
46504 fi
46505 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46506 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46507 fi
46508
46509 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define WX_GMTOFF_IN_TM 1
46512 _ACEOF
46513
46514 fi
46515
46516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46517 fi
46518
46519
46520 if test "$wxUSE_SOCKETS" = "yes"; then
46521 if test "$wxUSE_MGL" = "1"; then
46522 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46523 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46524 wxUSE_SOCKETS="no"
46525 fi
46526 fi
46527
46528 if test "$wxUSE_SOCKETS" = "yes"; then
46529 if test "$TOOLKIT" != "MSW"; then
46530 { echo "$as_me:$LINENO: checking for socket" >&5
46531 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46532 if test "${ac_cv_func_socket+set}" = set; then
46533 echo $ECHO_N "(cached) $ECHO_C" >&6
46534 else
46535 cat >conftest.$ac_ext <<_ACEOF
46536 /* confdefs.h. */
46537 _ACEOF
46538 cat confdefs.h >>conftest.$ac_ext
46539 cat >>conftest.$ac_ext <<_ACEOF
46540 /* end confdefs.h. */
46541 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46543 #define socket innocuous_socket
46544
46545 /* System header to define __stub macros and hopefully few prototypes,
46546 which can conflict with char socket (); below.
46547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46548 <limits.h> exists even on freestanding compilers. */
46549
46550 #ifdef __STDC__
46551 # include <limits.h>
46552 #else
46553 # include <assert.h>
46554 #endif
46555
46556 #undef socket
46557
46558 /* Override any GCC internal prototype to avoid an error.
46559 Use char because int might match the return type of a GCC
46560 builtin and then its argument prototype would still apply. */
46561 #ifdef __cplusplus
46562 extern "C"
46563 #endif
46564 char socket ();
46565 /* The GNU C library defines this for functions which it implements
46566 to always fail with ENOSYS. Some functions are actually named
46567 something starting with __ and the normal name is an alias. */
46568 #if defined __stub_socket || defined __stub___socket
46569 choke me
46570 #endif
46571
46572 int
46573 main ()
46574 {
46575 return socket ();
46576 ;
46577 return 0;
46578 }
46579 _ACEOF
46580 rm -f conftest.$ac_objext conftest$ac_exeext
46581 if { (ac_try="$ac_link"
46582 case "(($ac_try" in
46583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46584 *) ac_try_echo=$ac_try;;
46585 esac
46586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46587 (eval "$ac_link") 2>conftest.er1
46588 ac_status=$?
46589 grep -v '^ *+' conftest.er1 >conftest.err
46590 rm -f conftest.er1
46591 cat conftest.err >&5
46592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46593 (exit $ac_status); } && {
46594 test -z "$ac_c_werror_flag" ||
46595 test ! -s conftest.err
46596 } && test -s conftest$ac_exeext &&
46597 $as_test_x conftest$ac_exeext; then
46598 ac_cv_func_socket=yes
46599 else
46600 echo "$as_me: failed program was:" >&5
46601 sed 's/^/| /' conftest.$ac_ext >&5
46602
46603 ac_cv_func_socket=no
46604 fi
46605
46606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46607 conftest$ac_exeext conftest.$ac_ext
46608 fi
46609 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46610 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46611 if test $ac_cv_func_socket = yes; then
46612 :
46613 else
46614
46615 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46616 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46617 if test "${ac_cv_lib_socket_socket+set}" = set; then
46618 echo $ECHO_N "(cached) $ECHO_C" >&6
46619 else
46620 ac_check_lib_save_LIBS=$LIBS
46621 LIBS="-lsocket $LIBS"
46622 cat >conftest.$ac_ext <<_ACEOF
46623 /* confdefs.h. */
46624 _ACEOF
46625 cat confdefs.h >>conftest.$ac_ext
46626 cat >>conftest.$ac_ext <<_ACEOF
46627 /* end confdefs.h. */
46628
46629 /* Override any GCC internal prototype to avoid an error.
46630 Use char because int might match the return type of a GCC
46631 builtin and then its argument prototype would still apply. */
46632 #ifdef __cplusplus
46633 extern "C"
46634 #endif
46635 char socket ();
46636 int
46637 main ()
46638 {
46639 return socket ();
46640 ;
46641 return 0;
46642 }
46643 _ACEOF
46644 rm -f conftest.$ac_objext conftest$ac_exeext
46645 if { (ac_try="$ac_link"
46646 case "(($ac_try" in
46647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46648 *) ac_try_echo=$ac_try;;
46649 esac
46650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46651 (eval "$ac_link") 2>conftest.er1
46652 ac_status=$?
46653 grep -v '^ *+' conftest.er1 >conftest.err
46654 rm -f conftest.er1
46655 cat conftest.err >&5
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); } && {
46658 test -z "$ac_c_werror_flag" ||
46659 test ! -s conftest.err
46660 } && test -s conftest$ac_exeext &&
46661 $as_test_x conftest$ac_exeext; then
46662 ac_cv_lib_socket_socket=yes
46663 else
46664 echo "$as_me: failed program was:" >&5
46665 sed 's/^/| /' conftest.$ac_ext >&5
46666
46667 ac_cv_lib_socket_socket=no
46668 fi
46669
46670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46671 conftest$ac_exeext conftest.$ac_ext
46672 LIBS=$ac_check_lib_save_LIBS
46673 fi
46674 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46675 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46676 if test $ac_cv_lib_socket_socket = yes; then
46677 if test "$INET_LINK" != " -lsocket"; then
46678 INET_LINK="$INET_LINK -lsocket"
46679 fi
46680 else
46681
46682 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46683 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46684 wxUSE_SOCKETS=no
46685
46686
46687 fi
46688
46689
46690
46691 fi
46692
46693 fi
46694 fi
46695
46696 if test "$wxUSE_SOCKETS" = "yes" ; then
46697 if test "$TOOLKIT" != "MSW"; then
46698 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46699 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46700 if test "${wx_cv_type_getsockname3+set}" = set; then
46701 echo $ECHO_N "(cached) $ECHO_C" >&6
46702 else
46703
46704 ac_ext=cpp
46705 ac_cpp='$CXXCPP $CPPFLAGS'
46706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46709
46710 cat >conftest.$ac_ext <<_ACEOF
46711 /* confdefs.h. */
46712 _ACEOF
46713 cat confdefs.h >>conftest.$ac_ext
46714 cat >>conftest.$ac_ext <<_ACEOF
46715 /* end confdefs.h. */
46716
46717 #include <sys/types.h>
46718 #include <sys/socket.h>
46719
46720 int
46721 main ()
46722 {
46723
46724 socklen_t len;
46725 getsockname(0, 0, &len);
46726
46727 ;
46728 return 0;
46729 }
46730 _ACEOF
46731 rm -f conftest.$ac_objext
46732 if { (ac_try="$ac_compile"
46733 case "(($ac_try" in
46734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46735 *) ac_try_echo=$ac_try;;
46736 esac
46737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46738 (eval "$ac_compile") 2>conftest.er1
46739 ac_status=$?
46740 grep -v '^ *+' conftest.er1 >conftest.err
46741 rm -f conftest.er1
46742 cat conftest.err >&5
46743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46744 (exit $ac_status); } && {
46745 test -z "$ac_cxx_werror_flag" ||
46746 test ! -s conftest.err
46747 } && test -s conftest.$ac_objext; then
46748 wx_cv_type_getsockname3=socklen_t
46749 else
46750 echo "$as_me: failed program was:" >&5
46751 sed 's/^/| /' conftest.$ac_ext >&5
46752
46753
46754 CFLAGS_OLD="$CFLAGS"
46755 if test "$GCC" = yes ; then
46756 CFLAGS="-Werror $CFLAGS"
46757 fi
46758
46759 cat >conftest.$ac_ext <<_ACEOF
46760 /* confdefs.h. */
46761 _ACEOF
46762 cat confdefs.h >>conftest.$ac_ext
46763 cat >>conftest.$ac_ext <<_ACEOF
46764 /* end confdefs.h. */
46765
46766 #include <sys/types.h>
46767 #include <sys/socket.h>
46768
46769 int
46770 main ()
46771 {
46772
46773 size_t len;
46774 getsockname(0, 0, &len);
46775
46776 ;
46777 return 0;
46778 }
46779 _ACEOF
46780 rm -f conftest.$ac_objext
46781 if { (ac_try="$ac_compile"
46782 case "(($ac_try" in
46783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46784 *) ac_try_echo=$ac_try;;
46785 esac
46786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46787 (eval "$ac_compile") 2>conftest.er1
46788 ac_status=$?
46789 grep -v '^ *+' conftest.er1 >conftest.err
46790 rm -f conftest.er1
46791 cat conftest.err >&5
46792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46793 (exit $ac_status); } && {
46794 test -z "$ac_cxx_werror_flag" ||
46795 test ! -s conftest.err
46796 } && test -s conftest.$ac_objext; then
46797 wx_cv_type_getsockname3=size_t
46798 else
46799 echo "$as_me: failed program was:" >&5
46800 sed 's/^/| /' conftest.$ac_ext >&5
46801
46802 cat >conftest.$ac_ext <<_ACEOF
46803 /* confdefs.h. */
46804 _ACEOF
46805 cat confdefs.h >>conftest.$ac_ext
46806 cat >>conftest.$ac_ext <<_ACEOF
46807 /* end confdefs.h. */
46808
46809 #include <sys/types.h>
46810 #include <sys/socket.h>
46811
46812 int
46813 main ()
46814 {
46815
46816 int len;
46817 getsockname(0, 0, &len);
46818
46819 ;
46820 return 0;
46821 }
46822 _ACEOF
46823 rm -f conftest.$ac_objext
46824 if { (ac_try="$ac_compile"
46825 case "(($ac_try" in
46826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46827 *) ac_try_echo=$ac_try;;
46828 esac
46829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46830 (eval "$ac_compile") 2>conftest.er1
46831 ac_status=$?
46832 grep -v '^ *+' conftest.er1 >conftest.err
46833 rm -f conftest.er1
46834 cat conftest.err >&5
46835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46836 (exit $ac_status); } && {
46837 test -z "$ac_cxx_werror_flag" ||
46838 test ! -s conftest.err
46839 } && test -s conftest.$ac_objext; then
46840 wx_cv_type_getsockname3=int
46841 else
46842 echo "$as_me: failed program was:" >&5
46843 sed 's/^/| /' conftest.$ac_ext >&5
46844
46845 wx_cv_type_getsockname3=unknown
46846
46847 fi
46848
46849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46850
46851 fi
46852
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854
46855 CFLAGS="$CFLAGS_OLD"
46856
46857
46858 fi
46859
46860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46861 ac_ext=c
46862 ac_cpp='$CPP $CPPFLAGS'
46863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46866
46867
46868 fi
46869 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46870 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46871
46872 if test "$wx_cv_type_getsockname3" = "unknown"; then
46873 wxUSE_SOCKETS=no
46874 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46875 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46876 else
46877 cat >>confdefs.h <<_ACEOF
46878 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46879 _ACEOF
46880
46881 fi
46882 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46883 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46884 if test "${wx_cv_type_getsockopt5+set}" = set; then
46885 echo $ECHO_N "(cached) $ECHO_C" >&6
46886 else
46887
46888 ac_ext=cpp
46889 ac_cpp='$CXXCPP $CPPFLAGS'
46890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46893
46894 cat >conftest.$ac_ext <<_ACEOF
46895 /* confdefs.h. */
46896 _ACEOF
46897 cat confdefs.h >>conftest.$ac_ext
46898 cat >>conftest.$ac_ext <<_ACEOF
46899 /* end confdefs.h. */
46900
46901 #include <sys/types.h>
46902 #include <sys/socket.h>
46903
46904 int
46905 main ()
46906 {
46907
46908 socklen_t len;
46909 getsockopt(0, 0, 0, 0, &len);
46910
46911 ;
46912 return 0;
46913 }
46914 _ACEOF
46915 rm -f conftest.$ac_objext
46916 if { (ac_try="$ac_compile"
46917 case "(($ac_try" in
46918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46919 *) ac_try_echo=$ac_try;;
46920 esac
46921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46922 (eval "$ac_compile") 2>conftest.er1
46923 ac_status=$?
46924 grep -v '^ *+' conftest.er1 >conftest.err
46925 rm -f conftest.er1
46926 cat conftest.err >&5
46927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928 (exit $ac_status); } && {
46929 test -z "$ac_cxx_werror_flag" ||
46930 test ! -s conftest.err
46931 } && test -s conftest.$ac_objext; then
46932 wx_cv_type_getsockopt5=socklen_t
46933 else
46934 echo "$as_me: failed program was:" >&5
46935 sed 's/^/| /' conftest.$ac_ext >&5
46936
46937
46938 cat >conftest.$ac_ext <<_ACEOF
46939 /* confdefs.h. */
46940 _ACEOF
46941 cat confdefs.h >>conftest.$ac_ext
46942 cat >>conftest.$ac_ext <<_ACEOF
46943 /* end confdefs.h. */
46944
46945 #include <sys/types.h>
46946 #include <sys/socket.h>
46947
46948 int
46949 main ()
46950 {
46951
46952 size_t len;
46953 getsockopt(0, 0, 0, 0, &len);
46954
46955 ;
46956 return 0;
46957 }
46958 _ACEOF
46959 rm -f conftest.$ac_objext
46960 if { (ac_try="$ac_compile"
46961 case "(($ac_try" in
46962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46963 *) ac_try_echo=$ac_try;;
46964 esac
46965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46966 (eval "$ac_compile") 2>conftest.er1
46967 ac_status=$?
46968 grep -v '^ *+' conftest.er1 >conftest.err
46969 rm -f conftest.er1
46970 cat conftest.err >&5
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); } && {
46973 test -z "$ac_cxx_werror_flag" ||
46974 test ! -s conftest.err
46975 } && test -s conftest.$ac_objext; then
46976 wx_cv_type_getsockopt5=size_t
46977 else
46978 echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46980
46981 cat >conftest.$ac_ext <<_ACEOF
46982 /* confdefs.h. */
46983 _ACEOF
46984 cat confdefs.h >>conftest.$ac_ext
46985 cat >>conftest.$ac_ext <<_ACEOF
46986 /* end confdefs.h. */
46987
46988 #include <sys/types.h>
46989 #include <sys/socket.h>
46990
46991 int
46992 main ()
46993 {
46994
46995 int len;
46996 getsockopt(0, 0, 0, 0, &len);
46997
46998 ;
46999 return 0;
47000 }
47001 _ACEOF
47002 rm -f conftest.$ac_objext
47003 if { (ac_try="$ac_compile"
47004 case "(($ac_try" in
47005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47006 *) ac_try_echo=$ac_try;;
47007 esac
47008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47009 (eval "$ac_compile") 2>conftest.er1
47010 ac_status=$?
47011 grep -v '^ *+' conftest.er1 >conftest.err
47012 rm -f conftest.er1
47013 cat conftest.err >&5
47014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47015 (exit $ac_status); } && {
47016 test -z "$ac_cxx_werror_flag" ||
47017 test ! -s conftest.err
47018 } && test -s conftest.$ac_objext; then
47019 wx_cv_type_getsockopt5=int
47020 else
47021 echo "$as_me: failed program was:" >&5
47022 sed 's/^/| /' conftest.$ac_ext >&5
47023
47024 wx_cv_type_getsockopt5=unknown
47025
47026 fi
47027
47028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47029
47030 fi
47031
47032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47033
47034
47035 fi
47036
47037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47038 ac_ext=c
47039 ac_cpp='$CPP $CPPFLAGS'
47040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47043
47044
47045 fi
47046 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47047 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47048
47049 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47050 wxUSE_SOCKETS=no
47051 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47052 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47053 else
47054 cat >>confdefs.h <<_ACEOF
47055 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47056 _ACEOF
47057
47058 fi
47059 fi
47060 fi
47061
47062 if test "$wxUSE_SOCKETS" = "yes" ; then
47063 cat >>confdefs.h <<\_ACEOF
47064 #define wxUSE_SOCKETS 1
47065 _ACEOF
47066
47067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47068 fi
47069
47070 if test "$wxUSE_PROTOCOL" = "yes"; then
47071 if test "$wxUSE_SOCKETS" != "yes"; then
47072 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47073 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47074 wxUSE_PROTOCOL=no
47075 fi
47076 fi
47077
47078 if test "$wxUSE_PROTOCOL" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_PROTOCOL 1
47081 _ACEOF
47082
47083
47084 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47085 cat >>confdefs.h <<\_ACEOF
47086 #define wxUSE_PROTOCOL_HTTP 1
47087 _ACEOF
47088
47089 fi
47090 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_PROTOCOL_FTP 1
47093 _ACEOF
47094
47095 fi
47096 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47097 cat >>confdefs.h <<\_ACEOF
47098 #define wxUSE_PROTOCOL_FILE 1
47099 _ACEOF
47100
47101 fi
47102 else
47103 if test "$wxUSE_FS_INET" = "yes"; then
47104 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47105 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47106 wxUSE_FS_INET="no"
47107 fi
47108 fi
47109
47110 if test "$wxUSE_URL" = "yes"; then
47111 if test "$wxUSE_PROTOCOL" != "yes"; then
47112 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47113 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47114 wxUSE_URL=no
47115 fi
47116 if test "$wxUSE_URL" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_URL 1
47119 _ACEOF
47120
47121 fi
47122 fi
47123
47124 if test "$wxUSE_VARIANT" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_VARIANT 1
47127 _ACEOF
47128
47129 fi
47130
47131 if test "$wxUSE_FS_INET" = "yes"; then
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_FS_INET 1
47134 _ACEOF
47135
47136 fi
47137
47138
47139 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47140 wxUSE_JOYSTICK=no
47141
47142 if test "$TOOLKIT" = "MSW"; then
47143 wxUSE_JOYSTICK=yes
47144
47145 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47146 if test "$USE_DARWIN" = 1; then
47147 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47148 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47149 ac_ext=cpp
47150 ac_cpp='$CXXCPP $CPPFLAGS'
47151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47154
47155 cat >conftest.$ac_ext <<_ACEOF
47156 /* confdefs.h. */
47157 _ACEOF
47158 cat confdefs.h >>conftest.$ac_ext
47159 cat >>conftest.$ac_ext <<_ACEOF
47160 /* end confdefs.h. */
47161 #include <IOKit/hid/IOHIDLib.h>
47162 int
47163 main ()
47164 {
47165 IOHIDQueueInterface *qi = NULL;
47166 IOHIDCallbackFunction cb = NULL;
47167 qi->setEventCallout(NULL, cb, NULL, NULL);
47168 ;
47169 return 0;
47170 }
47171 _ACEOF
47172 rm -f conftest.$ac_objext
47173 if { (ac_try="$ac_compile"
47174 case "(($ac_try" in
47175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47176 *) ac_try_echo=$ac_try;;
47177 esac
47178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47179 (eval "$ac_compile") 2>conftest.er1
47180 ac_status=$?
47181 grep -v '^ *+' conftest.er1 >conftest.err
47182 rm -f conftest.er1
47183 cat conftest.err >&5
47184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); } && {
47186 test -z "$ac_cxx_werror_flag" ||
47187 test ! -s conftest.err
47188 } && test -s conftest.$ac_objext; then
47189 wxUSE_JOYSTICK=yes
47190
47191 else
47192 echo "$as_me: failed program was:" >&5
47193 sed 's/^/| /' conftest.$ac_ext >&5
47194
47195
47196 fi
47197
47198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47199 ac_ext=c
47200 ac_cpp='$CPP $CPPFLAGS'
47201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47204
47205 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47206 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47207 fi
47208
47209 else
47210 if test "$wxUSE_MGL" != "1"; then
47211
47212 for ac_header in linux/joystick.h
47213 do
47214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47215 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47217 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47218 echo $ECHO_N "(cached) $ECHO_C" >&6
47219 else
47220 cat >conftest.$ac_ext <<_ACEOF
47221 /* confdefs.h. */
47222 _ACEOF
47223 cat confdefs.h >>conftest.$ac_ext
47224 cat >>conftest.$ac_ext <<_ACEOF
47225 /* end confdefs.h. */
47226 $ac_includes_default
47227
47228 #include <$ac_header>
47229 _ACEOF
47230 rm -f conftest.$ac_objext
47231 if { (ac_try="$ac_compile"
47232 case "(($ac_try" in
47233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47234 *) ac_try_echo=$ac_try;;
47235 esac
47236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47237 (eval "$ac_compile") 2>conftest.er1
47238 ac_status=$?
47239 grep -v '^ *+' conftest.er1 >conftest.err
47240 rm -f conftest.er1
47241 cat conftest.err >&5
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); } && {
47244 test -z "$ac_c_werror_flag" ||
47245 test ! -s conftest.err
47246 } && test -s conftest.$ac_objext; then
47247 eval "$as_ac_Header=yes"
47248 else
47249 echo "$as_me: failed program was:" >&5
47250 sed 's/^/| /' conftest.$ac_ext >&5
47251
47252 eval "$as_ac_Header=no"
47253 fi
47254
47255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47256 fi
47257 ac_res=`eval echo '${'$as_ac_Header'}'`
47258 { echo "$as_me:$LINENO: result: $ac_res" >&5
47259 echo "${ECHO_T}$ac_res" >&6; }
47260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47261 cat >>confdefs.h <<_ACEOF
47262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47263 _ACEOF
47264 wxUSE_JOYSTICK=yes
47265 fi
47266
47267 done
47268
47269 fi
47270 fi
47271
47272 if test "$wxUSE_JOYSTICK" = "yes"; then
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_JOYSTICK 1
47275 _ACEOF
47276
47277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47278 else
47279 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47280 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47281 fi
47282 fi
47283
47284
47285
47286 if test "$wxUSE_FONTENUM" = "yes" ; then
47287 cat >>confdefs.h <<\_ACEOF
47288 #define wxUSE_FONTENUM 1
47289 _ACEOF
47290
47291 fi
47292
47293 if test "$wxUSE_FONTMAP" = "yes" ; then
47294 cat >>confdefs.h <<\_ACEOF
47295 #define wxUSE_FONTMAP 1
47296 _ACEOF
47297
47298 fi
47299
47300 if test "$wxUSE_UNICODE" = "yes" ; then
47301 cat >>confdefs.h <<\_ACEOF
47302 #define wxUSE_UNICODE 1
47303 _ACEOF
47304
47305
47306 if test "$USE_WIN32" != 1; then
47307 wxUSE_UNICODE_MSLU=no
47308 fi
47309
47310 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47311 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47312 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47313 if test "${ac_cv_lib_unicows_main+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47315 else
47316 ac_check_lib_save_LIBS=$LIBS
47317 LIBS="-lunicows $LIBS"
47318 cat >conftest.$ac_ext <<_ACEOF
47319 /* confdefs.h. */
47320 _ACEOF
47321 cat confdefs.h >>conftest.$ac_ext
47322 cat >>conftest.$ac_ext <<_ACEOF
47323 /* end confdefs.h. */
47324
47325
47326 int
47327 main ()
47328 {
47329 return main ();
47330 ;
47331 return 0;
47332 }
47333 _ACEOF
47334 rm -f conftest.$ac_objext conftest$ac_exeext
47335 if { (ac_try="$ac_link"
47336 case "(($ac_try" in
47337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47338 *) ac_try_echo=$ac_try;;
47339 esac
47340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47341 (eval "$ac_link") 2>conftest.er1
47342 ac_status=$?
47343 grep -v '^ *+' conftest.er1 >conftest.err
47344 rm -f conftest.er1
47345 cat conftest.err >&5
47346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347 (exit $ac_status); } && {
47348 test -z "$ac_c_werror_flag" ||
47349 test ! -s conftest.err
47350 } && test -s conftest$ac_exeext &&
47351 $as_test_x conftest$ac_exeext; then
47352 ac_cv_lib_unicows_main=yes
47353 else
47354 echo "$as_me: failed program was:" >&5
47355 sed 's/^/| /' conftest.$ac_ext >&5
47356
47357 ac_cv_lib_unicows_main=no
47358 fi
47359
47360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47361 conftest$ac_exeext conftest.$ac_ext
47362 LIBS=$ac_check_lib_save_LIBS
47363 fi
47364 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47365 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47366 if test $ac_cv_lib_unicows_main = yes; then
47367
47368 cat >>confdefs.h <<\_ACEOF
47369 #define wxUSE_UNICODE_MSLU 1
47370 _ACEOF
47371
47372
47373 else
47374
47375 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47376 Applications will only run on Windows NT/2000/XP!" >&5
47377 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47378 Applications will only run on Windows NT/2000/XP!" >&2;}
47379 wxUSE_UNICODE_MSLU=no
47380
47381 fi
47382
47383 fi
47384 fi
47385
47386 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_UNICODE_UTF8 1
47389 _ACEOF
47390
47391
47392 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_UTF8_LOCALE_ONLY 1
47395 _ACEOF
47396
47397 fi
47398 fi
47399
47400
47401 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_CONSTRAINTS 1
47404 _ACEOF
47405
47406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47407 fi
47408
47409 if test "$wxUSE_MDI" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_MDI 1
47412 _ACEOF
47413
47414
47415 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_MDI_ARCHITECTURE 1
47418 _ACEOF
47419
47420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47421 fi
47422 fi
47423
47424 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47427 _ACEOF
47428
47429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47430 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47432 fi
47433 fi
47434
47435 if test "$wxUSE_HELP" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define wxUSE_HELP 1
47438 _ACEOF
47439
47440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47441
47442 if test "$wxUSE_MSW" = 1; then
47443 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47444 cat >>confdefs.h <<\_ACEOF
47445 #define wxUSE_MS_HTML_HELP 1
47446 _ACEOF
47447
47448 fi
47449 fi
47450
47451 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47452 if test "$wxUSE_HTML" = "yes"; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_WXHTML_HELP 1
47455 _ACEOF
47456
47457 else
47458 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47459 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47460 wxUSE_WXHTML_HELP=no
47461 fi
47462 fi
47463 fi
47464
47465 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47466 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47467 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47468 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47469 else
47470 cat >>confdefs.h <<\_ACEOF
47471 #define wxUSE_PRINTING_ARCHITECTURE 1
47472 _ACEOF
47473
47474 fi
47475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47476 fi
47477
47478 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_POSTSCRIPT 1
47481 _ACEOF
47482
47483 fi
47484
47485 cat >>confdefs.h <<\_ACEOF
47486 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47487 _ACEOF
47488
47489
47490 if test "$wxUSE_SVG" = "yes"; then
47491 cat >>confdefs.h <<\_ACEOF
47492 #define wxUSE_SVG 1
47493 _ACEOF
47494
47495 fi
47496
47497
47498 if test "$wxUSE_METAFILE" = "yes"; then
47499 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47500 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47501 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47502 wxUSE_METAFILE=no
47503 fi
47504 fi
47505
47506
47507 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47508 -o "$wxUSE_CLIPBOARD" = "yes" \
47509 -o "$wxUSE_OLE" = "yes" \
47510 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47511 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47512 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47513 if test "${ac_cv_header_ole2_h+set}" = set; then
47514 echo $ECHO_N "(cached) $ECHO_C" >&6
47515 else
47516 cat >conftest.$ac_ext <<_ACEOF
47517 /* confdefs.h. */
47518 _ACEOF
47519 cat confdefs.h >>conftest.$ac_ext
47520 cat >>conftest.$ac_ext <<_ACEOF
47521 /* end confdefs.h. */
47522
47523
47524 #include <ole2.h>
47525 _ACEOF
47526 rm -f conftest.$ac_objext
47527 if { (ac_try="$ac_compile"
47528 case "(($ac_try" in
47529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47530 *) ac_try_echo=$ac_try;;
47531 esac
47532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47533 (eval "$ac_compile") 2>conftest.er1
47534 ac_status=$?
47535 grep -v '^ *+' conftest.er1 >conftest.err
47536 rm -f conftest.er1
47537 cat conftest.err >&5
47538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47539 (exit $ac_status); } && {
47540 test -z "$ac_c_werror_flag" ||
47541 test ! -s conftest.err
47542 } && test -s conftest.$ac_objext; then
47543 ac_cv_header_ole2_h=yes
47544 else
47545 echo "$as_me: failed program was:" >&5
47546 sed 's/^/| /' conftest.$ac_ext >&5
47547
47548 ac_cv_header_ole2_h=no
47549 fi
47550
47551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47552 fi
47553 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47554 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47555
47556
47557
47558 if test "$ac_cv_header_ole2_h" = "yes" ; then
47559 if test "$GCC" = yes ; then
47560 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47561 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47562 cat >conftest.$ac_ext <<_ACEOF
47563 /* confdefs.h. */
47564 _ACEOF
47565 cat confdefs.h >>conftest.$ac_ext
47566 cat >>conftest.$ac_ext <<_ACEOF
47567 /* end confdefs.h. */
47568 #include <windows.h>
47569 #include <ole2.h>
47570 int
47571 main ()
47572 {
47573
47574 ;
47575 return 0;
47576 }
47577 _ACEOF
47578 rm -f conftest.$ac_objext
47579 if { (ac_try="$ac_compile"
47580 case "(($ac_try" in
47581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47582 *) ac_try_echo=$ac_try;;
47583 esac
47584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47585 (eval "$ac_compile") 2>conftest.er1
47586 ac_status=$?
47587 grep -v '^ *+' conftest.er1 >conftest.err
47588 rm -f conftest.er1
47589 cat conftest.err >&5
47590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47591 (exit $ac_status); } && {
47592 test -z "$ac_c_werror_flag" ||
47593 test ! -s conftest.err
47594 } && test -s conftest.$ac_objext; then
47595 { echo "$as_me:$LINENO: result: no" >&5
47596 echo "${ECHO_T}no" >&6; }
47597 else
47598 echo "$as_me: failed program was:" >&5
47599 sed 's/^/| /' conftest.$ac_ext >&5
47600
47601 { echo "$as_me:$LINENO: result: yes" >&5
47602 echo "${ECHO_T}yes" >&6; }
47603 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47604 fi
47605
47606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47607 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47608 if test "$wxUSE_OLE" = "yes" ; then
47609 cat >>confdefs.h <<\_ACEOF
47610 #define wxUSE_OLE 1
47611 _ACEOF
47612
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_OLE_AUTOMATION 1
47615 _ACEOF
47616
47617 cat >>confdefs.h <<\_ACEOF
47618 #define wxUSE_ACTIVEX 1
47619 _ACEOF
47620
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47622 fi
47623 fi
47624
47625 if test "$wxUSE_DATAOBJ" = "yes" ; then
47626 cat >>confdefs.h <<\_ACEOF
47627 #define wxUSE_DATAOBJ 1
47628 _ACEOF
47629
47630 fi
47631 else
47632 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47633 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47634
47635 wxUSE_CLIPBOARD=no
47636 wxUSE_DRAG_AND_DROP=no
47637 wxUSE_DATAOBJ=no
47638 wxUSE_OLE=no
47639 fi
47640
47641 if test "$wxUSE_METAFILE" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_METAFILE 1
47644 _ACEOF
47645
47646
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_ENH_METAFILE 1
47649 _ACEOF
47650
47651 fi
47652 fi
47653
47654 if test "$wxUSE_IPC" = "yes"; then
47655 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47656 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47657 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47658 wxUSE_IPC=no
47659 fi
47660
47661 if test "$wxUSE_IPC" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_IPC 1
47664 _ACEOF
47665
47666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47667 fi
47668 fi
47669
47670 if test "$wxUSE_DATAOBJ" = "yes"; then
47671 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47672 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47673 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47674 wxUSE_DATAOBJ=no
47675 else
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_DATAOBJ 1
47678 _ACEOF
47679
47680 fi
47681 else
47682 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47683 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47684 wxUSE_CLIPBOARD=no
47685 wxUSE_DRAG_AND_DROP=no
47686 fi
47687
47688 if test "$wxUSE_CLIPBOARD" = "yes"; then
47689 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47690 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47691 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47692 wxUSE_CLIPBOARD=no
47693 fi
47694
47695 if test "$wxUSE_CLIPBOARD" = "yes"; then
47696 cat >>confdefs.h <<\_ACEOF
47697 #define wxUSE_CLIPBOARD 1
47698 _ACEOF
47699
47700 fi
47701 fi
47702
47703 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47704 if test "$wxUSE_GTK" = 1; then
47705 if test "$WXGTK12" != 1; then
47706 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47707 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47708 wxUSE_DRAG_AND_DROP=no
47709 fi
47710 fi
47711
47712 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47713 "$wxUSE_DFB" = 1; then
47714 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47715 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47716 wxUSE_DRAG_AND_DROP=no
47717 fi
47718
47719 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_DRAG_AND_DROP 1
47722 _ACEOF
47723
47724 fi
47725
47726 fi
47727
47728 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47730 fi
47731
47732 if test "$wxUSE_SPLINES" = "yes" ; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_SPLINES 1
47735 _ACEOF
47736
47737 fi
47738
47739 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_MOUSEWHEEL 1
47742 _ACEOF
47743
47744 fi
47745
47746
47747 USES_CONTROLS=0
47748 if test "$wxUSE_CONTROLS" = "yes"; then
47749 USES_CONTROLS=1
47750 fi
47751
47752 if test "$wxUSE_ACCEL" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_ACCEL 1
47755 _ACEOF
47756
47757 USES_CONTROLS=1
47758 fi
47759
47760 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_ANIMATIONCTRL 1
47763 _ACEOF
47764
47765 USES_CONTROLS=1
47766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47767 fi
47768
47769 if test "$wxUSE_BUTTON" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_BUTTON 1
47772 _ACEOF
47773
47774 USES_CONTROLS=1
47775 fi
47776
47777 if test "$wxUSE_BMPBUTTON" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_BMPBUTTON 1
47780 _ACEOF
47781
47782 USES_CONTROLS=1
47783 fi
47784
47785 if test "$wxUSE_CALCTRL" = "yes"; then
47786 cat >>confdefs.h <<\_ACEOF
47787 #define wxUSE_CALENDARCTRL 1
47788 _ACEOF
47789
47790 USES_CONTROLS=1
47791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47792 fi
47793
47794 if test "$wxUSE_CARET" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_CARET 1
47797 _ACEOF
47798
47799 USES_CONTROLS=1
47800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47801 fi
47802
47803 if test "$wxUSE_COLLPANE" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_COLLPANE 1
47806 _ACEOF
47807
47808 USES_CONTROLS=1
47809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47810 fi
47811
47812 if test "$wxUSE_COMBOBOX" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_COMBOBOX 1
47815 _ACEOF
47816
47817 USES_CONTROLS=1
47818 fi
47819
47820 if test "$wxUSE_COMBOCTRL" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_COMBOCTRL 1
47823 _ACEOF
47824
47825 USES_CONTROLS=1
47826 fi
47827
47828 if test "$wxUSE_CHOICE" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_CHOICE 1
47831 _ACEOF
47832
47833 USES_CONTROLS=1
47834 fi
47835
47836 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_CHOICEBOOK 1
47839 _ACEOF
47840
47841 USES_CONTROLS=1
47842 fi
47843
47844 if test "$wxUSE_CHECKBOX" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_CHECKBOX 1
47847 _ACEOF
47848
47849 USES_CONTROLS=1
47850 fi
47851
47852 if test "$wxUSE_CHECKLST" = "yes"; then
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_CHECKLISTBOX 1
47855 _ACEOF
47856
47857 USES_CONTROLS=1
47858 fi
47859
47860 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_COLOURPICKERCTRL 1
47863 _ACEOF
47864
47865 USES_CONTROLS=1
47866 fi
47867
47868 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_DATEPICKCTRL 1
47871 _ACEOF
47872
47873 USES_CONTROLS=1
47874 fi
47875
47876 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_DIRPICKERCTRL 1
47879 _ACEOF
47880
47881 USES_CONTROLS=1
47882 fi
47883
47884 if test "$wxUSE_FILECTRL" = "yes"; then
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_FILECTRL 1
47887 _ACEOF
47888
47889 USES_CONTROLS=1
47890 fi
47891
47892 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47893 cat >>confdefs.h <<\_ACEOF
47894 #define wxUSE_FILEPICKERCTRL 1
47895 _ACEOF
47896
47897 USES_CONTROLS=1
47898 fi
47899
47900 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_FONTPICKERCTRL 1
47903 _ACEOF
47904
47905 USES_CONTROLS=1
47906 fi
47907
47908 if test "$wxUSE_DISPLAY" = "yes"; then
47909 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47910 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47911 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47912 wxUSE_DISPLAY=no
47913 else
47914 cat >>confdefs.h <<\_ACEOF
47915 #define wxUSE_DISPLAY 1
47916 _ACEOF
47917
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47919 fi
47920 fi
47921
47922 if test "$wxUSE_DETECT_SM" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_DETECT_SM 1
47925 _ACEOF
47926
47927 fi
47928
47929 if test "$wxUSE_GAUGE" = "yes"; then
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_GAUGE 1
47932 _ACEOF
47933
47934 USES_CONTROLS=1
47935 fi
47936
47937 if test "$wxUSE_GRID" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_GRID 1
47940 _ACEOF
47941
47942 USES_CONTROLS=1
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47944 fi
47945
47946 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_HYPERLINKCTRL 1
47949 _ACEOF
47950
47951 USES_CONTROLS=1
47952 fi
47953
47954 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_BITMAPCOMBOBOX 1
47957 _ACEOF
47958
47959 USES_CONTROLS=1
47960 fi
47961
47962 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_DATAVIEWCTRL 1
47965 _ACEOF
47966
47967 USES_CONTROLS=1
47968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47969 fi
47970
47971 if test "$wxUSE_IMAGLIST" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_IMAGLIST 1
47974 _ACEOF
47975
47976 fi
47977
47978 if test "$wxUSE_LISTBOOK" = "yes"; then
47979 cat >>confdefs.h <<\_ACEOF
47980 #define wxUSE_LISTBOOK 1
47981 _ACEOF
47982
47983 USES_CONTROLS=1
47984 fi
47985
47986 if test "$wxUSE_LISTBOX" = "yes"; then
47987 cat >>confdefs.h <<\_ACEOF
47988 #define wxUSE_LISTBOX 1
47989 _ACEOF
47990
47991 USES_CONTROLS=1
47992 fi
47993
47994 if test "$wxUSE_LISTCTRL" = "yes"; then
47995 if test "$wxUSE_IMAGLIST" = "yes"; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_LISTCTRL 1
47998 _ACEOF
47999
48000 USES_CONTROLS=1
48001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48002 else
48003 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48004 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48005 fi
48006 fi
48007
48008 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_EDITABLELISTBOX 1
48011 _ACEOF
48012
48013 USES_CONTROLS=1
48014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48015 fi
48016
48017 if test "$wxUSE_NOTEBOOK" = "yes"; then
48018 cat >>confdefs.h <<\_ACEOF
48019 #define wxUSE_NOTEBOOK 1
48020 _ACEOF
48021
48022 USES_CONTROLS=1
48023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48024 fi
48025
48026 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_ODCOMBOBOX 1
48029 _ACEOF
48030
48031 USES_CONTROLS=1
48032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48033 fi
48034
48035 if test "$wxUSE_RADIOBOX" = "yes"; then
48036 cat >>confdefs.h <<\_ACEOF
48037 #define wxUSE_RADIOBOX 1
48038 _ACEOF
48039
48040 USES_CONTROLS=1
48041 fi
48042
48043 if test "$wxUSE_RADIOBTN" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_RADIOBTN 1
48046 _ACEOF
48047
48048 USES_CONTROLS=1
48049 fi
48050
48051 if test "$wxUSE_SASH" = "yes"; then
48052 cat >>confdefs.h <<\_ACEOF
48053 #define wxUSE_SASH 1
48054 _ACEOF
48055
48056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48057 fi
48058
48059 if test "$wxUSE_SCROLLBAR" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_SCROLLBAR 1
48062 _ACEOF
48063
48064 USES_CONTROLS=1
48065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48066 fi
48067
48068 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_SEARCHCTRL 1
48071 _ACEOF
48072
48073 USES_CONTROLS=1
48074 fi
48075
48076 if test "$wxUSE_SLIDER" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_SLIDER 1
48079 _ACEOF
48080
48081 USES_CONTROLS=1
48082 fi
48083
48084 if test "$wxUSE_SPINBTN" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_SPINBTN 1
48087 _ACEOF
48088
48089 USES_CONTROLS=1
48090 fi
48091
48092 if test "$wxUSE_SPINCTRL" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_SPINCTRL 1
48095 _ACEOF
48096
48097 USES_CONTROLS=1
48098 fi
48099
48100 if test "$wxUSE_SPLITTER" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_SPLITTER 1
48103 _ACEOF
48104
48105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48106 fi
48107
48108 if test "$wxUSE_STATBMP" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_STATBMP 1
48111 _ACEOF
48112
48113 USES_CONTROLS=1
48114 fi
48115
48116 if test "$wxUSE_STATBOX" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_STATBOX 1
48119 _ACEOF
48120
48121 USES_CONTROLS=1
48122 fi
48123
48124 if test "$wxUSE_STATTEXT" = "yes"; then
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_STATTEXT 1
48127 _ACEOF
48128
48129 USES_CONTROLS=1
48130 fi
48131
48132 if test "$wxUSE_STATLINE" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_STATLINE 1
48135 _ACEOF
48136
48137 USES_CONTROLS=1
48138 fi
48139
48140 if test "$wxUSE_STATUSBAR" = "yes"; then
48141 cat >>confdefs.h <<\_ACEOF
48142 #define wxUSE_NATIVE_STATUSBAR 1
48143 _ACEOF
48144
48145 cat >>confdefs.h <<\_ACEOF
48146 #define wxUSE_STATUSBAR 1
48147 _ACEOF
48148
48149 USES_CONTROLS=1
48150
48151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48152 fi
48153
48154 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_TAB_DIALOG 1
48157 _ACEOF
48158
48159 fi
48160
48161 if test "$wxUSE_TEXTCTRL" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_TEXTCTRL 1
48164 _ACEOF
48165
48166 USES_CONTROLS=1
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48168 fi
48169
48170 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48171 if test "$wxUSE_COCOA" = 1 ; then
48172 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48173 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48174 wxUSE_TOGGLEBTN=no
48175 fi
48176
48177 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_TOGGLEBTN 1
48180 _ACEOF
48181
48182 USES_CONTROLS=1
48183 fi
48184 fi
48185
48186 if test "$wxUSE_TOOLBAR" = "yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_TOOLBAR 1
48189 _ACEOF
48190
48191 USES_CONTROLS=1
48192
48193 if test "$wxUSE_UNIVERSAL" = "yes"; then
48194 wxUSE_TOOLBAR_NATIVE="no"
48195 else
48196 wxUSE_TOOLBAR_NATIVE="yes"
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_TOOLBAR_NATIVE 1
48199 _ACEOF
48200
48201 fi
48202
48203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48204 fi
48205
48206 if test "$wxUSE_TOOLTIPS" = "yes"; then
48207 if test "$wxUSE_MOTIF" = 1; then
48208 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48209 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48210 else
48211 if test "$wxUSE_UNIVERSAL" = "yes"; then
48212 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48213 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48214 else
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_TOOLTIPS 1
48217 _ACEOF
48218
48219 fi
48220 fi
48221 fi
48222
48223 if test "$wxUSE_TREEBOOK" = "yes"; then
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_TREEBOOK 1
48226 _ACEOF
48227
48228 USES_CONTROLS=1
48229 fi
48230
48231 if test "$wxUSE_TOOLBOOK" = "yes"; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_TOOLBOOK 1
48234 _ACEOF
48235
48236 USES_CONTROLS=1
48237 fi
48238
48239 if test "$wxUSE_TREECTRL" = "yes"; then
48240 if test "$wxUSE_IMAGLIST" = "yes"; then
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_TREECTRL 1
48243 _ACEOF
48244
48245 USES_CONTROLS=1
48246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48247 else
48248 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48249 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48250 fi
48251 fi
48252
48253 if test "$wxUSE_POPUPWIN" = "yes"; then
48254 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48255 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48256 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48257 else
48258 if test "$wxUSE_PM" = 1; then
48259 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48260 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48261 else
48262 cat >>confdefs.h <<\_ACEOF
48263 #define wxUSE_POPUPWIN 1
48264 _ACEOF
48265
48266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48267
48268 USES_CONTROLS=1
48269 fi
48270 fi
48271 fi
48272
48273 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48274 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48275 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48276 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48277 else
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_DIALUP_MANAGER 1
48280 _ACEOF
48281
48282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48283 fi
48284 fi
48285
48286 if test "$wxUSE_TIPWINDOW" = "yes"; then
48287 if test "$wxUSE_PM" = 1; then
48288 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48289 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48290 else
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_TIPWINDOW 1
48293 _ACEOF
48294
48295 fi
48296 fi
48297
48298 if test "$USES_CONTROLS" = 1; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_CONTROLS 1
48301 _ACEOF
48302
48303 fi
48304
48305
48306 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48307 cat >>confdefs.h <<\_ACEOF
48308 #define wxUSE_ACCESSIBILITY 1
48309 _ACEOF
48310
48311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48312 fi
48313
48314 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_DRAGIMAGE 1
48317 _ACEOF
48318
48319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48320 fi
48321
48322 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48323 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48324 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48325 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48326 else
48327 cat >>confdefs.h <<\_ACEOF
48328 #define wxUSE_EXCEPTIONS 1
48329 _ACEOF
48330
48331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48332 fi
48333 fi
48334
48335 USE_HTML=0
48336 if test "$wxUSE_HTML" = "yes"; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_HTML 1
48339 _ACEOF
48340
48341 USE_HTML=1
48342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48343 if test "$wxUSE_MAC" = 1; then
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48345 fi
48346 fi
48347 if test "$wxUSE_WEBKIT" = "yes"; then
48348 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48349 old_CPPFLAGS="$CPPFLAGS"
48350 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48351 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48352 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48353 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48354 echo $ECHO_N "(cached) $ECHO_C" >&6
48355 else
48356 cat >conftest.$ac_ext <<_ACEOF
48357 /* confdefs.h. */
48358 _ACEOF
48359 cat confdefs.h >>conftest.$ac_ext
48360 cat >>conftest.$ac_ext <<_ACEOF
48361 /* end confdefs.h. */
48362
48363 #include <Carbon/Carbon.h>
48364 #include <WebKit/WebKit.h>
48365
48366
48367 #include <WebKit/HIWebView.h>
48368 _ACEOF
48369 rm -f conftest.$ac_objext
48370 if { (ac_try="$ac_compile"
48371 case "(($ac_try" in
48372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48373 *) ac_try_echo=$ac_try;;
48374 esac
48375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48376 (eval "$ac_compile") 2>conftest.er1
48377 ac_status=$?
48378 grep -v '^ *+' conftest.er1 >conftest.err
48379 rm -f conftest.er1
48380 cat conftest.err >&5
48381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48382 (exit $ac_status); } && {
48383 test -z "$ac_c_werror_flag" ||
48384 test ! -s conftest.err
48385 } && test -s conftest.$ac_objext; then
48386 ac_cv_header_WebKit_HIWebView_h=yes
48387 else
48388 echo "$as_me: failed program was:" >&5
48389 sed 's/^/| /' conftest.$ac_ext >&5
48390
48391 ac_cv_header_WebKit_HIWebView_h=no
48392 fi
48393
48394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48395 fi
48396 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48397 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48398 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48399
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_WEBKIT 1
48402 _ACEOF
48403
48404 WEBKIT_LINK="-framework WebKit"
48405
48406 else
48407
48408 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48409 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48410 wxUSE_WEBKIT=no
48411
48412 fi
48413
48414
48415 CPPFLAGS="$old_CPPFLAGS"
48416 elif test "$wxUSE_COCOA" = 1; then
48417 cat >>confdefs.h <<\_ACEOF
48418 #define wxUSE_WEBKIT 1
48419 _ACEOF
48420
48421 else
48422 wxUSE_WEBKIT=no
48423 fi
48424 fi
48425
48426 USE_XRC=0
48427 if test "$wxUSE_XRC" = "yes"; then
48428 if test "$wxUSE_XML" != "yes"; then
48429 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48430 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48431 wxUSE_XRC=no
48432 else
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_XRC 1
48435 _ACEOF
48436
48437 USE_XRC=1
48438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48439 fi
48440 fi
48441
48442 USE_AUI=0
48443 if test "$wxUSE_AUI" = "yes"; then
48444 cat >>confdefs.h <<\_ACEOF
48445 #define wxUSE_AUI 1
48446 _ACEOF
48447
48448 USE_AUI=1
48449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48450 fi
48451
48452 USE_STC=0
48453 if test "$wxUSE_STC" = "yes"; then
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_STC 1
48456 _ACEOF
48457
48458 USE_STC=1
48459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48460 fi
48461
48462 if test "$wxUSE_MENUS" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_MENUS 1
48465 _ACEOF
48466
48467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48468 fi
48469
48470 if test "$wxUSE_METAFILE" = "yes"; then
48471 cat >>confdefs.h <<\_ACEOF
48472 #define wxUSE_METAFILE 1
48473 _ACEOF
48474
48475 fi
48476
48477 if test "$wxUSE_MIMETYPE" = "yes"; then
48478 cat >>confdefs.h <<\_ACEOF
48479 #define wxUSE_MIMETYPE 1
48480 _ACEOF
48481
48482 fi
48483
48484 if test "$wxUSE_MINIFRAME" = "yes"; then
48485 cat >>confdefs.h <<\_ACEOF
48486 #define wxUSE_MINIFRAME 1
48487 _ACEOF
48488
48489 fi
48490
48491 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48492 cat >>confdefs.h <<\_ACEOF
48493 #define wxUSE_SYSTEM_OPTIONS 1
48494 _ACEOF
48495
48496 fi
48497
48498 if test "$wxUSE_TASKBARICON" = "yes"; then
48499 cat >>confdefs.h <<\_ACEOF
48500 #define wxUSE_TASKBARICON 1
48501 _ACEOF
48502
48503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48504 fi
48505
48506
48507 if test "$wxUSE_VALIDATORS" = "yes"; then
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_VALIDATORS 1
48510 _ACEOF
48511
48512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48513 fi
48514
48515 if test "$wxUSE_PALETTE" = "yes" ; then
48516 if test "$wxUSE_DFB" = 1; then
48517 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48518 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48519 wxUSE_PALETTE=no
48520 else
48521 cat >>confdefs.h <<\_ACEOF
48522 #define wxUSE_PALETTE 1
48523 _ACEOF
48524
48525 fi
48526 fi
48527
48528 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48529 LIBS=" -lunicows $LIBS"
48530 fi
48531
48532 USE_RICHTEXT=0
48533 if test "$wxUSE_RICHTEXT" = "yes"; then
48534 cat >>confdefs.h <<\_ACEOF
48535 #define wxUSE_RICHTEXT 1
48536 _ACEOF
48537
48538 USE_RICHTEXT=1
48539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48540 fi
48541
48542
48543 if test "$wxUSE_IMAGE" = "yes" ; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_IMAGE 1
48546 _ACEOF
48547
48548
48549 if test "$wxUSE_GIF" = "yes" ; then
48550 cat >>confdefs.h <<\_ACEOF
48551 #define wxUSE_GIF 1
48552 _ACEOF
48553
48554 fi
48555
48556 if test "$wxUSE_PCX" = "yes" ; then
48557 cat >>confdefs.h <<\_ACEOF
48558 #define wxUSE_PCX 1
48559 _ACEOF
48560
48561 fi
48562
48563 if test "$wxUSE_TGA" = "yes" ; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_TGA 1
48566 _ACEOF
48567
48568 fi
48569
48570 if test "$wxUSE_IFF" = "yes" ; then
48571 cat >>confdefs.h <<\_ACEOF
48572 #define wxUSE_IFF 1
48573 _ACEOF
48574
48575 fi
48576
48577 if test "$wxUSE_PNM" = "yes" ; then
48578 cat >>confdefs.h <<\_ACEOF
48579 #define wxUSE_PNM 1
48580 _ACEOF
48581
48582 fi
48583
48584 if test "$wxUSE_XPM" = "yes" ; then
48585 cat >>confdefs.h <<\_ACEOF
48586 #define wxUSE_XPM 1
48587 _ACEOF
48588
48589 fi
48590
48591 if test "$wxUSE_ICO_CUR" = "yes" ; then
48592 cat >>confdefs.h <<\_ACEOF
48593 #define wxUSE_ICO_CUR 1
48594 _ACEOF
48595
48596 fi
48597 fi
48598
48599
48600 if test "$wxUSE_ABOUTDLG" = "yes"; then
48601 cat >>confdefs.h <<\_ACEOF
48602 #define wxUSE_ABOUTDLG 1
48603 _ACEOF
48604
48605 fi
48606
48607 if test "$wxUSE_CHOICEDLG" = "yes"; then
48608 cat >>confdefs.h <<\_ACEOF
48609 #define wxUSE_CHOICEDLG 1
48610 _ACEOF
48611
48612 fi
48613
48614 if test "$wxUSE_COLOURDLG" = "yes"; then
48615 cat >>confdefs.h <<\_ACEOF
48616 #define wxUSE_COLOURDLG 1
48617 _ACEOF
48618
48619 fi
48620
48621 if test "$wxUSE_FILEDLG" = "yes"; then
48622 cat >>confdefs.h <<\_ACEOF
48623 #define wxUSE_FILEDLG 1
48624 _ACEOF
48625
48626 fi
48627
48628 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48629 cat >>confdefs.h <<\_ACEOF
48630 #define wxUSE_FINDREPLDLG 1
48631 _ACEOF
48632
48633 fi
48634
48635 if test "$wxUSE_FONTDLG" = "yes"; then
48636 cat >>confdefs.h <<\_ACEOF
48637 #define wxUSE_FONTDLG 1
48638 _ACEOF
48639
48640 fi
48641
48642 if test "$wxUSE_DIRDLG" = "yes"; then
48643 if test "$wxUSE_TREECTRL" != "yes"; then
48644 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48645 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48646 else
48647 cat >>confdefs.h <<\_ACEOF
48648 #define wxUSE_DIRDLG 1
48649 _ACEOF
48650
48651 fi
48652 fi
48653
48654 if test "$wxUSE_MSGDLG" = "yes"; then
48655 cat >>confdefs.h <<\_ACEOF
48656 #define wxUSE_MSGDLG 1
48657 _ACEOF
48658
48659 fi
48660
48661 if test "$wxUSE_NUMBERDLG" = "yes"; then
48662 cat >>confdefs.h <<\_ACEOF
48663 #define wxUSE_NUMBERDLG 1
48664 _ACEOF
48665
48666 fi
48667
48668 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48669 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48670 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48671 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48672 else
48673 cat >>confdefs.h <<\_ACEOF
48674 #define wxUSE_PROGRESSDLG 1
48675 _ACEOF
48676
48677 fi
48678 fi
48679
48680 if test "$wxUSE_SPLASH" = "yes"; then
48681 cat >>confdefs.h <<\_ACEOF
48682 #define wxUSE_SPLASH 1
48683 _ACEOF
48684
48685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48686 fi
48687
48688 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48689 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48690 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48691 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48692 else
48693 cat >>confdefs.h <<\_ACEOF
48694 #define wxUSE_STARTUP_TIPS 1
48695 _ACEOF
48696
48697 fi
48698 fi
48699
48700 if test "$wxUSE_TEXTDLG" = "yes"; then
48701 cat >>confdefs.h <<\_ACEOF
48702 #define wxUSE_TEXTDLG 1
48703 _ACEOF
48704
48705 fi
48706
48707 if test "$wxUSE_WIZARDDLG" = "yes"; then
48708 cat >>confdefs.h <<\_ACEOF
48709 #define wxUSE_WIZARDDLG 1
48710 _ACEOF
48711
48712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48713 fi
48714
48715
48716 if test "$wxUSE_MSW" = 1 ; then
48717
48718 if test "$wxUSE_DC_CACHEING" = "yes"; then
48719 cat >>confdefs.h <<\_ACEOF
48720 #define wxUSE_DC_CACHEING 1
48721 _ACEOF
48722
48723 fi
48724
48725 if test "$wxUSE_DIB" = "yes"; then
48726 cat >>confdefs.h <<\_ACEOF
48727 #define wxUSE_WXDIB 1
48728 _ACEOF
48729
48730 fi
48731
48732 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48733 cat >>confdefs.h <<\_ACEOF
48734 #define wxUSE_OWNER_DRAWN 1
48735 _ACEOF
48736
48737 fi
48738
48739 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48740 cat >>confdefs.h <<\_ACEOF
48741 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48742 _ACEOF
48743
48744 fi
48745
48746 if test "$wxUSE_UXTHEME" = "yes"; then
48747 cat >>confdefs.h <<\_ACEOF
48748 #define wxUSE_UXTHEME 1
48749 _ACEOF
48750
48751 fi
48752
48753 fi
48754
48755
48756 if test "$USE_WIN32" = 1 ; then
48757 if test "$wxUSE_INICONF" = "yes"; then
48758 cat >>confdefs.h <<\_ACEOF
48759 #define wxUSE_INICONF 1
48760 _ACEOF
48761
48762 fi
48763
48764 if test "$wxUSE_REGKEY" = "yes"; then
48765 cat >>confdefs.h <<\_ACEOF
48766 #define wxUSE_REGKEY 1
48767 _ACEOF
48768
48769 fi
48770 fi
48771
48772
48773 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48774 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48775 cat >>confdefs.h <<\_ACEOF
48776 #define wxUSE_GRAPHICS_CONTEXT 1
48777 _ACEOF
48778
48779 elif test "$wxUSE_GTK" != 1; then
48780 cat >>confdefs.h <<\_ACEOF
48781 #define wxUSE_GRAPHICS_CONTEXT 1
48782 _ACEOF
48783
48784 else
48785
48786 pkg_failed=no
48787 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48788 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48789
48790 if test -n "$PKG_CONFIG"; then
48791 if test -n "$CAIRO_CFLAGS"; then
48792 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48793 else
48794 if test -n "$PKG_CONFIG" && \
48795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48796 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48797 ac_status=$?
48798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799 (exit $ac_status); }; then
48800 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48801 else
48802 pkg_failed=yes
48803 fi
48804 fi
48805 else
48806 pkg_failed=untried
48807 fi
48808 if test -n "$PKG_CONFIG"; then
48809 if test -n "$CAIRO_LIBS"; then
48810 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48811 else
48812 if test -n "$PKG_CONFIG" && \
48813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48814 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48815 ac_status=$?
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); }; then
48818 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48819 else
48820 pkg_failed=yes
48821 fi
48822 fi
48823 else
48824 pkg_failed=untried
48825 fi
48826
48827
48828
48829 if test $pkg_failed = yes; then
48830
48831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48832 _pkg_short_errors_supported=yes
48833 else
48834 _pkg_short_errors_supported=no
48835 fi
48836 if test $_pkg_short_errors_supported = yes; then
48837 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48838 else
48839 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48840 fi
48841 # Put the nasty error message in config.log where it belongs
48842 echo "$CAIRO_PKG_ERRORS" >&5
48843
48844 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48845 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48846
48847 elif test $pkg_failed = untried; then
48848 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48849 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48850
48851 else
48852 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48853 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48854 { echo "$as_me:$LINENO: result: yes" >&5
48855 echo "${ECHO_T}yes" >&6; }
48856 cat >>confdefs.h <<\_ACEOF
48857 #define wxUSE_GRAPHICS_CONTEXT 1
48858 _ACEOF
48859
48860 fi
48861 fi
48862 fi
48863
48864
48865 USE_MEDIA=0
48866
48867 if test "$wxUSE_MEDIACTRL" = "yes"; then
48868 USE_MEDIA=1
48869
48870 if test "$wxUSE_GTK" = 1; then
48871 wxUSE_GSTREAMER="no"
48872
48873 GST_VERSION_MAJOR=0
48874 GST_VERSION_MINOR=10
48875 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48876
48877 if test "$wxUSE_GSTREAMER8" = "no"; then
48878
48879 pkg_failed=no
48880 { echo "$as_me:$LINENO: checking for GST" >&5
48881 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48882
48883 if test -n "$PKG_CONFIG"; then
48884 if test -n "$GST_CFLAGS"; then
48885 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48886 else
48887 if test -n "$PKG_CONFIG" && \
48888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48889 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48890 ac_status=$?
48891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892 (exit $ac_status); }; then
48893 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48894 else
48895 pkg_failed=yes
48896 fi
48897 fi
48898 else
48899 pkg_failed=untried
48900 fi
48901 if test -n "$PKG_CONFIG"; then
48902 if test -n "$GST_LIBS"; then
48903 pkg_cv_GST_LIBS="$GST_LIBS"
48904 else
48905 if test -n "$PKG_CONFIG" && \
48906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48907 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48908 ac_status=$?
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); }; then
48911 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48912 else
48913 pkg_failed=yes
48914 fi
48915 fi
48916 else
48917 pkg_failed=untried
48918 fi
48919
48920
48921
48922 if test $pkg_failed = yes; then
48923
48924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48925 _pkg_short_errors_supported=yes
48926 else
48927 _pkg_short_errors_supported=no
48928 fi
48929 if test $_pkg_short_errors_supported = yes; then
48930 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48931 else
48932 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48933 fi
48934 # Put the nasty error message in config.log where it belongs
48935 echo "$GST_PKG_ERRORS" >&5
48936
48937
48938 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48939 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48940 GST_VERSION_MINOR=8
48941
48942
48943 elif test $pkg_failed = untried; then
48944
48945 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48946 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48947 GST_VERSION_MINOR=8
48948
48949
48950 else
48951 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48952 GST_LIBS=$pkg_cv_GST_LIBS
48953 { echo "$as_me:$LINENO: result: yes" >&5
48954 echo "${ECHO_T}yes" >&6; }
48955
48956 wxUSE_GSTREAMER="yes"
48957 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48958
48959 fi
48960 else
48961 GST_VERSION_MINOR=8
48962 fi
48963
48964 if test $GST_VERSION_MINOR = "8"; then
48965 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48966
48967 pkg_failed=no
48968 { echo "$as_me:$LINENO: checking for GST" >&5
48969 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48970
48971 if test -n "$PKG_CONFIG"; then
48972 if test -n "$GST_CFLAGS"; then
48973 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48974 else
48975 if test -n "$PKG_CONFIG" && \
48976 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48977 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48978 ac_status=$?
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); }; then
48981 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48982 else
48983 pkg_failed=yes
48984 fi
48985 fi
48986 else
48987 pkg_failed=untried
48988 fi
48989 if test -n "$PKG_CONFIG"; then
48990 if test -n "$GST_LIBS"; then
48991 pkg_cv_GST_LIBS="$GST_LIBS"
48992 else
48993 if test -n "$PKG_CONFIG" && \
48994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48995 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48996 ac_status=$?
48997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48998 (exit $ac_status); }; then
48999 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49000 else
49001 pkg_failed=yes
49002 fi
49003 fi
49004 else
49005 pkg_failed=untried
49006 fi
49007
49008
49009
49010 if test $pkg_failed = yes; then
49011
49012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49013 _pkg_short_errors_supported=yes
49014 else
49015 _pkg_short_errors_supported=no
49016 fi
49017 if test $_pkg_short_errors_supported = yes; then
49018 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49019 else
49020 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49021 fi
49022 # Put the nasty error message in config.log where it belongs
49023 echo "$GST_PKG_ERRORS" >&5
49024
49025
49026 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49027 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49028
49029 elif test $pkg_failed = untried; then
49030
49031 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49032 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49033
49034 else
49035 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49036 GST_LIBS=$pkg_cv_GST_LIBS
49037 { echo "$as_me:$LINENO: result: yes" >&5
49038 echo "${ECHO_T}yes" >&6; }
49039 wxUSE_GSTREAMER="yes"
49040 fi
49041 fi
49042
49043
49044 if test "$wxUSE_GSTREAMER" = "yes"; then
49045 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49046 LIBS="$GST_LIBS $LIBS"
49047
49048 cat >>confdefs.h <<\_ACEOF
49049 #define wxUSE_GSTREAMER 1
49050 _ACEOF
49051
49052 else
49053 USE_MEDIA=0
49054 fi
49055 fi
49056
49057 if test $USE_MEDIA = 1; then
49058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49059 cat >>confdefs.h <<\_ACEOF
49060 #define wxUSE_MEDIACTRL 1
49061 _ACEOF
49062
49063 fi
49064 fi
49065
49066
49067 if test "$cross_compiling" = "yes"; then
49068 OSINFO="\"$host\""
49069 else
49070 OSINFO=`uname -s -r -m`
49071 OSINFO="\"$OSINFO\""
49072 fi
49073
49074 cat >>confdefs.h <<_ACEOF
49075 #define WXWIN_OS_DESCRIPTION $OSINFO
49076 _ACEOF
49077
49078
49079
49080 if test "x$prefix" != "xNONE"; then
49081 wxPREFIX=$prefix
49082 else
49083 wxPREFIX=$ac_default_prefix
49084 fi
49085
49086 cat >>confdefs.h <<_ACEOF
49087 #define wxINSTALL_PREFIX "$wxPREFIX"
49088 _ACEOF
49089
49090
49091
49092
49093 STD_BASE_LIBS="base"
49094 STD_GUI_LIBS=""
49095 BUILT_WX_LIBS="base"
49096 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49097
49098 if test "$wxUSE_SOCKETS" = "yes" ; then
49099 STD_BASE_LIBS="net $STD_BASE_LIBS"
49100 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49101 fi
49102 if test "$wxUSE_XML" = "yes" ; then
49103 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49104 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49105 fi
49106
49107 if test "$wxUSE_GUI" = "yes"; then
49108 STD_GUI_LIBS="adv core"
49109 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49110
49111 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49112 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49113 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49114 fi
49115 if test "$wxUSE_HTML" = "yes" ; then
49116 STD_GUI_LIBS="html $STD_GUI_LIBS"
49117 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49118 fi
49119 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49120 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49121 fi
49122 if test "$wxUSE_OPENGL" = "yes" ; then
49123 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49124 fi
49125 if test "$wxUSE_AUI" = "yes" ; then
49126 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49127 fi
49128 if test "$wxUSE_STC" = "yes" ; then
49129 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49130 fi
49131 if test "$wxUSE_XRC" = "yes" ; then
49132 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49133 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49134 fi
49135 fi
49136
49137
49138
49139
49140
49141
49142
49143
49144 if test "$wxUSE_MAC" = 1 ; then
49145 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49146 if test "$USE_DARWIN" = 1; then
49147 LDFLAGS="$LDFLAGS -framework QuickTime"
49148 else
49149 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49150 fi
49151 fi
49152 if test "$USE_DARWIN" = 1; then
49153 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49154 else
49155 LDFLAGS="$LDFLAGS -lCarbonLib"
49156 fi
49157 fi
49158 if test "$wxUSE_COCOA" = 1 ; then
49159 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49160 if test "$wxUSE_MEDIACTRL" = "yes"; then
49161 LDFLAGS="$LDFLAGS -framework QuickTime"
49162 fi
49163 fi
49164 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49165 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49166 fi
49167
49168 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49169
49170 if test "$wxUSE_GUI" = "yes"; then
49171
49172
49173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49174 erase event exec font image minimal mobile \
49175 mobile/wxedit mobile/styles render \
49176 shaped svg taborder vscroll widgets"
49177
49178 if test "$wxUSE_MONOLITHIC" != "yes"; then
49179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49180 fi
49181 if test "$TOOLKIT" = "MSW"; then
49182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49183 if test "$wxUSE_UNIVERSAL" != "yes"; then
49184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49185 fi
49186 fi
49187 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49189 fi
49190 else
49191 SAMPLES_SUBDIRS="console"
49192 fi
49193
49194
49195 if test "x$INTELCC" = "xyes" ; then
49196 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49197 elif test "$GCC" = yes ; then
49198 CWARNINGS="-Wall -Wundef"
49199 fi
49200
49201 if test "x$INTELCXX" = "xyes" ; then
49202 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49203 elif test "$GXX" = yes ; then
49204 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49205 fi
49206
49207
49208 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49209 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49210
49211
49212 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49213 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49214 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49215 $CPPFLAGS `
49216
49217 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49218 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49219 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49220
49221 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49222
49223
49224 if test "x$MWCC" = "xyes"; then
49225
49226 CC="$CC -cwd source -I-"
49227 CXX="$CXX -cwd source -I-"
49228 fi
49229
49230
49231 LIBS=`echo $LIBS`
49232 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49233 EXTRALIBS_XML="$EXPAT_LINK"
49234 EXTRALIBS_HTML="$MSPACK_LINK"
49235 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49236 if test "$wxUSE_GUI" = "yes"; then
49237 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49238 fi
49239 if test "$wxUSE_OPENGL" = "yes"; then
49240 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49241 fi
49242
49243 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49244
49245 WXCONFIG_LIBS="$LIBS"
49246
49247 if test "$wxUSE_REGEX" = "builtin" ; then
49248 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49249 fi
49250 if test "$wxUSE_EXPAT" = "builtin" ; then
49251 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49252 fi
49253 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49254 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49255 fi
49256 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49257 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49258 fi
49259 if test "$wxUSE_LIBPNG" = "builtin" ; then
49260 wxconfig_3rdparty="png $wxconfig_3rdparty"
49261 fi
49262 if test "$wxUSE_ZLIB" = "builtin" ; then
49263 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49264 fi
49265
49266 for i in $wxconfig_3rdparty ; do
49267 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49268 done
49269
49270
49271 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49272 WXUNIV=1
49273
49274 case "$wxUNIV_THEMES" in
49275 ''|all)
49276 cat >>confdefs.h <<\_ACEOF
49277 #define wxUSE_ALL_THEMES 1
49278 _ACEOF
49279
49280 ;;
49281
49282 *)
49283 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49284 cat >>confdefs.h <<_ACEOF
49285 #define wxUSE_THEME_$t 1
49286 _ACEOF
49287
49288 done
49289 esac
49290 else
49291 WXUNIV=0
49292 fi
49293
49294
49295
49296
49297
49298
49299
49300
49301 if test $wxUSE_MONOLITHIC = "yes" ; then
49302 MONOLITHIC=1
49303 else
49304 MONOLITHIC=0
49305 fi
49306
49307 if test $wxUSE_PLUGINS = "yes" ; then
49308 USE_PLUGINS=1
49309 else
49310 USE_PLUGINS=0
49311 fi
49312
49313 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49314 USE_QA=1
49315 else
49316 USE_QA=0
49317 fi
49318
49319 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49320 OFFICIAL_BUILD=1
49321 else
49322 OFFICIAL_BUILD=0
49323 fi
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344
49345
49346
49347
49348
49349
49350 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49351
49352
49353
49354
49355
49356
49357
49358
49359 case "$TOOLKIT" in
49360 GTK)
49361 TOOLKIT_DESC="GTK+"
49362 if test "$WXGTK20" = 1; then
49363 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49364 if test "$wxUSE_GTKPRINT" = "yes" ; then
49365 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49366 fi
49367 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49368 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49369 fi
49370 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49371 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49372 fi
49373 if test "$wxUSE_LIBHILDON" = "yes"; then
49374 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49375 fi
49376
49377 if test "$TOOLKIT_EXTRA" != ""; then
49378 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49379 fi
49380 fi
49381 ;;
49382
49383 ?*)
49384 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49385 ;;
49386
49387 *)
49388 TOOLKIT_DESC="base only"
49389 ;;
49390 esac
49391
49392 if test "$wxUSE_WINE" = "yes"; then
49393 BAKEFILE_FORCE_PLATFORM=win32
49394 fi
49395
49396 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49397 then
49398 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49399 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49400 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49401 echo $ECHO_N "(cached) $ECHO_C" >&6
49402 else
49403
49404 echo '#include <stdio.h>
49405 const wchar_t test_var[] = L"awidetest";' > conftest.h
49406
49407 echo '#include "conftest.h"
49408 int main()
49409 {
49410 printf("%ls", test_var);
49411 return 0;
49412 }' > conftest.cpp
49413
49414 wx_cv_gcc_pch_bug="pch not supported"
49415
49416 if $CXX conftest.h >/dev/null 2>&1
49417 then
49418 wx_cv_gcc_pch_bug=
49419
49420 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49421 then
49422 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49423 grep awidetest >/dev/null
49424 then
49425 wx_cv_gcc_pch_bug=no
49426 else
49427 wx_cv_gcc_pch_bug=yes
49428 fi
49429 fi
49430 fi
49431
49432 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49433
49434 fi
49435 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49436 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49437
49438 if test "$wx_cv_gcc_pch_bug" = yes; then
49439 bk_use_pch=no
49440 fi
49441 fi
49442
49443
49444
49445
49446 if test "x$BAKEFILE_HOST" = "x"; then
49447 if test "x${host}" = "x" ; then
49448 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49449 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49450 { (exit 1); exit 1; }; }
49451 fi
49452
49453 BAKEFILE_HOST="${host}"
49454 fi
49455
49456 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49457
49458 if test -n "$ac_tool_prefix"; then
49459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49463 if test "${ac_cv_prog_RANLIB+set}" = set; then
49464 echo $ECHO_N "(cached) $ECHO_C" >&6
49465 else
49466 if test -n "$RANLIB"; then
49467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49468 else
49469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49470 for as_dir in $PATH
49471 do
49472 IFS=$as_save_IFS
49473 test -z "$as_dir" && as_dir=.
49474 for ac_exec_ext in '' $ac_executable_extensions; do
49475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49478 break 2
49479 fi
49480 done
49481 done
49482 IFS=$as_save_IFS
49483
49484 fi
49485 fi
49486 RANLIB=$ac_cv_prog_RANLIB
49487 if test -n "$RANLIB"; then
49488 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49489 echo "${ECHO_T}$RANLIB" >&6; }
49490 else
49491 { echo "$as_me:$LINENO: result: no" >&5
49492 echo "${ECHO_T}no" >&6; }
49493 fi
49494
49495
49496 fi
49497 if test -z "$ac_cv_prog_RANLIB"; then
49498 ac_ct_RANLIB=$RANLIB
49499 # Extract the first word of "ranlib", so it can be a program name with args.
49500 set dummy ranlib; ac_word=$2
49501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49504 echo $ECHO_N "(cached) $ECHO_C" >&6
49505 else
49506 if test -n "$ac_ct_RANLIB"; then
49507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49508 else
49509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49510 for as_dir in $PATH
49511 do
49512 IFS=$as_save_IFS
49513 test -z "$as_dir" && as_dir=.
49514 for ac_exec_ext in '' $ac_executable_extensions; do
49515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49516 ac_cv_prog_ac_ct_RANLIB="ranlib"
49517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49518 break 2
49519 fi
49520 done
49521 done
49522 IFS=$as_save_IFS
49523
49524 fi
49525 fi
49526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49527 if test -n "$ac_ct_RANLIB"; then
49528 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49529 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49530 else
49531 { echo "$as_me:$LINENO: result: no" >&5
49532 echo "${ECHO_T}no" >&6; }
49533 fi
49534
49535 if test "x$ac_ct_RANLIB" = x; then
49536 RANLIB=":"
49537 else
49538 case $cross_compiling:$ac_tool_warned in
49539 yes:)
49540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49541 whose name does not start with the host triplet. If you think this
49542 configuration is useful to you, please write to autoconf@gnu.org." >&5
49543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49544 whose name does not start with the host triplet. If you think this
49545 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49546 ac_tool_warned=yes ;;
49547 esac
49548 RANLIB=$ac_ct_RANLIB
49549 fi
49550 else
49551 RANLIB="$ac_cv_prog_RANLIB"
49552 fi
49553
49554 # Find a good install program. We prefer a C program (faster),
49555 # so one script is as good as another. But avoid the broken or
49556 # incompatible versions:
49557 # SysV /etc/install, /usr/sbin/install
49558 # SunOS /usr/etc/install
49559 # IRIX /sbin/install
49560 # AIX /bin/install
49561 # AmigaOS /C/install, which installs bootblocks on floppy discs
49562 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49565 # OS/2's system install, which has a completely different semantic
49566 # ./install, which can be erroneously created by make from ./install.sh.
49567 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49568 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49569 if test -z "$INSTALL"; then
49570 if test "${ac_cv_path_install+set}" = set; then
49571 echo $ECHO_N "(cached) $ECHO_C" >&6
49572 else
49573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49574 for as_dir in $PATH
49575 do
49576 IFS=$as_save_IFS
49577 test -z "$as_dir" && as_dir=.
49578 # Account for people who put trailing slashes in PATH elements.
49579 case $as_dir/ in
49580 ./ | .// | /cC/* | \
49581 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49582 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49583 /usr/ucb/* ) ;;
49584 *)
49585 # OSF1 and SCO ODT 3.0 have their own names for install.
49586 # Don't use installbsd from OSF since it installs stuff as root
49587 # by default.
49588 for ac_prog in ginstall scoinst install; do
49589 for ac_exec_ext in '' $ac_executable_extensions; do
49590 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49591 if test $ac_prog = install &&
49592 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49593 # AIX install. It has an incompatible calling convention.
49594 :
49595 elif test $ac_prog = install &&
49596 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49597 # program-specific install script used by HP pwplus--don't use.
49598 :
49599 else
49600 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49601 break 3
49602 fi
49603 fi
49604 done
49605 done
49606 ;;
49607 esac
49608 done
49609 IFS=$as_save_IFS
49610
49611
49612 fi
49613 if test "${ac_cv_path_install+set}" = set; then
49614 INSTALL=$ac_cv_path_install
49615 else
49616 # As a last resort, use the slow shell script. Don't cache a
49617 # value for INSTALL within a source directory, because that will
49618 # break other packages using the cache if that directory is
49619 # removed, or if the value is a relative name.
49620 INSTALL=$ac_install_sh
49621 fi
49622 fi
49623 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49624 echo "${ECHO_T}$INSTALL" >&6; }
49625
49626 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49627 # It thinks the first close brace ends the variable substitution.
49628 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49629
49630 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49631
49632 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49633
49634 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49635 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49636 LN_S=$as_ln_s
49637 if test "$LN_S" = "ln -s"; then
49638 { echo "$as_me:$LINENO: result: yes" >&5
49639 echo "${ECHO_T}yes" >&6; }
49640 else
49641 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49642 echo "${ECHO_T}no, using $LN_S" >&6; }
49643 fi
49644
49645
49646 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49647 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49648 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49649 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49650 echo $ECHO_N "(cached) $ECHO_C" >&6
49651 else
49652 cat >conftest.make <<\_ACEOF
49653 SHELL = /bin/sh
49654 all:
49655 @echo '@@@%%%=$(MAKE)=@@@%%%'
49656 _ACEOF
49657 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49658 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49659 *@@@%%%=?*=@@@%%%*)
49660 eval ac_cv_prog_make_${ac_make}_set=yes;;
49661 *)
49662 eval ac_cv_prog_make_${ac_make}_set=no;;
49663 esac
49664 rm -f conftest.make
49665 fi
49666 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49667 { echo "$as_me:$LINENO: result: yes" >&5
49668 echo "${ECHO_T}yes" >&6; }
49669 SET_MAKE=
49670 else
49671 { echo "$as_me:$LINENO: result: no" >&5
49672 echo "${ECHO_T}no" >&6; }
49673 SET_MAKE="MAKE=${MAKE-make}"
49674 fi
49675
49676
49677
49678 if test "x$SUNCXX" = "xyes"; then
49679 AR=$CXX
49680 AROPTIONS="-xar -o"
49681
49682 elif test "x$SGICC" = "xyes"; then
49683 AR=$CXX
49684 AROPTIONS="-ar -o"
49685
49686 else
49687 if test -n "$ac_tool_prefix"; then
49688 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49689 set dummy ${ac_tool_prefix}ar; ac_word=$2
49690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49692 if test "${ac_cv_prog_AR+set}" = set; then
49693 echo $ECHO_N "(cached) $ECHO_C" >&6
49694 else
49695 if test -n "$AR"; then
49696 ac_cv_prog_AR="$AR" # Let the user override the test.
49697 else
49698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49699 for as_dir in $PATH
49700 do
49701 IFS=$as_save_IFS
49702 test -z "$as_dir" && as_dir=.
49703 for ac_exec_ext in '' $ac_executable_extensions; do
49704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49705 ac_cv_prog_AR="${ac_tool_prefix}ar"
49706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49707 break 2
49708 fi
49709 done
49710 done
49711 IFS=$as_save_IFS
49712
49713 fi
49714 fi
49715 AR=$ac_cv_prog_AR
49716 if test -n "$AR"; then
49717 { echo "$as_me:$LINENO: result: $AR" >&5
49718 echo "${ECHO_T}$AR" >&6; }
49719 else
49720 { echo "$as_me:$LINENO: result: no" >&5
49721 echo "${ECHO_T}no" >&6; }
49722 fi
49723
49724
49725 fi
49726 if test -z "$ac_cv_prog_AR"; then
49727 ac_ct_AR=$AR
49728 # Extract the first word of "ar", so it can be a program name with args.
49729 set dummy ar; ac_word=$2
49730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49732 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49733 echo $ECHO_N "(cached) $ECHO_C" >&6
49734 else
49735 if test -n "$ac_ct_AR"; then
49736 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49737 else
49738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49739 for as_dir in $PATH
49740 do
49741 IFS=$as_save_IFS
49742 test -z "$as_dir" && as_dir=.
49743 for ac_exec_ext in '' $ac_executable_extensions; do
49744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49745 ac_cv_prog_ac_ct_AR="ar"
49746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49747 break 2
49748 fi
49749 done
49750 done
49751 IFS=$as_save_IFS
49752
49753 fi
49754 fi
49755 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49756 if test -n "$ac_ct_AR"; then
49757 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49758 echo "${ECHO_T}$ac_ct_AR" >&6; }
49759 else
49760 { echo "$as_me:$LINENO: result: no" >&5
49761 echo "${ECHO_T}no" >&6; }
49762 fi
49763
49764 if test "x$ac_ct_AR" = x; then
49765 AR="ar"
49766 else
49767 case $cross_compiling:$ac_tool_warned in
49768 yes:)
49769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49770 whose name does not start with the host triplet. If you think this
49771 configuration is useful to you, please write to autoconf@gnu.org." >&5
49772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49773 whose name does not start with the host triplet. If you think this
49774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49775 ac_tool_warned=yes ;;
49776 esac
49777 AR=$ac_ct_AR
49778 fi
49779 else
49780 AR="$ac_cv_prog_AR"
49781 fi
49782
49783 AROPTIONS=rcu
49784 fi
49785
49786
49787 if test -n "$ac_tool_prefix"; then
49788 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49789 set dummy ${ac_tool_prefix}strip; ac_word=$2
49790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49792 if test "${ac_cv_prog_STRIP+set}" = set; then
49793 echo $ECHO_N "(cached) $ECHO_C" >&6
49794 else
49795 if test -n "$STRIP"; then
49796 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49797 else
49798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49799 for as_dir in $PATH
49800 do
49801 IFS=$as_save_IFS
49802 test -z "$as_dir" && as_dir=.
49803 for ac_exec_ext in '' $ac_executable_extensions; do
49804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49805 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49807 break 2
49808 fi
49809 done
49810 done
49811 IFS=$as_save_IFS
49812
49813 fi
49814 fi
49815 STRIP=$ac_cv_prog_STRIP
49816 if test -n "$STRIP"; then
49817 { echo "$as_me:$LINENO: result: $STRIP" >&5
49818 echo "${ECHO_T}$STRIP" >&6; }
49819 else
49820 { echo "$as_me:$LINENO: result: no" >&5
49821 echo "${ECHO_T}no" >&6; }
49822 fi
49823
49824
49825 fi
49826 if test -z "$ac_cv_prog_STRIP"; then
49827 ac_ct_STRIP=$STRIP
49828 # Extract the first word of "strip", so it can be a program name with args.
49829 set dummy strip; ac_word=$2
49830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49832 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49833 echo $ECHO_N "(cached) $ECHO_C" >&6
49834 else
49835 if test -n "$ac_ct_STRIP"; then
49836 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49837 else
49838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49839 for as_dir in $PATH
49840 do
49841 IFS=$as_save_IFS
49842 test -z "$as_dir" && as_dir=.
49843 for ac_exec_ext in '' $ac_executable_extensions; do
49844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49845 ac_cv_prog_ac_ct_STRIP="strip"
49846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49847 break 2
49848 fi
49849 done
49850 done
49851 IFS=$as_save_IFS
49852
49853 fi
49854 fi
49855 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49856 if test -n "$ac_ct_STRIP"; then
49857 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49858 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49859 else
49860 { echo "$as_me:$LINENO: result: no" >&5
49861 echo "${ECHO_T}no" >&6; }
49862 fi
49863
49864 if test "x$ac_ct_STRIP" = x; then
49865 STRIP=":"
49866 else
49867 case $cross_compiling:$ac_tool_warned in
49868 yes:)
49869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49870 whose name does not start with the host triplet. If you think this
49871 configuration is useful to you, please write to autoconf@gnu.org." >&5
49872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49873 whose name does not start with the host triplet. If you think this
49874 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49875 ac_tool_warned=yes ;;
49876 esac
49877 STRIP=$ac_ct_STRIP
49878 fi
49879 else
49880 STRIP="$ac_cv_prog_STRIP"
49881 fi
49882
49883 if test -n "$ac_tool_prefix"; then
49884 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49885 set dummy ${ac_tool_prefix}nm; ac_word=$2
49886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49888 if test "${ac_cv_prog_NM+set}" = set; then
49889 echo $ECHO_N "(cached) $ECHO_C" >&6
49890 else
49891 if test -n "$NM"; then
49892 ac_cv_prog_NM="$NM" # Let the user override the test.
49893 else
49894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49895 for as_dir in $PATH
49896 do
49897 IFS=$as_save_IFS
49898 test -z "$as_dir" && as_dir=.
49899 for ac_exec_ext in '' $ac_executable_extensions; do
49900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49901 ac_cv_prog_NM="${ac_tool_prefix}nm"
49902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49903 break 2
49904 fi
49905 done
49906 done
49907 IFS=$as_save_IFS
49908
49909 fi
49910 fi
49911 NM=$ac_cv_prog_NM
49912 if test -n "$NM"; then
49913 { echo "$as_me:$LINENO: result: $NM" >&5
49914 echo "${ECHO_T}$NM" >&6; }
49915 else
49916 { echo "$as_me:$LINENO: result: no" >&5
49917 echo "${ECHO_T}no" >&6; }
49918 fi
49919
49920
49921 fi
49922 if test -z "$ac_cv_prog_NM"; then
49923 ac_ct_NM=$NM
49924 # Extract the first word of "nm", so it can be a program name with args.
49925 set dummy nm; ac_word=$2
49926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49928 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49929 echo $ECHO_N "(cached) $ECHO_C" >&6
49930 else
49931 if test -n "$ac_ct_NM"; then
49932 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49933 else
49934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49935 for as_dir in $PATH
49936 do
49937 IFS=$as_save_IFS
49938 test -z "$as_dir" && as_dir=.
49939 for ac_exec_ext in '' $ac_executable_extensions; do
49940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49941 ac_cv_prog_ac_ct_NM="nm"
49942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49943 break 2
49944 fi
49945 done
49946 done
49947 IFS=$as_save_IFS
49948
49949 fi
49950 fi
49951 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49952 if test -n "$ac_ct_NM"; then
49953 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49954 echo "${ECHO_T}$ac_ct_NM" >&6; }
49955 else
49956 { echo "$as_me:$LINENO: result: no" >&5
49957 echo "${ECHO_T}no" >&6; }
49958 fi
49959
49960 if test "x$ac_ct_NM" = x; then
49961 NM=":"
49962 else
49963 case $cross_compiling:$ac_tool_warned in
49964 yes:)
49965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49966 whose name does not start with the host triplet. If you think this
49967 configuration is useful to you, please write to autoconf@gnu.org." >&5
49968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49969 whose name does not start with the host triplet. If you think this
49970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49971 ac_tool_warned=yes ;;
49972 esac
49973 NM=$ac_ct_NM
49974 fi
49975 else
49976 NM="$ac_cv_prog_NM"
49977 fi
49978
49979
49980 case ${BAKEFILE_HOST} in
49981 *-hp-hpux* )
49982 INSTALL_DIR="mkdir -p"
49983 ;;
49984 * )
49985 INSTALL_DIR='$(INSTALL) -d'
49986 ;;
49987 esac
49988
49989
49990 LDFLAGS_GUI=
49991 case ${BAKEFILE_HOST} in
49992 *-*-cygwin* | *-*-mingw32* )
49993 LDFLAGS_GUI="-mwindows"
49994 esac
49995
49996
49997 fi
49998
49999 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50000 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50001 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50002 echo $ECHO_N "(cached) $ECHO_C" >&6
50003 else
50004
50005 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50006 egrep -s GNU > /dev/null); then
50007 bakefile_cv_prog_makeisgnu="yes"
50008 else
50009 bakefile_cv_prog_makeisgnu="no"
50010 fi
50011
50012 fi
50013 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50014 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50015
50016 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50017 IF_GNU_MAKE=""
50018 else
50019 IF_GNU_MAKE="#"
50020 fi
50021
50022
50023
50024 PLATFORM_UNIX=0
50025 PLATFORM_WIN32=0
50026 PLATFORM_MSDOS=0
50027 PLATFORM_MAC=0
50028 PLATFORM_MACOS=0
50029 PLATFORM_MACOSX=0
50030 PLATFORM_OS2=0
50031 PLATFORM_BEOS=0
50032
50033 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50034 case "${BAKEFILE_HOST}" in
50035 *-*-mingw32* )
50036 PLATFORM_WIN32=1
50037 ;;
50038 *-pc-msdosdjgpp )
50039 PLATFORM_MSDOS=1
50040 ;;
50041 *-pc-os2_emx | *-pc-os2-emx )
50042 PLATFORM_OS2=1
50043 ;;
50044 *-*-darwin* )
50045 PLATFORM_MAC=1
50046 PLATFORM_MACOSX=1
50047 ;;
50048 *-*-beos* )
50049 PLATFORM_BEOS=1
50050 ;;
50051 powerpc-apple-macos* )
50052 PLATFORM_MAC=1
50053 PLATFORM_MACOS=1
50054 ;;
50055 * )
50056 PLATFORM_UNIX=1
50057 ;;
50058 esac
50059 else
50060 case "$BAKEFILE_FORCE_PLATFORM" in
50061 win32 )
50062 PLATFORM_WIN32=1
50063 ;;
50064 msdos )
50065 PLATFORM_MSDOS=1
50066 ;;
50067 os2 )
50068 PLATFORM_OS2=1
50069 ;;
50070 darwin )
50071 PLATFORM_MAC=1
50072 PLATFORM_MACOSX=1
50073 ;;
50074 unix )
50075 PLATFORM_UNIX=1
50076 ;;
50077 beos )
50078 PLATFORM_BEOS=1
50079 ;;
50080 * )
50081 ;;
50082 esac
50083 fi
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095 # Check whether --enable-omf was given.
50096 if test "${enable_omf+set}" = set; then
50097 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50098 fi
50099
50100
50101 case "${BAKEFILE_HOST}" in
50102 *-*-darwin* )
50103 if test "x$GCC" = "xyes"; then
50104 CFLAGS="$CFLAGS -fno-common"
50105 CXXFLAGS="$CXXFLAGS -fno-common"
50106 fi
50107 if test "x$XLCC" = "xyes"; then
50108 CFLAGS="$CFLAGS -qnocommon"
50109 CXXFLAGS="$CXXFLAGS -qnocommon"
50110 fi
50111 ;;
50112
50113 *-pc-os2_emx | *-pc-os2-emx )
50114 if test "x$bk_os2_use_omf" = "xyes" ; then
50115 AR=emxomfar
50116 RANLIB=:
50117 LDFLAGS="-Zomf $LDFLAGS"
50118 CFLAGS="-Zomf $CFLAGS"
50119 CXXFLAGS="-Zomf $CXXFLAGS"
50120 OS2_LIBEXT="lib"
50121 else
50122 OS2_LIBEXT="a"
50123 fi
50124 ;;
50125
50126 i*86-*-beos* )
50127 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50128 ;;
50129 esac
50130
50131
50132 SO_SUFFIX="so"
50133 SO_SUFFIX_MODULE="so"
50134 EXEEXT=""
50135 LIBPREFIX="lib"
50136 LIBEXT=".a"
50137 DLLPREFIX="lib"
50138 DLLPREFIX_MODULE=""
50139 DLLIMP_SUFFIX=""
50140 dlldir="$libdir"
50141
50142 case "${BAKEFILE_HOST}" in
50143 *-hp-hpux* )
50144 SO_SUFFIX="sl"
50145 SO_SUFFIX_MODULE="sl"
50146 ;;
50147 *-*-aix* )
50148 SO_SUFFIX="a"
50149 SO_SUFFIX_MODULE="a"
50150 ;;
50151 *-*-cygwin* )
50152 SO_SUFFIX="dll"
50153 SO_SUFFIX_MODULE="dll"
50154 DLLIMP_SUFFIX="dll.a"
50155 EXEEXT=".exe"
50156 DLLPREFIX="cyg"
50157 dlldir="$bindir"
50158 ;;
50159 *-*-mingw32* )
50160 SO_SUFFIX="dll"
50161 SO_SUFFIX_MODULE="dll"
50162 DLLIMP_SUFFIX="dll.a"
50163 EXEEXT=".exe"
50164 DLLPREFIX=""
50165 dlldir="$bindir"
50166 ;;
50167 *-pc-msdosdjgpp )
50168 EXEEXT=".exe"
50169 DLLPREFIX=""
50170 dlldir="$bindir"
50171 ;;
50172 *-pc-os2_emx | *-pc-os2-emx )
50173 SO_SUFFIX="dll"
50174 SO_SUFFIX_MODULE="dll"
50175 DLLIMP_SUFFIX=$OS2_LIBEXT
50176 EXEEXT=".exe"
50177 DLLPREFIX=""
50178 LIBPREFIX=""
50179 LIBEXT=".$OS2_LIBEXT"
50180 dlldir="$bindir"
50181 ;;
50182 *-*-darwin* )
50183 SO_SUFFIX="dylib"
50184 SO_SUFFIX_MODULE="bundle"
50185 ;;
50186 esac
50187
50188 if test "x$DLLIMP_SUFFIX" = "x" ; then
50189 DLLIMP_SUFFIX="$SO_SUFFIX"
50190 fi
50191
50192
50193
50194
50195
50196
50197
50198
50199
50200
50201
50202
50203 PIC_FLAG=""
50204 if test "x$GCC" = "xyes"; then
50205 PIC_FLAG="-fPIC"
50206 fi
50207
50208 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50209 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50210 WINDOWS_IMPLIB=0
50211
50212 case "${BAKEFILE_HOST}" in
50213 *-hp-hpux* )
50214 if test "x$GCC" != "xyes"; then
50215 LDFLAGS="$LDFLAGS -L/usr/lib"
50216
50217 SHARED_LD_CC="${CC} -b -o"
50218 SHARED_LD_CXX="${CXX} -b -o"
50219 PIC_FLAG="+Z"
50220 fi
50221 ;;
50222
50223 *-*-linux* )
50224 if test "$INTELCC" = "yes"; then
50225 PIC_FLAG="-KPIC"
50226 elif test "x$SUNCXX" = "xyes"; then
50227 SHARED_LD_CC="${CC} -G -o"
50228 SHARED_LD_CXX="${CXX} -G -o"
50229 PIC_FLAG="-KPIC"
50230 fi
50231 ;;
50232
50233 *-*-solaris2* )
50234 if test "x$SUNCXX" = xyes ; then
50235 SHARED_LD_CC="${CC} -G -o"
50236 SHARED_LD_CXX="${CXX} -G -o"
50237 PIC_FLAG="-KPIC"
50238 fi
50239 ;;
50240
50241 *-*-darwin* )
50242
50243 D='$'
50244 cat <<EOF >shared-ld-sh
50245 #!/bin/sh
50246 #-----------------------------------------------------------------------------
50247 #-- Name: distrib/mac/shared-ld-sh
50248 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50249 #-- Author: Gilles Depeyrot
50250 #-- Copyright: (c) 2002 Gilles Depeyrot
50251 #-- Licence: any use permitted
50252 #-----------------------------------------------------------------------------
50253
50254 verbose=0
50255 args=""
50256 objects=""
50257 linking_flag="-dynamiclib"
50258 ldargs="-r -keep_private_externs -nostdlib"
50259
50260 while test ${D}# -gt 0; do
50261 case ${D}1 in
50262
50263 -v)
50264 verbose=1
50265 ;;
50266
50267 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50268 # collect these options and values
50269 args="${D}{args} ${D}1 ${D}2"
50270 shift
50271 ;;
50272
50273 -s|-Wl,*)
50274 # collect these load args
50275 ldargs="${D}{ldargs} ${D}1"
50276 ;;
50277
50278 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50279 # collect these options
50280 args="${D}{args} ${D}1"
50281 ;;
50282
50283 -dynamiclib|-bundle)
50284 linking_flag="${D}1"
50285 ;;
50286
50287 -*)
50288 echo "shared-ld: unhandled option '${D}1'"
50289 exit 1
50290 ;;
50291
50292 *.o | *.a | *.dylib)
50293 # collect object files
50294 objects="${D}{objects} ${D}1"
50295 ;;
50296
50297 *)
50298 echo "shared-ld: unhandled argument '${D}1'"
50299 exit 1
50300 ;;
50301
50302 esac
50303 shift
50304 done
50305
50306 status=0
50307
50308 #
50309 # Link one module containing all the others
50310 #
50311 if test ${D}{verbose} = 1; then
50312 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50313 fi
50314 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50315 status=${D}?
50316
50317 #
50318 # Link the shared library from the single module created, but only if the
50319 # previous command didn't fail:
50320 #
50321 if test ${D}{status} = 0; then
50322 if test ${D}{verbose} = 1; then
50323 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50324 fi
50325 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50326 status=${D}?
50327 fi
50328
50329 #
50330 # Remove intermediate module
50331 #
50332 rm -f master.${D}${D}.o
50333
50334 exit ${D}status
50335 EOF
50336
50337 chmod +x shared-ld-sh
50338
50339 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50340 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50341
50342
50343 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50344 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50345 if test "${bakefile_cv_gcc31+set}" = set; then
50346 echo $ECHO_N "(cached) $ECHO_C" >&6
50347 else
50348
50349 cat >conftest.$ac_ext <<_ACEOF
50350 /* confdefs.h. */
50351 _ACEOF
50352 cat confdefs.h >>conftest.$ac_ext
50353 cat >>conftest.$ac_ext <<_ACEOF
50354 /* end confdefs.h. */
50355
50356 int
50357 main ()
50358 {
50359
50360 #if (__GNUC__ < 3) || \
50361 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50362 This is old gcc
50363 #endif
50364
50365 ;
50366 return 0;
50367 }
50368 _ACEOF
50369 rm -f conftest.$ac_objext
50370 if { (ac_try="$ac_compile"
50371 case "(($ac_try" in
50372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50373 *) ac_try_echo=$ac_try;;
50374 esac
50375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50376 (eval "$ac_compile") 2>conftest.er1
50377 ac_status=$?
50378 grep -v '^ *+' conftest.er1 >conftest.err
50379 rm -f conftest.er1
50380 cat conftest.err >&5
50381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50382 (exit $ac_status); } && {
50383 test -z "$ac_c_werror_flag" ||
50384 test ! -s conftest.err
50385 } && test -s conftest.$ac_objext; then
50386
50387 bakefile_cv_gcc31=yes
50388
50389 else
50390 echo "$as_me: failed program was:" >&5
50391 sed 's/^/| /' conftest.$ac_ext >&5
50392
50393
50394 bakefile_cv_gcc31=no
50395
50396
50397 fi
50398
50399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50400
50401 fi
50402 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50403 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50404 if test "$bakefile_cv_gcc31" = "no"; then
50405 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50406 SHARED_LD_CXX="$SHARED_LD_CC"
50407 else
50408 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50409 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50410 fi
50411
50412 if test "x$GCC" == "xyes"; then
50413 PIC_FLAG="-dynamic -fPIC"
50414 fi
50415 if test "x$XLCC" = "xyes"; then
50416 PIC_FLAG="-dynamic -DPIC"
50417 fi
50418 ;;
50419
50420 *-*-aix* )
50421 if test "x$GCC" = "xyes"; then
50422 PIC_FLAG=""
50423
50424 case "${BAKEFILE_HOST}" in
50425 *-*-aix5* )
50426 LD_EXPFULL="-Wl,-bexpfull"
50427 ;;
50428 esac
50429
50430 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50431 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50432 else
50433 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50434 set dummy makeC++SharedLib; ac_word=$2
50435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50437 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50438 echo $ECHO_N "(cached) $ECHO_C" >&6
50439 else
50440 if test -n "$AIX_CXX_LD"; then
50441 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50442 else
50443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50444 for as_dir in $PATH
50445 do
50446 IFS=$as_save_IFS
50447 test -z "$as_dir" && as_dir=.
50448 for ac_exec_ext in '' $ac_executable_extensions; do
50449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50450 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50452 break 2
50453 fi
50454 done
50455 done
50456 IFS=$as_save_IFS
50457
50458 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50459 fi
50460 fi
50461 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50462 if test -n "$AIX_CXX_LD"; then
50463 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50464 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50465 else
50466 { echo "$as_me:$LINENO: result: no" >&5
50467 echo "${ECHO_T}no" >&6; }
50468 fi
50469
50470
50471 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50472 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50473 fi
50474 ;;
50475
50476 *-*-beos* )
50477 SHARED_LD_CC="${LD} -nostart -o"
50478 SHARED_LD_CXX="${LD} -nostart -o"
50479 ;;
50480
50481 *-*-irix* )
50482 if test "x$GCC" != "xyes"; then
50483 PIC_FLAG="-KPIC"
50484 fi
50485 ;;
50486
50487 *-*-cygwin* | *-*-mingw32* )
50488 PIC_FLAG=""
50489 SHARED_LD_CC="\$(CC) -shared -o"
50490 SHARED_LD_CXX="\$(CXX) -shared -o"
50491 WINDOWS_IMPLIB=1
50492 ;;
50493
50494 *-pc-os2_emx | *-pc-os2-emx )
50495 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50496 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50497 PIC_FLAG=""
50498
50499 D='$'
50500 cat <<EOF >dllar.sh
50501 #!/bin/sh
50502 #
50503 # dllar - a tool to build both a .dll and an .a file
50504 # from a set of object (.o) files for EMX/OS2.
50505 #
50506 # Written by Andrew Zabolotny, bit@freya.etu.ru
50507 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50508 #
50509 # This script will accept a set of files on the command line.
50510 # All the public symbols from the .o files will be exported into
50511 # a .DEF file, then linker will be run (through gcc) against them to
50512 # build a shared library consisting of all given .o files. All libraries
50513 # (.a) will be first decompressed into component .o files then act as
50514 # described above. You can optionally give a description (-d "description")
50515 # which will be put into .DLL. To see the list of accepted options (as well
50516 # as command-line format) simply run this program without options. The .DLL
50517 # is built to be imported by name (there is no guarantee that new versions
50518 # of the library you build will have same ordinals for same symbols).
50519 #
50520 # dllar is free software; you can redistribute it and/or modify
50521 # it under the terms of the GNU General Public License as published by
50522 # the Free Software Foundation; either version 2, or (at your option)
50523 # any later version.
50524 #
50525 # dllar is distributed in the hope that it will be useful,
50526 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50527 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50528 # GNU General Public License for more details.
50529 #
50530 # You should have received a copy of the GNU General Public License
50531 # along with dllar; see the file COPYING. If not, write to the Free
50532 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50533 # 02111-1307, USA.
50534
50535 # To successfuly run this program you will need:
50536 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50537 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50538 # - gcc
50539 # (used to build the .dll)
50540 # - emxexp
50541 # (used to create .def file from .o files)
50542 # - emximp
50543 # (used to create .a file from .def file)
50544 # - GNU text utilites (cat, sort, uniq)
50545 # used to process emxexp output
50546 # - GNU file utilities (mv, rm)
50547 # - GNU sed
50548 # - lxlite (optional, see flag below)
50549 # (used for general .dll cleanup)
50550 #
50551
50552 flag_USE_LXLITE=1;
50553
50554 #
50555 # helper functions
50556 # basnam, variant of basename, which does _not_ remove the path, _iff_
50557 # second argument (suffix to remove) is given
50558 basnam(){
50559 case ${D}# in
50560 1)
50561 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50562 ;;
50563 2)
50564 echo ${D}1 | sed 's/'${D}2'${D}//'
50565 ;;
50566 *)
50567 echo "error in basnam ${D}*"
50568 exit 8
50569 ;;
50570 esac
50571 }
50572
50573 # Cleanup temporary files and output
50574 CleanUp() {
50575 cd ${D}curDir
50576 for i in ${D}inputFiles ; do
50577 case ${D}i in
50578 *!)
50579 rm -rf \`basnam ${D}i !\`
50580 ;;
50581 *)
50582 ;;
50583 esac
50584 done
50585
50586 # Kill result in case of failure as there is just to many stupid make/nmake
50587 # things out there which doesn't do this.
50588 if [ ${D}# -eq 0 ]; then
50589 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50590 fi
50591 }
50592
50593 # Print usage and exit script with rc=1.
50594 PrintHelp() {
50595 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50596 echo ' [-name-mangler-script script.sh]'
50597 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50598 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50599 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50600 echo ' [*.o] [*.a]'
50601 echo '*> "output_file" should have no extension.'
50602 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50603 echo ' The import library name is derived from this and is set to "name".a,'
50604 echo ' unless overridden by -import'
50605 echo '*> "importlib_name" should have no extension.'
50606 echo ' If it has the .o, or .a extension, it is automatically removed.'
50607 echo ' This name is used as the import library name and may be longer and'
50608 echo ' more descriptive than the DLL name which has to follow the old '
50609 echo ' 8.3 convention of FAT.'
50610 echo '*> "script.sh may be given to override the output_file name by a'
50611 echo ' different name. It is mainly useful if the regular make process'
50612 echo ' of some package does not take into account OS/2 restriction of'
50613 echo ' DLL name lengths. It takes the importlib name as input and is'
50614 echo ' supposed to procude a shorter name as output. The script should'
50615 echo ' expect to get importlib_name without extension and should produce'
50616 echo ' a (max.) 8 letter name without extension.'
50617 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50618 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50619 echo ' These flags will be put at the start of GCC command line.'
50620 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50621 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50622 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50623 echo ' If the last character of a symbol is "*", all symbols beginning'
50624 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50625 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50626 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50627 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50628 echo ' C runtime DLLs.'
50629 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50630 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50631 echo ' unchanged to GCC at the end of command line.'
50632 echo '*> If you create a DLL from a library and you do not specify -o,'
50633 echo ' the basename for DLL and import library will be set to library name,'
50634 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50635 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50636 echo ' library will be renamed into gcc_s.a.'
50637 echo '--------'
50638 echo 'Example:'
50639 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50640 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50641 CleanUp
50642 exit 1
50643 }
50644
50645 # Execute a command.
50646 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50647 # @Uses Whatever CleanUp() uses.
50648 doCommand() {
50649 echo "${D}*"
50650 eval ${D}*
50651 rcCmd=${D}?
50652
50653 if [ ${D}rcCmd -ne 0 ]; then
50654 echo "command failed, exit code="${D}rcCmd
50655 CleanUp
50656 exit ${D}rcCmd
50657 fi
50658 }
50659
50660 # main routine
50661 # setup globals
50662 cmdLine=${D}*
50663 outFile=""
50664 outimpFile=""
50665 inputFiles=""
50666 renameScript=""
50667 description=""
50668 CC=gcc.exe
50669 CFLAGS="-s -Zcrtdll"
50670 EXTRA_CFLAGS=""
50671 EXPORT_BY_ORDINALS=0
50672 exclude_symbols=""
50673 library_flags=""
50674 curDir=\`pwd\`
50675 curDirS=curDir
50676 case ${D}curDirS in
50677 */)
50678 ;;
50679 *)
50680 curDirS=${D}{curDirS}"/"
50681 ;;
50682 esac
50683 # Parse commandline
50684 libsToLink=0
50685 omfLinking=0
50686 while [ ${D}1 ]; do
50687 case ${D}1 in
50688 -ord*)
50689 EXPORT_BY_ORDINALS=1;
50690 ;;
50691 -o*)
50692 shift
50693 outFile=${D}1
50694 ;;
50695 -i*)
50696 shift
50697 outimpFile=${D}1
50698 ;;
50699 -name-mangler-script)
50700 shift
50701 renameScript=${D}1
50702 ;;
50703 -d*)
50704 shift
50705 description=${D}1
50706 ;;
50707 -f*)
50708 shift
50709 CFLAGS=${D}1
50710 ;;
50711 -c*)
50712 shift
50713 CC=${D}1
50714 ;;
50715 -h*)
50716 PrintHelp
50717 ;;
50718 -ex*)
50719 shift
50720 exclude_symbols=${D}{exclude_symbols}${D}1" "
50721 ;;
50722 -libf*)
50723 shift
50724 library_flags=${D}{library_flags}${D}1" "
50725 ;;
50726 -nocrt*)
50727 CFLAGS="-s"
50728 ;;
50729 -nolxl*)
50730 flag_USE_LXLITE=0
50731 ;;
50732 -* | /*)
50733 case ${D}1 in
50734 -L* | -l*)
50735 libsToLink=1
50736 ;;
50737 -Zomf)
50738 omfLinking=1
50739 ;;
50740 *)
50741 ;;
50742 esac
50743 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50744 ;;
50745 *.dll)
50746 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50747 if [ ${D}omfLinking -eq 1 ]; then
50748 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50749 else
50750 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50751 fi
50752 ;;
50753 *)
50754 found=0;
50755 if [ ${D}libsToLink -ne 0 ]; then
50756 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50757 else
50758 for file in ${D}1 ; do
50759 if [ -f ${D}file ]; then
50760 inputFiles="${D}{inputFiles} ${D}file"
50761 found=1
50762 fi
50763 done
50764 if [ ${D}found -eq 0 ]; then
50765 echo "ERROR: No file(s) found: "${D}1
50766 exit 8
50767 fi
50768 fi
50769 ;;
50770 esac
50771 shift
50772 done # iterate cmdline words
50773
50774 #
50775 if [ -z "${D}inputFiles" ]; then
50776 echo "dllar: no input files"
50777 PrintHelp
50778 fi
50779
50780 # Now extract all .o files from .a files
50781 newInputFiles=""
50782 for file in ${D}inputFiles ; do
50783 case ${D}file in
50784 *.a | *.lib)
50785 case ${D}file in
50786 *.a)
50787 suffix=".a"
50788 AR="ar"
50789 ;;
50790 *.lib)
50791 suffix=".lib"
50792 AR="emxomfar"
50793 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50794 ;;
50795 *)
50796 ;;
50797 esac
50798 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50799 mkdir ${D}dirname
50800 if [ ${D}? -ne 0 ]; then
50801 echo "Failed to create subdirectory ./${D}dirname"
50802 CleanUp
50803 exit 8;
50804 fi
50805 # Append '!' to indicate archive
50806 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50807 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50808 cd ${D}curDir
50809 found=0;
50810 for subfile in ${D}dirname/*.o* ; do
50811 if [ -f ${D}subfile ]; then
50812 found=1
50813 if [ -s ${D}subfile ]; then
50814 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50815 newInputFiles="${D}newInputFiles ${D}subfile"
50816 fi
50817 fi
50818 done
50819 if [ ${D}found -eq 0 ]; then
50820 echo "WARNING: there are no files in archive \\'${D}file\\'"
50821 fi
50822 ;;
50823 *)
50824 newInputFiles="${D}{newInputFiles} ${D}file"
50825 ;;
50826 esac
50827 done
50828 inputFiles="${D}newInputFiles"
50829
50830 # Output filename(s).
50831 do_backup=0;
50832 if [ -z ${D}outFile ]; then
50833 do_backup=1;
50834 set outFile ${D}inputFiles; outFile=${D}2
50835 fi
50836
50837 # If it is an archive, remove the '!' and the '_%' suffixes
50838 case ${D}outFile in
50839 *_%!)
50840 outFile=\`basnam ${D}outFile _%!\`
50841 ;;
50842 *)
50843 ;;
50844 esac
50845 case ${D}outFile in
50846 *.dll)
50847 outFile=\`basnam ${D}outFile .dll\`
50848 ;;
50849 *.DLL)
50850 outFile=\`basnam ${D}outFile .DLL\`
50851 ;;
50852 *.o)
50853 outFile=\`basnam ${D}outFile .o\`
50854 ;;
50855 *.obj)
50856 outFile=\`basnam ${D}outFile .obj\`
50857 ;;
50858 *.a)
50859 outFile=\`basnam ${D}outFile .a\`
50860 ;;
50861 *.lib)
50862 outFile=\`basnam ${D}outFile .lib\`
50863 ;;
50864 *)
50865 ;;
50866 esac
50867 case ${D}outimpFile in
50868 *.a)
50869 outimpFile=\`basnam ${D}outimpFile .a\`
50870 ;;
50871 *.lib)
50872 outimpFile=\`basnam ${D}outimpFile .lib\`
50873 ;;
50874 *)
50875 ;;
50876 esac
50877 if [ -z ${D}outimpFile ]; then
50878 outimpFile=${D}outFile
50879 fi
50880 defFile="${D}{outFile}.def"
50881 arcFile="${D}{outimpFile}.a"
50882 arcFile2="${D}{outimpFile}.lib"
50883
50884 #create ${D}dllFile as something matching 8.3 restrictions,
50885 if [ -z ${D}renameScript ] ; then
50886 dllFile="${D}outFile"
50887 else
50888 dllFile=\`${D}renameScript ${D}outimpFile\`
50889 fi
50890
50891 if [ ${D}do_backup -ne 0 ] ; then
50892 if [ -f ${D}arcFile ] ; then
50893 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50894 fi
50895 if [ -f ${D}arcFile2 ] ; then
50896 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50897 fi
50898 fi
50899
50900 # Extract public symbols from all the object files.
50901 tmpdefFile=${D}{defFile}_%
50902 rm -f ${D}tmpdefFile
50903 for file in ${D}inputFiles ; do
50904 case ${D}file in
50905 *!)
50906 ;;
50907 *)
50908 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50909 ;;
50910 esac
50911 done
50912
50913 # Create the def file.
50914 rm -f ${D}defFile
50915 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50916 dllFile="${D}{dllFile}.dll"
50917 if [ ! -z ${D}description ]; then
50918 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50919 fi
50920 echo "EXPORTS" >> ${D}defFile
50921
50922 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50923 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50924
50925 # Checks if the export is ok or not.
50926 for word in ${D}exclude_symbols; do
50927 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50928 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50929 done
50930
50931
50932 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50933 sed "=" < ${D}tmpdefFile | \\
50934 sed '
50935 N
50936 : loop
50937 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50938 t loop
50939 ' > ${D}{tmpdefFile}%
50940 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50941 else
50942 rm -f ${D}{tmpdefFile}%
50943 fi
50944 cat ${D}tmpdefFile >> ${D}defFile
50945 rm -f ${D}tmpdefFile
50946
50947 # Do linking, create implib, and apply lxlite.
50948 gccCmdl="";
50949 for file in ${D}inputFiles ; do
50950 case ${D}file in
50951 *!)
50952 ;;
50953 *)
50954 gccCmdl="${D}gccCmdl ${D}file"
50955 ;;
50956 esac
50957 done
50958 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50959 touch "${D}{outFile}.dll"
50960
50961 doCommand "emximp -o ${D}arcFile ${D}defFile"
50962 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50963 add_flags="";
50964 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50965 add_flags="-ynd"
50966 fi
50967 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50968 fi
50969 doCommand "emxomf -s -l ${D}arcFile"
50970
50971 # Successful exit.
50972 CleanUp 1
50973 exit 0
50974 EOF
50975
50976 chmod +x dllar.sh
50977 ;;
50978
50979 powerpc-apple-macos* | \
50980 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50981 *-*-mirbsd* | \
50982 *-*-sunos4* | \
50983 *-*-osf* | \
50984 *-*-dgux5* | \
50985 *-*-sysv5* | \
50986 *-pc-msdosdjgpp )
50987 ;;
50988
50989 *)
50990 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50991 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50992 { (exit 1); exit 1; }; }
50993 esac
50994
50995 if test "x$PIC_FLAG" != "x" ; then
50996 PIC_FLAG="$PIC_FLAG -DPIC"
50997 fi
50998
50999 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51000 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51001 fi
51002 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51003 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51004 fi
51005
51006
51007
51008
51009
51010
51011
51012
51013
51014 USE_SOVERSION=0
51015 USE_SOVERLINUX=0
51016 USE_SOVERSOLARIS=0
51017 USE_SOVERCYGWIN=0
51018 USE_SOSYMLINKS=0
51019 USE_MACVERSION=0
51020 SONAME_FLAG=
51021
51022 case "${BAKEFILE_HOST}" in
51023 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51024 if test "x$SUNCXX" = "xyes"; then
51025 SONAME_FLAG="-h "
51026 else
51027 SONAME_FLAG="-Wl,-soname,"
51028 fi
51029 USE_SOVERSION=1
51030 USE_SOVERLINUX=1
51031 USE_SOSYMLINKS=1
51032 ;;
51033
51034 *-*-solaris2* )
51035 SONAME_FLAG="-h "
51036 USE_SOVERSION=1
51037 USE_SOVERSOLARIS=1
51038 USE_SOSYMLINKS=1
51039 ;;
51040
51041 *-*-darwin* )
51042 USE_MACVERSION=1
51043 USE_SOVERSION=1
51044 USE_SOSYMLINKS=1
51045 ;;
51046
51047 *-*-cygwin* )
51048 USE_SOVERSION=1
51049 USE_SOVERCYGWIN=1
51050 ;;
51051 esac
51052
51053
51054
51055
51056
51057
51058
51059
51060
51061
51062 # Check whether --enable-dependency-tracking was given.
51063 if test "${enable_dependency_tracking+set}" = set; then
51064 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51065 fi
51066
51067
51068 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51069 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51070
51071 BK_DEPS=""
51072 if test "x$bk_use_trackdeps" = "xno" ; then
51073 DEPS_TRACKING=0
51074 { echo "$as_me:$LINENO: result: disabled" >&5
51075 echo "${ECHO_T}disabled" >&6; }
51076 else
51077 DEPS_TRACKING=1
51078
51079 if test "x$GCC" = "xyes"; then
51080 DEPSMODE=gcc
51081 case "${BAKEFILE_HOST}" in
51082 *-*-darwin* )
51083 DEPSFLAG="-no-cpp-precomp -MMD"
51084 ;;
51085 * )
51086 DEPSFLAG="-MMD"
51087 ;;
51088 esac
51089 { echo "$as_me:$LINENO: result: gcc" >&5
51090 echo "${ECHO_T}gcc" >&6; }
51091 elif test "x$MWCC" = "xyes"; then
51092 DEPSMODE=mwcc
51093 DEPSFLAG="-MM"
51094 { echo "$as_me:$LINENO: result: mwcc" >&5
51095 echo "${ECHO_T}mwcc" >&6; }
51096 elif test "x$SUNCC" = "xyes"; then
51097 DEPSMODE=unixcc
51098 DEPSFLAG="-xM1"
51099 { echo "$as_me:$LINENO: result: Sun cc" >&5
51100 echo "${ECHO_T}Sun cc" >&6; }
51101 elif test "x$SGICC" = "xyes"; then
51102 DEPSMODE=unixcc
51103 DEPSFLAG="-M"
51104 { echo "$as_me:$LINENO: result: SGI cc" >&5
51105 echo "${ECHO_T}SGI cc" >&6; }
51106 elif test "x$HPCC" = "xyes"; then
51107 DEPSMODE=unixcc
51108 DEPSFLAG="+make"
51109 { echo "$as_me:$LINENO: result: HP cc" >&5
51110 echo "${ECHO_T}HP cc" >&6; }
51111 elif test "x$COMPAQCC" = "xyes"; then
51112 DEPSMODE=gcc
51113 DEPSFLAG="-MD"
51114 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51115 echo "${ECHO_T}Compaq cc" >&6; }
51116 else
51117 DEPS_TRACKING=0
51118 { echo "$as_me:$LINENO: result: none" >&5
51119 echo "${ECHO_T}none" >&6; }
51120 fi
51121
51122 if test $DEPS_TRACKING = 1 ; then
51123
51124 D='$'
51125 cat <<EOF >bk-deps
51126 #!/bin/sh
51127
51128 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51129 # script. It is used to track C/C++ files dependencies in portable way.
51130 #
51131 # Permission is given to use this file in any way.
51132
51133 DEPSMODE=${DEPSMODE}
51134 DEPSDIR=.deps
51135 DEPSFLAG="${DEPSFLAG}"
51136
51137 mkdir -p ${D}DEPSDIR
51138
51139 if test ${D}DEPSMODE = gcc ; then
51140 ${D}* ${D}{DEPSFLAG}
51141 status=${D}?
51142 if test ${D}{status} != 0 ; then
51143 exit ${D}{status}
51144 fi
51145 # move created file to the location we want it in:
51146 while test ${D}# -gt 0; do
51147 case "${D}1" in
51148 -o )
51149 shift
51150 objfile=${D}1
51151 ;;
51152 -* )
51153 ;;
51154 * )
51155 srcfile=${D}1
51156 ;;
51157 esac
51158 shift
51159 done
51160 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51161 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51162 if test -f ${D}depfile ; then
51163 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51164 rm -f ${D}depfile
51165 else
51166 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51167 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51168 if test ! -f ${D}depfile ; then
51169 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51170 depfile="${D}objfile.d"
51171 fi
51172 if test -f ${D}depfile ; then
51173 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51174 rm -f ${D}depfile
51175 fi
51176 fi
51177 exit 0
51178 elif test ${D}DEPSMODE = mwcc ; then
51179 ${D}* || exit ${D}?
51180 # Run mwcc again with -MM and redirect into the dep file we want
51181 # NOTE: We can't use shift here because we need ${D}* to be valid
51182 prevarg=
51183 for arg in ${D}* ; do
51184 if test "${D}prevarg" = "-o"; then
51185 objfile=${D}arg
51186 else
51187 case "${D}arg" in
51188 -* )
51189 ;;
51190 * )
51191 srcfile=${D}arg
51192 ;;
51193 esac
51194 fi
51195 prevarg="${D}arg"
51196 done
51197 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51198 exit 0
51199 elif test ${D}DEPSMODE = unixcc; then
51200 ${D}* || exit ${D}?
51201 # Run compiler again with deps flag and redirect into the dep file.
51202 # It doesn't work if the '-o FILE' option is used, but without it the
51203 # dependency file will contain the wrong name for the object. So it is
51204 # removed from the command line, and the dep file is fixed with sed.
51205 cmd=""
51206 while test ${D}# -gt 0; do
51207 case "${D}1" in
51208 -o )
51209 shift
51210 objfile=${D}1
51211 ;;
51212 * )
51213 eval arg${D}#=\\${D}1
51214 cmd="${D}cmd \\${D}arg${D}#"
51215 ;;
51216 esac
51217 shift
51218 done
51219 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51220 exit 0
51221 else
51222 ${D}*
51223 exit ${D}?
51224 fi
51225 EOF
51226
51227 chmod +x bk-deps
51228 BK_DEPS="`pwd`/bk-deps"
51229 fi
51230 fi
51231
51232
51233
51234
51235
51236 case ${BAKEFILE_HOST} in
51237 *-*-cygwin* | *-*-mingw32* )
51238 if test -n "$ac_tool_prefix"; then
51239 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51240 set dummy ${ac_tool_prefix}windres; ac_word=$2
51241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51243 if test "${ac_cv_prog_WINDRES+set}" = set; then
51244 echo $ECHO_N "(cached) $ECHO_C" >&6
51245 else
51246 if test -n "$WINDRES"; then
51247 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51248 else
51249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51250 for as_dir in $PATH
51251 do
51252 IFS=$as_save_IFS
51253 test -z "$as_dir" && as_dir=.
51254 for ac_exec_ext in '' $ac_executable_extensions; do
51255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51256 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51258 break 2
51259 fi
51260 done
51261 done
51262 IFS=$as_save_IFS
51263
51264 fi
51265 fi
51266 WINDRES=$ac_cv_prog_WINDRES
51267 if test -n "$WINDRES"; then
51268 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51269 echo "${ECHO_T}$WINDRES" >&6; }
51270 else
51271 { echo "$as_me:$LINENO: result: no" >&5
51272 echo "${ECHO_T}no" >&6; }
51273 fi
51274
51275
51276 fi
51277 if test -z "$ac_cv_prog_WINDRES"; then
51278 ac_ct_WINDRES=$WINDRES
51279 # Extract the first word of "windres", so it can be a program name with args.
51280 set dummy windres; ac_word=$2
51281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51283 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51284 echo $ECHO_N "(cached) $ECHO_C" >&6
51285 else
51286 if test -n "$ac_ct_WINDRES"; then
51287 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51288 else
51289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51290 for as_dir in $PATH
51291 do
51292 IFS=$as_save_IFS
51293 test -z "$as_dir" && as_dir=.
51294 for ac_exec_ext in '' $ac_executable_extensions; do
51295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51296 ac_cv_prog_ac_ct_WINDRES="windres"
51297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51298 break 2
51299 fi
51300 done
51301 done
51302 IFS=$as_save_IFS
51303
51304 fi
51305 fi
51306 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51307 if test -n "$ac_ct_WINDRES"; then
51308 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51309 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51310 else
51311 { echo "$as_me:$LINENO: result: no" >&5
51312 echo "${ECHO_T}no" >&6; }
51313 fi
51314
51315 if test "x$ac_ct_WINDRES" = x; then
51316 WINDRES=""
51317 else
51318 case $cross_compiling:$ac_tool_warned in
51319 yes:)
51320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51321 whose name does not start with the host triplet. If you think this
51322 configuration is useful to you, please write to autoconf@gnu.org." >&5
51323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51324 whose name does not start with the host triplet. If you think this
51325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51326 ac_tool_warned=yes ;;
51327 esac
51328 WINDRES=$ac_ct_WINDRES
51329 fi
51330 else
51331 WINDRES="$ac_cv_prog_WINDRES"
51332 fi
51333
51334 ;;
51335
51336 *-*-darwin* | powerpc-apple-macos* )
51337 # Extract the first word of "Rez", so it can be a program name with args.
51338 set dummy Rez; ac_word=$2
51339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51341 if test "${ac_cv_prog_REZ+set}" = set; then
51342 echo $ECHO_N "(cached) $ECHO_C" >&6
51343 else
51344 if test -n "$REZ"; then
51345 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51346 else
51347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51348 for as_dir in $PATH
51349 do
51350 IFS=$as_save_IFS
51351 test -z "$as_dir" && as_dir=.
51352 for ac_exec_ext in '' $ac_executable_extensions; do
51353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51354 ac_cv_prog_REZ="Rez"
51355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51356 break 2
51357 fi
51358 done
51359 done
51360 IFS=$as_save_IFS
51361
51362 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51363 fi
51364 fi
51365 REZ=$ac_cv_prog_REZ
51366 if test -n "$REZ"; then
51367 { echo "$as_me:$LINENO: result: $REZ" >&5
51368 echo "${ECHO_T}$REZ" >&6; }
51369 else
51370 { echo "$as_me:$LINENO: result: no" >&5
51371 echo "${ECHO_T}no" >&6; }
51372 fi
51373
51374
51375 # Extract the first word of "SetFile", so it can be a program name with args.
51376 set dummy SetFile; ac_word=$2
51377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51379 if test "${ac_cv_prog_SETFILE+set}" = set; then
51380 echo $ECHO_N "(cached) $ECHO_C" >&6
51381 else
51382 if test -n "$SETFILE"; then
51383 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51384 else
51385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51386 for as_dir in $PATH
51387 do
51388 IFS=$as_save_IFS
51389 test -z "$as_dir" && as_dir=.
51390 for ac_exec_ext in '' $ac_executable_extensions; do
51391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51392 ac_cv_prog_SETFILE="SetFile"
51393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51394 break 2
51395 fi
51396 done
51397 done
51398 IFS=$as_save_IFS
51399
51400 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51401 fi
51402 fi
51403 SETFILE=$ac_cv_prog_SETFILE
51404 if test -n "$SETFILE"; then
51405 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51406 echo "${ECHO_T}$SETFILE" >&6; }
51407 else
51408 { echo "$as_me:$LINENO: result: no" >&5
51409 echo "${ECHO_T}no" >&6; }
51410 fi
51411
51412
51413 ;;
51414 esac
51415
51416
51417
51418
51419
51420
51421 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51422
51423
51424 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51425
51426
51427
51428 # Check whether --enable-precomp-headers was given.
51429 if test "${enable_precomp_headers+set}" = set; then
51430 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51431 fi
51432
51433
51434 GCC_PCH=0
51435 ICC_PCH=0
51436 USE_PCH=0
51437 BK_MAKE_PCH=""
51438
51439 case ${BAKEFILE_HOST} in
51440 *-*-cygwin* )
51441 bk_use_pch="no"
51442 ;;
51443 esac
51444
51445 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51446 if test "x$GCC" = "xyes"; then
51447 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51448 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51449 cat >conftest.$ac_ext <<_ACEOF
51450 /* confdefs.h. */
51451 _ACEOF
51452 cat confdefs.h >>conftest.$ac_ext
51453 cat >>conftest.$ac_ext <<_ACEOF
51454 /* end confdefs.h. */
51455
51456 int
51457 main ()
51458 {
51459
51460 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51461 There is no PCH support
51462 #endif
51463 #if (__GNUC__ < 3)
51464 There is no PCH support
51465 #endif
51466 #if (__GNUC__ == 3) && \
51467 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51468 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51469 ( defined(__INTEL_COMPILER) )
51470 There is no PCH support
51471 #endif
51472
51473 ;
51474 return 0;
51475 }
51476 _ACEOF
51477 rm -f conftest.$ac_objext
51478 if { (ac_try="$ac_compile"
51479 case "(($ac_try" in
51480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51481 *) ac_try_echo=$ac_try;;
51482 esac
51483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51484 (eval "$ac_compile") 2>conftest.er1
51485 ac_status=$?
51486 grep -v '^ *+' conftest.er1 >conftest.err
51487 rm -f conftest.er1
51488 cat conftest.err >&5
51489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51490 (exit $ac_status); } && {
51491 test -z "$ac_c_werror_flag" ||
51492 test ! -s conftest.err
51493 } && test -s conftest.$ac_objext; then
51494
51495 { echo "$as_me:$LINENO: result: yes" >&5
51496 echo "${ECHO_T}yes" >&6; }
51497 GCC_PCH=1
51498
51499 else
51500 echo "$as_me: failed program was:" >&5
51501 sed 's/^/| /' conftest.$ac_ext >&5
51502
51503
51504 cat >conftest.$ac_ext <<_ACEOF
51505 /* confdefs.h. */
51506 _ACEOF
51507 cat confdefs.h >>conftest.$ac_ext
51508 cat >>conftest.$ac_ext <<_ACEOF
51509 /* end confdefs.h. */
51510
51511 int
51512 main ()
51513 {
51514
51515 #if !defined(__INTEL_COMPILER) || \
51516 (__INTEL_COMPILER < 800)
51517 There is no PCH support
51518 #endif
51519
51520 ;
51521 return 0;
51522 }
51523 _ACEOF
51524 rm -f conftest.$ac_objext
51525 if { (ac_try="$ac_compile"
51526 case "(($ac_try" in
51527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51528 *) ac_try_echo=$ac_try;;
51529 esac
51530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51531 (eval "$ac_compile") 2>conftest.er1
51532 ac_status=$?
51533 grep -v '^ *+' conftest.er1 >conftest.err
51534 rm -f conftest.er1
51535 cat conftest.err >&5
51536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51537 (exit $ac_status); } && {
51538 test -z "$ac_c_werror_flag" ||
51539 test ! -s conftest.err
51540 } && test -s conftest.$ac_objext; then
51541
51542 { echo "$as_me:$LINENO: result: yes" >&5
51543 echo "${ECHO_T}yes" >&6; }
51544 ICC_PCH=1
51545
51546 else
51547 echo "$as_me: failed program was:" >&5
51548 sed 's/^/| /' conftest.$ac_ext >&5
51549
51550
51551 { echo "$as_me:$LINENO: result: no" >&5
51552 echo "${ECHO_T}no" >&6; }
51553
51554 fi
51555
51556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51557
51558 fi
51559
51560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51561 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51562 USE_PCH=1
51563
51564 D='$'
51565 cat <<EOF >bk-make-pch
51566 #!/bin/sh
51567
51568 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51569 # script. It is used to generated precompiled headers.
51570 #
51571 # Permission is given to use this file in any way.
51572
51573 outfile="${D}{1}"
51574 header="${D}{2}"
51575 shift
51576 shift
51577
51578 compiler=""
51579 headerfile=""
51580
51581 while test ${D}{#} -gt 0; do
51582 add_to_cmdline=1
51583 case "${D}{1}" in
51584 -I* )
51585 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51586 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51587 headerfile="${D}{incdir}/${D}{header}"
51588 fi
51589 ;;
51590 -use-pch|-use_pch )
51591 shift
51592 add_to_cmdline=0
51593 ;;
51594 esac
51595 if test ${D}add_to_cmdline = 1 ; then
51596 compiler="${D}{compiler} ${D}{1}"
51597 fi
51598 shift
51599 done
51600
51601 if test "x${D}{headerfile}" = "x" ; then
51602 echo "error: can't find header ${D}{header} in include paths" >&2
51603 else
51604 if test -f ${D}{outfile} ; then
51605 rm -f ${D}{outfile}
51606 else
51607 mkdir -p \`dirname ${D}{outfile}\`
51608 fi
51609 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51610 mkdir -p .deps
51611 if test "x${GCC_PCH}" = "x1" ; then
51612 # can do this because gcc is >= 3.4:
51613 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51614 elif test "x${ICC_PCH}" = "x1" ; then
51615 filename=pch_gen-${D}${D}
51616 file=${D}{filename}.c
51617 dfile=${D}{filename}.d
51618 cat > ${D}file <<EOT
51619 #include "${D}header"
51620 EOT
51621 # using -MF icc complains about differing command lines in creation/use
51622 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51623 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51624 rm -f ${D}file ${D}dfile ${D}{filename}.o
51625 fi
51626 exit ${D}{?}
51627 fi
51628 EOF
51629
51630 chmod +x bk-make-pch
51631 BK_MAKE_PCH="`pwd`/bk-make-pch"
51632 fi
51633 fi
51634 fi
51635
51636
51637
51638
51639
51640 COND_BUILD_DEBUG="#"
51641 if test "x$BUILD" = "xdebug" ; then
51642 COND_BUILD_DEBUG=""
51643 fi
51644
51645 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51646 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51647 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51648 fi
51649
51650 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51651 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51652 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51653 fi
51654
51655 COND_BUILD_DEBUG_UNICODE_0="#"
51656 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51657 COND_BUILD_DEBUG_UNICODE_0=""
51658 fi
51659
51660 COND_BUILD_DEBUG_UNICODE_1="#"
51661 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51662 COND_BUILD_DEBUG_UNICODE_1=""
51663 fi
51664
51665 COND_BUILD_RELEASE="#"
51666 if test "x$BUILD" = "xrelease" ; then
51667 COND_BUILD_RELEASE=""
51668 fi
51669
51670 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51671 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51672 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51673 fi
51674
51675 COND_BUILD_RELEASE_UNICODE_0="#"
51676 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51677 COND_BUILD_RELEASE_UNICODE_0=""
51678 fi
51679
51680 COND_BUILD_RELEASE_UNICODE_1="#"
51681 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51682 COND_BUILD_RELEASE_UNICODE_1=""
51683 fi
51684
51685 COND_DEBUG_FLAG_1="#"
51686 if test "x$DEBUG_FLAG" = "x1" ; then
51687 COND_DEBUG_FLAG_1=""
51688 fi
51689
51690 COND_DEBUG_INFO_0="#"
51691 if test "x$DEBUG_INFO" = "x0" ; then
51692 COND_DEBUG_INFO_0=""
51693 fi
51694
51695 COND_DEBUG_INFO_1="#"
51696 if test "x$DEBUG_INFO" = "x1" ; then
51697 COND_DEBUG_INFO_1=""
51698 fi
51699
51700 COND_DEPS_TRACKING_0="#"
51701 if test "x$DEPS_TRACKING" = "x0" ; then
51702 COND_DEPS_TRACKING_0=""
51703 fi
51704
51705 COND_DEPS_TRACKING_1="#"
51706 if test "x$DEPS_TRACKING" = "x1" ; then
51707 COND_DEPS_TRACKING_1=""
51708 fi
51709
51710 COND_GCC_PCH_1="#"
51711 if test "x$GCC_PCH" = "x1" ; then
51712 COND_GCC_PCH_1=""
51713 fi
51714
51715 COND_ICC_PCH_1="#"
51716 if test "x$ICC_PCH" = "x1" ; then
51717 COND_ICC_PCH_1=""
51718 fi
51719
51720 COND_MONOLITHIC_0="#"
51721 if test "x$MONOLITHIC" = "x0" ; then
51722 COND_MONOLITHIC_0=""
51723 fi
51724
51725 COND_MONOLITHIC_0_SHARED_0="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51727 COND_MONOLITHIC_0_SHARED_0=""
51728 fi
51729
51730 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51733 fi
51734
51735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51738 fi
51739
51740 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51743 fi
51744
51745 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51748 fi
51749
51750 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51753 fi
51754
51755 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51758 fi
51759
51760 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51763 fi
51764
51765 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51767 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51768 fi
51769
51770 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51772 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51773 fi
51774
51775 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51777 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51778 fi
51779
51780 COND_MONOLITHIC_0_SHARED_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51782 COND_MONOLITHIC_0_SHARED_1=""
51783 fi
51784
51785 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51787 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51788 fi
51789
51790 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51792 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51793 fi
51794
51795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51798 fi
51799
51800 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51802 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51803 fi
51804
51805 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51807 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51808 fi
51809
51810 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51813 fi
51814
51815 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51817 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51818 fi
51819
51820 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51822 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51823 fi
51824
51825 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51827 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51828 fi
51829
51830 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51832 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51833 fi
51834
51835 COND_MONOLITHIC_0_USE_AUI_1="#"
51836 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51837 COND_MONOLITHIC_0_USE_AUI_1=""
51838 fi
51839
51840 COND_MONOLITHIC_0_USE_GUI_1="#"
51841 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51842 COND_MONOLITHIC_0_USE_GUI_1=""
51843 fi
51844
51845 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51846 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51848 fi
51849
51850 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51851 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51852 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51853 fi
51854
51855 COND_MONOLITHIC_0_USE_HTML_1="#"
51856 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51857 COND_MONOLITHIC_0_USE_HTML_1=""
51858 fi
51859
51860 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51861 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51862 COND_MONOLITHIC_0_USE_MEDIA_1=""
51863 fi
51864
51865 COND_MONOLITHIC_0_USE_ODBC_1="#"
51866 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51867 COND_MONOLITHIC_0_USE_ODBC_1=""
51868 fi
51869
51870 COND_MONOLITHIC_0_USE_QA_1="#"
51871 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51872 COND_MONOLITHIC_0_USE_QA_1=""
51873 fi
51874
51875 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51876 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51877 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51878 fi
51879
51880 COND_MONOLITHIC_0_USE_STC_1="#"
51881 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51882 COND_MONOLITHIC_0_USE_STC_1=""
51883 fi
51884
51885 COND_MONOLITHIC_0_USE_XRC_1="#"
51886 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51887 COND_MONOLITHIC_0_USE_XRC_1=""
51888 fi
51889
51890 COND_MONOLITHIC_1="#"
51891 if test "x$MONOLITHIC" = "x1" ; then
51892 COND_MONOLITHIC_1=""
51893 fi
51894
51895 COND_MONOLITHIC_1_SHARED_0="#"
51896 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51897 COND_MONOLITHIC_1_SHARED_0=""
51898 fi
51899
51900 COND_MONOLITHIC_1_SHARED_1="#"
51901 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51902 COND_MONOLITHIC_1_SHARED_1=""
51903 fi
51904
51905 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51906 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51907 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51908 fi
51909
51910 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51911 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51912 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51913 fi
51914
51915 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51916 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51917 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51918 fi
51919
51920 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51921 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51922 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51923 fi
51924
51925 COND_PLATFORM_MACOSX_1="#"
51926 if test "x$PLATFORM_MACOSX" = "x1" ; then
51927 COND_PLATFORM_MACOSX_1=""
51928 fi
51929
51930 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51931 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51932 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51933 fi
51934
51935 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51936 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51937 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51938 fi
51939
51940 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51941 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51942 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51943 fi
51944
51945 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51946 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51947 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51948 fi
51949
51950 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51951 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51952 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51953 fi
51954
51955 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51957 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51958 fi
51959
51960 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51962 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51963 fi
51964
51965 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51967 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51968 fi
51969
51970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51972 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51973 fi
51974
51975 COND_PLATFORM_MACOS_1="#"
51976 if test "x$PLATFORM_MACOS" = "x1" ; then
51977 COND_PLATFORM_MACOS_1=""
51978 fi
51979
51980 COND_PLATFORM_MAC_1="#"
51981 if test "x$PLATFORM_MAC" = "x1" ; then
51982 COND_PLATFORM_MAC_1=""
51983 fi
51984
51985 COND_PLATFORM_MSDOS_0="#"
51986 if test "x$PLATFORM_MSDOS" = "x0" ; then
51987 COND_PLATFORM_MSDOS_0=""
51988 fi
51989
51990 COND_PLATFORM_MSDOS_1="#"
51991 if test "x$PLATFORM_MSDOS" = "x1" ; then
51992 COND_PLATFORM_MSDOS_1=""
51993 fi
51994
51995 COND_PLATFORM_OS2_1="#"
51996 if test "x$PLATFORM_OS2" = "x1" ; then
51997 COND_PLATFORM_OS2_1=""
51998 fi
51999
52000 COND_PLATFORM_UNIX_0="#"
52001 if test "x$PLATFORM_UNIX" = "x0" ; then
52002 COND_PLATFORM_UNIX_0=""
52003 fi
52004
52005 COND_PLATFORM_UNIX_1="#"
52006 if test "x$PLATFORM_UNIX" = "x1" ; then
52007 COND_PLATFORM_UNIX_1=""
52008 fi
52009
52010 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52011 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52012 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52013 fi
52014
52015 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52016 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52017 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52018 fi
52019
52020 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52021 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52022 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52023 fi
52024
52025 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52026 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52027 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52028 fi
52029
52030 COND_PLATFORM_WIN32_0="#"
52031 if test "x$PLATFORM_WIN32" = "x0" ; then
52032 COND_PLATFORM_WIN32_0=""
52033 fi
52034
52035 COND_PLATFORM_WIN32_1="#"
52036 if test "x$PLATFORM_WIN32" = "x1" ; then
52037 COND_PLATFORM_WIN32_1=""
52038 fi
52039
52040 COND_SHARED_0="#"
52041 if test "x$SHARED" = "x0" ; then
52042 COND_SHARED_0=""
52043 fi
52044
52045 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52046 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52047 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52048 fi
52049
52050 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52051 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52052 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52053 fi
52054
52055 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52056 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52057 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52058 fi
52059
52060 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52061 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52062 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52063 fi
52064
52065 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52066 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52067 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52068 fi
52069
52070 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52071 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52072 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52073 fi
52074
52075 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52076 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52077 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52078 fi
52079
52080 COND_SHARED_0_USE_STC_1="#"
52081 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52082 COND_SHARED_0_USE_STC_1=""
52083 fi
52084
52085 COND_SHARED_0_USE_XRC_1="#"
52086 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52087 COND_SHARED_0_USE_XRC_1=""
52088 fi
52089
52090 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52091 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52092 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52093 fi
52094
52095 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52096 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52097 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52098 fi
52099
52100 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52101 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52102 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52103 fi
52104
52105 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52106 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52107 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52108 fi
52109
52110 COND_SHARED_1="#"
52111 if test "x$SHARED" = "x1" ; then
52112 COND_SHARED_1=""
52113 fi
52114
52115 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52116 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52117 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52118 fi
52119
52120 COND_SHARED_1_USE_XRC_1="#"
52121 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52122 COND_SHARED_1_USE_XRC_1=""
52123 fi
52124
52125 COND_TOOLKIT_="#"
52126 if test "x$TOOLKIT" = "x" ; then
52127 COND_TOOLKIT_=""
52128 fi
52129
52130 COND_TOOLKIT_COCOA="#"
52131 if test "x$TOOLKIT" = "xCOCOA" ; then
52132 COND_TOOLKIT_COCOA=""
52133 fi
52134
52135 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52136 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52137 COND_TOOLKIT_COCOA_USE_GUI_1=""
52138 fi
52139
52140 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52141 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52142 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52143 fi
52144
52145 COND_TOOLKIT_DFB="#"
52146 if test "x$TOOLKIT" = "xDFB" ; then
52147 COND_TOOLKIT_DFB=""
52148 fi
52149
52150 COND_TOOLKIT_DFB_USE_GUI_1="#"
52151 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52152 COND_TOOLKIT_DFB_USE_GUI_1=""
52153 fi
52154
52155 COND_TOOLKIT_GTK="#"
52156 if test "x$TOOLKIT" = "xGTK" ; then
52157 COND_TOOLKIT_GTK=""
52158 fi
52159
52160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52161 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52163 fi
52164
52165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52166 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52168 fi
52169
52170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52171 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52173 fi
52174
52175 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52176 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52178 fi
52179
52180 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52181 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52182 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52183 fi
52184
52185 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52186 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52187 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52188 fi
52189
52190 COND_TOOLKIT_GTK_USE_GUI_1="#"
52191 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52192 COND_TOOLKIT_GTK_USE_GUI_1=""
52193 fi
52194
52195 COND_TOOLKIT_MAC="#"
52196 if test "x$TOOLKIT" = "xMAC" ; then
52197 COND_TOOLKIT_MAC=""
52198 fi
52199
52200 COND_TOOLKIT_MAC_USE_GUI_1="#"
52201 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_MAC_USE_GUI_1=""
52203 fi
52204
52205 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52206 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52207 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52208 fi
52209
52210 COND_TOOLKIT_MGL="#"
52211 if test "x$TOOLKIT" = "xMGL" ; then
52212 COND_TOOLKIT_MGL=""
52213 fi
52214
52215 COND_TOOLKIT_MGL_USE_GUI_1="#"
52216 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52217 COND_TOOLKIT_MGL_USE_GUI_1=""
52218 fi
52219
52220 COND_TOOLKIT_MOTIF="#"
52221 if test "x$TOOLKIT" = "xMOTIF" ; then
52222 COND_TOOLKIT_MOTIF=""
52223 fi
52224
52225 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52226 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52227 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52228 fi
52229
52230 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52231 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52232 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52233 fi
52234
52235 COND_TOOLKIT_MSW="#"
52236 if test "x$TOOLKIT" = "xMSW" ; then
52237 COND_TOOLKIT_MSW=""
52238 fi
52239
52240 COND_TOOLKIT_MSW_USE_GUI_1="#"
52241 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52242 COND_TOOLKIT_MSW_USE_GUI_1=""
52243 fi
52244
52245 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52246 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52247 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52248 fi
52249
52250 COND_TOOLKIT_MSW_WXUNIV_0="#"
52251 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52252 COND_TOOLKIT_MSW_WXUNIV_0=""
52253 fi
52254
52255 COND_TOOLKIT_PM="#"
52256 if test "x$TOOLKIT" = "xPM" ; then
52257 COND_TOOLKIT_PM=""
52258 fi
52259
52260 COND_TOOLKIT_PM_USE_GUI_1="#"
52261 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52262 COND_TOOLKIT_PM_USE_GUI_1=""
52263 fi
52264
52265 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52266 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52267 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52268 fi
52269
52270 COND_TOOLKIT_WINCE="#"
52271 if test "x$TOOLKIT" = "xWINCE" ; then
52272 COND_TOOLKIT_WINCE=""
52273 fi
52274
52275 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52276 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52277 COND_TOOLKIT_WINCE_USE_GUI_1=""
52278 fi
52279
52280 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52281 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52282 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52283 fi
52284
52285 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52286 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52287 COND_TOOLKIT_WINCE_WXUNIV_0=""
52288 fi
52289
52290 COND_TOOLKIT_X11="#"
52291 if test "x$TOOLKIT" = "xX11" ; then
52292 COND_TOOLKIT_X11=""
52293 fi
52294
52295 COND_TOOLKIT_X11_USE_GUI_1="#"
52296 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52297 COND_TOOLKIT_X11_USE_GUI_1=""
52298 fi
52299
52300 COND_UNICODE_1="#"
52301 if test "x$UNICODE" = "x1" ; then
52302 COND_UNICODE_1=""
52303 fi
52304
52305 COND_USE_EXCEPTIONS_0="#"
52306 if test "x$USE_EXCEPTIONS" = "x0" ; then
52307 COND_USE_EXCEPTIONS_0=""
52308 fi
52309
52310 COND_USE_EXCEPTIONS_1="#"
52311 if test "x$USE_EXCEPTIONS" = "x1" ; then
52312 COND_USE_EXCEPTIONS_1=""
52313 fi
52314
52315 COND_USE_GUI_0="#"
52316 if test "x$USE_GUI" = "x0" ; then
52317 COND_USE_GUI_0=""
52318 fi
52319
52320 COND_USE_GUI_1="#"
52321 if test "x$USE_GUI" = "x1" ; then
52322 COND_USE_GUI_1=""
52323 fi
52324
52325 COND_USE_GUI_1_USE_OPENGL_1="#"
52326 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52327 COND_USE_GUI_1_USE_OPENGL_1=""
52328 fi
52329
52330 COND_USE_GUI_1_WXUNIV_0="#"
52331 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52332 COND_USE_GUI_1_WXUNIV_0=""
52333 fi
52334
52335 COND_USE_GUI_1_WXUNIV_1="#"
52336 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52337 COND_USE_GUI_1_WXUNIV_1=""
52338 fi
52339
52340 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52341 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52342 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52343 fi
52344
52345 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52346 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52347 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52348 fi
52349
52350 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52351 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52352 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52353 fi
52354
52355 COND_USE_ODBC_1="#"
52356 if test "x$USE_ODBC" = "x1" ; then
52357 COND_USE_ODBC_1=""
52358 fi
52359
52360 COND_USE_OPENGL_1="#"
52361 if test "x$USE_OPENGL" = "x1" ; then
52362 COND_USE_OPENGL_1=""
52363 fi
52364
52365 COND_USE_PCH_1="#"
52366 if test "x$USE_PCH" = "x1" ; then
52367 COND_USE_PCH_1=""
52368 fi
52369
52370 COND_USE_PLUGINS_0="#"
52371 if test "x$USE_PLUGINS" = "x0" ; then
52372 COND_USE_PLUGINS_0=""
52373 fi
52374
52375 COND_USE_RTTI_0="#"
52376 if test "x$USE_RTTI" = "x0" ; then
52377 COND_USE_RTTI_0=""
52378 fi
52379
52380 COND_USE_RTTI_1="#"
52381 if test "x$USE_RTTI" = "x1" ; then
52382 COND_USE_RTTI_1=""
52383 fi
52384
52385 COND_USE_SOSYMLINKS_1="#"
52386 if test "x$USE_SOSYMLINKS" = "x1" ; then
52387 COND_USE_SOSYMLINKS_1=""
52388 fi
52389
52390 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52391 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52392 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52393 fi
52394
52395 COND_USE_SOVERLINUX_1="#"
52396 if test "x$USE_SOVERLINUX" = "x1" ; then
52397 COND_USE_SOVERLINUX_1=""
52398 fi
52399
52400 COND_USE_SOVERSION_0="#"
52401 if test "x$USE_SOVERSION" = "x0" ; then
52402 COND_USE_SOVERSION_0=""
52403 fi
52404
52405 COND_USE_SOVERSOLARIS_1="#"
52406 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52407 COND_USE_SOVERSOLARIS_1=""
52408 fi
52409
52410 COND_USE_STC_1="#"
52411 if test "x$USE_STC" = "x1" ; then
52412 COND_USE_STC_1=""
52413 fi
52414
52415 COND_USE_THREADS_0="#"
52416 if test "x$USE_THREADS" = "x0" ; then
52417 COND_USE_THREADS_0=""
52418 fi
52419
52420 COND_USE_THREADS_1="#"
52421 if test "x$USE_THREADS" = "x1" ; then
52422 COND_USE_THREADS_1=""
52423 fi
52424
52425 COND_USE_XRC_1="#"
52426 if test "x$USE_XRC" = "x1" ; then
52427 COND_USE_XRC_1=""
52428 fi
52429
52430 COND_WINDOWS_IMPLIB_1="#"
52431 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52432 COND_WINDOWS_IMPLIB_1=""
52433 fi
52434
52435 COND_WITH_PLUGIN_SDL_1="#"
52436 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52437 COND_WITH_PLUGIN_SDL_1=""
52438 fi
52439
52440 COND_WXUNIV_0="#"
52441 if test "x$WXUNIV" = "x0" ; then
52442 COND_WXUNIV_0=""
52443 fi
52444
52445 COND_WXUNIV_1="#"
52446 if test "x$WXUNIV" = "x1" ; then
52447 COND_WXUNIV_1=""
52448 fi
52449
52450 COND_WXUSE_EXPAT_BUILTIN="#"
52451 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52452 COND_WXUSE_EXPAT_BUILTIN=""
52453 fi
52454
52455 COND_WXUSE_LIBJPEG_BUILTIN="#"
52456 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52457 COND_WXUSE_LIBJPEG_BUILTIN=""
52458 fi
52459
52460 COND_WXUSE_LIBPNG_BUILTIN="#"
52461 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52462 COND_WXUSE_LIBPNG_BUILTIN=""
52463 fi
52464
52465 COND_WXUSE_LIBTIFF_BUILTIN="#"
52466 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52467 COND_WXUSE_LIBTIFF_BUILTIN=""
52468 fi
52469
52470 COND_WXUSE_ODBC_BUILTIN="#"
52471 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52472 COND_WXUSE_ODBC_BUILTIN=""
52473 fi
52474
52475 COND_WXUSE_REGEX_BUILTIN="#"
52476 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52477 COND_WXUSE_REGEX_BUILTIN=""
52478 fi
52479
52480 COND_WXUSE_ZLIB_BUILTIN="#"
52481 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52482 COND_WXUSE_ZLIB_BUILTIN=""
52483 fi
52484
52485
52486
52487 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52488 { { 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
52489 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;}
52490 { (exit 1); exit 1; }; }
52491 fi
52492
52493 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52494 { { 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
52495 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;}
52496 { (exit 1); exit 1; }; }
52497 fi
52498
52499
52500 case ${INSTALL} in
52501 /* ) # Absolute
52502 ;;
52503 ?:* ) # Drive letter, considered as absolute.
52504 ;;
52505 *)
52506 INSTALL=`pwd`/${INSTALL} ;;
52507 esac
52508
52509 if test "$wxUSE_GUI" = "yes"; then
52510
52511 if test "$wxUSE_MSW" = 1 ; then
52512 if test "x$WINDRES" = "x"; then
52513 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52514 echo "$as_me: error: Required windres program not found" >&2;}
52515 { (exit 1); exit 1; }; }
52516 fi
52517
52518 RESCOMP="$WINDRES"
52519 fi
52520
52521 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52522 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52523 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52524
52525 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52526
52527 # Extract the first word of "DeRez", so it can be a program name with args.
52528 set dummy DeRez; ac_word=$2
52529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52531 if test "${ac_cv_prog_DEREZ+set}" = set; then
52532 echo $ECHO_N "(cached) $ECHO_C" >&6
52533 else
52534 if test -n "$DEREZ"; then
52535 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52536 else
52537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52538 for as_dir in $PATH
52539 do
52540 IFS=$as_save_IFS
52541 test -z "$as_dir" && as_dir=.
52542 for ac_exec_ext in '' $ac_executable_extensions; do
52543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52544 ac_cv_prog_DEREZ="DeRez"
52545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52546 break 2
52547 fi
52548 done
52549 done
52550 IFS=$as_save_IFS
52551
52552 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52553 fi
52554 fi
52555 DEREZ=$ac_cv_prog_DEREZ
52556 if test -n "$DEREZ"; then
52557 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52558 echo "${ECHO_T}$DEREZ" >&6; }
52559 else
52560 { echo "$as_me:$LINENO: result: no" >&5
52561 echo "${ECHO_T}no" >&6; }
52562 fi
52563
52564
52565
52566 MACSETFILE="\$(SETFILE)"
52567
52568 if test "$wxUSE_MAC" = 1; then
52569 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52570 RESCOMP="$REZ"
52571 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52572 else
52573 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52574 RESCOMP="cat /dev/null \| $REZ"
52575 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52576 fi
52577
52578 else
52579 MACSETFILE="@true"
52580
52581 if test "$wxUSE_PM" = 1; then
52582 RESCOMP="emxbind"
52583 WXCONFIG_RESFLAGS="-ep"
52584
52585 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52586 else
52587 POSTLINK_COMMAND="@true"
52588 fi
52589 fi
52590
52591 fi
52592
52593
52594 if test $GCC_PCH = 1
52595 then
52596 if test "$wx_cv_gcc_pch_bug" = yes; then
52597 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52598 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52599 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52600 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52601 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52602 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52603 fi
52604
52605 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52606 fi
52607
52608
52609 if test "$wxUSE_MAC" = 1 ; then
52610 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52611 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52612 mv temp bk-deps
52613 chmod +x bk-deps
52614 fi
52615 fi
52616
52617 if test "$wxUSE_SHARED" = "yes"; then
52618 case "${host}" in
52619 *-pc-os2_emx | *-pc-os2-emx )
52620 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52621 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52622 cp -p ${srcdir}/src/os2/dllnames.sh .
52623 cp -p ${srcdir}/src/os2/dllar.sh .
52624 ;;
52625 esac
52626 fi
52627 if test "$wxUSE_OMF" = "yes"; then
52628 case "${host}" in
52629 *-pc-os2_emx | *-pc-os2-emx )
52630 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52631 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52632 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52633 ;;
52634 esac
52635 fi
52636
52637 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52638
52639
52640 case "${host}" in
52641 *-*-solaris2* )
52642 if "$GCC" = yes; then
52643 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52644 LIBS=`echo $LIBS | sed 's/-mt//'`
52645 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52646 fi
52647 ;;
52648
52649 *-*-linux* )
52650 if test "x$SUNCXX" = xyes; then
52651 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52652 LIBS=`echo $LIBS | sed 's/-pthread//'`
52653 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52654 fi
52655 ;;
52656 esac
52657
52658 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52659 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52660
52661 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52662
52663
52664
52665
52666
52667
52668
52669
52670
52671
52672
52673
52674
52675
52676
52677
52678
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717
52718
52719
52720
52721
52722 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52723 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52724 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52725 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52726 echo $ECHO_N "(cached) $ECHO_C" >&6
52727 else
52728 cat >conftest.make <<\_ACEOF
52729 SHELL = /bin/sh
52730 all:
52731 @echo '@@@%%%=$(MAKE)=@@@%%%'
52732 _ACEOF
52733 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52734 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52735 *@@@%%%=?*=@@@%%%*)
52736 eval ac_cv_prog_make_${ac_make}_set=yes;;
52737 *)
52738 eval ac_cv_prog_make_${ac_make}_set=no;;
52739 esac
52740 rm -f conftest.make
52741 fi
52742 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52743 { echo "$as_me:$LINENO: result: yes" >&5
52744 echo "${ECHO_T}yes" >&6; }
52745 SET_MAKE=
52746 else
52747 { echo "$as_me:$LINENO: result: no" >&5
52748 echo "${ECHO_T}no" >&6; }
52749 SET_MAKE="MAKE=${MAKE-make}"
52750 fi
52751
52752
52753
52754 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52755
52756
52757 if test "$USE_WIN32" = 1; then
52758 ac_config_commands="$ac_config_commands
52759 rcdefs.h
52760 "
52761
52762 fi
52763
52764 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52765
52766
52767 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52768
52769
52770 if test "$wx_cv_version_script" = "yes"; then
52771 ac_config_files="$ac_config_files version-script"
52772
52773 fi
52774 ac_config_files="$ac_config_files Makefile"
52775
52776
52777 ac_config_commands="$ac_config_commands wx-config"
52778
52779
52780
52781 if test "$wxWITH_SUBDIRS" != "no"; then
52782 if test "$wxUSE_GUI" = "yes"; then
52783 SUBDIRS="samples demos utils"
52784 else SUBDIRS="samples utils"
52785 fi
52786
52787
52788
52789 # Check whether --with-cppunit-prefix was given.
52790 if test "${with_cppunit_prefix+set}" = set; then
52791 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52792 else
52793 cppunit_config_prefix=""
52794 fi
52795
52796
52797 # Check whether --with-cppunit-exec-prefix was given.
52798 if test "${with_cppunit_exec_prefix+set}" = set; then
52799 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52800 else
52801 cppunit_config_exec_prefix=""
52802 fi
52803
52804
52805 if test x$cppunit_config_exec_prefix != x ; then
52806 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52807 if test x${CPPUNIT_CONFIG+set} != xset ; then
52808 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52809 fi
52810 fi
52811 if test x$cppunit_config_prefix != x ; then
52812 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52813 if test x${CPPUNIT_CONFIG+set} != xset ; then
52814 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52815 fi
52816 fi
52817
52818 # Extract the first word of "cppunit-config", so it can be a program name with args.
52819 set dummy cppunit-config; ac_word=$2
52820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52822 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52823 echo $ECHO_N "(cached) $ECHO_C" >&6
52824 else
52825 case $CPPUNIT_CONFIG in
52826 [\\/]* | ?:[\\/]*)
52827 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52828 ;;
52829 *)
52830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52831 for as_dir in $PATH
52832 do
52833 IFS=$as_save_IFS
52834 test -z "$as_dir" && as_dir=.
52835 for ac_exec_ext in '' $ac_executable_extensions; do
52836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52837 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52839 break 2
52840 fi
52841 done
52842 done
52843 IFS=$as_save_IFS
52844
52845 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52846 ;;
52847 esac
52848 fi
52849 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52850 if test -n "$CPPUNIT_CONFIG"; then
52851 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52852 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52853 else
52854 { echo "$as_me:$LINENO: result: no" >&5
52855 echo "${ECHO_T}no" >&6; }
52856 fi
52857
52858
52859 cppunit_version_min=1.8.0
52860
52861 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52862 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52863 no_cppunit=""
52864 if test "$CPPUNIT_CONFIG" = "no" ; then
52865 { echo "$as_me:$LINENO: result: no" >&5
52866 echo "${ECHO_T}no" >&6; }
52867 no_cppunit=yes
52868 else
52869 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52870 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52871 cppunit_version=`$CPPUNIT_CONFIG --version`
52872
52873 cppunit_major_version=`echo $cppunit_version | \
52874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52875 cppunit_minor_version=`echo $cppunit_version | \
52876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52877 cppunit_micro_version=`echo $cppunit_version | \
52878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52879
52880 cppunit_major_min=`echo $cppunit_version_min | \
52881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52882 cppunit_minor_min=`echo $cppunit_version_min | \
52883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52884 cppunit_micro_min=`echo $cppunit_version_min | \
52885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52886
52887 cppunit_version_proper=`expr \
52888 $cppunit_major_version \> $cppunit_major_min \| \
52889 $cppunit_major_version \= $cppunit_major_min \& \
52890 $cppunit_minor_version \> $cppunit_minor_min \| \
52891 $cppunit_major_version \= $cppunit_major_min \& \
52892 $cppunit_minor_version \= $cppunit_minor_min \& \
52893 $cppunit_micro_version \>= $cppunit_micro_min `
52894
52895 if test "$cppunit_version_proper" = "1" ; then
52896 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52897 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52898 else
52899 { echo "$as_me:$LINENO: result: no" >&5
52900 echo "${ECHO_T}no" >&6; }
52901 no_cppunit=yes
52902 fi
52903 fi
52904
52905 if test "x$no_cppunit" = x ; then
52906 SUBDIRS="$SUBDIRS tests"
52907 else
52908 CPPUNIT_CFLAGS=""
52909 CPPUNIT_LIBS=""
52910 :
52911 fi
52912
52913
52914
52915
52916
52917 for subdir in `echo $SUBDIRS`; do
52918 if test -d ${srcdir}/${subdir} ; then
52919 if test "$wxUSE_GUI" = "yes"; then
52920 if test ${subdir} = "samples"; then
52921 makefiles="samples/Makefile.in $makefiles"
52922 for sample in `echo $SAMPLES_SUBDIRS`; do
52923 if test -d $srcdir/samples/$sample; then
52924 makefiles="samples/$sample/Makefile.in $makefiles"
52925 fi
52926 done
52927 else
52928 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52929 eval "disabled=\$$disabled_var"
52930 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52931 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52932 fi
52933 else if test ${subdir} = "samples"; then
52934 makefiles="samples/Makefile.in samples/console/Makefile.in"
52935 elif test ${subdir} = "utils"; then
52936 makefiles=""
52937 for util in HelpGen tex2rtf ; do
52938 if test -d $srcdir/utils/$util ; then
52939 makefiles="utils/$util/Makefile.in \
52940 utils/$util/src/Makefile.in \
52941 $makefiles"
52942 fi
52943 done
52944 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52945 fi
52946 fi
52947
52948 for mkin in $makefiles ; do
52949 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52950 ac_config_files="$ac_config_files $mk"
52951
52952 done
52953 fi
52954 done
52955 fi
52956 cat >confcache <<\_ACEOF
52957 # This file is a shell script that caches the results of configure
52958 # tests run on this system so they can be shared between configure
52959 # scripts and configure runs, see configure's option --config-cache.
52960 # It is not useful on other systems. If it contains results you don't
52961 # want to keep, you may remove or edit it.
52962 #
52963 # config.status only pays attention to the cache file if you give it
52964 # the --recheck option to rerun configure.
52965 #
52966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52968 # following values.
52969
52970 _ACEOF
52971
52972 # The following way of writing the cache mishandles newlines in values,
52973 # but we know of no workaround that is simple, portable, and efficient.
52974 # So, we kill variables containing newlines.
52975 # Ultrix sh set writes to stderr and can't be redirected directly,
52976 # and sets the high bit in the cache file unless we assign to the vars.
52977 (
52978 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52979 eval ac_val=\$$ac_var
52980 case $ac_val in #(
52981 *${as_nl}*)
52982 case $ac_var in #(
52983 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52984 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52985 esac
52986 case $ac_var in #(
52987 _ | IFS | as_nl) ;; #(
52988 *) $as_unset $ac_var ;;
52989 esac ;;
52990 esac
52991 done
52992
52993 (set) 2>&1 |
52994 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52995 *${as_nl}ac_space=\ *)
52996 # `set' does not quote correctly, so add quotes (double-quote
52997 # substitution turns \\\\ into \\, and sed turns \\ into \).
52998 sed -n \
52999 "s/'/'\\\\''/g;
53000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53001 ;; #(
53002 *)
53003 # `set' quotes correctly as required by POSIX, so do not add quotes.
53004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53005 ;;
53006 esac |
53007 sort
53008 ) |
53009 sed '
53010 /^ac_cv_env_/b end
53011 t clear
53012 :clear
53013 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53014 t end
53015 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53016 :end' >>confcache
53017 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53018 if test -w "$cache_file"; then
53019 test "x$cache_file" != "x/dev/null" &&
53020 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53021 echo "$as_me: updating cache $cache_file" >&6;}
53022 cat confcache >$cache_file
53023 else
53024 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53025 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53026 fi
53027 fi
53028 rm -f confcache
53029
53030 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53031 # Let make expand exec_prefix.
53032 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53033
53034 DEFS=-DHAVE_CONFIG_H
53035
53036 ac_libobjs=
53037 ac_ltlibobjs=
53038 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53039 # 1. Remove the extension, and $U if already installed.
53040 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53041 ac_i=`echo "$ac_i" | sed "$ac_script"`
53042 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53043 # will be set to the directory where LIBOBJS objects are built.
53044 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53045 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53046 done
53047 LIBOBJS=$ac_libobjs
53048
53049 LTLIBOBJS=$ac_ltlibobjs
53050
53051
53052
53053 : ${CONFIG_STATUS=./config.status}
53054 ac_clean_files_save=$ac_clean_files
53055 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53056 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53057 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53058 cat >$CONFIG_STATUS <<_ACEOF
53059 #! $SHELL
53060 # Generated by $as_me.
53061 # Run this file to recreate the current configuration.
53062 # Compiler output produced by configure, useful for debugging
53063 # configure, is in config.log if it exists.
53064
53065 debug=false
53066 ac_cs_recheck=false
53067 ac_cs_silent=false
53068 SHELL=\${CONFIG_SHELL-$SHELL}
53069 _ACEOF
53070
53071 cat >>$CONFIG_STATUS <<\_ACEOF
53072 ## --------------------- ##
53073 ## M4sh Initialization. ##
53074 ## --------------------- ##
53075
53076 # Be more Bourne compatible
53077 DUALCASE=1; export DUALCASE # for MKS sh
53078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53079 emulate sh
53080 NULLCMD=:
53081 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53082 # is contrary to our usage. Disable this feature.
53083 alias -g '${1+"$@"}'='"$@"'
53084 setopt NO_GLOB_SUBST
53085 else
53086 case `(set -o) 2>/dev/null` in
53087 *posix*) set -o posix ;;
53088 esac
53089
53090 fi
53091
53092
53093
53094
53095 # PATH needs CR
53096 # Avoid depending upon Character Ranges.
53097 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53098 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53099 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53100 as_cr_digits='0123456789'
53101 as_cr_alnum=$as_cr_Letters$as_cr_digits
53102
53103 # The user is always right.
53104 if test "${PATH_SEPARATOR+set}" != set; then
53105 echo "#! /bin/sh" >conf$$.sh
53106 echo "exit 0" >>conf$$.sh
53107 chmod +x conf$$.sh
53108 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53109 PATH_SEPARATOR=';'
53110 else
53111 PATH_SEPARATOR=:
53112 fi
53113 rm -f conf$$.sh
53114 fi
53115
53116 # Support unset when possible.
53117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53118 as_unset=unset
53119 else
53120 as_unset=false
53121 fi
53122
53123
53124 # IFS
53125 # We need space, tab and new line, in precisely that order. Quoting is
53126 # there to prevent editors from complaining about space-tab.
53127 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53128 # splitting by setting IFS to empty value.)
53129 as_nl='
53130 '
53131 IFS=" "" $as_nl"
53132
53133 # Find who we are. Look in the path if we contain no directory separator.
53134 case $0 in
53135 *[\\/]* ) as_myself=$0 ;;
53136 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53137 for as_dir in $PATH
53138 do
53139 IFS=$as_save_IFS
53140 test -z "$as_dir" && as_dir=.
53141 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53142 done
53143 IFS=$as_save_IFS
53144
53145 ;;
53146 esac
53147 # We did not find ourselves, most probably we were run as `sh COMMAND'
53148 # in which case we are not to be found in the path.
53149 if test "x$as_myself" = x; then
53150 as_myself=$0
53151 fi
53152 if test ! -f "$as_myself"; then
53153 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53154 { (exit 1); exit 1; }
53155 fi
53156
53157 # Work around bugs in pre-3.0 UWIN ksh.
53158 for as_var in ENV MAIL MAILPATH
53159 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53160 done
53161 PS1='$ '
53162 PS2='> '
53163 PS4='+ '
53164
53165 # NLS nuisances.
53166 for as_var in \
53167 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53168 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53169 LC_TELEPHONE LC_TIME
53170 do
53171 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53172 eval $as_var=C; export $as_var
53173 else
53174 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53175 fi
53176 done
53177
53178 # Required to use basename.
53179 if expr a : '\(a\)' >/dev/null 2>&1 &&
53180 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53181 as_expr=expr
53182 else
53183 as_expr=false
53184 fi
53185
53186 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53187 as_basename=basename
53188 else
53189 as_basename=false
53190 fi
53191
53192
53193 # Name of the executable.
53194 as_me=`$as_basename -- "$0" ||
53195 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53196 X"$0" : 'X\(//\)$' \| \
53197 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53198 echo X/"$0" |
53199 sed '/^.*\/\([^/][^/]*\)\/*$/{
53200 s//\1/
53201 q
53202 }
53203 /^X\/\(\/\/\)$/{
53204 s//\1/
53205 q
53206 }
53207 /^X\/\(\/\).*/{
53208 s//\1/
53209 q
53210 }
53211 s/.*/./; q'`
53212
53213 # CDPATH.
53214 $as_unset CDPATH
53215
53216
53217
53218 as_lineno_1=$LINENO
53219 as_lineno_2=$LINENO
53220 test "x$as_lineno_1" != "x$as_lineno_2" &&
53221 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53222
53223 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53224 # uniformly replaced by the line number. The first 'sed' inserts a
53225 # line-number line after each line using $LINENO; the second 'sed'
53226 # does the real work. The second script uses 'N' to pair each
53227 # line-number line with the line containing $LINENO, and appends
53228 # trailing '-' during substitution so that $LINENO is not a special
53229 # case at line end.
53230 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53231 # scripts with optimization help from Paolo Bonzini. Blame Lee
53232 # E. McMahon (1931-1989) for sed's syntax. :-)
53233 sed -n '
53234 p
53235 /[$]LINENO/=
53236 ' <$as_myself |
53237 sed '
53238 s/[$]LINENO.*/&-/
53239 t lineno
53240 b
53241 :lineno
53242 N
53243 :loop
53244 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53245 t loop
53246 s/-\n.*//
53247 ' >$as_me.lineno &&
53248 chmod +x "$as_me.lineno" ||
53249 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53250 { (exit 1); exit 1; }; }
53251
53252 # Don't try to exec as it changes $[0], causing all sort of problems
53253 # (the dirname of $[0] is not the place where we might find the
53254 # original and so on. Autoconf is especially sensitive to this).
53255 . "./$as_me.lineno"
53256 # Exit status is that of the last command.
53257 exit
53258 }
53259
53260
53261 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53262 as_dirname=dirname
53263 else
53264 as_dirname=false
53265 fi
53266
53267 ECHO_C= ECHO_N= ECHO_T=
53268 case `echo -n x` in
53269 -n*)
53270 case `echo 'x\c'` in
53271 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53272 *) ECHO_C='\c';;
53273 esac;;
53274 *)
53275 ECHO_N='-n';;
53276 esac
53277
53278 if expr a : '\(a\)' >/dev/null 2>&1 &&
53279 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53280 as_expr=expr
53281 else
53282 as_expr=false
53283 fi
53284
53285 rm -f conf$$ conf$$.exe conf$$.file
53286 if test -d conf$$.dir; then
53287 rm -f conf$$.dir/conf$$.file
53288 else
53289 rm -f conf$$.dir
53290 mkdir conf$$.dir
53291 fi
53292 echo >conf$$.file
53293 if ln -s conf$$.file conf$$ 2>/dev/null; then
53294 as_ln_s='ln -s'
53295 # ... but there are two gotchas:
53296 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53297 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53298 # In both cases, we have to default to `cp -p'.
53299 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53300 as_ln_s='cp -p'
53301 elif ln conf$$.file conf$$ 2>/dev/null; then
53302 as_ln_s=ln
53303 else
53304 as_ln_s='cp -p'
53305 fi
53306 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53307 rmdir conf$$.dir 2>/dev/null
53308
53309 if mkdir -p . 2>/dev/null; then
53310 as_mkdir_p=:
53311 else
53312 test -d ./-p && rmdir ./-p
53313 as_mkdir_p=false
53314 fi
53315
53316 if test -x / >/dev/null 2>&1; then
53317 as_test_x='test -x'
53318 else
53319 if ls -dL / >/dev/null 2>&1; then
53320 as_ls_L_option=L
53321 else
53322 as_ls_L_option=
53323 fi
53324 as_test_x='
53325 eval sh -c '\''
53326 if test -d "$1"; then
53327 test -d "$1/.";
53328 else
53329 case $1 in
53330 -*)set "./$1";;
53331 esac;
53332 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53333 ???[sx]*):;;*)false;;esac;fi
53334 '\'' sh
53335 '
53336 fi
53337 as_executable_p=$as_test_x
53338
53339 # Sed expression to map a string onto a valid CPP name.
53340 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53341
53342 # Sed expression to map a string onto a valid variable name.
53343 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53344
53345
53346 exec 6>&1
53347
53348 # Save the log message, to keep $[0] and so on meaningful, and to
53349 # report actual input values of CONFIG_FILES etc. instead of their
53350 # values after options handling.
53351 ac_log="
53352 This file was extended by wxWidgets $as_me 2.9.0, which was
53353 generated by GNU Autoconf 2.61. Invocation command line was
53354
53355 CONFIG_FILES = $CONFIG_FILES
53356 CONFIG_HEADERS = $CONFIG_HEADERS
53357 CONFIG_LINKS = $CONFIG_LINKS
53358 CONFIG_COMMANDS = $CONFIG_COMMANDS
53359 $ $0 $@
53360
53361 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53362 "
53363
53364 _ACEOF
53365
53366 cat >>$CONFIG_STATUS <<_ACEOF
53367 # Files that config.status was made for.
53368 config_files="$ac_config_files"
53369 config_headers="$ac_config_headers"
53370 config_commands="$ac_config_commands"
53371
53372 _ACEOF
53373
53374 cat >>$CONFIG_STATUS <<\_ACEOF
53375 ac_cs_usage="\
53376 \`$as_me' instantiates files from templates according to the
53377 current configuration.
53378
53379 Usage: $0 [OPTIONS] [FILE]...
53380
53381 -h, --help print this help, then exit
53382 -V, --version print version number and configuration settings, then exit
53383 -q, --quiet do not print progress messages
53384 -d, --debug don't remove temporary files
53385 --recheck update $as_me by reconfiguring in the same conditions
53386 --file=FILE[:TEMPLATE]
53387 instantiate the configuration file FILE
53388 --header=FILE[:TEMPLATE]
53389 instantiate the configuration header FILE
53390
53391 Configuration files:
53392 $config_files
53393
53394 Configuration headers:
53395 $config_headers
53396
53397 Configuration commands:
53398 $config_commands
53399
53400 Report bugs to <bug-autoconf@gnu.org>."
53401
53402 _ACEOF
53403 cat >>$CONFIG_STATUS <<_ACEOF
53404 ac_cs_version="\\
53405 wxWidgets config.status 2.9.0
53406 configured by $0, generated by GNU Autoconf 2.61,
53407 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53408
53409 Copyright (C) 2006 Free Software Foundation, Inc.
53410 This config.status script is free software; the Free Software Foundation
53411 gives unlimited permission to copy, distribute and modify it."
53412
53413 ac_pwd='$ac_pwd'
53414 srcdir='$srcdir'
53415 INSTALL='$INSTALL'
53416 _ACEOF
53417
53418 cat >>$CONFIG_STATUS <<\_ACEOF
53419 # If no file are specified by the user, then we need to provide default
53420 # value. By we need to know if files were specified by the user.
53421 ac_need_defaults=:
53422 while test $# != 0
53423 do
53424 case $1 in
53425 --*=*)
53426 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53427 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53428 ac_shift=:
53429 ;;
53430 *)
53431 ac_option=$1
53432 ac_optarg=$2
53433 ac_shift=shift
53434 ;;
53435 esac
53436
53437 case $ac_option in
53438 # Handling of the options.
53439 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53440 ac_cs_recheck=: ;;
53441 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53442 echo "$ac_cs_version"; exit ;;
53443 --debug | --debu | --deb | --de | --d | -d )
53444 debug=: ;;
53445 --file | --fil | --fi | --f )
53446 $ac_shift
53447 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53448 ac_need_defaults=false;;
53449 --header | --heade | --head | --hea )
53450 $ac_shift
53451 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53452 ac_need_defaults=false;;
53453 --he | --h)
53454 # Conflict between --help and --header
53455 { echo "$as_me: error: ambiguous option: $1
53456 Try \`$0 --help' for more information." >&2
53457 { (exit 1); exit 1; }; };;
53458 --help | --hel | -h )
53459 echo "$ac_cs_usage"; exit ;;
53460 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53461 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53462 ac_cs_silent=: ;;
53463
53464 # This is an error.
53465 -*) { echo "$as_me: error: unrecognized option: $1
53466 Try \`$0 --help' for more information." >&2
53467 { (exit 1); exit 1; }; } ;;
53468
53469 *) ac_config_targets="$ac_config_targets $1"
53470 ac_need_defaults=false ;;
53471
53472 esac
53473 shift
53474 done
53475
53476 ac_configure_extra_args=
53477
53478 if $ac_cs_silent; then
53479 exec 6>/dev/null
53480 ac_configure_extra_args="$ac_configure_extra_args --silent"
53481 fi
53482
53483 _ACEOF
53484 cat >>$CONFIG_STATUS <<_ACEOF
53485 if \$ac_cs_recheck; then
53486 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53487 CONFIG_SHELL=$SHELL
53488 export CONFIG_SHELL
53489 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53490 fi
53491
53492 _ACEOF
53493 cat >>$CONFIG_STATUS <<\_ACEOF
53494 exec 5>>config.log
53495 {
53496 echo
53497 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53498 ## Running $as_me. ##
53499 _ASBOX
53500 echo "$ac_log"
53501 } >&5
53502
53503 _ACEOF
53504 cat >>$CONFIG_STATUS <<_ACEOF
53505 #
53506 # INIT-COMMANDS
53507 #
53508
53509 CPP="$CPP"
53510 infile="$srcdir/include/wx/msw/genrcdefs.h"
53511 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53512
53513
53514 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53515 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53516 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53517 LN_S="${LN_S}"
53518
53519
53520 _ACEOF
53521
53522 cat >>$CONFIG_STATUS <<\_ACEOF
53523
53524 # Handling of arguments.
53525 for ac_config_target in $ac_config_targets
53526 do
53527 case $ac_config_target in
53528 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53529 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53530 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53531 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53532 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53533 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53534 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53535 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53536
53537 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53538 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53539 { (exit 1); exit 1; }; };;
53540 esac
53541 done
53542
53543
53544 # If the user did not use the arguments to specify the items to instantiate,
53545 # then the envvar interface is used. Set only those that are not.
53546 # We use the long form for the default assignment because of an extremely
53547 # bizarre bug on SunOS 4.1.3.
53548 if $ac_need_defaults; then
53549 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53550 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53551 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53552 fi
53553
53554 # Have a temporary directory for convenience. Make it in the build tree
53555 # simply because there is no reason against having it here, and in addition,
53556 # creating and moving files from /tmp can sometimes cause problems.
53557 # Hook for its removal unless debugging.
53558 # Note that there is a small window in which the directory will not be cleaned:
53559 # after its creation but before its name has been assigned to `$tmp'.
53560 $debug ||
53561 {
53562 tmp=
53563 trap 'exit_status=$?
53564 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53565 ' 0
53566 trap '{ (exit 1); exit 1; }' 1 2 13 15
53567 }
53568 # Create a (secure) tmp directory for tmp files.
53569
53570 {
53571 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53572 test -n "$tmp" && test -d "$tmp"
53573 } ||
53574 {
53575 tmp=./conf$$-$RANDOM
53576 (umask 077 && mkdir "$tmp")
53577 } ||
53578 {
53579 echo "$me: cannot create a temporary directory in ." >&2
53580 { (exit 1); exit 1; }
53581 }
53582
53583 #
53584 # Set up the sed scripts for CONFIG_FILES section.
53585 #
53586
53587 # No need to generate the scripts if there are no CONFIG_FILES.
53588 # This happens for instance when ./config.status config.h
53589 if test -n "$CONFIG_FILES"; then
53590
53591 _ACEOF
53592
53593
53594
53595 ac_delim='%!_!# '
53596 for ac_last_try in false false false false false :; do
53597 cat >conf$$subs.sed <<_ACEOF
53598 SHELL!$SHELL$ac_delim
53599 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53600 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53601 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53602 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53603 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53604 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53605 exec_prefix!$exec_prefix$ac_delim
53606 prefix!$prefix$ac_delim
53607 program_transform_name!$program_transform_name$ac_delim
53608 bindir!$bindir$ac_delim
53609 sbindir!$sbindir$ac_delim
53610 libexecdir!$libexecdir$ac_delim
53611 datarootdir!$datarootdir$ac_delim
53612 datadir!$datadir$ac_delim
53613 sysconfdir!$sysconfdir$ac_delim
53614 sharedstatedir!$sharedstatedir$ac_delim
53615 localstatedir!$localstatedir$ac_delim
53616 includedir!$includedir$ac_delim
53617 oldincludedir!$oldincludedir$ac_delim
53618 docdir!$docdir$ac_delim
53619 infodir!$infodir$ac_delim
53620 htmldir!$htmldir$ac_delim
53621 dvidir!$dvidir$ac_delim
53622 pdfdir!$pdfdir$ac_delim
53623 psdir!$psdir$ac_delim
53624 libdir!$libdir$ac_delim
53625 localedir!$localedir$ac_delim
53626 mandir!$mandir$ac_delim
53627 DEFS!$DEFS$ac_delim
53628 ECHO_C!$ECHO_C$ac_delim
53629 ECHO_N!$ECHO_N$ac_delim
53630 ECHO_T!$ECHO_T$ac_delim
53631 LIBS!$LIBS$ac_delim
53632 build_alias!$build_alias$ac_delim
53633 host_alias!$host_alias$ac_delim
53634 target_alias!$target_alias$ac_delim
53635 build!$build$ac_delim
53636 build_cpu!$build_cpu$ac_delim
53637 build_vendor!$build_vendor$ac_delim
53638 build_os!$build_os$ac_delim
53639 host!$host$ac_delim
53640 host_cpu!$host_cpu$ac_delim
53641 host_vendor!$host_vendor$ac_delim
53642 host_os!$host_os$ac_delim
53643 target!$target$ac_delim
53644 target_cpu!$target_cpu$ac_delim
53645 target_vendor!$target_vendor$ac_delim
53646 target_os!$target_os$ac_delim
53647 wx_top_builddir!$wx_top_builddir$ac_delim
53648 CC!$CC$ac_delim
53649 CFLAGS!$CFLAGS$ac_delim
53650 LDFLAGS!$LDFLAGS$ac_delim
53651 CPPFLAGS!$CPPFLAGS$ac_delim
53652 ac_ct_CC!$ac_ct_CC$ac_delim
53653 EXEEXT!$EXEEXT$ac_delim
53654 OBJEXT!$OBJEXT$ac_delim
53655 CPP!$CPP$ac_delim
53656 GREP!$GREP$ac_delim
53657 EGREP!$EGREP$ac_delim
53658 CXX!$CXX$ac_delim
53659 CXXFLAGS!$CXXFLAGS$ac_delim
53660 ac_ct_CXX!$ac_ct_CXX$ac_delim
53661 AR!$AR$ac_delim
53662 subdirs!$subdirs$ac_delim
53663 PKG_CONFIG!$PKG_CONFIG$ac_delim
53664 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53665 GTK_LIBS!$GTK_LIBS$ac_delim
53666 GTK_CONFIG!$GTK_CONFIG$ac_delim
53667 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53668 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53669 XMKMF!$XMKMF$ac_delim
53670 X_CFLAGS!$X_CFLAGS$ac_delim
53671 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53672 X_LIBS!$X_LIBS$ac_delim
53673 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53674 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53675 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53676 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53677 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53678 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53679 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53680 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53681 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53682 LIBICONV!$LIBICONV$ac_delim
53683 SDL_CONFIG!$SDL_CONFIG$ac_delim
53684 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53685 SDL_LIBS!$SDL_LIBS$ac_delim
53686 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53687 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53688 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53689 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53690 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53691 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53692 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53693 HILDON_LIBS!$HILDON_LIBS$ac_delim
53694 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53695 _ACEOF
53696
53697 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53698 break
53699 elif $ac_last_try; then
53700 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53701 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53702 { (exit 1); exit 1; }; }
53703 else
53704 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53705 fi
53706 done
53707
53708 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53709 if test -n "$ac_eof"; then
53710 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53711 ac_eof=`expr $ac_eof + 1`
53712 fi
53713
53714 cat >>$CONFIG_STATUS <<_ACEOF
53715 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53716 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53717 _ACEOF
53718 sed '
53719 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53720 s/^/s,@/; s/!/@,|#_!!_#|/
53721 :n
53722 t n
53723 s/'"$ac_delim"'$/,g/; t
53724 s/$/\\/; p
53725 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53726 ' >>$CONFIG_STATUS <conf$$subs.sed
53727 rm -f conf$$subs.sed
53728 cat >>$CONFIG_STATUS <<_ACEOF
53729 CEOF$ac_eof
53730 _ACEOF
53731
53732
53733 ac_delim='%!_!# '
53734 for ac_last_try in false false false false false :; do
53735 cat >conf$$subs.sed <<_ACEOF
53736 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53737 GST_CFLAGS!$GST_CFLAGS$ac_delim
53738 GST_LIBS!$GST_LIBS$ac_delim
53739 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53740 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53741 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53742 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53743 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53744 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53745 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53746 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53747 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53748 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53749 VENDOR!$VENDOR$ac_delim
53750 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53751 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53752 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53753 WXUNIV!$WXUNIV$ac_delim
53754 MONOLITHIC!$MONOLITHIC$ac_delim
53755 USE_PLUGINS!$USE_PLUGINS$ac_delim
53756 CXXWARNINGS!$CXXWARNINGS$ac_delim
53757 EXTRALIBS!$EXTRALIBS$ac_delim
53758 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53759 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53760 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53761 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53762 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53763 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53764 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53765 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53766 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53767 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53768 UNICODE!$UNICODE$ac_delim
53769 BUILD!$BUILD$ac_delim
53770 DEBUG_INFO!$DEBUG_INFO$ac_delim
53771 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53772 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53773 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53774 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53775 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53776 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53777 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53778 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53779 RANLIB!$RANLIB$ac_delim
53780 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53781 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53782 INSTALL_DATA!$INSTALL_DATA$ac_delim
53783 LN_S!$LN_S$ac_delim
53784 SET_MAKE!$SET_MAKE$ac_delim
53785 MAKE_SET!$MAKE_SET$ac_delim
53786 AROPTIONS!$AROPTIONS$ac_delim
53787 STRIP!$STRIP$ac_delim
53788 NM!$NM$ac_delim
53789 INSTALL_DIR!$INSTALL_DIR$ac_delim
53790 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53791 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53792 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53793 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53794 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53795 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53796 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53797 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53798 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53799 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53800 SO_SUFFIX!$SO_SUFFIX$ac_delim
53801 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53802 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53803 LIBPREFIX!$LIBPREFIX$ac_delim
53804 LIBEXT!$LIBEXT$ac_delim
53805 DLLPREFIX!$DLLPREFIX$ac_delim
53806 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53807 dlldir!$dlldir$ac_delim
53808 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53809 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53810 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53811 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53812 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53813 PIC_FLAG!$PIC_FLAG$ac_delim
53814 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53815 USE_SOVERSION!$USE_SOVERSION$ac_delim
53816 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53817 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53818 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53819 USE_MACVERSION!$USE_MACVERSION$ac_delim
53820 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53821 SONAME_FLAG!$SONAME_FLAG$ac_delim
53822 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53823 BK_DEPS!$BK_DEPS$ac_delim
53824 WINDRES!$WINDRES$ac_delim
53825 REZ!$REZ$ac_delim
53826 SETFILE!$SETFILE$ac_delim
53827 GCC_PCH!$GCC_PCH$ac_delim
53828 ICC_PCH!$ICC_PCH$ac_delim
53829 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53830 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53831 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53832 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53833 _ACEOF
53834
53835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53836 break
53837 elif $ac_last_try; then
53838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53840 { (exit 1); exit 1; }; }
53841 else
53842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53843 fi
53844 done
53845
53846 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53847 if test -n "$ac_eof"; then
53848 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53849 ac_eof=`expr $ac_eof + 1`
53850 fi
53851
53852 cat >>$CONFIG_STATUS <<_ACEOF
53853 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53855 _ACEOF
53856 sed '
53857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53858 s/^/s,@/; s/!/@,|#_!!_#|/
53859 :n
53860 t n
53861 s/'"$ac_delim"'$/,g/; t
53862 s/$/\\/; p
53863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53864 ' >>$CONFIG_STATUS <conf$$subs.sed
53865 rm -f conf$$subs.sed
53866 cat >>$CONFIG_STATUS <<_ACEOF
53867 CEOF$ac_eof
53868 _ACEOF
53869
53870
53871 ac_delim='%!_!# '
53872 for ac_last_try in false false false false false :; do
53873 cat >conf$$subs.sed <<_ACEOF
53874 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53875 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53876 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53877 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53878 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53879 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53880 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53881 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53882 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53883 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53884 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53885 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53886 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53887 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53888 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53889 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53891 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53893 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53895 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53896 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53897 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53898 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53899 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53900 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53902 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53906 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53907 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53908 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53909 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53910 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53911 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53912 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53913 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53914 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53915 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53916 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53917 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53918 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53919 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53920 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53921 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53922 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53923 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53924 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53925 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53926 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53927 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53928 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53929 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53930 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53931 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53932 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53933 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53934 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53935 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53936 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53937 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53938 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53939 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53940 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53941 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53942 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53943 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53944 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53945 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53946 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53947 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53948 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53949 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53950 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53951 COND_SHARED_0!$COND_SHARED_0$ac_delim
53952 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53953 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53954 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53955 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53956 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53957 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53958 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53959 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53960 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53961 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53962 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53963 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53964 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53965 COND_SHARED_1!$COND_SHARED_1$ac_delim
53966 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53967 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53968 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53969 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53970 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53971 _ACEOF
53972
53973 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53974 break
53975 elif $ac_last_try; then
53976 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53977 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53978 { (exit 1); exit 1; }; }
53979 else
53980 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53981 fi
53982 done
53983
53984 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53985 if test -n "$ac_eof"; then
53986 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53987 ac_eof=`expr $ac_eof + 1`
53988 fi
53989
53990 cat >>$CONFIG_STATUS <<_ACEOF
53991 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53993 _ACEOF
53994 sed '
53995 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53996 s/^/s,@/; s/!/@,|#_!!_#|/
53997 :n
53998 t n
53999 s/'"$ac_delim"'$/,g/; t
54000 s/$/\\/; p
54001 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54002 ' >>$CONFIG_STATUS <conf$$subs.sed
54003 rm -f conf$$subs.sed
54004 cat >>$CONFIG_STATUS <<_ACEOF
54005 CEOF$ac_eof
54006 _ACEOF
54007
54008
54009 ac_delim='%!_!# '
54010 for ac_last_try in false false false false false :; do
54011 cat >conf$$subs.sed <<_ACEOF
54012 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54013 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54014 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54015 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54017 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54018 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54019 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54020 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54021 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54022 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54023 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54024 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54025 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54026 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54027 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54028 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54029 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54030 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54031 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54032 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54033 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54034 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54035 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54036 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54037 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54038 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54039 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54040 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54041 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54042 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54043 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54044 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54045 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54046 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54047 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54048 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54049 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54050 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54051 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54052 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54053 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54054 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54055 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54056 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54057 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54058 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54059 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54060 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54061 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54062 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54063 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54064 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54065 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54066 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54067 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54068 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54069 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54070 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54071 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54072 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54073 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54074 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54075 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54076 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54077 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54078 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54079 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54080 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54081 DEREZ!$DEREZ$ac_delim
54082 SHARED!$SHARED$ac_delim
54083 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54084 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54085 USE_GUI!$USE_GUI$ac_delim
54086 AFMINSTALL!$AFMINSTALL$ac_delim
54087 WIN32INSTALL!$WIN32INSTALL$ac_delim
54088 TOOLKIT!$TOOLKIT$ac_delim
54089 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54090 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54091 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54092 cross_compiling!$cross_compiling$ac_delim
54093 WIDGET_SET!$WIDGET_SET$ac_delim
54094 WX_RELEASE!$WX_RELEASE$ac_delim
54095 WX_VERSION!$WX_VERSION$ac_delim
54096 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54097 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54098 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54099 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54100 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54101 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54102 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54103 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54104 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54105 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54106 GUIDIST!$GUIDIST$ac_delim
54107 DISTDIR!$DISTDIR$ac_delim
54108 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54109 _ACEOF
54110
54111 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54112 break
54113 elif $ac_last_try; then
54114 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54115 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54116 { (exit 1); exit 1; }; }
54117 else
54118 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54119 fi
54120 done
54121
54122 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54123 if test -n "$ac_eof"; then
54124 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54125 ac_eof=`expr $ac_eof + 1`
54126 fi
54127
54128 cat >>$CONFIG_STATUS <<_ACEOF
54129 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54131 _ACEOF
54132 sed '
54133 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54134 s/^/s,@/; s/!/@,|#_!!_#|/
54135 :n
54136 t n
54137 s/'"$ac_delim"'$/,g/; t
54138 s/$/\\/; p
54139 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54140 ' >>$CONFIG_STATUS <conf$$subs.sed
54141 rm -f conf$$subs.sed
54142 cat >>$CONFIG_STATUS <<_ACEOF
54143 CEOF$ac_eof
54144 _ACEOF
54145
54146
54147 ac_delim='%!_!# '
54148 for ac_last_try in false false false false false :; do
54149 cat >conf$$subs.sed <<_ACEOF
54150 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54151 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54152 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54153 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54154 RESCOMP!$RESCOMP$ac_delim
54155 RESFLAGS!$RESFLAGS$ac_delim
54156 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54157 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54158 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54159 LIBWXMACRES!$LIBWXMACRES$ac_delim
54160 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54161 MACSETFILE!$MACSETFILE$ac_delim
54162 GCC!$GCC$ac_delim
54163 DLLTOOL!$DLLTOOL$ac_delim
54164 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54165 LIBOBJS!$LIBOBJS$ac_delim
54166 LTLIBOBJS!$LTLIBOBJS$ac_delim
54167 _ACEOF
54168
54169 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54170 break
54171 elif $ac_last_try; then
54172 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54173 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54174 { (exit 1); exit 1; }; }
54175 else
54176 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54177 fi
54178 done
54179
54180 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54181 if test -n "$ac_eof"; then
54182 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54183 ac_eof=`expr $ac_eof + 1`
54184 fi
54185
54186 cat >>$CONFIG_STATUS <<_ACEOF
54187 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54189 _ACEOF
54190 sed '
54191 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54192 s/^/s,@/; s/!/@,|#_!!_#|/
54193 :n
54194 t n
54195 s/'"$ac_delim"'$/,g/; t
54196 s/$/\\/; p
54197 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54198 ' >>$CONFIG_STATUS <conf$$subs.sed
54199 rm -f conf$$subs.sed
54200 cat >>$CONFIG_STATUS <<_ACEOF
54201 :end
54202 s/|#_!!_#|//g
54203 CEOF$ac_eof
54204 _ACEOF
54205
54206
54207 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54208 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54209 # trailing colons and then remove the whole line if VPATH becomes empty
54210 # (actually we leave an empty line to preserve line numbers).
54211 if test "x$srcdir" = x.; then
54212 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54213 s/:*\$(srcdir):*/:/
54214 s/:*\${srcdir}:*/:/
54215 s/:*@srcdir@:*/:/
54216 s/^\([^=]*=[ ]*\):*/\1/
54217 s/:*$//
54218 s/^[^=]*=[ ]*$//
54219 }'
54220 fi
54221
54222 cat >>$CONFIG_STATUS <<\_ACEOF
54223 fi # test -n "$CONFIG_FILES"
54224
54225
54226 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54227 do
54228 case $ac_tag in
54229 :[FHLC]) ac_mode=$ac_tag; continue;;
54230 esac
54231 case $ac_mode$ac_tag in
54232 :[FHL]*:*);;
54233 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54234 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54235 { (exit 1); exit 1; }; };;
54236 :[FH]-) ac_tag=-:-;;
54237 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54238 esac
54239 ac_save_IFS=$IFS
54240 IFS=:
54241 set x $ac_tag
54242 IFS=$ac_save_IFS
54243 shift
54244 ac_file=$1
54245 shift
54246
54247 case $ac_mode in
54248 :L) ac_source=$1;;
54249 :[FH])
54250 ac_file_inputs=
54251 for ac_f
54252 do
54253 case $ac_f in
54254 -) ac_f="$tmp/stdin";;
54255 *) # Look for the file first in the build tree, then in the source tree
54256 # (if the path is not absolute). The absolute path cannot be DOS-style,
54257 # because $ac_f cannot contain `:'.
54258 test -f "$ac_f" ||
54259 case $ac_f in
54260 [\\/$]*) false;;
54261 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54262 esac ||
54263 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54264 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54265 { (exit 1); exit 1; }; };;
54266 esac
54267 ac_file_inputs="$ac_file_inputs $ac_f"
54268 done
54269
54270 # Let's still pretend it is `configure' which instantiates (i.e., don't
54271 # use $as_me), people would be surprised to read:
54272 # /* config.h. Generated by config.status. */
54273 configure_input="Generated from "`IFS=:
54274 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54275 if test x"$ac_file" != x-; then
54276 configure_input="$ac_file. $configure_input"
54277 { echo "$as_me:$LINENO: creating $ac_file" >&5
54278 echo "$as_me: creating $ac_file" >&6;}
54279 fi
54280
54281 case $ac_tag in
54282 *:-:* | *:-) cat >"$tmp/stdin";;
54283 esac
54284 ;;
54285 esac
54286
54287 ac_dir=`$as_dirname -- "$ac_file" ||
54288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54289 X"$ac_file" : 'X\(//\)[^/]' \| \
54290 X"$ac_file" : 'X\(//\)$' \| \
54291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54292 echo X"$ac_file" |
54293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54294 s//\1/
54295 q
54296 }
54297 /^X\(\/\/\)[^/].*/{
54298 s//\1/
54299 q
54300 }
54301 /^X\(\/\/\)$/{
54302 s//\1/
54303 q
54304 }
54305 /^X\(\/\).*/{
54306 s//\1/
54307 q
54308 }
54309 s/.*/./; q'`
54310 { as_dir="$ac_dir"
54311 case $as_dir in #(
54312 -*) as_dir=./$as_dir;;
54313 esac
54314 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54315 as_dirs=
54316 while :; do
54317 case $as_dir in #(
54318 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54319 *) as_qdir=$as_dir;;
54320 esac
54321 as_dirs="'$as_qdir' $as_dirs"
54322 as_dir=`$as_dirname -- "$as_dir" ||
54323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54324 X"$as_dir" : 'X\(//\)[^/]' \| \
54325 X"$as_dir" : 'X\(//\)$' \| \
54326 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54327 echo X"$as_dir" |
54328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54329 s//\1/
54330 q
54331 }
54332 /^X\(\/\/\)[^/].*/{
54333 s//\1/
54334 q
54335 }
54336 /^X\(\/\/\)$/{
54337 s//\1/
54338 q
54339 }
54340 /^X\(\/\).*/{
54341 s//\1/
54342 q
54343 }
54344 s/.*/./; q'`
54345 test -d "$as_dir" && break
54346 done
54347 test -z "$as_dirs" || eval "mkdir $as_dirs"
54348 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54349 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54350 { (exit 1); exit 1; }; }; }
54351 ac_builddir=.
54352
54353 case "$ac_dir" in
54354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54355 *)
54356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54357 # A ".." for each directory in $ac_dir_suffix.
54358 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54359 case $ac_top_builddir_sub in
54360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54362 esac ;;
54363 esac
54364 ac_abs_top_builddir=$ac_pwd
54365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54366 # for backward compatibility:
54367 ac_top_builddir=$ac_top_build_prefix
54368
54369 case $srcdir in
54370 .) # We are building in place.
54371 ac_srcdir=.
54372 ac_top_srcdir=$ac_top_builddir_sub
54373 ac_abs_top_srcdir=$ac_pwd ;;
54374 [\\/]* | ?:[\\/]* ) # Absolute name.
54375 ac_srcdir=$srcdir$ac_dir_suffix;
54376 ac_top_srcdir=$srcdir
54377 ac_abs_top_srcdir=$srcdir ;;
54378 *) # Relative name.
54379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54380 ac_top_srcdir=$ac_top_build_prefix$srcdir
54381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54382 esac
54383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54384
54385
54386 case $ac_mode in
54387 :F)
54388 #
54389 # CONFIG_FILE
54390 #
54391
54392 case $INSTALL in
54393 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54394 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54395 esac
54396 _ACEOF
54397
54398 cat >>$CONFIG_STATUS <<\_ACEOF
54399 # If the template does not know about datarootdir, expand it.
54400 # FIXME: This hack should be removed a few years after 2.60.
54401 ac_datarootdir_hack=; ac_datarootdir_seen=
54402
54403 case `sed -n '/datarootdir/ {
54404 p
54405 q
54406 }
54407 /@datadir@/p
54408 /@docdir@/p
54409 /@infodir@/p
54410 /@localedir@/p
54411 /@mandir@/p
54412 ' $ac_file_inputs` in
54413 *datarootdir*) ac_datarootdir_seen=yes;;
54414 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54415 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54416 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54417 _ACEOF
54418 cat >>$CONFIG_STATUS <<_ACEOF
54419 ac_datarootdir_hack='
54420 s&@datadir@&$datadir&g
54421 s&@docdir@&$docdir&g
54422 s&@infodir@&$infodir&g
54423 s&@localedir@&$localedir&g
54424 s&@mandir@&$mandir&g
54425 s&\\\${datarootdir}&$datarootdir&g' ;;
54426 esac
54427 _ACEOF
54428
54429 # Neutralize VPATH when `$srcdir' = `.'.
54430 # Shell code in configure.ac might set extrasub.
54431 # FIXME: do we really want to maintain this feature?
54432 cat >>$CONFIG_STATUS <<_ACEOF
54433 sed "$ac_vpsub
54434 $extrasub
54435 _ACEOF
54436 cat >>$CONFIG_STATUS <<\_ACEOF
54437 :t
54438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54439 s&@configure_input@&$configure_input&;t t
54440 s&@top_builddir@&$ac_top_builddir_sub&;t t
54441 s&@srcdir@&$ac_srcdir&;t t
54442 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54443 s&@top_srcdir@&$ac_top_srcdir&;t t
54444 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54445 s&@builddir@&$ac_builddir&;t t
54446 s&@abs_builddir@&$ac_abs_builddir&;t t
54447 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54448 s&@INSTALL@&$ac_INSTALL&;t t
54449 $ac_datarootdir_hack
54450 " $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
54451
54452 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54453 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54454 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54455 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54456 which seems to be undefined. Please make sure it is defined." >&5
54457 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54458 which seems to be undefined. Please make sure it is defined." >&2;}
54459
54460 rm -f "$tmp/stdin"
54461 case $ac_file in
54462 -) cat "$tmp/out"; rm -f "$tmp/out";;
54463 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54464 esac
54465 ;;
54466 :H)
54467 #
54468 # CONFIG_HEADER
54469 #
54470 _ACEOF
54471
54472 # Transform confdefs.h into a sed script `conftest.defines', that
54473 # substitutes the proper values into config.h.in to produce config.h.
54474 rm -f conftest.defines conftest.tail
54475 # First, append a space to every undef/define line, to ease matching.
54476 echo 's/$/ /' >conftest.defines
54477 # Then, protect against being on the right side of a sed subst, or in
54478 # an unquoted here document, in config.status. If some macros were
54479 # called several times there might be several #defines for the same
54480 # symbol, which is useless. But do not sort them, since the last
54481 # AC_DEFINE must be honored.
54482 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54483 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54484 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54485 # PARAMS is the parameter list in the macro definition--in most cases, it's
54486 # just an empty string.
54487 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54488 ac_dB='\\)[ (].*,\\1define\\2'
54489 ac_dC=' '
54490 ac_dD=' ,'
54491
54492 uniq confdefs.h |
54493 sed -n '
54494 t rset
54495 :rset
54496 s/^[ ]*#[ ]*define[ ][ ]*//
54497 t ok
54498 d
54499 :ok
54500 s/[\\&,]/\\&/g
54501 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54502 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54503 ' >>conftest.defines
54504
54505 # Remove the space that was appended to ease matching.
54506 # Then replace #undef with comments. This is necessary, for
54507 # example, in the case of _POSIX_SOURCE, which is predefined and required
54508 # on some systems where configure will not decide to define it.
54509 # (The regexp can be short, since the line contains either #define or #undef.)
54510 echo 's/ $//
54511 s,^[ #]*u.*,/* & */,' >>conftest.defines
54512
54513 # Break up conftest.defines:
54514 ac_max_sed_lines=50
54515
54516 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54517 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54518 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54519 # et cetera.
54520 ac_in='$ac_file_inputs'
54521 ac_out='"$tmp/out1"'
54522 ac_nxt='"$tmp/out2"'
54523
54524 while :
54525 do
54526 # Write a here document:
54527 cat >>$CONFIG_STATUS <<_ACEOF
54528 # First, check the format of the line:
54529 cat >"\$tmp/defines.sed" <<\\CEOF
54530 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54531 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54532 b
54533 :def
54534 _ACEOF
54535 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54536 echo 'CEOF
54537 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54538 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54539 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54540 grep . conftest.tail >/dev/null || break
54541 rm -f conftest.defines
54542 mv conftest.tail conftest.defines
54543 done
54544 rm -f conftest.defines conftest.tail
54545
54546 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54547 cat >>$CONFIG_STATUS <<\_ACEOF
54548 if test x"$ac_file" != x-; then
54549 echo "/* $configure_input */" >"$tmp/config.h"
54550 cat "$ac_result" >>"$tmp/config.h"
54551 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54552 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54553 echo "$as_me: $ac_file is unchanged" >&6;}
54554 else
54555 rm -f $ac_file
54556 mv "$tmp/config.h" $ac_file
54557 fi
54558 else
54559 echo "/* $configure_input */"
54560 cat "$ac_result"
54561 fi
54562 rm -f "$tmp/out12"
54563 ;;
54564
54565 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54566 echo "$as_me: executing $ac_file commands" >&6;}
54567 ;;
54568 esac
54569
54570
54571 case $ac_file$ac_mode in
54572 "rcdefs.h":C)
54573 mkdir -p $outdir &&
54574 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54575 ;;
54576 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54577 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54578 "wx-config":C) rm -f wx-config
54579 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54580 ;;
54581
54582 esac
54583 done # for ac_tag
54584
54585
54586 { (exit 0); exit 0; }
54587 _ACEOF
54588 chmod +x $CONFIG_STATUS
54589 ac_clean_files=$ac_clean_files_save
54590
54591
54592 # configure is writing to config.log, and then calls config.status.
54593 # config.status does its own redirection, appending to config.log.
54594 # Unfortunately, on DOS this fails, as config.log is still kept open
54595 # by configure, so config.status won't be able to write to it; its
54596 # output is simply discarded. So we exec the FD to /dev/null,
54597 # effectively closing config.log, so it can be properly (re)opened and
54598 # appended to by config.status. When coming back to configure, we
54599 # need to make the FD available again.
54600 if test "$no_create" != yes; then
54601 ac_cs_success=:
54602 ac_config_status_args=
54603 test "$silent" = yes &&
54604 ac_config_status_args="$ac_config_status_args --quiet"
54605 exec 5>/dev/null
54606 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54607 exec 5>>config.log
54608 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54609 # would make configure fail if this is the last instruction.
54610 $ac_cs_success || { (exit 1); exit 1; }
54611 fi
54612
54613 #
54614 # CONFIG_SUBDIRS section.
54615 #
54616 if test "$no_recursion" != yes; then
54617
54618 # Remove --cache-file and --srcdir arguments so they do not pile up.
54619 ac_sub_configure_args=
54620 ac_prev=
54621 eval "set x $ac_configure_args"
54622 shift
54623 for ac_arg
54624 do
54625 if test -n "$ac_prev"; then
54626 ac_prev=
54627 continue
54628 fi
54629 case $ac_arg in
54630 -cache-file | --cache-file | --cache-fil | --cache-fi \
54631 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54632 ac_prev=cache_file ;;
54633 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54634 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54635 | --c=*)
54636 ;;
54637 --config-cache | -C)
54638 ;;
54639 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54640 ac_prev=srcdir ;;
54641 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54642 ;;
54643 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54644 ac_prev=prefix ;;
54645 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54646 ;;
54647 *)
54648 case $ac_arg in
54649 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54650 esac
54651 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54652 esac
54653 done
54654
54655 # Always prepend --prefix to ensure using the same prefix
54656 # in subdir configurations.
54657 ac_arg="--prefix=$prefix"
54658 case $ac_arg in
54659 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54660 esac
54661 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54662
54663 # Pass --silent
54664 if test "$silent" = yes; then
54665 ac_sub_configure_args="--silent $ac_sub_configure_args"
54666 fi
54667
54668 ac_popdir=`pwd`
54669 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54670
54671 # Do not complain, so a configure script can configure whichever
54672 # parts of a large source tree are present.
54673 test -d "$srcdir/$ac_dir" || continue
54674
54675 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54676 echo "$as_me:$LINENO: $ac_msg" >&5
54677 echo "$ac_msg" >&6
54678 { as_dir="$ac_dir"
54679 case $as_dir in #(
54680 -*) as_dir=./$as_dir;;
54681 esac
54682 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54683 as_dirs=
54684 while :; do
54685 case $as_dir in #(
54686 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54687 *) as_qdir=$as_dir;;
54688 esac
54689 as_dirs="'$as_qdir' $as_dirs"
54690 as_dir=`$as_dirname -- "$as_dir" ||
54691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54692 X"$as_dir" : 'X\(//\)[^/]' \| \
54693 X"$as_dir" : 'X\(//\)$' \| \
54694 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54695 echo X"$as_dir" |
54696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54697 s//\1/
54698 q
54699 }
54700 /^X\(\/\/\)[^/].*/{
54701 s//\1/
54702 q
54703 }
54704 /^X\(\/\/\)$/{
54705 s//\1/
54706 q
54707 }
54708 /^X\(\/\).*/{
54709 s//\1/
54710 q
54711 }
54712 s/.*/./; q'`
54713 test -d "$as_dir" && break
54714 done
54715 test -z "$as_dirs" || eval "mkdir $as_dirs"
54716 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54717 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54718 { (exit 1); exit 1; }; }; }
54719 ac_builddir=.
54720
54721 case "$ac_dir" in
54722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54723 *)
54724 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54725 # A ".." for each directory in $ac_dir_suffix.
54726 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54727 case $ac_top_builddir_sub in
54728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54730 esac ;;
54731 esac
54732 ac_abs_top_builddir=$ac_pwd
54733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54734 # for backward compatibility:
54735 ac_top_builddir=$ac_top_build_prefix
54736
54737 case $srcdir in
54738 .) # We are building in place.
54739 ac_srcdir=.
54740 ac_top_srcdir=$ac_top_builddir_sub
54741 ac_abs_top_srcdir=$ac_pwd ;;
54742 [\\/]* | ?:[\\/]* ) # Absolute name.
54743 ac_srcdir=$srcdir$ac_dir_suffix;
54744 ac_top_srcdir=$srcdir
54745 ac_abs_top_srcdir=$srcdir ;;
54746 *) # Relative name.
54747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54748 ac_top_srcdir=$ac_top_build_prefix$srcdir
54749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54750 esac
54751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54752
54753
54754 cd "$ac_dir"
54755
54756 # Check for guested configure; otherwise get Cygnus style configure.
54757 if test -f "$ac_srcdir/configure.gnu"; then
54758 ac_sub_configure=$ac_srcdir/configure.gnu
54759 elif test -f "$ac_srcdir/configure"; then
54760 ac_sub_configure=$ac_srcdir/configure
54761 elif test -f "$ac_srcdir/configure.in"; then
54762 # This should be Cygnus configure.
54763 ac_sub_configure=$ac_aux_dir/configure
54764 else
54765 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54766 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54767 ac_sub_configure=
54768 fi
54769
54770 # The recursion is here.
54771 if test -n "$ac_sub_configure"; then
54772 # Make the cache file name correct relative to the subdirectory.
54773 case $cache_file in
54774 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54775 *) # Relative name.
54776 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54777 esac
54778
54779 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54780 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54781 # The eval makes quoting arguments work.
54782 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54783 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54784 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54785 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54786 { (exit 1); exit 1; }; }
54787 fi
54788
54789 cd "$ac_popdir"
54790 done
54791 fi
54792
54793
54794 echo
54795 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54796 echo ""
54797 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54798 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54799
54800 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54801 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54802 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54803 if test "$wxUSE_UNICODE" = "yes"; then
54804 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54805 echo " (using UTF-8)"
54806 else
54807 echo " (using wchar_t)"
54808 fi
54809 else
54810 echo
54811 fi
54812
54813 echo " What level of wxWidgets compatibility should be enabled?"
54814 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54815 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54816
54817 echo " Which libraries should wxWidgets use?"
54818 echo " STL ${wxUSE_STL}"
54819 echo " jpeg ${wxUSE_LIBJPEG-none}"
54820 echo " png ${wxUSE_LIBPNG-none}"
54821 echo " regex ${wxUSE_REGEX}"
54822 echo " tiff ${wxUSE_LIBTIFF-none}"
54823 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54824 echo " xpm ${wxUSE_LIBXPM-none}"
54825 fi
54826 echo " zlib ${wxUSE_ZLIB}"
54827 echo " expat ${wxUSE_EXPAT}"
54828 echo " libmspack ${wxUSE_LIBMSPACK}"
54829 echo " sdl ${wxUSE_LIBSDL}"
54830
54831 echo ""
54832