]> git.saurik.com Git - wxWidgets.git/blob - configure
check that the conversion really succeeds even when wxMBConv_win32::WC2MB() is called...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 48592 2007-09-06 17:31:51Z RR .
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_ODBC
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_ODBC
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_1
841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
851 COND_MONOLITHIC_0_USE_AUI_1
852 COND_MONOLITHIC_0_USE_GUI_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_HTML_1
856 COND_MONOLITHIC_0_USE_MEDIA_1
857 COND_MONOLITHIC_0_USE_ODBC_1
858 COND_MONOLITHIC_0_USE_QA_1
859 COND_MONOLITHIC_0_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_USE_STC_1
861 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1
863 COND_MONOLITHIC_1_SHARED_0
864 COND_MONOLITHIC_1_SHARED_1
865 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
869 COND_PLATFORM_MACOSX_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_
871 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
876 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
877 COND_PLATFORM_MACOSX_1_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
879 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MAC_1
881 COND_PLATFORM_MSDOS_0
882 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_OS2_1
884 COND_PLATFORM_UNIX_0
885 COND_PLATFORM_UNIX_1
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_GUI_1
889 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
890 COND_PLATFORM_WIN32_0
891 COND_PLATFORM_WIN32_1
892 COND_SHARED_0
893 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
900 COND_SHARED_0_USE_STC_1
901 COND_SHARED_0_USE_XRC_1
902 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
903 COND_SHARED_0_WXUSE_ODBC_BUILTIN
904 COND_SHARED_0_WXUSE_REGEX_BUILTIN
905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1
907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_1_USE_XRC_1
909 COND_TOOLKIT_
910 COND_TOOLKIT_COCOA
911 COND_TOOLKIT_COCOA_USE_GUI_1
912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB
914 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC
924 COND_TOOLKIT_MAC_USE_GUI_1
925 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL
927 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF
929 COND_TOOLKIT_MOTIF_USE_GUI_1
930 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW
932 COND_TOOLKIT_MSW_USE_GUI_1
933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11
943 COND_TOOLKIT_X11_USE_GUI_1
944 COND_UNICODE_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
947 COND_USE_GUI_0
948 COND_USE_GUI_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
955 COND_USE_ODBC_1
956 COND_USE_OPENGL_1
957 COND_USE_PCH_1
958 COND_USE_PLUGINS_0
959 COND_USE_RTTI_0
960 COND_USE_RTTI_1
961 COND_USE_SOSYMLINKS_1
962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
963 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSION_0
965 COND_USE_SOVERSOLARIS_1
966 COND_USE_STC_1
967 COND_USE_THREADS_0
968 COND_USE_THREADS_1
969 COND_USE_XRC_1
970 COND_WINDOWS_IMPLIB_1
971 COND_WITH_PLUGIN_SDL_1
972 COND_WXUNIV_0
973 COND_WXUNIV_1
974 COND_WXUSE_EXPAT_BUILTIN
975 COND_WXUSE_LIBJPEG_BUILTIN
976 COND_WXUSE_LIBPNG_BUILTIN
977 COND_WXUSE_LIBTIFF_BUILTIN
978 COND_WXUSE_ODBC_BUILTIN
979 COND_WXUSE_REGEX_BUILTIN
980 COND_WXUSE_ZLIB_BUILTIN
981 DEREZ
982 SHARED
983 WX_LIBRARY_BASENAME_NOGUI
984 WX_LIBRARY_BASENAME_GUI
985 USE_GUI
986 AFMINSTALL
987 WIN32INSTALL
988 TOOLKIT
989 TOOLKIT_DIR
990 TOOLCHAIN_NAME
991 TOOLCHAIN_FULLNAME
992 cross_compiling
993 WIDGET_SET
994 WX_RELEASE
995 WX_VERSION
996 WX_SUBVERSION
997 WX_CHARTYPE
998 WX_DEBUGTYPE
999 WXCONFIG_CPPFLAGS
1000 WXCONFIG_CFLAGS
1001 WXCONFIG_CXXFLAGS
1002 WXCONFIG_LIBS
1003 WXCONFIG_RPATH
1004 WXCONFIG_LDFLAGS_GUI
1005 WXCONFIG_RESFLAGS
1006 EXE_LINKER
1007 GUIDIST
1008 DISTDIR
1009 SAMPLES_SUBDIRS
1010 LDFLAGS_GL
1011 OPENGL_LIBS
1012 DMALLOC_LIBS
1013 WX_VERSION_TAG
1014 RESCOMP
1015 RESFLAGS
1016 RESPROGRAMOBJ
1017 WX_RESOURCES_MACOSX_ASCII
1018 WX_RESOURCES_MACOSX_DATA
1019 LIBWXMACRES
1020 POSTLINK_COMMAND
1021 MACSETFILE
1022 GCC
1023 DLLTOOL
1024 CPPUNIT_CONFIG
1025 LIBOBJS
1026 LTLIBOBJS'
1027 ac_subst_files=''
1028 ac_precious_vars='build_alias
1029 host_alias
1030 target_alias
1031 CC
1032 CFLAGS
1033 LDFLAGS
1034 LIBS
1035 CPPFLAGS
1036 CPP
1037 CXX
1038 CXXFLAGS
1039 CCC
1040 PKG_CONFIG
1041 DIRECTFB_CFLAGS
1042 DIRECTFB_LIBS
1043 XMKMF
1044 PANGOX_CFLAGS
1045 PANGOX_LIBS
1046 PANGOFT2_CFLAGS
1047 PANGOFT2_LIBS
1048 PANGOXFT_CFLAGS
1049 PANGOXFT_LIBS
1050 GTKPRINT_CFLAGS
1051 GTKPRINT_LIBS
1052 LIBGNOMEPRINTUI_CFLAGS
1053 LIBGNOMEPRINTUI_LIBS
1054 GNOMEVFS_CFLAGS
1055 GNOMEVFS_LIBS
1056 HILDON_CFLAGS
1057 HILDON_LIBS
1058 CAIRO_CFLAGS
1059 CAIRO_LIBS
1060 GST_CFLAGS
1061 GST_LIBS'
1062 ac_subdirs_all='src/expat'
1063
1064 # Initialize some variables set by options.
1065 ac_init_help=
1066 ac_init_version=false
1067 # The variables have the same names as the options, with
1068 # dashes changed to underlines.
1069 cache_file=/dev/null
1070 exec_prefix=NONE
1071 no_create=
1072 no_recursion=
1073 prefix=NONE
1074 program_prefix=NONE
1075 program_suffix=NONE
1076 program_transform_name=s,x,x,
1077 silent=
1078 site=
1079 srcdir=
1080 verbose=
1081 x_includes=NONE
1082 x_libraries=NONE
1083
1084 # Installation directory options.
1085 # These are left unexpanded so users can "make install exec_prefix=/foo"
1086 # and all the variables that are supposed to be based on exec_prefix
1087 # by default will actually change.
1088 # Use braces instead of parens because sh, perl, etc. also accept them.
1089 # (The list follows the same order as the GNU Coding Standards.)
1090 bindir='${exec_prefix}/bin'
1091 sbindir='${exec_prefix}/sbin'
1092 libexecdir='${exec_prefix}/libexec'
1093 datarootdir='${prefix}/share'
1094 datadir='${datarootdir}'
1095 sysconfdir='${prefix}/etc'
1096 sharedstatedir='${prefix}/com'
1097 localstatedir='${prefix}/var'
1098 includedir='${prefix}/include'
1099 oldincludedir='/usr/include'
1100 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1101 infodir='${datarootdir}/info'
1102 htmldir='${docdir}'
1103 dvidir='${docdir}'
1104 pdfdir='${docdir}'
1105 psdir='${docdir}'
1106 libdir='${exec_prefix}/lib'
1107 localedir='${datarootdir}/locale'
1108 mandir='${datarootdir}/man'
1109
1110 ac_prev=
1111 ac_dashdash=
1112 for ac_option
1113 do
1114 # If the previous option needs an argument, assign it.
1115 if test -n "$ac_prev"; then
1116 eval $ac_prev=\$ac_option
1117 ac_prev=
1118 continue
1119 fi
1120
1121 case $ac_option in
1122 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1123 *) ac_optarg=yes ;;
1124 esac
1125
1126 # Accept the important Cygnus configure options, so we can diagnose typos.
1127
1128 case $ac_dashdash$ac_option in
1129 --)
1130 ac_dashdash=yes ;;
1131
1132 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1133 ac_prev=bindir ;;
1134 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1135 bindir=$ac_optarg ;;
1136
1137 -build | --build | --buil | --bui | --bu)
1138 ac_prev=build_alias ;;
1139 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1140 build_alias=$ac_optarg ;;
1141
1142 -cache-file | --cache-file | --cache-fil | --cache-fi \
1143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1144 ac_prev=cache_file ;;
1145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1147 cache_file=$ac_optarg ;;
1148
1149 --config-cache | -C)
1150 cache_file=config.cache ;;
1151
1152 -datadir | --datadir | --datadi | --datad)
1153 ac_prev=datadir ;;
1154 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1155 datadir=$ac_optarg ;;
1156
1157 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1158 | --dataroo | --dataro | --datar)
1159 ac_prev=datarootdir ;;
1160 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1161 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1162 datarootdir=$ac_optarg ;;
1163
1164 -disable-* | --disable-*)
1165 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1169 { (exit 1); exit 1; }; }
1170 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1171 eval enable_$ac_feature=no ;;
1172
1173 -docdir | --docdir | --docdi | --doc | --do)
1174 ac_prev=docdir ;;
1175 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1176 docdir=$ac_optarg ;;
1177
1178 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1179 ac_prev=dvidir ;;
1180 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1181 dvidir=$ac_optarg ;;
1182
1183 -enable-* | --enable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=\$ac_optarg ;;
1191
1192 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1193 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1194 | --exec | --exe | --ex)
1195 ac_prev=exec_prefix ;;
1196 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1197 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1198 | --exec=* | --exe=* | --ex=*)
1199 exec_prefix=$ac_optarg ;;
1200
1201 -gas | --gas | --ga | --g)
1202 # Obsolete; use --with-gas.
1203 with_gas=yes ;;
1204
1205 -help | --help | --hel | --he | -h)
1206 ac_init_help=long ;;
1207 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1208 ac_init_help=recursive ;;
1209 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1210 ac_init_help=short ;;
1211
1212 -host | --host | --hos | --ho)
1213 ac_prev=host_alias ;;
1214 -host=* | --host=* | --hos=* | --ho=*)
1215 host_alias=$ac_optarg ;;
1216
1217 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1218 ac_prev=htmldir ;;
1219 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1220 | --ht=*)
1221 htmldir=$ac_optarg ;;
1222
1223 -includedir | --includedir | --includedi | --included | --include \
1224 | --includ | --inclu | --incl | --inc)
1225 ac_prev=includedir ;;
1226 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1227 | --includ=* | --inclu=* | --incl=* | --inc=*)
1228 includedir=$ac_optarg ;;
1229
1230 -infodir | --infodir | --infodi | --infod | --info | --inf)
1231 ac_prev=infodir ;;
1232 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1233 infodir=$ac_optarg ;;
1234
1235 -libdir | --libdir | --libdi | --libd)
1236 ac_prev=libdir ;;
1237 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1238 libdir=$ac_optarg ;;
1239
1240 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1241 | --libexe | --libex | --libe)
1242 ac_prev=libexecdir ;;
1243 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1244 | --libexe=* | --libex=* | --libe=*)
1245 libexecdir=$ac_optarg ;;
1246
1247 -localedir | --localedir | --localedi | --localed | --locale)
1248 ac_prev=localedir ;;
1249 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1250 localedir=$ac_optarg ;;
1251
1252 -localstatedir | --localstatedir | --localstatedi | --localstated \
1253 | --localstate | --localstat | --localsta | --localst | --locals)
1254 ac_prev=localstatedir ;;
1255 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1256 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1257 localstatedir=$ac_optarg ;;
1258
1259 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1260 ac_prev=mandir ;;
1261 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1262 mandir=$ac_optarg ;;
1263
1264 -nfp | --nfp | --nf)
1265 # Obsolete; use --without-fp.
1266 with_fp=no ;;
1267
1268 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1269 | --no-cr | --no-c | -n)
1270 no_create=yes ;;
1271
1272 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1273 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1274 no_recursion=yes ;;
1275
1276 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1277 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1278 | --oldin | --oldi | --old | --ol | --o)
1279 ac_prev=oldincludedir ;;
1280 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1281 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1282 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1283 oldincludedir=$ac_optarg ;;
1284
1285 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1286 ac_prev=prefix ;;
1287 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1288 prefix=$ac_optarg ;;
1289
1290 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1291 | --program-pre | --program-pr | --program-p)
1292 ac_prev=program_prefix ;;
1293 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1294 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1295 program_prefix=$ac_optarg ;;
1296
1297 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1298 | --program-suf | --program-su | --program-s)
1299 ac_prev=program_suffix ;;
1300 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1301 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1302 program_suffix=$ac_optarg ;;
1303
1304 -program-transform-name | --program-transform-name \
1305 | --program-transform-nam | --program-transform-na \
1306 | --program-transform-n | --program-transform- \
1307 | --program-transform | --program-transfor \
1308 | --program-transfo | --program-transf \
1309 | --program-trans | --program-tran \
1310 | --progr-tra | --program-tr | --program-t)
1311 ac_prev=program_transform_name ;;
1312 -program-transform-name=* | --program-transform-name=* \
1313 | --program-transform-nam=* | --program-transform-na=* \
1314 | --program-transform-n=* | --program-transform-=* \
1315 | --program-transform=* | --program-transfor=* \
1316 | --program-transfo=* | --program-transf=* \
1317 | --program-trans=* | --program-tran=* \
1318 | --progr-tra=* | --program-tr=* | --program-t=*)
1319 program_transform_name=$ac_optarg ;;
1320
1321 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1322 ac_prev=pdfdir ;;
1323 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1324 pdfdir=$ac_optarg ;;
1325
1326 -psdir | --psdir | --psdi | --psd | --ps)
1327 ac_prev=psdir ;;
1328 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1329 psdir=$ac_optarg ;;
1330
1331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1332 | -silent | --silent | --silen | --sile | --sil)
1333 silent=yes ;;
1334
1335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1336 ac_prev=sbindir ;;
1337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1338 | --sbi=* | --sb=*)
1339 sbindir=$ac_optarg ;;
1340
1341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1343 | --sharedst | --shareds | --shared | --share | --shar \
1344 | --sha | --sh)
1345 ac_prev=sharedstatedir ;;
1346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1349 | --sha=* | --sh=*)
1350 sharedstatedir=$ac_optarg ;;
1351
1352 -site | --site | --sit)
1353 ac_prev=site ;;
1354 -site=* | --site=* | --sit=*)
1355 site=$ac_optarg ;;
1356
1357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1358 ac_prev=srcdir ;;
1359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1360 srcdir=$ac_optarg ;;
1361
1362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1363 | --syscon | --sysco | --sysc | --sys | --sy)
1364 ac_prev=sysconfdir ;;
1365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1367 sysconfdir=$ac_optarg ;;
1368
1369 -target | --target | --targe | --targ | --tar | --ta | --t)
1370 ac_prev=target_alias ;;
1371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1372 target_alias=$ac_optarg ;;
1373
1374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1375 verbose=yes ;;
1376
1377 -version | --version | --versio | --versi | --vers | -V)
1378 ac_init_version=: ;;
1379
1380 -with-* | --with-*)
1381 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=\$ac_optarg ;;
1388
1389 -without-* | --without-*)
1390 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1393 { echo "$as_me: error: invalid package name: $ac_package" >&2
1394 { (exit 1); exit 1; }; }
1395 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1396 eval with_$ac_package=no ;;
1397
1398 --x)
1399 # Obsolete; use --with-x.
1400 with_x=yes ;;
1401
1402 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1403 | --x-incl | --x-inc | --x-in | --x-i)
1404 ac_prev=x_includes ;;
1405 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1406 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1407 x_includes=$ac_optarg ;;
1408
1409 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1410 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1411 ac_prev=x_libraries ;;
1412 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1413 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1414 x_libraries=$ac_optarg ;;
1415
1416 -*) { echo "$as_me: error: unrecognized option: $ac_option
1417 Try \`$0 --help' for more information." >&2
1418 { (exit 1); exit 1; }; }
1419 ;;
1420
1421 *=*)
1422 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1423 # Reject names that are not valid shell variable names.
1424 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1425 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1426 { (exit 1); exit 1; }; }
1427 eval $ac_envvar=\$ac_optarg
1428 export $ac_envvar ;;
1429
1430 *)
1431 # FIXME: should be removed in autoconf 3.0.
1432 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1433 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1434 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1435 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 ;;
1437
1438 esac
1439 done
1440
1441 if test -n "$ac_prev"; then
1442 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1443 { echo "$as_me: error: missing argument to $ac_option" >&2
1444 { (exit 1); exit 1; }; }
1445 fi
1446
1447 # Be sure to have absolute directory names.
1448 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1449 datadir sysconfdir sharedstatedir localstatedir includedir \
1450 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1451 libdir localedir mandir
1452 do
1453 eval ac_val=\$$ac_var
1454 case $ac_val in
1455 [\\/$]* | ?:[\\/]* ) continue;;
1456 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1457 esac
1458 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1459 { (exit 1); exit 1; }; }
1460 done
1461
1462 # There might be people who depend on the old broken behavior: `$host'
1463 # used to hold the argument of --host etc.
1464 # FIXME: To remove some day.
1465 build=$build_alias
1466 host=$host_alias
1467 target=$target_alias
1468
1469 # FIXME: To remove some day.
1470 if test "x$host_alias" != x; then
1471 if test "x$build_alias" = x; then
1472 cross_compiling=maybe
1473 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1474 If a cross compiler is detected then cross compile mode will be used." >&2
1475 elif test "x$build_alias" != "x$host_alias"; then
1476 cross_compiling=yes
1477 fi
1478 fi
1479
1480 ac_tool_prefix=
1481 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1482
1483 test "$silent" = yes && exec 6>/dev/null
1484
1485
1486 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1487 ac_ls_di=`ls -di .` &&
1488 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1489 { echo "$as_me: error: Working directory cannot be determined" >&2
1490 { (exit 1); exit 1; }; }
1491 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1492 { echo "$as_me: error: pwd does not report name of working directory" >&2
1493 { (exit 1); exit 1; }; }
1494
1495
1496 # Find the source files, if location was not specified.
1497 if test -z "$srcdir"; then
1498 ac_srcdir_defaulted=yes
1499 # Try the directory containing this script, then the parent directory.
1500 ac_confdir=`$as_dirname -- "$0" ||
1501 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1502 X"$0" : 'X\(//\)[^/]' \| \
1503 X"$0" : 'X\(//\)$' \| \
1504 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1505 echo X"$0" |
1506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1507 s//\1/
1508 q
1509 }
1510 /^X\(\/\/\)[^/].*/{
1511 s//\1/
1512 q
1513 }
1514 /^X\(\/\/\)$/{
1515 s//\1/
1516 q
1517 }
1518 /^X\(\/\).*/{
1519 s//\1/
1520 q
1521 }
1522 s/.*/./; q'`
1523 srcdir=$ac_confdir
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1525 srcdir=..
1526 fi
1527 else
1528 ac_srcdir_defaulted=no
1529 fi
1530 if test ! -r "$srcdir/$ac_unique_file"; then
1531 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1532 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1533 { (exit 1); exit 1; }; }
1534 fi
1535 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1536 ac_abs_confdir=`(
1537 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1538 { (exit 1); exit 1; }; }
1539 pwd)`
1540 # When building in place, set srcdir=.
1541 if test "$ac_abs_confdir" = "$ac_pwd"; then
1542 srcdir=.
1543 fi
1544 # Remove unnecessary trailing slashes from srcdir.
1545 # Double slashes in file names in object file debugging info
1546 # mess up M-x gdb in Emacs.
1547 case $srcdir in
1548 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1549 esac
1550 for ac_var in $ac_precious_vars; do
1551 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1552 eval ac_env_${ac_var}_value=\$${ac_var}
1553 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1554 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1555 done
1556
1557 #
1558 # Report the --help message.
1559 #
1560 if test "$ac_init_help" = "long"; then
1561 # Omit some internal or obsolete options to make the list less imposing.
1562 # This message is too long to be a string in the A/UX 3.1 sh.
1563 cat <<_ACEOF
1564 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1565
1566 Usage: $0 [OPTION]... [VAR=VALUE]...
1567
1568 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1569 VAR=VALUE. See below for descriptions of some of the useful variables.
1570
1571 Defaults for the options are specified in brackets.
1572
1573 Configuration:
1574 -h, --help display this help and exit
1575 --help=short display options specific to this package
1576 --help=recursive display the short help of all the included packages
1577 -V, --version display version information and exit
1578 -q, --quiet, --silent do not print \`checking...' messages
1579 --cache-file=FILE cache test results in FILE [disabled]
1580 -C, --config-cache alias for \`--cache-file=config.cache'
1581 -n, --no-create do not create output files
1582 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1583
1584 Installation directories:
1585 --prefix=PREFIX install architecture-independent files in PREFIX
1586 [$ac_default_prefix]
1587 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1588 [PREFIX]
1589
1590 By default, \`make install' will install all the files in
1591 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1592 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1593 for instance \`--prefix=\$HOME'.
1594
1595 For better control, use the options below.
1596
1597 Fine tuning of the installation directories:
1598 --bindir=DIR user executables [EPREFIX/bin]
1599 --sbindir=DIR system admin executables [EPREFIX/sbin]
1600 --libexecdir=DIR program executables [EPREFIX/libexec]
1601 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1602 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1603 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1604 --libdir=DIR object code libraries [EPREFIX/lib]
1605 --includedir=DIR C header files [PREFIX/include]
1606 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1607 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1608 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1609 --infodir=DIR info documentation [DATAROOTDIR/info]
1610 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1611 --mandir=DIR man documentation [DATAROOTDIR/man]
1612 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1613 --htmldir=DIR html documentation [DOCDIR]
1614 --dvidir=DIR dvi documentation [DOCDIR]
1615 --pdfdir=DIR pdf documentation [DOCDIR]
1616 --psdir=DIR ps documentation [DOCDIR]
1617 _ACEOF
1618
1619 cat <<\_ACEOF
1620
1621 X features:
1622 --x-includes=DIR X include files are in DIR
1623 --x-libraries=DIR X library files are in DIR
1624
1625 System types:
1626 --build=BUILD configure for building on BUILD [guessed]
1627 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1628 --target=TARGET configure for building compilers for TARGET [HOST]
1629 _ACEOF
1630 fi
1631
1632 if test -n "$ac_init_help"; then
1633 case $ac_init_help in
1634 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1635 esac
1636 cat <<\_ACEOF
1637
1638 Optional Features:
1639 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1640 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1641 --disable-gui don't build GUI parts of the library
1642 --enable-monolithic build wxWidgets as single library
1643 --enable-plugins build parts of wxWidgets as loadable components
1644 --enable-official_build official build of wxWidgets (win32 DLL only)
1645 --enable-vendor=VENDOR vendor name (win32 DLL only)
1646 --disable-all-features disable all optional features to build minimal library
1647 --enable-universal use wxWidgets GUI controls instead of native ones
1648 --enable-nanox use NanoX
1649 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1650 --enable-gpe use GNOME PDA Environment features if possible
1651 --disable-shared create static library instead of shared
1652 --disable-optimise create optimised code
1653 --enable-debug same as debug_flag and debug_info
1654 --enable-stl use STL for containers
1655 --enable-std_iostreams use standard C++ stream classes
1656 --enable-std_string use standard C++ string classes
1657 --disable-unicode compile without Unicode support
1658 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1659 --enable-utf8 use UTF-8 representation for strings (Unix only)
1660 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1661 --enable-extended_rtti use extended RTTI (XTI)
1662 --enable-omf use OMF object format
1663 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1664 --enable-debug_info create code with debugging information
1665 --enable-debug_gdb create code with extra GDB debugging information
1666 --enable-debug_cntxt use wxDebugContext
1667 --enable-mem_tracing create code with memory tracing
1668 --enable-profile create code with profiling information
1669 --enable-no_rtti create code without RTTI information
1670 --enable-no_exceptions create code without C++ exceptions handling
1671 --enable-permissive compile code disregarding strict ANSI
1672 --enable-no_deps create code without dependency information
1673 --disable-vararg_macros don't use vararg macros, even if they are supported
1674 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
1675 --enable-compat26 enable wxWidgets 2.6 compatibility
1676 --disable-compat28 disable wxWidgets 2.8 compatibility
1677 --disable-rpath disable use of rpath for uninstalled builds
1678 --enable-objc_uniquifying enable Objective-C class name uniquifying
1679 --disable-visibility disable use of ELF symbols visibility even if supported
1680 --enable-intl use internationalization system
1681 --enable-config use wxConfig (and derived) classes
1682 --enable-protocols use wxProtocol and derived classes
1683 --enable-ftp use wxFTP (requires wxProtocol
1684 --enable-http use wxHTTP (requires wxProtocol
1685 --enable-fileproto use wxFileProto class (requires wxProtocol
1686 --enable-sockets use socket/network classes
1687 --enable-ole use OLE classes (Win32 only)
1688 --enable-dataobj use data object classes
1689 --enable-ipc use interprocess communication (wxSocket etc.)
1690 --enable-baseevtloop use event loop in console programs too
1691 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1692 --enable-selectloop use wxSelectDispatcher class
1693 --enable-apple_ieee use the Apple IEEE codec
1694 --enable-arcstream use wxArchive streams
1695 --enable-base64 use base64 encoding/decoding functions
1696 --enable-backtrace use wxStackWalker class for getting backtraces
1697 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1698 --enable-cmdline use wxCmdLineParser class
1699 --enable-datetime use wxDateTime class
1700 --enable-debugreport use wxDebugReport class
1701 --enable-dialupman use dialup network classes
1702 --enable-dynlib use wxLibrary class for DLL loading
1703 --enable-dynamicloader use (new) wxDynamicLibrary class
1704 --enable-exceptions build exception-safe library
1705 --enable-ffile use wxFFile class
1706 --enable-file use wxFile class
1707 --enable-filesystem use virtual file systems classes
1708 --enable-fontenum use wxFontEnumerator class
1709 --enable-fontmap use font encodings conversion classes
1710 --enable-fs_archive use virtual archive filesystems
1711 --enable-fs_inet use virtual HTTP/FTP filesystems
1712 --enable-fs_zip now replaced by fs_archive
1713 --enable-geometry use geometry class
1714 --enable-log use logging system
1715 --enable-longlong use wxLongLong class
1716 --enable-mimetype use wxMimeTypesManager
1717 --enable-snglinst use wxSingleInstanceChecker class
1718 --enable-stdpaths use wxStandardPaths class
1719 --enable-stopwatch use wxStopWatch class
1720 --enable-streams use wxStream etc classes
1721 --enable-sysoptions use wxSystemOptions
1722 --enable-tarstream use wxTar streams
1723 --enable-textbuf use wxTextBuffer class
1724 --enable-textfile use wxTextFile class
1725 --enable-timer use wxTimer class
1726 --enable-sound use wxSound class
1727 --enable-mediactrl use wxMediaCtrl class
1728 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1729 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1730 --enable-zipstream use wxZip streams
1731 --enable-url use wxURL class
1732 --enable-variant use wxVariant class
1733 --enable-protocol use wxProtocol class
1734 --enable-protocol-http HTTP support in wxProtocol
1735 --enable-protocol-ftp FTP support in wxProtocol
1736 --enable-protocol-file FILE support in wxProtocol
1737 --enable-threads use threads
1738 --enable-iniconf use wxIniConfig (Win32 only)
1739 --enable-regkey use wxRegKey class (Win32 only)
1740 --enable-docview use document view architecture
1741 --enable-help use help subsystem
1742 --enable-mshtmlhelp use MS HTML Help (win32)
1743 --enable-html use wxHTML sub-library
1744 --enable-htmlhelp use wxHTML-based help
1745 --enable-xrc use XRC resources sub-library
1746 --enable-aui use AUI docking library
1747 --enable-stc use wxStyledTextCtrl library
1748 --enable-constraints use layout-constraints system
1749 --enable-printarch use printing architecture
1750 --enable-mdi use multiple document interface architecture
1751 --enable-mdidoc use docview architecture with MDI
1752 --enable-loggui use standard GUI logger
1753 --enable-logwin use wxLogWindow
1754 --enable-logdialog use wxLogDialog
1755 --enable-webkit use wxWebKitCtrl (Mac)
1756 --enable-richtext use wxRichTextCtrl
1757 --enable-graphics_ctx use graphics context 2D drawing API
1758 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1759 --enable-svg use wxSVGFileDC device context
1760 --enable-clipboard use wxClipboard class
1761 --enable-dnd use Drag'n'Drop classes
1762 --enable-metafile use win32 metafiles
1763 --disable-controls disable compilation of all standard controls
1764 --enable-accel use accelerators
1765 --enable-animatectrl use wxAnimationCtrl class
1766 --enable-button use wxButton class
1767 --enable-bmpbutton use wxBitmapButton class
1768 --enable-bmpcombobox use wxBitmapComboBox class
1769 --enable-calendar use wxCalendarCtrl class
1770 --enable-caret use wxCaret class
1771 --enable-checkbox use wxCheckBox class
1772 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1773 --enable-choice use wxChoice class
1774 --enable-choicebook use wxChoicebook class
1775 --enable-collpane use wxCollapsiblePane class
1776 --enable-colourpicker use wxColourPickerCtrl class
1777 --enable-combobox use wxComboBox class
1778 --enable-comboctrl use wxComboCtrl class
1779 --enable-datepick use wxDatePickerCtrl class
1780 --enable-dirpicker use wxDirPickerCtrl class
1781 --enable-display use wxDisplay class
1782 --enable-detect_sm use code to detect X11 session manager
1783 --enable-editablebox use wxEditableListBox class
1784 --enable-filepicker use wxFilePickerCtrl class
1785 --enable-fontpicker use wxFontPickerCtrl class
1786 --enable-gauge use wxGauge class
1787 --enable-grid use wxGrid class
1788 --enable-dataviewctrl use wxDataViewCtrl class
1789 --enable-hyperlink use wxHyperlinkCtrl class
1790 --enable-imaglist use wxImageList class
1791 --enable-listbook use wxListbook class
1792 --enable-listbox use wxListBox class
1793 --enable-listctrl use wxListCtrl class
1794 --enable-notebook use wxNotebook class
1795 --enable-odcombobox use wxOwnerDrawnComboBox class
1796 --enable-radiobox use wxRadioBox class
1797 --enable-radiobtn use wxRadioButton class
1798 --enable-sash use wxSashWindow class
1799 --enable-scrollbar use wxScrollBar class and scrollable windows
1800 --enable-searchctrl use wxSearchCtrl class
1801 --enable-slider use wxSlider class
1802 --enable-spinbtn use wxSpinButton class
1803 --enable-spinctrl use wxSpinCtrl class
1804 --enable-splitter use wxSplitterWindow class
1805 --enable-statbmp use wxStaticBitmap class
1806 --enable-statbox use wxStaticBox class
1807 --enable-statline use wxStaticLine class
1808 --enable-stattext use wxStaticText class
1809 --enable-statusbar use wxStatusBar class
1810 --enable-tabdialog use wxTabControl class
1811 --enable-taskbaricon use wxTaskBarIcon class
1812 --enable-textctrl use wxTextCtrl class
1813 --enable-togglebtn use wxToggleButton class
1814 --enable-toolbar use wxToolBar class
1815 --enable-tbarnative use native wxToolBar class
1816 --enable-treebook use wxTreebook class
1817 --enable-toolbook use wxToolbook class
1818 --enable-treectrl use wxTreeCtrl class
1819 --enable-tipwindow use wxTipWindow class
1820 --enable-popupwin use wxPopUpWindow class
1821 --enable-commondlg use all common dialogs
1822 --enable-aboutdlg use wxAboutBox
1823 --enable-choicedlg use wxChoiceDialog
1824 --enable-coldlg use wxColourDialog
1825 --enable-filedlg use wxFileDialog
1826 --enable-finddlg use wxFindReplaceDialog
1827 --enable-fontdlg use wxFontDialog
1828 --enable-dirdlg use wxDirDialog
1829 --enable-msgdlg use wxMessageDialog
1830 --enable-numberdlg use wxNumberEntryDialog
1831 --enable-splash use wxSplashScreen
1832 --enable-textdlg use wxTextDialog
1833 --enable-tipdlg use startup tips
1834 --enable-progressdlg use wxProgressDialog
1835 --enable-wizarddlg use wxWizard
1836 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1837 --enable-miniframe use wxMiniFrame class
1838 --enable-tooltips use wxToolTip class
1839 --enable-splines use spline drawing code
1840 --enable-mousewheel use mousewheel
1841 --enable-validators use wxValidator and derived classes
1842 --enable-busyinfo use wxBusyInfo
1843 --enable-joystick use wxJoystick
1844 --enable-metafiles use wxMetaFile (Win32 only)
1845 --enable-dragimage use wxDragImage
1846 --enable-accessibility enable accessibility support
1847 --enable-palette use wxPalette class
1848 --enable-image use wxImage class
1849 --enable-gif use gif images (GIF file format)
1850 --enable-pcx use pcx images (PCX file format)
1851 --enable-tga use tga images (TGA file format)
1852 --enable-iff use iff images (IFF file format)
1853 --enable-pnm use pnm images (PNM file format)
1854 --enable-xpm use xpm images (XPM file format)
1855 --enable-icocur use Windows ICO and CUR formats
1856 --enable-dccache cache temporary wxDC objects (Win32 only)
1857 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1858 --enable-ownerdrawn use owner drawn controls (Win32 only)
1859 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1860 --enable-wxdib use wxDIB class (Win32 only)
1861 --disable-largefile omit support for large files
1862 --disable-gtktest do not try to compile and run a test GTK+ program
1863 --disable-gtktest Do not try to compile and run a test GTK program
1864 --disable-sdltest Do not try to compile and run a test SDL program
1865 --enable-omf use OMF object format (OS/2)
1866 --disable-dependency-tracking
1867 don't use dependency tracking even if the compiler
1868 can
1869 --disable-precomp-headers
1870 don't use precompiled headers even if compiler can
1871
1872 Optional Packages:
1873 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1874 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1875 --without-subdirs don't generate makefiles for samples/demos/...
1876 --with-flavour=NAME specify a name to identify this build
1877 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1878 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1879 --with-motif use Motif/Lesstif
1880 --with-mac use Mac OS X
1881 --with-cocoa use Cocoa
1882 --with-wine use Wine
1883 --with-msw use MS-Windows
1884 --with-pm use OS/2 Presentation Manager
1885 --with-mgl use SciTech MGL
1886 --with-directfb use DirectFB
1887 --with-microwin use MicroWindows
1888 --with-x11 use X11
1889 --with-libpng use libpng (PNG image format)
1890 --with-libjpeg use libjpeg (JPEG file format)
1891 --with-libtiff use libtiff (TIFF file format)
1892 --with-libxpm use libxpm (XPM file format)
1893 --with-libmspack use libmspack (CHM help files loading)
1894 --without-gtkprint don't use GTK printing support
1895 --without-gnomeprint don't use GNOME printing libraries
1896 --with-gnomevfs use GNOME VFS for associating MIME types
1897 --with-hildon use Hildon framework for Nokia 770
1898 --with-opengl use OpenGL (or Mesa)
1899 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1900 --with-sdl use SDL for audio on Unix
1901 --with-regex enable support for wxRegEx class
1902 --with-zlib use zlib for LZW compression
1903 --with-odbc use the IODBC and wxODBC classes
1904 --with-expat enable XML support using expat parser
1905 --with-macosx-sdk=PATH use an OS X SDK at PATH
1906 --with-macosx-version-min=VER build binaries which require at least this OS X version
1907 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1908 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1909 --with-x use the X Window System
1910 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1911 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1912 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1913 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1914 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1915
1916 Some influential environment variables:
1917 CC C compiler command
1918 CFLAGS C compiler flags
1919 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1920 nonstandard directory <lib dir>
1921 LIBS libraries to pass to the linker, e.g. -l<library>
1922 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1923 you have headers in a nonstandard directory <include dir>
1924 CPP C preprocessor
1925 CXX C++ compiler command
1926 CXXFLAGS C++ compiler flags
1927 PKG_CONFIG path to pkg-config utility
1928 DIRECTFB_CFLAGS
1929 C compiler flags for DIRECTFB, overriding pkg-config
1930 DIRECTFB_LIBS
1931 linker flags for DIRECTFB, overriding pkg-config
1932 XMKMF Path to xmkmf, Makefile generator for X Window System
1933 PANGOX_CFLAGS
1934 C compiler flags for PANGOX, overriding pkg-config
1935 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1936 PANGOFT2_CFLAGS
1937 C compiler flags for PANGOFT2, overriding pkg-config
1938 PANGOFT2_LIBS
1939 linker flags for PANGOFT2, overriding pkg-config
1940 PANGOXFT_CFLAGS
1941 C compiler flags for PANGOXFT, overriding pkg-config
1942 PANGOXFT_LIBS
1943 linker flags for PANGOXFT, overriding pkg-config
1944 GTKPRINT_CFLAGS
1945 C compiler flags for GTKPRINT, overriding pkg-config
1946 GTKPRINT_LIBS
1947 linker flags for GTKPRINT, overriding pkg-config
1948 LIBGNOMEPRINTUI_CFLAGS
1949 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1950 LIBGNOMEPRINTUI_LIBS
1951 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1952 GNOMEVFS_CFLAGS
1953 C compiler flags for GNOMEVFS, overriding pkg-config
1954 GNOMEVFS_LIBS
1955 linker flags for GNOMEVFS, overriding pkg-config
1956 HILDON_CFLAGS
1957 C compiler flags for HILDON, overriding pkg-config
1958 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1959 CAIRO_CFLAGS
1960 C compiler flags for CAIRO, overriding pkg-config
1961 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1962 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1963 GST_LIBS linker flags for GST, overriding pkg-config
1964
1965 Use these variables to override the choices made by `configure' or to help
1966 it to find libraries and programs with nonstandard names/locations.
1967
1968 Report bugs to <wx-dev@lists.wxwidgets.org>.
1969 _ACEOF
1970 ac_status=$?
1971 fi
1972
1973 if test "$ac_init_help" = "recursive"; then
1974 # If there are subdirs, report their specific --help.
1975 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1976 test -d "$ac_dir" || continue
1977 ac_builddir=.
1978
1979 case "$ac_dir" in
1980 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1981 *)
1982 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1983 # A ".." for each directory in $ac_dir_suffix.
1984 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1985 case $ac_top_builddir_sub in
1986 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1987 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1988 esac ;;
1989 esac
1990 ac_abs_top_builddir=$ac_pwd
1991 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1992 # for backward compatibility:
1993 ac_top_builddir=$ac_top_build_prefix
1994
1995 case $srcdir in
1996 .) # We are building in place.
1997 ac_srcdir=.
1998 ac_top_srcdir=$ac_top_builddir_sub
1999 ac_abs_top_srcdir=$ac_pwd ;;
2000 [\\/]* | ?:[\\/]* ) # Absolute name.
2001 ac_srcdir=$srcdir$ac_dir_suffix;
2002 ac_top_srcdir=$srcdir
2003 ac_abs_top_srcdir=$srcdir ;;
2004 *) # Relative name.
2005 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2006 ac_top_srcdir=$ac_top_build_prefix$srcdir
2007 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2008 esac
2009 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2010
2011 cd "$ac_dir" || { ac_status=$?; continue; }
2012 # Check for guested configure.
2013 if test -f "$ac_srcdir/configure.gnu"; then
2014 echo &&
2015 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2016 elif test -f "$ac_srcdir/configure"; then
2017 echo &&
2018 $SHELL "$ac_srcdir/configure" --help=recursive
2019 else
2020 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2021 fi || ac_status=$?
2022 cd "$ac_pwd" || { ac_status=$?; break; }
2023 done
2024 fi
2025
2026 test -n "$ac_init_help" && exit $ac_status
2027 if $ac_init_version; then
2028 cat <<\_ACEOF
2029 wxWidgets configure 2.9.0
2030 generated by GNU Autoconf 2.61
2031
2032 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2033 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2034 This configure script is free software; the Free Software Foundation
2035 gives unlimited permission to copy, distribute and modify it.
2036 _ACEOF
2037 exit
2038 fi
2039 cat >config.log <<_ACEOF
2040 This file contains any messages produced by compilers while
2041 running configure, to aid debugging if configure makes a mistake.
2042
2043 It was created by wxWidgets $as_me 2.9.0, which was
2044 generated by GNU Autoconf 2.61. Invocation command line was
2045
2046 $ $0 $@
2047
2048 _ACEOF
2049 exec 5>>config.log
2050 {
2051 cat <<_ASUNAME
2052 ## --------- ##
2053 ## Platform. ##
2054 ## --------- ##
2055
2056 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2057 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2058 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2059 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2060 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2061
2062 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2063 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2064
2065 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2066 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2067 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2068 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2069 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2070 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2071 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2072
2073 _ASUNAME
2074
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2077 do
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 echo "PATH: $as_dir"
2081 done
2082 IFS=$as_save_IFS
2083
2084 } >&5
2085
2086 cat >&5 <<_ACEOF
2087
2088
2089 ## ----------- ##
2090 ## Core tests. ##
2091 ## ----------- ##
2092
2093 _ACEOF
2094
2095
2096 # Keep a trace of the command line.
2097 # Strip out --no-create and --no-recursion so they do not pile up.
2098 # Strip out --silent because we don't want to record it for future runs.
2099 # Also quote any args containing shell meta-characters.
2100 # Make two passes to allow for proper duplicate-argument suppression.
2101 ac_configure_args=
2102 ac_configure_args0=
2103 ac_configure_args1=
2104 ac_must_keep_next=false
2105 for ac_pass in 1 2
2106 do
2107 for ac_arg
2108 do
2109 case $ac_arg in
2110 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2112 | -silent | --silent | --silen | --sile | --sil)
2113 continue ;;
2114 *\'*)
2115 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 esac
2117 case $ac_pass in
2118 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2119 2)
2120 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2121 if test $ac_must_keep_next = true; then
2122 ac_must_keep_next=false # Got value, back to normal.
2123 else
2124 case $ac_arg in
2125 *=* | --config-cache | -C | -disable-* | --disable-* \
2126 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2127 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2128 | -with-* | --with-* | -without-* | --without-* | --x)
2129 case "$ac_configure_args0 " in
2130 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2131 esac
2132 ;;
2133 -* ) ac_must_keep_next=true ;;
2134 esac
2135 fi
2136 ac_configure_args="$ac_configure_args '$ac_arg'"
2137 ;;
2138 esac
2139 done
2140 done
2141 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2142 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2143
2144 # When interrupted or exit'd, cleanup temporary files, and complete
2145 # config.log. We remove comments because anyway the quotes in there
2146 # would cause problems or look ugly.
2147 # WARNING: Use '\'' to represent an apostrophe within the trap.
2148 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2149 trap 'exit_status=$?
2150 # Save into config.log some information that might help in debugging.
2151 {
2152 echo
2153
2154 cat <<\_ASBOX
2155 ## ---------------- ##
2156 ## Cache variables. ##
2157 ## ---------------- ##
2158 _ASBOX
2159 echo
2160 # The following way of writing the cache mishandles newlines in values,
2161 (
2162 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2163 eval ac_val=\$$ac_var
2164 case $ac_val in #(
2165 *${as_nl}*)
2166 case $ac_var in #(
2167 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2168 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2169 esac
2170 case $ac_var in #(
2171 _ | IFS | as_nl) ;; #(
2172 *) $as_unset $ac_var ;;
2173 esac ;;
2174 esac
2175 done
2176 (set) 2>&1 |
2177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2178 *${as_nl}ac_space=\ *)
2179 sed -n \
2180 "s/'\''/'\''\\\\'\'''\''/g;
2181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2182 ;; #(
2183 *)
2184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2185 ;;
2186 esac |
2187 sort
2188 )
2189 echo
2190
2191 cat <<\_ASBOX
2192 ## ----------------- ##
2193 ## Output variables. ##
2194 ## ----------------- ##
2195 _ASBOX
2196 echo
2197 for ac_var in $ac_subst_vars
2198 do
2199 eval ac_val=\$$ac_var
2200 case $ac_val in
2201 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 esac
2203 echo "$ac_var='\''$ac_val'\''"
2204 done | sort
2205 echo
2206
2207 if test -n "$ac_subst_files"; then
2208 cat <<\_ASBOX
2209 ## ------------------- ##
2210 ## File substitutions. ##
2211 ## ------------------- ##
2212 _ASBOX
2213 echo
2214 for ac_var in $ac_subst_files
2215 do
2216 eval ac_val=\$$ac_var
2217 case $ac_val in
2218 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2219 esac
2220 echo "$ac_var='\''$ac_val'\''"
2221 done | sort
2222 echo
2223 fi
2224
2225 if test -s confdefs.h; then
2226 cat <<\_ASBOX
2227 ## ----------- ##
2228 ## confdefs.h. ##
2229 ## ----------- ##
2230 _ASBOX
2231 echo
2232 cat confdefs.h
2233 echo
2234 fi
2235 test "$ac_signal" != 0 &&
2236 echo "$as_me: caught signal $ac_signal"
2237 echo "$as_me: exit $exit_status"
2238 } >&5
2239 rm -f core *.core core.conftest.* &&
2240 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241 exit $exit_status
2242 ' 0
2243 for ac_signal in 1 2 13 15; do
2244 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2245 done
2246 ac_signal=0
2247
2248 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2249 rm -f -r conftest* confdefs.h
2250
2251 # Predefined preprocessor variables.
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_NAME "$PACKAGE_NAME"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2260 _ACEOF
2261
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2265 _ACEOF
2266
2267
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_STRING "$PACKAGE_STRING"
2270 _ACEOF
2271
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2275 _ACEOF
2276
2277
2278 # Let the site file select an alternate cache file if it wants to.
2279 # Prefer explicitly selected file to automatically selected ones.
2280 if test -n "$CONFIG_SITE"; then
2281 set x "$CONFIG_SITE"
2282 elif test "x$prefix" != xNONE; then
2283 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2284 else
2285 set x "$ac_default_prefix/share/config.site" \
2286 "$ac_default_prefix/etc/config.site"
2287 fi
2288 shift
2289 for ac_site_file
2290 do
2291 if test -r "$ac_site_file"; then
2292 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2293 echo "$as_me: loading site script $ac_site_file" >&6;}
2294 sed 's/^/| /' "$ac_site_file" >&5
2295 . "$ac_site_file"
2296 fi
2297 done
2298
2299 if test -r "$cache_file"; then
2300 # Some versions of bash will fail to source /dev/null (special
2301 # files actually), so we avoid doing that.
2302 if test -f "$cache_file"; then
2303 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2304 echo "$as_me: loading cache $cache_file" >&6;}
2305 case $cache_file in
2306 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2307 *) . "./$cache_file";;
2308 esac
2309 fi
2310 else
2311 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2312 echo "$as_me: creating cache $cache_file" >&6;}
2313 >$cache_file
2314 fi
2315
2316 # Check that the precious variables saved in the cache have kept the same
2317 # value.
2318 ac_cache_corrupted=false
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2321 eval ac_new_set=\$ac_env_${ac_var}_set
2322 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2323 eval ac_new_val=\$ac_env_${ac_var}_value
2324 case $ac_old_set,$ac_new_set in
2325 set,)
2326 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2327 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2328 ac_cache_corrupted=: ;;
2329 ,set)
2330 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2331 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2332 ac_cache_corrupted=: ;;
2333 ,);;
2334 *)
2335 if test "x$ac_old_val" != "x$ac_new_val"; then
2336 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2337 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2338 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2339 echo "$as_me: former value: $ac_old_val" >&2;}
2340 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2341 echo "$as_me: current value: $ac_new_val" >&2;}
2342 ac_cache_corrupted=:
2343 fi;;
2344 esac
2345 # Pass precious variables to config.status.
2346 if test "$ac_new_set" = set; then
2347 case $ac_new_val in
2348 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2349 *) ac_arg=$ac_var=$ac_new_val ;;
2350 esac
2351 case " $ac_configure_args " in
2352 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2353 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2354 esac
2355 fi
2356 done
2357 if $ac_cache_corrupted; then
2358 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2359 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2360 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2361 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2362 { (exit 1); exit 1; }; }
2363 fi
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389 ac_ext=c
2390 ac_cpp='$CPP $CPPFLAGS'
2391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2394
2395
2396
2397
2398
2399 ac_aux_dir=
2400 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2401 if test -f "$ac_dir/install-sh"; then
2402 ac_aux_dir=$ac_dir
2403 ac_install_sh="$ac_aux_dir/install-sh -c"
2404 break
2405 elif test -f "$ac_dir/install.sh"; then
2406 ac_aux_dir=$ac_dir
2407 ac_install_sh="$ac_aux_dir/install.sh -c"
2408 break
2409 elif test -f "$ac_dir/shtool"; then
2410 ac_aux_dir=$ac_dir
2411 ac_install_sh="$ac_aux_dir/shtool install -c"
2412 break
2413 fi
2414 done
2415 if test -z "$ac_aux_dir"; then
2416 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2417 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2418 { (exit 1); exit 1; }; }
2419 fi
2420
2421 # These three variables are undocumented and unsupported,
2422 # and are intended to be withdrawn in a future Autoconf release.
2423 # They can cause serious problems if a builder's source tree is in a directory
2424 # whose full name contains unusual characters.
2425 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2426 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2427 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2428
2429
2430 # Make sure we can run config.sub.
2431 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2432 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2433 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2434 { (exit 1); exit 1; }; }
2435
2436 { echo "$as_me:$LINENO: checking build system type" >&5
2437 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2438 if test "${ac_cv_build+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441 ac_build_alias=$build_alias
2442 test "x$ac_build_alias" = x &&
2443 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2444 test "x$ac_build_alias" = x &&
2445 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2446 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2447 { (exit 1); exit 1; }; }
2448 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2449 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2450 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2451 { (exit 1); exit 1; }; }
2452
2453 fi
2454 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2455 echo "${ECHO_T}$ac_cv_build" >&6; }
2456 case $ac_cv_build in
2457 *-*-*) ;;
2458 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2459 echo "$as_me: error: invalid value of canonical build" >&2;}
2460 { (exit 1); exit 1; }; };;
2461 esac
2462 build=$ac_cv_build
2463 ac_save_IFS=$IFS; IFS='-'
2464 set x $ac_cv_build
2465 shift
2466 build_cpu=$1
2467 build_vendor=$2
2468 shift; shift
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2471 build_os=$*
2472 IFS=$ac_save_IFS
2473 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2474
2475
2476 { echo "$as_me:$LINENO: checking host system type" >&5
2477 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_host+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test "x$host_alias" = x; then
2482 ac_cv_host=$ac_cv_build
2483 else
2484 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2487 { (exit 1); exit 1; }; }
2488 fi
2489
2490 fi
2491 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2492 echo "${ECHO_T}$ac_cv_host" >&6; }
2493 case $ac_cv_host in
2494 *-*-*) ;;
2495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2496 echo "$as_me: error: invalid value of canonical host" >&2;}
2497 { (exit 1); exit 1; }; };;
2498 esac
2499 host=$ac_cv_host
2500 ac_save_IFS=$IFS; IFS='-'
2501 set x $ac_cv_host
2502 shift
2503 host_cpu=$1
2504 host_vendor=$2
2505 shift; shift
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2508 host_os=$*
2509 IFS=$ac_save_IFS
2510 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2511
2512
2513 { echo "$as_me:$LINENO: checking target system type" >&5
2514 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2515 if test "${ac_cv_target+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518 if test "x$target_alias" = x; then
2519 ac_cv_target=$ac_cv_host
2520 else
2521 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2522 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2523 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2524 { (exit 1); exit 1; }; }
2525 fi
2526
2527 fi
2528 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2529 echo "${ECHO_T}$ac_cv_target" >&6; }
2530 case $ac_cv_target in
2531 *-*-*) ;;
2532 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2533 echo "$as_me: error: invalid value of canonical target" >&2;}
2534 { (exit 1); exit 1; }; };;
2535 esac
2536 target=$ac_cv_target
2537 ac_save_IFS=$IFS; IFS='-'
2538 set x $ac_cv_target
2539 shift
2540 target_cpu=$1
2541 target_vendor=$2
2542 shift; shift
2543 # Remember, the first character of IFS is used to create $*,
2544 # except with old shells:
2545 target_os=$*
2546 IFS=$ac_save_IFS
2547 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2548
2549
2550 # The aliases save the names the user supplied, while $host etc.
2551 # will get canonicalized.
2552 test -n "$target_alias" &&
2553 test "$program_prefix$program_suffix$program_transform_name" = \
2554 NONENONEs,x,x, &&
2555 program_prefix=${target_alias}-
2556
2557
2558
2559 wx_major_version_number=2
2560 wx_minor_version_number=9
2561 wx_release_number=0
2562 wx_subrelease_number=0
2563
2564 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2565 WX_VERSION=$WX_RELEASE.$wx_release_number
2566 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2567
2568 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2569
2570
2571 wx_top_builddir="`pwd`"
2572
2573
2574
2575
2576 USE_UNIX=1
2577 USE_OS2=0
2578 USE_WIN32=0
2579 USE_DOS=0
2580 USE_BEOS=0
2581 USE_MAC=0
2582
2583 USE_AIX=
2584 USE_BSD= USE_DARWIN= USE_FREEBSD=
2585 USE_GNU= USE_HPUX=
2586 USE_LINUX=
2587 USE_NETBSD=
2588 USE_OPENBSD=
2589 USE_OSF= USE_SGI=
2590 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2591 USE_ULTRIX=
2592 USE_UNIXWARE=
2593
2594 USE_ALPHA=
2595
2596 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2597
2598 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2599
2600 DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_wxUSE_GTK=0
2602 DEFAULT_wxUSE_MAC=0
2603 DEFAULT_wxUSE_MGL=0
2604 DEFAULT_wxUSE_MICROWIN=0
2605 DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_wxUSE_MSW=0
2607 DEFAULT_wxUSE_PM=0
2608 DEFAULT_wxUSE_X11=0
2609 DEFAULT_wxUSE_DFB=0
2610
2611 DEFAULT_DEFAULT_wxUSE_COCOA=0
2612 DEFAULT_DEFAULT_wxUSE_GTK=0
2613 DEFAULT_DEFAULT_wxUSE_MAC=0
2614 DEFAULT_DEFAULT_wxUSE_MGL=0
2615 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2616 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2617 DEFAULT_DEFAULT_wxUSE_MSW=0
2618 DEFAULT_DEFAULT_wxUSE_PM=0
2619 DEFAULT_DEFAULT_wxUSE_X11=0
2620 DEFAULT_DEFAULT_wxUSE_DFB=0
2621
2622 PROGRAM_EXT=
2623 SO_SUFFIX=so
2624 SAMPLES_RPATH_FLAG=
2625 SAMPLES_RPATH_POSTLINK=
2626
2627 DEFAULT_STD_FLAG=yes
2628
2629 case "${host}" in
2630 *-hp-hpux* )
2631 USE_HPUX=1
2632 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2633 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2634 SO_SUFFIX=sl
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __HPUX__ 1
2637 _ACEOF
2638
2639
2640 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2641 ;;
2642 *-*-linux* )
2643 USE_LINUX=1
2644 cat >>confdefs.h <<\_ACEOF
2645 #define __LINUX__ 1
2646 _ACEOF
2647
2648 TMP=`uname -m`
2649 if test "x$TMP" = "xalpha"; then
2650 USE_ALPHA=1
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __ALPHA__ 1
2653 _ACEOF
2654
2655 fi
2656 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 ;;
2658 *-*-gnu* | *-*-k*bsd*-gnu )
2659 USE_GNU=1
2660 TMP=`uname -m`
2661 if test "x$TMP" = "xalpha"; then
2662 USE_ALPHA=1
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __ALPHA__ 1
2665 _ACEOF
2666
2667 fi
2668 DEFAULT_DEFAULT_wxUSE_GTK=1
2669 ;;
2670 *-*-irix5* | *-*-irix6* )
2671 USE_SGI=1
2672 USE_SVR4=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SGI__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SVR4__ 1
2679 _ACEOF
2680
2681 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 ;;
2683 *-*-solaris2* )
2684 USE_SUN=1
2685 USE_SOLARIS=1
2686 USE_SVR4=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUN__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SOLARIS__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SVR4__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2701 ;;
2702 *-*-sunos4* )
2703 USE_SUN=1
2704 USE_SUNOS=1
2705 USE_BSD=1
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __SUN__ 1
2708 _ACEOF
2709
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __SUNOS__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __BSD__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2719 ;;
2720 *-*-freebsd*)
2721 USE_BSD=1
2722 USE_FREEBSD=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __FREEBSD__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __BSD__ 1
2729 _ACEOF
2730
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2732 ;;
2733 *-*-openbsd*|*-*-mirbsd*)
2734 USE_BSD=1
2735 USE_OPENBSD=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __OPENBSD__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 ;;
2746 *-*-netbsd*)
2747 USE_BSD=1
2748 USE_NETBSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __NETBSD__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __BSD__ 1
2755 _ACEOF
2756
2757 DEFAULT_DEFAULT_wxUSE_GTK=1
2758 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2759
2760 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2761 ;;
2762 *-*-osf* )
2763 USE_ALPHA=1
2764 USE_OSF=1
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __ALPHA__ 1
2767 _ACEOF
2768
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __OSF__ 1
2771 _ACEOF
2772
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2774 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2775 ;;
2776 *-*-dgux5* )
2777 USE_ALPHA=1
2778 USE_SVR4=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __ALPHA__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789 *-*-sysv5* )
2790 USE_SYSV=1
2791 USE_SVR4=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __SYSV__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __SVR4__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2801 ;;
2802 *-*-aix* )
2803 USE_AIX=1
2804 USE_SYSV=1
2805 USE_SVR4=1
2806 SO_SUFFIX=a
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __AIX__ 1
2809 _ACEOF
2810
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __SYSV__ 1
2813 _ACEOF
2814
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __SVR4__ 1
2817 _ACEOF
2818
2819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2820 ;;
2821
2822 *-*-*UnixWare*)
2823 USE_SYSV=1
2824 USE_SVR4=1
2825 USE_UNIXWARE=1
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __UNIXWARE__ 1
2828 _ACEOF
2829
2830 ;;
2831
2832 *-*-cygwin* | *-*-mingw32* )
2833 SO_SUFFIX=dll
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MSW=1
2836 ;;
2837
2838 *-pc-msdosdjgpp )
2839 USE_UNIX=0
2840 USE_DOS=1
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __DOS__ 1
2843 _ACEOF
2844
2845 PROGRAM_EXT=".exe"
2846 DEFAULT_DEFAULT_wxUSE_MGL=1
2847 ;;
2848
2849 *-pc-os2_emx | *-pc-os2-emx )
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __EMX__ 1
2852 _ACEOF
2853
2854 USE_OS2=1
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __OS2__ 1
2857 _ACEOF
2858
2859 PROGRAM_EXT=".exe"
2860 DEFAULT_DEFAULT_wxUSE_PM=1
2861 CXX=gcc
2862 LDFLAGS="$LDFLAGS -Zcrtdll"
2863 ac_executable_extensions=".exe"
2864 export ac_executable_extensions
2865 ac_save_IFS="$IFS"
2866 IFS='\\'
2867 ac_TEMP_PATH=
2868 for ac_dir in $PATH; do
2869 IFS=$ac_save_IFS
2870 if test -z "$ac_TEMP_PATH"; then
2871 ac_TEMP_PATH="$ac_dir"
2872 else
2873 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2874 fi
2875 done
2876 export PATH="$ac_TEMP_PATH"
2877 unset ac_TEMP_PATH
2878 DEFAULT_STD_FLAG=no
2879 ;;
2880
2881 *-*-darwin* )
2882 USE_BSD=1
2883 USE_DARWIN=1
2884 SO_SUFFIX=dylib
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __BSD__ 1
2887 _ACEOF
2888
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __DARWIN__ 1
2891 _ACEOF
2892
2893 cat >>confdefs.h <<\_ACEOF
2894 #define TARGET_CARBON 1
2895 _ACEOF
2896
2897 DEFAULT_DEFAULT_wxUSE_MAC=1
2898 DEFAULT_STD_FLAG=no
2899 ;;
2900 powerpc-apple-macos* )
2901 USE_UNIX=0
2902 ac_cv_c_bigendian=yes
2903 SO_SUFFIX=shlib
2904 DEFAULT_DEFAULT_wxUSE_MAC=1
2905 DEFAULT_STD_FLAG=no
2906 ;;
2907
2908 *-*-beos* )
2909 USE_BEOS=1
2910 cat >>confdefs.h <<\_ACEOF
2911 #define __BEOS__ 1
2912 _ACEOF
2913
2914 ;;
2915
2916 *)
2917 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2918 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2919 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2920 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2921
2922 DEFAULT_DEFAULT_wxUSE_X11=1
2923 DEFAULT_wxUSE_SHARED=no
2924 esac
2925
2926
2927
2928
2929 wx_arg_cache_file="configarg.cache"
2930 echo "loading argument cache $wx_arg_cache_file"
2931 rm -f ${wx_arg_cache_file}.tmp
2932 touch ${wx_arg_cache_file}.tmp
2933 touch ${wx_arg_cache_file}
2934
2935
2936 DEFAULT_wxUSE_ALL_FEATURES=yes
2937
2938 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2939 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2940
2941 DEFAULT_wxUSE_DMALLOC=no
2942 DEFAULT_wxUSE_LIBGNOMEVFS=no
2943 DEFAULT_wxUSE_LIBHILDON=no
2944 DEFAULT_wxUSE_LIBMSPACK=no
2945 DEFAULT_wxUSE_LIBSDL=no
2946 DEFAULT_wxUSE_ODBC=no
2947 DEFAULT_wxUSE_OPENGL=no
2948
2949 DEFAULT_wxUSE_ACCESSIBILITY=no
2950 DEFAULT_wxUSE_DATAVIEWCTRL=no
2951 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2952 DEFAULT_wxUSE_MEDIACTRL=no
2953 DEFAULT_wxUSE_TAB_DIALOG=no
2954
2955 DEFAULT_wxUSE_UNICODE_UTF8=auto
2956 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2957
2958 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2959
2960 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2961
2962 DEFAULT_wxUSE_GTK2=yes
2963
2964 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2965
2966
2967 for toolkit in `echo $ALL_TOOLKITS`; do
2968 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2969 if test "x$LINE" != "x" ; then
2970 has_toolkit_in_cache=1
2971 eval "DEFAULT_$LINE"
2972 eval "CACHE_$toolkit=1"
2973
2974 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2975 if test "x$LINE" != "x" ; then
2976 eval "DEFAULT_$LINE"
2977 fi
2978 fi
2979 done
2980
2981
2982
2983
2984
2985 enablestring=disable
2986 defaultval=
2987 if test -z "$defaultval"; then
2988 if test x"$enablestring" = xdisable; then
2989 defaultval=yes
2990 else
2991 defaultval=no
2992 fi
2993 fi
2994
2995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2996 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2997 # Check whether --enable-gui was given.
2998 if test "${enable_gui+set}" = set; then
2999 enableval=$enable_gui;
3000 if test "$enableval" = yes; then
3001 wx_cv_use_gui='wxUSE_GUI=yes'
3002 else
3003 wx_cv_use_gui='wxUSE_GUI=no'
3004 fi
3005 cache=yes
3006
3007 else
3008
3009 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x ; then
3011 eval "DEFAULT_$LINE"
3012 cache=yes
3013 else
3014 cache=no
3015 fi
3016
3017 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3018
3019 fi
3020
3021
3022 eval "$wx_cv_use_gui"
3023 if test "x$cache" = xyes; then
3024 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3025 fi
3026
3027 if test x"$enablestring" = xdisable; then
3028 if test $wxUSE_GUI = yes; then
3029 result=no
3030 else
3031 result=yes
3032 fi
3033 else
3034 result=$wxUSE_GUI
3035 fi
3036
3037 { echo "$as_me:$LINENO: result: $result" >&5
3038 echo "${ECHO_T}$result" >&6; }
3039
3040
3041 enablestring=
3042 defaultval=
3043 if test -z "$defaultval"; then
3044 if test x"$enablestring" = xdisable; then
3045 defaultval=yes
3046 else
3047 defaultval=no
3048 fi
3049 fi
3050
3051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3052 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3053 # Check whether --enable-monolithic was given.
3054 if test "${enable_monolithic+set}" = set; then
3055 enableval=$enable_monolithic;
3056 if test "$enableval" = yes; then
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3058 else
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3060 fi
3061 cache=yes
3062
3063 else
3064
3065 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3068 cache=yes
3069 else
3070 cache=no
3071 fi
3072
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3074
3075 fi
3076
3077
3078 eval "$wx_cv_use_monolithic"
3079 if test "x$cache" = xyes; then
3080 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3081 fi
3082
3083 if test x"$enablestring" = xdisable; then
3084 if test $wxUSE_MONOLITHIC = yes; then
3085 result=no
3086 else
3087 result=yes
3088 fi
3089 else
3090 result=$wxUSE_MONOLITHIC
3091 fi
3092
3093 { echo "$as_me:$LINENO: result: $result" >&5
3094 echo "${ECHO_T}$result" >&6; }
3095
3096
3097 enablestring=
3098 defaultval=
3099 if test -z "$defaultval"; then
3100 if test x"$enablestring" = xdisable; then
3101 defaultval=yes
3102 else
3103 defaultval=no
3104 fi
3105 fi
3106
3107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3108 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3109 # Check whether --enable-plugins was given.
3110 if test "${enable_plugins+set}" = set; then
3111 enableval=$enable_plugins;
3112 if test "$enableval" = yes; then
3113 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3114 else
3115 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3116 fi
3117 cache=yes
3118
3119 else
3120
3121 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 cache=yes
3125 else
3126 cache=no
3127 fi
3128
3129 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3130
3131 fi
3132
3133
3134 eval "$wx_cv_use_plugins"
3135 if test "x$cache" = xyes; then
3136 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3137 fi
3138
3139 if test x"$enablestring" = xdisable; then
3140 if test $wxUSE_PLUGINS = yes; then
3141 result=no
3142 else
3143 result=yes
3144 fi
3145 else
3146 result=$wxUSE_PLUGINS
3147 fi
3148
3149 { echo "$as_me:$LINENO: result: $result" >&5
3150 echo "${ECHO_T}$result" >&6; }
3151
3152
3153 withstring=without
3154 defaultval=$wxUSE_ALL_FEATURES
3155 if test -z "$defaultval"; then
3156 if test x"$withstring" = xwithout; then
3157 defaultval=yes
3158 else
3159 defaultval=no
3160 fi
3161 fi
3162 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3163 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3164
3165 # Check whether --with-subdirs was given.
3166 if test "${with_subdirs+set}" = set; then
3167 withval=$with_subdirs;
3168 if test "$withval" = yes; then
3169 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3170 else
3171 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3172 fi
3173 cache=yes
3174
3175 else
3176
3177 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x ; then
3179 eval "DEFAULT_$LINE"
3180 cache=yes
3181 else
3182 cache=no
3183 fi
3184
3185 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3186
3187 fi
3188
3189
3190 eval "$wx_cv_use_subdirs"
3191 if test "x$cache" = xyes; then
3192 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3193 fi
3194
3195 if test x"$withstring" = xwithout; then
3196 if test $wxWITH_SUBDIRS = yes; then
3197 result=no
3198 else
3199 result=yes
3200 fi
3201 else
3202 result=$wxWITH_SUBDIRS
3203 fi
3204
3205 { echo "$as_me:$LINENO: result: $result" >&5
3206 echo "${ECHO_T}$result" >&6; }
3207
3208
3209 # Check whether --with-flavour was given.
3210 if test "${with_flavour+set}" = set; then
3211 withval=$with_flavour; WX_FLAVOUR="$withval"
3212 fi
3213
3214
3215 enablestring=
3216 defaultval=
3217 if test -z "$defaultval"; then
3218 if test x"$enablestring" = xdisable; then
3219 defaultval=yes
3220 else
3221 defaultval=no
3222 fi
3223 fi
3224
3225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3227 # Check whether --enable-official_build was given.
3228 if test "${enable_official_build+set}" = set; then
3229 enableval=$enable_official_build;
3230 if test "$enableval" = yes; then
3231 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3232 else
3233 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3234 fi
3235 cache=yes
3236
3237 else
3238
3239 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x ; then
3241 eval "DEFAULT_$LINE"
3242 cache=yes
3243 else
3244 cache=no
3245 fi
3246
3247 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3248
3249 fi
3250
3251
3252 eval "$wx_cv_use_official_build"
3253 if test "x$cache" = xyes; then
3254 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3255 fi
3256
3257 if test x"$enablestring" = xdisable; then
3258 if test $wxUSE_OFFICIAL_BUILD = yes; then
3259 result=no
3260 else
3261 result=yes
3262 fi
3263 else
3264 result=$wxUSE_OFFICIAL_BUILD
3265 fi
3266
3267 { echo "$as_me:$LINENO: result: $result" >&5
3268 echo "${ECHO_T}$result" >&6; }
3269
3270 # Check whether --enable-vendor was given.
3271 if test "${enable_vendor+set}" = set; then
3272 enableval=$enable_vendor; VENDOR="$enableval"
3273 fi
3274
3275 if test "x$VENDOR" = "x"; then
3276 VENDOR="custom"
3277 fi
3278
3279
3280 enablestring=disable
3281 defaultval=
3282 if test -z "$defaultval"; then
3283 if test x"$enablestring" = xdisable; then
3284 defaultval=yes
3285 else
3286 defaultval=no
3287 fi
3288 fi
3289
3290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3291 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3292 # Check whether --enable-all-features was given.
3293 if test "${enable_all_features+set}" = set; then
3294 enableval=$enable_all_features;
3295 if test "$enableval" = yes; then
3296 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3297 else
3298 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3299 fi
3300 cache=yes
3301
3302 else
3303
3304 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x ; then
3306 eval "DEFAULT_$LINE"
3307 cache=yes
3308 else
3309 cache=no
3310 fi
3311
3312 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3313
3314 fi
3315
3316
3317 eval "$wx_cv_use_all_features"
3318 if test "x$cache" = xyes; then
3319 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3320 fi
3321
3322 if test x"$enablestring" = xdisable; then
3323 if test $wxUSE_ALL_FEATURES = yes; then
3324 result=no
3325 else
3326 result=yes
3327 fi
3328 else
3329 result=$wxUSE_ALL_FEATURES
3330 fi
3331
3332 { echo "$as_me:$LINENO: result: $result" >&5
3333 echo "${ECHO_T}$result" >&6; }
3334
3335
3336
3337 if test "$wxUSE_GUI" = "yes"; then
3338
3339
3340 enablestring=
3341 defaultval=
3342 if test -z "$defaultval"; then
3343 if test x"$enablestring" = xdisable; then
3344 defaultval=yes
3345 else
3346 defaultval=no
3347 fi
3348 fi
3349
3350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3351 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3352 # Check whether --enable-universal was given.
3353 if test "${enable_universal+set}" = set; then
3354 enableval=$enable_universal;
3355 if test "$enableval" = yes; then
3356 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3357 else
3358 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3359 fi
3360 cache=yes
3361
3362 else
3363
3364 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3367 cache=yes
3368 else
3369 cache=no
3370 fi
3371
3372 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3373
3374 fi
3375
3376
3377 eval "$wx_cv_use_universal"
3378 if test "x$cache" = xyes; then
3379 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3380 fi
3381
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_UNIVERSAL = yes; then
3384 result=no
3385 else
3386 result=yes
3387 fi
3388 else
3389 result=$wxUSE_UNIVERSAL
3390 fi
3391
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3394
3395 if test "$wxUSE_UNIVERSAL" = "yes"; then
3396
3397 # Check whether --with-themes was given.
3398 if test "${with_themes+set}" = set; then
3399 withval=$with_themes; wxUNIV_THEMES="$withval"
3400 fi
3401
3402 fi
3403
3404
3405 # Check whether --with-gtk was given.
3406 if test "${with_gtk+set}" = set; then
3407 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3408 fi
3409
3410
3411 # Check whether --with-motif was given.
3412 if test "${with_motif+set}" = set; then
3413 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3414 fi
3415
3416
3417 # Check whether --with-mac was given.
3418 if test "${with_mac+set}" = set; then
3419 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3420 fi
3421
3422
3423 # Check whether --with-cocoa was given.
3424 if test "${with_cocoa+set}" = set; then
3425 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3426 fi
3427
3428
3429 # Check whether --with-wine was given.
3430 if test "${with_wine+set}" = set; then
3431 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3432 fi
3433
3434
3435 # Check whether --with-msw was given.
3436 if test "${with_msw+set}" = set; then
3437 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3438 fi
3439
3440
3441 # Check whether --with-pm was given.
3442 if test "${with_pm+set}" = set; then
3443 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3444 fi
3445
3446
3447 # Check whether --with-mgl was given.
3448 if test "${with_mgl+set}" = set; then
3449 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3450 fi
3451
3452
3453 # Check whether --with-directfb was given.
3454 if test "${with_directfb+set}" = set; then
3455 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3456 fi
3457
3458
3459 # Check whether --with-microwin was given.
3460 if test "${with_microwin+set}" = set; then
3461 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3462 fi
3463
3464
3465 # Check whether --with-x11 was given.
3466 if test "${with_x11+set}" = set; then
3467 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3468 fi
3469
3470
3471 enablestring=
3472 defaultval=
3473 if test -z "$defaultval"; then
3474 if test x"$enablestring" = xdisable; then
3475 defaultval=yes
3476 else
3477 defaultval=no
3478 fi
3479 fi
3480
3481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3482 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3483 # Check whether --enable-nanox was given.
3484 if test "${enable_nanox+set}" = set; then
3485 enableval=$enable_nanox;
3486 if test "$enableval" = yes; then
3487 wx_cv_use_nanox='wxUSE_NANOX=yes'
3488 else
3489 wx_cv_use_nanox='wxUSE_NANOX=no'
3490 fi
3491 cache=yes
3492
3493 else
3494
3495 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x ; then
3497 eval "DEFAULT_$LINE"
3498 cache=yes
3499 else
3500 cache=no
3501 fi
3502
3503 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3504
3505 fi
3506
3507
3508 eval "$wx_cv_use_nanox"
3509 if test "x$cache" = xyes; then
3510 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3511 fi
3512
3513 if test x"$enablestring" = xdisable; then
3514 if test $wxUSE_NANOX = yes; then
3515 result=no
3516 else
3517 result=yes
3518 fi
3519 else
3520 result=$wxUSE_NANOX
3521 fi
3522
3523 { echo "$as_me:$LINENO: result: $result" >&5
3524 echo "${ECHO_T}$result" >&6; }
3525
3526
3527 # Check whether --enable-gtk2 was given.
3528 if test "${enable_gtk2+set}" = set; then
3529 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3530 fi
3531
3532
3533 enablestring=
3534 defaultval=
3535 if test -z "$defaultval"; then
3536 if test x"$enablestring" = xdisable; then
3537 defaultval=yes
3538 else
3539 defaultval=no
3540 fi
3541 fi
3542
3543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3544 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3545 # Check whether --enable-gpe was given.
3546 if test "${enable_gpe+set}" = set; then
3547 enableval=$enable_gpe;
3548 if test "$enableval" = yes; then
3549 wx_cv_use_gpe='wxUSE_GPE=yes'
3550 else
3551 wx_cv_use_gpe='wxUSE_GPE=no'
3552 fi
3553 cache=yes
3554
3555 else
3556
3557 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x ; then
3559 eval "DEFAULT_$LINE"
3560 cache=yes
3561 else
3562 cache=no
3563 fi
3564
3565 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3566
3567 fi
3568
3569
3570 eval "$wx_cv_use_gpe"
3571 if test "x$cache" = xyes; then
3572 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3573 fi
3574
3575 if test x"$enablestring" = xdisable; then
3576 if test $wxUSE_GPE = yes; then
3577 result=no
3578 else
3579 result=yes
3580 fi
3581 else
3582 result=$wxUSE_GPE
3583 fi
3584
3585 { echo "$as_me:$LINENO: result: $result" >&5
3586 echo "${ECHO_T}$result" >&6; }
3587
3588
3589
3590
3591 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3592 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3593
3594 # Check whether --with-libpng was given.
3595 if test "${with_libpng+set}" = set; then
3596 withval=$with_libpng;
3597 if test "$withval" = yes; then
3598 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3599 elif test "$withval" = no; then
3600 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3601 elif test "$withval" = sys; then
3602 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3603 elif test "$withval" = builtin; then
3604 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3605 else
3606 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3607 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3608 { (exit 1); exit 1; }; }
3609 fi
3610 cache=yes
3611
3612 else
3613
3614 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x ; then
3616 eval "DEFAULT_$LINE"
3617 cache=yes
3618 else
3619 cache=no
3620 fi
3621
3622 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3623
3624 fi
3625
3626
3627 eval "$wx_cv_use_libpng"
3628 if test "x$cache" = xyes; then
3629 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3630 fi
3631
3632 if test "$wxUSE_LIBPNG" = yes; then
3633 { echo "$as_me:$LINENO: result: yes" >&5
3634 echo "${ECHO_T}yes" >&6; }
3635 elif test "$wxUSE_LIBPNG" = no; then
3636 { echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6; }
3638 elif test "$wxUSE_LIBPNG" = sys; then
3639 { echo "$as_me:$LINENO: result: system version" >&5
3640 echo "${ECHO_T}system version" >&6; }
3641 elif test "$wxUSE_LIBPNG" = builtin; then
3642 { echo "$as_me:$LINENO: result: builtin version" >&5
3643 echo "${ECHO_T}builtin version" >&6; }
3644 else
3645 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3646 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3647 { (exit 1); exit 1; }; }
3648 fi
3649
3650
3651 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3652 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libjpeg was given.
3655 if test "${with_libjpeg+set}" = set; then
3656 withval=$with_libjpeg;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670 cache=yes
3671
3672 else
3673
3674 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 cache=yes
3678 else
3679 cache=no
3680 fi
3681
3682 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3683
3684 fi
3685
3686
3687 eval "$wx_cv_use_libjpeg"
3688 if test "x$cache" = xyes; then
3689 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3690 fi
3691
3692 if test "$wxUSE_LIBJPEG" = yes; then
3693 { echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6; }
3695 elif test "$wxUSE_LIBJPEG" = no; then
3696 { echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6; }
3698 elif test "$wxUSE_LIBJPEG" = sys; then
3699 { echo "$as_me:$LINENO: result: system version" >&5
3700 echo "${ECHO_T}system version" >&6; }
3701 elif test "$wxUSE_LIBJPEG" = builtin; then
3702 { echo "$as_me:$LINENO: result: builtin version" >&5
3703 echo "${ECHO_T}builtin version" >&6; }
3704 else
3705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3706 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709
3710
3711 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3712 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3713
3714 # Check whether --with-libtiff was given.
3715 if test "${with_libtiff+set}" = set; then
3716 withval=$with_libtiff;
3717 if test "$withval" = yes; then
3718 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3719 elif test "$withval" = no; then
3720 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3721 elif test "$withval" = sys; then
3722 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3723 elif test "$withval" = builtin; then
3724 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3725 else
3726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3727 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3729 fi
3730 cache=yes
3731
3732 else
3733
3734 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x ; then
3736 eval "DEFAULT_$LINE"
3737 cache=yes
3738 else
3739 cache=no
3740 fi
3741
3742 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3743
3744 fi
3745
3746
3747 eval "$wx_cv_use_libtiff"
3748 if test "x$cache" = xyes; then
3749 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3750 fi
3751
3752 if test "$wxUSE_LIBTIFF" = yes; then
3753 { echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6; }
3755 elif test "$wxUSE_LIBTIFF" = no; then
3756 { echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = sys; then
3759 { echo "$as_me:$LINENO: result: system version" >&5
3760 echo "${ECHO_T}system version" >&6; }
3761 elif test "$wxUSE_LIBTIFF" = builtin; then
3762 { echo "$as_me:$LINENO: result: builtin version" >&5
3763 echo "${ECHO_T}builtin version" >&6; }
3764 else
3765 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3766 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3767 { (exit 1); exit 1; }; }
3768 fi
3769
3770
3771 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3772 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3773
3774 # Check whether --with-libxpm was given.
3775 if test "${with_libxpm+set}" = set; then
3776 withval=$with_libxpm;
3777 if test "$withval" = yes; then
3778 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3779 elif test "$withval" = no; then
3780 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3781 elif test "$withval" = sys; then
3782 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3783 elif test "$withval" = builtin; then
3784 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3785 else
3786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3787 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3788 { (exit 1); exit 1; }; }
3789 fi
3790 cache=yes
3791
3792 else
3793
3794 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3795 if test "x$LINE" != x ; then
3796 eval "DEFAULT_$LINE"
3797 cache=yes
3798 else
3799 cache=no
3800 fi
3801
3802 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3803
3804 fi
3805
3806
3807 eval "$wx_cv_use_libxpm"
3808 if test "x$cache" = xyes; then
3809 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3810 fi
3811
3812 if test "$wxUSE_LIBXPM" = yes; then
3813 { echo "$as_me:$LINENO: result: yes" >&5
3814 echo "${ECHO_T}yes" >&6; }
3815 elif test "$wxUSE_LIBXPM" = no; then
3816 { echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6; }
3818 elif test "$wxUSE_LIBXPM" = sys; then
3819 { echo "$as_me:$LINENO: result: system version" >&5
3820 echo "${ECHO_T}system version" >&6; }
3821 elif test "$wxUSE_LIBXPM" = builtin; then
3822 { echo "$as_me:$LINENO: result: builtin version" >&5
3823 echo "${ECHO_T}builtin version" >&6; }
3824 else
3825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3826 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3827 { (exit 1); exit 1; }; }
3828 fi
3829
3830
3831 withstring=
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3835 defaultval=yes
3836 else
3837 defaultval=no
3838 fi
3839 fi
3840 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3841 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3842
3843 # Check whether --with-libmspack was given.
3844 if test "${with_libmspack+set}" = set; then
3845 withval=$with_libmspack;
3846 if test "$withval" = yes; then
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3848 else
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3850 fi
3851 cache=yes
3852
3853 else
3854
3855 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3856 if test "x$LINE" != x ; then
3857 eval "DEFAULT_$LINE"
3858 cache=yes
3859 else
3860 cache=no
3861 fi
3862
3863 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3864
3865 fi
3866
3867
3868 eval "$wx_cv_use_libmspack"
3869 if test "x$cache" = xyes; then
3870 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3871 fi
3872
3873 if test x"$withstring" = xwithout; then
3874 if test $wxUSE_LIBMSPACK = yes; then
3875 result=no
3876 else
3877 result=yes
3878 fi
3879 else
3880 result=$wxUSE_LIBMSPACK
3881 fi
3882
3883 { echo "$as_me:$LINENO: result: $result" >&5
3884 echo "${ECHO_T}$result" >&6; }
3885
3886
3887 withstring=without
3888 defaultval=$wxUSE_ALL_FEATURES
3889 if test -z "$defaultval"; then
3890 if test x"$withstring" = xwithout; then
3891 defaultval=yes
3892 else
3893 defaultval=no
3894 fi
3895 fi
3896 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3897 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3898
3899 # Check whether --with-gtkprint was given.
3900 if test "${with_gtkprint+set}" = set; then
3901 withval=$with_gtkprint;
3902 if test "$withval" = yes; then
3903 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3904 else
3905 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3906 fi
3907 cache=yes
3908
3909 else
3910
3911 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3914 cache=yes
3915 else
3916 cache=no
3917 fi
3918
3919 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3920
3921 fi
3922
3923
3924 eval "$wx_cv_use_gtkprint"
3925 if test "x$cache" = xyes; then
3926 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test x"$withstring" = xwithout; then
3930 if test $wxUSE_GTKPRINT = yes; then
3931 result=no
3932 else
3933 result=yes
3934 fi
3935 else
3936 result=$wxUSE_GTKPRINT
3937 fi
3938
3939 { echo "$as_me:$LINENO: result: $result" >&5
3940 echo "${ECHO_T}$result" >&6; }
3941
3942
3943 withstring=without
3944 defaultval=$wxUSE_ALL_FEATURES
3945 if test -z "$defaultval"; then
3946 if test x"$withstring" = xwithout; then
3947 defaultval=yes
3948 else
3949 defaultval=no
3950 fi
3951 fi
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3954
3955 # Check whether --with-gnomeprint was given.
3956 if test "${with_gnomeprint+set}" = set; then
3957 withval=$with_gnomeprint;
3958 if test "$withval" = yes; then
3959 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3960 else
3961 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3962 fi
3963 cache=yes
3964
3965 else
3966
3967 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x ; then
3969 eval "DEFAULT_$LINE"
3970 cache=yes
3971 else
3972 cache=no
3973 fi
3974
3975 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3976
3977 fi
3978
3979
3980 eval "$wx_cv_use_gnomeprint"
3981 if test "x$cache" = xyes; then
3982 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3983 fi
3984
3985 if test x"$withstring" = xwithout; then
3986 if test $wxUSE_LIBGNOMEPRINT = yes; then
3987 result=no
3988 else
3989 result=yes
3990 fi
3991 else
3992 result=$wxUSE_LIBGNOMEPRINT
3993 fi
3994
3995 { echo "$as_me:$LINENO: result: $result" >&5
3996 echo "${ECHO_T}$result" >&6; }
3997
3998
3999 withstring=
4000 defaultval=$wxUSE_ALL_FEATURES
4001 if test -z "$defaultval"; then
4002 if test x"$withstring" = xwithout; then
4003 defaultval=yes
4004 else
4005 defaultval=no
4006 fi
4007 fi
4008 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4009 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4010
4011 # Check whether --with-gnomevfs was given.
4012 if test "${with_gnomevfs+set}" = set; then
4013 withval=$with_gnomevfs;
4014 if test "$withval" = yes; then
4015 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4016 else
4017 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4018 fi
4019 cache=yes
4020
4021 else
4022
4023 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x ; then
4025 eval "DEFAULT_$LINE"
4026 cache=yes
4027 else
4028 cache=no
4029 fi
4030
4031 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4032
4033 fi
4034
4035
4036 eval "$wx_cv_use_gnomevfs"
4037 if test "x$cache" = xyes; then
4038 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4039 fi
4040
4041 if test x"$withstring" = xwithout; then
4042 if test $wxUSE_LIBGNOMEVFS = yes; then
4043 result=no
4044 else
4045 result=yes
4046 fi
4047 else
4048 result=$wxUSE_LIBGNOMEVFS
4049 fi
4050
4051 { echo "$as_me:$LINENO: result: $result" >&5
4052 echo "${ECHO_T}$result" >&6; }
4053
4054
4055 withstring=
4056 defaultval=$wxUSE_ALL_FEATURES
4057 if test -z "$defaultval"; then
4058 if test x"$withstring" = xwithout; then
4059 defaultval=yes
4060 else
4061 defaultval=no
4062 fi
4063 fi
4064 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4065 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4066
4067 # Check whether --with-hildon was given.
4068 if test "${with_hildon+set}" = set; then
4069 withval=$with_hildon;
4070 if test "$withval" = yes; then
4071 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4072 else
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4074 fi
4075 cache=yes
4076
4077 else
4078
4079 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 cache=yes
4083 else
4084 cache=no
4085 fi
4086
4087 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4088
4089 fi
4090
4091
4092 eval "$wx_cv_use_hildon"
4093 if test "x$cache" = xyes; then
4094 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4095 fi
4096
4097 if test x"$withstring" = xwithout; then
4098 if test $wxUSE_LIBHILDON = yes; then
4099 result=no
4100 else
4101 result=yes
4102 fi
4103 else
4104 result=$wxUSE_LIBHILDON
4105 fi
4106
4107 { echo "$as_me:$LINENO: result: $result" >&5
4108 echo "${ECHO_T}$result" >&6; }
4109
4110
4111 withstring=
4112 defaultval=$wxUSE_ALL_FEATURES
4113 if test -z "$defaultval"; then
4114 if test x"$withstring" = xwithout; then
4115 defaultval=yes
4116 else
4117 defaultval=no
4118 fi
4119 fi
4120 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4121 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4122
4123 # Check whether --with-opengl was given.
4124 if test "${with_opengl+set}" = set; then
4125 withval=$with_opengl;
4126 if test "$withval" = yes; then
4127 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4128 else
4129 wx_cv_use_opengl='wxUSE_OPENGL=no'
4130 fi
4131 cache=yes
4132
4133 else
4134
4135 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x ; then
4137 eval "DEFAULT_$LINE"
4138 cache=yes
4139 else
4140 cache=no
4141 fi
4142
4143 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4144
4145 fi
4146
4147
4148 eval "$wx_cv_use_opengl"
4149 if test "x$cache" = xyes; then
4150 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4151 fi
4152
4153 if test x"$withstring" = xwithout; then
4154 if test $wxUSE_OPENGL = yes; then
4155 result=no
4156 else
4157 result=yes
4158 fi
4159 else
4160 result=$wxUSE_OPENGL
4161 fi
4162
4163 { echo "$as_me:$LINENO: result: $result" >&5
4164 echo "${ECHO_T}$result" >&6; }
4165
4166
4167 fi
4168
4169
4170 withstring=
4171 defaultval=$wxUSE_ALL_FEATURES
4172 if test -z "$defaultval"; then
4173 if test x"$withstring" = xwithout; then
4174 defaultval=yes
4175 else
4176 defaultval=no
4177 fi
4178 fi
4179 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4180 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4181
4182 # Check whether --with-dmalloc was given.
4183 if test "${with_dmalloc+set}" = set; then
4184 withval=$with_dmalloc;
4185 if test "$withval" = yes; then
4186 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4187 else
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4189 fi
4190 cache=yes
4191
4192 else
4193
4194 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4197 cache=yes
4198 else
4199 cache=no
4200 fi
4201
4202 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4203
4204 fi
4205
4206
4207 eval "$wx_cv_use_dmalloc"
4208 if test "x$cache" = xyes; then
4209 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4210 fi
4211
4212 if test x"$withstring" = xwithout; then
4213 if test $wxUSE_DMALLOC = yes; then
4214 result=no
4215 else
4216 result=yes
4217 fi
4218 else
4219 result=$wxUSE_DMALLOC
4220 fi
4221
4222 { echo "$as_me:$LINENO: result: $result" >&5
4223 echo "${ECHO_T}$result" >&6; }
4224
4225
4226 withstring=
4227 defaultval=$wxUSE_ALL_FEATURES
4228 if test -z "$defaultval"; then
4229 if test x"$withstring" = xwithout; then
4230 defaultval=yes
4231 else
4232 defaultval=no
4233 fi
4234 fi
4235 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4236 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4237
4238 # Check whether --with-sdl was given.
4239 if test "${with_sdl+set}" = set; then
4240 withval=$with_sdl;
4241 if test "$withval" = yes; then
4242 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4243 else
4244 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4245 fi
4246 cache=yes
4247
4248 else
4249
4250 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x ; then
4252 eval "DEFAULT_$LINE"
4253 cache=yes
4254 else
4255 cache=no
4256 fi
4257
4258 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4259
4260 fi
4261
4262
4263 eval "$wx_cv_use_sdl"
4264 if test "x$cache" = xyes; then
4265 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test x"$withstring" = xwithout; then
4269 if test $wxUSE_LIBSDL = yes; then
4270 result=no
4271 else
4272 result=yes
4273 fi
4274 else
4275 result=$wxUSE_LIBSDL
4276 fi
4277
4278 { echo "$as_me:$LINENO: result: $result" >&5
4279 echo "${ECHO_T}$result" >&6; }
4280
4281
4282 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4283 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4284
4285 # Check whether --with-regex was given.
4286 if test "${with_regex+set}" = set; then
4287 withval=$with_regex;
4288 if test "$withval" = yes; then
4289 wx_cv_use_regex='wxUSE_REGEX=yes'
4290 elif test "$withval" = no; then
4291 wx_cv_use_regex='wxUSE_REGEX=no'
4292 elif test "$withval" = sys; then
4293 wx_cv_use_regex='wxUSE_REGEX=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_regex='wxUSE_REGEX=builtin'
4296 else
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4300 fi
4301 cache=yes
4302
4303 else
4304
4305 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4308 cache=yes
4309 else
4310 cache=no
4311 fi
4312
4313 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4314
4315 fi
4316
4317
4318 eval "$wx_cv_use_regex"
4319 if test "x$cache" = xyes; then
4320 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4321 fi
4322
4323 if test "$wxUSE_REGEX" = yes; then
4324 { echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6; }
4326 elif test "$wxUSE_REGEX" = no; then
4327 { echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6; }
4329 elif test "$wxUSE_REGEX" = sys; then
4330 { echo "$as_me:$LINENO: result: system version" >&5
4331 echo "${ECHO_T}system version" >&6; }
4332 elif test "$wxUSE_REGEX" = builtin; then
4333 { echo "$as_me:$LINENO: result: builtin version" >&5
4334 echo "${ECHO_T}builtin version" >&6; }
4335 else
4336 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4337 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4338 { (exit 1); exit 1; }; }
4339 fi
4340
4341
4342 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4343 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4344
4345 # Check whether --with-zlib was given.
4346 if test "${with_zlib+set}" = set; then
4347 withval=$with_zlib;
4348 if test "$withval" = yes; then
4349 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4350 elif test "$withval" = no; then
4351 wx_cv_use_zlib='wxUSE_ZLIB=no'
4352 elif test "$withval" = sys; then
4353 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4354 elif test "$withval" = builtin; then
4355 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4356 else
4357 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4358 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4359 { (exit 1); exit 1; }; }
4360 fi
4361 cache=yes
4362
4363 else
4364
4365 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4368 cache=yes
4369 else
4370 cache=no
4371 fi
4372
4373 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4374
4375 fi
4376
4377
4378 eval "$wx_cv_use_zlib"
4379 if test "x$cache" = xyes; then
4380 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4381 fi
4382
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4395 else
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4399 fi
4400
4401
4402 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4403 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4404
4405 # Check whether --with-odbc was given.
4406 if test "${with_odbc+set}" = set; then
4407 withval=$with_odbc;
4408 if test "$withval" = yes; then
4409 wx_cv_use_odbc='wxUSE_ODBC=yes'
4410 elif test "$withval" = no; then
4411 wx_cv_use_odbc='wxUSE_ODBC=no'
4412 elif test "$withval" = sys; then
4413 wx_cv_use_odbc='wxUSE_ODBC=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4416 else
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4420 fi
4421 cache=yes
4422
4423 else
4424
4425 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 cache=yes
4429 else
4430 cache=no
4431 fi
4432
4433 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4434
4435 fi
4436
4437
4438 eval "$wx_cv_use_odbc"
4439 if test "x$cache" = xyes; then
4440 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_ODBC" = yes; then
4444 { echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6; }
4446 elif test "$wxUSE_ODBC" = no; then
4447 { echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6; }
4449 elif test "$wxUSE_ODBC" = sys; then
4450 { echo "$as_me:$LINENO: result: system version" >&5
4451 echo "${ECHO_T}system version" >&6; }
4452 elif test "$wxUSE_ODBC" = builtin; then
4453 { echo "$as_me:$LINENO: result: builtin version" >&5
4454 echo "${ECHO_T}builtin version" >&6; }
4455 else
4456 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4457 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4458 { (exit 1); exit 1; }; }
4459 fi
4460
4461
4462 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4463 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4464
4465 # Check whether --with-expat was given.
4466 if test "${with_expat+set}" = set; then
4467 withval=$with_expat;
4468 if test "$withval" = yes; then
4469 wx_cv_use_expat='wxUSE_EXPAT=yes'
4470 elif test "$withval" = no; then
4471 wx_cv_use_expat='wxUSE_EXPAT=no'
4472 elif test "$withval" = sys; then
4473 wx_cv_use_expat='wxUSE_EXPAT=sys'
4474 elif test "$withval" = builtin; then
4475 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4476 else
4477 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4478 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4479 { (exit 1); exit 1; }; }
4480 fi
4481 cache=yes
4482
4483 else
4484
4485 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x ; then
4487 eval "DEFAULT_$LINE"
4488 cache=yes
4489 else
4490 cache=no
4491 fi
4492
4493 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4494
4495 fi
4496
4497
4498 eval "$wx_cv_use_expat"
4499 if test "x$cache" = xyes; then
4500 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4501 fi
4502
4503 if test "$wxUSE_EXPAT" = yes; then
4504 { echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6; }
4506 elif test "$wxUSE_EXPAT" = no; then
4507 { echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6; }
4509 elif test "$wxUSE_EXPAT" = sys; then
4510 { echo "$as_me:$LINENO: result: system version" >&5
4511 echo "${ECHO_T}system version" >&6; }
4512 elif test "$wxUSE_EXPAT" = builtin; then
4513 { echo "$as_me:$LINENO: result: builtin version" >&5
4514 echo "${ECHO_T}builtin version" >&6; }
4515 else
4516 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4517 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4518 { (exit 1); exit 1; }; }
4519 fi
4520
4521
4522 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4523 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4524
4525 # Check whether --with-macosx-sdk was given.
4526 if test "${with_macosx_sdk+set}" = set; then
4527 withval=$with_macosx_sdk;
4528 wxUSE_MACOSX_SDK=$withval
4529 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4530 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4531
4532 else
4533
4534 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4535 # will override --enable-universal_binary's automatic SDK usage.
4536 wxUSE_MACOSX_SDK=
4537 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x ; then
4539 eval "$LINE"
4540 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 fi
4544
4545 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4546 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4547
4548 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4549 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4550
4551 # Check whether --with-macosx-version-min was given.
4552 if test "${with_macosx_version_min+set}" = set; then
4553 withval=$with_macosx_version_min;
4554 wxUSE_MACOSX_VERSION_MIN=$withval
4555 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4556 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4557
4558 else
4559
4560 # default "yes" because when not using an SDK it means the same as no
4561 # but when using an SDK it means to use the SDK version
4562 wxUSE_MACOSX_VERSION_MIN=yes
4563 # See if there is a value in the cache
4564 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "$LINE"
4567 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4568 fi
4569
4570 fi
4571
4572 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4573 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4574
4575
4576
4577 enablestring=disable
4578 defaultval=
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4581 defaultval=yes
4582 else
4583 defaultval=no
4584 fi
4585 fi
4586
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4589 # Check whether --enable-shared was given.
4590 if test "${enable_shared+set}" = set; then
4591 enableval=$enable_shared;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_shared='wxUSE_SHARED=yes'
4594 else
4595 wx_cv_use_shared='wxUSE_SHARED=no'
4596 fi
4597 cache=yes
4598
4599 else
4600
4601 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4604 cache=yes
4605 else
4606 cache=no
4607 fi
4608
4609 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4610
4611 fi
4612
4613
4614 eval "$wx_cv_use_shared"
4615 if test "x$cache" = xyes; then
4616 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4617 fi
4618
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_SHARED = yes; then
4621 result=no
4622 else
4623 result=yes
4624 fi
4625 else
4626 result=$wxUSE_SHARED
4627 fi
4628
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4631
4632
4633 enablestring=disable
4634 defaultval=
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4637 defaultval=yes
4638 else
4639 defaultval=no
4640 fi
4641 fi
4642
4643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4645 # Check whether --enable-optimise was given.
4646 if test "${enable_optimise+set}" = set; then
4647 enableval=$enable_optimise;
4648 if test "$enableval" = yes; then
4649 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4650 else
4651 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4652 fi
4653 cache=yes
4654
4655 else
4656
4657 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x ; then
4659 eval "DEFAULT_$LINE"
4660 cache=yes
4661 else
4662 cache=no
4663 fi
4664
4665 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4666
4667 fi
4668
4669
4670 eval "$wx_cv_use_optimise"
4671 if test "x$cache" = xyes; then
4672 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4673 fi
4674
4675 if test x"$enablestring" = xdisable; then
4676 if test $wxUSE_OPTIMISE = yes; then
4677 result=no
4678 else
4679 result=yes
4680 fi
4681 else
4682 result=$wxUSE_OPTIMISE
4683 fi
4684
4685 { echo "$as_me:$LINENO: result: $result" >&5
4686 echo "${ECHO_T}$result" >&6; }
4687
4688
4689 enablestring=
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4701 # Check whether --enable-debug was given.
4702 if test "${enable_debug+set}" = set; then
4703 enableval=$enable_debug;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_debug='wxUSE_DEBUG=yes'
4706 else
4707 wx_cv_use_debug='wxUSE_DEBUG=no'
4708 fi
4709 cache=yes
4710
4711 else
4712
4713 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x ; then
4715 eval "DEFAULT_$LINE"
4716 cache=yes
4717 else
4718 cache=no
4719 fi
4720
4721 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4722
4723 fi
4724
4725
4726 eval "$wx_cv_use_debug"
4727 if test "x$cache" = xyes; then
4728 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4729 fi
4730
4731 if test x"$enablestring" = xdisable; then
4732 if test $wxUSE_DEBUG = yes; then
4733 result=no
4734 else
4735 result=yes
4736 fi
4737 else
4738 result=$wxUSE_DEBUG
4739 fi
4740
4741 { echo "$as_me:$LINENO: result: $result" >&5
4742 echo "${ECHO_T}$result" >&6; }
4743
4744
4745 enablestring=
4746 defaultval=
4747 if test -z "$defaultval"; then
4748 if test x"$enablestring" = xdisable; then
4749 defaultval=yes
4750 else
4751 defaultval=no
4752 fi
4753 fi
4754
4755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4756 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4757 # Check whether --enable-stl was given.
4758 if test "${enable_stl+set}" = set; then
4759 enableval=$enable_stl;
4760 if test "$enableval" = yes; then
4761 wx_cv_use_stl='wxUSE_STL=yes'
4762 else
4763 wx_cv_use_stl='wxUSE_STL=no'
4764 fi
4765 cache=yes
4766
4767 else
4768
4769 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x ; then
4771 eval "DEFAULT_$LINE"
4772 cache=yes
4773 else
4774 cache=no
4775 fi
4776
4777 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4778
4779 fi
4780
4781
4782 eval "$wx_cv_use_stl"
4783 if test "x$cache" = xyes; then
4784 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4785 fi
4786
4787 if test x"$enablestring" = xdisable; then
4788 if test $wxUSE_STL = yes; then
4789 result=no
4790 else
4791 result=yes
4792 fi
4793 else
4794 result=$wxUSE_STL
4795 fi
4796
4797 { echo "$as_me:$LINENO: result: $result" >&5
4798 echo "${ECHO_T}$result" >&6; }
4799
4800
4801 enablestring=
4802 defaultval=
4803 if test -z "$defaultval"; then
4804 if test x"$enablestring" = xdisable; then
4805 defaultval=yes
4806 else
4807 defaultval=no
4808 fi
4809 fi
4810
4811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4812 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4813 # Check whether --enable-std_iostreams was given.
4814 if test "${enable_std_iostreams+set}" = set; then
4815 enableval=$enable_std_iostreams;
4816 if test "$enableval" = yes; then
4817 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4818 else
4819 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4820 fi
4821 cache=yes
4822
4823 else
4824
4825 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4826 if test "x$LINE" != x ; then
4827 eval "DEFAULT_$LINE"
4828 cache=yes
4829 else
4830 cache=no
4831 fi
4832
4833 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4834
4835 fi
4836
4837
4838 eval "$wx_cv_use_std_iostreams"
4839 if test "x$cache" = xyes; then
4840 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4841 fi
4842
4843 if test x"$enablestring" = xdisable; then
4844 if test $wxUSE_STD_IOSTREAM = yes; then
4845 result=no
4846 else
4847 result=yes
4848 fi
4849 else
4850 result=$wxUSE_STD_IOSTREAM
4851 fi
4852
4853 { echo "$as_me:$LINENO: result: $result" >&5
4854 echo "${ECHO_T}$result" >&6; }
4855
4856
4857 enablestring=
4858 defaultval=
4859 if test -z "$defaultval"; then
4860 if test x"$enablestring" = xdisable; then
4861 defaultval=yes
4862 else
4863 defaultval=no
4864 fi
4865 fi
4866
4867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4869 # Check whether --enable-std_string was given.
4870 if test "${enable_std_string+set}" = set; then
4871 enableval=$enable_std_string;
4872 if test "$enableval" = yes; then
4873 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4874 else
4875 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4876 fi
4877 cache=yes
4878
4879 else
4880
4881 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x ; then
4883 eval "DEFAULT_$LINE"
4884 cache=yes
4885 else
4886 cache=no
4887 fi
4888
4889 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4890
4891 fi
4892
4893
4894 eval "$wx_cv_use_std_string"
4895 if test "x$cache" = xyes; then
4896 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4897 fi
4898
4899 if test x"$enablestring" = xdisable; then
4900 if test $wxUSE_STD_STRING = yes; then
4901 result=no
4902 else
4903 result=yes
4904 fi
4905 else
4906 result=$wxUSE_STD_STRING
4907 fi
4908
4909 { echo "$as_me:$LINENO: result: $result" >&5
4910 echo "${ECHO_T}$result" >&6; }
4911
4912
4913 enablestring=disable
4914 defaultval=
4915 if test -z "$defaultval"; then
4916 if test x"$enablestring" = xdisable; then
4917 defaultval=yes
4918 else
4919 defaultval=no
4920 fi
4921 fi
4922
4923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4925 # Check whether --enable-unicode was given.
4926 if test "${enable_unicode+set}" = set; then
4927 enableval=$enable_unicode;
4928 if test "$enableval" = yes; then
4929 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4930 else
4931 wx_cv_use_unicode='wxUSE_UNICODE=no'
4932 fi
4933 cache=yes
4934
4935 else
4936
4937 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x ; then
4939 eval "DEFAULT_$LINE"
4940 cache=yes
4941 else
4942 cache=no
4943 fi
4944
4945 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4946
4947 fi
4948
4949
4950 eval "$wx_cv_use_unicode"
4951 if test "x$cache" = xyes; then
4952 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test x"$enablestring" = xdisable; then
4956 if test $wxUSE_UNICODE = yes; then
4957 result=no
4958 else
4959 result=yes
4960 fi
4961 else
4962 result=$wxUSE_UNICODE
4963 fi
4964
4965 { echo "$as_me:$LINENO: result: $result" >&5
4966 echo "${ECHO_T}$result" >&6; }
4967
4968
4969 enablestring=
4970 defaultval=
4971 if test -z "$defaultval"; then
4972 if test x"$enablestring" = xdisable; then
4973 defaultval=yes
4974 else
4975 defaultval=no
4976 fi
4977 fi
4978
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4981 # Check whether --enable-mslu was given.
4982 if test "${enable_mslu+set}" = set; then
4983 enableval=$enable_mslu;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4986 else
4987 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4988 fi
4989 cache=yes
4990
4991 else
4992
4993 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x ; then
4995 eval "DEFAULT_$LINE"
4996 cache=yes
4997 else
4998 cache=no
4999 fi
5000
5001 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5002
5003 fi
5004
5005
5006 eval "$wx_cv_use_mslu"
5007 if test "x$cache" = xyes; then
5008 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5009 fi
5010
5011 if test x"$enablestring" = xdisable; then
5012 if test $wxUSE_UNICODE_MSLU = yes; then
5013 result=no
5014 else
5015 result=yes
5016 fi
5017 else
5018 result=$wxUSE_UNICODE_MSLU
5019 fi
5020
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5023
5024
5025 enablestring=
5026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5027 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5028 # Check whether --enable-utf8 was given.
5029 if test "${enable_utf8+set}" = set; then
5030 enableval=$enable_utf8;
5031 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5032 cache=yes
5033
5034 else
5035
5036 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x ; then
5038 eval "DEFAULT_$LINE"
5039 cache=yes
5040 else
5041 cache=no
5042 fi
5043
5044 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5045
5046 fi
5047
5048
5049 eval "$wx_cv_use_utf8"
5050 if test "x$cache" = xyes; then
5051 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5052 fi
5053
5054 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5055 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5056
5057
5058 enablestring=
5059 defaultval=
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5062 defaultval=yes
5063 else
5064 defaultval=no
5065 fi
5066 fi
5067
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5070 # Check whether --enable-utf8only was given.
5071 if test "${enable_utf8only+set}" = set; then
5072 enableval=$enable_utf8only;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5075 else
5076 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5077 fi
5078 cache=yes
5079
5080 else
5081
5082 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5083 if test "x$LINE" != x ; then
5084 eval "DEFAULT_$LINE"
5085 cache=yes
5086 else
5087 cache=no
5088 fi
5089
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5091
5092 fi
5093
5094
5095 eval "$wx_cv_use_utf8only"
5096 if test "x$cache" = xyes; then
5097 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5098 fi
5099
5100 if test x"$enablestring" = xdisable; then
5101 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5102 result=no
5103 else
5104 result=yes
5105 fi
5106 else
5107 result=$wxUSE_UNICODE_UTF8_LOCALE
5108 fi
5109
5110 { echo "$as_me:$LINENO: result: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5112
5113
5114 enablestring=
5115 defaultval=
5116 if test -z "$defaultval"; then
5117 if test x"$enablestring" = xdisable; then
5118 defaultval=yes
5119 else
5120 defaultval=no
5121 fi
5122 fi
5123
5124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5126 # Check whether --enable-extended_rtti was given.
5127 if test "${enable_extended_rtti+set}" = set; then
5128 enableval=$enable_extended_rtti;
5129 if test "$enableval" = yes; then
5130 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5131 else
5132 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5133 fi
5134 cache=yes
5135
5136 else
5137
5138 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x ; then
5140 eval "DEFAULT_$LINE"
5141 cache=yes
5142 else
5143 cache=no
5144 fi
5145
5146 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5147
5148 fi
5149
5150
5151 eval "$wx_cv_use_extended_rtti"
5152 if test "x$cache" = xyes; then
5153 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5154 fi
5155
5156 if test x"$enablestring" = xdisable; then
5157 if test $wxUSE_EXTENDED_RTTI = yes; then
5158 result=no
5159 else
5160 result=yes
5161 fi
5162 else
5163 result=$wxUSE_EXTENDED_RTTI
5164 fi
5165
5166 { echo "$as_me:$LINENO: result: $result" >&5
5167 echo "${ECHO_T}$result" >&6; }
5168
5169 if test "$USE_OS2" = "1"; then
5170 DEFAULT_wxUSE_OMF=no
5171
5172 enablestring=
5173 defaultval=
5174 if test -z "$defaultval"; then
5175 if test x"$enablestring" = xdisable; then
5176 defaultval=yes
5177 else
5178 defaultval=no
5179 fi
5180 fi
5181
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5184 # Check whether --enable-omf was given.
5185 if test "${enable_omf+set}" = set; then
5186 enableval=$enable_omf;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_omf='wxUSE_OMF=yes'
5189 else
5190 wx_cv_use_omf='wxUSE_OMF=no'
5191 fi
5192 cache=yes
5193
5194 else
5195
5196 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5199 cache=yes
5200 else
5201 cache=no
5202 fi
5203
5204 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5205
5206 fi
5207
5208
5209 eval "$wx_cv_use_omf"
5210 if test "x$cache" = xyes; then
5211 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5212 fi
5213
5214 if test x"$enablestring" = xdisable; then
5215 if test $wxUSE_OMF = yes; then
5216 result=no
5217 else
5218 result=yes
5219 fi
5220 else
5221 result=$wxUSE_OMF
5222 fi
5223
5224 { echo "$as_me:$LINENO: result: $result" >&5
5225 echo "${ECHO_T}$result" >&6; }
5226
5227 fi
5228
5229 if test "$wxUSE_DEBUG" = "yes"; then
5230 DEFAULT_wxUSE_DEBUG_FLAG=yes
5231 DEFAULT_wxUSE_DEBUG_INFO=yes
5232 BUILD=debug
5233 elif test "$wxUSE_DEBUG" = "no"; then
5234 DEFAULT_wxUSE_DEBUG_FLAG=no
5235 DEFAULT_wxUSE_DEBUG_INFO=no
5236 BUILD=release
5237 fi
5238
5239
5240 enablestring=
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5252 # Check whether --enable-debug_flag was given.
5253 if test "${enable_debug_flag+set}" = set; then
5254 enableval=$enable_debug_flag;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5257 else
5258 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5259 fi
5260 cache=yes
5261
5262 else
5263
5264 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x ; then
5266 eval "DEFAULT_$LINE"
5267 cache=yes
5268 else
5269 cache=no
5270 fi
5271
5272 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5273
5274 fi
5275
5276
5277 eval "$wx_cv_use_debug_flag"
5278 if test "x$cache" = xyes; then
5279 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5280 fi
5281
5282 if test x"$enablestring" = xdisable; then
5283 if test $wxUSE_DEBUG_FLAG = yes; then
5284 result=no
5285 else
5286 result=yes
5287 fi
5288 else
5289 result=$wxUSE_DEBUG_FLAG
5290 fi
5291
5292 { echo "$as_me:$LINENO: result: $result" >&5
5293 echo "${ECHO_T}$result" >&6; }
5294
5295
5296 enablestring=
5297 defaultval=
5298 if test -z "$defaultval"; then
5299 if test x"$enablestring" = xdisable; then
5300 defaultval=yes
5301 else
5302 defaultval=no
5303 fi
5304 fi
5305
5306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5308 # Check whether --enable-debug_info was given.
5309 if test "${enable_debug_info+set}" = set; then
5310 enableval=$enable_debug_info;
5311 if test "$enableval" = yes; then
5312 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5313 else
5314 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5315 fi
5316 cache=yes
5317
5318 else
5319
5320 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x ; then
5322 eval "DEFAULT_$LINE"
5323 cache=yes
5324 else
5325 cache=no
5326 fi
5327
5328 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5329
5330 fi
5331
5332
5333 eval "$wx_cv_use_debug_info"
5334 if test "x$cache" = xyes; then
5335 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5336 fi
5337
5338 if test x"$enablestring" = xdisable; then
5339 if test $wxUSE_DEBUG_INFO = yes; then
5340 result=no
5341 else
5342 result=yes
5343 fi
5344 else
5345 result=$wxUSE_DEBUG_INFO
5346 fi
5347
5348 { echo "$as_me:$LINENO: result: $result" >&5
5349 echo "${ECHO_T}$result" >&6; }
5350
5351
5352 enablestring=
5353 defaultval=
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5356 defaultval=yes
5357 else
5358 defaultval=no
5359 fi
5360 fi
5361
5362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5363 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5364 # Check whether --enable-debug_gdb was given.
5365 if test "${enable_debug_gdb+set}" = set; then
5366 enableval=$enable_debug_gdb;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5369 else
5370 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5371 fi
5372 cache=yes
5373
5374 else
5375
5376 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5379 cache=yes
5380 else
5381 cache=no
5382 fi
5383
5384 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5385
5386 fi
5387
5388
5389 eval "$wx_cv_use_debug_gdb"
5390 if test "x$cache" = xyes; then
5391 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5392 fi
5393
5394 if test x"$enablestring" = xdisable; then
5395 if test $wxUSE_DEBUG_GDB = yes; then
5396 result=no
5397 else
5398 result=yes
5399 fi
5400 else
5401 result=$wxUSE_DEBUG_GDB
5402 fi
5403
5404 { echo "$as_me:$LINENO: result: $result" >&5
5405 echo "${ECHO_T}$result" >&6; }
5406
5407
5408 enablestring=
5409 defaultval=
5410 if test -z "$defaultval"; then
5411 if test x"$enablestring" = xdisable; then
5412 defaultval=yes
5413 else
5414 defaultval=no
5415 fi
5416 fi
5417
5418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5419 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5420 # Check whether --enable-debug_cntxt was given.
5421 if test "${enable_debug_cntxt+set}" = set; then
5422 enableval=$enable_debug_cntxt;
5423 if test "$enableval" = yes; then
5424 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5425 else
5426 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5427 fi
5428 cache=yes
5429
5430 else
5431
5432 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x ; then
5434 eval "DEFAULT_$LINE"
5435 cache=yes
5436 else
5437 cache=no
5438 fi
5439
5440 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5441
5442 fi
5443
5444
5445 eval "$wx_cv_use_debug_cntxt"
5446 if test "x$cache" = xyes; then
5447 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test x"$enablestring" = xdisable; then
5451 if test $wxUSE_DEBUG_CONTEXT = yes; then
5452 result=no
5453 else
5454 result=yes
5455 fi
5456 else
5457 result=$wxUSE_DEBUG_CONTEXT
5458 fi
5459
5460 { echo "$as_me:$LINENO: result: $result" >&5
5461 echo "${ECHO_T}$result" >&6; }
5462
5463
5464 enablestring=
5465 defaultval=
5466 if test -z "$defaultval"; then
5467 if test x"$enablestring" = xdisable; then
5468 defaultval=yes
5469 else
5470 defaultval=no
5471 fi
5472 fi
5473
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5476 # Check whether --enable-mem_tracing was given.
5477 if test "${enable_mem_tracing+set}" = set; then
5478 enableval=$enable_mem_tracing;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5481 else
5482 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5483 fi
5484 cache=yes
5485
5486 else
5487
5488 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x ; then
5490 eval "DEFAULT_$LINE"
5491 cache=yes
5492 else
5493 cache=no
5494 fi
5495
5496 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5497
5498 fi
5499
5500
5501 eval "$wx_cv_use_mem_tracing"
5502 if test "x$cache" = xyes; then
5503 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5504 fi
5505
5506 if test x"$enablestring" = xdisable; then
5507 if test $wxUSE_MEM_TRACING = yes; then
5508 result=no
5509 else
5510 result=yes
5511 fi
5512 else
5513 result=$wxUSE_MEM_TRACING
5514 fi
5515
5516 { echo "$as_me:$LINENO: result: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5518
5519
5520 enablestring=
5521 defaultval=
5522 if test -z "$defaultval"; then
5523 if test x"$enablestring" = xdisable; then
5524 defaultval=yes
5525 else
5526 defaultval=no
5527 fi
5528 fi
5529
5530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5531 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5532 # Check whether --enable-profile was given.
5533 if test "${enable_profile+set}" = set; then
5534 enableval=$enable_profile;
5535 if test "$enableval" = yes; then
5536 wx_cv_use_profile='wxUSE_PROFILE=yes'
5537 else
5538 wx_cv_use_profile='wxUSE_PROFILE=no'
5539 fi
5540 cache=yes
5541
5542 else
5543
5544 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x ; then
5546 eval "DEFAULT_$LINE"
5547 cache=yes
5548 else
5549 cache=no
5550 fi
5551
5552 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5553
5554 fi
5555
5556
5557 eval "$wx_cv_use_profile"
5558 if test "x$cache" = xyes; then
5559 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test x"$enablestring" = xdisable; then
5563 if test $wxUSE_PROFILE = yes; then
5564 result=no
5565 else
5566 result=yes
5567 fi
5568 else
5569 result=$wxUSE_PROFILE
5570 fi
5571
5572 { echo "$as_me:$LINENO: result: $result" >&5
5573 echo "${ECHO_T}$result" >&6; }
5574
5575
5576 enablestring=
5577 defaultval=
5578 if test -z "$defaultval"; then
5579 if test x"$enablestring" = xdisable; then
5580 defaultval=yes
5581 else
5582 defaultval=no
5583 fi
5584 fi
5585
5586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5587 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5588 # Check whether --enable-no_rtti was given.
5589 if test "${enable_no_rtti+set}" = set; then
5590 enableval=$enable_no_rtti;
5591 if test "$enableval" = yes; then
5592 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5593 else
5594 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5595 fi
5596 cache=yes
5597
5598 else
5599
5600 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5603 cache=yes
5604 else
5605 cache=no
5606 fi
5607
5608 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5609
5610 fi
5611
5612
5613 eval "$wx_cv_use_no_rtti"
5614 if test "x$cache" = xyes; then
5615 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5616 fi
5617
5618 if test x"$enablestring" = xdisable; then
5619 if test $wxUSE_NO_RTTI = yes; then
5620 result=no
5621 else
5622 result=yes
5623 fi
5624 else
5625 result=$wxUSE_NO_RTTI
5626 fi
5627
5628 { echo "$as_me:$LINENO: result: $result" >&5
5629 echo "${ECHO_T}$result" >&6; }
5630
5631
5632 enablestring=
5633 defaultval=
5634 if test -z "$defaultval"; then
5635 if test x"$enablestring" = xdisable; then
5636 defaultval=yes
5637 else
5638 defaultval=no
5639 fi
5640 fi
5641
5642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5644 # Check whether --enable-no_exceptions was given.
5645 if test "${enable_no_exceptions+set}" = set; then
5646 enableval=$enable_no_exceptions;
5647 if test "$enableval" = yes; then
5648 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5649 else
5650 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5651 fi
5652 cache=yes
5653
5654 else
5655
5656 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5657 if test "x$LINE" != x ; then
5658 eval "DEFAULT_$LINE"
5659 cache=yes
5660 else
5661 cache=no
5662 fi
5663
5664 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5665
5666 fi
5667
5668
5669 eval "$wx_cv_use_no_exceptions"
5670 if test "x$cache" = xyes; then
5671 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5672 fi
5673
5674 if test x"$enablestring" = xdisable; then
5675 if test $wxUSE_NO_EXCEPTIONS = yes; then
5676 result=no
5677 else
5678 result=yes
5679 fi
5680 else
5681 result=$wxUSE_NO_EXCEPTIONS
5682 fi
5683
5684 { echo "$as_me:$LINENO: result: $result" >&5
5685 echo "${ECHO_T}$result" >&6; }
5686
5687
5688 enablestring=
5689 defaultval=
5690 if test -z "$defaultval"; then
5691 if test x"$enablestring" = xdisable; then
5692 defaultval=yes
5693 else
5694 defaultval=no
5695 fi
5696 fi
5697
5698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5700 # Check whether --enable-permissive was given.
5701 if test "${enable_permissive+set}" = set; then
5702 enableval=$enable_permissive;
5703 if test "$enableval" = yes; then
5704 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5705 else
5706 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5707 fi
5708 cache=yes
5709
5710 else
5711
5712 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5713 if test "x$LINE" != x ; then
5714 eval "DEFAULT_$LINE"
5715 cache=yes
5716 else
5717 cache=no
5718 fi
5719
5720 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5721
5722 fi
5723
5724
5725 eval "$wx_cv_use_permissive"
5726 if test "x$cache" = xyes; then
5727 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5728 fi
5729
5730 if test x"$enablestring" = xdisable; then
5731 if test $wxUSE_PERMISSIVE = yes; then
5732 result=no
5733 else
5734 result=yes
5735 fi
5736 else
5737 result=$wxUSE_PERMISSIVE
5738 fi
5739
5740 { echo "$as_me:$LINENO: result: $result" >&5
5741 echo "${ECHO_T}$result" >&6; }
5742
5743
5744 enablestring=
5745 defaultval=
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5748 defaultval=yes
5749 else
5750 defaultval=no
5751 fi
5752 fi
5753
5754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5756 # Check whether --enable-no_deps was given.
5757 if test "${enable_no_deps+set}" = set; then
5758 enableval=$enable_no_deps;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5761 else
5762 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5763 fi
5764 cache=yes
5765
5766 else
5767
5768 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x ; then
5770 eval "DEFAULT_$LINE"
5771 cache=yes
5772 else
5773 cache=no
5774 fi
5775
5776 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5777
5778 fi
5779
5780
5781 eval "$wx_cv_use_no_deps"
5782 if test "x$cache" = xyes; then
5783 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5784 fi
5785
5786 if test x"$enablestring" = xdisable; then
5787 if test $wxUSE_NO_DEPS = yes; then
5788 result=no
5789 else
5790 result=yes
5791 fi
5792 else
5793 result=$wxUSE_NO_DEPS
5794 fi
5795
5796 { echo "$as_me:$LINENO: result: $result" >&5
5797 echo "${ECHO_T}$result" >&6; }
5798
5799
5800 enablestring=disable
5801 defaultval=
5802 if test -z "$defaultval"; then
5803 if test x"$enablestring" = xdisable; then
5804 defaultval=yes
5805 else
5806 defaultval=no
5807 fi
5808 fi
5809
5810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5812 # Check whether --enable-vararg_macros was given.
5813 if test "${enable_vararg_macros+set}" = set; then
5814 enableval=$enable_vararg_macros;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5817 else
5818 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5819 fi
5820 cache=yes
5821
5822 else
5823
5824 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x ; then
5826 eval "DEFAULT_$LINE"
5827 cache=yes
5828 else
5829 cache=no
5830 fi
5831
5832 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5833
5834 fi
5835
5836
5837 eval "$wx_cv_use_vararg_macros"
5838 if test "x$cache" = xyes; then
5839 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5840 fi
5841
5842 if test x"$enablestring" = xdisable; then
5843 if test $wxUSE_VARARG_MACROS = yes; then
5844 result=no
5845 else
5846 result=yes
5847 fi
5848 else
5849 result=$wxUSE_VARARG_MACROS
5850 fi
5851
5852 { echo "$as_me:$LINENO: result: $result" >&5
5853 echo "${ECHO_T}$result" >&6; }
5854
5855
5856 enablestring=
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5859 # Check whether --enable-universal_binary was given.
5860 if test "${enable_universal_binary+set}" = set; then
5861 enableval=$enable_universal_binary;
5862 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5863 cache=yes
5864
5865 else
5866
5867 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5868 if test "x$LINE" != x ; then
5869 eval "DEFAULT_$LINE"
5870 cache=yes
5871 else
5872 cache=no
5873 fi
5874
5875 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5876
5877 fi
5878
5879
5880 eval "$wx_cv_use_universal_binary"
5881 if test "x$cache" = xyes; then
5882 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5886 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5887
5888
5889
5890 enablestring=
5891 defaultval=
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5894 defaultval=yes
5895 else
5896 defaultval=no
5897 fi
5898 fi
5899
5900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5902 # Check whether --enable-compat26 was given.
5903 if test "${enable_compat26+set}" = set; then
5904 enableval=$enable_compat26;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5907 else
5908 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5909 fi
5910 cache=yes
5911
5912 else
5913
5914 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5917 cache=yes
5918 else
5919 cache=no
5920 fi
5921
5922 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5923
5924 fi
5925
5926
5927 eval "$wx_cv_use_compat26"
5928 if test "x$cache" = xyes; then
5929 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5930 fi
5931
5932 if test x"$enablestring" = xdisable; then
5933 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5934 result=no
5935 else
5936 result=yes
5937 fi
5938 else
5939 result=$WXWIN_COMPATIBILITY_2_6
5940 fi
5941
5942 { echo "$as_me:$LINENO: result: $result" >&5
5943 echo "${ECHO_T}$result" >&6; }
5944
5945
5946 enablestring=disable
5947 defaultval=
5948 if test -z "$defaultval"; then
5949 if test x"$enablestring" = xdisable; then
5950 defaultval=yes
5951 else
5952 defaultval=no
5953 fi
5954 fi
5955
5956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5957 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5958 # Check whether --enable-compat28 was given.
5959 if test "${enable_compat28+set}" = set; then
5960 enableval=$enable_compat28;
5961 if test "$enableval" = yes; then
5962 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5963 else
5964 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5965 fi
5966 cache=yes
5967
5968 else
5969
5970 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5971 if test "x$LINE" != x ; then
5972 eval "DEFAULT_$LINE"
5973 cache=yes
5974 else
5975 cache=no
5976 fi
5977
5978 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5979
5980 fi
5981
5982
5983 eval "$wx_cv_use_compat28"
5984 if test "x$cache" = xyes; then
5985 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5986 fi
5987
5988 if test x"$enablestring" = xdisable; then
5989 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5990 result=no
5991 else
5992 result=yes
5993 fi
5994 else
5995 result=$WXWIN_COMPATIBILITY_2_8
5996 fi
5997
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6000
6001
6002
6003 enablestring=disable
6004 defaultval=
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6007 defaultval=yes
6008 else
6009 defaultval=no
6010 fi
6011 fi
6012
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6015 # Check whether --enable-rpath was given.
6016 if test "${enable_rpath+set}" = set; then
6017 enableval=$enable_rpath;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_rpath='wxUSE_RPATH=yes'
6020 else
6021 wx_cv_use_rpath='wxUSE_RPATH=no'
6022 fi
6023 cache=yes
6024
6025 else
6026
6027 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x ; then
6029 eval "DEFAULT_$LINE"
6030 cache=yes
6031 else
6032 cache=no
6033 fi
6034
6035 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6036
6037 fi
6038
6039
6040 eval "$wx_cv_use_rpath"
6041 if test "x$cache" = xyes; then
6042 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6043 fi
6044
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_RPATH = yes; then
6047 result=no
6048 else
6049 result=yes
6050 fi
6051 else
6052 result=$wxUSE_RPATH
6053 fi
6054
6055 { echo "$as_me:$LINENO: result: $result" >&5
6056 echo "${ECHO_T}$result" >&6; }
6057
6058
6059
6060 enablestring=
6061 defaultval=
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6064 defaultval=yes
6065 else
6066 defaultval=no
6067 fi
6068 fi
6069
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6072 # Check whether --enable-objc_uniquifying was given.
6073 if test "${enable_objc_uniquifying+set}" = set; then
6074 enableval=$enable_objc_uniquifying;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6077 else
6078 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6079 fi
6080 cache=yes
6081
6082 else
6083
6084 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x ; then
6086 eval "DEFAULT_$LINE"
6087 cache=yes
6088 else
6089 cache=no
6090 fi
6091
6092 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6093
6094 fi
6095
6096
6097 eval "$wx_cv_use_objc_uniquifying"
6098 if test "x$cache" = xyes; then
6099 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6100 fi
6101
6102 if test x"$enablestring" = xdisable; then
6103 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6104 result=no
6105 else
6106 result=yes
6107 fi
6108 else
6109 result=$wxUSE_OBJC_UNIQUIFYING
6110 fi
6111
6112 { echo "$as_me:$LINENO: result: $result" >&5
6113 echo "${ECHO_T}$result" >&6; }
6114
6115
6116
6117 enablestring=disable
6118 defaultval=
6119 if test -z "$defaultval"; then
6120 if test x"$enablestring" = xdisable; then
6121 defaultval=yes
6122 else
6123 defaultval=no
6124 fi
6125 fi
6126
6127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6129 # Check whether --enable-visibility was given.
6130 if test "${enable_visibility+set}" = set; then
6131 enableval=$enable_visibility;
6132 if test "$enableval" = yes; then
6133 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6134 else
6135 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6136 fi
6137 cache=yes
6138
6139 else
6140
6141 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x ; then
6143 eval "DEFAULT_$LINE"
6144 cache=yes
6145 else
6146 cache=no
6147 fi
6148
6149 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6150
6151 fi
6152
6153
6154 eval "$wx_cv_use_visibility"
6155 if test "x$cache" = xyes; then
6156 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6157 fi
6158
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_VISIBILITY = yes; then
6161 result=no
6162 else
6163 result=yes
6164 fi
6165 else
6166 result=$wxUSE_VISIBILITY
6167 fi
6168
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6171
6172
6173
6174
6175 enablestring=
6176 defaultval=$wxUSE_ALL_FEATURES
6177 if test -z "$defaultval"; then
6178 if test x"$enablestring" = xdisable; then
6179 defaultval=yes
6180 else
6181 defaultval=no
6182 fi
6183 fi
6184
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6187 # Check whether --enable-intl was given.
6188 if test "${enable_intl+set}" = set; then
6189 enableval=$enable_intl;
6190 if test "$enableval" = yes; then
6191 wx_cv_use_intl='wxUSE_INTL=yes'
6192 else
6193 wx_cv_use_intl='wxUSE_INTL=no'
6194 fi
6195 cache=yes
6196
6197 else
6198
6199 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 cache=yes
6203 else
6204 cache=no
6205 fi
6206
6207 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6208
6209 fi
6210
6211
6212 eval "$wx_cv_use_intl"
6213 if test "x$cache" = xyes; then
6214 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6215 fi
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_INTL = yes; then
6219 result=no
6220 else
6221 result=yes
6222 fi
6223 else
6224 result=$wxUSE_INTL
6225 fi
6226
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6243 # Check whether --enable-config was given.
6244 if test "${enable_config+set}" = set; then
6245 enableval=$enable_config;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_config='wxUSE_CONFIG=yes'
6248 else
6249 wx_cv_use_config='wxUSE_CONFIG=no'
6250 fi
6251 cache=yes
6252
6253 else
6254
6255 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6258 cache=yes
6259 else
6260 cache=no
6261 fi
6262
6263 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6264
6265 fi
6266
6267
6268 eval "$wx_cv_use_config"
6269 if test "x$cache" = xyes; then
6270 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6271 fi
6272
6273 if test x"$enablestring" = xdisable; then
6274 if test $wxUSE_CONFIG = yes; then
6275 result=no
6276 else
6277 result=yes
6278 fi
6279 else
6280 result=$wxUSE_CONFIG
6281 fi
6282
6283 { echo "$as_me:$LINENO: result: $result" >&5
6284 echo "${ECHO_T}$result" >&6; }
6285
6286
6287
6288 enablestring=
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6292 defaultval=yes
6293 else
6294 defaultval=no
6295 fi
6296 fi
6297
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6300 # Check whether --enable-protocols was given.
6301 if test "${enable_protocols+set}" = set; then
6302 enableval=$enable_protocols;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6305 else
6306 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6307 fi
6308 cache=yes
6309
6310 else
6311
6312 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6315 cache=yes
6316 else
6317 cache=no
6318 fi
6319
6320 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6321
6322 fi
6323
6324
6325 eval "$wx_cv_use_protocols"
6326 if test "x$cache" = xyes; then
6327 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test x"$enablestring" = xdisable; then
6331 if test $wxUSE_PROTOCOL = yes; then
6332 result=no
6333 else
6334 result=yes
6335 fi
6336 else
6337 result=$wxUSE_PROTOCOL
6338 fi
6339
6340 { echo "$as_me:$LINENO: result: $result" >&5
6341 echo "${ECHO_T}$result" >&6; }
6342
6343
6344 enablestring=
6345 defaultval=$wxUSE_ALL_FEATURES
6346 if test -z "$defaultval"; then
6347 if test x"$enablestring" = xdisable; then
6348 defaultval=yes
6349 else
6350 defaultval=no
6351 fi
6352 fi
6353
6354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6356 # Check whether --enable-ftp was given.
6357 if test "${enable_ftp+set}" = set; then
6358 enableval=$enable_ftp;
6359 if test "$enableval" = yes; then
6360 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6361 else
6362 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6363 fi
6364 cache=yes
6365
6366 else
6367
6368 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 cache=yes
6372 else
6373 cache=no
6374 fi
6375
6376 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6377
6378 fi
6379
6380
6381 eval "$wx_cv_use_ftp"
6382 if test "x$cache" = xyes; then
6383 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6384 fi
6385
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_PROTOCOL_FTP = yes; then
6388 result=no
6389 else
6390 result=yes
6391 fi
6392 else
6393 result=$wxUSE_PROTOCOL_FTP
6394 fi
6395
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6398
6399
6400 enablestring=
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6404 defaultval=yes
6405 else
6406 defaultval=no
6407 fi
6408 fi
6409
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6412 # Check whether --enable-http was given.
6413 if test "${enable_http+set}" = set; then
6414 enableval=$enable_http;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6417 else
6418 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6419 fi
6420 cache=yes
6421
6422 else
6423
6424 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6427 cache=yes
6428 else
6429 cache=no
6430 fi
6431
6432 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_http"
6438 if test "x$cache" = xyes; then
6439 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6440 fi
6441
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_PROTOCOL_HTTP = yes; then
6444 result=no
6445 else
6446 result=yes
6447 fi
6448 else
6449 result=$wxUSE_PROTOCOL_HTTP
6450 fi
6451
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6454
6455
6456 enablestring=
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6460 defaultval=yes
6461 else
6462 defaultval=no
6463 fi
6464 fi
6465
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6468 # Check whether --enable-fileproto was given.
6469 if test "${enable_fileproto+set}" = set; then
6470 enableval=$enable_fileproto;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6473 else
6474 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6475 fi
6476 cache=yes
6477
6478 else
6479
6480 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x ; then
6482 eval "DEFAULT_$LINE"
6483 cache=yes
6484 else
6485 cache=no
6486 fi
6487
6488 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6489
6490 fi
6491
6492
6493 eval "$wx_cv_use_fileproto"
6494 if test "x$cache" = xyes; then
6495 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6496 fi
6497
6498 if test x"$enablestring" = xdisable; then
6499 if test $wxUSE_PROTOCOL_FILE = yes; then
6500 result=no
6501 else
6502 result=yes
6503 fi
6504 else
6505 result=$wxUSE_PROTOCOL_FILE
6506 fi
6507
6508 { echo "$as_me:$LINENO: result: $result" >&5
6509 echo "${ECHO_T}$result" >&6; }
6510
6511
6512 enablestring=
6513 defaultval=$wxUSE_ALL_FEATURES
6514 if test -z "$defaultval"; then
6515 if test x"$enablestring" = xdisable; then
6516 defaultval=yes
6517 else
6518 defaultval=no
6519 fi
6520 fi
6521
6522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6524 # Check whether --enable-sockets was given.
6525 if test "${enable_sockets+set}" = set; then
6526 enableval=$enable_sockets;
6527 if test "$enableval" = yes; then
6528 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6529 else
6530 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6531 fi
6532 cache=yes
6533
6534 else
6535
6536 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x ; then
6538 eval "DEFAULT_$LINE"
6539 cache=yes
6540 else
6541 cache=no
6542 fi
6543
6544 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6545
6546 fi
6547
6548
6549 eval "$wx_cv_use_sockets"
6550 if test "x$cache" = xyes; then
6551 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6552 fi
6553
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_SOCKETS = yes; then
6556 result=no
6557 else
6558 result=yes
6559 fi
6560 else
6561 result=$wxUSE_SOCKETS
6562 fi
6563
6564 { echo "$as_me:$LINENO: result: $result" >&5
6565 echo "${ECHO_T}$result" >&6; }
6566
6567
6568 enablestring=
6569 defaultval=$wxUSE_ALL_FEATURES
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6572 defaultval=yes
6573 else
6574 defaultval=no
6575 fi
6576 fi
6577
6578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6580 # Check whether --enable-ole was given.
6581 if test "${enable_ole+set}" = set; then
6582 enableval=$enable_ole;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_ole='wxUSE_OLE=yes'
6585 else
6586 wx_cv_use_ole='wxUSE_OLE=no'
6587 fi
6588 cache=yes
6589
6590 else
6591
6592 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6595 cache=yes
6596 else
6597 cache=no
6598 fi
6599
6600 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6601
6602 fi
6603
6604
6605 eval "$wx_cv_use_ole"
6606 if test "x$cache" = xyes; then
6607 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6608 fi
6609
6610 if test x"$enablestring" = xdisable; then
6611 if test $wxUSE_OLE = yes; then
6612 result=no
6613 else
6614 result=yes
6615 fi
6616 else
6617 result=$wxUSE_OLE
6618 fi
6619
6620 { echo "$as_me:$LINENO: result: $result" >&5
6621 echo "${ECHO_T}$result" >&6; }
6622
6623
6624 enablestring=
6625 defaultval=$wxUSE_ALL_FEATURES
6626 if test -z "$defaultval"; then
6627 if test x"$enablestring" = xdisable; then
6628 defaultval=yes
6629 else
6630 defaultval=no
6631 fi
6632 fi
6633
6634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6636 # Check whether --enable-dataobj was given.
6637 if test "${enable_dataobj+set}" = set; then
6638 enableval=$enable_dataobj;
6639 if test "$enableval" = yes; then
6640 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6641 else
6642 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6643 fi
6644 cache=yes
6645
6646 else
6647
6648 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 cache=yes
6652 else
6653 cache=no
6654 fi
6655
6656 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6657
6658 fi
6659
6660
6661 eval "$wx_cv_use_dataobj"
6662 if test "x$cache" = xyes; then
6663 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6664 fi
6665
6666 if test x"$enablestring" = xdisable; then
6667 if test $wxUSE_DATAOBJ = yes; then
6668 result=no
6669 else
6670 result=yes
6671 fi
6672 else
6673 result=$wxUSE_DATAOBJ
6674 fi
6675
6676 { echo "$as_me:$LINENO: result: $result" >&5
6677 echo "${ECHO_T}$result" >&6; }
6678
6679
6680
6681 enablestring=
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6685 defaultval=yes
6686 else
6687 defaultval=no
6688 fi
6689 fi
6690
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6693 # Check whether --enable-ipc was given.
6694 if test "${enable_ipc+set}" = set; then
6695 enableval=$enable_ipc;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_ipc='wxUSE_IPC=yes'
6698 else
6699 wx_cv_use_ipc='wxUSE_IPC=no'
6700 fi
6701 cache=yes
6702
6703 else
6704
6705 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x ; then
6707 eval "DEFAULT_$LINE"
6708 cache=yes
6709 else
6710 cache=no
6711 fi
6712
6713 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6714
6715 fi
6716
6717
6718 eval "$wx_cv_use_ipc"
6719 if test "x$cache" = xyes; then
6720 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6721 fi
6722
6723 if test x"$enablestring" = xdisable; then
6724 if test $wxUSE_IPC = yes; then
6725 result=no
6726 else
6727 result=yes
6728 fi
6729 else
6730 result=$wxUSE_IPC
6731 fi
6732
6733 { echo "$as_me:$LINENO: result: $result" >&5
6734 echo "${ECHO_T}$result" >&6; }
6735
6736
6737
6738 enablestring=
6739 defaultval=$wxUSE_ALL_FEATURES
6740 if test -z "$defaultval"; then
6741 if test x"$enablestring" = xdisable; then
6742 defaultval=yes
6743 else
6744 defaultval=no
6745 fi
6746 fi
6747
6748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6750 # Check whether --enable-baseevtloop was given.
6751 if test "${enable_baseevtloop+set}" = set; then
6752 enableval=$enable_baseevtloop;
6753 if test "$enableval" = yes; then
6754 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6755 else
6756 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6757 fi
6758 cache=yes
6759
6760 else
6761
6762 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x ; then
6764 eval "DEFAULT_$LINE"
6765 cache=yes
6766 else
6767 cache=no
6768 fi
6769
6770 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6771
6772 fi
6773
6774
6775 eval "$wx_cv_use_baseevtloop"
6776 if test "x$cache" = xyes; then
6777 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6778 fi
6779
6780 if test x"$enablestring" = xdisable; then
6781 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6782 result=no
6783 else
6784 result=yes
6785 fi
6786 else
6787 result=$wxUSE_CONSOLE_EVENTLOOP
6788 fi
6789
6790 { echo "$as_me:$LINENO: result: $result" >&5
6791 echo "${ECHO_T}$result" >&6; }
6792
6793
6794 enablestring=
6795 defaultval=$wxUSE_ALL_FEATURES
6796 if test -z "$defaultval"; then
6797 if test x"$enablestring" = xdisable; then
6798 defaultval=yes
6799 else
6800 defaultval=no
6801 fi
6802 fi
6803
6804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6806 # Check whether --enable-epoolloop was given.
6807 if test "${enable_epoolloop+set}" = set; then
6808 enableval=$enable_epoolloop;
6809 if test "$enableval" = yes; then
6810 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6811 else
6812 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6813 fi
6814 cache=yes
6815
6816 else
6817
6818 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6821 cache=yes
6822 else
6823 cache=no
6824 fi
6825
6826 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6827
6828 fi
6829
6830
6831 eval "$wx_cv_use_epoolloop"
6832 if test "x$cache" = xyes; then
6833 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6834 fi
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6838 result=no
6839 else
6840 result=yes
6841 fi
6842 else
6843 result=$wxUSE_EPOLL_DISPATCHER
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6862 # Check whether --enable-selectloop was given.
6863 if test "${enable_selectloop+set}" = set; then
6864 enableval=$enable_selectloop;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6867 else
6868 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6869 fi
6870 cache=yes
6871
6872 else
6873
6874 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 cache=yes
6878 else
6879 cache=no
6880 fi
6881
6882 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6883
6884 fi
6885
6886
6887 eval "$wx_cv_use_selectloop"
6888 if test "x$cache" = xyes; then
6889 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6890 fi
6891
6892 if test x"$enablestring" = xdisable; then
6893 if test $wxUSE_SELECT_DISPATCHER = yes; then
6894 result=no
6895 else
6896 result=yes
6897 fi
6898 else
6899 result=$wxUSE_SELECT_DISPATCHER
6900 fi
6901
6902 { echo "$as_me:$LINENO: result: $result" >&5
6903 echo "${ECHO_T}$result" >&6; }
6904
6905
6906
6907 enablestring=
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6911 defaultval=yes
6912 else
6913 defaultval=no
6914 fi
6915 fi
6916
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6919 # Check whether --enable-apple_ieee was given.
6920 if test "${enable_apple_ieee+set}" = set; then
6921 enableval=$enable_apple_ieee;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6924 else
6925 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6926 fi
6927 cache=yes
6928
6929 else
6930
6931 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6932 if test "x$LINE" != x ; then
6933 eval "DEFAULT_$LINE"
6934 cache=yes
6935 else
6936 cache=no
6937 fi
6938
6939 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6940
6941 fi
6942
6943
6944 eval "$wx_cv_use_apple_ieee"
6945 if test "x$cache" = xyes; then
6946 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6947 fi
6948
6949 if test x"$enablestring" = xdisable; then
6950 if test $wxUSE_APPLE_IEEE = yes; then
6951 result=no
6952 else
6953 result=yes
6954 fi
6955 else
6956 result=$wxUSE_APPLE_IEEE
6957 fi
6958
6959 { echo "$as_me:$LINENO: result: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6961
6962
6963 enablestring=
6964 defaultval=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6967 defaultval=yes
6968 else
6969 defaultval=no
6970 fi
6971 fi
6972
6973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6975 # Check whether --enable-arcstream was given.
6976 if test "${enable_arcstream+set}" = set; then
6977 enableval=$enable_arcstream;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6980 else
6981 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6982 fi
6983 cache=yes
6984
6985 else
6986
6987 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6988 if test "x$LINE" != x ; then
6989 eval "DEFAULT_$LINE"
6990 cache=yes
6991 else
6992 cache=no
6993 fi
6994
6995 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6996
6997 fi
6998
6999
7000 eval "$wx_cv_use_arcstream"
7001 if test "x$cache" = xyes; then
7002 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test x"$enablestring" = xdisable; then
7006 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7007 result=no
7008 else
7009 result=yes
7010 fi
7011 else
7012 result=$wxUSE_ARCHIVE_STREAMS
7013 fi
7014
7015 { echo "$as_me:$LINENO: result: $result" >&5
7016 echo "${ECHO_T}$result" >&6; }
7017
7018
7019 enablestring=
7020 defaultval=$wxUSE_ALL_FEATURES
7021 if test -z "$defaultval"; then
7022 if test x"$enablestring" = xdisable; then
7023 defaultval=yes
7024 else
7025 defaultval=no
7026 fi
7027 fi
7028
7029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7030 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7031 # Check whether --enable-base64 was given.
7032 if test "${enable_base64+set}" = set; then
7033 enableval=$enable_base64;
7034 if test "$enableval" = yes; then
7035 wx_cv_use_base64='wxUSE_BASE64=yes'
7036 else
7037 wx_cv_use_base64='wxUSE_BASE64=no'
7038 fi
7039 cache=yes
7040
7041 else
7042
7043 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7046 cache=yes
7047 else
7048 cache=no
7049 fi
7050
7051 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7052
7053 fi
7054
7055
7056 eval "$wx_cv_use_base64"
7057 if test "x$cache" = xyes; then
7058 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7059 fi
7060
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_BASE64 = yes; then
7063 result=no
7064 else
7065 result=yes
7066 fi
7067 else
7068 result=$wxUSE_BASE64
7069 fi
7070
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7073
7074
7075 enablestring=
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7079 defaultval=yes
7080 else
7081 defaultval=no
7082 fi
7083 fi
7084
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7087 # Check whether --enable-backtrace was given.
7088 if test "${enable_backtrace+set}" = set; then
7089 enableval=$enable_backtrace;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7092 else
7093 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7094 fi
7095 cache=yes
7096
7097 else
7098
7099 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x ; then
7101 eval "DEFAULT_$LINE"
7102 cache=yes
7103 else
7104 cache=no
7105 fi
7106
7107 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7108
7109 fi
7110
7111
7112 eval "$wx_cv_use_backtrace"
7113 if test "x$cache" = xyes; then
7114 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test x"$enablestring" = xdisable; then
7118 if test $wxUSE_STACKWALKER = yes; then
7119 result=no
7120 else
7121 result=yes
7122 fi
7123 else
7124 result=$wxUSE_STACKWALKER
7125 fi
7126
7127 { echo "$as_me:$LINENO: result: $result" >&5
7128 echo "${ECHO_T}$result" >&6; }
7129
7130
7131 enablestring=
7132 defaultval=$wxUSE_ALL_FEATURES
7133 if test -z "$defaultval"; then
7134 if test x"$enablestring" = xdisable; then
7135 defaultval=yes
7136 else
7137 defaultval=no
7138 fi
7139 fi
7140
7141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7143 # Check whether --enable-catch_segvs was given.
7144 if test "${enable_catch_segvs+set}" = set; then
7145 enableval=$enable_catch_segvs;
7146 if test "$enableval" = yes; then
7147 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7148 else
7149 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7150 fi
7151 cache=yes
7152
7153 else
7154
7155 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 cache=yes
7159 else
7160 cache=no
7161 fi
7162
7163 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7164
7165 fi
7166
7167
7168 eval "$wx_cv_use_catch_segvs"
7169 if test "x$cache" = xyes; then
7170 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7171 fi
7172
7173 if test x"$enablestring" = xdisable; then
7174 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7175 result=no
7176 else
7177 result=yes
7178 fi
7179 else
7180 result=$wxUSE_ON_FATAL_EXCEPTION
7181 fi
7182
7183 { echo "$as_me:$LINENO: result: $result" >&5
7184 echo "${ECHO_T}$result" >&6; }
7185
7186
7187 enablestring=
7188 defaultval=$wxUSE_ALL_FEATURES
7189 if test -z "$defaultval"; then
7190 if test x"$enablestring" = xdisable; then
7191 defaultval=yes
7192 else
7193 defaultval=no
7194 fi
7195 fi
7196
7197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7199 # Check whether --enable-cmdline was given.
7200 if test "${enable_cmdline+set}" = set; then
7201 enableval=$enable_cmdline;
7202 if test "$enableval" = yes; then
7203 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7204 else
7205 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7206 fi
7207 cache=yes
7208
7209 else
7210
7211 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 cache=yes
7215 else
7216 cache=no
7217 fi
7218
7219 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7220
7221 fi
7222
7223
7224 eval "$wx_cv_use_cmdline"
7225 if test "x$cache" = xyes; then
7226 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7227 fi
7228
7229 if test x"$enablestring" = xdisable; then
7230 if test $wxUSE_CMDLINE_PARSER = yes; then
7231 result=no
7232 else
7233 result=yes
7234 fi
7235 else
7236 result=$wxUSE_CMDLINE_PARSER
7237 fi
7238
7239 { echo "$as_me:$LINENO: result: $result" >&5
7240 echo "${ECHO_T}$result" >&6; }
7241
7242
7243 enablestring=
7244 defaultval=$wxUSE_ALL_FEATURES
7245 if test -z "$defaultval"; then
7246 if test x"$enablestring" = xdisable; then
7247 defaultval=yes
7248 else
7249 defaultval=no
7250 fi
7251 fi
7252
7253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7255 # Check whether --enable-datetime was given.
7256 if test "${enable_datetime+set}" = set; then
7257 enableval=$enable_datetime;
7258 if test "$enableval" = yes; then
7259 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7260 else
7261 wx_cv_use_datetime='wxUSE_DATETIME=no'
7262 fi
7263 cache=yes
7264
7265 else
7266
7267 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x ; then
7269 eval "DEFAULT_$LINE"
7270 cache=yes
7271 else
7272 cache=no
7273 fi
7274
7275 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7276
7277 fi
7278
7279
7280 eval "$wx_cv_use_datetime"
7281 if test "x$cache" = xyes; then
7282 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7283 fi
7284
7285 if test x"$enablestring" = xdisable; then
7286 if test $wxUSE_DATETIME = yes; then
7287 result=no
7288 else
7289 result=yes
7290 fi
7291 else
7292 result=$wxUSE_DATETIME
7293 fi
7294
7295 { echo "$as_me:$LINENO: result: $result" >&5
7296 echo "${ECHO_T}$result" >&6; }
7297
7298
7299 enablestring=
7300 defaultval=$wxUSE_ALL_FEATURES
7301 if test -z "$defaultval"; then
7302 if test x"$enablestring" = xdisable; then
7303 defaultval=yes
7304 else
7305 defaultval=no
7306 fi
7307 fi
7308
7309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7310 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7311 # Check whether --enable-debugreport was given.
7312 if test "${enable_debugreport+set}" = set; then
7313 enableval=$enable_debugreport;
7314 if test "$enableval" = yes; then
7315 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7316 else
7317 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7318 fi
7319 cache=yes
7320
7321 else
7322
7323 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 cache=yes
7327 else
7328 cache=no
7329 fi
7330
7331 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7332
7333 fi
7334
7335
7336 eval "$wx_cv_use_debugreport"
7337 if test "x$cache" = xyes; then
7338 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test x"$enablestring" = xdisable; then
7342 if test $wxUSE_DEBUGREPORT = yes; then
7343 result=no
7344 else
7345 result=yes
7346 fi
7347 else
7348 result=$wxUSE_DEBUGREPORT
7349 fi
7350
7351 { echo "$as_me:$LINENO: result: $result" >&5
7352 echo "${ECHO_T}$result" >&6; }
7353
7354
7355 enablestring=
7356 defaultval=$wxUSE_ALL_FEATURES
7357 if test -z "$defaultval"; then
7358 if test x"$enablestring" = xdisable; then
7359 defaultval=yes
7360 else
7361 defaultval=no
7362 fi
7363 fi
7364
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7367 # Check whether --enable-dialupman was given.
7368 if test "${enable_dialupman+set}" = set; then
7369 enableval=$enable_dialupman;
7370 if test "$enableval" = yes; then
7371 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7372 else
7373 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7374 fi
7375 cache=yes
7376
7377 else
7378
7379 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7382 cache=yes
7383 else
7384 cache=no
7385 fi
7386
7387 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7388
7389 fi
7390
7391
7392 eval "$wx_cv_use_dialupman"
7393 if test "x$cache" = xyes; then
7394 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7395 fi
7396
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_DIALUP_MANAGER = yes; then
7399 result=no
7400 else
7401 result=yes
7402 fi
7403 else
7404 result=$wxUSE_DIALUP_MANAGER
7405 fi
7406
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7409
7410
7411 enablestring=
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7415 defaultval=yes
7416 else
7417 defaultval=no
7418 fi
7419 fi
7420
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7423 # Check whether --enable-dynlib was given.
7424 if test "${enable_dynlib+set}" = set; then
7425 enableval=$enable_dynlib;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7428 else
7429 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7430 fi
7431 cache=yes
7432
7433 else
7434
7435 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7438 cache=yes
7439 else
7440 cache=no
7441 fi
7442
7443 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7444
7445 fi
7446
7447
7448 eval "$wx_cv_use_dynlib"
7449 if test "x$cache" = xyes; then
7450 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_DYNLIB_CLASS = yes; then
7455 result=no
7456 else
7457 result=yes
7458 fi
7459 else
7460 result=$wxUSE_DYNLIB_CLASS
7461 fi
7462
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7465
7466
7467 enablestring=
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7471 defaultval=yes
7472 else
7473 defaultval=no
7474 fi
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7479 # Check whether --enable-dynamicloader was given.
7480 if test "${enable_dynamicloader+set}" = set; then
7481 enableval=$enable_dynamicloader;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7484 else
7485 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7486 fi
7487 cache=yes
7488
7489 else
7490
7491 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x ; then
7493 eval "DEFAULT_$LINE"
7494 cache=yes
7495 else
7496 cache=no
7497 fi
7498
7499 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7500
7501 fi
7502
7503
7504 eval "$wx_cv_use_dynamicloader"
7505 if test "x$cache" = xyes; then
7506 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7507 fi
7508
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_DYNAMIC_LOADER = yes; then
7511 result=no
7512 else
7513 result=yes
7514 fi
7515 else
7516 result=$wxUSE_DYNAMIC_LOADER
7517 fi
7518
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7521
7522
7523 enablestring=
7524 defaultval=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x"$enablestring" = xdisable; then
7527 defaultval=yes
7528 else
7529 defaultval=no
7530 fi
7531 fi
7532
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7535 # Check whether --enable-exceptions was given.
7536 if test "${enable_exceptions+set}" = set; then
7537 enableval=$enable_exceptions;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7540 else
7541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7542 fi
7543 cache=yes
7544
7545 else
7546
7547 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7548 if test "x$LINE" != x ; then
7549 eval "DEFAULT_$LINE"
7550 cache=yes
7551 else
7552 cache=no
7553 fi
7554
7555 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7556
7557 fi
7558
7559
7560 eval "$wx_cv_use_exceptions"
7561 if test "x$cache" = xyes; then
7562 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7563 fi
7564
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_EXCEPTIONS = yes; then
7567 result=no
7568 else
7569 result=yes
7570 fi
7571 else
7572 result=$wxUSE_EXCEPTIONS
7573 fi
7574
7575 { echo "$as_me:$LINENO: result: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7577
7578
7579 enablestring=
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7583 defaultval=yes
7584 else
7585 defaultval=no
7586 fi
7587 fi
7588
7589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7591 # Check whether --enable-ffile was given.
7592 if test "${enable_ffile+set}" = set; then
7593 enableval=$enable_ffile;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_ffile='wxUSE_FFILE=yes'
7596 else
7597 wx_cv_use_ffile='wxUSE_FFILE=no'
7598 fi
7599 cache=yes
7600
7601 else
7602
7603 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x ; then
7605 eval "DEFAULT_$LINE"
7606 cache=yes
7607 else
7608 cache=no
7609 fi
7610
7611 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7612
7613 fi
7614
7615
7616 eval "$wx_cv_use_ffile"
7617 if test "x$cache" = xyes; then
7618 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7619 fi
7620
7621 if test x"$enablestring" = xdisable; then
7622 if test $wxUSE_FFILE = yes; then
7623 result=no
7624 else
7625 result=yes
7626 fi
7627 else
7628 result=$wxUSE_FFILE
7629 fi
7630
7631 { echo "$as_me:$LINENO: result: $result" >&5
7632 echo "${ECHO_T}$result" >&6; }
7633
7634
7635 enablestring=
7636 defaultval=$wxUSE_ALL_FEATURES
7637 if test -z "$defaultval"; then
7638 if test x"$enablestring" = xdisable; then
7639 defaultval=yes
7640 else
7641 defaultval=no
7642 fi
7643 fi
7644
7645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7647 # Check whether --enable-file was given.
7648 if test "${enable_file+set}" = set; then
7649 enableval=$enable_file;
7650 if test "$enableval" = yes; then
7651 wx_cv_use_file='wxUSE_FILE=yes'
7652 else
7653 wx_cv_use_file='wxUSE_FILE=no'
7654 fi
7655 cache=yes
7656
7657 else
7658
7659 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7660 if test "x$LINE" != x ; then
7661 eval "DEFAULT_$LINE"
7662 cache=yes
7663 else
7664 cache=no
7665 fi
7666
7667 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7668
7669 fi
7670
7671
7672 eval "$wx_cv_use_file"
7673 if test "x$cache" = xyes; then
7674 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7675 fi
7676
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_FILE = yes; then
7679 result=no
7680 else
7681 result=yes
7682 fi
7683 else
7684 result=$wxUSE_FILE
7685 fi
7686
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7689
7690
7691 enablestring=
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7695 defaultval=yes
7696 else
7697 defaultval=no
7698 fi
7699 fi
7700
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7703 # Check whether --enable-filesystem was given.
7704 if test "${enable_filesystem+set}" = set; then
7705 enableval=$enable_filesystem;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7708 else
7709 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7710 fi
7711 cache=yes
7712
7713 else
7714
7715 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7718 cache=yes
7719 else
7720 cache=no
7721 fi
7722
7723 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7724
7725 fi
7726
7727
7728 eval "$wx_cv_use_filesystem"
7729 if test "x$cache" = xyes; then
7730 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7731 fi
7732
7733 if test x"$enablestring" = xdisable; then
7734 if test $wxUSE_FILESYSTEM = yes; then
7735 result=no
7736 else
7737 result=yes
7738 fi
7739 else
7740 result=$wxUSE_FILESYSTEM
7741 fi
7742
7743 { echo "$as_me:$LINENO: result: $result" >&5
7744 echo "${ECHO_T}$result" >&6; }
7745
7746
7747 enablestring=
7748 defaultval=$wxUSE_ALL_FEATURES
7749 if test -z "$defaultval"; then
7750 if test x"$enablestring" = xdisable; then
7751 defaultval=yes
7752 else
7753 defaultval=no
7754 fi
7755 fi
7756
7757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7759 # Check whether --enable-fontenum was given.
7760 if test "${enable_fontenum+set}" = set; then
7761 enableval=$enable_fontenum;
7762 if test "$enableval" = yes; then
7763 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7764 else
7765 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7766 fi
7767 cache=yes
7768
7769 else
7770
7771 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 cache=yes
7775 else
7776 cache=no
7777 fi
7778
7779 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7780
7781 fi
7782
7783
7784 eval "$wx_cv_use_fontenum"
7785 if test "x$cache" = xyes; then
7786 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7787 fi
7788
7789 if test x"$enablestring" = xdisable; then
7790 if test $wxUSE_FONTENUM = yes; then
7791 result=no
7792 else
7793 result=yes
7794 fi
7795 else
7796 result=$wxUSE_FONTENUM
7797 fi
7798
7799 { echo "$as_me:$LINENO: result: $result" >&5
7800 echo "${ECHO_T}$result" >&6; }
7801
7802
7803 enablestring=
7804 defaultval=$wxUSE_ALL_FEATURES
7805 if test -z "$defaultval"; then
7806 if test x"$enablestring" = xdisable; then
7807 defaultval=yes
7808 else
7809 defaultval=no
7810 fi
7811 fi
7812
7813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7815 # Check whether --enable-fontmap was given.
7816 if test "${enable_fontmap+set}" = set; then
7817 enableval=$enable_fontmap;
7818 if test "$enableval" = yes; then
7819 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7820 else
7821 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7822 fi
7823 cache=yes
7824
7825 else
7826
7827 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 cache=yes
7831 else
7832 cache=no
7833 fi
7834
7835 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7836
7837 fi
7838
7839
7840 eval "$wx_cv_use_fontmap"
7841 if test "x$cache" = xyes; then
7842 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7843 fi
7844
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_FONTMAP = yes; then
7847 result=no
7848 else
7849 result=yes
7850 fi
7851 else
7852 result=$wxUSE_FONTMAP
7853 fi
7854
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7857
7858
7859 enablestring=
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7863 defaultval=yes
7864 else
7865 defaultval=no
7866 fi
7867 fi
7868
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7871 # Check whether --enable-fs_archive was given.
7872 if test "${enable_fs_archive+set}" = set; then
7873 enableval=$enable_fs_archive;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7876 else
7877 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7878 fi
7879 cache=yes
7880
7881 else
7882
7883 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7886 cache=yes
7887 else
7888 cache=no
7889 fi
7890
7891 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7892
7893 fi
7894
7895
7896 eval "$wx_cv_use_fs_archive"
7897 if test "x$cache" = xyes; then
7898 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7899 fi
7900
7901 if test x"$enablestring" = xdisable; then
7902 if test $wxUSE_FS_ARCHIVE = yes; then
7903 result=no
7904 else
7905 result=yes
7906 fi
7907 else
7908 result=$wxUSE_FS_ARCHIVE
7909 fi
7910
7911 { echo "$as_me:$LINENO: result: $result" >&5
7912 echo "${ECHO_T}$result" >&6; }
7913
7914
7915 enablestring=
7916 defaultval=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x"$enablestring" = xdisable; then
7919 defaultval=yes
7920 else
7921 defaultval=no
7922 fi
7923 fi
7924
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7927 # Check whether --enable-fs_inet was given.
7928 if test "${enable_fs_inet+set}" = set; then
7929 enableval=$enable_fs_inet;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7932 else
7933 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7934 fi
7935 cache=yes
7936
7937 else
7938
7939 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7942 cache=yes
7943 else
7944 cache=no
7945 fi
7946
7947 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7948
7949 fi
7950
7951
7952 eval "$wx_cv_use_fs_inet"
7953 if test "x$cache" = xyes; then
7954 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7955 fi
7956
7957 if test x"$enablestring" = xdisable; then
7958 if test $wxUSE_FS_INET = yes; then
7959 result=no
7960 else
7961 result=yes
7962 fi
7963 else
7964 result=$wxUSE_FS_INET
7965 fi
7966
7967 { echo "$as_me:$LINENO: result: $result" >&5
7968 echo "${ECHO_T}$result" >&6; }
7969
7970
7971 enablestring=
7972 defaultval=$wxUSE_ALL_FEATURES
7973 if test -z "$defaultval"; then
7974 if test x"$enablestring" = xdisable; then
7975 defaultval=yes
7976 else
7977 defaultval=no
7978 fi
7979 fi
7980
7981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7982 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7983 # Check whether --enable-fs_zip was given.
7984 if test "${enable_fs_zip+set}" = set; then
7985 enableval=$enable_fs_zip;
7986 if test "$enableval" = yes; then
7987 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7988 else
7989 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7990 fi
7991 cache=yes
7992
7993 else
7994
7995 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x ; then
7997 eval "DEFAULT_$LINE"
7998 cache=yes
7999 else
8000 cache=no
8001 fi
8002
8003 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8004
8005 fi
8006
8007
8008 eval "$wx_cv_use_fs_zip"
8009 if test "x$cache" = xyes; then
8010 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8011 fi
8012
8013 if test x"$enablestring" = xdisable; then
8014 if test $wxUSE_FS_ZIP = yes; then
8015 result=no
8016 else
8017 result=yes
8018 fi
8019 else
8020 result=$wxUSE_FS_ZIP
8021 fi
8022
8023 { echo "$as_me:$LINENO: result: $result" >&5
8024 echo "${ECHO_T}$result" >&6; }
8025
8026
8027 enablestring=
8028 defaultval=$wxUSE_ALL_FEATURES
8029 if test -z "$defaultval"; then
8030 if test x"$enablestring" = xdisable; then
8031 defaultval=yes
8032 else
8033 defaultval=no
8034 fi
8035 fi
8036
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8039 # Check whether --enable-geometry was given.
8040 if test "${enable_geometry+set}" = set; then
8041 enableval=$enable_geometry;
8042 if test "$enableval" = yes; then
8043 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8044 else
8045 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8046 fi
8047 cache=yes
8048
8049 else
8050
8051 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8054 cache=yes
8055 else
8056 cache=no
8057 fi
8058
8059 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8060
8061 fi
8062
8063
8064 eval "$wx_cv_use_geometry"
8065 if test "x$cache" = xyes; then
8066 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8067 fi
8068
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_GEOMETRY = yes; then
8071 result=no
8072 else
8073 result=yes
8074 fi
8075 else
8076 result=$wxUSE_GEOMETRY
8077 fi
8078
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8081
8082
8083 enablestring=
8084 defaultval=$wxUSE_ALL_FEATURES
8085 if test -z "$defaultval"; then
8086 if test x"$enablestring" = xdisable; then
8087 defaultval=yes
8088 else
8089 defaultval=no
8090 fi
8091 fi
8092
8093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8095 # Check whether --enable-log was given.
8096 if test "${enable_log+set}" = set; then
8097 enableval=$enable_log;
8098 if test "$enableval" = yes; then
8099 wx_cv_use_log='wxUSE_LOG=yes'
8100 else
8101 wx_cv_use_log='wxUSE_LOG=no'
8102 fi
8103 cache=yes
8104
8105 else
8106
8107 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8108 if test "x$LINE" != x ; then
8109 eval "DEFAULT_$LINE"
8110 cache=yes
8111 else
8112 cache=no
8113 fi
8114
8115 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8116
8117 fi
8118
8119
8120 eval "$wx_cv_use_log"
8121 if test "x$cache" = xyes; then
8122 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8123 fi
8124
8125 if test x"$enablestring" = xdisable; then
8126 if test $wxUSE_LOG = yes; then
8127 result=no
8128 else
8129 result=yes
8130 fi
8131 else
8132 result=$wxUSE_LOG
8133 fi
8134
8135 { echo "$as_me:$LINENO: result: $result" >&5
8136 echo "${ECHO_T}$result" >&6; }
8137
8138
8139 enablestring=
8140 defaultval=$wxUSE_ALL_FEATURES
8141 if test -z "$defaultval"; then
8142 if test x"$enablestring" = xdisable; then
8143 defaultval=yes
8144 else
8145 defaultval=no
8146 fi
8147 fi
8148
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8151 # Check whether --enable-longlong was given.
8152 if test "${enable_longlong+set}" = set; then
8153 enableval=$enable_longlong;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8156 else
8157 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8158 fi
8159 cache=yes
8160
8161 else
8162
8163 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8166 cache=yes
8167 else
8168 cache=no
8169 fi
8170
8171 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8172
8173 fi
8174
8175
8176 eval "$wx_cv_use_longlong"
8177 if test "x$cache" = xyes; then
8178 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8179 fi
8180
8181 if test x"$enablestring" = xdisable; then
8182 if test $wxUSE_LONGLONG = yes; then
8183 result=no
8184 else
8185 result=yes
8186 fi
8187 else
8188 result=$wxUSE_LONGLONG
8189 fi
8190
8191 { echo "$as_me:$LINENO: result: $result" >&5
8192 echo "${ECHO_T}$result" >&6; }
8193
8194
8195 enablestring=
8196 defaultval=$wxUSE_ALL_FEATURES
8197 if test -z "$defaultval"; then
8198 if test x"$enablestring" = xdisable; then
8199 defaultval=yes
8200 else
8201 defaultval=no
8202 fi
8203 fi
8204
8205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8207 # Check whether --enable-mimetype was given.
8208 if test "${enable_mimetype+set}" = set; then
8209 enableval=$enable_mimetype;
8210 if test "$enableval" = yes; then
8211 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8212 else
8213 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8214 fi
8215 cache=yes
8216
8217 else
8218
8219 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8222 cache=yes
8223 else
8224 cache=no
8225 fi
8226
8227 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_mimetype"
8233 if test "x$cache" = xyes; then
8234 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8235 fi
8236
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_MIMETYPE = yes; then
8239 result=no
8240 else
8241 result=yes
8242 fi
8243 else
8244 result=$wxUSE_MIMETYPE
8245 fi
8246
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8249
8250
8251 enablestring=
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8255 defaultval=yes
8256 else
8257 defaultval=no
8258 fi
8259 fi
8260
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8263 # Check whether --enable-snglinst was given.
8264 if test "${enable_snglinst+set}" = set; then
8265 enableval=$enable_snglinst;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8268 else
8269 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8270 fi
8271 cache=yes
8272
8273 else
8274
8275 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8278 cache=yes
8279 else
8280 cache=no
8281 fi
8282
8283 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8284
8285 fi
8286
8287
8288 eval "$wx_cv_use_snglinst"
8289 if test "x$cache" = xyes; then
8290 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8291 fi
8292
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_SNGLINST_CHECKER = yes; then
8295 result=no
8296 else
8297 result=yes
8298 fi
8299 else
8300 result=$wxUSE_SNGLINST_CHECKER
8301 fi
8302
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8305
8306
8307 enablestring=
8308 defaultval=$wxUSE_ALL_FEATURES
8309 if test -z "$defaultval"; then
8310 if test x"$enablestring" = xdisable; then
8311 defaultval=yes
8312 else
8313 defaultval=no
8314 fi
8315 fi
8316
8317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8319 # Check whether --enable-stdpaths was given.
8320 if test "${enable_stdpaths+set}" = set; then
8321 enableval=$enable_stdpaths;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8324 else
8325 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8326 fi
8327 cache=yes
8328
8329 else
8330
8331 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 cache=yes
8335 else
8336 cache=no
8337 fi
8338
8339 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8340
8341 fi
8342
8343
8344 eval "$wx_cv_use_stdpaths"
8345 if test "x$cache" = xyes; then
8346 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8347 fi
8348
8349 if test x"$enablestring" = xdisable; then
8350 if test $wxUSE_STDPATHS = yes; then
8351 result=no
8352 else
8353 result=yes
8354 fi
8355 else
8356 result=$wxUSE_STDPATHS
8357 fi
8358
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8361
8362
8363 enablestring=
8364 defaultval=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x"$enablestring" = xdisable; then
8367 defaultval=yes
8368 else
8369 defaultval=no
8370 fi
8371 fi
8372
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8375 # Check whether --enable-stopwatch was given.
8376 if test "${enable_stopwatch+set}" = set; then
8377 enableval=$enable_stopwatch;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8380 else
8381 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8382 fi
8383 cache=yes
8384
8385 else
8386
8387 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8390 cache=yes
8391 else
8392 cache=no
8393 fi
8394
8395 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8396
8397 fi
8398
8399
8400 eval "$wx_cv_use_stopwatch"
8401 if test "x$cache" = xyes; then
8402 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8403 fi
8404
8405 if test x"$enablestring" = xdisable; then
8406 if test $wxUSE_STOPWATCH = yes; then
8407 result=no
8408 else
8409 result=yes
8410 fi
8411 else
8412 result=$wxUSE_STOPWATCH
8413 fi
8414
8415 { echo "$as_me:$LINENO: result: $result" >&5
8416 echo "${ECHO_T}$result" >&6; }
8417
8418
8419 enablestring=
8420 defaultval=$wxUSE_ALL_FEATURES
8421 if test -z "$defaultval"; then
8422 if test x"$enablestring" = xdisable; then
8423 defaultval=yes
8424 else
8425 defaultval=no
8426 fi
8427 fi
8428
8429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8431 # Check whether --enable-streams was given.
8432 if test "${enable_streams+set}" = set; then
8433 enableval=$enable_streams;
8434 if test "$enableval" = yes; then
8435 wx_cv_use_streams='wxUSE_STREAMS=yes'
8436 else
8437 wx_cv_use_streams='wxUSE_STREAMS=no'
8438 fi
8439 cache=yes
8440
8441 else
8442
8443 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8446 cache=yes
8447 else
8448 cache=no
8449 fi
8450
8451 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8452
8453 fi
8454
8455
8456 eval "$wx_cv_use_streams"
8457 if test "x$cache" = xyes; then
8458 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8459 fi
8460
8461 if test x"$enablestring" = xdisable; then
8462 if test $wxUSE_STREAMS = yes; then
8463 result=no
8464 else
8465 result=yes
8466 fi
8467 else
8468 result=$wxUSE_STREAMS
8469 fi
8470
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8473
8474
8475 enablestring=
8476 defaultval=$wxUSE_ALL_FEATURES
8477 if test -z "$defaultval"; then
8478 if test x"$enablestring" = xdisable; then
8479 defaultval=yes
8480 else
8481 defaultval=no
8482 fi
8483 fi
8484
8485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8487 # Check whether --enable-system_options was given.
8488 if test "${enable_system_options+set}" = set; then
8489 enableval=$enable_system_options;
8490 if test "$enableval" = yes; then
8491 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8492 else
8493 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8494 fi
8495 cache=yes
8496
8497 else
8498
8499 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8502 cache=yes
8503 else
8504 cache=no
8505 fi
8506
8507 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8508
8509 fi
8510
8511
8512 eval "$wx_cv_use_system_options"
8513 if test "x$cache" = xyes; then
8514 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8519 result=no
8520 else
8521 result=yes
8522 fi
8523 else
8524 result=$wxUSE_SYSTEM_OPTIONS
8525 fi
8526
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8529
8530
8531 enablestring=
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8535 defaultval=yes
8536 else
8537 defaultval=no
8538 fi
8539 fi
8540
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8543 # Check whether --enable-tarstream was given.
8544 if test "${enable_tarstream+set}" = set; then
8545 enableval=$enable_tarstream;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8548 else
8549 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8550 fi
8551 cache=yes
8552
8553 else
8554
8555 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8558 cache=yes
8559 else
8560 cache=no
8561 fi
8562
8563 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8564
8565 fi
8566
8567
8568 eval "$wx_cv_use_tarstream"
8569 if test "x$cache" = xyes; then
8570 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8571 fi
8572
8573 if test x"$enablestring" = xdisable; then
8574 if test $wxUSE_TARSTREAM = yes; then
8575 result=no
8576 else
8577 result=yes
8578 fi
8579 else
8580 result=$wxUSE_TARSTREAM
8581 fi
8582
8583 { echo "$as_me:$LINENO: result: $result" >&5
8584 echo "${ECHO_T}$result" >&6; }
8585
8586
8587 enablestring=
8588 defaultval=$wxUSE_ALL_FEATURES
8589 if test -z "$defaultval"; then
8590 if test x"$enablestring" = xdisable; then
8591 defaultval=yes
8592 else
8593 defaultval=no
8594 fi
8595 fi
8596
8597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8599 # Check whether --enable-textbuf was given.
8600 if test "${enable_textbuf+set}" = set; then
8601 enableval=$enable_textbuf;
8602 if test "$enableval" = yes; then
8603 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8604 else
8605 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8606 fi
8607 cache=yes
8608
8609 else
8610
8611 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8612 if test "x$LINE" != x ; then
8613 eval "DEFAULT_$LINE"
8614 cache=yes
8615 else
8616 cache=no
8617 fi
8618
8619 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8620
8621 fi
8622
8623
8624 eval "$wx_cv_use_textbuf"
8625 if test "x$cache" = xyes; then
8626 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8627 fi
8628
8629 if test x"$enablestring" = xdisable; then
8630 if test $wxUSE_TEXTBUFFER = yes; then
8631 result=no
8632 else
8633 result=yes
8634 fi
8635 else
8636 result=$wxUSE_TEXTBUFFER
8637 fi
8638
8639 { echo "$as_me:$LINENO: result: $result" >&5
8640 echo "${ECHO_T}$result" >&6; }
8641
8642
8643 enablestring=
8644 defaultval=$wxUSE_ALL_FEATURES
8645 if test -z "$defaultval"; then
8646 if test x"$enablestring" = xdisable; then
8647 defaultval=yes
8648 else
8649 defaultval=no
8650 fi
8651 fi
8652
8653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8655 # Check whether --enable-textfile was given.
8656 if test "${enable_textfile+set}" = set; then
8657 enableval=$enable_textfile;
8658 if test "$enableval" = yes; then
8659 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8660 else
8661 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8662 fi
8663 cache=yes
8664
8665 else
8666
8667 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8668 if test "x$LINE" != x ; then
8669 eval "DEFAULT_$LINE"
8670 cache=yes
8671 else
8672 cache=no
8673 fi
8674
8675 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8676
8677 fi
8678
8679
8680 eval "$wx_cv_use_textfile"
8681 if test "x$cache" = xyes; then
8682 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test x"$enablestring" = xdisable; then
8686 if test $wxUSE_TEXTFILE = yes; then
8687 result=no
8688 else
8689 result=yes
8690 fi
8691 else
8692 result=$wxUSE_TEXTFILE
8693 fi
8694
8695 { echo "$as_me:$LINENO: result: $result" >&5
8696 echo "${ECHO_T}$result" >&6; }
8697
8698
8699 enablestring=
8700 defaultval=$wxUSE_ALL_FEATURES
8701 if test -z "$defaultval"; then
8702 if test x"$enablestring" = xdisable; then
8703 defaultval=yes
8704 else
8705 defaultval=no
8706 fi
8707 fi
8708
8709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8711 # Check whether --enable-timer was given.
8712 if test "${enable_timer+set}" = set; then
8713 enableval=$enable_timer;
8714 if test "$enableval" = yes; then
8715 wx_cv_use_timer='wxUSE_TIMER=yes'
8716 else
8717 wx_cv_use_timer='wxUSE_TIMER=no'
8718 fi
8719 cache=yes
8720
8721 else
8722
8723 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x ; then
8725 eval "DEFAULT_$LINE"
8726 cache=yes
8727 else
8728 cache=no
8729 fi
8730
8731 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8732
8733 fi
8734
8735
8736 eval "$wx_cv_use_timer"
8737 if test "x$cache" = xyes; then
8738 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8739 fi
8740
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_TIMER = yes; then
8743 result=no
8744 else
8745 result=yes
8746 fi
8747 else
8748 result=$wxUSE_TIMER
8749 fi
8750
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8753
8754
8755 enablestring=
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8759 defaultval=yes
8760 else
8761 defaultval=no
8762 fi
8763 fi
8764
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8767 # Check whether --enable-sound was given.
8768 if test "${enable_sound+set}" = set; then
8769 enableval=$enable_sound;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_sound='wxUSE_SOUND=yes'
8772 else
8773 wx_cv_use_sound='wxUSE_SOUND=no'
8774 fi
8775 cache=yes
8776
8777 else
8778
8779 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8780 if test "x$LINE" != x ; then
8781 eval "DEFAULT_$LINE"
8782 cache=yes
8783 else
8784 cache=no
8785 fi
8786
8787 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8788
8789 fi
8790
8791
8792 eval "$wx_cv_use_sound"
8793 if test "x$cache" = xyes; then
8794 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8795 fi
8796
8797 if test x"$enablestring" = xdisable; then
8798 if test $wxUSE_SOUND = yes; then
8799 result=no
8800 else
8801 result=yes
8802 fi
8803 else
8804 result=$wxUSE_SOUND
8805 fi
8806
8807 { echo "$as_me:$LINENO: result: $result" >&5
8808 echo "${ECHO_T}$result" >&6; }
8809
8810
8811 enablestring=
8812 defaultval=$wxUSE_ALL_FEATURES
8813 if test -z "$defaultval"; then
8814 if test x"$enablestring" = xdisable; then
8815 defaultval=yes
8816 else
8817 defaultval=no
8818 fi
8819 fi
8820
8821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8823 # Check whether --enable-mediactrl was given.
8824 if test "${enable_mediactrl+set}" = set; then
8825 enableval=$enable_mediactrl;
8826 if test "$enableval" = yes; then
8827 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8828 else
8829 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8830 fi
8831 cache=yes
8832
8833 else
8834
8835 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 cache=yes
8839 else
8840 cache=no
8841 fi
8842
8843 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8844
8845 fi
8846
8847
8848 eval "$wx_cv_use_mediactrl"
8849 if test "x$cache" = xyes; then
8850 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8851 fi
8852
8853 if test x"$enablestring" = xdisable; then
8854 if test $wxUSE_MEDIACTRL = yes; then
8855 result=no
8856 else
8857 result=yes
8858 fi
8859 else
8860 result=$wxUSE_MEDIACTRL
8861 fi
8862
8863 { echo "$as_me:$LINENO: result: $result" >&5
8864 echo "${ECHO_T}$result" >&6; }
8865
8866
8867 enablestring=
8868 defaultval=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x"$enablestring" = xdisable; then
8871 defaultval=yes
8872 else
8873 defaultval=no
8874 fi
8875 fi
8876
8877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8879 # Check whether --enable-gstreamer8 was given.
8880 if test "${enable_gstreamer8+set}" = set; then
8881 enableval=$enable_gstreamer8;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8884 else
8885 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8886 fi
8887 cache=yes
8888
8889 else
8890
8891 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x ; then
8893 eval "DEFAULT_$LINE"
8894 cache=yes
8895 else
8896 cache=no
8897 fi
8898
8899 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8900
8901 fi
8902
8903
8904 eval "$wx_cv_use_gstreamer8"
8905 if test "x$cache" = xyes; then
8906 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8907 fi
8908
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_GSTREAMER8 = yes; then
8911 result=no
8912 else
8913 result=yes
8914 fi
8915 else
8916 result=$wxUSE_GSTREAMER8
8917 fi
8918
8919 { echo "$as_me:$LINENO: result: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8921
8922
8923 enablestring=
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8927 defaultval=yes
8928 else
8929 defaultval=no
8930 fi
8931 fi
8932
8933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8935 # Check whether --enable-printfposparam was given.
8936 if test "${enable_printfposparam+set}" = set; then
8937 enableval=$enable_printfposparam;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8940 else
8941 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8942 fi
8943 cache=yes
8944
8945 else
8946
8947 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 cache=yes
8951 else
8952 cache=no
8953 fi
8954
8955 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8956
8957 fi
8958
8959
8960 eval "$wx_cv_use_printfposparam"
8961 if test "x$cache" = xyes; then
8962 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8963 fi
8964
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8967 result=no
8968 else
8969 result=yes
8970 fi
8971 else
8972 result=$wxUSE_PRINTF_POS_PARAMS
8973 fi
8974
8975 { echo "$as_me:$LINENO: result: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8977
8978
8979 enablestring=
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8983 defaultval=yes
8984 else
8985 defaultval=no
8986 fi
8987 fi
8988
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8991 # Check whether --enable-zipstream was given.
8992 if test "${enable_zipstream+set}" = set; then
8993 enableval=$enable_zipstream;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8996 else
8997 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8998 fi
8999 cache=yes
9000
9001 else
9002
9003 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
9004 if test "x$LINE" != x ; then
9005 eval "DEFAULT_$LINE"
9006 cache=yes
9007 else
9008 cache=no
9009 fi
9010
9011 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9012
9013 fi
9014
9015
9016 eval "$wx_cv_use_zipstream"
9017 if test "x$cache" = xyes; then
9018 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9019 fi
9020
9021 if test x"$enablestring" = xdisable; then
9022 if test $wxUSE_ZIPSTREAM = yes; then
9023 result=no
9024 else
9025 result=yes
9026 fi
9027 else
9028 result=$wxUSE_ZIPSTREAM
9029 fi
9030
9031 { echo "$as_me:$LINENO: result: $result" >&5
9032 echo "${ECHO_T}$result" >&6; }
9033
9034
9035
9036 enablestring=
9037 defaultval=$wxUSE_ALL_FEATURES
9038 if test -z "$defaultval"; then
9039 if test x"$enablestring" = xdisable; then
9040 defaultval=yes
9041 else
9042 defaultval=no
9043 fi
9044 fi
9045
9046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9048 # Check whether --enable-url was given.
9049 if test "${enable_url+set}" = set; then
9050 enableval=$enable_url;
9051 if test "$enableval" = yes; then
9052 wx_cv_use_url='wxUSE_URL=yes'
9053 else
9054 wx_cv_use_url='wxUSE_URL=no'
9055 fi
9056 cache=yes
9057
9058 else
9059
9060 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9063 cache=yes
9064 else
9065 cache=no
9066 fi
9067
9068 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9069
9070 fi
9071
9072
9073 eval "$wx_cv_use_url"
9074 if test "x$cache" = xyes; then
9075 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9076 fi
9077
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_URL = yes; then
9080 result=no
9081 else
9082 result=yes
9083 fi
9084 else
9085 result=$wxUSE_URL
9086 fi
9087
9088 { echo "$as_me:$LINENO: result: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9090
9091
9092 enablestring=
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9096 defaultval=yes
9097 else
9098 defaultval=no
9099 fi
9100 fi
9101
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9104 # Check whether --enable-variant was given.
9105 if test "${enable_variant+set}" = set; then
9106 enableval=$enable_variant;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_variant='wxUSE_VARIANT=yes'
9109 else
9110 wx_cv_use_variant='wxUSE_VARIANT=no'
9111 fi
9112 cache=yes
9113
9114 else
9115
9116 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9119 cache=yes
9120 else
9121 cache=no
9122 fi
9123
9124 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_variant"
9130 if test "x$cache" = xyes; then
9131 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9132 fi
9133
9134 if test x"$enablestring" = xdisable; then
9135 if test $wxUSE_VARIANT = yes; then
9136 result=no
9137 else
9138 result=yes
9139 fi
9140 else
9141 result=$wxUSE_VARIANT
9142 fi
9143
9144 { echo "$as_me:$LINENO: result: $result" >&5
9145 echo "${ECHO_T}$result" >&6; }
9146
9147
9148 enablestring=
9149 defaultval=$wxUSE_ALL_FEATURES
9150 if test -z "$defaultval"; then
9151 if test x"$enablestring" = xdisable; then
9152 defaultval=yes
9153 else
9154 defaultval=no
9155 fi
9156 fi
9157
9158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9159 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9160 # Check whether --enable-protocol was given.
9161 if test "${enable_protocol+set}" = set; then
9162 enableval=$enable_protocol;
9163 if test "$enableval" = yes; then
9164 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9165 else
9166 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9167 fi
9168 cache=yes
9169
9170 else
9171
9172 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 cache=yes
9176 else
9177 cache=no
9178 fi
9179
9180 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9181
9182 fi
9183
9184
9185 eval "$wx_cv_use_protocol"
9186 if test "x$cache" = xyes; then
9187 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9188 fi
9189
9190 if test x"$enablestring" = xdisable; then
9191 if test $wxUSE_PROTOCOL = yes; then
9192 result=no
9193 else
9194 result=yes
9195 fi
9196 else
9197 result=$wxUSE_PROTOCOL
9198 fi
9199
9200 { echo "$as_me:$LINENO: result: $result" >&5
9201 echo "${ECHO_T}$result" >&6; }
9202
9203
9204 enablestring=
9205 defaultval=$wxUSE_ALL_FEATURES
9206 if test -z "$defaultval"; then
9207 if test x"$enablestring" = xdisable; then
9208 defaultval=yes
9209 else
9210 defaultval=no
9211 fi
9212 fi
9213
9214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9216 # Check whether --enable-protocol_http was given.
9217 if test "${enable_protocol_http+set}" = set; then
9218 enableval=$enable_protocol_http;
9219 if test "$enableval" = yes; then
9220 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9221 else
9222 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9223 fi
9224 cache=yes
9225
9226 else
9227
9228 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9229 if test "x$LINE" != x ; then
9230 eval "DEFAULT_$LINE"
9231 cache=yes
9232 else
9233 cache=no
9234 fi
9235
9236 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9237
9238 fi
9239
9240
9241 eval "$wx_cv_use_protocol_http"
9242 if test "x$cache" = xyes; then
9243 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9244 fi
9245
9246 if test x"$enablestring" = xdisable; then
9247 if test $wxUSE_PROTOCOL_HTTP = yes; then
9248 result=no
9249 else
9250 result=yes
9251 fi
9252 else
9253 result=$wxUSE_PROTOCOL_HTTP
9254 fi
9255
9256 { echo "$as_me:$LINENO: result: $result" >&5
9257 echo "${ECHO_T}$result" >&6; }
9258
9259
9260 enablestring=
9261 defaultval=$wxUSE_ALL_FEATURES
9262 if test -z "$defaultval"; then
9263 if test x"$enablestring" = xdisable; then
9264 defaultval=yes
9265 else
9266 defaultval=no
9267 fi
9268 fi
9269
9270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9272 # Check whether --enable-protocol_ftp was given.
9273 if test "${enable_protocol_ftp+set}" = set; then
9274 enableval=$enable_protocol_ftp;
9275 if test "$enableval" = yes; then
9276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9277 else
9278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9279 fi
9280 cache=yes
9281
9282 else
9283
9284 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x ; then
9286 eval "DEFAULT_$LINE"
9287 cache=yes
9288 else
9289 cache=no
9290 fi
9291
9292 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9293
9294 fi
9295
9296
9297 eval "$wx_cv_use_protocol_ftp"
9298 if test "x$cache" = xyes; then
9299 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test x"$enablestring" = xdisable; then
9303 if test $wxUSE_PROTOCOL_FTP = yes; then
9304 result=no
9305 else
9306 result=yes
9307 fi
9308 else
9309 result=$wxUSE_PROTOCOL_FTP
9310 fi
9311
9312 { echo "$as_me:$LINENO: result: $result" >&5
9313 echo "${ECHO_T}$result" >&6; }
9314
9315
9316 enablestring=
9317 defaultval=$wxUSE_ALL_FEATURES
9318 if test -z "$defaultval"; then
9319 if test x"$enablestring" = xdisable; then
9320 defaultval=yes
9321 else
9322 defaultval=no
9323 fi
9324 fi
9325
9326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9328 # Check whether --enable-protocol_file was given.
9329 if test "${enable_protocol_file+set}" = set; then
9330 enableval=$enable_protocol_file;
9331 if test "$enableval" = yes; then
9332 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9333 else
9334 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9335 fi
9336 cache=yes
9337
9338 else
9339
9340 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 cache=yes
9344 else
9345 cache=no
9346 fi
9347
9348 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9349
9350 fi
9351
9352
9353 eval "$wx_cv_use_protocol_file"
9354 if test "x$cache" = xyes; then
9355 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9356 fi
9357
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_PROTOCOL_FILE = yes; then
9360 result=no
9361 else
9362 result=yes
9363 fi
9364 else
9365 result=$wxUSE_PROTOCOL_FILE
9366 fi
9367
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9370
9371
9372
9373 enablestring=
9374 defaultval=$wxUSE_ALL_FEATURES
9375 if test -z "$defaultval"; then
9376 if test x"$enablestring" = xdisable; then
9377 defaultval=yes
9378 else
9379 defaultval=no
9380 fi
9381 fi
9382
9383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9385 # Check whether --enable-threads was given.
9386 if test "${enable_threads+set}" = set; then
9387 enableval=$enable_threads;
9388 if test "$enableval" = yes; then
9389 wx_cv_use_threads='wxUSE_THREADS=yes'
9390 else
9391 wx_cv_use_threads='wxUSE_THREADS=no'
9392 fi
9393 cache=yes
9394
9395 else
9396
9397 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9398 if test "x$LINE" != x ; then
9399 eval "DEFAULT_$LINE"
9400 cache=yes
9401 else
9402 cache=no
9403 fi
9404
9405 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9406
9407 fi
9408
9409
9410 eval "$wx_cv_use_threads"
9411 if test "x$cache" = xyes; then
9412 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9413 fi
9414
9415 if test x"$enablestring" = xdisable; then
9416 if test $wxUSE_THREADS = yes; then
9417 result=no
9418 else
9419 result=yes
9420 fi
9421 else
9422 result=$wxUSE_THREADS
9423 fi
9424
9425 { echo "$as_me:$LINENO: result: $result" >&5
9426 echo "${ECHO_T}$result" >&6; }
9427
9428
9429
9430 enablestring=
9431 defaultval=
9432 if test -z "$defaultval"; then
9433 if test x"$enablestring" = xdisable; then
9434 defaultval=yes
9435 else
9436 defaultval=no
9437 fi
9438 fi
9439
9440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9442 # Check whether --enable-iniconf was given.
9443 if test "${enable_iniconf+set}" = set; then
9444 enableval=$enable_iniconf;
9445 if test "$enableval" = yes; then
9446 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9447 else
9448 wx_cv_use_iniconf='wxUSE_INICONF=no'
9449 fi
9450 cache=yes
9451
9452 else
9453
9454 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9457 cache=yes
9458 else
9459 cache=no
9460 fi
9461
9462 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9463
9464 fi
9465
9466
9467 eval "$wx_cv_use_iniconf"
9468 if test "x$cache" = xyes; then
9469 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9470 fi
9471
9472 if test x"$enablestring" = xdisable; then
9473 if test $wxUSE_INICONF = yes; then
9474 result=no
9475 else
9476 result=yes
9477 fi
9478 else
9479 result=$wxUSE_INICONF
9480 fi
9481
9482 { echo "$as_me:$LINENO: result: $result" >&5
9483 echo "${ECHO_T}$result" >&6; }
9484
9485
9486 enablestring=
9487 defaultval=$wxUSE_ALL_FEATURES
9488 if test -z "$defaultval"; then
9489 if test x"$enablestring" = xdisable; then
9490 defaultval=yes
9491 else
9492 defaultval=no
9493 fi
9494 fi
9495
9496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9498 # Check whether --enable-regkey was given.
9499 if test "${enable_regkey+set}" = set; then
9500 enableval=$enable_regkey;
9501 if test "$enableval" = yes; then
9502 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9503 else
9504 wx_cv_use_regkey='wxUSE_REGKEY=no'
9505 fi
9506 cache=yes
9507
9508 else
9509
9510 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x ; then
9512 eval "DEFAULT_$LINE"
9513 cache=yes
9514 else
9515 cache=no
9516 fi
9517
9518 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9519
9520 fi
9521
9522
9523 eval "$wx_cv_use_regkey"
9524 if test "x$cache" = xyes; then
9525 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9526 fi
9527
9528 if test x"$enablestring" = xdisable; then
9529 if test $wxUSE_REGKEY = yes; then
9530 result=no
9531 else
9532 result=yes
9533 fi
9534 else
9535 result=$wxUSE_REGKEY
9536 fi
9537
9538 { echo "$as_me:$LINENO: result: $result" >&5
9539 echo "${ECHO_T}$result" >&6; }
9540
9541
9542 if test "$wxUSE_GUI" = "yes"; then
9543
9544
9545
9546 enablestring=
9547 defaultval=$wxUSE_ALL_FEATURES
9548 if test -z "$defaultval"; then
9549 if test x"$enablestring" = xdisable; then
9550 defaultval=yes
9551 else
9552 defaultval=no
9553 fi
9554 fi
9555
9556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9558 # Check whether --enable-docview was given.
9559 if test "${enable_docview+set}" = set; then
9560 enableval=$enable_docview;
9561 if test "$enableval" = yes; then
9562 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9563 else
9564 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9565 fi
9566 cache=yes
9567
9568 else
9569
9570 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 cache=yes
9574 else
9575 cache=no
9576 fi
9577
9578 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9579
9580 fi
9581
9582
9583 eval "$wx_cv_use_docview"
9584 if test "x$cache" = xyes; then
9585 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test x"$enablestring" = xdisable; then
9589 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9590 result=no
9591 else
9592 result=yes
9593 fi
9594 else
9595 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9596 fi
9597
9598 { echo "$as_me:$LINENO: result: $result" >&5
9599 echo "${ECHO_T}$result" >&6; }
9600
9601
9602 enablestring=
9603 defaultval=$wxUSE_ALL_FEATURES
9604 if test -z "$defaultval"; then
9605 if test x"$enablestring" = xdisable; then
9606 defaultval=yes
9607 else
9608 defaultval=no
9609 fi
9610 fi
9611
9612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9614 # Check whether --enable-help was given.
9615 if test "${enable_help+set}" = set; then
9616 enableval=$enable_help;
9617 if test "$enableval" = yes; then
9618 wx_cv_use_help='wxUSE_HELP=yes'
9619 else
9620 wx_cv_use_help='wxUSE_HELP=no'
9621 fi
9622 cache=yes
9623
9624 else
9625
9626 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9627 if test "x$LINE" != x ; then
9628 eval "DEFAULT_$LINE"
9629 cache=yes
9630 else
9631 cache=no
9632 fi
9633
9634 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9635
9636 fi
9637
9638
9639 eval "$wx_cv_use_help"
9640 if test "x$cache" = xyes; then
9641 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9642 fi
9643
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_HELP = yes; then
9646 result=no
9647 else
9648 result=yes
9649 fi
9650 else
9651 result=$wxUSE_HELP
9652 fi
9653
9654 { echo "$as_me:$LINENO: result: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9656
9657
9658 enablestring=
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9662 defaultval=yes
9663 else
9664 defaultval=no
9665 fi
9666 fi
9667
9668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9670 # Check whether --enable-mshtmlhelp was given.
9671 if test "${enable_mshtmlhelp+set}" = set; then
9672 enableval=$enable_mshtmlhelp;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9675 else
9676 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9677 fi
9678 cache=yes
9679
9680 else
9681
9682 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x ; then
9684 eval "DEFAULT_$LINE"
9685 cache=yes
9686 else
9687 cache=no
9688 fi
9689
9690 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9691
9692 fi
9693
9694
9695 eval "$wx_cv_use_mshtmlhelp"
9696 if test "x$cache" = xyes; then
9697 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9698 fi
9699
9700 if test x"$enablestring" = xdisable; then
9701 if test $wxUSE_MS_HTML_HELP = yes; then
9702 result=no
9703 else
9704 result=yes
9705 fi
9706 else
9707 result=$wxUSE_MS_HTML_HELP
9708 fi
9709
9710 { echo "$as_me:$LINENO: result: $result" >&5
9711 echo "${ECHO_T}$result" >&6; }
9712
9713
9714 enablestring=
9715 defaultval=$wxUSE_ALL_FEATURES
9716 if test -z "$defaultval"; then
9717 if test x"$enablestring" = xdisable; then
9718 defaultval=yes
9719 else
9720 defaultval=no
9721 fi
9722 fi
9723
9724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9726 # Check whether --enable-html was given.
9727 if test "${enable_html+set}" = set; then
9728 enableval=$enable_html;
9729 if test "$enableval" = yes; then
9730 wx_cv_use_html='wxUSE_HTML=yes'
9731 else
9732 wx_cv_use_html='wxUSE_HTML=no'
9733 fi
9734 cache=yes
9735
9736 else
9737
9738 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 cache=yes
9742 else
9743 cache=no
9744 fi
9745
9746 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9747
9748 fi
9749
9750
9751 eval "$wx_cv_use_html"
9752 if test "x$cache" = xyes; then
9753 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9754 fi
9755
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_HTML = yes; then
9758 result=no
9759 else
9760 result=yes
9761 fi
9762 else
9763 result=$wxUSE_HTML
9764 fi
9765
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9768
9769
9770 enablestring=
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9774 defaultval=yes
9775 else
9776 defaultval=no
9777 fi
9778 fi
9779
9780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9782 # Check whether --enable-htmlhelp was given.
9783 if test "${enable_htmlhelp+set}" = set; then
9784 enableval=$enable_htmlhelp;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9787 else
9788 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9789 fi
9790 cache=yes
9791
9792 else
9793
9794 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x ; then
9796 eval "DEFAULT_$LINE"
9797 cache=yes
9798 else
9799 cache=no
9800 fi
9801
9802 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9803
9804 fi
9805
9806
9807 eval "$wx_cv_use_htmlhelp"
9808 if test "x$cache" = xyes; then
9809 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9810 fi
9811
9812 if test x"$enablestring" = xdisable; then
9813 if test $wxUSE_WXHTML_HELP = yes; then
9814 result=no
9815 else
9816 result=yes
9817 fi
9818 else
9819 result=$wxUSE_WXHTML_HELP
9820 fi
9821
9822 { echo "$as_me:$LINENO: result: $result" >&5
9823 echo "${ECHO_T}$result" >&6; }
9824
9825
9826 enablestring=
9827 defaultval=$wxUSE_ALL_FEATURES
9828 if test -z "$defaultval"; then
9829 if test x"$enablestring" = xdisable; then
9830 defaultval=yes
9831 else
9832 defaultval=no
9833 fi
9834 fi
9835
9836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9837 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9838 # Check whether --enable-xrc was given.
9839 if test "${enable_xrc+set}" = set; then
9840 enableval=$enable_xrc;
9841 if test "$enableval" = yes; then
9842 wx_cv_use_xrc='wxUSE_XRC=yes'
9843 else
9844 wx_cv_use_xrc='wxUSE_XRC=no'
9845 fi
9846 cache=yes
9847
9848 else
9849
9850 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9851 if test "x$LINE" != x ; then
9852 eval "DEFAULT_$LINE"
9853 cache=yes
9854 else
9855 cache=no
9856 fi
9857
9858 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9859
9860 fi
9861
9862
9863 eval "$wx_cv_use_xrc"
9864 if test "x$cache" = xyes; then
9865 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9866 fi
9867
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_XRC = yes; then
9870 result=no
9871 else
9872 result=yes
9873 fi
9874 else
9875 result=$wxUSE_XRC
9876 fi
9877
9878 { echo "$as_me:$LINENO: result: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9880
9881
9882 enablestring=
9883 defaultval=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x"$enablestring" = xdisable; then
9886 defaultval=yes
9887 else
9888 defaultval=no
9889 fi
9890 fi
9891
9892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9894 # Check whether --enable-aui was given.
9895 if test "${enable_aui+set}" = set; then
9896 enableval=$enable_aui;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_aui='wxUSE_AUI=yes'
9899 else
9900 wx_cv_use_aui='wxUSE_AUI=no'
9901 fi
9902 cache=yes
9903
9904 else
9905
9906 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x ; then
9908 eval "DEFAULT_$LINE"
9909 cache=yes
9910 else
9911 cache=no
9912 fi
9913
9914 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9915
9916 fi
9917
9918
9919 eval "$wx_cv_use_aui"
9920 if test "x$cache" = xyes; then
9921 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9922 fi
9923
9924 if test x"$enablestring" = xdisable; then
9925 if test $wxUSE_AUI = yes; then
9926 result=no
9927 else
9928 result=yes
9929 fi
9930 else
9931 result=$wxUSE_AUI
9932 fi
9933
9934 { echo "$as_me:$LINENO: result: $result" >&5
9935 echo "${ECHO_T}$result" >&6; }
9936
9937
9938 enablestring=
9939 defaultval=$wxUSE_ALL_FEATURES
9940 if test -z "$defaultval"; then
9941 if test x"$enablestring" = xdisable; then
9942 defaultval=yes
9943 else
9944 defaultval=no
9945 fi
9946 fi
9947
9948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9950 # Check whether --enable-stc was given.
9951 if test "${enable_stc+set}" = set; then
9952 enableval=$enable_stc;
9953 if test "$enableval" = yes; then
9954 wx_cv_use_stc='wxUSE_STC=yes'
9955 else
9956 wx_cv_use_stc='wxUSE_STC=no'
9957 fi
9958 cache=yes
9959
9960 else
9961
9962 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x ; then
9964 eval "DEFAULT_$LINE"
9965 cache=yes
9966 else
9967 cache=no
9968 fi
9969
9970 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9971
9972 fi
9973
9974
9975 eval "$wx_cv_use_stc"
9976 if test "x$cache" = xyes; then
9977 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9978 fi
9979
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_STC = yes; then
9982 result=no
9983 else
9984 result=yes
9985 fi
9986 else
9987 result=$wxUSE_STC
9988 fi
9989
9990 { echo "$as_me:$LINENO: result: $result" >&5
9991 echo "${ECHO_T}$result" >&6; }
9992
9993
9994 enablestring=
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
9998 defaultval=yes
9999 else
10000 defaultval=no
10001 fi
10002 fi
10003
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
10006 # Check whether --enable-constraints was given.
10007 if test "${enable_constraints+set}" = set; then
10008 enableval=$enable_constraints;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10011 else
10012 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10013 fi
10014 cache=yes
10015
10016 else
10017
10018 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10019 if test "x$LINE" != x ; then
10020 eval "DEFAULT_$LINE"
10021 cache=yes
10022 else
10023 cache=no
10024 fi
10025
10026 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10027
10028 fi
10029
10030
10031 eval "$wx_cv_use_constraints"
10032 if test "x$cache" = xyes; then
10033 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10034 fi
10035
10036 if test x"$enablestring" = xdisable; then
10037 if test $wxUSE_CONSTRAINTS = yes; then
10038 result=no
10039 else
10040 result=yes
10041 fi
10042 else
10043 result=$wxUSE_CONSTRAINTS
10044 fi
10045
10046 { echo "$as_me:$LINENO: result: $result" >&5
10047 echo "${ECHO_T}$result" >&6; }
10048
10049
10050 enablestring=
10051 defaultval=$wxUSE_ALL_FEATURES
10052 if test -z "$defaultval"; then
10053 if test x"$enablestring" = xdisable; then
10054 defaultval=yes
10055 else
10056 defaultval=no
10057 fi
10058 fi
10059
10060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10062 # Check whether --enable-printarch was given.
10063 if test "${enable_printarch+set}" = set; then
10064 enableval=$enable_printarch;
10065 if test "$enableval" = yes; then
10066 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10067 else
10068 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10069 fi
10070 cache=yes
10071
10072 else
10073
10074 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10075 if test "x$LINE" != x ; then
10076 eval "DEFAULT_$LINE"
10077 cache=yes
10078 else
10079 cache=no
10080 fi
10081
10082 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10083
10084 fi
10085
10086
10087 eval "$wx_cv_use_printarch"
10088 if test "x$cache" = xyes; then
10089 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10090 fi
10091
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10094 result=no
10095 else
10096 result=yes
10097 fi
10098 else
10099 result=$wxUSE_PRINTING_ARCHITECTURE
10100 fi
10101
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10104
10105
10106 enablestring=
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10110 defaultval=yes
10111 else
10112 defaultval=no
10113 fi
10114 fi
10115
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10118 # Check whether --enable-mdi was given.
10119 if test "${enable_mdi+set}" = set; then
10120 enableval=$enable_mdi;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_mdi='wxUSE_MDI=yes'
10123 else
10124 wx_cv_use_mdi='wxUSE_MDI=no'
10125 fi
10126 cache=yes
10127
10128 else
10129
10130 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10131 if test "x$LINE" != x ; then
10132 eval "DEFAULT_$LINE"
10133 cache=yes
10134 else
10135 cache=no
10136 fi
10137
10138 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10139
10140 fi
10141
10142
10143 eval "$wx_cv_use_mdi"
10144 if test "x$cache" = xyes; then
10145 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10146 fi
10147
10148 if test x"$enablestring" = xdisable; then
10149 if test $wxUSE_MDI = yes; then
10150 result=no
10151 else
10152 result=yes
10153 fi
10154 else
10155 result=$wxUSE_MDI
10156 fi
10157
10158 { echo "$as_me:$LINENO: result: $result" >&5
10159 echo "${ECHO_T}$result" >&6; }
10160
10161
10162 enablestring=
10163 defaultval=$wxUSE_ALL_FEATURES
10164 if test -z "$defaultval"; then
10165 if test x"$enablestring" = xdisable; then
10166 defaultval=yes
10167 else
10168 defaultval=no
10169 fi
10170 fi
10171
10172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10173 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10174 # Check whether --enable-mdidoc was given.
10175 if test "${enable_mdidoc+set}" = set; then
10176 enableval=$enable_mdidoc;
10177 if test "$enableval" = yes; then
10178 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10179 else
10180 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10181 fi
10182 cache=yes
10183
10184 else
10185
10186 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10187 if test "x$LINE" != x ; then
10188 eval "DEFAULT_$LINE"
10189 cache=yes
10190 else
10191 cache=no
10192 fi
10193
10194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10195
10196 fi
10197
10198
10199 eval "$wx_cv_use_mdidoc"
10200 if test "x$cache" = xyes; then
10201 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10202 fi
10203
10204 if test x"$enablestring" = xdisable; then
10205 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10206 result=no
10207 else
10208 result=yes
10209 fi
10210 else
10211 result=$wxUSE_MDI_ARCHITECTURE
10212 fi
10213
10214 { echo "$as_me:$LINENO: result: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10216
10217
10218 enablestring=
10219 defaultval=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x"$enablestring" = xdisable; then
10222 defaultval=yes
10223 else
10224 defaultval=no
10225 fi
10226 fi
10227
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10230 # Check whether --enable-loggui was given.
10231 if test "${enable_loggui+set}" = set; then
10232 enableval=$enable_loggui;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10235 else
10236 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10237 fi
10238 cache=yes
10239
10240 else
10241
10242 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10243 if test "x$LINE" != x ; then
10244 eval "DEFAULT_$LINE"
10245 cache=yes
10246 else
10247 cache=no
10248 fi
10249
10250 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10251
10252 fi
10253
10254
10255 eval "$wx_cv_use_loggui"
10256 if test "x$cache" = xyes; then
10257 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10258 fi
10259
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_LOGGUI = yes; then
10262 result=no
10263 else
10264 result=yes
10265 fi
10266 else
10267 result=$wxUSE_LOGGUI
10268 fi
10269
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10272
10273
10274 enablestring=
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10278 defaultval=yes
10279 else
10280 defaultval=no
10281 fi
10282 fi
10283
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10286 # Check whether --enable-logwin was given.
10287 if test "${enable_logwin+set}" = set; then
10288 enableval=$enable_logwin;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10291 else
10292 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10293 fi
10294 cache=yes
10295
10296 else
10297
10298 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10299 if test "x$LINE" != x ; then
10300 eval "DEFAULT_$LINE"
10301 cache=yes
10302 else
10303 cache=no
10304 fi
10305
10306 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10307
10308 fi
10309
10310
10311 eval "$wx_cv_use_logwin"
10312 if test "x$cache" = xyes; then
10313 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10314 fi
10315
10316 if test x"$enablestring" = xdisable; then
10317 if test $wxUSE_LOGWINDOW = yes; then
10318 result=no
10319 else
10320 result=yes
10321 fi
10322 else
10323 result=$wxUSE_LOGWINDOW
10324 fi
10325
10326 { echo "$as_me:$LINENO: result: $result" >&5
10327 echo "${ECHO_T}$result" >&6; }
10328
10329
10330 enablestring=
10331 defaultval=$wxUSE_ALL_FEATURES
10332 if test -z "$defaultval"; then
10333 if test x"$enablestring" = xdisable; then
10334 defaultval=yes
10335 else
10336 defaultval=no
10337 fi
10338 fi
10339
10340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10342 # Check whether --enable-logdialog was given.
10343 if test "${enable_logdialog+set}" = set; then
10344 enableval=$enable_logdialog;
10345 if test "$enableval" = yes; then
10346 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10347 else
10348 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10349 fi
10350 cache=yes
10351
10352 else
10353
10354 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10355 if test "x$LINE" != x ; then
10356 eval "DEFAULT_$LINE"
10357 cache=yes
10358 else
10359 cache=no
10360 fi
10361
10362 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10363
10364 fi
10365
10366
10367 eval "$wx_cv_use_logdialog"
10368 if test "x$cache" = xyes; then
10369 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10370 fi
10371
10372 if test x"$enablestring" = xdisable; then
10373 if test $wxUSE_LOGDIALOG = yes; then
10374 result=no
10375 else
10376 result=yes
10377 fi
10378 else
10379 result=$wxUSE_LOGDIALOG
10380 fi
10381
10382 { echo "$as_me:$LINENO: result: $result" >&5
10383 echo "${ECHO_T}$result" >&6; }
10384
10385
10386 enablestring=
10387 defaultval=$wxUSE_ALL_FEATURES
10388 if test -z "$defaultval"; then
10389 if test x"$enablestring" = xdisable; then
10390 defaultval=yes
10391 else
10392 defaultval=no
10393 fi
10394 fi
10395
10396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10398 # Check whether --enable-webkit was given.
10399 if test "${enable_webkit+set}" = set; then
10400 enableval=$enable_webkit;
10401 if test "$enableval" = yes; then
10402 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10403 else
10404 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10405 fi
10406 cache=yes
10407
10408 else
10409
10410 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x ; then
10412 eval "DEFAULT_$LINE"
10413 cache=yes
10414 else
10415 cache=no
10416 fi
10417
10418 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10419
10420 fi
10421
10422
10423 eval "$wx_cv_use_webkit"
10424 if test "x$cache" = xyes; then
10425 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10426 fi
10427
10428 if test x"$enablestring" = xdisable; then
10429 if test $wxUSE_WEBKIT = yes; then
10430 result=no
10431 else
10432 result=yes
10433 fi
10434 else
10435 result=$wxUSE_WEBKIT
10436 fi
10437
10438 { echo "$as_me:$LINENO: result: $result" >&5
10439 echo "${ECHO_T}$result" >&6; }
10440
10441
10442 enablestring=
10443 defaultval=$wxUSE_ALL_FEATURES
10444 if test -z "$defaultval"; then
10445 if test x"$enablestring" = xdisable; then
10446 defaultval=yes
10447 else
10448 defaultval=no
10449 fi
10450 fi
10451
10452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10453 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10454 # Check whether --enable-richtext was given.
10455 if test "${enable_richtext+set}" = set; then
10456 enableval=$enable_richtext;
10457 if test "$enableval" = yes; then
10458 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10459 else
10460 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10461 fi
10462 cache=yes
10463
10464 else
10465
10466 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 cache=yes
10470 else
10471 cache=no
10472 fi
10473
10474 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10475
10476 fi
10477
10478
10479 eval "$wx_cv_use_richtext"
10480 if test "x$cache" = xyes; then
10481 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10482 fi
10483
10484 if test x"$enablestring" = xdisable; then
10485 if test $wxUSE_RICHTEXT = yes; then
10486 result=no
10487 else
10488 result=yes
10489 fi
10490 else
10491 result=$wxUSE_RICHTEXT
10492 fi
10493
10494 { echo "$as_me:$LINENO: result: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10496
10497
10498 enablestring=
10499 defaultval=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x"$enablestring" = xdisable; then
10502 defaultval=yes
10503 else
10504 defaultval=no
10505 fi
10506 fi
10507
10508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10509 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10510 # Check whether --enable-graphics_ctx was given.
10511 if test "${enable_graphics_ctx+set}" = set; then
10512 enableval=$enable_graphics_ctx;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10515 else
10516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10517 fi
10518 cache=yes
10519
10520 else
10521
10522 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10523 if test "x$LINE" != x ; then
10524 eval "DEFAULT_$LINE"
10525 cache=yes
10526 else
10527 cache=no
10528 fi
10529
10530 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10531
10532 fi
10533
10534
10535 eval "$wx_cv_use_graphics_ctx"
10536 if test "x$cache" = xyes; then
10537 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10538 fi
10539
10540 if test x"$enablestring" = xdisable; then
10541 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10542 result=no
10543 else
10544 result=yes
10545 fi
10546 else
10547 result=$wxUSE_GRAPHICS_CONTEXT
10548 fi
10549
10550 { echo "$as_me:$LINENO: result: $result" >&5
10551 echo "${ECHO_T}$result" >&6; }
10552
10553
10554 enablestring=
10555 defaultval=$wxUSE_ALL_FEATURES
10556 if test -z "$defaultval"; then
10557 if test x"$enablestring" = xdisable; then
10558 defaultval=yes
10559 else
10560 defaultval=no
10561 fi
10562 fi
10563
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10566 # Check whether --enable-postscript was given.
10567 if test "${enable_postscript+set}" = set; then
10568 enableval=$enable_postscript;
10569 if test "$enableval" = yes; then
10570 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10571 else
10572 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10573 fi
10574 cache=yes
10575
10576 else
10577
10578 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 cache=yes
10582 else
10583 cache=no
10584 fi
10585
10586 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10587
10588 fi
10589
10590
10591 eval "$wx_cv_use_postscript"
10592 if test "x$cache" = xyes; then
10593 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10594 fi
10595
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_POSTSCRIPT = yes; then
10598 result=no
10599 else
10600 result=yes
10601 fi
10602 else
10603 result=$wxUSE_POSTSCRIPT
10604 fi
10605
10606 { echo "$as_me:$LINENO: result: $result" >&5
10607 echo "${ECHO_T}$result" >&6; }
10608
10609
10610 enablestring=
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10614 defaultval=yes
10615 else
10616 defaultval=no
10617 fi
10618 fi
10619
10620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10621 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10622 # Check whether --enable-svg was given.
10623 if test "${enable_svg+set}" = set; then
10624 enableval=$enable_svg;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_svg='wxUSE_SVG=yes'
10627 else
10628 wx_cv_use_svg='wxUSE_SVG=no'
10629 fi
10630 cache=yes
10631
10632 else
10633
10634 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10635 if test "x$LINE" != x ; then
10636 eval "DEFAULT_$LINE"
10637 cache=yes
10638 else
10639 cache=no
10640 fi
10641
10642 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10643
10644 fi
10645
10646
10647 eval "$wx_cv_use_svg"
10648 if test "x$cache" = xyes; then
10649 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10650 fi
10651
10652 if test x"$enablestring" = xdisable; then
10653 if test $wxUSE_SVG = yes; then
10654 result=no
10655 else
10656 result=yes
10657 fi
10658 else
10659 result=$wxUSE_SVG
10660 fi
10661
10662 { echo "$as_me:$LINENO: result: $result" >&5
10663 echo "${ECHO_T}$result" >&6; }
10664
10665
10666
10667
10668 enablestring=
10669 defaultval=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x"$enablestring" = xdisable; then
10672 defaultval=yes
10673 else
10674 defaultval=no
10675 fi
10676 fi
10677
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10680 # Check whether --enable-clipboard was given.
10681 if test "${enable_clipboard+set}" = set; then
10682 enableval=$enable_clipboard;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10685 else
10686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10687 fi
10688 cache=yes
10689
10690 else
10691
10692 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10693 if test "x$LINE" != x ; then
10694 eval "DEFAULT_$LINE"
10695 cache=yes
10696 else
10697 cache=no
10698 fi
10699
10700 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10701
10702 fi
10703
10704
10705 eval "$wx_cv_use_clipboard"
10706 if test "x$cache" = xyes; then
10707 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10708 fi
10709
10710 if test x"$enablestring" = xdisable; then
10711 if test $wxUSE_CLIPBOARD = yes; then
10712 result=no
10713 else
10714 result=yes
10715 fi
10716 else
10717 result=$wxUSE_CLIPBOARD
10718 fi
10719
10720 { echo "$as_me:$LINENO: result: $result" >&5
10721 echo "${ECHO_T}$result" >&6; }
10722
10723
10724 enablestring=
10725 defaultval=$wxUSE_ALL_FEATURES
10726 if test -z "$defaultval"; then
10727 if test x"$enablestring" = xdisable; then
10728 defaultval=yes
10729 else
10730 defaultval=no
10731 fi
10732 fi
10733
10734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10735 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10736 # Check whether --enable-dnd was given.
10737 if test "${enable_dnd+set}" = set; then
10738 enableval=$enable_dnd;
10739 if test "$enableval" = yes; then
10740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10741 else
10742 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10743 fi
10744 cache=yes
10745
10746 else
10747
10748 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10749 if test "x$LINE" != x ; then
10750 eval "DEFAULT_$LINE"
10751 cache=yes
10752 else
10753 cache=no
10754 fi
10755
10756 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10757
10758 fi
10759
10760
10761 eval "$wx_cv_use_dnd"
10762 if test "x$cache" = xyes; then
10763 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10764 fi
10765
10766 if test x"$enablestring" = xdisable; then
10767 if test $wxUSE_DRAG_AND_DROP = yes; then
10768 result=no
10769 else
10770 result=yes
10771 fi
10772 else
10773 result=$wxUSE_DRAG_AND_DROP
10774 fi
10775
10776 { echo "$as_me:$LINENO: result: $result" >&5
10777 echo "${ECHO_T}$result" >&6; }
10778
10779
10780 enablestring=
10781 defaultval=$wxUSE_ALL_FEATURES
10782 if test -z "$defaultval"; then
10783 if test x"$enablestring" = xdisable; then
10784 defaultval=yes
10785 else
10786 defaultval=no
10787 fi
10788 fi
10789
10790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10791 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10792 # Check whether --enable-metafile was given.
10793 if test "${enable_metafile+set}" = set; then
10794 enableval=$enable_metafile;
10795 if test "$enableval" = yes; then
10796 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10797 else
10798 wx_cv_use_metafile='wxUSE_METAFILE=no'
10799 fi
10800 cache=yes
10801
10802 else
10803
10804 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10805 if test "x$LINE" != x ; then
10806 eval "DEFAULT_$LINE"
10807 cache=yes
10808 else
10809 cache=no
10810 fi
10811
10812 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10813
10814 fi
10815
10816
10817 eval "$wx_cv_use_metafile"
10818 if test "x$cache" = xyes; then
10819 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10820 fi
10821
10822 if test x"$enablestring" = xdisable; then
10823 if test $wxUSE_METAFILE = yes; then
10824 result=no
10825 else
10826 result=yes
10827 fi
10828 else
10829 result=$wxUSE_METAFILE
10830 fi
10831
10832 { echo "$as_me:$LINENO: result: $result" >&5
10833 echo "${ECHO_T}$result" >&6; }
10834
10835
10836
10837 DEFAULT_wxUSE_CONTROLS=none
10838
10839 enablestring=disable
10840 defaultval=
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10843 defaultval=yes
10844 else
10845 defaultval=no
10846 fi
10847 fi
10848
10849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10851 # Check whether --enable-controls was given.
10852 if test "${enable_controls+set}" = set; then
10853 enableval=$enable_controls;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10856 else
10857 wx_cv_use_controls='wxUSE_CONTROLS=no'
10858 fi
10859 cache=yes
10860
10861 else
10862
10863 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10864 if test "x$LINE" != x ; then
10865 eval "DEFAULT_$LINE"
10866 cache=yes
10867 else
10868 cache=no
10869 fi
10870
10871 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10872
10873 fi
10874
10875
10876 eval "$wx_cv_use_controls"
10877 if test "x$cache" = xyes; then
10878 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10879 fi
10880
10881 if test x"$enablestring" = xdisable; then
10882 if test $wxUSE_CONTROLS = yes; then
10883 result=no
10884 else
10885 result=yes
10886 fi
10887 else
10888 result=$wxUSE_CONTROLS
10889 fi
10890
10891 { echo "$as_me:$LINENO: result: $result" >&5
10892 echo "${ECHO_T}$result" >&6; }
10893
10894
10895 if test "$wxUSE_CONTROLS" = "yes"; then
10896 DEFAULT_wxUSE_ACCEL=yes
10897 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10898 DEFAULT_wxUSE_BMPBUTTON=yes
10899 DEFAULT_wxUSE_BUTTON=yes
10900 DEFAULT_wxUSE_CALCTRL=yes
10901 DEFAULT_wxUSE_CARET=yes
10902 DEFAULT_wxUSE_COMBOBOX=yes
10903 DEFAULT_wxUSE_CHECKBOX=yes
10904 DEFAULT_wxUSE_CHECKLISTBOX=yes
10905 DEFAULT_wxUSE_CHOICE=yes
10906 DEFAULT_wxUSE_CHOICEBOOK=yes
10907 DEFAULT_wxUSE_COLLPANE=yes
10908 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10909 DEFAULT_wxUSE_COMBOBOX=yes
10910 DEFAULT_wxUSE_DATEPICKCTRL=yes
10911 DEFAULT_wxUSE_DISPLAY=yes
10912 DEFAULT_wxUSE_DETECT_SM=yes
10913 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10914 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10915 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10916 DEFAULT_wxUSE_GAUGE=yes
10917 DEFAULT_wxUSE_GRID=yes
10918 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10919 DEFAULT_wxUSE_DATAVIEWCTRL=no
10920 DEFAULT_wxUSE_IMAGLIST=yes
10921 DEFAULT_wxUSE_LISTBOOK=yes
10922 DEFAULT_wxUSE_LISTBOX=yes
10923 DEFAULT_wxUSE_LISTCTRL=yes
10924 DEFAULT_wxUSE_NOTEBOOK=yes
10925 DEFAULT_wxUSE_RADIOBOX=yes
10926 DEFAULT_wxUSE_RADIOBTN=yes
10927 DEFAULT_wxUSE_SASH=yes
10928 DEFAULT_wxUSE_SCROLLBAR=yes
10929 DEFAULT_wxUSE_SEARCHCTRL=yes
10930 DEFAULT_wxUSE_SLIDER=yes
10931 DEFAULT_wxUSE_SPINBTN=yes
10932 DEFAULT_wxUSE_SPINCTRL=yes
10933 DEFAULT_wxUSE_SPLITTER=yes
10934 DEFAULT_wxUSE_STATBMP=yes
10935 DEFAULT_wxUSE_STATBOX=yes
10936 DEFAULT_wxUSE_STATLINE=yes
10937 DEFAULT_wxUSE_STATUSBAR=yes
10938 DEFAULT_wxUSE_TAB_DIALOG=yes
10939 DEFAULT_wxUSE_TOGGLEBTN=yes
10940 DEFAULT_wxUSE_TOOLBAR=yes
10941 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10942 DEFAULT_wxUSE_TOOLTIPS=yes
10943 DEFAULT_wxUSE_TREEBOOK=yes
10944 DEFAULT_wxUSE_TOOLBOOK=yes
10945 DEFAULT_wxUSE_TREECTRL=yes
10946 DEFAULT_wxUSE_POPUPWIN=yes
10947 DEFAULT_wxUSE_TIPWINDOW=yes
10948 elif test "$wxUSE_CONTROLS" = "no"; then
10949 DEFAULT_wxUSE_ACCEL=no
10950 DEFAULT_wxUSE_ANIMATIONCTRL=no
10951 DEFAULT_wxUSE_BMPBUTTON=no
10952 DEFAULT_wxUSE_BUTTON=no
10953 DEFAULT_wxUSE_CALCTRL=no
10954 DEFAULT_wxUSE_CARET=no
10955 DEFAULT_wxUSE_COLLPANE=no
10956 DEFAULT_wxUSE_COMBOBOX=no
10957 DEFAULT_wxUSE_CHECKBOX=no
10958 DEFAULT_wxUSE_CHECKLISTBOX=no
10959 DEFAULT_wxUSE_CHOICE=no
10960 DEFAULT_wxUSE_CHOICEBOOK=no
10961 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10962 DEFAULT_wxUSE_COMBOBOX=no
10963 DEFAULT_wxUSE_DATEPICKCTRL=no
10964 DEFAULT_wxUSE_DISPLAY=no
10965 DEFAULT_wxUSE_DETECT_SM=no
10966 DEFAULT_wxUSE_DIRPICKERCTRL=no
10967 DEFAULT_wxUSE_FILEPICKERCTRL=no
10968 DEFAULT_wxUSE_FONTPICKERCTRL=no
10969 DEFAULT_wxUSE_GAUGE=no
10970 DEFAULT_wxUSE_GRID=no
10971 DEFAULT_wxUSE_HYPERLINKCTRL=no
10972 DEFAULT_wxUSE_DATAVIEWCTRL=no
10973 DEFAULT_wxUSE_IMAGLIST=no
10974 DEFAULT_wxUSE_LISTBOOK=no
10975 DEFAULT_wxUSE_LISTBOX=no
10976 DEFAULT_wxUSE_LISTCTRL=no
10977 DEFAULT_wxUSE_NOTEBOOK=no
10978 DEFAULT_wxUSE_RADIOBOX=no
10979 DEFAULT_wxUSE_RADIOBTN=no
10980 DEFAULT_wxUSE_SASH=no
10981 DEFAULT_wxUSE_SCROLLBAR=no
10982 DEFAULT_wxUSE_SEARCHCTRL=no
10983 DEFAULT_wxUSE_SLIDER=no
10984 DEFAULT_wxUSE_SPINBTN=no
10985 DEFAULT_wxUSE_SPINCTRL=no
10986 DEFAULT_wxUSE_SPLITTER=no
10987 DEFAULT_wxUSE_STATBMP=no
10988 DEFAULT_wxUSE_STATBOX=no
10989 DEFAULT_wxUSE_STATLINE=no
10990 DEFAULT_wxUSE_STATUSBAR=no
10991 DEFAULT_wxUSE_TAB_DIALOG=no
10992 DEFAULT_wxUSE_TOGGLEBTN=no
10993 DEFAULT_wxUSE_TOOLBAR=no
10994 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10995 DEFAULT_wxUSE_TOOLTIPS=no
10996 DEFAULT_wxUSE_TREEBOOK=no
10997 DEFAULT_wxUSE_TOOLBOOK=no
10998 DEFAULT_wxUSE_TREECTRL=no
10999 DEFAULT_wxUSE_POPUPWIN=no
11000 DEFAULT_wxUSE_TIPWINDOW=no
11001 fi
11002
11003
11004 enablestring=
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11008 defaultval=yes
11009 else
11010 defaultval=no
11011 fi
11012 fi
11013
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11016 # Check whether --enable-accel was given.
11017 if test "${enable_accel+set}" = set; then
11018 enableval=$enable_accel;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_accel='wxUSE_ACCEL=yes'
11021 else
11022 wx_cv_use_accel='wxUSE_ACCEL=no'
11023 fi
11024 cache=yes
11025
11026 else
11027
11028 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11029 if test "x$LINE" != x ; then
11030 eval "DEFAULT_$LINE"
11031 cache=yes
11032 else
11033 cache=no
11034 fi
11035
11036 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11037
11038 fi
11039
11040
11041 eval "$wx_cv_use_accel"
11042 if test "x$cache" = xyes; then
11043 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_ACCEL = yes; then
11048 result=no
11049 else
11050 result=yes
11051 fi
11052 else
11053 result=$wxUSE_ACCEL
11054 fi
11055
11056 { echo "$as_me:$LINENO: result: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11058
11059
11060 enablestring=
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11064 defaultval=yes
11065 else
11066 defaultval=no
11067 fi
11068 fi
11069
11070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11071 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11072 # Check whether --enable-animatectrl was given.
11073 if test "${enable_animatectrl+set}" = set; then
11074 enableval=$enable_animatectrl;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11077 else
11078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11079 fi
11080 cache=yes
11081
11082 else
11083
11084 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11085 if test "x$LINE" != x ; then
11086 eval "DEFAULT_$LINE"
11087 cache=yes
11088 else
11089 cache=no
11090 fi
11091
11092 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_animatectrl"
11098 if test "x$cache" = xyes; then
11099 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11100 fi
11101
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_ANIMATIONCTRL = yes; then
11104 result=no
11105 else
11106 result=yes
11107 fi
11108 else
11109 result=$wxUSE_ANIMATIONCTRL
11110 fi
11111
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11114
11115
11116 enablestring=
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11120 defaultval=yes
11121 else
11122 defaultval=no
11123 fi
11124 fi
11125
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11128 # Check whether --enable-button was given.
11129 if test "${enable_button+set}" = set; then
11130 enableval=$enable_button;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_button='wxUSE_BUTTON=yes'
11133 else
11134 wx_cv_use_button='wxUSE_BUTTON=no'
11135 fi
11136 cache=yes
11137
11138 else
11139
11140 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11141 if test "x$LINE" != x ; then
11142 eval "DEFAULT_$LINE"
11143 cache=yes
11144 else
11145 cache=no
11146 fi
11147
11148 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11149
11150 fi
11151
11152
11153 eval "$wx_cv_use_button"
11154 if test "x$cache" = xyes; then
11155 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11156 fi
11157
11158 if test x"$enablestring" = xdisable; then
11159 if test $wxUSE_BUTTON = yes; then
11160 result=no
11161 else
11162 result=yes
11163 fi
11164 else
11165 result=$wxUSE_BUTTON
11166 fi
11167
11168 { echo "$as_me:$LINENO: result: $result" >&5
11169 echo "${ECHO_T}$result" >&6; }
11170
11171
11172 enablestring=
11173 defaultval=$wxUSE_ALL_FEATURES
11174 if test -z "$defaultval"; then
11175 if test x"$enablestring" = xdisable; then
11176 defaultval=yes
11177 else
11178 defaultval=no
11179 fi
11180 fi
11181
11182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11184 # Check whether --enable-bmpbutton was given.
11185 if test "${enable_bmpbutton+set}" = set; then
11186 enableval=$enable_bmpbutton;
11187 if test "$enableval" = yes; then
11188 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11189 else
11190 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11191 fi
11192 cache=yes
11193
11194 else
11195
11196 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11197 if test "x$LINE" != x ; then
11198 eval "DEFAULT_$LINE"
11199 cache=yes
11200 else
11201 cache=no
11202 fi
11203
11204 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11205
11206 fi
11207
11208
11209 eval "$wx_cv_use_bmpbutton"
11210 if test "x$cache" = xyes; then
11211 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11212 fi
11213
11214 if test x"$enablestring" = xdisable; then
11215 if test $wxUSE_BMPBUTTON = yes; then
11216 result=no
11217 else
11218 result=yes
11219 fi
11220 else
11221 result=$wxUSE_BMPBUTTON
11222 fi
11223
11224 { echo "$as_me:$LINENO: result: $result" >&5
11225 echo "${ECHO_T}$result" >&6; }
11226
11227
11228 enablestring=
11229 defaultval=$wxUSE_ALL_FEATURES
11230 if test -z "$defaultval"; then
11231 if test x"$enablestring" = xdisable; then
11232 defaultval=yes
11233 else
11234 defaultval=no
11235 fi
11236 fi
11237
11238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11239 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11240 # Check whether --enable-bmpcombobox was given.
11241 if test "${enable_bmpcombobox+set}" = set; then
11242 enableval=$enable_bmpcombobox;
11243 if test "$enableval" = yes; then
11244 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11245 else
11246 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11247 fi
11248 cache=yes
11249
11250 else
11251
11252 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11253 if test "x$LINE" != x ; then
11254 eval "DEFAULT_$LINE"
11255 cache=yes
11256 else
11257 cache=no
11258 fi
11259
11260 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11261
11262 fi
11263
11264
11265 eval "$wx_cv_use_bmpcombobox"
11266 if test "x$cache" = xyes; then
11267 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11268 fi
11269
11270 if test x"$enablestring" = xdisable; then
11271 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11272 result=no
11273 else
11274 result=yes
11275 fi
11276 else
11277 result=$wxUSE_BITMAPCOMBOBOX
11278 fi
11279
11280 { echo "$as_me:$LINENO: result: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11282
11283
11284 enablestring=
11285 defaultval=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x"$enablestring" = xdisable; then
11288 defaultval=yes
11289 else
11290 defaultval=no
11291 fi
11292 fi
11293
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11296 # Check whether --enable-calendar was given.
11297 if test "${enable_calendar+set}" = set; then
11298 enableval=$enable_calendar;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11301 else
11302 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11303 fi
11304 cache=yes
11305
11306 else
11307
11308 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11309 if test "x$LINE" != x ; then
11310 eval "DEFAULT_$LINE"
11311 cache=yes
11312 else
11313 cache=no
11314 fi
11315
11316 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11317
11318 fi
11319
11320
11321 eval "$wx_cv_use_calendar"
11322 if test "x$cache" = xyes; then
11323 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11324 fi
11325
11326 if test x"$enablestring" = xdisable; then
11327 if test $wxUSE_CALCTRL = yes; then
11328 result=no
11329 else
11330 result=yes
11331 fi
11332 else
11333 result=$wxUSE_CALCTRL
11334 fi
11335
11336 { echo "$as_me:$LINENO: result: $result" >&5
11337 echo "${ECHO_T}$result" >&6; }
11338
11339
11340 enablestring=
11341 defaultval=$wxUSE_ALL_FEATURES
11342 if test -z "$defaultval"; then
11343 if test x"$enablestring" = xdisable; then
11344 defaultval=yes
11345 else
11346 defaultval=no
11347 fi
11348 fi
11349
11350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11351 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11352 # Check whether --enable-caret was given.
11353 if test "${enable_caret+set}" = set; then
11354 enableval=$enable_caret;
11355 if test "$enableval" = yes; then
11356 wx_cv_use_caret='wxUSE_CARET=yes'
11357 else
11358 wx_cv_use_caret='wxUSE_CARET=no'
11359 fi
11360 cache=yes
11361
11362 else
11363
11364 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11365 if test "x$LINE" != x ; then
11366 eval "DEFAULT_$LINE"
11367 cache=yes
11368 else
11369 cache=no
11370 fi
11371
11372 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11373
11374 fi
11375
11376
11377 eval "$wx_cv_use_caret"
11378 if test "x$cache" = xyes; then
11379 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11380 fi
11381
11382 if test x"$enablestring" = xdisable; then
11383 if test $wxUSE_CARET = yes; then
11384 result=no
11385 else
11386 result=yes
11387 fi
11388 else
11389 result=$wxUSE_CARET
11390 fi
11391
11392 { echo "$as_me:$LINENO: result: $result" >&5
11393 echo "${ECHO_T}$result" >&6; }
11394
11395
11396 enablestring=
11397 defaultval=$wxUSE_ALL_FEATURES
11398 if test -z "$defaultval"; then
11399 if test x"$enablestring" = xdisable; then
11400 defaultval=yes
11401 else
11402 defaultval=no
11403 fi
11404 fi
11405
11406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11408 # Check whether --enable-checkbox was given.
11409 if test "${enable_checkbox+set}" = set; then
11410 enableval=$enable_checkbox;
11411 if test "$enableval" = yes; then
11412 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11413 else
11414 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11415 fi
11416 cache=yes
11417
11418 else
11419
11420 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11423 cache=yes
11424 else
11425 cache=no
11426 fi
11427
11428 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11429
11430 fi
11431
11432
11433 eval "$wx_cv_use_checkbox"
11434 if test "x$cache" = xyes; then
11435 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11436 fi
11437
11438 if test x"$enablestring" = xdisable; then
11439 if test $wxUSE_CHECKBOX = yes; then
11440 result=no
11441 else
11442 result=yes
11443 fi
11444 else
11445 result=$wxUSE_CHECKBOX
11446 fi
11447
11448 { echo "$as_me:$LINENO: result: $result" >&5
11449 echo "${ECHO_T}$result" >&6; }
11450
11451
11452 enablestring=
11453 defaultval=$wxUSE_ALL_FEATURES
11454 if test -z "$defaultval"; then
11455 if test x"$enablestring" = xdisable; then
11456 defaultval=yes
11457 else
11458 defaultval=no
11459 fi
11460 fi
11461
11462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11463 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11464 # Check whether --enable-checklst was given.
11465 if test "${enable_checklst+set}" = set; then
11466 enableval=$enable_checklst;
11467 if test "$enableval" = yes; then
11468 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11469 else
11470 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11471 fi
11472 cache=yes
11473
11474 else
11475
11476 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11477 if test "x$LINE" != x ; then
11478 eval "DEFAULT_$LINE"
11479 cache=yes
11480 else
11481 cache=no
11482 fi
11483
11484 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_checklst"
11490 if test "x$cache" = xyes; then
11491 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11492 fi
11493
11494 if test x"$enablestring" = xdisable; then
11495 if test $wxUSE_CHECKLST = yes; then
11496 result=no
11497 else
11498 result=yes
11499 fi
11500 else
11501 result=$wxUSE_CHECKLST
11502 fi
11503
11504 { echo "$as_me:$LINENO: result: $result" >&5
11505 echo "${ECHO_T}$result" >&6; }
11506
11507
11508 enablestring=
11509 defaultval=$wxUSE_ALL_FEATURES
11510 if test -z "$defaultval"; then
11511 if test x"$enablestring" = xdisable; then
11512 defaultval=yes
11513 else
11514 defaultval=no
11515 fi
11516 fi
11517
11518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11519 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11520 # Check whether --enable-choice was given.
11521 if test "${enable_choice+set}" = set; then
11522 enableval=$enable_choice;
11523 if test "$enableval" = yes; then
11524 wx_cv_use_choice='wxUSE_CHOICE=yes'
11525 else
11526 wx_cv_use_choice='wxUSE_CHOICE=no'
11527 fi
11528 cache=yes
11529
11530 else
11531
11532 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x ; then
11534 eval "DEFAULT_$LINE"
11535 cache=yes
11536 else
11537 cache=no
11538 fi
11539
11540 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11541
11542 fi
11543
11544
11545 eval "$wx_cv_use_choice"
11546 if test "x$cache" = xyes; then
11547 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11548 fi
11549
11550 if test x"$enablestring" = xdisable; then
11551 if test $wxUSE_CHOICE = yes; then
11552 result=no
11553 else
11554 result=yes
11555 fi
11556 else
11557 result=$wxUSE_CHOICE
11558 fi
11559
11560 { echo "$as_me:$LINENO: result: $result" >&5
11561 echo "${ECHO_T}$result" >&6; }
11562
11563
11564 enablestring=
11565 defaultval=$wxUSE_ALL_FEATURES
11566 if test -z "$defaultval"; then
11567 if test x"$enablestring" = xdisable; then
11568 defaultval=yes
11569 else
11570 defaultval=no
11571 fi
11572 fi
11573
11574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11576 # Check whether --enable-choicebook was given.
11577 if test "${enable_choicebook+set}" = set; then
11578 enableval=$enable_choicebook;
11579 if test "$enableval" = yes; then
11580 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11581 else
11582 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11583 fi
11584 cache=yes
11585
11586 else
11587
11588 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11591 cache=yes
11592 else
11593 cache=no
11594 fi
11595
11596 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11597
11598 fi
11599
11600
11601 eval "$wx_cv_use_choicebook"
11602 if test "x$cache" = xyes; then
11603 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11604 fi
11605
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_CHOICEBOOK = yes; then
11608 result=no
11609 else
11610 result=yes
11611 fi
11612 else
11613 result=$wxUSE_CHOICEBOOK
11614 fi
11615
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11618
11619
11620 enablestring=
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11624 defaultval=yes
11625 else
11626 defaultval=no
11627 fi
11628 fi
11629
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11632 # Check whether --enable-collpane was given.
11633 if test "${enable_collpane+set}" = set; then
11634 enableval=$enable_collpane;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11637 else
11638 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11639 fi
11640 cache=yes
11641
11642 else
11643
11644 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11645 if test "x$LINE" != x ; then
11646 eval "DEFAULT_$LINE"
11647 cache=yes
11648 else
11649 cache=no
11650 fi
11651
11652 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11653
11654 fi
11655
11656
11657 eval "$wx_cv_use_collpane"
11658 if test "x$cache" = xyes; then
11659 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11660 fi
11661
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_COLLPANE = yes; then
11664 result=no
11665 else
11666 result=yes
11667 fi
11668 else
11669 result=$wxUSE_COLLPANE
11670 fi
11671
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11674
11675
11676 enablestring=
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11680 defaultval=yes
11681 else
11682 defaultval=no
11683 fi
11684 fi
11685
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11688 # Check whether --enable-colourpicker was given.
11689 if test "${enable_colourpicker+set}" = set; then
11690 enableval=$enable_colourpicker;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11693 else
11694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11695 fi
11696 cache=yes
11697
11698 else
11699
11700 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x ; then
11702 eval "DEFAULT_$LINE"
11703 cache=yes
11704 else
11705 cache=no
11706 fi
11707
11708 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_colourpicker"
11714 if test "x$cache" = xyes; then
11715 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11716 fi
11717
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_COLOURPICKERCTRL = yes; then
11720 result=no
11721 else
11722 result=yes
11723 fi
11724 else
11725 result=$wxUSE_COLOURPICKERCTRL
11726 fi
11727
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11730
11731
11732 enablestring=
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11736 defaultval=yes
11737 else
11738 defaultval=no
11739 fi
11740 fi
11741
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11744 # Check whether --enable-combobox was given.
11745 if test "${enable_combobox+set}" = set; then
11746 enableval=$enable_combobox;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11749 else
11750 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11751 fi
11752 cache=yes
11753
11754 else
11755
11756 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 cache=yes
11760 else
11761 cache=no
11762 fi
11763
11764 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11765
11766 fi
11767
11768
11769 eval "$wx_cv_use_combobox"
11770 if test "x$cache" = xyes; then
11771 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11772 fi
11773
11774 if test x"$enablestring" = xdisable; then
11775 if test $wxUSE_COMBOBOX = yes; then
11776 result=no
11777 else
11778 result=yes
11779 fi
11780 else
11781 result=$wxUSE_COMBOBOX
11782 fi
11783
11784 { echo "$as_me:$LINENO: result: $result" >&5
11785 echo "${ECHO_T}$result" >&6; }
11786
11787
11788 enablestring=
11789 defaultval=$wxUSE_ALL_FEATURES
11790 if test -z "$defaultval"; then
11791 if test x"$enablestring" = xdisable; then
11792 defaultval=yes
11793 else
11794 defaultval=no
11795 fi
11796 fi
11797
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11800 # Check whether --enable-comboctrl was given.
11801 if test "${enable_comboctrl+set}" = set; then
11802 enableval=$enable_comboctrl;
11803 if test "$enableval" = yes; then
11804 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11805 else
11806 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11807 fi
11808 cache=yes
11809
11810 else
11811
11812 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11813 if test "x$LINE" != x ; then
11814 eval "DEFAULT_$LINE"
11815 cache=yes
11816 else
11817 cache=no
11818 fi
11819
11820 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11821
11822 fi
11823
11824
11825 eval "$wx_cv_use_comboctrl"
11826 if test "x$cache" = xyes; then
11827 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11828 fi
11829
11830 if test x"$enablestring" = xdisable; then
11831 if test $wxUSE_COMBOCTRL = yes; then
11832 result=no
11833 else
11834 result=yes
11835 fi
11836 else
11837 result=$wxUSE_COMBOCTRL
11838 fi
11839
11840 { echo "$as_me:$LINENO: result: $result" >&5
11841 echo "${ECHO_T}$result" >&6; }
11842
11843
11844 enablestring=
11845 defaultval=$wxUSE_ALL_FEATURES
11846 if test -z "$defaultval"; then
11847 if test x"$enablestring" = xdisable; then
11848 defaultval=yes
11849 else
11850 defaultval=no
11851 fi
11852 fi
11853
11854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11855 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11856 # Check whether --enable-datepick was given.
11857 if test "${enable_datepick+set}" = set; then
11858 enableval=$enable_datepick;
11859 if test "$enableval" = yes; then
11860 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11861 else
11862 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11863 fi
11864 cache=yes
11865
11866 else
11867
11868 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11869 if test "x$LINE" != x ; then
11870 eval "DEFAULT_$LINE"
11871 cache=yes
11872 else
11873 cache=no
11874 fi
11875
11876 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11877
11878 fi
11879
11880
11881 eval "$wx_cv_use_datepick"
11882 if test "x$cache" = xyes; then
11883 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11884 fi
11885
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_DATEPICKCTRL = yes; then
11888 result=no
11889 else
11890 result=yes
11891 fi
11892 else
11893 result=$wxUSE_DATEPICKCTRL
11894 fi
11895
11896 { echo "$as_me:$LINENO: result: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11898
11899
11900 enablestring=
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11904 defaultval=yes
11905 else
11906 defaultval=no
11907 fi
11908 fi
11909
11910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11911 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11912 # Check whether --enable-dirpicker was given.
11913 if test "${enable_dirpicker+set}" = set; then
11914 enableval=$enable_dirpicker;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11917 else
11918 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11919 fi
11920 cache=yes
11921
11922 else
11923
11924 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11925 if test "x$LINE" != x ; then
11926 eval "DEFAULT_$LINE"
11927 cache=yes
11928 else
11929 cache=no
11930 fi
11931
11932 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11933
11934 fi
11935
11936
11937 eval "$wx_cv_use_dirpicker"
11938 if test "x$cache" = xyes; then
11939 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11940 fi
11941
11942 if test x"$enablestring" = xdisable; then
11943 if test $wxUSE_DIRPICKERCTRL = yes; then
11944 result=no
11945 else
11946 result=yes
11947 fi
11948 else
11949 result=$wxUSE_DIRPICKERCTRL
11950 fi
11951
11952 { echo "$as_me:$LINENO: result: $result" >&5
11953 echo "${ECHO_T}$result" >&6; }
11954
11955
11956 enablestring=
11957 defaultval=$wxUSE_ALL_FEATURES
11958 if test -z "$defaultval"; then
11959 if test x"$enablestring" = xdisable; then
11960 defaultval=yes
11961 else
11962 defaultval=no
11963 fi
11964 fi
11965
11966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11967 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11968 # Check whether --enable-display was given.
11969 if test "${enable_display+set}" = set; then
11970 enableval=$enable_display;
11971 if test "$enableval" = yes; then
11972 wx_cv_use_display='wxUSE_DISPLAY=yes'
11973 else
11974 wx_cv_use_display='wxUSE_DISPLAY=no'
11975 fi
11976 cache=yes
11977
11978 else
11979
11980 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11981 if test "x$LINE" != x ; then
11982 eval "DEFAULT_$LINE"
11983 cache=yes
11984 else
11985 cache=no
11986 fi
11987
11988 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11989
11990 fi
11991
11992
11993 eval "$wx_cv_use_display"
11994 if test "x$cache" = xyes; then
11995 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11996 fi
11997
11998 if test x"$enablestring" = xdisable; then
11999 if test $wxUSE_DISPLAY = yes; then
12000 result=no
12001 else
12002 result=yes
12003 fi
12004 else
12005 result=$wxUSE_DISPLAY
12006 fi
12007
12008 { echo "$as_me:$LINENO: result: $result" >&5
12009 echo "${ECHO_T}$result" >&6; }
12010
12011
12012 enablestring=
12013 defaultval=$wxUSE_ALL_FEATURES
12014 if test -z "$defaultval"; then
12015 if test x"$enablestring" = xdisable; then
12016 defaultval=yes
12017 else
12018 defaultval=no
12019 fi
12020 fi
12021
12022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12023 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12024 # Check whether --enable-detect_sm was given.
12025 if test "${enable_detect_sm+set}" = set; then
12026 enableval=$enable_detect_sm;
12027 if test "$enableval" = yes; then
12028 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12029 else
12030 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12031 fi
12032 cache=yes
12033
12034 else
12035
12036 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12037 if test "x$LINE" != x ; then
12038 eval "DEFAULT_$LINE"
12039 cache=yes
12040 else
12041 cache=no
12042 fi
12043
12044 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12045
12046 fi
12047
12048
12049 eval "$wx_cv_use_detect_sm"
12050 if test "x$cache" = xyes; then
12051 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12052 fi
12053
12054 if test x"$enablestring" = xdisable; then
12055 if test $wxUSE_DETECT_SM = yes; then
12056 result=no
12057 else
12058 result=yes
12059 fi
12060 else
12061 result=$wxUSE_DETECT_SM
12062 fi
12063
12064 { echo "$as_me:$LINENO: result: $result" >&5
12065 echo "${ECHO_T}$result" >&6; }
12066
12067
12068 enablestring=
12069 defaultval=$wxUSE_ALL_FEATURES
12070 if test -z "$defaultval"; then
12071 if test x"$enablestring" = xdisable; then
12072 defaultval=yes
12073 else
12074 defaultval=no
12075 fi
12076 fi
12077
12078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12079 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12080 # Check whether --enable-editablebox was given.
12081 if test "${enable_editablebox+set}" = set; then
12082 enableval=$enable_editablebox;
12083 if test "$enableval" = yes; then
12084 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12085 else
12086 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12087 fi
12088 cache=yes
12089
12090 else
12091
12092 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12093 if test "x$LINE" != x ; then
12094 eval "DEFAULT_$LINE"
12095 cache=yes
12096 else
12097 cache=no
12098 fi
12099
12100 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12101
12102 fi
12103
12104
12105 eval "$wx_cv_use_editablebox"
12106 if test "x$cache" = xyes; then
12107 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12108 fi
12109
12110 if test x"$enablestring" = xdisable; then
12111 if test $wxUSE_EDITABLELISTBOX = yes; then
12112 result=no
12113 else
12114 result=yes
12115 fi
12116 else
12117 result=$wxUSE_EDITABLELISTBOX
12118 fi
12119
12120 { echo "$as_me:$LINENO: result: $result" >&5
12121 echo "${ECHO_T}$result" >&6; }
12122
12123
12124 enablestring=
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12128 defaultval=yes
12129 else
12130 defaultval=no
12131 fi
12132 fi
12133
12134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12136 # Check whether --enable-filepicker was given.
12137 if test "${enable_filepicker+set}" = set; then
12138 enableval=$enable_filepicker;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12141 else
12142 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12143 fi
12144 cache=yes
12145
12146 else
12147
12148 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12149 if test "x$LINE" != x ; then
12150 eval "DEFAULT_$LINE"
12151 cache=yes
12152 else
12153 cache=no
12154 fi
12155
12156 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12157
12158 fi
12159
12160
12161 eval "$wx_cv_use_filepicker"
12162 if test "x$cache" = xyes; then
12163 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12164 fi
12165
12166 if test x"$enablestring" = xdisable; then
12167 if test $wxUSE_FILEPICKERCTRL = yes; then
12168 result=no
12169 else
12170 result=yes
12171 fi
12172 else
12173 result=$wxUSE_FILEPICKERCTRL
12174 fi
12175
12176 { echo "$as_me:$LINENO: result: $result" >&5
12177 echo "${ECHO_T}$result" >&6; }
12178
12179
12180 enablestring=
12181 defaultval=$wxUSE_ALL_FEATURES
12182 if test -z "$defaultval"; then
12183 if test x"$enablestring" = xdisable; then
12184 defaultval=yes
12185 else
12186 defaultval=no
12187 fi
12188 fi
12189
12190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12191 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12192 # Check whether --enable-fontpicker was given.
12193 if test "${enable_fontpicker+set}" = set; then
12194 enableval=$enable_fontpicker;
12195 if test "$enableval" = yes; then
12196 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12197 else
12198 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12199 fi
12200 cache=yes
12201
12202 else
12203
12204 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12205 if test "x$LINE" != x ; then
12206 eval "DEFAULT_$LINE"
12207 cache=yes
12208 else
12209 cache=no
12210 fi
12211
12212 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12213
12214 fi
12215
12216
12217 eval "$wx_cv_use_fontpicker"
12218 if test "x$cache" = xyes; then
12219 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12220 fi
12221
12222 if test x"$enablestring" = xdisable; then
12223 if test $wxUSE_FONTPICKERCTRL = yes; then
12224 result=no
12225 else
12226 result=yes
12227 fi
12228 else
12229 result=$wxUSE_FONTPICKERCTRL
12230 fi
12231
12232 { echo "$as_me:$LINENO: result: $result" >&5
12233 echo "${ECHO_T}$result" >&6; }
12234
12235
12236 enablestring=
12237 defaultval=$wxUSE_ALL_FEATURES
12238 if test -z "$defaultval"; then
12239 if test x"$enablestring" = xdisable; then
12240 defaultval=yes
12241 else
12242 defaultval=no
12243 fi
12244 fi
12245
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12248 # Check whether --enable-gauge was given.
12249 if test "${enable_gauge+set}" = set; then
12250 enableval=$enable_gauge;
12251 if test "$enableval" = yes; then
12252 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12253 else
12254 wx_cv_use_gauge='wxUSE_GAUGE=no'
12255 fi
12256 cache=yes
12257
12258 else
12259
12260 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12261 if test "x$LINE" != x ; then
12262 eval "DEFAULT_$LINE"
12263 cache=yes
12264 else
12265 cache=no
12266 fi
12267
12268 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12269
12270 fi
12271
12272
12273 eval "$wx_cv_use_gauge"
12274 if test "x$cache" = xyes; then
12275 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12276 fi
12277
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_GAUGE = yes; then
12280 result=no
12281 else
12282 result=yes
12283 fi
12284 else
12285 result=$wxUSE_GAUGE
12286 fi
12287
12288 { echo "$as_me:$LINENO: result: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12290
12291
12292 enablestring=
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12296 defaultval=yes
12297 else
12298 defaultval=no
12299 fi
12300 fi
12301
12302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12303 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12304 # Check whether --enable-grid was given.
12305 if test "${enable_grid+set}" = set; then
12306 enableval=$enable_grid;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_grid='wxUSE_GRID=yes'
12309 else
12310 wx_cv_use_grid='wxUSE_GRID=no'
12311 fi
12312 cache=yes
12313
12314 else
12315
12316 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12317 if test "x$LINE" != x ; then
12318 eval "DEFAULT_$LINE"
12319 cache=yes
12320 else
12321 cache=no
12322 fi
12323
12324 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12325
12326 fi
12327
12328
12329 eval "$wx_cv_use_grid"
12330 if test "x$cache" = xyes; then
12331 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12332 fi
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_GRID = yes; then
12336 result=no
12337 else
12338 result=yes
12339 fi
12340 else
12341 result=$wxUSE_GRID
12342 fi
12343
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12346
12347
12348 enablestring=
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12352 defaultval=yes
12353 else
12354 defaultval=no
12355 fi
12356 fi
12357
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12360 # Check whether --enable-dataviewctrl was given.
12361 if test "${enable_dataviewctrl+set}" = set; then
12362 enableval=$enable_dataviewctrl;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12365 else
12366 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12367 fi
12368 cache=yes
12369
12370 else
12371
12372 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12373 if test "x$LINE" != x ; then
12374 eval "DEFAULT_$LINE"
12375 cache=yes
12376 else
12377 cache=no
12378 fi
12379
12380 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12381
12382 fi
12383
12384
12385 eval "$wx_cv_use_dataviewctrl"
12386 if test "x$cache" = xyes; then
12387 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12388 fi
12389
12390 if test x"$enablestring" = xdisable; then
12391 if test $wxUSE_DATAVIEWCTRL = yes; then
12392 result=no
12393 else
12394 result=yes
12395 fi
12396 else
12397 result=$wxUSE_DATAVIEWCTRL
12398 fi
12399
12400 { echo "$as_me:$LINENO: result: $result" >&5
12401 echo "${ECHO_T}$result" >&6; }
12402
12403
12404 enablestring=
12405 defaultval=$wxUSE_ALL_FEATURES
12406 if test -z "$defaultval"; then
12407 if test x"$enablestring" = xdisable; then
12408 defaultval=yes
12409 else
12410 defaultval=no
12411 fi
12412 fi
12413
12414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12415 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12416 # Check whether --enable-hyperlink was given.
12417 if test "${enable_hyperlink+set}" = set; then
12418 enableval=$enable_hyperlink;
12419 if test "$enableval" = yes; then
12420 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12421 else
12422 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12423 fi
12424 cache=yes
12425
12426 else
12427
12428 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12429 if test "x$LINE" != x ; then
12430 eval "DEFAULT_$LINE"
12431 cache=yes
12432 else
12433 cache=no
12434 fi
12435
12436 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12437
12438 fi
12439
12440
12441 eval "$wx_cv_use_hyperlink"
12442 if test "x$cache" = xyes; then
12443 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12444 fi
12445
12446 if test x"$enablestring" = xdisable; then
12447 if test $wxUSE_HYPERLINKCTRL = yes; then
12448 result=no
12449 else
12450 result=yes
12451 fi
12452 else
12453 result=$wxUSE_HYPERLINKCTRL
12454 fi
12455
12456 { echo "$as_me:$LINENO: result: $result" >&5
12457 echo "${ECHO_T}$result" >&6; }
12458
12459
12460 enablestring=
12461 defaultval=$wxUSE_ALL_FEATURES
12462 if test -z "$defaultval"; then
12463 if test x"$enablestring" = xdisable; then
12464 defaultval=yes
12465 else
12466 defaultval=no
12467 fi
12468 fi
12469
12470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12471 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12472 # Check whether --enable-imaglist was given.
12473 if test "${enable_imaglist+set}" = set; then
12474 enableval=$enable_imaglist;
12475 if test "$enableval" = yes; then
12476 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12477 else
12478 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12479 fi
12480 cache=yes
12481
12482 else
12483
12484 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12485 if test "x$LINE" != x ; then
12486 eval "DEFAULT_$LINE"
12487 cache=yes
12488 else
12489 cache=no
12490 fi
12491
12492 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12493
12494 fi
12495
12496
12497 eval "$wx_cv_use_imaglist"
12498 if test "x$cache" = xyes; then
12499 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12500 fi
12501
12502 if test x"$enablestring" = xdisable; then
12503 if test $wxUSE_IMAGLIST = yes; then
12504 result=no
12505 else
12506 result=yes
12507 fi
12508 else
12509 result=$wxUSE_IMAGLIST
12510 fi
12511
12512 { echo "$as_me:$LINENO: result: $result" >&5
12513 echo "${ECHO_T}$result" >&6; }
12514
12515
12516 enablestring=
12517 defaultval=$wxUSE_ALL_FEATURES
12518 if test -z "$defaultval"; then
12519 if test x"$enablestring" = xdisable; then
12520 defaultval=yes
12521 else
12522 defaultval=no
12523 fi
12524 fi
12525
12526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12527 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12528 # Check whether --enable-listbook was given.
12529 if test "${enable_listbook+set}" = set; then
12530 enableval=$enable_listbook;
12531 if test "$enableval" = yes; then
12532 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12533 else
12534 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12535 fi
12536 cache=yes
12537
12538 else
12539
12540 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12541 if test "x$LINE" != x ; then
12542 eval "DEFAULT_$LINE"
12543 cache=yes
12544 else
12545 cache=no
12546 fi
12547
12548 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12549
12550 fi
12551
12552
12553 eval "$wx_cv_use_listbook"
12554 if test "x$cache" = xyes; then
12555 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12556 fi
12557
12558 if test x"$enablestring" = xdisable; then
12559 if test $wxUSE_LISTBOOK = yes; then
12560 result=no
12561 else
12562 result=yes
12563 fi
12564 else
12565 result=$wxUSE_LISTBOOK
12566 fi
12567
12568 { echo "$as_me:$LINENO: result: $result" >&5
12569 echo "${ECHO_T}$result" >&6; }
12570
12571
12572 enablestring=
12573 defaultval=$wxUSE_ALL_FEATURES
12574 if test -z "$defaultval"; then
12575 if test x"$enablestring" = xdisable; then
12576 defaultval=yes
12577 else
12578 defaultval=no
12579 fi
12580 fi
12581
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12584 # Check whether --enable-listbox was given.
12585 if test "${enable_listbox+set}" = set; then
12586 enableval=$enable_listbox;
12587 if test "$enableval" = yes; then
12588 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12589 else
12590 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12591 fi
12592 cache=yes
12593
12594 else
12595
12596 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12597 if test "x$LINE" != x ; then
12598 eval "DEFAULT_$LINE"
12599 cache=yes
12600 else
12601 cache=no
12602 fi
12603
12604 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12605
12606 fi
12607
12608
12609 eval "$wx_cv_use_listbox"
12610 if test "x$cache" = xyes; then
12611 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12612 fi
12613
12614 if test x"$enablestring" = xdisable; then
12615 if test $wxUSE_LISTBOX = yes; then
12616 result=no
12617 else
12618 result=yes
12619 fi
12620 else
12621 result=$wxUSE_LISTBOX
12622 fi
12623
12624 { echo "$as_me:$LINENO: result: $result" >&5
12625 echo "${ECHO_T}$result" >&6; }
12626
12627
12628 enablestring=
12629 defaultval=$wxUSE_ALL_FEATURES
12630 if test -z "$defaultval"; then
12631 if test x"$enablestring" = xdisable; then
12632 defaultval=yes
12633 else
12634 defaultval=no
12635 fi
12636 fi
12637
12638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12639 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12640 # Check whether --enable-listctrl was given.
12641 if test "${enable_listctrl+set}" = set; then
12642 enableval=$enable_listctrl;
12643 if test "$enableval" = yes; then
12644 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12645 else
12646 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12647 fi
12648 cache=yes
12649
12650 else
12651
12652 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12653 if test "x$LINE" != x ; then
12654 eval "DEFAULT_$LINE"
12655 cache=yes
12656 else
12657 cache=no
12658 fi
12659
12660 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12661
12662 fi
12663
12664
12665 eval "$wx_cv_use_listctrl"
12666 if test "x$cache" = xyes; then
12667 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12668 fi
12669
12670 if test x"$enablestring" = xdisable; then
12671 if test $wxUSE_LISTCTRL = yes; then
12672 result=no
12673 else
12674 result=yes
12675 fi
12676 else
12677 result=$wxUSE_LISTCTRL
12678 fi
12679
12680 { echo "$as_me:$LINENO: result: $result" >&5
12681 echo "${ECHO_T}$result" >&6; }
12682
12683
12684 enablestring=
12685 defaultval=$wxUSE_ALL_FEATURES
12686 if test -z "$defaultval"; then
12687 if test x"$enablestring" = xdisable; then
12688 defaultval=yes
12689 else
12690 defaultval=no
12691 fi
12692 fi
12693
12694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12695 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12696 # Check whether --enable-notebook was given.
12697 if test "${enable_notebook+set}" = set; then
12698 enableval=$enable_notebook;
12699 if test "$enableval" = yes; then
12700 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12701 else
12702 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12703 fi
12704 cache=yes
12705
12706 else
12707
12708 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12709 if test "x$LINE" != x ; then
12710 eval "DEFAULT_$LINE"
12711 cache=yes
12712 else
12713 cache=no
12714 fi
12715
12716 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_notebook"
12722 if test "x$cache" = xyes; then
12723 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12724 fi
12725
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_NOTEBOOK = yes; then
12728 result=no
12729 else
12730 result=yes
12731 fi
12732 else
12733 result=$wxUSE_NOTEBOOK
12734 fi
12735
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12738
12739
12740 enablestring=
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12744 defaultval=yes
12745 else
12746 defaultval=no
12747 fi
12748 fi
12749
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12752 # Check whether --enable-odcombobox was given.
12753 if test "${enable_odcombobox+set}" = set; then
12754 enableval=$enable_odcombobox;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12757 else
12758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12759 fi
12760 cache=yes
12761
12762 else
12763
12764 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12765 if test "x$LINE" != x ; then
12766 eval "DEFAULT_$LINE"
12767 cache=yes
12768 else
12769 cache=no
12770 fi
12771
12772 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12773
12774 fi
12775
12776
12777 eval "$wx_cv_use_odcombobox"
12778 if test "x$cache" = xyes; then
12779 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12780 fi
12781
12782 if test x"$enablestring" = xdisable; then
12783 if test $wxUSE_ODCOMBOBOX = yes; then
12784 result=no
12785 else
12786 result=yes
12787 fi
12788 else
12789 result=$wxUSE_ODCOMBOBOX
12790 fi
12791
12792 { echo "$as_me:$LINENO: result: $result" >&5
12793 echo "${ECHO_T}$result" >&6; }
12794
12795
12796 enablestring=
12797 defaultval=$wxUSE_ALL_FEATURES
12798 if test -z "$defaultval"; then
12799 if test x"$enablestring" = xdisable; then
12800 defaultval=yes
12801 else
12802 defaultval=no
12803 fi
12804 fi
12805
12806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12807 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12808 # Check whether --enable-radiobox was given.
12809 if test "${enable_radiobox+set}" = set; then
12810 enableval=$enable_radiobox;
12811 if test "$enableval" = yes; then
12812 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12813 else
12814 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12815 fi
12816 cache=yes
12817
12818 else
12819
12820 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12821 if test "x$LINE" != x ; then
12822 eval "DEFAULT_$LINE"
12823 cache=yes
12824 else
12825 cache=no
12826 fi
12827
12828 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12829
12830 fi
12831
12832
12833 eval "$wx_cv_use_radiobox"
12834 if test "x$cache" = xyes; then
12835 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12836 fi
12837
12838 if test x"$enablestring" = xdisable; then
12839 if test $wxUSE_RADIOBOX = yes; then
12840 result=no
12841 else
12842 result=yes
12843 fi
12844 else
12845 result=$wxUSE_RADIOBOX
12846 fi
12847
12848 { echo "$as_me:$LINENO: result: $result" >&5
12849 echo "${ECHO_T}$result" >&6; }
12850
12851
12852 enablestring=
12853 defaultval=$wxUSE_ALL_FEATURES
12854 if test -z "$defaultval"; then
12855 if test x"$enablestring" = xdisable; then
12856 defaultval=yes
12857 else
12858 defaultval=no
12859 fi
12860 fi
12861
12862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12863 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12864 # Check whether --enable-radiobtn was given.
12865 if test "${enable_radiobtn+set}" = set; then
12866 enableval=$enable_radiobtn;
12867 if test "$enableval" = yes; then
12868 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12869 else
12870 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12871 fi
12872 cache=yes
12873
12874 else
12875
12876 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12877 if test "x$LINE" != x ; then
12878 eval "DEFAULT_$LINE"
12879 cache=yes
12880 else
12881 cache=no
12882 fi
12883
12884 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12885
12886 fi
12887
12888
12889 eval "$wx_cv_use_radiobtn"
12890 if test "x$cache" = xyes; then
12891 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12892 fi
12893
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_RADIOBTN = yes; then
12896 result=no
12897 else
12898 result=yes
12899 fi
12900 else
12901 result=$wxUSE_RADIOBTN
12902 fi
12903
12904 { echo "$as_me:$LINENO: result: $result" >&5
12905 echo "${ECHO_T}$result" >&6; }
12906
12907
12908 enablestring=
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12912 defaultval=yes
12913 else
12914 defaultval=no
12915 fi
12916 fi
12917
12918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12920 # Check whether --enable-sash was given.
12921 if test "${enable_sash+set}" = set; then
12922 enableval=$enable_sash;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_sash='wxUSE_SASH=yes'
12925 else
12926 wx_cv_use_sash='wxUSE_SASH=no'
12927 fi
12928 cache=yes
12929
12930 else
12931
12932 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12933 if test "x$LINE" != x ; then
12934 eval "DEFAULT_$LINE"
12935 cache=yes
12936 else
12937 cache=no
12938 fi
12939
12940 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12941
12942 fi
12943
12944
12945 eval "$wx_cv_use_sash"
12946 if test "x$cache" = xyes; then
12947 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12948 fi
12949
12950 if test x"$enablestring" = xdisable; then
12951 if test $wxUSE_SASH = yes; then
12952 result=no
12953 else
12954 result=yes
12955 fi
12956 else
12957 result=$wxUSE_SASH
12958 fi
12959
12960 { echo "$as_me:$LINENO: result: $result" >&5
12961 echo "${ECHO_T}$result" >&6; }
12962
12963
12964 enablestring=
12965 defaultval=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x"$enablestring" = xdisable; then
12968 defaultval=yes
12969 else
12970 defaultval=no
12971 fi
12972 fi
12973
12974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12975 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12976 # Check whether --enable-scrollbar was given.
12977 if test "${enable_scrollbar+set}" = set; then
12978 enableval=$enable_scrollbar;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12981 else
12982 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12983 fi
12984 cache=yes
12985
12986 else
12987
12988 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12989 if test "x$LINE" != x ; then
12990 eval "DEFAULT_$LINE"
12991 cache=yes
12992 else
12993 cache=no
12994 fi
12995
12996 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12997
12998 fi
12999
13000
13001 eval "$wx_cv_use_scrollbar"
13002 if test "x$cache" = xyes; then
13003 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13004 fi
13005
13006 if test x"$enablestring" = xdisable; then
13007 if test $wxUSE_SCROLLBAR = yes; then
13008 result=no
13009 else
13010 result=yes
13011 fi
13012 else
13013 result=$wxUSE_SCROLLBAR
13014 fi
13015
13016 { echo "$as_me:$LINENO: result: $result" >&5
13017 echo "${ECHO_T}$result" >&6; }
13018
13019
13020 enablestring=
13021 defaultval=$wxUSE_ALL_FEATURES
13022 if test -z "$defaultval"; then
13023 if test x"$enablestring" = xdisable; then
13024 defaultval=yes
13025 else
13026 defaultval=no
13027 fi
13028 fi
13029
13030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13031 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13032 # Check whether --enable-searchctrl was given.
13033 if test "${enable_searchctrl+set}" = set; then
13034 enableval=$enable_searchctrl;
13035 if test "$enableval" = yes; then
13036 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13037 else
13038 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13039 fi
13040 cache=yes
13041
13042 else
13043
13044 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13045 if test "x$LINE" != x ; then
13046 eval "DEFAULT_$LINE"
13047 cache=yes
13048 else
13049 cache=no
13050 fi
13051
13052 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13053
13054 fi
13055
13056
13057 eval "$wx_cv_use_searchctrl"
13058 if test "x$cache" = xyes; then
13059 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13060 fi
13061
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_SEARCHCTRL = yes; then
13064 result=no
13065 else
13066 result=yes
13067 fi
13068 else
13069 result=$wxUSE_SEARCHCTRL
13070 fi
13071
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13074
13075
13076 enablestring=
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13080 defaultval=yes
13081 else
13082 defaultval=no
13083 fi
13084 fi
13085
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13088 # Check whether --enable-slider was given.
13089 if test "${enable_slider+set}" = set; then
13090 enableval=$enable_slider;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_slider='wxUSE_SLIDER=yes'
13093 else
13094 wx_cv_use_slider='wxUSE_SLIDER=no'
13095 fi
13096 cache=yes
13097
13098 else
13099
13100 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13101 if test "x$LINE" != x ; then
13102 eval "DEFAULT_$LINE"
13103 cache=yes
13104 else
13105 cache=no
13106 fi
13107
13108 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13109
13110 fi
13111
13112
13113 eval "$wx_cv_use_slider"
13114 if test "x$cache" = xyes; then
13115 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13116 fi
13117
13118 if test x"$enablestring" = xdisable; then
13119 if test $wxUSE_SLIDER = yes; then
13120 result=no
13121 else
13122 result=yes
13123 fi
13124 else
13125 result=$wxUSE_SLIDER
13126 fi
13127
13128 { echo "$as_me:$LINENO: result: $result" >&5
13129 echo "${ECHO_T}$result" >&6; }
13130
13131
13132 enablestring=
13133 defaultval=$wxUSE_ALL_FEATURES
13134 if test -z "$defaultval"; then
13135 if test x"$enablestring" = xdisable; then
13136 defaultval=yes
13137 else
13138 defaultval=no
13139 fi
13140 fi
13141
13142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13143 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13144 # Check whether --enable-spinbtn was given.
13145 if test "${enable_spinbtn+set}" = set; then
13146 enableval=$enable_spinbtn;
13147 if test "$enableval" = yes; then
13148 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13149 else
13150 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13151 fi
13152 cache=yes
13153
13154 else
13155
13156 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13157 if test "x$LINE" != x ; then
13158 eval "DEFAULT_$LINE"
13159 cache=yes
13160 else
13161 cache=no
13162 fi
13163
13164 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_spinbtn"
13170 if test "x$cache" = xyes; then
13171 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13172 fi
13173
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_SPINBTN = yes; then
13176 result=no
13177 else
13178 result=yes
13179 fi
13180 else
13181 result=$wxUSE_SPINBTN
13182 fi
13183
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13186
13187
13188 enablestring=
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13192 defaultval=yes
13193 else
13194 defaultval=no
13195 fi
13196 fi
13197
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13200 # Check whether --enable-spinctrl was given.
13201 if test "${enable_spinctrl+set}" = set; then
13202 enableval=$enable_spinctrl;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13205 else
13206 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13207 fi
13208 cache=yes
13209
13210 else
13211
13212 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13213 if test "x$LINE" != x ; then
13214 eval "DEFAULT_$LINE"
13215 cache=yes
13216 else
13217 cache=no
13218 fi
13219
13220 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13221
13222 fi
13223
13224
13225 eval "$wx_cv_use_spinctrl"
13226 if test "x$cache" = xyes; then
13227 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13228 fi
13229
13230 if test x"$enablestring" = xdisable; then
13231 if test $wxUSE_SPINCTRL = yes; then
13232 result=no
13233 else
13234 result=yes
13235 fi
13236 else
13237 result=$wxUSE_SPINCTRL
13238 fi
13239
13240 { echo "$as_me:$LINENO: result: $result" >&5
13241 echo "${ECHO_T}$result" >&6; }
13242
13243
13244 enablestring=
13245 defaultval=$wxUSE_ALL_FEATURES
13246 if test -z "$defaultval"; then
13247 if test x"$enablestring" = xdisable; then
13248 defaultval=yes
13249 else
13250 defaultval=no
13251 fi
13252 fi
13253
13254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13255 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13256 # Check whether --enable-splitter was given.
13257 if test "${enable_splitter+set}" = set; then
13258 enableval=$enable_splitter;
13259 if test "$enableval" = yes; then
13260 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13261 else
13262 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13263 fi
13264 cache=yes
13265
13266 else
13267
13268 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13269 if test "x$LINE" != x ; then
13270 eval "DEFAULT_$LINE"
13271 cache=yes
13272 else
13273 cache=no
13274 fi
13275
13276 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13277
13278 fi
13279
13280
13281 eval "$wx_cv_use_splitter"
13282 if test "x$cache" = xyes; then
13283 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13284 fi
13285
13286 if test x"$enablestring" = xdisable; then
13287 if test $wxUSE_SPLITTER = yes; then
13288 result=no
13289 else
13290 result=yes
13291 fi
13292 else
13293 result=$wxUSE_SPLITTER
13294 fi
13295
13296 { echo "$as_me:$LINENO: result: $result" >&5
13297 echo "${ECHO_T}$result" >&6; }
13298
13299
13300 enablestring=
13301 defaultval=$wxUSE_ALL_FEATURES
13302 if test -z "$defaultval"; then
13303 if test x"$enablestring" = xdisable; then
13304 defaultval=yes
13305 else
13306 defaultval=no
13307 fi
13308 fi
13309
13310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13311 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13312 # Check whether --enable-statbmp was given.
13313 if test "${enable_statbmp+set}" = set; then
13314 enableval=$enable_statbmp;
13315 if test "$enableval" = yes; then
13316 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13317 else
13318 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13319 fi
13320 cache=yes
13321
13322 else
13323
13324 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13325 if test "x$LINE" != x ; then
13326 eval "DEFAULT_$LINE"
13327 cache=yes
13328 else
13329 cache=no
13330 fi
13331
13332 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13333
13334 fi
13335
13336
13337 eval "$wx_cv_use_statbmp"
13338 if test "x$cache" = xyes; then
13339 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13340 fi
13341
13342 if test x"$enablestring" = xdisable; then
13343 if test $wxUSE_STATBMP = yes; then
13344 result=no
13345 else
13346 result=yes
13347 fi
13348 else
13349 result=$wxUSE_STATBMP
13350 fi
13351
13352 { echo "$as_me:$LINENO: result: $result" >&5
13353 echo "${ECHO_T}$result" >&6; }
13354
13355
13356 enablestring=
13357 defaultval=$wxUSE_ALL_FEATURES
13358 if test -z "$defaultval"; then
13359 if test x"$enablestring" = xdisable; then
13360 defaultval=yes
13361 else
13362 defaultval=no
13363 fi
13364 fi
13365
13366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13367 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13368 # Check whether --enable-statbox was given.
13369 if test "${enable_statbox+set}" = set; then
13370 enableval=$enable_statbox;
13371 if test "$enableval" = yes; then
13372 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13373 else
13374 wx_cv_use_statbox='wxUSE_STATBOX=no'
13375 fi
13376 cache=yes
13377
13378 else
13379
13380 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13381 if test "x$LINE" != x ; then
13382 eval "DEFAULT_$LINE"
13383 cache=yes
13384 else
13385 cache=no
13386 fi
13387
13388 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13389
13390 fi
13391
13392
13393 eval "$wx_cv_use_statbox"
13394 if test "x$cache" = xyes; then
13395 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13396 fi
13397
13398 if test x"$enablestring" = xdisable; then
13399 if test $wxUSE_STATBOX = yes; then
13400 result=no
13401 else
13402 result=yes
13403 fi
13404 else
13405 result=$wxUSE_STATBOX
13406 fi
13407
13408 { echo "$as_me:$LINENO: result: $result" >&5
13409 echo "${ECHO_T}$result" >&6; }
13410
13411
13412 enablestring=
13413 defaultval=$wxUSE_ALL_FEATURES
13414 if test -z "$defaultval"; then
13415 if test x"$enablestring" = xdisable; then
13416 defaultval=yes
13417 else
13418 defaultval=no
13419 fi
13420 fi
13421
13422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13423 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13424 # Check whether --enable-statline was given.
13425 if test "${enable_statline+set}" = set; then
13426 enableval=$enable_statline;
13427 if test "$enableval" = yes; then
13428 wx_cv_use_statline='wxUSE_STATLINE=yes'
13429 else
13430 wx_cv_use_statline='wxUSE_STATLINE=no'
13431 fi
13432 cache=yes
13433
13434 else
13435
13436 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13437 if test "x$LINE" != x ; then
13438 eval "DEFAULT_$LINE"
13439 cache=yes
13440 else
13441 cache=no
13442 fi
13443
13444 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13445
13446 fi
13447
13448
13449 eval "$wx_cv_use_statline"
13450 if test "x$cache" = xyes; then
13451 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13452 fi
13453
13454 if test x"$enablestring" = xdisable; then
13455 if test $wxUSE_STATLINE = yes; then
13456 result=no
13457 else
13458 result=yes
13459 fi
13460 else
13461 result=$wxUSE_STATLINE
13462 fi
13463
13464 { echo "$as_me:$LINENO: result: $result" >&5
13465 echo "${ECHO_T}$result" >&6; }
13466
13467
13468 enablestring=
13469 defaultval=$wxUSE_ALL_FEATURES
13470 if test -z "$defaultval"; then
13471 if test x"$enablestring" = xdisable; then
13472 defaultval=yes
13473 else
13474 defaultval=no
13475 fi
13476 fi
13477
13478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13479 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13480 # Check whether --enable-stattext was given.
13481 if test "${enable_stattext+set}" = set; then
13482 enableval=$enable_stattext;
13483 if test "$enableval" = yes; then
13484 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13485 else
13486 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13487 fi
13488 cache=yes
13489
13490 else
13491
13492 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13493 if test "x$LINE" != x ; then
13494 eval "DEFAULT_$LINE"
13495 cache=yes
13496 else
13497 cache=no
13498 fi
13499
13500 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13501
13502 fi
13503
13504
13505 eval "$wx_cv_use_stattext"
13506 if test "x$cache" = xyes; then
13507 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13508 fi
13509
13510 if test x"$enablestring" = xdisable; then
13511 if test $wxUSE_STATTEXT = yes; then
13512 result=no
13513 else
13514 result=yes
13515 fi
13516 else
13517 result=$wxUSE_STATTEXT
13518 fi
13519
13520 { echo "$as_me:$LINENO: result: $result" >&5
13521 echo "${ECHO_T}$result" >&6; }
13522
13523
13524 enablestring=
13525 defaultval=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x"$enablestring" = xdisable; then
13528 defaultval=yes
13529 else
13530 defaultval=no
13531 fi
13532 fi
13533
13534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13535 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13536 # Check whether --enable-statusbar was given.
13537 if test "${enable_statusbar+set}" = set; then
13538 enableval=$enable_statusbar;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13541 else
13542 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13543 fi
13544 cache=yes
13545
13546 else
13547
13548 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13549 if test "x$LINE" != x ; then
13550 eval "DEFAULT_$LINE"
13551 cache=yes
13552 else
13553 cache=no
13554 fi
13555
13556 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_statusbar"
13562 if test "x$cache" = xyes; then
13563 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13564 fi
13565
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_STATUSBAR = yes; then
13568 result=no
13569 else
13570 result=yes
13571 fi
13572 else
13573 result=$wxUSE_STATUSBAR
13574 fi
13575
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13578
13579
13580 enablestring=
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13584 defaultval=yes
13585 else
13586 defaultval=no
13587 fi
13588 fi
13589
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13592 # Check whether --enable-tabdialog was given.
13593 if test "${enable_tabdialog+set}" = set; then
13594 enableval=$enable_tabdialog;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13597 else
13598 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13599 fi
13600 cache=yes
13601
13602 else
13603
13604 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13605 if test "x$LINE" != x ; then
13606 eval "DEFAULT_$LINE"
13607 cache=yes
13608 else
13609 cache=no
13610 fi
13611
13612 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13613
13614 fi
13615
13616
13617 eval "$wx_cv_use_tabdialog"
13618 if test "x$cache" = xyes; then
13619 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13620 fi
13621
13622 if test x"$enablestring" = xdisable; then
13623 if test $wxUSE_TAB_DIALOG = yes; then
13624 result=no
13625 else
13626 result=yes
13627 fi
13628 else
13629 result=$wxUSE_TAB_DIALOG
13630 fi
13631
13632 { echo "$as_me:$LINENO: result: $result" >&5
13633 echo "${ECHO_T}$result" >&6; }
13634
13635
13636 enablestring=
13637 defaultval=$wxUSE_ALL_FEATURES
13638 if test -z "$defaultval"; then
13639 if test x"$enablestring" = xdisable; then
13640 defaultval=yes
13641 else
13642 defaultval=no
13643 fi
13644 fi
13645
13646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13647 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13648 # Check whether --enable-taskbaricon was given.
13649 if test "${enable_taskbaricon+set}" = set; then
13650 enableval=$enable_taskbaricon;
13651 if test "$enableval" = yes; then
13652 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13653 else
13654 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13655 fi
13656 cache=yes
13657
13658 else
13659
13660 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13661 if test "x$LINE" != x ; then
13662 eval "DEFAULT_$LINE"
13663 cache=yes
13664 else
13665 cache=no
13666 fi
13667
13668 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13669
13670 fi
13671
13672
13673 eval "$wx_cv_use_taskbaricon"
13674 if test "x$cache" = xyes; then
13675 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13676 fi
13677
13678 if test x"$enablestring" = xdisable; then
13679 if test $wxUSE_TASKBARICON = yes; then
13680 result=no
13681 else
13682 result=yes
13683 fi
13684 else
13685 result=$wxUSE_TASKBARICON
13686 fi
13687
13688 { echo "$as_me:$LINENO: result: $result" >&5
13689 echo "${ECHO_T}$result" >&6; }
13690
13691
13692 enablestring=
13693 defaultval=$wxUSE_ALL_FEATURES
13694 if test -z "$defaultval"; then
13695 if test x"$enablestring" = xdisable; then
13696 defaultval=yes
13697 else
13698 defaultval=no
13699 fi
13700 fi
13701
13702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13703 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13704 # Check whether --enable-textctrl was given.
13705 if test "${enable_textctrl+set}" = set; then
13706 enableval=$enable_textctrl;
13707 if test "$enableval" = yes; then
13708 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13709 else
13710 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13711 fi
13712 cache=yes
13713
13714 else
13715
13716 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13717 if test "x$LINE" != x ; then
13718 eval "DEFAULT_$LINE"
13719 cache=yes
13720 else
13721 cache=no
13722 fi
13723
13724 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13725
13726 fi
13727
13728
13729 eval "$wx_cv_use_textctrl"
13730 if test "x$cache" = xyes; then
13731 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13732 fi
13733
13734 if test x"$enablestring" = xdisable; then
13735 if test $wxUSE_TEXTCTRL = yes; then
13736 result=no
13737 else
13738 result=yes
13739 fi
13740 else
13741 result=$wxUSE_TEXTCTRL
13742 fi
13743
13744 { echo "$as_me:$LINENO: result: $result" >&5
13745 echo "${ECHO_T}$result" >&6; }
13746
13747
13748 enablestring=
13749 defaultval=$wxUSE_ALL_FEATURES
13750 if test -z "$defaultval"; then
13751 if test x"$enablestring" = xdisable; then
13752 defaultval=yes
13753 else
13754 defaultval=no
13755 fi
13756 fi
13757
13758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13759 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13760 # Check whether --enable-togglebtn was given.
13761 if test "${enable_togglebtn+set}" = set; then
13762 enableval=$enable_togglebtn;
13763 if test "$enableval" = yes; then
13764 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13765 else
13766 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13767 fi
13768 cache=yes
13769
13770 else
13771
13772 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13773 if test "x$LINE" != x ; then
13774 eval "DEFAULT_$LINE"
13775 cache=yes
13776 else
13777 cache=no
13778 fi
13779
13780 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13781
13782 fi
13783
13784
13785 eval "$wx_cv_use_togglebtn"
13786 if test "x$cache" = xyes; then
13787 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13788 fi
13789
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_TOGGLEBTN = yes; then
13792 result=no
13793 else
13794 result=yes
13795 fi
13796 else
13797 result=$wxUSE_TOGGLEBTN
13798 fi
13799
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13802
13803
13804 enablestring=
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13808 defaultval=yes
13809 else
13810 defaultval=no
13811 fi
13812 fi
13813
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13816 # Check whether --enable-toolbar was given.
13817 if test "${enable_toolbar+set}" = set; then
13818 enableval=$enable_toolbar;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13821 else
13822 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13823 fi
13824 cache=yes
13825
13826 else
13827
13828 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13829 if test "x$LINE" != x ; then
13830 eval "DEFAULT_$LINE"
13831 cache=yes
13832 else
13833 cache=no
13834 fi
13835
13836 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13837
13838 fi
13839
13840
13841 eval "$wx_cv_use_toolbar"
13842 if test "x$cache" = xyes; then
13843 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13844 fi
13845
13846 if test x"$enablestring" = xdisable; then
13847 if test $wxUSE_TOOLBAR = yes; then
13848 result=no
13849 else
13850 result=yes
13851 fi
13852 else
13853 result=$wxUSE_TOOLBAR
13854 fi
13855
13856 { echo "$as_me:$LINENO: result: $result" >&5
13857 echo "${ECHO_T}$result" >&6; }
13858
13859
13860 enablestring=
13861 defaultval=$wxUSE_ALL_FEATURES
13862 if test -z "$defaultval"; then
13863 if test x"$enablestring" = xdisable; then
13864 defaultval=yes
13865 else
13866 defaultval=no
13867 fi
13868 fi
13869
13870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13871 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13872 # Check whether --enable-tbarnative was given.
13873 if test "${enable_tbarnative+set}" = set; then
13874 enableval=$enable_tbarnative;
13875 if test "$enableval" = yes; then
13876 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13877 else
13878 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13879 fi
13880 cache=yes
13881
13882 else
13883
13884 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13885 if test "x$LINE" != x ; then
13886 eval "DEFAULT_$LINE"
13887 cache=yes
13888 else
13889 cache=no
13890 fi
13891
13892 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13893
13894 fi
13895
13896
13897 eval "$wx_cv_use_tbarnative"
13898 if test "x$cache" = xyes; then
13899 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13900 fi
13901
13902 if test x"$enablestring" = xdisable; then
13903 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13904 result=no
13905 else
13906 result=yes
13907 fi
13908 else
13909 result=$wxUSE_TOOLBAR_NATIVE
13910 fi
13911
13912 { echo "$as_me:$LINENO: result: $result" >&5
13913 echo "${ECHO_T}$result" >&6; }
13914
13915
13916 enablestring=
13917 defaultval=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x"$enablestring" = xdisable; then
13920 defaultval=yes
13921 else
13922 defaultval=no
13923 fi
13924 fi
13925
13926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13927 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13928 # Check whether --enable-treebook was given.
13929 if test "${enable_treebook+set}" = set; then
13930 enableval=$enable_treebook;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13933 else
13934 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13935 fi
13936 cache=yes
13937
13938 else
13939
13940 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13941 if test "x$LINE" != x ; then
13942 eval "DEFAULT_$LINE"
13943 cache=yes
13944 else
13945 cache=no
13946 fi
13947
13948 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13949
13950 fi
13951
13952
13953 eval "$wx_cv_use_treebook"
13954 if test "x$cache" = xyes; then
13955 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13956 fi
13957
13958 if test x"$enablestring" = xdisable; then
13959 if test $wxUSE_TREEBOOK = yes; then
13960 result=no
13961 else
13962 result=yes
13963 fi
13964 else
13965 result=$wxUSE_TREEBOOK
13966 fi
13967
13968 { echo "$as_me:$LINENO: result: $result" >&5
13969 echo "${ECHO_T}$result" >&6; }
13970
13971
13972 enablestring=
13973 defaultval=$wxUSE_ALL_FEATURES
13974 if test -z "$defaultval"; then
13975 if test x"$enablestring" = xdisable; then
13976 defaultval=yes
13977 else
13978 defaultval=no
13979 fi
13980 fi
13981
13982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13983 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13984 # Check whether --enable-toolbook was given.
13985 if test "${enable_toolbook+set}" = set; then
13986 enableval=$enable_toolbook;
13987 if test "$enableval" = yes; then
13988 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13989 else
13990 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13991 fi
13992 cache=yes
13993
13994 else
13995
13996 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13997 if test "x$LINE" != x ; then
13998 eval "DEFAULT_$LINE"
13999 cache=yes
14000 else
14001 cache=no
14002 fi
14003
14004 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14005
14006 fi
14007
14008
14009 eval "$wx_cv_use_toolbook"
14010 if test "x$cache" = xyes; then
14011 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14012 fi
14013
14014 if test x"$enablestring" = xdisable; then
14015 if test $wxUSE_TOOLBOOK = yes; then
14016 result=no
14017 else
14018 result=yes
14019 fi
14020 else
14021 result=$wxUSE_TOOLBOOK
14022 fi
14023
14024 { echo "$as_me:$LINENO: result: $result" >&5
14025 echo "${ECHO_T}$result" >&6; }
14026
14027
14028 enablestring=
14029 defaultval=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x"$enablestring" = xdisable; then
14032 defaultval=yes
14033 else
14034 defaultval=no
14035 fi
14036 fi
14037
14038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14039 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14040 # Check whether --enable-treectrl was given.
14041 if test "${enable_treectrl+set}" = set; then
14042 enableval=$enable_treectrl;
14043 if test "$enableval" = yes; then
14044 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14045 else
14046 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14047 fi
14048 cache=yes
14049
14050 else
14051
14052 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14053 if test "x$LINE" != x ; then
14054 eval "DEFAULT_$LINE"
14055 cache=yes
14056 else
14057 cache=no
14058 fi
14059
14060 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14061
14062 fi
14063
14064
14065 eval "$wx_cv_use_treectrl"
14066 if test "x$cache" = xyes; then
14067 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14068 fi
14069
14070 if test x"$enablestring" = xdisable; then
14071 if test $wxUSE_TREECTRL = yes; then
14072 result=no
14073 else
14074 result=yes
14075 fi
14076 else
14077 result=$wxUSE_TREECTRL
14078 fi
14079
14080 { echo "$as_me:$LINENO: result: $result" >&5
14081 echo "${ECHO_T}$result" >&6; }
14082
14083
14084 enablestring=
14085 defaultval=$wxUSE_ALL_FEATURES
14086 if test -z "$defaultval"; then
14087 if test x"$enablestring" = xdisable; then
14088 defaultval=yes
14089 else
14090 defaultval=no
14091 fi
14092 fi
14093
14094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14096 # Check whether --enable-tipwindow was given.
14097 if test "${enable_tipwindow+set}" = set; then
14098 enableval=$enable_tipwindow;
14099 if test "$enableval" = yes; then
14100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14101 else
14102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14103 fi
14104 cache=yes
14105
14106 else
14107
14108 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14109 if test "x$LINE" != x ; then
14110 eval "DEFAULT_$LINE"
14111 cache=yes
14112 else
14113 cache=no
14114 fi
14115
14116 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14117
14118 fi
14119
14120
14121 eval "$wx_cv_use_tipwindow"
14122 if test "x$cache" = xyes; then
14123 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14124 fi
14125
14126 if test x"$enablestring" = xdisable; then
14127 if test $wxUSE_TIPWINDOW = yes; then
14128 result=no
14129 else
14130 result=yes
14131 fi
14132 else
14133 result=$wxUSE_TIPWINDOW
14134 fi
14135
14136 { echo "$as_me:$LINENO: result: $result" >&5
14137 echo "${ECHO_T}$result" >&6; }
14138
14139
14140 enablestring=
14141 defaultval=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x"$enablestring" = xdisable; then
14144 defaultval=yes
14145 else
14146 defaultval=no
14147 fi
14148 fi
14149
14150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14151 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14152 # Check whether --enable-popupwin was given.
14153 if test "${enable_popupwin+set}" = set; then
14154 enableval=$enable_popupwin;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14157 else
14158 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14159 fi
14160 cache=yes
14161
14162 else
14163
14164 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14165 if test "x$LINE" != x ; then
14166 eval "DEFAULT_$LINE"
14167 cache=yes
14168 else
14169 cache=no
14170 fi
14171
14172 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14173
14174 fi
14175
14176
14177 eval "$wx_cv_use_popupwin"
14178 if test "x$cache" = xyes; then
14179 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14180 fi
14181
14182 if test x"$enablestring" = xdisable; then
14183 if test $wxUSE_POPUPWIN = yes; then
14184 result=no
14185 else
14186 result=yes
14187 fi
14188 else
14189 result=$wxUSE_POPUPWIN
14190 fi
14191
14192 { echo "$as_me:$LINENO: result: $result" >&5
14193 echo "${ECHO_T}$result" >&6; }
14194
14195
14196
14197
14198 enablestring=
14199 defaultval=$wxUSE_ALL_FEATURES
14200 if test -z "$defaultval"; then
14201 if test x"$enablestring" = xdisable; then
14202 defaultval=yes
14203 else
14204 defaultval=no
14205 fi
14206 fi
14207
14208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14209 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14210 # Check whether --enable-commondlg was given.
14211 if test "${enable_commondlg+set}" = set; then
14212 enableval=$enable_commondlg;
14213 if test "$enableval" = yes; then
14214 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14215 else
14216 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14217 fi
14218 cache=yes
14219
14220 else
14221
14222 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14223 if test "x$LINE" != x ; then
14224 eval "DEFAULT_$LINE"
14225 cache=yes
14226 else
14227 cache=no
14228 fi
14229
14230 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14231
14232 fi
14233
14234
14235 eval "$wx_cv_use_commondlg"
14236 if test "x$cache" = xyes; then
14237 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14238 fi
14239
14240 if test x"$enablestring" = xdisable; then
14241 if test $wxUSE_COMMONDLGS = yes; then
14242 result=no
14243 else
14244 result=yes
14245 fi
14246 else
14247 result=$wxUSE_COMMONDLGS
14248 fi
14249
14250 { echo "$as_me:$LINENO: result: $result" >&5
14251 echo "${ECHO_T}$result" >&6; }
14252
14253
14254 enablestring=
14255 defaultval=$wxUSE_ALL_FEATURES
14256 if test -z "$defaultval"; then
14257 if test x"$enablestring" = xdisable; then
14258 defaultval=yes
14259 else
14260 defaultval=no
14261 fi
14262 fi
14263
14264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14265 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14266 # Check whether --enable-aboutdlg was given.
14267 if test "${enable_aboutdlg+set}" = set; then
14268 enableval=$enable_aboutdlg;
14269 if test "$enableval" = yes; then
14270 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14271 else
14272 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14273 fi
14274 cache=yes
14275
14276 else
14277
14278 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14279 if test "x$LINE" != x ; then
14280 eval "DEFAULT_$LINE"
14281 cache=yes
14282 else
14283 cache=no
14284 fi
14285
14286 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14287
14288 fi
14289
14290
14291 eval "$wx_cv_use_aboutdlg"
14292 if test "x$cache" = xyes; then
14293 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14294 fi
14295
14296 if test x"$enablestring" = xdisable; then
14297 if test $wxUSE_ABOUTDLG = yes; then
14298 result=no
14299 else
14300 result=yes
14301 fi
14302 else
14303 result=$wxUSE_ABOUTDLG
14304 fi
14305
14306 { echo "$as_me:$LINENO: result: $result" >&5
14307 echo "${ECHO_T}$result" >&6; }
14308
14309
14310 enablestring=
14311 defaultval=$wxUSE_ALL_FEATURES
14312 if test -z "$defaultval"; then
14313 if test x"$enablestring" = xdisable; then
14314 defaultval=yes
14315 else
14316 defaultval=no
14317 fi
14318 fi
14319
14320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14321 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14322 # Check whether --enable-choicedlg was given.
14323 if test "${enable_choicedlg+set}" = set; then
14324 enableval=$enable_choicedlg;
14325 if test "$enableval" = yes; then
14326 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14327 else
14328 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14329 fi
14330 cache=yes
14331
14332 else
14333
14334 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14335 if test "x$LINE" != x ; then
14336 eval "DEFAULT_$LINE"
14337 cache=yes
14338 else
14339 cache=no
14340 fi
14341
14342 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14343
14344 fi
14345
14346
14347 eval "$wx_cv_use_choicedlg"
14348 if test "x$cache" = xyes; then
14349 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14350 fi
14351
14352 if test x"$enablestring" = xdisable; then
14353 if test $wxUSE_CHOICEDLG = yes; then
14354 result=no
14355 else
14356 result=yes
14357 fi
14358 else
14359 result=$wxUSE_CHOICEDLG
14360 fi
14361
14362 { echo "$as_me:$LINENO: result: $result" >&5
14363 echo "${ECHO_T}$result" >&6; }
14364
14365
14366 enablestring=
14367 defaultval=$wxUSE_ALL_FEATURES
14368 if test -z "$defaultval"; then
14369 if test x"$enablestring" = xdisable; then
14370 defaultval=yes
14371 else
14372 defaultval=no
14373 fi
14374 fi
14375
14376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14377 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14378 # Check whether --enable-coldlg was given.
14379 if test "${enable_coldlg+set}" = set; then
14380 enableval=$enable_coldlg;
14381 if test "$enableval" = yes; then
14382 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14383 else
14384 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14385 fi
14386 cache=yes
14387
14388 else
14389
14390 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14391 if test "x$LINE" != x ; then
14392 eval "DEFAULT_$LINE"
14393 cache=yes
14394 else
14395 cache=no
14396 fi
14397
14398 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14399
14400 fi
14401
14402
14403 eval "$wx_cv_use_coldlg"
14404 if test "x$cache" = xyes; then
14405 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14406 fi
14407
14408 if test x"$enablestring" = xdisable; then
14409 if test $wxUSE_COLOURDLG = yes; then
14410 result=no
14411 else
14412 result=yes
14413 fi
14414 else
14415 result=$wxUSE_COLOURDLG
14416 fi
14417
14418 { echo "$as_me:$LINENO: result: $result" >&5
14419 echo "${ECHO_T}$result" >&6; }
14420
14421
14422 enablestring=
14423 defaultval=$wxUSE_ALL_FEATURES
14424 if test -z "$defaultval"; then
14425 if test x"$enablestring" = xdisable; then
14426 defaultval=yes
14427 else
14428 defaultval=no
14429 fi
14430 fi
14431
14432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14433 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14434 # Check whether --enable-filedlg was given.
14435 if test "${enable_filedlg+set}" = set; then
14436 enableval=$enable_filedlg;
14437 if test "$enableval" = yes; then
14438 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14439 else
14440 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14441 fi
14442 cache=yes
14443
14444 else
14445
14446 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14447 if test "x$LINE" != x ; then
14448 eval "DEFAULT_$LINE"
14449 cache=yes
14450 else
14451 cache=no
14452 fi
14453
14454 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14455
14456 fi
14457
14458
14459 eval "$wx_cv_use_filedlg"
14460 if test "x$cache" = xyes; then
14461 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14462 fi
14463
14464 if test x"$enablestring" = xdisable; then
14465 if test $wxUSE_FILEDLG = yes; then
14466 result=no
14467 else
14468 result=yes
14469 fi
14470 else
14471 result=$wxUSE_FILEDLG
14472 fi
14473
14474 { echo "$as_me:$LINENO: result: $result" >&5
14475 echo "${ECHO_T}$result" >&6; }
14476
14477
14478 enablestring=
14479 defaultval=$wxUSE_ALL_FEATURES
14480 if test -z "$defaultval"; then
14481 if test x"$enablestring" = xdisable; then
14482 defaultval=yes
14483 else
14484 defaultval=no
14485 fi
14486 fi
14487
14488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14489 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14490 # Check whether --enable-finddlg was given.
14491 if test "${enable_finddlg+set}" = set; then
14492 enableval=$enable_finddlg;
14493 if test "$enableval" = yes; then
14494 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14495 else
14496 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14497 fi
14498 cache=yes
14499
14500 else
14501
14502 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14503 if test "x$LINE" != x ; then
14504 eval "DEFAULT_$LINE"
14505 cache=yes
14506 else
14507 cache=no
14508 fi
14509
14510 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14511
14512 fi
14513
14514
14515 eval "$wx_cv_use_finddlg"
14516 if test "x$cache" = xyes; then
14517 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14518 fi
14519
14520 if test x"$enablestring" = xdisable; then
14521 if test $wxUSE_FINDREPLDLG = yes; then
14522 result=no
14523 else
14524 result=yes
14525 fi
14526 else
14527 result=$wxUSE_FINDREPLDLG
14528 fi
14529
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14532
14533
14534 enablestring=
14535 defaultval=$wxUSE_ALL_FEATURES
14536 if test -z "$defaultval"; then
14537 if test x"$enablestring" = xdisable; then
14538 defaultval=yes
14539 else
14540 defaultval=no
14541 fi
14542 fi
14543
14544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14545 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14546 # Check whether --enable-fontdlg was given.
14547 if test "${enable_fontdlg+set}" = set; then
14548 enableval=$enable_fontdlg;
14549 if test "$enableval" = yes; then
14550 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14551 else
14552 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14553 fi
14554 cache=yes
14555
14556 else
14557
14558 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14559 if test "x$LINE" != x ; then
14560 eval "DEFAULT_$LINE"
14561 cache=yes
14562 else
14563 cache=no
14564 fi
14565
14566 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14567
14568 fi
14569
14570
14571 eval "$wx_cv_use_fontdlg"
14572 if test "x$cache" = xyes; then
14573 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14574 fi
14575
14576 if test x"$enablestring" = xdisable; then
14577 if test $wxUSE_FONTDLG = yes; then
14578 result=no
14579 else
14580 result=yes
14581 fi
14582 else
14583 result=$wxUSE_FONTDLG
14584 fi
14585
14586 { echo "$as_me:$LINENO: result: $result" >&5
14587 echo "${ECHO_T}$result" >&6; }
14588
14589
14590 enablestring=
14591 defaultval=$wxUSE_ALL_FEATURES
14592 if test -z "$defaultval"; then
14593 if test x"$enablestring" = xdisable; then
14594 defaultval=yes
14595 else
14596 defaultval=no
14597 fi
14598 fi
14599
14600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14601 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14602 # Check whether --enable-dirdlg was given.
14603 if test "${enable_dirdlg+set}" = set; then
14604 enableval=$enable_dirdlg;
14605 if test "$enableval" = yes; then
14606 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14607 else
14608 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14609 fi
14610 cache=yes
14611
14612 else
14613
14614 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14615 if test "x$LINE" != x ; then
14616 eval "DEFAULT_$LINE"
14617 cache=yes
14618 else
14619 cache=no
14620 fi
14621
14622 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14623
14624 fi
14625
14626
14627 eval "$wx_cv_use_dirdlg"
14628 if test "x$cache" = xyes; then
14629 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14630 fi
14631
14632 if test x"$enablestring" = xdisable; then
14633 if test $wxUSE_DIRDLG = yes; then
14634 result=no
14635 else
14636 result=yes
14637 fi
14638 else
14639 result=$wxUSE_DIRDLG
14640 fi
14641
14642 { echo "$as_me:$LINENO: result: $result" >&5
14643 echo "${ECHO_T}$result" >&6; }
14644
14645
14646 enablestring=
14647 defaultval=$wxUSE_ALL_FEATURES
14648 if test -z "$defaultval"; then
14649 if test x"$enablestring" = xdisable; then
14650 defaultval=yes
14651 else
14652 defaultval=no
14653 fi
14654 fi
14655
14656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14657 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14658 # Check whether --enable-msgdlg was given.
14659 if test "${enable_msgdlg+set}" = set; then
14660 enableval=$enable_msgdlg;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14663 else
14664 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14665 fi
14666 cache=yes
14667
14668 else
14669
14670 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14671 if test "x$LINE" != x ; then
14672 eval "DEFAULT_$LINE"
14673 cache=yes
14674 else
14675 cache=no
14676 fi
14677
14678 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14679
14680 fi
14681
14682
14683 eval "$wx_cv_use_msgdlg"
14684 if test "x$cache" = xyes; then
14685 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14686 fi
14687
14688 if test x"$enablestring" = xdisable; then
14689 if test $wxUSE_MSGDLG = yes; then
14690 result=no
14691 else
14692 result=yes
14693 fi
14694 else
14695 result=$wxUSE_MSGDLG
14696 fi
14697
14698 { echo "$as_me:$LINENO: result: $result" >&5
14699 echo "${ECHO_T}$result" >&6; }
14700
14701
14702 enablestring=
14703 defaultval=$wxUSE_ALL_FEATURES
14704 if test -z "$defaultval"; then
14705 if test x"$enablestring" = xdisable; then
14706 defaultval=yes
14707 else
14708 defaultval=no
14709 fi
14710 fi
14711
14712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14713 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14714 # Check whether --enable-numberdlg was given.
14715 if test "${enable_numberdlg+set}" = set; then
14716 enableval=$enable_numberdlg;
14717 if test "$enableval" = yes; then
14718 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14719 else
14720 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14721 fi
14722 cache=yes
14723
14724 else
14725
14726 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14727 if test "x$LINE" != x ; then
14728 eval "DEFAULT_$LINE"
14729 cache=yes
14730 else
14731 cache=no
14732 fi
14733
14734 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14735
14736 fi
14737
14738
14739 eval "$wx_cv_use_numberdlg"
14740 if test "x$cache" = xyes; then
14741 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14742 fi
14743
14744 if test x"$enablestring" = xdisable; then
14745 if test $wxUSE_NUMBERDLG = yes; then
14746 result=no
14747 else
14748 result=yes
14749 fi
14750 else
14751 result=$wxUSE_NUMBERDLG
14752 fi
14753
14754 { echo "$as_me:$LINENO: result: $result" >&5
14755 echo "${ECHO_T}$result" >&6; }
14756
14757
14758 enablestring=
14759 defaultval=$wxUSE_ALL_FEATURES
14760 if test -z "$defaultval"; then
14761 if test x"$enablestring" = xdisable; then
14762 defaultval=yes
14763 else
14764 defaultval=no
14765 fi
14766 fi
14767
14768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14769 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14770 # Check whether --enable-splash was given.
14771 if test "${enable_splash+set}" = set; then
14772 enableval=$enable_splash;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_splash='wxUSE_SPLASH=yes'
14775 else
14776 wx_cv_use_splash='wxUSE_SPLASH=no'
14777 fi
14778 cache=yes
14779
14780 else
14781
14782 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14783 if test "x$LINE" != x ; then
14784 eval "DEFAULT_$LINE"
14785 cache=yes
14786 else
14787 cache=no
14788 fi
14789
14790 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14791
14792 fi
14793
14794
14795 eval "$wx_cv_use_splash"
14796 if test "x$cache" = xyes; then
14797 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14798 fi
14799
14800 if test x"$enablestring" = xdisable; then
14801 if test $wxUSE_SPLASH = yes; then
14802 result=no
14803 else
14804 result=yes
14805 fi
14806 else
14807 result=$wxUSE_SPLASH
14808 fi
14809
14810 { echo "$as_me:$LINENO: result: $result" >&5
14811 echo "${ECHO_T}$result" >&6; }
14812
14813
14814 enablestring=
14815 defaultval=$wxUSE_ALL_FEATURES
14816 if test -z "$defaultval"; then
14817 if test x"$enablestring" = xdisable; then
14818 defaultval=yes
14819 else
14820 defaultval=no
14821 fi
14822 fi
14823
14824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14825 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14826 # Check whether --enable-textdlg was given.
14827 if test "${enable_textdlg+set}" = set; then
14828 enableval=$enable_textdlg;
14829 if test "$enableval" = yes; then
14830 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14831 else
14832 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14833 fi
14834 cache=yes
14835
14836 else
14837
14838 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14839 if test "x$LINE" != x ; then
14840 eval "DEFAULT_$LINE"
14841 cache=yes
14842 else
14843 cache=no
14844 fi
14845
14846 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14847
14848 fi
14849
14850
14851 eval "$wx_cv_use_textdlg"
14852 if test "x$cache" = xyes; then
14853 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14854 fi
14855
14856 if test x"$enablestring" = xdisable; then
14857 if test $wxUSE_TEXTDLG = yes; then
14858 result=no
14859 else
14860 result=yes
14861 fi
14862 else
14863 result=$wxUSE_TEXTDLG
14864 fi
14865
14866 { echo "$as_me:$LINENO: result: $result" >&5
14867 echo "${ECHO_T}$result" >&6; }
14868
14869
14870 enablestring=
14871 defaultval=$wxUSE_ALL_FEATURES
14872 if test -z "$defaultval"; then
14873 if test x"$enablestring" = xdisable; then
14874 defaultval=yes
14875 else
14876 defaultval=no
14877 fi
14878 fi
14879
14880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14881 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14882 # Check whether --enable-tipdlg was given.
14883 if test "${enable_tipdlg+set}" = set; then
14884 enableval=$enable_tipdlg;
14885 if test "$enableval" = yes; then
14886 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14887 else
14888 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14889 fi
14890 cache=yes
14891
14892 else
14893
14894 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14895 if test "x$LINE" != x ; then
14896 eval "DEFAULT_$LINE"
14897 cache=yes
14898 else
14899 cache=no
14900 fi
14901
14902 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14903
14904 fi
14905
14906
14907 eval "$wx_cv_use_tipdlg"
14908 if test "x$cache" = xyes; then
14909 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14910 fi
14911
14912 if test x"$enablestring" = xdisable; then
14913 if test $wxUSE_STARTUP_TIPS = yes; then
14914 result=no
14915 else
14916 result=yes
14917 fi
14918 else
14919 result=$wxUSE_STARTUP_TIPS
14920 fi
14921
14922 { echo "$as_me:$LINENO: result: $result" >&5
14923 echo "${ECHO_T}$result" >&6; }
14924
14925
14926 enablestring=
14927 defaultval=$wxUSE_ALL_FEATURES
14928 if test -z "$defaultval"; then
14929 if test x"$enablestring" = xdisable; then
14930 defaultval=yes
14931 else
14932 defaultval=no
14933 fi
14934 fi
14935
14936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14937 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14938 # Check whether --enable-progressdlg was given.
14939 if test "${enable_progressdlg+set}" = set; then
14940 enableval=$enable_progressdlg;
14941 if test "$enableval" = yes; then
14942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14943 else
14944 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14945 fi
14946 cache=yes
14947
14948 else
14949
14950 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14951 if test "x$LINE" != x ; then
14952 eval "DEFAULT_$LINE"
14953 cache=yes
14954 else
14955 cache=no
14956 fi
14957
14958 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14959
14960 fi
14961
14962
14963 eval "$wx_cv_use_progressdlg"
14964 if test "x$cache" = xyes; then
14965 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14966 fi
14967
14968 if test x"$enablestring" = xdisable; then
14969 if test $wxUSE_PROGRESSDLG = yes; then
14970 result=no
14971 else
14972 result=yes
14973 fi
14974 else
14975 result=$wxUSE_PROGRESSDLG
14976 fi
14977
14978 { echo "$as_me:$LINENO: result: $result" >&5
14979 echo "${ECHO_T}$result" >&6; }
14980
14981
14982 enablestring=
14983 defaultval=$wxUSE_ALL_FEATURES
14984 if test -z "$defaultval"; then
14985 if test x"$enablestring" = xdisable; then
14986 defaultval=yes
14987 else
14988 defaultval=no
14989 fi
14990 fi
14991
14992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14993 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14994 # Check whether --enable-wizarddlg was given.
14995 if test "${enable_wizarddlg+set}" = set; then
14996 enableval=$enable_wizarddlg;
14997 if test "$enableval" = yes; then
14998 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14999 else
15000 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15001 fi
15002 cache=yes
15003
15004 else
15005
15006 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15007 if test "x$LINE" != x ; then
15008 eval "DEFAULT_$LINE"
15009 cache=yes
15010 else
15011 cache=no
15012 fi
15013
15014 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15015
15016 fi
15017
15018
15019 eval "$wx_cv_use_wizarddlg"
15020 if test "x$cache" = xyes; then
15021 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15022 fi
15023
15024 if test x"$enablestring" = xdisable; then
15025 if test $wxUSE_WIZARDDLG = yes; then
15026 result=no
15027 else
15028 result=yes
15029 fi
15030 else
15031 result=$wxUSE_WIZARDDLG
15032 fi
15033
15034 { echo "$as_me:$LINENO: result: $result" >&5
15035 echo "${ECHO_T}$result" >&6; }
15036
15037
15038
15039
15040 enablestring=
15041 defaultval=$wxUSE_ALL_FEATURES
15042 if test -z "$defaultval"; then
15043 if test x"$enablestring" = xdisable; then
15044 defaultval=yes
15045 else
15046 defaultval=no
15047 fi
15048 fi
15049
15050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15051 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15052 # Check whether --enable-menus was given.
15053 if test "${enable_menus+set}" = set; then
15054 enableval=$enable_menus;
15055 if test "$enableval" = yes; then
15056 wx_cv_use_menus='wxUSE_MENUS=yes'
15057 else
15058 wx_cv_use_menus='wxUSE_MENUS=no'
15059 fi
15060 cache=yes
15061
15062 else
15063
15064 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15065 if test "x$LINE" != x ; then
15066 eval "DEFAULT_$LINE"
15067 cache=yes
15068 else
15069 cache=no
15070 fi
15071
15072 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15073
15074 fi
15075
15076
15077 eval "$wx_cv_use_menus"
15078 if test "x$cache" = xyes; then
15079 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15080 fi
15081
15082 if test x"$enablestring" = xdisable; then
15083 if test $wxUSE_MENUS = yes; then
15084 result=no
15085 else
15086 result=yes
15087 fi
15088 else
15089 result=$wxUSE_MENUS
15090 fi
15091
15092 { echo "$as_me:$LINENO: result: $result" >&5
15093 echo "${ECHO_T}$result" >&6; }
15094
15095
15096 enablestring=
15097 defaultval=$wxUSE_ALL_FEATURES
15098 if test -z "$defaultval"; then
15099 if test x"$enablestring" = xdisable; then
15100 defaultval=yes
15101 else
15102 defaultval=no
15103 fi
15104 fi
15105
15106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15107 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15108 # Check whether --enable-miniframe was given.
15109 if test "${enable_miniframe+set}" = set; then
15110 enableval=$enable_miniframe;
15111 if test "$enableval" = yes; then
15112 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15113 else
15114 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15115 fi
15116 cache=yes
15117
15118 else
15119
15120 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15121 if test "x$LINE" != x ; then
15122 eval "DEFAULT_$LINE"
15123 cache=yes
15124 else
15125 cache=no
15126 fi
15127
15128 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15129
15130 fi
15131
15132
15133 eval "$wx_cv_use_miniframe"
15134 if test "x$cache" = xyes; then
15135 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15136 fi
15137
15138 if test x"$enablestring" = xdisable; then
15139 if test $wxUSE_MINIFRAME = yes; then
15140 result=no
15141 else
15142 result=yes
15143 fi
15144 else
15145 result=$wxUSE_MINIFRAME
15146 fi
15147
15148 { echo "$as_me:$LINENO: result: $result" >&5
15149 echo "${ECHO_T}$result" >&6; }
15150
15151
15152 enablestring=
15153 defaultval=$wxUSE_ALL_FEATURES
15154 if test -z "$defaultval"; then
15155 if test x"$enablestring" = xdisable; then
15156 defaultval=yes
15157 else
15158 defaultval=no
15159 fi
15160 fi
15161
15162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15163 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15164 # Check whether --enable-tooltips was given.
15165 if test "${enable_tooltips+set}" = set; then
15166 enableval=$enable_tooltips;
15167 if test "$enableval" = yes; then
15168 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15169 else
15170 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15171 fi
15172 cache=yes
15173
15174 else
15175
15176 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15177 if test "x$LINE" != x ; then
15178 eval "DEFAULT_$LINE"
15179 cache=yes
15180 else
15181 cache=no
15182 fi
15183
15184 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15185
15186 fi
15187
15188
15189 eval "$wx_cv_use_tooltips"
15190 if test "x$cache" = xyes; then
15191 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15192 fi
15193
15194 if test x"$enablestring" = xdisable; then
15195 if test $wxUSE_TOOLTIPS = yes; then
15196 result=no
15197 else
15198 result=yes
15199 fi
15200 else
15201 result=$wxUSE_TOOLTIPS
15202 fi
15203
15204 { echo "$as_me:$LINENO: result: $result" >&5
15205 echo "${ECHO_T}$result" >&6; }
15206
15207
15208 enablestring=
15209 defaultval=$wxUSE_ALL_FEATURES
15210 if test -z "$defaultval"; then
15211 if test x"$enablestring" = xdisable; then
15212 defaultval=yes
15213 else
15214 defaultval=no
15215 fi
15216 fi
15217
15218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15219 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15220 # Check whether --enable-splines was given.
15221 if test "${enable_splines+set}" = set; then
15222 enableval=$enable_splines;
15223 if test "$enableval" = yes; then
15224 wx_cv_use_splines='wxUSE_SPLINES=yes'
15225 else
15226 wx_cv_use_splines='wxUSE_SPLINES=no'
15227 fi
15228 cache=yes
15229
15230 else
15231
15232 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15233 if test "x$LINE" != x ; then
15234 eval "DEFAULT_$LINE"
15235 cache=yes
15236 else
15237 cache=no
15238 fi
15239
15240 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15241
15242 fi
15243
15244
15245 eval "$wx_cv_use_splines"
15246 if test "x$cache" = xyes; then
15247 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15248 fi
15249
15250 if test x"$enablestring" = xdisable; then
15251 if test $wxUSE_SPLINES = yes; then
15252 result=no
15253 else
15254 result=yes
15255 fi
15256 else
15257 result=$wxUSE_SPLINES
15258 fi
15259
15260 { echo "$as_me:$LINENO: result: $result" >&5
15261 echo "${ECHO_T}$result" >&6; }
15262
15263
15264 enablestring=
15265 defaultval=$wxUSE_ALL_FEATURES
15266 if test -z "$defaultval"; then
15267 if test x"$enablestring" = xdisable; then
15268 defaultval=yes
15269 else
15270 defaultval=no
15271 fi
15272 fi
15273
15274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15275 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15276 # Check whether --enable-mousewheel was given.
15277 if test "${enable_mousewheel+set}" = set; then
15278 enableval=$enable_mousewheel;
15279 if test "$enableval" = yes; then
15280 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15281 else
15282 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15283 fi
15284 cache=yes
15285
15286 else
15287
15288 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15289 if test "x$LINE" != x ; then
15290 eval "DEFAULT_$LINE"
15291 cache=yes
15292 else
15293 cache=no
15294 fi
15295
15296 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15297
15298 fi
15299
15300
15301 eval "$wx_cv_use_mousewheel"
15302 if test "x$cache" = xyes; then
15303 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15304 fi
15305
15306 if test x"$enablestring" = xdisable; then
15307 if test $wxUSE_MOUSEWHEEL = yes; then
15308 result=no
15309 else
15310 result=yes
15311 fi
15312 else
15313 result=$wxUSE_MOUSEWHEEL
15314 fi
15315
15316 { echo "$as_me:$LINENO: result: $result" >&5
15317 echo "${ECHO_T}$result" >&6; }
15318
15319
15320 enablestring=
15321 defaultval=$wxUSE_ALL_FEATURES
15322 if test -z "$defaultval"; then
15323 if test x"$enablestring" = xdisable; then
15324 defaultval=yes
15325 else
15326 defaultval=no
15327 fi
15328 fi
15329
15330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15331 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15332 # Check whether --enable-validators was given.
15333 if test "${enable_validators+set}" = set; then
15334 enableval=$enable_validators;
15335 if test "$enableval" = yes; then
15336 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15337 else
15338 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15339 fi
15340 cache=yes
15341
15342 else
15343
15344 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15345 if test "x$LINE" != x ; then
15346 eval "DEFAULT_$LINE"
15347 cache=yes
15348 else
15349 cache=no
15350 fi
15351
15352 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15353
15354 fi
15355
15356
15357 eval "$wx_cv_use_validators"
15358 if test "x$cache" = xyes; then
15359 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15360 fi
15361
15362 if test x"$enablestring" = xdisable; then
15363 if test $wxUSE_VALIDATORS = yes; then
15364 result=no
15365 else
15366 result=yes
15367 fi
15368 else
15369 result=$wxUSE_VALIDATORS
15370 fi
15371
15372 { echo "$as_me:$LINENO: result: $result" >&5
15373 echo "${ECHO_T}$result" >&6; }
15374
15375
15376 enablestring=
15377 defaultval=$wxUSE_ALL_FEATURES
15378 if test -z "$defaultval"; then
15379 if test x"$enablestring" = xdisable; then
15380 defaultval=yes
15381 else
15382 defaultval=no
15383 fi
15384 fi
15385
15386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15387 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15388 # Check whether --enable-busyinfo was given.
15389 if test "${enable_busyinfo+set}" = set; then
15390 enableval=$enable_busyinfo;
15391 if test "$enableval" = yes; then
15392 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15393 else
15394 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15395 fi
15396 cache=yes
15397
15398 else
15399
15400 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15401 if test "x$LINE" != x ; then
15402 eval "DEFAULT_$LINE"
15403 cache=yes
15404 else
15405 cache=no
15406 fi
15407
15408 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15409
15410 fi
15411
15412
15413 eval "$wx_cv_use_busyinfo"
15414 if test "x$cache" = xyes; then
15415 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15416 fi
15417
15418 if test x"$enablestring" = xdisable; then
15419 if test $wxUSE_BUSYINFO = yes; then
15420 result=no
15421 else
15422 result=yes
15423 fi
15424 else
15425 result=$wxUSE_BUSYINFO
15426 fi
15427
15428 { echo "$as_me:$LINENO: result: $result" >&5
15429 echo "${ECHO_T}$result" >&6; }
15430
15431
15432 enablestring=
15433 defaultval=$wxUSE_ALL_FEATURES
15434 if test -z "$defaultval"; then
15435 if test x"$enablestring" = xdisable; then
15436 defaultval=yes
15437 else
15438 defaultval=no
15439 fi
15440 fi
15441
15442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15443 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15444 # Check whether --enable-joystick was given.
15445 if test "${enable_joystick+set}" = set; then
15446 enableval=$enable_joystick;
15447 if test "$enableval" = yes; then
15448 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15449 else
15450 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15451 fi
15452 cache=yes
15453
15454 else
15455
15456 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15457 if test "x$LINE" != x ; then
15458 eval "DEFAULT_$LINE"
15459 cache=yes
15460 else
15461 cache=no
15462 fi
15463
15464 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15465
15466 fi
15467
15468
15469 eval "$wx_cv_use_joystick"
15470 if test "x$cache" = xyes; then
15471 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15472 fi
15473
15474 if test x"$enablestring" = xdisable; then
15475 if test $wxUSE_JOYSTICK = yes; then
15476 result=no
15477 else
15478 result=yes
15479 fi
15480 else
15481 result=$wxUSE_JOYSTICK
15482 fi
15483
15484 { echo "$as_me:$LINENO: result: $result" >&5
15485 echo "${ECHO_T}$result" >&6; }
15486
15487
15488 enablestring=
15489 defaultval=$wxUSE_ALL_FEATURES
15490 if test -z "$defaultval"; then
15491 if test x"$enablestring" = xdisable; then
15492 defaultval=yes
15493 else
15494 defaultval=no
15495 fi
15496 fi
15497
15498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15499 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15500 # Check whether --enable-metafile was given.
15501 if test "${enable_metafile+set}" = set; then
15502 enableval=$enable_metafile;
15503 if test "$enableval" = yes; then
15504 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15505 else
15506 wx_cv_use_metafile='wxUSE_METAFILE=no'
15507 fi
15508 cache=yes
15509
15510 else
15511
15512 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15513 if test "x$LINE" != x ; then
15514 eval "DEFAULT_$LINE"
15515 cache=yes
15516 else
15517 cache=no
15518 fi
15519
15520 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15521
15522 fi
15523
15524
15525 eval "$wx_cv_use_metafile"
15526 if test "x$cache" = xyes; then
15527 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15528 fi
15529
15530 if test x"$enablestring" = xdisable; then
15531 if test $wxUSE_METAFILE = yes; then
15532 result=no
15533 else
15534 result=yes
15535 fi
15536 else
15537 result=$wxUSE_METAFILE
15538 fi
15539
15540 { echo "$as_me:$LINENO: result: $result" >&5
15541 echo "${ECHO_T}$result" >&6; }
15542
15543
15544 enablestring=
15545 defaultval=$wxUSE_ALL_FEATURES
15546 if test -z "$defaultval"; then
15547 if test x"$enablestring" = xdisable; then
15548 defaultval=yes
15549 else
15550 defaultval=no
15551 fi
15552 fi
15553
15554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15555 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15556 # Check whether --enable-dragimage was given.
15557 if test "${enable_dragimage+set}" = set; then
15558 enableval=$enable_dragimage;
15559 if test "$enableval" = yes; then
15560 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15561 else
15562 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15563 fi
15564 cache=yes
15565
15566 else
15567
15568 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15569 if test "x$LINE" != x ; then
15570 eval "DEFAULT_$LINE"
15571 cache=yes
15572 else
15573 cache=no
15574 fi
15575
15576 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15577
15578 fi
15579
15580
15581 eval "$wx_cv_use_dragimage"
15582 if test "x$cache" = xyes; then
15583 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15584 fi
15585
15586 if test x"$enablestring" = xdisable; then
15587 if test $wxUSE_DRAGIMAGE = yes; then
15588 result=no
15589 else
15590 result=yes
15591 fi
15592 else
15593 result=$wxUSE_DRAGIMAGE
15594 fi
15595
15596 { echo "$as_me:$LINENO: result: $result" >&5
15597 echo "${ECHO_T}$result" >&6; }
15598
15599
15600 enablestring=
15601 defaultval=$wxUSE_ALL_FEATURES
15602 if test -z "$defaultval"; then
15603 if test x"$enablestring" = xdisable; then
15604 defaultval=yes
15605 else
15606 defaultval=no
15607 fi
15608 fi
15609
15610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15611 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15612 # Check whether --enable-accessibility was given.
15613 if test "${enable_accessibility+set}" = set; then
15614 enableval=$enable_accessibility;
15615 if test "$enableval" = yes; then
15616 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15617 else
15618 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15619 fi
15620 cache=yes
15621
15622 else
15623
15624 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15625 if test "x$LINE" != x ; then
15626 eval "DEFAULT_$LINE"
15627 cache=yes
15628 else
15629 cache=no
15630 fi
15631
15632 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15633
15634 fi
15635
15636
15637 eval "$wx_cv_use_accessibility"
15638 if test "x$cache" = xyes; then
15639 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15640 fi
15641
15642 if test x"$enablestring" = xdisable; then
15643 if test $wxUSE_ACCESSIBILITY = yes; then
15644 result=no
15645 else
15646 result=yes
15647 fi
15648 else
15649 result=$wxUSE_ACCESSIBILITY
15650 fi
15651
15652 { echo "$as_me:$LINENO: result: $result" >&5
15653 echo "${ECHO_T}$result" >&6; }
15654
15655
15656
15657
15658 enablestring=
15659 defaultval=$wxUSE_ALL_FEATURES
15660 if test -z "$defaultval"; then
15661 if test x"$enablestring" = xdisable; then
15662 defaultval=yes
15663 else
15664 defaultval=no
15665 fi
15666 fi
15667
15668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15669 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15670 # Check whether --enable-palette was given.
15671 if test "${enable_palette+set}" = set; then
15672 enableval=$enable_palette;
15673 if test "$enableval" = yes; then
15674 wx_cv_use_palette='wxUSE_PALETTE=yes'
15675 else
15676 wx_cv_use_palette='wxUSE_PALETTE=no'
15677 fi
15678 cache=yes
15679
15680 else
15681
15682 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15683 if test "x$LINE" != x ; then
15684 eval "DEFAULT_$LINE"
15685 cache=yes
15686 else
15687 cache=no
15688 fi
15689
15690 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15691
15692 fi
15693
15694
15695 eval "$wx_cv_use_palette"
15696 if test "x$cache" = xyes; then
15697 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15698 fi
15699
15700 if test x"$enablestring" = xdisable; then
15701 if test $wxUSE_PALETTE = yes; then
15702 result=no
15703 else
15704 result=yes
15705 fi
15706 else
15707 result=$wxUSE_PALETTE
15708 fi
15709
15710 { echo "$as_me:$LINENO: result: $result" >&5
15711 echo "${ECHO_T}$result" >&6; }
15712
15713
15714 enablestring=
15715 defaultval=$wxUSE_ALL_FEATURES
15716 if test -z "$defaultval"; then
15717 if test x"$enablestring" = xdisable; then
15718 defaultval=yes
15719 else
15720 defaultval=no
15721 fi
15722 fi
15723
15724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15725 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15726 # Check whether --enable-image was given.
15727 if test "${enable_image+set}" = set; then
15728 enableval=$enable_image;
15729 if test "$enableval" = yes; then
15730 wx_cv_use_image='wxUSE_IMAGE=yes'
15731 else
15732 wx_cv_use_image='wxUSE_IMAGE=no'
15733 fi
15734 cache=yes
15735
15736 else
15737
15738 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15739 if test "x$LINE" != x ; then
15740 eval "DEFAULT_$LINE"
15741 cache=yes
15742 else
15743 cache=no
15744 fi
15745
15746 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15747
15748 fi
15749
15750
15751 eval "$wx_cv_use_image"
15752 if test "x$cache" = xyes; then
15753 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15754 fi
15755
15756 if test x"$enablestring" = xdisable; then
15757 if test $wxUSE_IMAGE = yes; then
15758 result=no
15759 else
15760 result=yes
15761 fi
15762 else
15763 result=$wxUSE_IMAGE
15764 fi
15765
15766 { echo "$as_me:$LINENO: result: $result" >&5
15767 echo "${ECHO_T}$result" >&6; }
15768
15769
15770 enablestring=
15771 defaultval=$wxUSE_ALL_FEATURES
15772 if test -z "$defaultval"; then
15773 if test x"$enablestring" = xdisable; then
15774 defaultval=yes
15775 else
15776 defaultval=no
15777 fi
15778 fi
15779
15780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15781 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15782 # Check whether --enable-gif was given.
15783 if test "${enable_gif+set}" = set; then
15784 enableval=$enable_gif;
15785 if test "$enableval" = yes; then
15786 wx_cv_use_gif='wxUSE_GIF=yes'
15787 else
15788 wx_cv_use_gif='wxUSE_GIF=no'
15789 fi
15790 cache=yes
15791
15792 else
15793
15794 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15795 if test "x$LINE" != x ; then
15796 eval "DEFAULT_$LINE"
15797 cache=yes
15798 else
15799 cache=no
15800 fi
15801
15802 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15803
15804 fi
15805
15806
15807 eval "$wx_cv_use_gif"
15808 if test "x$cache" = xyes; then
15809 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15810 fi
15811
15812 if test x"$enablestring" = xdisable; then
15813 if test $wxUSE_GIF = yes; then
15814 result=no
15815 else
15816 result=yes
15817 fi
15818 else
15819 result=$wxUSE_GIF
15820 fi
15821
15822 { echo "$as_me:$LINENO: result: $result" >&5
15823 echo "${ECHO_T}$result" >&6; }
15824
15825
15826 enablestring=
15827 defaultval=$wxUSE_ALL_FEATURES
15828 if test -z "$defaultval"; then
15829 if test x"$enablestring" = xdisable; then
15830 defaultval=yes
15831 else
15832 defaultval=no
15833 fi
15834 fi
15835
15836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15837 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15838 # Check whether --enable-pcx was given.
15839 if test "${enable_pcx+set}" = set; then
15840 enableval=$enable_pcx;
15841 if test "$enableval" = yes; then
15842 wx_cv_use_pcx='wxUSE_PCX=yes'
15843 else
15844 wx_cv_use_pcx='wxUSE_PCX=no'
15845 fi
15846 cache=yes
15847
15848 else
15849
15850 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15851 if test "x$LINE" != x ; then
15852 eval "DEFAULT_$LINE"
15853 cache=yes
15854 else
15855 cache=no
15856 fi
15857
15858 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15859
15860 fi
15861
15862
15863 eval "$wx_cv_use_pcx"
15864 if test "x$cache" = xyes; then
15865 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15866 fi
15867
15868 if test x"$enablestring" = xdisable; then
15869 if test $wxUSE_PCX = yes; then
15870 result=no
15871 else
15872 result=yes
15873 fi
15874 else
15875 result=$wxUSE_PCX
15876 fi
15877
15878 { echo "$as_me:$LINENO: result: $result" >&5
15879 echo "${ECHO_T}$result" >&6; }
15880
15881
15882 enablestring=
15883 defaultval=$wxUSE_ALL_FEATURES
15884 if test -z "$defaultval"; then
15885 if test x"$enablestring" = xdisable; then
15886 defaultval=yes
15887 else
15888 defaultval=no
15889 fi
15890 fi
15891
15892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15893 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15894 # Check whether --enable-tga was given.
15895 if test "${enable_tga+set}" = set; then
15896 enableval=$enable_tga;
15897 if test "$enableval" = yes; then
15898 wx_cv_use_tga='wxUSE_TGA=yes'
15899 else
15900 wx_cv_use_tga='wxUSE_TGA=no'
15901 fi
15902 cache=yes
15903
15904 else
15905
15906 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15907 if test "x$LINE" != x ; then
15908 eval "DEFAULT_$LINE"
15909 cache=yes
15910 else
15911 cache=no
15912 fi
15913
15914 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15915
15916 fi
15917
15918
15919 eval "$wx_cv_use_tga"
15920 if test "x$cache" = xyes; then
15921 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15922 fi
15923
15924 if test x"$enablestring" = xdisable; then
15925 if test $wxUSE_TGA = yes; then
15926 result=no
15927 else
15928 result=yes
15929 fi
15930 else
15931 result=$wxUSE_TGA
15932 fi
15933
15934 { echo "$as_me:$LINENO: result: $result" >&5
15935 echo "${ECHO_T}$result" >&6; }
15936
15937
15938 enablestring=
15939 defaultval=$wxUSE_ALL_FEATURES
15940 if test -z "$defaultval"; then
15941 if test x"$enablestring" = xdisable; then
15942 defaultval=yes
15943 else
15944 defaultval=no
15945 fi
15946 fi
15947
15948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15949 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15950 # Check whether --enable-iff was given.
15951 if test "${enable_iff+set}" = set; then
15952 enableval=$enable_iff;
15953 if test "$enableval" = yes; then
15954 wx_cv_use_iff='wxUSE_IFF=yes'
15955 else
15956 wx_cv_use_iff='wxUSE_IFF=no'
15957 fi
15958 cache=yes
15959
15960 else
15961
15962 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15963 if test "x$LINE" != x ; then
15964 eval "DEFAULT_$LINE"
15965 cache=yes
15966 else
15967 cache=no
15968 fi
15969
15970 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15971
15972 fi
15973
15974
15975 eval "$wx_cv_use_iff"
15976 if test "x$cache" = xyes; then
15977 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15978 fi
15979
15980 if test x"$enablestring" = xdisable; then
15981 if test $wxUSE_IFF = yes; then
15982 result=no
15983 else
15984 result=yes
15985 fi
15986 else
15987 result=$wxUSE_IFF
15988 fi
15989
15990 { echo "$as_me:$LINENO: result: $result" >&5
15991 echo "${ECHO_T}$result" >&6; }
15992
15993
15994 enablestring=
15995 defaultval=$wxUSE_ALL_FEATURES
15996 if test -z "$defaultval"; then
15997 if test x"$enablestring" = xdisable; then
15998 defaultval=yes
15999 else
16000 defaultval=no
16001 fi
16002 fi
16003
16004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16005 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16006 # Check whether --enable-pnm was given.
16007 if test "${enable_pnm+set}" = set; then
16008 enableval=$enable_pnm;
16009 if test "$enableval" = yes; then
16010 wx_cv_use_pnm='wxUSE_PNM=yes'
16011 else
16012 wx_cv_use_pnm='wxUSE_PNM=no'
16013 fi
16014 cache=yes
16015
16016 else
16017
16018 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16019 if test "x$LINE" != x ; then
16020 eval "DEFAULT_$LINE"
16021 cache=yes
16022 else
16023 cache=no
16024 fi
16025
16026 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16027
16028 fi
16029
16030
16031 eval "$wx_cv_use_pnm"
16032 if test "x$cache" = xyes; then
16033 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16034 fi
16035
16036 if test x"$enablestring" = xdisable; then
16037 if test $wxUSE_PNM = yes; then
16038 result=no
16039 else
16040 result=yes
16041 fi
16042 else
16043 result=$wxUSE_PNM
16044 fi
16045
16046 { echo "$as_me:$LINENO: result: $result" >&5
16047 echo "${ECHO_T}$result" >&6; }
16048
16049
16050 enablestring=
16051 defaultval=$wxUSE_ALL_FEATURES
16052 if test -z "$defaultval"; then
16053 if test x"$enablestring" = xdisable; then
16054 defaultval=yes
16055 else
16056 defaultval=no
16057 fi
16058 fi
16059
16060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16061 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16062 # Check whether --enable-xpm was given.
16063 if test "${enable_xpm+set}" = set; then
16064 enableval=$enable_xpm;
16065 if test "$enableval" = yes; then
16066 wx_cv_use_xpm='wxUSE_XPM=yes'
16067 else
16068 wx_cv_use_xpm='wxUSE_XPM=no'
16069 fi
16070 cache=yes
16071
16072 else
16073
16074 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16075 if test "x$LINE" != x ; then
16076 eval "DEFAULT_$LINE"
16077 cache=yes
16078 else
16079 cache=no
16080 fi
16081
16082 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16083
16084 fi
16085
16086
16087 eval "$wx_cv_use_xpm"
16088 if test "x$cache" = xyes; then
16089 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16090 fi
16091
16092 if test x"$enablestring" = xdisable; then
16093 if test $wxUSE_XPM = yes; then
16094 result=no
16095 else
16096 result=yes
16097 fi
16098 else
16099 result=$wxUSE_XPM
16100 fi
16101
16102 { echo "$as_me:$LINENO: result: $result" >&5
16103 echo "${ECHO_T}$result" >&6; }
16104
16105
16106 enablestring=
16107 defaultval=$wxUSE_ALL_FEATURES
16108 if test -z "$defaultval"; then
16109 if test x"$enablestring" = xdisable; then
16110 defaultval=yes
16111 else
16112 defaultval=no
16113 fi
16114 fi
16115
16116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16117 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16118 # Check whether --enable-ico_cur was given.
16119 if test "${enable_ico_cur+set}" = set; then
16120 enableval=$enable_ico_cur;
16121 if test "$enableval" = yes; then
16122 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16123 else
16124 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16125 fi
16126 cache=yes
16127
16128 else
16129
16130 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16131 if test "x$LINE" != x ; then
16132 eval "DEFAULT_$LINE"
16133 cache=yes
16134 else
16135 cache=no
16136 fi
16137
16138 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16139
16140 fi
16141
16142
16143 eval "$wx_cv_use_ico_cur"
16144 if test "x$cache" = xyes; then
16145 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16146 fi
16147
16148 if test x"$enablestring" = xdisable; then
16149 if test $wxUSE_ICO_CUR = yes; then
16150 result=no
16151 else
16152 result=yes
16153 fi
16154 else
16155 result=$wxUSE_ICO_CUR
16156 fi
16157
16158 { echo "$as_me:$LINENO: result: $result" >&5
16159 echo "${ECHO_T}$result" >&6; }
16160
16161
16162
16163
16164 enablestring=
16165 defaultval=$wxUSE_ALL_FEATURES
16166 if test -z "$defaultval"; then
16167 if test x"$enablestring" = xdisable; then
16168 defaultval=yes
16169 else
16170 defaultval=no
16171 fi
16172 fi
16173
16174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16175 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16176 # Check whether --enable-dccache was given.
16177 if test "${enable_dccache+set}" = set; then
16178 enableval=$enable_dccache;
16179 if test "$enableval" = yes; then
16180 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16181 else
16182 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16183 fi
16184 cache=yes
16185
16186 else
16187
16188 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16189 if test "x$LINE" != x ; then
16190 eval "DEFAULT_$LINE"
16191 cache=yes
16192 else
16193 cache=no
16194 fi
16195
16196 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16197
16198 fi
16199
16200
16201 eval "$wx_cv_use_dccache"
16202 if test "x$cache" = xyes; then
16203 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16204 fi
16205
16206 if test x"$enablestring" = xdisable; then
16207 if test $wxUSE_DC_CACHEING = yes; then
16208 result=no
16209 else
16210 result=yes
16211 fi
16212 else
16213 result=$wxUSE_DC_CACHEING
16214 fi
16215
16216 { echo "$as_me:$LINENO: result: $result" >&5
16217 echo "${ECHO_T}$result" >&6; }
16218
16219
16220 enablestring=
16221 defaultval=$wxUSE_ALL_FEATURES
16222 if test -z "$defaultval"; then
16223 if test x"$enablestring" = xdisable; then
16224 defaultval=yes
16225 else
16226 defaultval=no
16227 fi
16228 fi
16229
16230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16231 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16232 # Check whether --enable-ps-in-msw was given.
16233 if test "${enable_ps_in_msw+set}" = set; then
16234 enableval=$enable_ps_in_msw;
16235 if test "$enableval" = yes; then
16236 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16237 else
16238 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16239 fi
16240 cache=yes
16241
16242 else
16243
16244 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16245 if test "x$LINE" != x ; then
16246 eval "DEFAULT_$LINE"
16247 cache=yes
16248 else
16249 cache=no
16250 fi
16251
16252 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16253
16254 fi
16255
16256
16257 eval "$wx_cv_use_ps_in_msw"
16258 if test "x$cache" = xyes; then
16259 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16260 fi
16261
16262 if test x"$enablestring" = xdisable; then
16263 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16264 result=no
16265 else
16266 result=yes
16267 fi
16268 else
16269 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16270 fi
16271
16272 { echo "$as_me:$LINENO: result: $result" >&5
16273 echo "${ECHO_T}$result" >&6; }
16274
16275
16276 enablestring=
16277 defaultval=$wxUSE_ALL_FEATURES
16278 if test -z "$defaultval"; then
16279 if test x"$enablestring" = xdisable; then
16280 defaultval=yes
16281 else
16282 defaultval=no
16283 fi
16284 fi
16285
16286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16287 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16288 # Check whether --enable-ownerdrawn was given.
16289 if test "${enable_ownerdrawn+set}" = set; then
16290 enableval=$enable_ownerdrawn;
16291 if test "$enableval" = yes; then
16292 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16293 else
16294 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16295 fi
16296 cache=yes
16297
16298 else
16299
16300 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16301 if test "x$LINE" != x ; then
16302 eval "DEFAULT_$LINE"
16303 cache=yes
16304 else
16305 cache=no
16306 fi
16307
16308 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16309
16310 fi
16311
16312
16313 eval "$wx_cv_use_ownerdrawn"
16314 if test "x$cache" = xyes; then
16315 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16316 fi
16317
16318 if test x"$enablestring" = xdisable; then
16319 if test $wxUSE_OWNER_DRAWN = yes; then
16320 result=no
16321 else
16322 result=yes
16323 fi
16324 else
16325 result=$wxUSE_OWNER_DRAWN
16326 fi
16327
16328 { echo "$as_me:$LINENO: result: $result" >&5
16329 echo "${ECHO_T}$result" >&6; }
16330
16331
16332 enablestring=
16333 defaultval=$wxUSE_ALL_FEATURES
16334 if test -z "$defaultval"; then
16335 if test x"$enablestring" = xdisable; then
16336 defaultval=yes
16337 else
16338 defaultval=no
16339 fi
16340 fi
16341
16342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16343 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16344 # Check whether --enable-uxtheme was given.
16345 if test "${enable_uxtheme+set}" = set; then
16346 enableval=$enable_uxtheme;
16347 if test "$enableval" = yes; then
16348 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16349 else
16350 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16351 fi
16352 cache=yes
16353
16354 else
16355
16356 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16357 if test "x$LINE" != x ; then
16358 eval "DEFAULT_$LINE"
16359 cache=yes
16360 else
16361 cache=no
16362 fi
16363
16364 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16365
16366 fi
16367
16368
16369 eval "$wx_cv_use_uxtheme"
16370 if test "x$cache" = xyes; then
16371 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16372 fi
16373
16374 if test x"$enablestring" = xdisable; then
16375 if test $wxUSE_UXTHEME = yes; then
16376 result=no
16377 else
16378 result=yes
16379 fi
16380 else
16381 result=$wxUSE_UXTHEME
16382 fi
16383
16384 { echo "$as_me:$LINENO: result: $result" >&5
16385 echo "${ECHO_T}$result" >&6; }
16386
16387
16388 enablestring=
16389 defaultval=$wxUSE_ALL_FEATURES
16390 if test -z "$defaultval"; then
16391 if test x"$enablestring" = xdisable; then
16392 defaultval=yes
16393 else
16394 defaultval=no
16395 fi
16396 fi
16397
16398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16399 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16400 # Check whether --enable-wxdib was given.
16401 if test "${enable_wxdib+set}" = set; then
16402 enableval=$enable_wxdib;
16403 if test "$enableval" = yes; then
16404 wx_cv_use_wxdib='wxUSE_DIB=yes'
16405 else
16406 wx_cv_use_wxdib='wxUSE_DIB=no'
16407 fi
16408 cache=yes
16409
16410 else
16411
16412 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16413 if test "x$LINE" != x ; then
16414 eval "DEFAULT_$LINE"
16415 cache=yes
16416 else
16417 cache=no
16418 fi
16419
16420 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16421
16422 fi
16423
16424
16425 eval "$wx_cv_use_wxdib"
16426 if test "x$cache" = xyes; then
16427 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16428 fi
16429
16430 if test x"$enablestring" = xdisable; then
16431 if test $wxUSE_DIB = yes; then
16432 result=no
16433 else
16434 result=yes
16435 fi
16436 else
16437 result=$wxUSE_DIB
16438 fi
16439
16440 { echo "$as_me:$LINENO: result: $result" >&5
16441 echo "${ECHO_T}$result" >&6; }
16442
16443
16444 fi
16445
16446
16447 echo "saving argument cache $wx_arg_cache_file"
16448 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16449
16450
16451
16452 { echo "$as_me:$LINENO: checking for toolkit" >&5
16453 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16454
16455 # In Wine, we need to default to MSW, not GTK or MOTIF
16456 if test "$wxUSE_WINE" = "yes"; then
16457 DEFAULT_DEFAULT_wxUSE_GTK=0
16458 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16459 DEFAULT_DEFAULT_wxUSE_MSW=1
16460 wxUSE_SHARED=no
16461 CC=${CC:-winegcc}
16462 CXX=${CXX:-wineg++}
16463 fi
16464
16465
16466 if test "$wxUSE_GUI" = "yes"; then
16467
16468 if test "$USE_BEOS" = 1; then
16469 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16470 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16471 { (exit 1); exit 1; }; }
16472 fi
16473
16474 if test "$TOOLKIT_GIVEN" = 1; then
16475 for toolkit in `echo $ALL_TOOLKITS`; do
16476 var=wxUSE_$toolkit
16477 eval "value=\$${var}"
16478 if test "x$value" = "xno"; then
16479 eval "$var=0"
16480 elif test "x$value" != "x"; then
16481 eval "$var=1"
16482 fi
16483
16484 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16485 eval "wx${toolkit}_VERSION=$value"
16486 fi
16487 done
16488 else
16489 for toolkit in `echo $ALL_TOOLKITS`; do
16490 if test "$has_toolkit_in_cache" != 1; then
16491 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16492 else
16493 var=DEFAULT_wxUSE_$toolkit
16494
16495 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16496 if test "x$version" != "x"; then
16497 eval "wx${toolkit}_VERSION=$version"
16498 fi
16499 fi
16500 eval "wxUSE_$toolkit=\$${var}"
16501 done
16502 fi
16503
16504 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16505 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16506 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16507
16508 case "${host}" in
16509 *-pc-os2_emx | *-pc-os2-emx )
16510 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16511 esac
16512
16513 case "$NUM_TOOLKITS" in
16514 1)
16515 ;;
16516 0)
16517 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16518 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16519 { (exit 1); exit 1; }; }
16520 ;;
16521 *)
16522 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16523 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16524 { (exit 1); exit 1; }; }
16525 esac
16526
16527 # to be removed when --disable-gtk2 isn't needed
16528 if test "x$wxUSE_GTK2" = "xyes"; then
16529 wxGTK_VERSION=2
16530 elif test "x$wxUSE_GTK2" = "xno"; then
16531 wxGTK_VERSION=1
16532 fi
16533
16534 for toolkit in `echo $ALL_TOOLKITS`; do
16535 var=wxUSE_$toolkit
16536 eval "value=\$${var}"
16537 if test "x$value" != x; then
16538 cache_var=CACHE_$toolkit
16539 eval "cache=\$${cache_var}"
16540 if test "$cache" = 1; then
16541 echo "$var=$value" >> ${wx_arg_cache_file}
16542 eval "version=\$wx${toolkit}_VERSION"
16543 if test "x$version" != "x"; then
16544 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16545 fi
16546 fi
16547 if test "$value" = 1; then
16548 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16549 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16550 echo "${ECHO_T}$toolkit_echo" >&6; }
16551 fi
16552 fi
16553 done
16554 else
16555 if test "x$host_alias" != "x"; then
16556 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16557 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16558 else
16559 { echo "$as_me:$LINENO: result: base only" >&5
16560 echo "${ECHO_T}base only" >&6; }
16561 fi
16562 fi
16563
16564
16565 cat >confcache <<\_ACEOF
16566 # This file is a shell script that caches the results of configure
16567 # tests run on this system so they can be shared between configure
16568 # scripts and configure runs, see configure's option --config-cache.
16569 # It is not useful on other systems. If it contains results you don't
16570 # want to keep, you may remove or edit it.
16571 #
16572 # config.status only pays attention to the cache file if you give it
16573 # the --recheck option to rerun configure.
16574 #
16575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16577 # following values.
16578
16579 _ACEOF
16580
16581 # The following way of writing the cache mishandles newlines in values,
16582 # but we know of no workaround that is simple, portable, and efficient.
16583 # So, we kill variables containing newlines.
16584 # Ultrix sh set writes to stderr and can't be redirected directly,
16585 # and sets the high bit in the cache file unless we assign to the vars.
16586 (
16587 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16588 eval ac_val=\$$ac_var
16589 case $ac_val in #(
16590 *${as_nl}*)
16591 case $ac_var in #(
16592 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16593 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16594 esac
16595 case $ac_var in #(
16596 _ | IFS | as_nl) ;; #(
16597 *) $as_unset $ac_var ;;
16598 esac ;;
16599 esac
16600 done
16601
16602 (set) 2>&1 |
16603 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16604 *${as_nl}ac_space=\ *)
16605 # `set' does not quote correctly, so add quotes (double-quote
16606 # substitution turns \\\\ into \\, and sed turns \\ into \).
16607 sed -n \
16608 "s/'/'\\\\''/g;
16609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16610 ;; #(
16611 *)
16612 # `set' quotes correctly as required by POSIX, so do not add quotes.
16613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16614 ;;
16615 esac |
16616 sort
16617 ) |
16618 sed '
16619 /^ac_cv_env_/b end
16620 t clear
16621 :clear
16622 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16623 t end
16624 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16625 :end' >>confcache
16626 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16627 if test -w "$cache_file"; then
16628 test "x$cache_file" != "x/dev/null" &&
16629 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16630 echo "$as_me: updating cache $cache_file" >&6;}
16631 cat confcache >$cache_file
16632 else
16633 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16634 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16635 fi
16636 fi
16637 rm -f confcache
16638
16639 CFLAGS=${CFLAGS:=}
16640
16641
16642
16643 ac_ext=c
16644 ac_cpp='$CPP $CPPFLAGS'
16645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16648 if test -n "$ac_tool_prefix"; then
16649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16650 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16653 if test "${ac_cv_prog_CC+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 else
16656 if test -n "$CC"; then
16657 ac_cv_prog_CC="$CC" # Let the user override the test.
16658 else
16659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16660 for as_dir in $PATH
16661 do
16662 IFS=$as_save_IFS
16663 test -z "$as_dir" && as_dir=.
16664 for ac_exec_ext in '' $ac_executable_extensions; do
16665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16666 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16668 break 2
16669 fi
16670 done
16671 done
16672 IFS=$as_save_IFS
16673
16674 fi
16675 fi
16676 CC=$ac_cv_prog_CC
16677 if test -n "$CC"; then
16678 { echo "$as_me:$LINENO: result: $CC" >&5
16679 echo "${ECHO_T}$CC" >&6; }
16680 else
16681 { echo "$as_me:$LINENO: result: no" >&5
16682 echo "${ECHO_T}no" >&6; }
16683 fi
16684
16685
16686 fi
16687 if test -z "$ac_cv_prog_CC"; then
16688 ac_ct_CC=$CC
16689 # Extract the first word of "gcc", so it can be a program name with args.
16690 set dummy gcc; ac_word=$2
16691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 else
16696 if test -n "$ac_ct_CC"; then
16697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16698 else
16699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16700 for as_dir in $PATH
16701 do
16702 IFS=$as_save_IFS
16703 test -z "$as_dir" && as_dir=.
16704 for ac_exec_ext in '' $ac_executable_extensions; do
16705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16706 ac_cv_prog_ac_ct_CC="gcc"
16707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16708 break 2
16709 fi
16710 done
16711 done
16712 IFS=$as_save_IFS
16713
16714 fi
16715 fi
16716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16717 if test -n "$ac_ct_CC"; then
16718 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16719 echo "${ECHO_T}$ac_ct_CC" >&6; }
16720 else
16721 { echo "$as_me:$LINENO: result: no" >&5
16722 echo "${ECHO_T}no" >&6; }
16723 fi
16724
16725 if test "x$ac_ct_CC" = x; then
16726 CC=""
16727 else
16728 case $cross_compiling:$ac_tool_warned in
16729 yes:)
16730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16731 whose name does not start with the host triplet. If you think this
16732 configuration is useful to you, please write to autoconf@gnu.org." >&5
16733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16736 ac_tool_warned=yes ;;
16737 esac
16738 CC=$ac_ct_CC
16739 fi
16740 else
16741 CC="$ac_cv_prog_CC"
16742 fi
16743
16744 if test -z "$CC"; then
16745 if test -n "$ac_tool_prefix"; then
16746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16747 set dummy ${ac_tool_prefix}cc; ac_word=$2
16748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16750 if test "${ac_cv_prog_CC+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 if test -n "$CC"; then
16754 ac_cv_prog_CC="$CC" # Let the user override the test.
16755 else
16756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16757 for as_dir in $PATH
16758 do
16759 IFS=$as_save_IFS
16760 test -z "$as_dir" && as_dir=.
16761 for ac_exec_ext in '' $ac_executable_extensions; do
16762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16763 ac_cv_prog_CC="${ac_tool_prefix}cc"
16764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16765 break 2
16766 fi
16767 done
16768 done
16769 IFS=$as_save_IFS
16770
16771 fi
16772 fi
16773 CC=$ac_cv_prog_CC
16774 if test -n "$CC"; then
16775 { echo "$as_me:$LINENO: result: $CC" >&5
16776 echo "${ECHO_T}$CC" >&6; }
16777 else
16778 { echo "$as_me:$LINENO: result: no" >&5
16779 echo "${ECHO_T}no" >&6; }
16780 fi
16781
16782
16783 fi
16784 fi
16785 if test -z "$CC"; then
16786 # Extract the first word of "cc", so it can be a program name with args.
16787 set dummy cc; ac_word=$2
16788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16790 if test "${ac_cv_prog_CC+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 else
16793 if test -n "$CC"; then
16794 ac_cv_prog_CC="$CC" # Let the user override the test.
16795 else
16796 ac_prog_rejected=no
16797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16798 for as_dir in $PATH
16799 do
16800 IFS=$as_save_IFS
16801 test -z "$as_dir" && as_dir=.
16802 for ac_exec_ext in '' $ac_executable_extensions; do
16803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16805 ac_prog_rejected=yes
16806 continue
16807 fi
16808 ac_cv_prog_CC="cc"
16809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16810 break 2
16811 fi
16812 done
16813 done
16814 IFS=$as_save_IFS
16815
16816 if test $ac_prog_rejected = yes; then
16817 # We found a bogon in the path, so make sure we never use it.
16818 set dummy $ac_cv_prog_CC
16819 shift
16820 if test $# != 0; then
16821 # We chose a different compiler from the bogus one.
16822 # However, it has the same basename, so the bogon will be chosen
16823 # first if we set CC to just the basename; use the full file name.
16824 shift
16825 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16826 fi
16827 fi
16828 fi
16829 fi
16830 CC=$ac_cv_prog_CC
16831 if test -n "$CC"; then
16832 { echo "$as_me:$LINENO: result: $CC" >&5
16833 echo "${ECHO_T}$CC" >&6; }
16834 else
16835 { echo "$as_me:$LINENO: result: no" >&5
16836 echo "${ECHO_T}no" >&6; }
16837 fi
16838
16839
16840 fi
16841 if test -z "$CC"; then
16842 if test -n "$ac_tool_prefix"; then
16843 for ac_prog in cl.exe
16844 do
16845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16846 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16849 if test "${ac_cv_prog_CC+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852 if test -n "$CC"; then
16853 ac_cv_prog_CC="$CC" # Let the user override the test.
16854 else
16855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16856 for as_dir in $PATH
16857 do
16858 IFS=$as_save_IFS
16859 test -z "$as_dir" && as_dir=.
16860 for ac_exec_ext in '' $ac_executable_extensions; do
16861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16862 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16864 break 2
16865 fi
16866 done
16867 done
16868 IFS=$as_save_IFS
16869
16870 fi
16871 fi
16872 CC=$ac_cv_prog_CC
16873 if test -n "$CC"; then
16874 { echo "$as_me:$LINENO: result: $CC" >&5
16875 echo "${ECHO_T}$CC" >&6; }
16876 else
16877 { echo "$as_me:$LINENO: result: no" >&5
16878 echo "${ECHO_T}no" >&6; }
16879 fi
16880
16881
16882 test -n "$CC" && break
16883 done
16884 fi
16885 if test -z "$CC"; then
16886 ac_ct_CC=$CC
16887 for ac_prog in cl.exe
16888 do
16889 # Extract the first word of "$ac_prog", so it can be a program name with args.
16890 set dummy $ac_prog; ac_word=$2
16891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16896 if test -n "$ac_ct_CC"; then
16897 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16898 else
16899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16900 for as_dir in $PATH
16901 do
16902 IFS=$as_save_IFS
16903 test -z "$as_dir" && as_dir=.
16904 for ac_exec_ext in '' $ac_executable_extensions; do
16905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16906 ac_cv_prog_ac_ct_CC="$ac_prog"
16907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16908 break 2
16909 fi
16910 done
16911 done
16912 IFS=$as_save_IFS
16913
16914 fi
16915 fi
16916 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16917 if test -n "$ac_ct_CC"; then
16918 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16919 echo "${ECHO_T}$ac_ct_CC" >&6; }
16920 else
16921 { echo "$as_me:$LINENO: result: no" >&5
16922 echo "${ECHO_T}no" >&6; }
16923 fi
16924
16925
16926 test -n "$ac_ct_CC" && break
16927 done
16928
16929 if test "x$ac_ct_CC" = x; then
16930 CC=""
16931 else
16932 case $cross_compiling:$ac_tool_warned in
16933 yes:)
16934 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16935 whose name does not start with the host triplet. If you think this
16936 configuration is useful to you, please write to autoconf@gnu.org." >&5
16937 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16938 whose name does not start with the host triplet. If you think this
16939 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16940 ac_tool_warned=yes ;;
16941 esac
16942 CC=$ac_ct_CC
16943 fi
16944 fi
16945
16946 fi
16947
16948
16949 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16950 See \`config.log' for more details." >&5
16951 echo "$as_me: error: no acceptable C compiler found in \$PATH
16952 See \`config.log' for more details." >&2;}
16953 { (exit 1); exit 1; }; }
16954
16955 # Provide some information about the compiler.
16956 echo "$as_me:$LINENO: checking for C compiler version" >&5
16957 ac_compiler=`set X $ac_compile; echo $2`
16958 { (ac_try="$ac_compiler --version >&5"
16959 case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16962 esac
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_compiler --version >&5") 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }
16968 { (ac_try="$ac_compiler -v >&5"
16969 case "(($ac_try" in
16970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16971 *) ac_try_echo=$ac_try;;
16972 esac
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_compiler -v >&5") 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }
16978 { (ac_try="$ac_compiler -V >&5"
16979 case "(($ac_try" in
16980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16981 *) ac_try_echo=$ac_try;;
16982 esac
16983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16984 (eval "$ac_compiler -V >&5") 2>&5
16985 ac_status=$?
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }
16988
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995
16996 int
16997 main ()
16998 {
16999
17000 ;
17001 return 0;
17002 }
17003 _ACEOF
17004 ac_clean_files_save=$ac_clean_files
17005 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17006 # Try to create an executable without -o first, disregard a.out.
17007 # It will help us diagnose broken compilers, and finding out an intuition
17008 # of exeext.
17009 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17010 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17011 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17012 #
17013 # List of possible output files, starting from the most likely.
17014 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17015 # only as a last resort. b.out is created by i960 compilers.
17016 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17017 #
17018 # The IRIX 6 linker writes into existing files which may not be
17019 # executable, retaining their permissions. Remove them first so a
17020 # subsequent execution test works.
17021 ac_rmfiles=
17022 for ac_file in $ac_files
17023 do
17024 case $ac_file in
17025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17026 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17027 esac
17028 done
17029 rm -f $ac_rmfiles
17030
17031 if { (ac_try="$ac_link_default"
17032 case "(($ac_try" in
17033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17034 *) ac_try_echo=$ac_try;;
17035 esac
17036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17037 (eval "$ac_link_default") 2>&5
17038 ac_status=$?
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; then
17041 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17042 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17043 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17044 # so that the user can short-circuit this test for compilers unknown to
17045 # Autoconf.
17046 for ac_file in $ac_files ''
17047 do
17048 test -f "$ac_file" || continue
17049 case $ac_file in
17050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17051 ;;
17052 [ab].out )
17053 # We found the default executable, but exeext='' is most
17054 # certainly right.
17055 break;;
17056 *.* )
17057 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17058 then :; else
17059 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17060 fi
17061 # We set ac_cv_exeext here because the later test for it is not
17062 # safe: cross compilers may not add the suffix if given an `-o'
17063 # argument, so we may need to know it at that point already.
17064 # Even if this section looks crufty: it has the advantage of
17065 # actually working.
17066 break;;
17067 * )
17068 break;;
17069 esac
17070 done
17071 test "$ac_cv_exeext" = no && ac_cv_exeext=
17072
17073 else
17074 ac_file=''
17075 fi
17076
17077 { echo "$as_me:$LINENO: result: $ac_file" >&5
17078 echo "${ECHO_T}$ac_file" >&6; }
17079 if test -z "$ac_file"; then
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17082
17083 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17084 See \`config.log' for more details." >&5
17085 echo "$as_me: error: C compiler cannot create executables
17086 See \`config.log' for more details." >&2;}
17087 { (exit 77); exit 77; }; }
17088 fi
17089
17090 ac_exeext=$ac_cv_exeext
17091
17092 # Check that the compiler produces executables we can run. If not, either
17093 # the compiler is broken, or we cross compile.
17094 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17095 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17096 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17097 # If not cross compiling, check that we can run a simple program.
17098 if test "$cross_compiling" != yes; then
17099 if { ac_try='./$ac_file'
17100 { (case "(($ac_try" in
17101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17102 *) ac_try_echo=$ac_try;;
17103 esac
17104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17105 (eval "$ac_try") 2>&5
17106 ac_status=$?
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 cross_compiling=no
17110 else
17111 if test "$cross_compiling" = maybe; then
17112 cross_compiling=yes
17113 else
17114 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17115 If you meant to cross compile, use \`--host'.
17116 See \`config.log' for more details." >&5
17117 echo "$as_me: error: cannot run C compiled programs.
17118 If you meant to cross compile, use \`--host'.
17119 See \`config.log' for more details." >&2;}
17120 { (exit 1); exit 1; }; }
17121 fi
17122 fi
17123 fi
17124 { echo "$as_me:$LINENO: result: yes" >&5
17125 echo "${ECHO_T}yes" >&6; }
17126
17127 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17128 ac_clean_files=$ac_clean_files_save
17129 # Check that the compiler produces executables we can run. If not, either
17130 # the compiler is broken, or we cross compile.
17131 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17132 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17133 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17134 echo "${ECHO_T}$cross_compiling" >&6; }
17135
17136 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17137 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17138 if { (ac_try="$ac_link"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17142 esac
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_link") 2>&5
17145 ac_status=$?
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; then
17148 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17149 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17150 # work properly (i.e., refer to `conftest.exe'), while it won't with
17151 # `rm'.
17152 for ac_file in conftest.exe conftest conftest.*; do
17153 test -f "$ac_file" || continue
17154 case $ac_file in
17155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17156 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17157 break;;
17158 * ) break;;
17159 esac
17160 done
17161 else
17162 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17163 See \`config.log' for more details." >&5
17164 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17165 See \`config.log' for more details." >&2;}
17166 { (exit 1); exit 1; }; }
17167 fi
17168
17169 rm -f conftest$ac_cv_exeext
17170 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17171 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17172
17173 rm -f conftest.$ac_ext
17174 EXEEXT=$ac_cv_exeext
17175 ac_exeext=$EXEEXT
17176 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17177 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17178 if test "${ac_cv_objext+set}" = set; then
17179 echo $ECHO_N "(cached) $ECHO_C" >&6
17180 else
17181 cat >conftest.$ac_ext <<_ACEOF
17182 /* confdefs.h. */
17183 _ACEOF
17184 cat confdefs.h >>conftest.$ac_ext
17185 cat >>conftest.$ac_ext <<_ACEOF
17186 /* end confdefs.h. */
17187
17188 int
17189 main ()
17190 {
17191
17192 ;
17193 return 0;
17194 }
17195 _ACEOF
17196 rm -f conftest.o conftest.obj
17197 if { (ac_try="$ac_compile"
17198 case "(($ac_try" in
17199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17200 *) ac_try_echo=$ac_try;;
17201 esac
17202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17203 (eval "$ac_compile") 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; then
17207 for ac_file in conftest.o conftest.obj conftest.*; do
17208 test -f "$ac_file" || continue;
17209 case $ac_file in
17210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17211 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17212 break;;
17213 esac
17214 done
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17220 See \`config.log' for more details." >&5
17221 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17222 See \`config.log' for more details." >&2;}
17223 { (exit 1); exit 1; }; }
17224 fi
17225
17226 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17227 fi
17228 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17229 echo "${ECHO_T}$ac_cv_objext" >&6; }
17230 OBJEXT=$ac_cv_objext
17231 ac_objext=$OBJEXT
17232 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17233 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17234 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 else
17237 cat >conftest.$ac_ext <<_ACEOF
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243
17244 int
17245 main ()
17246 {
17247 #ifndef __GNUC__
17248 choke me
17249 #endif
17250
17251 ;
17252 return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17260 esac
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>conftest.er1
17263 ac_status=$?
17264 grep -v '^ *+' conftest.er1 >conftest.err
17265 rm -f conftest.er1
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && {
17269 test -z "$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17271 } && test -s conftest.$ac_objext; then
17272 ac_compiler_gnu=yes
17273 else
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17276
17277 ac_compiler_gnu=no
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17282
17283 fi
17284 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17285 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17286 GCC=`test $ac_compiler_gnu = yes && echo yes`
17287 ac_test_CFLAGS=${CFLAGS+set}
17288 ac_save_CFLAGS=$CFLAGS
17289 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17290 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17291 if test "${ac_cv_prog_cc_g+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 else
17294 ac_save_c_werror_flag=$ac_c_werror_flag
17295 ac_c_werror_flag=yes
17296 ac_cv_prog_cc_g=no
17297 CFLAGS="-g"
17298 cat >conftest.$ac_ext <<_ACEOF
17299 /* confdefs.h. */
17300 _ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304
17305 int
17306 main ()
17307 {
17308
17309 ;
17310 return 0;
17311 }
17312 _ACEOF
17313 rm -f conftest.$ac_objext
17314 if { (ac_try="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17318 esac
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_c_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 ac_cv_prog_cc_g=yes
17331 else
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17334
17335 CFLAGS=""
17336 cat >conftest.$ac_ext <<_ACEOF
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342
17343 int
17344 main ()
17345 {
17346
17347 ;
17348 return 0;
17349 }
17350 _ACEOF
17351 rm -f conftest.$ac_objext
17352 if { (ac_try="$ac_compile"
17353 case "(($ac_try" in
17354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17355 *) ac_try_echo=$ac_try;;
17356 esac
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_compile") 2>conftest.er1
17359 ac_status=$?
17360 grep -v '^ *+' conftest.er1 >conftest.err
17361 rm -f conftest.er1
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_c_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest.$ac_objext; then
17368 :
17369 else
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17372
17373 ac_c_werror_flag=$ac_save_c_werror_flag
17374 CFLAGS="-g"
17375 cat >conftest.$ac_ext <<_ACEOF
17376 /* confdefs.h. */
17377 _ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381
17382 int
17383 main ()
17384 {
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (ac_try="$ac_compile"
17392 case "(($ac_try" in
17393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17394 *) ac_try_echo=$ac_try;;
17395 esac
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_compile") 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } && {
17404 test -z "$ac_c_werror_flag" ||
17405 test ! -s conftest.err
17406 } && test -s conftest.$ac_objext; then
17407 ac_cv_prog_cc_g=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412
17413 fi
17414
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 fi
17420
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 ac_c_werror_flag=$ac_save_c_werror_flag
17423 fi
17424 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17426 if test "$ac_test_CFLAGS" = set; then
17427 CFLAGS=$ac_save_CFLAGS
17428 elif test $ac_cv_prog_cc_g = yes; then
17429 if test "$GCC" = yes; then
17430 CFLAGS="-g -O2"
17431 else
17432 CFLAGS="-g"
17433 fi
17434 else
17435 if test "$GCC" = yes; then
17436 CFLAGS="-O2"
17437 else
17438 CFLAGS=
17439 fi
17440 fi
17441 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17442 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17443 if test "${ac_cv_prog_cc_c89+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 else
17446 ac_cv_prog_cc_c89=no
17447 ac_save_CC=$CC
17448 cat >conftest.$ac_ext <<_ACEOF
17449 /* confdefs.h. */
17450 _ACEOF
17451 cat confdefs.h >>conftest.$ac_ext
17452 cat >>conftest.$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 #include <stdarg.h>
17455 #include <stdio.h>
17456 #include <sys/types.h>
17457 #include <sys/stat.h>
17458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17459 struct buf { int x; };
17460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17461 static char *e (p, i)
17462 char **p;
17463 int i;
17464 {
17465 return p[i];
17466 }
17467 static char *f (char * (*g) (char **, int), char **p, ...)
17468 {
17469 char *s;
17470 va_list v;
17471 va_start (v,p);
17472 s = g (p, va_arg (v,int));
17473 va_end (v);
17474 return s;
17475 }
17476
17477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17478 function prototypes and stuff, but not '\xHH' hex character constants.
17479 These don't provoke an error unfortunately, instead are silently treated
17480 as 'x'. The following induces an error, until -std is added to get
17481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17482 array size at least. It's necessary to write '\x00'==0 to get something
17483 that's true only with -std. */
17484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17485
17486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17487 inside strings and character constants. */
17488 #define FOO(x) 'x'
17489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17490
17491 int test (int i, double x);
17492 struct s1 {int (*f) (int a);};
17493 struct s2 {int (*f) (double a);};
17494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17495 int argc;
17496 char **argv;
17497 int
17498 main ()
17499 {
17500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17501 ;
17502 return 0;
17503 }
17504 _ACEOF
17505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17507 do
17508 CC="$ac_save_CC $ac_arg"
17509 rm -f conftest.$ac_objext
17510 if { (ac_try="$ac_compile"
17511 case "(($ac_try" in
17512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17513 *) ac_try_echo=$ac_try;;
17514 esac
17515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17516 (eval "$ac_compile") 2>conftest.er1
17517 ac_status=$?
17518 grep -v '^ *+' conftest.er1 >conftest.err
17519 rm -f conftest.er1
17520 cat conftest.err >&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } && {
17523 test -z "$ac_c_werror_flag" ||
17524 test ! -s conftest.err
17525 } && test -s conftest.$ac_objext; then
17526 ac_cv_prog_cc_c89=$ac_arg
17527 else
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17530
17531
17532 fi
17533
17534 rm -f core conftest.err conftest.$ac_objext
17535 test "x$ac_cv_prog_cc_c89" != "xno" && break
17536 done
17537 rm -f conftest.$ac_ext
17538 CC=$ac_save_CC
17539
17540 fi
17541 # AC_CACHE_VAL
17542 case "x$ac_cv_prog_cc_c89" in
17543 x)
17544 { echo "$as_me:$LINENO: result: none needed" >&5
17545 echo "${ECHO_T}none needed" >&6; } ;;
17546 xno)
17547 { echo "$as_me:$LINENO: result: unsupported" >&5
17548 echo "${ECHO_T}unsupported" >&6; } ;;
17549 *)
17550 CC="$CC $ac_cv_prog_cc_c89"
17551 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17552 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17553 esac
17554
17555
17556 ac_ext=c
17557 ac_cpp='$CPP $CPPFLAGS'
17558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17561
17562
17563
17564
17565 ac_ext=c
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17570
17571 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17572 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17573 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576 cat >conftest.$ac_ext <<_ACEOF
17577 /* confdefs.h. */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582
17583 int
17584 main ()
17585 {
17586
17587 #ifndef __INTEL_COMPILER
17588 choke me
17589 #endif
17590
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17600 esac
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_c_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 bakefile_cv_c_compiler___INTEL_COMPILER=no
17618
17619 fi
17620
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622
17623
17624 fi
17625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17626 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17627 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17628 :; INTELCC=yes
17629 else
17630 :;
17631 fi
17632 ac_ext=c
17633 ac_cpp='$CPP $CPPFLAGS'
17634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17637
17638
17639
17640
17641 if test "x$GCC" != "xyes"; then
17642 if test "xCC" = "xC"; then
17643 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17644 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17645 if test "${bakefile_cv_c_exto+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 cat >conftest.$ac_ext <<_ACEOF
17649 /* confdefs.h. */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654
17655 int
17656 main ()
17657 {
17658
17659 ;
17660 return 0;
17661 }
17662 _ACEOF
17663 rm -f conftest.$ac_objext conftest.$ac_ext.o
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665 (eval $ac_compile) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; then
17669 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17670 case $ac_file in
17671 conftest.$ac_ext.o)
17672 bakefile_cv_c_exto="-ext o"
17673 ;;
17674 *)
17675 ;;
17676 esac
17677 done
17678 else
17679 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17680 See \`config.log' for more details." >&5
17681 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17682 See \`config.log' for more details." >&2;}
17683 { (exit 1); exit 1; }; }
17684
17685 fi
17686
17687 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17688
17689 fi
17690 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17691 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17692 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17693 if test "c" = "c"; then
17694 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17695 fi
17696 if test "c" = "cxx"; then
17697 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17698 fi
17699 fi
17700
17701 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17702 unset ac_cv_prog_cc_g
17703 ac_test_CFLAGS=${CFLAGS+set}
17704 ac_save_CFLAGS=$CFLAGS
17705 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17707 if test "${ac_cv_prog_cc_g+set}" = set; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17709 else
17710 ac_save_c_werror_flag=$ac_c_werror_flag
17711 ac_c_werror_flag=yes
17712 ac_cv_prog_cc_g=no
17713 CFLAGS="-g"
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720
17721 int
17722 main ()
17723 {
17724
17725 ;
17726 return 0;
17727 }
17728 _ACEOF
17729 rm -f conftest.$ac_objext
17730 if { (ac_try="$ac_compile"
17731 case "(($ac_try" in
17732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17733 *) ac_try_echo=$ac_try;;
17734 esac
17735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17736 (eval "$ac_compile") 2>conftest.er1
17737 ac_status=$?
17738 grep -v '^ *+' conftest.er1 >conftest.err
17739 rm -f conftest.er1
17740 cat conftest.err >&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } && {
17743 test -z "$ac_c_werror_flag" ||
17744 test ! -s conftest.err
17745 } && test -s conftest.$ac_objext; then
17746 ac_cv_prog_cc_g=yes
17747 else
17748 echo "$as_me: failed program was:" >&5
17749 sed 's/^/| /' conftest.$ac_ext >&5
17750
17751 CFLAGS=""
17752 cat >conftest.$ac_ext <<_ACEOF
17753 /* confdefs.h. */
17754 _ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758
17759 int
17760 main ()
17761 {
17762
17763 ;
17764 return 0;
17765 }
17766 _ACEOF
17767 rm -f conftest.$ac_objext
17768 if { (ac_try="$ac_compile"
17769 case "(($ac_try" in
17770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17771 *) ac_try_echo=$ac_try;;
17772 esac
17773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17774 (eval "$ac_compile") 2>conftest.er1
17775 ac_status=$?
17776 grep -v '^ *+' conftest.er1 >conftest.err
17777 rm -f conftest.er1
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } && {
17781 test -z "$ac_c_werror_flag" ||
17782 test ! -s conftest.err
17783 } && test -s conftest.$ac_objext; then
17784 :
17785 else
17786 echo "$as_me: failed program was:" >&5
17787 sed 's/^/| /' conftest.$ac_ext >&5
17788
17789 ac_c_werror_flag=$ac_save_c_werror_flag
17790 CFLAGS="-g"
17791 cat >conftest.$ac_ext <<_ACEOF
17792 /* confdefs.h. */
17793 _ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797
17798 int
17799 main ()
17800 {
17801
17802 ;
17803 return 0;
17804 }
17805 _ACEOF
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17811 esac
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 ac_cv_prog_cc_g=yes
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828
17829 fi
17830
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 fi
17833
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 fi
17836
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 ac_c_werror_flag=$ac_save_c_werror_flag
17839 fi
17840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17842 if test "$ac_test_CFLAGS" = set; then
17843 CFLAGS=$ac_save_CFLAGS
17844 elif test $ac_cv_prog_cc_g = yes; then
17845 if test "$GCC" = yes; then
17846 CFLAGS="-g -O2"
17847 else
17848 CFLAGS="-g"
17849 fi
17850 else
17851 if test "$GCC" = yes; then
17852 CFLAGS="-O2"
17853 else
17854 CFLAGS=
17855 fi
17856 fi
17857 fi
17858 fi
17859
17860 case `uname -s` in
17861 AIX*)
17862
17863
17864 ac_ext=c
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17869
17870 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17871 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17872 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17874 else
17875 cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h. */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881
17882 int
17883 main ()
17884 {
17885
17886 #ifndef __xlC__
17887 choke me
17888 #endif
17889
17890 ;
17891 return 0;
17892 }
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (ac_try="$ac_compile"
17896 case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17899 esac
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_compile") 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } && {
17908 test -z "$ac_c_werror_flag" ||
17909 test ! -s conftest.err
17910 } && test -s conftest.$ac_objext; then
17911 bakefile_cv_c_compiler___xlC__=yes
17912 else
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17915
17916 bakefile_cv_c_compiler___xlC__=no
17917
17918 fi
17919
17920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921
17922
17923 fi
17924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17925 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17926 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17927 :; XLCC=yes
17928 else
17929 :;
17930 fi
17931 ac_ext=c
17932 ac_cpp='$CPP $CPPFLAGS'
17933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17936
17937
17938
17939 ;;
17940
17941 Darwin)
17942
17943
17944 ac_ext=c
17945 ac_cpp='$CPP $CPPFLAGS'
17946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17949
17950 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17951 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17952 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17954 else
17955 cat >conftest.$ac_ext <<_ACEOF
17956 /* confdefs.h. */
17957 _ACEOF
17958 cat confdefs.h >>conftest.$ac_ext
17959 cat >>conftest.$ac_ext <<_ACEOF
17960 /* end confdefs.h. */
17961
17962 int
17963 main ()
17964 {
17965
17966 #ifndef __MWERKS__
17967 choke me
17968 #endif
17969
17970 ;
17971 return 0;
17972 }
17973 _ACEOF
17974 rm -f conftest.$ac_objext
17975 if { (ac_try="$ac_compile"
17976 case "(($ac_try" in
17977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17978 *) ac_try_echo=$ac_try;;
17979 esac
17980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17981 (eval "$ac_compile") 2>conftest.er1
17982 ac_status=$?
17983 grep -v '^ *+' conftest.er1 >conftest.err
17984 rm -f conftest.er1
17985 cat conftest.err >&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } && {
17988 test -z "$ac_c_werror_flag" ||
17989 test ! -s conftest.err
17990 } && test -s conftest.$ac_objext; then
17991 bakefile_cv_c_compiler___MWERKS__=yes
17992 else
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.$ac_ext >&5
17995
17996 bakefile_cv_c_compiler___MWERKS__=no
17997
17998 fi
17999
18000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18001
18002
18003 fi
18004 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18005 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18006 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18007 :; MWCC=yes
18008 else
18009 :;
18010 fi
18011 ac_ext=c
18012 ac_cpp='$CPP $CPPFLAGS'
18013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18016
18017
18018
18019
18020
18021 ac_ext=c
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18026
18027 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18028 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18029 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 else
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038
18039 int
18040 main ()
18041 {
18042
18043 #ifndef __xlC__
18044 choke me
18045 #endif
18046
18047 ;
18048 return 0;
18049 }
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (ac_try="$ac_compile"
18053 case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18056 esac
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_compile") 2>conftest.er1
18059 ac_status=$?
18060 grep -v '^ *+' conftest.er1 >conftest.err
18061 rm -f conftest.er1
18062 cat conftest.err >&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && {
18065 test -z "$ac_c_werror_flag" ||
18066 test ! -s conftest.err
18067 } && test -s conftest.$ac_objext; then
18068 bakefile_cv_c_compiler___xlC__=yes
18069 else
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18072
18073 bakefile_cv_c_compiler___xlC__=no
18074
18075 fi
18076
18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078
18079
18080 fi
18081 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18082 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18083 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18084 :; XLCC=yes
18085 else
18086 :;
18087 fi
18088 ac_ext=c
18089 ac_cpp='$CPP $CPPFLAGS'
18090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18093
18094
18095
18096 ;;
18097
18098 IRIX*)
18099
18100
18101 ac_ext=c
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18106
18107 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18108 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18109 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 else
18112 cat >conftest.$ac_ext <<_ACEOF
18113 /* confdefs.h. */
18114 _ACEOF
18115 cat confdefs.h >>conftest.$ac_ext
18116 cat >>conftest.$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18118
18119 int
18120 main ()
18121 {
18122
18123 #ifndef _SGI_COMPILER_VERSION
18124 choke me
18125 #endif
18126
18127 ;
18128 return 0;
18129 }
18130 _ACEOF
18131 rm -f conftest.$ac_objext
18132 if { (ac_try="$ac_compile"
18133 case "(($ac_try" in
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18135 *) ac_try_echo=$ac_try;;
18136 esac
18137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18138 (eval "$ac_compile") 2>conftest.er1
18139 ac_status=$?
18140 grep -v '^ *+' conftest.er1 >conftest.err
18141 rm -f conftest.er1
18142 cat conftest.err >&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); } && {
18145 test -z "$ac_c_werror_flag" ||
18146 test ! -s conftest.err
18147 } && test -s conftest.$ac_objext; then
18148 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18149 else
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.$ac_ext >&5
18152
18153 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18154
18155 fi
18156
18157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18158
18159
18160 fi
18161 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18162 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18163 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18164 :; SGICC=yes
18165 else
18166 :;
18167 fi
18168 ac_ext=c
18169 ac_cpp='$CPP $CPPFLAGS'
18170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18173
18174
18175
18176 ;;
18177
18178 Linux*)
18179
18180
18181 ac_ext=c
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18186
18187 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18188 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18189 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18191 else
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198
18199 int
18200 main ()
18201 {
18202
18203 #ifndef __SUNPRO_C
18204 choke me
18205 #endif
18206
18207 ;
18208 return 0;
18209 }
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (ac_try="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18216 esac
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18228 bakefile_cv_c_compiler___SUNPRO_C=yes
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18232
18233 bakefile_cv_c_compiler___SUNPRO_C=no
18234
18235 fi
18236
18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18238
18239
18240 fi
18241 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18242 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18243 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18244 :; SUNCC=yes
18245 else
18246 :;
18247 fi
18248 ac_ext=c
18249 ac_cpp='$CPP $CPPFLAGS'
18250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253
18254
18255
18256 ;;
18257
18258 HP-UX*)
18259
18260
18261 ac_ext=c
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18266
18267 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18268 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18269 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18270 echo $ECHO_N "(cached) $ECHO_C" >&6
18271 else
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18278
18279 int
18280 main ()
18281 {
18282
18283 #ifndef __HP_cc
18284 choke me
18285 #endif
18286
18287 ;
18288 return 0;
18289 }
18290 _ACEOF
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 *) ac_try_echo=$ac_try;;
18296 esac
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18299 ac_status=$?
18300 grep -v '^ *+' conftest.er1 >conftest.err
18301 rm -f conftest.er1
18302 cat conftest.err >&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then
18308 bakefile_cv_c_compiler___HP_cc=yes
18309 else
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18312
18313 bakefile_cv_c_compiler___HP_cc=no
18314
18315 fi
18316
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18318
18319
18320 fi
18321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18322 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18323 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18324 :; HPCC=yes
18325 else
18326 :;
18327 fi
18328 ac_ext=c
18329 ac_cpp='$CPP $CPPFLAGS'
18330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18333
18334
18335
18336 ;;
18337
18338 OSF1)
18339
18340
18341 ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346
18347 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18348 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18349 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 else
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358
18359 int
18360 main ()
18361 {
18362
18363 #ifndef __DECC
18364 choke me
18365 #endif
18366
18367 ;
18368 return 0;
18369 }
18370 _ACEOF
18371 rm -f conftest.$ac_objext
18372 if { (ac_try="$ac_compile"
18373 case "(($ac_try" in
18374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18375 *) ac_try_echo=$ac_try;;
18376 esac
18377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18378 (eval "$ac_compile") 2>conftest.er1
18379 ac_status=$?
18380 grep -v '^ *+' conftest.er1 >conftest.err
18381 rm -f conftest.er1
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } && {
18385 test -z "$ac_c_werror_flag" ||
18386 test ! -s conftest.err
18387 } && test -s conftest.$ac_objext; then
18388 bakefile_cv_c_compiler___DECC=yes
18389 else
18390 echo "$as_me: failed program was:" >&5
18391 sed 's/^/| /' conftest.$ac_ext >&5
18392
18393 bakefile_cv_c_compiler___DECC=no
18394
18395 fi
18396
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398
18399
18400 fi
18401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18402 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18403 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18404 :; COMPAQCC=yes
18405 else
18406 :;
18407 fi
18408 ac_ext=c
18409 ac_cpp='$CPP $CPPFLAGS'
18410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18413
18414
18415
18416 ;;
18417
18418 SunOS)
18419
18420
18421 ac_ext=c
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18426
18427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 else
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438
18439 int
18440 main ()
18441 {
18442
18443 #ifndef __SUNPRO_C
18444 choke me
18445 #endif
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 bakefile_cv_c_compiler___SUNPRO_C=yes
18469 else
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.$ac_ext >&5
18472
18473 bakefile_cv_c_compiler___SUNPRO_C=no
18474
18475 fi
18476
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18478
18479
18480 fi
18481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18483 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18484 :; SUNCC=yes
18485 else
18486 :;
18487 fi
18488 ac_ext=c
18489 ac_cpp='$CPP $CPPFLAGS'
18490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18493
18494
18495
18496 ;;
18497 esac
18498 fi
18499
18500
18501
18502 ac_ext=c
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18508 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18509 # On Suns, sometimes $CPP names a directory.
18510 if test -n "$CPP" && test -d "$CPP"; then
18511 CPP=
18512 fi
18513 if test -z "$CPP"; then
18514 if test "${ac_cv_prog_CPP+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 else
18517 # Double quotes because CPP needs to be expanded
18518 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18519 do
18520 ac_preproc_ok=false
18521 for ac_c_preproc_warn_flag in '' yes
18522 do
18523 # Use a header file that comes with gcc, so configuring glibc
18524 # with a fresh cross-compiler works.
18525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18526 # <limits.h> exists even on freestanding compilers.
18527 # On the NeXT, cc -E runs the code through the compiler's parser,
18528 # not just through cpp. "Syntax error" is here to catch this case.
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 #ifdef __STDC__
18536 # include <limits.h>
18537 #else
18538 # include <assert.h>
18539 #endif
18540 Syntax error
18541 _ACEOF
18542 if { (ac_try="$ac_cpp conftest.$ac_ext"
18543 case "(($ac_try" in
18544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18545 *) ac_try_echo=$ac_try;;
18546 esac
18547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18549 ac_status=$?
18550 grep -v '^ *+' conftest.er1 >conftest.err
18551 rm -f conftest.er1
18552 cat conftest.err >&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } >/dev/null && {
18555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18556 test ! -s conftest.err
18557 }; then
18558 :
18559 else
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18562
18563 # Broken: fails on valid input.
18564 continue
18565 fi
18566
18567 rm -f conftest.err conftest.$ac_ext
18568
18569 # OK, works on sane cases. Now check whether nonexistent headers
18570 # can be detected and how.
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <ac_nonexistent.h>
18578 _ACEOF
18579 if { (ac_try="$ac_cpp conftest.$ac_ext"
18580 case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18583 esac
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } >/dev/null && {
18592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18593 test ! -s conftest.err
18594 }; then
18595 # Broken: success on invalid input.
18596 continue
18597 else
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18600
18601 # Passes both tests.
18602 ac_preproc_ok=:
18603 break
18604 fi
18605
18606 rm -f conftest.err conftest.$ac_ext
18607
18608 done
18609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18610 rm -f conftest.err conftest.$ac_ext
18611 if $ac_preproc_ok; then
18612 break
18613 fi
18614
18615 done
18616 ac_cv_prog_CPP=$CPP
18617
18618 fi
18619 CPP=$ac_cv_prog_CPP
18620 else
18621 ac_cv_prog_CPP=$CPP
18622 fi
18623 { echo "$as_me:$LINENO: result: $CPP" >&5
18624 echo "${ECHO_T}$CPP" >&6; }
18625 ac_preproc_ok=false
18626 for ac_c_preproc_warn_flag in '' yes
18627 do
18628 # Use a header file that comes with gcc, so configuring glibc
18629 # with a fresh cross-compiler works.
18630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18631 # <limits.h> exists even on freestanding compilers.
18632 # On the NeXT, cc -E runs the code through the compiler's parser,
18633 # not just through cpp. "Syntax error" is here to catch this case.
18634 cat >conftest.$ac_ext <<_ACEOF
18635 /* confdefs.h. */
18636 _ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18640 #ifdef __STDC__
18641 # include <limits.h>
18642 #else
18643 # include <assert.h>
18644 #endif
18645 Syntax error
18646 _ACEOF
18647 if { (ac_try="$ac_cpp conftest.$ac_ext"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18651 esac
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18654 ac_status=$?
18655 grep -v '^ *+' conftest.er1 >conftest.err
18656 rm -f conftest.er1
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } >/dev/null && {
18660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18661 test ! -s conftest.err
18662 }; then
18663 :
18664 else
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18667
18668 # Broken: fails on valid input.
18669 continue
18670 fi
18671
18672 rm -f conftest.err conftest.$ac_ext
18673
18674 # OK, works on sane cases. Now check whether nonexistent headers
18675 # can be detected and how.
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 #include <ac_nonexistent.h>
18683 _ACEOF
18684 if { (ac_try="$ac_cpp conftest.$ac_ext"
18685 case "(($ac_try" in
18686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18687 *) ac_try_echo=$ac_try;;
18688 esac
18689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18691 ac_status=$?
18692 grep -v '^ *+' conftest.er1 >conftest.err
18693 rm -f conftest.er1
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } >/dev/null && {
18697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18698 test ! -s conftest.err
18699 }; then
18700 # Broken: success on invalid input.
18701 continue
18702 else
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18705
18706 # Passes both tests.
18707 ac_preproc_ok=:
18708 break
18709 fi
18710
18711 rm -f conftest.err conftest.$ac_ext
18712
18713 done
18714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18715 rm -f conftest.err conftest.$ac_ext
18716 if $ac_preproc_ok; then
18717 :
18718 else
18719 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18720 See \`config.log' for more details." >&5
18721 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18722 See \`config.log' for more details." >&2;}
18723 { (exit 1); exit 1; }; }
18724 fi
18725
18726 ac_ext=c
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18731
18732
18733 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18734 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18735 if test "${ac_cv_path_GREP+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 # Extract the first word of "grep ggrep" to use in msg output
18739 if test -z "$GREP"; then
18740 set dummy grep ggrep; ac_prog_name=$2
18741 if test "${ac_cv_path_GREP+set}" = set; then
18742 echo $ECHO_N "(cached) $ECHO_C" >&6
18743 else
18744 ac_path_GREP_found=false
18745 # Loop through the user's path and test for each of PROGNAME-LIST
18746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18748 do
18749 IFS=$as_save_IFS
18750 test -z "$as_dir" && as_dir=.
18751 for ac_prog in grep ggrep; do
18752 for ac_exec_ext in '' $ac_executable_extensions; do
18753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18755 # Check for GNU ac_path_GREP and select it if it is found.
18756 # Check for GNU $ac_path_GREP
18757 case `"$ac_path_GREP" --version 2>&1` in
18758 *GNU*)
18759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18760 *)
18761 ac_count=0
18762 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18763 while :
18764 do
18765 cat "conftest.in" "conftest.in" >"conftest.tmp"
18766 mv "conftest.tmp" "conftest.in"
18767 cp "conftest.in" "conftest.nl"
18768 echo 'GREP' >> "conftest.nl"
18769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18771 ac_count=`expr $ac_count + 1`
18772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18773 # Best one so far, save it but keep looking for a better one
18774 ac_cv_path_GREP="$ac_path_GREP"
18775 ac_path_GREP_max=$ac_count
18776 fi
18777 # 10*(2^10) chars as input seems more than enough
18778 test $ac_count -gt 10 && break
18779 done
18780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18781 esac
18782
18783
18784 $ac_path_GREP_found && break 3
18785 done
18786 done
18787
18788 done
18789 IFS=$as_save_IFS
18790
18791
18792 fi
18793
18794 GREP="$ac_cv_path_GREP"
18795 if test -z "$GREP"; then
18796 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18797 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18798 { (exit 1); exit 1; }; }
18799 fi
18800
18801 else
18802 ac_cv_path_GREP=$GREP
18803 fi
18804
18805
18806 fi
18807 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18808 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18809 GREP="$ac_cv_path_GREP"
18810
18811
18812 { echo "$as_me:$LINENO: checking for egrep" >&5
18813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18814 if test "${ac_cv_path_EGREP+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18817 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18818 then ac_cv_path_EGREP="$GREP -E"
18819 else
18820 # Extract the first word of "egrep" to use in msg output
18821 if test -z "$EGREP"; then
18822 set dummy egrep; ac_prog_name=$2
18823 if test "${ac_cv_path_EGREP+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 else
18826 ac_path_EGREP_found=false
18827 # Loop through the user's path and test for each of PROGNAME-LIST
18828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18830 do
18831 IFS=$as_save_IFS
18832 test -z "$as_dir" && as_dir=.
18833 for ac_prog in egrep; do
18834 for ac_exec_ext in '' $ac_executable_extensions; do
18835 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18836 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18837 # Check for GNU ac_path_EGREP and select it if it is found.
18838 # Check for GNU $ac_path_EGREP
18839 case `"$ac_path_EGREP" --version 2>&1` in
18840 *GNU*)
18841 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18842 *)
18843 ac_count=0
18844 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18845 while :
18846 do
18847 cat "conftest.in" "conftest.in" >"conftest.tmp"
18848 mv "conftest.tmp" "conftest.in"
18849 cp "conftest.in" "conftest.nl"
18850 echo 'EGREP' >> "conftest.nl"
18851 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18853 ac_count=`expr $ac_count + 1`
18854 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18855 # Best one so far, save it but keep looking for a better one
18856 ac_cv_path_EGREP="$ac_path_EGREP"
18857 ac_path_EGREP_max=$ac_count
18858 fi
18859 # 10*(2^10) chars as input seems more than enough
18860 test $ac_count -gt 10 && break
18861 done
18862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18863 esac
18864
18865
18866 $ac_path_EGREP_found && break 3
18867 done
18868 done
18869
18870 done
18871 IFS=$as_save_IFS
18872
18873
18874 fi
18875
18876 EGREP="$ac_cv_path_EGREP"
18877 if test -z "$EGREP"; then
18878 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18879 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18880 { (exit 1); exit 1; }; }
18881 fi
18882
18883 else
18884 ac_cv_path_EGREP=$EGREP
18885 fi
18886
18887
18888 fi
18889 fi
18890 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18891 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18892 EGREP="$ac_cv_path_EGREP"
18893
18894
18895 if test $ac_cv_c_compiler_gnu = yes; then
18896 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18897 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18898 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 ac_pattern="Autoconf.*'x'"
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 #include <sgtty.h>
18909 Autoconf TIOCGETP
18910 _ACEOF
18911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18912 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18913 ac_cv_prog_gcc_traditional=yes
18914 else
18915 ac_cv_prog_gcc_traditional=no
18916 fi
18917 rm -f conftest*
18918
18919
18920 if test $ac_cv_prog_gcc_traditional = no; then
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 #include <termio.h>
18928 Autoconf TCGETA
18929 _ACEOF
18930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18931 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18932 ac_cv_prog_gcc_traditional=yes
18933 fi
18934 rm -f conftest*
18935
18936 fi
18937 fi
18938 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18939 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18940 if test $ac_cv_prog_gcc_traditional = yes; then
18941 CC="$CC -traditional"
18942 fi
18943 fi
18944
18945
18946 CXXFLAGS=${CXXFLAGS:=}
18947
18948
18949
18950 ac_ext=cpp
18951 ac_cpp='$CXXCPP $CPPFLAGS'
18952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18955 if test -z "$CXX"; then
18956 if test -n "$CCC"; then
18957 CXX=$CCC
18958 else
18959 if test -n "$ac_tool_prefix"; then
18960 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18961 do
18962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18966 if test "${ac_cv_prog_CXX+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 if test -n "$CXX"; then
18970 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18971 else
18972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18973 for as_dir in $PATH
18974 do
18975 IFS=$as_save_IFS
18976 test -z "$as_dir" && as_dir=.
18977 for ac_exec_ext in '' $ac_executable_extensions; do
18978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18979 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18981 break 2
18982 fi
18983 done
18984 done
18985 IFS=$as_save_IFS
18986
18987 fi
18988 fi
18989 CXX=$ac_cv_prog_CXX
18990 if test -n "$CXX"; then
18991 { echo "$as_me:$LINENO: result: $CXX" >&5
18992 echo "${ECHO_T}$CXX" >&6; }
18993 else
18994 { echo "$as_me:$LINENO: result: no" >&5
18995 echo "${ECHO_T}no" >&6; }
18996 fi
18997
18998
18999 test -n "$CXX" && break
19000 done
19001 fi
19002 if test -z "$CXX"; then
19003 ac_ct_CXX=$CXX
19004 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19005 do
19006 # Extract the first word of "$ac_prog", so it can be a program name with args.
19007 set dummy $ac_prog; ac_word=$2
19008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19010 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 else
19013 if test -n "$ac_ct_CXX"; then
19014 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19015 else
19016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19017 for as_dir in $PATH
19018 do
19019 IFS=$as_save_IFS
19020 test -z "$as_dir" && as_dir=.
19021 for ac_exec_ext in '' $ac_executable_extensions; do
19022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19023 ac_cv_prog_ac_ct_CXX="$ac_prog"
19024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19025 break 2
19026 fi
19027 done
19028 done
19029 IFS=$as_save_IFS
19030
19031 fi
19032 fi
19033 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19034 if test -n "$ac_ct_CXX"; then
19035 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19036 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19037 else
19038 { echo "$as_me:$LINENO: result: no" >&5
19039 echo "${ECHO_T}no" >&6; }
19040 fi
19041
19042
19043 test -n "$ac_ct_CXX" && break
19044 done
19045
19046 if test "x$ac_ct_CXX" = x; then
19047 CXX="g++"
19048 else
19049 case $cross_compiling:$ac_tool_warned in
19050 yes:)
19051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19052 whose name does not start with the host triplet. If you think this
19053 configuration is useful to you, please write to autoconf@gnu.org." >&5
19054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19055 whose name does not start with the host triplet. If you think this
19056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19057 ac_tool_warned=yes ;;
19058 esac
19059 CXX=$ac_ct_CXX
19060 fi
19061 fi
19062
19063 fi
19064 fi
19065 # Provide some information about the compiler.
19066 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19067 ac_compiler=`set X $ac_compile; echo $2`
19068 { (ac_try="$ac_compiler --version >&5"
19069 case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compiler --version >&5") 2>&5
19075 ac_status=$?
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }
19078 { (ac_try="$ac_compiler -v >&5"
19079 case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19081 *) ac_try_echo=$ac_try;;
19082 esac
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_compiler -v >&5") 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }
19088 { (ac_try="$ac_compiler -V >&5"
19089 case "(($ac_try" in
19090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19092 esac
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_compiler -V >&5") 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }
19098
19099 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19100 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19101 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19102 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 else
19104 cat >conftest.$ac_ext <<_ACEOF
19105 /* confdefs.h. */
19106 _ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110
19111 int
19112 main ()
19113 {
19114 #ifndef __GNUC__
19115 choke me
19116 #endif
19117
19118 ;
19119 return 0;
19120 }
19121 _ACEOF
19122 rm -f conftest.$ac_objext
19123 if { (ac_try="$ac_compile"
19124 case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19127 esac
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_compile") 2>conftest.er1
19130 ac_status=$?
19131 grep -v '^ *+' conftest.er1 >conftest.err
19132 rm -f conftest.er1
19133 cat conftest.err >&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } && {
19136 test -z "$ac_cxx_werror_flag" ||
19137 test ! -s conftest.err
19138 } && test -s conftest.$ac_objext; then
19139 ac_compiler_gnu=yes
19140 else
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 ac_compiler_gnu=no
19145 fi
19146
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19148 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19149
19150 fi
19151 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19152 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19153 GXX=`test $ac_compiler_gnu = yes && echo yes`
19154 ac_test_CXXFLAGS=${CXXFLAGS+set}
19155 ac_save_CXXFLAGS=$CXXFLAGS
19156 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19158 if test "${ac_cv_prog_cxx_g+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19162 ac_cxx_werror_flag=yes
19163 ac_cv_prog_cxx_g=no
19164 CXXFLAGS="-g"
19165 cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h. */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171
19172 int
19173 main ()
19174 {
19175
19176 ;
19177 return 0;
19178 }
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_cxx_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_prog_cxx_g=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19201
19202 CXXFLAGS=""
19203 cat >conftest.$ac_ext <<_ACEOF
19204 /* confdefs.h. */
19205 _ACEOF
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209
19210 int
19211 main ()
19212 {
19213
19214 ;
19215 return 0;
19216 }
19217 _ACEOF
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_cxx_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 :
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19241 CXXFLAGS="-g"
19242 cat >conftest.$ac_ext <<_ACEOF
19243 /* confdefs.h. */
19244 _ACEOF
19245 cat confdefs.h >>conftest.$ac_ext
19246 cat >>conftest.$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19248
19249 int
19250 main ()
19251 {
19252
19253 ;
19254 return 0;
19255 }
19256 _ACEOF
19257 rm -f conftest.$ac_objext
19258 if { (ac_try="$ac_compile"
19259 case "(($ac_try" in
19260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261 *) ac_try_echo=$ac_try;;
19262 esac
19263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19264 (eval "$ac_compile") 2>conftest.er1
19265 ac_status=$?
19266 grep -v '^ *+' conftest.er1 >conftest.err
19267 rm -f conftest.er1
19268 cat conftest.err >&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } && {
19271 test -z "$ac_cxx_werror_flag" ||
19272 test ! -s conftest.err
19273 } && test -s conftest.$ac_objext; then
19274 ac_cv_prog_cxx_g=yes
19275 else
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279
19280 fi
19281
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 fi
19284
19285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19286 fi
19287
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19290 fi
19291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19292 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19293 if test "$ac_test_CXXFLAGS" = set; then
19294 CXXFLAGS=$ac_save_CXXFLAGS
19295 elif test $ac_cv_prog_cxx_g = yes; then
19296 if test "$GXX" = yes; then
19297 CXXFLAGS="-g -O2"
19298 else
19299 CXXFLAGS="-g"
19300 fi
19301 else
19302 if test "$GXX" = yes; then
19303 CXXFLAGS="-O2"
19304 else
19305 CXXFLAGS=
19306 fi
19307 fi
19308 ac_ext=c
19309 ac_cpp='$CPP $CPPFLAGS'
19310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19313
19314
19315
19316
19317 ac_ext=cpp
19318 ac_cpp='$CXXCPP $CPPFLAGS'
19319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19322
19323 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19324 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19325 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 else
19328 cat >conftest.$ac_ext <<_ACEOF
19329 /* confdefs.h. */
19330 _ACEOF
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19334
19335 int
19336 main ()
19337 {
19338
19339 #ifndef __INTEL_COMPILER
19340 choke me
19341 #endif
19342
19343 ;
19344 return 0;
19345 }
19346 _ACEOF
19347 rm -f conftest.$ac_objext
19348 if { (ac_try="$ac_compile"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19352 esac
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_compile") 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && {
19361 test -z "$ac_cxx_werror_flag" ||
19362 test ! -s conftest.err
19363 } && test -s conftest.$ac_objext; then
19364 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19365 else
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.$ac_ext >&5
19368
19369 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19370
19371 fi
19372
19373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19374
19375
19376 fi
19377 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19378 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19379 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19380 :; INTELCXX=yes
19381 else
19382 :;
19383 fi
19384 ac_ext=c
19385 ac_cpp='$CPP $CPPFLAGS'
19386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19389
19390
19391
19392
19393 if test "x$GCXX" != "xyes"; then
19394 if test "xCXX" = "xC"; then
19395 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19396 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19397 if test "${bakefile_cv_c_exto+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 else
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406
19407 int
19408 main ()
19409 {
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext conftest.$ac_ext.o
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>&5
19418 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; then
19421 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19422 case $ac_file in
19423 conftest.$ac_ext.o)
19424 bakefile_cv_c_exto="-ext o"
19425 ;;
19426 *)
19427 ;;
19428 esac
19429 done
19430 else
19431 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19432 See \`config.log' for more details." >&5
19433 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19434 See \`config.log' for more details." >&2;}
19435 { (exit 1); exit 1; }; }
19436
19437 fi
19438
19439 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19440
19441 fi
19442 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19443 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19444 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19445 if test "c" = "c"; then
19446 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19447 fi
19448 if test "c" = "cxx"; then
19449 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19450 fi
19451 fi
19452
19453 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19454 unset ac_cv_prog_cc_g
19455 ac_test_CFLAGS=${CFLAGS+set}
19456 ac_save_CFLAGS=$CFLAGS
19457 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19458 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19459 if test "${ac_cv_prog_cc_g+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19461 else
19462 ac_save_c_werror_flag=$ac_c_werror_flag
19463 ac_c_werror_flag=yes
19464 ac_cv_prog_cc_g=no
19465 CFLAGS="-g"
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472
19473 int
19474 main ()
19475 {
19476
19477 ;
19478 return 0;
19479 }
19480 _ACEOF
19481 rm -f conftest.$ac_objext
19482 if { (ac_try="$ac_compile"
19483 case "(($ac_try" in
19484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19485 *) ac_try_echo=$ac_try;;
19486 esac
19487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19488 (eval "$ac_compile") 2>conftest.er1
19489 ac_status=$?
19490 grep -v '^ *+' conftest.er1 >conftest.err
19491 rm -f conftest.er1
19492 cat conftest.err >&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } && {
19495 test -z "$ac_c_werror_flag" ||
19496 test ! -s conftest.err
19497 } && test -s conftest.$ac_objext; then
19498 ac_cv_prog_cc_g=yes
19499 else
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.$ac_ext >&5
19502
19503 CFLAGS=""
19504 cat >conftest.$ac_ext <<_ACEOF
19505 /* confdefs.h. */
19506 _ACEOF
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510
19511 int
19512 main ()
19513 {
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19524 esac
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19527 ac_status=$?
19528 grep -v '^ *+' conftest.er1 >conftest.err
19529 rm -f conftest.er1
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 :
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19540
19541 ac_c_werror_flag=$ac_save_c_werror_flag
19542 CFLAGS="-g"
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549
19550 int
19551 main ()
19552 {
19553
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19563 esac
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_prog_cc_g=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580
19581 fi
19582
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 fi
19585
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 fi
19588
19589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19590 ac_c_werror_flag=$ac_save_c_werror_flag
19591 fi
19592 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19593 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19594 if test "$ac_test_CFLAGS" = set; then
19595 CFLAGS=$ac_save_CFLAGS
19596 elif test $ac_cv_prog_cc_g = yes; then
19597 if test "$GCC" = yes; then
19598 CFLAGS="-g -O2"
19599 else
19600 CFLAGS="-g"
19601 fi
19602 else
19603 if test "$GCC" = yes; then
19604 CFLAGS="-O2"
19605 else
19606 CFLAGS=
19607 fi
19608 fi
19609 fi
19610 fi
19611
19612 case `uname -s` in
19613 AIX*)
19614
19615
19616 ac_ext=cpp
19617 ac_cpp='$CXXCPP $CPPFLAGS'
19618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19621
19622 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19623 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19624 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 else
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633
19634 int
19635 main ()
19636 {
19637
19638 #ifndef __xlC__
19639 choke me
19640 #endif
19641
19642 ;
19643 return 0;
19644 }
19645 _ACEOF
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19651 esac
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_cxx_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.$ac_objext; then
19663 bakefile_cv_cxx_compiler___xlC__=yes
19664 else
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.$ac_ext >&5
19667
19668 bakefile_cv_cxx_compiler___xlC__=no
19669
19670 fi
19671
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673
19674
19675 fi
19676 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19677 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19678 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19679 :; XLCXX=yes
19680 else
19681 :;
19682 fi
19683 ac_ext=c
19684 ac_cpp='$CPP $CPPFLAGS'
19685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19688
19689
19690
19691 ;;
19692
19693 Darwin)
19694
19695
19696 ac_ext=cpp
19697 ac_cpp='$CXXCPP $CPPFLAGS'
19698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19701
19702 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19703 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19704 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 else
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h. */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713
19714 int
19715 main ()
19716 {
19717
19718 #ifndef __MWERKS__
19719 choke me
19720 #endif
19721
19722 ;
19723 return 0;
19724 }
19725 _ACEOF
19726 rm -f conftest.$ac_objext
19727 if { (ac_try="$ac_compile"
19728 case "(($ac_try" in
19729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19730 *) ac_try_echo=$ac_try;;
19731 esac
19732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19733 (eval "$ac_compile") 2>conftest.er1
19734 ac_status=$?
19735 grep -v '^ *+' conftest.er1 >conftest.err
19736 rm -f conftest.er1
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } && {
19740 test -z "$ac_cxx_werror_flag" ||
19741 test ! -s conftest.err
19742 } && test -s conftest.$ac_objext; then
19743 bakefile_cv_cxx_compiler___MWERKS__=yes
19744 else
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19747
19748 bakefile_cv_cxx_compiler___MWERKS__=no
19749
19750 fi
19751
19752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19753
19754
19755 fi
19756 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19757 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19758 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19759 :; MWCXX=yes
19760 else
19761 :;
19762 fi
19763 ac_ext=c
19764 ac_cpp='$CPP $CPPFLAGS'
19765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19768
19769
19770
19771
19772
19773 ac_ext=cpp
19774 ac_cpp='$CXXCPP $CPPFLAGS'
19775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19778
19779 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19780 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19781 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19782 echo $ECHO_N "(cached) $ECHO_C" >&6
19783 else
19784 cat >conftest.$ac_ext <<_ACEOF
19785 /* confdefs.h. */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790
19791 int
19792 main ()
19793 {
19794
19795 #ifndef __xlC__
19796 choke me
19797 #endif
19798
19799 ;
19800 return 0;
19801 }
19802 _ACEOF
19803 rm -f conftest.$ac_objext
19804 if { (ac_try="$ac_compile"
19805 case "(($ac_try" in
19806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19807 *) ac_try_echo=$ac_try;;
19808 esac
19809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19810 (eval "$ac_compile") 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } && {
19817 test -z "$ac_cxx_werror_flag" ||
19818 test ! -s conftest.err
19819 } && test -s conftest.$ac_objext; then
19820 bakefile_cv_cxx_compiler___xlC__=yes
19821 else
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19824
19825 bakefile_cv_cxx_compiler___xlC__=no
19826
19827 fi
19828
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830
19831
19832 fi
19833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19834 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19835 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19836 :; XLCXX=yes
19837 else
19838 :;
19839 fi
19840 ac_ext=c
19841 ac_cpp='$CPP $CPPFLAGS'
19842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19845
19846
19847
19848 ;;
19849
19850 IRIX*)
19851
19852
19853 ac_ext=cpp
19854 ac_cpp='$CXXCPP $CPPFLAGS'
19855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19858
19859 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19860 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19861 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19862 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 else
19864 cat >conftest.$ac_ext <<_ACEOF
19865 /* confdefs.h. */
19866 _ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870
19871 int
19872 main ()
19873 {
19874
19875 #ifndef _SGI_COMPILER_VERSION
19876 choke me
19877 #endif
19878
19879 ;
19880 return 0;
19881 }
19882 _ACEOF
19883 rm -f conftest.$ac_objext
19884 if { (ac_try="$ac_compile"
19885 case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19888 esac
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_compile") 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } && {
19897 test -z "$ac_cxx_werror_flag" ||
19898 test ! -s conftest.err
19899 } && test -s conftest.$ac_objext; then
19900 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19901 else
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.$ac_ext >&5
19904
19905 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19906
19907 fi
19908
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19910
19911
19912 fi
19913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19914 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19915 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19916 :; SGICXX=yes
19917 else
19918 :;
19919 fi
19920 ac_ext=c
19921 ac_cpp='$CPP $CPPFLAGS'
19922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19925
19926
19927
19928 ;;
19929
19930 Linux*)
19931
19932
19933 ac_ext=cpp
19934 ac_cpp='$CXXCPP $CPPFLAGS'
19935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19938
19939 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19940 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19941 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 else
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950
19951 int
19952 main ()
19953 {
19954
19955 #ifndef __SUNPRO_CC
19956 choke me
19957 #endif
19958
19959 ;
19960 return 0;
19961 }
19962 _ACEOF
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19968 esac
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19971 ac_status=$?
19972 grep -v '^ *+' conftest.er1 >conftest.err
19973 rm -f conftest.er1
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_cxx_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.$ac_objext; then
19980 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19981 else
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19984
19985 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19986
19987 fi
19988
19989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19990
19991
19992 fi
19993 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19994 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19995 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19996 :; SUNCXX=yes
19997 else
19998 :;
19999 fi
20000 ac_ext=c
20001 ac_cpp='$CPP $CPPFLAGS'
20002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20005
20006
20007
20008 ;;
20009
20010 HP-UX*)
20011
20012
20013 ac_ext=cpp
20014 ac_cpp='$CXXCPP $CPPFLAGS'
20015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20018
20019 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20020 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20021 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 else
20024 cat >conftest.$ac_ext <<_ACEOF
20025 /* confdefs.h. */
20026 _ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20030
20031 int
20032 main ()
20033 {
20034
20035 #ifndef __HP_aCC
20036 choke me
20037 #endif
20038
20039 ;
20040 return 0;
20041 }
20042 _ACEOF
20043 rm -f conftest.$ac_objext
20044 if { (ac_try="$ac_compile"
20045 case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047 *) ac_try_echo=$ac_try;;
20048 esac
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_compile") 2>conftest.er1
20051 ac_status=$?
20052 grep -v '^ *+' conftest.er1 >conftest.err
20053 rm -f conftest.er1
20054 cat conftest.err >&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } && {
20057 test -z "$ac_cxx_werror_flag" ||
20058 test ! -s conftest.err
20059 } && test -s conftest.$ac_objext; then
20060 bakefile_cv_cxx_compiler___HP_aCC=yes
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20064
20065 bakefile_cv_cxx_compiler___HP_aCC=no
20066
20067 fi
20068
20069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20070
20071
20072 fi
20073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20075 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20076 :; HPCXX=yes
20077 else
20078 :;
20079 fi
20080 ac_ext=c
20081 ac_cpp='$CPP $CPPFLAGS'
20082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20085
20086
20087
20088 ;;
20089
20090 OSF1)
20091
20092
20093 ac_ext=cpp
20094 ac_cpp='$CXXCPP $CPPFLAGS'
20095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20098
20099 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20100 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20101 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20103 else
20104 cat >conftest.$ac_ext <<_ACEOF
20105 /* confdefs.h. */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110
20111 int
20112 main ()
20113 {
20114
20115 #ifndef __DECCXX
20116 choke me
20117 #endif
20118
20119 ;
20120 return 0;
20121 }
20122 _ACEOF
20123 rm -f conftest.$ac_objext
20124 if { (ac_try="$ac_compile"
20125 case "(($ac_try" in
20126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20127 *) ac_try_echo=$ac_try;;
20128 esac
20129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 (eval "$ac_compile") 2>conftest.er1
20131 ac_status=$?
20132 grep -v '^ *+' conftest.er1 >conftest.err
20133 rm -f conftest.er1
20134 cat conftest.err >&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } && {
20137 test -z "$ac_cxx_werror_flag" ||
20138 test ! -s conftest.err
20139 } && test -s conftest.$ac_objext; then
20140 bakefile_cv_cxx_compiler___DECCXX=yes
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 bakefile_cv_cxx_compiler___DECCXX=no
20146
20147 fi
20148
20149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150
20151
20152 fi
20153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20155 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20156 :; COMPAQCXX=yes
20157 else
20158 :;
20159 fi
20160 ac_ext=c
20161 ac_cpp='$CPP $CPPFLAGS'
20162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20165
20166
20167
20168 ;;
20169
20170 SunOS)
20171
20172
20173 ac_ext=cpp
20174 ac_cpp='$CXXCPP $CPPFLAGS'
20175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20178
20179 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20180 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20181 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20182 echo $ECHO_N "(cached) $ECHO_C" >&6
20183 else
20184 cat >conftest.$ac_ext <<_ACEOF
20185 /* confdefs.h. */
20186 _ACEOF
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20190
20191 int
20192 main ()
20193 {
20194
20195 #ifndef __SUNPRO_CC
20196 choke me
20197 #endif
20198
20199 ;
20200 return 0;
20201 }
20202 _ACEOF
20203 rm -f conftest.$ac_objext
20204 if { (ac_try="$ac_compile"
20205 case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20208 esac
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_compile") 2>conftest.er1
20211 ac_status=$?
20212 grep -v '^ *+' conftest.er1 >conftest.err
20213 rm -f conftest.er1
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && {
20217 test -z "$ac_cxx_werror_flag" ||
20218 test ! -s conftest.err
20219 } && test -s conftest.$ac_objext; then
20220 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20221 else
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20224
20225 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20226
20227 fi
20228
20229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20230
20231
20232 fi
20233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20235 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20236 :; SUNCXX=yes
20237 else
20238 :;
20239 fi
20240 ac_ext=c
20241 ac_cpp='$CPP $CPPFLAGS'
20242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20245
20246
20247
20248 ;;
20249 esac
20250 fi
20251
20252
20253
20254 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20255 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20256 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20257 { (exit 1); exit 1; }; }
20258 fi
20259
20260 if test "x$SUNCXX" != xyes; then
20261 if test -n "$ac_tool_prefix"; then
20262 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20263 set dummy ${ac_tool_prefix}ar; ac_word=$2
20264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20266 if test "${ac_cv_prog_AR+set}" = set; then
20267 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 else
20269 if test -n "$AR"; then
20270 ac_cv_prog_AR="$AR" # Let the user override the test.
20271 else
20272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20273 for as_dir in $PATH
20274 do
20275 IFS=$as_save_IFS
20276 test -z "$as_dir" && as_dir=.
20277 for ac_exec_ext in '' $ac_executable_extensions; do
20278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20279 ac_cv_prog_AR="${ac_tool_prefix}ar"
20280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20281 break 2
20282 fi
20283 done
20284 done
20285 IFS=$as_save_IFS
20286
20287 fi
20288 fi
20289 AR=$ac_cv_prog_AR
20290 if test -n "$AR"; then
20291 { echo "$as_me:$LINENO: result: $AR" >&5
20292 echo "${ECHO_T}$AR" >&6; }
20293 else
20294 { echo "$as_me:$LINENO: result: no" >&5
20295 echo "${ECHO_T}no" >&6; }
20296 fi
20297
20298
20299 fi
20300 if test -z "$ac_cv_prog_AR"; then
20301 ac_ct_AR=$AR
20302 # Extract the first word of "ar", so it can be a program name with args.
20303 set dummy ar; ac_word=$2
20304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20306 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 else
20309 if test -n "$ac_ct_AR"; then
20310 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20311 else
20312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20313 for as_dir in $PATH
20314 do
20315 IFS=$as_save_IFS
20316 test -z "$as_dir" && as_dir=.
20317 for ac_exec_ext in '' $ac_executable_extensions; do
20318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20319 ac_cv_prog_ac_ct_AR="ar"
20320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20321 break 2
20322 fi
20323 done
20324 done
20325 IFS=$as_save_IFS
20326
20327 fi
20328 fi
20329 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20330 if test -n "$ac_ct_AR"; then
20331 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20332 echo "${ECHO_T}$ac_ct_AR" >&6; }
20333 else
20334 { echo "$as_me:$LINENO: result: no" >&5
20335 echo "${ECHO_T}no" >&6; }
20336 fi
20337
20338 if test "x$ac_ct_AR" = x; then
20339 AR=""
20340 else
20341 case $cross_compiling:$ac_tool_warned in
20342 yes:)
20343 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20344 whose name does not start with the host triplet. If you think this
20345 configuration is useful to you, please write to autoconf@gnu.org." >&5
20346 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20347 whose name does not start with the host triplet. If you think this
20348 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20349 ac_tool_warned=yes ;;
20350 esac
20351 AR=$ac_ct_AR
20352 fi
20353 else
20354 AR="$ac_cv_prog_AR"
20355 fi
20356
20357 if test "x$AR" = "x" ; then
20358 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20359 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20360 { (exit 1); exit 1; }; }
20361 fi
20362 fi
20363
20364 retest_macosx_linking=no
20365
20366 #if test "$wxUSE_MAC" = 1; then
20367 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20368 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20369 # Implicitly turn on the new --with-macosx-sdk using the default
20370 # SDK which provides the behavior this option has always had.
20371 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20372 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20373 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20374 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20375 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20376 wxUSE_MACOSX_SDK=yes
20377 fi
20378 else
20379 # Complain to user if he specified an argument to --enable-universal_binary
20380 # and also 1) specified --with-macosx-sdk using the default (yes) or
20381 # 2) specified --with-macosx-sdk using a path or 3) specified
20382 # --without-macosx-sdk (no).
20383 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20384 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20385 See \`config.log' for more details." >&5
20386 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20387 See \`config.log' for more details." >&2;}
20388 { (exit 1); exit 1; }; }
20389 else
20390 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20391 # special-case the empty string because the below test simply
20392 # converts "no" to the empty string anyway.
20393 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20394 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20395 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20396 fi
20397 fi
20398 OSX_UNIV_OPTS="-arch ppc -arch i386"
20399 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20400 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20401 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20402 retest_macosx_linking=yes
20403
20404 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20405 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20406 bk_use_pch=no
20407 fi
20408 #fi
20409
20410 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20411 wxUSE_MACOSX_SDK=
20412 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20413 # TODO: Search for most recent SDK and use it.
20414 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20415 fi
20416
20417
20418 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20419 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20420 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20421 if ! test -d "$wxUSE_MACOSX_SDK"; then
20422 { { echo "$as_me:$LINENO: error: not found
20423 See \`config.log' for more details." >&5
20424 echo "$as_me: error: not found
20425 See \`config.log' for more details." >&2;}
20426 { (exit 1); exit 1; }; }
20427 else
20428 { echo "$as_me:$LINENO: result: exists" >&5
20429 echo "${ECHO_T}exists" >&6; }
20430 fi
20431 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20432 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20433 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20434 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20435 retest_macosx_linking=yes
20436 fi
20437
20438 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20439 wxUSE_MACOSX_VERSION_MIN=
20440 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20441 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20442 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20443 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20444
20445 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/'`
20446
20447 # If that failed, try again with the new key
20448 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20449
20450 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/'`
20451
20452 fi
20453
20454 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20455 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20456 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20457 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20458 else
20459 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20460 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20461 wxUSE_MACOSX_VERSION_MIN=
20462 fi
20463 else
20464 wxUSE_MACOSX_VERSION_MIN=
20465 fi
20466 fi
20467
20468 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20469 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20470 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20471 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20472 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20473 retest_macosx_linking=yes
20474 fi
20475
20476 if test "x$retest_macosx_linking" = "xyes"; then
20477 ac_ext=c
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20482
20483 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20484 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20485 cat >conftest.$ac_ext <<_ACEOF
20486 /* confdefs.h. */
20487 _ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491
20492 int
20493 main ()
20494 {
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest.$ac_objext conftest$ac_exeext
20501 if { (ac_try="$ac_link"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20505 esac
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_link") 2>conftest.er1
20508 ac_status=$?
20509 grep -v '^ *+' conftest.er1 >conftest.err
20510 rm -f conftest.er1
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest$ac_exeext &&
20517 $as_test_x conftest$ac_exeext; then
20518 { echo "$as_me:$LINENO: result: yes" >&5
20519 echo "${ECHO_T}yes" >&6; }
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20523
20524 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20525 See \`config.log' for more details." >&5
20526 echo "$as_me: error: no. Try a different SDK
20527 See \`config.log' for more details." >&2;}
20528 { (exit 1); exit 1; }; }; exit 1
20529 fi
20530
20531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20532 conftest$ac_exeext conftest.$ac_ext
20533 ac_ext=c
20534 ac_cpp='$CPP $CPPFLAGS'
20535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20538
20539
20540 ac_ext=cpp
20541 ac_cpp='$CXXCPP $CPPFLAGS'
20542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20545
20546 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20547 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20548 cat >conftest.$ac_ext <<_ACEOF
20549 /* confdefs.h. */
20550 _ACEOF
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20554
20555 int
20556 main ()
20557 {
20558
20559 ;
20560 return 0;
20561 }
20562 _ACEOF
20563 rm -f conftest.$ac_objext conftest$ac_exeext
20564 if { (ac_try="$ac_link"
20565 case "(($ac_try" in
20566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20567 *) ac_try_echo=$ac_try;;
20568 esac
20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20570 (eval "$ac_link") 2>conftest.er1
20571 ac_status=$?
20572 grep -v '^ *+' conftest.er1 >conftest.err
20573 rm -f conftest.er1
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } && {
20577 test -z "$ac_cxx_werror_flag" ||
20578 test ! -s conftest.err
20579 } && test -s conftest$ac_exeext &&
20580 $as_test_x conftest$ac_exeext; then
20581 { echo "$as_me:$LINENO: result: yes" >&5
20582 echo "${ECHO_T}yes" >&6; }
20583 else
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.$ac_ext >&5
20586
20587 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: no. Try a different SDK
20590 See \`config.log' for more details." >&2;}
20591 { (exit 1); exit 1; }; }; exit 1
20592 fi
20593
20594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20595 conftest$ac_exeext conftest.$ac_ext
20596 ac_ext=c
20597 ac_cpp='$CPP $CPPFLAGS'
20598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20601
20602 fi
20603
20604
20605 case "${host}" in
20606
20607 *-*-darwin* )
20608 INSTALL_PROGRAM="cp -fp"
20609 INSTALL_DATA="cp -fp"
20610 ;;
20611 *)
20612 ;;
20613 esac
20614
20615
20616 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20617 CXXFLAGS="-qunique $CXXFLAGS"
20618 fi
20619
20620 case "${host}" in
20621 powerpc-*-darwin* )
20622 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20623 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20624 cat >conftest.$ac_ext <<_ACEOF
20625 /* confdefs.h. */
20626 _ACEOF
20627 cat confdefs.h >>conftest.$ac_ext
20628 cat >>conftest.$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20630
20631 int
20632 main ()
20633 {
20634 #ifndef __POWERPC__
20635 choke me for lack of PowerPC
20636 #endif
20637
20638 ;
20639 return 0;
20640 }
20641 _ACEOF
20642 rm -f conftest.$ac_objext
20643 if { (ac_try="$ac_compile"
20644 case "(($ac_try" in
20645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20647 esac
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_compile") 2>conftest.er1
20650 ac_status=$?
20651 grep -v '^ *+' conftest.er1 >conftest.err
20652 rm -f conftest.er1
20653 cat conftest.err >&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } && {
20656 test -z "$ac_c_werror_flag" ||
20657 test ! -s conftest.err
20658 } && test -s conftest.$ac_objext; then
20659 { echo "$as_me:$LINENO: result: yes" >&5
20660 echo "${ECHO_T}yes" >&6; }
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 { echo "$as_me:$LINENO: result: no" >&5
20666 echo "${ECHO_T}no" >&6; }
20667 cat >>confdefs.h <<\_ACEOF
20668 #define __POWERPC__ 1
20669 _ACEOF
20670
20671
20672 fi
20673
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 ;;
20676 esac
20677
20678 case "${host}" in
20679 *-*-darwin* )
20680 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20681 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20682 cat >conftest.$ac_ext <<_ACEOF
20683 /* confdefs.h. */
20684 _ACEOF
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 #include <CoreFoundation/CFBase.h>
20689
20690 int
20691 main ()
20692 {
20693
20694 ;
20695 return 0;
20696 }
20697 _ACEOF
20698 rm -f conftest.$ac_objext
20699 if { (ac_try="$ac_compile"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_compile") 2>conftest.er1
20706 ac_status=$?
20707 grep -v '^ *+' conftest.er1 >conftest.err
20708 rm -f conftest.er1
20709 cat conftest.err >&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && {
20712 test -z "$ac_c_werror_flag" ||
20713 test ! -s conftest.err
20714 } && test -s conftest.$ac_objext; then
20715 { echo "$as_me:$LINENO: result: yes" >&5
20716 echo "${ECHO_T}yes" >&6; }
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721 { echo "$as_me:$LINENO: result: no" >&5
20722 echo "${ECHO_T}no" >&6; }
20723 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20724 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20725 cat >conftest.$ac_ext <<_ACEOF
20726 /* confdefs.h. */
20727 _ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 #define __CF_USE_FRAMEWORK_INCLUDES__
20732 #include <CoreFoundation/CFBase.h>
20733
20734 int
20735 main ()
20736 {
20737
20738 ;
20739 return 0;
20740 }
20741 _ACEOF
20742 rm -f conftest.$ac_objext
20743 if { (ac_try="$ac_compile"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20747 esac
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_compile") 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } && {
20756 test -z "$ac_c_werror_flag" ||
20757 test ! -s conftest.err
20758 } && test -s conftest.$ac_objext; then
20759 { echo "$as_me:$LINENO: result: yes" >&5
20760 echo "${ECHO_T}yes" >&6; }
20761 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20765
20766 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20767 See \`config.log' for more details." >&5
20768 echo "$as_me: error: no. CoreFoundation not available.
20769 See \`config.log' for more details." >&2;}
20770 { (exit 1); exit 1; }; }
20771
20772 fi
20773
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775
20776
20777 fi
20778
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 ;;
20781 esac
20782
20783 wants_win32=0
20784 doesnt_want_win32=0
20785 case "${host}" in
20786 *-*-cygwin*)
20787 if test "$wxUSE_MSW" = 1 ; then
20788 wants_win32=1
20789 else
20790 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20791 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20792 if test "${wx_cv_nocygwin+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 else
20795
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802
20803 int
20804 main ()
20805 {
20806
20807 #ifdef __MINGW32__
20808 choke me
20809 #endif
20810
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 rm -f conftest.$ac_objext
20816 if { (ac_try="$ac_compile"
20817 case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20820 esac
20821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_compile") 2>conftest.er1
20823 ac_status=$?
20824 grep -v '^ *+' conftest.er1 >conftest.err
20825 rm -f conftest.er1
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } && {
20829 test -z "$ac_c_werror_flag" ||
20830 test ! -s conftest.err
20831 } && test -s conftest.$ac_objext; then
20832 wx_cv_nocygwin=no
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 wx_cv_nocygwin=yes
20838
20839 fi
20840
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842
20843
20844 fi
20845 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20846 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20847
20848 if test "$wx_cv_nocygwin" = "yes"; then
20849 wants_win32=1
20850 else
20851 doesnt_want_win32=1
20852 fi
20853 fi
20854 if test "$wants_win32" = 1 ; then
20855 BAKEFILE_FORCE_PLATFORM=win32
20856 fi
20857 ;;
20858 *-*-mingw*)
20859 wants_win32=1
20860 ;;
20861 esac
20862
20863 if test "$wxUSE_WINE" = "yes"; then
20864 wants_win32=1
20865 LDFLAGS_GUI="-mwindows"
20866 fi
20867
20868 if test "$wants_win32" = 1 ; then
20869 USE_UNIX=0
20870 USE_WIN32=1
20871 cat >>confdefs.h <<\_ACEOF
20872 #define __WIN32__ 1
20873 _ACEOF
20874
20875 cat >>confdefs.h <<\_ACEOF
20876 #define __WIN95__ 1
20877 _ACEOF
20878
20879 cat >>confdefs.h <<\_ACEOF
20880 #define __WINDOWS__ 1
20881 _ACEOF
20882
20883 cat >>confdefs.h <<\_ACEOF
20884 #define __GNUWIN32__ 1
20885 _ACEOF
20886
20887 cat >>confdefs.h <<\_ACEOF
20888 #define STRICT 1
20889 _ACEOF
20890
20891 fi
20892 if test "$doesnt_want_win32" = 1 ; then
20893 USE_UNIX=1
20894 USE_WIN32=0
20895 fi
20896
20897 if test "$USE_UNIX" = 1 ; then
20898 wxUSE_UNIX=yes
20899 cat >>confdefs.h <<\_ACEOF
20900 #define __UNIX__ 1
20901 _ACEOF
20902
20903 fi
20904
20905 case "${host}" in
20906 *-pc-os2_emx | *-pc-os2-emx )
20907 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20908 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20909 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20910 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20911 echo $ECHO_N "(cached) $ECHO_C" >&6
20912 else
20913 ac_check_lib_save_LIBS=$LIBS
20914 LIBS="-lcExt $LIBS"
20915 cat >conftest.$ac_ext <<_ACEOF
20916 /* confdefs.h. */
20917 _ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20921
20922 /* Override any GCC internal prototype to avoid an error.
20923 Use char because int might match the return type of a GCC
20924 builtin and then its argument prototype would still apply. */
20925 #ifdef __cplusplus
20926 extern "C"
20927 #endif
20928 char drand48 ();
20929 int
20930 main ()
20931 {
20932 return drand48 ();
20933 ;
20934 return 0;
20935 }
20936 _ACEOF
20937 rm -f conftest.$ac_objext conftest$ac_exeext
20938 if { (ac_try="$ac_link"
20939 case "(($ac_try" in
20940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20941 *) ac_try_echo=$ac_try;;
20942 esac
20943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20944 (eval "$ac_link") 2>conftest.er1
20945 ac_status=$?
20946 grep -v '^ *+' conftest.er1 >conftest.err
20947 rm -f conftest.er1
20948 cat conftest.err >&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } && {
20951 test -z "$ac_c_werror_flag" ||
20952 test ! -s conftest.err
20953 } && test -s conftest$ac_exeext &&
20954 $as_test_x conftest$ac_exeext; then
20955 ac_cv_lib_cExt_drand48=yes
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 ac_cv_lib_cExt_drand48=no
20961 fi
20962
20963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20964 conftest$ac_exeext conftest.$ac_ext
20965 LIBS=$ac_check_lib_save_LIBS
20966 fi
20967 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20968 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20969 if test $ac_cv_lib_cExt_drand48 = yes; then
20970 LIBS="$LIBS -lcExt"
20971 fi
20972
20973 else
20974 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20975 fi
20976 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20977 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20978 if test "${wx_cv_gccversion+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981
20982 if test "$cross_compiling" = yes; then
20983 wx_cv_gccversion="EMX2"
20984
20985 else
20986 cat >conftest.$ac_ext <<_ACEOF
20987 /* confdefs.h. */
20988 _ACEOF
20989 cat confdefs.h >>conftest.$ac_ext
20990 cat >>conftest.$ac_ext <<_ACEOF
20991 /* end confdefs.h. */
20992
20993 #include <stdio.h>
20994
20995 int main()
20996 {
20997 FILE *f=fopen("conftestval", "w");
20998 if (!f) exit(1);
20999 fprintf(f,
21000 #if (__GNUC__ < 3)
21001 "EMX2"
21002 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21003 "EMX3"
21004 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21005 "Innotek5"
21006 #else
21007 "Innotek6"
21008 #endif
21009 );
21010 exit(0);
21011 }
21012
21013 _ACEOF
21014 rm -f conftest$ac_exeext
21015 if { (ac_try="$ac_link"
21016 case "(($ac_try" in
21017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21018 *) ac_try_echo=$ac_try;;
21019 esac
21020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21021 (eval "$ac_link") 2>&5
21022 ac_status=$?
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21025 { (case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21028 esac
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_try") 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; }; then
21034 wx_cv_gccversion=`cat conftestval`
21035 else
21036 echo "$as_me: program exited with status $ac_status" >&5
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ( exit $ac_status )
21041 wx_cv_gccversion="EMX2"
21042 fi
21043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21044 fi
21045
21046
21047
21048 fi
21049 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21050 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21051 if test "$wx_cv_gccversion" = "EMX2"; then
21052 LIBS="$LIBS -lstdcpp"
21053 LDFLAGS="$LDFLAGS -Zsysv-signals"
21054 else
21055 if test "$wx_cv_gccversion" = "EMX3"; then
21056 LIBS="$LIBS -lstdcxx -lgcc"
21057 LDFLAGS="$LDFLAGS -Zsysv-signals"
21058 else
21059 LIBS="$LIBS -lstdc++"
21060 fi
21061 fi
21062 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21063 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21064 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21065 wxUSE_OMF=yes
21066 enable_omf=yes
21067 fi
21068 ;;
21069 *)
21070
21071 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21072 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21073 if test "${ac_cv_string_strcasecmp+set}" = set; then
21074 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 else
21076
21077 cat >conftest.$ac_ext <<_ACEOF
21078 /* confdefs.h. */
21079 _ACEOF
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h. */
21083
21084 #include <string.h>
21085
21086 int
21087 main ()
21088 {
21089
21090 strcasecmp("foo", "bar");
21091
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 rm -f conftest.$ac_objext conftest$ac_exeext
21097 if { (ac_try="$ac_link"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_link") 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest$ac_exeext &&
21113 $as_test_x conftest$ac_exeext; then
21114 ac_cv_string_strcasecmp=yes
21115 else
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21118
21119 ac_cv_string_strcasecmp=no
21120
21121 fi
21122
21123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21124 conftest$ac_exeext conftest.$ac_ext
21125
21126 fi
21127 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21128 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21129
21130 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21131 cat >>confdefs.h <<\_ACEOF
21132 #define HAVE_STRCASECMP_IN_STRING_H 1
21133 _ACEOF
21134
21135 else
21136 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21137 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21138 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 else
21141
21142 cat >conftest.$ac_ext <<_ACEOF
21143 /* confdefs.h. */
21144 _ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148
21149 #include <strings.h>
21150
21151 int
21152 main ()
21153 {
21154
21155 strcasecmp("foo", "bar");
21156
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 rm -f conftest.$ac_objext conftest$ac_exeext
21162 if { (ac_try="$ac_link"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_link") 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest$ac_exeext &&
21178 $as_test_x conftest$ac_exeext; then
21179 ac_cv_strings_strcasecmp=yes
21180 else
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21183
21184 ac_cv_strings_strcasecmp=no
21185
21186 fi
21187
21188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21189 conftest$ac_exeext conftest.$ac_ext
21190
21191 fi
21192 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21193 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21194
21195 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21196 cat >>confdefs.h <<\_ACEOF
21197 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21198 _ACEOF
21199
21200 else
21201 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21202 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21203 { (exit 1); exit 1; }; }
21204 fi
21205 fi
21206
21207 ;;
21208 esac
21209
21210
21211 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21212 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21213 if test "${ac_cv_header_stdc+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 else
21216 cat >conftest.$ac_ext <<_ACEOF
21217 /* confdefs.h. */
21218 _ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222 #include <stdlib.h>
21223 #include <stdarg.h>
21224 #include <string.h>
21225 #include <float.h>
21226
21227 int
21228 main ()
21229 {
21230
21231 ;
21232 return 0;
21233 }
21234 _ACEOF
21235 rm -f conftest.$ac_objext
21236 if { (ac_try="$ac_compile"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21240 esac
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_compile") 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } && {
21249 test -z "$ac_c_werror_flag" ||
21250 test ! -s conftest.err
21251 } && test -s conftest.$ac_objext; then
21252 ac_cv_header_stdc=yes
21253 else
21254 echo "$as_me: failed program was:" >&5
21255 sed 's/^/| /' conftest.$ac_ext >&5
21256
21257 ac_cv_header_stdc=no
21258 fi
21259
21260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261
21262 if test $ac_cv_header_stdc = yes; then
21263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 #include <string.h>
21271
21272 _ACEOF
21273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21274 $EGREP "memchr" >/dev/null 2>&1; then
21275 :
21276 else
21277 ac_cv_header_stdc=no
21278 fi
21279 rm -f conftest*
21280
21281 fi
21282
21283 if test $ac_cv_header_stdc = yes; then
21284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 #include <stdlib.h>
21292
21293 _ACEOF
21294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21295 $EGREP "free" >/dev/null 2>&1; then
21296 :
21297 else
21298 ac_cv_header_stdc=no
21299 fi
21300 rm -f conftest*
21301
21302 fi
21303
21304 if test $ac_cv_header_stdc = yes; then
21305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21306 if test "$cross_compiling" = yes; then
21307 :
21308 else
21309 cat >conftest.$ac_ext <<_ACEOF
21310 /* confdefs.h. */
21311 _ACEOF
21312 cat confdefs.h >>conftest.$ac_ext
21313 cat >>conftest.$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 #include <ctype.h>
21316 #include <stdlib.h>
21317 #if ((' ' & 0x0FF) == 0x020)
21318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21320 #else
21321 # define ISLOWER(c) \
21322 (('a' <= (c) && (c) <= 'i') \
21323 || ('j' <= (c) && (c) <= 'r') \
21324 || ('s' <= (c) && (c) <= 'z'))
21325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21326 #endif
21327
21328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21329 int
21330 main ()
21331 {
21332 int i;
21333 for (i = 0; i < 256; i++)
21334 if (XOR (islower (i), ISLOWER (i))
21335 || toupper (i) != TOUPPER (i))
21336 return 2;
21337 return 0;
21338 }
21339 _ACEOF
21340 rm -f conftest$ac_exeext
21341 if { (ac_try="$ac_link"
21342 case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21345 esac
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_link") 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21354 esac
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; }; then
21360 :
21361 else
21362 echo "$as_me: program exited with status $ac_status" >&5
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.$ac_ext >&5
21365
21366 ( exit $ac_status )
21367 ac_cv_header_stdc=no
21368 fi
21369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21370 fi
21371
21372
21373 fi
21374 fi
21375 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21376 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21377 if test $ac_cv_header_stdc = yes; then
21378
21379 cat >>confdefs.h <<\_ACEOF
21380 #define STDC_HEADERS 1
21381 _ACEOF
21382
21383 fi
21384
21385 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21396 inttypes.h stdint.h unistd.h
21397 do
21398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 else
21404 cat >conftest.$ac_ext <<_ACEOF
21405 /* confdefs.h. */
21406 _ACEOF
21407 cat confdefs.h >>conftest.$ac_ext
21408 cat >>conftest.$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21410 $ac_includes_default
21411
21412 #include <$ac_header>
21413 _ACEOF
21414 rm -f conftest.$ac_objext
21415 if { (ac_try="$ac_compile"
21416 case "(($ac_try" in
21417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;;
21419 esac
21420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21421 (eval "$ac_compile") 2>conftest.er1
21422 ac_status=$?
21423 grep -v '^ *+' conftest.er1 >conftest.err
21424 rm -f conftest.er1
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } && {
21428 test -z "$ac_c_werror_flag" ||
21429 test ! -s conftest.err
21430 } && test -s conftest.$ac_objext; then
21431 eval "$as_ac_Header=yes"
21432 else
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21435
21436 eval "$as_ac_Header=no"
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 fi
21441 ac_res=`eval echo '${'$as_ac_Header'}'`
21442 { echo "$as_me:$LINENO: result: $ac_res" >&5
21443 echo "${ECHO_T}$ac_res" >&6; }
21444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21445 cat >>confdefs.h <<_ACEOF
21446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21447 _ACEOF
21448
21449 fi
21450
21451 done
21452
21453
21454
21455
21456
21457
21458
21459
21460 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21461 do
21462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21463 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21466 echo $ECHO_N "(cached) $ECHO_C" >&6
21467 else
21468 cat >conftest.$ac_ext <<_ACEOF
21469 /* confdefs.h. */
21470 _ACEOF
21471 cat confdefs.h >>conftest.$ac_ext
21472 cat >>conftest.$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21474 $ac_includes_default
21475
21476 #include <$ac_header>
21477 _ACEOF
21478 rm -f conftest.$ac_objext
21479 if { (ac_try="$ac_compile"
21480 case "(($ac_try" in
21481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21482 *) ac_try_echo=$ac_try;;
21483 esac
21484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21485 (eval "$ac_compile") 2>conftest.er1
21486 ac_status=$?
21487 grep -v '^ *+' conftest.er1 >conftest.err
21488 rm -f conftest.er1
21489 cat conftest.err >&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } && {
21492 test -z "$ac_c_werror_flag" ||
21493 test ! -s conftest.err
21494 } && test -s conftest.$ac_objext; then
21495 eval "$as_ac_Header=yes"
21496 else
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21499
21500 eval "$as_ac_Header=no"
21501 fi
21502
21503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21504 fi
21505 ac_res=`eval echo '${'$as_ac_Header'}'`
21506 { echo "$as_me:$LINENO: result: $ac_res" >&5
21507 echo "${ECHO_T}$ac_res" >&6; }
21508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21509 cat >>confdefs.h <<_ACEOF
21510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21511 _ACEOF
21512
21513 fi
21514
21515 done
21516
21517
21518 if test "$ac_cv_header_wchar_h" != "yes"; then
21519
21520 for ac_header in wcstr.h
21521 do
21522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21526 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 else
21528 cat >conftest.$ac_ext <<_ACEOF
21529 /* confdefs.h. */
21530 _ACEOF
21531 cat confdefs.h >>conftest.$ac_ext
21532 cat >>conftest.$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21534 $ac_includes_default
21535
21536 #include <$ac_header>
21537 _ACEOF
21538 rm -f conftest.$ac_objext
21539 if { (ac_try="$ac_compile"
21540 case "(($ac_try" in
21541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21542 *) ac_try_echo=$ac_try;;
21543 esac
21544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21545 (eval "$ac_compile") 2>conftest.er1
21546 ac_status=$?
21547 grep -v '^ *+' conftest.er1 >conftest.err
21548 rm -f conftest.er1
21549 cat conftest.err >&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); } && {
21552 test -z "$ac_c_werror_flag" ||
21553 test ! -s conftest.err
21554 } && test -s conftest.$ac_objext; then
21555 eval "$as_ac_Header=yes"
21556 else
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21559
21560 eval "$as_ac_Header=no"
21561 fi
21562
21563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21564 fi
21565 ac_res=`eval echo '${'$as_ac_Header'}'`
21566 { echo "$as_me:$LINENO: result: $ac_res" >&5
21567 echo "${ECHO_T}$ac_res" >&6; }
21568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21569 cat >>confdefs.h <<_ACEOF
21570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21571 _ACEOF
21572
21573 fi
21574
21575 done
21576
21577 fi
21578
21579 case "${host}" in
21580 *-pc-os2_emx | *-pc-os2-emx )
21581 if test $ac_cv_header_langinfo_h = "yes" \
21582 -a \( "$wx_cv_gccversion" = "EMX2" \
21583 -o "$wx_cv_gccversion" = "EMX3" \
21584 -o "$wx_cv_gccversion" = "Innotek5" \); then
21585 LIBS="$LIBS -lintl"
21586 fi
21587 ;;
21588 esac
21589
21590 if test "$USE_UNIX" = 1 ; then
21591
21592 for ac_header in sys/select.h
21593 do
21594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21595 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21598 echo $ECHO_N "(cached) $ECHO_C" >&6
21599 else
21600 cat >conftest.$ac_ext <<_ACEOF
21601 /* confdefs.h. */
21602 _ACEOF
21603 cat confdefs.h >>conftest.$ac_ext
21604 cat >>conftest.$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21606 $ac_includes_default
21607
21608 #include <$ac_header>
21609 _ACEOF
21610 rm -f conftest.$ac_objext
21611 if { (ac_try="$ac_compile"
21612 case "(($ac_try" in
21613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21614 *) ac_try_echo=$ac_try;;
21615 esac
21616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21617 (eval "$ac_compile") 2>conftest.er1
21618 ac_status=$?
21619 grep -v '^ *+' conftest.er1 >conftest.err
21620 rm -f conftest.er1
21621 cat conftest.err >&5
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); } && {
21624 test -z "$ac_c_werror_flag" ||
21625 test ! -s conftest.err
21626 } && test -s conftest.$ac_objext; then
21627 eval "$as_ac_Header=yes"
21628 else
21629 echo "$as_me: failed program was:" >&5
21630 sed 's/^/| /' conftest.$ac_ext >&5
21631
21632 eval "$as_ac_Header=no"
21633 fi
21634
21635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21636 fi
21637 ac_res=`eval echo '${'$as_ac_Header'}'`
21638 { echo "$as_me:$LINENO: result: $ac_res" >&5
21639 echo "${ECHO_T}$ac_res" >&6; }
21640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21641 cat >>confdefs.h <<_ACEOF
21642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21643 _ACEOF
21644
21645 fi
21646
21647 done
21648
21649 fi
21650
21651
21652 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21653 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21654 if test "${ac_cv_c_const+set}" = set; then
21655 echo $ECHO_N "(cached) $ECHO_C" >&6
21656 else
21657 cat >conftest.$ac_ext <<_ACEOF
21658 /* confdefs.h. */
21659 _ACEOF
21660 cat confdefs.h >>conftest.$ac_ext
21661 cat >>conftest.$ac_ext <<_ACEOF
21662 /* end confdefs.h. */
21663
21664 int
21665 main ()
21666 {
21667 /* FIXME: Include the comments suggested by Paul. */
21668 #ifndef __cplusplus
21669 /* Ultrix mips cc rejects this. */
21670 typedef int charset[2];
21671 const charset cs;
21672 /* SunOS 4.1.1 cc rejects this. */
21673 char const *const *pcpcc;
21674 char **ppc;
21675 /* NEC SVR4.0.2 mips cc rejects this. */
21676 struct point {int x, y;};
21677 static struct point const zero = {0,0};
21678 /* AIX XL C 1.02.0.0 rejects this.
21679 It does not let you subtract one const X* pointer from another in
21680 an arm of an if-expression whose if-part is not a constant
21681 expression */
21682 const char *g = "string";
21683 pcpcc = &g + (g ? g-g : 0);
21684 /* HPUX 7.0 cc rejects these. */
21685 ++pcpcc;
21686 ppc = (char**) pcpcc;
21687 pcpcc = (char const *const *) ppc;
21688 { /* SCO 3.2v4 cc rejects this. */
21689 char *t;
21690 char const *s = 0 ? (char *) 0 : (char const *) 0;
21691
21692 *t++ = 0;
21693 if (s) return 0;
21694 }
21695 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21696 int x[] = {25, 17};
21697 const int *foo = &x[0];
21698 ++foo;
21699 }
21700 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21701 typedef const int *iptr;
21702 iptr p = 0;
21703 ++p;
21704 }
21705 { /* AIX XL C 1.02.0.0 rejects this saying
21706 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21707 struct s { int j; const int *ap[3]; };
21708 struct s *b; b->j = 5;
21709 }
21710 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21711 const int foo = 10;
21712 if (!foo) return 0;
21713 }
21714 return !cs[0] && !zero.x;
21715 #endif
21716
21717 ;
21718 return 0;
21719 }
21720 _ACEOF
21721 rm -f conftest.$ac_objext
21722 if { (ac_try="$ac_compile"
21723 case "(($ac_try" in
21724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21725 *) ac_try_echo=$ac_try;;
21726 esac
21727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21728 (eval "$ac_compile") 2>conftest.er1
21729 ac_status=$?
21730 grep -v '^ *+' conftest.er1 >conftest.err
21731 rm -f conftest.er1
21732 cat conftest.err >&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); } && {
21735 test -z "$ac_c_werror_flag" ||
21736 test ! -s conftest.err
21737 } && test -s conftest.$ac_objext; then
21738 ac_cv_c_const=yes
21739 else
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.$ac_ext >&5
21742
21743 ac_cv_c_const=no
21744 fi
21745
21746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 fi
21748 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21749 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21750 if test $ac_cv_c_const = no; then
21751
21752 cat >>confdefs.h <<\_ACEOF
21753 #define const
21754 _ACEOF
21755
21756 fi
21757
21758 { echo "$as_me:$LINENO: checking for inline" >&5
21759 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21760 if test "${ac_cv_c_inline+set}" = set; then
21761 echo $ECHO_N "(cached) $ECHO_C" >&6
21762 else
21763 ac_cv_c_inline=no
21764 for ac_kw in inline __inline__ __inline; do
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771 #ifndef __cplusplus
21772 typedef int foo_t;
21773 static $ac_kw foo_t static_foo () {return 0; }
21774 $ac_kw foo_t foo () {return 0; }
21775 #endif
21776
21777 _ACEOF
21778 rm -f conftest.$ac_objext
21779 if { (ac_try="$ac_compile"
21780 case "(($ac_try" in
21781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21783 esac
21784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_compile") 2>conftest.er1
21786 ac_status=$?
21787 grep -v '^ *+' conftest.er1 >conftest.err
21788 rm -f conftest.er1
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } && {
21792 test -z "$ac_c_werror_flag" ||
21793 test ! -s conftest.err
21794 } && test -s conftest.$ac_objext; then
21795 ac_cv_c_inline=$ac_kw
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21799
21800
21801 fi
21802
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 test "$ac_cv_c_inline" != no && break
21805 done
21806
21807 fi
21808 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21809 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21810
21811
21812 case $ac_cv_c_inline in
21813 inline | yes) ;;
21814 *)
21815 case $ac_cv_c_inline in
21816 no) ac_val=;;
21817 *) ac_val=$ac_cv_c_inline;;
21818 esac
21819 cat >>confdefs.h <<_ACEOF
21820 #ifndef __cplusplus
21821 #define inline $ac_val
21822 #endif
21823 _ACEOF
21824 ;;
21825 esac
21826
21827
21828 { echo "$as_me:$LINENO: checking for short" >&5
21829 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21830 if test "${ac_cv_type_short+set}" = set; then
21831 echo $ECHO_N "(cached) $ECHO_C" >&6
21832 else
21833 cat >conftest.$ac_ext <<_ACEOF
21834 /* confdefs.h. */
21835 _ACEOF
21836 cat confdefs.h >>conftest.$ac_ext
21837 cat >>conftest.$ac_ext <<_ACEOF
21838 /* end confdefs.h. */
21839 $ac_includes_default
21840 typedef short ac__type_new_;
21841 int
21842 main ()
21843 {
21844 if ((ac__type_new_ *) 0)
21845 return 0;
21846 if (sizeof (ac__type_new_))
21847 return 0;
21848 ;
21849 return 0;
21850 }
21851 _ACEOF
21852 rm -f conftest.$ac_objext
21853 if { (ac_try="$ac_compile"
21854 case "(($ac_try" in
21855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21857 esac
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_compile") 2>conftest.er1
21860 ac_status=$?
21861 grep -v '^ *+' conftest.er1 >conftest.err
21862 rm -f conftest.er1
21863 cat conftest.err >&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } && {
21866 test -z "$ac_c_werror_flag" ||
21867 test ! -s conftest.err
21868 } && test -s conftest.$ac_objext; then
21869 ac_cv_type_short=yes
21870 else
21871 echo "$as_me: failed program was:" >&5
21872 sed 's/^/| /' conftest.$ac_ext >&5
21873
21874 ac_cv_type_short=no
21875 fi
21876
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21878 fi
21879 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21880 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21881
21882 # The cast to long int works around a bug in the HP C Compiler
21883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21884 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21885 # This bug is HP SR number 8606223364.
21886 { echo "$as_me:$LINENO: checking size of short" >&5
21887 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21888 if test "${ac_cv_sizeof_short+set}" = set; then
21889 echo $ECHO_N "(cached) $ECHO_C" >&6
21890 else
21891 if test "$cross_compiling" = yes; then
21892 # Depending upon the size, compute the lo and hi bounds.
21893 cat >conftest.$ac_ext <<_ACEOF
21894 /* confdefs.h. */
21895 _ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899 $ac_includes_default
21900 typedef short ac__type_sizeof_;
21901 int
21902 main ()
21903 {
21904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21905 test_array [0] = 0
21906
21907 ;
21908 return 0;
21909 }
21910 _ACEOF
21911 rm -f conftest.$ac_objext
21912 if { (ac_try="$ac_compile"
21913 case "(($ac_try" in
21914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21915 *) ac_try_echo=$ac_try;;
21916 esac
21917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21918 (eval "$ac_compile") 2>conftest.er1
21919 ac_status=$?
21920 grep -v '^ *+' conftest.er1 >conftest.err
21921 rm -f conftest.er1
21922 cat conftest.err >&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } && {
21925 test -z "$ac_c_werror_flag" ||
21926 test ! -s conftest.err
21927 } && test -s conftest.$ac_objext; then
21928 ac_lo=0 ac_mid=0
21929 while :; do
21930 cat >conftest.$ac_ext <<_ACEOF
21931 /* confdefs.h. */
21932 _ACEOF
21933 cat confdefs.h >>conftest.$ac_ext
21934 cat >>conftest.$ac_ext <<_ACEOF
21935 /* end confdefs.h. */
21936 $ac_includes_default
21937 typedef short ac__type_sizeof_;
21938 int
21939 main ()
21940 {
21941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21942 test_array [0] = 0
21943
21944 ;
21945 return 0;
21946 }
21947 _ACEOF
21948 rm -f conftest.$ac_objext
21949 if { (ac_try="$ac_compile"
21950 case "(($ac_try" in
21951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21952 *) ac_try_echo=$ac_try;;
21953 esac
21954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21955 (eval "$ac_compile") 2>conftest.er1
21956 ac_status=$?
21957 grep -v '^ *+' conftest.er1 >conftest.err
21958 rm -f conftest.er1
21959 cat conftest.err >&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } && {
21962 test -z "$ac_c_werror_flag" ||
21963 test ! -s conftest.err
21964 } && test -s conftest.$ac_objext; then
21965 ac_hi=$ac_mid; break
21966 else
21967 echo "$as_me: failed program was:" >&5
21968 sed 's/^/| /' conftest.$ac_ext >&5
21969
21970 ac_lo=`expr $ac_mid + 1`
21971 if test $ac_lo -le $ac_mid; then
21972 ac_lo= ac_hi=
21973 break
21974 fi
21975 ac_mid=`expr 2 '*' $ac_mid + 1`
21976 fi
21977
21978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21979 done
21980 else
21981 echo "$as_me: failed program was:" >&5
21982 sed 's/^/| /' conftest.$ac_ext >&5
21983
21984 cat >conftest.$ac_ext <<_ACEOF
21985 /* confdefs.h. */
21986 _ACEOF
21987 cat confdefs.h >>conftest.$ac_ext
21988 cat >>conftest.$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21990 $ac_includes_default
21991 typedef short ac__type_sizeof_;
21992 int
21993 main ()
21994 {
21995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21996 test_array [0] = 0
21997
21998 ;
21999 return 0;
22000 }
22001 _ACEOF
22002 rm -f conftest.$ac_objext
22003 if { (ac_try="$ac_compile"
22004 case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22007 esac
22008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_compile") 2>conftest.er1
22010 ac_status=$?
22011 grep -v '^ *+' conftest.er1 >conftest.err
22012 rm -f conftest.er1
22013 cat conftest.err >&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } && {
22016 test -z "$ac_c_werror_flag" ||
22017 test ! -s conftest.err
22018 } && test -s conftest.$ac_objext; then
22019 ac_hi=-1 ac_mid=-1
22020 while :; do
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 $ac_includes_default
22028 typedef short ac__type_sizeof_;
22029 int
22030 main ()
22031 {
22032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22033 test_array [0] = 0
22034
22035 ;
22036 return 0;
22037 }
22038 _ACEOF
22039 rm -f conftest.$ac_objext
22040 if { (ac_try="$ac_compile"
22041 case "(($ac_try" in
22042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22043 *) ac_try_echo=$ac_try;;
22044 esac
22045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_compile") 2>conftest.er1
22047 ac_status=$?
22048 grep -v '^ *+' conftest.er1 >conftest.err
22049 rm -f conftest.er1
22050 cat conftest.err >&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } && {
22053 test -z "$ac_c_werror_flag" ||
22054 test ! -s conftest.err
22055 } && test -s conftest.$ac_objext; then
22056 ac_lo=$ac_mid; break
22057 else
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22060
22061 ac_hi=`expr '(' $ac_mid ')' - 1`
22062 if test $ac_mid -le $ac_hi; then
22063 ac_lo= ac_hi=
22064 break
22065 fi
22066 ac_mid=`expr 2 '*' $ac_mid`
22067 fi
22068
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22070 done
22071 else
22072 echo "$as_me: failed program was:" >&5
22073 sed 's/^/| /' conftest.$ac_ext >&5
22074
22075 ac_lo= ac_hi=
22076 fi
22077
22078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 fi
22080
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 # Binary search between lo and hi bounds.
22083 while test "x$ac_lo" != "x$ac_hi"; do
22084 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22085 cat >conftest.$ac_ext <<_ACEOF
22086 /* confdefs.h. */
22087 _ACEOF
22088 cat confdefs.h >>conftest.$ac_ext
22089 cat >>conftest.$ac_ext <<_ACEOF
22090 /* end confdefs.h. */
22091 $ac_includes_default
22092 typedef short ac__type_sizeof_;
22093 int
22094 main ()
22095 {
22096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22097 test_array [0] = 0
22098
22099 ;
22100 return 0;
22101 }
22102 _ACEOF
22103 rm -f conftest.$ac_objext
22104 if { (ac_try="$ac_compile"
22105 case "(($ac_try" in
22106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22107 *) ac_try_echo=$ac_try;;
22108 esac
22109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22110 (eval "$ac_compile") 2>conftest.er1
22111 ac_status=$?
22112 grep -v '^ *+' conftest.er1 >conftest.err
22113 rm -f conftest.er1
22114 cat conftest.err >&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } && {
22117 test -z "$ac_c_werror_flag" ||
22118 test ! -s conftest.err
22119 } && test -s conftest.$ac_objext; then
22120 ac_hi=$ac_mid
22121 else
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.$ac_ext >&5
22124
22125 ac_lo=`expr '(' $ac_mid ')' + 1`
22126 fi
22127
22128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22129 done
22130 case $ac_lo in
22131 ?*) ac_cv_sizeof_short=$ac_lo;;
22132 '') if test "$ac_cv_type_short" = yes; then
22133 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22134 See \`config.log' for more details." >&5
22135 echo "$as_me: error: cannot compute sizeof (short)
22136 See \`config.log' for more details." >&2;}
22137 { (exit 77); exit 77; }; }
22138 else
22139 ac_cv_sizeof_short=0
22140 fi ;;
22141 esac
22142 else
22143 cat >conftest.$ac_ext <<_ACEOF
22144 /* confdefs.h. */
22145 _ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 $ac_includes_default
22150 typedef short ac__type_sizeof_;
22151 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22152 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22153 #include <stdio.h>
22154 #include <stdlib.h>
22155 int
22156 main ()
22157 {
22158
22159 FILE *f = fopen ("conftest.val", "w");
22160 if (! f)
22161 return 1;
22162 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22163 {
22164 long int i = longval ();
22165 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22166 return 1;
22167 fprintf (f, "%ld\n", i);
22168 }
22169 else
22170 {
22171 unsigned long int i = ulongval ();
22172 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22173 return 1;
22174 fprintf (f, "%lu\n", i);
22175 }
22176 return ferror (f) || fclose (f) != 0;
22177
22178 ;
22179 return 0;
22180 }
22181 _ACEOF
22182 rm -f conftest$ac_exeext
22183 if { (ac_try="$ac_link"
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_link") 2>&5
22190 ac_status=$?
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22193 { (case "(($ac_try" in
22194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22195 *) ac_try_echo=$ac_try;;
22196 esac
22197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22198 (eval "$ac_try") 2>&5
22199 ac_status=$?
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); }; }; then
22202 ac_cv_sizeof_short=`cat conftest.val`
22203 else
22204 echo "$as_me: program exited with status $ac_status" >&5
22205 echo "$as_me: failed program was:" >&5
22206 sed 's/^/| /' conftest.$ac_ext >&5
22207
22208 ( exit $ac_status )
22209 if test "$ac_cv_type_short" = yes; then
22210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22211 See \`config.log' for more details." >&5
22212 echo "$as_me: error: cannot compute sizeof (short)
22213 See \`config.log' for more details." >&2;}
22214 { (exit 77); exit 77; }; }
22215 else
22216 ac_cv_sizeof_short=0
22217 fi
22218 fi
22219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22220 fi
22221 rm -f conftest.val
22222 fi
22223 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22224 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22225
22226
22227
22228 cat >>confdefs.h <<_ACEOF
22229 #define SIZEOF_SHORT $ac_cv_sizeof_short
22230 _ACEOF
22231
22232
22233 { echo "$as_me:$LINENO: checking for void *" >&5
22234 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22235 if test "${ac_cv_type_void_p+set}" = set; then
22236 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 else
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 $ac_includes_default
22245 typedef void * ac__type_new_;
22246 int
22247 main ()
22248 {
22249 if ((ac__type_new_ *) 0)
22250 return 0;
22251 if (sizeof (ac__type_new_))
22252 return 0;
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22262 esac
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.$ac_objext; then
22274 ac_cv_type_void_p=yes
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_cv_type_void_p=no
22280 fi
22281
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 fi
22284 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22285 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22286
22287 # The cast to long int works around a bug in the HP C Compiler
22288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22290 # This bug is HP SR number 8606223364.
22291 { echo "$as_me:$LINENO: checking size of void *" >&5
22292 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22293 if test "${ac_cv_sizeof_void_p+set}" = set; then
22294 echo $ECHO_N "(cached) $ECHO_C" >&6
22295 else
22296 if test "$cross_compiling" = yes; then
22297 # Depending upon the size, compute the lo and hi bounds.
22298 cat >conftest.$ac_ext <<_ACEOF
22299 /* confdefs.h. */
22300 _ACEOF
22301 cat confdefs.h >>conftest.$ac_ext
22302 cat >>conftest.$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 $ac_includes_default
22305 typedef void * ac__type_sizeof_;
22306 int
22307 main ()
22308 {
22309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22310 test_array [0] = 0
22311
22312 ;
22313 return 0;
22314 }
22315 _ACEOF
22316 rm -f conftest.$ac_objext
22317 if { (ac_try="$ac_compile"
22318 case "(($ac_try" in
22319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22320 *) ac_try_echo=$ac_try;;
22321 esac
22322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22323 (eval "$ac_compile") 2>conftest.er1
22324 ac_status=$?
22325 grep -v '^ *+' conftest.er1 >conftest.err
22326 rm -f conftest.er1
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } && {
22330 test -z "$ac_c_werror_flag" ||
22331 test ! -s conftest.err
22332 } && test -s conftest.$ac_objext; then
22333 ac_lo=0 ac_mid=0
22334 while :; do
22335 cat >conftest.$ac_ext <<_ACEOF
22336 /* confdefs.h. */
22337 _ACEOF
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22341 $ac_includes_default
22342 typedef void * ac__type_sizeof_;
22343 int
22344 main ()
22345 {
22346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22347 test_array [0] = 0
22348
22349 ;
22350 return 0;
22351 }
22352 _ACEOF
22353 rm -f conftest.$ac_objext
22354 if { (ac_try="$ac_compile"
22355 case "(($ac_try" in
22356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22357 *) ac_try_echo=$ac_try;;
22358 esac
22359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22360 (eval "$ac_compile") 2>conftest.er1
22361 ac_status=$?
22362 grep -v '^ *+' conftest.er1 >conftest.err
22363 rm -f conftest.er1
22364 cat conftest.err >&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } && {
22367 test -z "$ac_c_werror_flag" ||
22368 test ! -s conftest.err
22369 } && test -s conftest.$ac_objext; then
22370 ac_hi=$ac_mid; break
22371 else
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.$ac_ext >&5
22374
22375 ac_lo=`expr $ac_mid + 1`
22376 if test $ac_lo -le $ac_mid; then
22377 ac_lo= ac_hi=
22378 break
22379 fi
22380 ac_mid=`expr 2 '*' $ac_mid + 1`
22381 fi
22382
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 done
22385 else
22386 echo "$as_me: failed program was:" >&5
22387 sed 's/^/| /' conftest.$ac_ext >&5
22388
22389 cat >conftest.$ac_ext <<_ACEOF
22390 /* confdefs.h. */
22391 _ACEOF
22392 cat confdefs.h >>conftest.$ac_ext
22393 cat >>conftest.$ac_ext <<_ACEOF
22394 /* end confdefs.h. */
22395 $ac_includes_default
22396 typedef void * ac__type_sizeof_;
22397 int
22398 main ()
22399 {
22400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22401 test_array [0] = 0
22402
22403 ;
22404 return 0;
22405 }
22406 _ACEOF
22407 rm -f conftest.$ac_objext
22408 if { (ac_try="$ac_compile"
22409 case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22412 esac
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_compile") 2>conftest.er1
22415 ac_status=$?
22416 grep -v '^ *+' conftest.er1 >conftest.err
22417 rm -f conftest.er1
22418 cat conftest.err >&5
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); } && {
22421 test -z "$ac_c_werror_flag" ||
22422 test ! -s conftest.err
22423 } && test -s conftest.$ac_objext; then
22424 ac_hi=-1 ac_mid=-1
22425 while :; do
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 $ac_includes_default
22433 typedef void * ac__type_sizeof_;
22434 int
22435 main ()
22436 {
22437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22438 test_array [0] = 0
22439
22440 ;
22441 return 0;
22442 }
22443 _ACEOF
22444 rm -f conftest.$ac_objext
22445 if { (ac_try="$ac_compile"
22446 case "(($ac_try" in
22447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22449 esac
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_compile") 2>conftest.er1
22452 ac_status=$?
22453 grep -v '^ *+' conftest.er1 >conftest.err
22454 rm -f conftest.er1
22455 cat conftest.err >&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } && {
22458 test -z "$ac_c_werror_flag" ||
22459 test ! -s conftest.err
22460 } && test -s conftest.$ac_objext; then
22461 ac_lo=$ac_mid; break
22462 else
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22465
22466 ac_hi=`expr '(' $ac_mid ')' - 1`
22467 if test $ac_mid -le $ac_hi; then
22468 ac_lo= ac_hi=
22469 break
22470 fi
22471 ac_mid=`expr 2 '*' $ac_mid`
22472 fi
22473
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 done
22476 else
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 ac_lo= ac_hi=
22481 fi
22482
22483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22484 fi
22485
22486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22487 # Binary search between lo and hi bounds.
22488 while test "x$ac_lo" != "x$ac_hi"; do
22489 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22490 cat >conftest.$ac_ext <<_ACEOF
22491 /* confdefs.h. */
22492 _ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 typedef void * ac__type_sizeof_;
22498 int
22499 main ()
22500 {
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22502 test_array [0] = 0
22503
22504 ;
22505 return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext
22509 if { (ac_try="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22513 esac
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22516 ac_status=$?
22517 grep -v '^ *+' conftest.er1 >conftest.err
22518 rm -f conftest.er1
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && {
22522 test -z "$ac_c_werror_flag" ||
22523 test ! -s conftest.err
22524 } && test -s conftest.$ac_objext; then
22525 ac_hi=$ac_mid
22526 else
22527 echo "$as_me: failed program was:" >&5
22528 sed 's/^/| /' conftest.$ac_ext >&5
22529
22530 ac_lo=`expr '(' $ac_mid ')' + 1`
22531 fi
22532
22533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22534 done
22535 case $ac_lo in
22536 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22537 '') if test "$ac_cv_type_void_p" = yes; then
22538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22539 See \`config.log' for more details." >&5
22540 echo "$as_me: error: cannot compute sizeof (void *)
22541 See \`config.log' for more details." >&2;}
22542 { (exit 77); exit 77; }; }
22543 else
22544 ac_cv_sizeof_void_p=0
22545 fi ;;
22546 esac
22547 else
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 $ac_includes_default
22555 typedef void * ac__type_sizeof_;
22556 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22557 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22558 #include <stdio.h>
22559 #include <stdlib.h>
22560 int
22561 main ()
22562 {
22563
22564 FILE *f = fopen ("conftest.val", "w");
22565 if (! f)
22566 return 1;
22567 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22568 {
22569 long int i = longval ();
22570 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22571 return 1;
22572 fprintf (f, "%ld\n", i);
22573 }
22574 else
22575 {
22576 unsigned long int i = ulongval ();
22577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22578 return 1;
22579 fprintf (f, "%lu\n", i);
22580 }
22581 return ferror (f) || fclose (f) != 0;
22582
22583 ;
22584 return 0;
22585 }
22586 _ACEOF
22587 rm -f conftest$ac_exeext
22588 if { (ac_try="$ac_link"
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_link") 2>&5
22595 ac_status=$?
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22598 { (case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22601 esac
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_try") 2>&5
22604 ac_status=$?
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; }; then
22607 ac_cv_sizeof_void_p=`cat conftest.val`
22608 else
22609 echo "$as_me: program exited with status $ac_status" >&5
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22612
22613 ( exit $ac_status )
22614 if test "$ac_cv_type_void_p" = yes; then
22615 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22616 See \`config.log' for more details." >&5
22617 echo "$as_me: error: cannot compute sizeof (void *)
22618 See \`config.log' for more details." >&2;}
22619 { (exit 77); exit 77; }; }
22620 else
22621 ac_cv_sizeof_void_p=0
22622 fi
22623 fi
22624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22625 fi
22626 rm -f conftest.val
22627 fi
22628 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22629 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22630
22631
22632
22633 cat >>confdefs.h <<_ACEOF
22634 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22635 _ACEOF
22636
22637
22638 { echo "$as_me:$LINENO: checking for int" >&5
22639 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22640 if test "${ac_cv_type_int+set}" = set; then
22641 echo $ECHO_N "(cached) $ECHO_C" >&6
22642 else
22643 cat >conftest.$ac_ext <<_ACEOF
22644 /* confdefs.h. */
22645 _ACEOF
22646 cat confdefs.h >>conftest.$ac_ext
22647 cat >>conftest.$ac_ext <<_ACEOF
22648 /* end confdefs.h. */
22649 $ac_includes_default
22650 typedef int ac__type_new_;
22651 int
22652 main ()
22653 {
22654 if ((ac__type_new_ *) 0)
22655 return 0;
22656 if (sizeof (ac__type_new_))
22657 return 0;
22658 ;
22659 return 0;
22660 }
22661 _ACEOF
22662 rm -f conftest.$ac_objext
22663 if { (ac_try="$ac_compile"
22664 case "(($ac_try" in
22665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22666 *) ac_try_echo=$ac_try;;
22667 esac
22668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22669 (eval "$ac_compile") 2>conftest.er1
22670 ac_status=$?
22671 grep -v '^ *+' conftest.er1 >conftest.err
22672 rm -f conftest.er1
22673 cat conftest.err >&5
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); } && {
22676 test -z "$ac_c_werror_flag" ||
22677 test ! -s conftest.err
22678 } && test -s conftest.$ac_objext; then
22679 ac_cv_type_int=yes
22680 else
22681 echo "$as_me: failed program was:" >&5
22682 sed 's/^/| /' conftest.$ac_ext >&5
22683
22684 ac_cv_type_int=no
22685 fi
22686
22687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22688 fi
22689 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22690 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22691
22692 # The cast to long int works around a bug in the HP C Compiler
22693 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22694 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22695 # This bug is HP SR number 8606223364.
22696 { echo "$as_me:$LINENO: checking size of int" >&5
22697 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22698 if test "${ac_cv_sizeof_int+set}" = set; then
22699 echo $ECHO_N "(cached) $ECHO_C" >&6
22700 else
22701 if test "$cross_compiling" = yes; then
22702 # Depending upon the size, compute the lo and hi bounds.
22703 cat >conftest.$ac_ext <<_ACEOF
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 $ac_includes_default
22710 typedef int ac__type_sizeof_;
22711 int
22712 main ()
22713 {
22714 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22715 test_array [0] = 0
22716
22717 ;
22718 return 0;
22719 }
22720 _ACEOF
22721 rm -f conftest.$ac_objext
22722 if { (ac_try="$ac_compile"
22723 case "(($ac_try" in
22724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22725 *) ac_try_echo=$ac_try;;
22726 esac
22727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22728 (eval "$ac_compile") 2>conftest.er1
22729 ac_status=$?
22730 grep -v '^ *+' conftest.er1 >conftest.err
22731 rm -f conftest.er1
22732 cat conftest.err >&5
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); } && {
22735 test -z "$ac_c_werror_flag" ||
22736 test ! -s conftest.err
22737 } && test -s conftest.$ac_objext; then
22738 ac_lo=0 ac_mid=0
22739 while :; do
22740 cat >conftest.$ac_ext <<_ACEOF
22741 /* confdefs.h. */
22742 _ACEOF
22743 cat confdefs.h >>conftest.$ac_ext
22744 cat >>conftest.$ac_ext <<_ACEOF
22745 /* end confdefs.h. */
22746 $ac_includes_default
22747 typedef int ac__type_sizeof_;
22748 int
22749 main ()
22750 {
22751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22752 test_array [0] = 0
22753
22754 ;
22755 return 0;
22756 }
22757 _ACEOF
22758 rm -f conftest.$ac_objext
22759 if { (ac_try="$ac_compile"
22760 case "(($ac_try" in
22761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22762 *) ac_try_echo=$ac_try;;
22763 esac
22764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22765 (eval "$ac_compile") 2>conftest.er1
22766 ac_status=$?
22767 grep -v '^ *+' conftest.er1 >conftest.err
22768 rm -f conftest.er1
22769 cat conftest.err >&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } && {
22772 test -z "$ac_c_werror_flag" ||
22773 test ! -s conftest.err
22774 } && test -s conftest.$ac_objext; then
22775 ac_hi=$ac_mid; break
22776 else
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.$ac_ext >&5
22779
22780 ac_lo=`expr $ac_mid + 1`
22781 if test $ac_lo -le $ac_mid; then
22782 ac_lo= ac_hi=
22783 break
22784 fi
22785 ac_mid=`expr 2 '*' $ac_mid + 1`
22786 fi
22787
22788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22789 done
22790 else
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22793
22794 cat >conftest.$ac_ext <<_ACEOF
22795 /* confdefs.h. */
22796 _ACEOF
22797 cat confdefs.h >>conftest.$ac_ext
22798 cat >>conftest.$ac_ext <<_ACEOF
22799 /* end confdefs.h. */
22800 $ac_includes_default
22801 typedef int ac__type_sizeof_;
22802 int
22803 main ()
22804 {
22805 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22806 test_array [0] = 0
22807
22808 ;
22809 return 0;
22810 }
22811 _ACEOF
22812 rm -f conftest.$ac_objext
22813 if { (ac_try="$ac_compile"
22814 case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22817 esac
22818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_compile") 2>conftest.er1
22820 ac_status=$?
22821 grep -v '^ *+' conftest.er1 >conftest.err
22822 rm -f conftest.er1
22823 cat conftest.err >&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } && {
22826 test -z "$ac_c_werror_flag" ||
22827 test ! -s conftest.err
22828 } && test -s conftest.$ac_objext; then
22829 ac_hi=-1 ac_mid=-1
22830 while :; do
22831 cat >conftest.$ac_ext <<_ACEOF
22832 /* confdefs.h. */
22833 _ACEOF
22834 cat confdefs.h >>conftest.$ac_ext
22835 cat >>conftest.$ac_ext <<_ACEOF
22836 /* end confdefs.h. */
22837 $ac_includes_default
22838 typedef int ac__type_sizeof_;
22839 int
22840 main ()
22841 {
22842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22843 test_array [0] = 0
22844
22845 ;
22846 return 0;
22847 }
22848 _ACEOF
22849 rm -f conftest.$ac_objext
22850 if { (ac_try="$ac_compile"
22851 case "(($ac_try" in
22852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22854 esac
22855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_compile") 2>conftest.er1
22857 ac_status=$?
22858 grep -v '^ *+' conftest.er1 >conftest.err
22859 rm -f conftest.er1
22860 cat conftest.err >&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); } && {
22863 test -z "$ac_c_werror_flag" ||
22864 test ! -s conftest.err
22865 } && test -s conftest.$ac_objext; then
22866 ac_lo=$ac_mid; break
22867 else
22868 echo "$as_me: failed program was:" >&5
22869 sed 's/^/| /' conftest.$ac_ext >&5
22870
22871 ac_hi=`expr '(' $ac_mid ')' - 1`
22872 if test $ac_mid -le $ac_hi; then
22873 ac_lo= ac_hi=
22874 break
22875 fi
22876 ac_mid=`expr 2 '*' $ac_mid`
22877 fi
22878
22879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22880 done
22881 else
22882 echo "$as_me: failed program was:" >&5
22883 sed 's/^/| /' conftest.$ac_ext >&5
22884
22885 ac_lo= ac_hi=
22886 fi
22887
22888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889 fi
22890
22891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22892 # Binary search between lo and hi bounds.
22893 while test "x$ac_lo" != "x$ac_hi"; do
22894 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22895 cat >conftest.$ac_ext <<_ACEOF
22896 /* confdefs.h. */
22897 _ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22901 $ac_includes_default
22902 typedef int ac__type_sizeof_;
22903 int
22904 main ()
22905 {
22906 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22907 test_array [0] = 0
22908
22909 ;
22910 return 0;
22911 }
22912 _ACEOF
22913 rm -f conftest.$ac_objext
22914 if { (ac_try="$ac_compile"
22915 case "(($ac_try" in
22916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22918 esac
22919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22920 (eval "$ac_compile") 2>conftest.er1
22921 ac_status=$?
22922 grep -v '^ *+' conftest.er1 >conftest.err
22923 rm -f conftest.er1
22924 cat conftest.err >&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } && {
22927 test -z "$ac_c_werror_flag" ||
22928 test ! -s conftest.err
22929 } && test -s conftest.$ac_objext; then
22930 ac_hi=$ac_mid
22931 else
22932 echo "$as_me: failed program was:" >&5
22933 sed 's/^/| /' conftest.$ac_ext >&5
22934
22935 ac_lo=`expr '(' $ac_mid ')' + 1`
22936 fi
22937
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22939 done
22940 case $ac_lo in
22941 ?*) ac_cv_sizeof_int=$ac_lo;;
22942 '') if test "$ac_cv_type_int" = yes; then
22943 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22944 See \`config.log' for more details." >&5
22945 echo "$as_me: error: cannot compute sizeof (int)
22946 See \`config.log' for more details." >&2;}
22947 { (exit 77); exit 77; }; }
22948 else
22949 ac_cv_sizeof_int=0
22950 fi ;;
22951 esac
22952 else
22953 cat >conftest.$ac_ext <<_ACEOF
22954 /* confdefs.h. */
22955 _ACEOF
22956 cat confdefs.h >>conftest.$ac_ext
22957 cat >>conftest.$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959 $ac_includes_default
22960 typedef int ac__type_sizeof_;
22961 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22962 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22963 #include <stdio.h>
22964 #include <stdlib.h>
22965 int
22966 main ()
22967 {
22968
22969 FILE *f = fopen ("conftest.val", "w");
22970 if (! f)
22971 return 1;
22972 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22973 {
22974 long int i = longval ();
22975 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22976 return 1;
22977 fprintf (f, "%ld\n", i);
22978 }
22979 else
22980 {
22981 unsigned long int i = ulongval ();
22982 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22983 return 1;
22984 fprintf (f, "%lu\n", i);
22985 }
22986 return ferror (f) || fclose (f) != 0;
22987
22988 ;
22989 return 0;
22990 }
22991 _ACEOF
22992 rm -f conftest$ac_exeext
22993 if { (ac_try="$ac_link"
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_link") 2>&5
23000 ac_status=$?
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23003 { (case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23006 esac
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_try") 2>&5
23009 ac_status=$?
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); }; }; then
23012 ac_cv_sizeof_int=`cat conftest.val`
23013 else
23014 echo "$as_me: program exited with status $ac_status" >&5
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23017
23018 ( exit $ac_status )
23019 if test "$ac_cv_type_int" = yes; then
23020 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23021 See \`config.log' for more details." >&5
23022 echo "$as_me: error: cannot compute sizeof (int)
23023 See \`config.log' for more details." >&2;}
23024 { (exit 77); exit 77; }; }
23025 else
23026 ac_cv_sizeof_int=0
23027 fi
23028 fi
23029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23030 fi
23031 rm -f conftest.val
23032 fi
23033 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23034 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23035
23036
23037
23038 cat >>confdefs.h <<_ACEOF
23039 #define SIZEOF_INT $ac_cv_sizeof_int
23040 _ACEOF
23041
23042
23043 { echo "$as_me:$LINENO: checking for long" >&5
23044 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23045 if test "${ac_cv_type_long+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 else
23048 cat >conftest.$ac_ext <<_ACEOF
23049 /* confdefs.h. */
23050 _ACEOF
23051 cat confdefs.h >>conftest.$ac_ext
23052 cat >>conftest.$ac_ext <<_ACEOF
23053 /* end confdefs.h. */
23054 $ac_includes_default
23055 typedef long ac__type_new_;
23056 int
23057 main ()
23058 {
23059 if ((ac__type_new_ *) 0)
23060 return 0;
23061 if (sizeof (ac__type_new_))
23062 return 0;
23063 ;
23064 return 0;
23065 }
23066 _ACEOF
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23075 ac_status=$?
23076 grep -v '^ *+' conftest.er1 >conftest.err
23077 rm -f conftest.er1
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_c_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 ac_cv_type_long=yes
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23088
23089 ac_cv_type_long=no
23090 fi
23091
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093 fi
23094 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23095 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23096
23097 # The cast to long int works around a bug in the HP C Compiler
23098 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23099 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23100 # This bug is HP SR number 8606223364.
23101 { echo "$as_me:$LINENO: checking size of long" >&5
23102 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23103 if test "${ac_cv_sizeof_long+set}" = set; then
23104 echo $ECHO_N "(cached) $ECHO_C" >&6
23105 else
23106 if test "$cross_compiling" = yes; then
23107 # Depending upon the size, compute the lo and hi bounds.
23108 cat >conftest.$ac_ext <<_ACEOF
23109 /* confdefs.h. */
23110 _ACEOF
23111 cat confdefs.h >>conftest.$ac_ext
23112 cat >>conftest.$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 $ac_includes_default
23115 typedef long ac__type_sizeof_;
23116 int
23117 main ()
23118 {
23119 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23120 test_array [0] = 0
23121
23122 ;
23123 return 0;
23124 }
23125 _ACEOF
23126 rm -f conftest.$ac_objext
23127 if { (ac_try="$ac_compile"
23128 case "(($ac_try" in
23129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23130 *) ac_try_echo=$ac_try;;
23131 esac
23132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23133 (eval "$ac_compile") 2>conftest.er1
23134 ac_status=$?
23135 grep -v '^ *+' conftest.er1 >conftest.err
23136 rm -f conftest.er1
23137 cat conftest.err >&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } && {
23140 test -z "$ac_c_werror_flag" ||
23141 test ! -s conftest.err
23142 } && test -s conftest.$ac_objext; then
23143 ac_lo=0 ac_mid=0
23144 while :; do
23145 cat >conftest.$ac_ext <<_ACEOF
23146 /* confdefs.h. */
23147 _ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23151 $ac_includes_default
23152 typedef long ac__type_sizeof_;
23153 int
23154 main ()
23155 {
23156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23157 test_array [0] = 0
23158
23159 ;
23160 return 0;
23161 }
23162 _ACEOF
23163 rm -f conftest.$ac_objext
23164 if { (ac_try="$ac_compile"
23165 case "(($ac_try" in
23166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23168 esac
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
23171 ac_status=$?
23172 grep -v '^ *+' conftest.er1 >conftest.err
23173 rm -f conftest.er1
23174 cat conftest.err >&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } && {
23177 test -z "$ac_c_werror_flag" ||
23178 test ! -s conftest.err
23179 } && test -s conftest.$ac_objext; then
23180 ac_hi=$ac_mid; break
23181 else
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23184
23185 ac_lo=`expr $ac_mid + 1`
23186 if test $ac_lo -le $ac_mid; then
23187 ac_lo= ac_hi=
23188 break
23189 fi
23190 ac_mid=`expr 2 '*' $ac_mid + 1`
23191 fi
23192
23193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23194 done
23195 else
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23198
23199 cat >conftest.$ac_ext <<_ACEOF
23200 /* confdefs.h. */
23201 _ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205 $ac_includes_default
23206 typedef long ac__type_sizeof_;
23207 int
23208 main ()
23209 {
23210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23211 test_array [0] = 0
23212
23213 ;
23214 return 0;
23215 }
23216 _ACEOF
23217 rm -f conftest.$ac_objext
23218 if { (ac_try="$ac_compile"
23219 case "(($ac_try" in
23220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23221 *) ac_try_echo=$ac_try;;
23222 esac
23223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23224 (eval "$ac_compile") 2>conftest.er1
23225 ac_status=$?
23226 grep -v '^ *+' conftest.er1 >conftest.err
23227 rm -f conftest.er1
23228 cat conftest.err >&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } && {
23231 test -z "$ac_c_werror_flag" ||
23232 test ! -s conftest.err
23233 } && test -s conftest.$ac_objext; then
23234 ac_hi=-1 ac_mid=-1
23235 while :; do
23236 cat >conftest.$ac_ext <<_ACEOF
23237 /* confdefs.h. */
23238 _ACEOF
23239 cat confdefs.h >>conftest.$ac_ext
23240 cat >>conftest.$ac_ext <<_ACEOF
23241 /* end confdefs.h. */
23242 $ac_includes_default
23243 typedef long ac__type_sizeof_;
23244 int
23245 main ()
23246 {
23247 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23248 test_array [0] = 0
23249
23250 ;
23251 return 0;
23252 }
23253 _ACEOF
23254 rm -f conftest.$ac_objext
23255 if { (ac_try="$ac_compile"
23256 case "(($ac_try" in
23257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23258 *) ac_try_echo=$ac_try;;
23259 esac
23260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23261 (eval "$ac_compile") 2>conftest.er1
23262 ac_status=$?
23263 grep -v '^ *+' conftest.er1 >conftest.err
23264 rm -f conftest.er1
23265 cat conftest.err >&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); } && {
23268 test -z "$ac_c_werror_flag" ||
23269 test ! -s conftest.err
23270 } && test -s conftest.$ac_objext; then
23271 ac_lo=$ac_mid; break
23272 else
23273 echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23275
23276 ac_hi=`expr '(' $ac_mid ')' - 1`
23277 if test $ac_mid -le $ac_hi; then
23278 ac_lo= ac_hi=
23279 break
23280 fi
23281 ac_mid=`expr 2 '*' $ac_mid`
23282 fi
23283
23284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23285 done
23286 else
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.$ac_ext >&5
23289
23290 ac_lo= ac_hi=
23291 fi
23292
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 fi
23295
23296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23297 # Binary search between lo and hi bounds.
23298 while test "x$ac_lo" != "x$ac_hi"; do
23299 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23300 cat >conftest.$ac_ext <<_ACEOF
23301 /* confdefs.h. */
23302 _ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23306 $ac_includes_default
23307 typedef long ac__type_sizeof_;
23308 int
23309 main ()
23310 {
23311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23312 test_array [0] = 0
23313
23314 ;
23315 return 0;
23316 }
23317 _ACEOF
23318 rm -f conftest.$ac_objext
23319 if { (ac_try="$ac_compile"
23320 case "(($ac_try" in
23321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23322 *) ac_try_echo=$ac_try;;
23323 esac
23324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23325 (eval "$ac_compile") 2>conftest.er1
23326 ac_status=$?
23327 grep -v '^ *+' conftest.er1 >conftest.err
23328 rm -f conftest.er1
23329 cat conftest.err >&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } && {
23332 test -z "$ac_c_werror_flag" ||
23333 test ! -s conftest.err
23334 } && test -s conftest.$ac_objext; then
23335 ac_hi=$ac_mid
23336 else
23337 echo "$as_me: failed program was:" >&5
23338 sed 's/^/| /' conftest.$ac_ext >&5
23339
23340 ac_lo=`expr '(' $ac_mid ')' + 1`
23341 fi
23342
23343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23344 done
23345 case $ac_lo in
23346 ?*) ac_cv_sizeof_long=$ac_lo;;
23347 '') if test "$ac_cv_type_long" = yes; then
23348 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23349 See \`config.log' for more details." >&5
23350 echo "$as_me: error: cannot compute sizeof (long)
23351 See \`config.log' for more details." >&2;}
23352 { (exit 77); exit 77; }; }
23353 else
23354 ac_cv_sizeof_long=0
23355 fi ;;
23356 esac
23357 else
23358 cat >conftest.$ac_ext <<_ACEOF
23359 /* confdefs.h. */
23360 _ACEOF
23361 cat confdefs.h >>conftest.$ac_ext
23362 cat >>conftest.$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23364 $ac_includes_default
23365 typedef long ac__type_sizeof_;
23366 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23367 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23368 #include <stdio.h>
23369 #include <stdlib.h>
23370 int
23371 main ()
23372 {
23373
23374 FILE *f = fopen ("conftest.val", "w");
23375 if (! f)
23376 return 1;
23377 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23378 {
23379 long int i = longval ();
23380 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23381 return 1;
23382 fprintf (f, "%ld\n", i);
23383 }
23384 else
23385 {
23386 unsigned long int i = ulongval ();
23387 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23388 return 1;
23389 fprintf (f, "%lu\n", i);
23390 }
23391 return ferror (f) || fclose (f) != 0;
23392
23393 ;
23394 return 0;
23395 }
23396 _ACEOF
23397 rm -f conftest$ac_exeext
23398 if { (ac_try="$ac_link"
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_link") 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23408 { (case "(($ac_try" in
23409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23410 *) ac_try_echo=$ac_try;;
23411 esac
23412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23413 (eval "$ac_try") 2>&5
23414 ac_status=$?
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; }; then
23417 ac_cv_sizeof_long=`cat conftest.val`
23418 else
23419 echo "$as_me: program exited with status $ac_status" >&5
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 ( exit $ac_status )
23424 if test "$ac_cv_type_long" = yes; then
23425 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23426 See \`config.log' for more details." >&5
23427 echo "$as_me: error: cannot compute sizeof (long)
23428 See \`config.log' for more details." >&2;}
23429 { (exit 77); exit 77; }; }
23430 else
23431 ac_cv_sizeof_long=0
23432 fi
23433 fi
23434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23435 fi
23436 rm -f conftest.val
23437 fi
23438 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23439 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23440
23441
23442
23443 cat >>confdefs.h <<_ACEOF
23444 #define SIZEOF_LONG $ac_cv_sizeof_long
23445 _ACEOF
23446
23447
23448 { echo "$as_me:$LINENO: checking for size_t" >&5
23449 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23450 if test "${ac_cv_type_size_t+set}" = set; then
23451 echo $ECHO_N "(cached) $ECHO_C" >&6
23452 else
23453 cat >conftest.$ac_ext <<_ACEOF
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 $ac_includes_default
23460 typedef size_t ac__type_new_;
23461 int
23462 main ()
23463 {
23464 if ((ac__type_new_ *) 0)
23465 return 0;
23466 if (sizeof (ac__type_new_))
23467 return 0;
23468 ;
23469 return 0;
23470 }
23471 _ACEOF
23472 rm -f conftest.$ac_objext
23473 if { (ac_try="$ac_compile"
23474 case "(($ac_try" in
23475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23476 *) ac_try_echo=$ac_try;;
23477 esac
23478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23479 (eval "$ac_compile") 2>conftest.er1
23480 ac_status=$?
23481 grep -v '^ *+' conftest.er1 >conftest.err
23482 rm -f conftest.er1
23483 cat conftest.err >&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); } && {
23486 test -z "$ac_c_werror_flag" ||
23487 test ! -s conftest.err
23488 } && test -s conftest.$ac_objext; then
23489 ac_cv_type_size_t=yes
23490 else
23491 echo "$as_me: failed program was:" >&5
23492 sed 's/^/| /' conftest.$ac_ext >&5
23493
23494 ac_cv_type_size_t=no
23495 fi
23496
23497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23498 fi
23499 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23500 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23501
23502 # The cast to long int works around a bug in the HP C Compiler
23503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23505 # This bug is HP SR number 8606223364.
23506 { echo "$as_me:$LINENO: checking size of size_t" >&5
23507 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23508 if test "${ac_cv_sizeof_size_t+set}" = set; then
23509 echo $ECHO_N "(cached) $ECHO_C" >&6
23510 else
23511 if test "$cross_compiling" = yes; then
23512 # Depending upon the size, compute the lo and hi bounds.
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 $ac_includes_default
23520 typedef size_t ac__type_sizeof_;
23521 int
23522 main ()
23523 {
23524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23525 test_array [0] = 0
23526
23527 ;
23528 return 0;
23529 }
23530 _ACEOF
23531 rm -f conftest.$ac_objext
23532 if { (ac_try="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_lo=0 ac_mid=0
23549 while :; do
23550 cat >conftest.$ac_ext <<_ACEOF
23551 /* confdefs.h. */
23552 _ACEOF
23553 cat confdefs.h >>conftest.$ac_ext
23554 cat >>conftest.$ac_ext <<_ACEOF
23555 /* end confdefs.h. */
23556 $ac_includes_default
23557 typedef size_t ac__type_sizeof_;
23558 int
23559 main ()
23560 {
23561 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23562 test_array [0] = 0
23563
23564 ;
23565 return 0;
23566 }
23567 _ACEOF
23568 rm -f conftest.$ac_objext
23569 if { (ac_try="$ac_compile"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23572 *) ac_try_echo=$ac_try;;
23573 esac
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_compile") 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } && {
23582 test -z "$ac_c_werror_flag" ||
23583 test ! -s conftest.err
23584 } && test -s conftest.$ac_objext; then
23585 ac_hi=$ac_mid; break
23586 else
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23589
23590 ac_lo=`expr $ac_mid + 1`
23591 if test $ac_lo -le $ac_mid; then
23592 ac_lo= ac_hi=
23593 break
23594 fi
23595 ac_mid=`expr 2 '*' $ac_mid + 1`
23596 fi
23597
23598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23599 done
23600 else
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23603
23604 cat >conftest.$ac_ext <<_ACEOF
23605 /* confdefs.h. */
23606 _ACEOF
23607 cat confdefs.h >>conftest.$ac_ext
23608 cat >>conftest.$ac_ext <<_ACEOF
23609 /* end confdefs.h. */
23610 $ac_includes_default
23611 typedef size_t ac__type_sizeof_;
23612 int
23613 main ()
23614 {
23615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23616 test_array [0] = 0
23617
23618 ;
23619 return 0;
23620 }
23621 _ACEOF
23622 rm -f conftest.$ac_objext
23623 if { (ac_try="$ac_compile"
23624 case "(($ac_try" in
23625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23626 *) ac_try_echo=$ac_try;;
23627 esac
23628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23629 (eval "$ac_compile") 2>conftest.er1
23630 ac_status=$?
23631 grep -v '^ *+' conftest.er1 >conftest.err
23632 rm -f conftest.er1
23633 cat conftest.err >&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } && {
23636 test -z "$ac_c_werror_flag" ||
23637 test ! -s conftest.err
23638 } && test -s conftest.$ac_objext; then
23639 ac_hi=-1 ac_mid=-1
23640 while :; do
23641 cat >conftest.$ac_ext <<_ACEOF
23642 /* confdefs.h. */
23643 _ACEOF
23644 cat confdefs.h >>conftest.$ac_ext
23645 cat >>conftest.$ac_ext <<_ACEOF
23646 /* end confdefs.h. */
23647 $ac_includes_default
23648 typedef size_t ac__type_sizeof_;
23649 int
23650 main ()
23651 {
23652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23653 test_array [0] = 0
23654
23655 ;
23656 return 0;
23657 }
23658 _ACEOF
23659 rm -f conftest.$ac_objext
23660 if { (ac_try="$ac_compile"
23661 case "(($ac_try" in
23662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23663 *) ac_try_echo=$ac_try;;
23664 esac
23665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23666 (eval "$ac_compile") 2>conftest.er1
23667 ac_status=$?
23668 grep -v '^ *+' conftest.er1 >conftest.err
23669 rm -f conftest.er1
23670 cat conftest.err >&5
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } && {
23673 test -z "$ac_c_werror_flag" ||
23674 test ! -s conftest.err
23675 } && test -s conftest.$ac_objext; then
23676 ac_lo=$ac_mid; break
23677 else
23678 echo "$as_me: failed program was:" >&5
23679 sed 's/^/| /' conftest.$ac_ext >&5
23680
23681 ac_hi=`expr '(' $ac_mid ')' - 1`
23682 if test $ac_mid -le $ac_hi; then
23683 ac_lo= ac_hi=
23684 break
23685 fi
23686 ac_mid=`expr 2 '*' $ac_mid`
23687 fi
23688
23689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23690 done
23691 else
23692 echo "$as_me: failed program was:" >&5
23693 sed 's/^/| /' conftest.$ac_ext >&5
23694
23695 ac_lo= ac_hi=
23696 fi
23697
23698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23699 fi
23700
23701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23702 # Binary search between lo and hi bounds.
23703 while test "x$ac_lo" != "x$ac_hi"; do
23704 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23705 cat >conftest.$ac_ext <<_ACEOF
23706 /* confdefs.h. */
23707 _ACEOF
23708 cat confdefs.h >>conftest.$ac_ext
23709 cat >>conftest.$ac_ext <<_ACEOF
23710 /* end confdefs.h. */
23711 $ac_includes_default
23712 typedef size_t ac__type_sizeof_;
23713 int
23714 main ()
23715 {
23716 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23717 test_array [0] = 0
23718
23719 ;
23720 return 0;
23721 }
23722 _ACEOF
23723 rm -f conftest.$ac_objext
23724 if { (ac_try="$ac_compile"
23725 case "(($ac_try" in
23726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23727 *) ac_try_echo=$ac_try;;
23728 esac
23729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23730 (eval "$ac_compile") 2>conftest.er1
23731 ac_status=$?
23732 grep -v '^ *+' conftest.er1 >conftest.err
23733 rm -f conftest.er1
23734 cat conftest.err >&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); } && {
23737 test -z "$ac_c_werror_flag" ||
23738 test ! -s conftest.err
23739 } && test -s conftest.$ac_objext; then
23740 ac_hi=$ac_mid
23741 else
23742 echo "$as_me: failed program was:" >&5
23743 sed 's/^/| /' conftest.$ac_ext >&5
23744
23745 ac_lo=`expr '(' $ac_mid ')' + 1`
23746 fi
23747
23748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23749 done
23750 case $ac_lo in
23751 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23752 '') if test "$ac_cv_type_size_t" = yes; then
23753 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23754 See \`config.log' for more details." >&5
23755 echo "$as_me: error: cannot compute sizeof (size_t)
23756 See \`config.log' for more details." >&2;}
23757 { (exit 77); exit 77; }; }
23758 else
23759 ac_cv_sizeof_size_t=0
23760 fi ;;
23761 esac
23762 else
23763 cat >conftest.$ac_ext <<_ACEOF
23764 /* confdefs.h. */
23765 _ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23769 $ac_includes_default
23770 typedef size_t ac__type_sizeof_;
23771 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23772 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23773 #include <stdio.h>
23774 #include <stdlib.h>
23775 int
23776 main ()
23777 {
23778
23779 FILE *f = fopen ("conftest.val", "w");
23780 if (! f)
23781 return 1;
23782 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23783 {
23784 long int i = longval ();
23785 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23786 return 1;
23787 fprintf (f, "%ld\n", i);
23788 }
23789 else
23790 {
23791 unsigned long int i = ulongval ();
23792 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23793 return 1;
23794 fprintf (f, "%lu\n", i);
23795 }
23796 return ferror (f) || fclose (f) != 0;
23797
23798 ;
23799 return 0;
23800 }
23801 _ACEOF
23802 rm -f conftest$ac_exeext
23803 if { (ac_try="$ac_link"
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_link") 2>&5
23810 ac_status=$?
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23813 { (case "(($ac_try" in
23814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23815 *) ac_try_echo=$ac_try;;
23816 esac
23817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23818 (eval "$ac_try") 2>&5
23819 ac_status=$?
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); }; }; then
23822 ac_cv_sizeof_size_t=`cat conftest.val`
23823 else
23824 echo "$as_me: program exited with status $ac_status" >&5
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.$ac_ext >&5
23827
23828 ( exit $ac_status )
23829 if test "$ac_cv_type_size_t" = yes; then
23830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23831 See \`config.log' for more details." >&5
23832 echo "$as_me: error: cannot compute sizeof (size_t)
23833 See \`config.log' for more details." >&2;}
23834 { (exit 77); exit 77; }; }
23835 else
23836 ac_cv_sizeof_size_t=0
23837 fi
23838 fi
23839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23840 fi
23841 rm -f conftest.val
23842 fi
23843 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23844 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23845
23846
23847
23848 cat >>confdefs.h <<_ACEOF
23849 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23850 _ACEOF
23851
23852
23853
23854 case "${host}" in
23855 arm-*-linux* )
23856 { echo "$as_me:$LINENO: checking for long long" >&5
23857 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23858 if test "${ac_cv_type_long_long+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 else
23861 cat >conftest.$ac_ext <<_ACEOF
23862 /* confdefs.h. */
23863 _ACEOF
23864 cat confdefs.h >>conftest.$ac_ext
23865 cat >>conftest.$ac_ext <<_ACEOF
23866 /* end confdefs.h. */
23867 $ac_includes_default
23868 typedef long long ac__type_new_;
23869 int
23870 main ()
23871 {
23872 if ((ac__type_new_ *) 0)
23873 return 0;
23874 if (sizeof (ac__type_new_))
23875 return 0;
23876 ;
23877 return 0;
23878 }
23879 _ACEOF
23880 rm -f conftest.$ac_objext
23881 if { (ac_try="$ac_compile"
23882 case "(($ac_try" in
23883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23884 *) ac_try_echo=$ac_try;;
23885 esac
23886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23887 (eval "$ac_compile") 2>conftest.er1
23888 ac_status=$?
23889 grep -v '^ *+' conftest.er1 >conftest.err
23890 rm -f conftest.er1
23891 cat conftest.err >&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } && {
23894 test -z "$ac_c_werror_flag" ||
23895 test ! -s conftest.err
23896 } && test -s conftest.$ac_objext; then
23897 ac_cv_type_long_long=yes
23898 else
23899 echo "$as_me: failed program was:" >&5
23900 sed 's/^/| /' conftest.$ac_ext >&5
23901
23902 ac_cv_type_long_long=no
23903 fi
23904
23905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23906 fi
23907 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23908 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23909
23910 # The cast to long int works around a bug in the HP C Compiler
23911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23913 # This bug is HP SR number 8606223364.
23914 { echo "$as_me:$LINENO: checking size of long long" >&5
23915 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23916 if test "${ac_cv_sizeof_long_long+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 else
23919 if test "$cross_compiling" = yes; then
23920 # Depending upon the size, compute the lo and hi bounds.
23921 cat >conftest.$ac_ext <<_ACEOF
23922 /* confdefs.h. */
23923 _ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927 $ac_includes_default
23928 typedef long long ac__type_sizeof_;
23929 int
23930 main ()
23931 {
23932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23933 test_array [0] = 0
23934
23935 ;
23936 return 0;
23937 }
23938 _ACEOF
23939 rm -f conftest.$ac_objext
23940 if { (ac_try="$ac_compile"
23941 case "(($ac_try" in
23942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23943 *) ac_try_echo=$ac_try;;
23944 esac
23945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23946 (eval "$ac_compile") 2>conftest.er1
23947 ac_status=$?
23948 grep -v '^ *+' conftest.er1 >conftest.err
23949 rm -f conftest.er1
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } && {
23953 test -z "$ac_c_werror_flag" ||
23954 test ! -s conftest.err
23955 } && test -s conftest.$ac_objext; then
23956 ac_lo=0 ac_mid=0
23957 while :; do
23958 cat >conftest.$ac_ext <<_ACEOF
23959 /* confdefs.h. */
23960 _ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23964 $ac_includes_default
23965 typedef long long ac__type_sizeof_;
23966 int
23967 main ()
23968 {
23969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23970 test_array [0] = 0
23971
23972 ;
23973 return 0;
23974 }
23975 _ACEOF
23976 rm -f conftest.$ac_objext
23977 if { (ac_try="$ac_compile"
23978 case "(($ac_try" in
23979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23980 *) ac_try_echo=$ac_try;;
23981 esac
23982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23983 (eval "$ac_compile") 2>conftest.er1
23984 ac_status=$?
23985 grep -v '^ *+' conftest.er1 >conftest.err
23986 rm -f conftest.er1
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } && {
23990 test -z "$ac_c_werror_flag" ||
23991 test ! -s conftest.err
23992 } && test -s conftest.$ac_objext; then
23993 ac_hi=$ac_mid; break
23994 else
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23997
23998 ac_lo=`expr $ac_mid + 1`
23999 if test $ac_lo -le $ac_mid; then
24000 ac_lo= ac_hi=
24001 break
24002 fi
24003 ac_mid=`expr 2 '*' $ac_mid + 1`
24004 fi
24005
24006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24007 done
24008 else
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24011
24012 cat >conftest.$ac_ext <<_ACEOF
24013 /* confdefs.h. */
24014 _ACEOF
24015 cat confdefs.h >>conftest.$ac_ext
24016 cat >>conftest.$ac_ext <<_ACEOF
24017 /* end confdefs.h. */
24018 $ac_includes_default
24019 typedef long long ac__type_sizeof_;
24020 int
24021 main ()
24022 {
24023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24024 test_array [0] = 0
24025
24026 ;
24027 return 0;
24028 }
24029 _ACEOF
24030 rm -f conftest.$ac_objext
24031 if { (ac_try="$ac_compile"
24032 case "(($ac_try" in
24033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24034 *) ac_try_echo=$ac_try;;
24035 esac
24036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24037 (eval "$ac_compile") 2>conftest.er1
24038 ac_status=$?
24039 grep -v '^ *+' conftest.er1 >conftest.err
24040 rm -f conftest.er1
24041 cat conftest.err >&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } && {
24044 test -z "$ac_c_werror_flag" ||
24045 test ! -s conftest.err
24046 } && test -s conftest.$ac_objext; then
24047 ac_hi=-1 ac_mid=-1
24048 while :; do
24049 cat >conftest.$ac_ext <<_ACEOF
24050 /* confdefs.h. */
24051 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24055 $ac_includes_default
24056 typedef long long ac__type_sizeof_;
24057 int
24058 main ()
24059 {
24060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24061 test_array [0] = 0
24062
24063 ;
24064 return 0;
24065 }
24066 _ACEOF
24067 rm -f conftest.$ac_objext
24068 if { (ac_try="$ac_compile"
24069 case "(($ac_try" in
24070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24071 *) ac_try_echo=$ac_try;;
24072 esac
24073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24074 (eval "$ac_compile") 2>conftest.er1
24075 ac_status=$?
24076 grep -v '^ *+' conftest.er1 >conftest.err
24077 rm -f conftest.er1
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } && {
24081 test -z "$ac_c_werror_flag" ||
24082 test ! -s conftest.err
24083 } && test -s conftest.$ac_objext; then
24084 ac_lo=$ac_mid; break
24085 else
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24088
24089 ac_hi=`expr '(' $ac_mid ')' - 1`
24090 if test $ac_mid -le $ac_hi; then
24091 ac_lo= ac_hi=
24092 break
24093 fi
24094 ac_mid=`expr 2 '*' $ac_mid`
24095 fi
24096
24097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24098 done
24099 else
24100 echo "$as_me: failed program was:" >&5
24101 sed 's/^/| /' conftest.$ac_ext >&5
24102
24103 ac_lo= ac_hi=
24104 fi
24105
24106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24107 fi
24108
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 # Binary search between lo and hi bounds.
24111 while test "x$ac_lo" != "x$ac_hi"; do
24112 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24113 cat >conftest.$ac_ext <<_ACEOF
24114 /* confdefs.h. */
24115 _ACEOF
24116 cat confdefs.h >>conftest.$ac_ext
24117 cat >>conftest.$ac_ext <<_ACEOF
24118 /* end confdefs.h. */
24119 $ac_includes_default
24120 typedef long long ac__type_sizeof_;
24121 int
24122 main ()
24123 {
24124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24125 test_array [0] = 0
24126
24127 ;
24128 return 0;
24129 }
24130 _ACEOF
24131 rm -f conftest.$ac_objext
24132 if { (ac_try="$ac_compile"
24133 case "(($ac_try" in
24134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24135 *) ac_try_echo=$ac_try;;
24136 esac
24137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24138 (eval "$ac_compile") 2>conftest.er1
24139 ac_status=$?
24140 grep -v '^ *+' conftest.er1 >conftest.err
24141 rm -f conftest.er1
24142 cat conftest.err >&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); } && {
24145 test -z "$ac_c_werror_flag" ||
24146 test ! -s conftest.err
24147 } && test -s conftest.$ac_objext; then
24148 ac_hi=$ac_mid
24149 else
24150 echo "$as_me: failed program was:" >&5
24151 sed 's/^/| /' conftest.$ac_ext >&5
24152
24153 ac_lo=`expr '(' $ac_mid ')' + 1`
24154 fi
24155
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 done
24158 case $ac_lo in
24159 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24160 '') if test "$ac_cv_type_long_long" = yes; then
24161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24162 See \`config.log' for more details." >&5
24163 echo "$as_me: error: cannot compute sizeof (long long)
24164 See \`config.log' for more details." >&2;}
24165 { (exit 77); exit 77; }; }
24166 else
24167 ac_cv_sizeof_long_long=0
24168 fi ;;
24169 esac
24170 else
24171 cat >conftest.$ac_ext <<_ACEOF
24172 /* confdefs.h. */
24173 _ACEOF
24174 cat confdefs.h >>conftest.$ac_ext
24175 cat >>conftest.$ac_ext <<_ACEOF
24176 /* end confdefs.h. */
24177 $ac_includes_default
24178 typedef long long ac__type_sizeof_;
24179 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24180 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24181 #include <stdio.h>
24182 #include <stdlib.h>
24183 int
24184 main ()
24185 {
24186
24187 FILE *f = fopen ("conftest.val", "w");
24188 if (! f)
24189 return 1;
24190 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24191 {
24192 long int i = longval ();
24193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24194 return 1;
24195 fprintf (f, "%ld\n", i);
24196 }
24197 else
24198 {
24199 unsigned long int i = ulongval ();
24200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24201 return 1;
24202 fprintf (f, "%lu\n", i);
24203 }
24204 return ferror (f) || fclose (f) != 0;
24205
24206 ;
24207 return 0;
24208 }
24209 _ACEOF
24210 rm -f conftest$ac_exeext
24211 if { (ac_try="$ac_link"
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_link") 2>&5
24218 ac_status=$?
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24221 { (case "(($ac_try" in
24222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24223 *) ac_try_echo=$ac_try;;
24224 esac
24225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24226 (eval "$ac_try") 2>&5
24227 ac_status=$?
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); }; }; then
24230 ac_cv_sizeof_long_long=`cat conftest.val`
24231 else
24232 echo "$as_me: program exited with status $ac_status" >&5
24233 echo "$as_me: failed program was:" >&5
24234 sed 's/^/| /' conftest.$ac_ext >&5
24235
24236 ( exit $ac_status )
24237 if test "$ac_cv_type_long_long" = yes; then
24238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24239 See \`config.log' for more details." >&5
24240 echo "$as_me: error: cannot compute sizeof (long long)
24241 See \`config.log' for more details." >&2;}
24242 { (exit 77); exit 77; }; }
24243 else
24244 ac_cv_sizeof_long_long=0
24245 fi
24246 fi
24247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24248 fi
24249 rm -f conftest.val
24250 fi
24251 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24252 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24253
24254
24255
24256 cat >>confdefs.h <<_ACEOF
24257 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24258 _ACEOF
24259
24260
24261 ;;
24262 *-hp-hpux* )
24263 { echo "$as_me:$LINENO: checking for long long" >&5
24264 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24265 if test "${ac_cv_type_long_long+set}" = set; then
24266 echo $ECHO_N "(cached) $ECHO_C" >&6
24267 else
24268 cat >conftest.$ac_ext <<_ACEOF
24269 /* confdefs.h. */
24270 _ACEOF
24271 cat confdefs.h >>conftest.$ac_ext
24272 cat >>conftest.$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24274 $ac_includes_default
24275 typedef long long ac__type_new_;
24276 int
24277 main ()
24278 {
24279 if ((ac__type_new_ *) 0)
24280 return 0;
24281 if (sizeof (ac__type_new_))
24282 return 0;
24283 ;
24284 return 0;
24285 }
24286 _ACEOF
24287 rm -f conftest.$ac_objext
24288 if { (ac_try="$ac_compile"
24289 case "(($ac_try" in
24290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24291 *) ac_try_echo=$ac_try;;
24292 esac
24293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24294 (eval "$ac_compile") 2>conftest.er1
24295 ac_status=$?
24296 grep -v '^ *+' conftest.er1 >conftest.err
24297 rm -f conftest.er1
24298 cat conftest.err >&5
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); } && {
24301 test -z "$ac_c_werror_flag" ||
24302 test ! -s conftest.err
24303 } && test -s conftest.$ac_objext; then
24304 ac_cv_type_long_long=yes
24305 else
24306 echo "$as_me: failed program was:" >&5
24307 sed 's/^/| /' conftest.$ac_ext >&5
24308
24309 ac_cv_type_long_long=no
24310 fi
24311
24312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24313 fi
24314 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24315 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24316
24317 # The cast to long int works around a bug in the HP C Compiler
24318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24320 # This bug is HP SR number 8606223364.
24321 { echo "$as_me:$LINENO: checking size of long long" >&5
24322 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24323 if test "${ac_cv_sizeof_long_long+set}" = set; then
24324 echo $ECHO_N "(cached) $ECHO_C" >&6
24325 else
24326 if test "$cross_compiling" = yes; then
24327 # Depending upon the size, compute the lo and hi bounds.
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334 $ac_includes_default
24335 typedef long long ac__type_sizeof_;
24336 int
24337 main ()
24338 {
24339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24340 test_array [0] = 0
24341
24342 ;
24343 return 0;
24344 }
24345 _ACEOF
24346 rm -f conftest.$ac_objext
24347 if { (ac_try="$ac_compile"
24348 case "(($ac_try" in
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24350 *) ac_try_echo=$ac_try;;
24351 esac
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24353 (eval "$ac_compile") 2>conftest.er1
24354 ac_status=$?
24355 grep -v '^ *+' conftest.er1 >conftest.err
24356 rm -f conftest.er1
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } && {
24360 test -z "$ac_c_werror_flag" ||
24361 test ! -s conftest.err
24362 } && test -s conftest.$ac_objext; then
24363 ac_lo=0 ac_mid=0
24364 while :; do
24365 cat >conftest.$ac_ext <<_ACEOF
24366 /* confdefs.h. */
24367 _ACEOF
24368 cat confdefs.h >>conftest.$ac_ext
24369 cat >>conftest.$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 $ac_includes_default
24372 typedef long long ac__type_sizeof_;
24373 int
24374 main ()
24375 {
24376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24377 test_array [0] = 0
24378
24379 ;
24380 return 0;
24381 }
24382 _ACEOF
24383 rm -f conftest.$ac_objext
24384 if { (ac_try="$ac_compile"
24385 case "(($ac_try" in
24386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24387 *) ac_try_echo=$ac_try;;
24388 esac
24389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24390 (eval "$ac_compile") 2>conftest.er1
24391 ac_status=$?
24392 grep -v '^ *+' conftest.er1 >conftest.err
24393 rm -f conftest.er1
24394 cat conftest.err >&5
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); } && {
24397 test -z "$ac_c_werror_flag" ||
24398 test ! -s conftest.err
24399 } && test -s conftest.$ac_objext; then
24400 ac_hi=$ac_mid; break
24401 else
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24404
24405 ac_lo=`expr $ac_mid + 1`
24406 if test $ac_lo -le $ac_mid; then
24407 ac_lo= ac_hi=
24408 break
24409 fi
24410 ac_mid=`expr 2 '*' $ac_mid + 1`
24411 fi
24412
24413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24414 done
24415 else
24416 echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24418
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 $ac_includes_default
24426 typedef long long ac__type_sizeof_;
24427 int
24428 main ()
24429 {
24430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24431 test_array [0] = 0
24432
24433 ;
24434 return 0;
24435 }
24436 _ACEOF
24437 rm -f conftest.$ac_objext
24438 if { (ac_try="$ac_compile"
24439 case "(($ac_try" in
24440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24441 *) ac_try_echo=$ac_try;;
24442 esac
24443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24444 (eval "$ac_compile") 2>conftest.er1
24445 ac_status=$?
24446 grep -v '^ *+' conftest.er1 >conftest.err
24447 rm -f conftest.er1
24448 cat conftest.err >&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } && {
24451 test -z "$ac_c_werror_flag" ||
24452 test ! -s conftest.err
24453 } && test -s conftest.$ac_objext; then
24454 ac_hi=-1 ac_mid=-1
24455 while :; do
24456 cat >conftest.$ac_ext <<_ACEOF
24457 /* confdefs.h. */
24458 _ACEOF
24459 cat confdefs.h >>conftest.$ac_ext
24460 cat >>conftest.$ac_ext <<_ACEOF
24461 /* end confdefs.h. */
24462 $ac_includes_default
24463 typedef long long ac__type_sizeof_;
24464 int
24465 main ()
24466 {
24467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24468 test_array [0] = 0
24469
24470 ;
24471 return 0;
24472 }
24473 _ACEOF
24474 rm -f conftest.$ac_objext
24475 if { (ac_try="$ac_compile"
24476 case "(($ac_try" in
24477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24478 *) ac_try_echo=$ac_try;;
24479 esac
24480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24481 (eval "$ac_compile") 2>conftest.er1
24482 ac_status=$?
24483 grep -v '^ *+' conftest.er1 >conftest.err
24484 rm -f conftest.er1
24485 cat conftest.err >&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); } && {
24488 test -z "$ac_c_werror_flag" ||
24489 test ! -s conftest.err
24490 } && test -s conftest.$ac_objext; then
24491 ac_lo=$ac_mid; break
24492 else
24493 echo "$as_me: failed program was:" >&5
24494 sed 's/^/| /' conftest.$ac_ext >&5
24495
24496 ac_hi=`expr '(' $ac_mid ')' - 1`
24497 if test $ac_mid -le $ac_hi; then
24498 ac_lo= ac_hi=
24499 break
24500 fi
24501 ac_mid=`expr 2 '*' $ac_mid`
24502 fi
24503
24504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505 done
24506 else
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.$ac_ext >&5
24509
24510 ac_lo= ac_hi=
24511 fi
24512
24513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24514 fi
24515
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24517 # Binary search between lo and hi bounds.
24518 while test "x$ac_lo" != "x$ac_hi"; do
24519 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24520 cat >conftest.$ac_ext <<_ACEOF
24521 /* confdefs.h. */
24522 _ACEOF
24523 cat confdefs.h >>conftest.$ac_ext
24524 cat >>conftest.$ac_ext <<_ACEOF
24525 /* end confdefs.h. */
24526 $ac_includes_default
24527 typedef long long ac__type_sizeof_;
24528 int
24529 main ()
24530 {
24531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24532 test_array [0] = 0
24533
24534 ;
24535 return 0;
24536 }
24537 _ACEOF
24538 rm -f conftest.$ac_objext
24539 if { (ac_try="$ac_compile"
24540 case "(($ac_try" in
24541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542 *) ac_try_echo=$ac_try;;
24543 esac
24544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545 (eval "$ac_compile") 2>conftest.er1
24546 ac_status=$?
24547 grep -v '^ *+' conftest.er1 >conftest.err
24548 rm -f conftest.er1
24549 cat conftest.err >&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); } && {
24552 test -z "$ac_c_werror_flag" ||
24553 test ! -s conftest.err
24554 } && test -s conftest.$ac_objext; then
24555 ac_hi=$ac_mid
24556 else
24557 echo "$as_me: failed program was:" >&5
24558 sed 's/^/| /' conftest.$ac_ext >&5
24559
24560 ac_lo=`expr '(' $ac_mid ')' + 1`
24561 fi
24562
24563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24564 done
24565 case $ac_lo in
24566 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24567 '') if test "$ac_cv_type_long_long" = yes; then
24568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24569 See \`config.log' for more details." >&5
24570 echo "$as_me: error: cannot compute sizeof (long long)
24571 See \`config.log' for more details." >&2;}
24572 { (exit 77); exit 77; }; }
24573 else
24574 ac_cv_sizeof_long_long=0
24575 fi ;;
24576 esac
24577 else
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 $ac_includes_default
24585 typedef long long ac__type_sizeof_;
24586 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24587 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24588 #include <stdio.h>
24589 #include <stdlib.h>
24590 int
24591 main ()
24592 {
24593
24594 FILE *f = fopen ("conftest.val", "w");
24595 if (! f)
24596 return 1;
24597 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24598 {
24599 long int i = longval ();
24600 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24601 return 1;
24602 fprintf (f, "%ld\n", i);
24603 }
24604 else
24605 {
24606 unsigned long int i = ulongval ();
24607 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24608 return 1;
24609 fprintf (f, "%lu\n", i);
24610 }
24611 return ferror (f) || fclose (f) != 0;
24612
24613 ;
24614 return 0;
24615 }
24616 _ACEOF
24617 rm -f conftest$ac_exeext
24618 if { (ac_try="$ac_link"
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_link") 2>&5
24625 ac_status=$?
24626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24628 { (case "(($ac_try" in
24629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24630 *) ac_try_echo=$ac_try;;
24631 esac
24632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24633 (eval "$ac_try") 2>&5
24634 ac_status=$?
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; }; then
24637 ac_cv_sizeof_long_long=`cat conftest.val`
24638 else
24639 echo "$as_me: program exited with status $ac_status" >&5
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24642
24643 ( exit $ac_status )
24644 if test "$ac_cv_type_long_long" = yes; then
24645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24646 See \`config.log' for more details." >&5
24647 echo "$as_me: error: cannot compute sizeof (long long)
24648 See \`config.log' for more details." >&2;}
24649 { (exit 77); exit 77; }; }
24650 else
24651 ac_cv_sizeof_long_long=0
24652 fi
24653 fi
24654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24655 fi
24656 rm -f conftest.val
24657 fi
24658 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24659 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24660
24661
24662
24663 cat >>confdefs.h <<_ACEOF
24664 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24665 _ACEOF
24666
24667
24668 if test "$ac_cv_sizeof_long_long" != "0"; then
24669 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24670 fi
24671 ;;
24672 * )
24673 { echo "$as_me:$LINENO: checking for long long" >&5
24674 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24675 if test "${ac_cv_type_long_long+set}" = set; then
24676 echo $ECHO_N "(cached) $ECHO_C" >&6
24677 else
24678 cat >conftest.$ac_ext <<_ACEOF
24679 /* confdefs.h. */
24680 _ACEOF
24681 cat confdefs.h >>conftest.$ac_ext
24682 cat >>conftest.$ac_ext <<_ACEOF
24683 /* end confdefs.h. */
24684 $ac_includes_default
24685 typedef long long ac__type_new_;
24686 int
24687 main ()
24688 {
24689 if ((ac__type_new_ *) 0)
24690 return 0;
24691 if (sizeof (ac__type_new_))
24692 return 0;
24693 ;
24694 return 0;
24695 }
24696 _ACEOF
24697 rm -f conftest.$ac_objext
24698 if { (ac_try="$ac_compile"
24699 case "(($ac_try" in
24700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24701 *) ac_try_echo=$ac_try;;
24702 esac
24703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24704 (eval "$ac_compile") 2>conftest.er1
24705 ac_status=$?
24706 grep -v '^ *+' conftest.er1 >conftest.err
24707 rm -f conftest.er1
24708 cat conftest.err >&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); } && {
24711 test -z "$ac_c_werror_flag" ||
24712 test ! -s conftest.err
24713 } && test -s conftest.$ac_objext; then
24714 ac_cv_type_long_long=yes
24715 else
24716 echo "$as_me: failed program was:" >&5
24717 sed 's/^/| /' conftest.$ac_ext >&5
24718
24719 ac_cv_type_long_long=no
24720 fi
24721
24722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24723 fi
24724 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24725 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24726
24727 # The cast to long int works around a bug in the HP C Compiler
24728 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24729 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24730 # This bug is HP SR number 8606223364.
24731 { echo "$as_me:$LINENO: checking size of long long" >&5
24732 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24733 if test "${ac_cv_sizeof_long_long+set}" = set; then
24734 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 else
24736 if test "$cross_compiling" = yes; then
24737 # Depending upon the size, compute the lo and hi bounds.
24738 cat >conftest.$ac_ext <<_ACEOF
24739 /* confdefs.h. */
24740 _ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744 $ac_includes_default
24745 typedef long long ac__type_sizeof_;
24746 int
24747 main ()
24748 {
24749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24750 test_array [0] = 0
24751
24752 ;
24753 return 0;
24754 }
24755 _ACEOF
24756 rm -f conftest.$ac_objext
24757 if { (ac_try="$ac_compile"
24758 case "(($ac_try" in
24759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24760 *) ac_try_echo=$ac_try;;
24761 esac
24762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24763 (eval "$ac_compile") 2>conftest.er1
24764 ac_status=$?
24765 grep -v '^ *+' conftest.er1 >conftest.err
24766 rm -f conftest.er1
24767 cat conftest.err >&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } && {
24770 test -z "$ac_c_werror_flag" ||
24771 test ! -s conftest.err
24772 } && test -s conftest.$ac_objext; then
24773 ac_lo=0 ac_mid=0
24774 while :; do
24775 cat >conftest.$ac_ext <<_ACEOF
24776 /* confdefs.h. */
24777 _ACEOF
24778 cat confdefs.h >>conftest.$ac_ext
24779 cat >>conftest.$ac_ext <<_ACEOF
24780 /* end confdefs.h. */
24781 $ac_includes_default
24782 typedef long long ac__type_sizeof_;
24783 int
24784 main ()
24785 {
24786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24787 test_array [0] = 0
24788
24789 ;
24790 return 0;
24791 }
24792 _ACEOF
24793 rm -f conftest.$ac_objext
24794 if { (ac_try="$ac_compile"
24795 case "(($ac_try" in
24796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24797 *) ac_try_echo=$ac_try;;
24798 esac
24799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24800 (eval "$ac_compile") 2>conftest.er1
24801 ac_status=$?
24802 grep -v '^ *+' conftest.er1 >conftest.err
24803 rm -f conftest.er1
24804 cat conftest.err >&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); } && {
24807 test -z "$ac_c_werror_flag" ||
24808 test ! -s conftest.err
24809 } && test -s conftest.$ac_objext; then
24810 ac_hi=$ac_mid; break
24811 else
24812 echo "$as_me: failed program was:" >&5
24813 sed 's/^/| /' conftest.$ac_ext >&5
24814
24815 ac_lo=`expr $ac_mid + 1`
24816 if test $ac_lo -le $ac_mid; then
24817 ac_lo= ac_hi=
24818 break
24819 fi
24820 ac_mid=`expr 2 '*' $ac_mid + 1`
24821 fi
24822
24823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24824 done
24825 else
24826 echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.$ac_ext >&5
24828
24829 cat >conftest.$ac_ext <<_ACEOF
24830 /* confdefs.h. */
24831 _ACEOF
24832 cat confdefs.h >>conftest.$ac_ext
24833 cat >>conftest.$ac_ext <<_ACEOF
24834 /* end confdefs.h. */
24835 $ac_includes_default
24836 typedef long long ac__type_sizeof_;
24837 int
24838 main ()
24839 {
24840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24841 test_array [0] = 0
24842
24843 ;
24844 return 0;
24845 }
24846 _ACEOF
24847 rm -f conftest.$ac_objext
24848 if { (ac_try="$ac_compile"
24849 case "(($ac_try" in
24850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24851 *) ac_try_echo=$ac_try;;
24852 esac
24853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24854 (eval "$ac_compile") 2>conftest.er1
24855 ac_status=$?
24856 grep -v '^ *+' conftest.er1 >conftest.err
24857 rm -f conftest.er1
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } && {
24861 test -z "$ac_c_werror_flag" ||
24862 test ! -s conftest.err
24863 } && test -s conftest.$ac_objext; then
24864 ac_hi=-1 ac_mid=-1
24865 while :; do
24866 cat >conftest.$ac_ext <<_ACEOF
24867 /* confdefs.h. */
24868 _ACEOF
24869 cat confdefs.h >>conftest.$ac_ext
24870 cat >>conftest.$ac_ext <<_ACEOF
24871 /* end confdefs.h. */
24872 $ac_includes_default
24873 typedef long long ac__type_sizeof_;
24874 int
24875 main ()
24876 {
24877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24878 test_array [0] = 0
24879
24880 ;
24881 return 0;
24882 }
24883 _ACEOF
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24889 esac
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24892 ac_status=$?
24893 grep -v '^ *+' conftest.er1 >conftest.err
24894 rm -f conftest.er1
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_c_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24901 ac_lo=$ac_mid; break
24902 else
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.$ac_ext >&5
24905
24906 ac_hi=`expr '(' $ac_mid ')' - 1`
24907 if test $ac_mid -le $ac_hi; then
24908 ac_lo= ac_hi=
24909 break
24910 fi
24911 ac_mid=`expr 2 '*' $ac_mid`
24912 fi
24913
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 done
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24919
24920 ac_lo= ac_hi=
24921 fi
24922
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924 fi
24925
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 # Binary search between lo and hi bounds.
24928 while test "x$ac_lo" != "x$ac_hi"; do
24929 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24930 cat >conftest.$ac_ext <<_ACEOF
24931 /* confdefs.h. */
24932 _ACEOF
24933 cat confdefs.h >>conftest.$ac_ext
24934 cat >>conftest.$ac_ext <<_ACEOF
24935 /* end confdefs.h. */
24936 $ac_includes_default
24937 typedef long long ac__type_sizeof_;
24938 int
24939 main ()
24940 {
24941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24942 test_array [0] = 0
24943
24944 ;
24945 return 0;
24946 }
24947 _ACEOF
24948 rm -f conftest.$ac_objext
24949 if { (ac_try="$ac_compile"
24950 case "(($ac_try" in
24951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24952 *) ac_try_echo=$ac_try;;
24953 esac
24954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24955 (eval "$ac_compile") 2>conftest.er1
24956 ac_status=$?
24957 grep -v '^ *+' conftest.er1 >conftest.err
24958 rm -f conftest.er1
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } && {
24962 test -z "$ac_c_werror_flag" ||
24963 test ! -s conftest.err
24964 } && test -s conftest.$ac_objext; then
24965 ac_hi=$ac_mid
24966 else
24967 echo "$as_me: failed program was:" >&5
24968 sed 's/^/| /' conftest.$ac_ext >&5
24969
24970 ac_lo=`expr '(' $ac_mid ')' + 1`
24971 fi
24972
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 done
24975 case $ac_lo in
24976 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24977 '') if test "$ac_cv_type_long_long" = yes; then
24978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24979 See \`config.log' for more details." >&5
24980 echo "$as_me: error: cannot compute sizeof (long long)
24981 See \`config.log' for more details." >&2;}
24982 { (exit 77); exit 77; }; }
24983 else
24984 ac_cv_sizeof_long_long=0
24985 fi ;;
24986 esac
24987 else
24988 cat >conftest.$ac_ext <<_ACEOF
24989 /* confdefs.h. */
24990 _ACEOF
24991 cat confdefs.h >>conftest.$ac_ext
24992 cat >>conftest.$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994 $ac_includes_default
24995 typedef long long ac__type_sizeof_;
24996 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24997 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24998 #include <stdio.h>
24999 #include <stdlib.h>
25000 int
25001 main ()
25002 {
25003
25004 FILE *f = fopen ("conftest.val", "w");
25005 if (! f)
25006 return 1;
25007 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25008 {
25009 long int i = longval ();
25010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25011 return 1;
25012 fprintf (f, "%ld\n", i);
25013 }
25014 else
25015 {
25016 unsigned long int i = ulongval ();
25017 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25018 return 1;
25019 fprintf (f, "%lu\n", i);
25020 }
25021 return ferror (f) || fclose (f) != 0;
25022
25023 ;
25024 return 0;
25025 }
25026 _ACEOF
25027 rm -f conftest$ac_exeext
25028 if { (ac_try="$ac_link"
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_link") 2>&5
25035 ac_status=$?
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25038 { (case "(($ac_try" in
25039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25040 *) ac_try_echo=$ac_try;;
25041 esac
25042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25043 (eval "$ac_try") 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 ac_cv_sizeof_long_long=`cat conftest.val`
25048 else
25049 echo "$as_me: program exited with status $ac_status" >&5
25050 echo "$as_me: failed program was:" >&5
25051 sed 's/^/| /' conftest.$ac_ext >&5
25052
25053 ( exit $ac_status )
25054 if test "$ac_cv_type_long_long" = yes; then
25055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25056 See \`config.log' for more details." >&5
25057 echo "$as_me: error: cannot compute sizeof (long long)
25058 See \`config.log' for more details." >&2;}
25059 { (exit 77); exit 77; }; }
25060 else
25061 ac_cv_sizeof_long_long=0
25062 fi
25063 fi
25064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25065 fi
25066 rm -f conftest.val
25067 fi
25068 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25069 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25070
25071
25072
25073 cat >>confdefs.h <<_ACEOF
25074 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25075 _ACEOF
25076
25077
25078 esac
25079
25080 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25081 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25082 if test "${ac_cv_type_wchar_t+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25084 else
25085 cat >conftest.$ac_ext <<_ACEOF
25086 /* confdefs.h. */
25087 _ACEOF
25088 cat confdefs.h >>conftest.$ac_ext
25089 cat >>conftest.$ac_ext <<_ACEOF
25090 /* end confdefs.h. */
25091
25092 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25093 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25094 # error "fake wchar_t"
25095 #endif
25096 #ifdef HAVE_WCHAR_H
25097 # ifdef __CYGWIN__
25098 # include <stddef.h>
25099 # endif
25100 # include <wchar.h>
25101 #endif
25102 #ifdef HAVE_STDLIB_H
25103 # include <stdlib.h>
25104 #endif
25105 #include <stdio.h>
25106
25107
25108
25109 typedef wchar_t ac__type_new_;
25110 int
25111 main ()
25112 {
25113 if ((ac__type_new_ *) 0)
25114 return 0;
25115 if (sizeof (ac__type_new_))
25116 return 0;
25117 ;
25118 return 0;
25119 }
25120 _ACEOF
25121 rm -f conftest.$ac_objext
25122 if { (ac_try="$ac_compile"
25123 case "(($ac_try" in
25124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25125 *) ac_try_echo=$ac_try;;
25126 esac
25127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25128 (eval "$ac_compile") 2>conftest.er1
25129 ac_status=$?
25130 grep -v '^ *+' conftest.er1 >conftest.err
25131 rm -f conftest.er1
25132 cat conftest.err >&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); } && {
25135 test -z "$ac_c_werror_flag" ||
25136 test ! -s conftest.err
25137 } && test -s conftest.$ac_objext; then
25138 ac_cv_type_wchar_t=yes
25139 else
25140 echo "$as_me: failed program was:" >&5
25141 sed 's/^/| /' conftest.$ac_ext >&5
25142
25143 ac_cv_type_wchar_t=no
25144 fi
25145
25146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25147 fi
25148 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25149 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25150
25151 # The cast to long int works around a bug in the HP C Compiler
25152 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25153 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25154 # This bug is HP SR number 8606223364.
25155 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25156 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25157 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25158 echo $ECHO_N "(cached) $ECHO_C" >&6
25159 else
25160 if test "$cross_compiling" = yes; then
25161 # Depending upon the size, compute the lo and hi bounds.
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168
25169 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25170 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25171 # error "fake wchar_t"
25172 #endif
25173 #ifdef HAVE_WCHAR_H
25174 # ifdef __CYGWIN__
25175 # include <stddef.h>
25176 # endif
25177 # include <wchar.h>
25178 #endif
25179 #ifdef HAVE_STDLIB_H
25180 # include <stdlib.h>
25181 #endif
25182 #include <stdio.h>
25183
25184
25185
25186 typedef wchar_t ac__type_sizeof_;
25187 int
25188 main ()
25189 {
25190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25191 test_array [0] = 0
25192
25193 ;
25194 return 0;
25195 }
25196 _ACEOF
25197 rm -f conftest.$ac_objext
25198 if { (ac_try="$ac_compile"
25199 case "(($ac_try" in
25200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25201 *) ac_try_echo=$ac_try;;
25202 esac
25203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25204 (eval "$ac_compile") 2>conftest.er1
25205 ac_status=$?
25206 grep -v '^ *+' conftest.er1 >conftest.err
25207 rm -f conftest.er1
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } && {
25211 test -z "$ac_c_werror_flag" ||
25212 test ! -s conftest.err
25213 } && test -s conftest.$ac_objext; then
25214 ac_lo=0 ac_mid=0
25215 while :; do
25216 cat >conftest.$ac_ext <<_ACEOF
25217 /* confdefs.h. */
25218 _ACEOF
25219 cat confdefs.h >>conftest.$ac_ext
25220 cat >>conftest.$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222
25223 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25224 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25225 # error "fake wchar_t"
25226 #endif
25227 #ifdef HAVE_WCHAR_H
25228 # ifdef __CYGWIN__
25229 # include <stddef.h>
25230 # endif
25231 # include <wchar.h>
25232 #endif
25233 #ifdef HAVE_STDLIB_H
25234 # include <stdlib.h>
25235 #endif
25236 #include <stdio.h>
25237
25238
25239
25240 typedef wchar_t ac__type_sizeof_;
25241 int
25242 main ()
25243 {
25244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25245 test_array [0] = 0
25246
25247 ;
25248 return 0;
25249 }
25250 _ACEOF
25251 rm -f conftest.$ac_objext
25252 if { (ac_try="$ac_compile"
25253 case "(($ac_try" in
25254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25255 *) ac_try_echo=$ac_try;;
25256 esac
25257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25258 (eval "$ac_compile") 2>conftest.er1
25259 ac_status=$?
25260 grep -v '^ *+' conftest.er1 >conftest.err
25261 rm -f conftest.er1
25262 cat conftest.err >&5
25263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264 (exit $ac_status); } && {
25265 test -z "$ac_c_werror_flag" ||
25266 test ! -s conftest.err
25267 } && test -s conftest.$ac_objext; then
25268 ac_hi=$ac_mid; break
25269 else
25270 echo "$as_me: failed program was:" >&5
25271 sed 's/^/| /' conftest.$ac_ext >&5
25272
25273 ac_lo=`expr $ac_mid + 1`
25274 if test $ac_lo -le $ac_mid; then
25275 ac_lo= ac_hi=
25276 break
25277 fi
25278 ac_mid=`expr 2 '*' $ac_mid + 1`
25279 fi
25280
25281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25282 done
25283 else
25284 echo "$as_me: failed program was:" >&5
25285 sed 's/^/| /' conftest.$ac_ext >&5
25286
25287 cat >conftest.$ac_ext <<_ACEOF
25288 /* confdefs.h. */
25289 _ACEOF
25290 cat confdefs.h >>conftest.$ac_ext
25291 cat >>conftest.$ac_ext <<_ACEOF
25292 /* end confdefs.h. */
25293
25294 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25295 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25296 # error "fake wchar_t"
25297 #endif
25298 #ifdef HAVE_WCHAR_H
25299 # ifdef __CYGWIN__
25300 # include <stddef.h>
25301 # endif
25302 # include <wchar.h>
25303 #endif
25304 #ifdef HAVE_STDLIB_H
25305 # include <stdlib.h>
25306 #endif
25307 #include <stdio.h>
25308
25309
25310
25311 typedef wchar_t ac__type_sizeof_;
25312 int
25313 main ()
25314 {
25315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25316 test_array [0] = 0
25317
25318 ;
25319 return 0;
25320 }
25321 _ACEOF
25322 rm -f conftest.$ac_objext
25323 if { (ac_try="$ac_compile"
25324 case "(($ac_try" in
25325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25326 *) ac_try_echo=$ac_try;;
25327 esac
25328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25329 (eval "$ac_compile") 2>conftest.er1
25330 ac_status=$?
25331 grep -v '^ *+' conftest.er1 >conftest.err
25332 rm -f conftest.er1
25333 cat conftest.err >&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } && {
25336 test -z "$ac_c_werror_flag" ||
25337 test ! -s conftest.err
25338 } && test -s conftest.$ac_objext; then
25339 ac_hi=-1 ac_mid=-1
25340 while :; do
25341 cat >conftest.$ac_ext <<_ACEOF
25342 /* confdefs.h. */
25343 _ACEOF
25344 cat confdefs.h >>conftest.$ac_ext
25345 cat >>conftest.$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25347
25348 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25350 # error "fake wchar_t"
25351 #endif
25352 #ifdef HAVE_WCHAR_H
25353 # ifdef __CYGWIN__
25354 # include <stddef.h>
25355 # endif
25356 # include <wchar.h>
25357 #endif
25358 #ifdef HAVE_STDLIB_H
25359 # include <stdlib.h>
25360 #endif
25361 #include <stdio.h>
25362
25363
25364
25365 typedef wchar_t ac__type_sizeof_;
25366 int
25367 main ()
25368 {
25369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25370 test_array [0] = 0
25371
25372 ;
25373 return 0;
25374 }
25375 _ACEOF
25376 rm -f conftest.$ac_objext
25377 if { (ac_try="$ac_compile"
25378 case "(($ac_try" in
25379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25381 esac
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_compile") 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } && {
25390 test -z "$ac_c_werror_flag" ||
25391 test ! -s conftest.err
25392 } && test -s conftest.$ac_objext; then
25393 ac_lo=$ac_mid; break
25394 else
25395 echo "$as_me: failed program was:" >&5
25396 sed 's/^/| /' conftest.$ac_ext >&5
25397
25398 ac_hi=`expr '(' $ac_mid ')' - 1`
25399 if test $ac_mid -le $ac_hi; then
25400 ac_lo= ac_hi=
25401 break
25402 fi
25403 ac_mid=`expr 2 '*' $ac_mid`
25404 fi
25405
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407 done
25408 else
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25411
25412 ac_lo= ac_hi=
25413 fi
25414
25415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25416 fi
25417
25418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 # Binary search between lo and hi bounds.
25420 while test "x$ac_lo" != "x$ac_hi"; do
25421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25422 cat >conftest.$ac_ext <<_ACEOF
25423 /* confdefs.h. */
25424 _ACEOF
25425 cat confdefs.h >>conftest.$ac_ext
25426 cat >>conftest.$ac_ext <<_ACEOF
25427 /* end confdefs.h. */
25428
25429 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25430 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25431 # error "fake wchar_t"
25432 #endif
25433 #ifdef HAVE_WCHAR_H
25434 # ifdef __CYGWIN__
25435 # include <stddef.h>
25436 # endif
25437 # include <wchar.h>
25438 #endif
25439 #ifdef HAVE_STDLIB_H
25440 # include <stdlib.h>
25441 #endif
25442 #include <stdio.h>
25443
25444
25445
25446 typedef wchar_t ac__type_sizeof_;
25447 int
25448 main ()
25449 {
25450 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25451 test_array [0] = 0
25452
25453 ;
25454 return 0;
25455 }
25456 _ACEOF
25457 rm -f conftest.$ac_objext
25458 if { (ac_try="$ac_compile"
25459 case "(($ac_try" in
25460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25461 *) ac_try_echo=$ac_try;;
25462 esac
25463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25464 (eval "$ac_compile") 2>conftest.er1
25465 ac_status=$?
25466 grep -v '^ *+' conftest.er1 >conftest.err
25467 rm -f conftest.er1
25468 cat conftest.err >&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } && {
25471 test -z "$ac_c_werror_flag" ||
25472 test ! -s conftest.err
25473 } && test -s conftest.$ac_objext; then
25474 ac_hi=$ac_mid
25475 else
25476 echo "$as_me: failed program was:" >&5
25477 sed 's/^/| /' conftest.$ac_ext >&5
25478
25479 ac_lo=`expr '(' $ac_mid ')' + 1`
25480 fi
25481
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25483 done
25484 case $ac_lo in
25485 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25486 '') if test "$ac_cv_type_wchar_t" = yes; then
25487 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25488 See \`config.log' for more details." >&5
25489 echo "$as_me: error: cannot compute sizeof (wchar_t)
25490 See \`config.log' for more details." >&2;}
25491 { (exit 77); exit 77; }; }
25492 else
25493 ac_cv_sizeof_wchar_t=0
25494 fi ;;
25495 esac
25496 else
25497 cat >conftest.$ac_ext <<_ACEOF
25498 /* confdefs.h. */
25499 _ACEOF
25500 cat confdefs.h >>conftest.$ac_ext
25501 cat >>conftest.$ac_ext <<_ACEOF
25502 /* end confdefs.h. */
25503
25504 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25505 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25506 # error "fake wchar_t"
25507 #endif
25508 #ifdef HAVE_WCHAR_H
25509 # ifdef __CYGWIN__
25510 # include <stddef.h>
25511 # endif
25512 # include <wchar.h>
25513 #endif
25514 #ifdef HAVE_STDLIB_H
25515 # include <stdlib.h>
25516 #endif
25517 #include <stdio.h>
25518
25519
25520
25521 typedef wchar_t ac__type_sizeof_;
25522 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25523 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25524 #include <stdio.h>
25525 #include <stdlib.h>
25526 int
25527 main ()
25528 {
25529
25530 FILE *f = fopen ("conftest.val", "w");
25531 if (! f)
25532 return 1;
25533 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25534 {
25535 long int i = longval ();
25536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25537 return 1;
25538 fprintf (f, "%ld\n", i);
25539 }
25540 else
25541 {
25542 unsigned long int i = ulongval ();
25543 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25544 return 1;
25545 fprintf (f, "%lu\n", i);
25546 }
25547 return ferror (f) || fclose (f) != 0;
25548
25549 ;
25550 return 0;
25551 }
25552 _ACEOF
25553 rm -f conftest$ac_exeext
25554 if { (ac_try="$ac_link"
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_link") 2>&5
25561 ac_status=$?
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25564 { (case "(($ac_try" in
25565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25566 *) ac_try_echo=$ac_try;;
25567 esac
25568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25569 (eval "$ac_try") 2>&5
25570 ac_status=$?
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); }; }; then
25573 ac_cv_sizeof_wchar_t=`cat conftest.val`
25574 else
25575 echo "$as_me: program exited with status $ac_status" >&5
25576 echo "$as_me: failed program was:" >&5
25577 sed 's/^/| /' conftest.$ac_ext >&5
25578
25579 ( exit $ac_status )
25580 if test "$ac_cv_type_wchar_t" = yes; then
25581 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25582 See \`config.log' for more details." >&5
25583 echo "$as_me: error: cannot compute sizeof (wchar_t)
25584 See \`config.log' for more details." >&2;}
25585 { (exit 77); exit 77; }; }
25586 else
25587 ac_cv_sizeof_wchar_t=0
25588 fi
25589 fi
25590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25591 fi
25592 rm -f conftest.val
25593 fi
25594 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25595 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25596
25597
25598
25599 cat >>confdefs.h <<_ACEOF
25600 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25601 _ACEOF
25602
25603
25604 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25605 wxUSE_WCHAR_T=yes
25606 else
25607 wxUSE_WCHAR_T=no
25608 fi
25609
25610 { echo "$as_me:$LINENO: checking for va_copy" >&5
25611 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25612 if test "${wx_cv_func_va_copy+set}" = set; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25614 else
25615
25616 ac_ext=cpp
25617 ac_cpp='$CXXCPP $CPPFLAGS'
25618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25621
25622 cat >conftest.$ac_ext <<_ACEOF
25623
25624 #include <stdarg.h>
25625 void foo(char *f, ...)
25626 {
25627 va_list ap1, ap2;
25628 va_start(ap1, f);
25629 va_copy(ap2, ap1);
25630 va_end(ap2);
25631 va_end(ap1);
25632 }
25633 int main()
25634 {
25635 foo("hi", 17);
25636 return 0;
25637 }
25638 _ACEOF
25639 rm -f conftest.$ac_objext conftest$ac_exeext
25640 if { (ac_try="$ac_link"
25641 case "(($ac_try" in
25642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25644 esac
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_link") 2>conftest.er1
25647 ac_status=$?
25648 grep -v '^ *+' conftest.er1 >conftest.err
25649 rm -f conftest.er1
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && {
25653 test -z "$ac_cxx_werror_flag" ||
25654 test ! -s conftest.err
25655 } && test -s conftest$ac_exeext &&
25656 $as_test_x conftest$ac_exeext; then
25657 wx_cv_func_va_copy=yes
25658 else
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.$ac_ext >&5
25661
25662 wx_cv_func_va_copy=no
25663
25664 fi
25665
25666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25667 conftest$ac_exeext conftest.$ac_ext
25668 ac_ext=c
25669 ac_cpp='$CPP $CPPFLAGS'
25670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25673
25674
25675
25676 fi
25677 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25678 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25679
25680 if test $wx_cv_func_va_copy = "yes"; then
25681 cat >>confdefs.h <<\_ACEOF
25682 #define HAVE_VA_COPY 1
25683 _ACEOF
25684
25685 else
25686 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25687 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25688 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25689 echo $ECHO_N "(cached) $ECHO_C" >&6
25690 else
25691
25692 if test "$cross_compiling" = yes; then
25693 wx_cv_type_va_list_lvalue=yes
25694
25695 else
25696 cat >conftest.$ac_ext <<_ACEOF
25697
25698 #include <stdarg.h>
25699 int foo(char *f, ...)
25700 {
25701 va_list ap1, ap2;
25702 va_start(ap1, f);
25703 ap2 = ap1;
25704 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25705 return 1;
25706 va_end(ap2);
25707 va_end(ap1);
25708 return 0;
25709 }
25710 int main()
25711 {
25712 return foo("hi", 17);
25713 }
25714 _ACEOF
25715 rm -f conftest$ac_exeext
25716 if { (ac_try="$ac_link"
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_link") 2>&5
25723 ac_status=$?
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25726 { (case "(($ac_try" in
25727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25728 *) ac_try_echo=$ac_try;;
25729 esac
25730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25731 (eval "$ac_try") 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; }; then
25735 wx_cv_type_va_list_lvalue=yes
25736 else
25737 echo "$as_me: program exited with status $ac_status" >&5
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25740
25741 ( exit $ac_status )
25742 wx_cv_type_va_list_lvalue=no
25743 fi
25744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25745 fi
25746
25747
25748
25749
25750 fi
25751 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25752 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25753
25754 if test $wx_cv_type_va_list_lvalue != "yes"; then
25755 cat >>confdefs.h <<\_ACEOF
25756 #define VA_LIST_IS_ARRAY 1
25757 _ACEOF
25758
25759 fi
25760 fi
25761
25762 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25763
25764 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25765 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25766 if test "${wx_cv_have_variadic_macros+set}" = set; then
25767 echo $ECHO_N "(cached) $ECHO_C" >&6
25768 else
25769
25770 ac_ext=cpp
25771 ac_cpp='$CXXCPP $CPPFLAGS'
25772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25775
25776 cat >conftest.$ac_ext <<_ACEOF
25777 /* confdefs.h. */
25778 _ACEOF
25779 cat confdefs.h >>conftest.$ac_ext
25780 cat >>conftest.$ac_ext <<_ACEOF
25781 /* end confdefs.h. */
25782
25783 #include <stdio.h>
25784 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25785
25786 int
25787 main ()
25788 {
25789
25790 test("%s %d %p", "test", 1, 0);
25791
25792
25793 ;
25794 return 0;
25795 }
25796 _ACEOF
25797 rm -f conftest.$ac_objext
25798 if { (ac_try="$ac_compile"
25799 case "(($ac_try" in
25800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25801 *) ac_try_echo=$ac_try;;
25802 esac
25803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804 (eval "$ac_compile") 2>conftest.er1
25805 ac_status=$?
25806 grep -v '^ *+' conftest.er1 >conftest.err
25807 rm -f conftest.er1
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } && {
25811 test -z "$ac_cxx_werror_flag" ||
25812 test ! -s conftest.err
25813 } && test -s conftest.$ac_objext; then
25814 wx_cv_have_variadic_macros=yes
25815 else
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.$ac_ext >&5
25818
25819 wx_cv_have_variadic_macros=no
25820
25821 fi
25822
25823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25824 ac_ext=c
25825 ac_cpp='$CPP $CPPFLAGS'
25826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25829
25830
25831
25832 fi
25833 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25834 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25835
25836 if test $wx_cv_have_variadic_macros = "yes"; then
25837 cat >>confdefs.h <<\_ACEOF
25838 #define HAVE_VARIADIC_MACROS 1
25839 _ACEOF
25840
25841 fi
25842
25843 fi
25844 # Check whether --enable-largefile was given.
25845 if test "${enable_largefile+set}" = set; then
25846 enableval=$enable_largefile;
25847 fi
25848
25849 if test "$enable_largefile" != no; then
25850 wx_largefile=no
25851
25852 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25853 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25854 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25855 echo $ECHO_N "(cached) $ECHO_C" >&6
25856 else
25857
25858 cat >conftest.$ac_ext <<_ACEOF
25859 /* confdefs.h. */
25860 _ACEOF
25861 cat confdefs.h >>conftest.$ac_ext
25862 cat >>conftest.$ac_ext <<_ACEOF
25863 /* end confdefs.h. */
25864 #define _FILE_OFFSET_BITS 64
25865 #include <sys/types.h>
25866 int
25867 main ()
25868 {
25869 typedef struct {
25870 unsigned int field: sizeof(off_t) == 8;
25871 } wxlf;
25872
25873 ;
25874 return 0;
25875 }
25876 _ACEOF
25877 rm -f conftest.$ac_objext
25878 if { (ac_try="$ac_compile"
25879 case "(($ac_try" in
25880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25881 *) ac_try_echo=$ac_try;;
25882 esac
25883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25884 (eval "$ac_compile") 2>conftest.er1
25885 ac_status=$?
25886 grep -v '^ *+' conftest.er1 >conftest.err
25887 rm -f conftest.er1
25888 cat conftest.err >&5
25889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890 (exit $ac_status); } && {
25891 test -z "$ac_c_werror_flag" ||
25892 test ! -s conftest.err
25893 } && test -s conftest.$ac_objext; then
25894 ac_cv_sys_file_offset_bits=64
25895 else
25896 echo "$as_me: failed program was:" >&5
25897 sed 's/^/| /' conftest.$ac_ext >&5
25898
25899 ac_cv_sys_file_offset_bits=no
25900 fi
25901
25902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25903
25904
25905 fi
25906 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25907 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25908
25909 if test "$ac_cv_sys_file_offset_bits" != no; then
25910 wx_largefile=yes
25911 cat >>confdefs.h <<_ACEOF
25912 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25913 _ACEOF
25914
25915 fi
25916
25917 if test "x$wx_largefile" != "xyes"; then
25918
25919 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25920 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25921 if test "${ac_cv_sys_large_files+set}" = set; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25923 else
25924
25925 cat >conftest.$ac_ext <<_ACEOF
25926 /* confdefs.h. */
25927 _ACEOF
25928 cat confdefs.h >>conftest.$ac_ext
25929 cat >>conftest.$ac_ext <<_ACEOF
25930 /* end confdefs.h. */
25931 #define _LARGE_FILES 1
25932 #include <sys/types.h>
25933 int
25934 main ()
25935 {
25936 typedef struct {
25937 unsigned int field: sizeof(off_t) == 8;
25938 } wxlf;
25939
25940 ;
25941 return 0;
25942 }
25943 _ACEOF
25944 rm -f conftest.$ac_objext
25945 if { (ac_try="$ac_compile"
25946 case "(($ac_try" in
25947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25948 *) ac_try_echo=$ac_try;;
25949 esac
25950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25951 (eval "$ac_compile") 2>conftest.er1
25952 ac_status=$?
25953 grep -v '^ *+' conftest.er1 >conftest.err
25954 rm -f conftest.er1
25955 cat conftest.err >&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } && {
25958 test -z "$ac_c_werror_flag" ||
25959 test ! -s conftest.err
25960 } && test -s conftest.$ac_objext; then
25961 ac_cv_sys_large_files=1
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25965
25966 ac_cv_sys_large_files=no
25967 fi
25968
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970
25971
25972 fi
25973 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25974 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25975
25976 if test "$ac_cv_sys_large_files" != no; then
25977 wx_largefile=yes
25978 cat >>confdefs.h <<_ACEOF
25979 #define _LARGE_FILES $ac_cv_sys_large_files
25980 _ACEOF
25981
25982 fi
25983
25984 fi
25985
25986 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25987 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25988 if test "x$wx_largefile" = "xyes"; then
25989 cat >>confdefs.h <<\_ACEOF
25990 #define HAVE_LARGEFILE_SUPPORT 1
25991 _ACEOF
25992
25993 fi
25994 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25995 echo "${ECHO_T}$wx_largefile" >&6; }
25996 fi
25997
25998
25999 if test "x$wx_largefile" = "xyes"; then
26000 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26001 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26002
26003 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26004 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26005 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26006 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26007 echo $ECHO_N "(cached) $ECHO_C" >&6
26008 else
26009
26010 ac_ext=cpp
26011 ac_cpp='$CXXCPP $CPPFLAGS'
26012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26015
26016 cat >conftest.$ac_ext <<_ACEOF
26017 /* confdefs.h. */
26018 _ACEOF
26019 cat confdefs.h >>conftest.$ac_ext
26020 cat >>conftest.$ac_ext <<_ACEOF
26021 /* end confdefs.h. */
26022
26023 int
26024 main ()
26025 {
26026
26027 #ifndef __STDC_EXT__
26028 choke me
26029 #endif
26030
26031 ;
26032 return 0;
26033 }
26034 _ACEOF
26035 rm -f conftest.$ac_objext
26036 if { (ac_try="$ac_compile"
26037 case "(($ac_try" in
26038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26039 *) ac_try_echo=$ac_try;;
26040 esac
26041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26042 (eval "$ac_compile") 2>conftest.er1
26043 ac_status=$?
26044 grep -v '^ *+' conftest.er1 >conftest.err
26045 rm -f conftest.er1
26046 cat conftest.err >&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); } && {
26049 test -z "$ac_cxx_werror_flag" ||
26050 test ! -s conftest.err
26051 } && test -s conftest.$ac_objext; then
26052 wx_cv_STDC_EXT_required=no
26053 else
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.$ac_ext >&5
26056
26057 wx_cv_STDC_EXT_required=yes
26058
26059 fi
26060
26061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26062 ac_ext=c
26063 ac_cpp='$CPP $CPPFLAGS'
26064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26067
26068
26069
26070 fi
26071 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26072 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26073 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26074 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26075 fi
26076 fi
26077 else
26078 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26079 fi
26080 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26081 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26082 if test "${ac_cv_sys_largefile_source+set}" = set; then
26083 echo $ECHO_N "(cached) $ECHO_C" >&6
26084 else
26085 while :; do
26086 cat >conftest.$ac_ext <<_ACEOF
26087 /* confdefs.h. */
26088 _ACEOF
26089 cat confdefs.h >>conftest.$ac_ext
26090 cat >>conftest.$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26092 #include <sys/types.h> /* for off_t */
26093 #include <stdio.h>
26094 int
26095 main ()
26096 {
26097 int (*fp) (FILE *, off_t, int) = fseeko;
26098 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26099 ;
26100 return 0;
26101 }
26102 _ACEOF
26103 rm -f conftest.$ac_objext conftest$ac_exeext
26104 if { (ac_try="$ac_link"
26105 case "(($ac_try" in
26106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26107 *) ac_try_echo=$ac_try;;
26108 esac
26109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26110 (eval "$ac_link") 2>conftest.er1
26111 ac_status=$?
26112 grep -v '^ *+' conftest.er1 >conftest.err
26113 rm -f conftest.er1
26114 cat conftest.err >&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); } && {
26117 test -z "$ac_c_werror_flag" ||
26118 test ! -s conftest.err
26119 } && test -s conftest$ac_exeext &&
26120 $as_test_x conftest$ac_exeext; then
26121 ac_cv_sys_largefile_source=no; break
26122 else
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26125
26126
26127 fi
26128
26129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26130 conftest$ac_exeext conftest.$ac_ext
26131 cat >conftest.$ac_ext <<_ACEOF
26132 /* confdefs.h. */
26133 _ACEOF
26134 cat confdefs.h >>conftest.$ac_ext
26135 cat >>conftest.$ac_ext <<_ACEOF
26136 /* end confdefs.h. */
26137 #define _LARGEFILE_SOURCE 1
26138 #include <sys/types.h> /* for off_t */
26139 #include <stdio.h>
26140 int
26141 main ()
26142 {
26143 int (*fp) (FILE *, off_t, int) = fseeko;
26144 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26145 ;
26146 return 0;
26147 }
26148 _ACEOF
26149 rm -f conftest.$ac_objext conftest$ac_exeext
26150 if { (ac_try="$ac_link"
26151 case "(($ac_try" in
26152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26153 *) ac_try_echo=$ac_try;;
26154 esac
26155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26156 (eval "$ac_link") 2>conftest.er1
26157 ac_status=$?
26158 grep -v '^ *+' conftest.er1 >conftest.err
26159 rm -f conftest.er1
26160 cat conftest.err >&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); } && {
26163 test -z "$ac_c_werror_flag" ||
26164 test ! -s conftest.err
26165 } && test -s conftest$ac_exeext &&
26166 $as_test_x conftest$ac_exeext; then
26167 ac_cv_sys_largefile_source=1; break
26168 else
26169 echo "$as_me: failed program was:" >&5
26170 sed 's/^/| /' conftest.$ac_ext >&5
26171
26172
26173 fi
26174
26175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26176 conftest$ac_exeext conftest.$ac_ext
26177 ac_cv_sys_largefile_source=unknown
26178 break
26179 done
26180 fi
26181 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26182 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26183 case $ac_cv_sys_largefile_source in #(
26184 no | unknown) ;;
26185 *)
26186 cat >>confdefs.h <<_ACEOF
26187 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26188 _ACEOF
26189 ;;
26190 esac
26191 rm -f conftest*
26192
26193 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26194 # in glibc 2.1.3, but that breaks too many other things.
26195 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26196 if test $ac_cv_sys_largefile_source != unknown; then
26197
26198 cat >>confdefs.h <<\_ACEOF
26199 #define HAVE_FSEEKO 1
26200 _ACEOF
26201
26202 fi
26203
26204 if test "$ac_cv_sys_largefile_source" != no; then
26205 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26206 fi
26207 fi
26208
26209 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26210 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26211 if test "${ac_cv_c_bigendian+set}" = set; then
26212 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 else
26214 ac_cv_c_bigendian=unknown
26215 # See if sys/param.h defines the BYTE_ORDER macro.
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h. */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222 #include <sys/types.h>
26223 #include <sys/param.h>
26224 int
26225 main ()
26226 {
26227
26228 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26229 bogus endian macros
26230 #endif
26231 ;
26232 return 0;
26233 }
26234 _ACEOF
26235 rm -f conftest.$ac_objext
26236 if { (ac_try="$ac_compile"
26237 case "(($ac_try" in
26238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26239 *) ac_try_echo=$ac_try;;
26240 esac
26241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26242 (eval "$ac_compile") 2>conftest.er1
26243 ac_status=$?
26244 grep -v '^ *+' conftest.er1 >conftest.err
26245 rm -f conftest.er1
26246 cat conftest.err >&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } && {
26249 test -z "$ac_c_werror_flag" ||
26250 test ! -s conftest.err
26251 } && test -s conftest.$ac_objext; then
26252 # It does; now see whether it defined to BIG_ENDIAN or not.
26253 cat >conftest.$ac_ext <<_ACEOF
26254 /* confdefs.h. */
26255 _ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26259 #include <sys/types.h>
26260 #include <sys/param.h>
26261 int
26262 main ()
26263 {
26264
26265 #if BYTE_ORDER != BIG_ENDIAN
26266 not big endian
26267 #endif
26268 ;
26269 return 0;
26270 }
26271 _ACEOF
26272 rm -f conftest.$ac_objext
26273 if { (ac_try="$ac_compile"
26274 case "(($ac_try" in
26275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26276 *) ac_try_echo=$ac_try;;
26277 esac
26278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26279 (eval "$ac_compile") 2>conftest.er1
26280 ac_status=$?
26281 grep -v '^ *+' conftest.er1 >conftest.err
26282 rm -f conftest.er1
26283 cat conftest.err >&5
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); } && {
26286 test -z "$ac_c_werror_flag" ||
26287 test ! -s conftest.err
26288 } && test -s conftest.$ac_objext; then
26289 ac_cv_c_bigendian=yes
26290 else
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26293
26294 ac_cv_c_bigendian=no
26295 fi
26296
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298 else
26299 echo "$as_me: failed program was:" >&5
26300 sed 's/^/| /' conftest.$ac_ext >&5
26301
26302
26303 fi
26304
26305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26306 if test $ac_cv_c_bigendian = unknown; then
26307 if test "$cross_compiling" = yes; then
26308 ac_cv_c_bigendian=unknown
26309 else
26310 cat >conftest.$ac_ext <<_ACEOF
26311 /* confdefs.h. */
26312 _ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26316 main () {
26317 /* Are we little or big endian? From Harbison&Steele. */
26318 union
26319 {
26320 long l;
26321 char c[sizeof (long)];
26322 } u;
26323 u.l = 1;
26324 exit (u.c[sizeof (long) - 1] == 1);
26325 }
26326 _ACEOF
26327 rm -f conftest$ac_exeext
26328 if { (ac_try="$ac_link"
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_link") 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26338 { (case "(($ac_try" in
26339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26340 *) ac_try_echo=$ac_try;;
26341 esac
26342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26343 (eval "$ac_try") 2>&5
26344 ac_status=$?
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 ac_cv_c_bigendian=no
26348 else
26349 echo "$as_me: program exited with status $ac_status" >&5
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.$ac_ext >&5
26352
26353 ( exit $ac_status )
26354 ac_cv_c_bigendian=yes
26355 fi
26356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26357 fi
26358
26359
26360 fi
26361 fi
26362 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26363 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26364 if test $ac_cv_c_bigendian = unknown; then
26365 { 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
26366 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;}
26367 fi
26368 if test $ac_cv_c_bigendian = yes; then
26369 cat >>confdefs.h <<\_ACEOF
26370 #define WORDS_BIGENDIAN 1
26371 _ACEOF
26372
26373 fi
26374
26375
26376
26377
26378 ac_ext=cpp
26379 ac_cpp='$CXXCPP $CPPFLAGS'
26380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26383
26384
26385
26386 for ac_header in iostream
26387 do
26388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26393 else
26394 cat >conftest.$ac_ext <<_ACEOF
26395 /* confdefs.h. */
26396 _ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400
26401
26402 #include <$ac_header>
26403 _ACEOF
26404 rm -f conftest.$ac_objext
26405 if { (ac_try="$ac_compile"
26406 case "(($ac_try" in
26407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26408 *) ac_try_echo=$ac_try;;
26409 esac
26410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26411 (eval "$ac_compile") 2>conftest.er1
26412 ac_status=$?
26413 grep -v '^ *+' conftest.er1 >conftest.err
26414 rm -f conftest.er1
26415 cat conftest.err >&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } && {
26418 test -z "$ac_cxx_werror_flag" ||
26419 test ! -s conftest.err
26420 } && test -s conftest.$ac_objext; then
26421 eval "$as_ac_Header=yes"
26422 else
26423 echo "$as_me: failed program was:" >&5
26424 sed 's/^/| /' conftest.$ac_ext >&5
26425
26426 eval "$as_ac_Header=no"
26427 fi
26428
26429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26430 fi
26431 ac_res=`eval echo '${'$as_ac_Header'}'`
26432 { echo "$as_me:$LINENO: result: $ac_res" >&5
26433 echo "${ECHO_T}$ac_res" >&6; }
26434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26435 cat >>confdefs.h <<_ACEOF
26436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26437 _ACEOF
26438
26439 fi
26440
26441 done
26442
26443
26444 if test "$ac_cv_header_iostream" = "yes" ; then
26445 :
26446 else
26447 cat >>confdefs.h <<\_ACEOF
26448 #define wxUSE_IOSTREAMH 1
26449 _ACEOF
26450
26451 fi
26452
26453 ac_ext=c
26454 ac_cpp='$CPP $CPPFLAGS'
26455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26458
26459
26460
26461
26462 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26463 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26464 if test "${wx_cv_cpp_bool+set}" = set; then
26465 echo $ECHO_N "(cached) $ECHO_C" >&6
26466 else
26467
26468
26469 ac_ext=cpp
26470 ac_cpp='$CXXCPP $CPPFLAGS'
26471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26474
26475
26476 cat >conftest.$ac_ext <<_ACEOF
26477 /* confdefs.h. */
26478 _ACEOF
26479 cat confdefs.h >>conftest.$ac_ext
26480 cat >>conftest.$ac_ext <<_ACEOF
26481 /* end confdefs.h. */
26482
26483
26484 int
26485 main ()
26486 {
26487
26488 bool b = true;
26489
26490 return 0;
26491
26492 ;
26493 return 0;
26494 }
26495 _ACEOF
26496 rm -f conftest.$ac_objext
26497 if { (ac_try="$ac_compile"
26498 case "(($ac_try" in
26499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26500 *) ac_try_echo=$ac_try;;
26501 esac
26502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26503 (eval "$ac_compile") 2>conftest.er1
26504 ac_status=$?
26505 grep -v '^ *+' conftest.er1 >conftest.err
26506 rm -f conftest.er1
26507 cat conftest.err >&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } && {
26510 test -z "$ac_cxx_werror_flag" ||
26511 test ! -s conftest.err
26512 } && test -s conftest.$ac_objext; then
26513
26514 wx_cv_cpp_bool=yes
26515
26516 else
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26519
26520
26521 wx_cv_cpp_bool=no
26522
26523
26524 fi
26525
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26527
26528 ac_ext=c
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26533
26534
26535 fi
26536 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26537 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26538
26539 if test "$wx_cv_cpp_bool" = "yes"; then
26540 cat >>confdefs.h <<\_ACEOF
26541 #define HAVE_BOOL 1
26542 _ACEOF
26543
26544 fi
26545
26546
26547
26548 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26549 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26550 if test "${wx_cv_explicit+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26552 else
26553
26554
26555 ac_ext=cpp
26556 ac_cpp='$CXXCPP $CPPFLAGS'
26557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26560
26561
26562 cat >conftest.$ac_ext <<_ACEOF
26563 /* confdefs.h. */
26564 _ACEOF
26565 cat confdefs.h >>conftest.$ac_ext
26566 cat >>conftest.$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26568
26569 class Foo { public: explicit Foo(int) {} };
26570
26571 int
26572 main ()
26573 {
26574
26575 return 0;
26576
26577 ;
26578 return 0;
26579 }
26580 _ACEOF
26581 rm -f conftest.$ac_objext
26582 if { (ac_try="$ac_compile"
26583 case "(($ac_try" in
26584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26585 *) ac_try_echo=$ac_try;;
26586 esac
26587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26588 (eval "$ac_compile") 2>conftest.er1
26589 ac_status=$?
26590 grep -v '^ *+' conftest.er1 >conftest.err
26591 rm -f conftest.er1
26592 cat conftest.err >&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); } && {
26595 test -z "$ac_cxx_werror_flag" ||
26596 test ! -s conftest.err
26597 } && test -s conftest.$ac_objext; then
26598
26599 cat >conftest.$ac_ext <<_ACEOF
26600 /* confdefs.h. */
26601 _ACEOF
26602 cat confdefs.h >>conftest.$ac_ext
26603 cat >>conftest.$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26605
26606 class Foo { public: explicit Foo(int) {} };
26607 static void TakeFoo(const Foo& foo) { }
26608
26609 int
26610 main ()
26611 {
26612
26613 TakeFoo(17);
26614 return 0;
26615
26616 ;
26617 return 0;
26618 }
26619 _ACEOF
26620 rm -f conftest.$ac_objext
26621 if { (ac_try="$ac_compile"
26622 case "(($ac_try" in
26623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26624 *) ac_try_echo=$ac_try;;
26625 esac
26626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26627 (eval "$ac_compile") 2>conftest.er1
26628 ac_status=$?
26629 grep -v '^ *+' conftest.er1 >conftest.err
26630 rm -f conftest.er1
26631 cat conftest.err >&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } && {
26634 test -z "$ac_cxx_werror_flag" ||
26635 test ! -s conftest.err
26636 } && test -s conftest.$ac_objext; then
26637 wx_cv_explicit=no
26638 else
26639 echo "$as_me: failed program was:" >&5
26640 sed 's/^/| /' conftest.$ac_ext >&5
26641
26642 wx_cv_explicit=yes
26643
26644 fi
26645
26646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26647
26648 else
26649 echo "$as_me: failed program was:" >&5
26650 sed 's/^/| /' conftest.$ac_ext >&5
26651
26652 wx_cv_explicit=no
26653
26654 fi
26655
26656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26657
26658 ac_ext=c
26659 ac_cpp='$CPP $CPPFLAGS'
26660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26663
26664
26665 fi
26666 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26667 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26668
26669 if test "$wx_cv_explicit" = "yes"; then
26670 cat >>confdefs.h <<\_ACEOF
26671 #define HAVE_EXPLICIT 1
26672 _ACEOF
26673
26674 fi
26675
26676
26677 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26678 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26679 if test "${ac_cv_cxx_const_cast+set}" = set; then
26680 echo $ECHO_N "(cached) $ECHO_C" >&6
26681 else
26682
26683 ac_ext=cpp
26684 ac_cpp='$CXXCPP $CPPFLAGS'
26685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26688
26689 cat >conftest.$ac_ext <<_ACEOF
26690 /* confdefs.h. */
26691 _ACEOF
26692 cat confdefs.h >>conftest.$ac_ext
26693 cat >>conftest.$ac_ext <<_ACEOF
26694 /* end confdefs.h. */
26695
26696 int
26697 main ()
26698 {
26699 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26700 ;
26701 return 0;
26702 }
26703 _ACEOF
26704 rm -f conftest.$ac_objext
26705 if { (ac_try="$ac_compile"
26706 case "(($ac_try" in
26707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26708 *) ac_try_echo=$ac_try;;
26709 esac
26710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26711 (eval "$ac_compile") 2>conftest.er1
26712 ac_status=$?
26713 grep -v '^ *+' conftest.er1 >conftest.err
26714 rm -f conftest.er1
26715 cat conftest.err >&5
26716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26717 (exit $ac_status); } && {
26718 test -z "$ac_cxx_werror_flag" ||
26719 test ! -s conftest.err
26720 } && test -s conftest.$ac_objext; then
26721 ac_cv_cxx_const_cast=yes
26722 else
26723 echo "$as_me: failed program was:" >&5
26724 sed 's/^/| /' conftest.$ac_ext >&5
26725
26726 ac_cv_cxx_const_cast=no
26727 fi
26728
26729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26730 ac_ext=c
26731 ac_cpp='$CPP $CPPFLAGS'
26732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26735
26736
26737 fi
26738 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26739 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26740 if test "$ac_cv_cxx_const_cast" = yes; then
26741
26742 cat >>confdefs.h <<\_ACEOF
26743 #define HAVE_CONST_CAST
26744 _ACEOF
26745
26746 fi
26747
26748 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26749 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26750 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26752 else
26753
26754 ac_ext=cpp
26755 ac_cpp='$CXXCPP $CPPFLAGS'
26756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26759
26760 cat >conftest.$ac_ext <<_ACEOF
26761 /* confdefs.h. */
26762 _ACEOF
26763 cat confdefs.h >>conftest.$ac_ext
26764 cat >>conftest.$ac_ext <<_ACEOF
26765 /* end confdefs.h. */
26766 #include <typeinfo>
26767 class Base { public : Base () {} virtual void f () = 0;};
26768 class Derived : public Base { public : Derived () {} virtual void f () {} };
26769 class Unrelated { public : Unrelated () {} };
26770 int g (Unrelated&) { return 0; }
26771 int
26772 main ()
26773 {
26774
26775 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26776 ;
26777 return 0;
26778 }
26779 _ACEOF
26780 rm -f conftest.$ac_objext
26781 if { (ac_try="$ac_compile"
26782 case "(($ac_try" in
26783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26785 esac
26786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_compile") 2>conftest.er1
26788 ac_status=$?
26789 grep -v '^ *+' conftest.er1 >conftest.err
26790 rm -f conftest.er1
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } && {
26794 test -z "$ac_cxx_werror_flag" ||
26795 test ! -s conftest.err
26796 } && test -s conftest.$ac_objext; then
26797 ac_cv_cxx_reinterpret_cast=yes
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802 ac_cv_cxx_reinterpret_cast=no
26803 fi
26804
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26806 ac_ext=c
26807 ac_cpp='$CPP $CPPFLAGS'
26808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26811
26812
26813 fi
26814 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26815 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26816 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26817
26818 cat >>confdefs.h <<\_ACEOF
26819 #define HAVE_REINTERPRET_CAST
26820 _ACEOF
26821
26822 fi
26823
26824 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26825 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26826 if test "${ac_cv_cxx_static_cast+set}" = set; then
26827 echo $ECHO_N "(cached) $ECHO_C" >&6
26828 else
26829
26830 ac_ext=cpp
26831 ac_cpp='$CXXCPP $CPPFLAGS'
26832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26835
26836 cat >conftest.$ac_ext <<_ACEOF
26837 /* confdefs.h. */
26838 _ACEOF
26839 cat confdefs.h >>conftest.$ac_ext
26840 cat >>conftest.$ac_ext <<_ACEOF
26841 /* end confdefs.h. */
26842 #include <typeinfo>
26843 class Base { public : Base () {} virtual void f () = 0; };
26844 class Derived : public Base { public : Derived () {} virtual void f () {} };
26845 int g (Derived&) { return 0; }
26846 int
26847 main ()
26848 {
26849
26850 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26851 ;
26852 return 0;
26853 }
26854 _ACEOF
26855 rm -f conftest.$ac_objext
26856 if { (ac_try="$ac_compile"
26857 case "(($ac_try" in
26858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26859 *) ac_try_echo=$ac_try;;
26860 esac
26861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26862 (eval "$ac_compile") 2>conftest.er1
26863 ac_status=$?
26864 grep -v '^ *+' conftest.er1 >conftest.err
26865 rm -f conftest.er1
26866 cat conftest.err >&5
26867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26868 (exit $ac_status); } && {
26869 test -z "$ac_cxx_werror_flag" ||
26870 test ! -s conftest.err
26871 } && test -s conftest.$ac_objext; then
26872 ac_cv_cxx_static_cast=yes
26873 else
26874 echo "$as_me: failed program was:" >&5
26875 sed 's/^/| /' conftest.$ac_ext >&5
26876
26877 ac_cv_cxx_static_cast=no
26878 fi
26879
26880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26881 ac_ext=c
26882 ac_cpp='$CPP $CPPFLAGS'
26883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26886
26887
26888 fi
26889 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26890 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26891 if test "$ac_cv_cxx_static_cast" = yes; then
26892
26893 cat >>confdefs.h <<\_ACEOF
26894 #define HAVE_STATIC_CAST
26895 _ACEOF
26896
26897 fi
26898
26899
26900 if test "x$SUNCXX" = xyes; then
26901 CXXFLAGS="-features=tmplife $CXXFLAGS"
26902 fi
26903
26904 if test "x$SUNCC" = xyes; then
26905 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26906 fi
26907
26908 if test "x$SGICC" = "xyes"; then
26909 CFLAGS="-woff 3970 $CFLAGS"
26910 fi
26911 if test "x$SGICXX" = "xyes"; then
26912 CXXFLAGS="-woff 3970 $CXXFLAGS"
26913 fi
26914
26915 if test "x$HPCC" = "xyes"; then
26916 CFLAGS="+W 2011,2450 $CFLAGS"
26917 fi
26918 if test "x$HPCXX" = "xyes"; then
26919 CXXFLAGS="+W 2340 $CXXFLAGS"
26920 fi
26921
26922 if test "x$COMPAQCXX" = "xyes"; then
26923 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26924 fi
26925
26926 ac_ext=cpp
26927 ac_cpp='$CXXCPP $CPPFLAGS'
26928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26931
26932
26933 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26934 if test "$wxUSE_UNICODE" = "yes"; then
26935 std_string="std::wstring"
26936 char_type="wchar_t"
26937 else
26938 std_string="std::string"
26939 char_type="char"
26940 fi
26941
26942 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26943 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26944 if test "${wx_cv_class_stdstring+set}" = set; then
26945 echo $ECHO_N "(cached) $ECHO_C" >&6
26946 else
26947
26948 cat >conftest.$ac_ext <<_ACEOF
26949 /* confdefs.h. */
26950 _ACEOF
26951 cat confdefs.h >>conftest.$ac_ext
26952 cat >>conftest.$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26954 #include <string>
26955 int
26956 main ()
26957 {
26958 $std_string foo;
26959 ;
26960 return 0;
26961 }
26962 _ACEOF
26963 rm -f conftest.$ac_objext
26964 if { (ac_try="$ac_compile"
26965 case "(($ac_try" in
26966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26967 *) ac_try_echo=$ac_try;;
26968 esac
26969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26970 (eval "$ac_compile") 2>conftest.er1
26971 ac_status=$?
26972 grep -v '^ *+' conftest.er1 >conftest.err
26973 rm -f conftest.er1
26974 cat conftest.err >&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } && {
26977 test -z "$ac_cxx_werror_flag" ||
26978 test ! -s conftest.err
26979 } && test -s conftest.$ac_objext; then
26980 wx_cv_class_stdstring=yes
26981 else
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.$ac_ext >&5
26984
26985 wx_cv_class_stdstring=no
26986
26987 fi
26988
26989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26990
26991
26992 fi
26993 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26994 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26995
26996 if test "$wx_cv_class_stdstring" = yes; then
26997 if test "$wxUSE_UNICODE" = "yes"; then
26998 cat >>confdefs.h <<\_ACEOF
26999 #define HAVE_STD_WSTRING 1
27000 _ACEOF
27001
27002 fi
27003 else
27004 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27005 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27006 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27007 echo $ECHO_N "(cached) $ECHO_C" >&6
27008 else
27009
27010 cat >conftest.$ac_ext <<_ACEOF
27011 /* confdefs.h. */
27012 _ACEOF
27013 cat confdefs.h >>conftest.$ac_ext
27014 cat >>conftest.$ac_ext <<_ACEOF
27015 /* end confdefs.h. */
27016
27017 #ifdef HAVE_WCHAR_H
27018 # ifdef __CYGWIN__
27019 # include <stddef.h>
27020 # endif
27021 # include <wchar.h>
27022 #endif
27023 #ifdef HAVE_STDLIB_H
27024 # include <stdlib.h>
27025 #endif
27026 #include <stdio.h>
27027 #include <string>
27028
27029 int
27030 main ()
27031 {
27032 std::basic_string<$char_type> foo;
27033 const $char_type* dummy = foo.c_str();
27034 ;
27035 return 0;
27036 }
27037 _ACEOF
27038 rm -f conftest.$ac_objext
27039 if { (ac_try="$ac_compile"
27040 case "(($ac_try" in
27041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27042 *) ac_try_echo=$ac_try;;
27043 esac
27044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27045 (eval "$ac_compile") 2>conftest.er1
27046 ac_status=$?
27047 grep -v '^ *+' conftest.er1 >conftest.err
27048 rm -f conftest.er1
27049 cat conftest.err >&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } && {
27052 test -z "$ac_cxx_werror_flag" ||
27053 test ! -s conftest.err
27054 } && test -s conftest.$ac_objext; then
27055 wx_cv_class_stdbasicstring=yes
27056 else
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27059
27060 wx_cv_class_stdbasicstring=no
27061
27062 fi
27063
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065
27066
27067 fi
27068 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27069 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27070
27071 if test "$wx_cv_class_stdbasicstring" != yes; then
27072 if test "$wxUSE_STL" = "yes"; then
27073 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27074 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27075 { (exit 1); exit 1; }; }
27076 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27077 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27078 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27079 { (exit 1); exit 1; }; }
27080 else
27081 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27082 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27083 wxUSE_STD_STRING=no
27084 fi
27085 fi
27086 fi
27087 fi
27088
27089 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27090 { echo "$as_me:$LINENO: checking for std::istream" >&5
27091 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27092 if test "${ac_cv_type_std__istream+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27094 else
27095 cat >conftest.$ac_ext <<_ACEOF
27096 /* confdefs.h. */
27097 _ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27101 #include <iostream>
27102
27103 typedef std::istream ac__type_new_;
27104 int
27105 main ()
27106 {
27107 if ((ac__type_new_ *) 0)
27108 return 0;
27109 if (sizeof (ac__type_new_))
27110 return 0;
27111 ;
27112 return 0;
27113 }
27114 _ACEOF
27115 rm -f conftest.$ac_objext
27116 if { (ac_try="$ac_compile"
27117 case "(($ac_try" in
27118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27119 *) ac_try_echo=$ac_try;;
27120 esac
27121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27122 (eval "$ac_compile") 2>conftest.er1
27123 ac_status=$?
27124 grep -v '^ *+' conftest.er1 >conftest.err
27125 rm -f conftest.er1
27126 cat conftest.err >&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); } && {
27129 test -z "$ac_cxx_werror_flag" ||
27130 test ! -s conftest.err
27131 } && test -s conftest.$ac_objext; then
27132 ac_cv_type_std__istream=yes
27133 else
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27136
27137 ac_cv_type_std__istream=no
27138 fi
27139
27140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27141 fi
27142 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27143 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27144 if test $ac_cv_type_std__istream = yes; then
27145
27146 cat >>confdefs.h <<_ACEOF
27147 #define HAVE_STD__ISTREAM 1
27148 _ACEOF
27149
27150
27151 else
27152 wxUSE_STD_IOSTREAM=no
27153 fi
27154 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27155 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27156 if test "${ac_cv_type_std__ostream+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 else
27159 cat >conftest.$ac_ext <<_ACEOF
27160 /* confdefs.h. */
27161 _ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h. */
27165 #include <iostream>
27166
27167 typedef std::ostream ac__type_new_;
27168 int
27169 main ()
27170 {
27171 if ((ac__type_new_ *) 0)
27172 return 0;
27173 if (sizeof (ac__type_new_))
27174 return 0;
27175 ;
27176 return 0;
27177 }
27178 _ACEOF
27179 rm -f conftest.$ac_objext
27180 if { (ac_try="$ac_compile"
27181 case "(($ac_try" in
27182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27183 *) ac_try_echo=$ac_try;;
27184 esac
27185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27186 (eval "$ac_compile") 2>conftest.er1
27187 ac_status=$?
27188 grep -v '^ *+' conftest.er1 >conftest.err
27189 rm -f conftest.er1
27190 cat conftest.err >&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } && {
27193 test -z "$ac_cxx_werror_flag" ||
27194 test ! -s conftest.err
27195 } && test -s conftest.$ac_objext; then
27196 ac_cv_type_std__ostream=yes
27197 else
27198 echo "$as_me: failed program was:" >&5
27199 sed 's/^/| /' conftest.$ac_ext >&5
27200
27201 ac_cv_type_std__ostream=no
27202 fi
27203
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27205 fi
27206 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27207 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27208 if test $ac_cv_type_std__ostream = yes; then
27209
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE_STD__OSTREAM 1
27212 _ACEOF
27213
27214
27215 else
27216 wxUSE_STD_IOSTREAM=no
27217 fi
27218
27219
27220 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27221 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27222 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27223 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27224 { (exit 1); exit 1; }; }
27225 else
27226 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27227 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27228 fi
27229 fi
27230 fi
27231
27232 if test "$wxUSE_STL" = "yes"; then
27233 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27234 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27235 if test "${wx_cv_lib_stl+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 else
27238 cat >conftest.$ac_ext <<_ACEOF
27239 /* confdefs.h. */
27240 _ACEOF
27241 cat confdefs.h >>conftest.$ac_ext
27242 cat >>conftest.$ac_ext <<_ACEOF
27243 /* end confdefs.h. */
27244 #include <string>
27245 #include <functional>
27246 #include <algorithm>
27247 #include <vector>
27248 #include <list>
27249 int
27250 main ()
27251 {
27252 std::vector<int> moo;
27253 std::list<int> foo;
27254 std::vector<int>::iterator it =
27255 std::find_if(moo.begin(), moo.end(),
27256 std::bind2nd(std::less<int>(), 3));
27257 ;
27258 return 0;
27259 }
27260 _ACEOF
27261 rm -f conftest.$ac_objext
27262 if { (ac_try="$ac_compile"
27263 case "(($ac_try" in
27264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27265 *) ac_try_echo=$ac_try;;
27266 esac
27267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27268 (eval "$ac_compile") 2>conftest.er1
27269 ac_status=$?
27270 grep -v '^ *+' conftest.er1 >conftest.err
27271 rm -f conftest.er1
27272 cat conftest.err >&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } && {
27275 test -z "$ac_cxx_werror_flag" ||
27276 test ! -s conftest.err
27277 } && test -s conftest.$ac_objext; then
27278 wx_cv_lib_stl=yes
27279 else
27280 echo "$as_me: failed program was:" >&5
27281 sed 's/^/| /' conftest.$ac_ext >&5
27282
27283 wx_cv_lib_stl=no
27284
27285 fi
27286
27287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27288
27289 fi
27290 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27291 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27292
27293 if test "$wx_cv_lib_stl" != yes; then
27294 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27295 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27296 { (exit 1); exit 1; }; }
27297 fi
27298
27299 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27300 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27301 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 else
27304 cat >conftest.$ac_ext <<_ACEOF
27305 /* confdefs.h. */
27306 _ACEOF
27307 cat confdefs.h >>conftest.$ac_ext
27308 cat >>conftest.$ac_ext <<_ACEOF
27309 /* end confdefs.h. */
27310 #include <string>
27311 int
27312 main ()
27313 {
27314 std::string foo, bar;
27315 foo.compare(bar);
27316 foo.compare(1, 1, bar);
27317 foo.compare(1, 1, bar, 1, 1);
27318 foo.compare("");
27319 foo.compare(1, 1, "");
27320 foo.compare(1, 1, "", 2);
27321 ;
27322 return 0;
27323 }
27324 _ACEOF
27325 rm -f conftest.$ac_objext
27326 if { (ac_try="$ac_compile"
27327 case "(($ac_try" in
27328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27329 *) ac_try_echo=$ac_try;;
27330 esac
27331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27332 (eval "$ac_compile") 2>conftest.er1
27333 ac_status=$?
27334 grep -v '^ *+' conftest.er1 >conftest.err
27335 rm -f conftest.er1
27336 cat conftest.err >&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } && {
27339 test -z "$ac_cxx_werror_flag" ||
27340 test ! -s conftest.err
27341 } && test -s conftest.$ac_objext; then
27342 wx_cv_func_stdstring_compare=yes
27343 else
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27346
27347 wx_cv_func_stdstring_compare=no
27348
27349 fi
27350
27351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27352
27353 fi
27354 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27355 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27356
27357 if test "$wx_cv_func_stdstring_compare" = yes; then
27358 cat >>confdefs.h <<\_ACEOF
27359 #define HAVE_STD_STRING_COMPARE 1
27360 _ACEOF
27361
27362 fi
27363
27364 { echo "$as_me:$LINENO: checking for hash_map" >&5
27365 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27366 if test "${ac_cv_header_hash_map+set}" = set; then
27367 echo $ECHO_N "(cached) $ECHO_C" >&6
27368 else
27369 cat >conftest.$ac_ext <<_ACEOF
27370 /* confdefs.h. */
27371 _ACEOF
27372 cat confdefs.h >>conftest.$ac_ext
27373 cat >>conftest.$ac_ext <<_ACEOF
27374 /* end confdefs.h. */
27375
27376
27377
27378 #include <hash_map>
27379 _ACEOF
27380 rm -f conftest.$ac_objext
27381 if { (ac_try="$ac_compile"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27385 esac
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_compile") 2>conftest.er1
27388 ac_status=$?
27389 grep -v '^ *+' conftest.er1 >conftest.err
27390 rm -f conftest.er1
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_cxx_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest.$ac_objext; then
27397 ac_cv_header_hash_map=yes
27398 else
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.$ac_ext >&5
27401
27402 ac_cv_header_hash_map=no
27403 fi
27404
27405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27406 fi
27407 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27408 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27409 if test $ac_cv_header_hash_map = yes; then
27410 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27411 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27412 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27413 echo $ECHO_N "(cached) $ECHO_C" >&6
27414 else
27415 cat >conftest.$ac_ext <<_ACEOF
27416 /* confdefs.h. */
27417 _ACEOF
27418 cat confdefs.h >>conftest.$ac_ext
27419 cat >>conftest.$ac_ext <<_ACEOF
27420 /* end confdefs.h. */
27421 #include <hash_map>
27422 #include <hash_set>
27423 int
27424 main ()
27425 {
27426 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27427 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27428 ;
27429 return 0;
27430 }
27431 _ACEOF
27432 rm -f conftest.$ac_objext
27433 if { (ac_try="$ac_compile"
27434 case "(($ac_try" in
27435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27436 *) ac_try_echo=$ac_try;;
27437 esac
27438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27439 (eval "$ac_compile") 2>conftest.er1
27440 ac_status=$?
27441 grep -v '^ *+' conftest.er1 >conftest.err
27442 rm -f conftest.er1
27443 cat conftest.err >&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } && {
27446 test -z "$ac_cxx_werror_flag" ||
27447 test ! -s conftest.err
27448 } && test -s conftest.$ac_objext; then
27449 wx_cv_class_stdhashmapset=yes
27450 else
27451 echo "$as_me: failed program was:" >&5
27452 sed 's/^/| /' conftest.$ac_ext >&5
27453
27454 wx_cv_class_stdhashmapset=no
27455 fi
27456
27457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27458
27459
27460 fi
27461 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27462 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27463 fi
27464
27465
27466
27467 if test "$wx_cv_class_stdhashmapset" = yes; then
27468 cat >>confdefs.h <<\_ACEOF
27469 #define HAVE_HASH_MAP 1
27470 _ACEOF
27471
27472 cat >>confdefs.h <<\_ACEOF
27473 #define HAVE_STD_HASH_MAP 1
27474 _ACEOF
27475
27476 fi
27477
27478 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27479 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27480 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27482 else
27483 cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489
27490
27491
27492 #include <ext/hash_map>
27493 _ACEOF
27494 rm -f conftest.$ac_objext
27495 if { (ac_try="$ac_compile"
27496 case "(($ac_try" in
27497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27498 *) ac_try_echo=$ac_try;;
27499 esac
27500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27501 (eval "$ac_compile") 2>conftest.er1
27502 ac_status=$?
27503 grep -v '^ *+' conftest.er1 >conftest.err
27504 rm -f conftest.er1
27505 cat conftest.err >&5
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); } && {
27508 test -z "$ac_cxx_werror_flag" ||
27509 test ! -s conftest.err
27510 } && test -s conftest.$ac_objext; then
27511 ac_cv_header_ext_hash_map=yes
27512 else
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.$ac_ext >&5
27515
27516 ac_cv_header_ext_hash_map=no
27517 fi
27518
27519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27520 fi
27521 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27522 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27523 if test $ac_cv_header_ext_hash_map = yes; then
27524 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27525 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27526 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27527 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 else
27529 cat >conftest.$ac_ext <<_ACEOF
27530 /* confdefs.h. */
27531 _ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27535 #include <ext/hash_map>
27536 #include <ext/hash_set>
27537 int
27538 main ()
27539 {
27540 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27541 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27542 ;
27543 return 0;
27544 }
27545 _ACEOF
27546 rm -f conftest.$ac_objext
27547 if { (ac_try="$ac_compile"
27548 case "(($ac_try" in
27549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27550 *) ac_try_echo=$ac_try;;
27551 esac
27552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27553 (eval "$ac_compile") 2>conftest.er1
27554 ac_status=$?
27555 grep -v '^ *+' conftest.er1 >conftest.err
27556 rm -f conftest.er1
27557 cat conftest.err >&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } && {
27560 test -z "$ac_cxx_werror_flag" ||
27561 test ! -s conftest.err
27562 } && test -s conftest.$ac_objext; then
27563 wx_cv_class_gnuhashmapset=yes
27564 else
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27567
27568 wx_cv_class_gnuhashmapset=no
27569 fi
27570
27571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27572
27573
27574 fi
27575 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27576 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27577 fi
27578
27579
27580
27581 if test "$wx_cv_class_gnuhashmapset" = yes; then
27582 cat >>confdefs.h <<\_ACEOF
27583 #define HAVE_EXT_HASH_MAP 1
27584 _ACEOF
27585
27586 cat >>confdefs.h <<\_ACEOF
27587 #define HAVE_GNU_CXX_HASH_MAP 1
27588 _ACEOF
27589
27590 fi
27591 fi
27592
27593
27594
27595 if test -n "$GCC"; then
27596 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27597 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27598 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27599 echo $ECHO_N "(cached) $ECHO_C" >&6
27600 else
27601
27602 cat >conftest.$ac_ext <<_ACEOF
27603 /* confdefs.h. */
27604 _ACEOF
27605 cat confdefs.h >>conftest.$ac_ext
27606 cat >>conftest.$ac_ext <<_ACEOF
27607 /* end confdefs.h. */
27608
27609 int
27610 main ()
27611 {
27612
27613 int value=0;
27614 __sync_fetch_and_add(&value, 1);
27615 __sync_sub_and_fetch(&value, 1);
27616
27617 ;
27618 return 0;
27619 }
27620 _ACEOF
27621 rm -f conftest.$ac_objext
27622 if { (ac_try="$ac_compile"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27626 esac
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_compile") 2>conftest.er1
27629 ac_status=$?
27630 grep -v '^ *+' conftest.er1 >conftest.err
27631 rm -f conftest.er1
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } && {
27635 test -z "$ac_cxx_werror_flag" ||
27636 test ! -s conftest.err
27637 } && test -s conftest.$ac_objext; then
27638 wx_cv_cc_gcc_atomic_builtins=yes
27639 else
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27642
27643 wx_cv_cc_gcc_atomic_builtins=no
27644 fi
27645
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647
27648 fi
27649
27650 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27651 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27652 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27653 cat >>confdefs.h <<\_ACEOF
27654 #define HAVE_GCC_ATOMIC_BUILTINS 1
27655 _ACEOF
27656
27657 fi
27658 fi
27659
27660
27661 ac_ext=c
27662 ac_cpp='$CPP $CPPFLAGS'
27663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666
27667
27668
27669 SEARCH_INCLUDE="\
27670 /usr/local/include \
27671 \
27672 /usr/Motif-2.1/include \
27673 /usr/Motif-1.2/include \
27674 /usr/include/Motif1.2 \
27675 \
27676 /usr/dt/include \
27677 /usr/openwin/include \
27678 \
27679 /usr/include/Xm \
27680 \
27681 /usr/X11R6/include \
27682 /usr/X11R6.4/include \
27683 /usr/X11R5/include \
27684 /usr/X11R4/include \
27685 \
27686 /usr/include/X11R6 \
27687 /usr/include/X11R5 \
27688 /usr/include/X11R4 \
27689 \
27690 /usr/local/X11R6/include \
27691 /usr/local/X11R5/include \
27692 /usr/local/X11R4/include \
27693 \
27694 /usr/local/include/X11R6 \
27695 /usr/local/include/X11R5 \
27696 /usr/local/include/X11R4 \
27697 \
27698 /usr/X11/include \
27699 /usr/include/X11 \
27700 /usr/local/X11/include \
27701 /usr/local/include/X11 \
27702 \
27703 /usr/XFree86/include/X11 \
27704 /usr/pkg/include \
27705 \
27706 /usr/openwin/share/include"
27707
27708 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27709 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27710
27711 case "${host}" in
27712 *-*-irix6* )
27713 if test "${wx_cv_std_libpath+set}" = set; then
27714 echo $ECHO_N "(cached) $ECHO_C" >&6
27715 else
27716
27717 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27718 for e in a so sl dylib dll.a; do
27719 libc="$d/libc.$e"
27720 if test -f $libc; then
27721 save_LIBS="$LIBS"
27722 LIBS="$libc"
27723 cat >conftest.$ac_ext <<_ACEOF
27724 int main() { return 0; }
27725 _ACEOF
27726 rm -f conftest.$ac_objext conftest$ac_exeext
27727 if { (ac_try="$ac_link"
27728 case "(($ac_try" in
27729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27730 *) ac_try_echo=$ac_try;;
27731 esac
27732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27733 (eval "$ac_link") 2>conftest.er1
27734 ac_status=$?
27735 grep -v '^ *+' conftest.er1 >conftest.err
27736 rm -f conftest.er1
27737 cat conftest.err >&5
27738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27739 (exit $ac_status); } && {
27740 test -z "$ac_c_werror_flag" ||
27741 test ! -s conftest.err
27742 } && test -s conftest$ac_exeext &&
27743 $as_test_x conftest$ac_exeext; then
27744 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27745 else
27746 echo "$as_me: failed program was:" >&5
27747 sed 's/^/| /' conftest.$ac_ext >&5
27748
27749
27750 fi
27751
27752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27753 conftest$ac_exeext conftest.$ac_ext
27754 LIBS="$save_LIBS"
27755 if test "x$wx_cv_std_libpath" != "x"; then
27756 break 2
27757 fi
27758 fi
27759 done
27760 done
27761 if test "x$wx_cv_std_libpath" = "x"; then
27762 wx_cv_std_libpath="lib"
27763 fi
27764
27765
27766 fi
27767
27768 ;;
27769
27770 *-*-solaris2* )
27771 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27772 wx_cv_std_libpath="lib/64"
27773 else
27774 wx_cv_std_libpath="lib"
27775 fi
27776 ;;
27777
27778 *-*-linux* )
27779 if test "$ac_cv_sizeof_void_p" = 8 -a \
27780 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27781 wx_cv_std_libpath="lib64"
27782 else
27783 wx_cv_std_libpath="lib"
27784 fi
27785 ;;
27786
27787 *)
27788 wx_cv_std_libpath="lib";
27789 ;;
27790 esac
27791
27792 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27793 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27794
27795 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27796
27797 if test "$build" != "$host" -a "$GCC" = yes; then
27798 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27799 cross_root=`dirname $cross_root`
27800 cross_root=`dirname $cross_root`
27801
27802 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27803 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27804 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27805
27806 if test -z "$PKG_CONFIG_PATH"; then
27807 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27808 export PKG_CONFIG_PATH
27809 fi
27810
27811 if test -z "$x_includes" -o "$x_includes" = NONE; then
27812
27813 ac_find_includes=
27814 for ac_dir in $SEARCH_INCLUDE /usr/include;
27815 do
27816 if test -f "$ac_dir/X11/Intrinsic.h"; then
27817 ac_find_includes=$ac_dir
27818 break
27819 fi
27820 done
27821
27822 x_includes=$ac_find_includes
27823 fi
27824 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27825
27826 ac_find_libraries=
27827 for ac_dir in $SEARCH_LIB;
27828 do
27829 for ac_extension in a so sl dylib dll.a; do
27830 if test -f "$ac_dir/libXt.$ac_extension"; then
27831 ac_find_libraries=$ac_dir
27832 break 2
27833 fi
27834 done
27835 done
27836
27837 x_libraries=$ac_find_libraries
27838 fi
27839 fi
27840 fi
27841
27842
27843 cat >confcache <<\_ACEOF
27844 # This file is a shell script that caches the results of configure
27845 # tests run on this system so they can be shared between configure
27846 # scripts and configure runs, see configure's option --config-cache.
27847 # It is not useful on other systems. If it contains results you don't
27848 # want to keep, you may remove or edit it.
27849 #
27850 # config.status only pays attention to the cache file if you give it
27851 # the --recheck option to rerun configure.
27852 #
27853 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27854 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27855 # following values.
27856
27857 _ACEOF
27858
27859 # The following way of writing the cache mishandles newlines in values,
27860 # but we know of no workaround that is simple, portable, and efficient.
27861 # So, we kill variables containing newlines.
27862 # Ultrix sh set writes to stderr and can't be redirected directly,
27863 # and sets the high bit in the cache file unless we assign to the vars.
27864 (
27865 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27866 eval ac_val=\$$ac_var
27867 case $ac_val in #(
27868 *${as_nl}*)
27869 case $ac_var in #(
27870 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27871 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27872 esac
27873 case $ac_var in #(
27874 _ | IFS | as_nl) ;; #(
27875 *) $as_unset $ac_var ;;
27876 esac ;;
27877 esac
27878 done
27879
27880 (set) 2>&1 |
27881 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27882 *${as_nl}ac_space=\ *)
27883 # `set' does not quote correctly, so add quotes (double-quote
27884 # substitution turns \\\\ into \\, and sed turns \\ into \).
27885 sed -n \
27886 "s/'/'\\\\''/g;
27887 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27888 ;; #(
27889 *)
27890 # `set' quotes correctly as required by POSIX, so do not add quotes.
27891 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27892 ;;
27893 esac |
27894 sort
27895 ) |
27896 sed '
27897 /^ac_cv_env_/b end
27898 t clear
27899 :clear
27900 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27901 t end
27902 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27903 :end' >>confcache
27904 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27905 if test -w "$cache_file"; then
27906 test "x$cache_file" != "x/dev/null" &&
27907 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27908 echo "$as_me: updating cache $cache_file" >&6;}
27909 cat confcache >$cache_file
27910 else
27911 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27912 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27913 fi
27914 fi
27915 rm -f confcache
27916
27917 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27918 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27919 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27920 if test "${wx_cv_lib_glibc21+set}" = set; then
27921 echo $ECHO_N "(cached) $ECHO_C" >&6
27922 else
27923
27924 cat >conftest.$ac_ext <<_ACEOF
27925 /* confdefs.h. */
27926 _ACEOF
27927 cat confdefs.h >>conftest.$ac_ext
27928 cat >>conftest.$ac_ext <<_ACEOF
27929 /* end confdefs.h. */
27930 #include <features.h>
27931 int
27932 main ()
27933 {
27934
27935 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27936 not glibc 2.1
27937 #endif
27938
27939 ;
27940 return 0;
27941 }
27942 _ACEOF
27943 rm -f conftest.$ac_objext
27944 if { (ac_try="$ac_compile"
27945 case "(($ac_try" in
27946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27947 *) ac_try_echo=$ac_try;;
27948 esac
27949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27950 (eval "$ac_compile") 2>conftest.er1
27951 ac_status=$?
27952 grep -v '^ *+' conftest.er1 >conftest.err
27953 rm -f conftest.er1
27954 cat conftest.err >&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } && {
27957 test -z "$ac_c_werror_flag" ||
27958 test ! -s conftest.err
27959 } && test -s conftest.$ac_objext; then
27960
27961 wx_cv_lib_glibc21=yes
27962
27963 else
27964 echo "$as_me: failed program was:" >&5
27965 sed 's/^/| /' conftest.$ac_ext >&5
27966
27967
27968 wx_cv_lib_glibc21=no
27969
27970
27971 fi
27972
27973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27974
27975 fi
27976 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27977 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27978 if test "$wx_cv_lib_glibc21" = "yes"; then
27979 cat >>confdefs.h <<\_ACEOF
27980 #define wxHAVE_GLIBC2 1
27981 _ACEOF
27982
27983 fi
27984 fi
27985
27986 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27987 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27988 cat >>confdefs.h <<\_ACEOF
27989 #define _GNU_SOURCE 1
27990 _ACEOF
27991
27992 fi
27993 fi
27994
27995 have_cos=0
27996 have_floor=0
27997
27998 for ac_func in cos
27999 do
28000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28001 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28003 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006 cat >conftest.$ac_ext <<_ACEOF
28007 /* confdefs.h. */
28008 _ACEOF
28009 cat confdefs.h >>conftest.$ac_ext
28010 cat >>conftest.$ac_ext <<_ACEOF
28011 /* end confdefs.h. */
28012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28014 #define $ac_func innocuous_$ac_func
28015
28016 /* System header to define __stub macros and hopefully few prototypes,
28017 which can conflict with char $ac_func (); below.
28018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28019 <limits.h> exists even on freestanding compilers. */
28020
28021 #ifdef __STDC__
28022 # include <limits.h>
28023 #else
28024 # include <assert.h>
28025 #endif
28026
28027 #undef $ac_func
28028
28029 /* Override any GCC internal prototype to avoid an error.
28030 Use char because int might match the return type of a GCC
28031 builtin and then its argument prototype would still apply. */
28032 #ifdef __cplusplus
28033 extern "C"
28034 #endif
28035 char $ac_func ();
28036 /* The GNU C library defines this for functions which it implements
28037 to always fail with ENOSYS. Some functions are actually named
28038 something starting with __ and the normal name is an alias. */
28039 #if defined __stub_$ac_func || defined __stub___$ac_func
28040 choke me
28041 #endif
28042
28043 int
28044 main ()
28045 {
28046 return $ac_func ();
28047 ;
28048 return 0;
28049 }
28050 _ACEOF
28051 rm -f conftest.$ac_objext conftest$ac_exeext
28052 if { (ac_try="$ac_link"
28053 case "(($ac_try" in
28054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28055 *) ac_try_echo=$ac_try;;
28056 esac
28057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28058 (eval "$ac_link") 2>conftest.er1
28059 ac_status=$?
28060 grep -v '^ *+' conftest.er1 >conftest.err
28061 rm -f conftest.er1
28062 cat conftest.err >&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); } && {
28065 test -z "$ac_c_werror_flag" ||
28066 test ! -s conftest.err
28067 } && test -s conftest$ac_exeext &&
28068 $as_test_x conftest$ac_exeext; then
28069 eval "$as_ac_var=yes"
28070 else
28071 echo "$as_me: failed program was:" >&5
28072 sed 's/^/| /' conftest.$ac_ext >&5
28073
28074 eval "$as_ac_var=no"
28075 fi
28076
28077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28078 conftest$ac_exeext conftest.$ac_ext
28079 fi
28080 ac_res=`eval echo '${'$as_ac_var'}'`
28081 { echo "$as_me:$LINENO: result: $ac_res" >&5
28082 echo "${ECHO_T}$ac_res" >&6; }
28083 if test `eval echo '${'$as_ac_var'}'` = yes; then
28084 cat >>confdefs.h <<_ACEOF
28085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28086 _ACEOF
28087 have_cos=1
28088 fi
28089 done
28090
28091
28092 for ac_func in floor
28093 do
28094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28095 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28097 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28098 echo $ECHO_N "(cached) $ECHO_C" >&6
28099 else
28100 cat >conftest.$ac_ext <<_ACEOF
28101 /* confdefs.h. */
28102 _ACEOF
28103 cat confdefs.h >>conftest.$ac_ext
28104 cat >>conftest.$ac_ext <<_ACEOF
28105 /* end confdefs.h. */
28106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28108 #define $ac_func innocuous_$ac_func
28109
28110 /* System header to define __stub macros and hopefully few prototypes,
28111 which can conflict with char $ac_func (); below.
28112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28113 <limits.h> exists even on freestanding compilers. */
28114
28115 #ifdef __STDC__
28116 # include <limits.h>
28117 #else
28118 # include <assert.h>
28119 #endif
28120
28121 #undef $ac_func
28122
28123 /* Override any GCC internal prototype to avoid an error.
28124 Use char because int might match the return type of a GCC
28125 builtin and then its argument prototype would still apply. */
28126 #ifdef __cplusplus
28127 extern "C"
28128 #endif
28129 char $ac_func ();
28130 /* The GNU C library defines this for functions which it implements
28131 to always fail with ENOSYS. Some functions are actually named
28132 something starting with __ and the normal name is an alias. */
28133 #if defined __stub_$ac_func || defined __stub___$ac_func
28134 choke me
28135 #endif
28136
28137 int
28138 main ()
28139 {
28140 return $ac_func ();
28141 ;
28142 return 0;
28143 }
28144 _ACEOF
28145 rm -f conftest.$ac_objext conftest$ac_exeext
28146 if { (ac_try="$ac_link"
28147 case "(($ac_try" in
28148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28149 *) ac_try_echo=$ac_try;;
28150 esac
28151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28152 (eval "$ac_link") 2>conftest.er1
28153 ac_status=$?
28154 grep -v '^ *+' conftest.er1 >conftest.err
28155 rm -f conftest.er1
28156 cat conftest.err >&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); } && {
28159 test -z "$ac_c_werror_flag" ||
28160 test ! -s conftest.err
28161 } && test -s conftest$ac_exeext &&
28162 $as_test_x conftest$ac_exeext; then
28163 eval "$as_ac_var=yes"
28164 else
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.$ac_ext >&5
28167
28168 eval "$as_ac_var=no"
28169 fi
28170
28171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28172 conftest$ac_exeext conftest.$ac_ext
28173 fi
28174 ac_res=`eval echo '${'$as_ac_var'}'`
28175 { echo "$as_me:$LINENO: result: $ac_res" >&5
28176 echo "${ECHO_T}$ac_res" >&6; }
28177 if test `eval echo '${'$as_ac_var'}'` = yes; then
28178 cat >>confdefs.h <<_ACEOF
28179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28180 _ACEOF
28181 have_floor=1
28182 fi
28183 done
28184
28185 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28186 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28187 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28188 { echo "$as_me:$LINENO: result: yes" >&5
28189 echo "${ECHO_T}yes" >&6; }
28190 else
28191 { echo "$as_me:$LINENO: result: no" >&5
28192 echo "${ECHO_T}no" >&6; }
28193 LIBS="$LIBS -lm"
28194 # use different functions to avoid configure caching
28195 have_sin=0
28196 have_ceil=0
28197
28198 for ac_func in sin
28199 do
28200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28204 echo $ECHO_N "(cached) $ECHO_C" >&6
28205 else
28206 cat >conftest.$ac_ext <<_ACEOF
28207 /* confdefs.h. */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28214 #define $ac_func innocuous_$ac_func
28215
28216 /* System header to define __stub macros and hopefully few prototypes,
28217 which can conflict with char $ac_func (); below.
28218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28219 <limits.h> exists even on freestanding compilers. */
28220
28221 #ifdef __STDC__
28222 # include <limits.h>
28223 #else
28224 # include <assert.h>
28225 #endif
28226
28227 #undef $ac_func
28228
28229 /* Override any GCC internal prototype to avoid an error.
28230 Use char because int might match the return type of a GCC
28231 builtin and then its argument prototype would still apply. */
28232 #ifdef __cplusplus
28233 extern "C"
28234 #endif
28235 char $ac_func ();
28236 /* The GNU C library defines this for functions which it implements
28237 to always fail with ENOSYS. Some functions are actually named
28238 something starting with __ and the normal name is an alias. */
28239 #if defined __stub_$ac_func || defined __stub___$ac_func
28240 choke me
28241 #endif
28242
28243 int
28244 main ()
28245 {
28246 return $ac_func ();
28247 ;
28248 return 0;
28249 }
28250 _ACEOF
28251 rm -f conftest.$ac_objext conftest$ac_exeext
28252 if { (ac_try="$ac_link"
28253 case "(($ac_try" in
28254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28255 *) ac_try_echo=$ac_try;;
28256 esac
28257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28258 (eval "$ac_link") 2>conftest.er1
28259 ac_status=$?
28260 grep -v '^ *+' conftest.er1 >conftest.err
28261 rm -f conftest.er1
28262 cat conftest.err >&5
28263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28264 (exit $ac_status); } && {
28265 test -z "$ac_c_werror_flag" ||
28266 test ! -s conftest.err
28267 } && test -s conftest$ac_exeext &&
28268 $as_test_x conftest$ac_exeext; then
28269 eval "$as_ac_var=yes"
28270 else
28271 echo "$as_me: failed program was:" >&5
28272 sed 's/^/| /' conftest.$ac_ext >&5
28273
28274 eval "$as_ac_var=no"
28275 fi
28276
28277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28278 conftest$ac_exeext conftest.$ac_ext
28279 fi
28280 ac_res=`eval echo '${'$as_ac_var'}'`
28281 { echo "$as_me:$LINENO: result: $ac_res" >&5
28282 echo "${ECHO_T}$ac_res" >&6; }
28283 if test `eval echo '${'$as_ac_var'}'` = yes; then
28284 cat >>confdefs.h <<_ACEOF
28285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28286 _ACEOF
28287 have_sin=1
28288 fi
28289 done
28290
28291
28292 for ac_func in ceil
28293 do
28294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28298 echo $ECHO_N "(cached) $ECHO_C" >&6
28299 else
28300 cat >conftest.$ac_ext <<_ACEOF
28301 /* confdefs.h. */
28302 _ACEOF
28303 cat confdefs.h >>conftest.$ac_ext
28304 cat >>conftest.$ac_ext <<_ACEOF
28305 /* end confdefs.h. */
28306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28308 #define $ac_func innocuous_$ac_func
28309
28310 /* System header to define __stub macros and hopefully few prototypes,
28311 which can conflict with char $ac_func (); below.
28312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28313 <limits.h> exists even on freestanding compilers. */
28314
28315 #ifdef __STDC__
28316 # include <limits.h>
28317 #else
28318 # include <assert.h>
28319 #endif
28320
28321 #undef $ac_func
28322
28323 /* Override any GCC internal prototype to avoid an error.
28324 Use char because int might match the return type of a GCC
28325 builtin and then its argument prototype would still apply. */
28326 #ifdef __cplusplus
28327 extern "C"
28328 #endif
28329 char $ac_func ();
28330 /* The GNU C library defines this for functions which it implements
28331 to always fail with ENOSYS. Some functions are actually named
28332 something starting with __ and the normal name is an alias. */
28333 #if defined __stub_$ac_func || defined __stub___$ac_func
28334 choke me
28335 #endif
28336
28337 int
28338 main ()
28339 {
28340 return $ac_func ();
28341 ;
28342 return 0;
28343 }
28344 _ACEOF
28345 rm -f conftest.$ac_objext conftest$ac_exeext
28346 if { (ac_try="$ac_link"
28347 case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28350 esac
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_link") 2>conftest.er1
28353 ac_status=$?
28354 grep -v '^ *+' conftest.er1 >conftest.err
28355 rm -f conftest.er1
28356 cat conftest.err >&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); } && {
28359 test -z "$ac_c_werror_flag" ||
28360 test ! -s conftest.err
28361 } && test -s conftest$ac_exeext &&
28362 $as_test_x conftest$ac_exeext; then
28363 eval "$as_ac_var=yes"
28364 else
28365 echo "$as_me: failed program was:" >&5
28366 sed 's/^/| /' conftest.$ac_ext >&5
28367
28368 eval "$as_ac_var=no"
28369 fi
28370
28371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28372 conftest$ac_exeext conftest.$ac_ext
28373 fi
28374 ac_res=`eval echo '${'$as_ac_var'}'`
28375 { echo "$as_me:$LINENO: result: $ac_res" >&5
28376 echo "${ECHO_T}$ac_res" >&6; }
28377 if test `eval echo '${'$as_ac_var'}'` = yes; then
28378 cat >>confdefs.h <<_ACEOF
28379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28380 _ACEOF
28381 have_ceil=1
28382 fi
28383 done
28384
28385 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28386 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28387 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28388 { echo "$as_me:$LINENO: result: yes" >&5
28389 echo "${ECHO_T}yes" >&6; }
28390 else
28391 { echo "$as_me:$LINENO: result: no" >&5
28392 echo "${ECHO_T}no" >&6; }
28393 # not sure we should warn the user, crash, etc.
28394 fi
28395 fi
28396
28397 ac_ext=cpp
28398 ac_cpp='$CXXCPP $CPPFLAGS'
28399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28402
28403 if test "wxUSE_UNICODE" = "yes"; then
28404
28405 for wx_func in wcstoull
28406 do
28407 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28408 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28409 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28411 else
28412
28413 cat >conftest.$ac_ext <<_ACEOF
28414
28415 /* confdefs.h. */
28416 _ACEOF
28417 cat confdefs.h >>conftest.$ac_ext
28418 cat >>conftest.$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28420
28421
28422 $ac_includes_default
28423
28424 int
28425 main ()
28426 {
28427
28428 #ifndef $wx_func
28429 &$wx_func;
28430 #endif
28431
28432
28433 ;
28434 return 0;
28435 }
28436
28437 _ACEOF
28438 rm -f conftest.$ac_objext conftest$ac_exeext
28439 if { (ac_try="$ac_link"
28440 case "(($ac_try" in
28441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28442 *) ac_try_echo=$ac_try;;
28443 esac
28444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28445 (eval "$ac_link") 2>conftest.er1
28446 ac_status=$?
28447 grep -v '^ *+' conftest.er1 >conftest.err
28448 rm -f conftest.er1
28449 cat conftest.err >&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } && {
28452 test -z "$ac_cxx_werror_flag" ||
28453 test ! -s conftest.err
28454 } && test -s conftest$ac_exeext &&
28455 $as_test_x conftest$ac_exeext; then
28456 eval wx_cv_func_$wx_func=yes
28457 else
28458 echo "$as_me: failed program was:" >&5
28459 sed 's/^/| /' conftest.$ac_ext >&5
28460
28461 eval wx_cv_func_$wx_func=no
28462 fi
28463
28464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28465 conftest$ac_exeext conftest.$ac_ext
28466
28467 fi
28468 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28469 { echo "$as_me:$LINENO: result: $ac_res" >&5
28470 echo "${ECHO_T}$ac_res" >&6; }
28471
28472 if eval test \$wx_cv_func_$wx_func = yes
28473 then
28474 cat >>confdefs.h <<_ACEOF
28475 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28476 _ACEOF
28477
28478
28479 else
28480 :
28481
28482 fi
28483 done
28484
28485 else
28486
28487 for wx_func in strtoull
28488 do
28489 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28490 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28491 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28493 else
28494
28495 cat >conftest.$ac_ext <<_ACEOF
28496
28497 /* confdefs.h. */
28498 _ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28502
28503
28504 $ac_includes_default
28505
28506 int
28507 main ()
28508 {
28509
28510 #ifndef $wx_func
28511 &$wx_func;
28512 #endif
28513
28514
28515 ;
28516 return 0;
28517 }
28518
28519 _ACEOF
28520 rm -f conftest.$ac_objext conftest$ac_exeext
28521 if { (ac_try="$ac_link"
28522 case "(($ac_try" in
28523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28524 *) ac_try_echo=$ac_try;;
28525 esac
28526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28527 (eval "$ac_link") 2>conftest.er1
28528 ac_status=$?
28529 grep -v '^ *+' conftest.er1 >conftest.err
28530 rm -f conftest.er1
28531 cat conftest.err >&5
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); } && {
28534 test -z "$ac_cxx_werror_flag" ||
28535 test ! -s conftest.err
28536 } && test -s conftest$ac_exeext &&
28537 $as_test_x conftest$ac_exeext; then
28538 eval wx_cv_func_$wx_func=yes
28539 else
28540 echo "$as_me: failed program was:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28542
28543 eval wx_cv_func_$wx_func=no
28544 fi
28545
28546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28547 conftest$ac_exeext conftest.$ac_ext
28548
28549 fi
28550 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28551 { echo "$as_me:$LINENO: result: $ac_res" >&5
28552 echo "${ECHO_T}$ac_res" >&6; }
28553
28554 if eval test \$wx_cv_func_$wx_func = yes
28555 then
28556 cat >>confdefs.h <<_ACEOF
28557 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28558 _ACEOF
28559
28560
28561 else
28562 :
28563
28564 fi
28565 done
28566
28567 fi
28568 ac_ext=c
28569 ac_cpp='$CPP $CPPFLAGS'
28570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28573
28574
28575
28576
28577 if test "$wxUSE_REGEX" != "no"; then
28578 cat >>confdefs.h <<\_ACEOF
28579 #define wxUSE_REGEX 1
28580 _ACEOF
28581
28582
28583 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28584 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28585 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28586 wxUSE_REGEX=builtin
28587 fi
28588
28589 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28590 { echo "$as_me:$LINENO: checking for regex.h" >&5
28591 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28592 if test "${ac_cv_header_regex_h+set}" = set; then
28593 echo $ECHO_N "(cached) $ECHO_C" >&6
28594 else
28595 cat >conftest.$ac_ext <<_ACEOF
28596 /* confdefs.h. */
28597 _ACEOF
28598 cat confdefs.h >>conftest.$ac_ext
28599 cat >>conftest.$ac_ext <<_ACEOF
28600 /* end confdefs.h. */
28601
28602
28603 #include <regex.h>
28604 _ACEOF
28605 rm -f conftest.$ac_objext
28606 if { (ac_try="$ac_compile"
28607 case "(($ac_try" in
28608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28609 *) ac_try_echo=$ac_try;;
28610 esac
28611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28612 (eval "$ac_compile") 2>conftest.er1
28613 ac_status=$?
28614 grep -v '^ *+' conftest.er1 >conftest.err
28615 rm -f conftest.er1
28616 cat conftest.err >&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); } && {
28619 test -z "$ac_c_werror_flag" ||
28620 test ! -s conftest.err
28621 } && test -s conftest.$ac_objext; then
28622 ac_cv_header_regex_h=yes
28623 else
28624 echo "$as_me: failed program was:" >&5
28625 sed 's/^/| /' conftest.$ac_ext >&5
28626
28627 ac_cv_header_regex_h=no
28628 fi
28629
28630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28631 fi
28632 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28633 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28634 if test $ac_cv_header_regex_h = yes; then
28635
28636
28637 for ac_func in regcomp re_search
28638 do
28639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28643 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 else
28645 cat >conftest.$ac_ext <<_ACEOF
28646 /* confdefs.h. */
28647 _ACEOF
28648 cat confdefs.h >>conftest.$ac_ext
28649 cat >>conftest.$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28653 #define $ac_func innocuous_$ac_func
28654
28655 /* System header to define __stub macros and hopefully few prototypes,
28656 which can conflict with char $ac_func (); below.
28657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28658 <limits.h> exists even on freestanding compilers. */
28659
28660 #ifdef __STDC__
28661 # include <limits.h>
28662 #else
28663 # include <assert.h>
28664 #endif
28665
28666 #undef $ac_func
28667
28668 /* Override any GCC internal prototype to avoid an error.
28669 Use char because int might match the return type of a GCC
28670 builtin and then its argument prototype would still apply. */
28671 #ifdef __cplusplus
28672 extern "C"
28673 #endif
28674 char $ac_func ();
28675 /* The GNU C library defines this for functions which it implements
28676 to always fail with ENOSYS. Some functions are actually named
28677 something starting with __ and the normal name is an alias. */
28678 #if defined __stub_$ac_func || defined __stub___$ac_func
28679 choke me
28680 #endif
28681
28682 int
28683 main ()
28684 {
28685 return $ac_func ();
28686 ;
28687 return 0;
28688 }
28689 _ACEOF
28690 rm -f conftest.$ac_objext conftest$ac_exeext
28691 if { (ac_try="$ac_link"
28692 case "(($ac_try" in
28693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28694 *) ac_try_echo=$ac_try;;
28695 esac
28696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28697 (eval "$ac_link") 2>conftest.er1
28698 ac_status=$?
28699 grep -v '^ *+' conftest.er1 >conftest.err
28700 rm -f conftest.er1
28701 cat conftest.err >&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); } && {
28704 test -z "$ac_c_werror_flag" ||
28705 test ! -s conftest.err
28706 } && test -s conftest$ac_exeext &&
28707 $as_test_x conftest$ac_exeext; then
28708 eval "$as_ac_var=yes"
28709 else
28710 echo "$as_me: failed program was:" >&5
28711 sed 's/^/| /' conftest.$ac_ext >&5
28712
28713 eval "$as_ac_var=no"
28714 fi
28715
28716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28717 conftest$ac_exeext conftest.$ac_ext
28718 fi
28719 ac_res=`eval echo '${'$as_ac_var'}'`
28720 { echo "$as_me:$LINENO: result: $ac_res" >&5
28721 echo "${ECHO_T}$ac_res" >&6; }
28722 if test `eval echo '${'$as_ac_var'}'` = yes; then
28723 cat >>confdefs.h <<_ACEOF
28724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28725 _ACEOF
28726
28727 fi
28728 done
28729
28730 fi
28731
28732
28733
28734 if test "x$ac_cv_func_regcomp" != "xyes"; then
28735 if test "$wxUSE_REGEX" = "sys" ; then
28736 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28737 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28738 { (exit 1); exit 1; }; }
28739 else
28740 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28741 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28742 wxUSE_REGEX=builtin
28743 fi
28744 else
28745 wxUSE_REGEX=sys
28746 cat >>confdefs.h <<\_ACEOF
28747 #define WX_NO_REGEX_ADVANCED 1
28748 _ACEOF
28749
28750 fi
28751 fi
28752 fi
28753
28754
28755 ZLIB_LINK=
28756 if test "$wxUSE_ZLIB" != "no" ; then
28757 cat >>confdefs.h <<\_ACEOF
28758 #define wxUSE_ZLIB 1
28759 _ACEOF
28760
28761
28762 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28763 if test "$USE_DARWIN" = 1; then
28764 system_zlib_h_ok="yes"
28765 else
28766 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28767 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28768 if test "${ac_cv_header_zlib_h+set}" = set; then
28769 echo $ECHO_N "(cached) $ECHO_C" >&6
28770 else
28771 if test "$cross_compiling" = yes; then
28772 unset ac_cv_header_zlib_h
28773
28774 else
28775 cat >conftest.$ac_ext <<_ACEOF
28776 /* confdefs.h. */
28777 _ACEOF
28778 cat confdefs.h >>conftest.$ac_ext
28779 cat >>conftest.$ac_ext <<_ACEOF
28780 /* end confdefs.h. */
28781
28782 #include <zlib.h>
28783 #include <stdio.h>
28784
28785 int main()
28786 {
28787 FILE *f=fopen("conftestval", "w");
28788 if (!f) exit(1);
28789 fprintf(f, "%s",
28790 ZLIB_VERSION[0] == '1' &&
28791 (ZLIB_VERSION[2] > '1' ||
28792 (ZLIB_VERSION[2] == '1' &&
28793 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28794 exit(0);
28795 }
28796
28797 _ACEOF
28798 rm -f conftest$ac_exeext
28799 if { (ac_try="$ac_link"
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_link") 2>&5
28806 ac_status=$?
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28809 { (case "(($ac_try" in
28810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28811 *) ac_try_echo=$ac_try;;
28812 esac
28813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28814 (eval "$ac_try") 2>&5
28815 ac_status=$?
28816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28817 (exit $ac_status); }; }; then
28818 ac_cv_header_zlib_h=`cat conftestval`
28819 else
28820 echo "$as_me: program exited with status $ac_status" >&5
28821 echo "$as_me: failed program was:" >&5
28822 sed 's/^/| /' conftest.$ac_ext >&5
28823
28824 ( exit $ac_status )
28825 ac_cv_header_zlib_h=no
28826 fi
28827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28828 fi
28829
28830
28831
28832 fi
28833 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28834 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28835 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28836 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28837 if test "${ac_cv_header_zlib_h+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 else
28840 cat >conftest.$ac_ext <<_ACEOF
28841 /* confdefs.h. */
28842 _ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846
28847
28848 #include <zlib.h>
28849 _ACEOF
28850 rm -f conftest.$ac_objext
28851 if { (ac_try="$ac_compile"
28852 case "(($ac_try" in
28853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28854 *) ac_try_echo=$ac_try;;
28855 esac
28856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28857 (eval "$ac_compile") 2>conftest.er1
28858 ac_status=$?
28859 grep -v '^ *+' conftest.er1 >conftest.err
28860 rm -f conftest.er1
28861 cat conftest.err >&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } && {
28864 test -z "$ac_c_werror_flag" ||
28865 test ! -s conftest.err
28866 } && test -s conftest.$ac_objext; then
28867 ac_cv_header_zlib_h=yes
28868 else
28869 echo "$as_me: failed program was:" >&5
28870 sed 's/^/| /' conftest.$ac_ext >&5
28871
28872 ac_cv_header_zlib_h=no
28873 fi
28874
28875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28876 fi
28877 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28878 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28879
28880
28881
28882 system_zlib_h_ok=$ac_cv_header_zlib_h
28883 fi
28884
28885 if test "$system_zlib_h_ok" = "yes"; then
28886 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28887 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28888 if test "${ac_cv_lib_z_deflate+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891 ac_check_lib_save_LIBS=$LIBS
28892 LIBS="-lz $LIBS"
28893 cat >conftest.$ac_ext <<_ACEOF
28894 /* confdefs.h. */
28895 _ACEOF
28896 cat confdefs.h >>conftest.$ac_ext
28897 cat >>conftest.$ac_ext <<_ACEOF
28898 /* end confdefs.h. */
28899
28900 /* Override any GCC internal prototype to avoid an error.
28901 Use char because int might match the return type of a GCC
28902 builtin and then its argument prototype would still apply. */
28903 #ifdef __cplusplus
28904 extern "C"
28905 #endif
28906 char deflate ();
28907 int
28908 main ()
28909 {
28910 return deflate ();
28911 ;
28912 return 0;
28913 }
28914 _ACEOF
28915 rm -f conftest.$ac_objext conftest$ac_exeext
28916 if { (ac_try="$ac_link"
28917 case "(($ac_try" in
28918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28919 *) ac_try_echo=$ac_try;;
28920 esac
28921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28922 (eval "$ac_link") 2>conftest.er1
28923 ac_status=$?
28924 grep -v '^ *+' conftest.er1 >conftest.err
28925 rm -f conftest.er1
28926 cat conftest.err >&5
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); } && {
28929 test -z "$ac_c_werror_flag" ||
28930 test ! -s conftest.err
28931 } && test -s conftest$ac_exeext &&
28932 $as_test_x conftest$ac_exeext; then
28933 ac_cv_lib_z_deflate=yes
28934 else
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28937
28938 ac_cv_lib_z_deflate=no
28939 fi
28940
28941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28942 conftest$ac_exeext conftest.$ac_ext
28943 LIBS=$ac_check_lib_save_LIBS
28944 fi
28945 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28946 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28947 if test $ac_cv_lib_z_deflate = yes; then
28948 ZLIB_LINK=" -lz"
28949 fi
28950
28951 fi
28952
28953 if test "x$ZLIB_LINK" = "x" ; then
28954 if test "$wxUSE_ZLIB" = "sys" ; then
28955 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28956 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28957 { (exit 1); exit 1; }; }
28958 else
28959 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28960 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28961 wxUSE_ZLIB=builtin
28962 fi
28963 else
28964 wxUSE_ZLIB=sys
28965 fi
28966 fi
28967 fi
28968
28969
28970 PNG_LINK=
28971 if test "$wxUSE_LIBPNG" != "no" ; then
28972 cat >>confdefs.h <<\_ACEOF
28973 #define wxUSE_LIBPNG 1
28974 _ACEOF
28975
28976
28977 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28978 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28979 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28980 wxUSE_LIBPNG=sys
28981 fi
28982
28983 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28984 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28985 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28986 wxUSE_LIBPNG=builtin
28987 fi
28988
28989 if test "$wxUSE_MGL" != 1 ; then
28990 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28991 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28992 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28993 if test "${ac_cv_header_png_h+set}" = set; then
28994 echo $ECHO_N "(cached) $ECHO_C" >&6
28995 else
28996 if test "$cross_compiling" = yes; then
28997 unset ac_cv_header_png_h
28998
28999 else
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h. */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29006
29007 #include <png.h>
29008 #include <stdio.h>
29009
29010 int main()
29011 {
29012 FILE *f=fopen("conftestval", "w");
29013 if (!f) exit(1);
29014 fprintf(f, "%s",
29015 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29016 exit(0);
29017 }
29018
29019 _ACEOF
29020 rm -f conftest$ac_exeext
29021 if { (ac_try="$ac_link"
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_link") 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29031 { (case "(($ac_try" in
29032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29033 *) ac_try_echo=$ac_try;;
29034 esac
29035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29036 (eval "$ac_try") 2>&5
29037 ac_status=$?
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); }; }; then
29040 ac_cv_header_png_h=`cat conftestval`
29041 else
29042 echo "$as_me: program exited with status $ac_status" >&5
29043 echo "$as_me: failed program was:" >&5
29044 sed 's/^/| /' conftest.$ac_ext >&5
29045
29046 ( exit $ac_status )
29047 ac_cv_header_png_h=no
29048 fi
29049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29050 fi
29051
29052
29053
29054 fi
29055 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29056 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29057 { echo "$as_me:$LINENO: checking for png.h" >&5
29058 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29059 if test "${ac_cv_header_png_h+set}" = set; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29061 else
29062 cat >conftest.$ac_ext <<_ACEOF
29063 /* confdefs.h. */
29064 _ACEOF
29065 cat confdefs.h >>conftest.$ac_ext
29066 cat >>conftest.$ac_ext <<_ACEOF
29067 /* end confdefs.h. */
29068
29069
29070 #include <png.h>
29071 _ACEOF
29072 rm -f conftest.$ac_objext
29073 if { (ac_try="$ac_compile"
29074 case "(($ac_try" in
29075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29076 *) ac_try_echo=$ac_try;;
29077 esac
29078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29079 (eval "$ac_compile") 2>conftest.er1
29080 ac_status=$?
29081 grep -v '^ *+' conftest.er1 >conftest.err
29082 rm -f conftest.er1
29083 cat conftest.err >&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } && {
29086 test -z "$ac_c_werror_flag" ||
29087 test ! -s conftest.err
29088 } && test -s conftest.$ac_objext; then
29089 ac_cv_header_png_h=yes
29090 else
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29093
29094 ac_cv_header_png_h=no
29095 fi
29096
29097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29098 fi
29099 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29100 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29101
29102
29103
29104 if test "$ac_cv_header_png_h" = "yes"; then
29105 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29106 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29107 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29108 echo $ECHO_N "(cached) $ECHO_C" >&6
29109 else
29110 ac_check_lib_save_LIBS=$LIBS
29111 LIBS="-lpng -lz -lm $LIBS"
29112 cat >conftest.$ac_ext <<_ACEOF
29113 /* confdefs.h. */
29114 _ACEOF
29115 cat confdefs.h >>conftest.$ac_ext
29116 cat >>conftest.$ac_ext <<_ACEOF
29117 /* end confdefs.h. */
29118
29119 /* Override any GCC internal prototype to avoid an error.
29120 Use char because int might match the return type of a GCC
29121 builtin and then its argument prototype would still apply. */
29122 #ifdef __cplusplus
29123 extern "C"
29124 #endif
29125 char png_check_sig ();
29126 int
29127 main ()
29128 {
29129 return png_check_sig ();
29130 ;
29131 return 0;
29132 }
29133 _ACEOF
29134 rm -f conftest.$ac_objext conftest$ac_exeext
29135 if { (ac_try="$ac_link"
29136 case "(($ac_try" in
29137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29138 *) ac_try_echo=$ac_try;;
29139 esac
29140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29141 (eval "$ac_link") 2>conftest.er1
29142 ac_status=$?
29143 grep -v '^ *+' conftest.er1 >conftest.err
29144 rm -f conftest.er1
29145 cat conftest.err >&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } && {
29148 test -z "$ac_c_werror_flag" ||
29149 test ! -s conftest.err
29150 } && test -s conftest$ac_exeext &&
29151 $as_test_x conftest$ac_exeext; then
29152 ac_cv_lib_png_png_check_sig=yes
29153 else
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.$ac_ext >&5
29156
29157 ac_cv_lib_png_png_check_sig=no
29158 fi
29159
29160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29161 conftest$ac_exeext conftest.$ac_ext
29162 LIBS=$ac_check_lib_save_LIBS
29163 fi
29164 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29165 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29166 if test $ac_cv_lib_png_png_check_sig = yes; then
29167 PNG_LINK=" -lpng -lz"
29168 fi
29169
29170 fi
29171
29172 if test "x$PNG_LINK" = "x" ; then
29173 if test "$wxUSE_LIBPNG" = "sys" ; then
29174 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29175 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29176 { (exit 1); exit 1; }; }
29177 else
29178 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29179 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29180 wxUSE_LIBPNG=builtin
29181 fi
29182 else
29183 wxUSE_LIBPNG=sys
29184 fi
29185 fi
29186 fi
29187 fi
29188
29189
29190 JPEG_LINK=
29191 if test "$wxUSE_LIBJPEG" != "no" ; then
29192 cat >>confdefs.h <<\_ACEOF
29193 #define wxUSE_LIBJPEG 1
29194 _ACEOF
29195
29196
29197 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29198 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29199 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29200 wxUSE_LIBJPEG=sys
29201 fi
29202
29203 if test "$wxUSE_MGL" != 1 ; then
29204 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29205 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29206 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29207 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29208 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 else
29210 cat >conftest.$ac_ext <<_ACEOF
29211 /* confdefs.h. */
29212 _ACEOF
29213 cat confdefs.h >>conftest.$ac_ext
29214 cat >>conftest.$ac_ext <<_ACEOF
29215 /* end confdefs.h. */
29216
29217 #undef HAVE_STDLIB_H
29218 #include <stdio.h>
29219 #include <jpeglib.h>
29220
29221 int
29222 main ()
29223 {
29224
29225
29226 ;
29227 return 0;
29228 }
29229 _ACEOF
29230 rm -f conftest.$ac_objext
29231 if { (ac_try="$ac_compile"
29232 case "(($ac_try" in
29233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29234 *) ac_try_echo=$ac_try;;
29235 esac
29236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29237 (eval "$ac_compile") 2>conftest.er1
29238 ac_status=$?
29239 grep -v '^ *+' conftest.er1 >conftest.err
29240 rm -f conftest.er1
29241 cat conftest.err >&5
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); } && {
29244 test -z "$ac_c_werror_flag" ||
29245 test ! -s conftest.err
29246 } && test -s conftest.$ac_objext; then
29247 ac_cv_header_jpeglib_h=yes
29248 else
29249 echo "$as_me: failed program was:" >&5
29250 sed 's/^/| /' conftest.$ac_ext >&5
29251
29252 ac_cv_header_jpeglib_h=no
29253
29254 fi
29255
29256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29257
29258 fi
29259
29260 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29261 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29262
29263 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29264 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29265 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29266 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 else
29269 ac_check_lib_save_LIBS=$LIBS
29270 LIBS="-ljpeg $LIBS"
29271 cat >conftest.$ac_ext <<_ACEOF
29272 /* confdefs.h. */
29273 _ACEOF
29274 cat confdefs.h >>conftest.$ac_ext
29275 cat >>conftest.$ac_ext <<_ACEOF
29276 /* end confdefs.h. */
29277
29278 /* Override any GCC internal prototype to avoid an error.
29279 Use char because int might match the return type of a GCC
29280 builtin and then its argument prototype would still apply. */
29281 #ifdef __cplusplus
29282 extern "C"
29283 #endif
29284 char jpeg_read_header ();
29285 int
29286 main ()
29287 {
29288 return jpeg_read_header ();
29289 ;
29290 return 0;
29291 }
29292 _ACEOF
29293 rm -f conftest.$ac_objext conftest$ac_exeext
29294 if { (ac_try="$ac_link"
29295 case "(($ac_try" in
29296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29297 *) ac_try_echo=$ac_try;;
29298 esac
29299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29300 (eval "$ac_link") 2>conftest.er1
29301 ac_status=$?
29302 grep -v '^ *+' conftest.er1 >conftest.err
29303 rm -f conftest.er1
29304 cat conftest.err >&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } && {
29307 test -z "$ac_c_werror_flag" ||
29308 test ! -s conftest.err
29309 } && test -s conftest$ac_exeext &&
29310 $as_test_x conftest$ac_exeext; then
29311 ac_cv_lib_jpeg_jpeg_read_header=yes
29312 else
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.$ac_ext >&5
29315
29316 ac_cv_lib_jpeg_jpeg_read_header=no
29317 fi
29318
29319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29320 conftest$ac_exeext conftest.$ac_ext
29321 LIBS=$ac_check_lib_save_LIBS
29322 fi
29323 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29324 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29325 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29326 JPEG_LINK=" -ljpeg"
29327 fi
29328
29329 fi
29330
29331 if test "x$JPEG_LINK" = "x" ; then
29332 if test "$wxUSE_LIBJPEG" = "sys" ; then
29333 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29334 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29335 { (exit 1); exit 1; }; }
29336 else
29337 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29338 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29339 wxUSE_LIBJPEG=builtin
29340 fi
29341 else
29342 wxUSE_LIBJPEG=sys
29343
29344 if test "$wxUSE_MSW" = 1; then
29345 { echo "$as_me:$LINENO: checking for boolean" >&5
29346 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29347 if test "${ac_cv_type_boolean+set}" = set; then
29348 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 else
29350 cat >conftest.$ac_ext <<_ACEOF
29351 /* confdefs.h. */
29352 _ACEOF
29353 cat confdefs.h >>conftest.$ac_ext
29354 cat >>conftest.$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29356 #include <windows.h>
29357
29358 typedef boolean ac__type_new_;
29359 int
29360 main ()
29361 {
29362 if ((ac__type_new_ *) 0)
29363 return 0;
29364 if (sizeof (ac__type_new_))
29365 return 0;
29366 ;
29367 return 0;
29368 }
29369 _ACEOF
29370 rm -f conftest.$ac_objext
29371 if { (ac_try="$ac_compile"
29372 case "(($ac_try" in
29373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29374 *) ac_try_echo=$ac_try;;
29375 esac
29376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29377 (eval "$ac_compile") 2>conftest.er1
29378 ac_status=$?
29379 grep -v '^ *+' conftest.er1 >conftest.err
29380 rm -f conftest.er1
29381 cat conftest.err >&5
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); } && {
29384 test -z "$ac_c_werror_flag" ||
29385 test ! -s conftest.err
29386 } && test -s conftest.$ac_objext; then
29387 ac_cv_type_boolean=yes
29388 else
29389 echo "$as_me: failed program was:" >&5
29390 sed 's/^/| /' conftest.$ac_ext >&5
29391
29392 ac_cv_type_boolean=no
29393 fi
29394
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396 fi
29397 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29398 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29399 if test $ac_cv_type_boolean = yes; then
29400
29401 cat >>confdefs.h <<_ACEOF
29402 #define HAVE_BOOLEAN 1
29403 _ACEOF
29404
29405
29406 { echo "$as_me:$LINENO: checking for boolean" >&5
29407 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29408 if test "${ac_cv_type_boolean+set}" = set; then
29409 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 else
29411 cat >conftest.$ac_ext <<_ACEOF
29412 /* confdefs.h. */
29413 _ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29417
29418 #undef HAVE_BOOLEAN
29419 #include <stdio.h>
29420 #include <jpeglib.h>
29421
29422
29423 typedef boolean ac__type_new_;
29424 int
29425 main ()
29426 {
29427 if ((ac__type_new_ *) 0)
29428 return 0;
29429 if (sizeof (ac__type_new_))
29430 return 0;
29431 ;
29432 return 0;
29433 }
29434 _ACEOF
29435 rm -f conftest.$ac_objext
29436 if { (ac_try="$ac_compile"
29437 case "(($ac_try" in
29438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29439 *) ac_try_echo=$ac_try;;
29440 esac
29441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29442 (eval "$ac_compile") 2>conftest.er1
29443 ac_status=$?
29444 grep -v '^ *+' conftest.er1 >conftest.err
29445 rm -f conftest.er1
29446 cat conftest.err >&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); } && {
29449 test -z "$ac_c_werror_flag" ||
29450 test ! -s conftest.err
29451 } && test -s conftest.$ac_objext; then
29452 ac_cv_type_boolean=yes
29453 else
29454 echo "$as_me: failed program was:" >&5
29455 sed 's/^/| /' conftest.$ac_ext >&5
29456
29457 ac_cv_type_boolean=no
29458 fi
29459
29460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29461 fi
29462 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29463 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29464
29465 # The cast to long int works around a bug in the HP C Compiler
29466 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29467 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29468 # This bug is HP SR number 8606223364.
29469 { echo "$as_me:$LINENO: checking size of boolean" >&5
29470 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29471 if test "${ac_cv_sizeof_boolean+set}" = set; then
29472 echo $ECHO_N "(cached) $ECHO_C" >&6
29473 else
29474 if test "$cross_compiling" = yes; then
29475 # Depending upon the size, compute the lo and hi bounds.
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482
29483 #undef HAVE_BOOLEAN
29484 #include <stdio.h>
29485 #include <jpeglib.h>
29486
29487
29488 typedef boolean ac__type_sizeof_;
29489 int
29490 main ()
29491 {
29492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29493 test_array [0] = 0
29494
29495 ;
29496 return 0;
29497 }
29498 _ACEOF
29499 rm -f conftest.$ac_objext
29500 if { (ac_try="$ac_compile"
29501 case "(($ac_try" in
29502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29503 *) ac_try_echo=$ac_try;;
29504 esac
29505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29506 (eval "$ac_compile") 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } && {
29513 test -z "$ac_c_werror_flag" ||
29514 test ! -s conftest.err
29515 } && test -s conftest.$ac_objext; then
29516 ac_lo=0 ac_mid=0
29517 while :; do
29518 cat >conftest.$ac_ext <<_ACEOF
29519 /* confdefs.h. */
29520 _ACEOF
29521 cat confdefs.h >>conftest.$ac_ext
29522 cat >>conftest.$ac_ext <<_ACEOF
29523 /* end confdefs.h. */
29524
29525 #undef HAVE_BOOLEAN
29526 #include <stdio.h>
29527 #include <jpeglib.h>
29528
29529
29530 typedef boolean ac__type_sizeof_;
29531 int
29532 main ()
29533 {
29534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29535 test_array [0] = 0
29536
29537 ;
29538 return 0;
29539 }
29540 _ACEOF
29541 rm -f conftest.$ac_objext
29542 if { (ac_try="$ac_compile"
29543 case "(($ac_try" in
29544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29545 *) ac_try_echo=$ac_try;;
29546 esac
29547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29548 (eval "$ac_compile") 2>conftest.er1
29549 ac_status=$?
29550 grep -v '^ *+' conftest.er1 >conftest.err
29551 rm -f conftest.er1
29552 cat conftest.err >&5
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); } && {
29555 test -z "$ac_c_werror_flag" ||
29556 test ! -s conftest.err
29557 } && test -s conftest.$ac_objext; then
29558 ac_hi=$ac_mid; break
29559 else
29560 echo "$as_me: failed program was:" >&5
29561 sed 's/^/| /' conftest.$ac_ext >&5
29562
29563 ac_lo=`expr $ac_mid + 1`
29564 if test $ac_lo -le $ac_mid; then
29565 ac_lo= ac_hi=
29566 break
29567 fi
29568 ac_mid=`expr 2 '*' $ac_mid + 1`
29569 fi
29570
29571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29572 done
29573 else
29574 echo "$as_me: failed program was:" >&5
29575 sed 's/^/| /' conftest.$ac_ext >&5
29576
29577 cat >conftest.$ac_ext <<_ACEOF
29578 /* confdefs.h. */
29579 _ACEOF
29580 cat confdefs.h >>conftest.$ac_ext
29581 cat >>conftest.$ac_ext <<_ACEOF
29582 /* end confdefs.h. */
29583
29584 #undef HAVE_BOOLEAN
29585 #include <stdio.h>
29586 #include <jpeglib.h>
29587
29588
29589 typedef boolean ac__type_sizeof_;
29590 int
29591 main ()
29592 {
29593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29594 test_array [0] = 0
29595
29596 ;
29597 return 0;
29598 }
29599 _ACEOF
29600 rm -f conftest.$ac_objext
29601 if { (ac_try="$ac_compile"
29602 case "(($ac_try" in
29603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29604 *) ac_try_echo=$ac_try;;
29605 esac
29606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29607 (eval "$ac_compile") 2>conftest.er1
29608 ac_status=$?
29609 grep -v '^ *+' conftest.er1 >conftest.err
29610 rm -f conftest.er1
29611 cat conftest.err >&5
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); } && {
29614 test -z "$ac_c_werror_flag" ||
29615 test ! -s conftest.err
29616 } && test -s conftest.$ac_objext; then
29617 ac_hi=-1 ac_mid=-1
29618 while :; do
29619 cat >conftest.$ac_ext <<_ACEOF
29620 /* confdefs.h. */
29621 _ACEOF
29622 cat confdefs.h >>conftest.$ac_ext
29623 cat >>conftest.$ac_ext <<_ACEOF
29624 /* end confdefs.h. */
29625
29626 #undef HAVE_BOOLEAN
29627 #include <stdio.h>
29628 #include <jpeglib.h>
29629
29630
29631 typedef boolean ac__type_sizeof_;
29632 int
29633 main ()
29634 {
29635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29636 test_array [0] = 0
29637
29638 ;
29639 return 0;
29640 }
29641 _ACEOF
29642 rm -f conftest.$ac_objext
29643 if { (ac_try="$ac_compile"
29644 case "(($ac_try" in
29645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29646 *) ac_try_echo=$ac_try;;
29647 esac
29648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29649 (eval "$ac_compile") 2>conftest.er1
29650 ac_status=$?
29651 grep -v '^ *+' conftest.er1 >conftest.err
29652 rm -f conftest.er1
29653 cat conftest.err >&5
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); } && {
29656 test -z "$ac_c_werror_flag" ||
29657 test ! -s conftest.err
29658 } && test -s conftest.$ac_objext; then
29659 ac_lo=$ac_mid; break
29660 else
29661 echo "$as_me: failed program was:" >&5
29662 sed 's/^/| /' conftest.$ac_ext >&5
29663
29664 ac_hi=`expr '(' $ac_mid ')' - 1`
29665 if test $ac_mid -le $ac_hi; then
29666 ac_lo= ac_hi=
29667 break
29668 fi
29669 ac_mid=`expr 2 '*' $ac_mid`
29670 fi
29671
29672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29673 done
29674 else
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29677
29678 ac_lo= ac_hi=
29679 fi
29680
29681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29682 fi
29683
29684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29685 # Binary search between lo and hi bounds.
29686 while test "x$ac_lo" != "x$ac_hi"; do
29687 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29688 cat >conftest.$ac_ext <<_ACEOF
29689 /* confdefs.h. */
29690 _ACEOF
29691 cat confdefs.h >>conftest.$ac_ext
29692 cat >>conftest.$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29694
29695 #undef HAVE_BOOLEAN
29696 #include <stdio.h>
29697 #include <jpeglib.h>
29698
29699
29700 typedef boolean ac__type_sizeof_;
29701 int
29702 main ()
29703 {
29704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29705 test_array [0] = 0
29706
29707 ;
29708 return 0;
29709 }
29710 _ACEOF
29711 rm -f conftest.$ac_objext
29712 if { (ac_try="$ac_compile"
29713 case "(($ac_try" in
29714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29715 *) ac_try_echo=$ac_try;;
29716 esac
29717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29718 (eval "$ac_compile") 2>conftest.er1
29719 ac_status=$?
29720 grep -v '^ *+' conftest.er1 >conftest.err
29721 rm -f conftest.er1
29722 cat conftest.err >&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } && {
29725 test -z "$ac_c_werror_flag" ||
29726 test ! -s conftest.err
29727 } && test -s conftest.$ac_objext; then
29728 ac_hi=$ac_mid
29729 else
29730 echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29732
29733 ac_lo=`expr '(' $ac_mid ')' + 1`
29734 fi
29735
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 done
29738 case $ac_lo in
29739 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29740 '') if test "$ac_cv_type_boolean" = yes; then
29741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29742 See \`config.log' for more details." >&5
29743 echo "$as_me: error: cannot compute sizeof (boolean)
29744 See \`config.log' for more details." >&2;}
29745 { (exit 77); exit 77; }; }
29746 else
29747 ac_cv_sizeof_boolean=0
29748 fi ;;
29749 esac
29750 else
29751 cat >conftest.$ac_ext <<_ACEOF
29752 /* confdefs.h. */
29753 _ACEOF
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757
29758 #undef HAVE_BOOLEAN
29759 #include <stdio.h>
29760 #include <jpeglib.h>
29761
29762
29763 typedef boolean ac__type_sizeof_;
29764 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29765 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29766 #include <stdio.h>
29767 #include <stdlib.h>
29768 int
29769 main ()
29770 {
29771
29772 FILE *f = fopen ("conftest.val", "w");
29773 if (! f)
29774 return 1;
29775 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29776 {
29777 long int i = longval ();
29778 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29779 return 1;
29780 fprintf (f, "%ld\n", i);
29781 }
29782 else
29783 {
29784 unsigned long int i = ulongval ();
29785 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29786 return 1;
29787 fprintf (f, "%lu\n", i);
29788 }
29789 return ferror (f) || fclose (f) != 0;
29790
29791 ;
29792 return 0;
29793 }
29794 _ACEOF
29795 rm -f conftest$ac_exeext
29796 if { (ac_try="$ac_link"
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_link") 2>&5
29803 ac_status=$?
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29806 { (case "(($ac_try" in
29807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29808 *) ac_try_echo=$ac_try;;
29809 esac
29810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29811 (eval "$ac_try") 2>&5
29812 ac_status=$?
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; }; then
29815 ac_cv_sizeof_boolean=`cat conftest.val`
29816 else
29817 echo "$as_me: program exited with status $ac_status" >&5
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29820
29821 ( exit $ac_status )
29822 if test "$ac_cv_type_boolean" = yes; then
29823 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29824 See \`config.log' for more details." >&5
29825 echo "$as_me: error: cannot compute sizeof (boolean)
29826 See \`config.log' for more details." >&2;}
29827 { (exit 77); exit 77; }; }
29828 else
29829 ac_cv_sizeof_boolean=0
29830 fi
29831 fi
29832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29833 fi
29834 rm -f conftest.val
29835 fi
29836 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29837 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29838
29839
29840
29841 cat >>confdefs.h <<_ACEOF
29842 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29843 _ACEOF
29844
29845
29846 cat >>confdefs.h <<_ACEOF
29847 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29848 _ACEOF
29849
29850
29851 fi
29852
29853 fi
29854 fi
29855 fi
29856 fi
29857 fi
29858
29859
29860 TIFF_LINK=
29861 TIFF_PREREQ_LINKS=-lm
29862 if test "$wxUSE_LIBTIFF" != "no" ; then
29863 cat >>confdefs.h <<\_ACEOF
29864 #define wxUSE_LIBTIFF 1
29865 _ACEOF
29866
29867
29868 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29869 if test "$wxUSE_LIBJPEG" = "sys"; then
29870 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29871 fi
29872 if test "$wxUSE_ZLIB" = "sys"; then
29873 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29874 fi
29875 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29876 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29877 if test "${ac_cv_header_tiffio_h+set}" = set; then
29878 echo $ECHO_N "(cached) $ECHO_C" >&6
29879 else
29880 cat >conftest.$ac_ext <<_ACEOF
29881 /* confdefs.h. */
29882 _ACEOF
29883 cat confdefs.h >>conftest.$ac_ext
29884 cat >>conftest.$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29886
29887
29888
29889 #include <tiffio.h>
29890 _ACEOF
29891 rm -f conftest.$ac_objext
29892 if { (ac_try="$ac_compile"
29893 case "(($ac_try" in
29894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29895 *) ac_try_echo=$ac_try;;
29896 esac
29897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29898 (eval "$ac_compile") 2>conftest.er1
29899 ac_status=$?
29900 grep -v '^ *+' conftest.er1 >conftest.err
29901 rm -f conftest.er1
29902 cat conftest.err >&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); } && {
29905 test -z "$ac_c_werror_flag" ||
29906 test ! -s conftest.err
29907 } && test -s conftest.$ac_objext; then
29908 ac_cv_header_tiffio_h=yes
29909 else
29910 echo "$as_me: failed program was:" >&5
29911 sed 's/^/| /' conftest.$ac_ext >&5
29912
29913 ac_cv_header_tiffio_h=no
29914 fi
29915
29916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29917 fi
29918 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29919 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29920 if test $ac_cv_header_tiffio_h = yes; then
29921
29922 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29923 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29924 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29925 echo $ECHO_N "(cached) $ECHO_C" >&6
29926 else
29927 ac_check_lib_save_LIBS=$LIBS
29928 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29929 cat >conftest.$ac_ext <<_ACEOF
29930 /* confdefs.h. */
29931 _ACEOF
29932 cat confdefs.h >>conftest.$ac_ext
29933 cat >>conftest.$ac_ext <<_ACEOF
29934 /* end confdefs.h. */
29935
29936 /* Override any GCC internal prototype to avoid an error.
29937 Use char because int might match the return type of a GCC
29938 builtin and then its argument prototype would still apply. */
29939 #ifdef __cplusplus
29940 extern "C"
29941 #endif
29942 char TIFFError ();
29943 int
29944 main ()
29945 {
29946 return TIFFError ();
29947 ;
29948 return 0;
29949 }
29950 _ACEOF
29951 rm -f conftest.$ac_objext conftest$ac_exeext
29952 if { (ac_try="$ac_link"
29953 case "(($ac_try" in
29954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29955 *) ac_try_echo=$ac_try;;
29956 esac
29957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29958 (eval "$ac_link") 2>conftest.er1
29959 ac_status=$?
29960 grep -v '^ *+' conftest.er1 >conftest.err
29961 rm -f conftest.er1
29962 cat conftest.err >&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); } && {
29965 test -z "$ac_c_werror_flag" ||
29966 test ! -s conftest.err
29967 } && test -s conftest$ac_exeext &&
29968 $as_test_x conftest$ac_exeext; then
29969 ac_cv_lib_tiff_TIFFError=yes
29970 else
29971 echo "$as_me: failed program was:" >&5
29972 sed 's/^/| /' conftest.$ac_ext >&5
29973
29974 ac_cv_lib_tiff_TIFFError=no
29975 fi
29976
29977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29978 conftest$ac_exeext conftest.$ac_ext
29979 LIBS=$ac_check_lib_save_LIBS
29980 fi
29981 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29982 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29983 if test $ac_cv_lib_tiff_TIFFError = yes; then
29984 TIFF_LINK=" -ltiff"
29985 fi
29986
29987
29988 fi
29989
29990
29991
29992 if test "x$TIFF_LINK" = "x" ; then
29993 if test "$wxUSE_LIBTIFF" = "sys" ; then
29994 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29995 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29996 { (exit 1); exit 1; }; }
29997 else
29998 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29999 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30000 wxUSE_LIBTIFF=builtin
30001 fi
30002 else
30003 wxUSE_LIBTIFF=sys
30004 fi
30005 fi
30006 fi
30007
30008
30009 if test "$wxUSE_WCHAR_T" != "yes"; then
30010 if test "$wxUSE_EXPAT" != "no"; then
30011 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30012 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30013 wxUSE_EXPAT=no
30014 fi
30015 if test "$wxUSE_XML" != "no"; then
30016 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30017 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30018 wxUSE_XML=no
30019 fi
30020 fi
30021
30022 if test "$wxUSE_EXPAT" != "no"; then
30023 wxUSE_XML=yes
30024 cat >>confdefs.h <<\_ACEOF
30025 #define wxUSE_EXPAT 1
30026 _ACEOF
30027
30028 cat >>confdefs.h <<\_ACEOF
30029 #define wxUSE_XML 1
30030 _ACEOF
30031
30032
30033 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30034 { echo "$as_me:$LINENO: checking for expat.h" >&5
30035 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30036 if test "${ac_cv_header_expat_h+set}" = set; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 else
30039 cat >conftest.$ac_ext <<_ACEOF
30040 /* confdefs.h. */
30041 _ACEOF
30042 cat confdefs.h >>conftest.$ac_ext
30043 cat >>conftest.$ac_ext <<_ACEOF
30044 /* end confdefs.h. */
30045
30046
30047 #include <expat.h>
30048 _ACEOF
30049 rm -f conftest.$ac_objext
30050 if { (ac_try="$ac_compile"
30051 case "(($ac_try" in
30052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30053 *) ac_try_echo=$ac_try;;
30054 esac
30055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30056 (eval "$ac_compile") 2>conftest.er1
30057 ac_status=$?
30058 grep -v '^ *+' conftest.er1 >conftest.err
30059 rm -f conftest.er1
30060 cat conftest.err >&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); } && {
30063 test -z "$ac_c_werror_flag" ||
30064 test ! -s conftest.err
30065 } && test -s conftest.$ac_objext; then
30066 ac_cv_header_expat_h=yes
30067 else
30068 echo "$as_me: failed program was:" >&5
30069 sed 's/^/| /' conftest.$ac_ext >&5
30070
30071 ac_cv_header_expat_h=no
30072 fi
30073
30074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30075 fi
30076 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30077 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30078 if test $ac_cv_header_expat_h = yes; then
30079 found_expat_h=1
30080 fi
30081
30082
30083 if test "x$found_expat_h" = "x1"; then
30084 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30085 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30086 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30087 echo $ECHO_N "(cached) $ECHO_C" >&6
30088 else
30089
30090 ac_ext=cpp
30091 ac_cpp='$CXXCPP $CPPFLAGS'
30092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30095
30096 cat >conftest.$ac_ext <<_ACEOF
30097 /* confdefs.h. */
30098 _ACEOF
30099 cat confdefs.h >>conftest.$ac_ext
30100 cat >>conftest.$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30102 #include <expat.h>
30103 int
30104 main ()
30105 {
30106
30107 ;
30108 return 0;
30109 }
30110 _ACEOF
30111 rm -f conftest.$ac_objext
30112 if { (ac_try="$ac_compile"
30113 case "(($ac_try" in
30114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30115 *) ac_try_echo=$ac_try;;
30116 esac
30117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30118 (eval "$ac_compile") 2>conftest.er1
30119 ac_status=$?
30120 grep -v '^ *+' conftest.er1 >conftest.err
30121 rm -f conftest.er1
30122 cat conftest.err >&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); } && {
30125 test -z "$ac_cxx_werror_flag" ||
30126 test ! -s conftest.err
30127 } && test -s conftest.$ac_objext; then
30128 wx_cv_expat_is_not_broken=yes
30129 else
30130 echo "$as_me: failed program was:" >&5
30131 sed 's/^/| /' conftest.$ac_ext >&5
30132
30133 wx_cv_expat_is_not_broken=no
30134
30135 fi
30136
30137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30138 ac_ext=c
30139 ac_cpp='$CPP $CPPFLAGS'
30140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30143
30144
30145
30146 fi
30147 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30148 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30149 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30150 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30151 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30152 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30153 echo $ECHO_N "(cached) $ECHO_C" >&6
30154 else
30155 ac_check_lib_save_LIBS=$LIBS
30156 LIBS="-lexpat $LIBS"
30157 cat >conftest.$ac_ext <<_ACEOF
30158 /* confdefs.h. */
30159 _ACEOF
30160 cat confdefs.h >>conftest.$ac_ext
30161 cat >>conftest.$ac_ext <<_ACEOF
30162 /* end confdefs.h. */
30163
30164 /* Override any GCC internal prototype to avoid an error.
30165 Use char because int might match the return type of a GCC
30166 builtin and then its argument prototype would still apply. */
30167 #ifdef __cplusplus
30168 extern "C"
30169 #endif
30170 char XML_ParserCreate ();
30171 int
30172 main ()
30173 {
30174 return XML_ParserCreate ();
30175 ;
30176 return 0;
30177 }
30178 _ACEOF
30179 rm -f conftest.$ac_objext conftest$ac_exeext
30180 if { (ac_try="$ac_link"
30181 case "(($ac_try" in
30182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30183 *) ac_try_echo=$ac_try;;
30184 esac
30185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30186 (eval "$ac_link") 2>conftest.er1
30187 ac_status=$?
30188 grep -v '^ *+' conftest.er1 >conftest.err
30189 rm -f conftest.er1
30190 cat conftest.err >&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); } && {
30193 test -z "$ac_c_werror_flag" ||
30194 test ! -s conftest.err
30195 } && test -s conftest$ac_exeext &&
30196 $as_test_x conftest$ac_exeext; then
30197 ac_cv_lib_expat_XML_ParserCreate=yes
30198 else
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.$ac_ext >&5
30201
30202 ac_cv_lib_expat_XML_ParserCreate=no
30203 fi
30204
30205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30206 conftest$ac_exeext conftest.$ac_ext
30207 LIBS=$ac_check_lib_save_LIBS
30208 fi
30209 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30210 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30211 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30212 EXPAT_LINK=" -lexpat"
30213 fi
30214
30215 fi
30216 fi
30217 if test "x$EXPAT_LINK" = "x" ; then
30218 if test "$wxUSE_EXPAT" = "sys" ; then
30219 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30220 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30221 { (exit 1); exit 1; }; }
30222 else
30223 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30224 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30225 wxUSE_EXPAT=builtin
30226 fi
30227 else
30228 wxUSE_EXPAT=sys
30229 fi
30230 fi
30231 if test "$wxUSE_EXPAT" = "builtin" ; then
30232 subdirs="$subdirs src/expat"
30233
30234 fi
30235 fi
30236
30237
30238
30239 if test "$wxUSE_LIBMSPACK" != "no"; then
30240 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30241 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30242 if test "${ac_cv_header_mspack_h+set}" = set; then
30243 echo $ECHO_N "(cached) $ECHO_C" >&6
30244 else
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251
30252
30253 #include <mspack.h>
30254 _ACEOF
30255 rm -f conftest.$ac_objext
30256 if { (ac_try="$ac_compile"
30257 case "(($ac_try" in
30258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30259 *) ac_try_echo=$ac_try;;
30260 esac
30261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30262 (eval "$ac_compile") 2>conftest.er1
30263 ac_status=$?
30264 grep -v '^ *+' conftest.er1 >conftest.err
30265 rm -f conftest.er1
30266 cat conftest.err >&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } && {
30269 test -z "$ac_c_werror_flag" ||
30270 test ! -s conftest.err
30271 } && test -s conftest.$ac_objext; then
30272 ac_cv_header_mspack_h=yes
30273 else
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30276
30277 ac_cv_header_mspack_h=no
30278 fi
30279
30280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30281 fi
30282 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30283 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30284 if test $ac_cv_header_mspack_h = yes; then
30285 found_mspack_h=1
30286 fi
30287
30288
30289 if test "x$found_mspack_h" = "x1"; then
30290 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30291 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30292 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30293 echo $ECHO_N "(cached) $ECHO_C" >&6
30294 else
30295 ac_check_lib_save_LIBS=$LIBS
30296 LIBS="-lmspack $LIBS"
30297 cat >conftest.$ac_ext <<_ACEOF
30298 /* confdefs.h. */
30299 _ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30303
30304 /* Override any GCC internal prototype to avoid an error.
30305 Use char because int might match the return type of a GCC
30306 builtin and then its argument prototype would still apply. */
30307 #ifdef __cplusplus
30308 extern "C"
30309 #endif
30310 char mspack_create_chm_decompressor ();
30311 int
30312 main ()
30313 {
30314 return mspack_create_chm_decompressor ();
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 rm -f conftest.$ac_objext conftest$ac_exeext
30320 if { (ac_try="$ac_link"
30321 case "(($ac_try" in
30322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30323 *) ac_try_echo=$ac_try;;
30324 esac
30325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30326 (eval "$ac_link") 2>conftest.er1
30327 ac_status=$?
30328 grep -v '^ *+' conftest.er1 >conftest.err
30329 rm -f conftest.er1
30330 cat conftest.err >&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); } && {
30333 test -z "$ac_c_werror_flag" ||
30334 test ! -s conftest.err
30335 } && test -s conftest$ac_exeext &&
30336 $as_test_x conftest$ac_exeext; then
30337 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30338 else
30339 echo "$as_me: failed program was:" >&5
30340 sed 's/^/| /' conftest.$ac_ext >&5
30341
30342 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30343 fi
30344
30345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30346 conftest$ac_exeext conftest.$ac_ext
30347 LIBS=$ac_check_lib_save_LIBS
30348 fi
30349 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30350 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30351 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30352 MSPACK_LINK=" -lmspack"
30353 fi
30354
30355 fi
30356 if test "x$MSPACK_LINK" = "x" ; then
30357 wxUSE_LIBMSPACK=no
30358 fi
30359 fi
30360
30361 if test "$wxUSE_LIBMSPACK" != "no"; then
30362 cat >>confdefs.h <<\_ACEOF
30363 #define wxUSE_LIBMSPACK 1
30364 _ACEOF
30365
30366 fi
30367
30368
30369
30370 AFMINSTALL=
30371 WIN32INSTALL=
30372
30373 TOOLKIT=
30374 TOOLKIT_INCLUDE=
30375 WIDGET_SET=
30376
30377 if test "$USE_WIN32" = 1 ; then
30378
30379 for ac_header in w32api.h
30380 do
30381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30382 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30385 echo $ECHO_N "(cached) $ECHO_C" >&6
30386 else
30387 cat >conftest.$ac_ext <<_ACEOF
30388 /* confdefs.h. */
30389 _ACEOF
30390 cat confdefs.h >>conftest.$ac_ext
30391 cat >>conftest.$ac_ext <<_ACEOF
30392 /* end confdefs.h. */
30393
30394
30395 #include <$ac_header>
30396 _ACEOF
30397 rm -f conftest.$ac_objext
30398 if { (ac_try="$ac_compile"
30399 case "(($ac_try" in
30400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30401 *) ac_try_echo=$ac_try;;
30402 esac
30403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30404 (eval "$ac_compile") 2>conftest.er1
30405 ac_status=$?
30406 grep -v '^ *+' conftest.er1 >conftest.err
30407 rm -f conftest.er1
30408 cat conftest.err >&5
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); } && {
30411 test -z "$ac_c_werror_flag" ||
30412 test ! -s conftest.err
30413 } && test -s conftest.$ac_objext; then
30414 eval "$as_ac_Header=yes"
30415 else
30416 echo "$as_me: failed program was:" >&5
30417 sed 's/^/| /' conftest.$ac_ext >&5
30418
30419 eval "$as_ac_Header=no"
30420 fi
30421
30422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30423 fi
30424 ac_res=`eval echo '${'$as_ac_Header'}'`
30425 { echo "$as_me:$LINENO: result: $ac_res" >&5
30426 echo "${ECHO_T}$ac_res" >&6; }
30427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30428 cat >>confdefs.h <<_ACEOF
30429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30430 _ACEOF
30431
30432 fi
30433
30434 done
30435
30436 { echo "$as_me:$LINENO: checking for windows.h" >&5
30437 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30438 if test "${ac_cv_header_windows_h+set}" = set; then
30439 echo $ECHO_N "(cached) $ECHO_C" >&6
30440 else
30441 cat >conftest.$ac_ext <<_ACEOF
30442 /* confdefs.h. */
30443 _ACEOF
30444 cat confdefs.h >>conftest.$ac_ext
30445 cat >>conftest.$ac_ext <<_ACEOF
30446 /* end confdefs.h. */
30447
30448
30449 #include <windows.h>
30450 _ACEOF
30451 rm -f conftest.$ac_objext
30452 if { (ac_try="$ac_compile"
30453 case "(($ac_try" in
30454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30455 *) ac_try_echo=$ac_try;;
30456 esac
30457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30458 (eval "$ac_compile") 2>conftest.er1
30459 ac_status=$?
30460 grep -v '^ *+' conftest.er1 >conftest.err
30461 rm -f conftest.er1
30462 cat conftest.err >&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } && {
30465 test -z "$ac_c_werror_flag" ||
30466 test ! -s conftest.err
30467 } && test -s conftest.$ac_objext; then
30468 ac_cv_header_windows_h=yes
30469 else
30470 echo "$as_me: failed program was:" >&5
30471 sed 's/^/| /' conftest.$ac_ext >&5
30472
30473 ac_cv_header_windows_h=no
30474 fi
30475
30476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30477 fi
30478 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30479 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30480 if test $ac_cv_header_windows_h = yes; then
30481 :
30482 else
30483
30484 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30485 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30486 { (exit 1); exit 1; }; }
30487
30488 fi
30489
30490
30491
30492 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30493
30494 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30495 LIBS="$LIBS -loleacc"
30496 fi
30497
30498 case "${host}" in
30499 *-*-cygwin* )
30500 LIBS="$LIBS -lkernel32 -luser32"
30501 esac
30502
30503 if test "$wxUSE_ODBC" = "sys" ; then
30504 wxUSE_ODBC = "yes"
30505 fi
30506 if test "$wxUSE_ODBC" = "yes" ; then
30507 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30508 cat >>confdefs.h <<\_ACEOF
30509 #define wxUSE_ODBC 1
30510 _ACEOF
30511
30512 fi
30513
30514 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30515 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30516
30517 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30518
30519 WIN32INSTALL=win32install
30520
30521 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30522 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30523 if test "${ac_cv_header_pbt_h+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30526 cat >conftest.$ac_ext <<_ACEOF
30527 /* confdefs.h. */
30528 _ACEOF
30529 cat confdefs.h >>conftest.$ac_ext
30530 cat >>conftest.$ac_ext <<_ACEOF
30531 /* end confdefs.h. */
30532
30533
30534 #include <pbt.h>
30535 _ACEOF
30536 rm -f conftest.$ac_objext
30537 if { (ac_try="$ac_compile"
30538 case "(($ac_try" in
30539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30540 *) ac_try_echo=$ac_try;;
30541 esac
30542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30543 (eval "$ac_compile") 2>conftest.er1
30544 ac_status=$?
30545 grep -v '^ *+' conftest.er1 >conftest.err
30546 rm -f conftest.er1
30547 cat conftest.err >&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); } && {
30550 test -z "$ac_c_werror_flag" ||
30551 test ! -s conftest.err
30552 } && test -s conftest.$ac_objext; then
30553 ac_cv_header_pbt_h=yes
30554 else
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30557
30558 ac_cv_header_pbt_h=no
30559 fi
30560
30561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30562 fi
30563 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30564 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30565 if test $ac_cv_header_pbt_h = yes; then
30566 :
30567 else
30568 cat >>confdefs.h <<\_ACEOF
30569 #define NEED_PBT_H 1
30570 _ACEOF
30571
30572 fi
30573
30574
30575 fi
30576
30577 if test "$wxUSE_GUI" = "yes"; then
30578 USE_GUI=1
30579
30580 GUI_TK_LIBRARY=
30581
30582 WXGTK12=
30583 WXGTK127=
30584 WXGTK20=
30585 WXGPE=
30586
30587 if test "$wxUSE_COCOA" = 1 ; then
30588 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30589 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30590 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30591 wxUSE_PRINTING_ARCHITECTURE=no
30592 fi
30593 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30594 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30595 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30596 wxUSE_DRAG_AND_DROP=no
30597 fi
30598 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30599 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30600 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30601 wxUSE_DRAGIMAGE=no
30602 fi
30603 fi
30604
30605 if test "$wxUSE_MSW" = 1 ; then
30606 TOOLKIT=MSW
30607 GUIDIST=MSW_DIST
30608
30609 case "${host}" in
30610 *-*-mingw32* )
30611 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30612 esac
30613 fi
30614
30615 if test "$wxUSE_GTK" = 1; then
30616 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30617 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30618
30619 gtk_version_cached=1
30620 if test "${wx_cv_lib_gtk+set}" = set; then
30621 echo $ECHO_N "(cached) $ECHO_C" >&6
30622 else
30623
30624 gtk_version_cached=0
30625 { echo "$as_me:$LINENO: result: " >&5
30626 echo "${ECHO_T}" >&6; }
30627
30628 GTK_MODULES=
30629 if test "$wxUSE_THREADS" = "yes"; then
30630 GTK_MODULES=gthread
30631 fi
30632
30633 wx_cv_lib_gtk=
30634 if test "x$wxGTK_VERSION" != "x1"
30635 then
30636 case "${host}" in
30637 *-*-solaris2* )
30638 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30639 enable_gtktest=no
30640 fi
30641 esac
30642
30643 # Check whether --enable-gtktest was given.
30644 if test "${enable_gtktest+set}" = set; then
30645 enableval=$enable_gtktest;
30646 else
30647 enable_gtktest=yes
30648 fi
30649
30650
30651 pkg_config_args=gtk+-2.0
30652 for module in . $GTK_MODULES
30653 do
30654 case "$module" in
30655 gthread)
30656 pkg_config_args="$pkg_config_args gthread-2.0"
30657 ;;
30658 esac
30659 done
30660
30661 no_gtk=""
30662
30663 # Extract the first word of "pkg-config", so it can be a program name with args.
30664 set dummy pkg-config; ac_word=$2
30665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30667 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30668 echo $ECHO_N "(cached) $ECHO_C" >&6
30669 else
30670 case $PKG_CONFIG in
30671 [\\/]* | ?:[\\/]*)
30672 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30673 ;;
30674 *)
30675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30676 for as_dir in $PATH
30677 do
30678 IFS=$as_save_IFS
30679 test -z "$as_dir" && as_dir=.
30680 for ac_exec_ext in '' $ac_executable_extensions; do
30681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30682 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30684 break 2
30685 fi
30686 done
30687 done
30688 IFS=$as_save_IFS
30689
30690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30691 ;;
30692 esac
30693 fi
30694 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30695 if test -n "$PKG_CONFIG"; then
30696 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30697 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30698 else
30699 { echo "$as_me:$LINENO: result: no" >&5
30700 echo "${ECHO_T}no" >&6; }
30701 fi
30702
30703
30704
30705 if test x$PKG_CONFIG != xno ; then
30706 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30707 :
30708 else
30709 echo "*** pkg-config too old; version 0.7 or better required."
30710 no_gtk=yes
30711 PKG_CONFIG=no
30712 fi
30713 else
30714 no_gtk=yes
30715 fi
30716
30717 min_gtk_version=2.0.0
30718 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30719 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30720
30721 if test x$PKG_CONFIG != xno ; then
30722 ## don't try to run the test against uninstalled libtool libs
30723 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30724 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30725 enable_gtktest=no
30726 fi
30727
30728 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30729 :
30730 else
30731 no_gtk=yes
30732 fi
30733 fi
30734
30735 if test x"$no_gtk" = x ; then
30736 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30737 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30738 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30740 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30742 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30744 if test "x$enable_gtktest" = "xyes" ; then
30745 ac_save_CFLAGS="$CFLAGS"
30746 ac_save_LIBS="$LIBS"
30747 CFLAGS="$CFLAGS $GTK_CFLAGS"
30748 LIBS="$GTK_LIBS $LIBS"
30749 rm -f conf.gtktest
30750 if test "$cross_compiling" = yes; then
30751 echo $ac_n "cross compiling; assumed OK... $ac_c"
30752 else
30753 cat >conftest.$ac_ext <<_ACEOF
30754 /* confdefs.h. */
30755 _ACEOF
30756 cat confdefs.h >>conftest.$ac_ext
30757 cat >>conftest.$ac_ext <<_ACEOF
30758 /* end confdefs.h. */
30759
30760 #include <gtk/gtk.h>
30761 #include <stdio.h>
30762 #include <stdlib.h>
30763
30764 int
30765 main ()
30766 {
30767 int major, minor, micro;
30768 char *tmp_version;
30769
30770 system ("touch conf.gtktest");
30771
30772 /* HP/UX 9 (%@#!) writes to sscanf strings */
30773 tmp_version = g_strdup("$min_gtk_version");
30774 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30775 printf("%s, bad version string\n", "$min_gtk_version");
30776 exit(1);
30777 }
30778
30779 if ((gtk_major_version != $gtk_config_major_version) ||
30780 (gtk_minor_version != $gtk_config_minor_version) ||
30781 (gtk_micro_version != $gtk_config_micro_version))
30782 {
30783 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30784 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30785 gtk_major_version, gtk_minor_version, gtk_micro_version);
30786 printf ("*** was found! If pkg-config was correct, then it is best\n");
30787 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30788 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30789 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30790 printf("*** required on your system.\n");
30791 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30792 printf("*** to point to the correct configuration files\n");
30793 }
30794 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30795 (gtk_minor_version != GTK_MINOR_VERSION) ||
30796 (gtk_micro_version != GTK_MICRO_VERSION))
30797 {
30798 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30799 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30800 printf("*** library (version %d.%d.%d)\n",
30801 gtk_major_version, gtk_minor_version, gtk_micro_version);
30802 }
30803 else
30804 {
30805 if ((gtk_major_version > major) ||
30806 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30807 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30808 {
30809 return 0;
30810 }
30811 else
30812 {
30813 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30814 gtk_major_version, gtk_minor_version, gtk_micro_version);
30815 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30816 major, minor, micro);
30817 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30818 printf("***\n");
30819 printf("*** If you have already installed a sufficiently new version, this error\n");
30820 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30821 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30822 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30823 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30824 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30825 printf("*** so that the correct libraries are found at run-time))\n");
30826 }
30827 }
30828 return 1;
30829 }
30830
30831 _ACEOF
30832 rm -f conftest$ac_exeext
30833 if { (ac_try="$ac_link"
30834 case "(($ac_try" in
30835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30836 *) ac_try_echo=$ac_try;;
30837 esac
30838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30839 (eval "$ac_link") 2>&5
30840 ac_status=$?
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30843 { (case "(($ac_try" in
30844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30845 *) ac_try_echo=$ac_try;;
30846 esac
30847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30848 (eval "$ac_try") 2>&5
30849 ac_status=$?
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; }; then
30852 :
30853 else
30854 echo "$as_me: program exited with status $ac_status" >&5
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.$ac_ext >&5
30857
30858 ( exit $ac_status )
30859 no_gtk=yes
30860 fi
30861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30862 fi
30863
30864
30865 CFLAGS="$ac_save_CFLAGS"
30866 LIBS="$ac_save_LIBS"
30867 fi
30868 fi
30869 if test "x$no_gtk" = x ; then
30870 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30871 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30872 wx_cv_lib_gtk=2.0
30873 else
30874 { echo "$as_me:$LINENO: result: no" >&5
30875 echo "${ECHO_T}no" >&6; }
30876 if test "$PKG_CONFIG" = "no" ; then
30877 echo "*** A new enough version of pkg-config was not found."
30878 echo "*** See http://pkgconfig.sourceforge.net"
30879 else
30880 if test -f conf.gtktest ; then
30881 :
30882 else
30883 echo "*** Could not run GTK+ test program, checking why..."
30884 ac_save_CFLAGS="$CFLAGS"
30885 ac_save_LIBS="$LIBS"
30886 CFLAGS="$CFLAGS $GTK_CFLAGS"
30887 LIBS="$LIBS $GTK_LIBS"
30888 cat >conftest.$ac_ext <<_ACEOF
30889 /* confdefs.h. */
30890 _ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30894
30895 #include <gtk/gtk.h>
30896 #include <stdio.h>
30897
30898 int
30899 main ()
30900 {
30901 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30902 ;
30903 return 0;
30904 }
30905 _ACEOF
30906 rm -f conftest.$ac_objext conftest$ac_exeext
30907 if { (ac_try="$ac_link"
30908 case "(($ac_try" in
30909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30910 *) ac_try_echo=$ac_try;;
30911 esac
30912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30913 (eval "$ac_link") 2>conftest.er1
30914 ac_status=$?
30915 grep -v '^ *+' conftest.er1 >conftest.err
30916 rm -f conftest.er1
30917 cat conftest.err >&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } && {
30920 test -z "$ac_c_werror_flag" ||
30921 test ! -s conftest.err
30922 } && test -s conftest$ac_exeext &&
30923 $as_test_x conftest$ac_exeext; then
30924 echo "*** The test program compiled, but did not run. This usually means"
30925 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30926 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30927 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30928 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30929 echo "*** is required on your system"
30930 echo "***"
30931 echo "*** If you have an old version installed, it is best to remove it, although"
30932 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30933 else
30934 echo "$as_me: failed program was:" >&5
30935 sed 's/^/| /' conftest.$ac_ext >&5
30936
30937 echo "*** The test program failed to compile or link. See the file config.log for the"
30938 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30939 fi
30940
30941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30942 conftest$ac_exeext conftest.$ac_ext
30943 CFLAGS="$ac_save_CFLAGS"
30944 LIBS="$ac_save_LIBS"
30945 fi
30946 fi
30947 GTK_CFLAGS=""
30948 GTK_LIBS=""
30949 :
30950 fi
30951
30952
30953 rm -f conf.gtktest
30954
30955
30956 case "${host}" in
30957 *-*-solaris2* )
30958 if test "$wxUSE_SHARED" != "yes"; then
30959 GTK_LIBS="$GTK_LIBS -lX11"
30960 fi
30961 esac
30962 fi
30963
30964 if test -z "$wx_cv_lib_gtk"; then
30965 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30966
30967 # Check whether --with-gtk-prefix was given.
30968 if test "${with_gtk_prefix+set}" = set; then
30969 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30970 else
30971 gtk_config_prefix=""
30972 fi
30973
30974
30975 # Check whether --with-gtk-exec-prefix was given.
30976 if test "${with_gtk_exec_prefix+set}" = set; then
30977 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30978 else
30979 gtk_config_exec_prefix=""
30980 fi
30981
30982 # Check whether --enable-gtktest was given.
30983 if test "${enable_gtktest+set}" = set; then
30984 enableval=$enable_gtktest;
30985 else
30986 enable_gtktest=yes
30987 fi
30988
30989
30990 for module in . $GTK_MODULES
30991 do
30992 case "$module" in
30993 gthread)
30994 gtk_config_args="$gtk_config_args gthread"
30995 ;;
30996 esac
30997 done
30998
30999 if test x$gtk_config_exec_prefix != x ; then
31000 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31001 if test x${GTK_CONFIG+set} != xset ; then
31002 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31003 fi
31004 fi
31005 if test x$gtk_config_prefix != x ; then
31006 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31007 if test x${GTK_CONFIG+set} != xset ; then
31008 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31009 fi
31010 fi
31011
31012 # Extract the first word of "gtk-config", so it can be a program name with args.
31013 set dummy gtk-config; ac_word=$2
31014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31016 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31018 else
31019 case $GTK_CONFIG in
31020 [\\/]* | ?:[\\/]*)
31021 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31022 ;;
31023 *)
31024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31025 for as_dir in $PATH
31026 do
31027 IFS=$as_save_IFS
31028 test -z "$as_dir" && as_dir=.
31029 for ac_exec_ext in '' $ac_executable_extensions; do
31030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31031 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31033 break 2
31034 fi
31035 done
31036 done
31037 IFS=$as_save_IFS
31038
31039 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31040 ;;
31041 esac
31042 fi
31043 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31044 if test -n "$GTK_CONFIG"; then
31045 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31046 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31047 else
31048 { echo "$as_me:$LINENO: result: no" >&5
31049 echo "${ECHO_T}no" >&6; }
31050 fi
31051
31052
31053 min_gtk_version=1.2.7
31054 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31055 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31056 no_gtk=""
31057 if test "$GTK_CONFIG" = "no" ; then
31058 no_gtk=yes
31059 else
31060 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31061 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31062 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31064 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31065 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31066 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31068 if test "x$enable_gtktest" = "xyes" ; then
31069 ac_save_CFLAGS="$CFLAGS"
31070 ac_save_LIBS="$LIBS"
31071 CFLAGS="$CFLAGS $GTK_CFLAGS"
31072 LIBS="$GTK_LIBS $LIBS"
31073 rm -f conf.gtktest
31074 if test "$cross_compiling" = yes; then
31075 echo $ac_n "cross compiling; assumed OK... $ac_c"
31076 else
31077 cat >conftest.$ac_ext <<_ACEOF
31078 /* confdefs.h. */
31079 _ACEOF
31080 cat confdefs.h >>conftest.$ac_ext
31081 cat >>conftest.$ac_ext <<_ACEOF
31082 /* end confdefs.h. */
31083
31084 #include <gtk/gtk.h>
31085 #include <stdio.h>
31086 #include <stdlib.h>
31087
31088 int
31089 main ()
31090 {
31091 int major, minor, micro;
31092 char *tmp_version;
31093
31094 system ("touch conf.gtktest");
31095
31096 /* HP/UX 9 (%@#!) writes to sscanf strings */
31097 tmp_version = g_strdup("$min_gtk_version");
31098 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31099 printf("%s, bad version string\n", "$min_gtk_version");
31100 exit(1);
31101 }
31102
31103 if ((gtk_major_version != $gtk_config_major_version) ||
31104 (gtk_minor_version != $gtk_config_minor_version) ||
31105 (gtk_micro_version != $gtk_config_micro_version))
31106 {
31107 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31108 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31109 gtk_major_version, gtk_minor_version, gtk_micro_version);
31110 printf ("*** was found! If gtk-config was correct, then it is best\n");
31111 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31112 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31113 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31114 printf("*** required on your system.\n");
31115 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31116 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31117 printf("*** before re-running configure\n");
31118 }
31119 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31120 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31121 (gtk_minor_version != GTK_MINOR_VERSION) ||
31122 (gtk_micro_version != GTK_MICRO_VERSION))
31123 {
31124 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31125 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31126 printf("*** library (version %d.%d.%d)\n",
31127 gtk_major_version, gtk_minor_version, gtk_micro_version);
31128 }
31129 #endif /* defined (GTK_MAJOR_VERSION) ... */
31130 else
31131 {
31132 if ((gtk_major_version > major) ||
31133 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31134 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31135 {
31136 return 0;
31137 }
31138 else
31139 {
31140 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31141 gtk_major_version, gtk_minor_version, gtk_micro_version);
31142 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31143 major, minor, micro);
31144 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31145 printf("***\n");
31146 printf("*** If you have already installed a sufficiently new version, this error\n");
31147 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31148 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31149 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31150 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31151 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31152 printf("*** so that the correct libraries are found at run-time))\n");
31153 }
31154 }
31155 return 1;
31156 }
31157
31158 _ACEOF
31159 rm -f conftest$ac_exeext
31160 if { (ac_try="$ac_link"
31161 case "(($ac_try" in
31162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31163 *) ac_try_echo=$ac_try;;
31164 esac
31165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31166 (eval "$ac_link") 2>&5
31167 ac_status=$?
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31170 { (case "(($ac_try" in
31171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31172 *) ac_try_echo=$ac_try;;
31173 esac
31174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31175 (eval "$ac_try") 2>&5
31176 ac_status=$?
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); }; }; then
31179 :
31180 else
31181 echo "$as_me: program exited with status $ac_status" >&5
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.$ac_ext >&5
31184
31185 ( exit $ac_status )
31186 no_gtk=yes
31187 fi
31188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31189 fi
31190
31191
31192 CFLAGS="$ac_save_CFLAGS"
31193 LIBS="$ac_save_LIBS"
31194 fi
31195 fi
31196 if test "x$no_gtk" = x ; then
31197 { echo "$as_me:$LINENO: result: yes" >&5
31198 echo "${ECHO_T}yes" >&6; }
31199 wx_cv_lib_gtk=1.2.7
31200 else
31201 { echo "$as_me:$LINENO: result: no" >&5
31202 echo "${ECHO_T}no" >&6; }
31203 if test "$GTK_CONFIG" = "no" ; then
31204 echo "*** The gtk-config script installed by GTK could not be found"
31205 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31206 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31207 echo "*** full path to gtk-config."
31208 else
31209 if test -f conf.gtktest ; then
31210 :
31211 else
31212 echo "*** Could not run GTK test program, checking why..."
31213 CFLAGS="$CFLAGS $GTK_CFLAGS"
31214 LIBS="$LIBS $GTK_LIBS"
31215 cat >conftest.$ac_ext <<_ACEOF
31216 /* confdefs.h. */
31217 _ACEOF
31218 cat confdefs.h >>conftest.$ac_ext
31219 cat >>conftest.$ac_ext <<_ACEOF
31220 /* end confdefs.h. */
31221
31222 #include <gtk/gtk.h>
31223 #include <stdio.h>
31224
31225 int
31226 main ()
31227 {
31228 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31229 ;
31230 return 0;
31231 }
31232 _ACEOF
31233 rm -f conftest.$ac_objext conftest$ac_exeext
31234 if { (ac_try="$ac_link"
31235 case "(($ac_try" in
31236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31237 *) ac_try_echo=$ac_try;;
31238 esac
31239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31240 (eval "$ac_link") 2>conftest.er1
31241 ac_status=$?
31242 grep -v '^ *+' conftest.er1 >conftest.err
31243 rm -f conftest.er1
31244 cat conftest.err >&5
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); } && {
31247 test -z "$ac_c_werror_flag" ||
31248 test ! -s conftest.err
31249 } && test -s conftest$ac_exeext &&
31250 $as_test_x conftest$ac_exeext; then
31251 echo "*** The test program compiled, but did not run. This usually means"
31252 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31253 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31254 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31255 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31256 echo "*** is required on your system"
31257 echo "***"
31258 echo "*** If you have an old version installed, it is best to remove it, although"
31259 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31260 echo "***"
31261 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31262 echo "*** came with the system with the command"
31263 echo "***"
31264 echo "*** rpm --erase --nodeps gtk gtk-devel"
31265 else
31266 echo "$as_me: failed program was:" >&5
31267 sed 's/^/| /' conftest.$ac_ext >&5
31268
31269 echo "*** The test program failed to compile or link. See the file config.log for the"
31270 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31271 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31272 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31273 fi
31274
31275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31276 conftest$ac_exeext conftest.$ac_ext
31277 CFLAGS="$ac_save_CFLAGS"
31278 LIBS="$ac_save_LIBS"
31279 fi
31280 fi
31281 GTK_CFLAGS=""
31282 GTK_LIBS=""
31283 :
31284 fi
31285
31286
31287 rm -f conf.gtktest
31288
31289
31290 if test -z "$wx_cv_lib_gtk"; then
31291
31292 # Check whether --with-gtk-prefix was given.
31293 if test "${with_gtk_prefix+set}" = set; then
31294 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31295 else
31296 gtk_config_prefix=""
31297 fi
31298
31299
31300 # Check whether --with-gtk-exec-prefix was given.
31301 if test "${with_gtk_exec_prefix+set}" = set; then
31302 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31303 else
31304 gtk_config_exec_prefix=""
31305 fi
31306
31307 # Check whether --enable-gtktest was given.
31308 if test "${enable_gtktest+set}" = set; then
31309 enableval=$enable_gtktest;
31310 else
31311 enable_gtktest=yes
31312 fi
31313
31314
31315 for module in . $GTK_MODULES
31316 do
31317 case "$module" in
31318 gthread)
31319 gtk_config_args="$gtk_config_args gthread"
31320 ;;
31321 esac
31322 done
31323
31324 if test x$gtk_config_exec_prefix != x ; then
31325 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31326 if test x${GTK_CONFIG+set} != xset ; then
31327 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31328 fi
31329 fi
31330 if test x$gtk_config_prefix != x ; then
31331 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31332 if test x${GTK_CONFIG+set} != xset ; then
31333 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31334 fi
31335 fi
31336
31337 # Extract the first word of "gtk-config", so it can be a program name with args.
31338 set dummy gtk-config; ac_word=$2
31339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31341 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 else
31344 case $GTK_CONFIG in
31345 [\\/]* | ?:[\\/]*)
31346 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31347 ;;
31348 *)
31349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31350 for as_dir in $PATH
31351 do
31352 IFS=$as_save_IFS
31353 test -z "$as_dir" && as_dir=.
31354 for ac_exec_ext in '' $ac_executable_extensions; do
31355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31356 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31358 break 2
31359 fi
31360 done
31361 done
31362 IFS=$as_save_IFS
31363
31364 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31365 ;;
31366 esac
31367 fi
31368 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31369 if test -n "$GTK_CONFIG"; then
31370 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31371 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31372 else
31373 { echo "$as_me:$LINENO: result: no" >&5
31374 echo "${ECHO_T}no" >&6; }
31375 fi
31376
31377
31378 min_gtk_version=1.2.3
31379 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31380 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31381 no_gtk=""
31382 if test "$GTK_CONFIG" = "no" ; then
31383 no_gtk=yes
31384 else
31385 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31386 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31387 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31389 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31391 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31393 if test "x$enable_gtktest" = "xyes" ; then
31394 ac_save_CFLAGS="$CFLAGS"
31395 ac_save_LIBS="$LIBS"
31396 CFLAGS="$CFLAGS $GTK_CFLAGS"
31397 LIBS="$GTK_LIBS $LIBS"
31398 rm -f conf.gtktest
31399 if test "$cross_compiling" = yes; then
31400 echo $ac_n "cross compiling; assumed OK... $ac_c"
31401 else
31402 cat >conftest.$ac_ext <<_ACEOF
31403 /* confdefs.h. */
31404 _ACEOF
31405 cat confdefs.h >>conftest.$ac_ext
31406 cat >>conftest.$ac_ext <<_ACEOF
31407 /* end confdefs.h. */
31408
31409 #include <gtk/gtk.h>
31410 #include <stdio.h>
31411 #include <stdlib.h>
31412
31413 int
31414 main ()
31415 {
31416 int major, minor, micro;
31417 char *tmp_version;
31418
31419 system ("touch conf.gtktest");
31420
31421 /* HP/UX 9 (%@#!) writes to sscanf strings */
31422 tmp_version = g_strdup("$min_gtk_version");
31423 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31424 printf("%s, bad version string\n", "$min_gtk_version");
31425 exit(1);
31426 }
31427
31428 if ((gtk_major_version != $gtk_config_major_version) ||
31429 (gtk_minor_version != $gtk_config_minor_version) ||
31430 (gtk_micro_version != $gtk_config_micro_version))
31431 {
31432 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31433 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31434 gtk_major_version, gtk_minor_version, gtk_micro_version);
31435 printf ("*** was found! If gtk-config was correct, then it is best\n");
31436 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31437 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31438 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31439 printf("*** required on your system.\n");
31440 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31441 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31442 printf("*** before re-running configure\n");
31443 }
31444 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31445 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31446 (gtk_minor_version != GTK_MINOR_VERSION) ||
31447 (gtk_micro_version != GTK_MICRO_VERSION))
31448 {
31449 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31450 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31451 printf("*** library (version %d.%d.%d)\n",
31452 gtk_major_version, gtk_minor_version, gtk_micro_version);
31453 }
31454 #endif /* defined (GTK_MAJOR_VERSION) ... */
31455 else
31456 {
31457 if ((gtk_major_version > major) ||
31458 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31459 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31460 {
31461 return 0;
31462 }
31463 else
31464 {
31465 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31466 gtk_major_version, gtk_minor_version, gtk_micro_version);
31467 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31468 major, minor, micro);
31469 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31470 printf("***\n");
31471 printf("*** If you have already installed a sufficiently new version, this error\n");
31472 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31473 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31474 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31475 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31476 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31477 printf("*** so that the correct libraries are found at run-time))\n");
31478 }
31479 }
31480 return 1;
31481 }
31482
31483 _ACEOF
31484 rm -f conftest$ac_exeext
31485 if { (ac_try="$ac_link"
31486 case "(($ac_try" in
31487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31488 *) ac_try_echo=$ac_try;;
31489 esac
31490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31491 (eval "$ac_link") 2>&5
31492 ac_status=$?
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31495 { (case "(($ac_try" in
31496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31497 *) ac_try_echo=$ac_try;;
31498 esac
31499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31500 (eval "$ac_try") 2>&5
31501 ac_status=$?
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); }; }; then
31504 :
31505 else
31506 echo "$as_me: program exited with status $ac_status" >&5
31507 echo "$as_me: failed program was:" >&5
31508 sed 's/^/| /' conftest.$ac_ext >&5
31509
31510 ( exit $ac_status )
31511 no_gtk=yes
31512 fi
31513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31514 fi
31515
31516
31517 CFLAGS="$ac_save_CFLAGS"
31518 LIBS="$ac_save_LIBS"
31519 fi
31520 fi
31521 if test "x$no_gtk" = x ; then
31522 { echo "$as_me:$LINENO: result: yes" >&5
31523 echo "${ECHO_T}yes" >&6; }
31524 wx_cv_lib_gtk=1.2.3
31525 else
31526 { echo "$as_me:$LINENO: result: no" >&5
31527 echo "${ECHO_T}no" >&6; }
31528 if test "$GTK_CONFIG" = "no" ; then
31529 echo "*** The gtk-config script installed by GTK could not be found"
31530 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31531 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31532 echo "*** full path to gtk-config."
31533 else
31534 if test -f conf.gtktest ; then
31535 :
31536 else
31537 echo "*** Could not run GTK test program, checking why..."
31538 CFLAGS="$CFLAGS $GTK_CFLAGS"
31539 LIBS="$LIBS $GTK_LIBS"
31540 cat >conftest.$ac_ext <<_ACEOF
31541 /* confdefs.h. */
31542 _ACEOF
31543 cat confdefs.h >>conftest.$ac_ext
31544 cat >>conftest.$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31546
31547 #include <gtk/gtk.h>
31548 #include <stdio.h>
31549
31550 int
31551 main ()
31552 {
31553 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31554 ;
31555 return 0;
31556 }
31557 _ACEOF
31558 rm -f conftest.$ac_objext conftest$ac_exeext
31559 if { (ac_try="$ac_link"
31560 case "(($ac_try" in
31561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31562 *) ac_try_echo=$ac_try;;
31563 esac
31564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31565 (eval "$ac_link") 2>conftest.er1
31566 ac_status=$?
31567 grep -v '^ *+' conftest.er1 >conftest.err
31568 rm -f conftest.er1
31569 cat conftest.err >&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); } && {
31572 test -z "$ac_c_werror_flag" ||
31573 test ! -s conftest.err
31574 } && test -s conftest$ac_exeext &&
31575 $as_test_x conftest$ac_exeext; then
31576 echo "*** The test program compiled, but did not run. This usually means"
31577 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31578 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31579 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31580 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31581 echo "*** is required on your system"
31582 echo "***"
31583 echo "*** If you have an old version installed, it is best to remove it, although"
31584 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31585 echo "***"
31586 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31587 echo "*** came with the system with the command"
31588 echo "***"
31589 echo "*** rpm --erase --nodeps gtk gtk-devel"
31590 else
31591 echo "$as_me: failed program was:" >&5
31592 sed 's/^/| /' conftest.$ac_ext >&5
31593
31594 echo "*** The test program failed to compile or link. See the file config.log for the"
31595 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31596 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31597 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31598 fi
31599
31600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31601 conftest$ac_exeext conftest.$ac_ext
31602 CFLAGS="$ac_save_CFLAGS"
31603 LIBS="$ac_save_LIBS"
31604 fi
31605 fi
31606 GTK_CFLAGS=""
31607 GTK_LIBS=""
31608 :
31609 fi
31610
31611
31612 rm -f conf.gtktest
31613
31614 fi
31615 fi
31616 fi
31617
31618 if test -z "$wx_cv_lib_gtk"; then
31619 wx_cv_lib_gtk=none
31620 else
31621 wx_cv_cflags_gtk=$GTK_CFLAGS
31622 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31623 fi
31624
31625
31626 fi
31627
31628
31629 if test "$gtk_version_cached" = 1; then
31630 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31631 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31632 fi
31633
31634 case "$wx_cv_lib_gtk" in
31635 2.0) WXGTK20=1
31636 TOOLKIT_VERSION=2
31637 ;;
31638 1.2.7) WXGTK127=1
31639 WXGTK12=1
31640 ;;
31641 1.2.3) WXGTK12=1
31642 ;;
31643 *) { { echo "$as_me:$LINENO: error:
31644 The development files for GTK+ were not found. For GTK+ 2, please
31645 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31646 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31647 and that the version is 1.2.3 or above. Also check that the
31648 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31649 --libs' are in the LD_LIBRARY_PATH or equivalent.
31650 " >&5
31651 echo "$as_me: error:
31652 The development files for GTK+ were not found. For GTK+ 2, please
31653 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31654 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31655 and that the version is 1.2.3 or above. Also check that the
31656 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31657 --libs' are in the LD_LIBRARY_PATH or equivalent.
31658 " >&2;}
31659 { (exit 1); exit 1; }; }
31660 ;;
31661 esac
31662
31663 if test "$WXGTK20" = 1; then
31664 save_CFLAGS="$CFLAGS"
31665 save_LIBS="$LIBS"
31666 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31667 LIBS="$LIBS $wx_cv_libs_gtk"
31668
31669 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31670 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31671 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31672 echo $ECHO_N "(cached) $ECHO_C" >&6
31673 else
31674 cat >conftest.$ac_ext <<_ACEOF
31675 /* confdefs.h. */
31676 _ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31680 #include <gtk/gtk.h>
31681
31682 int
31683 main ()
31684 {
31685 #ifndef gtk_icon_size_lookup
31686 (void) gtk_icon_size_lookup;
31687 #endif
31688
31689 ;
31690 return 0;
31691 }
31692 _ACEOF
31693 rm -f conftest.$ac_objext
31694 if { (ac_try="$ac_compile"
31695 case "(($ac_try" in
31696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31697 *) ac_try_echo=$ac_try;;
31698 esac
31699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31700 (eval "$ac_compile") 2>conftest.er1
31701 ac_status=$?
31702 grep -v '^ *+' conftest.er1 >conftest.err
31703 rm -f conftest.er1
31704 cat conftest.err >&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); } && {
31707 test -z "$ac_c_werror_flag" ||
31708 test ! -s conftest.err
31709 } && test -s conftest.$ac_objext; then
31710 ac_cv_have_decl_gtk_icon_size_lookup=yes
31711 else
31712 echo "$as_me: failed program was:" >&5
31713 sed 's/^/| /' conftest.$ac_ext >&5
31714
31715 ac_cv_have_decl_gtk_icon_size_lookup=no
31716 fi
31717
31718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31719 fi
31720 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31721 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31722 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31723
31724 cat >>confdefs.h <<_ACEOF
31725 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31726 _ACEOF
31727
31728
31729 else
31730 cat >>confdefs.h <<_ACEOF
31731 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31732 _ACEOF
31733
31734 cat >>confdefs.h <<\_ACEOF
31735 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31736 _ACEOF
31737
31738 fi
31739
31740
31741
31742
31743 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31744 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31745 cat >conftest.$ac_ext <<_ACEOF
31746 /* confdefs.h. */
31747 _ACEOF
31748 cat confdefs.h >>conftest.$ac_ext
31749 cat >>conftest.$ac_ext <<_ACEOF
31750 /* end confdefs.h. */
31751
31752 #include <gtk/gtk.h>
31753
31754 int
31755 main ()
31756 {
31757
31758 #if !GTK_CHECK_VERSION(2,10,0)
31759 Not GTK+ 2.10
31760 #endif
31761
31762 ;
31763 return 0;
31764 }
31765 _ACEOF
31766 rm -f conftest.$ac_objext
31767 if { (ac_try="$ac_compile"
31768 case "(($ac_try" in
31769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31770 *) ac_try_echo=$ac_try;;
31771 esac
31772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31773 (eval "$ac_compile") 2>conftest.er1
31774 ac_status=$?
31775 grep -v '^ *+' conftest.er1 >conftest.err
31776 rm -f conftest.er1
31777 cat conftest.err >&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); } && {
31780 test -z "$ac_c_werror_flag" ||
31781 test ! -s conftest.err
31782 } && test -s conftest.$ac_objext; then
31783
31784 cat >>confdefs.h <<\_ACEOF
31785 #define __WXGTK210__ 1
31786 _ACEOF
31787
31788 cat >>confdefs.h <<\_ACEOF
31789 #define __WXGTK26__ 1
31790 _ACEOF
31791
31792 cat >>confdefs.h <<\_ACEOF
31793 #define __WXGTK24__ 1
31794 _ACEOF
31795
31796 { echo "$as_me:$LINENO: result: yes" >&5
31797 echo "${ECHO_T}yes" >&6; }
31798 ac_wxgtk210=1
31799
31800 else
31801 echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.$ac_ext >&5
31803
31804
31805 { echo "$as_me:$LINENO: result: no" >&5
31806 echo "${ECHO_T}no" >&6; }
31807 ac_wxgtk210=0
31808
31809 fi
31810
31811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812
31813 if test "$ac_wxgtk210" = 0; then
31814 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31815 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31816 cat >conftest.$ac_ext <<_ACEOF
31817 /* confdefs.h. */
31818 _ACEOF
31819 cat confdefs.h >>conftest.$ac_ext
31820 cat >>conftest.$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31822
31823 #include <gtk/gtk.h>
31824
31825 int
31826 main ()
31827 {
31828
31829 #if !GTK_CHECK_VERSION(2,6,0)
31830 Not GTK+ 2.6
31831 #endif
31832
31833 ;
31834 return 0;
31835 }
31836 _ACEOF
31837 rm -f conftest.$ac_objext
31838 if { (ac_try="$ac_compile"
31839 case "(($ac_try" in
31840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31841 *) ac_try_echo=$ac_try;;
31842 esac
31843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31844 (eval "$ac_compile") 2>conftest.er1
31845 ac_status=$?
31846 grep -v '^ *+' conftest.er1 >conftest.err
31847 rm -f conftest.er1
31848 cat conftest.err >&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); } && {
31851 test -z "$ac_c_werror_flag" ||
31852 test ! -s conftest.err
31853 } && test -s conftest.$ac_objext; then
31854
31855 cat >>confdefs.h <<\_ACEOF
31856 #define __WXGTK26__ 1
31857 _ACEOF
31858
31859 cat >>confdefs.h <<\_ACEOF
31860 #define __WXGTK24__ 1
31861 _ACEOF
31862
31863 { echo "$as_me:$LINENO: result: yes" >&5
31864 echo "${ECHO_T}yes" >&6; }
31865 ac_wxgtk26=1
31866
31867 else
31868 echo "$as_me: failed program was:" >&5
31869 sed 's/^/| /' conftest.$ac_ext >&5
31870
31871
31872 { echo "$as_me:$LINENO: result: no" >&5
31873 echo "${ECHO_T}no" >&6; }
31874 ac_wxgtk26=0
31875
31876 fi
31877
31878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31879 fi
31880
31881 if test "$ac_wxgtk26" = 0; then
31882 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31883 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31884 cat >conftest.$ac_ext <<_ACEOF
31885 /* confdefs.h. */
31886 _ACEOF
31887 cat confdefs.h >>conftest.$ac_ext
31888 cat >>conftest.$ac_ext <<_ACEOF
31889 /* end confdefs.h. */
31890
31891 #include <gtk/gtk.h>
31892
31893 int
31894 main ()
31895 {
31896
31897 #if !GTK_CHECK_VERSION(2,4,0)
31898 Not GTK+ 2.4
31899 #endif
31900
31901 ;
31902 return 0;
31903 }
31904 _ACEOF
31905 rm -f conftest.$ac_objext
31906 if { (ac_try="$ac_compile"
31907 case "(($ac_try" in
31908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31909 *) ac_try_echo=$ac_try;;
31910 esac
31911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31912 (eval "$ac_compile") 2>conftest.er1
31913 ac_status=$?
31914 grep -v '^ *+' conftest.er1 >conftest.err
31915 rm -f conftest.er1
31916 cat conftest.err >&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); } && {
31919 test -z "$ac_c_werror_flag" ||
31920 test ! -s conftest.err
31921 } && test -s conftest.$ac_objext; then
31922
31923 cat >>confdefs.h <<\_ACEOF
31924 #define __WXGTK24__ 1
31925 _ACEOF
31926
31927 { echo "$as_me:$LINENO: result: yes" >&5
31928 echo "${ECHO_T}yes" >&6; }
31929
31930 else
31931 echo "$as_me: failed program was:" >&5
31932 sed 's/^/| /' conftest.$ac_ext >&5
31933
31934
31935 { echo "$as_me:$LINENO: result: no" >&5
31936 echo "${ECHO_T}no" >&6; }
31937
31938 fi
31939
31940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31941 fi
31942
31943 CFLAGS="$save_CFLAGS"
31944 LIBS="$save_LIBS"
31945 else
31946 if test "$wxUSE_UNICODE" = "yes"; then
31947 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31948 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31949 wxUSE_UNICODE=no
31950 fi
31951
31952 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31953 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31954 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31955 echo $ECHO_N "(cached) $ECHO_C" >&6
31956 else
31957 ac_check_lib_save_LIBS=$LIBS
31958 LIBS="-lgdk $LIBS"
31959 cat >conftest.$ac_ext <<_ACEOF
31960 /* confdefs.h. */
31961 _ACEOF
31962 cat confdefs.h >>conftest.$ac_ext
31963 cat >>conftest.$ac_ext <<_ACEOF
31964 /* end confdefs.h. */
31965
31966 /* Override any GCC internal prototype to avoid an error.
31967 Use char because int might match the return type of a GCC
31968 builtin and then its argument prototype would still apply. */
31969 #ifdef __cplusplus
31970 extern "C"
31971 #endif
31972 char gdk_im_open ();
31973 int
31974 main ()
31975 {
31976 return gdk_im_open ();
31977 ;
31978 return 0;
31979 }
31980 _ACEOF
31981 rm -f conftest.$ac_objext conftest$ac_exeext
31982 if { (ac_try="$ac_link"
31983 case "(($ac_try" in
31984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31985 *) ac_try_echo=$ac_try;;
31986 esac
31987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31988 (eval "$ac_link") 2>conftest.er1
31989 ac_status=$?
31990 grep -v '^ *+' conftest.er1 >conftest.err
31991 rm -f conftest.er1
31992 cat conftest.err >&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); } && {
31995 test -z "$ac_c_werror_flag" ||
31996 test ! -s conftest.err
31997 } && test -s conftest$ac_exeext &&
31998 $as_test_x conftest$ac_exeext; then
31999 ac_cv_lib_gdk_gdk_im_open=yes
32000 else
32001 echo "$as_me: failed program was:" >&5
32002 sed 's/^/| /' conftest.$ac_ext >&5
32003
32004 ac_cv_lib_gdk_gdk_im_open=no
32005 fi
32006
32007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32008 conftest$ac_exeext conftest.$ac_ext
32009 LIBS=$ac_check_lib_save_LIBS
32010 fi
32011 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32012 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32013 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32014 cat >>confdefs.h <<\_ACEOF
32015 #define HAVE_XIM 1
32016 _ACEOF
32017
32018 fi
32019
32020
32021 if test "$USE_DARWIN" != 1; then
32022
32023 for ac_func in poll
32024 do
32025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32028 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32029 echo $ECHO_N "(cached) $ECHO_C" >&6
32030 else
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32039 #define $ac_func innocuous_$ac_func
32040
32041 /* System header to define __stub macros and hopefully few prototypes,
32042 which can conflict with char $ac_func (); below.
32043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32044 <limits.h> exists even on freestanding compilers. */
32045
32046 #ifdef __STDC__
32047 # include <limits.h>
32048 #else
32049 # include <assert.h>
32050 #endif
32051
32052 #undef $ac_func
32053
32054 /* Override any GCC internal prototype to avoid an error.
32055 Use char because int might match the return type of a GCC
32056 builtin and then its argument prototype would still apply. */
32057 #ifdef __cplusplus
32058 extern "C"
32059 #endif
32060 char $ac_func ();
32061 /* The GNU C library defines this for functions which it implements
32062 to always fail with ENOSYS. Some functions are actually named
32063 something starting with __ and the normal name is an alias. */
32064 #if defined __stub_$ac_func || defined __stub___$ac_func
32065 choke me
32066 #endif
32067
32068 int
32069 main ()
32070 {
32071 return $ac_func ();
32072 ;
32073 return 0;
32074 }
32075 _ACEOF
32076 rm -f conftest.$ac_objext conftest$ac_exeext
32077 if { (ac_try="$ac_link"
32078 case "(($ac_try" in
32079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32080 *) ac_try_echo=$ac_try;;
32081 esac
32082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32083 (eval "$ac_link") 2>conftest.er1
32084 ac_status=$?
32085 grep -v '^ *+' conftest.er1 >conftest.err
32086 rm -f conftest.er1
32087 cat conftest.err >&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); } && {
32090 test -z "$ac_c_werror_flag" ||
32091 test ! -s conftest.err
32092 } && test -s conftest$ac_exeext &&
32093 $as_test_x conftest$ac_exeext; then
32094 eval "$as_ac_var=yes"
32095 else
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32098
32099 eval "$as_ac_var=no"
32100 fi
32101
32102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32103 conftest$ac_exeext conftest.$ac_ext
32104 fi
32105 ac_res=`eval echo '${'$as_ac_var'}'`
32106 { echo "$as_me:$LINENO: result: $ac_res" >&5
32107 echo "${ECHO_T}$ac_res" >&6; }
32108 if test `eval echo '${'$as_ac_var'}'` = yes; then
32109 cat >>confdefs.h <<_ACEOF
32110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32111 _ACEOF
32112
32113 fi
32114 done
32115
32116 fi
32117 fi
32118
32119 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32120 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32121
32122 AFMINSTALL=afminstall
32123 TOOLKIT=GTK
32124 GUIDIST=GTK_DIST
32125
32126 if test "$wxUSE_GPE" = "yes"; then
32127 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32128 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32129
32130 ac_find_libraries=
32131 for ac_dir in $SEARCH_LIB;
32132 do
32133 for ac_extension in a so sl dylib dll.a; do
32134 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32135 ac_find_libraries=$ac_dir
32136 break 2
32137 fi
32138 done
32139 done
32140
32141 if test "$ac_find_libraries" != "" ; then
32142
32143 if test "$ac_find_libraries" = "default location"; then
32144 ac_path_to_link=""
32145 else
32146 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32147 result=$?
32148 if test $result = 0; then
32149 ac_path_to_link=""
32150 else
32151 ac_path_to_link=" -L$ac_find_libraries"
32152 fi
32153 fi
32154
32155 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32156 WXGPE=1
32157 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32158 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32159 else
32160 { echo "$as_me:$LINENO: result: not found" >&5
32161 echo "${ECHO_T}not found" >&6; }
32162 fi
32163
32164 fi
32165 fi
32166
32167 if test "$wxUSE_MGL" = 1; then
32168 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32169 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32170 if test "x$MGL_ROOT" = x ; then
32171 { echo "$as_me:$LINENO: result: not found" >&5
32172 echo "${ECHO_T}not found" >&6; }
32173 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32174 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32175 { (exit 1); exit 1; }; }
32176 else
32177 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32178 echo "${ECHO_T}$MGL_ROOT" >&6; }
32179 fi
32180
32181 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32182 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32183 case "${host}" in
32184 *-*-linux* )
32185 if test "x$wxUSE_SHARED" = xyes ; then
32186 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32187 else
32188 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32189 fi
32190 ;;
32191 *-pc-msdosdjgpp )
32192 mgl_os_candidates="dos32/dj2"
32193 ;;
32194 *)
32195 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32196 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32197 { (exit 1); exit 1; }; }
32198 esac
32199
32200 mgl_lib_type=""
32201 mgl_os=""
32202
32203 for mgl_os_i in $mgl_os_candidates ; do
32204 if test "x$mgl_os" = x ; then
32205 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32206 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32207 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32208 mgl_lib_type=debug
32209 mgl_os=$mgl_os_i
32210 fi
32211 fi
32212 if test "x$mgl_lib_type" = x ; then
32213 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32214 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32215 mgl_lib_type=release
32216 mgl_os=$mgl_os_i
32217 fi
32218 fi
32219 fi
32220 done
32221
32222 if test "x$mgl_os" = x ; then
32223 { echo "$as_me:$LINENO: result: not found" >&5
32224 echo "${ECHO_T}not found" >&6; }
32225 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32226 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32227 { (exit 1); exit 1; }; }
32228 fi
32229 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32230 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32231
32232 wxUSE_UNIVERSAL="yes"
32233
32234 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32235 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32236
32237 AFMINSTALL=afminstall
32238 TOOLKIT=MGL
32239 GUIDIST=MGL_DIST
32240 fi
32241
32242 if test "$wxUSE_DFB" = 1; then
32243
32244
32245 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32246 if test -n "$ac_tool_prefix"; then
32247 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32248 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32251 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32253 else
32254 case $PKG_CONFIG in
32255 [\\/]* | ?:[\\/]*)
32256 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32257 ;;
32258 *)
32259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32260 for as_dir in $PATH
32261 do
32262 IFS=$as_save_IFS
32263 test -z "$as_dir" && as_dir=.
32264 for ac_exec_ext in '' $ac_executable_extensions; do
32265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32266 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32268 break 2
32269 fi
32270 done
32271 done
32272 IFS=$as_save_IFS
32273
32274 ;;
32275 esac
32276 fi
32277 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32278 if test -n "$PKG_CONFIG"; then
32279 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32280 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32281 else
32282 { echo "$as_me:$LINENO: result: no" >&5
32283 echo "${ECHO_T}no" >&6; }
32284 fi
32285
32286
32287 fi
32288 if test -z "$ac_cv_path_PKG_CONFIG"; then
32289 ac_pt_PKG_CONFIG=$PKG_CONFIG
32290 # Extract the first word of "pkg-config", so it can be a program name with args.
32291 set dummy pkg-config; ac_word=$2
32292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32294 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32295 echo $ECHO_N "(cached) $ECHO_C" >&6
32296 else
32297 case $ac_pt_PKG_CONFIG in
32298 [\\/]* | ?:[\\/]*)
32299 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32300 ;;
32301 *)
32302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32303 for as_dir in $PATH
32304 do
32305 IFS=$as_save_IFS
32306 test -z "$as_dir" && as_dir=.
32307 for ac_exec_ext in '' $ac_executable_extensions; do
32308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32309 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32311 break 2
32312 fi
32313 done
32314 done
32315 IFS=$as_save_IFS
32316
32317 ;;
32318 esac
32319 fi
32320 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32321 if test -n "$ac_pt_PKG_CONFIG"; then
32322 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32323 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32324 else
32325 { echo "$as_me:$LINENO: result: no" >&5
32326 echo "${ECHO_T}no" >&6; }
32327 fi
32328
32329 if test "x$ac_pt_PKG_CONFIG" = x; then
32330 PKG_CONFIG=""
32331 else
32332 case $cross_compiling:$ac_tool_warned in
32333 yes:)
32334 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32335 whose name does not start with the host triplet. If you think this
32336 configuration is useful to you, please write to autoconf@gnu.org." >&5
32337 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32338 whose name does not start with the host triplet. If you think this
32339 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32340 ac_tool_warned=yes ;;
32341 esac
32342 PKG_CONFIG=$ac_pt_PKG_CONFIG
32343 fi
32344 else
32345 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32346 fi
32347
32348 fi
32349 if test -n "$PKG_CONFIG"; then
32350 _pkg_min_version=0.9.0
32351 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32352 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32353 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32354 { echo "$as_me:$LINENO: result: yes" >&5
32355 echo "${ECHO_T}yes" >&6; }
32356 else
32357 { echo "$as_me:$LINENO: result: no" >&5
32358 echo "${ECHO_T}no" >&6; }
32359 PKG_CONFIG=""
32360 fi
32361
32362 fi
32363
32364
32365 pkg_failed=no
32366 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32367 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32368
32369 if test -n "$PKG_CONFIG"; then
32370 if test -n "$DIRECTFB_CFLAGS"; then
32371 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32372 else
32373 if test -n "$PKG_CONFIG" && \
32374 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32375 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32376 ac_status=$?
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); }; then
32379 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32380 else
32381 pkg_failed=yes
32382 fi
32383 fi
32384 else
32385 pkg_failed=untried
32386 fi
32387 if test -n "$PKG_CONFIG"; then
32388 if test -n "$DIRECTFB_LIBS"; then
32389 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32390 else
32391 if test -n "$PKG_CONFIG" && \
32392 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32393 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32394 ac_status=$?
32395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396 (exit $ac_status); }; then
32397 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32398 else
32399 pkg_failed=yes
32400 fi
32401 fi
32402 else
32403 pkg_failed=untried
32404 fi
32405
32406
32407
32408 if test $pkg_failed = yes; then
32409
32410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32411 _pkg_short_errors_supported=yes
32412 else
32413 _pkg_short_errors_supported=no
32414 fi
32415 if test $_pkg_short_errors_supported = yes; then
32416 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32417 else
32418 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32419 fi
32420 # Put the nasty error message in config.log where it belongs
32421 echo "$DIRECTFB_PKG_ERRORS" >&5
32422
32423
32424 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32425 echo "$as_me: error: DirectFB not found." >&2;}
32426 { (exit 1); exit 1; }; }
32427
32428
32429 elif test $pkg_failed = untried; then
32430
32431 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32432 echo "$as_me: error: DirectFB not found." >&2;}
32433 { (exit 1); exit 1; }; }
32434
32435
32436 else
32437 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32438 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32439 { echo "$as_me:$LINENO: result: yes" >&5
32440 echo "${ECHO_T}yes" >&6; }
32441
32442 wxUSE_UNIVERSAL="yes"
32443 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32444 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32445 TOOLKIT=DFB
32446 GUIDIST=DFB_DIST
32447
32448 fi
32449 fi
32450
32451 if test "$wxUSE_MICROWIN" = 1; then
32452 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32453 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32454 if test "x$MICROWINDOWS" = x ; then
32455 { echo "$as_me:$LINENO: result: not found" >&5
32456 echo "${ECHO_T}not found" >&6; }
32457 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32458 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32459 { (exit 1); exit 1; }; }
32460 else
32461 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32462 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32463 fi
32464
32465 if test -f $MICROWINDOWS/lib/libmwin.a; then
32466 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32467 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32468 else
32469 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32470 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32471 { (exit 1); exit 1; }; }
32472 fi
32473
32474 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32475 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32476
32477 wxUSE_UNIVERSAL="yes"
32478
32479 AFMINSTALL=afminstall
32480 TOOLKIT=MICROWIN
32481 GUIDIST=MICROWIN_DIST
32482
32483 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32484 fi
32485
32486 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32487 { echo "$as_me:$LINENO: checking for X" >&5
32488 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32489
32490
32491 # Check whether --with-x was given.
32492 if test "${with_x+set}" = set; then
32493 withval=$with_x;
32494 fi
32495
32496 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32497 if test "x$with_x" = xno; then
32498 # The user explicitly disabled X.
32499 have_x=disabled
32500 else
32501 case $x_includes,$x_libraries in #(
32502 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32503 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32504 { (exit 1); exit 1; }; };; #(
32505 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32507 else
32508 # One or both of the vars are not set, and there is no cached value.
32509 ac_x_includes=no ac_x_libraries=no
32510 rm -f -r conftest.dir
32511 if mkdir conftest.dir; then
32512 cd conftest.dir
32513 cat >Imakefile <<'_ACEOF'
32514 incroot:
32515 @echo incroot='${INCROOT}'
32516 usrlibdir:
32517 @echo usrlibdir='${USRLIBDIR}'
32518 libdir:
32519 @echo libdir='${LIBDIR}'
32520 _ACEOF
32521 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32522 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32523 for ac_var in incroot usrlibdir libdir; do
32524 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32525 done
32526 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32527 for ac_extension in a so sl; do
32528 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32529 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32530 ac_im_usrlibdir=$ac_im_libdir; break
32531 fi
32532 done
32533 # Screen out bogus values from the imake configuration. They are
32534 # bogus both because they are the default anyway, and because
32535 # using them would break gcc on systems where it needs fixed includes.
32536 case $ac_im_incroot in
32537 /usr/include) ac_x_includes= ;;
32538 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32539 esac
32540 case $ac_im_usrlibdir in
32541 /usr/lib | /lib) ;;
32542 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32543 esac
32544 fi
32545 cd ..
32546 rm -f -r conftest.dir
32547 fi
32548
32549 # Standard set of common directories for X headers.
32550 # Check X11 before X11Rn because it is often a symlink to the current release.
32551 ac_x_header_dirs='
32552 /usr/X11/include
32553 /usr/X11R6/include
32554 /usr/X11R5/include
32555 /usr/X11R4/include
32556
32557 /usr/include/X11
32558 /usr/include/X11R6
32559 /usr/include/X11R5
32560 /usr/include/X11R4
32561
32562 /usr/local/X11/include
32563 /usr/local/X11R6/include
32564 /usr/local/X11R5/include
32565 /usr/local/X11R4/include
32566
32567 /usr/local/include/X11
32568 /usr/local/include/X11R6
32569 /usr/local/include/X11R5
32570 /usr/local/include/X11R4
32571
32572 /usr/X386/include
32573 /usr/x386/include
32574 /usr/XFree86/include/X11
32575
32576 /usr/include
32577 /usr/local/include
32578 /usr/unsupported/include
32579 /usr/athena/include
32580 /usr/local/x11r5/include
32581 /usr/lpp/Xamples/include
32582
32583 /usr/openwin/include
32584 /usr/openwin/share/include'
32585
32586 if test "$ac_x_includes" = no; then
32587 # Guess where to find include files, by looking for Xlib.h.
32588 # First, try using that file with no special directory specified.
32589 cat >conftest.$ac_ext <<_ACEOF
32590 /* confdefs.h. */
32591 _ACEOF
32592 cat confdefs.h >>conftest.$ac_ext
32593 cat >>conftest.$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595 #include <X11/Xlib.h>
32596 _ACEOF
32597 if { (ac_try="$ac_cpp conftest.$ac_ext"
32598 case "(($ac_try" in
32599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32600 *) ac_try_echo=$ac_try;;
32601 esac
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } >/dev/null && {
32610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32611 test ! -s conftest.err
32612 }; then
32613 # We can compile using X headers with no special include directory.
32614 ac_x_includes=
32615 else
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32618
32619 for ac_dir in $ac_x_header_dirs; do
32620 if test -r "$ac_dir/X11/Xlib.h"; then
32621 ac_x_includes=$ac_dir
32622 break
32623 fi
32624 done
32625 fi
32626
32627 rm -f conftest.err conftest.$ac_ext
32628 fi # $ac_x_includes = no
32629
32630 if test "$ac_x_libraries" = no; then
32631 # Check for the libraries.
32632 # See if we find them without any special options.
32633 # Don't add to $LIBS permanently.
32634 ac_save_LIBS=$LIBS
32635 LIBS="-lX11 $LIBS"
32636 cat >conftest.$ac_ext <<_ACEOF
32637 /* confdefs.h. */
32638 _ACEOF
32639 cat confdefs.h >>conftest.$ac_ext
32640 cat >>conftest.$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32642 #include <X11/Xlib.h>
32643 int
32644 main ()
32645 {
32646 XrmInitialize ()
32647 ;
32648 return 0;
32649 }
32650 _ACEOF
32651 rm -f conftest.$ac_objext conftest$ac_exeext
32652 if { (ac_try="$ac_link"
32653 case "(($ac_try" in
32654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32655 *) ac_try_echo=$ac_try;;
32656 esac
32657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32658 (eval "$ac_link") 2>conftest.er1
32659 ac_status=$?
32660 grep -v '^ *+' conftest.er1 >conftest.err
32661 rm -f conftest.er1
32662 cat conftest.err >&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } && {
32665 test -z "$ac_c_werror_flag" ||
32666 test ! -s conftest.err
32667 } && test -s conftest$ac_exeext &&
32668 $as_test_x conftest$ac_exeext; then
32669 LIBS=$ac_save_LIBS
32670 # We can link X programs with no special library path.
32671 ac_x_libraries=
32672 else
32673 echo "$as_me: failed program was:" >&5
32674 sed 's/^/| /' conftest.$ac_ext >&5
32675
32676 LIBS=$ac_save_LIBS
32677 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32678 do
32679 # Don't even attempt the hair of trying to link an X program!
32680 for ac_extension in a so sl; do
32681 if test -r "$ac_dir/libX11.$ac_extension"; then
32682 ac_x_libraries=$ac_dir
32683 break 2
32684 fi
32685 done
32686 done
32687 fi
32688
32689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32690 conftest$ac_exeext conftest.$ac_ext
32691 fi # $ac_x_libraries = no
32692
32693 case $ac_x_includes,$ac_x_libraries in #(
32694 no,* | *,no | *\'*)
32695 # Didn't find X, or a directory has "'" in its name.
32696 ac_cv_have_x="have_x=no";; #(
32697 *)
32698 # Record where we found X for the cache.
32699 ac_cv_have_x="have_x=yes\
32700 ac_x_includes='$ac_x_includes'\
32701 ac_x_libraries='$ac_x_libraries'"
32702 esac
32703 fi
32704 ;; #(
32705 *) have_x=yes;;
32706 esac
32707 eval "$ac_cv_have_x"
32708 fi # $with_x != no
32709
32710 if test "$have_x" != yes; then
32711 { echo "$as_me:$LINENO: result: $have_x" >&5
32712 echo "${ECHO_T}$have_x" >&6; }
32713 no_x=yes
32714 else
32715 # If each of the values was on the command line, it overrides each guess.
32716 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32717 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32718 # Update the cache value to reflect the command line values.
32719 ac_cv_have_x="have_x=yes\
32720 ac_x_includes='$x_includes'\
32721 ac_x_libraries='$x_libraries'"
32722 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32723 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32724 fi
32725
32726 if test "$no_x" = yes; then
32727 # Not all programs may use this symbol, but it does not hurt to define it.
32728
32729 cat >>confdefs.h <<\_ACEOF
32730 #define X_DISPLAY_MISSING 1
32731 _ACEOF
32732
32733 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32734 else
32735 if test -n "$x_includes"; then
32736 X_CFLAGS="$X_CFLAGS -I$x_includes"
32737 fi
32738
32739 # It would also be nice to do this for all -L options, not just this one.
32740 if test -n "$x_libraries"; then
32741 X_LIBS="$X_LIBS -L$x_libraries"
32742 # For Solaris; some versions of Sun CC require a space after -R and
32743 # others require no space. Words are not sufficient . . . .
32744 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32745 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32746 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32747 ac_xsave_c_werror_flag=$ac_c_werror_flag
32748 ac_c_werror_flag=yes
32749 cat >conftest.$ac_ext <<_ACEOF
32750 /* confdefs.h. */
32751 _ACEOF
32752 cat confdefs.h >>conftest.$ac_ext
32753 cat >>conftest.$ac_ext <<_ACEOF
32754 /* end confdefs.h. */
32755
32756 int
32757 main ()
32758 {
32759
32760 ;
32761 return 0;
32762 }
32763 _ACEOF
32764 rm -f conftest.$ac_objext conftest$ac_exeext
32765 if { (ac_try="$ac_link"
32766 case "(($ac_try" in
32767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32768 *) ac_try_echo=$ac_try;;
32769 esac
32770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32771 (eval "$ac_link") 2>conftest.er1
32772 ac_status=$?
32773 grep -v '^ *+' conftest.er1 >conftest.err
32774 rm -f conftest.er1
32775 cat conftest.err >&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); } && {
32778 test -z "$ac_c_werror_flag" ||
32779 test ! -s conftest.err
32780 } && test -s conftest$ac_exeext &&
32781 $as_test_x conftest$ac_exeext; then
32782 { echo "$as_me:$LINENO: result: no" >&5
32783 echo "${ECHO_T}no" >&6; }
32784 X_LIBS="$X_LIBS -R$x_libraries"
32785 else
32786 echo "$as_me: failed program was:" >&5
32787 sed 's/^/| /' conftest.$ac_ext >&5
32788
32789 LIBS="$ac_xsave_LIBS -R $x_libraries"
32790 cat >conftest.$ac_ext <<_ACEOF
32791 /* confdefs.h. */
32792 _ACEOF
32793 cat confdefs.h >>conftest.$ac_ext
32794 cat >>conftest.$ac_ext <<_ACEOF
32795 /* end confdefs.h. */
32796
32797 int
32798 main ()
32799 {
32800
32801 ;
32802 return 0;
32803 }
32804 _ACEOF
32805 rm -f conftest.$ac_objext conftest$ac_exeext
32806 if { (ac_try="$ac_link"
32807 case "(($ac_try" in
32808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32809 *) ac_try_echo=$ac_try;;
32810 esac
32811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32812 (eval "$ac_link") 2>conftest.er1
32813 ac_status=$?
32814 grep -v '^ *+' conftest.er1 >conftest.err
32815 rm -f conftest.er1
32816 cat conftest.err >&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } && {
32819 test -z "$ac_c_werror_flag" ||
32820 test ! -s conftest.err
32821 } && test -s conftest$ac_exeext &&
32822 $as_test_x conftest$ac_exeext; then
32823 { echo "$as_me:$LINENO: result: yes" >&5
32824 echo "${ECHO_T}yes" >&6; }
32825 X_LIBS="$X_LIBS -R $x_libraries"
32826 else
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32829
32830 { echo "$as_me:$LINENO: result: neither works" >&5
32831 echo "${ECHO_T}neither works" >&6; }
32832 fi
32833
32834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32835 conftest$ac_exeext conftest.$ac_ext
32836 fi
32837
32838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32839 conftest$ac_exeext conftest.$ac_ext
32840 ac_c_werror_flag=$ac_xsave_c_werror_flag
32841 LIBS=$ac_xsave_LIBS
32842 fi
32843
32844 # Check for system-dependent libraries X programs must link with.
32845 # Do this before checking for the system-independent R6 libraries
32846 # (-lICE), since we may need -lsocket or whatever for X linking.
32847
32848 if test "$ISC" = yes; then
32849 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32850 else
32851 # Martyn Johnson says this is needed for Ultrix, if the X
32852 # libraries were built with DECnet support. And Karl Berry says
32853 # the Alpha needs dnet_stub (dnet does not exist).
32854 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32855 cat >conftest.$ac_ext <<_ACEOF
32856 /* confdefs.h. */
32857 _ACEOF
32858 cat confdefs.h >>conftest.$ac_ext
32859 cat >>conftest.$ac_ext <<_ACEOF
32860 /* end confdefs.h. */
32861
32862 /* Override any GCC internal prototype to avoid an error.
32863 Use char because int might match the return type of a GCC
32864 builtin and then its argument prototype would still apply. */
32865 #ifdef __cplusplus
32866 extern "C"
32867 #endif
32868 char XOpenDisplay ();
32869 int
32870 main ()
32871 {
32872 return XOpenDisplay ();
32873 ;
32874 return 0;
32875 }
32876 _ACEOF
32877 rm -f conftest.$ac_objext conftest$ac_exeext
32878 if { (ac_try="$ac_link"
32879 case "(($ac_try" in
32880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32881 *) ac_try_echo=$ac_try;;
32882 esac
32883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32884 (eval "$ac_link") 2>conftest.er1
32885 ac_status=$?
32886 grep -v '^ *+' conftest.er1 >conftest.err
32887 rm -f conftest.er1
32888 cat conftest.err >&5
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); } && {
32891 test -z "$ac_c_werror_flag" ||
32892 test ! -s conftest.err
32893 } && test -s conftest$ac_exeext &&
32894 $as_test_x conftest$ac_exeext; then
32895 :
32896 else
32897 echo "$as_me: failed program was:" >&5
32898 sed 's/^/| /' conftest.$ac_ext >&5
32899
32900 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32901 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32902 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32904 else
32905 ac_check_lib_save_LIBS=$LIBS
32906 LIBS="-ldnet $LIBS"
32907 cat >conftest.$ac_ext <<_ACEOF
32908 /* confdefs.h. */
32909 _ACEOF
32910 cat confdefs.h >>conftest.$ac_ext
32911 cat >>conftest.$ac_ext <<_ACEOF
32912 /* end confdefs.h. */
32913
32914 /* Override any GCC internal prototype to avoid an error.
32915 Use char because int might match the return type of a GCC
32916 builtin and then its argument prototype would still apply. */
32917 #ifdef __cplusplus
32918 extern "C"
32919 #endif
32920 char dnet_ntoa ();
32921 int
32922 main ()
32923 {
32924 return dnet_ntoa ();
32925 ;
32926 return 0;
32927 }
32928 _ACEOF
32929 rm -f conftest.$ac_objext conftest$ac_exeext
32930 if { (ac_try="$ac_link"
32931 case "(($ac_try" in
32932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32933 *) ac_try_echo=$ac_try;;
32934 esac
32935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32936 (eval "$ac_link") 2>conftest.er1
32937 ac_status=$?
32938 grep -v '^ *+' conftest.er1 >conftest.err
32939 rm -f conftest.er1
32940 cat conftest.err >&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } && {
32943 test -z "$ac_c_werror_flag" ||
32944 test ! -s conftest.err
32945 } && test -s conftest$ac_exeext &&
32946 $as_test_x conftest$ac_exeext; then
32947 ac_cv_lib_dnet_dnet_ntoa=yes
32948 else
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.$ac_ext >&5
32951
32952 ac_cv_lib_dnet_dnet_ntoa=no
32953 fi
32954
32955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32956 conftest$ac_exeext conftest.$ac_ext
32957 LIBS=$ac_check_lib_save_LIBS
32958 fi
32959 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32960 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32961 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32962 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32963 fi
32964
32965 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32966 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32967 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32968 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32969 echo $ECHO_N "(cached) $ECHO_C" >&6
32970 else
32971 ac_check_lib_save_LIBS=$LIBS
32972 LIBS="-ldnet_stub $LIBS"
32973 cat >conftest.$ac_ext <<_ACEOF
32974 /* confdefs.h. */
32975 _ACEOF
32976 cat confdefs.h >>conftest.$ac_ext
32977 cat >>conftest.$ac_ext <<_ACEOF
32978 /* end confdefs.h. */
32979
32980 /* Override any GCC internal prototype to avoid an error.
32981 Use char because int might match the return type of a GCC
32982 builtin and then its argument prototype would still apply. */
32983 #ifdef __cplusplus
32984 extern "C"
32985 #endif
32986 char dnet_ntoa ();
32987 int
32988 main ()
32989 {
32990 return dnet_ntoa ();
32991 ;
32992 return 0;
32993 }
32994 _ACEOF
32995 rm -f conftest.$ac_objext conftest$ac_exeext
32996 if { (ac_try="$ac_link"
32997 case "(($ac_try" in
32998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32999 *) ac_try_echo=$ac_try;;
33000 esac
33001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33002 (eval "$ac_link") 2>conftest.er1
33003 ac_status=$?
33004 grep -v '^ *+' conftest.er1 >conftest.err
33005 rm -f conftest.er1
33006 cat conftest.err >&5
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); } && {
33009 test -z "$ac_c_werror_flag" ||
33010 test ! -s conftest.err
33011 } && test -s conftest$ac_exeext &&
33012 $as_test_x conftest$ac_exeext; then
33013 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33014 else
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.$ac_ext >&5
33017
33018 ac_cv_lib_dnet_stub_dnet_ntoa=no
33019 fi
33020
33021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33022 conftest$ac_exeext conftest.$ac_ext
33023 LIBS=$ac_check_lib_save_LIBS
33024 fi
33025 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33026 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33027 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33028 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33029 fi
33030
33031 fi
33032 fi
33033
33034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33035 conftest$ac_exeext conftest.$ac_ext
33036 LIBS="$ac_xsave_LIBS"
33037
33038 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33039 # to get the SysV transport functions.
33040 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33041 # needs -lnsl.
33042 # The nsl library prevents programs from opening the X display
33043 # on Irix 5.2, according to T.E. Dickey.
33044 # The functions gethostbyname, getservbyname, and inet_addr are
33045 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33046 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33047 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33048 if test "${ac_cv_func_gethostbyname+set}" = set; then
33049 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 else
33051 cat >conftest.$ac_ext <<_ACEOF
33052 /* confdefs.h. */
33053 _ACEOF
33054 cat confdefs.h >>conftest.$ac_ext
33055 cat >>conftest.$ac_ext <<_ACEOF
33056 /* end confdefs.h. */
33057 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33059 #define gethostbyname innocuous_gethostbyname
33060
33061 /* System header to define __stub macros and hopefully few prototypes,
33062 which can conflict with char gethostbyname (); below.
33063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33064 <limits.h> exists even on freestanding compilers. */
33065
33066 #ifdef __STDC__
33067 # include <limits.h>
33068 #else
33069 # include <assert.h>
33070 #endif
33071
33072 #undef gethostbyname
33073
33074 /* Override any GCC internal prototype to avoid an error.
33075 Use char because int might match the return type of a GCC
33076 builtin and then its argument prototype would still apply. */
33077 #ifdef __cplusplus
33078 extern "C"
33079 #endif
33080 char gethostbyname ();
33081 /* The GNU C library defines this for functions which it implements
33082 to always fail with ENOSYS. Some functions are actually named
33083 something starting with __ and the normal name is an alias. */
33084 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33085 choke me
33086 #endif
33087
33088 int
33089 main ()
33090 {
33091 return gethostbyname ();
33092 ;
33093 return 0;
33094 }
33095 _ACEOF
33096 rm -f conftest.$ac_objext conftest$ac_exeext
33097 if { (ac_try="$ac_link"
33098 case "(($ac_try" in
33099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33100 *) ac_try_echo=$ac_try;;
33101 esac
33102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33103 (eval "$ac_link") 2>conftest.er1
33104 ac_status=$?
33105 grep -v '^ *+' conftest.er1 >conftest.err
33106 rm -f conftest.er1
33107 cat conftest.err >&5
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); } && {
33110 test -z "$ac_c_werror_flag" ||
33111 test ! -s conftest.err
33112 } && test -s conftest$ac_exeext &&
33113 $as_test_x conftest$ac_exeext; then
33114 ac_cv_func_gethostbyname=yes
33115 else
33116 echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.$ac_ext >&5
33118
33119 ac_cv_func_gethostbyname=no
33120 fi
33121
33122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33123 conftest$ac_exeext conftest.$ac_ext
33124 fi
33125 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33126 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33127
33128 if test $ac_cv_func_gethostbyname = no; then
33129 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33130 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33131 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 else
33134 ac_check_lib_save_LIBS=$LIBS
33135 LIBS="-lnsl $LIBS"
33136 cat >conftest.$ac_ext <<_ACEOF
33137 /* confdefs.h. */
33138 _ACEOF
33139 cat confdefs.h >>conftest.$ac_ext
33140 cat >>conftest.$ac_ext <<_ACEOF
33141 /* end confdefs.h. */
33142
33143 /* Override any GCC internal prototype to avoid an error.
33144 Use char because int might match the return type of a GCC
33145 builtin and then its argument prototype would still apply. */
33146 #ifdef __cplusplus
33147 extern "C"
33148 #endif
33149 char gethostbyname ();
33150 int
33151 main ()
33152 {
33153 return gethostbyname ();
33154 ;
33155 return 0;
33156 }
33157 _ACEOF
33158 rm -f conftest.$ac_objext conftest$ac_exeext
33159 if { (ac_try="$ac_link"
33160 case "(($ac_try" in
33161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33162 *) ac_try_echo=$ac_try;;
33163 esac
33164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33165 (eval "$ac_link") 2>conftest.er1
33166 ac_status=$?
33167 grep -v '^ *+' conftest.er1 >conftest.err
33168 rm -f conftest.er1
33169 cat conftest.err >&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); } && {
33172 test -z "$ac_c_werror_flag" ||
33173 test ! -s conftest.err
33174 } && test -s conftest$ac_exeext &&
33175 $as_test_x conftest$ac_exeext; then
33176 ac_cv_lib_nsl_gethostbyname=yes
33177 else
33178 echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33180
33181 ac_cv_lib_nsl_gethostbyname=no
33182 fi
33183
33184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33185 conftest$ac_exeext conftest.$ac_ext
33186 LIBS=$ac_check_lib_save_LIBS
33187 fi
33188 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33189 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33190 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33192 fi
33193
33194 if test $ac_cv_lib_nsl_gethostbyname = no; then
33195 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33196 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33197 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33198 echo $ECHO_N "(cached) $ECHO_C" >&6
33199 else
33200 ac_check_lib_save_LIBS=$LIBS
33201 LIBS="-lbsd $LIBS"
33202 cat >conftest.$ac_ext <<_ACEOF
33203 /* confdefs.h. */
33204 _ACEOF
33205 cat confdefs.h >>conftest.$ac_ext
33206 cat >>conftest.$ac_ext <<_ACEOF
33207 /* end confdefs.h. */
33208
33209 /* Override any GCC internal prototype to avoid an error.
33210 Use char because int might match the return type of a GCC
33211 builtin and then its argument prototype would still apply. */
33212 #ifdef __cplusplus
33213 extern "C"
33214 #endif
33215 char gethostbyname ();
33216 int
33217 main ()
33218 {
33219 return gethostbyname ();
33220 ;
33221 return 0;
33222 }
33223 _ACEOF
33224 rm -f conftest.$ac_objext conftest$ac_exeext
33225 if { (ac_try="$ac_link"
33226 case "(($ac_try" in
33227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33228 *) ac_try_echo=$ac_try;;
33229 esac
33230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33231 (eval "$ac_link") 2>conftest.er1
33232 ac_status=$?
33233 grep -v '^ *+' conftest.er1 >conftest.err
33234 rm -f conftest.er1
33235 cat conftest.err >&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } && {
33238 test -z "$ac_c_werror_flag" ||
33239 test ! -s conftest.err
33240 } && test -s conftest$ac_exeext &&
33241 $as_test_x conftest$ac_exeext; then
33242 ac_cv_lib_bsd_gethostbyname=yes
33243 else
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.$ac_ext >&5
33246
33247 ac_cv_lib_bsd_gethostbyname=no
33248 fi
33249
33250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33251 conftest$ac_exeext conftest.$ac_ext
33252 LIBS=$ac_check_lib_save_LIBS
33253 fi
33254 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33255 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33256 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33258 fi
33259
33260 fi
33261 fi
33262
33263 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33264 # socket/setsockopt and other routines are undefined under SCO ODT
33265 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33266 # on later versions), says Simon Leinen: it contains gethostby*
33267 # variants that don't use the name server (or something). -lsocket
33268 # must be given before -lnsl if both are needed. We assume that
33269 # if connect needs -lnsl, so does gethostbyname.
33270 { echo "$as_me:$LINENO: checking for connect" >&5
33271 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33272 if test "${ac_cv_func_connect+set}" = set; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33274 else
33275 cat >conftest.$ac_ext <<_ACEOF
33276 /* confdefs.h. */
33277 _ACEOF
33278 cat confdefs.h >>conftest.$ac_ext
33279 cat >>conftest.$ac_ext <<_ACEOF
33280 /* end confdefs.h. */
33281 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33283 #define connect innocuous_connect
33284
33285 /* System header to define __stub macros and hopefully few prototypes,
33286 which can conflict with char connect (); below.
33287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33288 <limits.h> exists even on freestanding compilers. */
33289
33290 #ifdef __STDC__
33291 # include <limits.h>
33292 #else
33293 # include <assert.h>
33294 #endif
33295
33296 #undef connect
33297
33298 /* Override any GCC internal prototype to avoid an error.
33299 Use char because int might match the return type of a GCC
33300 builtin and then its argument prototype would still apply. */
33301 #ifdef __cplusplus
33302 extern "C"
33303 #endif
33304 char connect ();
33305 /* The GNU C library defines this for functions which it implements
33306 to always fail with ENOSYS. Some functions are actually named
33307 something starting with __ and the normal name is an alias. */
33308 #if defined __stub_connect || defined __stub___connect
33309 choke me
33310 #endif
33311
33312 int
33313 main ()
33314 {
33315 return connect ();
33316 ;
33317 return 0;
33318 }
33319 _ACEOF
33320 rm -f conftest.$ac_objext conftest$ac_exeext
33321 if { (ac_try="$ac_link"
33322 case "(($ac_try" in
33323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33324 *) ac_try_echo=$ac_try;;
33325 esac
33326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33327 (eval "$ac_link") 2>conftest.er1
33328 ac_status=$?
33329 grep -v '^ *+' conftest.er1 >conftest.err
33330 rm -f conftest.er1
33331 cat conftest.err >&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); } && {
33334 test -z "$ac_c_werror_flag" ||
33335 test ! -s conftest.err
33336 } && test -s conftest$ac_exeext &&
33337 $as_test_x conftest$ac_exeext; then
33338 ac_cv_func_connect=yes
33339 else
33340 echo "$as_me: failed program was:" >&5
33341 sed 's/^/| /' conftest.$ac_ext >&5
33342
33343 ac_cv_func_connect=no
33344 fi
33345
33346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33347 conftest$ac_exeext conftest.$ac_ext
33348 fi
33349 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33350 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33351
33352 if test $ac_cv_func_connect = no; then
33353 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33354 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33355 if test "${ac_cv_lib_socket_connect+set}" = set; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33357 else
33358 ac_check_lib_save_LIBS=$LIBS
33359 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33360 cat >conftest.$ac_ext <<_ACEOF
33361 /* confdefs.h. */
33362 _ACEOF
33363 cat confdefs.h >>conftest.$ac_ext
33364 cat >>conftest.$ac_ext <<_ACEOF
33365 /* end confdefs.h. */
33366
33367 /* Override any GCC internal prototype to avoid an error.
33368 Use char because int might match the return type of a GCC
33369 builtin and then its argument prototype would still apply. */
33370 #ifdef __cplusplus
33371 extern "C"
33372 #endif
33373 char connect ();
33374 int
33375 main ()
33376 {
33377 return connect ();
33378 ;
33379 return 0;
33380 }
33381 _ACEOF
33382 rm -f conftest.$ac_objext conftest$ac_exeext
33383 if { (ac_try="$ac_link"
33384 case "(($ac_try" in
33385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33386 *) ac_try_echo=$ac_try;;
33387 esac
33388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33389 (eval "$ac_link") 2>conftest.er1
33390 ac_status=$?
33391 grep -v '^ *+' conftest.er1 >conftest.err
33392 rm -f conftest.er1
33393 cat conftest.err >&5
33394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395 (exit $ac_status); } && {
33396 test -z "$ac_c_werror_flag" ||
33397 test ! -s conftest.err
33398 } && test -s conftest$ac_exeext &&
33399 $as_test_x conftest$ac_exeext; then
33400 ac_cv_lib_socket_connect=yes
33401 else
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.$ac_ext >&5
33404
33405 ac_cv_lib_socket_connect=no
33406 fi
33407
33408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33409 conftest$ac_exeext conftest.$ac_ext
33410 LIBS=$ac_check_lib_save_LIBS
33411 fi
33412 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33413 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33414 if test $ac_cv_lib_socket_connect = yes; then
33415 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33416 fi
33417
33418 fi
33419
33420 # Guillermo Gomez says -lposix is necessary on A/UX.
33421 { echo "$as_me:$LINENO: checking for remove" >&5
33422 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33423 if test "${ac_cv_func_remove+set}" = set; then
33424 echo $ECHO_N "(cached) $ECHO_C" >&6
33425 else
33426 cat >conftest.$ac_ext <<_ACEOF
33427 /* confdefs.h. */
33428 _ACEOF
33429 cat confdefs.h >>conftest.$ac_ext
33430 cat >>conftest.$ac_ext <<_ACEOF
33431 /* end confdefs.h. */
33432 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33434 #define remove innocuous_remove
33435
33436 /* System header to define __stub macros and hopefully few prototypes,
33437 which can conflict with char remove (); below.
33438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33439 <limits.h> exists even on freestanding compilers. */
33440
33441 #ifdef __STDC__
33442 # include <limits.h>
33443 #else
33444 # include <assert.h>
33445 #endif
33446
33447 #undef remove
33448
33449 /* Override any GCC internal prototype to avoid an error.
33450 Use char because int might match the return type of a GCC
33451 builtin and then its argument prototype would still apply. */
33452 #ifdef __cplusplus
33453 extern "C"
33454 #endif
33455 char remove ();
33456 /* The GNU C library defines this for functions which it implements
33457 to always fail with ENOSYS. Some functions are actually named
33458 something starting with __ and the normal name is an alias. */
33459 #if defined __stub_remove || defined __stub___remove
33460 choke me
33461 #endif
33462
33463 int
33464 main ()
33465 {
33466 return remove ();
33467 ;
33468 return 0;
33469 }
33470 _ACEOF
33471 rm -f conftest.$ac_objext conftest$ac_exeext
33472 if { (ac_try="$ac_link"
33473 case "(($ac_try" in
33474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33475 *) ac_try_echo=$ac_try;;
33476 esac
33477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33478 (eval "$ac_link") 2>conftest.er1
33479 ac_status=$?
33480 grep -v '^ *+' conftest.er1 >conftest.err
33481 rm -f conftest.er1
33482 cat conftest.err >&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } && {
33485 test -z "$ac_c_werror_flag" ||
33486 test ! -s conftest.err
33487 } && test -s conftest$ac_exeext &&
33488 $as_test_x conftest$ac_exeext; then
33489 ac_cv_func_remove=yes
33490 else
33491 echo "$as_me: failed program was:" >&5
33492 sed 's/^/| /' conftest.$ac_ext >&5
33493
33494 ac_cv_func_remove=no
33495 fi
33496
33497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33498 conftest$ac_exeext conftest.$ac_ext
33499 fi
33500 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33501 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33502
33503 if test $ac_cv_func_remove = no; then
33504 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33505 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33506 if test "${ac_cv_lib_posix_remove+set}" = set; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33508 else
33509 ac_check_lib_save_LIBS=$LIBS
33510 LIBS="-lposix $LIBS"
33511 cat >conftest.$ac_ext <<_ACEOF
33512 /* confdefs.h. */
33513 _ACEOF
33514 cat confdefs.h >>conftest.$ac_ext
33515 cat >>conftest.$ac_ext <<_ACEOF
33516 /* end confdefs.h. */
33517
33518 /* Override any GCC internal prototype to avoid an error.
33519 Use char because int might match the return type of a GCC
33520 builtin and then its argument prototype would still apply. */
33521 #ifdef __cplusplus
33522 extern "C"
33523 #endif
33524 char remove ();
33525 int
33526 main ()
33527 {
33528 return remove ();
33529 ;
33530 return 0;
33531 }
33532 _ACEOF
33533 rm -f conftest.$ac_objext conftest$ac_exeext
33534 if { (ac_try="$ac_link"
33535 case "(($ac_try" in
33536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33537 *) ac_try_echo=$ac_try;;
33538 esac
33539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33540 (eval "$ac_link") 2>conftest.er1
33541 ac_status=$?
33542 grep -v '^ *+' conftest.er1 >conftest.err
33543 rm -f conftest.er1
33544 cat conftest.err >&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); } && {
33547 test -z "$ac_c_werror_flag" ||
33548 test ! -s conftest.err
33549 } && test -s conftest$ac_exeext &&
33550 $as_test_x conftest$ac_exeext; then
33551 ac_cv_lib_posix_remove=yes
33552 else
33553 echo "$as_me: failed program was:" >&5
33554 sed 's/^/| /' conftest.$ac_ext >&5
33555
33556 ac_cv_lib_posix_remove=no
33557 fi
33558
33559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33560 conftest$ac_exeext conftest.$ac_ext
33561 LIBS=$ac_check_lib_save_LIBS
33562 fi
33563 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33564 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33565 if test $ac_cv_lib_posix_remove = yes; then
33566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33567 fi
33568
33569 fi
33570
33571 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33572 { echo "$as_me:$LINENO: checking for shmat" >&5
33573 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33574 if test "${ac_cv_func_shmat+set}" = set; then
33575 echo $ECHO_N "(cached) $ECHO_C" >&6
33576 else
33577 cat >conftest.$ac_ext <<_ACEOF
33578 /* confdefs.h. */
33579 _ACEOF
33580 cat confdefs.h >>conftest.$ac_ext
33581 cat >>conftest.$ac_ext <<_ACEOF
33582 /* end confdefs.h. */
33583 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33585 #define shmat innocuous_shmat
33586
33587 /* System header to define __stub macros and hopefully few prototypes,
33588 which can conflict with char shmat (); below.
33589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33590 <limits.h> exists even on freestanding compilers. */
33591
33592 #ifdef __STDC__
33593 # include <limits.h>
33594 #else
33595 # include <assert.h>
33596 #endif
33597
33598 #undef shmat
33599
33600 /* Override any GCC internal prototype to avoid an error.
33601 Use char because int might match the return type of a GCC
33602 builtin and then its argument prototype would still apply. */
33603 #ifdef __cplusplus
33604 extern "C"
33605 #endif
33606 char shmat ();
33607 /* The GNU C library defines this for functions which it implements
33608 to always fail with ENOSYS. Some functions are actually named
33609 something starting with __ and the normal name is an alias. */
33610 #if defined __stub_shmat || defined __stub___shmat
33611 choke me
33612 #endif
33613
33614 int
33615 main ()
33616 {
33617 return shmat ();
33618 ;
33619 return 0;
33620 }
33621 _ACEOF
33622 rm -f conftest.$ac_objext conftest$ac_exeext
33623 if { (ac_try="$ac_link"
33624 case "(($ac_try" in
33625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33626 *) ac_try_echo=$ac_try;;
33627 esac
33628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33629 (eval "$ac_link") 2>conftest.er1
33630 ac_status=$?
33631 grep -v '^ *+' conftest.er1 >conftest.err
33632 rm -f conftest.er1
33633 cat conftest.err >&5
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); } && {
33636 test -z "$ac_c_werror_flag" ||
33637 test ! -s conftest.err
33638 } && test -s conftest$ac_exeext &&
33639 $as_test_x conftest$ac_exeext; then
33640 ac_cv_func_shmat=yes
33641 else
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.$ac_ext >&5
33644
33645 ac_cv_func_shmat=no
33646 fi
33647
33648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33649 conftest$ac_exeext conftest.$ac_ext
33650 fi
33651 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33652 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33653
33654 if test $ac_cv_func_shmat = no; then
33655 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33656 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33657 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33658 echo $ECHO_N "(cached) $ECHO_C" >&6
33659 else
33660 ac_check_lib_save_LIBS=$LIBS
33661 LIBS="-lipc $LIBS"
33662 cat >conftest.$ac_ext <<_ACEOF
33663 /* confdefs.h. */
33664 _ACEOF
33665 cat confdefs.h >>conftest.$ac_ext
33666 cat >>conftest.$ac_ext <<_ACEOF
33667 /* end confdefs.h. */
33668
33669 /* Override any GCC internal prototype to avoid an error.
33670 Use char because int might match the return type of a GCC
33671 builtin and then its argument prototype would still apply. */
33672 #ifdef __cplusplus
33673 extern "C"
33674 #endif
33675 char shmat ();
33676 int
33677 main ()
33678 {
33679 return shmat ();
33680 ;
33681 return 0;
33682 }
33683 _ACEOF
33684 rm -f conftest.$ac_objext conftest$ac_exeext
33685 if { (ac_try="$ac_link"
33686 case "(($ac_try" in
33687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33688 *) ac_try_echo=$ac_try;;
33689 esac
33690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33691 (eval "$ac_link") 2>conftest.er1
33692 ac_status=$?
33693 grep -v '^ *+' conftest.er1 >conftest.err
33694 rm -f conftest.er1
33695 cat conftest.err >&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } && {
33698 test -z "$ac_c_werror_flag" ||
33699 test ! -s conftest.err
33700 } && test -s conftest$ac_exeext &&
33701 $as_test_x conftest$ac_exeext; then
33702 ac_cv_lib_ipc_shmat=yes
33703 else
33704 echo "$as_me: failed program was:" >&5
33705 sed 's/^/| /' conftest.$ac_ext >&5
33706
33707 ac_cv_lib_ipc_shmat=no
33708 fi
33709
33710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33711 conftest$ac_exeext conftest.$ac_ext
33712 LIBS=$ac_check_lib_save_LIBS
33713 fi
33714 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33715 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33716 if test $ac_cv_lib_ipc_shmat = yes; then
33717 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33718 fi
33719
33720 fi
33721 fi
33722
33723 # Check for libraries that X11R6 Xt/Xaw programs need.
33724 ac_save_LDFLAGS=$LDFLAGS
33725 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33726 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33727 # check for ICE first), but we must link in the order -lSM -lICE or
33728 # we get undefined symbols. So assume we have SM if we have ICE.
33729 # These have to be linked with before -lX11, unlike the other
33730 # libraries we check for below, so use a different variable.
33731 # John Interrante, Karl Berry
33732 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33733 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33734 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33735 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 else
33737 ac_check_lib_save_LIBS=$LIBS
33738 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33739 cat >conftest.$ac_ext <<_ACEOF
33740 /* confdefs.h. */
33741 _ACEOF
33742 cat confdefs.h >>conftest.$ac_ext
33743 cat >>conftest.$ac_ext <<_ACEOF
33744 /* end confdefs.h. */
33745
33746 /* Override any GCC internal prototype to avoid an error.
33747 Use char because int might match the return type of a GCC
33748 builtin and then its argument prototype would still apply. */
33749 #ifdef __cplusplus
33750 extern "C"
33751 #endif
33752 char IceConnectionNumber ();
33753 int
33754 main ()
33755 {
33756 return IceConnectionNumber ();
33757 ;
33758 return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext conftest$ac_exeext
33762 if { (ac_try="$ac_link"
33763 case "(($ac_try" in
33764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33765 *) ac_try_echo=$ac_try;;
33766 esac
33767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33768 (eval "$ac_link") 2>conftest.er1
33769 ac_status=$?
33770 grep -v '^ *+' conftest.er1 >conftest.err
33771 rm -f conftest.er1
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } && {
33775 test -z "$ac_c_werror_flag" ||
33776 test ! -s conftest.err
33777 } && test -s conftest$ac_exeext &&
33778 $as_test_x conftest$ac_exeext; then
33779 ac_cv_lib_ICE_IceConnectionNumber=yes
33780 else
33781 echo "$as_me: failed program was:" >&5
33782 sed 's/^/| /' conftest.$ac_ext >&5
33783
33784 ac_cv_lib_ICE_IceConnectionNumber=no
33785 fi
33786
33787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33788 conftest$ac_exeext conftest.$ac_ext
33789 LIBS=$ac_check_lib_save_LIBS
33790 fi
33791 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33792 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33793 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33794 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33795 fi
33796
33797 LDFLAGS=$ac_save_LDFLAGS
33798
33799 fi
33800
33801
33802 if test "$no_x" = "yes"; then
33803 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33804 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33805 { (exit 1); exit 1; }; }
33806 fi
33807
33808 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33809 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33810 AFMINSTALL=afminstall
33811 COMPILED_X_PROGRAM=0
33812
33813 fi
33814
33815 if test "$wxUSE_X11" = 1; then
33816 if test "$wxUSE_NANOX" = "yes"; then
33817 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33818 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33819 if test "x$MICROWIN" = x ; then
33820 { echo "$as_me:$LINENO: result: not found" >&5
33821 echo "${ECHO_T}not found" >&6; }
33822 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33823 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33824 { (exit 1); exit 1; }; }
33825 else
33826 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33827 echo "${ECHO_T}$MICROWIN" >&6; }
33828 cat >>confdefs.h <<\_ACEOF
33829 #define wxUSE_NANOX 1
33830 _ACEOF
33831
33832 fi
33833 fi
33834
33835 if test "$wxUSE_UNICODE" = "yes"; then
33836
33837
33838 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33839 if test -n "$ac_tool_prefix"; then
33840 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33841 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33845 echo $ECHO_N "(cached) $ECHO_C" >&6
33846 else
33847 case $PKG_CONFIG in
33848 [\\/]* | ?:[\\/]*)
33849 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33850 ;;
33851 *)
33852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33853 for as_dir in $PATH
33854 do
33855 IFS=$as_save_IFS
33856 test -z "$as_dir" && as_dir=.
33857 for ac_exec_ext in '' $ac_executable_extensions; do
33858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33859 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33861 break 2
33862 fi
33863 done
33864 done
33865 IFS=$as_save_IFS
33866
33867 ;;
33868 esac
33869 fi
33870 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33871 if test -n "$PKG_CONFIG"; then
33872 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33873 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33874 else
33875 { echo "$as_me:$LINENO: result: no" >&5
33876 echo "${ECHO_T}no" >&6; }
33877 fi
33878
33879
33880 fi
33881 if test -z "$ac_cv_path_PKG_CONFIG"; then
33882 ac_pt_PKG_CONFIG=$PKG_CONFIG
33883 # Extract the first word of "pkg-config", so it can be a program name with args.
33884 set dummy pkg-config; ac_word=$2
33885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33887 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33888 echo $ECHO_N "(cached) $ECHO_C" >&6
33889 else
33890 case $ac_pt_PKG_CONFIG in
33891 [\\/]* | ?:[\\/]*)
33892 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33893 ;;
33894 *)
33895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33896 for as_dir in $PATH
33897 do
33898 IFS=$as_save_IFS
33899 test -z "$as_dir" && as_dir=.
33900 for ac_exec_ext in '' $ac_executable_extensions; do
33901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33902 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33904 break 2
33905 fi
33906 done
33907 done
33908 IFS=$as_save_IFS
33909
33910 ;;
33911 esac
33912 fi
33913 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33914 if test -n "$ac_pt_PKG_CONFIG"; then
33915 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33916 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33917 else
33918 { echo "$as_me:$LINENO: result: no" >&5
33919 echo "${ECHO_T}no" >&6; }
33920 fi
33921
33922 if test "x$ac_pt_PKG_CONFIG" = x; then
33923 PKG_CONFIG=""
33924 else
33925 case $cross_compiling:$ac_tool_warned in
33926 yes:)
33927 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33928 whose name does not start with the host triplet. If you think this
33929 configuration is useful to you, please write to autoconf@gnu.org." >&5
33930 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33931 whose name does not start with the host triplet. If you think this
33932 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33933 ac_tool_warned=yes ;;
33934 esac
33935 PKG_CONFIG=$ac_pt_PKG_CONFIG
33936 fi
33937 else
33938 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33939 fi
33940
33941 fi
33942 if test -n "$PKG_CONFIG"; then
33943 _pkg_min_version=0.9.0
33944 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33945 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33946 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33947 { echo "$as_me:$LINENO: result: yes" >&5
33948 echo "${ECHO_T}yes" >&6; }
33949 else
33950 { echo "$as_me:$LINENO: result: no" >&5
33951 echo "${ECHO_T}no" >&6; }
33952 PKG_CONFIG=""
33953 fi
33954
33955 fi
33956
33957
33958 pkg_failed=no
33959 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33960 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33961
33962 if test -n "$PKG_CONFIG"; then
33963 if test -n "$PANGOX_CFLAGS"; then
33964 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33965 else
33966 if test -n "$PKG_CONFIG" && \
33967 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33968 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33969 ac_status=$?
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); }; then
33972 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33973 else
33974 pkg_failed=yes
33975 fi
33976 fi
33977 else
33978 pkg_failed=untried
33979 fi
33980 if test -n "$PKG_CONFIG"; then
33981 if test -n "$PANGOX_LIBS"; then
33982 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33983 else
33984 if test -n "$PKG_CONFIG" && \
33985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33986 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33987 ac_status=$?
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; then
33990 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33991 else
33992 pkg_failed=yes
33993 fi
33994 fi
33995 else
33996 pkg_failed=untried
33997 fi
33998
33999
34000
34001 if test $pkg_failed = yes; then
34002
34003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34004 _pkg_short_errors_supported=yes
34005 else
34006 _pkg_short_errors_supported=no
34007 fi
34008 if test $_pkg_short_errors_supported = yes; then
34009 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34010 else
34011 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34012 fi
34013 # Put the nasty error message in config.log where it belongs
34014 echo "$PANGOX_PKG_ERRORS" >&5
34015
34016
34017 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34018 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34019 { (exit 1); exit 1; }; }
34020
34021
34022 elif test $pkg_failed = untried; then
34023
34024 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34025 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34026 { (exit 1); exit 1; }; }
34027
34028
34029 else
34030 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34031 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34032 { echo "$as_me:$LINENO: result: yes" >&5
34033 echo "${ECHO_T}yes" >&6; }
34034
34035 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34036 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34038
34039 fi
34040
34041 pkg_failed=no
34042 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34043 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34044
34045 if test -n "$PKG_CONFIG"; then
34046 if test -n "$PANGOFT2_CFLAGS"; then
34047 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34048 else
34049 if test -n "$PKG_CONFIG" && \
34050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34051 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34052 ac_status=$?
34053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 (exit $ac_status); }; then
34055 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34056 else
34057 pkg_failed=yes
34058 fi
34059 fi
34060 else
34061 pkg_failed=untried
34062 fi
34063 if test -n "$PKG_CONFIG"; then
34064 if test -n "$PANGOFT2_LIBS"; then
34065 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34066 else
34067 if test -n "$PKG_CONFIG" && \
34068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34069 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34070 ac_status=$?
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); }; then
34073 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34074 else
34075 pkg_failed=yes
34076 fi
34077 fi
34078 else
34079 pkg_failed=untried
34080 fi
34081
34082
34083
34084 if test $pkg_failed = yes; then
34085
34086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34087 _pkg_short_errors_supported=yes
34088 else
34089 _pkg_short_errors_supported=no
34090 fi
34091 if test $_pkg_short_errors_supported = yes; then
34092 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34093 else
34094 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34095 fi
34096 # Put the nasty error message in config.log where it belongs
34097 echo "$PANGOFT2_PKG_ERRORS" >&5
34098
34099
34100 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34101 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34102 wxUSE_PRINTING_ARCHITECTURE="no"
34103
34104
34105 elif test $pkg_failed = untried; then
34106
34107 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34108 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34109 wxUSE_PRINTING_ARCHITECTURE="no"
34110
34111
34112 else
34113 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34114 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34115 { echo "$as_me:$LINENO: result: yes" >&5
34116 echo "${ECHO_T}yes" >&6; }
34117
34118 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34119 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34120 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34121
34122 fi
34123
34124 pkg_failed=no
34125 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34126 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34127
34128 if test -n "$PKG_CONFIG"; then
34129 if test -n "$PANGOXFT_CFLAGS"; then
34130 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34131 else
34132 if test -n "$PKG_CONFIG" && \
34133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34134 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34135 ac_status=$?
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; then
34138 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34139 else
34140 pkg_failed=yes
34141 fi
34142 fi
34143 else
34144 pkg_failed=untried
34145 fi
34146 if test -n "$PKG_CONFIG"; then
34147 if test -n "$PANGOXFT_LIBS"; then
34148 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34149 else
34150 if test -n "$PKG_CONFIG" && \
34151 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34152 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34153 ac_status=$?
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; then
34156 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34157 else
34158 pkg_failed=yes
34159 fi
34160 fi
34161 else
34162 pkg_failed=untried
34163 fi
34164
34165
34166
34167 if test $pkg_failed = yes; then
34168
34169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34170 _pkg_short_errors_supported=yes
34171 else
34172 _pkg_short_errors_supported=no
34173 fi
34174 if test $_pkg_short_errors_supported = yes; then
34175 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34176 else
34177 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34178 fi
34179 # Put the nasty error message in config.log where it belongs
34180 echo "$PANGOXFT_PKG_ERRORS" >&5
34181
34182
34183 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34184 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34185
34186
34187 elif test $pkg_failed = untried; then
34188
34189 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34190 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34191
34192
34193 else
34194 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34195 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34196 { echo "$as_me:$LINENO: result: yes" >&5
34197 echo "${ECHO_T}yes" >&6; }
34198
34199 cat >>confdefs.h <<\_ACEOF
34200 #define HAVE_PANGO_XFT 1
34201 _ACEOF
34202
34203 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34204 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34205 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34206
34207 fi
34208 save_LIBS="$LIBS"
34209 LIBS="$LIBS $PANGOX_LIBS"
34210
34211 for ac_func in pango_font_family_is_monospace
34212 do
34213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34216 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34217 echo $ECHO_N "(cached) $ECHO_C" >&6
34218 else
34219 cat >conftest.$ac_ext <<_ACEOF
34220 /* confdefs.h. */
34221 _ACEOF
34222 cat confdefs.h >>conftest.$ac_ext
34223 cat >>conftest.$ac_ext <<_ACEOF
34224 /* end confdefs.h. */
34225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34227 #define $ac_func innocuous_$ac_func
34228
34229 /* System header to define __stub macros and hopefully few prototypes,
34230 which can conflict with char $ac_func (); below.
34231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34232 <limits.h> exists even on freestanding compilers. */
34233
34234 #ifdef __STDC__
34235 # include <limits.h>
34236 #else
34237 # include <assert.h>
34238 #endif
34239
34240 #undef $ac_func
34241
34242 /* Override any GCC internal prototype to avoid an error.
34243 Use char because int might match the return type of a GCC
34244 builtin and then its argument prototype would still apply. */
34245 #ifdef __cplusplus
34246 extern "C"
34247 #endif
34248 char $ac_func ();
34249 /* The GNU C library defines this for functions which it implements
34250 to always fail with ENOSYS. Some functions are actually named
34251 something starting with __ and the normal name is an alias. */
34252 #if defined __stub_$ac_func || defined __stub___$ac_func
34253 choke me
34254 #endif
34255
34256 int
34257 main ()
34258 {
34259 return $ac_func ();
34260 ;
34261 return 0;
34262 }
34263 _ACEOF
34264 rm -f conftest.$ac_objext conftest$ac_exeext
34265 if { (ac_try="$ac_link"
34266 case "(($ac_try" in
34267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34268 *) ac_try_echo=$ac_try;;
34269 esac
34270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34271 (eval "$ac_link") 2>conftest.er1
34272 ac_status=$?
34273 grep -v '^ *+' conftest.er1 >conftest.err
34274 rm -f conftest.er1
34275 cat conftest.err >&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); } && {
34278 test -z "$ac_c_werror_flag" ||
34279 test ! -s conftest.err
34280 } && test -s conftest$ac_exeext &&
34281 $as_test_x conftest$ac_exeext; then
34282 eval "$as_ac_var=yes"
34283 else
34284 echo "$as_me: failed program was:" >&5
34285 sed 's/^/| /' conftest.$ac_ext >&5
34286
34287 eval "$as_ac_var=no"
34288 fi
34289
34290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34291 conftest$ac_exeext conftest.$ac_ext
34292 fi
34293 ac_res=`eval echo '${'$as_ac_var'}'`
34294 { echo "$as_me:$LINENO: result: $ac_res" >&5
34295 echo "${ECHO_T}$ac_res" >&6; }
34296 if test `eval echo '${'$as_ac_var'}'` = yes; then
34297 cat >>confdefs.h <<_ACEOF
34298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34299 _ACEOF
34300
34301 fi
34302 done
34303
34304 LIBS="$save_LIBS"
34305 fi
34306
34307 wxUSE_UNIVERSAL="yes"
34308
34309 if test "$wxUSE_NANOX" = "yes"; then
34310 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34311 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"
34312 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34313 else
34314 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34315 fi
34316
34317 TOOLKIT=X11
34318 GUIDIST=X11_DIST
34319 fi
34320
34321 if test "$wxUSE_MOTIF" = 1; then
34322 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34323 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34324
34325 ac_find_includes=
34326 for ac_dir in $SEARCH_INCLUDE /usr/include;
34327 do
34328 if test -f "$ac_dir/Xm/Xm.h"; then
34329 ac_find_includes=$ac_dir
34330 break
34331 fi
34332 done
34333
34334 if test "$ac_find_includes" != "" ; then
34335 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34336 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34337
34338 if test "x$ac_find_includes" = "x/usr/include"; then
34339 ac_path_to_include=""
34340 else
34341 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34342 result=$?
34343 if test $result = 0; then
34344 ac_path_to_include=""
34345 else
34346 ac_path_to_include=" -I$ac_find_includes"
34347 fi
34348 fi
34349
34350 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34351 else
34352 save_CFLAGS=$CFLAGS
34353 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34354
34355 cat >conftest.$ac_ext <<_ACEOF
34356 /* confdefs.h. */
34357 _ACEOF
34358 cat confdefs.h >>conftest.$ac_ext
34359 cat >>conftest.$ac_ext <<_ACEOF
34360 /* end confdefs.h. */
34361
34362 #include <Xm/Xm.h>
34363
34364 int
34365 main ()
34366 {
34367
34368 int version;
34369 version = xmUseVersion;
34370
34371 ;
34372 return 0;
34373 }
34374 _ACEOF
34375 rm -f conftest.$ac_objext
34376 if { (ac_try="$ac_compile"
34377 case "(($ac_try" in
34378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34379 *) ac_try_echo=$ac_try;;
34380 esac
34381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34382 (eval "$ac_compile") 2>conftest.er1
34383 ac_status=$?
34384 grep -v '^ *+' conftest.er1 >conftest.err
34385 rm -f conftest.er1
34386 cat conftest.err >&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); } && {
34389 test -z "$ac_c_werror_flag" ||
34390 test ! -s conftest.err
34391 } && test -s conftest.$ac_objext; then
34392
34393 { echo "$as_me:$LINENO: result: found in default search path" >&5
34394 echo "${ECHO_T}found in default search path" >&6; }
34395 COMPILED_X_PROGRAM=1
34396
34397 else
34398 echo "$as_me: failed program was:" >&5
34399 sed 's/^/| /' conftest.$ac_ext >&5
34400
34401
34402 { echo "$as_me:$LINENO: result: no" >&5
34403 echo "${ECHO_T}no" >&6; }
34404 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34405 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34406 { (exit 1); exit 1; }; }
34407
34408
34409 fi
34410
34411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34412
34413 CFLAGS=$save_CFLAGS
34414 fi
34415
34416
34417 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34418 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34419
34420 ac_find_libraries=
34421 for ac_dir in $SEARCH_LIB;
34422 do
34423 for ac_extension in a so sl dylib dll.a; do
34424 if test -f "$ac_dir/libXm.$ac_extension"; then
34425 ac_find_libraries=$ac_dir
34426 break 2
34427 fi
34428 done
34429 done
34430
34431
34432 if test "x$ac_find_libraries" != "x" ; then
34433 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34434 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34435
34436
34437 if test "$ac_find_libraries" = "default location"; then
34438 ac_path_to_link=""
34439 else
34440 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34441 result=$?
34442 if test $result = 0; then
34443 ac_path_to_link=""
34444 else
34445 ac_path_to_link=" -L$ac_find_libraries"
34446 fi
34447 fi
34448
34449 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34450 else
34451 save_CFLAGS=$CFLAGS
34452 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34453 save_LIBS="$LIBS"
34454 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34455
34456 cat >conftest.$ac_ext <<_ACEOF
34457 /* confdefs.h. */
34458 _ACEOF
34459 cat confdefs.h >>conftest.$ac_ext
34460 cat >>conftest.$ac_ext <<_ACEOF
34461 /* end confdefs.h. */
34462
34463 #include <Xm/Xm.h>
34464
34465 int
34466 main ()
34467 {
34468
34469 int version;
34470 version = xmUseVersion;
34471
34472 ;
34473 return 0;
34474 }
34475 _ACEOF
34476 rm -f conftest.$ac_objext conftest$ac_exeext
34477 if { (ac_try="$ac_link"
34478 case "(($ac_try" in
34479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34480 *) ac_try_echo=$ac_try;;
34481 esac
34482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34483 (eval "$ac_link") 2>conftest.er1
34484 ac_status=$?
34485 grep -v '^ *+' conftest.er1 >conftest.err
34486 rm -f conftest.er1
34487 cat conftest.err >&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } && {
34490 test -z "$ac_c_werror_flag" ||
34491 test ! -s conftest.err
34492 } && test -s conftest$ac_exeext &&
34493 $as_test_x conftest$ac_exeext; then
34494
34495 { echo "$as_me:$LINENO: result: found in default search path" >&5
34496 echo "${ECHO_T}found in default search path" >&6; }
34497 COMPILED_X_PROGRAM=1
34498
34499 else
34500 echo "$as_me: failed program was:" >&5
34501 sed 's/^/| /' conftest.$ac_ext >&5
34502
34503
34504 { echo "$as_me:$LINENO: result: no" >&5
34505 echo "${ECHO_T}no" >&6; }
34506 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34507 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34508 { (exit 1); exit 1; }; }
34509
34510
34511 fi
34512
34513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34514 conftest$ac_exeext conftest.$ac_ext
34515
34516 CFLAGS=$save_CFLAGS
34517 LIBS="$save_LIBS"
34518 fi
34519
34520 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34521 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34522 libp_link=""
34523 libsm_ice_link=""
34524 libs_found=0
34525 for libp in "" " -lXp"; do
34526 if test "$libs_found" = "0"; then
34527 for libsm_ice in "" " -lSM -lICE"; do
34528 if test "$libs_found" = "0"; then
34529 save_LIBS="$LIBS"
34530 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34531 save_CFLAGS=$CFLAGS
34532 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34533
34534 cat >conftest.$ac_ext <<_ACEOF
34535 /* confdefs.h. */
34536 _ACEOF
34537 cat confdefs.h >>conftest.$ac_ext
34538 cat >>conftest.$ac_ext <<_ACEOF
34539 /* end confdefs.h. */
34540
34541 #include <Xm/Xm.h>
34542 #include <Xm/List.h>
34543
34544 int
34545 main ()
34546 {
34547
34548 XmString string = NULL;
34549 Widget w = NULL;
34550 int position = 0;
34551 XmListAddItem(w, string, position);
34552
34553 ;
34554 return 0;
34555 }
34556 _ACEOF
34557 rm -f conftest.$ac_objext conftest$ac_exeext
34558 if { (ac_try="$ac_link"
34559 case "(($ac_try" in
34560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34561 *) ac_try_echo=$ac_try;;
34562 esac
34563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34564 (eval "$ac_link") 2>conftest.er1
34565 ac_status=$?
34566 grep -v '^ *+' conftest.er1 >conftest.err
34567 rm -f conftest.er1
34568 cat conftest.err >&5
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); } && {
34571 test -z "$ac_c_werror_flag" ||
34572 test ! -s conftest.err
34573 } && test -s conftest$ac_exeext &&
34574 $as_test_x conftest$ac_exeext; then
34575
34576 libp_link="$libp"
34577 libsm_ice_link="$libsm_ice"
34578 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34579 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34580 libs_found=1
34581
34582 else
34583 echo "$as_me: failed program was:" >&5
34584 sed 's/^/| /' conftest.$ac_ext >&5
34585
34586
34587
34588 fi
34589
34590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34591 conftest$ac_exeext conftest.$ac_ext
34592
34593 LIBS="$save_LIBS"
34594 CFLAGS=$save_CFLAGS
34595 fi
34596 done
34597 fi
34598 done
34599
34600 if test "$libs_found" = "0"; then
34601 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34602 echo "${ECHO_T}can't find the right libraries" >&6; }
34603 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34604 echo "$as_me: error: can't link a simple motif program" >&2;}
34605 { (exit 1); exit 1; }; }
34606 fi
34607
34608 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34609 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34610 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34611 echo $ECHO_N "(cached) $ECHO_C" >&6
34612 else
34613 ac_check_lib_save_LIBS=$LIBS
34614 LIBS="-lSgm $LIBS"
34615 cat >conftest.$ac_ext <<_ACEOF
34616 /* confdefs.h. */
34617 _ACEOF
34618 cat confdefs.h >>conftest.$ac_ext
34619 cat >>conftest.$ac_ext <<_ACEOF
34620 /* end confdefs.h. */
34621
34622 /* Override any GCC internal prototype to avoid an error.
34623 Use char because int might match the return type of a GCC
34624 builtin and then its argument prototype would still apply. */
34625 #ifdef __cplusplus
34626 extern "C"
34627 #endif
34628 char SgCreateList ();
34629 int
34630 main ()
34631 {
34632 return SgCreateList ();
34633 ;
34634 return 0;
34635 }
34636 _ACEOF
34637 rm -f conftest.$ac_objext conftest$ac_exeext
34638 if { (ac_try="$ac_link"
34639 case "(($ac_try" in
34640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34641 *) ac_try_echo=$ac_try;;
34642 esac
34643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34644 (eval "$ac_link") 2>conftest.er1
34645 ac_status=$?
34646 grep -v '^ *+' conftest.er1 >conftest.err
34647 rm -f conftest.er1
34648 cat conftest.err >&5
34649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34650 (exit $ac_status); } && {
34651 test -z "$ac_c_werror_flag" ||
34652 test ! -s conftest.err
34653 } && test -s conftest$ac_exeext &&
34654 $as_test_x conftest$ac_exeext; then
34655 ac_cv_lib_Sgm_SgCreateList=yes
34656 else
34657 echo "$as_me: failed program was:" >&5
34658 sed 's/^/| /' conftest.$ac_ext >&5
34659
34660 ac_cv_lib_Sgm_SgCreateList=no
34661 fi
34662
34663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34664 conftest$ac_exeext conftest.$ac_ext
34665 LIBS=$ac_check_lib_save_LIBS
34666 fi
34667 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34668 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34669 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34670 libsgm_link=" -lSgm"
34671 fi
34672
34673
34674 save_CFLAGS=$CFLAGS
34675 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34676
34677 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34678 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34679 if test "${wx_cv_lib_motif2+set}" = set; then
34680 echo $ECHO_N "(cached) $ECHO_C" >&6
34681 else
34682 cat >conftest.$ac_ext <<_ACEOF
34683 /* confdefs.h. */
34684 _ACEOF
34685 cat confdefs.h >>conftest.$ac_ext
34686 cat >>conftest.$ac_ext <<_ACEOF
34687 /* end confdefs.h. */
34688
34689 #include <Xm/Xm.h>
34690
34691 int
34692 main ()
34693 {
34694
34695 #if XmVersion < 2000
34696 Not Motif 2
34697 #endif
34698
34699 ;
34700 return 0;
34701 }
34702 _ACEOF
34703 rm -f conftest.$ac_objext
34704 if { (ac_try="$ac_compile"
34705 case "(($ac_try" in
34706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34707 *) ac_try_echo=$ac_try;;
34708 esac
34709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34710 (eval "$ac_compile") 2>conftest.er1
34711 ac_status=$?
34712 grep -v '^ *+' conftest.er1 >conftest.err
34713 rm -f conftest.er1
34714 cat conftest.err >&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); } && {
34717 test -z "$ac_c_werror_flag" ||
34718 test ! -s conftest.err
34719 } && test -s conftest.$ac_objext; then
34720 wx_cv_lib_motif2="yes"
34721 else
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.$ac_ext >&5
34724
34725 wx_cv_lib_motif2="no"
34726 fi
34727
34728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729 fi
34730 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34731 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34732 if test "$wx_cv_lib_motif2" = "yes"; then
34733 cat >>confdefs.h <<\_ACEOF
34734 #define __WXMOTIF20__ 1
34735 _ACEOF
34736
34737 else
34738 cat >>confdefs.h <<\_ACEOF
34739 #define __WXMOTIF20__ 0
34740 _ACEOF
34741
34742 fi
34743
34744 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34745 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34746 if test "${wx_cv_lib_lesstif+set}" = set; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34748 else
34749 cat >conftest.$ac_ext <<_ACEOF
34750 /* confdefs.h. */
34751 _ACEOF
34752 cat confdefs.h >>conftest.$ac_ext
34753 cat >>conftest.$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755
34756 #include <Xm/Xm.h>
34757
34758 int
34759 main ()
34760 {
34761
34762 #if !defined(LesstifVersion) || LesstifVersion <= 0
34763 Not Lesstif
34764 #endif
34765
34766 ;
34767 return 0;
34768 }
34769 _ACEOF
34770 rm -f conftest.$ac_objext
34771 if { (ac_try="$ac_compile"
34772 case "(($ac_try" in
34773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34774 *) ac_try_echo=$ac_try;;
34775 esac
34776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34777 (eval "$ac_compile") 2>conftest.er1
34778 ac_status=$?
34779 grep -v '^ *+' conftest.er1 >conftest.err
34780 rm -f conftest.er1
34781 cat conftest.err >&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } && {
34784 test -z "$ac_c_werror_flag" ||
34785 test ! -s conftest.err
34786 } && test -s conftest.$ac_objext; then
34787 wx_cv_lib_lesstif="yes"
34788 else
34789 echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.$ac_ext >&5
34791
34792 wx_cv_lib_lesstif="no"
34793 fi
34794
34795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34796
34797 fi
34798 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34799 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34800 if test "$wx_cv_lib_lesstif" = "yes"; then
34801 cat >>confdefs.h <<\_ACEOF
34802 #define __WXLESSTIF__ 1
34803 _ACEOF
34804
34805 else
34806 cat >>confdefs.h <<\_ACEOF
34807 #define __WXLESSTIF__ 0
34808 _ACEOF
34809
34810 fi
34811
34812 CFLAGS=$save_CFLAGS
34813
34814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34815 TOOLKIT=MOTIF
34816 GUIDIST=MOTIF_DIST
34817 fi
34818
34819 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34820 if test "$wxUSE_LIBXPM" = "sys"; then
34821 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34822 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34823
34824 ac_find_libraries=
34825 for ac_dir in $SEARCH_LIB;
34826 do
34827 for ac_extension in a so sl dylib dll.a; do
34828 if test -f "$ac_dir/libXpm.$ac_extension"; then
34829 ac_find_libraries=$ac_dir
34830 break 2
34831 fi
34832 done
34833 done
34834
34835 if test "$ac_find_libraries" != "" ; then
34836
34837 if test "$ac_find_libraries" = "default location"; then
34838 ac_path_to_link=""
34839 else
34840 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34841 result=$?
34842 if test $result = 0; then
34843 ac_path_to_link=""
34844 else
34845 ac_path_to_link=" -L$ac_find_libraries"
34846 fi
34847 fi
34848
34849 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34850 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34851 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34852
34853 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34854 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34855 if test "${wx_cv_x11_xpm_h+set}" = set; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34857 else
34858
34859 save_CFLAGS=$CFLAGS
34860 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34861
34862 cat >conftest.$ac_ext <<_ACEOF
34863 /* confdefs.h. */
34864 _ACEOF
34865 cat confdefs.h >>conftest.$ac_ext
34866 cat >>conftest.$ac_ext <<_ACEOF
34867 /* end confdefs.h. */
34868
34869 #include <X11/xpm.h>
34870
34871 int
34872 main ()
34873 {
34874
34875 int version;
34876 version = XpmLibraryVersion();
34877
34878 ;
34879 return 0;
34880 }
34881 _ACEOF
34882 rm -f conftest.$ac_objext
34883 if { (ac_try="$ac_compile"
34884 case "(($ac_try" in
34885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34886 *) ac_try_echo=$ac_try;;
34887 esac
34888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34889 (eval "$ac_compile") 2>conftest.er1
34890 ac_status=$?
34891 grep -v '^ *+' conftest.er1 >conftest.err
34892 rm -f conftest.er1
34893 cat conftest.err >&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); } && {
34896 test -z "$ac_c_werror_flag" ||
34897 test ! -s conftest.err
34898 } && test -s conftest.$ac_objext; then
34899 wx_cv_x11_xpm_h=yes
34900 else
34901 echo "$as_me: failed program was:" >&5
34902 sed 's/^/| /' conftest.$ac_ext >&5
34903
34904 wx_cv_x11_xpm_h=no
34905
34906 fi
34907
34908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34909
34910 CFLAGS=$save_CFLAGS
34911
34912
34913 fi
34914 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34915 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34916
34917 if test $wx_cv_x11_xpm_h = "yes"; then
34918 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34919 cat >>confdefs.h <<\_ACEOF
34920 #define wxHAVE_LIB_XPM 1
34921 _ACEOF
34922
34923 else
34924 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34925 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34926 fi
34927 fi
34928
34929 fi
34930
34931 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34932 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34933 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34934 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 else
34936 ac_check_lib_save_LIBS=$LIBS
34937 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34938 cat >conftest.$ac_ext <<_ACEOF
34939 /* confdefs.h. */
34940 _ACEOF
34941 cat confdefs.h >>conftest.$ac_ext
34942 cat >>conftest.$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34944
34945 /* Override any GCC internal prototype to avoid an error.
34946 Use char because int might match the return type of a GCC
34947 builtin and then its argument prototype would still apply. */
34948 #ifdef __cplusplus
34949 extern "C"
34950 #endif
34951 char XShapeQueryExtension ();
34952 int
34953 main ()
34954 {
34955 return XShapeQueryExtension ();
34956 ;
34957 return 0;
34958 }
34959 _ACEOF
34960 rm -f conftest.$ac_objext conftest$ac_exeext
34961 if { (ac_try="$ac_link"
34962 case "(($ac_try" in
34963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34964 *) ac_try_echo=$ac_try;;
34965 esac
34966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34967 (eval "$ac_link") 2>conftest.er1
34968 ac_status=$?
34969 grep -v '^ *+' conftest.er1 >conftest.err
34970 rm -f conftest.er1
34971 cat conftest.err >&5
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); } && {
34974 test -z "$ac_c_werror_flag" ||
34975 test ! -s conftest.err
34976 } && test -s conftest$ac_exeext &&
34977 $as_test_x conftest$ac_exeext; then
34978 ac_cv_lib_Xext_XShapeQueryExtension=yes
34979 else
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.$ac_ext >&5
34982
34983 ac_cv_lib_Xext_XShapeQueryExtension=no
34984 fi
34985
34986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34987 conftest$ac_exeext conftest.$ac_ext
34988 LIBS=$ac_check_lib_save_LIBS
34989 fi
34990 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34991 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34992 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34993
34994 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34995 wxHAVE_XEXT_LIB=1
34996
34997 fi
34998
34999
35000 if test "$wxHAVE_XEXT_LIB" = 1; then
35001 save_CFLAGS="$CFLAGS"
35002 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35003
35004 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35005 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35006 cat >conftest.$ac_ext <<_ACEOF
35007 /* confdefs.h. */
35008 _ACEOF
35009 cat confdefs.h >>conftest.$ac_ext
35010 cat >>conftest.$ac_ext <<_ACEOF
35011 /* end confdefs.h. */
35012
35013 #include <X11/Xlib.h>
35014 #include <X11/extensions/shape.h>
35015
35016 int
35017 main ()
35018 {
35019
35020 int dummy1, dummy2;
35021 XShapeQueryExtension((Display*)NULL,
35022 (int*)NULL, (int*)NULL);
35023
35024 ;
35025 return 0;
35026 }
35027 _ACEOF
35028 rm -f conftest.$ac_objext
35029 if { (ac_try="$ac_compile"
35030 case "(($ac_try" in
35031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35032 *) ac_try_echo=$ac_try;;
35033 esac
35034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35035 (eval "$ac_compile") 2>conftest.er1
35036 ac_status=$?
35037 grep -v '^ *+' conftest.er1 >conftest.err
35038 rm -f conftest.er1
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } && {
35042 test -z "$ac_c_werror_flag" ||
35043 test ! -s conftest.err
35044 } && test -s conftest.$ac_objext; then
35045
35046 cat >>confdefs.h <<\_ACEOF
35047 #define HAVE_XSHAPE 1
35048 _ACEOF
35049
35050 { echo "$as_me:$LINENO: result: found" >&5
35051 echo "${ECHO_T}found" >&6; }
35052
35053 else
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.$ac_ext >&5
35056
35057
35058 { echo "$as_me:$LINENO: result: not found" >&5
35059 echo "${ECHO_T}not found" >&6; }
35060
35061 fi
35062
35063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35064 CFLAGS="$save_CFLAGS"
35065
35066 fi
35067 fi
35068
35069 if test "$wxUSE_MAC" = 1; then
35070 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35071 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35072 if test "$GCC" = yes; then
35073 { echo "$as_me:$LINENO: result: gcc" >&5
35074 echo "${ECHO_T}gcc" >&6; }
35075 CPPFLAGS_PASCAL="-fpascal-strings"
35076 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35077 { echo "$as_me:$LINENO: result: xlc" >&5
35078 echo "${ECHO_T}xlc" >&6; }
35079 CPPFLAGS_PASCAL="-qmacpstr"
35080 else
35081 { echo "$as_me:$LINENO: result: none" >&5
35082 echo "${ECHO_T}none" >&6; }
35083 fi
35084
35085 if test "x$wxUSE_UNIX" = "xyes"; then
35086 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35087 else
35088 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35089 fi
35090
35091 TOOLKIT=MAC
35092 GUIDIST=MACX_DIST
35093 WXBASEPORT="_carbon"
35094 fi
35095
35096 if test "$wxUSE_COCOA" = 1; then
35097 TOOLKIT=COCOA
35098 GUIDIST=COCOA_DIST
35099 fi
35100
35101 if test "$wxUSE_PM" = 1; then
35102 TOOLKIT=PM
35103 GUIDIST=PM_DIST
35104 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35105 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35106 if test "${wx_cv_spbcdata+set}" = set; then
35107 echo $ECHO_N "(cached) $ECHO_C" >&6
35108 else
35109
35110 cat >conftest.$ac_ext <<_ACEOF
35111 /* confdefs.h. */
35112 _ACEOF
35113 cat confdefs.h >>conftest.$ac_ext
35114 cat >>conftest.$ac_ext <<_ACEOF
35115 /* end confdefs.h. */
35116
35117 #define INCL_PM
35118 #include <os2.h>
35119
35120 int
35121 main ()
35122 {
35123
35124 SPBCDATA test;
35125
35126 ;
35127 return 0;
35128 }
35129 _ACEOF
35130 rm -f conftest.$ac_objext
35131 if { (ac_try="$ac_compile"
35132 case "(($ac_try" in
35133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35134 *) ac_try_echo=$ac_try;;
35135 esac
35136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35137 (eval "$ac_compile") 2>conftest.er1
35138 ac_status=$?
35139 grep -v '^ *+' conftest.er1 >conftest.err
35140 rm -f conftest.er1
35141 cat conftest.err >&5
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); } && {
35144 test -z "$ac_c_werror_flag" ||
35145 test ! -s conftest.err
35146 } && test -s conftest.$ac_objext; then
35147 wx_cv_spbcdata=yes
35148 else
35149 echo "$as_me: failed program was:" >&5
35150 sed 's/^/| /' conftest.$ac_ext >&5
35151
35152 wx_cv_spbcdata=no
35153
35154 fi
35155
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157
35158
35159 fi
35160 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35161 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35162
35163 if test $wx_cv_spbcdata = "yes"; then
35164 cat >>confdefs.h <<\_ACEOF
35165 #define HAVE_SPBCDATA 1
35166 _ACEOF
35167
35168 fi
35169 fi
35170
35171 if test "$TOOLKIT" = "PM" ; then
35172 TOOLKIT_DIR="os2"
35173 else
35174 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35175 fi
35176
35177 if test "$wxUSE_UNIVERSAL" = "yes"; then
35178 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35179 WIDGET_SET=univ
35180 fi
35181
35182 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35183 DISTDIR="wx\$(TOOLKIT)"
35184 else
35185 USE_GUI=0
35186
35187 TOOLKIT_DIR="base"
35188
35189 if test "$USE_WIN32" = 1 ; then
35190 TOOLKIT="MSW"
35191 fi
35192
35193 GUIDIST="BASE_DIST"
35194 DISTDIR="wxBase"
35195 fi
35196
35197
35198
35199 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35200 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35201 wxUSE_UNICODE_UTF8=yes
35202 elif test "$USE_OS2" = "1" ; then
35203 wxUSE_UNICODE_UTF8=yes
35204 else
35205 wxUSE_UNICODE_UTF8=no
35206 fi
35207 fi
35208
35209
35210 if test "$wxUSE_GUI" = "yes"; then
35211 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35212
35213 for ac_header in X11/Xlib.h
35214 do
35215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35216 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35219 echo $ECHO_N "(cached) $ECHO_C" >&6
35220 else
35221 cat >conftest.$ac_ext <<_ACEOF
35222 /* confdefs.h. */
35223 _ACEOF
35224 cat confdefs.h >>conftest.$ac_ext
35225 cat >>conftest.$ac_ext <<_ACEOF
35226 /* end confdefs.h. */
35227
35228
35229 #include <$ac_header>
35230 _ACEOF
35231 rm -f conftest.$ac_objext
35232 if { (ac_try="$ac_compile"
35233 case "(($ac_try" in
35234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35235 *) ac_try_echo=$ac_try;;
35236 esac
35237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35238 (eval "$ac_compile") 2>conftest.er1
35239 ac_status=$?
35240 grep -v '^ *+' conftest.er1 >conftest.err
35241 rm -f conftest.er1
35242 cat conftest.err >&5
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); } && {
35245 test -z "$ac_c_werror_flag" ||
35246 test ! -s conftest.err
35247 } && test -s conftest.$ac_objext; then
35248 eval "$as_ac_Header=yes"
35249 else
35250 echo "$as_me: failed program was:" >&5
35251 sed 's/^/| /' conftest.$ac_ext >&5
35252
35253 eval "$as_ac_Header=no"
35254 fi
35255
35256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35257 fi
35258 ac_res=`eval echo '${'$as_ac_Header'}'`
35259 { echo "$as_me:$LINENO: result: $ac_res" >&5
35260 echo "${ECHO_T}$ac_res" >&6; }
35261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35262 cat >>confdefs.h <<_ACEOF
35263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35264 _ACEOF
35265
35266 fi
35267
35268 done
35269
35270
35271 for ac_header in X11/XKBlib.h
35272 do
35273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35274 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35277 echo $ECHO_N "(cached) $ECHO_C" >&6
35278 else
35279 cat >conftest.$ac_ext <<_ACEOF
35280 /* confdefs.h. */
35281 _ACEOF
35282 cat confdefs.h >>conftest.$ac_ext
35283 cat >>conftest.$ac_ext <<_ACEOF
35284 /* end confdefs.h. */
35285
35286 #if HAVE_X11_XLIB_H
35287 #include <X11/Xlib.h>
35288 #endif
35289
35290
35291 #include <$ac_header>
35292 _ACEOF
35293 rm -f conftest.$ac_objext
35294 if { (ac_try="$ac_compile"
35295 case "(($ac_try" in
35296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35298 esac
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_compile") 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } && {
35307 test -z "$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 } && test -s conftest.$ac_objext; then
35310 eval "$as_ac_Header=yes"
35311 else
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35314
35315 eval "$as_ac_Header=no"
35316 fi
35317
35318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35319 fi
35320 ac_res=`eval echo '${'$as_ac_Header'}'`
35321 { echo "$as_me:$LINENO: result: $ac_res" >&5
35322 echo "${ECHO_T}$ac_res" >&6; }
35323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35324 cat >>confdefs.h <<_ACEOF
35325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35326 _ACEOF
35327
35328 fi
35329
35330 done
35331
35332 fi
35333 fi
35334
35335
35336
35337 IODBC_C_SRC=""
35338
35339
35340 if test "$TOOLKIT" != "MSW" ; then
35341
35342 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35343
35344 { echo "$as_me:$LINENO: checking for sql.h" >&5
35345 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35346 if test "${ac_cv_header_sql_h+set}" = set; then
35347 echo $ECHO_N "(cached) $ECHO_C" >&6
35348 else
35349 cat >conftest.$ac_ext <<_ACEOF
35350 /* confdefs.h. */
35351 _ACEOF
35352 cat confdefs.h >>conftest.$ac_ext
35353 cat >>conftest.$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35355
35356
35357 #include <sql.h>
35358 _ACEOF
35359 rm -f conftest.$ac_objext
35360 if { (ac_try="$ac_compile"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35364 esac
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_compile") 2>conftest.er1
35367 ac_status=$?
35368 grep -v '^ *+' conftest.er1 >conftest.err
35369 rm -f conftest.er1
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest.$ac_objext; then
35376 ac_cv_header_sql_h=yes
35377 else
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.$ac_ext >&5
35380
35381 ac_cv_header_sql_h=no
35382 fi
35383
35384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35385 fi
35386 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35387 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35388 if test $ac_cv_header_sql_h = yes; then
35389 found_sql_h=1
35390 fi
35391
35392
35393 if test "x$found_sql_h" = "x1" ; then
35394 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35395 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35396 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35397 echo $ECHO_N "(cached) $ECHO_C" >&6
35398 else
35399 ac_check_lib_save_LIBS=$LIBS
35400 LIBS="-liodbc $LIBS"
35401 cat >conftest.$ac_ext <<_ACEOF
35402 /* confdefs.h. */
35403 _ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35407
35408 /* Override any GCC internal prototype to avoid an error.
35409 Use char because int might match the return type of a GCC
35410 builtin and then its argument prototype would still apply. */
35411 #ifdef __cplusplus
35412 extern "C"
35413 #endif
35414 char SQLAllocEnv ();
35415 int
35416 main ()
35417 {
35418 return SQLAllocEnv ();
35419 ;
35420 return 0;
35421 }
35422 _ACEOF
35423 rm -f conftest.$ac_objext conftest$ac_exeext
35424 if { (ac_try="$ac_link"
35425 case "(($ac_try" in
35426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35427 *) ac_try_echo=$ac_try;;
35428 esac
35429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35430 (eval "$ac_link") 2>conftest.er1
35431 ac_status=$?
35432 grep -v '^ *+' conftest.er1 >conftest.err
35433 rm -f conftest.er1
35434 cat conftest.err >&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); } && {
35437 test -z "$ac_c_werror_flag" ||
35438 test ! -s conftest.err
35439 } && test -s conftest$ac_exeext &&
35440 $as_test_x conftest$ac_exeext; then
35441 ac_cv_lib_iodbc_SQLAllocEnv=yes
35442 else
35443 echo "$as_me: failed program was:" >&5
35444 sed 's/^/| /' conftest.$ac_ext >&5
35445
35446 ac_cv_lib_iodbc_SQLAllocEnv=no
35447 fi
35448
35449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35450 conftest$ac_exeext conftest.$ac_ext
35451 LIBS=$ac_check_lib_save_LIBS
35452 fi
35453 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35454 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35455 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35456 ODBC_LINK=" -liodbc"
35457 else
35458
35459 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35460 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35461 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35462 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 else
35464 ac_check_lib_save_LIBS=$LIBS
35465 LIBS="-lunixodbc $LIBS"
35466 cat >conftest.$ac_ext <<_ACEOF
35467 /* confdefs.h. */
35468 _ACEOF
35469 cat confdefs.h >>conftest.$ac_ext
35470 cat >>conftest.$ac_ext <<_ACEOF
35471 /* end confdefs.h. */
35472
35473 /* Override any GCC internal prototype to avoid an error.
35474 Use char because int might match the return type of a GCC
35475 builtin and then its argument prototype would still apply. */
35476 #ifdef __cplusplus
35477 extern "C"
35478 #endif
35479 char SQLAllocEnv ();
35480 int
35481 main ()
35482 {
35483 return SQLAllocEnv ();
35484 ;
35485 return 0;
35486 }
35487 _ACEOF
35488 rm -f conftest.$ac_objext conftest$ac_exeext
35489 if { (ac_try="$ac_link"
35490 case "(($ac_try" in
35491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35492 *) ac_try_echo=$ac_try;;
35493 esac
35494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35495 (eval "$ac_link") 2>conftest.er1
35496 ac_status=$?
35497 grep -v '^ *+' conftest.er1 >conftest.err
35498 rm -f conftest.er1
35499 cat conftest.err >&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); } && {
35502 test -z "$ac_c_werror_flag" ||
35503 test ! -s conftest.err
35504 } && test -s conftest$ac_exeext &&
35505 $as_test_x conftest$ac_exeext; then
35506 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35507 else
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.$ac_ext >&5
35510
35511 ac_cv_lib_unixodbc_SQLAllocEnv=no
35512 fi
35513
35514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35515 conftest$ac_exeext conftest.$ac_ext
35516 LIBS=$ac_check_lib_save_LIBS
35517 fi
35518 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35519 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35520 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35521 ODBC_LINK=" -lunixodbc"
35522 else
35523
35524 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35525 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35526 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35528 else
35529 ac_check_lib_save_LIBS=$LIBS
35530 LIBS="-lodbc $LIBS"
35531 cat >conftest.$ac_ext <<_ACEOF
35532 /* confdefs.h. */
35533 _ACEOF
35534 cat confdefs.h >>conftest.$ac_ext
35535 cat >>conftest.$ac_ext <<_ACEOF
35536 /* end confdefs.h. */
35537
35538 /* Override any GCC internal prototype to avoid an error.
35539 Use char because int might match the return type of a GCC
35540 builtin and then its argument prototype would still apply. */
35541 #ifdef __cplusplus
35542 extern "C"
35543 #endif
35544 char SQLAllocEnv ();
35545 int
35546 main ()
35547 {
35548 return SQLAllocEnv ();
35549 ;
35550 return 0;
35551 }
35552 _ACEOF
35553 rm -f conftest.$ac_objext conftest$ac_exeext
35554 if { (ac_try="$ac_link"
35555 case "(($ac_try" in
35556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35557 *) ac_try_echo=$ac_try;;
35558 esac
35559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35560 (eval "$ac_link") 2>conftest.er1
35561 ac_status=$?
35562 grep -v '^ *+' conftest.er1 >conftest.err
35563 rm -f conftest.er1
35564 cat conftest.err >&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); } && {
35567 test -z "$ac_c_werror_flag" ||
35568 test ! -s conftest.err
35569 } && test -s conftest$ac_exeext &&
35570 $as_test_x conftest$ac_exeext; then
35571 ac_cv_lib_odbc_SQLAllocEnv=yes
35572 else
35573 echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.$ac_ext >&5
35575
35576 ac_cv_lib_odbc_SQLAllocEnv=no
35577 fi
35578
35579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35580 conftest$ac_exeext conftest.$ac_ext
35581 LIBS=$ac_check_lib_save_LIBS
35582 fi
35583 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35584 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35585 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35586 ODBC_LINK=" -lodbc"
35587 fi
35588
35589
35590 fi
35591
35592
35593 fi
35594
35595 fi
35596 if test "x$ODBC_LINK" = "x" ; then
35597 if test "$wxUSE_ODBC" = "sys" ; then
35598 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35599 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35600 { (exit 1); exit 1; }; }
35601 else
35602 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35603 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35604 wxUSE_ODBC=builtin
35605 fi
35606 else
35607 wxUSE_ODBC=sys
35608 fi
35609 fi
35610
35611 if test "$wxUSE_ODBC" = "builtin" ; then
35612 cat >>confdefs.h <<\_ACEOF
35613 #define wxUSE_BUILTIN_IODBC 1
35614 _ACEOF
35615
35616 fi
35617 fi
35618
35619 if test "$wxUSE_ODBC" != "no" ; then
35620 cat >>confdefs.h <<\_ACEOF
35621 #define wxUSE_ODBC 1
35622 _ACEOF
35623
35624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35625
35626 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35627 fi
35628
35629
35630 if test "$wxUSE_DISPLAY" = "yes"; then
35631 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35632 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35633 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35634
35635 ac_find_libraries=
35636 for ac_dir in $SEARCH_LIB;
35637 do
35638 for ac_extension in a so sl dylib dll.a; do
35639 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35640 ac_find_libraries=$ac_dir
35641 break 2
35642 fi
35643 done
35644 done
35645
35646 if test "$ac_find_libraries" != "" ; then
35647
35648 if test "$ac_find_libraries" = "default location"; then
35649 ac_path_to_link=""
35650 else
35651 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35652 result=$?
35653 if test $result = 0; then
35654 ac_path_to_link=""
35655 else
35656 ac_path_to_link=" -L$ac_find_libraries"
35657 fi
35658 fi
35659
35660 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35661 LDFLAGS="$LDFLAGS $ac_path_to_link"
35662 fi
35663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35664 { echo "$as_me:$LINENO: result: yes" >&5
35665 echo "${ECHO_T}yes" >&6; }
35666
35667 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35668 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35669
35670 ac_find_libraries=
35671 for ac_dir in $SEARCH_LIB;
35672 do
35673 for ac_extension in a so sl dylib dll.a; do
35674 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35675 ac_find_libraries=$ac_dir
35676 break 2
35677 fi
35678 done
35679 done
35680
35681 if test "$ac_find_libraries" != "" ; then
35682 { echo "$as_me:$LINENO: result: yes" >&5
35683 echo "${ECHO_T}yes" >&6; }
35684
35685 for ac_header in X11/extensions/xf86vmode.h
35686 do
35687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 else
35693 cat >conftest.$ac_ext <<_ACEOF
35694 /* confdefs.h. */
35695 _ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699
35700 #if HAVE_X11_XLIB_H
35701 #include <X11/Xlib.h>
35702 #endif
35703
35704
35705 #include <$ac_header>
35706 _ACEOF
35707 rm -f conftest.$ac_objext
35708 if { (ac_try="$ac_compile"
35709 case "(($ac_try" in
35710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35711 *) ac_try_echo=$ac_try;;
35712 esac
35713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35714 (eval "$ac_compile") 2>conftest.er1
35715 ac_status=$?
35716 grep -v '^ *+' conftest.er1 >conftest.err
35717 rm -f conftest.er1
35718 cat conftest.err >&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); } && {
35721 test -z "$ac_c_werror_flag" ||
35722 test ! -s conftest.err
35723 } && test -s conftest.$ac_objext; then
35724 eval "$as_ac_Header=yes"
35725 else
35726 echo "$as_me: failed program was:" >&5
35727 sed 's/^/| /' conftest.$ac_ext >&5
35728
35729 eval "$as_ac_Header=no"
35730 fi
35731
35732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35733 fi
35734 ac_res=`eval echo '${'$as_ac_Header'}'`
35735 { echo "$as_me:$LINENO: result: $ac_res" >&5
35736 echo "${ECHO_T}$ac_res" >&6; }
35737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35738 cat >>confdefs.h <<_ACEOF
35739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35740 _ACEOF
35741
35742 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35743
35744 fi
35745
35746 done
35747
35748 else
35749 { echo "$as_me:$LINENO: result: no" >&5
35750 echo "${ECHO_T}no" >&6; }
35751 fi
35752
35753 else
35754 { echo "$as_me:$LINENO: result: no" >&5
35755 echo "${ECHO_T}no" >&6; }
35756 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35757 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35758 wxUSE_DISPLAY="no"
35759 fi
35760 elif test "$wxUSE_MSW" = 1; then
35761 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35762 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35763 if test "${ac_cv_header_ddraw_h+set}" = set; then
35764 echo $ECHO_N "(cached) $ECHO_C" >&6
35765 else
35766 cat >conftest.$ac_ext <<_ACEOF
35767 /* confdefs.h. */
35768 _ACEOF
35769 cat confdefs.h >>conftest.$ac_ext
35770 cat >>conftest.$ac_ext <<_ACEOF
35771 /* end confdefs.h. */
35772 #include <windows.h>
35773
35774 #include <ddraw.h>
35775 _ACEOF
35776 rm -f conftest.$ac_objext
35777 if { (ac_try="$ac_compile"
35778 case "(($ac_try" in
35779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35780 *) ac_try_echo=$ac_try;;
35781 esac
35782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35783 (eval "$ac_compile") 2>conftest.er1
35784 ac_status=$?
35785 grep -v '^ *+' conftest.er1 >conftest.err
35786 rm -f conftest.er1
35787 cat conftest.err >&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } && {
35790 test -z "$ac_c_werror_flag" ||
35791 test ! -s conftest.err
35792 } && test -s conftest.$ac_objext; then
35793 ac_cv_header_ddraw_h=yes
35794 else
35795 echo "$as_me: failed program was:" >&5
35796 sed 's/^/| /' conftest.$ac_ext >&5
35797
35798 ac_cv_header_ddraw_h=no
35799 fi
35800
35801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35802 fi
35803 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35804 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35805
35806
35807 fi
35808 fi
35809
35810 if test "$wxUSE_DETECT_SM" = "yes"; then
35811 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35812 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35813 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35814
35815 ac_find_libraries=
35816 for ac_dir in $SEARCH_LIB;
35817 do
35818 for ac_extension in a so sl dylib dll.a; do
35819 if test -f "$ac_dir/libSM.$ac_extension"; then
35820 ac_find_libraries=$ac_dir
35821 break 2
35822 fi
35823 done
35824 done
35825
35826 if test "$ac_find_libraries" != "" ; then
35827
35828 if test "$ac_find_libraries" = "default location"; then
35829 ac_path_to_link=""
35830 else
35831 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35832 result=$?
35833 if test $result = 0; then
35834 ac_path_to_link=""
35835 else
35836 ac_path_to_link=" -L$ac_find_libraries"
35837 fi
35838 fi
35839
35840 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35841 LDFLAGS="$LDFLAGS $ac_path_to_link"
35842 fi
35843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35844 { echo "$as_me:$LINENO: result: yes" >&5
35845 echo "${ECHO_T}yes" >&6; }
35846 else
35847 { echo "$as_me:$LINENO: result: no" >&5
35848 echo "${ECHO_T}no" >&6; }
35849 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35850 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35851 wxUSE_DETECT_SM="no"
35852 fi
35853 else
35854 wxUSE_DETECT_SM="no"
35855 fi
35856 fi
35857
35858
35859
35860 USE_OPENGL=0
35861 if test "$wxUSE_OPENGL" = "yes"; then
35862 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35863 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35864 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35865 wxUSE_OPENGL="no"
35866 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35867 OPENGL_LIBS="-framework OpenGL -framework AGL"
35868 elif test "$wxUSE_MSW" = 1; then
35869 OPENGL_LIBS="-lopengl32 -lglu32"
35870 else
35871 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35872 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35873
35874 ac_find_includes=
35875 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35876 do
35877 if test -f "$ac_dir/GL/gl.h"; then
35878 ac_find_includes=$ac_dir
35879 break
35880 fi
35881 done
35882
35883 if test "$ac_find_includes" != "" ; then
35884 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35885 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35886
35887 if test "x$ac_find_includes" = "x/usr/include"; then
35888 ac_path_to_include=""
35889 else
35890 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35891 result=$?
35892 if test $result = 0; then
35893 ac_path_to_include=""
35894 else
35895 ac_path_to_include=" -I$ac_find_includes"
35896 fi
35897 fi
35898
35899 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35900 else
35901 { echo "$as_me:$LINENO: result: not found" >&5
35902 echo "${ECHO_T}not found" >&6; }
35903 fi
35904
35905 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35906 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35907 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35908 echo $ECHO_N "(cached) $ECHO_C" >&6
35909 else
35910 cat >conftest.$ac_ext <<_ACEOF
35911 /* confdefs.h. */
35912 _ACEOF
35913 cat confdefs.h >>conftest.$ac_ext
35914 cat >>conftest.$ac_ext <<_ACEOF
35915 /* end confdefs.h. */
35916
35917
35918 #include <GL/gl.h>
35919 _ACEOF
35920 rm -f conftest.$ac_objext
35921 if { (ac_try="$ac_compile"
35922 case "(($ac_try" in
35923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35924 *) ac_try_echo=$ac_try;;
35925 esac
35926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35927 (eval "$ac_compile") 2>conftest.er1
35928 ac_status=$?
35929 grep -v '^ *+' conftest.er1 >conftest.err
35930 rm -f conftest.er1
35931 cat conftest.err >&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); } && {
35934 test -z "$ac_c_werror_flag" ||
35935 test ! -s conftest.err
35936 } && test -s conftest.$ac_objext; then
35937 ac_cv_header_GL_gl_h=yes
35938 else
35939 echo "$as_me: failed program was:" >&5
35940 sed 's/^/| /' conftest.$ac_ext >&5
35941
35942 ac_cv_header_GL_gl_h=no
35943 fi
35944
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 fi
35947 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35948 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35949 if test $ac_cv_header_GL_gl_h = yes; then
35950
35951 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35952 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35953 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35954 echo $ECHO_N "(cached) $ECHO_C" >&6
35955 else
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962
35963
35964 #include <GL/glu.h>
35965 _ACEOF
35966 rm -f conftest.$ac_objext
35967 if { (ac_try="$ac_compile"
35968 case "(($ac_try" in
35969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35970 *) ac_try_echo=$ac_try;;
35971 esac
35972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35973 (eval "$ac_compile") 2>conftest.er1
35974 ac_status=$?
35975 grep -v '^ *+' conftest.er1 >conftest.err
35976 rm -f conftest.er1
35977 cat conftest.err >&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } && {
35980 test -z "$ac_c_werror_flag" ||
35981 test ! -s conftest.err
35982 } && test -s conftest.$ac_objext; then
35983 ac_cv_header_GL_glu_h=yes
35984 else
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.$ac_ext >&5
35987
35988 ac_cv_header_GL_glu_h=no
35989 fi
35990
35991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35992 fi
35993 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35994 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35995 if test $ac_cv_header_GL_glu_h = yes; then
35996
35997 found_gl=0
35998
35999 { echo "$as_me:$LINENO: checking for -lGL" >&5
36000 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36001
36002 ac_find_libraries=
36003 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36004 do
36005 for ac_extension in a so sl dylib dll.a; do
36006 if test -f "$ac_dir/libGL.$ac_extension"; then
36007 ac_find_libraries=$ac_dir
36008 break 2
36009 fi
36010 done
36011 done
36012
36013 if test "$ac_find_libraries" != "" ; then
36014 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36015 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36016
36017
36018 if test "$ac_find_libraries" = "default location"; then
36019 ac_path_to_link=""
36020 else
36021 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36022 result=$?
36023 if test $result = 0; then
36024 ac_path_to_link=""
36025 else
36026 ac_path_to_link=" -L$ac_find_libraries"
36027 fi
36028 fi
36029
36030 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36031 LDFLAGS_GL="$ac_path_to_link"
36032 fi
36033
36034 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36035 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36036
36037 ac_find_libraries=
36038 for ac_dir in $SEARCH_LIB;
36039 do
36040 for ac_extension in a so sl dylib dll.a; do
36041 if test -f "$ac_dir/libGLU.$ac_extension"; then
36042 ac_find_libraries=$ac_dir
36043 break 2
36044 fi
36045 done
36046 done
36047
36048 if test "$ac_find_libraries" != "" ; then
36049
36050 if test "$ac_find_libraries" = "default location"; then
36051 ac_path_to_link=""
36052 else
36053 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36054 result=$?
36055 if test $result = 0; then
36056 ac_path_to_link=""
36057 else
36058 ac_path_to_link=" -L$ac_find_libraries"
36059 fi
36060 fi
36061
36062 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36063 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36064 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36065 fi
36066
36067 found_gl=1
36068 OPENGL_LIBS="-lGL -lGLU"
36069 { echo "$as_me:$LINENO: result: yes" >&5
36070 echo "${ECHO_T}yes" >&6; }
36071 else
36072 { echo "$as_me:$LINENO: result: no" >&5
36073 echo "${ECHO_T}no" >&6; }
36074 fi
36075 else
36076 { echo "$as_me:$LINENO: result: no" >&5
36077 echo "${ECHO_T}no" >&6; }
36078 fi
36079
36080 if test "$found_gl" != 1; then
36081 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36082 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36083
36084 ac_find_libraries=
36085 for ac_dir in $SEARCH_LIB;
36086 do
36087 for ac_extension in a so sl dylib dll.a; do
36088 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36089 ac_find_libraries=$ac_dir
36090 break 2
36091 fi
36092 done
36093 done
36094
36095 if test "$ac_find_libraries" != "" ; then
36096
36097 if test "$ac_find_libraries" = "default location"; then
36098 ac_path_to_link=""
36099 else
36100 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36101 result=$?
36102 if test $result = 0; then
36103 ac_path_to_link=""
36104 else
36105 ac_path_to_link=" -L$ac_find_libraries"
36106 fi
36107 fi
36108
36109 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36110 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36111 { echo "$as_me:$LINENO: result: yes" >&5
36112 echo "${ECHO_T}yes" >&6; }
36113 else
36114 { echo "$as_me:$LINENO: result: no" >&5
36115 echo "${ECHO_T}no" >&6; }
36116 fi
36117 fi
36118
36119 fi
36120
36121
36122
36123 fi
36124
36125
36126
36127 if test "x$OPENGL_LIBS" = "x"; then
36128 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36129 echo "$as_me: error: OpenGL libraries not available" >&2;}
36130 { (exit 1); exit 1; }; }
36131 fi
36132 fi
36133
36134 if test "$wxUSE_OPENGL" = "yes"; then
36135 USE_OPENGL=1
36136 cat >>confdefs.h <<\_ACEOF
36137 #define wxUSE_OPENGL 1
36138 _ACEOF
36139
36140 cat >>confdefs.h <<\_ACEOF
36141 #define wxUSE_GLCANVAS 1
36142 _ACEOF
36143
36144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36145 fi
36146 fi
36147
36148
36149 if test -n "$TOOLKIT" ; then
36150 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36151 fi
36152
36153
36154
36155 if test "$wxUSE_SHARED" = "yes"; then
36156 case "${host}" in
36157 *-pc-msdosdjgpp )
36158 wxUSE_SHARED=no
36159 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36160 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36161 ;;
36162 esac
36163 fi
36164
36165 if test "$wxUSE_SHARED" = "yes"; then
36166
36167
36168 case "${host}" in
36169 *-*-cygwin* | *-*-mingw* )
36170 wx_cv_version_script=no
36171 ;;
36172
36173 *)
36174 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36175 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36176 if test "${wx_cv_version_script+set}" = set; then
36177 echo $ECHO_N "(cached) $ECHO_C" >&6
36178 else
36179
36180 echo "VER_1 { *; };" >conftest.sym
36181 echo "int main() { return 0; }" >conftest.cpp
36182
36183 if { ac_try='
36184 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36185 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36187 (eval $ac_try) 2>&5
36188 ac_status=$?
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); }; } ; then
36191 if test -s conftest.stderr ; then
36192 wx_cv_version_script=no
36193 else
36194 wx_cv_version_script=yes
36195 fi
36196 else
36197 wx_cv_version_script=no
36198 fi
36199
36200 if test $wx_cv_version_script = yes
36201 then
36202 echo "struct B { virtual ~B() { } }; \
36203 struct D : public B { }; \
36204 void F() { D d; }" > conftest.cpp
36205
36206 if { ac_try='
36207 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36208 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36210 (eval $ac_try) 2>&5
36211 ac_status=$?
36212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36213 (exit $ac_status); }; } &&
36214 { ac_try='
36215 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36216 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36219 ac_status=$?
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; }
36222 then
36223 if { ac_try='
36224 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36225 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36227 (eval $ac_try) 2>&5
36228 ac_status=$?
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); }; }
36231 then
36232 wx_cv_version_script=yes
36233 else
36234 wx_cv_version_script=no
36235 fi
36236 fi
36237 fi
36238
36239 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36240 rm -f conftest1.output conftest2.output conftest3.output
36241
36242 fi
36243 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36244 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36245
36246 if test $wx_cv_version_script = yes ; then
36247 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36248 fi
36249 ;;
36250 esac
36251
36252
36253 if test "$wxUSE_VISIBILITY" != "no"; then
36254
36255
36256 if test -n "$GCC"; then
36257 CFLAGS_VISIBILITY="-fvisibility=hidden"
36258 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36259 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36260 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36261 if test "${wx_cv_cc_visibility+set}" = set; then
36262 echo $ECHO_N "(cached) $ECHO_C" >&6
36263 else
36264
36265 wx_save_CXXFLAGS="$CXXFLAGS"
36266 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36267 ac_ext=cpp
36268 ac_cpp='$CXXCPP $CPPFLAGS'
36269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36272
36273 cat >conftest.$ac_ext <<_ACEOF
36274 /* confdefs.h. */
36275 _ACEOF
36276 cat confdefs.h >>conftest.$ac_ext
36277 cat >>conftest.$ac_ext <<_ACEOF
36278 /* end confdefs.h. */
36279
36280 /* we need gcc >= 4.0, older versions with visibility support
36281 didn't have class visibility: */
36282 #if defined(__GNUC__) && __GNUC__ < 4
36283 error this gcc is too old;
36284 #endif
36285
36286 /* visibility only makes sense for ELF shared libs: */
36287 #if !defined(__ELF__) && !defined(__APPLE__)
36288 error this platform has no visibility;
36289 #endif
36290
36291 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36292 extern __attribute__((__visibility__("default"))) int exportedvar;
36293 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36294 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36295 class __attribute__((__visibility__("default"))) Foo {
36296 Foo() {}
36297 };
36298
36299 int
36300 main ()
36301 {
36302
36303 ;
36304 return 0;
36305 }
36306 _ACEOF
36307 rm -f conftest.$ac_objext
36308 if { (ac_try="$ac_compile"
36309 case "(($ac_try" in
36310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36311 *) ac_try_echo=$ac_try;;
36312 esac
36313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36314 (eval "$ac_compile") 2>conftest.er1
36315 ac_status=$?
36316 grep -v '^ *+' conftest.er1 >conftest.err
36317 rm -f conftest.er1
36318 cat conftest.err >&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); } && {
36321 test -z "$ac_cxx_werror_flag" ||
36322 test ! -s conftest.err
36323 } && test -s conftest.$ac_objext; then
36324 wx_cv_cc_visibility=yes
36325 else
36326 echo "$as_me: failed program was:" >&5
36327 sed 's/^/| /' conftest.$ac_ext >&5
36328
36329 wx_cv_cc_visibility=no
36330 fi
36331
36332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36333 ac_ext=c
36334 ac_cpp='$CPP $CPPFLAGS'
36335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36338
36339 CXXFLAGS="$wx_save_CXXFLAGS"
36340 fi
36341
36342 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36343 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36344 if test $wx_cv_cc_visibility = yes; then
36345 cat >>confdefs.h <<\_ACEOF
36346 #define HAVE_VISIBILITY 1
36347 _ACEOF
36348
36349
36350 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36351 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36352 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36353 echo $ECHO_N "(cached) $ECHO_C" >&6
36354 else
36355
36356 wx_save_CXXFLAGS="$CXXFLAGS"
36357 wx_save_LDFLAGS="$LDFLAGS"
36358 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36359 LDFLAGS="$LDFLAGS -shared -fPIC"
36360 ac_ext=cpp
36361 ac_cpp='$CXXCPP $CPPFLAGS'
36362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36365
36366 cat >conftest.$ac_ext <<_ACEOF
36367 /* confdefs.h. */
36368 _ACEOF
36369 cat confdefs.h >>conftest.$ac_ext
36370 cat >>conftest.$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36372
36373 #include <string>
36374
36375 int
36376 main ()
36377 {
36378
36379 std::string s("hello");
36380 return s.length();
36381
36382 ;
36383 return 0;
36384 }
36385 _ACEOF
36386 rm -f conftest.$ac_objext conftest$ac_exeext
36387 if { (ac_try="$ac_link"
36388 case "(($ac_try" in
36389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36390 *) ac_try_echo=$ac_try;;
36391 esac
36392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36393 (eval "$ac_link") 2>conftest.er1
36394 ac_status=$?
36395 grep -v '^ *+' conftest.er1 >conftest.err
36396 rm -f conftest.er1
36397 cat conftest.err >&5
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); } && {
36400 test -z "$ac_cxx_werror_flag" ||
36401 test ! -s conftest.err
36402 } && test -s conftest$ac_exeext &&
36403 $as_test_x conftest$ac_exeext; then
36404 wx_cv_cc_broken_libstdcxx_visibility=no
36405 else
36406 echo "$as_me: failed program was:" >&5
36407 sed 's/^/| /' conftest.$ac_ext >&5
36408
36409 wx_cv_cc_broken_libstdcxx_visibility=yes
36410 fi
36411
36412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36413 conftest$ac_exeext conftest.$ac_ext
36414 ac_ext=c
36415 ac_cpp='$CPP $CPPFLAGS'
36416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36419
36420 CXXFLAGS="$wx_save_CXXFLAGS"
36421 LDFLAGS="$wx_save_LDFLAGS"
36422 fi
36423
36424 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36425 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36426 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36427 cat >>confdefs.h <<\_ACEOF
36428 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36429 _ACEOF
36430
36431 fi
36432
36433 else
36434 CFLAGS_VISIBILITY=""
36435 CXXFLAGS_VISIBILITY=""
36436 fi
36437
36438
36439 fi
36440
36441 fi
36442
36443 if test "x$SUNCXX" = xyes; then
36444 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36445 WXCONFIG_RPATH="-R\$libdir"
36446 else
36447 case "${host}" in
36448 *-*-linux* | *-*-gnu* )
36449 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36450 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36451 ;;
36452
36453 *-*-solaris2* )
36454
36455 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36456
36457 saveLdflags="$LDFLAGS"
36458 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36459 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36460 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36461 cat >conftest.$ac_ext <<_ACEOF
36462 /* confdefs.h. */
36463 _ACEOF
36464 cat confdefs.h >>conftest.$ac_ext
36465 cat >>conftest.$ac_ext <<_ACEOF
36466 /* end confdefs.h. */
36467
36468 int
36469 main ()
36470 {
36471
36472 ;
36473 return 0;
36474 }
36475 _ACEOF
36476 rm -f conftest.$ac_objext conftest$ac_exeext
36477 if { (ac_try="$ac_link"
36478 case "(($ac_try" in
36479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36480 *) ac_try_echo=$ac_try;;
36481 esac
36482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36483 (eval "$ac_link") 2>conftest.er1
36484 ac_status=$?
36485 grep -v '^ *+' conftest.er1 >conftest.err
36486 rm -f conftest.er1
36487 cat conftest.err >&5
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); } && {
36490 test -z "$ac_c_werror_flag" ||
36491 test ! -s conftest.err
36492 } && test -s conftest$ac_exeext &&
36493 $as_test_x conftest$ac_exeext; then
36494
36495 { echo "$as_me:$LINENO: result: yes" >&5
36496 echo "${ECHO_T}yes" >&6; }
36497 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36498 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36499
36500 else
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36503
36504
36505 { echo "$as_me:$LINENO: result: no" >&5
36506 echo "${ECHO_T}no" >&6; }
36507 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36508 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36509 LDFLAGS="$saveLdflags -Wl,-R,/"
36510 cat >conftest.$ac_ext <<_ACEOF
36511 /* confdefs.h. */
36512 _ACEOF
36513 cat confdefs.h >>conftest.$ac_ext
36514 cat >>conftest.$ac_ext <<_ACEOF
36515 /* end confdefs.h. */
36516
36517 int
36518 main ()
36519 {
36520
36521 ;
36522 return 0;
36523 }
36524 _ACEOF
36525 rm -f conftest.$ac_objext conftest$ac_exeext
36526 if { (ac_try="$ac_link"
36527 case "(($ac_try" in
36528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36529 *) ac_try_echo=$ac_try;;
36530 esac
36531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36532 (eval "$ac_link") 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } && {
36539 test -z "$ac_c_werror_flag" ||
36540 test ! -s conftest.err
36541 } && test -s conftest$ac_exeext &&
36542 $as_test_x conftest$ac_exeext; then
36543
36544 { echo "$as_me:$LINENO: result: yes" >&5
36545 echo "${ECHO_T}yes" >&6; }
36546 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36547 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36548
36549 else
36550 echo "$as_me: failed program was:" >&5
36551 sed 's/^/| /' conftest.$ac_ext >&5
36552
36553
36554 { echo "$as_me:$LINENO: result: no" >&5
36555 echo "${ECHO_T}no" >&6; }
36556
36557 fi
36558
36559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36560 conftest$ac_exeext conftest.$ac_ext
36561
36562 fi
36563
36564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36565 conftest$ac_exeext conftest.$ac_ext
36566 LDFLAGS="$saveLdflags"
36567 ;;
36568
36569 *-*-darwin* )
36570 install_name_tool=`which install_name_tool`
36571 if test "$install_name_tool" -a -x "$install_name_tool"; then
36572 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36573 cat <<EOF >change-install-names
36574 #!/bin/sh
36575 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36576 inst_cmd="install_name_tool "
36577 for i in \${libnames} ; do
36578 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36579 done
36580 \${inst_cmd} \${3}
36581 EOF
36582 chmod +x change-install-names
36583 fi
36584 ;;
36585
36586 *-*-cygwin* | *-*-mingw32* )
36587 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36588 ;;
36589
36590 *-*-hpux* )
36591 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36592 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36593 ;;
36594
36595 esac
36596 fi
36597
36598 if test $wxUSE_RPATH = "no"; then
36599 SAMPLES_RPATH_FLAG=''
36600 SAMPLES_RPATH_POSTLINK=''
36601 WXCONFIG_RPATH=''
36602 fi
36603
36604 SHARED=1
36605
36606 else
36607
36608 config_linkage_component="-static"
36609 SHARED=0
36610
36611 fi
36612
36613
36614 UNICODE=0
36615 lib_unicode_suffix=
36616 WX_CHARTYPE="ansi"
36617 if test "$wxUSE_UNICODE" = "yes"; then
36618 lib_unicode_suffix=u
36619 WX_CHARTYPE="unicode"
36620 UNICODE=1
36621 fi
36622
36623 lib_debug_suffix=
36624 WX_DEBUGTYPE="release"
36625 DEBUG_FLAG=0
36626 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36627 lib_debug_suffix=d
36628 WX_DEBUGTYPE="debug"
36629 DEBUG_FLAG=1
36630 fi
36631
36632 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36633 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36634
36635 DEBUG_INFO=0
36636 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36637 DEBUG_INFO=1
36638 fi
36639
36640 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36641
36642 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36643
36644 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36645
36646 if test "$cross_compiling" = "yes"; then
36647 HOST_SUFFIX="-$host_alias"
36648 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36649 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36650 fi
36651
36652 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36653 if test "${TOOLKIT_DIR}" = "os2"; then
36654 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36655 else
36656 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36657 fi
36658
36659
36660
36661 if test "$wxUSE_COCOA" = 1; then
36662
36663 ac_ext=c
36664 ac_cpp='$CPP $CPPFLAGS'
36665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36668
36669 ac_ext=m
36670
36671 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36672 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36673 cat >conftest.$ac_ext <<_ACEOF
36674 /* confdefs.h. */
36675 _ACEOF
36676 cat confdefs.h >>conftest.$ac_ext
36677 cat >>conftest.$ac_ext <<_ACEOF
36678 /* end confdefs.h. */
36679 #include <AppKit/NSEvent.h>
36680 #include <CoreFoundation/CoreFoundation.h>
36681
36682 int
36683 main ()
36684 {
36685
36686 ;
36687 return 0;
36688 }
36689 _ACEOF
36690 rm -f conftest.$ac_objext
36691 if { (ac_try="$ac_compile"
36692 case "(($ac_try" in
36693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36694 *) ac_try_echo=$ac_try;;
36695 esac
36696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36697 (eval "$ac_compile") 2>conftest.er1
36698 ac_status=$?
36699 grep -v '^ *+' conftest.er1 >conftest.err
36700 rm -f conftest.er1
36701 cat conftest.err >&5
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); } && {
36704 test -z "$ac_c_werror_flag" ||
36705 test ! -s conftest.err
36706 } && test -s conftest.$ac_objext; then
36707 { echo "$as_me:$LINENO: result: no" >&5
36708 echo "${ECHO_T}no" >&6; }
36709 else
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.$ac_ext >&5
36712
36713 { echo "$as_me:$LINENO: result: yes" >&5
36714 echo "${ECHO_T}yes" >&6; }
36715 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36716 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36717 cat >conftest.$ac_ext <<_ACEOF
36718 /* confdefs.h. */
36719 _ACEOF
36720 cat confdefs.h >>conftest.$ac_ext
36721 cat >>conftest.$ac_ext <<_ACEOF
36722 /* end confdefs.h. */
36723 #define __Point__ 1
36724 #include <AppKit/NSEvent.h>
36725 #include <CoreFoundation/CoreFoundation.h>
36726
36727 int
36728 main ()
36729 {
36730
36731 ;
36732 return 0;
36733 }
36734 _ACEOF
36735 rm -f conftest.$ac_objext
36736 if { (ac_try="$ac_compile"
36737 case "(($ac_try" in
36738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36739 *) ac_try_echo=$ac_try;;
36740 esac
36741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36742 (eval "$ac_compile") 2>conftest.er1
36743 ac_status=$?
36744 grep -v '^ *+' conftest.er1 >conftest.err
36745 rm -f conftest.er1
36746 cat conftest.err >&5
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); } && {
36749 test -z "$ac_c_werror_flag" ||
36750 test ! -s conftest.err
36751 } && test -s conftest.$ac_objext; then
36752 { echo "$as_me:$LINENO: result: yes" >&5
36753 echo "${ECHO_T}yes" >&6; }
36754 cat >>confdefs.h <<\_ACEOF
36755 #define __Point__ 1
36756 _ACEOF
36757
36758
36759 else
36760 echo "$as_me: failed program was:" >&5
36761 sed 's/^/| /' conftest.$ac_ext >&5
36762
36763 { { echo "$as_me:$LINENO: error: no
36764 See \`config.log' for more details." >&5
36765 echo "$as_me: error: no
36766 See \`config.log' for more details." >&2;}
36767 { (exit 1); exit 1; }; }
36768
36769 fi
36770
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36772
36773 fi
36774
36775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36776 ac_ext=c
36777 ac_cpp='$CPP $CPPFLAGS'
36778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36781
36782 fi
36783
36784
36785 { echo "$as_me:$LINENO: checking for mode_t" >&5
36786 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36787 if test "${ac_cv_type_mode_t+set}" = set; then
36788 echo $ECHO_N "(cached) $ECHO_C" >&6
36789 else
36790 cat >conftest.$ac_ext <<_ACEOF
36791 /* confdefs.h. */
36792 _ACEOF
36793 cat confdefs.h >>conftest.$ac_ext
36794 cat >>conftest.$ac_ext <<_ACEOF
36795 /* end confdefs.h. */
36796 $ac_includes_default
36797 typedef mode_t ac__type_new_;
36798 int
36799 main ()
36800 {
36801 if ((ac__type_new_ *) 0)
36802 return 0;
36803 if (sizeof (ac__type_new_))
36804 return 0;
36805 ;
36806 return 0;
36807 }
36808 _ACEOF
36809 rm -f conftest.$ac_objext
36810 if { (ac_try="$ac_compile"
36811 case "(($ac_try" in
36812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36813 *) ac_try_echo=$ac_try;;
36814 esac
36815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36816 (eval "$ac_compile") 2>conftest.er1
36817 ac_status=$?
36818 grep -v '^ *+' conftest.er1 >conftest.err
36819 rm -f conftest.er1
36820 cat conftest.err >&5
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); } && {
36823 test -z "$ac_c_werror_flag" ||
36824 test ! -s conftest.err
36825 } && test -s conftest.$ac_objext; then
36826 ac_cv_type_mode_t=yes
36827 else
36828 echo "$as_me: failed program was:" >&5
36829 sed 's/^/| /' conftest.$ac_ext >&5
36830
36831 ac_cv_type_mode_t=no
36832 fi
36833
36834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36835 fi
36836 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36837 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36838 if test $ac_cv_type_mode_t = yes; then
36839 :
36840 else
36841
36842 cat >>confdefs.h <<_ACEOF
36843 #define mode_t int
36844 _ACEOF
36845
36846 fi
36847
36848 { echo "$as_me:$LINENO: checking for off_t" >&5
36849 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36850 if test "${ac_cv_type_off_t+set}" = set; then
36851 echo $ECHO_N "(cached) $ECHO_C" >&6
36852 else
36853 cat >conftest.$ac_ext <<_ACEOF
36854 /* confdefs.h. */
36855 _ACEOF
36856 cat confdefs.h >>conftest.$ac_ext
36857 cat >>conftest.$ac_ext <<_ACEOF
36858 /* end confdefs.h. */
36859 $ac_includes_default
36860 typedef off_t ac__type_new_;
36861 int
36862 main ()
36863 {
36864 if ((ac__type_new_ *) 0)
36865 return 0;
36866 if (sizeof (ac__type_new_))
36867 return 0;
36868 ;
36869 return 0;
36870 }
36871 _ACEOF
36872 rm -f conftest.$ac_objext
36873 if { (ac_try="$ac_compile"
36874 case "(($ac_try" in
36875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36876 *) ac_try_echo=$ac_try;;
36877 esac
36878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36879 (eval "$ac_compile") 2>conftest.er1
36880 ac_status=$?
36881 grep -v '^ *+' conftest.er1 >conftest.err
36882 rm -f conftest.er1
36883 cat conftest.err >&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); } && {
36886 test -z "$ac_c_werror_flag" ||
36887 test ! -s conftest.err
36888 } && test -s conftest.$ac_objext; then
36889 ac_cv_type_off_t=yes
36890 else
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36893
36894 ac_cv_type_off_t=no
36895 fi
36896
36897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36898 fi
36899 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36900 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36901 if test $ac_cv_type_off_t = yes; then
36902 :
36903 else
36904
36905 cat >>confdefs.h <<_ACEOF
36906 #define off_t long int
36907 _ACEOF
36908
36909 fi
36910
36911 { echo "$as_me:$LINENO: checking for pid_t" >&5
36912 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36913 if test "${ac_cv_type_pid_t+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36916 cat >conftest.$ac_ext <<_ACEOF
36917 /* confdefs.h. */
36918 _ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36922 $ac_includes_default
36923 typedef pid_t ac__type_new_;
36924 int
36925 main ()
36926 {
36927 if ((ac__type_new_ *) 0)
36928 return 0;
36929 if (sizeof (ac__type_new_))
36930 return 0;
36931 ;
36932 return 0;
36933 }
36934 _ACEOF
36935 rm -f conftest.$ac_objext
36936 if { (ac_try="$ac_compile"
36937 case "(($ac_try" in
36938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36939 *) ac_try_echo=$ac_try;;
36940 esac
36941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36942 (eval "$ac_compile") 2>conftest.er1
36943 ac_status=$?
36944 grep -v '^ *+' conftest.er1 >conftest.err
36945 rm -f conftest.er1
36946 cat conftest.err >&5
36947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948 (exit $ac_status); } && {
36949 test -z "$ac_c_werror_flag" ||
36950 test ! -s conftest.err
36951 } && test -s conftest.$ac_objext; then
36952 ac_cv_type_pid_t=yes
36953 else
36954 echo "$as_me: failed program was:" >&5
36955 sed 's/^/| /' conftest.$ac_ext >&5
36956
36957 ac_cv_type_pid_t=no
36958 fi
36959
36960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36961 fi
36962 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36963 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36964 if test $ac_cv_type_pid_t = yes; then
36965 :
36966 else
36967
36968 cat >>confdefs.h <<_ACEOF
36969 #define pid_t int
36970 _ACEOF
36971
36972 fi
36973
36974 { echo "$as_me:$LINENO: checking for size_t" >&5
36975 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36976 if test "${ac_cv_type_size_t+set}" = set; then
36977 echo $ECHO_N "(cached) $ECHO_C" >&6
36978 else
36979 cat >conftest.$ac_ext <<_ACEOF
36980 /* confdefs.h. */
36981 _ACEOF
36982 cat confdefs.h >>conftest.$ac_ext
36983 cat >>conftest.$ac_ext <<_ACEOF
36984 /* end confdefs.h. */
36985 $ac_includes_default
36986 typedef size_t ac__type_new_;
36987 int
36988 main ()
36989 {
36990 if ((ac__type_new_ *) 0)
36991 return 0;
36992 if (sizeof (ac__type_new_))
36993 return 0;
36994 ;
36995 return 0;
36996 }
36997 _ACEOF
36998 rm -f conftest.$ac_objext
36999 if { (ac_try="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37003 esac
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37006 ac_status=$?
37007 grep -v '^ *+' conftest.er1 >conftest.err
37008 rm -f conftest.er1
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_c_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.$ac_objext; then
37015 ac_cv_type_size_t=yes
37016 else
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37019
37020 ac_cv_type_size_t=no
37021 fi
37022
37023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37024 fi
37025 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37026 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37027 if test $ac_cv_type_size_t = yes; then
37028 :
37029 else
37030
37031 cat >>confdefs.h <<_ACEOF
37032 #define size_t unsigned int
37033 _ACEOF
37034
37035 fi
37036
37037 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37038 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37039 if test "${ac_cv_type_uid_t+set}" = set; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37041 else
37042 cat >conftest.$ac_ext <<_ACEOF
37043 /* confdefs.h. */
37044 _ACEOF
37045 cat confdefs.h >>conftest.$ac_ext
37046 cat >>conftest.$ac_ext <<_ACEOF
37047 /* end confdefs.h. */
37048 #include <sys/types.h>
37049
37050 _ACEOF
37051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37052 $EGREP "uid_t" >/dev/null 2>&1; then
37053 ac_cv_type_uid_t=yes
37054 else
37055 ac_cv_type_uid_t=no
37056 fi
37057 rm -f conftest*
37058
37059 fi
37060 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37061 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37062 if test $ac_cv_type_uid_t = no; then
37063
37064 cat >>confdefs.h <<\_ACEOF
37065 #define uid_t int
37066 _ACEOF
37067
37068
37069 cat >>confdefs.h <<\_ACEOF
37070 #define gid_t int
37071 _ACEOF
37072
37073 fi
37074
37075
37076 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37077 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37078 if test "${ac_cv_type_ssize_t+set}" = set; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 else
37081 cat >conftest.$ac_ext <<_ACEOF
37082 /* confdefs.h. */
37083 _ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087 $ac_includes_default
37088 typedef ssize_t ac__type_new_;
37089 int
37090 main ()
37091 {
37092 if ((ac__type_new_ *) 0)
37093 return 0;
37094 if (sizeof (ac__type_new_))
37095 return 0;
37096 ;
37097 return 0;
37098 }
37099 _ACEOF
37100 rm -f conftest.$ac_objext
37101 if { (ac_try="$ac_compile"
37102 case "(($ac_try" in
37103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37104 *) ac_try_echo=$ac_try;;
37105 esac
37106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37107 (eval "$ac_compile") 2>conftest.er1
37108 ac_status=$?
37109 grep -v '^ *+' conftest.er1 >conftest.err
37110 rm -f conftest.er1
37111 cat conftest.err >&5
37112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); } && {
37114 test -z "$ac_c_werror_flag" ||
37115 test ! -s conftest.err
37116 } && test -s conftest.$ac_objext; then
37117 ac_cv_type_ssize_t=yes
37118 else
37119 echo "$as_me: failed program was:" >&5
37120 sed 's/^/| /' conftest.$ac_ext >&5
37121
37122 ac_cv_type_ssize_t=no
37123 fi
37124
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126 fi
37127 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37128 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37129 if test $ac_cv_type_ssize_t = yes; then
37130
37131 cat >>confdefs.h <<_ACEOF
37132 #define HAVE_SSIZE_T 1
37133 _ACEOF
37134
37135
37136 fi
37137
37138
37139 ac_ext=cpp
37140 ac_cpp='$CXXCPP $CPPFLAGS'
37141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37144 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37145 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37146 if test "${wx_cv_size_t_is_uint+set}" = set; then
37147 echo $ECHO_N "(cached) $ECHO_C" >&6
37148 else
37149
37150 cat >conftest.$ac_ext <<_ACEOF
37151 /* confdefs.h. */
37152 _ACEOF
37153 cat confdefs.h >>conftest.$ac_ext
37154 cat >>conftest.$ac_ext <<_ACEOF
37155 /* end confdefs.h. */
37156 #include <stddef.h>
37157 int
37158 main ()
37159 {
37160
37161 return 0; }
37162
37163 struct Foo { void foo(size_t); void foo(unsigned int); };
37164
37165 int bar() {
37166
37167 ;
37168 return 0;
37169 }
37170 _ACEOF
37171 rm -f conftest.$ac_objext
37172 if { (ac_try="$ac_compile"
37173 case "(($ac_try" in
37174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37175 *) ac_try_echo=$ac_try;;
37176 esac
37177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37178 (eval "$ac_compile") 2>conftest.er1
37179 ac_status=$?
37180 grep -v '^ *+' conftest.er1 >conftest.err
37181 rm -f conftest.er1
37182 cat conftest.err >&5
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); } && {
37185 test -z "$ac_cxx_werror_flag" ||
37186 test ! -s conftest.err
37187 } && test -s conftest.$ac_objext; then
37188 wx_cv_size_t_is_uint=no
37189 else
37190 echo "$as_me: failed program was:" >&5
37191 sed 's/^/| /' conftest.$ac_ext >&5
37192
37193 wx_cv_size_t_is_uint=yes
37194
37195 fi
37196
37197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37198
37199
37200 fi
37201 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37202 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37203
37204 if test "$wx_cv_size_t_is_uint" = "yes"; then
37205 cat >>confdefs.h <<\_ACEOF
37206 #define wxSIZE_T_IS_UINT 1
37207 _ACEOF
37208
37209 else
37210 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37211 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37212 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37213 echo $ECHO_N "(cached) $ECHO_C" >&6
37214 else
37215 cat >conftest.$ac_ext <<_ACEOF
37216 /* confdefs.h. */
37217 _ACEOF
37218 cat confdefs.h >>conftest.$ac_ext
37219 cat >>conftest.$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37221 #include <stddef.h>
37222 int
37223 main ()
37224 {
37225
37226 return 0; }
37227
37228 struct Foo { void foo(size_t); void foo(unsigned long); };
37229
37230 int bar() {
37231
37232 ;
37233 return 0;
37234 }
37235 _ACEOF
37236 rm -f conftest.$ac_objext
37237 if { (ac_try="$ac_compile"
37238 case "(($ac_try" in
37239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37240 *) ac_try_echo=$ac_try;;
37241 esac
37242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37243 (eval "$ac_compile") 2>conftest.er1
37244 ac_status=$?
37245 grep -v '^ *+' conftest.er1 >conftest.err
37246 rm -f conftest.er1
37247 cat conftest.err >&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); } && {
37250 test -z "$ac_cxx_werror_flag" ||
37251 test ! -s conftest.err
37252 } && test -s conftest.$ac_objext; then
37253 wx_cv_size_t_is_ulong=no
37254 else
37255 echo "$as_me: failed program was:" >&5
37256 sed 's/^/| /' conftest.$ac_ext >&5
37257
37258 wx_cv_size_t_is_ulong=yes
37259
37260 fi
37261
37262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37263
37264 fi
37265 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37266 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37267
37268 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37269 cat >>confdefs.h <<\_ACEOF
37270 #define wxSIZE_T_IS_ULONG 1
37271 _ACEOF
37272
37273 fi
37274 fi
37275
37276 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37277 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37278 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37279 echo $ECHO_N "(cached) $ECHO_C" >&6
37280 else
37281 cat >conftest.$ac_ext <<_ACEOF
37282 /* confdefs.h. */
37283 _ACEOF
37284 cat confdefs.h >>conftest.$ac_ext
37285 cat >>conftest.$ac_ext <<_ACEOF
37286 /* end confdefs.h. */
37287 #include <wchar.h>
37288 int
37289 main ()
37290 {
37291
37292 return 0; }
37293
37294 struct Foo { void foo(wchar_t);
37295 void foo(unsigned short);
37296 void foo(unsigned int);
37297 void foo(unsigned long); };
37298
37299 int bar() {
37300
37301 ;
37302 return 0;
37303 }
37304 _ACEOF
37305 rm -f conftest.$ac_objext
37306 if { (ac_try="$ac_compile"
37307 case "(($ac_try" in
37308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37309 *) ac_try_echo=$ac_try;;
37310 esac
37311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37312 (eval "$ac_compile") 2>conftest.er1
37313 ac_status=$?
37314 grep -v '^ *+' conftest.er1 >conftest.err
37315 rm -f conftest.er1
37316 cat conftest.err >&5
37317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37318 (exit $ac_status); } && {
37319 test -z "$ac_cxx_werror_flag" ||
37320 test ! -s conftest.err
37321 } && test -s conftest.$ac_objext; then
37322 wx_cv_wchar_t_is_separate_type=yes
37323 else
37324 echo "$as_me: failed program was:" >&5
37325 sed 's/^/| /' conftest.$ac_ext >&5
37326
37327 wx_cv_wchar_t_is_separate_type=no
37328
37329 fi
37330
37331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37332
37333 fi
37334 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37335 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37336
37337 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37338 cat >>confdefs.h <<\_ACEOF
37339 #define wxWCHAR_T_IS_REAL_TYPE 1
37340 _ACEOF
37341
37342 else
37343 cat >>confdefs.h <<\_ACEOF
37344 #define wxWCHAR_T_IS_REAL_TYPE 0
37345 _ACEOF
37346
37347 fi
37348
37349 ac_ext=c
37350 ac_cpp='$CPP $CPPFLAGS'
37351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37354
37355
37356 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37357 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37358 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 else
37361
37362 cat >conftest.$ac_ext <<_ACEOF
37363 /* confdefs.h. */
37364 _ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37368 #include <pwd.h>
37369 int
37370 main ()
37371 {
37372
37373 char *p;
37374 struct passwd *pw;
37375 p = pw->pw_gecos;
37376
37377 ;
37378 return 0;
37379 }
37380 _ACEOF
37381 rm -f conftest.$ac_objext
37382 if { (ac_try="$ac_compile"
37383 case "(($ac_try" in
37384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37385 *) ac_try_echo=$ac_try;;
37386 esac
37387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37388 (eval "$ac_compile") 2>conftest.er1
37389 ac_status=$?
37390 grep -v '^ *+' conftest.er1 >conftest.err
37391 rm -f conftest.er1
37392 cat conftest.err >&5
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); } && {
37395 test -z "$ac_c_werror_flag" ||
37396 test ! -s conftest.err
37397 } && test -s conftest.$ac_objext; then
37398
37399 wx_cv_struct_pw_gecos=yes
37400
37401 else
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37404
37405
37406 wx_cv_struct_pw_gecos=no
37407
37408
37409 fi
37410
37411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37412
37413
37414 fi
37415 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37416 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37417
37418 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37419 cat >>confdefs.h <<\_ACEOF
37420 #define HAVE_PW_GECOS 1
37421 _ACEOF
37422
37423 fi
37424
37425
37426 if test "$wxUSE_WCHAR_T" = "yes"; then
37427 cat >>confdefs.h <<\_ACEOF
37428 #define wxUSE_WCHAR_T 1
37429 _ACEOF
37430
37431
37432 WCSLEN_FOUND=0
37433 WCHAR_LINK=
37434
37435 for ac_func in wcslen
37436 do
37437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37443 cat >conftest.$ac_ext <<_ACEOF
37444 /* confdefs.h. */
37445 _ACEOF
37446 cat confdefs.h >>conftest.$ac_ext
37447 cat >>conftest.$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37451 #define $ac_func innocuous_$ac_func
37452
37453 /* System header to define __stub macros and hopefully few prototypes,
37454 which can conflict with char $ac_func (); below.
37455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37456 <limits.h> exists even on freestanding compilers. */
37457
37458 #ifdef __STDC__
37459 # include <limits.h>
37460 #else
37461 # include <assert.h>
37462 #endif
37463
37464 #undef $ac_func
37465
37466 /* Override any GCC internal prototype to avoid an error.
37467 Use char because int might match the return type of a GCC
37468 builtin and then its argument prototype would still apply. */
37469 #ifdef __cplusplus
37470 extern "C"
37471 #endif
37472 char $ac_func ();
37473 /* The GNU C library defines this for functions which it implements
37474 to always fail with ENOSYS. Some functions are actually named
37475 something starting with __ and the normal name is an alias. */
37476 #if defined __stub_$ac_func || defined __stub___$ac_func
37477 choke me
37478 #endif
37479
37480 int
37481 main ()
37482 {
37483 return $ac_func ();
37484 ;
37485 return 0;
37486 }
37487 _ACEOF
37488 rm -f conftest.$ac_objext conftest$ac_exeext
37489 if { (ac_try="$ac_link"
37490 case "(($ac_try" in
37491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37492 *) ac_try_echo=$ac_try;;
37493 esac
37494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37495 (eval "$ac_link") 2>conftest.er1
37496 ac_status=$?
37497 grep -v '^ *+' conftest.er1 >conftest.err
37498 rm -f conftest.er1
37499 cat conftest.err >&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } && {
37502 test -z "$ac_c_werror_flag" ||
37503 test ! -s conftest.err
37504 } && test -s conftest$ac_exeext &&
37505 $as_test_x conftest$ac_exeext; then
37506 eval "$as_ac_var=yes"
37507 else
37508 echo "$as_me: failed program was:" >&5
37509 sed 's/^/| /' conftest.$ac_ext >&5
37510
37511 eval "$as_ac_var=no"
37512 fi
37513
37514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37515 conftest$ac_exeext conftest.$ac_ext
37516 fi
37517 ac_res=`eval echo '${'$as_ac_var'}'`
37518 { echo "$as_me:$LINENO: result: $ac_res" >&5
37519 echo "${ECHO_T}$ac_res" >&6; }
37520 if test `eval echo '${'$as_ac_var'}'` = yes; then
37521 cat >>confdefs.h <<_ACEOF
37522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37523 _ACEOF
37524 WCSLEN_FOUND=1
37525 fi
37526 done
37527
37528
37529 if test "$WCSLEN_FOUND" = 0; then
37530 if test "$TOOLKIT" = "MSW"; then
37531 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37532 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37533 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37534 echo $ECHO_N "(cached) $ECHO_C" >&6
37535 else
37536 ac_check_lib_save_LIBS=$LIBS
37537 LIBS="-lmsvcrt $LIBS"
37538 cat >conftest.$ac_ext <<_ACEOF
37539 /* confdefs.h. */
37540 _ACEOF
37541 cat confdefs.h >>conftest.$ac_ext
37542 cat >>conftest.$ac_ext <<_ACEOF
37543 /* end confdefs.h. */
37544
37545 /* Override any GCC internal prototype to avoid an error.
37546 Use char because int might match the return type of a GCC
37547 builtin and then its argument prototype would still apply. */
37548 #ifdef __cplusplus
37549 extern "C"
37550 #endif
37551 char wcslen ();
37552 int
37553 main ()
37554 {
37555 return wcslen ();
37556 ;
37557 return 0;
37558 }
37559 _ACEOF
37560 rm -f conftest.$ac_objext conftest$ac_exeext
37561 if { (ac_try="$ac_link"
37562 case "(($ac_try" in
37563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37564 *) ac_try_echo=$ac_try;;
37565 esac
37566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37567 (eval "$ac_link") 2>conftest.er1
37568 ac_status=$?
37569 grep -v '^ *+' conftest.er1 >conftest.err
37570 rm -f conftest.er1
37571 cat conftest.err >&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); } && {
37574 test -z "$ac_c_werror_flag" ||
37575 test ! -s conftest.err
37576 } && test -s conftest$ac_exeext &&
37577 $as_test_x conftest$ac_exeext; then
37578 ac_cv_lib_msvcrt_wcslen=yes
37579 else
37580 echo "$as_me: failed program was:" >&5
37581 sed 's/^/| /' conftest.$ac_ext >&5
37582
37583 ac_cv_lib_msvcrt_wcslen=no
37584 fi
37585
37586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37587 conftest$ac_exeext conftest.$ac_ext
37588 LIBS=$ac_check_lib_save_LIBS
37589 fi
37590 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37591 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37592 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37593 WCHAR_OK=1
37594 fi
37595
37596 else
37597 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37598 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37599 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37600 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 else
37602 ac_check_lib_save_LIBS=$LIBS
37603 LIBS="-lw $LIBS"
37604 cat >conftest.$ac_ext <<_ACEOF
37605 /* confdefs.h. */
37606 _ACEOF
37607 cat confdefs.h >>conftest.$ac_ext
37608 cat >>conftest.$ac_ext <<_ACEOF
37609 /* end confdefs.h. */
37610
37611 /* Override any GCC internal prototype to avoid an error.
37612 Use char because int might match the return type of a GCC
37613 builtin and then its argument prototype would still apply. */
37614 #ifdef __cplusplus
37615 extern "C"
37616 #endif
37617 char wcslen ();
37618 int
37619 main ()
37620 {
37621 return wcslen ();
37622 ;
37623 return 0;
37624 }
37625 _ACEOF
37626 rm -f conftest.$ac_objext conftest$ac_exeext
37627 if { (ac_try="$ac_link"
37628 case "(($ac_try" in
37629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37630 *) ac_try_echo=$ac_try;;
37631 esac
37632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37633 (eval "$ac_link") 2>conftest.er1
37634 ac_status=$?
37635 grep -v '^ *+' conftest.er1 >conftest.err
37636 rm -f conftest.er1
37637 cat conftest.err >&5
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); } && {
37640 test -z "$ac_c_werror_flag" ||
37641 test ! -s conftest.err
37642 } && test -s conftest$ac_exeext &&
37643 $as_test_x conftest$ac_exeext; then
37644 ac_cv_lib_w_wcslen=yes
37645 else
37646 echo "$as_me: failed program was:" >&5
37647 sed 's/^/| /' conftest.$ac_ext >&5
37648
37649 ac_cv_lib_w_wcslen=no
37650 fi
37651
37652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37653 conftest$ac_exeext conftest.$ac_ext
37654 LIBS=$ac_check_lib_save_LIBS
37655 fi
37656 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37657 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37658 if test $ac_cv_lib_w_wcslen = yes; then
37659
37660 WCHAR_LINK=" -lw"
37661 WCSLEN_FOUND=1
37662
37663 fi
37664
37665 fi
37666 fi
37667
37668 if test "$WCSLEN_FOUND" = 1; then
37669 cat >>confdefs.h <<\_ACEOF
37670 #define HAVE_WCSLEN 1
37671 _ACEOF
37672
37673 fi
37674
37675
37676 for ac_func in wcsdup
37677 do
37678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37682 echo $ECHO_N "(cached) $ECHO_C" >&6
37683 else
37684 cat >conftest.$ac_ext <<_ACEOF
37685 /* confdefs.h. */
37686 _ACEOF
37687 cat confdefs.h >>conftest.$ac_ext
37688 cat >>conftest.$ac_ext <<_ACEOF
37689 /* end confdefs.h. */
37690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37692 #define $ac_func innocuous_$ac_func
37693
37694 /* System header to define __stub macros and hopefully few prototypes,
37695 which can conflict with char $ac_func (); below.
37696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37697 <limits.h> exists even on freestanding compilers. */
37698
37699 #ifdef __STDC__
37700 # include <limits.h>
37701 #else
37702 # include <assert.h>
37703 #endif
37704
37705 #undef $ac_func
37706
37707 /* Override any GCC internal prototype to avoid an error.
37708 Use char because int might match the return type of a GCC
37709 builtin and then its argument prototype would still apply. */
37710 #ifdef __cplusplus
37711 extern "C"
37712 #endif
37713 char $ac_func ();
37714 /* The GNU C library defines this for functions which it implements
37715 to always fail with ENOSYS. Some functions are actually named
37716 something starting with __ and the normal name is an alias. */
37717 #if defined __stub_$ac_func || defined __stub___$ac_func
37718 choke me
37719 #endif
37720
37721 int
37722 main ()
37723 {
37724 return $ac_func ();
37725 ;
37726 return 0;
37727 }
37728 _ACEOF
37729 rm -f conftest.$ac_objext conftest$ac_exeext
37730 if { (ac_try="$ac_link"
37731 case "(($ac_try" in
37732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37733 *) ac_try_echo=$ac_try;;
37734 esac
37735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37736 (eval "$ac_link") 2>conftest.er1
37737 ac_status=$?
37738 grep -v '^ *+' conftest.er1 >conftest.err
37739 rm -f conftest.er1
37740 cat conftest.err >&5
37741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 (exit $ac_status); } && {
37743 test -z "$ac_c_werror_flag" ||
37744 test ! -s conftest.err
37745 } && test -s conftest$ac_exeext &&
37746 $as_test_x conftest$ac_exeext; then
37747 eval "$as_ac_var=yes"
37748 else
37749 echo "$as_me: failed program was:" >&5
37750 sed 's/^/| /' conftest.$ac_ext >&5
37751
37752 eval "$as_ac_var=no"
37753 fi
37754
37755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37756 conftest$ac_exeext conftest.$ac_ext
37757 fi
37758 ac_res=`eval echo '${'$as_ac_var'}'`
37759 { echo "$as_me:$LINENO: result: $ac_res" >&5
37760 echo "${ECHO_T}$ac_res" >&6; }
37761 if test `eval echo '${'$as_ac_var'}'` = yes; then
37762 cat >>confdefs.h <<_ACEOF
37763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37764 _ACEOF
37765
37766 fi
37767 done
37768
37769
37770 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37771 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37772 fi
37773
37774 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37775 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37776 if test "${ac_cv_type_mbstate_t+set}" = set; then
37777 echo $ECHO_N "(cached) $ECHO_C" >&6
37778 else
37779 cat >conftest.$ac_ext <<_ACEOF
37780 /* confdefs.h. */
37781 _ACEOF
37782 cat confdefs.h >>conftest.$ac_ext
37783 cat >>conftest.$ac_ext <<_ACEOF
37784 /* end confdefs.h. */
37785 #include <wchar.h>
37786
37787 typedef mbstate_t ac__type_new_;
37788 int
37789 main ()
37790 {
37791 if ((ac__type_new_ *) 0)
37792 return 0;
37793 if (sizeof (ac__type_new_))
37794 return 0;
37795 ;
37796 return 0;
37797 }
37798 _ACEOF
37799 rm -f conftest.$ac_objext
37800 if { (ac_try="$ac_compile"
37801 case "(($ac_try" in
37802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37803 *) ac_try_echo=$ac_try;;
37804 esac
37805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37806 (eval "$ac_compile") 2>conftest.er1
37807 ac_status=$?
37808 grep -v '^ *+' conftest.er1 >conftest.err
37809 rm -f conftest.er1
37810 cat conftest.err >&5
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); } && {
37813 test -z "$ac_c_werror_flag" ||
37814 test ! -s conftest.err
37815 } && test -s conftest.$ac_objext; then
37816 ac_cv_type_mbstate_t=yes
37817 else
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.$ac_ext >&5
37820
37821 ac_cv_type_mbstate_t=no
37822 fi
37823
37824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37825 fi
37826 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37827 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37828 if test $ac_cv_type_mbstate_t = yes; then
37829
37830 cat >>confdefs.h <<_ACEOF
37831 #define HAVE_MBSTATE_T 1
37832 _ACEOF
37833
37834
37835 for ac_func in wcsrtombs
37836 do
37837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37840 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37841 echo $ECHO_N "(cached) $ECHO_C" >&6
37842 else
37843 cat >conftest.$ac_ext <<_ACEOF
37844 /* confdefs.h. */
37845 _ACEOF
37846 cat confdefs.h >>conftest.$ac_ext
37847 cat >>conftest.$ac_ext <<_ACEOF
37848 /* end confdefs.h. */
37849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37851 #define $ac_func innocuous_$ac_func
37852
37853 /* System header to define __stub macros and hopefully few prototypes,
37854 which can conflict with char $ac_func (); below.
37855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37856 <limits.h> exists even on freestanding compilers. */
37857
37858 #ifdef __STDC__
37859 # include <limits.h>
37860 #else
37861 # include <assert.h>
37862 #endif
37863
37864 #undef $ac_func
37865
37866 /* Override any GCC internal prototype to avoid an error.
37867 Use char because int might match the return type of a GCC
37868 builtin and then its argument prototype would still apply. */
37869 #ifdef __cplusplus
37870 extern "C"
37871 #endif
37872 char $ac_func ();
37873 /* The GNU C library defines this for functions which it implements
37874 to always fail with ENOSYS. Some functions are actually named
37875 something starting with __ and the normal name is an alias. */
37876 #if defined __stub_$ac_func || defined __stub___$ac_func
37877 choke me
37878 #endif
37879
37880 int
37881 main ()
37882 {
37883 return $ac_func ();
37884 ;
37885 return 0;
37886 }
37887 _ACEOF
37888 rm -f conftest.$ac_objext conftest$ac_exeext
37889 if { (ac_try="$ac_link"
37890 case "(($ac_try" in
37891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37892 *) ac_try_echo=$ac_try;;
37893 esac
37894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37895 (eval "$ac_link") 2>conftest.er1
37896 ac_status=$?
37897 grep -v '^ *+' conftest.er1 >conftest.err
37898 rm -f conftest.er1
37899 cat conftest.err >&5
37900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37901 (exit $ac_status); } && {
37902 test -z "$ac_c_werror_flag" ||
37903 test ! -s conftest.err
37904 } && test -s conftest$ac_exeext &&
37905 $as_test_x conftest$ac_exeext; then
37906 eval "$as_ac_var=yes"
37907 else
37908 echo "$as_me: failed program was:" >&5
37909 sed 's/^/| /' conftest.$ac_ext >&5
37910
37911 eval "$as_ac_var=no"
37912 fi
37913
37914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37915 conftest$ac_exeext conftest.$ac_ext
37916 fi
37917 ac_res=`eval echo '${'$as_ac_var'}'`
37918 { echo "$as_me:$LINENO: result: $ac_res" >&5
37919 echo "${ECHO_T}$ac_res" >&6; }
37920 if test `eval echo '${'$as_ac_var'}'` = yes; then
37921 cat >>confdefs.h <<_ACEOF
37922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37923 _ACEOF
37924
37925 fi
37926 done
37927
37928 fi
37929
37930 else
37931 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37932 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37933 fi
37934
37935
37936
37937 for ac_func in snprintf vsnprintf
37938 do
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37954
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37959
37960 #ifdef __STDC__
37961 # include <limits.h>
37962 #else
37963 # include <assert.h>
37964 #endif
37965
37966 #undef $ac_func
37967
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37971 #ifdef __cplusplus
37972 extern "C"
37973 #endif
37974 char $ac_func ();
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_$ac_func || defined __stub___$ac_func
37979 choke me
37980 #endif
37981
37982 int
37983 main ()
37984 {
37985 return $ac_func ();
37986 ;
37987 return 0;
37988 }
37989 _ACEOF
37990 rm -f conftest.$ac_objext conftest$ac_exeext
37991 if { (ac_try="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37994 *) ac_try_echo=$ac_try;;
37995 esac
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37998 ac_status=$?
37999 grep -v '^ *+' conftest.er1 >conftest.err
38000 rm -f conftest.er1
38001 cat conftest.err >&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest$ac_exeext &&
38007 $as_test_x conftest$ac_exeext; then
38008 eval "$as_ac_var=yes"
38009 else
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38012
38013 eval "$as_ac_var=no"
38014 fi
38015
38016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38017 conftest$ac_exeext conftest.$ac_ext
38018 fi
38019 ac_res=`eval echo '${'$as_ac_var'}'`
38020 { echo "$as_me:$LINENO: result: $ac_res" >&5
38021 echo "${ECHO_T}$ac_res" >&6; }
38022 if test `eval echo '${'$as_ac_var'}'` = yes; then
38023 cat >>confdefs.h <<_ACEOF
38024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38025 _ACEOF
38026
38027 fi
38028 done
38029
38030
38031 if test "$ac_cv_func_vsnprintf" = "yes"; then
38032 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38033 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38034 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38036 else
38037
38038 cat >conftest.$ac_ext <<_ACEOF
38039 /* confdefs.h. */
38040 _ACEOF
38041 cat confdefs.h >>conftest.$ac_ext
38042 cat >>conftest.$ac_ext <<_ACEOF
38043 /* end confdefs.h. */
38044
38045 #include <stdio.h>
38046 #include <stdarg.h>
38047 #ifdef __MSL__
38048 #if __MSL__ >= 0x6000
38049 namespace std {}
38050 using namespace std;
38051 #endif
38052 #endif
38053
38054 int
38055 main ()
38056 {
38057
38058 char *buf;
38059 va_list ap;
38060 vsnprintf(buf, 10u, "%s", ap);
38061
38062 ;
38063 return 0;
38064 }
38065 _ACEOF
38066 rm -f conftest.$ac_objext
38067 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
38074 ac_status=$?
38075 grep -v '^ *+' conftest.er1 >conftest.err
38076 rm -f conftest.er1
38077 cat conftest.err >&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); } && {
38080 test -z "$ac_c_werror_flag" ||
38081 test ! -s conftest.err
38082 } && test -s conftest.$ac_objext; then
38083 wx_cv_func_vsnprintf_decl=yes
38084 else
38085 echo "$as_me: failed program was:" >&5
38086 sed 's/^/| /' conftest.$ac_ext >&5
38087
38088 wx_cv_func_vsnprintf_decl=no
38089
38090 fi
38091
38092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38093
38094
38095 fi
38096 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38097 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38098
38099 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38100 cat >>confdefs.h <<\_ACEOF
38101 #define HAVE_VSNPRINTF_DECL 1
38102 _ACEOF
38103
38104
38105 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38106 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38107 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38108 echo $ECHO_N "(cached) $ECHO_C" >&6
38109 else
38110
38111 cat >conftest.$ac_ext <<_ACEOF
38112 /* confdefs.h. */
38113 _ACEOF
38114 cat confdefs.h >>conftest.$ac_ext
38115 cat >>conftest.$ac_ext <<_ACEOF
38116 /* end confdefs.h. */
38117
38118 #include <stdio.h>
38119 #include <stdarg.h>
38120 #ifdef __MSL__
38121 #if __MSL__ >= 0x6000
38122 namespace std {}
38123 using namespace std;
38124 #endif
38125 #endif
38126
38127 int
38128 main ()
38129 {
38130
38131 char *buf;
38132 va_list ap;
38133 const char *fmt = "%s";
38134 vsnprintf(buf, 10u, fmt, ap);
38135
38136 ;
38137 return 0;
38138 }
38139 _ACEOF
38140 rm -f conftest.$ac_objext
38141 if { (ac_try="$ac_compile"
38142 case "(($ac_try" in
38143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38144 *) ac_try_echo=$ac_try;;
38145 esac
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_compile") 2>conftest.er1
38148 ac_status=$?
38149 grep -v '^ *+' conftest.er1 >conftest.err
38150 rm -f conftest.er1
38151 cat conftest.err >&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } && {
38154 test -z "$ac_c_werror_flag" ||
38155 test ! -s conftest.err
38156 } && test -s conftest.$ac_objext; then
38157 wx_cv_func_broken_vsnprintf_decl=no
38158 else
38159 echo "$as_me: failed program was:" >&5
38160 sed 's/^/| /' conftest.$ac_ext >&5
38161
38162 wx_cv_func_broken_vsnprintf_decl=yes
38163
38164 fi
38165
38166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38167
38168
38169 fi
38170 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38171 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38172
38173 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38174 cat >>confdefs.h <<\_ACEOF
38175 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38176 _ACEOF
38177
38178 fi
38179 fi
38180 fi
38181
38182 if test "$ac_cv_func_snprintf" = "yes"; then
38183 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38184 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38185 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38186 echo $ECHO_N "(cached) $ECHO_C" >&6
38187 else
38188
38189 cat >conftest.$ac_ext <<_ACEOF
38190 /* confdefs.h. */
38191 _ACEOF
38192 cat confdefs.h >>conftest.$ac_ext
38193 cat >>conftest.$ac_ext <<_ACEOF
38194 /* end confdefs.h. */
38195
38196 #include <stdio.h>
38197 #include <stdarg.h>
38198 #ifdef __MSL__
38199 #if __MSL__ >= 0x6000
38200 namespace std {}
38201 using namespace std;
38202 #endif
38203 #endif
38204
38205 int
38206 main ()
38207 {
38208
38209 char *buf;
38210 snprintf(buf, 10u, "%s", "wx");
38211
38212 ;
38213 return 0;
38214 }
38215 _ACEOF
38216 rm -f conftest.$ac_objext
38217 if { (ac_try="$ac_compile"
38218 case "(($ac_try" in
38219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38220 *) ac_try_echo=$ac_try;;
38221 esac
38222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38223 (eval "$ac_compile") 2>conftest.er1
38224 ac_status=$?
38225 grep -v '^ *+' conftest.er1 >conftest.err
38226 rm -f conftest.er1
38227 cat conftest.err >&5
38228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38229 (exit $ac_status); } && {
38230 test -z "$ac_c_werror_flag" ||
38231 test ! -s conftest.err
38232 } && test -s conftest.$ac_objext; then
38233 wx_cv_func_snprintf_decl=yes
38234 else
38235 echo "$as_me: failed program was:" >&5
38236 sed 's/^/| /' conftest.$ac_ext >&5
38237
38238 wx_cv_func_snprintf_decl=no
38239
38240 fi
38241
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38243
38244
38245 fi
38246 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38247 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38248
38249 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38250 cat >>confdefs.h <<\_ACEOF
38251 #define HAVE_SNPRINTF_DECL 1
38252 _ACEOF
38253
38254
38255 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38256 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38257 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38258 echo $ECHO_N "(cached) $ECHO_C" >&6
38259 else
38260
38261 cat >conftest.$ac_ext <<_ACEOF
38262 /* confdefs.h. */
38263 _ACEOF
38264 cat confdefs.h >>conftest.$ac_ext
38265 cat >>conftest.$ac_ext <<_ACEOF
38266 /* end confdefs.h. */
38267
38268 #include <stdio.h>
38269 #include <stdarg.h>
38270 #ifdef __MSL__
38271 #if __MSL__ >= 0x6000
38272 namespace std {}
38273 using namespace std;
38274 #endif
38275 #endif
38276
38277 int
38278 main ()
38279 {
38280
38281 char *buf;
38282 const char *fmt = "%s";
38283 snprintf(buf, 10u, fmt, "wx");
38284
38285 ;
38286 return 0;
38287 }
38288 _ACEOF
38289 rm -f conftest.$ac_objext
38290 if { (ac_try="$ac_compile"
38291 case "(($ac_try" in
38292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38293 *) ac_try_echo=$ac_try;;
38294 esac
38295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38296 (eval "$ac_compile") 2>conftest.er1
38297 ac_status=$?
38298 grep -v '^ *+' conftest.er1 >conftest.err
38299 rm -f conftest.er1
38300 cat conftest.err >&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); } && {
38303 test -z "$ac_c_werror_flag" ||
38304 test ! -s conftest.err
38305 } && test -s conftest.$ac_objext; then
38306 wx_cv_func_broken_snprintf_decl=no
38307 else
38308 echo "$as_me: failed program was:" >&5
38309 sed 's/^/| /' conftest.$ac_ext >&5
38310
38311 wx_cv_func_broken_snprintf_decl=yes
38312
38313 fi
38314
38315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38316
38317
38318 fi
38319 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38320 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38321
38322 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38323 cat >>confdefs.h <<\_ACEOF
38324 #define HAVE_BROKEN_SNPRINTF_DECL 1
38325 _ACEOF
38326
38327 fi
38328 fi
38329
38330 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38331
38332 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38333 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38334 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 else
38337
38338 if test "$cross_compiling" = yes; then
38339
38340 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38341 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38342 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38343 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38344 wx_cv_func_snprintf_pos_params=no
38345
38346
38347 else
38348 cat >conftest.$ac_ext <<_ACEOF
38349 /* confdefs.h. */
38350 _ACEOF
38351 cat confdefs.h >>conftest.$ac_ext
38352 cat >>conftest.$ac_ext <<_ACEOF
38353 /* end confdefs.h. */
38354
38355 #include <stdio.h>
38356
38357 int main (void)
38358 {
38359 char buffer[128];
38360 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38361 if (strcmp ("2 3 1", buffer) == 0)
38362 exit (0);
38363 exit (1);
38364 }
38365
38366 _ACEOF
38367 rm -f conftest$ac_exeext
38368 if { (ac_try="$ac_link"
38369 case "(($ac_try" in
38370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38371 *) ac_try_echo=$ac_try;;
38372 esac
38373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38374 (eval "$ac_link") 2>&5
38375 ac_status=$?
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38378 { (case "(($ac_try" in
38379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38380 *) ac_try_echo=$ac_try;;
38381 esac
38382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38383 (eval "$ac_try") 2>&5
38384 ac_status=$?
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); }; }; then
38387 wx_cv_func_snprintf_pos_params=no
38388 else
38389 echo "$as_me: program exited with status $ac_status" >&5
38390 echo "$as_me: failed program was:" >&5
38391 sed 's/^/| /' conftest.$ac_ext >&5
38392
38393 ( exit $ac_status )
38394 wx_cv_func_snprintf_pos_params=yes
38395 fi
38396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38397 fi
38398
38399
38400
38401
38402 fi
38403 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38404 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38405
38406 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38407 cat >>confdefs.h <<\_ACEOF
38408 #define HAVE_UNIX98_PRINTF 1
38409 _ACEOF
38410
38411 fi
38412 fi
38413 fi
38414
38415 if test "$wxUSE_UNICODE" = yes; then
38416
38417
38418 for ac_func in swprintf
38419 do
38420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38424 echo $ECHO_N "(cached) $ECHO_C" >&6
38425 else
38426 cat >conftest.$ac_ext <<_ACEOF
38427 /* confdefs.h. */
38428 _ACEOF
38429 cat confdefs.h >>conftest.$ac_ext
38430 cat >>conftest.$ac_ext <<_ACEOF
38431 /* end confdefs.h. */
38432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38434 #define $ac_func innocuous_$ac_func
38435
38436 /* System header to define __stub macros and hopefully few prototypes,
38437 which can conflict with char $ac_func (); below.
38438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38439 <limits.h> exists even on freestanding compilers. */
38440
38441 #ifdef __STDC__
38442 # include <limits.h>
38443 #else
38444 # include <assert.h>
38445 #endif
38446
38447 #undef $ac_func
38448
38449 /* Override any GCC internal prototype to avoid an error.
38450 Use char because int might match the return type of a GCC
38451 builtin and then its argument prototype would still apply. */
38452 #ifdef __cplusplus
38453 extern "C"
38454 #endif
38455 char $ac_func ();
38456 /* The GNU C library defines this for functions which it implements
38457 to always fail with ENOSYS. Some functions are actually named
38458 something starting with __ and the normal name is an alias. */
38459 #if defined __stub_$ac_func || defined __stub___$ac_func
38460 choke me
38461 #endif
38462
38463 int
38464 main ()
38465 {
38466 return $ac_func ();
38467 ;
38468 return 0;
38469 }
38470 _ACEOF
38471 rm -f conftest.$ac_objext conftest$ac_exeext
38472 if { (ac_try="$ac_link"
38473 case "(($ac_try" in
38474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38475 *) ac_try_echo=$ac_try;;
38476 esac
38477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38478 (eval "$ac_link") 2>conftest.er1
38479 ac_status=$?
38480 grep -v '^ *+' conftest.er1 >conftest.err
38481 rm -f conftest.er1
38482 cat conftest.err >&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); } && {
38485 test -z "$ac_c_werror_flag" ||
38486 test ! -s conftest.err
38487 } && test -s conftest$ac_exeext &&
38488 $as_test_x conftest$ac_exeext; then
38489 eval "$as_ac_var=yes"
38490 else
38491 echo "$as_me: failed program was:" >&5
38492 sed 's/^/| /' conftest.$ac_ext >&5
38493
38494 eval "$as_ac_var=no"
38495 fi
38496
38497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38498 conftest$ac_exeext conftest.$ac_ext
38499 fi
38500 ac_res=`eval echo '${'$as_ac_var'}'`
38501 { echo "$as_me:$LINENO: result: $ac_res" >&5
38502 echo "${ECHO_T}$ac_res" >&6; }
38503 if test `eval echo '${'$as_ac_var'}'` = yes; then
38504 cat >>confdefs.h <<_ACEOF
38505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38506 _ACEOF
38507
38508 fi
38509 done
38510
38511
38512 if test "$ac_cv_func_swprintf" = "yes"; then
38513 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38514 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38515 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38516 echo $ECHO_N "(cached) $ECHO_C" >&6
38517 else
38518
38519 cat >conftest.$ac_ext <<_ACEOF
38520 /* confdefs.h. */
38521 _ACEOF
38522 cat confdefs.h >>conftest.$ac_ext
38523 cat >>conftest.$ac_ext <<_ACEOF
38524 /* end confdefs.h. */
38525
38526 #include <stdio.h>
38527 #include <stdarg.h>
38528 #include <wchar.h>
38529
38530 int
38531 main ()
38532 {
38533
38534 wchar_t *buf;
38535 const wchar_t *fmt = L"test";
38536 swprintf(buf, 10u, fmt);
38537
38538 ;
38539 return 0;
38540 }
38541 _ACEOF
38542 rm -f conftest.$ac_objext
38543 if { (ac_try="$ac_compile"
38544 case "(($ac_try" in
38545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38546 *) ac_try_echo=$ac_try;;
38547 esac
38548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38549 (eval "$ac_compile") 2>conftest.er1
38550 ac_status=$?
38551 grep -v '^ *+' conftest.er1 >conftest.err
38552 rm -f conftest.er1
38553 cat conftest.err >&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); } && {
38556 test -z "$ac_c_werror_flag" ||
38557 test ! -s conftest.err
38558 } && test -s conftest.$ac_objext; then
38559 wx_cv_func_broken_swprintf_decl=no
38560 else
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.$ac_ext >&5
38563
38564 wx_cv_func_broken_swprintf_decl=yes
38565
38566 fi
38567
38568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38569
38570
38571 fi
38572 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38573 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38574
38575 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38576 cat >>confdefs.h <<\_ACEOF
38577 #define HAVE_BROKEN_SWPRINTF_DECL 1
38578 _ACEOF
38579
38580 fi
38581 fi
38582
38583 wchar_headers="#include <stdio.h>
38584 #include <wchar.h>"
38585 case "${host}" in
38586 *-*-solaris2* )
38587
38588 for ac_header in widec.h
38589 do
38590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38594 echo $ECHO_N "(cached) $ECHO_C" >&6
38595 else
38596 cat >conftest.$ac_ext <<_ACEOF
38597 /* confdefs.h. */
38598 _ACEOF
38599 cat confdefs.h >>conftest.$ac_ext
38600 cat >>conftest.$ac_ext <<_ACEOF
38601 /* end confdefs.h. */
38602 $ac_includes_default
38603
38604 #include <$ac_header>
38605 _ACEOF
38606 rm -f conftest.$ac_objext
38607 if { (ac_try="$ac_compile"
38608 case "(($ac_try" in
38609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38610 *) ac_try_echo=$ac_try;;
38611 esac
38612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38613 (eval "$ac_compile") 2>conftest.er1
38614 ac_status=$?
38615 grep -v '^ *+' conftest.er1 >conftest.err
38616 rm -f conftest.er1
38617 cat conftest.err >&5
38618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38619 (exit $ac_status); } && {
38620 test -z "$ac_c_werror_flag" ||
38621 test ! -s conftest.err
38622 } && test -s conftest.$ac_objext; then
38623 eval "$as_ac_Header=yes"
38624 else
38625 echo "$as_me: failed program was:" >&5
38626 sed 's/^/| /' conftest.$ac_ext >&5
38627
38628 eval "$as_ac_Header=no"
38629 fi
38630
38631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38632 fi
38633 ac_res=`eval echo '${'$as_ac_Header'}'`
38634 { echo "$as_me:$LINENO: result: $ac_res" >&5
38635 echo "${ECHO_T}$ac_res" >&6; }
38636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38637 cat >>confdefs.h <<_ACEOF
38638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38639 _ACEOF
38640
38641 fi
38642
38643 done
38644
38645 if test "$ac_cv_header_widec_h" = "yes"; then
38646 wchar_headers="$wchar_headers
38647 #include <widec.h>"
38648 fi
38649 esac
38650
38651
38652 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38653 do
38654 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38655 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38656 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38657 echo $ECHO_N "(cached) $ECHO_C" >&6
38658 else
38659
38660 cat >conftest.$ac_ext <<_ACEOF
38661
38662 /* confdefs.h. */
38663 _ACEOF
38664 cat confdefs.h >>conftest.$ac_ext
38665 cat >>conftest.$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667
38668 $wchar_headers
38669 $ac_includes_default
38670
38671 int
38672 main ()
38673 {
38674
38675 #ifndef $wx_func
38676 &$wx_func;
38677 #endif
38678
38679
38680 ;
38681 return 0;
38682 }
38683
38684 _ACEOF
38685 rm -f conftest.$ac_objext conftest$ac_exeext
38686 if { (ac_try="$ac_link"
38687 case "(($ac_try" in
38688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38689 *) ac_try_echo=$ac_try;;
38690 esac
38691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38692 (eval "$ac_link") 2>conftest.er1
38693 ac_status=$?
38694 grep -v '^ *+' conftest.er1 >conftest.err
38695 rm -f conftest.er1
38696 cat conftest.err >&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } && {
38699 test -z "$ac_c_werror_flag" ||
38700 test ! -s conftest.err
38701 } && test -s conftest$ac_exeext &&
38702 $as_test_x conftest$ac_exeext; then
38703 eval wx_cv_func_$wx_func=yes
38704 else
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.$ac_ext >&5
38707
38708 eval wx_cv_func_$wx_func=no
38709 fi
38710
38711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38712 conftest$ac_exeext conftest.$ac_ext
38713
38714 fi
38715 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38716 { echo "$as_me:$LINENO: result: $ac_res" >&5
38717 echo "${ECHO_T}$ac_res" >&6; }
38718
38719 if eval test \$wx_cv_func_$wx_func = yes
38720 then
38721 cat >>confdefs.h <<_ACEOF
38722 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38723 _ACEOF
38724
38725
38726 else
38727 :
38728
38729 fi
38730 done
38731
38732
38733 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38734 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38735 cat >conftest.$ac_ext <<_ACEOF
38736 /* confdefs.h. */
38737 _ACEOF
38738 cat confdefs.h >>conftest.$ac_ext
38739 cat >>conftest.$ac_ext <<_ACEOF
38740 /* end confdefs.h. */
38741 #include <wchar.h>
38742 int
38743 main ()
38744 {
38745 &_vsnwprintf;
38746 ;
38747 return 0;
38748 }
38749 _ACEOF
38750 rm -f conftest.$ac_objext
38751 if { (ac_try="$ac_compile"
38752 case "(($ac_try" in
38753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38754 *) ac_try_echo=$ac_try;;
38755 esac
38756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38757 (eval "$ac_compile") 2>conftest.er1
38758 ac_status=$?
38759 grep -v '^ *+' conftest.er1 >conftest.err
38760 rm -f conftest.er1
38761 cat conftest.err >&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); } && {
38764 test -z "$ac_c_werror_flag" ||
38765 test ! -s conftest.err
38766 } && test -s conftest.$ac_objext; then
38767 { echo "$as_me:$LINENO: result: yes" >&5
38768 echo "${ECHO_T}yes" >&6; }
38769 cat >>confdefs.h <<\_ACEOF
38770 #define HAVE__VSNWPRINTF 1
38771 _ACEOF
38772
38773 else
38774 echo "$as_me: failed program was:" >&5
38775 sed 's/^/| /' conftest.$ac_ext >&5
38776
38777 { echo "$as_me:$LINENO: result: no" >&5
38778 echo "${ECHO_T}no" >&6; }
38779 fi
38780
38781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38782 fi
38783
38784 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38785
38786 for wx_func in fnmatch
38787 do
38788 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38789 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38790 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38792 else
38793
38794 cat >conftest.$ac_ext <<_ACEOF
38795
38796 /* confdefs.h. */
38797 _ACEOF
38798 cat confdefs.h >>conftest.$ac_ext
38799 cat >>conftest.$ac_ext <<_ACEOF
38800 /* end confdefs.h. */
38801
38802 #include <fnmatch.h>
38803 $ac_includes_default
38804
38805 int
38806 main ()
38807 {
38808
38809 #ifndef $wx_func
38810 &$wx_func;
38811 #endif
38812
38813
38814 ;
38815 return 0;
38816 }
38817
38818 _ACEOF
38819 rm -f conftest.$ac_objext conftest$ac_exeext
38820 if { (ac_try="$ac_link"
38821 case "(($ac_try" in
38822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38823 *) ac_try_echo=$ac_try;;
38824 esac
38825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38826 (eval "$ac_link") 2>conftest.er1
38827 ac_status=$?
38828 grep -v '^ *+' conftest.er1 >conftest.err
38829 rm -f conftest.er1
38830 cat conftest.err >&5
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); } && {
38833 test -z "$ac_c_werror_flag" ||
38834 test ! -s conftest.err
38835 } && test -s conftest$ac_exeext &&
38836 $as_test_x conftest$ac_exeext; then
38837 eval wx_cv_func_$wx_func=yes
38838 else
38839 echo "$as_me: failed program was:" >&5
38840 sed 's/^/| /' conftest.$ac_ext >&5
38841
38842 eval wx_cv_func_$wx_func=no
38843 fi
38844
38845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38846 conftest$ac_exeext conftest.$ac_ext
38847
38848 fi
38849 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38850 { echo "$as_me:$LINENO: result: $ac_res" >&5
38851 echo "${ECHO_T}$ac_res" >&6; }
38852
38853 if eval test \$wx_cv_func_$wx_func = yes
38854 then
38855 cat >>confdefs.h <<_ACEOF
38856 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38857 _ACEOF
38858
38859
38860 else
38861 :
38862
38863 fi
38864 done
38865
38866 fi
38867
38868 if test "$wxUSE_FILE" = "yes"; then
38869
38870 for wx_func in fsync
38871 do
38872 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38873 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38874 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38875 echo $ECHO_N "(cached) $ECHO_C" >&6
38876 else
38877
38878 cat >conftest.$ac_ext <<_ACEOF
38879
38880 /* confdefs.h. */
38881 _ACEOF
38882 cat confdefs.h >>conftest.$ac_ext
38883 cat >>conftest.$ac_ext <<_ACEOF
38884 /* end confdefs.h. */
38885
38886
38887 $ac_includes_default
38888
38889 int
38890 main ()
38891 {
38892
38893 #ifndef $wx_func
38894 &$wx_func;
38895 #endif
38896
38897
38898 ;
38899 return 0;
38900 }
38901
38902 _ACEOF
38903 rm -f conftest.$ac_objext conftest$ac_exeext
38904 if { (ac_try="$ac_link"
38905 case "(($ac_try" in
38906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38907 *) ac_try_echo=$ac_try;;
38908 esac
38909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38910 (eval "$ac_link") 2>conftest.er1
38911 ac_status=$?
38912 grep -v '^ *+' conftest.er1 >conftest.err
38913 rm -f conftest.er1
38914 cat conftest.err >&5
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); } && {
38917 test -z "$ac_c_werror_flag" ||
38918 test ! -s conftest.err
38919 } && test -s conftest$ac_exeext &&
38920 $as_test_x conftest$ac_exeext; then
38921 eval wx_cv_func_$wx_func=yes
38922 else
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.$ac_ext >&5
38925
38926 eval wx_cv_func_$wx_func=no
38927 fi
38928
38929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38930 conftest$ac_exeext conftest.$ac_ext
38931
38932 fi
38933 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38934 { echo "$as_me:$LINENO: result: $ac_res" >&5
38935 echo "${ECHO_T}$ac_res" >&6; }
38936
38937 if eval test \$wx_cv_func_$wx_func = yes
38938 then
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38941 _ACEOF
38942
38943
38944 else
38945 :
38946
38947 fi
38948 done
38949
38950 fi
38951
38952 ac_ext=cpp
38953 ac_cpp='$CXXCPP $CPPFLAGS'
38954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38957
38958
38959 for wx_func in round
38960 do
38961 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38962 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38963 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38964 echo $ECHO_N "(cached) $ECHO_C" >&6
38965 else
38966
38967 cat >conftest.$ac_ext <<_ACEOF
38968
38969 /* confdefs.h. */
38970 _ACEOF
38971 cat confdefs.h >>conftest.$ac_ext
38972 cat >>conftest.$ac_ext <<_ACEOF
38973 /* end confdefs.h. */
38974
38975 #include <math.h>
38976 $ac_includes_default
38977
38978 int
38979 main ()
38980 {
38981
38982 #ifndef $wx_func
38983 &$wx_func;
38984 #endif
38985
38986
38987 ;
38988 return 0;
38989 }
38990
38991 _ACEOF
38992 rm -f conftest.$ac_objext conftest$ac_exeext
38993 if { (ac_try="$ac_link"
38994 case "(($ac_try" in
38995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38996 *) ac_try_echo=$ac_try;;
38997 esac
38998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38999 (eval "$ac_link") 2>conftest.er1
39000 ac_status=$?
39001 grep -v '^ *+' conftest.er1 >conftest.err
39002 rm -f conftest.er1
39003 cat conftest.err >&5
39004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39005 (exit $ac_status); } && {
39006 test -z "$ac_cxx_werror_flag" ||
39007 test ! -s conftest.err
39008 } && test -s conftest$ac_exeext &&
39009 $as_test_x conftest$ac_exeext; then
39010 eval wx_cv_func_$wx_func=yes
39011 else
39012 echo "$as_me: failed program was:" >&5
39013 sed 's/^/| /' conftest.$ac_ext >&5
39014
39015 eval wx_cv_func_$wx_func=no
39016 fi
39017
39018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39019 conftest$ac_exeext conftest.$ac_ext
39020
39021 fi
39022 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39023 { echo "$as_me:$LINENO: result: $ac_res" >&5
39024 echo "${ECHO_T}$ac_res" >&6; }
39025
39026 if eval test \$wx_cv_func_$wx_func = yes
39027 then
39028 cat >>confdefs.h <<_ACEOF
39029 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39030 _ACEOF
39031
39032
39033 else
39034 :
39035
39036 fi
39037 done
39038
39039 ac_ext=c
39040 ac_cpp='$CPP $CPPFLAGS'
39041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044
39045
39046 if test "$TOOLKIT" != "MSW"; then
39047
39048
39049
39050
39051
39052 # Check whether --with-libiconv-prefix was given.
39053 if test "${with_libiconv_prefix+set}" = set; then
39054 withval=$with_libiconv_prefix;
39055 for dir in `echo "$withval" | tr : ' '`; do
39056 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39057 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39058 done
39059
39060 fi
39061
39062
39063 { echo "$as_me:$LINENO: checking for iconv" >&5
39064 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39065 if test "${am_cv_func_iconv+set}" = set; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 else
39068
39069 am_cv_func_iconv="no, consider installing GNU libiconv"
39070 am_cv_lib_iconv=no
39071 cat >conftest.$ac_ext <<_ACEOF
39072 /* confdefs.h. */
39073 _ACEOF
39074 cat confdefs.h >>conftest.$ac_ext
39075 cat >>conftest.$ac_ext <<_ACEOF
39076 /* end confdefs.h. */
39077 #include <stdlib.h>
39078 #include <iconv.h>
39079 int
39080 main ()
39081 {
39082 iconv_t cd = iconv_open("","");
39083 iconv(cd,NULL,NULL,NULL,NULL);
39084 iconv_close(cd);
39085 ;
39086 return 0;
39087 }
39088 _ACEOF
39089 rm -f conftest.$ac_objext conftest$ac_exeext
39090 if { (ac_try="$ac_link"
39091 case "(($ac_try" in
39092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39094 esac
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_link") 2>conftest.er1
39097 ac_status=$?
39098 grep -v '^ *+' conftest.er1 >conftest.err
39099 rm -f conftest.er1
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_c_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest$ac_exeext &&
39106 $as_test_x conftest$ac_exeext; then
39107 am_cv_func_iconv=yes
39108 else
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39111
39112
39113 fi
39114
39115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39116 conftest$ac_exeext conftest.$ac_ext
39117 if test "$am_cv_func_iconv" != yes; then
39118 am_save_LIBS="$LIBS"
39119 LIBS="$LIBS -liconv"
39120 cat >conftest.$ac_ext <<_ACEOF
39121 /* confdefs.h. */
39122 _ACEOF
39123 cat confdefs.h >>conftest.$ac_ext
39124 cat >>conftest.$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39126 #include <stdlib.h>
39127 #include <iconv.h>
39128 int
39129 main ()
39130 {
39131 iconv_t cd = iconv_open("","");
39132 iconv(cd,NULL,NULL,NULL,NULL);
39133 iconv_close(cd);
39134 ;
39135 return 0;
39136 }
39137 _ACEOF
39138 rm -f conftest.$ac_objext conftest$ac_exeext
39139 if { (ac_try="$ac_link"
39140 case "(($ac_try" in
39141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39142 *) ac_try_echo=$ac_try;;
39143 esac
39144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39145 (eval "$ac_link") 2>conftest.er1
39146 ac_status=$?
39147 grep -v '^ *+' conftest.er1 >conftest.err
39148 rm -f conftest.er1
39149 cat conftest.err >&5
39150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39151 (exit $ac_status); } && {
39152 test -z "$ac_c_werror_flag" ||
39153 test ! -s conftest.err
39154 } && test -s conftest$ac_exeext &&
39155 $as_test_x conftest$ac_exeext; then
39156 am_cv_lib_iconv=yes
39157 am_cv_func_iconv=yes
39158 else
39159 echo "$as_me: failed program was:" >&5
39160 sed 's/^/| /' conftest.$ac_ext >&5
39161
39162
39163 fi
39164
39165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39166 conftest$ac_exeext conftest.$ac_ext
39167 LIBS="$am_save_LIBS"
39168 fi
39169
39170 fi
39171 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39172 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39173 if test "$am_cv_func_iconv" = yes; then
39174
39175 cat >>confdefs.h <<\_ACEOF
39176 #define HAVE_ICONV 1
39177 _ACEOF
39178
39179 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39180 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39181 if test "${wx_cv_func_iconv_const+set}" = set; then
39182 echo $ECHO_N "(cached) $ECHO_C" >&6
39183 else
39184 cat >conftest.$ac_ext <<_ACEOF
39185 /* confdefs.h. */
39186 _ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190
39191 #include <stdlib.h>
39192 #include <iconv.h>
39193 extern
39194 #ifdef __cplusplus
39195 "C"
39196 #endif
39197 #if defined(__STDC__) || defined(__cplusplus)
39198 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39199 #else
39200 size_t iconv();
39201 #endif
39202
39203 int
39204 main ()
39205 {
39206
39207 ;
39208 return 0;
39209 }
39210 _ACEOF
39211 rm -f conftest.$ac_objext
39212 if { (ac_try="$ac_compile"
39213 case "(($ac_try" in
39214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39215 *) ac_try_echo=$ac_try;;
39216 esac
39217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39218 (eval "$ac_compile") 2>conftest.er1
39219 ac_status=$?
39220 grep -v '^ *+' conftest.er1 >conftest.err
39221 rm -f conftest.er1
39222 cat conftest.err >&5
39223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39224 (exit $ac_status); } && {
39225 test -z "$ac_c_werror_flag" ||
39226 test ! -s conftest.err
39227 } && test -s conftest.$ac_objext; then
39228 wx_cv_func_iconv_const="no"
39229 else
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.$ac_ext >&5
39232
39233 wx_cv_func_iconv_const="yes"
39234
39235 fi
39236
39237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39238
39239 fi
39240 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39241 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39242
39243 iconv_const=
39244 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39245 iconv_const="const"
39246 fi
39247
39248
39249 cat >>confdefs.h <<_ACEOF
39250 #define ICONV_CONST $iconv_const
39251 _ACEOF
39252
39253 fi
39254 LIBICONV=
39255 if test "$am_cv_lib_iconv" = yes; then
39256 LIBICONV="-liconv"
39257 fi
39258
39259
39260 LIBS="$LIBICONV $LIBS"
39261
39262 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39263
39264 for ac_func in sigaction
39265 do
39266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39270 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 else
39272 cat >conftest.$ac_ext <<_ACEOF
39273 /* confdefs.h. */
39274 _ACEOF
39275 cat confdefs.h >>conftest.$ac_ext
39276 cat >>conftest.$ac_ext <<_ACEOF
39277 /* end confdefs.h. */
39278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39280 #define $ac_func innocuous_$ac_func
39281
39282 /* System header to define __stub macros and hopefully few prototypes,
39283 which can conflict with char $ac_func (); below.
39284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39285 <limits.h> exists even on freestanding compilers. */
39286
39287 #ifdef __STDC__
39288 # include <limits.h>
39289 #else
39290 # include <assert.h>
39291 #endif
39292
39293 #undef $ac_func
39294
39295 /* Override any GCC internal prototype to avoid an error.
39296 Use char because int might match the return type of a GCC
39297 builtin and then its argument prototype would still apply. */
39298 #ifdef __cplusplus
39299 extern "C"
39300 #endif
39301 char $ac_func ();
39302 /* The GNU C library defines this for functions which it implements
39303 to always fail with ENOSYS. Some functions are actually named
39304 something starting with __ and the normal name is an alias. */
39305 #if defined __stub_$ac_func || defined __stub___$ac_func
39306 choke me
39307 #endif
39308
39309 int
39310 main ()
39311 {
39312 return $ac_func ();
39313 ;
39314 return 0;
39315 }
39316 _ACEOF
39317 rm -f conftest.$ac_objext conftest$ac_exeext
39318 if { (ac_try="$ac_link"
39319 case "(($ac_try" in
39320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39321 *) ac_try_echo=$ac_try;;
39322 esac
39323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39324 (eval "$ac_link") 2>conftest.er1
39325 ac_status=$?
39326 grep -v '^ *+' conftest.er1 >conftest.err
39327 rm -f conftest.er1
39328 cat conftest.err >&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); } && {
39331 test -z "$ac_c_werror_flag" ||
39332 test ! -s conftest.err
39333 } && test -s conftest$ac_exeext &&
39334 $as_test_x conftest$ac_exeext; then
39335 eval "$as_ac_var=yes"
39336 else
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39339
39340 eval "$as_ac_var=no"
39341 fi
39342
39343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39344 conftest$ac_exeext conftest.$ac_ext
39345 fi
39346 ac_res=`eval echo '${'$as_ac_var'}'`
39347 { echo "$as_me:$LINENO: result: $ac_res" >&5
39348 echo "${ECHO_T}$ac_res" >&6; }
39349 if test `eval echo '${'$as_ac_var'}'` = yes; then
39350 cat >>confdefs.h <<_ACEOF
39351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39352 _ACEOF
39353
39354 fi
39355 done
39356
39357
39358 if test "$ac_cv_func_sigaction" = "no"; then
39359 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39360 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39361 wxUSE_ON_FATAL_EXCEPTION=no
39362 fi
39363
39364 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39365 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39366 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39367 if test "${wx_cv_type_sa_handler+set}" = set; then
39368 echo $ECHO_N "(cached) $ECHO_C" >&6
39369 else
39370
39371 ac_ext=cpp
39372 ac_cpp='$CXXCPP $CPPFLAGS'
39373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39376
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 #include <signal.h>
39384 int
39385 main ()
39386 {
39387
39388 extern void testSigHandler(int);
39389
39390 struct sigaction sa;
39391 sa.sa_handler = testSigHandler;
39392
39393 ;
39394 return 0;
39395 }
39396 _ACEOF
39397 rm -f conftest.$ac_objext
39398 if { (ac_try="$ac_compile"
39399 case "(($ac_try" in
39400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39401 *) ac_try_echo=$ac_try;;
39402 esac
39403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39404 (eval "$ac_compile") 2>conftest.er1
39405 ac_status=$?
39406 grep -v '^ *+' conftest.er1 >conftest.err
39407 rm -f conftest.er1
39408 cat conftest.err >&5
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); } && {
39411 test -z "$ac_cxx_werror_flag" ||
39412 test ! -s conftest.err
39413 } && test -s conftest.$ac_objext; then
39414
39415 wx_cv_type_sa_handler=int
39416
39417 else
39418 echo "$as_me: failed program was:" >&5
39419 sed 's/^/| /' conftest.$ac_ext >&5
39420
39421
39422 wx_cv_type_sa_handler=void
39423
39424 fi
39425
39426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39427 ac_ext=c
39428 ac_cpp='$CPP $CPPFLAGS'
39429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39432
39433
39434 fi
39435 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39436 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39437
39438 cat >>confdefs.h <<_ACEOF
39439 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39440 _ACEOF
39441
39442 fi
39443 fi
39444
39445 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39446 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39447 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39448 if test "${wx_cv_func_backtrace+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39450 else
39451
39452 ac_ext=cpp
39453 ac_cpp='$CXXCPP $CPPFLAGS'
39454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39457
39458 cat >conftest.$ac_ext <<_ACEOF
39459 /* confdefs.h. */
39460 _ACEOF
39461 cat confdefs.h >>conftest.$ac_ext
39462 cat >>conftest.$ac_ext <<_ACEOF
39463 /* end confdefs.h. */
39464 #include <execinfo.h>
39465 int
39466 main ()
39467 {
39468
39469 void *trace[1];
39470 char **messages;
39471
39472 backtrace(trace, 1);
39473 messages = backtrace_symbols(trace, 1);
39474
39475 ;
39476 return 0;
39477 }
39478 _ACEOF
39479 rm -f conftest.$ac_objext
39480 if { (ac_try="$ac_compile"
39481 case "(($ac_try" in
39482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39483 *) ac_try_echo=$ac_try;;
39484 esac
39485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39486 (eval "$ac_compile") 2>conftest.er1
39487 ac_status=$?
39488 grep -v '^ *+' conftest.er1 >conftest.err
39489 rm -f conftest.er1
39490 cat conftest.err >&5
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); } && {
39493 test -z "$ac_cxx_werror_flag" ||
39494 test ! -s conftest.err
39495 } && test -s conftest.$ac_objext; then
39496 wx_cv_func_backtrace=yes
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39500
39501 wx_cv_func_backtrace=no
39502
39503 fi
39504
39505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39506 ac_ext=c
39507 ac_cpp='$CPP $CPPFLAGS'
39508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39511
39512
39513
39514 fi
39515 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39516 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39517
39518
39519 if test "$wx_cv_func_backtrace" = "no"; then
39520 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39521 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39522 wxUSE_STACKWALKER=no
39523 else
39524 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39525 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39526 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39527 echo $ECHO_N "(cached) $ECHO_C" >&6
39528 else
39529
39530 ac_ext=cpp
39531 ac_cpp='$CXXCPP $CPPFLAGS'
39532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39535
39536 cat >conftest.$ac_ext <<_ACEOF
39537 /* confdefs.h. */
39538 _ACEOF
39539 cat confdefs.h >>conftest.$ac_ext
39540 cat >>conftest.$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39542 #include <cxxabi.h>
39543 int
39544 main ()
39545 {
39546
39547 int rc;
39548 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39549
39550 ;
39551 return 0;
39552 }
39553 _ACEOF
39554 rm -f conftest.$ac_objext conftest$ac_exeext
39555 if { (ac_try="$ac_link"
39556 case "(($ac_try" in
39557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39558 *) ac_try_echo=$ac_try;;
39559 esac
39560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39561 (eval "$ac_link") 2>conftest.er1
39562 ac_status=$?
39563 grep -v '^ *+' conftest.er1 >conftest.err
39564 rm -f conftest.er1
39565 cat conftest.err >&5
39566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39567 (exit $ac_status); } && {
39568 test -z "$ac_cxx_werror_flag" ||
39569 test ! -s conftest.err
39570 } && test -s conftest$ac_exeext &&
39571 $as_test_x conftest$ac_exeext; then
39572 wx_cv_func_cxa_demangle=yes
39573 else
39574 echo "$as_me: failed program was:" >&5
39575 sed 's/^/| /' conftest.$ac_ext >&5
39576
39577 wx_cv_func_cxa_demangle=no
39578
39579 fi
39580
39581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39582 conftest$ac_exeext conftest.$ac_ext
39583 ac_ext=c
39584 ac_cpp='$CPP $CPPFLAGS'
39585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39588
39589
39590
39591 fi
39592 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39593 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39594
39595 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39596 cat >>confdefs.h <<\_ACEOF
39597 #define HAVE_CXA_DEMANGLE 1
39598 _ACEOF
39599
39600 fi
39601 fi
39602 fi
39603
39604 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39605 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39606 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39607 wxUSE_STACKWALKER=no
39608 fi
39609
39610
39611
39612
39613 for ac_func in mkstemp mktemp
39614 do
39615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39616 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39618 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39619 echo $ECHO_N "(cached) $ECHO_C" >&6
39620 else
39621 cat >conftest.$ac_ext <<_ACEOF
39622 /* confdefs.h. */
39623 _ACEOF
39624 cat confdefs.h >>conftest.$ac_ext
39625 cat >>conftest.$ac_ext <<_ACEOF
39626 /* end confdefs.h. */
39627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39629 #define $ac_func innocuous_$ac_func
39630
39631 /* System header to define __stub macros and hopefully few prototypes,
39632 which can conflict with char $ac_func (); below.
39633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39634 <limits.h> exists even on freestanding compilers. */
39635
39636 #ifdef __STDC__
39637 # include <limits.h>
39638 #else
39639 # include <assert.h>
39640 #endif
39641
39642 #undef $ac_func
39643
39644 /* Override any GCC internal prototype to avoid an error.
39645 Use char because int might match the return type of a GCC
39646 builtin and then its argument prototype would still apply. */
39647 #ifdef __cplusplus
39648 extern "C"
39649 #endif
39650 char $ac_func ();
39651 /* The GNU C library defines this for functions which it implements
39652 to always fail with ENOSYS. Some functions are actually named
39653 something starting with __ and the normal name is an alias. */
39654 #if defined __stub_$ac_func || defined __stub___$ac_func
39655 choke me
39656 #endif
39657
39658 int
39659 main ()
39660 {
39661 return $ac_func ();
39662 ;
39663 return 0;
39664 }
39665 _ACEOF
39666 rm -f conftest.$ac_objext conftest$ac_exeext
39667 if { (ac_try="$ac_link"
39668 case "(($ac_try" in
39669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39670 *) ac_try_echo=$ac_try;;
39671 esac
39672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39673 (eval "$ac_link") 2>conftest.er1
39674 ac_status=$?
39675 grep -v '^ *+' conftest.er1 >conftest.err
39676 rm -f conftest.er1
39677 cat conftest.err >&5
39678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39679 (exit $ac_status); } && {
39680 test -z "$ac_c_werror_flag" ||
39681 test ! -s conftest.err
39682 } && test -s conftest$ac_exeext &&
39683 $as_test_x conftest$ac_exeext; then
39684 eval "$as_ac_var=yes"
39685 else
39686 echo "$as_me: failed program was:" >&5
39687 sed 's/^/| /' conftest.$ac_ext >&5
39688
39689 eval "$as_ac_var=no"
39690 fi
39691
39692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39693 conftest$ac_exeext conftest.$ac_ext
39694 fi
39695 ac_res=`eval echo '${'$as_ac_var'}'`
39696 { echo "$as_me:$LINENO: result: $ac_res" >&5
39697 echo "${ECHO_T}$ac_res" >&6; }
39698 if test `eval echo '${'$as_ac_var'}'` = yes; then
39699 cat >>confdefs.h <<_ACEOF
39700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39701 _ACEOF
39702 break
39703 fi
39704 done
39705
39706
39707 { echo "$as_me:$LINENO: checking for statfs" >&5
39708 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39709 if test "${wx_cv_func_statfs+set}" = set; then
39710 echo $ECHO_N "(cached) $ECHO_C" >&6
39711 else
39712 cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h. */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39718
39719 #if defined(__BSD__)
39720 #include <sys/param.h>
39721 #include <sys/mount.h>
39722 #else
39723 #include <sys/vfs.h>
39724 #endif
39725
39726 int
39727 main ()
39728 {
39729
39730 long l;
39731 struct statfs fs;
39732 statfs("/", &fs);
39733 l = fs.f_bsize;
39734 l += fs.f_blocks;
39735 l += fs.f_bavail;
39736
39737 ;
39738 return 0;
39739 }
39740 _ACEOF
39741 rm -f conftest.$ac_objext
39742 if { (ac_try="$ac_compile"
39743 case "(($ac_try" in
39744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39745 *) ac_try_echo=$ac_try;;
39746 esac
39747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39748 (eval "$ac_compile") 2>conftest.er1
39749 ac_status=$?
39750 grep -v '^ *+' conftest.er1 >conftest.err
39751 rm -f conftest.er1
39752 cat conftest.err >&5
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); } && {
39755 test -z "$ac_c_werror_flag" ||
39756 test ! -s conftest.err
39757 } && test -s conftest.$ac_objext; then
39758 wx_cv_func_statfs=yes
39759 else
39760 echo "$as_me: failed program was:" >&5
39761 sed 's/^/| /' conftest.$ac_ext >&5
39762
39763 wx_cv_func_statfs=no
39764
39765 fi
39766
39767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39768
39769 fi
39770 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39771 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39772
39773 if test "$wx_cv_func_statfs" = "yes"; then
39774 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39775 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39776 if test "${wx_cv_func_statfs_decl+set}" = set; then
39777 echo $ECHO_N "(cached) $ECHO_C" >&6
39778 else
39779 ac_ext=cpp
39780 ac_cpp='$CXXCPP $CPPFLAGS'
39781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39784
39785 cat >conftest.$ac_ext <<_ACEOF
39786 /* confdefs.h. */
39787 _ACEOF
39788 cat confdefs.h >>conftest.$ac_ext
39789 cat >>conftest.$ac_ext <<_ACEOF
39790 /* end confdefs.h. */
39791
39792 #if defined(__BSD__)
39793 #include <sys/param.h>
39794 #include <sys/mount.h>
39795 #else
39796 #include <sys/vfs.h>
39797 #endif
39798
39799 int
39800 main ()
39801 {
39802
39803 struct statfs fs;
39804 statfs("", &fs);
39805
39806 ;
39807 return 0;
39808 }
39809 _ACEOF
39810 rm -f conftest.$ac_objext
39811 if { (ac_try="$ac_compile"
39812 case "(($ac_try" in
39813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39814 *) ac_try_echo=$ac_try;;
39815 esac
39816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39817 (eval "$ac_compile") 2>conftest.er1
39818 ac_status=$?
39819 grep -v '^ *+' conftest.er1 >conftest.err
39820 rm -f conftest.er1
39821 cat conftest.err >&5
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); } && {
39824 test -z "$ac_cxx_werror_flag" ||
39825 test ! -s conftest.err
39826 } && test -s conftest.$ac_objext; then
39827 wx_cv_func_statfs_decl=yes
39828 else
39829 echo "$as_me: failed program was:" >&5
39830 sed 's/^/| /' conftest.$ac_ext >&5
39831
39832 wx_cv_func_statfs_decl=no
39833
39834 fi
39835
39836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39837 ac_ext=c
39838 ac_cpp='$CPP $CPPFLAGS'
39839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39842
39843
39844 fi
39845 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39846 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39847
39848 if test "$wx_cv_func_statfs_decl" = "yes"; then
39849 cat >>confdefs.h <<\_ACEOF
39850 #define HAVE_STATFS_DECL 1
39851 _ACEOF
39852
39853 fi
39854
39855 wx_cv_type_statvfs_t="struct statfs"
39856 cat >>confdefs.h <<\_ACEOF
39857 #define HAVE_STATFS 1
39858 _ACEOF
39859
39860 else
39861 { echo "$as_me:$LINENO: checking for statvfs" >&5
39862 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39863 if test "${wx_cv_func_statvfs+set}" = set; then
39864 echo $ECHO_N "(cached) $ECHO_C" >&6
39865 else
39866 cat >conftest.$ac_ext <<_ACEOF
39867 /* confdefs.h. */
39868 _ACEOF
39869 cat confdefs.h >>conftest.$ac_ext
39870 cat >>conftest.$ac_ext <<_ACEOF
39871 /* end confdefs.h. */
39872
39873 #include <stddef.h>
39874 #include <sys/statvfs.h>
39875
39876 int
39877 main ()
39878 {
39879
39880 statvfs("/", NULL);
39881
39882 ;
39883 return 0;
39884 }
39885 _ACEOF
39886 rm -f conftest.$ac_objext
39887 if { (ac_try="$ac_compile"
39888 case "(($ac_try" in
39889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39890 *) ac_try_echo=$ac_try;;
39891 esac
39892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39893 (eval "$ac_compile") 2>conftest.er1
39894 ac_status=$?
39895 grep -v '^ *+' conftest.er1 >conftest.err
39896 rm -f conftest.er1
39897 cat conftest.err >&5
39898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39899 (exit $ac_status); } && {
39900 test -z "$ac_c_werror_flag" ||
39901 test ! -s conftest.err
39902 } && test -s conftest.$ac_objext; then
39903 wx_cv_func_statvfs=yes
39904 else
39905 echo "$as_me: failed program was:" >&5
39906 sed 's/^/| /' conftest.$ac_ext >&5
39907
39908 wx_cv_func_statvfs=no
39909
39910 fi
39911
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913
39914 fi
39915 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39916 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39917
39918 if test "$wx_cv_func_statvfs" = "yes"; then
39919 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39920 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39921 if test "${wx_cv_type_statvfs_t+set}" = set; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39923 else
39924 ac_ext=cpp
39925 ac_cpp='$CXXCPP $CPPFLAGS'
39926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39929
39930 cat >conftest.$ac_ext <<_ACEOF
39931 /* confdefs.h. */
39932 _ACEOF
39933 cat confdefs.h >>conftest.$ac_ext
39934 cat >>conftest.$ac_ext <<_ACEOF
39935 /* end confdefs.h. */
39936
39937 #include <sys/statvfs.h>
39938
39939 int
39940 main ()
39941 {
39942
39943 long l;
39944 statvfs_t fs;
39945 statvfs("/", &fs);
39946 l = fs.f_bsize;
39947 l += fs.f_blocks;
39948 l += fs.f_bavail;
39949
39950 ;
39951 return 0;
39952 }
39953 _ACEOF
39954 rm -f conftest.$ac_objext
39955 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
39969 test ! -s conftest.err
39970 } && test -s conftest.$ac_objext; then
39971 wx_cv_type_statvfs_t=statvfs_t
39972 else
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.$ac_ext >&5
39975
39976
39977 cat >conftest.$ac_ext <<_ACEOF
39978 /* confdefs.h. */
39979 _ACEOF
39980 cat confdefs.h >>conftest.$ac_ext
39981 cat >>conftest.$ac_ext <<_ACEOF
39982 /* end confdefs.h. */
39983
39984 #include <sys/statvfs.h>
39985
39986 int
39987 main ()
39988 {
39989
39990 long l;
39991 struct statvfs fs;
39992 statvfs("/", &fs);
39993 l = fs.f_bsize;
39994 l += fs.f_blocks;
39995 l += fs.f_bavail;
39996
39997 ;
39998 return 0;
39999 }
40000 _ACEOF
40001 rm -f conftest.$ac_objext
40002 if { (ac_try="$ac_compile"
40003 case "(($ac_try" in
40004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40005 *) ac_try_echo=$ac_try;;
40006 esac
40007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40008 (eval "$ac_compile") 2>conftest.er1
40009 ac_status=$?
40010 grep -v '^ *+' conftest.er1 >conftest.err
40011 rm -f conftest.er1
40012 cat conftest.err >&5
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); } && {
40015 test -z "$ac_cxx_werror_flag" ||
40016 test ! -s conftest.err
40017 } && test -s conftest.$ac_objext; then
40018 wx_cv_type_statvfs_t="struct statvfs"
40019 else
40020 echo "$as_me: failed program was:" >&5
40021 sed 's/^/| /' conftest.$ac_ext >&5
40022
40023 wx_cv_type_statvfs_t="unknown"
40024
40025 fi
40026
40027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40028
40029
40030 fi
40031
40032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40033 ac_ext=c
40034 ac_cpp='$CPP $CPPFLAGS'
40035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40038
40039
40040 fi
40041 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40042 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40043
40044 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40045 cat >>confdefs.h <<\_ACEOF
40046 #define HAVE_STATVFS 1
40047 _ACEOF
40048
40049 fi
40050 else
40051 wx_cv_type_statvfs_t="unknown"
40052 fi
40053 fi
40054
40055 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40056 cat >>confdefs.h <<_ACEOF
40057 #define WX_STATFS_T $wx_cv_type_statvfs_t
40058 _ACEOF
40059
40060 else
40061 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40062 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40063 fi
40064
40065 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40066
40067
40068 for ac_func in fcntl flock
40069 do
40070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40071 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40073 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 else
40076 cat >conftest.$ac_ext <<_ACEOF
40077 /* confdefs.h. */
40078 _ACEOF
40079 cat confdefs.h >>conftest.$ac_ext
40080 cat >>conftest.$ac_ext <<_ACEOF
40081 /* end confdefs.h. */
40082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40084 #define $ac_func innocuous_$ac_func
40085
40086 /* System header to define __stub macros and hopefully few prototypes,
40087 which can conflict with char $ac_func (); below.
40088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40089 <limits.h> exists even on freestanding compilers. */
40090
40091 #ifdef __STDC__
40092 # include <limits.h>
40093 #else
40094 # include <assert.h>
40095 #endif
40096
40097 #undef $ac_func
40098
40099 /* Override any GCC internal prototype to avoid an error.
40100 Use char because int might match the return type of a GCC
40101 builtin and then its argument prototype would still apply. */
40102 #ifdef __cplusplus
40103 extern "C"
40104 #endif
40105 char $ac_func ();
40106 /* The GNU C library defines this for functions which it implements
40107 to always fail with ENOSYS. Some functions are actually named
40108 something starting with __ and the normal name is an alias. */
40109 #if defined __stub_$ac_func || defined __stub___$ac_func
40110 choke me
40111 #endif
40112
40113 int
40114 main ()
40115 {
40116 return $ac_func ();
40117 ;
40118 return 0;
40119 }
40120 _ACEOF
40121 rm -f conftest.$ac_objext conftest$ac_exeext
40122 if { (ac_try="$ac_link"
40123 case "(($ac_try" in
40124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40125 *) ac_try_echo=$ac_try;;
40126 esac
40127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40128 (eval "$ac_link") 2>conftest.er1
40129 ac_status=$?
40130 grep -v '^ *+' conftest.er1 >conftest.err
40131 rm -f conftest.er1
40132 cat conftest.err >&5
40133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134 (exit $ac_status); } && {
40135 test -z "$ac_c_werror_flag" ||
40136 test ! -s conftest.err
40137 } && test -s conftest$ac_exeext &&
40138 $as_test_x conftest$ac_exeext; then
40139 eval "$as_ac_var=yes"
40140 else
40141 echo "$as_me: failed program was:" >&5
40142 sed 's/^/| /' conftest.$ac_ext >&5
40143
40144 eval "$as_ac_var=no"
40145 fi
40146
40147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40148 conftest$ac_exeext conftest.$ac_ext
40149 fi
40150 ac_res=`eval echo '${'$as_ac_var'}'`
40151 { echo "$as_me:$LINENO: result: $ac_res" >&5
40152 echo "${ECHO_T}$ac_res" >&6; }
40153 if test `eval echo '${'$as_ac_var'}'` = yes; then
40154 cat >>confdefs.h <<_ACEOF
40155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40156 _ACEOF
40157 break
40158 fi
40159 done
40160
40161
40162 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40163 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40164 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40165 wxUSE_SNGLINST_CHECKER=no
40166 fi
40167 fi
40168
40169
40170 for ac_func in timegm
40171 do
40172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40176 echo $ECHO_N "(cached) $ECHO_C" >&6
40177 else
40178 cat >conftest.$ac_ext <<_ACEOF
40179 /* confdefs.h. */
40180 _ACEOF
40181 cat confdefs.h >>conftest.$ac_ext
40182 cat >>conftest.$ac_ext <<_ACEOF
40183 /* end confdefs.h. */
40184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40186 #define $ac_func innocuous_$ac_func
40187
40188 /* System header to define __stub macros and hopefully few prototypes,
40189 which can conflict with char $ac_func (); below.
40190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40191 <limits.h> exists even on freestanding compilers. */
40192
40193 #ifdef __STDC__
40194 # include <limits.h>
40195 #else
40196 # include <assert.h>
40197 #endif
40198
40199 #undef $ac_func
40200
40201 /* Override any GCC internal prototype to avoid an error.
40202 Use char because int might match the return type of a GCC
40203 builtin and then its argument prototype would still apply. */
40204 #ifdef __cplusplus
40205 extern "C"
40206 #endif
40207 char $ac_func ();
40208 /* The GNU C library defines this for functions which it implements
40209 to always fail with ENOSYS. Some functions are actually named
40210 something starting with __ and the normal name is an alias. */
40211 #if defined __stub_$ac_func || defined __stub___$ac_func
40212 choke me
40213 #endif
40214
40215 int
40216 main ()
40217 {
40218 return $ac_func ();
40219 ;
40220 return 0;
40221 }
40222 _ACEOF
40223 rm -f conftest.$ac_objext conftest$ac_exeext
40224 if { (ac_try="$ac_link"
40225 case "(($ac_try" in
40226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40227 *) ac_try_echo=$ac_try;;
40228 esac
40229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40230 (eval "$ac_link") 2>conftest.er1
40231 ac_status=$?
40232 grep -v '^ *+' conftest.er1 >conftest.err
40233 rm -f conftest.er1
40234 cat conftest.err >&5
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); } && {
40237 test -z "$ac_c_werror_flag" ||
40238 test ! -s conftest.err
40239 } && test -s conftest$ac_exeext &&
40240 $as_test_x conftest$ac_exeext; then
40241 eval "$as_ac_var=yes"
40242 else
40243 echo "$as_me: failed program was:" >&5
40244 sed 's/^/| /' conftest.$ac_ext >&5
40245
40246 eval "$as_ac_var=no"
40247 fi
40248
40249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40250 conftest$ac_exeext conftest.$ac_ext
40251 fi
40252 ac_res=`eval echo '${'$as_ac_var'}'`
40253 { echo "$as_me:$LINENO: result: $ac_res" >&5
40254 echo "${ECHO_T}$ac_res" >&6; }
40255 if test `eval echo '${'$as_ac_var'}'` = yes; then
40256 cat >>confdefs.h <<_ACEOF
40257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40258 _ACEOF
40259
40260 fi
40261 done
40262
40263
40264
40265
40266 for ac_func in setenv putenv
40267 do
40268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40272 echo $ECHO_N "(cached) $ECHO_C" >&6
40273 else
40274 cat >conftest.$ac_ext <<_ACEOF
40275 /* confdefs.h. */
40276 _ACEOF
40277 cat confdefs.h >>conftest.$ac_ext
40278 cat >>conftest.$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40282 #define $ac_func innocuous_$ac_func
40283
40284 /* System header to define __stub macros and hopefully few prototypes,
40285 which can conflict with char $ac_func (); below.
40286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40287 <limits.h> exists even on freestanding compilers. */
40288
40289 #ifdef __STDC__
40290 # include <limits.h>
40291 #else
40292 # include <assert.h>
40293 #endif
40294
40295 #undef $ac_func
40296
40297 /* Override any GCC internal prototype to avoid an error.
40298 Use char because int might match the return type of a GCC
40299 builtin and then its argument prototype would still apply. */
40300 #ifdef __cplusplus
40301 extern "C"
40302 #endif
40303 char $ac_func ();
40304 /* The GNU C library defines this for functions which it implements
40305 to always fail with ENOSYS. Some functions are actually named
40306 something starting with __ and the normal name is an alias. */
40307 #if defined __stub_$ac_func || defined __stub___$ac_func
40308 choke me
40309 #endif
40310
40311 int
40312 main ()
40313 {
40314 return $ac_func ();
40315 ;
40316 return 0;
40317 }
40318 _ACEOF
40319 rm -f conftest.$ac_objext conftest$ac_exeext
40320 if { (ac_try="$ac_link"
40321 case "(($ac_try" in
40322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40323 *) ac_try_echo=$ac_try;;
40324 esac
40325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40326 (eval "$ac_link") 2>conftest.er1
40327 ac_status=$?
40328 grep -v '^ *+' conftest.er1 >conftest.err
40329 rm -f conftest.er1
40330 cat conftest.err >&5
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); } && {
40333 test -z "$ac_c_werror_flag" ||
40334 test ! -s conftest.err
40335 } && test -s conftest$ac_exeext &&
40336 $as_test_x conftest$ac_exeext; then
40337 eval "$as_ac_var=yes"
40338 else
40339 echo "$as_me: failed program was:" >&5
40340 sed 's/^/| /' conftest.$ac_ext >&5
40341
40342 eval "$as_ac_var=no"
40343 fi
40344
40345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40346 conftest$ac_exeext conftest.$ac_ext
40347 fi
40348 ac_res=`eval echo '${'$as_ac_var'}'`
40349 { echo "$as_me:$LINENO: result: $ac_res" >&5
40350 echo "${ECHO_T}$ac_res" >&6; }
40351 if test `eval echo '${'$as_ac_var'}'` = yes; then
40352 cat >>confdefs.h <<_ACEOF
40353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40354 _ACEOF
40355 break
40356 fi
40357 done
40358
40359 if test "$ac_cv_func_setenv" = "yes"; then
40360
40361 for ac_func in unsetenv
40362 do
40363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40364 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40366 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40367 echo $ECHO_N "(cached) $ECHO_C" >&6
40368 else
40369 cat >conftest.$ac_ext <<_ACEOF
40370 /* confdefs.h. */
40371 _ACEOF
40372 cat confdefs.h >>conftest.$ac_ext
40373 cat >>conftest.$ac_ext <<_ACEOF
40374 /* end confdefs.h. */
40375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40377 #define $ac_func innocuous_$ac_func
40378
40379 /* System header to define __stub macros and hopefully few prototypes,
40380 which can conflict with char $ac_func (); below.
40381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40382 <limits.h> exists even on freestanding compilers. */
40383
40384 #ifdef __STDC__
40385 # include <limits.h>
40386 #else
40387 # include <assert.h>
40388 #endif
40389
40390 #undef $ac_func
40391
40392 /* Override any GCC internal prototype to avoid an error.
40393 Use char because int might match the return type of a GCC
40394 builtin and then its argument prototype would still apply. */
40395 #ifdef __cplusplus
40396 extern "C"
40397 #endif
40398 char $ac_func ();
40399 /* The GNU C library defines this for functions which it implements
40400 to always fail with ENOSYS. Some functions are actually named
40401 something starting with __ and the normal name is an alias. */
40402 #if defined __stub_$ac_func || defined __stub___$ac_func
40403 choke me
40404 #endif
40405
40406 int
40407 main ()
40408 {
40409 return $ac_func ();
40410 ;
40411 return 0;
40412 }
40413 _ACEOF
40414 rm -f conftest.$ac_objext conftest$ac_exeext
40415 if { (ac_try="$ac_link"
40416 case "(($ac_try" in
40417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40418 *) ac_try_echo=$ac_try;;
40419 esac
40420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40421 (eval "$ac_link") 2>conftest.er1
40422 ac_status=$?
40423 grep -v '^ *+' conftest.er1 >conftest.err
40424 rm -f conftest.er1
40425 cat conftest.err >&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); } && {
40428 test -z "$ac_c_werror_flag" ||
40429 test ! -s conftest.err
40430 } && test -s conftest$ac_exeext &&
40431 $as_test_x conftest$ac_exeext; then
40432 eval "$as_ac_var=yes"
40433 else
40434 echo "$as_me: failed program was:" >&5
40435 sed 's/^/| /' conftest.$ac_ext >&5
40436
40437 eval "$as_ac_var=no"
40438 fi
40439
40440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40441 conftest$ac_exeext conftest.$ac_ext
40442 fi
40443 ac_res=`eval echo '${'$as_ac_var'}'`
40444 { echo "$as_me:$LINENO: result: $ac_res" >&5
40445 echo "${ECHO_T}$ac_res" >&6; }
40446 if test `eval echo '${'$as_ac_var'}'` = yes; then
40447 cat >>confdefs.h <<_ACEOF
40448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40449 _ACEOF
40450
40451 fi
40452 done
40453
40454 fi
40455
40456 HAVE_SOME_SLEEP_FUNC=0
40457 if test "$USE_BEOS" = 1; then
40458 cat >>confdefs.h <<\_ACEOF
40459 #define HAVE_SLEEP 1
40460 _ACEOF
40461
40462 HAVE_SOME_SLEEP_FUNC=1
40463 fi
40464
40465 if test "$USE_DARWIN" = 1; then
40466 cat >>confdefs.h <<\_ACEOF
40467 #define HAVE_USLEEP 1
40468 _ACEOF
40469
40470 HAVE_SOME_SLEEP_FUNC=1
40471 fi
40472
40473 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40474 POSIX4_LINK=
40475
40476 for ac_func in nanosleep
40477 do
40478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40482 echo $ECHO_N "(cached) $ECHO_C" >&6
40483 else
40484 cat >conftest.$ac_ext <<_ACEOF
40485 /* confdefs.h. */
40486 _ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40492 #define $ac_func innocuous_$ac_func
40493
40494 /* System header to define __stub macros and hopefully few prototypes,
40495 which can conflict with char $ac_func (); below.
40496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40497 <limits.h> exists even on freestanding compilers. */
40498
40499 #ifdef __STDC__
40500 # include <limits.h>
40501 #else
40502 # include <assert.h>
40503 #endif
40504
40505 #undef $ac_func
40506
40507 /* Override any GCC internal prototype to avoid an error.
40508 Use char because int might match the return type of a GCC
40509 builtin and then its argument prototype would still apply. */
40510 #ifdef __cplusplus
40511 extern "C"
40512 #endif
40513 char $ac_func ();
40514 /* The GNU C library defines this for functions which it implements
40515 to always fail with ENOSYS. Some functions are actually named
40516 something starting with __ and the normal name is an alias. */
40517 #if defined __stub_$ac_func || defined __stub___$ac_func
40518 choke me
40519 #endif
40520
40521 int
40522 main ()
40523 {
40524 return $ac_func ();
40525 ;
40526 return 0;
40527 }
40528 _ACEOF
40529 rm -f conftest.$ac_objext conftest$ac_exeext
40530 if { (ac_try="$ac_link"
40531 case "(($ac_try" in
40532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40533 *) ac_try_echo=$ac_try;;
40534 esac
40535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40536 (eval "$ac_link") 2>conftest.er1
40537 ac_status=$?
40538 grep -v '^ *+' conftest.er1 >conftest.err
40539 rm -f conftest.er1
40540 cat conftest.err >&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } && {
40543 test -z "$ac_c_werror_flag" ||
40544 test ! -s conftest.err
40545 } && test -s conftest$ac_exeext &&
40546 $as_test_x conftest$ac_exeext; then
40547 eval "$as_ac_var=yes"
40548 else
40549 echo "$as_me: failed program was:" >&5
40550 sed 's/^/| /' conftest.$ac_ext >&5
40551
40552 eval "$as_ac_var=no"
40553 fi
40554
40555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40556 conftest$ac_exeext conftest.$ac_ext
40557 fi
40558 ac_res=`eval echo '${'$as_ac_var'}'`
40559 { echo "$as_me:$LINENO: result: $ac_res" >&5
40560 echo "${ECHO_T}$ac_res" >&6; }
40561 if test `eval echo '${'$as_ac_var'}'` = yes; then
40562 cat >>confdefs.h <<_ACEOF
40563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40564 _ACEOF
40565 cat >>confdefs.h <<\_ACEOF
40566 #define HAVE_NANOSLEEP 1
40567 _ACEOF
40568
40569 else
40570
40571 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40572 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40573 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40574 echo $ECHO_N "(cached) $ECHO_C" >&6
40575 else
40576 ac_check_lib_save_LIBS=$LIBS
40577 LIBS="-lposix4 $LIBS"
40578 cat >conftest.$ac_ext <<_ACEOF
40579 /* confdefs.h. */
40580 _ACEOF
40581 cat confdefs.h >>conftest.$ac_ext
40582 cat >>conftest.$ac_ext <<_ACEOF
40583 /* end confdefs.h. */
40584
40585 /* Override any GCC internal prototype to avoid an error.
40586 Use char because int might match the return type of a GCC
40587 builtin and then its argument prototype would still apply. */
40588 #ifdef __cplusplus
40589 extern "C"
40590 #endif
40591 char nanosleep ();
40592 int
40593 main ()
40594 {
40595 return nanosleep ();
40596 ;
40597 return 0;
40598 }
40599 _ACEOF
40600 rm -f conftest.$ac_objext conftest$ac_exeext
40601 if { (ac_try="$ac_link"
40602 case "(($ac_try" in
40603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40604 *) ac_try_echo=$ac_try;;
40605 esac
40606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40607 (eval "$ac_link") 2>conftest.er1
40608 ac_status=$?
40609 grep -v '^ *+' conftest.er1 >conftest.err
40610 rm -f conftest.er1
40611 cat conftest.err >&5
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); } && {
40614 test -z "$ac_c_werror_flag" ||
40615 test ! -s conftest.err
40616 } && test -s conftest$ac_exeext &&
40617 $as_test_x conftest$ac_exeext; then
40618 ac_cv_lib_posix4_nanosleep=yes
40619 else
40620 echo "$as_me: failed program was:" >&5
40621 sed 's/^/| /' conftest.$ac_ext >&5
40622
40623 ac_cv_lib_posix4_nanosleep=no
40624 fi
40625
40626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40627 conftest$ac_exeext conftest.$ac_ext
40628 LIBS=$ac_check_lib_save_LIBS
40629 fi
40630 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40631 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40632 if test $ac_cv_lib_posix4_nanosleep = yes; then
40633
40634 cat >>confdefs.h <<\_ACEOF
40635 #define HAVE_NANOSLEEP 1
40636 _ACEOF
40637
40638 POSIX4_LINK=" -lposix4"
40639
40640 else
40641
40642
40643 for wx_func in usleep
40644 do
40645 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40646 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40647 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40648 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 else
40650
40651 cat >conftest.$ac_ext <<_ACEOF
40652
40653 /* confdefs.h. */
40654 _ACEOF
40655 cat confdefs.h >>conftest.$ac_ext
40656 cat >>conftest.$ac_ext <<_ACEOF
40657 /* end confdefs.h. */
40658
40659
40660 $ac_includes_default
40661
40662 int
40663 main ()
40664 {
40665
40666 #ifndef $wx_func
40667 &$wx_func;
40668 #endif
40669
40670
40671 ;
40672 return 0;
40673 }
40674
40675 _ACEOF
40676 rm -f conftest.$ac_objext conftest$ac_exeext
40677 if { (ac_try="$ac_link"
40678 case "(($ac_try" in
40679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40680 *) ac_try_echo=$ac_try;;
40681 esac
40682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40683 (eval "$ac_link") 2>conftest.er1
40684 ac_status=$?
40685 grep -v '^ *+' conftest.er1 >conftest.err
40686 rm -f conftest.er1
40687 cat conftest.err >&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } && {
40690 test -z "$ac_c_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest$ac_exeext &&
40693 $as_test_x conftest$ac_exeext; then
40694 eval wx_cv_func_$wx_func=yes
40695 else
40696 echo "$as_me: failed program was:" >&5
40697 sed 's/^/| /' conftest.$ac_ext >&5
40698
40699 eval wx_cv_func_$wx_func=no
40700 fi
40701
40702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40703 conftest$ac_exeext conftest.$ac_ext
40704
40705 fi
40706 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40707 { echo "$as_me:$LINENO: result: $ac_res" >&5
40708 echo "${ECHO_T}$ac_res" >&6; }
40709
40710 if eval test \$wx_cv_func_$wx_func = yes
40711 then
40712 cat >>confdefs.h <<_ACEOF
40713 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40714 _ACEOF
40715
40716
40717 else
40718 :
40719 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40720 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40721
40722 fi
40723 done
40724
40725
40726
40727 fi
40728
40729
40730
40731 fi
40732 done
40733
40734 fi
40735
40736
40737 for wx_func in uname
40738 do
40739 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40740 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40741 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40743 else
40744
40745 cat >conftest.$ac_ext <<_ACEOF
40746
40747 /* confdefs.h. */
40748 _ACEOF
40749 cat confdefs.h >>conftest.$ac_ext
40750 cat >>conftest.$ac_ext <<_ACEOF
40751 /* end confdefs.h. */
40752
40753 #include <sys/utsname.h>
40754 $ac_includes_default
40755
40756 int
40757 main ()
40758 {
40759
40760 #ifndef $wx_func
40761 &$wx_func;
40762 #endif
40763
40764
40765 ;
40766 return 0;
40767 }
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 wx_cv_func_$wx_func=yes
40789 else
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40792
40793 eval wx_cv_func_$wx_func=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
40799 fi
40800 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40801 { echo "$as_me:$LINENO: result: $ac_res" >&5
40802 echo "${ECHO_T}$ac_res" >&6; }
40803
40804 if eval test \$wx_cv_func_$wx_func = yes
40805 then
40806 cat >>confdefs.h <<_ACEOF
40807 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40808 _ACEOF
40809
40810
40811 else
40812 :
40813
40814 fi
40815 done
40816
40817 if test "$wx_cv_func_uname" != yes; then
40818
40819 for wx_func in gethostname
40820 do
40821 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40822 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40823 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40824 echo $ECHO_N "(cached) $ECHO_C" >&6
40825 else
40826
40827 cat >conftest.$ac_ext <<_ACEOF
40828
40829 /* confdefs.h. */
40830 _ACEOF
40831 cat confdefs.h >>conftest.$ac_ext
40832 cat >>conftest.$ac_ext <<_ACEOF
40833 /* end confdefs.h. */
40834
40835
40836 $ac_includes_default
40837
40838 int
40839 main ()
40840 {
40841
40842 #ifndef $wx_func
40843 &$wx_func;
40844 #endif
40845
40846
40847 ;
40848 return 0;
40849 }
40850
40851 _ACEOF
40852 rm -f conftest.$ac_objext conftest$ac_exeext
40853 if { (ac_try="$ac_link"
40854 case "(($ac_try" in
40855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40856 *) ac_try_echo=$ac_try;;
40857 esac
40858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40859 (eval "$ac_link") 2>conftest.er1
40860 ac_status=$?
40861 grep -v '^ *+' conftest.er1 >conftest.err
40862 rm -f conftest.er1
40863 cat conftest.err >&5
40864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40865 (exit $ac_status); } && {
40866 test -z "$ac_c_werror_flag" ||
40867 test ! -s conftest.err
40868 } && test -s conftest$ac_exeext &&
40869 $as_test_x conftest$ac_exeext; then
40870 eval wx_cv_func_$wx_func=yes
40871 else
40872 echo "$as_me: failed program was:" >&5
40873 sed 's/^/| /' conftest.$ac_ext >&5
40874
40875 eval wx_cv_func_$wx_func=no
40876 fi
40877
40878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40879 conftest$ac_exeext conftest.$ac_ext
40880
40881 fi
40882 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40883 { echo "$as_me:$LINENO: result: $ac_res" >&5
40884 echo "${ECHO_T}$ac_res" >&6; }
40885
40886 if eval test \$wx_cv_func_$wx_func = yes
40887 then
40888 cat >>confdefs.h <<_ACEOF
40889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40890 _ACEOF
40891
40892
40893 else
40894 :
40895
40896 fi
40897 done
40898
40899 fi
40900
40901
40902 for wx_func in strtok_r
40903 do
40904 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40905 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40906 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40907 echo $ECHO_N "(cached) $ECHO_C" >&6
40908 else
40909
40910 cat >conftest.$ac_ext <<_ACEOF
40911
40912 /* confdefs.h. */
40913 _ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40917
40918 #define _REENTRANT
40919 $ac_includes_default
40920
40921 int
40922 main ()
40923 {
40924
40925 #ifndef $wx_func
40926 &$wx_func;
40927 #endif
40928
40929
40930 ;
40931 return 0;
40932 }
40933
40934 _ACEOF
40935 rm -f conftest.$ac_objext conftest$ac_exeext
40936 if { (ac_try="$ac_link"
40937 case "(($ac_try" in
40938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40939 *) ac_try_echo=$ac_try;;
40940 esac
40941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40942 (eval "$ac_link") 2>conftest.er1
40943 ac_status=$?
40944 grep -v '^ *+' conftest.er1 >conftest.err
40945 rm -f conftest.er1
40946 cat conftest.err >&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); } && {
40949 test -z "$ac_c_werror_flag" ||
40950 test ! -s conftest.err
40951 } && test -s conftest$ac_exeext &&
40952 $as_test_x conftest$ac_exeext; then
40953 eval wx_cv_func_$wx_func=yes
40954 else
40955 echo "$as_me: failed program was:" >&5
40956 sed 's/^/| /' conftest.$ac_ext >&5
40957
40958 eval wx_cv_func_$wx_func=no
40959 fi
40960
40961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40962 conftest$ac_exeext conftest.$ac_ext
40963
40964 fi
40965 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40966 { echo "$as_me:$LINENO: result: $ac_res" >&5
40967 echo "${ECHO_T}$ac_res" >&6; }
40968
40969 if eval test \$wx_cv_func_$wx_func = yes
40970 then
40971 cat >>confdefs.h <<_ACEOF
40972 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40973 _ACEOF
40974
40975
40976 else
40977 :
40978
40979 fi
40980 done
40981
40982
40983 INET_LINK=
40984
40985 for ac_func in inet_addr
40986 do
40987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40988 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40992 else
40993 cat >conftest.$ac_ext <<_ACEOF
40994 /* confdefs.h. */
40995 _ACEOF
40996 cat confdefs.h >>conftest.$ac_ext
40997 cat >>conftest.$ac_ext <<_ACEOF
40998 /* end confdefs.h. */
40999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41001 #define $ac_func innocuous_$ac_func
41002
41003 /* System header to define __stub macros and hopefully few prototypes,
41004 which can conflict with char $ac_func (); below.
41005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41006 <limits.h> exists even on freestanding compilers. */
41007
41008 #ifdef __STDC__
41009 # include <limits.h>
41010 #else
41011 # include <assert.h>
41012 #endif
41013
41014 #undef $ac_func
41015
41016 /* Override any GCC internal prototype to avoid an error.
41017 Use char because int might match the return type of a GCC
41018 builtin and then its argument prototype would still apply. */
41019 #ifdef __cplusplus
41020 extern "C"
41021 #endif
41022 char $ac_func ();
41023 /* The GNU C library defines this for functions which it implements
41024 to always fail with ENOSYS. Some functions are actually named
41025 something starting with __ and the normal name is an alias. */
41026 #if defined __stub_$ac_func || defined __stub___$ac_func
41027 choke me
41028 #endif
41029
41030 int
41031 main ()
41032 {
41033 return $ac_func ();
41034 ;
41035 return 0;
41036 }
41037 _ACEOF
41038 rm -f conftest.$ac_objext conftest$ac_exeext
41039 if { (ac_try="$ac_link"
41040 case "(($ac_try" in
41041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41042 *) ac_try_echo=$ac_try;;
41043 esac
41044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41045 (eval "$ac_link") 2>conftest.er1
41046 ac_status=$?
41047 grep -v '^ *+' conftest.er1 >conftest.err
41048 rm -f conftest.er1
41049 cat conftest.err >&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); } && {
41052 test -z "$ac_c_werror_flag" ||
41053 test ! -s conftest.err
41054 } && test -s conftest$ac_exeext &&
41055 $as_test_x conftest$ac_exeext; then
41056 eval "$as_ac_var=yes"
41057 else
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41060
41061 eval "$as_ac_var=no"
41062 fi
41063
41064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41065 conftest$ac_exeext conftest.$ac_ext
41066 fi
41067 ac_res=`eval echo '${'$as_ac_var'}'`
41068 { echo "$as_me:$LINENO: result: $ac_res" >&5
41069 echo "${ECHO_T}$ac_res" >&6; }
41070 if test `eval echo '${'$as_ac_var'}'` = yes; then
41071 cat >>confdefs.h <<_ACEOF
41072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41073 _ACEOF
41074 cat >>confdefs.h <<\_ACEOF
41075 #define HAVE_INET_ADDR 1
41076 _ACEOF
41077
41078 else
41079
41080 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41081 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41082 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41084 else
41085 ac_check_lib_save_LIBS=$LIBS
41086 LIBS="-lnsl $LIBS"
41087 cat >conftest.$ac_ext <<_ACEOF
41088 /* confdefs.h. */
41089 _ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h. */
41093
41094 /* Override any GCC internal prototype to avoid an error.
41095 Use char because int might match the return type of a GCC
41096 builtin and then its argument prototype would still apply. */
41097 #ifdef __cplusplus
41098 extern "C"
41099 #endif
41100 char inet_addr ();
41101 int
41102 main ()
41103 {
41104 return inet_addr ();
41105 ;
41106 return 0;
41107 }
41108 _ACEOF
41109 rm -f conftest.$ac_objext conftest$ac_exeext
41110 if { (ac_try="$ac_link"
41111 case "(($ac_try" in
41112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41113 *) ac_try_echo=$ac_try;;
41114 esac
41115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41116 (eval "$ac_link") 2>conftest.er1
41117 ac_status=$?
41118 grep -v '^ *+' conftest.er1 >conftest.err
41119 rm -f conftest.er1
41120 cat conftest.err >&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); } && {
41123 test -z "$ac_c_werror_flag" ||
41124 test ! -s conftest.err
41125 } && test -s conftest$ac_exeext &&
41126 $as_test_x conftest$ac_exeext; then
41127 ac_cv_lib_nsl_inet_addr=yes
41128 else
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41131
41132 ac_cv_lib_nsl_inet_addr=no
41133 fi
41134
41135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41136 conftest$ac_exeext conftest.$ac_ext
41137 LIBS=$ac_check_lib_save_LIBS
41138 fi
41139 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41140 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41141 if test $ac_cv_lib_nsl_inet_addr = yes; then
41142 INET_LINK="nsl"
41143 else
41144
41145 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41146 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41147 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41148 echo $ECHO_N "(cached) $ECHO_C" >&6
41149 else
41150 ac_check_lib_save_LIBS=$LIBS
41151 LIBS="-lresolv $LIBS"
41152 cat >conftest.$ac_ext <<_ACEOF
41153 /* confdefs.h. */
41154 _ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41158
41159 /* Override any GCC internal prototype to avoid an error.
41160 Use char because int might match the return type of a GCC
41161 builtin and then its argument prototype would still apply. */
41162 #ifdef __cplusplus
41163 extern "C"
41164 #endif
41165 char inet_addr ();
41166 int
41167 main ()
41168 {
41169 return inet_addr ();
41170 ;
41171 return 0;
41172 }
41173 _ACEOF
41174 rm -f conftest.$ac_objext conftest$ac_exeext
41175 if { (ac_try="$ac_link"
41176 case "(($ac_try" in
41177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41178 *) ac_try_echo=$ac_try;;
41179 esac
41180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41181 (eval "$ac_link") 2>conftest.er1
41182 ac_status=$?
41183 grep -v '^ *+' conftest.er1 >conftest.err
41184 rm -f conftest.er1
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } && {
41188 test -z "$ac_c_werror_flag" ||
41189 test ! -s conftest.err
41190 } && test -s conftest$ac_exeext &&
41191 $as_test_x conftest$ac_exeext; then
41192 ac_cv_lib_resolv_inet_addr=yes
41193 else
41194 echo "$as_me: failed program was:" >&5
41195 sed 's/^/| /' conftest.$ac_ext >&5
41196
41197 ac_cv_lib_resolv_inet_addr=no
41198 fi
41199
41200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41201 conftest$ac_exeext conftest.$ac_ext
41202 LIBS=$ac_check_lib_save_LIBS
41203 fi
41204 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41205 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41206 if test $ac_cv_lib_resolv_inet_addr = yes; then
41207 INET_LINK="resolv"
41208 else
41209
41210 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41211 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41212 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41213 echo $ECHO_N "(cached) $ECHO_C" >&6
41214 else
41215 ac_check_lib_save_LIBS=$LIBS
41216 LIBS="-lsocket $LIBS"
41217 cat >conftest.$ac_ext <<_ACEOF
41218 /* confdefs.h. */
41219 _ACEOF
41220 cat confdefs.h >>conftest.$ac_ext
41221 cat >>conftest.$ac_ext <<_ACEOF
41222 /* end confdefs.h. */
41223
41224 /* Override any GCC internal prototype to avoid an error.
41225 Use char because int might match the return type of a GCC
41226 builtin and then its argument prototype would still apply. */
41227 #ifdef __cplusplus
41228 extern "C"
41229 #endif
41230 char inet_addr ();
41231 int
41232 main ()
41233 {
41234 return inet_addr ();
41235 ;
41236 return 0;
41237 }
41238 _ACEOF
41239 rm -f conftest.$ac_objext conftest$ac_exeext
41240 if { (ac_try="$ac_link"
41241 case "(($ac_try" in
41242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41243 *) ac_try_echo=$ac_try;;
41244 esac
41245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41246 (eval "$ac_link") 2>conftest.er1
41247 ac_status=$?
41248 grep -v '^ *+' conftest.er1 >conftest.err
41249 rm -f conftest.er1
41250 cat conftest.err >&5
41251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41252 (exit $ac_status); } && {
41253 test -z "$ac_c_werror_flag" ||
41254 test ! -s conftest.err
41255 } && test -s conftest$ac_exeext &&
41256 $as_test_x conftest$ac_exeext; then
41257 ac_cv_lib_socket_inet_addr=yes
41258 else
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.$ac_ext >&5
41261
41262 ac_cv_lib_socket_inet_addr=no
41263 fi
41264
41265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41266 conftest$ac_exeext conftest.$ac_ext
41267 LIBS=$ac_check_lib_save_LIBS
41268 fi
41269 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41270 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41271 if test $ac_cv_lib_socket_inet_addr = yes; then
41272 INET_LINK="socket"
41273
41274 fi
41275
41276
41277
41278 fi
41279
41280
41281
41282 fi
41283
41284
41285
41286 fi
41287 done
41288
41289
41290
41291 for ac_func in inet_aton
41292 do
41293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41297 echo $ECHO_N "(cached) $ECHO_C" >&6
41298 else
41299 cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h. */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41307 #define $ac_func innocuous_$ac_func
41308
41309 /* System header to define __stub macros and hopefully few prototypes,
41310 which can conflict with char $ac_func (); below.
41311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41312 <limits.h> exists even on freestanding compilers. */
41313
41314 #ifdef __STDC__
41315 # include <limits.h>
41316 #else
41317 # include <assert.h>
41318 #endif
41319
41320 #undef $ac_func
41321
41322 /* Override any GCC internal prototype to avoid an error.
41323 Use char because int might match the return type of a GCC
41324 builtin and then its argument prototype would still apply. */
41325 #ifdef __cplusplus
41326 extern "C"
41327 #endif
41328 char $ac_func ();
41329 /* The GNU C library defines this for functions which it implements
41330 to always fail with ENOSYS. Some functions are actually named
41331 something starting with __ and the normal name is an alias. */
41332 #if defined __stub_$ac_func || defined __stub___$ac_func
41333 choke me
41334 #endif
41335
41336 int
41337 main ()
41338 {
41339 return $ac_func ();
41340 ;
41341 return 0;
41342 }
41343 _ACEOF
41344 rm -f conftest.$ac_objext conftest$ac_exeext
41345 if { (ac_try="$ac_link"
41346 case "(($ac_try" in
41347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41348 *) ac_try_echo=$ac_try;;
41349 esac
41350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41351 (eval "$ac_link") 2>conftest.er1
41352 ac_status=$?
41353 grep -v '^ *+' conftest.er1 >conftest.err
41354 rm -f conftest.er1
41355 cat conftest.err >&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } && {
41358 test -z "$ac_c_werror_flag" ||
41359 test ! -s conftest.err
41360 } && test -s conftest$ac_exeext &&
41361 $as_test_x conftest$ac_exeext; then
41362 eval "$as_ac_var=yes"
41363 else
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.$ac_ext >&5
41366
41367 eval "$as_ac_var=no"
41368 fi
41369
41370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41371 conftest$ac_exeext conftest.$ac_ext
41372 fi
41373 ac_res=`eval echo '${'$as_ac_var'}'`
41374 { echo "$as_me:$LINENO: result: $ac_res" >&5
41375 echo "${ECHO_T}$ac_res" >&6; }
41376 if test `eval echo '${'$as_ac_var'}'` = yes; then
41377 cat >>confdefs.h <<_ACEOF
41378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41379 _ACEOF
41380 cat >>confdefs.h <<\_ACEOF
41381 #define HAVE_INET_ATON 1
41382 _ACEOF
41383
41384 else
41385
41386 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41387 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41388 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41389 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41390 echo $ECHO_N "(cached) $ECHO_C" >&6
41391 else
41392 ac_check_lib_save_LIBS=$LIBS
41393 LIBS="-l$INET_LINK $LIBS"
41394 cat >conftest.$ac_ext <<_ACEOF
41395 /* confdefs.h. */
41396 _ACEOF
41397 cat confdefs.h >>conftest.$ac_ext
41398 cat >>conftest.$ac_ext <<_ACEOF
41399 /* end confdefs.h. */
41400
41401 /* Override any GCC internal prototype to avoid an error.
41402 Use char because int might match the return type of a GCC
41403 builtin and then its argument prototype would still apply. */
41404 #ifdef __cplusplus
41405 extern "C"
41406 #endif
41407 char inet_aton ();
41408 int
41409 main ()
41410 {
41411 return inet_aton ();
41412 ;
41413 return 0;
41414 }
41415 _ACEOF
41416 rm -f conftest.$ac_objext conftest$ac_exeext
41417 if { (ac_try="$ac_link"
41418 case "(($ac_try" in
41419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41420 *) ac_try_echo=$ac_try;;
41421 esac
41422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41423 (eval "$ac_link") 2>conftest.er1
41424 ac_status=$?
41425 grep -v '^ *+' conftest.er1 >conftest.err
41426 rm -f conftest.er1
41427 cat conftest.err >&5
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); } && {
41430 test -z "$ac_c_werror_flag" ||
41431 test ! -s conftest.err
41432 } && test -s conftest$ac_exeext &&
41433 $as_test_x conftest$ac_exeext; then
41434 eval "$as_ac_Lib=yes"
41435 else
41436 echo "$as_me: failed program was:" >&5
41437 sed 's/^/| /' conftest.$ac_ext >&5
41438
41439 eval "$as_ac_Lib=no"
41440 fi
41441
41442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41443 conftest$ac_exeext conftest.$ac_ext
41444 LIBS=$ac_check_lib_save_LIBS
41445 fi
41446 ac_res=`eval echo '${'$as_ac_Lib'}'`
41447 { echo "$as_me:$LINENO: result: $ac_res" >&5
41448 echo "${ECHO_T}$ac_res" >&6; }
41449 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41450 cat >>confdefs.h <<\_ACEOF
41451 #define HAVE_INET_ATON 1
41452 _ACEOF
41453
41454 fi
41455
41456
41457 fi
41458 done
41459
41460
41461 if test "x$INET_LINK" != "x"; then
41462 cat >>confdefs.h <<\_ACEOF
41463 #define HAVE_INET_ADDR 1
41464 _ACEOF
41465
41466 INET_LINK=" -l$INET_LINK"
41467 fi
41468
41469
41470 for wx_func in fdopen
41471 do
41472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41474 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41475 echo $ECHO_N "(cached) $ECHO_C" >&6
41476 else
41477
41478 cat >conftest.$ac_ext <<_ACEOF
41479
41480 /* confdefs.h. */
41481 _ACEOF
41482 cat confdefs.h >>conftest.$ac_ext
41483 cat >>conftest.$ac_ext <<_ACEOF
41484 /* end confdefs.h. */
41485
41486
41487 $ac_includes_default
41488
41489 int
41490 main ()
41491 {
41492
41493 #ifndef $wx_func
41494 &$wx_func;
41495 #endif
41496
41497
41498 ;
41499 return 0;
41500 }
41501
41502 _ACEOF
41503 rm -f conftest.$ac_objext conftest$ac_exeext
41504 if { (ac_try="$ac_link"
41505 case "(($ac_try" in
41506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41507 *) ac_try_echo=$ac_try;;
41508 esac
41509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41510 (eval "$ac_link") 2>conftest.er1
41511 ac_status=$?
41512 grep -v '^ *+' conftest.er1 >conftest.err
41513 rm -f conftest.er1
41514 cat conftest.err >&5
41515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516 (exit $ac_status); } && {
41517 test -z "$ac_c_werror_flag" ||
41518 test ! -s conftest.err
41519 } && test -s conftest$ac_exeext &&
41520 $as_test_x conftest$ac_exeext; then
41521 eval wx_cv_func_$wx_func=yes
41522 else
41523 echo "$as_me: failed program was:" >&5
41524 sed 's/^/| /' conftest.$ac_ext >&5
41525
41526 eval wx_cv_func_$wx_func=no
41527 fi
41528
41529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41530 conftest$ac_exeext conftest.$ac_ext
41531
41532 fi
41533 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41534 { echo "$as_me:$LINENO: result: $ac_res" >&5
41535 echo "${ECHO_T}$ac_res" >&6; }
41536
41537 if eval test \$wx_cv_func_$wx_func = yes
41538 then
41539 cat >>confdefs.h <<_ACEOF
41540 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41541 _ACEOF
41542
41543
41544 else
41545 :
41546
41547 fi
41548 done
41549
41550
41551 fi
41552
41553
41554
41555 cat >confcache <<\_ACEOF
41556 # This file is a shell script that caches the results of configure
41557 # tests run on this system so they can be shared between configure
41558 # scripts and configure runs, see configure's option --config-cache.
41559 # It is not useful on other systems. If it contains results you don't
41560 # want to keep, you may remove or edit it.
41561 #
41562 # config.status only pays attention to the cache file if you give it
41563 # the --recheck option to rerun configure.
41564 #
41565 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41566 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41567 # following values.
41568
41569 _ACEOF
41570
41571 # The following way of writing the cache mishandles newlines in values,
41572 # but we know of no workaround that is simple, portable, and efficient.
41573 # So, we kill variables containing newlines.
41574 # Ultrix sh set writes to stderr and can't be redirected directly,
41575 # and sets the high bit in the cache file unless we assign to the vars.
41576 (
41577 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41578 eval ac_val=\$$ac_var
41579 case $ac_val in #(
41580 *${as_nl}*)
41581 case $ac_var in #(
41582 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41584 esac
41585 case $ac_var in #(
41586 _ | IFS | as_nl) ;; #(
41587 *) $as_unset $ac_var ;;
41588 esac ;;
41589 esac
41590 done
41591
41592 (set) 2>&1 |
41593 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41594 *${as_nl}ac_space=\ *)
41595 # `set' does not quote correctly, so add quotes (double-quote
41596 # substitution turns \\\\ into \\, and sed turns \\ into \).
41597 sed -n \
41598 "s/'/'\\\\''/g;
41599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41600 ;; #(
41601 *)
41602 # `set' quotes correctly as required by POSIX, so do not add quotes.
41603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41604 ;;
41605 esac |
41606 sort
41607 ) |
41608 sed '
41609 /^ac_cv_env_/b end
41610 t clear
41611 :clear
41612 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41613 t end
41614 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41615 :end' >>confcache
41616 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41617 if test -w "$cache_file"; then
41618 test "x$cache_file" != "x/dev/null" &&
41619 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41620 echo "$as_me: updating cache $cache_file" >&6;}
41621 cat confcache >$cache_file
41622 else
41623 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41624 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41625 fi
41626 fi
41627 rm -f confcache
41628
41629
41630 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41631
41632
41633 THREADS_LINK=
41634 THREADS_CFLAGS=
41635
41636 if test "$wxUSE_THREADS" = "yes" ; then
41637 if test "$USE_BEOS" = 1; then
41638 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41639 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41640 wxUSE_THREADS="no"
41641 fi
41642 fi
41643
41644 if test "$wxUSE_THREADS" = "yes" ; then
41645
41646
41647 THREAD_OPTS="-pthread"
41648 if test "x$SUNCXX" = xyes; then
41649 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41650 fi
41651
41652 case "${host}" in
41653 *-*-solaris2* | *-*-sunos4* )
41654 if test "x$GCC" = "xyes"; then
41655 THREAD_OPTS="-pthreads $THREAD_OPTS"
41656 fi
41657 ;;
41658 *-*-freebsd*)
41659 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41660 ;;
41661 *-*-darwin* | *-*-cygwin* )
41662 THREAD_OPTS=""
41663 ;;
41664 *-*-aix*)
41665 THREAD_OPTS="pthreads"
41666 ;;
41667 *-hp-hpux* )
41668 if test "x$GCC" = "xyes"; then
41669 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41670 THREAD_OPTS=""
41671 else
41672 THREAD_OPTS="-mt"
41673 fi
41674 ;;
41675
41676 *-*-irix* )
41677 if test "x$GCC" = "xyes"; then
41678 THREAD_OPTS=""
41679 fi
41680 ;;
41681
41682 *-*-*UnixWare*)
41683 if test "x$GCC" != "xyes"; then
41684 THREAD_OPTS="-Ethread"
41685 fi
41686 ;;
41687 esac
41688
41689 THREAD_OPTS="$THREAD_OPTS pthread none"
41690
41691 THREADS_OK=no
41692 for flag in $THREAD_OPTS; do
41693 case $flag in
41694 none)
41695 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41696 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41697 ;;
41698
41699 -*)
41700 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41701 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41702 THREADS_CFLAGS="$flag"
41703 ;;
41704
41705 *)
41706 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41707 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41708 THREADS_LINK="-l$flag"
41709 ;;
41710 esac
41711
41712 save_LIBS="$LIBS"
41713 save_CFLAGS="$CFLAGS"
41714 LIBS="$THREADS_LINK $LIBS"
41715 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41716
41717 cat >conftest.$ac_ext <<_ACEOF
41718 /* confdefs.h. */
41719 _ACEOF
41720 cat confdefs.h >>conftest.$ac_ext
41721 cat >>conftest.$ac_ext <<_ACEOF
41722 /* end confdefs.h. */
41723 #include <pthread.h>
41724 int
41725 main ()
41726 {
41727 pthread_create(0,0,0,0);
41728 ;
41729 return 0;
41730 }
41731 _ACEOF
41732 rm -f conftest.$ac_objext conftest$ac_exeext
41733 if { (ac_try="$ac_link"
41734 case "(($ac_try" in
41735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41736 *) ac_try_echo=$ac_try;;
41737 esac
41738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41739 (eval "$ac_link") 2>conftest.er1
41740 ac_status=$?
41741 grep -v '^ *+' conftest.er1 >conftest.err
41742 rm -f conftest.er1
41743 cat conftest.err >&5
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); } && {
41746 test -z "$ac_c_werror_flag" ||
41747 test ! -s conftest.err
41748 } && test -s conftest$ac_exeext &&
41749 $as_test_x conftest$ac_exeext; then
41750 THREADS_OK=yes
41751 else
41752 echo "$as_me: failed program was:" >&5
41753 sed 's/^/| /' conftest.$ac_ext >&5
41754
41755
41756 fi
41757
41758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41759 conftest$ac_exeext conftest.$ac_ext
41760
41761 LIBS="$save_LIBS"
41762 CFLAGS="$save_CFLAGS"
41763
41764 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41765 echo "${ECHO_T}$THREADS_OK" >&6; }
41766 if test "x$THREADS_OK" = "xyes"; then
41767 break;
41768 fi
41769
41770 THREADS_LINK=""
41771 THREADS_CFLAGS=""
41772 done
41773
41774 if test "x$THREADS_OK" != "xyes"; then
41775 wxUSE_THREADS=no
41776 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41777 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41778 else
41779 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41780 LIBS="$THREADS_LINK $LIBS"
41781
41782 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41783 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41784 flag=no
41785 case "${host}" in
41786 *-aix*)
41787 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41788 flag="-D_THREAD_SAFE"
41789 ;;
41790 *-freebsd*)
41791 flag="-D_THREAD_SAFE"
41792 ;;
41793 *-hp-hpux* )
41794 flag="-D_REENTRANT"
41795 if test "x$GCC" != "xyes"; then
41796 flag="$flag -D_RWSTD_MULTI_THREAD"
41797 fi
41798 ;;
41799 *solaris* | alpha*-osf*)
41800 flag="-D_REENTRANT"
41801 ;;
41802 esac
41803 { echo "$as_me:$LINENO: result: ${flag}" >&5
41804 echo "${ECHO_T}${flag}" >&6; }
41805 if test "x$flag" != xno; then
41806 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41807 fi
41808
41809 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41810 fi
41811 fi
41812
41813 if test "$wxUSE_THREADS" = "yes" ; then
41814
41815 for ac_func in thr_setconcurrency
41816 do
41817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41821 echo $ECHO_N "(cached) $ECHO_C" >&6
41822 else
41823 cat >conftest.$ac_ext <<_ACEOF
41824 /* confdefs.h. */
41825 _ACEOF
41826 cat confdefs.h >>conftest.$ac_ext
41827 cat >>conftest.$ac_ext <<_ACEOF
41828 /* end confdefs.h. */
41829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41831 #define $ac_func innocuous_$ac_func
41832
41833 /* System header to define __stub macros and hopefully few prototypes,
41834 which can conflict with char $ac_func (); below.
41835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41836 <limits.h> exists even on freestanding compilers. */
41837
41838 #ifdef __STDC__
41839 # include <limits.h>
41840 #else
41841 # include <assert.h>
41842 #endif
41843
41844 #undef $ac_func
41845
41846 /* Override any GCC internal prototype to avoid an error.
41847 Use char because int might match the return type of a GCC
41848 builtin and then its argument prototype would still apply. */
41849 #ifdef __cplusplus
41850 extern "C"
41851 #endif
41852 char $ac_func ();
41853 /* The GNU C library defines this for functions which it implements
41854 to always fail with ENOSYS. Some functions are actually named
41855 something starting with __ and the normal name is an alias. */
41856 #if defined __stub_$ac_func || defined __stub___$ac_func
41857 choke me
41858 #endif
41859
41860 int
41861 main ()
41862 {
41863 return $ac_func ();
41864 ;
41865 return 0;
41866 }
41867 _ACEOF
41868 rm -f conftest.$ac_objext conftest$ac_exeext
41869 if { (ac_try="$ac_link"
41870 case "(($ac_try" in
41871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41872 *) ac_try_echo=$ac_try;;
41873 esac
41874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41875 (eval "$ac_link") 2>conftest.er1
41876 ac_status=$?
41877 grep -v '^ *+' conftest.er1 >conftest.err
41878 rm -f conftest.er1
41879 cat conftest.err >&5
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); } && {
41882 test -z "$ac_c_werror_flag" ||
41883 test ! -s conftest.err
41884 } && test -s conftest$ac_exeext &&
41885 $as_test_x conftest$ac_exeext; then
41886 eval "$as_ac_var=yes"
41887 else
41888 echo "$as_me: failed program was:" >&5
41889 sed 's/^/| /' conftest.$ac_ext >&5
41890
41891 eval "$as_ac_var=no"
41892 fi
41893
41894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41895 conftest$ac_exeext conftest.$ac_ext
41896 fi
41897 ac_res=`eval echo '${'$as_ac_var'}'`
41898 { echo "$as_me:$LINENO: result: $ac_res" >&5
41899 echo "${ECHO_T}$ac_res" >&6; }
41900 if test `eval echo '${'$as_ac_var'}'` = yes; then
41901 cat >>confdefs.h <<_ACEOF
41902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41903 _ACEOF
41904
41905 fi
41906 done
41907
41908
41909 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41910 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41911 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41912 echo $ECHO_N "(cached) $ECHO_C" >&6
41913 else
41914
41915 ac_ext=cpp
41916 ac_cpp='$CXXCPP $CPPFLAGS'
41917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41920
41921 cat >conftest.$ac_ext <<_ACEOF
41922 /* confdefs.h. */
41923 _ACEOF
41924 cat confdefs.h >>conftest.$ac_ext
41925 cat >>conftest.$ac_ext <<_ACEOF
41926 /* end confdefs.h. */
41927 #include <pthread.h>
41928 void ThreadCleanupFunc(void *p);
41929
41930 int
41931 main ()
41932 {
41933
41934 void *p;
41935 pthread_cleanup_push(ThreadCleanupFunc, p);
41936 pthread_cleanup_pop(0);
41937
41938 ;
41939 return 0;
41940 }
41941 _ACEOF
41942 rm -f conftest.$ac_objext
41943 if { (ac_try="$ac_compile"
41944 case "(($ac_try" in
41945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41946 *) ac_try_echo=$ac_try;;
41947 esac
41948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41949 (eval "$ac_compile") 2>conftest.er1
41950 ac_status=$?
41951 grep -v '^ *+' conftest.er1 >conftest.err
41952 rm -f conftest.er1
41953 cat conftest.err >&5
41954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955 (exit $ac_status); } && {
41956 test -z "$ac_cxx_werror_flag" ||
41957 test ! -s conftest.err
41958 } && test -s conftest.$ac_objext; then
41959
41960 wx_cv_func_pthread_cleanup=yes
41961
41962 else
41963 echo "$as_me: failed program was:" >&5
41964 sed 's/^/| /' conftest.$ac_ext >&5
41965
41966
41967 wx_cv_func_pthread_cleanup=no
41968
41969
41970 fi
41971
41972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41973 ac_ext=c
41974 ac_cpp='$CPP $CPPFLAGS'
41975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41978
41979
41980 fi
41981 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41982 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41983 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41984 cat >>confdefs.h <<\_ACEOF
41985 #define wxHAVE_PTHREAD_CLEANUP 1
41986 _ACEOF
41987
41988 fi
41989
41990
41991 for ac_header in sched.h
41992 do
41993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41997 echo $ECHO_N "(cached) $ECHO_C" >&6
41998 else
41999 cat >conftest.$ac_ext <<_ACEOF
42000 /* confdefs.h. */
42001 _ACEOF
42002 cat confdefs.h >>conftest.$ac_ext
42003 cat >>conftest.$ac_ext <<_ACEOF
42004 /* end confdefs.h. */
42005 $ac_includes_default
42006
42007 #include <$ac_header>
42008 _ACEOF
42009 rm -f conftest.$ac_objext
42010 if { (ac_try="$ac_compile"
42011 case "(($ac_try" in
42012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42013 *) ac_try_echo=$ac_try;;
42014 esac
42015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42016 (eval "$ac_compile") 2>conftest.er1
42017 ac_status=$?
42018 grep -v '^ *+' conftest.er1 >conftest.err
42019 rm -f conftest.er1
42020 cat conftest.err >&5
42021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022 (exit $ac_status); } && {
42023 test -z "$ac_c_werror_flag" ||
42024 test ! -s conftest.err
42025 } && test -s conftest.$ac_objext; then
42026 eval "$as_ac_Header=yes"
42027 else
42028 echo "$as_me: failed program was:" >&5
42029 sed 's/^/| /' conftest.$ac_ext >&5
42030
42031 eval "$as_ac_Header=no"
42032 fi
42033
42034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42035 fi
42036 ac_res=`eval echo '${'$as_ac_Header'}'`
42037 { echo "$as_me:$LINENO: result: $ac_res" >&5
42038 echo "${ECHO_T}$ac_res" >&6; }
42039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42040 cat >>confdefs.h <<_ACEOF
42041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42042 _ACEOF
42043
42044 fi
42045
42046 done
42047
42048 if test "$ac_cv_header_sched_h" = "yes"; then
42049 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42050 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42051 if test "${ac_cv_func_sched_yield+set}" = set; then
42052 echo $ECHO_N "(cached) $ECHO_C" >&6
42053 else
42054 cat >conftest.$ac_ext <<_ACEOF
42055 /* confdefs.h. */
42056 _ACEOF
42057 cat confdefs.h >>conftest.$ac_ext
42058 cat >>conftest.$ac_ext <<_ACEOF
42059 /* end confdefs.h. */
42060 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42062 #define sched_yield innocuous_sched_yield
42063
42064 /* System header to define __stub macros and hopefully few prototypes,
42065 which can conflict with char sched_yield (); below.
42066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42067 <limits.h> exists even on freestanding compilers. */
42068
42069 #ifdef __STDC__
42070 # include <limits.h>
42071 #else
42072 # include <assert.h>
42073 #endif
42074
42075 #undef sched_yield
42076
42077 /* Override any GCC internal prototype to avoid an error.
42078 Use char because int might match the return type of a GCC
42079 builtin and then its argument prototype would still apply. */
42080 #ifdef __cplusplus
42081 extern "C"
42082 #endif
42083 char sched_yield ();
42084 /* The GNU C library defines this for functions which it implements
42085 to always fail with ENOSYS. Some functions are actually named
42086 something starting with __ and the normal name is an alias. */
42087 #if defined __stub_sched_yield || defined __stub___sched_yield
42088 choke me
42089 #endif
42090
42091 int
42092 main ()
42093 {
42094 return sched_yield ();
42095 ;
42096 return 0;
42097 }
42098 _ACEOF
42099 rm -f conftest.$ac_objext conftest$ac_exeext
42100 if { (ac_try="$ac_link"
42101 case "(($ac_try" in
42102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42103 *) ac_try_echo=$ac_try;;
42104 esac
42105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42106 (eval "$ac_link") 2>conftest.er1
42107 ac_status=$?
42108 grep -v '^ *+' conftest.er1 >conftest.err
42109 rm -f conftest.er1
42110 cat conftest.err >&5
42111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42112 (exit $ac_status); } && {
42113 test -z "$ac_c_werror_flag" ||
42114 test ! -s conftest.err
42115 } && test -s conftest$ac_exeext &&
42116 $as_test_x conftest$ac_exeext; then
42117 ac_cv_func_sched_yield=yes
42118 else
42119 echo "$as_me: failed program was:" >&5
42120 sed 's/^/| /' conftest.$ac_ext >&5
42121
42122 ac_cv_func_sched_yield=no
42123 fi
42124
42125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42126 conftest$ac_exeext conftest.$ac_ext
42127 fi
42128 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42129 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42130 if test $ac_cv_func_sched_yield = yes; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define HAVE_SCHED_YIELD 1
42133 _ACEOF
42134
42135 else
42136
42137 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42138 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42139 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42140 echo $ECHO_N "(cached) $ECHO_C" >&6
42141 else
42142 ac_check_lib_save_LIBS=$LIBS
42143 LIBS="-lposix4 $LIBS"
42144 cat >conftest.$ac_ext <<_ACEOF
42145 /* confdefs.h. */
42146 _ACEOF
42147 cat confdefs.h >>conftest.$ac_ext
42148 cat >>conftest.$ac_ext <<_ACEOF
42149 /* end confdefs.h. */
42150
42151 /* Override any GCC internal prototype to avoid an error.
42152 Use char because int might match the return type of a GCC
42153 builtin and then its argument prototype would still apply. */
42154 #ifdef __cplusplus
42155 extern "C"
42156 #endif
42157 char sched_yield ();
42158 int
42159 main ()
42160 {
42161 return sched_yield ();
42162 ;
42163 return 0;
42164 }
42165 _ACEOF
42166 rm -f conftest.$ac_objext conftest$ac_exeext
42167 if { (ac_try="$ac_link"
42168 case "(($ac_try" in
42169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42170 *) ac_try_echo=$ac_try;;
42171 esac
42172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42173 (eval "$ac_link") 2>conftest.er1
42174 ac_status=$?
42175 grep -v '^ *+' conftest.er1 >conftest.err
42176 rm -f conftest.er1
42177 cat conftest.err >&5
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); } && {
42180 test -z "$ac_c_werror_flag" ||
42181 test ! -s conftest.err
42182 } && test -s conftest$ac_exeext &&
42183 $as_test_x conftest$ac_exeext; then
42184 ac_cv_lib_posix4_sched_yield=yes
42185 else
42186 echo "$as_me: failed program was:" >&5
42187 sed 's/^/| /' conftest.$ac_ext >&5
42188
42189 ac_cv_lib_posix4_sched_yield=no
42190 fi
42191
42192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42193 conftest$ac_exeext conftest.$ac_ext
42194 LIBS=$ac_check_lib_save_LIBS
42195 fi
42196 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42197 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42198 if test $ac_cv_lib_posix4_sched_yield = yes; then
42199 cat >>confdefs.h <<\_ACEOF
42200 #define HAVE_SCHED_YIELD 1
42201 _ACEOF
42202 POSIX4_LINK=" -lposix4"
42203 else
42204 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42205 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42206
42207 fi
42208
42209
42210
42211 fi
42212
42213 fi
42214
42215 HAVE_PRIOR_FUNCS=0
42216 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42217 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42218 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42219 echo $ECHO_N "(cached) $ECHO_C" >&6
42220 else
42221 cat >conftest.$ac_ext <<_ACEOF
42222 /* confdefs.h. */
42223 _ACEOF
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42227 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42229 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42230
42231 /* System header to define __stub macros and hopefully few prototypes,
42232 which can conflict with char pthread_attr_getschedpolicy (); below.
42233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42234 <limits.h> exists even on freestanding compilers. */
42235
42236 #ifdef __STDC__
42237 # include <limits.h>
42238 #else
42239 # include <assert.h>
42240 #endif
42241
42242 #undef pthread_attr_getschedpolicy
42243
42244 /* Override any GCC internal prototype to avoid an error.
42245 Use char because int might match the return type of a GCC
42246 builtin and then its argument prototype would still apply. */
42247 #ifdef __cplusplus
42248 extern "C"
42249 #endif
42250 char pthread_attr_getschedpolicy ();
42251 /* The GNU C library defines this for functions which it implements
42252 to always fail with ENOSYS. Some functions are actually named
42253 something starting with __ and the normal name is an alias. */
42254 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42255 choke me
42256 #endif
42257
42258 int
42259 main ()
42260 {
42261 return pthread_attr_getschedpolicy ();
42262 ;
42263 return 0;
42264 }
42265 _ACEOF
42266 rm -f conftest.$ac_objext conftest$ac_exeext
42267 if { (ac_try="$ac_link"
42268 case "(($ac_try" in
42269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42270 *) ac_try_echo=$ac_try;;
42271 esac
42272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42273 (eval "$ac_link") 2>conftest.er1
42274 ac_status=$?
42275 grep -v '^ *+' conftest.er1 >conftest.err
42276 rm -f conftest.er1
42277 cat conftest.err >&5
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); } && {
42280 test -z "$ac_c_werror_flag" ||
42281 test ! -s conftest.err
42282 } && test -s conftest$ac_exeext &&
42283 $as_test_x conftest$ac_exeext; then
42284 ac_cv_func_pthread_attr_getschedpolicy=yes
42285 else
42286 echo "$as_me: failed program was:" >&5
42287 sed 's/^/| /' conftest.$ac_ext >&5
42288
42289 ac_cv_func_pthread_attr_getschedpolicy=no
42290 fi
42291
42292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42293 conftest$ac_exeext conftest.$ac_ext
42294 fi
42295 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42296 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42297 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42298 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42299 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42300 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42301 echo $ECHO_N "(cached) $ECHO_C" >&6
42302 else
42303 cat >conftest.$ac_ext <<_ACEOF
42304 /* confdefs.h. */
42305 _ACEOF
42306 cat confdefs.h >>conftest.$ac_ext
42307 cat >>conftest.$ac_ext <<_ACEOF
42308 /* end confdefs.h. */
42309 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42311 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42312
42313 /* System header to define __stub macros and hopefully few prototypes,
42314 which can conflict with char pthread_attr_setschedparam (); below.
42315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42316 <limits.h> exists even on freestanding compilers. */
42317
42318 #ifdef __STDC__
42319 # include <limits.h>
42320 #else
42321 # include <assert.h>
42322 #endif
42323
42324 #undef pthread_attr_setschedparam
42325
42326 /* Override any GCC internal prototype to avoid an error.
42327 Use char because int might match the return type of a GCC
42328 builtin and then its argument prototype would still apply. */
42329 #ifdef __cplusplus
42330 extern "C"
42331 #endif
42332 char pthread_attr_setschedparam ();
42333 /* The GNU C library defines this for functions which it implements
42334 to always fail with ENOSYS. Some functions are actually named
42335 something starting with __ and the normal name is an alias. */
42336 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42337 choke me
42338 #endif
42339
42340 int
42341 main ()
42342 {
42343 return pthread_attr_setschedparam ();
42344 ;
42345 return 0;
42346 }
42347 _ACEOF
42348 rm -f conftest.$ac_objext conftest$ac_exeext
42349 if { (ac_try="$ac_link"
42350 case "(($ac_try" in
42351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42352 *) ac_try_echo=$ac_try;;
42353 esac
42354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42355 (eval "$ac_link") 2>conftest.er1
42356 ac_status=$?
42357 grep -v '^ *+' conftest.er1 >conftest.err
42358 rm -f conftest.er1
42359 cat conftest.err >&5
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); } && {
42362 test -z "$ac_c_werror_flag" ||
42363 test ! -s conftest.err
42364 } && test -s conftest$ac_exeext &&
42365 $as_test_x conftest$ac_exeext; then
42366 ac_cv_func_pthread_attr_setschedparam=yes
42367 else
42368 echo "$as_me: failed program was:" >&5
42369 sed 's/^/| /' conftest.$ac_ext >&5
42370
42371 ac_cv_func_pthread_attr_setschedparam=no
42372 fi
42373
42374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42375 conftest$ac_exeext conftest.$ac_ext
42376 fi
42377 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42378 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42379 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42380 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42381 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42382 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42383 echo $ECHO_N "(cached) $ECHO_C" >&6
42384 else
42385 cat >conftest.$ac_ext <<_ACEOF
42386 /* confdefs.h. */
42387 _ACEOF
42388 cat confdefs.h >>conftest.$ac_ext
42389 cat >>conftest.$ac_ext <<_ACEOF
42390 /* end confdefs.h. */
42391 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42393 #define sched_get_priority_max innocuous_sched_get_priority_max
42394
42395 /* System header to define __stub macros and hopefully few prototypes,
42396 which can conflict with char sched_get_priority_max (); below.
42397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42398 <limits.h> exists even on freestanding compilers. */
42399
42400 #ifdef __STDC__
42401 # include <limits.h>
42402 #else
42403 # include <assert.h>
42404 #endif
42405
42406 #undef sched_get_priority_max
42407
42408 /* Override any GCC internal prototype to avoid an error.
42409 Use char because int might match the return type of a GCC
42410 builtin and then its argument prototype would still apply. */
42411 #ifdef __cplusplus
42412 extern "C"
42413 #endif
42414 char sched_get_priority_max ();
42415 /* The GNU C library defines this for functions which it implements
42416 to always fail with ENOSYS. Some functions are actually named
42417 something starting with __ and the normal name is an alias. */
42418 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42419 choke me
42420 #endif
42421
42422 int
42423 main ()
42424 {
42425 return sched_get_priority_max ();
42426 ;
42427 return 0;
42428 }
42429 _ACEOF
42430 rm -f conftest.$ac_objext conftest$ac_exeext
42431 if { (ac_try="$ac_link"
42432 case "(($ac_try" in
42433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42434 *) ac_try_echo=$ac_try;;
42435 esac
42436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42437 (eval "$ac_link") 2>conftest.er1
42438 ac_status=$?
42439 grep -v '^ *+' conftest.er1 >conftest.err
42440 rm -f conftest.er1
42441 cat conftest.err >&5
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); } && {
42444 test -z "$ac_c_werror_flag" ||
42445 test ! -s conftest.err
42446 } && test -s conftest$ac_exeext &&
42447 $as_test_x conftest$ac_exeext; then
42448 ac_cv_func_sched_get_priority_max=yes
42449 else
42450 echo "$as_me: failed program was:" >&5
42451 sed 's/^/| /' conftest.$ac_ext >&5
42452
42453 ac_cv_func_sched_get_priority_max=no
42454 fi
42455
42456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42457 conftest$ac_exeext conftest.$ac_ext
42458 fi
42459 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42460 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42461 if test $ac_cv_func_sched_get_priority_max = yes; then
42462 HAVE_PRIOR_FUNCS=1
42463 else
42464 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42465 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42466 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42467 echo $ECHO_N "(cached) $ECHO_C" >&6
42468 else
42469 ac_check_lib_save_LIBS=$LIBS
42470 LIBS="-lposix4 $LIBS"
42471 cat >conftest.$ac_ext <<_ACEOF
42472 /* confdefs.h. */
42473 _ACEOF
42474 cat confdefs.h >>conftest.$ac_ext
42475 cat >>conftest.$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477
42478 /* Override any GCC internal prototype to avoid an error.
42479 Use char because int might match the return type of a GCC
42480 builtin and then its argument prototype would still apply. */
42481 #ifdef __cplusplus
42482 extern "C"
42483 #endif
42484 char sched_get_priority_max ();
42485 int
42486 main ()
42487 {
42488 return sched_get_priority_max ();
42489 ;
42490 return 0;
42491 }
42492 _ACEOF
42493 rm -f conftest.$ac_objext conftest$ac_exeext
42494 if { (ac_try="$ac_link"
42495 case "(($ac_try" in
42496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42497 *) ac_try_echo=$ac_try;;
42498 esac
42499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42500 (eval "$ac_link") 2>conftest.er1
42501 ac_status=$?
42502 grep -v '^ *+' conftest.er1 >conftest.err
42503 rm -f conftest.er1
42504 cat conftest.err >&5
42505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506 (exit $ac_status); } && {
42507 test -z "$ac_c_werror_flag" ||
42508 test ! -s conftest.err
42509 } && test -s conftest$ac_exeext &&
42510 $as_test_x conftest$ac_exeext; then
42511 ac_cv_lib_posix4_sched_get_priority_max=yes
42512 else
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.$ac_ext >&5
42515
42516 ac_cv_lib_posix4_sched_get_priority_max=no
42517 fi
42518
42519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42520 conftest$ac_exeext conftest.$ac_ext
42521 LIBS=$ac_check_lib_save_LIBS
42522 fi
42523 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42524 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42525 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42526
42527 HAVE_PRIOR_FUNCS=1
42528 POSIX4_LINK=" -lposix4"
42529
42530 fi
42531
42532
42533 fi
42534
42535
42536 fi
42537
42538
42539 fi
42540
42541
42542 if test "$HAVE_PRIOR_FUNCS" = 1; then
42543 cat >>confdefs.h <<\_ACEOF
42544 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42545 _ACEOF
42546
42547 else
42548 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42549 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42550 fi
42551
42552 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42553 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42554 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42555 echo $ECHO_N "(cached) $ECHO_C" >&6
42556 else
42557 cat >conftest.$ac_ext <<_ACEOF
42558 /* confdefs.h. */
42559 _ACEOF
42560 cat confdefs.h >>conftest.$ac_ext
42561 cat >>conftest.$ac_ext <<_ACEOF
42562 /* end confdefs.h. */
42563 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42565 #define pthread_cancel innocuous_pthread_cancel
42566
42567 /* System header to define __stub macros and hopefully few prototypes,
42568 which can conflict with char pthread_cancel (); below.
42569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42570 <limits.h> exists even on freestanding compilers. */
42571
42572 #ifdef __STDC__
42573 # include <limits.h>
42574 #else
42575 # include <assert.h>
42576 #endif
42577
42578 #undef pthread_cancel
42579
42580 /* Override any GCC internal prototype to avoid an error.
42581 Use char because int might match the return type of a GCC
42582 builtin and then its argument prototype would still apply. */
42583 #ifdef __cplusplus
42584 extern "C"
42585 #endif
42586 char pthread_cancel ();
42587 /* The GNU C library defines this for functions which it implements
42588 to always fail with ENOSYS. Some functions are actually named
42589 something starting with __ and the normal name is an alias. */
42590 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42591 choke me
42592 #endif
42593
42594 int
42595 main ()
42596 {
42597 return pthread_cancel ();
42598 ;
42599 return 0;
42600 }
42601 _ACEOF
42602 rm -f conftest.$ac_objext conftest$ac_exeext
42603 if { (ac_try="$ac_link"
42604 case "(($ac_try" in
42605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42606 *) ac_try_echo=$ac_try;;
42607 esac
42608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42609 (eval "$ac_link") 2>conftest.er1
42610 ac_status=$?
42611 grep -v '^ *+' conftest.er1 >conftest.err
42612 rm -f conftest.er1
42613 cat conftest.err >&5
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); } && {
42616 test -z "$ac_c_werror_flag" ||
42617 test ! -s conftest.err
42618 } && test -s conftest$ac_exeext &&
42619 $as_test_x conftest$ac_exeext; then
42620 ac_cv_func_pthread_cancel=yes
42621 else
42622 echo "$as_me: failed program was:" >&5
42623 sed 's/^/| /' conftest.$ac_ext >&5
42624
42625 ac_cv_func_pthread_cancel=no
42626 fi
42627
42628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42629 conftest$ac_exeext conftest.$ac_ext
42630 fi
42631 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42632 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42633 if test $ac_cv_func_pthread_cancel = yes; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define HAVE_PTHREAD_CANCEL 1
42636 _ACEOF
42637
42638 else
42639 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42640 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42641 fi
42642
42643
42644 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42645 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42646 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42647 echo $ECHO_N "(cached) $ECHO_C" >&6
42648 else
42649 cat >conftest.$ac_ext <<_ACEOF
42650 /* confdefs.h. */
42651 _ACEOF
42652 cat confdefs.h >>conftest.$ac_ext
42653 cat >>conftest.$ac_ext <<_ACEOF
42654 /* end confdefs.h. */
42655 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42657 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42658
42659 /* System header to define __stub macros and hopefully few prototypes,
42660 which can conflict with char pthread_mutex_timedlock (); below.
42661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42662 <limits.h> exists even on freestanding compilers. */
42663
42664 #ifdef __STDC__
42665 # include <limits.h>
42666 #else
42667 # include <assert.h>
42668 #endif
42669
42670 #undef pthread_mutex_timedlock
42671
42672 /* Override any GCC internal prototype to avoid an error.
42673 Use char because int might match the return type of a GCC
42674 builtin and then its argument prototype would still apply. */
42675 #ifdef __cplusplus
42676 extern "C"
42677 #endif
42678 char pthread_mutex_timedlock ();
42679 /* The GNU C library defines this for functions which it implements
42680 to always fail with ENOSYS. Some functions are actually named
42681 something starting with __ and the normal name is an alias. */
42682 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42683 choke me
42684 #endif
42685
42686 int
42687 main ()
42688 {
42689 return pthread_mutex_timedlock ();
42690 ;
42691 return 0;
42692 }
42693 _ACEOF
42694 rm -f conftest.$ac_objext conftest$ac_exeext
42695 if { (ac_try="$ac_link"
42696 case "(($ac_try" in
42697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42698 *) ac_try_echo=$ac_try;;
42699 esac
42700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42701 (eval "$ac_link") 2>conftest.er1
42702 ac_status=$?
42703 grep -v '^ *+' conftest.er1 >conftest.err
42704 rm -f conftest.er1
42705 cat conftest.err >&5
42706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42707 (exit $ac_status); } && {
42708 test -z "$ac_c_werror_flag" ||
42709 test ! -s conftest.err
42710 } && test -s conftest$ac_exeext &&
42711 $as_test_x conftest$ac_exeext; then
42712 ac_cv_func_pthread_mutex_timedlock=yes
42713 else
42714 echo "$as_me: failed program was:" >&5
42715 sed 's/^/| /' conftest.$ac_ext >&5
42716
42717 ac_cv_func_pthread_mutex_timedlock=no
42718 fi
42719
42720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42721 conftest$ac_exeext conftest.$ac_ext
42722 fi
42723 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42724 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42725 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42726 cat >>confdefs.h <<\_ACEOF
42727 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42728 _ACEOF
42729
42730 else
42731 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42732 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42733 fi
42734
42735
42736 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42737 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42738 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42739 echo $ECHO_N "(cached) $ECHO_C" >&6
42740 else
42741 cat >conftest.$ac_ext <<_ACEOF
42742 /* confdefs.h. */
42743 _ACEOF
42744 cat confdefs.h >>conftest.$ac_ext
42745 cat >>conftest.$ac_ext <<_ACEOF
42746 /* end confdefs.h. */
42747 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42749 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42750
42751 /* System header to define __stub macros and hopefully few prototypes,
42752 which can conflict with char pthread_attr_setstacksize (); below.
42753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42754 <limits.h> exists even on freestanding compilers. */
42755
42756 #ifdef __STDC__
42757 # include <limits.h>
42758 #else
42759 # include <assert.h>
42760 #endif
42761
42762 #undef pthread_attr_setstacksize
42763
42764 /* Override any GCC internal prototype to avoid an error.
42765 Use char because int might match the return type of a GCC
42766 builtin and then its argument prototype would still apply. */
42767 #ifdef __cplusplus
42768 extern "C"
42769 #endif
42770 char pthread_attr_setstacksize ();
42771 /* The GNU C library defines this for functions which it implements
42772 to always fail with ENOSYS. Some functions are actually named
42773 something starting with __ and the normal name is an alias. */
42774 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42775 choke me
42776 #endif
42777
42778 int
42779 main ()
42780 {
42781 return pthread_attr_setstacksize ();
42782 ;
42783 return 0;
42784 }
42785 _ACEOF
42786 rm -f conftest.$ac_objext conftest$ac_exeext
42787 if { (ac_try="$ac_link"
42788 case "(($ac_try" in
42789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42790 *) ac_try_echo=$ac_try;;
42791 esac
42792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42793 (eval "$ac_link") 2>conftest.er1
42794 ac_status=$?
42795 grep -v '^ *+' conftest.er1 >conftest.err
42796 rm -f conftest.er1
42797 cat conftest.err >&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); } && {
42800 test -z "$ac_c_werror_flag" ||
42801 test ! -s conftest.err
42802 } && test -s conftest$ac_exeext &&
42803 $as_test_x conftest$ac_exeext; then
42804 ac_cv_func_pthread_attr_setstacksize=yes
42805 else
42806 echo "$as_me: failed program was:" >&5
42807 sed 's/^/| /' conftest.$ac_ext >&5
42808
42809 ac_cv_func_pthread_attr_setstacksize=no
42810 fi
42811
42812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42813 conftest$ac_exeext conftest.$ac_ext
42814 fi
42815 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42816 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42817 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42818 cat >>confdefs.h <<\_ACEOF
42819 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42820 _ACEOF
42821
42822 fi
42823
42824
42825
42826 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42827 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42828 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42830 else
42831
42832 cat >conftest.$ac_ext <<_ACEOF
42833 /* confdefs.h. */
42834 _ACEOF
42835 cat confdefs.h >>conftest.$ac_ext
42836 cat >>conftest.$ac_ext <<_ACEOF
42837 /* end confdefs.h. */
42838 #include <pthread.h>
42839 int
42840 main ()
42841 {
42842
42843 pthread_mutexattr_t attr;
42844 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42845
42846 ;
42847 return 0;
42848 }
42849 _ACEOF
42850 rm -f conftest.$ac_objext
42851 if { (ac_try="$ac_compile"
42852 case "(($ac_try" in
42853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42854 *) ac_try_echo=$ac_try;;
42855 esac
42856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42857 (eval "$ac_compile") 2>conftest.er1
42858 ac_status=$?
42859 grep -v '^ *+' conftest.er1 >conftest.err
42860 rm -f conftest.er1
42861 cat conftest.err >&5
42862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863 (exit $ac_status); } && {
42864 test -z "$ac_c_werror_flag" ||
42865 test ! -s conftest.err
42866 } && test -s conftest.$ac_objext; then
42867 wx_cv_type_pthread_mutexattr_t=yes
42868 else
42869 echo "$as_me: failed program was:" >&5
42870 sed 's/^/| /' conftest.$ac_ext >&5
42871
42872 wx_cv_type_pthread_mutexattr_t=no
42873
42874 fi
42875
42876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42877
42878 fi
42879 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42880 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42881
42882 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_PTHREAD_MUTEXATTR_T 1
42885 _ACEOF
42886
42887
42888 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42889 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42890 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42891 echo $ECHO_N "(cached) $ECHO_C" >&6
42892 else
42893
42894 cat >conftest.$ac_ext <<_ACEOF
42895 /* confdefs.h. */
42896 _ACEOF
42897 cat confdefs.h >>conftest.$ac_ext
42898 cat >>conftest.$ac_ext <<_ACEOF
42899 /* end confdefs.h. */
42900 #include <pthread.h>
42901 int
42902 main ()
42903 {
42904
42905 pthread_mutexattr_t attr;
42906 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42907
42908 ;
42909 return 0;
42910 }
42911 _ACEOF
42912 rm -f conftest.$ac_objext
42913 if { (ac_try="$ac_compile"
42914 case "(($ac_try" in
42915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42916 *) ac_try_echo=$ac_try;;
42917 esac
42918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42919 (eval "$ac_compile") 2>conftest.er1
42920 ac_status=$?
42921 grep -v '^ *+' conftest.er1 >conftest.err
42922 rm -f conftest.er1
42923 cat conftest.err >&5
42924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42925 (exit $ac_status); } && {
42926 test -z "$ac_c_werror_flag" ||
42927 test ! -s conftest.err
42928 } && test -s conftest.$ac_objext; then
42929 wx_cv_func_pthread_mutexattr_settype_decl=yes
42930 else
42931 echo "$as_me: failed program was:" >&5
42932 sed 's/^/| /' conftest.$ac_ext >&5
42933
42934 wx_cv_func_pthread_mutexattr_settype_decl=no
42935
42936 fi
42937
42938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42939
42940 fi
42941 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42942 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42943 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42944 cat >>confdefs.h <<\_ACEOF
42945 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42946 _ACEOF
42947
42948 fi
42949 else
42950 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42951 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42952 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42953 echo $ECHO_N "(cached) $ECHO_C" >&6
42954 else
42955
42956 cat >conftest.$ac_ext <<_ACEOF
42957 /* confdefs.h. */
42958 _ACEOF
42959 cat confdefs.h >>conftest.$ac_ext
42960 cat >>conftest.$ac_ext <<_ACEOF
42961 /* end confdefs.h. */
42962 #include <pthread.h>
42963 int
42964 main ()
42965 {
42966
42967 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42968
42969 ;
42970 return 0;
42971 }
42972 _ACEOF
42973 rm -f conftest.$ac_objext
42974 if { (ac_try="$ac_compile"
42975 case "(($ac_try" in
42976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42977 *) ac_try_echo=$ac_try;;
42978 esac
42979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42980 (eval "$ac_compile") 2>conftest.er1
42981 ac_status=$?
42982 grep -v '^ *+' conftest.er1 >conftest.err
42983 rm -f conftest.er1
42984 cat conftest.err >&5
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); } && {
42987 test -z "$ac_c_werror_flag" ||
42988 test ! -s conftest.err
42989 } && test -s conftest.$ac_objext; then
42990
42991 wx_cv_type_pthread_rec_mutex_init=yes
42992
42993 else
42994 echo "$as_me: failed program was:" >&5
42995 sed 's/^/| /' conftest.$ac_ext >&5
42996
42997
42998 wx_cv_type_pthread_rec_mutex_init=no
42999
43000
43001 fi
43002
43003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43004
43005 fi
43006 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43007 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43008 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43009 cat >>confdefs.h <<\_ACEOF
43010 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43011 _ACEOF
43012
43013 else
43014 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43015 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43016 fi
43017 fi
43018 fi
43019
43020 else
43021 if test "$wxUSE_THREADS" = "yes" ; then
43022 case "${host}" in
43023 *-*-mingw32* )
43024 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43025 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43026 if test "${wx_cv_cflags_mthread+set}" = set; then
43027 echo $ECHO_N "(cached) $ECHO_C" >&6
43028 else
43029
43030 CFLAGS_OLD="$CFLAGS"
43031 CFLAGS="-mthreads $CFLAGS"
43032 cat >conftest.$ac_ext <<_ACEOF
43033 /* confdefs.h. */
43034 _ACEOF
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h. */
43038
43039 int
43040 main ()
43041 {
43042
43043 ;
43044 return 0;
43045 }
43046 _ACEOF
43047 rm -f conftest.$ac_objext
43048 if { (ac_try="$ac_compile"
43049 case "(($ac_try" in
43050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43051 *) ac_try_echo=$ac_try;;
43052 esac
43053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43054 (eval "$ac_compile") 2>conftest.er1
43055 ac_status=$?
43056 grep -v '^ *+' conftest.er1 >conftest.err
43057 rm -f conftest.er1
43058 cat conftest.err >&5
43059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060 (exit $ac_status); } && {
43061 test -z "$ac_c_werror_flag" ||
43062 test ! -s conftest.err
43063 } && test -s conftest.$ac_objext; then
43064 wx_cv_cflags_mthread=yes
43065 else
43066 echo "$as_me: failed program was:" >&5
43067 sed 's/^/| /' conftest.$ac_ext >&5
43068
43069 wx_cv_cflags_mthread=no
43070
43071 fi
43072
43073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43074
43075
43076 fi
43077 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43078 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43079
43080 if test "$wx_cv_cflags_mthread" = "yes"; then
43081 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43082 LDFLAGS="$LDFLAGS -mthreads"
43083 else
43084 CFLAGS="$CFLAGS_OLD"
43085 fi
43086 ;;
43087 *-pc-os2*emx )
43088 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43089 LDFLAGS="$LDFLAGS -Zmt"
43090 ;;
43091 esac
43092 fi
43093 fi
43094
43095 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43096 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43097 if test "${ac_cv_func_localtime_r+set}" = set; then
43098 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 else
43100 cat >conftest.$ac_ext <<_ACEOF
43101 /* confdefs.h. */
43102 _ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43106 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43108 #define localtime_r innocuous_localtime_r
43109
43110 /* System header to define __stub macros and hopefully few prototypes,
43111 which can conflict with char localtime_r (); below.
43112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43113 <limits.h> exists even on freestanding compilers. */
43114
43115 #ifdef __STDC__
43116 # include <limits.h>
43117 #else
43118 # include <assert.h>
43119 #endif
43120
43121 #undef localtime_r
43122
43123 /* Override any GCC internal prototype to avoid an error.
43124 Use char because int might match the return type of a GCC
43125 builtin and then its argument prototype would still apply. */
43126 #ifdef __cplusplus
43127 extern "C"
43128 #endif
43129 char localtime_r ();
43130 /* The GNU C library defines this for functions which it implements
43131 to always fail with ENOSYS. Some functions are actually named
43132 something starting with __ and the normal name is an alias. */
43133 #if defined __stub_localtime_r || defined __stub___localtime_r
43134 choke me
43135 #endif
43136
43137 int
43138 main ()
43139 {
43140 return localtime_r ();
43141 ;
43142 return 0;
43143 }
43144 _ACEOF
43145 rm -f conftest.$ac_objext conftest$ac_exeext
43146 if { (ac_try="$ac_link"
43147 case "(($ac_try" in
43148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43149 *) ac_try_echo=$ac_try;;
43150 esac
43151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43152 (eval "$ac_link") 2>conftest.er1
43153 ac_status=$?
43154 grep -v '^ *+' conftest.er1 >conftest.err
43155 rm -f conftest.er1
43156 cat conftest.err >&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); } && {
43159 test -z "$ac_c_werror_flag" ||
43160 test ! -s conftest.err
43161 } && test -s conftest$ac_exeext &&
43162 $as_test_x conftest$ac_exeext; then
43163 ac_cv_func_localtime_r=yes
43164 else
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43167
43168 ac_cv_func_localtime_r=no
43169 fi
43170
43171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43172 conftest$ac_exeext conftest.$ac_ext
43173 fi
43174 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43175 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43176 if test $ac_cv_func_localtime_r = yes; then
43177 cat >>confdefs.h <<\_ACEOF
43178 #define HAVE_LOCALTIME_R 1
43179 _ACEOF
43180
43181 fi
43182
43183 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43184 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43185 if test "${ac_cv_func_gmtime_r+set}" = set; then
43186 echo $ECHO_N "(cached) $ECHO_C" >&6
43187 else
43188 cat >conftest.$ac_ext <<_ACEOF
43189 /* confdefs.h. */
43190 _ACEOF
43191 cat confdefs.h >>conftest.$ac_ext
43192 cat >>conftest.$ac_ext <<_ACEOF
43193 /* end confdefs.h. */
43194 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43196 #define gmtime_r innocuous_gmtime_r
43197
43198 /* System header to define __stub macros and hopefully few prototypes,
43199 which can conflict with char gmtime_r (); below.
43200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43201 <limits.h> exists even on freestanding compilers. */
43202
43203 #ifdef __STDC__
43204 # include <limits.h>
43205 #else
43206 # include <assert.h>
43207 #endif
43208
43209 #undef gmtime_r
43210
43211 /* Override any GCC internal prototype to avoid an error.
43212 Use char because int might match the return type of a GCC
43213 builtin and then its argument prototype would still apply. */
43214 #ifdef __cplusplus
43215 extern "C"
43216 #endif
43217 char gmtime_r ();
43218 /* The GNU C library defines this for functions which it implements
43219 to always fail with ENOSYS. Some functions are actually named
43220 something starting with __ and the normal name is an alias. */
43221 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43222 choke me
43223 #endif
43224
43225 int
43226 main ()
43227 {
43228 return gmtime_r ();
43229 ;
43230 return 0;
43231 }
43232 _ACEOF
43233 rm -f conftest.$ac_objext conftest$ac_exeext
43234 if { (ac_try="$ac_link"
43235 case "(($ac_try" in
43236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43237 *) ac_try_echo=$ac_try;;
43238 esac
43239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43240 (eval "$ac_link") 2>conftest.er1
43241 ac_status=$?
43242 grep -v '^ *+' conftest.er1 >conftest.err
43243 rm -f conftest.er1
43244 cat conftest.err >&5
43245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246 (exit $ac_status); } && {
43247 test -z "$ac_c_werror_flag" ||
43248 test ! -s conftest.err
43249 } && test -s conftest$ac_exeext &&
43250 $as_test_x conftest$ac_exeext; then
43251 ac_cv_func_gmtime_r=yes
43252 else
43253 echo "$as_me: failed program was:" >&5
43254 sed 's/^/| /' conftest.$ac_ext >&5
43255
43256 ac_cv_func_gmtime_r=no
43257 fi
43258
43259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43260 conftest$ac_exeext conftest.$ac_ext
43261 fi
43262 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43263 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43264 if test $ac_cv_func_gmtime_r = yes; then
43265 cat >>confdefs.h <<\_ACEOF
43266 #define HAVE_GMTIME_R 1
43267 _ACEOF
43268
43269 fi
43270
43271 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43272 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43273 if test "${ac_cv_func_readdir_r+set}" = set; then
43274 echo $ECHO_N "(cached) $ECHO_C" >&6
43275 else
43276 cat >conftest.$ac_ext <<_ACEOF
43277 /* confdefs.h. */
43278 _ACEOF
43279 cat confdefs.h >>conftest.$ac_ext
43280 cat >>conftest.$ac_ext <<_ACEOF
43281 /* end confdefs.h. */
43282 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43284 #define readdir_r innocuous_readdir_r
43285
43286 /* System header to define __stub macros and hopefully few prototypes,
43287 which can conflict with char readdir_r (); below.
43288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43289 <limits.h> exists even on freestanding compilers. */
43290
43291 #ifdef __STDC__
43292 # include <limits.h>
43293 #else
43294 # include <assert.h>
43295 #endif
43296
43297 #undef readdir_r
43298
43299 /* Override any GCC internal prototype to avoid an error.
43300 Use char because int might match the return type of a GCC
43301 builtin and then its argument prototype would still apply. */
43302 #ifdef __cplusplus
43303 extern "C"
43304 #endif
43305 char readdir_r ();
43306 /* The GNU C library defines this for functions which it implements
43307 to always fail with ENOSYS. Some functions are actually named
43308 something starting with __ and the normal name is an alias. */
43309 #if defined __stub_readdir_r || defined __stub___readdir_r
43310 choke me
43311 #endif
43312
43313 int
43314 main ()
43315 {
43316 return readdir_r ();
43317 ;
43318 return 0;
43319 }
43320 _ACEOF
43321 rm -f conftest.$ac_objext conftest$ac_exeext
43322 if { (ac_try="$ac_link"
43323 case "(($ac_try" in
43324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43325 *) ac_try_echo=$ac_try;;
43326 esac
43327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43328 (eval "$ac_link") 2>conftest.er1
43329 ac_status=$?
43330 grep -v '^ *+' conftest.er1 >conftest.err
43331 rm -f conftest.er1
43332 cat conftest.err >&5
43333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334 (exit $ac_status); } && {
43335 test -z "$ac_c_werror_flag" ||
43336 test ! -s conftest.err
43337 } && test -s conftest$ac_exeext &&
43338 $as_test_x conftest$ac_exeext; then
43339 ac_cv_func_readdir_r=yes
43340 else
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.$ac_ext >&5
43343
43344 ac_cv_func_readdir_r=no
43345 fi
43346
43347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43348 conftest$ac_exeext conftest.$ac_ext
43349 fi
43350 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43351 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43352 if test $ac_cv_func_readdir_r = yes; then
43353 cat >>confdefs.h <<\_ACEOF
43354 #define HAVE_READDIR_R 1
43355 _ACEOF
43356
43357 fi
43358
43359
43360
43361
43362 ac_ext=c
43363 ac_cpp='$CPP $CPPFLAGS'
43364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43367
43368 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43369 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43370
43371 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43372 echo $ECHO_N "(cached) $ECHO_C" >&6
43373 else
43374
43375
43376 ################################################################
43377
43378 ac_cv_func_which_gethostbyname_r=unknown
43379
43380 #
43381 # ONE ARGUMENT (sanity check)
43382 #
43383
43384 # This should fail, as there is no variant of gethostbyname_r() that takes
43385 # a single argument. If it actually compiles, then we can assume that
43386 # netdb.h is not declaring the function, and the compiler is thereby
43387 # assuming an implicit prototype. In which case, we're out of luck.
43388 #
43389 cat >conftest.$ac_ext <<_ACEOF
43390 /* confdefs.h. */
43391 _ACEOF
43392 cat confdefs.h >>conftest.$ac_ext
43393 cat >>conftest.$ac_ext <<_ACEOF
43394 /* end confdefs.h. */
43395 #include <netdb.h>
43396 int
43397 main ()
43398 {
43399
43400 char *name = "www.gnu.org";
43401 (void)gethostbyname_r(name) /* ; */
43402
43403 ;
43404 return 0;
43405 }
43406 _ACEOF
43407 rm -f conftest.$ac_objext
43408 if { (ac_try="$ac_compile"
43409 case "(($ac_try" in
43410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43411 *) ac_try_echo=$ac_try;;
43412 esac
43413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43414 (eval "$ac_compile") 2>conftest.er1
43415 ac_status=$?
43416 grep -v '^ *+' conftest.er1 >conftest.err
43417 rm -f conftest.er1
43418 cat conftest.err >&5
43419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420 (exit $ac_status); } && {
43421 test -z "$ac_c_werror_flag" ||
43422 test ! -s conftest.err
43423 } && test -s conftest.$ac_objext; then
43424 ac_cv_func_which_gethostbyname_r=no
43425 else
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.$ac_ext >&5
43428
43429
43430 fi
43431
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433
43434 #
43435 # SIX ARGUMENTS
43436 # (e.g. Linux)
43437 #
43438
43439 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43440
43441 cat >conftest.$ac_ext <<_ACEOF
43442 /* confdefs.h. */
43443 _ACEOF
43444 cat confdefs.h >>conftest.$ac_ext
43445 cat >>conftest.$ac_ext <<_ACEOF
43446 /* end confdefs.h. */
43447 #include <netdb.h>
43448 int
43449 main ()
43450 {
43451
43452 char *name = "www.gnu.org";
43453 struct hostent ret, *retp;
43454 char buf[1024];
43455 int buflen = 1024;
43456 int my_h_errno;
43457 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43458
43459 ;
43460 return 0;
43461 }
43462 _ACEOF
43463 rm -f conftest.$ac_objext
43464 if { (ac_try="$ac_compile"
43465 case "(($ac_try" in
43466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43467 *) ac_try_echo=$ac_try;;
43468 esac
43469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43470 (eval "$ac_compile") 2>conftest.er1
43471 ac_status=$?
43472 grep -v '^ *+' conftest.er1 >conftest.err
43473 rm -f conftest.er1
43474 cat conftest.err >&5
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); } && {
43477 test -z "$ac_c_werror_flag" ||
43478 test ! -s conftest.err
43479 } && test -s conftest.$ac_objext; then
43480 ac_cv_func_which_gethostbyname_r=six
43481 else
43482 echo "$as_me: failed program was:" >&5
43483 sed 's/^/| /' conftest.$ac_ext >&5
43484
43485
43486 fi
43487
43488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43489
43490 fi
43491
43492 #
43493 # FIVE ARGUMENTS
43494 # (e.g. Solaris)
43495 #
43496
43497 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43498
43499 cat >conftest.$ac_ext <<_ACEOF
43500 /* confdefs.h. */
43501 _ACEOF
43502 cat confdefs.h >>conftest.$ac_ext
43503 cat >>conftest.$ac_ext <<_ACEOF
43504 /* end confdefs.h. */
43505 #include <netdb.h>
43506 int
43507 main ()
43508 {
43509
43510 char *name = "www.gnu.org";
43511 struct hostent ret;
43512 char buf[1024];
43513 int buflen = 1024;
43514 int my_h_errno;
43515 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43516
43517 ;
43518 return 0;
43519 }
43520 _ACEOF
43521 rm -f conftest.$ac_objext
43522 if { (ac_try="$ac_compile"
43523 case "(($ac_try" in
43524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43525 *) ac_try_echo=$ac_try;;
43526 esac
43527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43528 (eval "$ac_compile") 2>conftest.er1
43529 ac_status=$?
43530 grep -v '^ *+' conftest.er1 >conftest.err
43531 rm -f conftest.er1
43532 cat conftest.err >&5
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); } && {
43535 test -z "$ac_c_werror_flag" ||
43536 test ! -s conftest.err
43537 } && test -s conftest.$ac_objext; then
43538 ac_cv_func_which_gethostbyname_r=five
43539 else
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.$ac_ext >&5
43542
43543
43544 fi
43545
43546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43547
43548 fi
43549
43550 #
43551 # THREE ARGUMENTS
43552 # (e.g. AIX, HP-UX, Tru64)
43553 #
43554
43555 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43556
43557 cat >conftest.$ac_ext <<_ACEOF
43558 /* confdefs.h. */
43559 _ACEOF
43560 cat confdefs.h >>conftest.$ac_ext
43561 cat >>conftest.$ac_ext <<_ACEOF
43562 /* end confdefs.h. */
43563 #include <netdb.h>
43564 int
43565 main ()
43566 {
43567
43568 char *name = "www.gnu.org";
43569 struct hostent ret;
43570 struct hostent_data data;
43571 (void)gethostbyname_r(name, &ret, &data) /* ; */
43572
43573 ;
43574 return 0;
43575 }
43576 _ACEOF
43577 rm -f conftest.$ac_objext
43578 if { (ac_try="$ac_compile"
43579 case "(($ac_try" in
43580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43581 *) ac_try_echo=$ac_try;;
43582 esac
43583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43584 (eval "$ac_compile") 2>conftest.er1
43585 ac_status=$?
43586 grep -v '^ *+' conftest.er1 >conftest.err
43587 rm -f conftest.er1
43588 cat conftest.err >&5
43589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43590 (exit $ac_status); } && {
43591 test -z "$ac_c_werror_flag" ||
43592 test ! -s conftest.err
43593 } && test -s conftest.$ac_objext; then
43594 ac_cv_func_which_gethostbyname_r=three
43595 else
43596 echo "$as_me: failed program was:" >&5
43597 sed 's/^/| /' conftest.$ac_ext >&5
43598
43599
43600 fi
43601
43602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43603
43604 fi
43605
43606 ################################################################
43607
43608
43609 fi
43610
43611 case "$ac_cv_func_which_gethostbyname_r" in
43612 three)
43613 { echo "$as_me:$LINENO: result: three" >&5
43614 echo "${ECHO_T}three" >&6; }
43615 cat >>confdefs.h <<\_ACEOF
43616 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43617 _ACEOF
43618
43619 ;;
43620
43621 five)
43622 { echo "$as_me:$LINENO: result: five" >&5
43623 echo "${ECHO_T}five" >&6; }
43624 cat >>confdefs.h <<\_ACEOF
43625 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43626 _ACEOF
43627
43628 ;;
43629
43630 six)
43631 { echo "$as_me:$LINENO: result: six" >&5
43632 echo "${ECHO_T}six" >&6; }
43633 cat >>confdefs.h <<\_ACEOF
43634 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43635 _ACEOF
43636
43637 ;;
43638
43639 no)
43640 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43641 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43642 ;;
43643
43644 unknown)
43645 { echo "$as_me:$LINENO: result: can't tell" >&5
43646 echo "${ECHO_T}can't tell" >&6; }
43647 ;;
43648
43649 *)
43650 { { echo "$as_me:$LINENO: error: internal error" >&5
43651 echo "$as_me: error: internal error" >&2;}
43652 { (exit 1); exit 1; }; }
43653 ;;
43654 esac
43655
43656 ac_ext=c
43657 ac_cpp='$CPP $CPPFLAGS'
43658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43661
43662
43663
43664 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43665 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43666 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43667 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43668 if test "${ac_cv_func_gethostbyname+set}" = set; then
43669 echo $ECHO_N "(cached) $ECHO_C" >&6
43670 else
43671 cat >conftest.$ac_ext <<_ACEOF
43672 /* confdefs.h. */
43673 _ACEOF
43674 cat confdefs.h >>conftest.$ac_ext
43675 cat >>conftest.$ac_ext <<_ACEOF
43676 /* end confdefs.h. */
43677 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43679 #define gethostbyname innocuous_gethostbyname
43680
43681 /* System header to define __stub macros and hopefully few prototypes,
43682 which can conflict with char gethostbyname (); below.
43683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43684 <limits.h> exists even on freestanding compilers. */
43685
43686 #ifdef __STDC__
43687 # include <limits.h>
43688 #else
43689 # include <assert.h>
43690 #endif
43691
43692 #undef gethostbyname
43693
43694 /* Override any GCC internal prototype to avoid an error.
43695 Use char because int might match the return type of a GCC
43696 builtin and then its argument prototype would still apply. */
43697 #ifdef __cplusplus
43698 extern "C"
43699 #endif
43700 char gethostbyname ();
43701 /* The GNU C library defines this for functions which it implements
43702 to always fail with ENOSYS. Some functions are actually named
43703 something starting with __ and the normal name is an alias. */
43704 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43705 choke me
43706 #endif
43707
43708 int
43709 main ()
43710 {
43711 return gethostbyname ();
43712 ;
43713 return 0;
43714 }
43715 _ACEOF
43716 rm -f conftest.$ac_objext conftest$ac_exeext
43717 if { (ac_try="$ac_link"
43718 case "(($ac_try" in
43719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43720 *) ac_try_echo=$ac_try;;
43721 esac
43722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43723 (eval "$ac_link") 2>conftest.er1
43724 ac_status=$?
43725 grep -v '^ *+' conftest.er1 >conftest.err
43726 rm -f conftest.er1
43727 cat conftest.err >&5
43728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43729 (exit $ac_status); } && {
43730 test -z "$ac_c_werror_flag" ||
43731 test ! -s conftest.err
43732 } && test -s conftest$ac_exeext &&
43733 $as_test_x conftest$ac_exeext; then
43734 ac_cv_func_gethostbyname=yes
43735 else
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.$ac_ext >&5
43738
43739 ac_cv_func_gethostbyname=no
43740 fi
43741
43742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43743 conftest$ac_exeext conftest.$ac_ext
43744 fi
43745 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43746 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43747 if test $ac_cv_func_gethostbyname = yes; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define HAVE_GETHOSTBYNAME 1
43750 _ACEOF
43751
43752 fi
43753
43754 fi
43755
43756 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43757 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43758 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43759 echo $ECHO_N "(cached) $ECHO_C" >&6
43760 else
43761
43762 ac_ext=cpp
43763 ac_cpp='$CXXCPP $CPPFLAGS'
43764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43767
43768
43769 cat >conftest.$ac_ext <<_ACEOF
43770 /* confdefs.h. */
43771 _ACEOF
43772 cat confdefs.h >>conftest.$ac_ext
43773 cat >>conftest.$ac_ext <<_ACEOF
43774 /* end confdefs.h. */
43775 #include <netdb.h>
43776 int
43777 main ()
43778 {
43779
43780 char *name;
43781 char *proto;
43782 struct servent *se, *res;
43783 char buffer[2048];
43784 int buflen = 2048;
43785 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43786
43787 ;
43788 return 0;
43789 }
43790 _ACEOF
43791 rm -f conftest.$ac_objext
43792 if { (ac_try="$ac_compile"
43793 case "(($ac_try" in
43794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43795 *) ac_try_echo=$ac_try;;
43796 esac
43797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43798 (eval "$ac_compile") 2>conftest.er1
43799 ac_status=$?
43800 grep -v '^ *+' conftest.er1 >conftest.err
43801 rm -f conftest.er1
43802 cat conftest.err >&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); } && {
43805 test -z "$ac_cxx_werror_flag" ||
43806 test ! -s conftest.err
43807 } && test -s conftest.$ac_objext; then
43808 ac_cv_func_which_getservbyname_r=six
43809 else
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43812
43813
43814 cat >conftest.$ac_ext <<_ACEOF
43815 /* confdefs.h. */
43816 _ACEOF
43817 cat confdefs.h >>conftest.$ac_ext
43818 cat >>conftest.$ac_ext <<_ACEOF
43819 /* end confdefs.h. */
43820 #include <netdb.h>
43821 int
43822 main ()
43823 {
43824
43825 char *name;
43826 char *proto;
43827 struct servent *se;
43828 char buffer[2048];
43829 int buflen = 2048;
43830 (void) getservbyname_r(name, proto, se, buffer, buflen)
43831
43832 ;
43833 return 0;
43834 }
43835 _ACEOF
43836 rm -f conftest.$ac_objext
43837 if { (ac_try="$ac_compile"
43838 case "(($ac_try" in
43839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43840 *) ac_try_echo=$ac_try;;
43841 esac
43842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43843 (eval "$ac_compile") 2>conftest.er1
43844 ac_status=$?
43845 grep -v '^ *+' conftest.er1 >conftest.err
43846 rm -f conftest.er1
43847 cat conftest.err >&5
43848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43849 (exit $ac_status); } && {
43850 test -z "$ac_cxx_werror_flag" ||
43851 test ! -s conftest.err
43852 } && test -s conftest.$ac_objext; then
43853 ac_cv_func_which_getservbyname_r=five
43854 else
43855 echo "$as_me: failed program was:" >&5
43856 sed 's/^/| /' conftest.$ac_ext >&5
43857
43858
43859 cat >conftest.$ac_ext <<_ACEOF
43860 /* confdefs.h. */
43861 _ACEOF
43862 cat confdefs.h >>conftest.$ac_ext
43863 cat >>conftest.$ac_ext <<_ACEOF
43864 /* end confdefs.h. */
43865 #include <netdb.h>
43866 int
43867 main ()
43868 {
43869
43870 char *name;
43871 char *proto;
43872 struct servent *se;
43873 struct servent_data data;
43874 (void) getservbyname_r(name, proto, se, &data);
43875
43876 ;
43877 return 0;
43878 }
43879 _ACEOF
43880 rm -f conftest.$ac_objext
43881 if { (ac_try="$ac_compile"
43882 case "(($ac_try" in
43883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43884 *) ac_try_echo=$ac_try;;
43885 esac
43886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43887 (eval "$ac_compile") 2>conftest.er1
43888 ac_status=$?
43889 grep -v '^ *+' conftest.er1 >conftest.err
43890 rm -f conftest.er1
43891 cat conftest.err >&5
43892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43893 (exit $ac_status); } && {
43894 test -z "$ac_cxx_werror_flag" ||
43895 test ! -s conftest.err
43896 } && test -s conftest.$ac_objext; then
43897 ac_cv_func_which_getservbyname_r=four
43898 else
43899 echo "$as_me: failed program was:" >&5
43900 sed 's/^/| /' conftest.$ac_ext >&5
43901
43902 ac_cv_func_which_getservbyname_r=no
43903
43904 fi
43905
43906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43907
43908
43909 fi
43910
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43912
43913
43914 fi
43915
43916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43917 ac_ext=c
43918 ac_cpp='$CPP $CPPFLAGS'
43919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43922
43923
43924
43925 fi
43926 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43927 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43928
43929 if test $ac_cv_func_which_getservbyname_r = six; then
43930 cat >>confdefs.h <<\_ACEOF
43931 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43932 _ACEOF
43933
43934 elif test $ac_cv_func_which_getservbyname_r = five; then
43935 cat >>confdefs.h <<\_ACEOF
43936 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43937 _ACEOF
43938
43939 elif test $ac_cv_func_which_getservbyname_r = four; then
43940 cat >>confdefs.h <<\_ACEOF
43941 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43942 _ACEOF
43943
43944 fi
43945
43946
43947 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43948 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43949
43950 for ac_func in getservbyname
43951 do
43952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43956 echo $ECHO_N "(cached) $ECHO_C" >&6
43957 else
43958 cat >conftest.$ac_ext <<_ACEOF
43959 /* confdefs.h. */
43960 _ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43966 #define $ac_func innocuous_$ac_func
43967
43968 /* System header to define __stub macros and hopefully few prototypes,
43969 which can conflict with char $ac_func (); below.
43970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43971 <limits.h> exists even on freestanding compilers. */
43972
43973 #ifdef __STDC__
43974 # include <limits.h>
43975 #else
43976 # include <assert.h>
43977 #endif
43978
43979 #undef $ac_func
43980
43981 /* Override any GCC internal prototype to avoid an error.
43982 Use char because int might match the return type of a GCC
43983 builtin and then its argument prototype would still apply. */
43984 #ifdef __cplusplus
43985 extern "C"
43986 #endif
43987 char $ac_func ();
43988 /* The GNU C library defines this for functions which it implements
43989 to always fail with ENOSYS. Some functions are actually named
43990 something starting with __ and the normal name is an alias. */
43991 #if defined __stub_$ac_func || defined __stub___$ac_func
43992 choke me
43993 #endif
43994
43995 int
43996 main ()
43997 {
43998 return $ac_func ();
43999 ;
44000 return 0;
44001 }
44002 _ACEOF
44003 rm -f conftest.$ac_objext conftest$ac_exeext
44004 if { (ac_try="$ac_link"
44005 case "(($ac_try" in
44006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44007 *) ac_try_echo=$ac_try;;
44008 esac
44009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44010 (eval "$ac_link") 2>conftest.er1
44011 ac_status=$?
44012 grep -v '^ *+' conftest.er1 >conftest.err
44013 rm -f conftest.er1
44014 cat conftest.err >&5
44015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44016 (exit $ac_status); } && {
44017 test -z "$ac_c_werror_flag" ||
44018 test ! -s conftest.err
44019 } && test -s conftest$ac_exeext &&
44020 $as_test_x conftest$ac_exeext; then
44021 eval "$as_ac_var=yes"
44022 else
44023 echo "$as_me: failed program was:" >&5
44024 sed 's/^/| /' conftest.$ac_ext >&5
44025
44026 eval "$as_ac_var=no"
44027 fi
44028
44029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44030 conftest$ac_exeext conftest.$ac_ext
44031 fi
44032 ac_res=`eval echo '${'$as_ac_var'}'`
44033 { echo "$as_me:$LINENO: result: $ac_res" >&5
44034 echo "${ECHO_T}$ac_res" >&6; }
44035 if test `eval echo '${'$as_ac_var'}'` = yes; then
44036 cat >>confdefs.h <<_ACEOF
44037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44038 _ACEOF
44039 cat >>confdefs.h <<\_ACEOF
44040 #define HAVE_GETSERVBYNAME 1
44041 _ACEOF
44042
44043 fi
44044 done
44045
44046 fi
44047
44048 if test "$wxUSE_THREADS" = "yes"; then
44049 cat >>confdefs.h <<\_ACEOF
44050 #define wxUSE_THREADS 1
44051 _ACEOF
44052
44053
44054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
44055 else
44056 if test "$wx_cv_func_strtok_r" = "yes"; then
44057 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
44058 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
44059 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
44060 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
44061 { echo "$as_me:$LINENO: result: yes" >&5
44062 echo "${ECHO_T}yes" >&6; }
44063 else
44064 { echo "$as_me:$LINENO: result: no" >&5
44065 echo "${ECHO_T}no" >&6; }
44066 fi
44067 fi
44068 fi
44069
44070 if test "$WXGTK20" = 1 ; then
44071 cat >>confdefs.h <<_ACEOF
44072 #define __WXGTK20__ $WXGTK20
44073 _ACEOF
44074
44075 WXGTK12=1
44076 fi
44077
44078 if test "$WXGTK12" = 1 ; then
44079 cat >>confdefs.h <<_ACEOF
44080 #define __WXGTK12__ $WXGTK12
44081 _ACEOF
44082
44083 fi
44084
44085 if test "$WXGTK127" = 1 ; then
44086 cat >>confdefs.h <<_ACEOF
44087 #define __WXGTK127__ $WXGTK127
44088 _ACEOF
44089
44090 fi
44091
44092 if test "$WXGPE" = 1 ; then
44093 cat >>confdefs.h <<_ACEOF
44094 #define __WXGPE__ $WXGPE
44095 _ACEOF
44096
44097 fi
44098
44099 DEBUG_CFLAGS=
44100 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
44101 DEBUG_CFLAGS="-g"
44102 wxUSE_OPTIMISE=no
44103 fi
44104
44105 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
44106 wxUSE_DEBUG_INFO=yes
44107 if test "$GCC" = yes; then
44108 DEBUG_CFLAGS="-ggdb"
44109 fi
44110 fi
44111
44112 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
44113 cat >>confdefs.h <<\_ACEOF
44114 #define WXDEBUG 1
44115 _ACEOF
44116
44117 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44118 else
44119 if test "$wxUSE_GTK" = 1 ; then
44120 if test "x$wxGTK_VERSION" = "x1" ; then
44121 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44122 fi
44123 fi
44124 fi
44125
44126 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44127 cat >>confdefs.h <<\_ACEOF
44128 #define wxUSE_MEMORY_TRACING 1
44129 _ACEOF
44130
44131 cat >>confdefs.h <<\_ACEOF
44132 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44133 _ACEOF
44134
44135 cat >>confdefs.h <<\_ACEOF
44136 #define wxUSE_DEBUG_NEW_ALWAYS 1
44137 _ACEOF
44138
44139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44140 fi
44141
44142 if test "$wxUSE_DMALLOC" = "yes" ; then
44143 DMALLOC_LIBS="-ldmallocthcxx"
44144 fi
44145
44146 PROFILE_FLAGS=
44147 if test "$wxUSE_PROFILE" = "yes" ; then
44148 PROFILE_FLAGS=" -pg"
44149 fi
44150
44151 if test "$GCC" = "yes" ; then
44152 if test "$wxUSE_NO_RTTI" = "yes" ; then
44153 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44154 fi
44155 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44156 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44157 fi
44158 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44159 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44160 fi
44161
44162 case "${host}" in
44163 powerpc*-*-aix* )
44164 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44165 ;;
44166 *-hppa* )
44167 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44168 ;;
44169 esac
44170 fi
44171
44172 OPTIMISE_CFLAGS=
44173 if test "$wxUSE_OPTIMISE" = "no" ; then
44174 if test "$GCC" = yes ; then
44175 OPTIMISE_CFLAGS="-O0"
44176 fi
44177 else
44178 if test "$GCC" = yes ; then
44179 case "${host}" in
44180 *-pc-os2_emx | *-pc-os2-emx )
44181 OPTIMISE_CFLAGS="-O2"
44182 ;;
44183 *)
44184 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44185 ;;
44186 esac
44187 else
44188 OPTIMISE_CFLAGS="-O"
44189 fi
44190 fi
44191
44192
44193 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44194 cat >>confdefs.h <<\_ACEOF
44195 #define WXWIN_COMPATIBILITY_2_6 1
44196 _ACEOF
44197
44198
44199 WXWIN_COMPATIBILITY_2_8="yes"
44200 fi
44201
44202 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44203 cat >>confdefs.h <<\_ACEOF
44204 #define WXWIN_COMPATIBILITY_2_8 1
44205 _ACEOF
44206
44207 fi
44208
44209
44210 if test "$wxUSE_GUI" = "yes"; then
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_GUI 1
44213 _ACEOF
44214
44215
44216 fi
44217
44218
44219 if test "$wxUSE_UNIX" = "yes"; then
44220 cat >>confdefs.h <<\_ACEOF
44221 #define wxUSE_UNIX 1
44222 _ACEOF
44223
44224 fi
44225
44226
44227 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44228
44229 HAVE_DL_FUNCS=0
44230 HAVE_SHL_FUNCS=0
44231 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44232 if test "$USE_DARWIN" = 1; then
44233 HAVE_DL_FUNCS=1
44234 elif test "$USE_DOS" = 1; then
44235 HAVE_DL_FUNCS=0
44236 else
44237
44238 for ac_func in dlopen
44239 do
44240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44241 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44243 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44244 echo $ECHO_N "(cached) $ECHO_C" >&6
44245 else
44246 cat >conftest.$ac_ext <<_ACEOF
44247 /* confdefs.h. */
44248 _ACEOF
44249 cat confdefs.h >>conftest.$ac_ext
44250 cat >>conftest.$ac_ext <<_ACEOF
44251 /* end confdefs.h. */
44252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44254 #define $ac_func innocuous_$ac_func
44255
44256 /* System header to define __stub macros and hopefully few prototypes,
44257 which can conflict with char $ac_func (); below.
44258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44259 <limits.h> exists even on freestanding compilers. */
44260
44261 #ifdef __STDC__
44262 # include <limits.h>
44263 #else
44264 # include <assert.h>
44265 #endif
44266
44267 #undef $ac_func
44268
44269 /* Override any GCC internal prototype to avoid an error.
44270 Use char because int might match the return type of a GCC
44271 builtin and then its argument prototype would still apply. */
44272 #ifdef __cplusplus
44273 extern "C"
44274 #endif
44275 char $ac_func ();
44276 /* The GNU C library defines this for functions which it implements
44277 to always fail with ENOSYS. Some functions are actually named
44278 something starting with __ and the normal name is an alias. */
44279 #if defined __stub_$ac_func || defined __stub___$ac_func
44280 choke me
44281 #endif
44282
44283 int
44284 main ()
44285 {
44286 return $ac_func ();
44287 ;
44288 return 0;
44289 }
44290 _ACEOF
44291 rm -f conftest.$ac_objext conftest$ac_exeext
44292 if { (ac_try="$ac_link"
44293 case "(($ac_try" in
44294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44295 *) ac_try_echo=$ac_try;;
44296 esac
44297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44298 (eval "$ac_link") 2>conftest.er1
44299 ac_status=$?
44300 grep -v '^ *+' conftest.er1 >conftest.err
44301 rm -f conftest.er1
44302 cat conftest.err >&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); } && {
44305 test -z "$ac_c_werror_flag" ||
44306 test ! -s conftest.err
44307 } && test -s conftest$ac_exeext &&
44308 $as_test_x conftest$ac_exeext; then
44309 eval "$as_ac_var=yes"
44310 else
44311 echo "$as_me: failed program was:" >&5
44312 sed 's/^/| /' conftest.$ac_ext >&5
44313
44314 eval "$as_ac_var=no"
44315 fi
44316
44317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44318 conftest$ac_exeext conftest.$ac_ext
44319 fi
44320 ac_res=`eval echo '${'$as_ac_var'}'`
44321 { echo "$as_me:$LINENO: result: $ac_res" >&5
44322 echo "${ECHO_T}$ac_res" >&6; }
44323 if test `eval echo '${'$as_ac_var'}'` = yes; then
44324 cat >>confdefs.h <<_ACEOF
44325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44326 _ACEOF
44327
44328 cat >>confdefs.h <<\_ACEOF
44329 #define HAVE_DLOPEN 1
44330 _ACEOF
44331
44332 HAVE_DL_FUNCS=1
44333
44334 else
44335
44336 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44337 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44338 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44339 echo $ECHO_N "(cached) $ECHO_C" >&6
44340 else
44341 ac_check_lib_save_LIBS=$LIBS
44342 LIBS="-ldl $LIBS"
44343 cat >conftest.$ac_ext <<_ACEOF
44344 /* confdefs.h. */
44345 _ACEOF
44346 cat confdefs.h >>conftest.$ac_ext
44347 cat >>conftest.$ac_ext <<_ACEOF
44348 /* end confdefs.h. */
44349
44350 /* Override any GCC internal prototype to avoid an error.
44351 Use char because int might match the return type of a GCC
44352 builtin and then its argument prototype would still apply. */
44353 #ifdef __cplusplus
44354 extern "C"
44355 #endif
44356 char dlopen ();
44357 int
44358 main ()
44359 {
44360 return dlopen ();
44361 ;
44362 return 0;
44363 }
44364 _ACEOF
44365 rm -f conftest.$ac_objext conftest$ac_exeext
44366 if { (ac_try="$ac_link"
44367 case "(($ac_try" in
44368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44369 *) ac_try_echo=$ac_try;;
44370 esac
44371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44372 (eval "$ac_link") 2>conftest.er1
44373 ac_status=$?
44374 grep -v '^ *+' conftest.er1 >conftest.err
44375 rm -f conftest.er1
44376 cat conftest.err >&5
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); } && {
44379 test -z "$ac_c_werror_flag" ||
44380 test ! -s conftest.err
44381 } && test -s conftest$ac_exeext &&
44382 $as_test_x conftest$ac_exeext; then
44383 ac_cv_lib_dl_dlopen=yes
44384 else
44385 echo "$as_me: failed program was:" >&5
44386 sed 's/^/| /' conftest.$ac_ext >&5
44387
44388 ac_cv_lib_dl_dlopen=no
44389 fi
44390
44391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44392 conftest$ac_exeext conftest.$ac_ext
44393 LIBS=$ac_check_lib_save_LIBS
44394 fi
44395 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44396 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44397 if test $ac_cv_lib_dl_dlopen = yes; then
44398
44399 cat >>confdefs.h <<\_ACEOF
44400 #define HAVE_DLOPEN 1
44401 _ACEOF
44402
44403 HAVE_DL_FUNCS=1
44404 DL_LINK=" -ldl$DL_LINK"
44405
44406 else
44407
44408
44409 for ac_func in shl_load
44410 do
44411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44415 echo $ECHO_N "(cached) $ECHO_C" >&6
44416 else
44417 cat >conftest.$ac_ext <<_ACEOF
44418 /* confdefs.h. */
44419 _ACEOF
44420 cat confdefs.h >>conftest.$ac_ext
44421 cat >>conftest.$ac_ext <<_ACEOF
44422 /* end confdefs.h. */
44423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44425 #define $ac_func innocuous_$ac_func
44426
44427 /* System header to define __stub macros and hopefully few prototypes,
44428 which can conflict with char $ac_func (); below.
44429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44430 <limits.h> exists even on freestanding compilers. */
44431
44432 #ifdef __STDC__
44433 # include <limits.h>
44434 #else
44435 # include <assert.h>
44436 #endif
44437
44438 #undef $ac_func
44439
44440 /* Override any GCC internal prototype to avoid an error.
44441 Use char because int might match the return type of a GCC
44442 builtin and then its argument prototype would still apply. */
44443 #ifdef __cplusplus
44444 extern "C"
44445 #endif
44446 char $ac_func ();
44447 /* The GNU C library defines this for functions which it implements
44448 to always fail with ENOSYS. Some functions are actually named
44449 something starting with __ and the normal name is an alias. */
44450 #if defined __stub_$ac_func || defined __stub___$ac_func
44451 choke me
44452 #endif
44453
44454 int
44455 main ()
44456 {
44457 return $ac_func ();
44458 ;
44459 return 0;
44460 }
44461 _ACEOF
44462 rm -f conftest.$ac_objext conftest$ac_exeext
44463 if { (ac_try="$ac_link"
44464 case "(($ac_try" in
44465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44466 *) ac_try_echo=$ac_try;;
44467 esac
44468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44469 (eval "$ac_link") 2>conftest.er1
44470 ac_status=$?
44471 grep -v '^ *+' conftest.er1 >conftest.err
44472 rm -f conftest.er1
44473 cat conftest.err >&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); } && {
44476 test -z "$ac_c_werror_flag" ||
44477 test ! -s conftest.err
44478 } && test -s conftest$ac_exeext &&
44479 $as_test_x conftest$ac_exeext; then
44480 eval "$as_ac_var=yes"
44481 else
44482 echo "$as_me: failed program was:" >&5
44483 sed 's/^/| /' conftest.$ac_ext >&5
44484
44485 eval "$as_ac_var=no"
44486 fi
44487
44488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44489 conftest$ac_exeext conftest.$ac_ext
44490 fi
44491 ac_res=`eval echo '${'$as_ac_var'}'`
44492 { echo "$as_me:$LINENO: result: $ac_res" >&5
44493 echo "${ECHO_T}$ac_res" >&6; }
44494 if test `eval echo '${'$as_ac_var'}'` = yes; then
44495 cat >>confdefs.h <<_ACEOF
44496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44497 _ACEOF
44498
44499 cat >>confdefs.h <<\_ACEOF
44500 #define HAVE_SHL_LOAD 1
44501 _ACEOF
44502
44503 HAVE_SHL_FUNCS=1
44504
44505 else
44506
44507 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44508 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44509 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44510 echo $ECHO_N "(cached) $ECHO_C" >&6
44511 else
44512 ac_check_lib_save_LIBS=$LIBS
44513 LIBS="-lshl_load $LIBS"
44514 cat >conftest.$ac_ext <<_ACEOF
44515 /* confdefs.h. */
44516 _ACEOF
44517 cat confdefs.h >>conftest.$ac_ext
44518 cat >>conftest.$ac_ext <<_ACEOF
44519 /* end confdefs.h. */
44520
44521 /* Override any GCC internal prototype to avoid an error.
44522 Use char because int might match the return type of a GCC
44523 builtin and then its argument prototype would still apply. */
44524 #ifdef __cplusplus
44525 extern "C"
44526 #endif
44527 char dld ();
44528 int
44529 main ()
44530 {
44531 return dld ();
44532 ;
44533 return 0;
44534 }
44535 _ACEOF
44536 rm -f conftest.$ac_objext conftest$ac_exeext
44537 if { (ac_try="$ac_link"
44538 case "(($ac_try" in
44539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44540 *) ac_try_echo=$ac_try;;
44541 esac
44542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44543 (eval "$ac_link") 2>conftest.er1
44544 ac_status=$?
44545 grep -v '^ *+' conftest.er1 >conftest.err
44546 rm -f conftest.er1
44547 cat conftest.err >&5
44548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44549 (exit $ac_status); } && {
44550 test -z "$ac_c_werror_flag" ||
44551 test ! -s conftest.err
44552 } && test -s conftest$ac_exeext &&
44553 $as_test_x conftest$ac_exeext; then
44554 ac_cv_lib_shl_load_dld=yes
44555 else
44556 echo "$as_me: failed program was:" >&5
44557 sed 's/^/| /' conftest.$ac_ext >&5
44558
44559 ac_cv_lib_shl_load_dld=no
44560 fi
44561
44562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44563 conftest$ac_exeext conftest.$ac_ext
44564 LIBS=$ac_check_lib_save_LIBS
44565 fi
44566 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44567 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44568 if test $ac_cv_lib_shl_load_dld = yes; then
44569
44570 HAVE_SHL_FUNCS=1
44571 DL_LINK=" -ldld$DL_LINK"
44572
44573 fi
44574
44575
44576 fi
44577 done
44578
44579
44580 fi
44581
44582
44583 fi
44584 done
44585
44586
44587 if test "$HAVE_DL_FUNCS" = 1; then
44588
44589 for ac_func in dlerror
44590 do
44591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44592 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44594 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44595 echo $ECHO_N "(cached) $ECHO_C" >&6
44596 else
44597 cat >conftest.$ac_ext <<_ACEOF
44598 /* confdefs.h. */
44599 _ACEOF
44600 cat confdefs.h >>conftest.$ac_ext
44601 cat >>conftest.$ac_ext <<_ACEOF
44602 /* end confdefs.h. */
44603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44605 #define $ac_func innocuous_$ac_func
44606
44607 /* System header to define __stub macros and hopefully few prototypes,
44608 which can conflict with char $ac_func (); below.
44609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44610 <limits.h> exists even on freestanding compilers. */
44611
44612 #ifdef __STDC__
44613 # include <limits.h>
44614 #else
44615 # include <assert.h>
44616 #endif
44617
44618 #undef $ac_func
44619
44620 /* Override any GCC internal prototype to avoid an error.
44621 Use char because int might match the return type of a GCC
44622 builtin and then its argument prototype would still apply. */
44623 #ifdef __cplusplus
44624 extern "C"
44625 #endif
44626 char $ac_func ();
44627 /* The GNU C library defines this for functions which it implements
44628 to always fail with ENOSYS. Some functions are actually named
44629 something starting with __ and the normal name is an alias. */
44630 #if defined __stub_$ac_func || defined __stub___$ac_func
44631 choke me
44632 #endif
44633
44634 int
44635 main ()
44636 {
44637 return $ac_func ();
44638 ;
44639 return 0;
44640 }
44641 _ACEOF
44642 rm -f conftest.$ac_objext conftest$ac_exeext
44643 if { (ac_try="$ac_link"
44644 case "(($ac_try" in
44645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44646 *) ac_try_echo=$ac_try;;
44647 esac
44648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44649 (eval "$ac_link") 2>conftest.er1
44650 ac_status=$?
44651 grep -v '^ *+' conftest.er1 >conftest.err
44652 rm -f conftest.er1
44653 cat conftest.err >&5
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); } && {
44656 test -z "$ac_c_werror_flag" ||
44657 test ! -s conftest.err
44658 } && test -s conftest$ac_exeext &&
44659 $as_test_x conftest$ac_exeext; then
44660 eval "$as_ac_var=yes"
44661 else
44662 echo "$as_me: failed program was:" >&5
44663 sed 's/^/| /' conftest.$ac_ext >&5
44664
44665 eval "$as_ac_var=no"
44666 fi
44667
44668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44669 conftest$ac_exeext conftest.$ac_ext
44670 fi
44671 ac_res=`eval echo '${'$as_ac_var'}'`
44672 { echo "$as_me:$LINENO: result: $ac_res" >&5
44673 echo "${ECHO_T}$ac_res" >&6; }
44674 if test `eval echo '${'$as_ac_var'}'` = yes; then
44675 cat >>confdefs.h <<_ACEOF
44676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44677 _ACEOF
44678 cat >>confdefs.h <<\_ACEOF
44679 #define HAVE_DLERROR 1
44680 _ACEOF
44681
44682 else
44683
44684 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44685 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44686 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44687 echo $ECHO_N "(cached) $ECHO_C" >&6
44688 else
44689 ac_check_lib_save_LIBS=$LIBS
44690 LIBS="-ldl $LIBS"
44691 cat >conftest.$ac_ext <<_ACEOF
44692 /* confdefs.h. */
44693 _ACEOF
44694 cat confdefs.h >>conftest.$ac_ext
44695 cat >>conftest.$ac_ext <<_ACEOF
44696 /* end confdefs.h. */
44697
44698 /* Override any GCC internal prototype to avoid an error.
44699 Use char because int might match the return type of a GCC
44700 builtin and then its argument prototype would still apply. */
44701 #ifdef __cplusplus
44702 extern "C"
44703 #endif
44704 char dlerror ();
44705 int
44706 main ()
44707 {
44708 return dlerror ();
44709 ;
44710 return 0;
44711 }
44712 _ACEOF
44713 rm -f conftest.$ac_objext conftest$ac_exeext
44714 if { (ac_try="$ac_link"
44715 case "(($ac_try" in
44716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44717 *) ac_try_echo=$ac_try;;
44718 esac
44719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44720 (eval "$ac_link") 2>conftest.er1
44721 ac_status=$?
44722 grep -v '^ *+' conftest.er1 >conftest.err
44723 rm -f conftest.er1
44724 cat conftest.err >&5
44725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726 (exit $ac_status); } && {
44727 test -z "$ac_c_werror_flag" ||
44728 test ! -s conftest.err
44729 } && test -s conftest$ac_exeext &&
44730 $as_test_x conftest$ac_exeext; then
44731 ac_cv_lib_dl_dlerror=yes
44732 else
44733 echo "$as_me: failed program was:" >&5
44734 sed 's/^/| /' conftest.$ac_ext >&5
44735
44736 ac_cv_lib_dl_dlerror=no
44737 fi
44738
44739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44740 conftest$ac_exeext conftest.$ac_ext
44741 LIBS=$ac_check_lib_save_LIBS
44742 fi
44743 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44744 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44745 if test $ac_cv_lib_dl_dlerror = yes; then
44746 cat >>confdefs.h <<\_ACEOF
44747 #define HAVE_DLERROR 1
44748 _ACEOF
44749
44750 fi
44751
44752
44753
44754 fi
44755 done
44756
44757 fi
44758 fi
44759
44760 if test "$HAVE_DL_FUNCS" = 0; then
44761 if test "$HAVE_SHL_FUNCS" = 0; then
44762 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44763 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44764 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44765 wxUSE_DYNAMIC_LOADER=no
44766 wxUSE_DYNLIB_CLASS=no
44767 else
44768 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44769 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44770 fi
44771 fi
44772 fi
44773 fi
44774 fi
44775
44776 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_DYNAMIC_LOADER 1
44779 _ACEOF
44780
44781 fi
44782 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44783 cat >>confdefs.h <<\_ACEOF
44784 #define wxUSE_DYNLIB_CLASS 1
44785 _ACEOF
44786
44787 fi
44788
44789
44790
44791 if test "$wxUSE_PLUGINS" = "yes" ; then
44792 if test "$wxUSE_SHARED" = "no" ; then
44793 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44794 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44795 wxUSE_PLUGINS=no
44796 fi
44797 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44798 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44799 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44800 wxUSE_PLUGINS=no
44801 fi
44802 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44803 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44804 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44805 wxUSE_PLUGINS=no
44806 fi
44807 if test "$wxUSE_PLUGINS" = "yes" ; then
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_PLUGINS 1
44810 _ACEOF
44811
44812 fi
44813 fi
44814
44815
44816 if test "$wxUSE_STL" = "yes"; then
44817 cat >>confdefs.h <<\_ACEOF
44818 #define wxUSE_STL 1
44819 _ACEOF
44820
44821 fi
44822
44823 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_EXTENDED_RTTI 1
44826 _ACEOF
44827
44828 fi
44829
44830 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_APPLE_IEEE 1
44833 _ACEOF
44834
44835 fi
44836
44837 if test "$wxUSE_TIMER" = "yes"; then
44838 cat >>confdefs.h <<\_ACEOF
44839 #define wxUSE_TIMER 1
44840 _ACEOF
44841
44842 fi
44843
44844 if test "$USE_UNIX" = "1" ; then
44845 if test "$wxUSE_MGL" != 1; then
44846 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44847 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44848 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44849 echo $ECHO_N "(cached) $ECHO_C" >&6
44850 else
44851
44852 cat >conftest.$ac_ext <<_ACEOF
44853 /* confdefs.h. */
44854 _ACEOF
44855 cat confdefs.h >>conftest.$ac_ext
44856 cat >>conftest.$ac_ext <<_ACEOF
44857 /* end confdefs.h. */
44858
44859 #include <sys/ioctl.h>
44860 #include <sys/soundcard.h>
44861
44862 int
44863 main ()
44864 {
44865
44866 ioctl(0, SNDCTL_DSP_SPEED, 0);
44867
44868 ;
44869 return 0;
44870 }
44871 _ACEOF
44872 rm -f conftest.$ac_objext conftest$ac_exeext
44873 if { (ac_try="$ac_link"
44874 case "(($ac_try" in
44875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44876 *) ac_try_echo=$ac_try;;
44877 esac
44878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44879 (eval "$ac_link") 2>conftest.er1
44880 ac_status=$?
44881 grep -v '^ *+' conftest.er1 >conftest.err
44882 rm -f conftest.er1
44883 cat conftest.err >&5
44884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44885 (exit $ac_status); } && {
44886 test -z "$ac_c_werror_flag" ||
44887 test ! -s conftest.err
44888 } && test -s conftest$ac_exeext &&
44889 $as_test_x conftest$ac_exeext; then
44890 ac_cv_header_sys_soundcard=yes
44891 else
44892 echo "$as_me: failed program was:" >&5
44893 sed 's/^/| /' conftest.$ac_ext >&5
44894
44895
44896 saveLibs="$LIBS"
44897 LIBS="$saveLibs -lossaudio"
44898 cat >conftest.$ac_ext <<_ACEOF
44899 /* confdefs.h. */
44900 _ACEOF
44901 cat confdefs.h >>conftest.$ac_ext
44902 cat >>conftest.$ac_ext <<_ACEOF
44903 /* end confdefs.h. */
44904
44905 #include <sys/ioctl.h>
44906 #include <sys/soundcard.h>
44907
44908 int
44909 main ()
44910 {
44911
44912 ioctl(0, SNDCTL_DSP_SPEED, 0);
44913
44914 ;
44915 return 0;
44916 }
44917 _ACEOF
44918 rm -f conftest.$ac_objext conftest$ac_exeext
44919 if { (ac_try="$ac_link"
44920 case "(($ac_try" in
44921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44922 *) ac_try_echo=$ac_try;;
44923 esac
44924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44925 (eval "$ac_link") 2>conftest.er1
44926 ac_status=$?
44927 grep -v '^ *+' conftest.er1 >conftest.err
44928 rm -f conftest.er1
44929 cat conftest.err >&5
44930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44931 (exit $ac_status); } && {
44932 test -z "$ac_c_werror_flag" ||
44933 test ! -s conftest.err
44934 } && test -s conftest$ac_exeext &&
44935 $as_test_x conftest$ac_exeext; then
44936 ac_cv_header_sys_soundcard=yes
44937 else
44938 echo "$as_me: failed program was:" >&5
44939 sed 's/^/| /' conftest.$ac_ext >&5
44940
44941
44942 LIBS="$saveLibs"
44943 ac_cv_header_sys_soundcard=no
44944
44945
44946 fi
44947
44948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44949 conftest$ac_exeext conftest.$ac_ext
44950
44951
44952 fi
44953
44954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44955 conftest$ac_exeext conftest.$ac_ext
44956
44957 fi
44958 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44959 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44960 fi
44961
44962 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define HAVE_SYS_SOUNDCARD_H 1
44965 _ACEOF
44966
44967 fi
44968 fi
44969
44970 WITH_PLUGIN_SDL=0
44971 if test "$wxUSE_SOUND" = "yes"; then
44972 if test "$USE_UNIX" = "1" ; then
44973 if test "$wxUSE_LIBSDL" != "no"; then
44974
44975 # Check whether --with-sdl-prefix was given.
44976 if test "${with_sdl_prefix+set}" = set; then
44977 withval=$with_sdl_prefix; sdl_prefix="$withval"
44978 else
44979 sdl_prefix=""
44980 fi
44981
44982
44983 # Check whether --with-sdl-exec-prefix was given.
44984 if test "${with_sdl_exec_prefix+set}" = set; then
44985 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44986 else
44987 sdl_exec_prefix=""
44988 fi
44989
44990 # Check whether --enable-sdltest was given.
44991 if test "${enable_sdltest+set}" = set; then
44992 enableval=$enable_sdltest;
44993 else
44994 enable_sdltest=yes
44995 fi
44996
44997
44998 if test x$sdl_exec_prefix != x ; then
44999 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
45000 if test x${SDL_CONFIG+set} != xset ; then
45001 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
45002 fi
45003 fi
45004 if test x$sdl_prefix != x ; then
45005 sdl_args="$sdl_args --prefix=$sdl_prefix"
45006 if test x${SDL_CONFIG+set} != xset ; then
45007 SDL_CONFIG=$sdl_prefix/bin/sdl-config
45008 fi
45009 fi
45010
45011 if test "x$prefix" != xNONE; then
45012 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
45013 fi
45014 # Extract the first word of "sdl-config", so it can be a program name with args.
45015 set dummy sdl-config; ac_word=$2
45016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45018 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
45019 echo $ECHO_N "(cached) $ECHO_C" >&6
45020 else
45021 case $SDL_CONFIG in
45022 [\\/]* | ?:[\\/]*)
45023 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
45024 ;;
45025 *)
45026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45027 for as_dir in $PATH
45028 do
45029 IFS=$as_save_IFS
45030 test -z "$as_dir" && as_dir=.
45031 for ac_exec_ext in '' $ac_executable_extensions; do
45032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45033 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45035 break 2
45036 fi
45037 done
45038 done
45039 IFS=$as_save_IFS
45040
45041 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
45042 ;;
45043 esac
45044 fi
45045 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
45046 if test -n "$SDL_CONFIG"; then
45047 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
45048 echo "${ECHO_T}$SDL_CONFIG" >&6; }
45049 else
45050 { echo "$as_me:$LINENO: result: no" >&5
45051 echo "${ECHO_T}no" >&6; }
45052 fi
45053
45054
45055 min_sdl_version=1.2.0
45056 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
45057 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
45058 no_sdl=""
45059 if test "$SDL_CONFIG" = "no" ; then
45060 no_sdl=yes
45061 else
45062 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
45063 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
45064
45065 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
45066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45067 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
45068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45069 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
45070 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45071 if test "x$enable_sdltest" = "xyes" ; then
45072 ac_save_CFLAGS="$CFLAGS"
45073 ac_save_CXXFLAGS="$CXXFLAGS"
45074 ac_save_LIBS="$LIBS"
45075 CFLAGS="$CFLAGS $SDL_CFLAGS"
45076 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45077 LIBS="$LIBS $SDL_LIBS"
45078 rm -f conf.sdltest
45079 if test "$cross_compiling" = yes; then
45080 echo $ac_n "cross compiling; assumed OK... $ac_c"
45081 else
45082 cat >conftest.$ac_ext <<_ACEOF
45083 /* confdefs.h. */
45084 _ACEOF
45085 cat confdefs.h >>conftest.$ac_ext
45086 cat >>conftest.$ac_ext <<_ACEOF
45087 /* end confdefs.h. */
45088
45089 #include <stdio.h>
45090 #include <stdlib.h>
45091 #include <string.h>
45092 #include "SDL.h"
45093
45094 char*
45095 my_strdup (char *str)
45096 {
45097 char *new_str;
45098
45099 if (str)
45100 {
45101 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
45102 strcpy (new_str, str);
45103 }
45104 else
45105 new_str = NULL;
45106
45107 return new_str;
45108 }
45109
45110 int main (int argc, char *argv[])
45111 {
45112 int major, minor, micro;
45113 char *tmp_version;
45114
45115 /* This hangs on some systems (?)
45116 system ("touch conf.sdltest");
45117 */
45118 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
45119
45120 /* HP/UX 9 (%@#!) writes to sscanf strings */
45121 tmp_version = my_strdup("$min_sdl_version");
45122 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
45123 printf("%s, bad version string\n", "$min_sdl_version");
45124 exit(1);
45125 }
45126
45127 if (($sdl_major_version > major) ||
45128 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
45129 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
45130 {
45131 return 0;
45132 }
45133 else
45134 {
45135 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45136 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45137 printf("*** best to upgrade to the required version.\n");
45138 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45139 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45140 printf("*** config.cache before re-running configure\n");
45141 return 1;
45142 }
45143 }
45144
45145
45146 _ACEOF
45147 rm -f conftest$ac_exeext
45148 if { (ac_try="$ac_link"
45149 case "(($ac_try" in
45150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45151 *) ac_try_echo=$ac_try;;
45152 esac
45153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45154 (eval "$ac_link") 2>&5
45155 ac_status=$?
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45158 { (case "(($ac_try" in
45159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45160 *) ac_try_echo=$ac_try;;
45161 esac
45162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45163 (eval "$ac_try") 2>&5
45164 ac_status=$?
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); }; }; then
45167 :
45168 else
45169 echo "$as_me: program exited with status $ac_status" >&5
45170 echo "$as_me: failed program was:" >&5
45171 sed 's/^/| /' conftest.$ac_ext >&5
45172
45173 ( exit $ac_status )
45174 no_sdl=yes
45175 fi
45176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45177 fi
45178
45179
45180 CFLAGS="$ac_save_CFLAGS"
45181 CXXFLAGS="$ac_save_CXXFLAGS"
45182 LIBS="$ac_save_LIBS"
45183 fi
45184 fi
45185 if test "x$no_sdl" = x ; then
45186 { echo "$as_me:$LINENO: result: yes" >&5
45187 echo "${ECHO_T}yes" >&6; }
45188
45189 EXTRALIBS_SDL="$SDL_LIBS"
45190 CFLAGS="$SDL_CFLAGS $CFLAGS"
45191 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_LIBSDL 1
45194 _ACEOF
45195
45196
45197 else
45198 { echo "$as_me:$LINENO: result: no" >&5
45199 echo "${ECHO_T}no" >&6; }
45200 if test "$SDL_CONFIG" = "no" ; then
45201 echo "*** The sdl-config script installed by SDL could not be found"
45202 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45203 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45204 echo "*** full path to sdl-config."
45205 else
45206 if test -f conf.sdltest ; then
45207 :
45208 else
45209 echo "*** Could not run SDL test program, checking why..."
45210 CFLAGS="$CFLAGS $SDL_CFLAGS"
45211 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45212 LIBS="$LIBS $SDL_LIBS"
45213 cat >conftest.$ac_ext <<_ACEOF
45214 /* confdefs.h. */
45215 _ACEOF
45216 cat confdefs.h >>conftest.$ac_ext
45217 cat >>conftest.$ac_ext <<_ACEOF
45218 /* end confdefs.h. */
45219
45220 #include <stdio.h>
45221 #include "SDL.h"
45222
45223 int main(int argc, char *argv[])
45224 { return 0; }
45225 #undef main
45226 #define main K_and_R_C_main
45227
45228 int
45229 main ()
45230 {
45231 return 0;
45232 ;
45233 return 0;
45234 }
45235 _ACEOF
45236 rm -f conftest.$ac_objext conftest$ac_exeext
45237 if { (ac_try="$ac_link"
45238 case "(($ac_try" in
45239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45240 *) ac_try_echo=$ac_try;;
45241 esac
45242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45243 (eval "$ac_link") 2>conftest.er1
45244 ac_status=$?
45245 grep -v '^ *+' conftest.er1 >conftest.err
45246 rm -f conftest.er1
45247 cat conftest.err >&5
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); } && {
45250 test -z "$ac_c_werror_flag" ||
45251 test ! -s conftest.err
45252 } && test -s conftest$ac_exeext &&
45253 $as_test_x conftest$ac_exeext; then
45254 echo "*** The test program compiled, but did not run. This usually means"
45255 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45256 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45259 echo "*** is required on your system"
45260 echo "***"
45261 echo "*** If you have an old version installed, it is best to remove it, although"
45262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45263 else
45264 echo "$as_me: failed program was:" >&5
45265 sed 's/^/| /' conftest.$ac_ext >&5
45266
45267 echo "*** The test program failed to compile or link. See the file config.log for the"
45268 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45269 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45270 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45271 fi
45272
45273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45274 conftest$ac_exeext conftest.$ac_ext
45275 CFLAGS="$ac_save_CFLAGS"
45276 CXXFLAGS="$ac_save_CXXFLAGS"
45277 LIBS="$ac_save_LIBS"
45278 fi
45279 fi
45280 SDL_CFLAGS=""
45281 SDL_LIBS=""
45282 wxUSE_LIBSDL="no"
45283 fi
45284
45285
45286 rm -f conf.sdltest
45287
45288 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45289 WITH_PLUGIN_SDL=1
45290 fi
45291 fi
45292 else
45293 if test "$wxUSE_MGL" = 1; then
45294 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45295 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45296 wxUSE_SOUND="no"
45297 fi
45298 fi
45299 fi
45300
45301 if test "$wxUSE_SOUND" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_SOUND 1
45304 _ACEOF
45305
45306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45307 fi
45308
45309 if test "$WXGTK20" = 1; then
45310
45311
45312 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45313 if test -n "$ac_tool_prefix"; then
45314 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45315 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45318 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45319 echo $ECHO_N "(cached) $ECHO_C" >&6
45320 else
45321 case $PKG_CONFIG in
45322 [\\/]* | ?:[\\/]*)
45323 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45324 ;;
45325 *)
45326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45327 for as_dir in $PATH
45328 do
45329 IFS=$as_save_IFS
45330 test -z "$as_dir" && as_dir=.
45331 for ac_exec_ext in '' $ac_executable_extensions; do
45332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45333 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45335 break 2
45336 fi
45337 done
45338 done
45339 IFS=$as_save_IFS
45340
45341 ;;
45342 esac
45343 fi
45344 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45345 if test -n "$PKG_CONFIG"; then
45346 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45347 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45348 else
45349 { echo "$as_me:$LINENO: result: no" >&5
45350 echo "${ECHO_T}no" >&6; }
45351 fi
45352
45353
45354 fi
45355 if test -z "$ac_cv_path_PKG_CONFIG"; then
45356 ac_pt_PKG_CONFIG=$PKG_CONFIG
45357 # Extract the first word of "pkg-config", so it can be a program name with args.
45358 set dummy pkg-config; ac_word=$2
45359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45361 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45362 echo $ECHO_N "(cached) $ECHO_C" >&6
45363 else
45364 case $ac_pt_PKG_CONFIG in
45365 [\\/]* | ?:[\\/]*)
45366 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45367 ;;
45368 *)
45369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45370 for as_dir in $PATH
45371 do
45372 IFS=$as_save_IFS
45373 test -z "$as_dir" && as_dir=.
45374 for ac_exec_ext in '' $ac_executable_extensions; do
45375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45376 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45378 break 2
45379 fi
45380 done
45381 done
45382 IFS=$as_save_IFS
45383
45384 ;;
45385 esac
45386 fi
45387 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45388 if test -n "$ac_pt_PKG_CONFIG"; then
45389 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45390 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45391 else
45392 { echo "$as_me:$LINENO: result: no" >&5
45393 echo "${ECHO_T}no" >&6; }
45394 fi
45395
45396 if test "x$ac_pt_PKG_CONFIG" = x; then
45397 PKG_CONFIG=""
45398 else
45399 case $cross_compiling:$ac_tool_warned in
45400 yes:)
45401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45402 whose name does not start with the host triplet. If you think this
45403 configuration is useful to you, please write to autoconf@gnu.org." >&5
45404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45405 whose name does not start with the host triplet. If you think this
45406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45407 ac_tool_warned=yes ;;
45408 esac
45409 PKG_CONFIG=$ac_pt_PKG_CONFIG
45410 fi
45411 else
45412 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45413 fi
45414
45415 fi
45416 if test -n "$PKG_CONFIG"; then
45417 _pkg_min_version=0.9.0
45418 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45419 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45420 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45421 { echo "$as_me:$LINENO: result: yes" >&5
45422 echo "${ECHO_T}yes" >&6; }
45423 else
45424 { echo "$as_me:$LINENO: result: no" >&5
45425 echo "${ECHO_T}no" >&6; }
45426 PKG_CONFIG=""
45427 fi
45428
45429 fi
45430
45431 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45432
45433 if test "$wxUSE_GTKPRINT" = "yes" ; then
45434
45435
45436 pkg_failed=no
45437 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
45438 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
45439
45440 if test -n "$PKG_CONFIG"; then
45441 if test -n "$GTKPRINT_CFLAGS"; then
45442 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
45443 else
45444 if test -n "$PKG_CONFIG" && \
45445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45446 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45447 ac_status=$?
45448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45449 (exit $ac_status); }; then
45450 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45451 else
45452 pkg_failed=yes
45453 fi
45454 fi
45455 else
45456 pkg_failed=untried
45457 fi
45458 if test -n "$PKG_CONFIG"; then
45459 if test -n "$GTKPRINT_LIBS"; then
45460 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45461 else
45462 if test -n "$PKG_CONFIG" && \
45463 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45464 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45465 ac_status=$?
45466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467 (exit $ac_status); }; then
45468 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45469 else
45470 pkg_failed=yes
45471 fi
45472 fi
45473 else
45474 pkg_failed=untried
45475 fi
45476
45477
45478
45479 if test $pkg_failed = yes; then
45480
45481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45482 _pkg_short_errors_supported=yes
45483 else
45484 _pkg_short_errors_supported=no
45485 fi
45486 if test $_pkg_short_errors_supported = yes; then
45487 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45488 else
45489 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45490 fi
45491 # Put the nasty error message in config.log where it belongs
45492 echo "$GTKPRINT_PKG_ERRORS" >&5
45493
45494
45495 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45496 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45497 wxUSE_GTKPRINT="no"
45498
45499
45500 elif test $pkg_failed = untried; then
45501
45502 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45503 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45504 wxUSE_GTKPRINT="no"
45505
45506
45507 else
45508 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45509 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45510 { echo "$as_me:$LINENO: result: yes" >&5
45511 echo "${ECHO_T}yes" >&6; }
45512
45513 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45514 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_GTKPRINT 1
45517 _ACEOF
45518
45519
45520 fi
45521 fi
45522
45523 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45524
45525
45526 pkg_failed=no
45527 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45528 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45529
45530 if test -n "$PKG_CONFIG"; then
45531 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45532 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45533 else
45534 if test -n "$PKG_CONFIG" && \
45535 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45536 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45537 ac_status=$?
45538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45539 (exit $ac_status); }; then
45540 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45541 else
45542 pkg_failed=yes
45543 fi
45544 fi
45545 else
45546 pkg_failed=untried
45547 fi
45548 if test -n "$PKG_CONFIG"; then
45549 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45550 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45551 else
45552 if test -n "$PKG_CONFIG" && \
45553 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45554 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45555 ac_status=$?
45556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45557 (exit $ac_status); }; then
45558 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45559 else
45560 pkg_failed=yes
45561 fi
45562 fi
45563 else
45564 pkg_failed=untried
45565 fi
45566
45567
45568
45569 if test $pkg_failed = yes; then
45570
45571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45572 _pkg_short_errors_supported=yes
45573 else
45574 _pkg_short_errors_supported=no
45575 fi
45576 if test $_pkg_short_errors_supported = yes; then
45577 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45578 else
45579 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45580 fi
45581 # Put the nasty error message in config.log where it belongs
45582 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45583
45584
45585 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45586 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45587 wxUSE_LIBGNOMEPRINT="no"
45588
45589
45590 elif test $pkg_failed = untried; then
45591
45592 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45593 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45594 wxUSE_LIBGNOMEPRINT="no"
45595
45596
45597 else
45598 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45599 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45600 { echo "$as_me:$LINENO: result: yes" >&5
45601 echo "${ECHO_T}yes" >&6; }
45602
45603 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45604 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_LIBGNOMEPRINT 1
45607 _ACEOF
45608
45609
45610 fi
45611 fi
45612 fi
45613
45614 if test "$wxUSE_MIMETYPE" = "yes" ; then
45615 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45616
45617
45618 pkg_failed=no
45619 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45620 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45621
45622 if test -n "$PKG_CONFIG"; then
45623 if test -n "$GNOMEVFS_CFLAGS"; then
45624 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45625 else
45626 if test -n "$PKG_CONFIG" && \
45627 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45628 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45629 ac_status=$?
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); }; then
45632 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45633 else
45634 pkg_failed=yes
45635 fi
45636 fi
45637 else
45638 pkg_failed=untried
45639 fi
45640 if test -n "$PKG_CONFIG"; then
45641 if test -n "$GNOMEVFS_LIBS"; then
45642 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45643 else
45644 if test -n "$PKG_CONFIG" && \
45645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45646 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45647 ac_status=$?
45648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45649 (exit $ac_status); }; then
45650 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45651 else
45652 pkg_failed=yes
45653 fi
45654 fi
45655 else
45656 pkg_failed=untried
45657 fi
45658
45659
45660
45661 if test $pkg_failed = yes; then
45662
45663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45664 _pkg_short_errors_supported=yes
45665 else
45666 _pkg_short_errors_supported=no
45667 fi
45668 if test $_pkg_short_errors_supported = yes; then
45669 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45670 else
45671 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45672 fi
45673 # Put the nasty error message in config.log where it belongs
45674 echo "$GNOMEVFS_PKG_ERRORS" >&5
45675
45676
45677 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45678 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45679 wxUSE_LIBGNOMEVFS="no"
45680
45681
45682 elif test $pkg_failed = untried; then
45683
45684 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45685 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45686 wxUSE_LIBGNOMEVFS="no"
45687
45688
45689 else
45690 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45691 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45692 { echo "$as_me:$LINENO: result: yes" >&5
45693 echo "${ECHO_T}yes" >&6; }
45694
45695 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45696 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_LIBGNOMEVFS 1
45699 _ACEOF
45700
45701
45702 fi
45703 fi
45704 fi
45705
45706 if test "$wxUSE_LIBHILDON" = "yes" ; then
45707
45708 pkg_failed=no
45709 { echo "$as_me:$LINENO: checking for HILDON" >&5
45710 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45711
45712 if test -n "$PKG_CONFIG"; then
45713 if test -n "$HILDON_CFLAGS"; then
45714 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45715 else
45716 if test -n "$PKG_CONFIG" && \
45717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45718 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45719 ac_status=$?
45720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45721 (exit $ac_status); }; then
45722 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45723 else
45724 pkg_failed=yes
45725 fi
45726 fi
45727 else
45728 pkg_failed=untried
45729 fi
45730 if test -n "$PKG_CONFIG"; then
45731 if test -n "$HILDON_LIBS"; then
45732 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45733 else
45734 if test -n "$PKG_CONFIG" && \
45735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45736 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45737 ac_status=$?
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); }; then
45740 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45741 else
45742 pkg_failed=yes
45743 fi
45744 fi
45745 else
45746 pkg_failed=untried
45747 fi
45748
45749
45750
45751 if test $pkg_failed = yes; then
45752
45753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45754 _pkg_short_errors_supported=yes
45755 else
45756 _pkg_short_errors_supported=no
45757 fi
45758 if test $_pkg_short_errors_supported = yes; then
45759 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45760 else
45761 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45762 fi
45763 # Put the nasty error message in config.log where it belongs
45764 echo "$HILDON_PKG_ERRORS" >&5
45765
45766
45767 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45768 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45769 wxUSE_LIBHILDON="no"
45770
45771
45772 elif test $pkg_failed = untried; then
45773
45774 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45775 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45776 wxUSE_LIBHILDON="no"
45777
45778
45779 else
45780 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45781 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45782 { echo "$as_me:$LINENO: result: yes" >&5
45783 echo "${ECHO_T}yes" >&6; }
45784
45785 EXTRALIBS_HILDON="$HILDON_LIBS"
45786 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45787 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_LIBHILDON 1
45790 _ACEOF
45791
45792
45793 fi
45794 fi
45795 fi
45796
45797 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_CMDLINE_PARSER 1
45800 _ACEOF
45801
45802 fi
45803
45804 if test "$wxUSE_STOPWATCH" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_STOPWATCH 1
45807 _ACEOF
45808
45809 fi
45810
45811 if test "$wxUSE_DATETIME" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_DATETIME 1
45814 _ACEOF
45815
45816 fi
45817
45818 if test "$wxUSE_FILE" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_FILE 1
45821 _ACEOF
45822
45823 fi
45824
45825 if test "$wxUSE_FFILE" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_FFILE 1
45828 _ACEOF
45829
45830 fi
45831
45832 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45833 if test "$wxUSE_STREAMS" != yes; then
45834 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45835 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45836 wxUSE_ARCHIVE_STREAMS=no
45837 else
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_ARCHIVE_STREAMS 1
45840 _ACEOF
45841
45842 fi
45843 fi
45844
45845 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45846 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45847 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45848 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45849 elif test "$wxUSE_ZLIB" = "no"; then
45850 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45851 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45852 else
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_ZIPSTREAM 1
45855 _ACEOF
45856
45857 fi
45858 fi
45859
45860 if test "$wxUSE_TARSTREAM" = "yes"; then
45861 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45862 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45863 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45864 else
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_TARSTREAM 1
45867 _ACEOF
45868
45869 fi
45870 fi
45871
45872 if test "$wxUSE_FILESYSTEM" = "yes"; then
45873 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45874 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45875 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45876 wxUSE_FILESYSTEM=no
45877 else
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_FILESYSTEM 1
45880 _ACEOF
45881
45882 fi
45883 fi
45884
45885 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45886 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45887 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45888 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45889 else
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_FS_ARCHIVE 1
45892 _ACEOF
45893
45894 fi
45895 fi
45896
45897 if test "$wxUSE_FS_ZIP" = "yes"; then
45898 if test "$wxUSE_FS_ARCHIVE" != yes; then
45899 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45900 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45901 else
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_FS_ZIP 1
45904 _ACEOF
45905
45906 fi
45907 fi
45908
45909 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45910 if test "$USE_UNIX" != 1; then
45911 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45912 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45913 wxUSE_ON_FATAL_EXCEPTION=no
45914 else
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_ON_FATAL_EXCEPTION 1
45917 _ACEOF
45918
45919 fi
45920 fi
45921
45922 if test "$wxUSE_STACKWALKER" = "yes"; then
45923 cat >>confdefs.h <<\_ACEOF
45924 #define wxUSE_STACKWALKER 1
45925 _ACEOF
45926
45927 fi
45928
45929 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45930 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45931 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45932 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45933 wxUSE_DEBUGREPORT=no
45934 else
45935 cat >>confdefs.h <<\_ACEOF
45936 #define wxUSE_DEBUGREPORT 1
45937 _ACEOF
45938
45939 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45941 fi
45942 fi
45943 fi
45944
45945 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_SNGLINST_CHECKER 1
45948 _ACEOF
45949
45950 fi
45951
45952 if test "$wxUSE_BUSYINFO" = "yes"; then
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_BUSYINFO 1
45955 _ACEOF
45956
45957 fi
45958
45959 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_STD_IOSTREAM 1
45962 _ACEOF
45963
45964 fi
45965
45966 if test "$wxUSE_STD_STRING" = "yes"; then
45967 cat >>confdefs.h <<\_ACEOF
45968 #define wxUSE_STD_STRING 1
45969 _ACEOF
45970
45971 fi
45972
45973 if test "$wxUSE_STDPATHS" = "yes"; then
45974 cat >>confdefs.h <<\_ACEOF
45975 #define wxUSE_STDPATHS 1
45976 _ACEOF
45977
45978 fi
45979
45980 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45981 cat >>confdefs.h <<\_ACEOF
45982 #define wxUSE_TEXTBUFFER 1
45983 _ACEOF
45984
45985 fi
45986
45987 if test "$wxUSE_TEXTFILE" = "yes"; then
45988 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45989 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45990 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45991 else
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_TEXTFILE 1
45994 _ACEOF
45995
45996 fi
45997 fi
45998
45999 if test "$wxUSE_CONFIG" = "yes" ; then
46000 if test "$wxUSE_TEXTFILE" != "yes"; then
46001 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
46002 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
46003 else
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_CONFIG 1
46006 _ACEOF
46007
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_CONFIG_NATIVE 1
46010 _ACEOF
46011
46012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
46013 fi
46014 fi
46015
46016 if test "$wxUSE_INTL" = "yes" ; then
46017 if test "$wxUSE_FILE" != "yes"; then
46018 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
46019 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
46020 else
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_INTL 1
46023 _ACEOF
46024
46025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
46026 GUIDIST="$GUIDIST INTL_DIST"
46027 fi
46028 fi
46029
46030 if test "$wxUSE_LOG" = "yes"; then
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_LOG 1
46033 _ACEOF
46034
46035
46036 if test "$wxUSE_LOGGUI" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_LOGGUI 1
46039 _ACEOF
46040
46041 fi
46042
46043 if test "$wxUSE_LOGWINDOW" = "yes"; then
46044 cat >>confdefs.h <<\_ACEOF
46045 #define wxUSE_LOGWINDOW 1
46046 _ACEOF
46047
46048 fi
46049
46050 if test "$wxUSE_LOGDIALOG" = "yes"; then
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_LOG_DIALOG 1
46053 _ACEOF
46054
46055 fi
46056
46057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
46058 fi
46059
46060 if test "$wxUSE_LONGLONG" = "yes"; then
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_LONGLONG 1
46063 _ACEOF
46064
46065 fi
46066
46067 if test "$wxUSE_GEOMETRY" = "yes"; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_GEOMETRY 1
46070 _ACEOF
46071
46072 fi
46073
46074 if test "$wxUSE_BASE64" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_BASE64 1
46077 _ACEOF
46078
46079 fi
46080
46081 if test "$wxUSE_STREAMS" = "yes" ; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define wxUSE_STREAMS 1
46084 _ACEOF
46085
46086 fi
46087
46088 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
46089 cat >>confdefs.h <<\_ACEOF
46090 #define wxUSE_PRINTF_POS_PARAMS 1
46091 _ACEOF
46092
46093 fi
46094
46095 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
46096 cat >>confdefs.h <<\_ACEOF
46097 #define wxUSE_OBJC_UNIQUIFYING 1
46098 _ACEOF
46099
46100 fi
46101
46102
46103 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
46104 cat >>confdefs.h <<\_ACEOF
46105 #define wxUSE_CONSOLE_EVENTLOOP 1
46106 _ACEOF
46107
46108
46109 if test "$wxUSE_UNIX" = "yes"; then
46110 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
46111 cat >>confdefs.h <<\_ACEOF
46112 #define wxUSE_SELECT_DISPATCHER 1
46113 _ACEOF
46114
46115 fi
46116
46117 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
46118
46119 for ac_header in sys/epoll.h
46120 do
46121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46125 echo $ECHO_N "(cached) $ECHO_C" >&6
46126 else
46127 cat >conftest.$ac_ext <<_ACEOF
46128 /* confdefs.h. */
46129 _ACEOF
46130 cat confdefs.h >>conftest.$ac_ext
46131 cat >>conftest.$ac_ext <<_ACEOF
46132 /* end confdefs.h. */
46133 $ac_includes_default
46134
46135 #include <$ac_header>
46136 _ACEOF
46137 rm -f conftest.$ac_objext
46138 if { (ac_try="$ac_compile"
46139 case "(($ac_try" in
46140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46141 *) ac_try_echo=$ac_try;;
46142 esac
46143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46144 (eval "$ac_compile") 2>conftest.er1
46145 ac_status=$?
46146 grep -v '^ *+' conftest.er1 >conftest.err
46147 rm -f conftest.er1
46148 cat conftest.err >&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } && {
46151 test -z "$ac_c_werror_flag" ||
46152 test ! -s conftest.err
46153 } && test -s conftest.$ac_objext; then
46154 eval "$as_ac_Header=yes"
46155 else
46156 echo "$as_me: failed program was:" >&5
46157 sed 's/^/| /' conftest.$ac_ext >&5
46158
46159 eval "$as_ac_Header=no"
46160 fi
46161
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163 fi
46164 ac_res=`eval echo '${'$as_ac_Header'}'`
46165 { echo "$as_me:$LINENO: result: $ac_res" >&5
46166 echo "${ECHO_T}$ac_res" >&6; }
46167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46168 cat >>confdefs.h <<_ACEOF
46169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46170 _ACEOF
46171
46172 fi
46173
46174 done
46175
46176 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46177 cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_EPOLL_DISPATCHER 1
46179 _ACEOF
46180
46181 else
46182 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46183 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46184 fi
46185 fi
46186 fi
46187 fi
46188
46189
46190
46191
46192 for ac_func in gettimeofday ftime
46193 do
46194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46195 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46197 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46198 echo $ECHO_N "(cached) $ECHO_C" >&6
46199 else
46200 cat >conftest.$ac_ext <<_ACEOF
46201 /* confdefs.h. */
46202 _ACEOF
46203 cat confdefs.h >>conftest.$ac_ext
46204 cat >>conftest.$ac_ext <<_ACEOF
46205 /* end confdefs.h. */
46206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46208 #define $ac_func innocuous_$ac_func
46209
46210 /* System header to define __stub macros and hopefully few prototypes,
46211 which can conflict with char $ac_func (); below.
46212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46213 <limits.h> exists even on freestanding compilers. */
46214
46215 #ifdef __STDC__
46216 # include <limits.h>
46217 #else
46218 # include <assert.h>
46219 #endif
46220
46221 #undef $ac_func
46222
46223 /* Override any GCC internal prototype to avoid an error.
46224 Use char because int might match the return type of a GCC
46225 builtin and then its argument prototype would still apply. */
46226 #ifdef __cplusplus
46227 extern "C"
46228 #endif
46229 char $ac_func ();
46230 /* The GNU C library defines this for functions which it implements
46231 to always fail with ENOSYS. Some functions are actually named
46232 something starting with __ and the normal name is an alias. */
46233 #if defined __stub_$ac_func || defined __stub___$ac_func
46234 choke me
46235 #endif
46236
46237 int
46238 main ()
46239 {
46240 return $ac_func ();
46241 ;
46242 return 0;
46243 }
46244 _ACEOF
46245 rm -f conftest.$ac_objext conftest$ac_exeext
46246 if { (ac_try="$ac_link"
46247 case "(($ac_try" in
46248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46249 *) ac_try_echo=$ac_try;;
46250 esac
46251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46252 (eval "$ac_link") 2>conftest.er1
46253 ac_status=$?
46254 grep -v '^ *+' conftest.er1 >conftest.err
46255 rm -f conftest.er1
46256 cat conftest.err >&5
46257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46258 (exit $ac_status); } && {
46259 test -z "$ac_c_werror_flag" ||
46260 test ! -s conftest.err
46261 } && test -s conftest$ac_exeext &&
46262 $as_test_x conftest$ac_exeext; then
46263 eval "$as_ac_var=yes"
46264 else
46265 echo "$as_me: failed program was:" >&5
46266 sed 's/^/| /' conftest.$ac_ext >&5
46267
46268 eval "$as_ac_var=no"
46269 fi
46270
46271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46272 conftest$ac_exeext conftest.$ac_ext
46273 fi
46274 ac_res=`eval echo '${'$as_ac_var'}'`
46275 { echo "$as_me:$LINENO: result: $ac_res" >&5
46276 echo "${ECHO_T}$ac_res" >&6; }
46277 if test `eval echo '${'$as_ac_var'}'` = yes; then
46278 cat >>confdefs.h <<_ACEOF
46279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46280 _ACEOF
46281 break
46282 fi
46283 done
46284
46285
46286 if test "$ac_cv_func_gettimeofday" = "yes"; then
46287 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46288 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46289 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46290 echo $ECHO_N "(cached) $ECHO_C" >&6
46291 else
46292
46293 cat >conftest.$ac_ext <<_ACEOF
46294 /* confdefs.h. */
46295 _ACEOF
46296 cat confdefs.h >>conftest.$ac_ext
46297 cat >>conftest.$ac_ext <<_ACEOF
46298 /* end confdefs.h. */
46299
46300 #include <sys/time.h>
46301 #include <unistd.h>
46302
46303 int
46304 main ()
46305 {
46306
46307 struct timeval tv;
46308 gettimeofday(&tv, NULL);
46309
46310 ;
46311 return 0;
46312 }
46313 _ACEOF
46314 rm -f conftest.$ac_objext
46315 if { (ac_try="$ac_compile"
46316 case "(($ac_try" in
46317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46318 *) ac_try_echo=$ac_try;;
46319 esac
46320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46321 (eval "$ac_compile") 2>conftest.er1
46322 ac_status=$?
46323 grep -v '^ *+' conftest.er1 >conftest.err
46324 rm -f conftest.er1
46325 cat conftest.err >&5
46326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46327 (exit $ac_status); } && {
46328 test -z "$ac_c_werror_flag" ||
46329 test ! -s conftest.err
46330 } && test -s conftest.$ac_objext; then
46331 wx_cv_func_gettimeofday_has_2_args=yes
46332 else
46333 echo "$as_me: failed program was:" >&5
46334 sed 's/^/| /' conftest.$ac_ext >&5
46335
46336 cat >conftest.$ac_ext <<_ACEOF
46337 /* confdefs.h. */
46338 _ACEOF
46339 cat confdefs.h >>conftest.$ac_ext
46340 cat >>conftest.$ac_ext <<_ACEOF
46341 /* end confdefs.h. */
46342
46343 #include <sys/time.h>
46344 #include <unistd.h>
46345
46346 int
46347 main ()
46348 {
46349
46350 struct timeval tv;
46351 gettimeofday(&tv);
46352
46353 ;
46354 return 0;
46355 }
46356 _ACEOF
46357 rm -f conftest.$ac_objext
46358 if { (ac_try="$ac_compile"
46359 case "(($ac_try" in
46360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46361 *) ac_try_echo=$ac_try;;
46362 esac
46363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46364 (eval "$ac_compile") 2>conftest.er1
46365 ac_status=$?
46366 grep -v '^ *+' conftest.er1 >conftest.err
46367 rm -f conftest.er1
46368 cat conftest.err >&5
46369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46370 (exit $ac_status); } && {
46371 test -z "$ac_c_werror_flag" ||
46372 test ! -s conftest.err
46373 } && test -s conftest.$ac_objext; then
46374 wx_cv_func_gettimeofday_has_2_args=no
46375 else
46376 echo "$as_me: failed program was:" >&5
46377 sed 's/^/| /' conftest.$ac_ext >&5
46378
46379
46380 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46381 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46382 wx_cv_func_gettimeofday_has_2_args=unknown
46383
46384
46385 fi
46386
46387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46388
46389 fi
46390
46391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46392
46393 fi
46394 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46395 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46396
46397 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define WX_GETTIMEOFDAY_NO_TZ 1
46400 _ACEOF
46401
46402 fi
46403 fi
46404
46405 if test "$wxUSE_DATETIME" = "yes"; then
46406 { echo "$as_me:$LINENO: checking for strptime" >&5
46407 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46408 if test "${ac_cv_func_strptime+set}" = set; then
46409 echo $ECHO_N "(cached) $ECHO_C" >&6
46410 else
46411 cat >conftest.$ac_ext <<_ACEOF
46412 /* confdefs.h. */
46413 _ACEOF
46414 cat confdefs.h >>conftest.$ac_ext
46415 cat >>conftest.$ac_ext <<_ACEOF
46416 /* end confdefs.h. */
46417 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46419 #define strptime innocuous_strptime
46420
46421 /* System header to define __stub macros and hopefully few prototypes,
46422 which can conflict with char strptime (); below.
46423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46424 <limits.h> exists even on freestanding compilers. */
46425
46426 #ifdef __STDC__
46427 # include <limits.h>
46428 #else
46429 # include <assert.h>
46430 #endif
46431
46432 #undef strptime
46433
46434 /* Override any GCC internal prototype to avoid an error.
46435 Use char because int might match the return type of a GCC
46436 builtin and then its argument prototype would still apply. */
46437 #ifdef __cplusplus
46438 extern "C"
46439 #endif
46440 char strptime ();
46441 /* The GNU C library defines this for functions which it implements
46442 to always fail with ENOSYS. Some functions are actually named
46443 something starting with __ and the normal name is an alias. */
46444 #if defined __stub_strptime || defined __stub___strptime
46445 choke me
46446 #endif
46447
46448 int
46449 main ()
46450 {
46451 return strptime ();
46452 ;
46453 return 0;
46454 }
46455 _ACEOF
46456 rm -f conftest.$ac_objext conftest$ac_exeext
46457 if { (ac_try="$ac_link"
46458 case "(($ac_try" in
46459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46460 *) ac_try_echo=$ac_try;;
46461 esac
46462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46463 (eval "$ac_link") 2>conftest.er1
46464 ac_status=$?
46465 grep -v '^ *+' conftest.er1 >conftest.err
46466 rm -f conftest.er1
46467 cat conftest.err >&5
46468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46469 (exit $ac_status); } && {
46470 test -z "$ac_c_werror_flag" ||
46471 test ! -s conftest.err
46472 } && test -s conftest$ac_exeext &&
46473 $as_test_x conftest$ac_exeext; then
46474 ac_cv_func_strptime=yes
46475 else
46476 echo "$as_me: failed program was:" >&5
46477 sed 's/^/| /' conftest.$ac_ext >&5
46478
46479 ac_cv_func_strptime=no
46480 fi
46481
46482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46483 conftest$ac_exeext conftest.$ac_ext
46484 fi
46485 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46486 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46487
46488 if test "$ac_cv_func_strptime" = "yes"; then
46489 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46490 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46491 if test "${wx_cv_func_strptime_decl+set}" = set; then
46492 echo $ECHO_N "(cached) $ECHO_C" >&6
46493 else
46494
46495 ac_ext=cpp
46496 ac_cpp='$CXXCPP $CPPFLAGS'
46497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46500
46501 cat >conftest.$ac_ext <<_ACEOF
46502 /* confdefs.h. */
46503 _ACEOF
46504 cat confdefs.h >>conftest.$ac_ext
46505 cat >>conftest.$ac_ext <<_ACEOF
46506 /* end confdefs.h. */
46507
46508 #include <time.h>
46509
46510 int
46511 main ()
46512 {
46513
46514 struct tm t;
46515 strptime("foo", "bar", &t);
46516
46517 ;
46518 return 0;
46519 }
46520 _ACEOF
46521 rm -f conftest.$ac_objext
46522 if { (ac_try="$ac_compile"
46523 case "(($ac_try" in
46524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46525 *) ac_try_echo=$ac_try;;
46526 esac
46527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46528 (eval "$ac_compile") 2>conftest.er1
46529 ac_status=$?
46530 grep -v '^ *+' conftest.er1 >conftest.err
46531 rm -f conftest.er1
46532 cat conftest.err >&5
46533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46534 (exit $ac_status); } && {
46535 test -z "$ac_cxx_werror_flag" ||
46536 test ! -s conftest.err
46537 } && test -s conftest.$ac_objext; then
46538 wx_cv_func_strptime_decl=yes
46539 else
46540 echo "$as_me: failed program was:" >&5
46541 sed 's/^/| /' conftest.$ac_ext >&5
46542
46543 wx_cv_func_strptime_decl=no
46544
46545 fi
46546
46547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46548 ac_ext=c
46549 ac_cpp='$CPP $CPPFLAGS'
46550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46553
46554
46555
46556 fi
46557 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46558 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46559 fi
46560 if test "$wx_cv_func_strptime_decl" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define HAVE_STRPTIME_DECL 1
46563 _ACEOF
46564
46565 else
46566 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46567 fi
46568 if test "$ac_cv_func_strptime" = "yes"; then
46569 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46570 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46571 if test "${wx_cv_func_strptime_ok+set}" = set; then
46572 echo $ECHO_N "(cached) $ECHO_C" >&6
46573 else
46574 if test "$cross_compiling" = yes; then
46575 wx_cv_func_strptime_ok=no
46576
46577 else
46578 cat >conftest.$ac_ext <<_ACEOF
46579
46580 #include <stdlib.h>
46581 #include <time.h>
46582 #include "confdefs.h"
46583
46584 $wx_strptime_decl
46585
46586 int main()
46587 {
46588 struct tm t;
46589 return !!strptime("", "%x", &t);
46590 }
46591
46592 _ACEOF
46593 rm -f conftest$ac_exeext
46594 if { (ac_try="$ac_link"
46595 case "(($ac_try" in
46596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46597 *) ac_try_echo=$ac_try;;
46598 esac
46599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46600 (eval "$ac_link") 2>&5
46601 ac_status=$?
46602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46604 { (case "(($ac_try" in
46605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46606 *) ac_try_echo=$ac_try;;
46607 esac
46608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46609 (eval "$ac_try") 2>&5
46610 ac_status=$?
46611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46612 (exit $ac_status); }; }; then
46613 wx_cv_func_strptime_ok=yes
46614 else
46615 echo "$as_me: program exited with status $ac_status" >&5
46616 echo "$as_me: failed program was:" >&5
46617 sed 's/^/| /' conftest.$ac_ext >&5
46618
46619 ( exit $ac_status )
46620 wx_cv_func_strptime_ok=no
46621 fi
46622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46623 fi
46624
46625
46626
46627 fi
46628 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46629 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46630
46631 if test "$wx_cv_func_strptime_ok" = "yes"; then
46632 cat >>confdefs.h <<\_ACEOF
46633 #define HAVE_STRPTIME 1
46634 _ACEOF
46635
46636 fi
46637 fi
46638
46639 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46640 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46641 if test "${wx_cv_var_timezone+set}" = set; then
46642 echo $ECHO_N "(cached) $ECHO_C" >&6
46643 else
46644
46645 ac_ext=cpp
46646 ac_cpp='$CXXCPP $CPPFLAGS'
46647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46650
46651 cat >conftest.$ac_ext <<_ACEOF
46652 /* confdefs.h. */
46653 _ACEOF
46654 cat confdefs.h >>conftest.$ac_ext
46655 cat >>conftest.$ac_ext <<_ACEOF
46656 /* end confdefs.h. */
46657
46658 #include <time.h>
46659
46660 int
46661 main ()
46662 {
46663
46664 int tz;
46665 tz = timezone;
46666
46667 ;
46668 return 0;
46669 }
46670 _ACEOF
46671 rm -f conftest.$ac_objext
46672 if { (ac_try="$ac_compile"
46673 case "(($ac_try" in
46674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46675 *) ac_try_echo=$ac_try;;
46676 esac
46677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46678 (eval "$ac_compile") 2>conftest.er1
46679 ac_status=$?
46680 grep -v '^ *+' conftest.er1 >conftest.err
46681 rm -f conftest.er1
46682 cat conftest.err >&5
46683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684 (exit $ac_status); } && {
46685 test -z "$ac_cxx_werror_flag" ||
46686 test ! -s conftest.err
46687 } && test -s conftest.$ac_objext; then
46688
46689 wx_cv_var_timezone=timezone
46690
46691 else
46692 echo "$as_me: failed program was:" >&5
46693 sed 's/^/| /' conftest.$ac_ext >&5
46694
46695
46696 cat >conftest.$ac_ext <<_ACEOF
46697 /* confdefs.h. */
46698 _ACEOF
46699 cat confdefs.h >>conftest.$ac_ext
46700 cat >>conftest.$ac_ext <<_ACEOF
46701 /* end confdefs.h. */
46702
46703 #include <time.h>
46704
46705 int
46706 main ()
46707 {
46708
46709 int tz;
46710 tz = _timezone;
46711
46712 ;
46713 return 0;
46714 }
46715 _ACEOF
46716 rm -f conftest.$ac_objext
46717 if { (ac_try="$ac_compile"
46718 case "(($ac_try" in
46719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46720 *) ac_try_echo=$ac_try;;
46721 esac
46722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46723 (eval "$ac_compile") 2>conftest.er1
46724 ac_status=$?
46725 grep -v '^ *+' conftest.er1 >conftest.err
46726 rm -f conftest.er1
46727 cat conftest.err >&5
46728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46729 (exit $ac_status); } && {
46730 test -z "$ac_cxx_werror_flag" ||
46731 test ! -s conftest.err
46732 } && test -s conftest.$ac_objext; then
46733
46734 wx_cv_var_timezone=_timezone
46735
46736 else
46737 echo "$as_me: failed program was:" >&5
46738 sed 's/^/| /' conftest.$ac_ext >&5
46739
46740
46741 cat >conftest.$ac_ext <<_ACEOF
46742 /* confdefs.h. */
46743 _ACEOF
46744 cat confdefs.h >>conftest.$ac_ext
46745 cat >>conftest.$ac_ext <<_ACEOF
46746 /* end confdefs.h. */
46747
46748 #include <time.h>
46749
46750 int
46751 main ()
46752 {
46753
46754 int tz;
46755 tz = __timezone;
46756
46757 ;
46758 return 0;
46759 }
46760 _ACEOF
46761 rm -f conftest.$ac_objext
46762 if { (ac_try="$ac_compile"
46763 case "(($ac_try" in
46764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46765 *) ac_try_echo=$ac_try;;
46766 esac
46767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46768 (eval "$ac_compile") 2>conftest.er1
46769 ac_status=$?
46770 grep -v '^ *+' conftest.er1 >conftest.err
46771 rm -f conftest.er1
46772 cat conftest.err >&5
46773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46774 (exit $ac_status); } && {
46775 test -z "$ac_cxx_werror_flag" ||
46776 test ! -s conftest.err
46777 } && test -s conftest.$ac_objext; then
46778
46779 wx_cv_var_timezone=__timezone
46780
46781 else
46782 echo "$as_me: failed program was:" >&5
46783 sed 's/^/| /' conftest.$ac_ext >&5
46784
46785
46786 if test "$USE_DOS" = 0 ; then
46787 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46788 echo "$as_me: WARNING: no timezone variable" >&2;}
46789 fi
46790
46791
46792 fi
46793
46794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46795
46796
46797 fi
46798
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46800
46801
46802 fi
46803
46804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46805 ac_ext=c
46806 ac_cpp='$CPP $CPPFLAGS'
46807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46810
46811
46812
46813 fi
46814 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46815 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46816
46817 if test "x$wx_cv_var_timezone" != x ; then
46818 cat >>confdefs.h <<_ACEOF
46819 #define WX_TIMEZONE $wx_cv_var_timezone
46820 _ACEOF
46821
46822 fi
46823
46824
46825 for ac_func in localtime
46826 do
46827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46828 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46831 echo $ECHO_N "(cached) $ECHO_C" >&6
46832 else
46833 cat >conftest.$ac_ext <<_ACEOF
46834 /* confdefs.h. */
46835 _ACEOF
46836 cat confdefs.h >>conftest.$ac_ext
46837 cat >>conftest.$ac_ext <<_ACEOF
46838 /* end confdefs.h. */
46839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46841 #define $ac_func innocuous_$ac_func
46842
46843 /* System header to define __stub macros and hopefully few prototypes,
46844 which can conflict with char $ac_func (); below.
46845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46846 <limits.h> exists even on freestanding compilers. */
46847
46848 #ifdef __STDC__
46849 # include <limits.h>
46850 #else
46851 # include <assert.h>
46852 #endif
46853
46854 #undef $ac_func
46855
46856 /* Override any GCC internal prototype to avoid an error.
46857 Use char because int might match the return type of a GCC
46858 builtin and then its argument prototype would still apply. */
46859 #ifdef __cplusplus
46860 extern "C"
46861 #endif
46862 char $ac_func ();
46863 /* The GNU C library defines this for functions which it implements
46864 to always fail with ENOSYS. Some functions are actually named
46865 something starting with __ and the normal name is an alias. */
46866 #if defined __stub_$ac_func || defined __stub___$ac_func
46867 choke me
46868 #endif
46869
46870 int
46871 main ()
46872 {
46873 return $ac_func ();
46874 ;
46875 return 0;
46876 }
46877 _ACEOF
46878 rm -f conftest.$ac_objext conftest$ac_exeext
46879 if { (ac_try="$ac_link"
46880 case "(($ac_try" in
46881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46882 *) ac_try_echo=$ac_try;;
46883 esac
46884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46885 (eval "$ac_link") 2>conftest.er1
46886 ac_status=$?
46887 grep -v '^ *+' conftest.er1 >conftest.err
46888 rm -f conftest.er1
46889 cat conftest.err >&5
46890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46891 (exit $ac_status); } && {
46892 test -z "$ac_c_werror_flag" ||
46893 test ! -s conftest.err
46894 } && test -s conftest$ac_exeext &&
46895 $as_test_x conftest$ac_exeext; then
46896 eval "$as_ac_var=yes"
46897 else
46898 echo "$as_me: failed program was:" >&5
46899 sed 's/^/| /' conftest.$ac_ext >&5
46900
46901 eval "$as_ac_var=no"
46902 fi
46903
46904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46905 conftest$ac_exeext conftest.$ac_ext
46906 fi
46907 ac_res=`eval echo '${'$as_ac_var'}'`
46908 { echo "$as_me:$LINENO: result: $ac_res" >&5
46909 echo "${ECHO_T}$ac_res" >&6; }
46910 if test `eval echo '${'$as_ac_var'}'` = yes; then
46911 cat >>confdefs.h <<_ACEOF
46912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46913 _ACEOF
46914
46915 fi
46916 done
46917
46918
46919 if test "$ac_cv_func_localtime" = "yes"; then
46920 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46921 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46922 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46923 echo $ECHO_N "(cached) $ECHO_C" >&6
46924 else
46925
46926 cat >conftest.$ac_ext <<_ACEOF
46927 /* confdefs.h. */
46928 _ACEOF
46929 cat confdefs.h >>conftest.$ac_ext
46930 cat >>conftest.$ac_ext <<_ACEOF
46931 /* end confdefs.h. */
46932
46933 #include <time.h>
46934
46935 int
46936 main ()
46937 {
46938
46939 struct tm tm;
46940 tm.tm_gmtoff++;
46941
46942 ;
46943 return 0;
46944 }
46945 _ACEOF
46946 rm -f conftest.$ac_objext
46947 if { (ac_try="$ac_compile"
46948 case "(($ac_try" in
46949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46950 *) ac_try_echo=$ac_try;;
46951 esac
46952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46953 (eval "$ac_compile") 2>conftest.er1
46954 ac_status=$?
46955 grep -v '^ *+' conftest.er1 >conftest.err
46956 rm -f conftest.er1
46957 cat conftest.err >&5
46958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46959 (exit $ac_status); } && {
46960 test -z "$ac_c_werror_flag" ||
46961 test ! -s conftest.err
46962 } && test -s conftest.$ac_objext; then
46963
46964 wx_cv_struct_tm_has_gmtoff=yes
46965
46966 else
46967 echo "$as_me: failed program was:" >&5
46968 sed 's/^/| /' conftest.$ac_ext >&5
46969
46970 wx_cv_struct_tm_has_gmtoff=no
46971
46972 fi
46973
46974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46975
46976 fi
46977 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46978 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46979 fi
46980
46981 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46982 cat >>confdefs.h <<\_ACEOF
46983 #define WX_GMTOFF_IN_TM 1
46984 _ACEOF
46985
46986 fi
46987
46988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46989 fi
46990
46991
46992 if test "$wxUSE_SOCKETS" = "yes"; then
46993 if test "$wxUSE_MGL" = "1"; then
46994 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46995 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46996 wxUSE_SOCKETS="no"
46997 fi
46998 fi
46999
47000 if test "$wxUSE_SOCKETS" = "yes"; then
47001 if test "$TOOLKIT" != "MSW"; then
47002 { echo "$as_me:$LINENO: checking for socket" >&5
47003 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
47004 if test "${ac_cv_func_socket+set}" = set; then
47005 echo $ECHO_N "(cached) $ECHO_C" >&6
47006 else
47007 cat >conftest.$ac_ext <<_ACEOF
47008 /* confdefs.h. */
47009 _ACEOF
47010 cat confdefs.h >>conftest.$ac_ext
47011 cat >>conftest.$ac_ext <<_ACEOF
47012 /* end confdefs.h. */
47013 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
47014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47015 #define socket innocuous_socket
47016
47017 /* System header to define __stub macros and hopefully few prototypes,
47018 which can conflict with char socket (); below.
47019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47020 <limits.h> exists even on freestanding compilers. */
47021
47022 #ifdef __STDC__
47023 # include <limits.h>
47024 #else
47025 # include <assert.h>
47026 #endif
47027
47028 #undef socket
47029
47030 /* Override any GCC internal prototype to avoid an error.
47031 Use char because int might match the return type of a GCC
47032 builtin and then its argument prototype would still apply. */
47033 #ifdef __cplusplus
47034 extern "C"
47035 #endif
47036 char socket ();
47037 /* The GNU C library defines this for functions which it implements
47038 to always fail with ENOSYS. Some functions are actually named
47039 something starting with __ and the normal name is an alias. */
47040 #if defined __stub_socket || defined __stub___socket
47041 choke me
47042 #endif
47043
47044 int
47045 main ()
47046 {
47047 return socket ();
47048 ;
47049 return 0;
47050 }
47051 _ACEOF
47052 rm -f conftest.$ac_objext conftest$ac_exeext
47053 if { (ac_try="$ac_link"
47054 case "(($ac_try" in
47055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47056 *) ac_try_echo=$ac_try;;
47057 esac
47058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47059 (eval "$ac_link") 2>conftest.er1
47060 ac_status=$?
47061 grep -v '^ *+' conftest.er1 >conftest.err
47062 rm -f conftest.er1
47063 cat conftest.err >&5
47064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47065 (exit $ac_status); } && {
47066 test -z "$ac_c_werror_flag" ||
47067 test ! -s conftest.err
47068 } && test -s conftest$ac_exeext &&
47069 $as_test_x conftest$ac_exeext; then
47070 ac_cv_func_socket=yes
47071 else
47072 echo "$as_me: failed program was:" >&5
47073 sed 's/^/| /' conftest.$ac_ext >&5
47074
47075 ac_cv_func_socket=no
47076 fi
47077
47078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47079 conftest$ac_exeext conftest.$ac_ext
47080 fi
47081 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
47082 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
47083 if test $ac_cv_func_socket = yes; then
47084 :
47085 else
47086
47087 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
47088 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
47089 if test "${ac_cv_lib_socket_socket+set}" = set; then
47090 echo $ECHO_N "(cached) $ECHO_C" >&6
47091 else
47092 ac_check_lib_save_LIBS=$LIBS
47093 LIBS="-lsocket $LIBS"
47094 cat >conftest.$ac_ext <<_ACEOF
47095 /* confdefs.h. */
47096 _ACEOF
47097 cat confdefs.h >>conftest.$ac_ext
47098 cat >>conftest.$ac_ext <<_ACEOF
47099 /* end confdefs.h. */
47100
47101 /* Override any GCC internal prototype to avoid an error.
47102 Use char because int might match the return type of a GCC
47103 builtin and then its argument prototype would still apply. */
47104 #ifdef __cplusplus
47105 extern "C"
47106 #endif
47107 char socket ();
47108 int
47109 main ()
47110 {
47111 return socket ();
47112 ;
47113 return 0;
47114 }
47115 _ACEOF
47116 rm -f conftest.$ac_objext conftest$ac_exeext
47117 if { (ac_try="$ac_link"
47118 case "(($ac_try" in
47119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47120 *) ac_try_echo=$ac_try;;
47121 esac
47122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47123 (eval "$ac_link") 2>conftest.er1
47124 ac_status=$?
47125 grep -v '^ *+' conftest.er1 >conftest.err
47126 rm -f conftest.er1
47127 cat conftest.err >&5
47128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47129 (exit $ac_status); } && {
47130 test -z "$ac_c_werror_flag" ||
47131 test ! -s conftest.err
47132 } && test -s conftest$ac_exeext &&
47133 $as_test_x conftest$ac_exeext; then
47134 ac_cv_lib_socket_socket=yes
47135 else
47136 echo "$as_me: failed program was:" >&5
47137 sed 's/^/| /' conftest.$ac_ext >&5
47138
47139 ac_cv_lib_socket_socket=no
47140 fi
47141
47142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47143 conftest$ac_exeext conftest.$ac_ext
47144 LIBS=$ac_check_lib_save_LIBS
47145 fi
47146 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47147 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47148 if test $ac_cv_lib_socket_socket = yes; then
47149 if test "$INET_LINK" != " -lsocket"; then
47150 INET_LINK="$INET_LINK -lsocket"
47151 fi
47152 else
47153
47154 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47155 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47156 wxUSE_SOCKETS=no
47157
47158
47159 fi
47160
47161
47162
47163 fi
47164
47165 fi
47166 fi
47167
47168 if test "$wxUSE_SOCKETS" = "yes" ; then
47169 if test "$TOOLKIT" != "MSW"; then
47170 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47171 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47172 if test "${wx_cv_type_getsockname3+set}" = set; then
47173 echo $ECHO_N "(cached) $ECHO_C" >&6
47174 else
47175
47176 ac_ext=cpp
47177 ac_cpp='$CXXCPP $CPPFLAGS'
47178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47181
47182 cat >conftest.$ac_ext <<_ACEOF
47183 /* confdefs.h. */
47184 _ACEOF
47185 cat confdefs.h >>conftest.$ac_ext
47186 cat >>conftest.$ac_ext <<_ACEOF
47187 /* end confdefs.h. */
47188
47189 #include <sys/types.h>
47190 #include <sys/socket.h>
47191
47192 int
47193 main ()
47194 {
47195
47196 socklen_t len;
47197 getsockname(0, 0, &len);
47198
47199 ;
47200 return 0;
47201 }
47202 _ACEOF
47203 rm -f conftest.$ac_objext
47204 if { (ac_try="$ac_compile"
47205 case "(($ac_try" in
47206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47207 *) ac_try_echo=$ac_try;;
47208 esac
47209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47210 (eval "$ac_compile") 2>conftest.er1
47211 ac_status=$?
47212 grep -v '^ *+' conftest.er1 >conftest.err
47213 rm -f conftest.er1
47214 cat conftest.err >&5
47215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47216 (exit $ac_status); } && {
47217 test -z "$ac_cxx_werror_flag" ||
47218 test ! -s conftest.err
47219 } && test -s conftest.$ac_objext; then
47220 wx_cv_type_getsockname3=socklen_t
47221 else
47222 echo "$as_me: failed program was:" >&5
47223 sed 's/^/| /' conftest.$ac_ext >&5
47224
47225
47226 CFLAGS_OLD="$CFLAGS"
47227 if test "$GCC" = yes ; then
47228 CFLAGS="-Werror $CFLAGS"
47229 fi
47230
47231 cat >conftest.$ac_ext <<_ACEOF
47232 /* confdefs.h. */
47233 _ACEOF
47234 cat confdefs.h >>conftest.$ac_ext
47235 cat >>conftest.$ac_ext <<_ACEOF
47236 /* end confdefs.h. */
47237
47238 #include <sys/types.h>
47239 #include <sys/socket.h>
47240
47241 int
47242 main ()
47243 {
47244
47245 size_t len;
47246 getsockname(0, 0, &len);
47247
47248 ;
47249 return 0;
47250 }
47251 _ACEOF
47252 rm -f conftest.$ac_objext
47253 if { (ac_try="$ac_compile"
47254 case "(($ac_try" in
47255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47256 *) ac_try_echo=$ac_try;;
47257 esac
47258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47259 (eval "$ac_compile") 2>conftest.er1
47260 ac_status=$?
47261 grep -v '^ *+' conftest.er1 >conftest.err
47262 rm -f conftest.er1
47263 cat conftest.err >&5
47264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47265 (exit $ac_status); } && {
47266 test -z "$ac_cxx_werror_flag" ||
47267 test ! -s conftest.err
47268 } && test -s conftest.$ac_objext; then
47269 wx_cv_type_getsockname3=size_t
47270 else
47271 echo "$as_me: failed program was:" >&5
47272 sed 's/^/| /' conftest.$ac_ext >&5
47273
47274 cat >conftest.$ac_ext <<_ACEOF
47275 /* confdefs.h. */
47276 _ACEOF
47277 cat confdefs.h >>conftest.$ac_ext
47278 cat >>conftest.$ac_ext <<_ACEOF
47279 /* end confdefs.h. */
47280
47281 #include <sys/types.h>
47282 #include <sys/socket.h>
47283
47284 int
47285 main ()
47286 {
47287
47288 int len;
47289 getsockname(0, 0, &len);
47290
47291 ;
47292 return 0;
47293 }
47294 _ACEOF
47295 rm -f conftest.$ac_objext
47296 if { (ac_try="$ac_compile"
47297 case "(($ac_try" in
47298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47299 *) ac_try_echo=$ac_try;;
47300 esac
47301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47302 (eval "$ac_compile") 2>conftest.er1
47303 ac_status=$?
47304 grep -v '^ *+' conftest.er1 >conftest.err
47305 rm -f conftest.er1
47306 cat conftest.err >&5
47307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308 (exit $ac_status); } && {
47309 test -z "$ac_cxx_werror_flag" ||
47310 test ! -s conftest.err
47311 } && test -s conftest.$ac_objext; then
47312 wx_cv_type_getsockname3=int
47313 else
47314 echo "$as_me: failed program was:" >&5
47315 sed 's/^/| /' conftest.$ac_ext >&5
47316
47317 wx_cv_type_getsockname3=unknown
47318
47319 fi
47320
47321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47322
47323 fi
47324
47325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47326
47327 CFLAGS="$CFLAGS_OLD"
47328
47329
47330 fi
47331
47332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47333 ac_ext=c
47334 ac_cpp='$CPP $CPPFLAGS'
47335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47338
47339
47340 fi
47341 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47342 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47343
47344 if test "$wx_cv_type_getsockname3" = "unknown"; then
47345 wxUSE_SOCKETS=no
47346 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47347 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47348 else
47349 cat >>confdefs.h <<_ACEOF
47350 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47351 _ACEOF
47352
47353 fi
47354 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47355 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47356 if test "${wx_cv_type_getsockopt5+set}" = set; then
47357 echo $ECHO_N "(cached) $ECHO_C" >&6
47358 else
47359
47360 ac_ext=cpp
47361 ac_cpp='$CXXCPP $CPPFLAGS'
47362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47365
47366 cat >conftest.$ac_ext <<_ACEOF
47367 /* confdefs.h. */
47368 _ACEOF
47369 cat confdefs.h >>conftest.$ac_ext
47370 cat >>conftest.$ac_ext <<_ACEOF
47371 /* end confdefs.h. */
47372
47373 #include <sys/types.h>
47374 #include <sys/socket.h>
47375
47376 int
47377 main ()
47378 {
47379
47380 socklen_t len;
47381 getsockopt(0, 0, 0, 0, &len);
47382
47383 ;
47384 return 0;
47385 }
47386 _ACEOF
47387 rm -f conftest.$ac_objext
47388 if { (ac_try="$ac_compile"
47389 case "(($ac_try" in
47390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47391 *) ac_try_echo=$ac_try;;
47392 esac
47393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47394 (eval "$ac_compile") 2>conftest.er1
47395 ac_status=$?
47396 grep -v '^ *+' conftest.er1 >conftest.err
47397 rm -f conftest.er1
47398 cat conftest.err >&5
47399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47400 (exit $ac_status); } && {
47401 test -z "$ac_cxx_werror_flag" ||
47402 test ! -s conftest.err
47403 } && test -s conftest.$ac_objext; then
47404 wx_cv_type_getsockopt5=socklen_t
47405 else
47406 echo "$as_me: failed program was:" >&5
47407 sed 's/^/| /' conftest.$ac_ext >&5
47408
47409
47410 cat >conftest.$ac_ext <<_ACEOF
47411 /* confdefs.h. */
47412 _ACEOF
47413 cat confdefs.h >>conftest.$ac_ext
47414 cat >>conftest.$ac_ext <<_ACEOF
47415 /* end confdefs.h. */
47416
47417 #include <sys/types.h>
47418 #include <sys/socket.h>
47419
47420 int
47421 main ()
47422 {
47423
47424 size_t len;
47425 getsockopt(0, 0, 0, 0, &len);
47426
47427 ;
47428 return 0;
47429 }
47430 _ACEOF
47431 rm -f conftest.$ac_objext
47432 if { (ac_try="$ac_compile"
47433 case "(($ac_try" in
47434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47435 *) ac_try_echo=$ac_try;;
47436 esac
47437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47438 (eval "$ac_compile") 2>conftest.er1
47439 ac_status=$?
47440 grep -v '^ *+' conftest.er1 >conftest.err
47441 rm -f conftest.er1
47442 cat conftest.err >&5
47443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47444 (exit $ac_status); } && {
47445 test -z "$ac_cxx_werror_flag" ||
47446 test ! -s conftest.err
47447 } && test -s conftest.$ac_objext; then
47448 wx_cv_type_getsockopt5=size_t
47449 else
47450 echo "$as_me: failed program was:" >&5
47451 sed 's/^/| /' conftest.$ac_ext >&5
47452
47453 cat >conftest.$ac_ext <<_ACEOF
47454 /* confdefs.h. */
47455 _ACEOF
47456 cat confdefs.h >>conftest.$ac_ext
47457 cat >>conftest.$ac_ext <<_ACEOF
47458 /* end confdefs.h. */
47459
47460 #include <sys/types.h>
47461 #include <sys/socket.h>
47462
47463 int
47464 main ()
47465 {
47466
47467 int len;
47468 getsockopt(0, 0, 0, 0, &len);
47469
47470 ;
47471 return 0;
47472 }
47473 _ACEOF
47474 rm -f conftest.$ac_objext
47475 if { (ac_try="$ac_compile"
47476 case "(($ac_try" in
47477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47478 *) ac_try_echo=$ac_try;;
47479 esac
47480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47481 (eval "$ac_compile") 2>conftest.er1
47482 ac_status=$?
47483 grep -v '^ *+' conftest.er1 >conftest.err
47484 rm -f conftest.er1
47485 cat conftest.err >&5
47486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47487 (exit $ac_status); } && {
47488 test -z "$ac_cxx_werror_flag" ||
47489 test ! -s conftest.err
47490 } && test -s conftest.$ac_objext; then
47491 wx_cv_type_getsockopt5=int
47492 else
47493 echo "$as_me: failed program was:" >&5
47494 sed 's/^/| /' conftest.$ac_ext >&5
47495
47496 wx_cv_type_getsockopt5=unknown
47497
47498 fi
47499
47500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47501
47502 fi
47503
47504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47505
47506
47507 fi
47508
47509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47510 ac_ext=c
47511 ac_cpp='$CPP $CPPFLAGS'
47512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47515
47516
47517 fi
47518 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47519 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47520
47521 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47522 wxUSE_SOCKETS=no
47523 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47524 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47525 else
47526 cat >>confdefs.h <<_ACEOF
47527 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47528 _ACEOF
47529
47530 fi
47531 fi
47532 fi
47533
47534 if test "$wxUSE_SOCKETS" = "yes" ; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_SOCKETS 1
47537 _ACEOF
47538
47539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47540 fi
47541
47542 if test "$wxUSE_PROTOCOL" = "yes"; then
47543 if test "$wxUSE_SOCKETS" != "yes"; then
47544 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47545 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47546 wxUSE_PROTOCOL=no
47547 fi
47548 fi
47549
47550 if test "$wxUSE_PROTOCOL" = "yes"; then
47551 cat >>confdefs.h <<\_ACEOF
47552 #define wxUSE_PROTOCOL 1
47553 _ACEOF
47554
47555
47556 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47557 cat >>confdefs.h <<\_ACEOF
47558 #define wxUSE_PROTOCOL_HTTP 1
47559 _ACEOF
47560
47561 fi
47562 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47563 cat >>confdefs.h <<\_ACEOF
47564 #define wxUSE_PROTOCOL_FTP 1
47565 _ACEOF
47566
47567 fi
47568 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47569 cat >>confdefs.h <<\_ACEOF
47570 #define wxUSE_PROTOCOL_FILE 1
47571 _ACEOF
47572
47573 fi
47574 else
47575 if test "$wxUSE_FS_INET" = "yes"; then
47576 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47577 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47578 wxUSE_FS_INET="no"
47579 fi
47580 fi
47581
47582 if test "$wxUSE_URL" = "yes"; then
47583 if test "$wxUSE_PROTOCOL" != "yes"; then
47584 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47585 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47586 wxUSE_URL=no
47587 fi
47588 if test "$wxUSE_URL" = "yes"; then
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_URL 1
47591 _ACEOF
47592
47593 fi
47594 fi
47595
47596 if test "$wxUSE_VARIANT" = "yes"; then
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_VARIANT 1
47599 _ACEOF
47600
47601 fi
47602
47603 if test "$wxUSE_FS_INET" = "yes"; then
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_FS_INET 1
47606 _ACEOF
47607
47608 fi
47609
47610
47611 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47612 wxUSE_JOYSTICK=no
47613
47614 if test "$TOOLKIT" = "MSW"; then
47615 wxUSE_JOYSTICK=yes
47616
47617 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47618 if test "$USE_DARWIN" = 1; then
47619 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47620 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47621 ac_ext=cpp
47622 ac_cpp='$CXXCPP $CPPFLAGS'
47623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47626
47627 cat >conftest.$ac_ext <<_ACEOF
47628 /* confdefs.h. */
47629 _ACEOF
47630 cat confdefs.h >>conftest.$ac_ext
47631 cat >>conftest.$ac_ext <<_ACEOF
47632 /* end confdefs.h. */
47633 #include <IOKit/hid/IOHIDLib.h>
47634 int
47635 main ()
47636 {
47637 IOHIDQueueInterface *qi = NULL;
47638 IOHIDCallbackFunction cb = NULL;
47639 qi->setEventCallout(NULL, cb, NULL, NULL);
47640 ;
47641 return 0;
47642 }
47643 _ACEOF
47644 rm -f conftest.$ac_objext
47645 if { (ac_try="$ac_compile"
47646 case "(($ac_try" in
47647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47648 *) ac_try_echo=$ac_try;;
47649 esac
47650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47651 (eval "$ac_compile") 2>conftest.er1
47652 ac_status=$?
47653 grep -v '^ *+' conftest.er1 >conftest.err
47654 rm -f conftest.er1
47655 cat conftest.err >&5
47656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47657 (exit $ac_status); } && {
47658 test -z "$ac_cxx_werror_flag" ||
47659 test ! -s conftest.err
47660 } && test -s conftest.$ac_objext; then
47661 wxUSE_JOYSTICK=yes
47662
47663 else
47664 echo "$as_me: failed program was:" >&5
47665 sed 's/^/| /' conftest.$ac_ext >&5
47666
47667
47668 fi
47669
47670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47671 ac_ext=c
47672 ac_cpp='$CPP $CPPFLAGS'
47673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47676
47677 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47678 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47679 fi
47680
47681 else
47682 if test "$wxUSE_MGL" != "1"; then
47683
47684 for ac_header in linux/joystick.h
47685 do
47686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47690 echo $ECHO_N "(cached) $ECHO_C" >&6
47691 else
47692 cat >conftest.$ac_ext <<_ACEOF
47693 /* confdefs.h. */
47694 _ACEOF
47695 cat confdefs.h >>conftest.$ac_ext
47696 cat >>conftest.$ac_ext <<_ACEOF
47697 /* end confdefs.h. */
47698 $ac_includes_default
47699
47700 #include <$ac_header>
47701 _ACEOF
47702 rm -f conftest.$ac_objext
47703 if { (ac_try="$ac_compile"
47704 case "(($ac_try" in
47705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47706 *) ac_try_echo=$ac_try;;
47707 esac
47708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47709 (eval "$ac_compile") 2>conftest.er1
47710 ac_status=$?
47711 grep -v '^ *+' conftest.er1 >conftest.err
47712 rm -f conftest.er1
47713 cat conftest.err >&5
47714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47715 (exit $ac_status); } && {
47716 test -z "$ac_c_werror_flag" ||
47717 test ! -s conftest.err
47718 } && test -s conftest.$ac_objext; then
47719 eval "$as_ac_Header=yes"
47720 else
47721 echo "$as_me: failed program was:" >&5
47722 sed 's/^/| /' conftest.$ac_ext >&5
47723
47724 eval "$as_ac_Header=no"
47725 fi
47726
47727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47728 fi
47729 ac_res=`eval echo '${'$as_ac_Header'}'`
47730 { echo "$as_me:$LINENO: result: $ac_res" >&5
47731 echo "${ECHO_T}$ac_res" >&6; }
47732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47733 cat >>confdefs.h <<_ACEOF
47734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47735 _ACEOF
47736 wxUSE_JOYSTICK=yes
47737 fi
47738
47739 done
47740
47741 fi
47742 fi
47743
47744 if test "$wxUSE_JOYSTICK" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_JOYSTICK 1
47747 _ACEOF
47748
47749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47750 else
47751 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47752 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47753 fi
47754 fi
47755
47756
47757
47758 if test "$wxUSE_FONTENUM" = "yes" ; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_FONTENUM 1
47761 _ACEOF
47762
47763 fi
47764
47765 if test "$wxUSE_FONTMAP" = "yes" ; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_FONTMAP 1
47768 _ACEOF
47769
47770 fi
47771
47772 if test "$wxUSE_UNICODE" = "yes" ; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_UNICODE 1
47775 _ACEOF
47776
47777
47778 if test "$USE_WIN32" != 1; then
47779 wxUSE_UNICODE_MSLU=no
47780 fi
47781
47782 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47783 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47784 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47785 if test "${ac_cv_lib_unicows_main+set}" = set; then
47786 echo $ECHO_N "(cached) $ECHO_C" >&6
47787 else
47788 ac_check_lib_save_LIBS=$LIBS
47789 LIBS="-lunicows $LIBS"
47790 cat >conftest.$ac_ext <<_ACEOF
47791 /* confdefs.h. */
47792 _ACEOF
47793 cat confdefs.h >>conftest.$ac_ext
47794 cat >>conftest.$ac_ext <<_ACEOF
47795 /* end confdefs.h. */
47796
47797
47798 int
47799 main ()
47800 {
47801 return main ();
47802 ;
47803 return 0;
47804 }
47805 _ACEOF
47806 rm -f conftest.$ac_objext conftest$ac_exeext
47807 if { (ac_try="$ac_link"
47808 case "(($ac_try" in
47809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47810 *) ac_try_echo=$ac_try;;
47811 esac
47812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47813 (eval "$ac_link") 2>conftest.er1
47814 ac_status=$?
47815 grep -v '^ *+' conftest.er1 >conftest.err
47816 rm -f conftest.er1
47817 cat conftest.err >&5
47818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47819 (exit $ac_status); } && {
47820 test -z "$ac_c_werror_flag" ||
47821 test ! -s conftest.err
47822 } && test -s conftest$ac_exeext &&
47823 $as_test_x conftest$ac_exeext; then
47824 ac_cv_lib_unicows_main=yes
47825 else
47826 echo "$as_me: failed program was:" >&5
47827 sed 's/^/| /' conftest.$ac_ext >&5
47828
47829 ac_cv_lib_unicows_main=no
47830 fi
47831
47832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47833 conftest$ac_exeext conftest.$ac_ext
47834 LIBS=$ac_check_lib_save_LIBS
47835 fi
47836 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47837 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47838 if test $ac_cv_lib_unicows_main = yes; then
47839
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_UNICODE_MSLU 1
47842 _ACEOF
47843
47844
47845 else
47846
47847 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47848 Applications will only run on Windows NT/2000/XP!" >&5
47849 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47850 Applications will only run on Windows NT/2000/XP!" >&2;}
47851 wxUSE_UNICODE_MSLU=no
47852
47853 fi
47854
47855 fi
47856 fi
47857
47858 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_UNICODE_UTF8 1
47861 _ACEOF
47862
47863
47864 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_UTF8_LOCALE_ONLY 1
47867 _ACEOF
47868
47869 fi
47870 fi
47871
47872
47873 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_CONSTRAINTS 1
47876 _ACEOF
47877
47878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47879 fi
47880
47881 if test "$wxUSE_MDI" = "yes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_MDI 1
47884 _ACEOF
47885
47886
47887 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_MDI_ARCHITECTURE 1
47890 _ACEOF
47891
47892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47893 fi
47894 fi
47895
47896 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47899 _ACEOF
47900
47901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47902 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47904 fi
47905 fi
47906
47907 if test "$wxUSE_HELP" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_HELP 1
47910 _ACEOF
47911
47912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47913
47914 if test "$wxUSE_MSW" = 1; then
47915 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47916 cat >>confdefs.h <<\_ACEOF
47917 #define wxUSE_MS_HTML_HELP 1
47918 _ACEOF
47919
47920 fi
47921 fi
47922
47923 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47924 if test "$wxUSE_HTML" = "yes"; then
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_WXHTML_HELP 1
47927 _ACEOF
47928
47929 else
47930 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47931 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47932 wxUSE_WXHTML_HELP=no
47933 fi
47934 fi
47935 fi
47936
47937 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47938 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47939 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47940 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47941 else
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_PRINTING_ARCHITECTURE 1
47944 _ACEOF
47945
47946 fi
47947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47948 fi
47949
47950 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_POSTSCRIPT 1
47953 _ACEOF
47954
47955 fi
47956
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47959 _ACEOF
47960
47961
47962 if test "$wxUSE_SVG" = "yes"; then
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_SVG 1
47965 _ACEOF
47966
47967 fi
47968
47969
47970 if test "$wxUSE_METAFILE" = "yes"; then
47971 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47972 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47973 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47974 wxUSE_METAFILE=no
47975 fi
47976 fi
47977
47978
47979 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47980 -o "$wxUSE_CLIPBOARD" = "yes" \
47981 -o "$wxUSE_OLE" = "yes" \
47982 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47983 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47984 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47985 if test "${ac_cv_header_ole2_h+set}" = set; then
47986 echo $ECHO_N "(cached) $ECHO_C" >&6
47987 else
47988 cat >conftest.$ac_ext <<_ACEOF
47989 /* confdefs.h. */
47990 _ACEOF
47991 cat confdefs.h >>conftest.$ac_ext
47992 cat >>conftest.$ac_ext <<_ACEOF
47993 /* end confdefs.h. */
47994
47995
47996 #include <ole2.h>
47997 _ACEOF
47998 rm -f conftest.$ac_objext
47999 if { (ac_try="$ac_compile"
48000 case "(($ac_try" in
48001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48002 *) ac_try_echo=$ac_try;;
48003 esac
48004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48005 (eval "$ac_compile") 2>conftest.er1
48006 ac_status=$?
48007 grep -v '^ *+' conftest.er1 >conftest.err
48008 rm -f conftest.er1
48009 cat conftest.err >&5
48010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48011 (exit $ac_status); } && {
48012 test -z "$ac_c_werror_flag" ||
48013 test ! -s conftest.err
48014 } && test -s conftest.$ac_objext; then
48015 ac_cv_header_ole2_h=yes
48016 else
48017 echo "$as_me: failed program was:" >&5
48018 sed 's/^/| /' conftest.$ac_ext >&5
48019
48020 ac_cv_header_ole2_h=no
48021 fi
48022
48023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48024 fi
48025 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
48026 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
48027
48028
48029
48030 if test "$ac_cv_header_ole2_h" = "yes" ; then
48031 if test "$GCC" = yes ; then
48032 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
48033 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
48034 cat >conftest.$ac_ext <<_ACEOF
48035 /* confdefs.h. */
48036 _ACEOF
48037 cat confdefs.h >>conftest.$ac_ext
48038 cat >>conftest.$ac_ext <<_ACEOF
48039 /* end confdefs.h. */
48040 #include <windows.h>
48041 #include <ole2.h>
48042 int
48043 main ()
48044 {
48045
48046 ;
48047 return 0;
48048 }
48049 _ACEOF
48050 rm -f conftest.$ac_objext
48051 if { (ac_try="$ac_compile"
48052 case "(($ac_try" in
48053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48054 *) ac_try_echo=$ac_try;;
48055 esac
48056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48057 (eval "$ac_compile") 2>conftest.er1
48058 ac_status=$?
48059 grep -v '^ *+' conftest.er1 >conftest.err
48060 rm -f conftest.er1
48061 cat conftest.err >&5
48062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48063 (exit $ac_status); } && {
48064 test -z "$ac_c_werror_flag" ||
48065 test ! -s conftest.err
48066 } && test -s conftest.$ac_objext; then
48067 { echo "$as_me:$LINENO: result: no" >&5
48068 echo "${ECHO_T}no" >&6; }
48069 else
48070 echo "$as_me: failed program was:" >&5
48071 sed 's/^/| /' conftest.$ac_ext >&5
48072
48073 { echo "$as_me:$LINENO: result: yes" >&5
48074 echo "${ECHO_T}yes" >&6; }
48075 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
48076 fi
48077
48078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48079 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
48080 if test "$wxUSE_OLE" = "yes" ; then
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_OLE 1
48083 _ACEOF
48084
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_OLE_AUTOMATION 1
48087 _ACEOF
48088
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_ACTIVEX 1
48091 _ACEOF
48092
48093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
48094 fi
48095 fi
48096
48097 if test "$wxUSE_DATAOBJ" = "yes" ; then
48098 cat >>confdefs.h <<\_ACEOF
48099 #define wxUSE_DATAOBJ 1
48100 _ACEOF
48101
48102 fi
48103 else
48104 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
48105 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
48106
48107 wxUSE_CLIPBOARD=no
48108 wxUSE_DRAG_AND_DROP=no
48109 wxUSE_DATAOBJ=no
48110 wxUSE_OLE=no
48111 fi
48112
48113 if test "$wxUSE_METAFILE" = "yes"; then
48114 cat >>confdefs.h <<\_ACEOF
48115 #define wxUSE_METAFILE 1
48116 _ACEOF
48117
48118
48119 cat >>confdefs.h <<\_ACEOF
48120 #define wxUSE_ENH_METAFILE 1
48121 _ACEOF
48122
48123 fi
48124 fi
48125
48126 if test "$wxUSE_IPC" = "yes"; then
48127 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48128 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48129 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48130 wxUSE_IPC=no
48131 fi
48132
48133 if test "$wxUSE_IPC" = "yes"; then
48134 cat >>confdefs.h <<\_ACEOF
48135 #define wxUSE_IPC 1
48136 _ACEOF
48137
48138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48139 fi
48140 fi
48141
48142 if test "$wxUSE_DATAOBJ" = "yes"; then
48143 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48144 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48145 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48146 wxUSE_DATAOBJ=no
48147 else
48148 cat >>confdefs.h <<\_ACEOF
48149 #define wxUSE_DATAOBJ 1
48150 _ACEOF
48151
48152 fi
48153 else
48154 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48155 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48156 wxUSE_CLIPBOARD=no
48157 wxUSE_DRAG_AND_DROP=no
48158 fi
48159
48160 if test "$wxUSE_CLIPBOARD" = "yes"; then
48161 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48162 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48163 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48164 wxUSE_CLIPBOARD=no
48165 fi
48166
48167 if test "$wxUSE_CLIPBOARD" = "yes"; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_CLIPBOARD 1
48170 _ACEOF
48171
48172 fi
48173 fi
48174
48175 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48176 if test "$wxUSE_GTK" = 1; then
48177 if test "$WXGTK12" != 1; then
48178 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48179 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48180 wxUSE_DRAG_AND_DROP=no
48181 fi
48182 fi
48183
48184 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48185 "$wxUSE_DFB" = 1; then
48186 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48187 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48188 wxUSE_DRAG_AND_DROP=no
48189 fi
48190
48191 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48192 cat >>confdefs.h <<\_ACEOF
48193 #define wxUSE_DRAG_AND_DROP 1
48194 _ACEOF
48195
48196 fi
48197
48198 fi
48199
48200 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48202 fi
48203
48204 if test "$wxUSE_SPLINES" = "yes" ; then
48205 cat >>confdefs.h <<\_ACEOF
48206 #define wxUSE_SPLINES 1
48207 _ACEOF
48208
48209 fi
48210
48211 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_MOUSEWHEEL 1
48214 _ACEOF
48215
48216 fi
48217
48218
48219 USES_CONTROLS=0
48220 if test "$wxUSE_CONTROLS" = "yes"; then
48221 USES_CONTROLS=1
48222 fi
48223
48224 if test "$wxUSE_ACCEL" = "yes"; then
48225 cat >>confdefs.h <<\_ACEOF
48226 #define wxUSE_ACCEL 1
48227 _ACEOF
48228
48229 USES_CONTROLS=1
48230 fi
48231
48232 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_ANIMATIONCTRL 1
48235 _ACEOF
48236
48237 USES_CONTROLS=1
48238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48239 fi
48240
48241 if test "$wxUSE_BUTTON" = "yes"; then
48242 cat >>confdefs.h <<\_ACEOF
48243 #define wxUSE_BUTTON 1
48244 _ACEOF
48245
48246 USES_CONTROLS=1
48247 fi
48248
48249 if test "$wxUSE_BMPBUTTON" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_BMPBUTTON 1
48252 _ACEOF
48253
48254 USES_CONTROLS=1
48255 fi
48256
48257 if test "$wxUSE_CALCTRL" = "yes"; then
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_CALENDARCTRL 1
48260 _ACEOF
48261
48262 USES_CONTROLS=1
48263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48264 fi
48265
48266 if test "$wxUSE_CARET" = "yes"; then
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_CARET 1
48269 _ACEOF
48270
48271 USES_CONTROLS=1
48272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48273 fi
48274
48275 if test "$wxUSE_COLLPANE" = "yes"; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_COLLPANE 1
48278 _ACEOF
48279
48280 USES_CONTROLS=1
48281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48282 fi
48283
48284 if test "$wxUSE_COMBOBOX" = "yes"; then
48285 cat >>confdefs.h <<\_ACEOF
48286 #define wxUSE_COMBOBOX 1
48287 _ACEOF
48288
48289 USES_CONTROLS=1
48290 fi
48291
48292 if test "$wxUSE_COMBOCTRL" = "yes"; then
48293 cat >>confdefs.h <<\_ACEOF
48294 #define wxUSE_COMBOCTRL 1
48295 _ACEOF
48296
48297 USES_CONTROLS=1
48298 fi
48299
48300 if test "$wxUSE_CHOICE" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_CHOICE 1
48303 _ACEOF
48304
48305 USES_CONTROLS=1
48306 fi
48307
48308 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_CHOICEBOOK 1
48311 _ACEOF
48312
48313 USES_CONTROLS=1
48314 fi
48315
48316 if test "$wxUSE_CHECKBOX" = "yes"; then
48317 cat >>confdefs.h <<\_ACEOF
48318 #define wxUSE_CHECKBOX 1
48319 _ACEOF
48320
48321 USES_CONTROLS=1
48322 fi
48323
48324 if test "$wxUSE_CHECKLST" = "yes"; then
48325 cat >>confdefs.h <<\_ACEOF
48326 #define wxUSE_CHECKLISTBOX 1
48327 _ACEOF
48328
48329 USES_CONTROLS=1
48330 fi
48331
48332 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48333 cat >>confdefs.h <<\_ACEOF
48334 #define wxUSE_COLOURPICKERCTRL 1
48335 _ACEOF
48336
48337 USES_CONTROLS=1
48338 fi
48339
48340 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48341 cat >>confdefs.h <<\_ACEOF
48342 #define wxUSE_DATEPICKCTRL 1
48343 _ACEOF
48344
48345 USES_CONTROLS=1
48346 fi
48347
48348 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48349 cat >>confdefs.h <<\_ACEOF
48350 #define wxUSE_DIRPICKERCTRL 1
48351 _ACEOF
48352
48353 USES_CONTROLS=1
48354 fi
48355
48356 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_FILEPICKERCTRL 1
48359 _ACEOF
48360
48361 USES_CONTROLS=1
48362 fi
48363
48364 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define wxUSE_FONTPICKERCTRL 1
48367 _ACEOF
48368
48369 USES_CONTROLS=1
48370 fi
48371
48372 if test "$wxUSE_DISPLAY" = "yes"; then
48373 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48374 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48375 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48376 wxUSE_DISPLAY=no
48377 else
48378 cat >>confdefs.h <<\_ACEOF
48379 #define wxUSE_DISPLAY 1
48380 _ACEOF
48381
48382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48383 fi
48384 fi
48385
48386 if test "$wxUSE_DETECT_SM" = "yes"; then
48387 cat >>confdefs.h <<\_ACEOF
48388 #define wxUSE_DETECT_SM 1
48389 _ACEOF
48390
48391 fi
48392
48393 if test "$wxUSE_GAUGE" = "yes"; then
48394 cat >>confdefs.h <<\_ACEOF
48395 #define wxUSE_GAUGE 1
48396 _ACEOF
48397
48398 USES_CONTROLS=1
48399 fi
48400
48401 if test "$wxUSE_GRID" = "yes"; then
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_GRID 1
48404 _ACEOF
48405
48406 USES_CONTROLS=1
48407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48408 fi
48409
48410 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48411 cat >>confdefs.h <<\_ACEOF
48412 #define wxUSE_HYPERLINKCTRL 1
48413 _ACEOF
48414
48415 USES_CONTROLS=1
48416 fi
48417
48418 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48419 cat >>confdefs.h <<\_ACEOF
48420 #define wxUSE_BITMAPCOMBOBOX 1
48421 _ACEOF
48422
48423 USES_CONTROLS=1
48424 fi
48425
48426 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48427 cat >>confdefs.h <<\_ACEOF
48428 #define wxUSE_DATAVIEWCTRL 1
48429 _ACEOF
48430
48431 USES_CONTROLS=1
48432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48433 fi
48434
48435 if test "$wxUSE_IMAGLIST" = "yes"; then
48436 cat >>confdefs.h <<\_ACEOF
48437 #define wxUSE_IMAGLIST 1
48438 _ACEOF
48439
48440 fi
48441
48442 if test "$wxUSE_LISTBOOK" = "yes"; then
48443 cat >>confdefs.h <<\_ACEOF
48444 #define wxUSE_LISTBOOK 1
48445 _ACEOF
48446
48447 USES_CONTROLS=1
48448 fi
48449
48450 if test "$wxUSE_LISTBOX" = "yes"; then
48451 cat >>confdefs.h <<\_ACEOF
48452 #define wxUSE_LISTBOX 1
48453 _ACEOF
48454
48455 USES_CONTROLS=1
48456 fi
48457
48458 if test "$wxUSE_LISTCTRL" = "yes"; then
48459 if test "$wxUSE_IMAGLIST" = "yes"; then
48460 cat >>confdefs.h <<\_ACEOF
48461 #define wxUSE_LISTCTRL 1
48462 _ACEOF
48463
48464 USES_CONTROLS=1
48465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48466 else
48467 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48468 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48469 fi
48470 fi
48471
48472 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48473 cat >>confdefs.h <<\_ACEOF
48474 #define wxUSE_EDITABLELISTBOX 1
48475 _ACEOF
48476
48477 USES_CONTROLS=1
48478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48479 fi
48480
48481 if test "$wxUSE_NOTEBOOK" = "yes"; then
48482 cat >>confdefs.h <<\_ACEOF
48483 #define wxUSE_NOTEBOOK 1
48484 _ACEOF
48485
48486 USES_CONTROLS=1
48487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48488 fi
48489
48490 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48491 cat >>confdefs.h <<\_ACEOF
48492 #define wxUSE_ODCOMBOBOX 1
48493 _ACEOF
48494
48495 USES_CONTROLS=1
48496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48497 fi
48498
48499 if test "$wxUSE_RADIOBOX" = "yes"; then
48500 cat >>confdefs.h <<\_ACEOF
48501 #define wxUSE_RADIOBOX 1
48502 _ACEOF
48503
48504 USES_CONTROLS=1
48505 fi
48506
48507 if test "$wxUSE_RADIOBTN" = "yes"; then
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_RADIOBTN 1
48510 _ACEOF
48511
48512 USES_CONTROLS=1
48513 fi
48514
48515 if test "$wxUSE_SASH" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_SASH 1
48518 _ACEOF
48519
48520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48521 fi
48522
48523 if test "$wxUSE_SCROLLBAR" = "yes"; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_SCROLLBAR 1
48526 _ACEOF
48527
48528 USES_CONTROLS=1
48529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48530 fi
48531
48532 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48533 cat >>confdefs.h <<\_ACEOF
48534 #define wxUSE_SEARCHCTRL 1
48535 _ACEOF
48536
48537 USES_CONTROLS=1
48538 fi
48539
48540 if test "$wxUSE_SLIDER" = "yes"; then
48541 cat >>confdefs.h <<\_ACEOF
48542 #define wxUSE_SLIDER 1
48543 _ACEOF
48544
48545 USES_CONTROLS=1
48546 fi
48547
48548 if test "$wxUSE_SPINBTN" = "yes"; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define wxUSE_SPINBTN 1
48551 _ACEOF
48552
48553 USES_CONTROLS=1
48554 fi
48555
48556 if test "$wxUSE_SPINCTRL" = "yes"; then
48557 cat >>confdefs.h <<\_ACEOF
48558 #define wxUSE_SPINCTRL 1
48559 _ACEOF
48560
48561 USES_CONTROLS=1
48562 fi
48563
48564 if test "$wxUSE_SPLITTER" = "yes"; then
48565 cat >>confdefs.h <<\_ACEOF
48566 #define wxUSE_SPLITTER 1
48567 _ACEOF
48568
48569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48570 fi
48571
48572 if test "$wxUSE_STATBMP" = "yes"; then
48573 cat >>confdefs.h <<\_ACEOF
48574 #define wxUSE_STATBMP 1
48575 _ACEOF
48576
48577 USES_CONTROLS=1
48578 fi
48579
48580 if test "$wxUSE_STATBOX" = "yes"; then
48581 cat >>confdefs.h <<\_ACEOF
48582 #define wxUSE_STATBOX 1
48583 _ACEOF
48584
48585 USES_CONTROLS=1
48586 fi
48587
48588 if test "$wxUSE_STATTEXT" = "yes"; then
48589 cat >>confdefs.h <<\_ACEOF
48590 #define wxUSE_STATTEXT 1
48591 _ACEOF
48592
48593 USES_CONTROLS=1
48594 fi
48595
48596 if test "$wxUSE_STATLINE" = "yes"; then
48597 cat >>confdefs.h <<\_ACEOF
48598 #define wxUSE_STATLINE 1
48599 _ACEOF
48600
48601 USES_CONTROLS=1
48602 fi
48603
48604 if test "$wxUSE_STATUSBAR" = "yes"; then
48605 cat >>confdefs.h <<\_ACEOF
48606 #define wxUSE_NATIVE_STATUSBAR 1
48607 _ACEOF
48608
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_STATUSBAR 1
48611 _ACEOF
48612
48613 USES_CONTROLS=1
48614
48615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48616 fi
48617
48618 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48619 cat >>confdefs.h <<\_ACEOF
48620 #define wxUSE_TAB_DIALOG 1
48621 _ACEOF
48622
48623 fi
48624
48625 if test "$wxUSE_TEXTCTRL" = "yes"; then
48626 cat >>confdefs.h <<\_ACEOF
48627 #define wxUSE_TEXTCTRL 1
48628 _ACEOF
48629
48630 USES_CONTROLS=1
48631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48632 fi
48633
48634 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48635 if test "$wxUSE_COCOA" = 1 ; then
48636 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48637 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48638 wxUSE_TOGGLEBTN=no
48639 fi
48640
48641 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48642 cat >>confdefs.h <<\_ACEOF
48643 #define wxUSE_TOGGLEBTN 1
48644 _ACEOF
48645
48646 USES_CONTROLS=1
48647 fi
48648 fi
48649
48650 if test "$wxUSE_TOOLBAR" = "yes"; then
48651 cat >>confdefs.h <<\_ACEOF
48652 #define wxUSE_TOOLBAR 1
48653 _ACEOF
48654
48655 USES_CONTROLS=1
48656
48657 if test "$wxUSE_UNIVERSAL" = "yes"; then
48658 wxUSE_TOOLBAR_NATIVE="no"
48659 else
48660 wxUSE_TOOLBAR_NATIVE="yes"
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_TOOLBAR_NATIVE 1
48663 _ACEOF
48664
48665 fi
48666
48667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48668 fi
48669
48670 if test "$wxUSE_TOOLTIPS" = "yes"; then
48671 if test "$wxUSE_MOTIF" = 1; then
48672 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48673 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48674 else
48675 if test "$wxUSE_UNIVERSAL" = "yes"; then
48676 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48677 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48678 else
48679 cat >>confdefs.h <<\_ACEOF
48680 #define wxUSE_TOOLTIPS 1
48681 _ACEOF
48682
48683 fi
48684 fi
48685 fi
48686
48687 if test "$wxUSE_TREEBOOK" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_TREEBOOK 1
48690 _ACEOF
48691
48692 USES_CONTROLS=1
48693 fi
48694
48695 if test "$wxUSE_TOOLBOOK" = "yes"; then
48696 cat >>confdefs.h <<\_ACEOF
48697 #define wxUSE_TOOLBOOK 1
48698 _ACEOF
48699
48700 USES_CONTROLS=1
48701 fi
48702
48703 if test "$wxUSE_TREECTRL" = "yes"; then
48704 if test "$wxUSE_IMAGLIST" = "yes"; then
48705 cat >>confdefs.h <<\_ACEOF
48706 #define wxUSE_TREECTRL 1
48707 _ACEOF
48708
48709 USES_CONTROLS=1
48710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48711 else
48712 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48713 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48714 fi
48715 fi
48716
48717 if test "$wxUSE_POPUPWIN" = "yes"; then
48718 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48719 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48720 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48721 else
48722 if test "$wxUSE_PM" = 1; then
48723 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48724 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48725 else
48726 cat >>confdefs.h <<\_ACEOF
48727 #define wxUSE_POPUPWIN 1
48728 _ACEOF
48729
48730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48731
48732 USES_CONTROLS=1
48733 fi
48734 fi
48735 fi
48736
48737 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48738 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48739 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48740 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48741 else
48742 cat >>confdefs.h <<\_ACEOF
48743 #define wxUSE_DIALUP_MANAGER 1
48744 _ACEOF
48745
48746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48747 fi
48748 fi
48749
48750 if test "$wxUSE_TIPWINDOW" = "yes"; then
48751 if test "$wxUSE_PM" = 1; then
48752 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48753 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48754 else
48755 cat >>confdefs.h <<\_ACEOF
48756 #define wxUSE_TIPWINDOW 1
48757 _ACEOF
48758
48759 fi
48760 fi
48761
48762 if test "$USES_CONTROLS" = 1; then
48763 cat >>confdefs.h <<\_ACEOF
48764 #define wxUSE_CONTROLS 1
48765 _ACEOF
48766
48767 fi
48768
48769
48770 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48771 cat >>confdefs.h <<\_ACEOF
48772 #define wxUSE_ACCESSIBILITY 1
48773 _ACEOF
48774
48775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48776 fi
48777
48778 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48779 cat >>confdefs.h <<\_ACEOF
48780 #define wxUSE_DRAGIMAGE 1
48781 _ACEOF
48782
48783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48784 fi
48785
48786 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48787 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48788 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48789 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48790 else
48791 cat >>confdefs.h <<\_ACEOF
48792 #define wxUSE_EXCEPTIONS 1
48793 _ACEOF
48794
48795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48796 fi
48797 fi
48798
48799 USE_HTML=0
48800 if test "$wxUSE_HTML" = "yes"; then
48801 cat >>confdefs.h <<\_ACEOF
48802 #define wxUSE_HTML 1
48803 _ACEOF
48804
48805 USE_HTML=1
48806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48807 if test "$wxUSE_MAC" = 1; then
48808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48809 fi
48810 fi
48811 if test "$wxUSE_WEBKIT" = "yes"; then
48812 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48813 old_CPPFLAGS="$CPPFLAGS"
48814 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48815 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48816 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48817 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48818 echo $ECHO_N "(cached) $ECHO_C" >&6
48819 else
48820 cat >conftest.$ac_ext <<_ACEOF
48821 /* confdefs.h. */
48822 _ACEOF
48823 cat confdefs.h >>conftest.$ac_ext
48824 cat >>conftest.$ac_ext <<_ACEOF
48825 /* end confdefs.h. */
48826
48827 #include <Carbon/Carbon.h>
48828 #include <WebKit/WebKit.h>
48829
48830
48831 #include <WebKit/HIWebView.h>
48832 _ACEOF
48833 rm -f conftest.$ac_objext
48834 if { (ac_try="$ac_compile"
48835 case "(($ac_try" in
48836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48837 *) ac_try_echo=$ac_try;;
48838 esac
48839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48840 (eval "$ac_compile") 2>conftest.er1
48841 ac_status=$?
48842 grep -v '^ *+' conftest.er1 >conftest.err
48843 rm -f conftest.er1
48844 cat conftest.err >&5
48845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846 (exit $ac_status); } && {
48847 test -z "$ac_c_werror_flag" ||
48848 test ! -s conftest.err
48849 } && test -s conftest.$ac_objext; then
48850 ac_cv_header_WebKit_HIWebView_h=yes
48851 else
48852 echo "$as_me: failed program was:" >&5
48853 sed 's/^/| /' conftest.$ac_ext >&5
48854
48855 ac_cv_header_WebKit_HIWebView_h=no
48856 fi
48857
48858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48859 fi
48860 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48861 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48862 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48863
48864 cat >>confdefs.h <<\_ACEOF
48865 #define wxUSE_WEBKIT 1
48866 _ACEOF
48867
48868 WEBKIT_LINK="-framework WebKit"
48869
48870 else
48871
48872 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48873 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48874 wxUSE_WEBKIT=no
48875
48876 fi
48877
48878
48879 CPPFLAGS="$old_CPPFLAGS"
48880 elif test "$wxUSE_COCOA" = 1; then
48881 cat >>confdefs.h <<\_ACEOF
48882 #define wxUSE_WEBKIT 1
48883 _ACEOF
48884
48885 else
48886 wxUSE_WEBKIT=no
48887 fi
48888 fi
48889
48890 USE_XRC=0
48891 if test "$wxUSE_XRC" = "yes"; then
48892 if test "$wxUSE_XML" != "yes"; then
48893 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48894 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48895 wxUSE_XRC=no
48896 else
48897 cat >>confdefs.h <<\_ACEOF
48898 #define wxUSE_XRC 1
48899 _ACEOF
48900
48901 USE_XRC=1
48902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48903 fi
48904 fi
48905
48906 USE_AUI=0
48907 if test "$wxUSE_AUI" = "yes"; then
48908 cat >>confdefs.h <<\_ACEOF
48909 #define wxUSE_AUI 1
48910 _ACEOF
48911
48912 USE_AUI=1
48913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48914 fi
48915
48916 USE_STC=0
48917 if test "$wxUSE_STC" = "yes"; then
48918 cat >>confdefs.h <<\_ACEOF
48919 #define wxUSE_STC 1
48920 _ACEOF
48921
48922 USE_STC=1
48923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48924 fi
48925
48926 if test "$wxUSE_MENUS" = "yes"; then
48927 cat >>confdefs.h <<\_ACEOF
48928 #define wxUSE_MENUS 1
48929 _ACEOF
48930
48931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48932 fi
48933
48934 if test "$wxUSE_METAFILE" = "yes"; then
48935 cat >>confdefs.h <<\_ACEOF
48936 #define wxUSE_METAFILE 1
48937 _ACEOF
48938
48939 fi
48940
48941 if test "$wxUSE_MIMETYPE" = "yes"; then
48942 cat >>confdefs.h <<\_ACEOF
48943 #define wxUSE_MIMETYPE 1
48944 _ACEOF
48945
48946 fi
48947
48948 if test "$wxUSE_MINIFRAME" = "yes"; then
48949 cat >>confdefs.h <<\_ACEOF
48950 #define wxUSE_MINIFRAME 1
48951 _ACEOF
48952
48953 fi
48954
48955 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48956 cat >>confdefs.h <<\_ACEOF
48957 #define wxUSE_SYSTEM_OPTIONS 1
48958 _ACEOF
48959
48960 fi
48961
48962 if test "$wxUSE_TASKBARICON" = "yes"; then
48963 cat >>confdefs.h <<\_ACEOF
48964 #define wxUSE_TASKBARICON 1
48965 _ACEOF
48966
48967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48968 fi
48969
48970
48971 if test "$wxUSE_VALIDATORS" = "yes"; then
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_VALIDATORS 1
48974 _ACEOF
48975
48976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48977 fi
48978
48979 if test "$wxUSE_PALETTE" = "yes" ; then
48980 if test "$wxUSE_DFB" = 1; then
48981 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48982 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48983 wxUSE_PALETTE=no
48984 else
48985 cat >>confdefs.h <<\_ACEOF
48986 #define wxUSE_PALETTE 1
48987 _ACEOF
48988
48989 fi
48990 fi
48991
48992 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48993 LIBS=" -lunicows $LIBS"
48994 fi
48995
48996 USE_RICHTEXT=0
48997 if test "$wxUSE_RICHTEXT" = "yes"; then
48998 cat >>confdefs.h <<\_ACEOF
48999 #define wxUSE_RICHTEXT 1
49000 _ACEOF
49001
49002 USE_RICHTEXT=1
49003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
49004 fi
49005
49006
49007 if test "$wxUSE_IMAGE" = "yes" ; then
49008 cat >>confdefs.h <<\_ACEOF
49009 #define wxUSE_IMAGE 1
49010 _ACEOF
49011
49012
49013 if test "$wxUSE_GIF" = "yes" ; then
49014 cat >>confdefs.h <<\_ACEOF
49015 #define wxUSE_GIF 1
49016 _ACEOF
49017
49018 fi
49019
49020 if test "$wxUSE_PCX" = "yes" ; then
49021 cat >>confdefs.h <<\_ACEOF
49022 #define wxUSE_PCX 1
49023 _ACEOF
49024
49025 fi
49026
49027 if test "$wxUSE_TGA" = "yes" ; then
49028 cat >>confdefs.h <<\_ACEOF
49029 #define wxUSE_TGA 1
49030 _ACEOF
49031
49032 fi
49033
49034 if test "$wxUSE_IFF" = "yes" ; then
49035 cat >>confdefs.h <<\_ACEOF
49036 #define wxUSE_IFF 1
49037 _ACEOF
49038
49039 fi
49040
49041 if test "$wxUSE_PNM" = "yes" ; then
49042 cat >>confdefs.h <<\_ACEOF
49043 #define wxUSE_PNM 1
49044 _ACEOF
49045
49046 fi
49047
49048 if test "$wxUSE_XPM" = "yes" ; then
49049 cat >>confdefs.h <<\_ACEOF
49050 #define wxUSE_XPM 1
49051 _ACEOF
49052
49053 fi
49054
49055 if test "$wxUSE_ICO_CUR" = "yes" ; then
49056 cat >>confdefs.h <<\_ACEOF
49057 #define wxUSE_ICO_CUR 1
49058 _ACEOF
49059
49060 fi
49061 fi
49062
49063
49064 if test "$wxUSE_ABOUTDLG" = "yes"; then
49065 cat >>confdefs.h <<\_ACEOF
49066 #define wxUSE_ABOUTDLG 1
49067 _ACEOF
49068
49069 fi
49070
49071 if test "$wxUSE_CHOICEDLG" = "yes"; then
49072 cat >>confdefs.h <<\_ACEOF
49073 #define wxUSE_CHOICEDLG 1
49074 _ACEOF
49075
49076 fi
49077
49078 if test "$wxUSE_COLOURDLG" = "yes"; then
49079 cat >>confdefs.h <<\_ACEOF
49080 #define wxUSE_COLOURDLG 1
49081 _ACEOF
49082
49083 fi
49084
49085 if test "$wxUSE_FILEDLG" = "yes"; then
49086 cat >>confdefs.h <<\_ACEOF
49087 #define wxUSE_FILEDLG 1
49088 _ACEOF
49089
49090 fi
49091
49092 if test "$wxUSE_FINDREPLDLG" = "yes"; then
49093 cat >>confdefs.h <<\_ACEOF
49094 #define wxUSE_FINDREPLDLG 1
49095 _ACEOF
49096
49097 fi
49098
49099 if test "$wxUSE_FONTDLG" = "yes"; then
49100 cat >>confdefs.h <<\_ACEOF
49101 #define wxUSE_FONTDLG 1
49102 _ACEOF
49103
49104 fi
49105
49106 if test "$wxUSE_DIRDLG" = "yes"; then
49107 if test "$wxUSE_TREECTRL" != "yes"; then
49108 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
49109 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49110 else
49111 cat >>confdefs.h <<\_ACEOF
49112 #define wxUSE_DIRDLG 1
49113 _ACEOF
49114
49115 fi
49116 fi
49117
49118 if test "$wxUSE_MSGDLG" = "yes"; then
49119 cat >>confdefs.h <<\_ACEOF
49120 #define wxUSE_MSGDLG 1
49121 _ACEOF
49122
49123 fi
49124
49125 if test "$wxUSE_NUMBERDLG" = "yes"; then
49126 cat >>confdefs.h <<\_ACEOF
49127 #define wxUSE_NUMBERDLG 1
49128 _ACEOF
49129
49130 fi
49131
49132 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49133 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49134 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49135 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49136 else
49137 cat >>confdefs.h <<\_ACEOF
49138 #define wxUSE_PROGRESSDLG 1
49139 _ACEOF
49140
49141 fi
49142 fi
49143
49144 if test "$wxUSE_SPLASH" = "yes"; then
49145 cat >>confdefs.h <<\_ACEOF
49146 #define wxUSE_SPLASH 1
49147 _ACEOF
49148
49149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49150 fi
49151
49152 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49153 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49154 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49155 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49156 else
49157 cat >>confdefs.h <<\_ACEOF
49158 #define wxUSE_STARTUP_TIPS 1
49159 _ACEOF
49160
49161 fi
49162 fi
49163
49164 if test "$wxUSE_TEXTDLG" = "yes"; then
49165 cat >>confdefs.h <<\_ACEOF
49166 #define wxUSE_TEXTDLG 1
49167 _ACEOF
49168
49169 fi
49170
49171 if test "$wxUSE_WIZARDDLG" = "yes"; then
49172 cat >>confdefs.h <<\_ACEOF
49173 #define wxUSE_WIZARDDLG 1
49174 _ACEOF
49175
49176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49177 fi
49178
49179
49180 if test "$wxUSE_MSW" = 1 ; then
49181
49182 if test "$wxUSE_DC_CACHEING" = "yes"; then
49183 cat >>confdefs.h <<\_ACEOF
49184 #define wxUSE_DC_CACHEING 1
49185 _ACEOF
49186
49187 fi
49188
49189 if test "$wxUSE_DIB" = "yes"; then
49190 cat >>confdefs.h <<\_ACEOF
49191 #define wxUSE_WXDIB 1
49192 _ACEOF
49193
49194 fi
49195
49196 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49197 cat >>confdefs.h <<\_ACEOF
49198 #define wxUSE_OWNER_DRAWN 1
49199 _ACEOF
49200
49201 fi
49202
49203 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49204 cat >>confdefs.h <<\_ACEOF
49205 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49206 _ACEOF
49207
49208 fi
49209
49210 if test "$wxUSE_UXTHEME" = "yes"; then
49211 cat >>confdefs.h <<\_ACEOF
49212 #define wxUSE_UXTHEME 1
49213 _ACEOF
49214
49215 fi
49216
49217 fi
49218
49219
49220 if test "$USE_WIN32" = 1 ; then
49221 if test "$wxUSE_INICONF" = "yes"; then
49222 cat >>confdefs.h <<\_ACEOF
49223 #define wxUSE_INICONF 1
49224 _ACEOF
49225
49226 fi
49227
49228 if test "$wxUSE_REGKEY" = "yes"; then
49229 cat >>confdefs.h <<\_ACEOF
49230 #define wxUSE_REGKEY 1
49231 _ACEOF
49232
49233 fi
49234 fi
49235
49236
49237 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49238 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49239 cat >>confdefs.h <<\_ACEOF
49240 #define wxUSE_GRAPHICS_CONTEXT 1
49241 _ACEOF
49242
49243 elif test "$wxUSE_GTK" != 1; then
49244 cat >>confdefs.h <<\_ACEOF
49245 #define wxUSE_GRAPHICS_CONTEXT 1
49246 _ACEOF
49247
49248 else
49249
49250 pkg_failed=no
49251 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49252 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49253
49254 if test -n "$PKG_CONFIG"; then
49255 if test -n "$CAIRO_CFLAGS"; then
49256 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49257 else
49258 if test -n "$PKG_CONFIG" && \
49259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49260 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49261 ac_status=$?
49262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49263 (exit $ac_status); }; then
49264 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49265 else
49266 pkg_failed=yes
49267 fi
49268 fi
49269 else
49270 pkg_failed=untried
49271 fi
49272 if test -n "$PKG_CONFIG"; then
49273 if test -n "$CAIRO_LIBS"; then
49274 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49275 else
49276 if test -n "$PKG_CONFIG" && \
49277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49278 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49279 ac_status=$?
49280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49281 (exit $ac_status); }; then
49282 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49283 else
49284 pkg_failed=yes
49285 fi
49286 fi
49287 else
49288 pkg_failed=untried
49289 fi
49290
49291
49292
49293 if test $pkg_failed = yes; then
49294
49295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49296 _pkg_short_errors_supported=yes
49297 else
49298 _pkg_short_errors_supported=no
49299 fi
49300 if test $_pkg_short_errors_supported = yes; then
49301 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49302 else
49303 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49304 fi
49305 # Put the nasty error message in config.log where it belongs
49306 echo "$CAIRO_PKG_ERRORS" >&5
49307
49308 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49309 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49310
49311 elif test $pkg_failed = untried; then
49312 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49313 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49314
49315 else
49316 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49317 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49318 { echo "$as_me:$LINENO: result: yes" >&5
49319 echo "${ECHO_T}yes" >&6; }
49320 cat >>confdefs.h <<\_ACEOF
49321 #define wxUSE_GRAPHICS_CONTEXT 1
49322 _ACEOF
49323
49324 fi
49325 fi
49326 fi
49327
49328
49329 USE_MEDIA=0
49330
49331 if test "$wxUSE_MEDIACTRL" = "yes"; then
49332 USE_MEDIA=1
49333
49334 if test "$wxUSE_GTK" = 1; then
49335 wxUSE_GSTREAMER="no"
49336
49337 GST_VERSION_MAJOR=0
49338 GST_VERSION_MINOR=10
49339 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49340
49341 if test "$wxUSE_GSTREAMER8" = "no"; then
49342
49343 pkg_failed=no
49344 { echo "$as_me:$LINENO: checking for GST" >&5
49345 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49346
49347 if test -n "$PKG_CONFIG"; then
49348 if test -n "$GST_CFLAGS"; then
49349 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49350 else
49351 if test -n "$PKG_CONFIG" && \
49352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49353 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49354 ac_status=$?
49355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49356 (exit $ac_status); }; then
49357 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49358 else
49359 pkg_failed=yes
49360 fi
49361 fi
49362 else
49363 pkg_failed=untried
49364 fi
49365 if test -n "$PKG_CONFIG"; then
49366 if test -n "$GST_LIBS"; then
49367 pkg_cv_GST_LIBS="$GST_LIBS"
49368 else
49369 if test -n "$PKG_CONFIG" && \
49370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49371 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49372 ac_status=$?
49373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49374 (exit $ac_status); }; then
49375 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49376 else
49377 pkg_failed=yes
49378 fi
49379 fi
49380 else
49381 pkg_failed=untried
49382 fi
49383
49384
49385
49386 if test $pkg_failed = yes; then
49387
49388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49389 _pkg_short_errors_supported=yes
49390 else
49391 _pkg_short_errors_supported=no
49392 fi
49393 if test $_pkg_short_errors_supported = yes; then
49394 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49395 else
49396 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49397 fi
49398 # Put the nasty error message in config.log where it belongs
49399 echo "$GST_PKG_ERRORS" >&5
49400
49401
49402 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49403 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49404 GST_VERSION_MINOR=8
49405
49406
49407 elif test $pkg_failed = untried; then
49408
49409 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49410 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49411 GST_VERSION_MINOR=8
49412
49413
49414 else
49415 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49416 GST_LIBS=$pkg_cv_GST_LIBS
49417 { echo "$as_me:$LINENO: result: yes" >&5
49418 echo "${ECHO_T}yes" >&6; }
49419
49420 wxUSE_GSTREAMER="yes"
49421 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49422
49423 fi
49424 else
49425 GST_VERSION_MINOR=8
49426 fi
49427
49428 if test $GST_VERSION_MINOR = "8"; then
49429 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49430
49431 pkg_failed=no
49432 { echo "$as_me:$LINENO: checking for GST" >&5
49433 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49434
49435 if test -n "$PKG_CONFIG"; then
49436 if test -n "$GST_CFLAGS"; then
49437 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49438 else
49439 if test -n "$PKG_CONFIG" && \
49440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49441 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49442 ac_status=$?
49443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49444 (exit $ac_status); }; then
49445 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49446 else
49447 pkg_failed=yes
49448 fi
49449 fi
49450 else
49451 pkg_failed=untried
49452 fi
49453 if test -n "$PKG_CONFIG"; then
49454 if test -n "$GST_LIBS"; then
49455 pkg_cv_GST_LIBS="$GST_LIBS"
49456 else
49457 if test -n "$PKG_CONFIG" && \
49458 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49459 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49460 ac_status=$?
49461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49462 (exit $ac_status); }; then
49463 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49464 else
49465 pkg_failed=yes
49466 fi
49467 fi
49468 else
49469 pkg_failed=untried
49470 fi
49471
49472
49473
49474 if test $pkg_failed = yes; then
49475
49476 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49477 _pkg_short_errors_supported=yes
49478 else
49479 _pkg_short_errors_supported=no
49480 fi
49481 if test $_pkg_short_errors_supported = yes; then
49482 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49483 else
49484 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49485 fi
49486 # Put the nasty error message in config.log where it belongs
49487 echo "$GST_PKG_ERRORS" >&5
49488
49489
49490 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49491 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49492
49493 elif test $pkg_failed = untried; then
49494
49495 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49496 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49497
49498 else
49499 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49500 GST_LIBS=$pkg_cv_GST_LIBS
49501 { echo "$as_me:$LINENO: result: yes" >&5
49502 echo "${ECHO_T}yes" >&6; }
49503 wxUSE_GSTREAMER="yes"
49504 fi
49505 fi
49506
49507
49508 if test "$wxUSE_GSTREAMER" = "yes"; then
49509 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49510 LIBS="$GST_LIBS $LIBS"
49511
49512 cat >>confdefs.h <<\_ACEOF
49513 #define wxUSE_GSTREAMER 1
49514 _ACEOF
49515
49516 else
49517 USE_MEDIA=0
49518 fi
49519 fi
49520
49521 if test $USE_MEDIA = 1; then
49522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49523 cat >>confdefs.h <<\_ACEOF
49524 #define wxUSE_MEDIACTRL 1
49525 _ACEOF
49526
49527 fi
49528 fi
49529
49530
49531 if test "$cross_compiling" = "yes"; then
49532 OSINFO="\"$host\""
49533 else
49534 OSINFO=`uname -s -r -m`
49535 OSINFO="\"$OSINFO\""
49536 fi
49537
49538 cat >>confdefs.h <<_ACEOF
49539 #define WXWIN_OS_DESCRIPTION $OSINFO
49540 _ACEOF
49541
49542
49543
49544 if test "x$prefix" != "xNONE"; then
49545 wxPREFIX=$prefix
49546 else
49547 wxPREFIX=$ac_default_prefix
49548 fi
49549
49550 cat >>confdefs.h <<_ACEOF
49551 #define wxINSTALL_PREFIX "$wxPREFIX"
49552 _ACEOF
49553
49554
49555
49556
49557 STD_BASE_LIBS="base"
49558 STD_GUI_LIBS=""
49559 BUILT_WX_LIBS="base"
49560 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49561
49562 if test "$wxUSE_SOCKETS" = "yes" ; then
49563 STD_BASE_LIBS="net $STD_BASE_LIBS"
49564 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49565 fi
49566 if test "$wxUSE_ODBC" != "no" ; then
49567 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49568 fi
49569 if test "$wxUSE_XML" = "yes" ; then
49570 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49571 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49572 fi
49573
49574 if test "$wxUSE_GUI" = "yes"; then
49575 STD_GUI_LIBS="adv core"
49576 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49577
49578 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49579 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49580 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49581 fi
49582 if test "$wxUSE_ODBC" != "no" ; then
49583 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49584 fi
49585 if test "$wxUSE_HTML" = "yes" ; then
49586 STD_GUI_LIBS="html $STD_GUI_LIBS"
49587 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49588 fi
49589 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49590 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49591 fi
49592 if test "$wxUSE_OPENGL" = "yes" ; then
49593 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49594 fi
49595 if test "$wxUSE_AUI" = "yes" ; then
49596 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49597 fi
49598 if test "$wxUSE_STC" = "yes" ; then
49599 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49600 fi
49601 if test "$wxUSE_XRC" = "yes" ; then
49602 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49603 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49604 fi
49605 fi
49606
49607
49608
49609
49610
49611
49612
49613
49614 if test "$wxUSE_MAC" = 1 ; then
49615 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49616 if test "$USE_DARWIN" = 1; then
49617 LDFLAGS="$LDFLAGS -framework QuickTime"
49618 else
49619 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49620 fi
49621 fi
49622 if test "$USE_DARWIN" = 1; then
49623 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49624 else
49625 LDFLAGS="$LDFLAGS -lCarbonLib"
49626 fi
49627 fi
49628 if test "$wxUSE_COCOA" = 1 ; then
49629 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49630 if test "$wxUSE_MEDIACTRL" = "yes"; then
49631 LDFLAGS="$LDFLAGS -framework QuickTime"
49632 fi
49633 fi
49634 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49635 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49636 fi
49637
49638 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49639
49640 if test "$wxUSE_GUI" = "yes"; then
49641
49642
49643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49644 erase event exec font image minimal mobile \
49645 mobile/wxedit mobile/styles render \
49646 shaped svg taborder vscroll widgets"
49647
49648 if test "$wxUSE_MONOLITHIC" != "yes"; then
49649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49650 fi
49651 if test "$TOOLKIT" = "MSW"; then
49652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49653 if test "$wxUSE_UNIVERSAL" != "yes"; then
49654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49655 fi
49656 fi
49657 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49659 fi
49660 else
49661 SAMPLES_SUBDIRS="console"
49662 fi
49663
49664
49665 if test "x$INTELCC" = "xyes" ; then
49666 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49667 elif test "$GCC" = yes ; then
49668 CWARNINGS="-Wall -Wundef"
49669 fi
49670
49671 if test "x$INTELCXX" = "xyes" ; then
49672 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49673 elif test "$GXX" = yes ; then
49674 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49675 fi
49676
49677
49678 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49679 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49680
49681
49682 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49683 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49684 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49685 $CPPFLAGS `
49686
49687 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49688 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49689 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49690
49691 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49692
49693
49694 if test "x$MWCC" = "xyes"; then
49695
49696 CC="$CC -cwd source -I-"
49697 CXX="$CXX -cwd source -I-"
49698 fi
49699
49700
49701 LIBS=`echo $LIBS`
49702 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49703 EXTRALIBS_XML="$EXPAT_LINK"
49704 EXTRALIBS_HTML="$MSPACK_LINK"
49705 EXTRALIBS_ODBC="$ODBC_LINK"
49706 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49707 if test "$wxUSE_GUI" = "yes"; then
49708 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49709 fi
49710 if test "$wxUSE_OPENGL" = "yes"; then
49711 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49712 fi
49713
49714 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49715
49716 WXCONFIG_LIBS="$LIBS"
49717
49718 if test "$wxUSE_REGEX" = "builtin" ; then
49719 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49720 fi
49721 if test "$wxUSE_EXPAT" = "builtin" ; then
49722 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49723 fi
49724 if test "$wxUSE_ODBC" = "builtin" ; then
49725 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49726 fi
49727 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49728 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49729 fi
49730 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49731 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49732 fi
49733 if test "$wxUSE_LIBPNG" = "builtin" ; then
49734 wxconfig_3rdparty="png $wxconfig_3rdparty"
49735 fi
49736 if test "$wxUSE_ZLIB" = "builtin" ; then
49737 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49738 fi
49739
49740 for i in $wxconfig_3rdparty ; do
49741 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49742 done
49743
49744
49745 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49746 WXUNIV=1
49747
49748 case "$wxUNIV_THEMES" in
49749 ''|all)
49750 cat >>confdefs.h <<\_ACEOF
49751 #define wxUSE_ALL_THEMES 1
49752 _ACEOF
49753
49754 ;;
49755
49756 *)
49757 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49758 cat >>confdefs.h <<_ACEOF
49759 #define wxUSE_THEME_$t 1
49760 _ACEOF
49761
49762 done
49763 esac
49764 else
49765 WXUNIV=0
49766 fi
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776 if test $wxUSE_MONOLITHIC = "yes" ; then
49777 MONOLITHIC=1
49778 else
49779 MONOLITHIC=0
49780 fi
49781
49782 if test $wxUSE_PLUGINS = "yes" ; then
49783 USE_PLUGINS=1
49784 else
49785 USE_PLUGINS=0
49786 fi
49787
49788 if test $wxUSE_ODBC != "no" ; then
49789 USE_ODBC=1
49790 else
49791 USE_ODBC=0
49792 fi
49793
49794 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49795 USE_QA=1
49796 else
49797 USE_QA=0
49798 fi
49799
49800 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49801 OFFICIAL_BUILD=1
49802 else
49803 OFFICIAL_BUILD=0
49804 fi
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49833
49834
49835
49836
49837
49838
49839
49840
49841 case "$TOOLKIT" in
49842 GTK)
49843 TOOLKIT_DESC="GTK+"
49844 if test "$WXGTK20" = 1; then
49845 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49846 if test "$wxUSE_GTKPRINT" = "yes" ; then
49847 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49848 fi
49849 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49850 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49851 fi
49852 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49853 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49854 fi
49855 if test "$wxUSE_LIBHILDON" = "yes"; then
49856 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49857 fi
49858
49859 if test "$TOOLKIT_EXTRA" != ""; then
49860 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49861 fi
49862 fi
49863 ;;
49864
49865 ?*)
49866 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49867 ;;
49868
49869 *)
49870 TOOLKIT_DESC="base only"
49871 ;;
49872 esac
49873
49874 if test "$wxUSE_WINE" = "yes"; then
49875 BAKEFILE_FORCE_PLATFORM=win32
49876 fi
49877
49878 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49879 then
49880 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49881 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49882 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49883 echo $ECHO_N "(cached) $ECHO_C" >&6
49884 else
49885
49886 echo '#include <stdio.h>
49887 const wchar_t test_var[] = L"awidetest";' > conftest.h
49888
49889 echo '#include "conftest.h"
49890 int main()
49891 {
49892 printf("%ls", test_var);
49893 return 0;
49894 }' > conftest.cpp
49895
49896 wx_cv_gcc_pch_bug="pch not supported"
49897
49898 if $CXX conftest.h >/dev/null 2>&1
49899 then
49900 wx_cv_gcc_pch_bug=
49901
49902 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49903 then
49904 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49905 grep awidetest >/dev/null
49906 then
49907 wx_cv_gcc_pch_bug=no
49908 else
49909 wx_cv_gcc_pch_bug=yes
49910 fi
49911 fi
49912 fi
49913
49914 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49915
49916 fi
49917 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49918 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49919
49920 if test "$wx_cv_gcc_pch_bug" = yes; then
49921 bk_use_pch=no
49922 fi
49923 fi
49924
49925
49926
49927
49928 if test "x$BAKEFILE_HOST" = "x"; then
49929 if test "x${host}" = "x" ; then
49930 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49931 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49932 { (exit 1); exit 1; }; }
49933 fi
49934
49935 BAKEFILE_HOST="${host}"
49936 fi
49937
49938 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49939
49940 if test -n "$ac_tool_prefix"; then
49941 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49942 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49945 if test "${ac_cv_prog_RANLIB+set}" = set; then
49946 echo $ECHO_N "(cached) $ECHO_C" >&6
49947 else
49948 if test -n "$RANLIB"; then
49949 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49950 else
49951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49952 for as_dir in $PATH
49953 do
49954 IFS=$as_save_IFS
49955 test -z "$as_dir" && as_dir=.
49956 for ac_exec_ext in '' $ac_executable_extensions; do
49957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49958 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49960 break 2
49961 fi
49962 done
49963 done
49964 IFS=$as_save_IFS
49965
49966 fi
49967 fi
49968 RANLIB=$ac_cv_prog_RANLIB
49969 if test -n "$RANLIB"; then
49970 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49971 echo "${ECHO_T}$RANLIB" >&6; }
49972 else
49973 { echo "$as_me:$LINENO: result: no" >&5
49974 echo "${ECHO_T}no" >&6; }
49975 fi
49976
49977
49978 fi
49979 if test -z "$ac_cv_prog_RANLIB"; then
49980 ac_ct_RANLIB=$RANLIB
49981 # Extract the first word of "ranlib", so it can be a program name with args.
49982 set dummy ranlib; ac_word=$2
49983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49985 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49986 echo $ECHO_N "(cached) $ECHO_C" >&6
49987 else
49988 if test -n "$ac_ct_RANLIB"; then
49989 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49990 else
49991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49992 for as_dir in $PATH
49993 do
49994 IFS=$as_save_IFS
49995 test -z "$as_dir" && as_dir=.
49996 for ac_exec_ext in '' $ac_executable_extensions; do
49997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49998 ac_cv_prog_ac_ct_RANLIB="ranlib"
49999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50000 break 2
50001 fi
50002 done
50003 done
50004 IFS=$as_save_IFS
50005
50006 fi
50007 fi
50008 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50009 if test -n "$ac_ct_RANLIB"; then
50010 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50011 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50012 else
50013 { echo "$as_me:$LINENO: result: no" >&5
50014 echo "${ECHO_T}no" >&6; }
50015 fi
50016
50017 if test "x$ac_ct_RANLIB" = x; then
50018 RANLIB=":"
50019 else
50020 case $cross_compiling:$ac_tool_warned in
50021 yes:)
50022 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50023 whose name does not start with the host triplet. If you think this
50024 configuration is useful to you, please write to autoconf@gnu.org." >&5
50025 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50026 whose name does not start with the host triplet. If you think this
50027 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50028 ac_tool_warned=yes ;;
50029 esac
50030 RANLIB=$ac_ct_RANLIB
50031 fi
50032 else
50033 RANLIB="$ac_cv_prog_RANLIB"
50034 fi
50035
50036 # Find a good install program. We prefer a C program (faster),
50037 # so one script is as good as another. But avoid the broken or
50038 # incompatible versions:
50039 # SysV /etc/install, /usr/sbin/install
50040 # SunOS /usr/etc/install
50041 # IRIX /sbin/install
50042 # AIX /bin/install
50043 # AmigaOS /C/install, which installs bootblocks on floppy discs
50044 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
50045 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
50046 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50047 # OS/2's system install, which has a completely different semantic
50048 # ./install, which can be erroneously created by make from ./install.sh.
50049 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
50050 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
50051 if test -z "$INSTALL"; then
50052 if test "${ac_cv_path_install+set}" = set; then
50053 echo $ECHO_N "(cached) $ECHO_C" >&6
50054 else
50055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50056 for as_dir in $PATH
50057 do
50058 IFS=$as_save_IFS
50059 test -z "$as_dir" && as_dir=.
50060 # Account for people who put trailing slashes in PATH elements.
50061 case $as_dir/ in
50062 ./ | .// | /cC/* | \
50063 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
50064 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
50065 /usr/ucb/* ) ;;
50066 *)
50067 # OSF1 and SCO ODT 3.0 have their own names for install.
50068 # Don't use installbsd from OSF since it installs stuff as root
50069 # by default.
50070 for ac_prog in ginstall scoinst install; do
50071 for ac_exec_ext in '' $ac_executable_extensions; do
50072 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
50073 if test $ac_prog = install &&
50074 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50075 # AIX install. It has an incompatible calling convention.
50076 :
50077 elif test $ac_prog = install &&
50078 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50079 # program-specific install script used by HP pwplus--don't use.
50080 :
50081 else
50082 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50083 break 3
50084 fi
50085 fi
50086 done
50087 done
50088 ;;
50089 esac
50090 done
50091 IFS=$as_save_IFS
50092
50093
50094 fi
50095 if test "${ac_cv_path_install+set}" = set; then
50096 INSTALL=$ac_cv_path_install
50097 else
50098 # As a last resort, use the slow shell script. Don't cache a
50099 # value for INSTALL within a source directory, because that will
50100 # break other packages using the cache if that directory is
50101 # removed, or if the value is a relative name.
50102 INSTALL=$ac_install_sh
50103 fi
50104 fi
50105 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50106 echo "${ECHO_T}$INSTALL" >&6; }
50107
50108 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50109 # It thinks the first close brace ends the variable substitution.
50110 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50111
50112 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50113
50114 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50115
50116 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50117 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50118 LN_S=$as_ln_s
50119 if test "$LN_S" = "ln -s"; then
50120 { echo "$as_me:$LINENO: result: yes" >&5
50121 echo "${ECHO_T}yes" >&6; }
50122 else
50123 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50124 echo "${ECHO_T}no, using $LN_S" >&6; }
50125 fi
50126
50127
50128 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50129 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50130 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50131 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50132 echo $ECHO_N "(cached) $ECHO_C" >&6
50133 else
50134 cat >conftest.make <<\_ACEOF
50135 SHELL = /bin/sh
50136 all:
50137 @echo '@@@%%%=$(MAKE)=@@@%%%'
50138 _ACEOF
50139 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50140 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50141 *@@@%%%=?*=@@@%%%*)
50142 eval ac_cv_prog_make_${ac_make}_set=yes;;
50143 *)
50144 eval ac_cv_prog_make_${ac_make}_set=no;;
50145 esac
50146 rm -f conftest.make
50147 fi
50148 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50149 { echo "$as_me:$LINENO: result: yes" >&5
50150 echo "${ECHO_T}yes" >&6; }
50151 SET_MAKE=
50152 else
50153 { echo "$as_me:$LINENO: result: no" >&5
50154 echo "${ECHO_T}no" >&6; }
50155 SET_MAKE="MAKE=${MAKE-make}"
50156 fi
50157
50158
50159
50160 if test "x$SUNCXX" = "xyes"; then
50161 AR=$CXX
50162 AROPTIONS="-xar -o"
50163
50164 elif test "x$SGICC" = "xyes"; then
50165 AR=$CXX
50166 AROPTIONS="-ar -o"
50167
50168 else
50169 if test -n "$ac_tool_prefix"; then
50170 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50171 set dummy ${ac_tool_prefix}ar; ac_word=$2
50172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50174 if test "${ac_cv_prog_AR+set}" = set; then
50175 echo $ECHO_N "(cached) $ECHO_C" >&6
50176 else
50177 if test -n "$AR"; then
50178 ac_cv_prog_AR="$AR" # Let the user override the test.
50179 else
50180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50181 for as_dir in $PATH
50182 do
50183 IFS=$as_save_IFS
50184 test -z "$as_dir" && as_dir=.
50185 for ac_exec_ext in '' $ac_executable_extensions; do
50186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50187 ac_cv_prog_AR="${ac_tool_prefix}ar"
50188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50189 break 2
50190 fi
50191 done
50192 done
50193 IFS=$as_save_IFS
50194
50195 fi
50196 fi
50197 AR=$ac_cv_prog_AR
50198 if test -n "$AR"; then
50199 { echo "$as_me:$LINENO: result: $AR" >&5
50200 echo "${ECHO_T}$AR" >&6; }
50201 else
50202 { echo "$as_me:$LINENO: result: no" >&5
50203 echo "${ECHO_T}no" >&6; }
50204 fi
50205
50206
50207 fi
50208 if test -z "$ac_cv_prog_AR"; then
50209 ac_ct_AR=$AR
50210 # Extract the first word of "ar", so it can be a program name with args.
50211 set dummy ar; ac_word=$2
50212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50214 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50215 echo $ECHO_N "(cached) $ECHO_C" >&6
50216 else
50217 if test -n "$ac_ct_AR"; then
50218 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50219 else
50220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50221 for as_dir in $PATH
50222 do
50223 IFS=$as_save_IFS
50224 test -z "$as_dir" && as_dir=.
50225 for ac_exec_ext in '' $ac_executable_extensions; do
50226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50227 ac_cv_prog_ac_ct_AR="ar"
50228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50229 break 2
50230 fi
50231 done
50232 done
50233 IFS=$as_save_IFS
50234
50235 fi
50236 fi
50237 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50238 if test -n "$ac_ct_AR"; then
50239 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50240 echo "${ECHO_T}$ac_ct_AR" >&6; }
50241 else
50242 { echo "$as_me:$LINENO: result: no" >&5
50243 echo "${ECHO_T}no" >&6; }
50244 fi
50245
50246 if test "x$ac_ct_AR" = x; then
50247 AR="ar"
50248 else
50249 case $cross_compiling:$ac_tool_warned in
50250 yes:)
50251 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50252 whose name does not start with the host triplet. If you think this
50253 configuration is useful to you, please write to autoconf@gnu.org." >&5
50254 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50255 whose name does not start with the host triplet. If you think this
50256 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50257 ac_tool_warned=yes ;;
50258 esac
50259 AR=$ac_ct_AR
50260 fi
50261 else
50262 AR="$ac_cv_prog_AR"
50263 fi
50264
50265 AROPTIONS=rcu
50266 fi
50267
50268
50269 if test -n "$ac_tool_prefix"; then
50270 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50271 set dummy ${ac_tool_prefix}strip; ac_word=$2
50272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50274 if test "${ac_cv_prog_STRIP+set}" = set; then
50275 echo $ECHO_N "(cached) $ECHO_C" >&6
50276 else
50277 if test -n "$STRIP"; then
50278 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50279 else
50280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50281 for as_dir in $PATH
50282 do
50283 IFS=$as_save_IFS
50284 test -z "$as_dir" && as_dir=.
50285 for ac_exec_ext in '' $ac_executable_extensions; do
50286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50287 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50289 break 2
50290 fi
50291 done
50292 done
50293 IFS=$as_save_IFS
50294
50295 fi
50296 fi
50297 STRIP=$ac_cv_prog_STRIP
50298 if test -n "$STRIP"; then
50299 { echo "$as_me:$LINENO: result: $STRIP" >&5
50300 echo "${ECHO_T}$STRIP" >&6; }
50301 else
50302 { echo "$as_me:$LINENO: result: no" >&5
50303 echo "${ECHO_T}no" >&6; }
50304 fi
50305
50306
50307 fi
50308 if test -z "$ac_cv_prog_STRIP"; then
50309 ac_ct_STRIP=$STRIP
50310 # Extract the first word of "strip", so it can be a program name with args.
50311 set dummy strip; ac_word=$2
50312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50314 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50315 echo $ECHO_N "(cached) $ECHO_C" >&6
50316 else
50317 if test -n "$ac_ct_STRIP"; then
50318 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50319 else
50320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50321 for as_dir in $PATH
50322 do
50323 IFS=$as_save_IFS
50324 test -z "$as_dir" && as_dir=.
50325 for ac_exec_ext in '' $ac_executable_extensions; do
50326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50327 ac_cv_prog_ac_ct_STRIP="strip"
50328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50329 break 2
50330 fi
50331 done
50332 done
50333 IFS=$as_save_IFS
50334
50335 fi
50336 fi
50337 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50338 if test -n "$ac_ct_STRIP"; then
50339 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50340 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50341 else
50342 { echo "$as_me:$LINENO: result: no" >&5
50343 echo "${ECHO_T}no" >&6; }
50344 fi
50345
50346 if test "x$ac_ct_STRIP" = x; then
50347 STRIP=":"
50348 else
50349 case $cross_compiling:$ac_tool_warned in
50350 yes:)
50351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50352 whose name does not start with the host triplet. If you think this
50353 configuration is useful to you, please write to autoconf@gnu.org." >&5
50354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50355 whose name does not start with the host triplet. If you think this
50356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50357 ac_tool_warned=yes ;;
50358 esac
50359 STRIP=$ac_ct_STRIP
50360 fi
50361 else
50362 STRIP="$ac_cv_prog_STRIP"
50363 fi
50364
50365 if test -n "$ac_tool_prefix"; then
50366 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50367 set dummy ${ac_tool_prefix}nm; ac_word=$2
50368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50370 if test "${ac_cv_prog_NM+set}" = set; then
50371 echo $ECHO_N "(cached) $ECHO_C" >&6
50372 else
50373 if test -n "$NM"; then
50374 ac_cv_prog_NM="$NM" # Let the user override the test.
50375 else
50376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50377 for as_dir in $PATH
50378 do
50379 IFS=$as_save_IFS
50380 test -z "$as_dir" && as_dir=.
50381 for ac_exec_ext in '' $ac_executable_extensions; do
50382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50383 ac_cv_prog_NM="${ac_tool_prefix}nm"
50384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50385 break 2
50386 fi
50387 done
50388 done
50389 IFS=$as_save_IFS
50390
50391 fi
50392 fi
50393 NM=$ac_cv_prog_NM
50394 if test -n "$NM"; then
50395 { echo "$as_me:$LINENO: result: $NM" >&5
50396 echo "${ECHO_T}$NM" >&6; }
50397 else
50398 { echo "$as_me:$LINENO: result: no" >&5
50399 echo "${ECHO_T}no" >&6; }
50400 fi
50401
50402
50403 fi
50404 if test -z "$ac_cv_prog_NM"; then
50405 ac_ct_NM=$NM
50406 # Extract the first word of "nm", so it can be a program name with args.
50407 set dummy nm; ac_word=$2
50408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50410 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50411 echo $ECHO_N "(cached) $ECHO_C" >&6
50412 else
50413 if test -n "$ac_ct_NM"; then
50414 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50415 else
50416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50417 for as_dir in $PATH
50418 do
50419 IFS=$as_save_IFS
50420 test -z "$as_dir" && as_dir=.
50421 for ac_exec_ext in '' $ac_executable_extensions; do
50422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50423 ac_cv_prog_ac_ct_NM="nm"
50424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50425 break 2
50426 fi
50427 done
50428 done
50429 IFS=$as_save_IFS
50430
50431 fi
50432 fi
50433 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50434 if test -n "$ac_ct_NM"; then
50435 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50436 echo "${ECHO_T}$ac_ct_NM" >&6; }
50437 else
50438 { echo "$as_me:$LINENO: result: no" >&5
50439 echo "${ECHO_T}no" >&6; }
50440 fi
50441
50442 if test "x$ac_ct_NM" = x; then
50443 NM=":"
50444 else
50445 case $cross_compiling:$ac_tool_warned in
50446 yes:)
50447 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50448 whose name does not start with the host triplet. If you think this
50449 configuration is useful to you, please write to autoconf@gnu.org." >&5
50450 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50451 whose name does not start with the host triplet. If you think this
50452 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50453 ac_tool_warned=yes ;;
50454 esac
50455 NM=$ac_ct_NM
50456 fi
50457 else
50458 NM="$ac_cv_prog_NM"
50459 fi
50460
50461
50462 case ${BAKEFILE_HOST} in
50463 *-hp-hpux* )
50464 INSTALL_DIR="mkdir -p"
50465 ;;
50466 * )
50467 INSTALL_DIR='$(INSTALL) -d'
50468 ;;
50469 esac
50470
50471
50472 LDFLAGS_GUI=
50473 case ${BAKEFILE_HOST} in
50474 *-*-cygwin* | *-*-mingw32* )
50475 LDFLAGS_GUI="-mwindows"
50476 esac
50477
50478
50479 fi
50480
50481 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50482 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50483 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50484 echo $ECHO_N "(cached) $ECHO_C" >&6
50485 else
50486
50487 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50488 egrep -s GNU > /dev/null); then
50489 bakefile_cv_prog_makeisgnu="yes"
50490 else
50491 bakefile_cv_prog_makeisgnu="no"
50492 fi
50493
50494 fi
50495 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50496 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50497
50498 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50499 IF_GNU_MAKE=""
50500 else
50501 IF_GNU_MAKE="#"
50502 fi
50503
50504
50505
50506 PLATFORM_UNIX=0
50507 PLATFORM_WIN32=0
50508 PLATFORM_MSDOS=0
50509 PLATFORM_MAC=0
50510 PLATFORM_MACOS=0
50511 PLATFORM_MACOSX=0
50512 PLATFORM_OS2=0
50513 PLATFORM_BEOS=0
50514
50515 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50516 case "${BAKEFILE_HOST}" in
50517 *-*-mingw32* )
50518 PLATFORM_WIN32=1
50519 ;;
50520 *-pc-msdosdjgpp )
50521 PLATFORM_MSDOS=1
50522 ;;
50523 *-pc-os2_emx | *-pc-os2-emx )
50524 PLATFORM_OS2=1
50525 ;;
50526 *-*-darwin* )
50527 PLATFORM_MAC=1
50528 PLATFORM_MACOSX=1
50529 ;;
50530 *-*-beos* )
50531 PLATFORM_BEOS=1
50532 ;;
50533 powerpc-apple-macos* )
50534 PLATFORM_MAC=1
50535 PLATFORM_MACOS=1
50536 ;;
50537 * )
50538 PLATFORM_UNIX=1
50539 ;;
50540 esac
50541 else
50542 case "$BAKEFILE_FORCE_PLATFORM" in
50543 win32 )
50544 PLATFORM_WIN32=1
50545 ;;
50546 msdos )
50547 PLATFORM_MSDOS=1
50548 ;;
50549 os2 )
50550 PLATFORM_OS2=1
50551 ;;
50552 darwin )
50553 PLATFORM_MAC=1
50554 PLATFORM_MACOSX=1
50555 ;;
50556 unix )
50557 PLATFORM_UNIX=1
50558 ;;
50559 beos )
50560 PLATFORM_BEOS=1
50561 ;;
50562 * )
50563 ;;
50564 esac
50565 fi
50566
50567
50568
50569
50570
50571
50572
50573
50574
50575
50576
50577 # Check whether --enable-omf was given.
50578 if test "${enable_omf+set}" = set; then
50579 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50580 fi
50581
50582
50583 case "${BAKEFILE_HOST}" in
50584 *-*-darwin* )
50585 if test "x$GCC" = "xyes"; then
50586 CFLAGS="$CFLAGS -fno-common"
50587 CXXFLAGS="$CXXFLAGS -fno-common"
50588 fi
50589 if test "x$XLCC" = "xyes"; then
50590 CFLAGS="$CFLAGS -qnocommon"
50591 CXXFLAGS="$CXXFLAGS -qnocommon"
50592 fi
50593 ;;
50594
50595 *-pc-os2_emx | *-pc-os2-emx )
50596 if test "x$bk_os2_use_omf" = "xyes" ; then
50597 AR=emxomfar
50598 RANLIB=:
50599 LDFLAGS="-Zomf $LDFLAGS"
50600 CFLAGS="-Zomf $CFLAGS"
50601 CXXFLAGS="-Zomf $CXXFLAGS"
50602 OS2_LIBEXT="lib"
50603 else
50604 OS2_LIBEXT="a"
50605 fi
50606 ;;
50607
50608 i*86-*-beos* )
50609 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50610 ;;
50611 esac
50612
50613
50614 SO_SUFFIX="so"
50615 SO_SUFFIX_MODULE="so"
50616 EXEEXT=""
50617 LIBPREFIX="lib"
50618 LIBEXT=".a"
50619 DLLPREFIX="lib"
50620 DLLPREFIX_MODULE=""
50621 DLLIMP_SUFFIX=""
50622 dlldir="$libdir"
50623
50624 case "${BAKEFILE_HOST}" in
50625 *-hp-hpux* )
50626 SO_SUFFIX="sl"
50627 SO_SUFFIX_MODULE="sl"
50628 ;;
50629 *-*-aix* )
50630 SO_SUFFIX="a"
50631 SO_SUFFIX_MODULE="a"
50632 ;;
50633 *-*-cygwin* )
50634 SO_SUFFIX="dll"
50635 SO_SUFFIX_MODULE="dll"
50636 DLLIMP_SUFFIX="dll.a"
50637 EXEEXT=".exe"
50638 DLLPREFIX="cyg"
50639 dlldir="$bindir"
50640 ;;
50641 *-*-mingw32* )
50642 SO_SUFFIX="dll"
50643 SO_SUFFIX_MODULE="dll"
50644 DLLIMP_SUFFIX="dll.a"
50645 EXEEXT=".exe"
50646 DLLPREFIX=""
50647 dlldir="$bindir"
50648 ;;
50649 *-pc-msdosdjgpp )
50650 EXEEXT=".exe"
50651 DLLPREFIX=""
50652 dlldir="$bindir"
50653 ;;
50654 *-pc-os2_emx | *-pc-os2-emx )
50655 SO_SUFFIX="dll"
50656 SO_SUFFIX_MODULE="dll"
50657 DLLIMP_SUFFIX=$OS2_LIBEXT
50658 EXEEXT=".exe"
50659 DLLPREFIX=""
50660 LIBPREFIX=""
50661 LIBEXT=".$OS2_LIBEXT"
50662 dlldir="$bindir"
50663 ;;
50664 *-*-darwin* )
50665 SO_SUFFIX="dylib"
50666 SO_SUFFIX_MODULE="bundle"
50667 ;;
50668 esac
50669
50670 if test "x$DLLIMP_SUFFIX" = "x" ; then
50671 DLLIMP_SUFFIX="$SO_SUFFIX"
50672 fi
50673
50674
50675
50676
50677
50678
50679
50680
50681
50682
50683
50684
50685 PIC_FLAG=""
50686 if test "x$GCC" = "xyes"; then
50687 PIC_FLAG="-fPIC"
50688 fi
50689
50690 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50691 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50692 WINDOWS_IMPLIB=0
50693
50694 case "${BAKEFILE_HOST}" in
50695 *-hp-hpux* )
50696 if test "x$GCC" != "xyes"; then
50697 LDFLAGS="$LDFLAGS -L/usr/lib"
50698
50699 SHARED_LD_CC="${CC} -b -o"
50700 SHARED_LD_CXX="${CXX} -b -o"
50701 PIC_FLAG="+Z"
50702 fi
50703 ;;
50704
50705 *-*-linux* )
50706 if test "$INTELCC" = "yes"; then
50707 PIC_FLAG="-KPIC"
50708 elif test "x$SUNCXX" = "xyes"; then
50709 SHARED_LD_CC="${CC} -G -o"
50710 SHARED_LD_CXX="${CXX} -G -o"
50711 PIC_FLAG="-KPIC"
50712 fi
50713 ;;
50714
50715 *-*-solaris2* )
50716 if test "x$SUNCXX" = xyes ; then
50717 SHARED_LD_CC="${CC} -G -o"
50718 SHARED_LD_CXX="${CXX} -G -o"
50719 PIC_FLAG="-KPIC"
50720 fi
50721 ;;
50722
50723 *-*-darwin* )
50724
50725 D='$'
50726 cat <<EOF >shared-ld-sh
50727 #!/bin/sh
50728 #-----------------------------------------------------------------------------
50729 #-- Name: distrib/mac/shared-ld-sh
50730 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50731 #-- Author: Gilles Depeyrot
50732 #-- Copyright: (c) 2002 Gilles Depeyrot
50733 #-- Licence: any use permitted
50734 #-----------------------------------------------------------------------------
50735
50736 verbose=0
50737 args=""
50738 objects=""
50739 linking_flag="-dynamiclib"
50740 ldargs="-r -keep_private_externs -nostdlib"
50741
50742 while test ${D}# -gt 0; do
50743 case ${D}1 in
50744
50745 -v)
50746 verbose=1
50747 ;;
50748
50749 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50750 # collect these options and values
50751 args="${D}{args} ${D}1 ${D}2"
50752 shift
50753 ;;
50754
50755 -s|-Wl,*)
50756 # collect these load args
50757 ldargs="${D}{ldargs} ${D}1"
50758 ;;
50759
50760 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50761 # collect these options
50762 args="${D}{args} ${D}1"
50763 ;;
50764
50765 -dynamiclib|-bundle)
50766 linking_flag="${D}1"
50767 ;;
50768
50769 -*)
50770 echo "shared-ld: unhandled option '${D}1'"
50771 exit 1
50772 ;;
50773
50774 *.o | *.a | *.dylib)
50775 # collect object files
50776 objects="${D}{objects} ${D}1"
50777 ;;
50778
50779 *)
50780 echo "shared-ld: unhandled argument '${D}1'"
50781 exit 1
50782 ;;
50783
50784 esac
50785 shift
50786 done
50787
50788 status=0
50789
50790 #
50791 # Link one module containing all the others
50792 #
50793 if test ${D}{verbose} = 1; then
50794 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50795 fi
50796 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50797 status=${D}?
50798
50799 #
50800 # Link the shared library from the single module created, but only if the
50801 # previous command didn't fail:
50802 #
50803 if test ${D}{status} = 0; then
50804 if test ${D}{verbose} = 1; then
50805 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50806 fi
50807 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50808 status=${D}?
50809 fi
50810
50811 #
50812 # Remove intermediate module
50813 #
50814 rm -f master.${D}${D}.o
50815
50816 exit ${D}status
50817 EOF
50818
50819 chmod +x shared-ld-sh
50820
50821 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50822 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50823
50824
50825 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50826 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50827 if test "${bakefile_cv_gcc31+set}" = set; then
50828 echo $ECHO_N "(cached) $ECHO_C" >&6
50829 else
50830
50831 cat >conftest.$ac_ext <<_ACEOF
50832 /* confdefs.h. */
50833 _ACEOF
50834 cat confdefs.h >>conftest.$ac_ext
50835 cat >>conftest.$ac_ext <<_ACEOF
50836 /* end confdefs.h. */
50837
50838 int
50839 main ()
50840 {
50841
50842 #if (__GNUC__ < 3) || \
50843 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50844 This is old gcc
50845 #endif
50846
50847 ;
50848 return 0;
50849 }
50850 _ACEOF
50851 rm -f conftest.$ac_objext
50852 if { (ac_try="$ac_compile"
50853 case "(($ac_try" in
50854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50855 *) ac_try_echo=$ac_try;;
50856 esac
50857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50858 (eval "$ac_compile") 2>conftest.er1
50859 ac_status=$?
50860 grep -v '^ *+' conftest.er1 >conftest.err
50861 rm -f conftest.er1
50862 cat conftest.err >&5
50863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50864 (exit $ac_status); } && {
50865 test -z "$ac_c_werror_flag" ||
50866 test ! -s conftest.err
50867 } && test -s conftest.$ac_objext; then
50868
50869 bakefile_cv_gcc31=yes
50870
50871 else
50872 echo "$as_me: failed program was:" >&5
50873 sed 's/^/| /' conftest.$ac_ext >&5
50874
50875
50876 bakefile_cv_gcc31=no
50877
50878
50879 fi
50880
50881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50882
50883 fi
50884 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50885 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50886 if test "$bakefile_cv_gcc31" = "no"; then
50887 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50888 SHARED_LD_CXX="$SHARED_LD_CC"
50889 else
50890 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50891 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50892 fi
50893
50894 if test "x$GCC" == "xyes"; then
50895 PIC_FLAG="-dynamic -fPIC"
50896 fi
50897 if test "x$XLCC" = "xyes"; then
50898 PIC_FLAG="-dynamic -DPIC"
50899 fi
50900 ;;
50901
50902 *-*-aix* )
50903 if test "x$GCC" = "xyes"; then
50904 PIC_FLAG=""
50905
50906 case "${BAKEFILE_HOST}" in
50907 *-*-aix5* )
50908 LD_EXPFULL="-Wl,-bexpfull"
50909 ;;
50910 esac
50911
50912 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50913 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50914 else
50915 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50916 set dummy makeC++SharedLib; ac_word=$2
50917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50919 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50920 echo $ECHO_N "(cached) $ECHO_C" >&6
50921 else
50922 if test -n "$AIX_CXX_LD"; then
50923 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50924 else
50925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50926 for as_dir in $PATH
50927 do
50928 IFS=$as_save_IFS
50929 test -z "$as_dir" && as_dir=.
50930 for ac_exec_ext in '' $ac_executable_extensions; do
50931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50932 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50934 break 2
50935 fi
50936 done
50937 done
50938 IFS=$as_save_IFS
50939
50940 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50941 fi
50942 fi
50943 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50944 if test -n "$AIX_CXX_LD"; then
50945 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50946 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50947 else
50948 { echo "$as_me:$LINENO: result: no" >&5
50949 echo "${ECHO_T}no" >&6; }
50950 fi
50951
50952
50953 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50954 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50955 fi
50956 ;;
50957
50958 *-*-beos* )
50959 SHARED_LD_CC="${LD} -nostart -o"
50960 SHARED_LD_CXX="${LD} -nostart -o"
50961 ;;
50962
50963 *-*-irix* )
50964 if test "x$GCC" != "xyes"; then
50965 PIC_FLAG="-KPIC"
50966 fi
50967 ;;
50968
50969 *-*-cygwin* | *-*-mingw32* )
50970 PIC_FLAG=""
50971 SHARED_LD_CC="\$(CC) -shared -o"
50972 SHARED_LD_CXX="\$(CXX) -shared -o"
50973 WINDOWS_IMPLIB=1
50974 ;;
50975
50976 *-pc-os2_emx | *-pc-os2-emx )
50977 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50978 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50979 PIC_FLAG=""
50980
50981 D='$'
50982 cat <<EOF >dllar.sh
50983 #!/bin/sh
50984 #
50985 # dllar - a tool to build both a .dll and an .a file
50986 # from a set of object (.o) files for EMX/OS2.
50987 #
50988 # Written by Andrew Zabolotny, bit@freya.etu.ru
50989 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50990 #
50991 # This script will accept a set of files on the command line.
50992 # All the public symbols from the .o files will be exported into
50993 # a .DEF file, then linker will be run (through gcc) against them to
50994 # build a shared library consisting of all given .o files. All libraries
50995 # (.a) will be first decompressed into component .o files then act as
50996 # described above. You can optionally give a description (-d "description")
50997 # which will be put into .DLL. To see the list of accepted options (as well
50998 # as command-line format) simply run this program without options. The .DLL
50999 # is built to be imported by name (there is no guarantee that new versions
51000 # of the library you build will have same ordinals for same symbols).
51001 #
51002 # dllar is free software; you can redistribute it and/or modify
51003 # it under the terms of the GNU General Public License as published by
51004 # the Free Software Foundation; either version 2, or (at your option)
51005 # any later version.
51006 #
51007 # dllar is distributed in the hope that it will be useful,
51008 # but WITHOUT ANY WARRANTY; without even the implied warranty of
51009 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51010 # GNU General Public License for more details.
51011 #
51012 # You should have received a copy of the GNU General Public License
51013 # along with dllar; see the file COPYING. If not, write to the Free
51014 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
51015 # 02111-1307, USA.
51016
51017 # To successfuly run this program you will need:
51018 # - Current drive should have LFN support (HPFS, ext2, network, etc)
51019 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
51020 # - gcc
51021 # (used to build the .dll)
51022 # - emxexp
51023 # (used to create .def file from .o files)
51024 # - emximp
51025 # (used to create .a file from .def file)
51026 # - GNU text utilites (cat, sort, uniq)
51027 # used to process emxexp output
51028 # - GNU file utilities (mv, rm)
51029 # - GNU sed
51030 # - lxlite (optional, see flag below)
51031 # (used for general .dll cleanup)
51032 #
51033
51034 flag_USE_LXLITE=1;
51035
51036 #
51037 # helper functions
51038 # basnam, variant of basename, which does _not_ remove the path, _iff_
51039 # second argument (suffix to remove) is given
51040 basnam(){
51041 case ${D}# in
51042 1)
51043 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
51044 ;;
51045 2)
51046 echo ${D}1 | sed 's/'${D}2'${D}//'
51047 ;;
51048 *)
51049 echo "error in basnam ${D}*"
51050 exit 8
51051 ;;
51052 esac
51053 }
51054
51055 # Cleanup temporary files and output
51056 CleanUp() {
51057 cd ${D}curDir
51058 for i in ${D}inputFiles ; do
51059 case ${D}i in
51060 *!)
51061 rm -rf \`basnam ${D}i !\`
51062 ;;
51063 *)
51064 ;;
51065 esac
51066 done
51067
51068 # Kill result in case of failure as there is just to many stupid make/nmake
51069 # things out there which doesn't do this.
51070 if [ ${D}# -eq 0 ]; then
51071 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51072 fi
51073 }
51074
51075 # Print usage and exit script with rc=1.
51076 PrintHelp() {
51077 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51078 echo ' [-name-mangler-script script.sh]'
51079 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51080 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51081 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51082 echo ' [*.o] [*.a]'
51083 echo '*> "output_file" should have no extension.'
51084 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51085 echo ' The import library name is derived from this and is set to "name".a,'
51086 echo ' unless overridden by -import'
51087 echo '*> "importlib_name" should have no extension.'
51088 echo ' If it has the .o, or .a extension, it is automatically removed.'
51089 echo ' This name is used as the import library name and may be longer and'
51090 echo ' more descriptive than the DLL name which has to follow the old '
51091 echo ' 8.3 convention of FAT.'
51092 echo '*> "script.sh may be given to override the output_file name by a'
51093 echo ' different name. It is mainly useful if the regular make process'
51094 echo ' of some package does not take into account OS/2 restriction of'
51095 echo ' DLL name lengths. It takes the importlib name as input and is'
51096 echo ' supposed to procude a shorter name as output. The script should'
51097 echo ' expect to get importlib_name without extension and should produce'
51098 echo ' a (max.) 8 letter name without extension.'
51099 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51100 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51101 echo ' These flags will be put at the start of GCC command line.'
51102 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51103 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51104 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51105 echo ' If the last character of a symbol is "*", all symbols beginning'
51106 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51107 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51108 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51109 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51110 echo ' C runtime DLLs.'
51111 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51112 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51113 echo ' unchanged to GCC at the end of command line.'
51114 echo '*> If you create a DLL from a library and you do not specify -o,'
51115 echo ' the basename for DLL and import library will be set to library name,'
51116 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51117 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51118 echo ' library will be renamed into gcc_s.a.'
51119 echo '--------'
51120 echo 'Example:'
51121 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51122 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51123 CleanUp
51124 exit 1
51125 }
51126
51127 # Execute a command.
51128 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51129 # @Uses Whatever CleanUp() uses.
51130 doCommand() {
51131 echo "${D}*"
51132 eval ${D}*
51133 rcCmd=${D}?
51134
51135 if [ ${D}rcCmd -ne 0 ]; then
51136 echo "command failed, exit code="${D}rcCmd
51137 CleanUp
51138 exit ${D}rcCmd
51139 fi
51140 }
51141
51142 # main routine
51143 # setup globals
51144 cmdLine=${D}*
51145 outFile=""
51146 outimpFile=""
51147 inputFiles=""
51148 renameScript=""
51149 description=""
51150 CC=gcc.exe
51151 CFLAGS="-s -Zcrtdll"
51152 EXTRA_CFLAGS=""
51153 EXPORT_BY_ORDINALS=0
51154 exclude_symbols=""
51155 library_flags=""
51156 curDir=\`pwd\`
51157 curDirS=curDir
51158 case ${D}curDirS in
51159 */)
51160 ;;
51161 *)
51162 curDirS=${D}{curDirS}"/"
51163 ;;
51164 esac
51165 # Parse commandline
51166 libsToLink=0
51167 omfLinking=0
51168 while [ ${D}1 ]; do
51169 case ${D}1 in
51170 -ord*)
51171 EXPORT_BY_ORDINALS=1;
51172 ;;
51173 -o*)
51174 shift
51175 outFile=${D}1
51176 ;;
51177 -i*)
51178 shift
51179 outimpFile=${D}1
51180 ;;
51181 -name-mangler-script)
51182 shift
51183 renameScript=${D}1
51184 ;;
51185 -d*)
51186 shift
51187 description=${D}1
51188 ;;
51189 -f*)
51190 shift
51191 CFLAGS=${D}1
51192 ;;
51193 -c*)
51194 shift
51195 CC=${D}1
51196 ;;
51197 -h*)
51198 PrintHelp
51199 ;;
51200 -ex*)
51201 shift
51202 exclude_symbols=${D}{exclude_symbols}${D}1" "
51203 ;;
51204 -libf*)
51205 shift
51206 library_flags=${D}{library_flags}${D}1" "
51207 ;;
51208 -nocrt*)
51209 CFLAGS="-s"
51210 ;;
51211 -nolxl*)
51212 flag_USE_LXLITE=0
51213 ;;
51214 -* | /*)
51215 case ${D}1 in
51216 -L* | -l*)
51217 libsToLink=1
51218 ;;
51219 -Zomf)
51220 omfLinking=1
51221 ;;
51222 *)
51223 ;;
51224 esac
51225 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51226 ;;
51227 *.dll)
51228 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51229 if [ ${D}omfLinking -eq 1 ]; then
51230 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51231 else
51232 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51233 fi
51234 ;;
51235 *)
51236 found=0;
51237 if [ ${D}libsToLink -ne 0 ]; then
51238 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51239 else
51240 for file in ${D}1 ; do
51241 if [ -f ${D}file ]; then
51242 inputFiles="${D}{inputFiles} ${D}file"
51243 found=1
51244 fi
51245 done
51246 if [ ${D}found -eq 0 ]; then
51247 echo "ERROR: No file(s) found: "${D}1
51248 exit 8
51249 fi
51250 fi
51251 ;;
51252 esac
51253 shift
51254 done # iterate cmdline words
51255
51256 #
51257 if [ -z "${D}inputFiles" ]; then
51258 echo "dllar: no input files"
51259 PrintHelp
51260 fi
51261
51262 # Now extract all .o files from .a files
51263 newInputFiles=""
51264 for file in ${D}inputFiles ; do
51265 case ${D}file in
51266 *.a | *.lib)
51267 case ${D}file in
51268 *.a)
51269 suffix=".a"
51270 AR="ar"
51271 ;;
51272 *.lib)
51273 suffix=".lib"
51274 AR="emxomfar"
51275 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51276 ;;
51277 *)
51278 ;;
51279 esac
51280 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51281 mkdir ${D}dirname
51282 if [ ${D}? -ne 0 ]; then
51283 echo "Failed to create subdirectory ./${D}dirname"
51284 CleanUp
51285 exit 8;
51286 fi
51287 # Append '!' to indicate archive
51288 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51289 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51290 cd ${D}curDir
51291 found=0;
51292 for subfile in ${D}dirname/*.o* ; do
51293 if [ -f ${D}subfile ]; then
51294 found=1
51295 if [ -s ${D}subfile ]; then
51296 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51297 newInputFiles="${D}newInputFiles ${D}subfile"
51298 fi
51299 fi
51300 done
51301 if [ ${D}found -eq 0 ]; then
51302 echo "WARNING: there are no files in archive \\'${D}file\\'"
51303 fi
51304 ;;
51305 *)
51306 newInputFiles="${D}{newInputFiles} ${D}file"
51307 ;;
51308 esac
51309 done
51310 inputFiles="${D}newInputFiles"
51311
51312 # Output filename(s).
51313 do_backup=0;
51314 if [ -z ${D}outFile ]; then
51315 do_backup=1;
51316 set outFile ${D}inputFiles; outFile=${D}2
51317 fi
51318
51319 # If it is an archive, remove the '!' and the '_%' suffixes
51320 case ${D}outFile in
51321 *_%!)
51322 outFile=\`basnam ${D}outFile _%!\`
51323 ;;
51324 *)
51325 ;;
51326 esac
51327 case ${D}outFile in
51328 *.dll)
51329 outFile=\`basnam ${D}outFile .dll\`
51330 ;;
51331 *.DLL)
51332 outFile=\`basnam ${D}outFile .DLL\`
51333 ;;
51334 *.o)
51335 outFile=\`basnam ${D}outFile .o\`
51336 ;;
51337 *.obj)
51338 outFile=\`basnam ${D}outFile .obj\`
51339 ;;
51340 *.a)
51341 outFile=\`basnam ${D}outFile .a\`
51342 ;;
51343 *.lib)
51344 outFile=\`basnam ${D}outFile .lib\`
51345 ;;
51346 *)
51347 ;;
51348 esac
51349 case ${D}outimpFile in
51350 *.a)
51351 outimpFile=\`basnam ${D}outimpFile .a\`
51352 ;;
51353 *.lib)
51354 outimpFile=\`basnam ${D}outimpFile .lib\`
51355 ;;
51356 *)
51357 ;;
51358 esac
51359 if [ -z ${D}outimpFile ]; then
51360 outimpFile=${D}outFile
51361 fi
51362 defFile="${D}{outFile}.def"
51363 arcFile="${D}{outimpFile}.a"
51364 arcFile2="${D}{outimpFile}.lib"
51365
51366 #create ${D}dllFile as something matching 8.3 restrictions,
51367 if [ -z ${D}renameScript ] ; then
51368 dllFile="${D}outFile"
51369 else
51370 dllFile=\`${D}renameScript ${D}outimpFile\`
51371 fi
51372
51373 if [ ${D}do_backup -ne 0 ] ; then
51374 if [ -f ${D}arcFile ] ; then
51375 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51376 fi
51377 if [ -f ${D}arcFile2 ] ; then
51378 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51379 fi
51380 fi
51381
51382 # Extract public symbols from all the object files.
51383 tmpdefFile=${D}{defFile}_%
51384 rm -f ${D}tmpdefFile
51385 for file in ${D}inputFiles ; do
51386 case ${D}file in
51387 *!)
51388 ;;
51389 *)
51390 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51391 ;;
51392 esac
51393 done
51394
51395 # Create the def file.
51396 rm -f ${D}defFile
51397 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51398 dllFile="${D}{dllFile}.dll"
51399 if [ ! -z ${D}description ]; then
51400 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51401 fi
51402 echo "EXPORTS" >> ${D}defFile
51403
51404 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51405 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51406
51407 # Checks if the export is ok or not.
51408 for word in ${D}exclude_symbols; do
51409 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51410 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51411 done
51412
51413
51414 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51415 sed "=" < ${D}tmpdefFile | \\
51416 sed '
51417 N
51418 : loop
51419 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51420 t loop
51421 ' > ${D}{tmpdefFile}%
51422 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51423 else
51424 rm -f ${D}{tmpdefFile}%
51425 fi
51426 cat ${D}tmpdefFile >> ${D}defFile
51427 rm -f ${D}tmpdefFile
51428
51429 # Do linking, create implib, and apply lxlite.
51430 gccCmdl="";
51431 for file in ${D}inputFiles ; do
51432 case ${D}file in
51433 *!)
51434 ;;
51435 *)
51436 gccCmdl="${D}gccCmdl ${D}file"
51437 ;;
51438 esac
51439 done
51440 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51441 touch "${D}{outFile}.dll"
51442
51443 doCommand "emximp -o ${D}arcFile ${D}defFile"
51444 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51445 add_flags="";
51446 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51447 add_flags="-ynd"
51448 fi
51449 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51450 fi
51451 doCommand "emxomf -s -l ${D}arcFile"
51452
51453 # Successful exit.
51454 CleanUp 1
51455 exit 0
51456 EOF
51457
51458 chmod +x dllar.sh
51459 ;;
51460
51461 powerpc-apple-macos* | \
51462 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51463 *-*-mirbsd* | \
51464 *-*-sunos4* | \
51465 *-*-osf* | \
51466 *-*-dgux5* | \
51467 *-*-sysv5* | \
51468 *-pc-msdosdjgpp )
51469 ;;
51470
51471 *)
51472 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51473 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51474 { (exit 1); exit 1; }; }
51475 esac
51476
51477 if test "x$PIC_FLAG" != "x" ; then
51478 PIC_FLAG="$PIC_FLAG -DPIC"
51479 fi
51480
51481 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51482 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51483 fi
51484 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51485 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51486 fi
51487
51488
51489
51490
51491
51492
51493
51494
51495
51496 USE_SOVERSION=0
51497 USE_SOVERLINUX=0
51498 USE_SOVERSOLARIS=0
51499 USE_SOVERCYGWIN=0
51500 USE_SOSYMLINKS=0
51501 USE_MACVERSION=0
51502 SONAME_FLAG=
51503
51504 case "${BAKEFILE_HOST}" in
51505 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51506 if test "x$SUNCXX" = "xyes"; then
51507 SONAME_FLAG="-h "
51508 else
51509 SONAME_FLAG="-Wl,-soname,"
51510 fi
51511 USE_SOVERSION=1
51512 USE_SOVERLINUX=1
51513 USE_SOSYMLINKS=1
51514 ;;
51515
51516 *-*-solaris2* )
51517 SONAME_FLAG="-h "
51518 USE_SOVERSION=1
51519 USE_SOVERSOLARIS=1
51520 USE_SOSYMLINKS=1
51521 ;;
51522
51523 *-*-darwin* )
51524 USE_MACVERSION=1
51525 USE_SOVERSION=1
51526 USE_SOSYMLINKS=1
51527 ;;
51528
51529 *-*-cygwin* )
51530 USE_SOVERSION=1
51531 USE_SOVERCYGWIN=1
51532 ;;
51533 esac
51534
51535
51536
51537
51538
51539
51540
51541
51542
51543
51544 # Check whether --enable-dependency-tracking was given.
51545 if test "${enable_dependency_tracking+set}" = set; then
51546 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51547 fi
51548
51549
51550 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51551 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51552
51553 BK_DEPS=""
51554 if test "x$bk_use_trackdeps" = "xno" ; then
51555 DEPS_TRACKING=0
51556 { echo "$as_me:$LINENO: result: disabled" >&5
51557 echo "${ECHO_T}disabled" >&6; }
51558 else
51559 DEPS_TRACKING=1
51560
51561 if test "x$GCC" = "xyes"; then
51562 DEPSMODE=gcc
51563 case "${BAKEFILE_HOST}" in
51564 *-*-darwin* )
51565 DEPSFLAG="-no-cpp-precomp -MMD"
51566 ;;
51567 * )
51568 DEPSFLAG="-MMD"
51569 ;;
51570 esac
51571 { echo "$as_me:$LINENO: result: gcc" >&5
51572 echo "${ECHO_T}gcc" >&6; }
51573 elif test "x$MWCC" = "xyes"; then
51574 DEPSMODE=mwcc
51575 DEPSFLAG="-MM"
51576 { echo "$as_me:$LINENO: result: mwcc" >&5
51577 echo "${ECHO_T}mwcc" >&6; }
51578 elif test "x$SUNCC" = "xyes"; then
51579 DEPSMODE=unixcc
51580 DEPSFLAG="-xM1"
51581 { echo "$as_me:$LINENO: result: Sun cc" >&5
51582 echo "${ECHO_T}Sun cc" >&6; }
51583 elif test "x$SGICC" = "xyes"; then
51584 DEPSMODE=unixcc
51585 DEPSFLAG="-M"
51586 { echo "$as_me:$LINENO: result: SGI cc" >&5
51587 echo "${ECHO_T}SGI cc" >&6; }
51588 elif test "x$HPCC" = "xyes"; then
51589 DEPSMODE=unixcc
51590 DEPSFLAG="+make"
51591 { echo "$as_me:$LINENO: result: HP cc" >&5
51592 echo "${ECHO_T}HP cc" >&6; }
51593 elif test "x$COMPAQCC" = "xyes"; then
51594 DEPSMODE=gcc
51595 DEPSFLAG="-MD"
51596 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51597 echo "${ECHO_T}Compaq cc" >&6; }
51598 else
51599 DEPS_TRACKING=0
51600 { echo "$as_me:$LINENO: result: none" >&5
51601 echo "${ECHO_T}none" >&6; }
51602 fi
51603
51604 if test $DEPS_TRACKING = 1 ; then
51605
51606 D='$'
51607 cat <<EOF >bk-deps
51608 #!/bin/sh
51609
51610 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51611 # script. It is used to track C/C++ files dependencies in portable way.
51612 #
51613 # Permission is given to use this file in any way.
51614
51615 DEPSMODE=${DEPSMODE}
51616 DEPSDIR=.deps
51617 DEPSFLAG="${DEPSFLAG}"
51618
51619 mkdir -p ${D}DEPSDIR
51620
51621 if test ${D}DEPSMODE = gcc ; then
51622 ${D}* ${D}{DEPSFLAG}
51623 status=${D}?
51624 if test ${D}{status} != 0 ; then
51625 exit ${D}{status}
51626 fi
51627 # move created file to the location we want it in:
51628 while test ${D}# -gt 0; do
51629 case "${D}1" in
51630 -o )
51631 shift
51632 objfile=${D}1
51633 ;;
51634 -* )
51635 ;;
51636 * )
51637 srcfile=${D}1
51638 ;;
51639 esac
51640 shift
51641 done
51642 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51643 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51644 if test -f ${D}depfile ; then
51645 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51646 rm -f ${D}depfile
51647 else
51648 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51649 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51650 if test ! -f ${D}depfile ; then
51651 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51652 depfile="${D}objfile.d"
51653 fi
51654 if test -f ${D}depfile ; then
51655 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51656 rm -f ${D}depfile
51657 fi
51658 fi
51659 exit 0
51660 elif test ${D}DEPSMODE = mwcc ; then
51661 ${D}* || exit ${D}?
51662 # Run mwcc again with -MM and redirect into the dep file we want
51663 # NOTE: We can't use shift here because we need ${D}* to be valid
51664 prevarg=
51665 for arg in ${D}* ; do
51666 if test "${D}prevarg" = "-o"; then
51667 objfile=${D}arg
51668 else
51669 case "${D}arg" in
51670 -* )
51671 ;;
51672 * )
51673 srcfile=${D}arg
51674 ;;
51675 esac
51676 fi
51677 prevarg="${D}arg"
51678 done
51679 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51680 exit 0
51681 elif test ${D}DEPSMODE = unixcc; then
51682 ${D}* || exit ${D}?
51683 # Run compiler again with deps flag and redirect into the dep file.
51684 # It doesn't work if the '-o FILE' option is used, but without it the
51685 # dependency file will contain the wrong name for the object. So it is
51686 # removed from the command line, and the dep file is fixed with sed.
51687 cmd=""
51688 while test ${D}# -gt 0; do
51689 case "${D}1" in
51690 -o )
51691 shift
51692 objfile=${D}1
51693 ;;
51694 * )
51695 eval arg${D}#=\\${D}1
51696 cmd="${D}cmd \\${D}arg${D}#"
51697 ;;
51698 esac
51699 shift
51700 done
51701 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51702 exit 0
51703 else
51704 ${D}*
51705 exit ${D}?
51706 fi
51707 EOF
51708
51709 chmod +x bk-deps
51710 BK_DEPS="`pwd`/bk-deps"
51711 fi
51712 fi
51713
51714
51715
51716
51717
51718 case ${BAKEFILE_HOST} in
51719 *-*-cygwin* | *-*-mingw32* )
51720 if test -n "$ac_tool_prefix"; then
51721 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51722 set dummy ${ac_tool_prefix}windres; ac_word=$2
51723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51725 if test "${ac_cv_prog_WINDRES+set}" = set; then
51726 echo $ECHO_N "(cached) $ECHO_C" >&6
51727 else
51728 if test -n "$WINDRES"; then
51729 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51730 else
51731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51732 for as_dir in $PATH
51733 do
51734 IFS=$as_save_IFS
51735 test -z "$as_dir" && as_dir=.
51736 for ac_exec_ext in '' $ac_executable_extensions; do
51737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51738 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51740 break 2
51741 fi
51742 done
51743 done
51744 IFS=$as_save_IFS
51745
51746 fi
51747 fi
51748 WINDRES=$ac_cv_prog_WINDRES
51749 if test -n "$WINDRES"; then
51750 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51751 echo "${ECHO_T}$WINDRES" >&6; }
51752 else
51753 { echo "$as_me:$LINENO: result: no" >&5
51754 echo "${ECHO_T}no" >&6; }
51755 fi
51756
51757
51758 fi
51759 if test -z "$ac_cv_prog_WINDRES"; then
51760 ac_ct_WINDRES=$WINDRES
51761 # Extract the first word of "windres", so it can be a program name with args.
51762 set dummy windres; ac_word=$2
51763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51765 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51766 echo $ECHO_N "(cached) $ECHO_C" >&6
51767 else
51768 if test -n "$ac_ct_WINDRES"; then
51769 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51770 else
51771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51772 for as_dir in $PATH
51773 do
51774 IFS=$as_save_IFS
51775 test -z "$as_dir" && as_dir=.
51776 for ac_exec_ext in '' $ac_executable_extensions; do
51777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51778 ac_cv_prog_ac_ct_WINDRES="windres"
51779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51780 break 2
51781 fi
51782 done
51783 done
51784 IFS=$as_save_IFS
51785
51786 fi
51787 fi
51788 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51789 if test -n "$ac_ct_WINDRES"; then
51790 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51791 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51792 else
51793 { echo "$as_me:$LINENO: result: no" >&5
51794 echo "${ECHO_T}no" >&6; }
51795 fi
51796
51797 if test "x$ac_ct_WINDRES" = x; then
51798 WINDRES=""
51799 else
51800 case $cross_compiling:$ac_tool_warned in
51801 yes:)
51802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51803 whose name does not start with the host triplet. If you think this
51804 configuration is useful to you, please write to autoconf@gnu.org." >&5
51805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51806 whose name does not start with the host triplet. If you think this
51807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51808 ac_tool_warned=yes ;;
51809 esac
51810 WINDRES=$ac_ct_WINDRES
51811 fi
51812 else
51813 WINDRES="$ac_cv_prog_WINDRES"
51814 fi
51815
51816 ;;
51817
51818 *-*-darwin* | powerpc-apple-macos* )
51819 # Extract the first word of "Rez", so it can be a program name with args.
51820 set dummy Rez; ac_word=$2
51821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51823 if test "${ac_cv_prog_REZ+set}" = set; then
51824 echo $ECHO_N "(cached) $ECHO_C" >&6
51825 else
51826 if test -n "$REZ"; then
51827 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51828 else
51829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51830 for as_dir in $PATH
51831 do
51832 IFS=$as_save_IFS
51833 test -z "$as_dir" && as_dir=.
51834 for ac_exec_ext in '' $ac_executable_extensions; do
51835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51836 ac_cv_prog_REZ="Rez"
51837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51838 break 2
51839 fi
51840 done
51841 done
51842 IFS=$as_save_IFS
51843
51844 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51845 fi
51846 fi
51847 REZ=$ac_cv_prog_REZ
51848 if test -n "$REZ"; then
51849 { echo "$as_me:$LINENO: result: $REZ" >&5
51850 echo "${ECHO_T}$REZ" >&6; }
51851 else
51852 { echo "$as_me:$LINENO: result: no" >&5
51853 echo "${ECHO_T}no" >&6; }
51854 fi
51855
51856
51857 # Extract the first word of "SetFile", so it can be a program name with args.
51858 set dummy SetFile; ac_word=$2
51859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51861 if test "${ac_cv_prog_SETFILE+set}" = set; then
51862 echo $ECHO_N "(cached) $ECHO_C" >&6
51863 else
51864 if test -n "$SETFILE"; then
51865 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51866 else
51867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51868 for as_dir in $PATH
51869 do
51870 IFS=$as_save_IFS
51871 test -z "$as_dir" && as_dir=.
51872 for ac_exec_ext in '' $ac_executable_extensions; do
51873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51874 ac_cv_prog_SETFILE="SetFile"
51875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51876 break 2
51877 fi
51878 done
51879 done
51880 IFS=$as_save_IFS
51881
51882 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51883 fi
51884 fi
51885 SETFILE=$ac_cv_prog_SETFILE
51886 if test -n "$SETFILE"; then
51887 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51888 echo "${ECHO_T}$SETFILE" >&6; }
51889 else
51890 { echo "$as_me:$LINENO: result: no" >&5
51891 echo "${ECHO_T}no" >&6; }
51892 fi
51893
51894
51895 ;;
51896 esac
51897
51898
51899
51900
51901
51902
51903 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51904
51905
51906 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51907
51908
51909
51910 # Check whether --enable-precomp-headers was given.
51911 if test "${enable_precomp_headers+set}" = set; then
51912 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51913 fi
51914
51915
51916 GCC_PCH=0
51917 ICC_PCH=0
51918 USE_PCH=0
51919 BK_MAKE_PCH=""
51920
51921 case ${BAKEFILE_HOST} in
51922 *-*-cygwin* )
51923 bk_use_pch="no"
51924 ;;
51925 esac
51926
51927 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51928 if test "x$GCC" = "xyes"; then
51929 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51930 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51931 cat >conftest.$ac_ext <<_ACEOF
51932 /* confdefs.h. */
51933 _ACEOF
51934 cat confdefs.h >>conftest.$ac_ext
51935 cat >>conftest.$ac_ext <<_ACEOF
51936 /* end confdefs.h. */
51937
51938 int
51939 main ()
51940 {
51941
51942 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51943 There is no PCH support
51944 #endif
51945 #if (__GNUC__ < 3)
51946 There is no PCH support
51947 #endif
51948 #if (__GNUC__ == 3) && \
51949 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51950 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51951 ( defined(__INTEL_COMPILER) )
51952 There is no PCH support
51953 #endif
51954
51955 ;
51956 return 0;
51957 }
51958 _ACEOF
51959 rm -f conftest.$ac_objext
51960 if { (ac_try="$ac_compile"
51961 case "(($ac_try" in
51962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51963 *) ac_try_echo=$ac_try;;
51964 esac
51965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51966 (eval "$ac_compile") 2>conftest.er1
51967 ac_status=$?
51968 grep -v '^ *+' conftest.er1 >conftest.err
51969 rm -f conftest.er1
51970 cat conftest.err >&5
51971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51972 (exit $ac_status); } && {
51973 test -z "$ac_c_werror_flag" ||
51974 test ! -s conftest.err
51975 } && test -s conftest.$ac_objext; then
51976
51977 { echo "$as_me:$LINENO: result: yes" >&5
51978 echo "${ECHO_T}yes" >&6; }
51979 GCC_PCH=1
51980
51981 else
51982 echo "$as_me: failed program was:" >&5
51983 sed 's/^/| /' conftest.$ac_ext >&5
51984
51985
51986 cat >conftest.$ac_ext <<_ACEOF
51987 /* confdefs.h. */
51988 _ACEOF
51989 cat confdefs.h >>conftest.$ac_ext
51990 cat >>conftest.$ac_ext <<_ACEOF
51991 /* end confdefs.h. */
51992
51993 int
51994 main ()
51995 {
51996
51997 #if !defined(__INTEL_COMPILER) || \
51998 (__INTEL_COMPILER < 800)
51999 There is no PCH support
52000 #endif
52001
52002 ;
52003 return 0;
52004 }
52005 _ACEOF
52006 rm -f conftest.$ac_objext
52007 if { (ac_try="$ac_compile"
52008 case "(($ac_try" in
52009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52010 *) ac_try_echo=$ac_try;;
52011 esac
52012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52013 (eval "$ac_compile") 2>conftest.er1
52014 ac_status=$?
52015 grep -v '^ *+' conftest.er1 >conftest.err
52016 rm -f conftest.er1
52017 cat conftest.err >&5
52018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52019 (exit $ac_status); } && {
52020 test -z "$ac_c_werror_flag" ||
52021 test ! -s conftest.err
52022 } && test -s conftest.$ac_objext; then
52023
52024 { echo "$as_me:$LINENO: result: yes" >&5
52025 echo "${ECHO_T}yes" >&6; }
52026 ICC_PCH=1
52027
52028 else
52029 echo "$as_me: failed program was:" >&5
52030 sed 's/^/| /' conftest.$ac_ext >&5
52031
52032
52033 { echo "$as_me:$LINENO: result: no" >&5
52034 echo "${ECHO_T}no" >&6; }
52035
52036 fi
52037
52038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52039
52040 fi
52041
52042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52043 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
52044 USE_PCH=1
52045
52046 D='$'
52047 cat <<EOF >bk-make-pch
52048 #!/bin/sh
52049
52050 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
52051 # script. It is used to generated precompiled headers.
52052 #
52053 # Permission is given to use this file in any way.
52054
52055 outfile="${D}{1}"
52056 header="${D}{2}"
52057 shift
52058 shift
52059
52060 compiler=""
52061 headerfile=""
52062
52063 while test ${D}{#} -gt 0; do
52064 add_to_cmdline=1
52065 case "${D}{1}" in
52066 -I* )
52067 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
52068 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52069 headerfile="${D}{incdir}/${D}{header}"
52070 fi
52071 ;;
52072 -use-pch|-use_pch )
52073 shift
52074 add_to_cmdline=0
52075 ;;
52076 esac
52077 if test ${D}add_to_cmdline = 1 ; then
52078 compiler="${D}{compiler} ${D}{1}"
52079 fi
52080 shift
52081 done
52082
52083 if test "x${D}{headerfile}" = "x" ; then
52084 echo "error: can't find header ${D}{header} in include paths" >&2
52085 else
52086 if test -f ${D}{outfile} ; then
52087 rm -f ${D}{outfile}
52088 else
52089 mkdir -p \`dirname ${D}{outfile}\`
52090 fi
52091 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
52092 mkdir -p .deps
52093 if test "x${GCC_PCH}" = "x1" ; then
52094 # can do this because gcc is >= 3.4:
52095 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52096 elif test "x${ICC_PCH}" = "x1" ; then
52097 filename=pch_gen-${D}${D}
52098 file=${D}{filename}.c
52099 dfile=${D}{filename}.d
52100 cat > ${D}file <<EOT
52101 #include "${D}header"
52102 EOT
52103 # using -MF icc complains about differing command lines in creation/use
52104 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
52105 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52106 rm -f ${D}file ${D}dfile ${D}{filename}.o
52107 fi
52108 exit ${D}{?}
52109 fi
52110 EOF
52111
52112 chmod +x bk-make-pch
52113 BK_MAKE_PCH="`pwd`/bk-make-pch"
52114 fi
52115 fi
52116 fi
52117
52118
52119
52120
52121
52122 COND_BUILD_DEBUG="#"
52123 if test "x$BUILD" = "xdebug" ; then
52124 COND_BUILD_DEBUG=""
52125 fi
52126
52127 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52128 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52129 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52130 fi
52131
52132 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52133 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52134 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52135 fi
52136
52137 COND_BUILD_DEBUG_UNICODE_0="#"
52138 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52139 COND_BUILD_DEBUG_UNICODE_0=""
52140 fi
52141
52142 COND_BUILD_DEBUG_UNICODE_1="#"
52143 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52144 COND_BUILD_DEBUG_UNICODE_1=""
52145 fi
52146
52147 COND_BUILD_RELEASE="#"
52148 if test "x$BUILD" = "xrelease" ; then
52149 COND_BUILD_RELEASE=""
52150 fi
52151
52152 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52153 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52154 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52155 fi
52156
52157 COND_BUILD_RELEASE_UNICODE_0="#"
52158 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52159 COND_BUILD_RELEASE_UNICODE_0=""
52160 fi
52161
52162 COND_BUILD_RELEASE_UNICODE_1="#"
52163 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52164 COND_BUILD_RELEASE_UNICODE_1=""
52165 fi
52166
52167 COND_DEBUG_FLAG_1="#"
52168 if test "x$DEBUG_FLAG" = "x1" ; then
52169 COND_DEBUG_FLAG_1=""
52170 fi
52171
52172 COND_DEBUG_INFO_0="#"
52173 if test "x$DEBUG_INFO" = "x0" ; then
52174 COND_DEBUG_INFO_0=""
52175 fi
52176
52177 COND_DEBUG_INFO_1="#"
52178 if test "x$DEBUG_INFO" = "x1" ; then
52179 COND_DEBUG_INFO_1=""
52180 fi
52181
52182 COND_DEPS_TRACKING_0="#"
52183 if test "x$DEPS_TRACKING" = "x0" ; then
52184 COND_DEPS_TRACKING_0=""
52185 fi
52186
52187 COND_DEPS_TRACKING_1="#"
52188 if test "x$DEPS_TRACKING" = "x1" ; then
52189 COND_DEPS_TRACKING_1=""
52190 fi
52191
52192 COND_GCC_PCH_1="#"
52193 if test "x$GCC_PCH" = "x1" ; then
52194 COND_GCC_PCH_1=""
52195 fi
52196
52197 COND_ICC_PCH_1="#"
52198 if test "x$ICC_PCH" = "x1" ; then
52199 COND_ICC_PCH_1=""
52200 fi
52201
52202 COND_MONOLITHIC_0="#"
52203 if test "x$MONOLITHIC" = "x0" ; then
52204 COND_MONOLITHIC_0=""
52205 fi
52206
52207 COND_MONOLITHIC_0_SHARED_0="#"
52208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52209 COND_MONOLITHIC_0_SHARED_0=""
52210 fi
52211
52212 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52214 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52215 fi
52216
52217 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52219 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52220 fi
52221
52222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52224 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52225 fi
52226
52227 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52229 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52230 fi
52231
52232 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52234 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52235 fi
52236
52237 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52239 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52240 fi
52241
52242 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52244 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52245 fi
52246
52247 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52249 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52250 fi
52251
52252 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52254 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52255 fi
52256
52257 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52259 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52260 fi
52261
52262 COND_MONOLITHIC_0_SHARED_1="#"
52263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52264 COND_MONOLITHIC_0_SHARED_1=""
52265 fi
52266
52267 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52269 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52270 fi
52271
52272 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52274 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52275 fi
52276
52277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52279 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52280 fi
52281
52282 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52285 fi
52286
52287 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52289 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52290 fi
52291
52292 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52294 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52295 fi
52296
52297 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52299 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52300 fi
52301
52302 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52304 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52305 fi
52306
52307 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52309 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52310 fi
52311
52312 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52314 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52315 fi
52316
52317 COND_MONOLITHIC_0_USE_AUI_1="#"
52318 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52319 COND_MONOLITHIC_0_USE_AUI_1=""
52320 fi
52321
52322 COND_MONOLITHIC_0_USE_GUI_1="#"
52323 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52324 COND_MONOLITHIC_0_USE_GUI_1=""
52325 fi
52326
52327 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52328 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52329 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52330 fi
52331
52332 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52333 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52334 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52335 fi
52336
52337 COND_MONOLITHIC_0_USE_HTML_1="#"
52338 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52339 COND_MONOLITHIC_0_USE_HTML_1=""
52340 fi
52341
52342 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52343 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52344 COND_MONOLITHIC_0_USE_MEDIA_1=""
52345 fi
52346
52347 COND_MONOLITHIC_0_USE_ODBC_1="#"
52348 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52349 COND_MONOLITHIC_0_USE_ODBC_1=""
52350 fi
52351
52352 COND_MONOLITHIC_0_USE_QA_1="#"
52353 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52354 COND_MONOLITHIC_0_USE_QA_1=""
52355 fi
52356
52357 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52358 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52359 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52360 fi
52361
52362 COND_MONOLITHIC_0_USE_STC_1="#"
52363 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52364 COND_MONOLITHIC_0_USE_STC_1=""
52365 fi
52366
52367 COND_MONOLITHIC_0_USE_XRC_1="#"
52368 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52369 COND_MONOLITHIC_0_USE_XRC_1=""
52370 fi
52371
52372 COND_MONOLITHIC_1="#"
52373 if test "x$MONOLITHIC" = "x1" ; then
52374 COND_MONOLITHIC_1=""
52375 fi
52376
52377 COND_MONOLITHIC_1_SHARED_0="#"
52378 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52379 COND_MONOLITHIC_1_SHARED_0=""
52380 fi
52381
52382 COND_MONOLITHIC_1_SHARED_1="#"
52383 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52384 COND_MONOLITHIC_1_SHARED_1=""
52385 fi
52386
52387 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52388 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52389 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52390 fi
52391
52392 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52393 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52394 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52395 fi
52396
52397 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52398 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52399 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52400 fi
52401
52402 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52403 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52404 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52405 fi
52406
52407 COND_PLATFORM_MACOSX_1="#"
52408 if test "x$PLATFORM_MACOSX" = "x1" ; then
52409 COND_PLATFORM_MACOSX_1=""
52410 fi
52411
52412 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52414 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52415 fi
52416
52417 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52419 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52420 fi
52421
52422 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52424 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52425 fi
52426
52427 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52429 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52430 fi
52431
52432 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52434 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52435 fi
52436
52437 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52439 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52440 fi
52441
52442 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52443 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52444 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52445 fi
52446
52447 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52448 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52449 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52450 fi
52451
52452 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52453 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52454 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52455 fi
52456
52457 COND_PLATFORM_MACOS_1="#"
52458 if test "x$PLATFORM_MACOS" = "x1" ; then
52459 COND_PLATFORM_MACOS_1=""
52460 fi
52461
52462 COND_PLATFORM_MAC_1="#"
52463 if test "x$PLATFORM_MAC" = "x1" ; then
52464 COND_PLATFORM_MAC_1=""
52465 fi
52466
52467 COND_PLATFORM_MSDOS_0="#"
52468 if test "x$PLATFORM_MSDOS" = "x0" ; then
52469 COND_PLATFORM_MSDOS_0=""
52470 fi
52471
52472 COND_PLATFORM_MSDOS_1="#"
52473 if test "x$PLATFORM_MSDOS" = "x1" ; then
52474 COND_PLATFORM_MSDOS_1=""
52475 fi
52476
52477 COND_PLATFORM_OS2_1="#"
52478 if test "x$PLATFORM_OS2" = "x1" ; then
52479 COND_PLATFORM_OS2_1=""
52480 fi
52481
52482 COND_PLATFORM_UNIX_0="#"
52483 if test "x$PLATFORM_UNIX" = "x0" ; then
52484 COND_PLATFORM_UNIX_0=""
52485 fi
52486
52487 COND_PLATFORM_UNIX_1="#"
52488 if test "x$PLATFORM_UNIX" = "x1" ; then
52489 COND_PLATFORM_UNIX_1=""
52490 fi
52491
52492 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52493 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52494 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52495 fi
52496
52497 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52498 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52499 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52500 fi
52501
52502 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52503 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52504 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52505 fi
52506
52507 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52508 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52509 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52510 fi
52511
52512 COND_PLATFORM_WIN32_0="#"
52513 if test "x$PLATFORM_WIN32" = "x0" ; then
52514 COND_PLATFORM_WIN32_0=""
52515 fi
52516
52517 COND_PLATFORM_WIN32_1="#"
52518 if test "x$PLATFORM_WIN32" = "x1" ; then
52519 COND_PLATFORM_WIN32_1=""
52520 fi
52521
52522 COND_SHARED_0="#"
52523 if test "x$SHARED" = "x0" ; then
52524 COND_SHARED_0=""
52525 fi
52526
52527 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52528 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52529 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52530 fi
52531
52532 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52533 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52534 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52535 fi
52536
52537 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52538 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52539 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52540 fi
52541
52542 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52543 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52544 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52545 fi
52546
52547 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52548 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52549 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52550 fi
52551
52552 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52553 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52554 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52555 fi
52556
52557 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52558 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52559 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52560 fi
52561
52562 COND_SHARED_0_USE_STC_1="#"
52563 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52564 COND_SHARED_0_USE_STC_1=""
52565 fi
52566
52567 COND_SHARED_0_USE_XRC_1="#"
52568 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52569 COND_SHARED_0_USE_XRC_1=""
52570 fi
52571
52572 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52573 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52574 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52575 fi
52576
52577 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52578 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52579 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52580 fi
52581
52582 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52583 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52584 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52585 fi
52586
52587 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52588 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52589 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52590 fi
52591
52592 COND_SHARED_1="#"
52593 if test "x$SHARED" = "x1" ; then
52594 COND_SHARED_1=""
52595 fi
52596
52597 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52598 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52599 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52600 fi
52601
52602 COND_SHARED_1_USE_XRC_1="#"
52603 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52604 COND_SHARED_1_USE_XRC_1=""
52605 fi
52606
52607 COND_TOOLKIT_="#"
52608 if test "x$TOOLKIT" = "x" ; then
52609 COND_TOOLKIT_=""
52610 fi
52611
52612 COND_TOOLKIT_COCOA="#"
52613 if test "x$TOOLKIT" = "xCOCOA" ; then
52614 COND_TOOLKIT_COCOA=""
52615 fi
52616
52617 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52618 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52619 COND_TOOLKIT_COCOA_USE_GUI_1=""
52620 fi
52621
52622 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52623 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52624 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52625 fi
52626
52627 COND_TOOLKIT_DFB="#"
52628 if test "x$TOOLKIT" = "xDFB" ; then
52629 COND_TOOLKIT_DFB=""
52630 fi
52631
52632 COND_TOOLKIT_DFB_USE_GUI_1="#"
52633 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52634 COND_TOOLKIT_DFB_USE_GUI_1=""
52635 fi
52636
52637 COND_TOOLKIT_GTK="#"
52638 if test "x$TOOLKIT" = "xGTK" ; then
52639 COND_TOOLKIT_GTK=""
52640 fi
52641
52642 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52643 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52644 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52645 fi
52646
52647 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52648 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52649 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52650 fi
52651
52652 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52653 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52654 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52655 fi
52656
52657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52658 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52660 fi
52661
52662 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52663 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52664 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52665 fi
52666
52667 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52668 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52669 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52670 fi
52671
52672 COND_TOOLKIT_GTK_USE_GUI_1="#"
52673 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52674 COND_TOOLKIT_GTK_USE_GUI_1=""
52675 fi
52676
52677 COND_TOOLKIT_MAC="#"
52678 if test "x$TOOLKIT" = "xMAC" ; then
52679 COND_TOOLKIT_MAC=""
52680 fi
52681
52682 COND_TOOLKIT_MAC_USE_GUI_1="#"
52683 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52684 COND_TOOLKIT_MAC_USE_GUI_1=""
52685 fi
52686
52687 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52688 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52689 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52690 fi
52691
52692 COND_TOOLKIT_MGL="#"
52693 if test "x$TOOLKIT" = "xMGL" ; then
52694 COND_TOOLKIT_MGL=""
52695 fi
52696
52697 COND_TOOLKIT_MGL_USE_GUI_1="#"
52698 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52699 COND_TOOLKIT_MGL_USE_GUI_1=""
52700 fi
52701
52702 COND_TOOLKIT_MOTIF="#"
52703 if test "x$TOOLKIT" = "xMOTIF" ; then
52704 COND_TOOLKIT_MOTIF=""
52705 fi
52706
52707 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52708 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52709 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52710 fi
52711
52712 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52713 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52714 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52715 fi
52716
52717 COND_TOOLKIT_MSW="#"
52718 if test "x$TOOLKIT" = "xMSW" ; then
52719 COND_TOOLKIT_MSW=""
52720 fi
52721
52722 COND_TOOLKIT_MSW_USE_GUI_1="#"
52723 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52724 COND_TOOLKIT_MSW_USE_GUI_1=""
52725 fi
52726
52727 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52728 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52729 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52730 fi
52731
52732 COND_TOOLKIT_MSW_WXUNIV_0="#"
52733 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52734 COND_TOOLKIT_MSW_WXUNIV_0=""
52735 fi
52736
52737 COND_TOOLKIT_PM="#"
52738 if test "x$TOOLKIT" = "xPM" ; then
52739 COND_TOOLKIT_PM=""
52740 fi
52741
52742 COND_TOOLKIT_PM_USE_GUI_1="#"
52743 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52744 COND_TOOLKIT_PM_USE_GUI_1=""
52745 fi
52746
52747 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52748 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52749 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52750 fi
52751
52752 COND_TOOLKIT_WINCE="#"
52753 if test "x$TOOLKIT" = "xWINCE" ; then
52754 COND_TOOLKIT_WINCE=""
52755 fi
52756
52757 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52758 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52759 COND_TOOLKIT_WINCE_USE_GUI_1=""
52760 fi
52761
52762 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52763 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52764 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52765 fi
52766
52767 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52768 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52769 COND_TOOLKIT_WINCE_WXUNIV_0=""
52770 fi
52771
52772 COND_TOOLKIT_X11="#"
52773 if test "x$TOOLKIT" = "xX11" ; then
52774 COND_TOOLKIT_X11=""
52775 fi
52776
52777 COND_TOOLKIT_X11_USE_GUI_1="#"
52778 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52779 COND_TOOLKIT_X11_USE_GUI_1=""
52780 fi
52781
52782 COND_UNICODE_1="#"
52783 if test "x$UNICODE" = "x1" ; then
52784 COND_UNICODE_1=""
52785 fi
52786
52787 COND_USE_EXCEPTIONS_0="#"
52788 if test "x$USE_EXCEPTIONS" = "x0" ; then
52789 COND_USE_EXCEPTIONS_0=""
52790 fi
52791
52792 COND_USE_EXCEPTIONS_1="#"
52793 if test "x$USE_EXCEPTIONS" = "x1" ; then
52794 COND_USE_EXCEPTIONS_1=""
52795 fi
52796
52797 COND_USE_GUI_0="#"
52798 if test "x$USE_GUI" = "x0" ; then
52799 COND_USE_GUI_0=""
52800 fi
52801
52802 COND_USE_GUI_1="#"
52803 if test "x$USE_GUI" = "x1" ; then
52804 COND_USE_GUI_1=""
52805 fi
52806
52807 COND_USE_GUI_1_USE_OPENGL_1="#"
52808 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52809 COND_USE_GUI_1_USE_OPENGL_1=""
52810 fi
52811
52812 COND_USE_GUI_1_WXUNIV_0="#"
52813 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52814 COND_USE_GUI_1_WXUNIV_0=""
52815 fi
52816
52817 COND_USE_GUI_1_WXUNIV_1="#"
52818 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52819 COND_USE_GUI_1_WXUNIV_1=""
52820 fi
52821
52822 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52823 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52824 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52825 fi
52826
52827 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52828 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52829 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52830 fi
52831
52832 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52833 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52834 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52835 fi
52836
52837 COND_USE_ODBC_1="#"
52838 if test "x$USE_ODBC" = "x1" ; then
52839 COND_USE_ODBC_1=""
52840 fi
52841
52842 COND_USE_OPENGL_1="#"
52843 if test "x$USE_OPENGL" = "x1" ; then
52844 COND_USE_OPENGL_1=""
52845 fi
52846
52847 COND_USE_PCH_1="#"
52848 if test "x$USE_PCH" = "x1" ; then
52849 COND_USE_PCH_1=""
52850 fi
52851
52852 COND_USE_PLUGINS_0="#"
52853 if test "x$USE_PLUGINS" = "x0" ; then
52854 COND_USE_PLUGINS_0=""
52855 fi
52856
52857 COND_USE_RTTI_0="#"
52858 if test "x$USE_RTTI" = "x0" ; then
52859 COND_USE_RTTI_0=""
52860 fi
52861
52862 COND_USE_RTTI_1="#"
52863 if test "x$USE_RTTI" = "x1" ; then
52864 COND_USE_RTTI_1=""
52865 fi
52866
52867 COND_USE_SOSYMLINKS_1="#"
52868 if test "x$USE_SOSYMLINKS" = "x1" ; then
52869 COND_USE_SOSYMLINKS_1=""
52870 fi
52871
52872 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52873 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52874 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52875 fi
52876
52877 COND_USE_SOVERLINUX_1="#"
52878 if test "x$USE_SOVERLINUX" = "x1" ; then
52879 COND_USE_SOVERLINUX_1=""
52880 fi
52881
52882 COND_USE_SOVERSION_0="#"
52883 if test "x$USE_SOVERSION" = "x0" ; then
52884 COND_USE_SOVERSION_0=""
52885 fi
52886
52887 COND_USE_SOVERSOLARIS_1="#"
52888 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52889 COND_USE_SOVERSOLARIS_1=""
52890 fi
52891
52892 COND_USE_STC_1="#"
52893 if test "x$USE_STC" = "x1" ; then
52894 COND_USE_STC_1=""
52895 fi
52896
52897 COND_USE_THREADS_0="#"
52898 if test "x$USE_THREADS" = "x0" ; then
52899 COND_USE_THREADS_0=""
52900 fi
52901
52902 COND_USE_THREADS_1="#"
52903 if test "x$USE_THREADS" = "x1" ; then
52904 COND_USE_THREADS_1=""
52905 fi
52906
52907 COND_USE_XRC_1="#"
52908 if test "x$USE_XRC" = "x1" ; then
52909 COND_USE_XRC_1=""
52910 fi
52911
52912 COND_WINDOWS_IMPLIB_1="#"
52913 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52914 COND_WINDOWS_IMPLIB_1=""
52915 fi
52916
52917 COND_WITH_PLUGIN_SDL_1="#"
52918 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52919 COND_WITH_PLUGIN_SDL_1=""
52920 fi
52921
52922 COND_WXUNIV_0="#"
52923 if test "x$WXUNIV" = "x0" ; then
52924 COND_WXUNIV_0=""
52925 fi
52926
52927 COND_WXUNIV_1="#"
52928 if test "x$WXUNIV" = "x1" ; then
52929 COND_WXUNIV_1=""
52930 fi
52931
52932 COND_WXUSE_EXPAT_BUILTIN="#"
52933 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52934 COND_WXUSE_EXPAT_BUILTIN=""
52935 fi
52936
52937 COND_WXUSE_LIBJPEG_BUILTIN="#"
52938 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52939 COND_WXUSE_LIBJPEG_BUILTIN=""
52940 fi
52941
52942 COND_WXUSE_LIBPNG_BUILTIN="#"
52943 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52944 COND_WXUSE_LIBPNG_BUILTIN=""
52945 fi
52946
52947 COND_WXUSE_LIBTIFF_BUILTIN="#"
52948 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52949 COND_WXUSE_LIBTIFF_BUILTIN=""
52950 fi
52951
52952 COND_WXUSE_ODBC_BUILTIN="#"
52953 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52954 COND_WXUSE_ODBC_BUILTIN=""
52955 fi
52956
52957 COND_WXUSE_REGEX_BUILTIN="#"
52958 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52959 COND_WXUSE_REGEX_BUILTIN=""
52960 fi
52961
52962 COND_WXUSE_ZLIB_BUILTIN="#"
52963 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52964 COND_WXUSE_ZLIB_BUILTIN=""
52965 fi
52966
52967
52968
52969 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52970 { { 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
52971 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;}
52972 { (exit 1); exit 1; }; }
52973 fi
52974
52975 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52976 { { 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
52977 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;}
52978 { (exit 1); exit 1; }; }
52979 fi
52980
52981
52982 case ${INSTALL} in
52983 /* ) # Absolute
52984 ;;
52985 ?:* ) # Drive letter, considered as absolute.
52986 ;;
52987 *)
52988 INSTALL=`pwd`/${INSTALL} ;;
52989 esac
52990
52991 if test "$wxUSE_GUI" = "yes"; then
52992
52993 if test "$wxUSE_MSW" = 1 ; then
52994 if test "x$WINDRES" = "x"; then
52995 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52996 echo "$as_me: error: Required windres program not found" >&2;}
52997 { (exit 1); exit 1; }; }
52998 fi
52999
53000 RESCOMP="$WINDRES"
53001 fi
53002
53003 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
53004 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
53005 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
53006
53007 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
53008
53009 # Extract the first word of "DeRez", so it can be a program name with args.
53010 set dummy DeRez; ac_word=$2
53011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53013 if test "${ac_cv_prog_DEREZ+set}" = set; then
53014 echo $ECHO_N "(cached) $ECHO_C" >&6
53015 else
53016 if test -n "$DEREZ"; then
53017 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
53018 else
53019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53020 for as_dir in $PATH
53021 do
53022 IFS=$as_save_IFS
53023 test -z "$as_dir" && as_dir=.
53024 for ac_exec_ext in '' $ac_executable_extensions; do
53025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53026 ac_cv_prog_DEREZ="DeRez"
53027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53028 break 2
53029 fi
53030 done
53031 done
53032 IFS=$as_save_IFS
53033
53034 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
53035 fi
53036 fi
53037 DEREZ=$ac_cv_prog_DEREZ
53038 if test -n "$DEREZ"; then
53039 { echo "$as_me:$LINENO: result: $DEREZ" >&5
53040 echo "${ECHO_T}$DEREZ" >&6; }
53041 else
53042 { echo "$as_me:$LINENO: result: no" >&5
53043 echo "${ECHO_T}no" >&6; }
53044 fi
53045
53046
53047
53048 MACSETFILE="\$(SETFILE)"
53049
53050 if test "$wxUSE_MAC" = 1; then
53051 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
53052 RESCOMP="$REZ"
53053 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
53054 else
53055 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
53056 RESCOMP="cat /dev/null \| $REZ"
53057 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
53058 fi
53059
53060 else
53061 MACSETFILE="@true"
53062
53063 if test "$wxUSE_PM" = 1; then
53064 RESCOMP="emxbind"
53065 WXCONFIG_RESFLAGS="-ep"
53066
53067 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
53068 else
53069 POSTLINK_COMMAND="@true"
53070 fi
53071 fi
53072
53073 fi
53074
53075
53076 if test $GCC_PCH = 1
53077 then
53078 if test "$wx_cv_gcc_pch_bug" = yes; then
53079 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53080 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53081 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53082 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53083 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53084 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53085 fi
53086
53087 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
53088 fi
53089
53090
53091 if test "$wxUSE_MAC" = 1 ; then
53092 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53093 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53094 mv temp bk-deps
53095 chmod +x bk-deps
53096 fi
53097 fi
53098
53099 if test "$wxUSE_SHARED" = "yes"; then
53100
53101 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
53102 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
53103
53104 case "${host}" in
53105 *-pc-os2_emx | *-pc-os2-emx )
53106 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53107 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53108 cp -p ${srcdir}/src/os2/dllnames.sh .
53109 cp -p ${srcdir}/src/os2/dllar.sh .
53110 ;;
53111 esac
53112 else
53113
53114 EXE_LINKER="$CXX -o"
53115
53116 fi
53117 if test "$wxUSE_OMF" = "yes"; then
53118 case "${host}" in
53119 *-pc-os2_emx | *-pc-os2-emx )
53120 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53121 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53122 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53123 ;;
53124 esac
53125 fi
53126
53127 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53128
53129
53130 case "${host}" in
53131 *-*-solaris2* )
53132 if "$GCC" = yes; then
53133 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53134 LIBS=`echo $LIBS | sed 's/-mt//'`
53135 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53136 fi
53137 ;;
53138
53139 *-*-linux* )
53140 if test "x$SUNCXX" = xyes; then
53141 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53142 LIBS=`echo $LIBS | sed 's/-pthread//'`
53143 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53144 fi
53145 ;;
53146 esac
53147
53148 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53149 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53150
53151 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53152
53153
53154
53155
53156
53157
53158
53159
53160
53161
53162
53163
53164
53165
53166
53167
53168
53169
53170
53171
53172
53173
53174
53175
53176
53177
53178
53179
53180
53181
53182
53183
53184
53185
53186
53187
53188
53189
53190
53191
53192
53193
53194
53195
53196
53197
53198
53199
53200
53201
53202
53203
53204
53205
53206
53207
53208
53209
53210
53211
53212
53213 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53214 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53215 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53216 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53217 echo $ECHO_N "(cached) $ECHO_C" >&6
53218 else
53219 cat >conftest.make <<\_ACEOF
53220 SHELL = /bin/sh
53221 all:
53222 @echo '@@@%%%=$(MAKE)=@@@%%%'
53223 _ACEOF
53224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53226 *@@@%%%=?*=@@@%%%*)
53227 eval ac_cv_prog_make_${ac_make}_set=yes;;
53228 *)
53229 eval ac_cv_prog_make_${ac_make}_set=no;;
53230 esac
53231 rm -f conftest.make
53232 fi
53233 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53234 { echo "$as_me:$LINENO: result: yes" >&5
53235 echo "${ECHO_T}yes" >&6; }
53236 SET_MAKE=
53237 else
53238 { echo "$as_me:$LINENO: result: no" >&5
53239 echo "${ECHO_T}no" >&6; }
53240 SET_MAKE="MAKE=${MAKE-make}"
53241 fi
53242
53243
53244
53245 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53246
53247
53248 if test "$USE_WIN32" = 1; then
53249 ac_config_commands="$ac_config_commands
53250 rcdefs.h
53251 "
53252
53253 fi
53254
53255 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53256
53257
53258 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53259
53260
53261 if test "$wx_cv_version_script" = "yes"; then
53262 ac_config_files="$ac_config_files version-script"
53263
53264 fi
53265 ac_config_files="$ac_config_files Makefile"
53266
53267
53268 ac_config_commands="$ac_config_commands wx-config"
53269
53270
53271
53272 if test "$wxWITH_SUBDIRS" != "no"; then
53273 if test "$wxUSE_GUI" = "yes"; then
53274 SUBDIRS="samples demos utils"
53275 else SUBDIRS="samples utils"
53276 fi
53277
53278
53279
53280 # Check whether --with-cppunit-prefix was given.
53281 if test "${with_cppunit_prefix+set}" = set; then
53282 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53283 else
53284 cppunit_config_prefix=""
53285 fi
53286
53287
53288 # Check whether --with-cppunit-exec-prefix was given.
53289 if test "${with_cppunit_exec_prefix+set}" = set; then
53290 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53291 else
53292 cppunit_config_exec_prefix=""
53293 fi
53294
53295
53296 if test x$cppunit_config_exec_prefix != x ; then
53297 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53298 if test x${CPPUNIT_CONFIG+set} != xset ; then
53299 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53300 fi
53301 fi
53302 if test x$cppunit_config_prefix != x ; then
53303 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53304 if test x${CPPUNIT_CONFIG+set} != xset ; then
53305 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53306 fi
53307 fi
53308
53309 # Extract the first word of "cppunit-config", so it can be a program name with args.
53310 set dummy cppunit-config; ac_word=$2
53311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53313 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53314 echo $ECHO_N "(cached) $ECHO_C" >&6
53315 else
53316 case $CPPUNIT_CONFIG in
53317 [\\/]* | ?:[\\/]*)
53318 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53319 ;;
53320 *)
53321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53322 for as_dir in $PATH
53323 do
53324 IFS=$as_save_IFS
53325 test -z "$as_dir" && as_dir=.
53326 for ac_exec_ext in '' $ac_executable_extensions; do
53327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53328 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53330 break 2
53331 fi
53332 done
53333 done
53334 IFS=$as_save_IFS
53335
53336 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53337 ;;
53338 esac
53339 fi
53340 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53341 if test -n "$CPPUNIT_CONFIG"; then
53342 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53343 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53344 else
53345 { echo "$as_me:$LINENO: result: no" >&5
53346 echo "${ECHO_T}no" >&6; }
53347 fi
53348
53349
53350 cppunit_version_min=1.8.0
53351
53352 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53353 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53354 no_cppunit=""
53355 if test "$CPPUNIT_CONFIG" = "no" ; then
53356 { echo "$as_me:$LINENO: result: no" >&5
53357 echo "${ECHO_T}no" >&6; }
53358 no_cppunit=yes
53359 else
53360 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53361 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53362 cppunit_version=`$CPPUNIT_CONFIG --version`
53363
53364 cppunit_major_version=`echo $cppunit_version | \
53365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53366 cppunit_minor_version=`echo $cppunit_version | \
53367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53368 cppunit_micro_version=`echo $cppunit_version | \
53369 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53370
53371 cppunit_major_min=`echo $cppunit_version_min | \
53372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53373 cppunit_minor_min=`echo $cppunit_version_min | \
53374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53375 cppunit_micro_min=`echo $cppunit_version_min | \
53376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53377
53378 cppunit_version_proper=`expr \
53379 $cppunit_major_version \> $cppunit_major_min \| \
53380 $cppunit_major_version \= $cppunit_major_min \& \
53381 $cppunit_minor_version \> $cppunit_minor_min \| \
53382 $cppunit_major_version \= $cppunit_major_min \& \
53383 $cppunit_minor_version \= $cppunit_minor_min \& \
53384 $cppunit_micro_version \>= $cppunit_micro_min `
53385
53386 if test "$cppunit_version_proper" = "1" ; then
53387 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53388 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53389 else
53390 { echo "$as_me:$LINENO: result: no" >&5
53391 echo "${ECHO_T}no" >&6; }
53392 no_cppunit=yes
53393 fi
53394 fi
53395
53396 if test "x$no_cppunit" = x ; then
53397 SUBDIRS="$SUBDIRS tests"
53398 else
53399 CPPUNIT_CFLAGS=""
53400 CPPUNIT_LIBS=""
53401 :
53402 fi
53403
53404
53405
53406
53407
53408 for subdir in `echo $SUBDIRS`; do
53409 if test -d ${srcdir}/${subdir} ; then
53410 if test "$wxUSE_GUI" = "yes"; then
53411 if test ${subdir} = "samples"; then
53412 makefiles="samples/Makefile.in $makefiles"
53413 for sample in `echo $SAMPLES_SUBDIRS`; do
53414 if test -d $srcdir/samples/$sample; then
53415 makefiles="samples/$sample/Makefile.in $makefiles"
53416 fi
53417 done
53418 else
53419 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53420 eval "disabled=\$$disabled_var"
53421 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53422 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53423 fi
53424 else if test ${subdir} = "samples"; then
53425 makefiles="samples/Makefile.in samples/console/Makefile.in"
53426 elif test ${subdir} = "utils"; then
53427 makefiles=""
53428 for util in HelpGen tex2rtf ; do
53429 if test -d $srcdir/utils/$util ; then
53430 makefiles="utils/$util/Makefile.in \
53431 utils/$util/src/Makefile.in \
53432 $makefiles"
53433 fi
53434 done
53435 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53436 fi
53437 fi
53438
53439 for mkin in $makefiles ; do
53440 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53441 ac_config_files="$ac_config_files $mk"
53442
53443 done
53444 fi
53445 done
53446 fi
53447 cat >confcache <<\_ACEOF
53448 # This file is a shell script that caches the results of configure
53449 # tests run on this system so they can be shared between configure
53450 # scripts and configure runs, see configure's option --config-cache.
53451 # It is not useful on other systems. If it contains results you don't
53452 # want to keep, you may remove or edit it.
53453 #
53454 # config.status only pays attention to the cache file if you give it
53455 # the --recheck option to rerun configure.
53456 #
53457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53459 # following values.
53460
53461 _ACEOF
53462
53463 # The following way of writing the cache mishandles newlines in values,
53464 # but we know of no workaround that is simple, portable, and efficient.
53465 # So, we kill variables containing newlines.
53466 # Ultrix sh set writes to stderr and can't be redirected directly,
53467 # and sets the high bit in the cache file unless we assign to the vars.
53468 (
53469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53470 eval ac_val=\$$ac_var
53471 case $ac_val in #(
53472 *${as_nl}*)
53473 case $ac_var in #(
53474 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53475 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53476 esac
53477 case $ac_var in #(
53478 _ | IFS | as_nl) ;; #(
53479 *) $as_unset $ac_var ;;
53480 esac ;;
53481 esac
53482 done
53483
53484 (set) 2>&1 |
53485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53486 *${as_nl}ac_space=\ *)
53487 # `set' does not quote correctly, so add quotes (double-quote
53488 # substitution turns \\\\ into \\, and sed turns \\ into \).
53489 sed -n \
53490 "s/'/'\\\\''/g;
53491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53492 ;; #(
53493 *)
53494 # `set' quotes correctly as required by POSIX, so do not add quotes.
53495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53496 ;;
53497 esac |
53498 sort
53499 ) |
53500 sed '
53501 /^ac_cv_env_/b end
53502 t clear
53503 :clear
53504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53505 t end
53506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53507 :end' >>confcache
53508 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53509 if test -w "$cache_file"; then
53510 test "x$cache_file" != "x/dev/null" &&
53511 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53512 echo "$as_me: updating cache $cache_file" >&6;}
53513 cat confcache >$cache_file
53514 else
53515 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53516 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53517 fi
53518 fi
53519 rm -f confcache
53520
53521 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53522 # Let make expand exec_prefix.
53523 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53524
53525 DEFS=-DHAVE_CONFIG_H
53526
53527 ac_libobjs=
53528 ac_ltlibobjs=
53529 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53530 # 1. Remove the extension, and $U if already installed.
53531 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53532 ac_i=`echo "$ac_i" | sed "$ac_script"`
53533 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53534 # will be set to the directory where LIBOBJS objects are built.
53535 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53536 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53537 done
53538 LIBOBJS=$ac_libobjs
53539
53540 LTLIBOBJS=$ac_ltlibobjs
53541
53542
53543
53544 : ${CONFIG_STATUS=./config.status}
53545 ac_clean_files_save=$ac_clean_files
53546 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53547 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53548 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53549 cat >$CONFIG_STATUS <<_ACEOF
53550 #! $SHELL
53551 # Generated by $as_me.
53552 # Run this file to recreate the current configuration.
53553 # Compiler output produced by configure, useful for debugging
53554 # configure, is in config.log if it exists.
53555
53556 debug=false
53557 ac_cs_recheck=false
53558 ac_cs_silent=false
53559 SHELL=\${CONFIG_SHELL-$SHELL}
53560 _ACEOF
53561
53562 cat >>$CONFIG_STATUS <<\_ACEOF
53563 ## --------------------- ##
53564 ## M4sh Initialization. ##
53565 ## --------------------- ##
53566
53567 # Be more Bourne compatible
53568 DUALCASE=1; export DUALCASE # for MKS sh
53569 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53570 emulate sh
53571 NULLCMD=:
53572 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53573 # is contrary to our usage. Disable this feature.
53574 alias -g '${1+"$@"}'='"$@"'
53575 setopt NO_GLOB_SUBST
53576 else
53577 case `(set -o) 2>/dev/null` in
53578 *posix*) set -o posix ;;
53579 esac
53580
53581 fi
53582
53583
53584
53585
53586 # PATH needs CR
53587 # Avoid depending upon Character Ranges.
53588 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53589 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53590 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53591 as_cr_digits='0123456789'
53592 as_cr_alnum=$as_cr_Letters$as_cr_digits
53593
53594 # The user is always right.
53595 if test "${PATH_SEPARATOR+set}" != set; then
53596 echo "#! /bin/sh" >conf$$.sh
53597 echo "exit 0" >>conf$$.sh
53598 chmod +x conf$$.sh
53599 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53600 PATH_SEPARATOR=';'
53601 else
53602 PATH_SEPARATOR=:
53603 fi
53604 rm -f conf$$.sh
53605 fi
53606
53607 # Support unset when possible.
53608 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53609 as_unset=unset
53610 else
53611 as_unset=false
53612 fi
53613
53614
53615 # IFS
53616 # We need space, tab and new line, in precisely that order. Quoting is
53617 # there to prevent editors from complaining about space-tab.
53618 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53619 # splitting by setting IFS to empty value.)
53620 as_nl='
53621 '
53622 IFS=" "" $as_nl"
53623
53624 # Find who we are. Look in the path if we contain no directory separator.
53625 case $0 in
53626 *[\\/]* ) as_myself=$0 ;;
53627 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53628 for as_dir in $PATH
53629 do
53630 IFS=$as_save_IFS
53631 test -z "$as_dir" && as_dir=.
53632 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53633 done
53634 IFS=$as_save_IFS
53635
53636 ;;
53637 esac
53638 # We did not find ourselves, most probably we were run as `sh COMMAND'
53639 # in which case we are not to be found in the path.
53640 if test "x$as_myself" = x; then
53641 as_myself=$0
53642 fi
53643 if test ! -f "$as_myself"; then
53644 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53645 { (exit 1); exit 1; }
53646 fi
53647
53648 # Work around bugs in pre-3.0 UWIN ksh.
53649 for as_var in ENV MAIL MAILPATH
53650 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53651 done
53652 PS1='$ '
53653 PS2='> '
53654 PS4='+ '
53655
53656 # NLS nuisances.
53657 for as_var in \
53658 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53659 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53660 LC_TELEPHONE LC_TIME
53661 do
53662 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53663 eval $as_var=C; export $as_var
53664 else
53665 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53666 fi
53667 done
53668
53669 # Required to use basename.
53670 if expr a : '\(a\)' >/dev/null 2>&1 &&
53671 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53672 as_expr=expr
53673 else
53674 as_expr=false
53675 fi
53676
53677 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53678 as_basename=basename
53679 else
53680 as_basename=false
53681 fi
53682
53683
53684 # Name of the executable.
53685 as_me=`$as_basename -- "$0" ||
53686 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53687 X"$0" : 'X\(//\)$' \| \
53688 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53689 echo X/"$0" |
53690 sed '/^.*\/\([^/][^/]*\)\/*$/{
53691 s//\1/
53692 q
53693 }
53694 /^X\/\(\/\/\)$/{
53695 s//\1/
53696 q
53697 }
53698 /^X\/\(\/\).*/{
53699 s//\1/
53700 q
53701 }
53702 s/.*/./; q'`
53703
53704 # CDPATH.
53705 $as_unset CDPATH
53706
53707
53708
53709 as_lineno_1=$LINENO
53710 as_lineno_2=$LINENO
53711 test "x$as_lineno_1" != "x$as_lineno_2" &&
53712 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53713
53714 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53715 # uniformly replaced by the line number. The first 'sed' inserts a
53716 # line-number line after each line using $LINENO; the second 'sed'
53717 # does the real work. The second script uses 'N' to pair each
53718 # line-number line with the line containing $LINENO, and appends
53719 # trailing '-' during substitution so that $LINENO is not a special
53720 # case at line end.
53721 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53722 # scripts with optimization help from Paolo Bonzini. Blame Lee
53723 # E. McMahon (1931-1989) for sed's syntax. :-)
53724 sed -n '
53725 p
53726 /[$]LINENO/=
53727 ' <$as_myself |
53728 sed '
53729 s/[$]LINENO.*/&-/
53730 t lineno
53731 b
53732 :lineno
53733 N
53734 :loop
53735 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53736 t loop
53737 s/-\n.*//
53738 ' >$as_me.lineno &&
53739 chmod +x "$as_me.lineno" ||
53740 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53741 { (exit 1); exit 1; }; }
53742
53743 # Don't try to exec as it changes $[0], causing all sort of problems
53744 # (the dirname of $[0] is not the place where we might find the
53745 # original and so on. Autoconf is especially sensitive to this).
53746 . "./$as_me.lineno"
53747 # Exit status is that of the last command.
53748 exit
53749 }
53750
53751
53752 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53753 as_dirname=dirname
53754 else
53755 as_dirname=false
53756 fi
53757
53758 ECHO_C= ECHO_N= ECHO_T=
53759 case `echo -n x` in
53760 -n*)
53761 case `echo 'x\c'` in
53762 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53763 *) ECHO_C='\c';;
53764 esac;;
53765 *)
53766 ECHO_N='-n';;
53767 esac
53768
53769 if expr a : '\(a\)' >/dev/null 2>&1 &&
53770 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53771 as_expr=expr
53772 else
53773 as_expr=false
53774 fi
53775
53776 rm -f conf$$ conf$$.exe conf$$.file
53777 if test -d conf$$.dir; then
53778 rm -f conf$$.dir/conf$$.file
53779 else
53780 rm -f conf$$.dir
53781 mkdir conf$$.dir
53782 fi
53783 echo >conf$$.file
53784 if ln -s conf$$.file conf$$ 2>/dev/null; then
53785 as_ln_s='ln -s'
53786 # ... but there are two gotchas:
53787 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53788 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53789 # In both cases, we have to default to `cp -p'.
53790 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53791 as_ln_s='cp -p'
53792 elif ln conf$$.file conf$$ 2>/dev/null; then
53793 as_ln_s=ln
53794 else
53795 as_ln_s='cp -p'
53796 fi
53797 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53798 rmdir conf$$.dir 2>/dev/null
53799
53800 if mkdir -p . 2>/dev/null; then
53801 as_mkdir_p=:
53802 else
53803 test -d ./-p && rmdir ./-p
53804 as_mkdir_p=false
53805 fi
53806
53807 if test -x / >/dev/null 2>&1; then
53808 as_test_x='test -x'
53809 else
53810 if ls -dL / >/dev/null 2>&1; then
53811 as_ls_L_option=L
53812 else
53813 as_ls_L_option=
53814 fi
53815 as_test_x='
53816 eval sh -c '\''
53817 if test -d "$1"; then
53818 test -d "$1/.";
53819 else
53820 case $1 in
53821 -*)set "./$1";;
53822 esac;
53823 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53824 ???[sx]*):;;*)false;;esac;fi
53825 '\'' sh
53826 '
53827 fi
53828 as_executable_p=$as_test_x
53829
53830 # Sed expression to map a string onto a valid CPP name.
53831 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53832
53833 # Sed expression to map a string onto a valid variable name.
53834 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53835
53836
53837 exec 6>&1
53838
53839 # Save the log message, to keep $[0] and so on meaningful, and to
53840 # report actual input values of CONFIG_FILES etc. instead of their
53841 # values after options handling.
53842 ac_log="
53843 This file was extended by wxWidgets $as_me 2.9.0, which was
53844 generated by GNU Autoconf 2.61. Invocation command line was
53845
53846 CONFIG_FILES = $CONFIG_FILES
53847 CONFIG_HEADERS = $CONFIG_HEADERS
53848 CONFIG_LINKS = $CONFIG_LINKS
53849 CONFIG_COMMANDS = $CONFIG_COMMANDS
53850 $ $0 $@
53851
53852 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53853 "
53854
53855 _ACEOF
53856
53857 cat >>$CONFIG_STATUS <<_ACEOF
53858 # Files that config.status was made for.
53859 config_files="$ac_config_files"
53860 config_headers="$ac_config_headers"
53861 config_commands="$ac_config_commands"
53862
53863 _ACEOF
53864
53865 cat >>$CONFIG_STATUS <<\_ACEOF
53866 ac_cs_usage="\
53867 \`$as_me' instantiates files from templates according to the
53868 current configuration.
53869
53870 Usage: $0 [OPTIONS] [FILE]...
53871
53872 -h, --help print this help, then exit
53873 -V, --version print version number and configuration settings, then exit
53874 -q, --quiet do not print progress messages
53875 -d, --debug don't remove temporary files
53876 --recheck update $as_me by reconfiguring in the same conditions
53877 --file=FILE[:TEMPLATE]
53878 instantiate the configuration file FILE
53879 --header=FILE[:TEMPLATE]
53880 instantiate the configuration header FILE
53881
53882 Configuration files:
53883 $config_files
53884
53885 Configuration headers:
53886 $config_headers
53887
53888 Configuration commands:
53889 $config_commands
53890
53891 Report bugs to <bug-autoconf@gnu.org>."
53892
53893 _ACEOF
53894 cat >>$CONFIG_STATUS <<_ACEOF
53895 ac_cs_version="\\
53896 wxWidgets config.status 2.9.0
53897 configured by $0, generated by GNU Autoconf 2.61,
53898 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53899
53900 Copyright (C) 2006 Free Software Foundation, Inc.
53901 This config.status script is free software; the Free Software Foundation
53902 gives unlimited permission to copy, distribute and modify it."
53903
53904 ac_pwd='$ac_pwd'
53905 srcdir='$srcdir'
53906 INSTALL='$INSTALL'
53907 _ACEOF
53908
53909 cat >>$CONFIG_STATUS <<\_ACEOF
53910 # If no file are specified by the user, then we need to provide default
53911 # value. By we need to know if files were specified by the user.
53912 ac_need_defaults=:
53913 while test $# != 0
53914 do
53915 case $1 in
53916 --*=*)
53917 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53918 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53919 ac_shift=:
53920 ;;
53921 *)
53922 ac_option=$1
53923 ac_optarg=$2
53924 ac_shift=shift
53925 ;;
53926 esac
53927
53928 case $ac_option in
53929 # Handling of the options.
53930 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53931 ac_cs_recheck=: ;;
53932 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53933 echo "$ac_cs_version"; exit ;;
53934 --debug | --debu | --deb | --de | --d | -d )
53935 debug=: ;;
53936 --file | --fil | --fi | --f )
53937 $ac_shift
53938 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53939 ac_need_defaults=false;;
53940 --header | --heade | --head | --hea )
53941 $ac_shift
53942 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53943 ac_need_defaults=false;;
53944 --he | --h)
53945 # Conflict between --help and --header
53946 { echo "$as_me: error: ambiguous option: $1
53947 Try \`$0 --help' for more information." >&2
53948 { (exit 1); exit 1; }; };;
53949 --help | --hel | -h )
53950 echo "$ac_cs_usage"; exit ;;
53951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53952 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53953 ac_cs_silent=: ;;
53954
53955 # This is an error.
53956 -*) { echo "$as_me: error: unrecognized option: $1
53957 Try \`$0 --help' for more information." >&2
53958 { (exit 1); exit 1; }; } ;;
53959
53960 *) ac_config_targets="$ac_config_targets $1"
53961 ac_need_defaults=false ;;
53962
53963 esac
53964 shift
53965 done
53966
53967 ac_configure_extra_args=
53968
53969 if $ac_cs_silent; then
53970 exec 6>/dev/null
53971 ac_configure_extra_args="$ac_configure_extra_args --silent"
53972 fi
53973
53974 _ACEOF
53975 cat >>$CONFIG_STATUS <<_ACEOF
53976 if \$ac_cs_recheck; then
53977 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53978 CONFIG_SHELL=$SHELL
53979 export CONFIG_SHELL
53980 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53981 fi
53982
53983 _ACEOF
53984 cat >>$CONFIG_STATUS <<\_ACEOF
53985 exec 5>>config.log
53986 {
53987 echo
53988 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53989 ## Running $as_me. ##
53990 _ASBOX
53991 echo "$ac_log"
53992 } >&5
53993
53994 _ACEOF
53995 cat >>$CONFIG_STATUS <<_ACEOF
53996 #
53997 # INIT-COMMANDS
53998 #
53999
54000 CPP="$CPP"
54001 infile="$srcdir/include/wx/msw/genrcdefs.h"
54002 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54003
54004
54005 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54006 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54007 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54008 LN_S="${LN_S}"
54009
54010
54011 _ACEOF
54012
54013 cat >>$CONFIG_STATUS <<\_ACEOF
54014
54015 # Handling of arguments.
54016 for ac_config_target in $ac_config_targets
54017 do
54018 case $ac_config_target in
54019 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54020 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
54021 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54022 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54023 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
54024 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54025 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
54026 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
54027
54028 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54029 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54030 { (exit 1); exit 1; }; };;
54031 esac
54032 done
54033
54034
54035 # If the user did not use the arguments to specify the items to instantiate,
54036 # then the envvar interface is used. Set only those that are not.
54037 # We use the long form for the default assignment because of an extremely
54038 # bizarre bug on SunOS 4.1.3.
54039 if $ac_need_defaults; then
54040 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54041 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54042 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54043 fi
54044
54045 # Have a temporary directory for convenience. Make it in the build tree
54046 # simply because there is no reason against having it here, and in addition,
54047 # creating and moving files from /tmp can sometimes cause problems.
54048 # Hook for its removal unless debugging.
54049 # Note that there is a small window in which the directory will not be cleaned:
54050 # after its creation but before its name has been assigned to `$tmp'.
54051 $debug ||
54052 {
54053 tmp=
54054 trap 'exit_status=$?
54055 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54056 ' 0
54057 trap '{ (exit 1); exit 1; }' 1 2 13 15
54058 }
54059 # Create a (secure) tmp directory for tmp files.
54060
54061 {
54062 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54063 test -n "$tmp" && test -d "$tmp"
54064 } ||
54065 {
54066 tmp=./conf$$-$RANDOM
54067 (umask 077 && mkdir "$tmp")
54068 } ||
54069 {
54070 echo "$me: cannot create a temporary directory in ." >&2
54071 { (exit 1); exit 1; }
54072 }
54073
54074 #
54075 # Set up the sed scripts for CONFIG_FILES section.
54076 #
54077
54078 # No need to generate the scripts if there are no CONFIG_FILES.
54079 # This happens for instance when ./config.status config.h
54080 if test -n "$CONFIG_FILES"; then
54081
54082 _ACEOF
54083
54084
54085
54086 ac_delim='%!_!# '
54087 for ac_last_try in false false false false false :; do
54088 cat >conf$$subs.sed <<_ACEOF
54089 SHELL!$SHELL$ac_delim
54090 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54091 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54092 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54093 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54094 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54095 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54096 exec_prefix!$exec_prefix$ac_delim
54097 prefix!$prefix$ac_delim
54098 program_transform_name!$program_transform_name$ac_delim
54099 bindir!$bindir$ac_delim
54100 sbindir!$sbindir$ac_delim
54101 libexecdir!$libexecdir$ac_delim
54102 datarootdir!$datarootdir$ac_delim
54103 datadir!$datadir$ac_delim
54104 sysconfdir!$sysconfdir$ac_delim
54105 sharedstatedir!$sharedstatedir$ac_delim
54106 localstatedir!$localstatedir$ac_delim
54107 includedir!$includedir$ac_delim
54108 oldincludedir!$oldincludedir$ac_delim
54109 docdir!$docdir$ac_delim
54110 infodir!$infodir$ac_delim
54111 htmldir!$htmldir$ac_delim
54112 dvidir!$dvidir$ac_delim
54113 pdfdir!$pdfdir$ac_delim
54114 psdir!$psdir$ac_delim
54115 libdir!$libdir$ac_delim
54116 localedir!$localedir$ac_delim
54117 mandir!$mandir$ac_delim
54118 DEFS!$DEFS$ac_delim
54119 ECHO_C!$ECHO_C$ac_delim
54120 ECHO_N!$ECHO_N$ac_delim
54121 ECHO_T!$ECHO_T$ac_delim
54122 LIBS!$LIBS$ac_delim
54123 build_alias!$build_alias$ac_delim
54124 host_alias!$host_alias$ac_delim
54125 target_alias!$target_alias$ac_delim
54126 build!$build$ac_delim
54127 build_cpu!$build_cpu$ac_delim
54128 build_vendor!$build_vendor$ac_delim
54129 build_os!$build_os$ac_delim
54130 host!$host$ac_delim
54131 host_cpu!$host_cpu$ac_delim
54132 host_vendor!$host_vendor$ac_delim
54133 host_os!$host_os$ac_delim
54134 target!$target$ac_delim
54135 target_cpu!$target_cpu$ac_delim
54136 target_vendor!$target_vendor$ac_delim
54137 target_os!$target_os$ac_delim
54138 wx_top_builddir!$wx_top_builddir$ac_delim
54139 CC!$CC$ac_delim
54140 CFLAGS!$CFLAGS$ac_delim
54141 LDFLAGS!$LDFLAGS$ac_delim
54142 CPPFLAGS!$CPPFLAGS$ac_delim
54143 ac_ct_CC!$ac_ct_CC$ac_delim
54144 EXEEXT!$EXEEXT$ac_delim
54145 OBJEXT!$OBJEXT$ac_delim
54146 CPP!$CPP$ac_delim
54147 GREP!$GREP$ac_delim
54148 EGREP!$EGREP$ac_delim
54149 CXX!$CXX$ac_delim
54150 CXXFLAGS!$CXXFLAGS$ac_delim
54151 ac_ct_CXX!$ac_ct_CXX$ac_delim
54152 AR!$AR$ac_delim
54153 subdirs!$subdirs$ac_delim
54154 PKG_CONFIG!$PKG_CONFIG$ac_delim
54155 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54156 GTK_LIBS!$GTK_LIBS$ac_delim
54157 GTK_CONFIG!$GTK_CONFIG$ac_delim
54158 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54159 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54160 XMKMF!$XMKMF$ac_delim
54161 X_CFLAGS!$X_CFLAGS$ac_delim
54162 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54163 X_LIBS!$X_LIBS$ac_delim
54164 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54165 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54166 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54167 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54168 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54169 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54170 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54171 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54172 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54173 LIBICONV!$LIBICONV$ac_delim
54174 SDL_CONFIG!$SDL_CONFIG$ac_delim
54175 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54176 SDL_LIBS!$SDL_LIBS$ac_delim
54177 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54178 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54179 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54180 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54181 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54182 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54183 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54184 HILDON_LIBS!$HILDON_LIBS$ac_delim
54185 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54186 _ACEOF
54187
54188 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54189 break
54190 elif $ac_last_try; then
54191 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54192 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54193 { (exit 1); exit 1; }; }
54194 else
54195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54196 fi
54197 done
54198
54199 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54200 if test -n "$ac_eof"; then
54201 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54202 ac_eof=`expr $ac_eof + 1`
54203 fi
54204
54205 cat >>$CONFIG_STATUS <<_ACEOF
54206 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54207 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54208 _ACEOF
54209 sed '
54210 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54211 s/^/s,@/; s/!/@,|#_!!_#|/
54212 :n
54213 t n
54214 s/'"$ac_delim"'$/,g/; t
54215 s/$/\\/; p
54216 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54217 ' >>$CONFIG_STATUS <conf$$subs.sed
54218 rm -f conf$$subs.sed
54219 cat >>$CONFIG_STATUS <<_ACEOF
54220 CEOF$ac_eof
54221 _ACEOF
54222
54223
54224 ac_delim='%!_!# '
54225 for ac_last_try in false false false false false :; do
54226 cat >conf$$subs.sed <<_ACEOF
54227 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54228 GST_CFLAGS!$GST_CFLAGS$ac_delim
54229 GST_LIBS!$GST_LIBS$ac_delim
54230 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54231 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54232 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54233 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54234 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54235 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54236 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54237 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54238 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54239 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54240 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54241 VENDOR!$VENDOR$ac_delim
54242 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54243 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54244 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54245 WXUNIV!$WXUNIV$ac_delim
54246 MONOLITHIC!$MONOLITHIC$ac_delim
54247 USE_PLUGINS!$USE_PLUGINS$ac_delim
54248 CXXWARNINGS!$CXXWARNINGS$ac_delim
54249 EXTRALIBS!$EXTRALIBS$ac_delim
54250 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54251 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54252 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54253 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54254 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54255 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54256 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54257 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54258 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54259 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54260 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54261 UNICODE!$UNICODE$ac_delim
54262 BUILD!$BUILD$ac_delim
54263 DEBUG_INFO!$DEBUG_INFO$ac_delim
54264 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54265 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54266 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54267 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54268 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54269 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54270 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54271 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54272 RANLIB!$RANLIB$ac_delim
54273 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54274 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54275 INSTALL_DATA!$INSTALL_DATA$ac_delim
54276 LN_S!$LN_S$ac_delim
54277 SET_MAKE!$SET_MAKE$ac_delim
54278 MAKE_SET!$MAKE_SET$ac_delim
54279 AROPTIONS!$AROPTIONS$ac_delim
54280 STRIP!$STRIP$ac_delim
54281 NM!$NM$ac_delim
54282 INSTALL_DIR!$INSTALL_DIR$ac_delim
54283 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54284 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54285 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54286 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54287 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54288 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54289 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54290 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54291 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54292 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54293 SO_SUFFIX!$SO_SUFFIX$ac_delim
54294 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54295 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54296 LIBPREFIX!$LIBPREFIX$ac_delim
54297 LIBEXT!$LIBEXT$ac_delim
54298 DLLPREFIX!$DLLPREFIX$ac_delim
54299 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54300 dlldir!$dlldir$ac_delim
54301 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54302 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54303 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54304 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54305 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54306 PIC_FLAG!$PIC_FLAG$ac_delim
54307 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54308 USE_SOVERSION!$USE_SOVERSION$ac_delim
54309 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54310 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54311 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54312 USE_MACVERSION!$USE_MACVERSION$ac_delim
54313 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54314 SONAME_FLAG!$SONAME_FLAG$ac_delim
54315 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54316 BK_DEPS!$BK_DEPS$ac_delim
54317 WINDRES!$WINDRES$ac_delim
54318 REZ!$REZ$ac_delim
54319 SETFILE!$SETFILE$ac_delim
54320 GCC_PCH!$GCC_PCH$ac_delim
54321 ICC_PCH!$ICC_PCH$ac_delim
54322 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54323 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54324 _ACEOF
54325
54326 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54327 break
54328 elif $ac_last_try; then
54329 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54330 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54331 { (exit 1); exit 1; }; }
54332 else
54333 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54334 fi
54335 done
54336
54337 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54338 if test -n "$ac_eof"; then
54339 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54340 ac_eof=`expr $ac_eof + 1`
54341 fi
54342
54343 cat >>$CONFIG_STATUS <<_ACEOF
54344 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54345 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54346 _ACEOF
54347 sed '
54348 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54349 s/^/s,@/; s/!/@,|#_!!_#|/
54350 :n
54351 t n
54352 s/'"$ac_delim"'$/,g/; t
54353 s/$/\\/; p
54354 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54355 ' >>$CONFIG_STATUS <conf$$subs.sed
54356 rm -f conf$$subs.sed
54357 cat >>$CONFIG_STATUS <<_ACEOF
54358 CEOF$ac_eof
54359 _ACEOF
54360
54361
54362 ac_delim='%!_!# '
54363 for ac_last_try in false false false false false :; do
54364 cat >conf$$subs.sed <<_ACEOF
54365 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54366 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54367 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54368 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54369 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54370 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54371 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54372 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54373 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54374 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54375 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54376 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54377 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54378 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54379 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54380 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54381 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54382 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54384 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54385 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54386 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54387 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54388 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54389 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54390 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54391 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54392 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54393 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54394 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54395 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54397 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54398 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54399 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54400 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54401 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54402 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54403 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54404 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54405 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54406 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54407 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54408 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54409 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54410 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54411 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54412 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54413 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54414 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54415 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54416 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54417 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54418 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54419 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54420 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54421 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54422 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54423 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54424 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54425 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54426 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54427 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54428 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54429 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54430 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54431 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54432 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54433 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54434 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54435 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54436 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54437 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54438 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54439 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54440 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54441 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54442 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54443 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54444 COND_SHARED_0!$COND_SHARED_0$ac_delim
54445 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54446 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54447 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54448 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54449 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54450 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54451 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54452 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54453 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54454 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54455 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54456 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54457 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54458 COND_SHARED_1!$COND_SHARED_1$ac_delim
54459 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54460 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54461 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54462 _ACEOF
54463
54464 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54465 break
54466 elif $ac_last_try; then
54467 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54468 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54469 { (exit 1); exit 1; }; }
54470 else
54471 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54472 fi
54473 done
54474
54475 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54476 if test -n "$ac_eof"; then
54477 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54478 ac_eof=`expr $ac_eof + 1`
54479 fi
54480
54481 cat >>$CONFIG_STATUS <<_ACEOF
54482 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54483 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54484 _ACEOF
54485 sed '
54486 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54487 s/^/s,@/; s/!/@,|#_!!_#|/
54488 :n
54489 t n
54490 s/'"$ac_delim"'$/,g/; t
54491 s/$/\\/; p
54492 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54493 ' >>$CONFIG_STATUS <conf$$subs.sed
54494 rm -f conf$$subs.sed
54495 cat >>$CONFIG_STATUS <<_ACEOF
54496 CEOF$ac_eof
54497 _ACEOF
54498
54499
54500 ac_delim='%!_!# '
54501 for ac_last_try in false false false false false :; do
54502 cat >conf$$subs.sed <<_ACEOF
54503 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54504 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54505 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54506 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54507 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54508 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54509 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54510 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54511 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54512 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54513 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54514 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54515 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54516 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54517 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54518 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54519 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54520 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54521 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54522 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54523 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54524 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54525 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54526 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54527 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54528 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54529 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54530 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54531 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54532 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54533 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54534 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54535 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54536 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54537 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54538 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54539 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54540 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54541 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54542 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54543 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54544 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54545 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54546 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54547 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54548 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54549 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54550 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54551 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54552 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54553 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54554 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54555 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54556 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54557 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54558 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54559 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54560 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54561 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54562 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54563 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54564 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54565 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54566 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54567 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54568 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54569 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54570 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54571 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54572 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54573 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54574 DEREZ!$DEREZ$ac_delim
54575 SHARED!$SHARED$ac_delim
54576 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54577 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54578 USE_GUI!$USE_GUI$ac_delim
54579 AFMINSTALL!$AFMINSTALL$ac_delim
54580 WIN32INSTALL!$WIN32INSTALL$ac_delim
54581 TOOLKIT!$TOOLKIT$ac_delim
54582 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54583 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54584 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54585 cross_compiling!$cross_compiling$ac_delim
54586 WIDGET_SET!$WIDGET_SET$ac_delim
54587 WX_RELEASE!$WX_RELEASE$ac_delim
54588 WX_VERSION!$WX_VERSION$ac_delim
54589 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54590 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54591 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54592 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54593 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54594 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54595 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54596 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54597 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54598 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54599 EXE_LINKER!$EXE_LINKER$ac_delim
54600 _ACEOF
54601
54602 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54603 break
54604 elif $ac_last_try; then
54605 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54606 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54607 { (exit 1); exit 1; }; }
54608 else
54609 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54610 fi
54611 done
54612
54613 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54614 if test -n "$ac_eof"; then
54615 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54616 ac_eof=`expr $ac_eof + 1`
54617 fi
54618
54619 cat >>$CONFIG_STATUS <<_ACEOF
54620 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54621 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54622 _ACEOF
54623 sed '
54624 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54625 s/^/s,@/; s/!/@,|#_!!_#|/
54626 :n
54627 t n
54628 s/'"$ac_delim"'$/,g/; t
54629 s/$/\\/; p
54630 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54631 ' >>$CONFIG_STATUS <conf$$subs.sed
54632 rm -f conf$$subs.sed
54633 cat >>$CONFIG_STATUS <<_ACEOF
54634 CEOF$ac_eof
54635 _ACEOF
54636
54637
54638 ac_delim='%!_!# '
54639 for ac_last_try in false false false false false :; do
54640 cat >conf$$subs.sed <<_ACEOF
54641 GUIDIST!$GUIDIST$ac_delim
54642 DISTDIR!$DISTDIR$ac_delim
54643 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54644 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54645 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54646 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54647 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54648 RESCOMP!$RESCOMP$ac_delim
54649 RESFLAGS!$RESFLAGS$ac_delim
54650 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54651 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54652 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54653 LIBWXMACRES!$LIBWXMACRES$ac_delim
54654 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54655 MACSETFILE!$MACSETFILE$ac_delim
54656 GCC!$GCC$ac_delim
54657 DLLTOOL!$DLLTOOL$ac_delim
54658 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54659 LIBOBJS!$LIBOBJS$ac_delim
54660 LTLIBOBJS!$LTLIBOBJS$ac_delim
54661 _ACEOF
54662
54663 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
54664 break
54665 elif $ac_last_try; then
54666 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54667 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54668 { (exit 1); exit 1; }; }
54669 else
54670 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54671 fi
54672 done
54673
54674 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54675 if test -n "$ac_eof"; then
54676 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54677 ac_eof=`expr $ac_eof + 1`
54678 fi
54679
54680 cat >>$CONFIG_STATUS <<_ACEOF
54681 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54682 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54683 _ACEOF
54684 sed '
54685 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54686 s/^/s,@/; s/!/@,|#_!!_#|/
54687 :n
54688 t n
54689 s/'"$ac_delim"'$/,g/; t
54690 s/$/\\/; p
54691 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54692 ' >>$CONFIG_STATUS <conf$$subs.sed
54693 rm -f conf$$subs.sed
54694 cat >>$CONFIG_STATUS <<_ACEOF
54695 :end
54696 s/|#_!!_#|//g
54697 CEOF$ac_eof
54698 _ACEOF
54699
54700
54701 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54702 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54703 # trailing colons and then remove the whole line if VPATH becomes empty
54704 # (actually we leave an empty line to preserve line numbers).
54705 if test "x$srcdir" = x.; then
54706 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54707 s/:*\$(srcdir):*/:/
54708 s/:*\${srcdir}:*/:/
54709 s/:*@srcdir@:*/:/
54710 s/^\([^=]*=[ ]*\):*/\1/
54711 s/:*$//
54712 s/^[^=]*=[ ]*$//
54713 }'
54714 fi
54715
54716 cat >>$CONFIG_STATUS <<\_ACEOF
54717 fi # test -n "$CONFIG_FILES"
54718
54719
54720 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54721 do
54722 case $ac_tag in
54723 :[FHLC]) ac_mode=$ac_tag; continue;;
54724 esac
54725 case $ac_mode$ac_tag in
54726 :[FHL]*:*);;
54727 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54728 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54729 { (exit 1); exit 1; }; };;
54730 :[FH]-) ac_tag=-:-;;
54731 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54732 esac
54733 ac_save_IFS=$IFS
54734 IFS=:
54735 set x $ac_tag
54736 IFS=$ac_save_IFS
54737 shift
54738 ac_file=$1
54739 shift
54740
54741 case $ac_mode in
54742 :L) ac_source=$1;;
54743 :[FH])
54744 ac_file_inputs=
54745 for ac_f
54746 do
54747 case $ac_f in
54748 -) ac_f="$tmp/stdin";;
54749 *) # Look for the file first in the build tree, then in the source tree
54750 # (if the path is not absolute). The absolute path cannot be DOS-style,
54751 # because $ac_f cannot contain `:'.
54752 test -f "$ac_f" ||
54753 case $ac_f in
54754 [\\/$]*) false;;
54755 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54756 esac ||
54757 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54758 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54759 { (exit 1); exit 1; }; };;
54760 esac
54761 ac_file_inputs="$ac_file_inputs $ac_f"
54762 done
54763
54764 # Let's still pretend it is `configure' which instantiates (i.e., don't
54765 # use $as_me), people would be surprised to read:
54766 # /* config.h. Generated by config.status. */
54767 configure_input="Generated from "`IFS=:
54768 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54769 if test x"$ac_file" != x-; then
54770 configure_input="$ac_file. $configure_input"
54771 { echo "$as_me:$LINENO: creating $ac_file" >&5
54772 echo "$as_me: creating $ac_file" >&6;}
54773 fi
54774
54775 case $ac_tag in
54776 *:-:* | *:-) cat >"$tmp/stdin";;
54777 esac
54778 ;;
54779 esac
54780
54781 ac_dir=`$as_dirname -- "$ac_file" ||
54782 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54783 X"$ac_file" : 'X\(//\)[^/]' \| \
54784 X"$ac_file" : 'X\(//\)$' \| \
54785 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54786 echo X"$ac_file" |
54787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54788 s//\1/
54789 q
54790 }
54791 /^X\(\/\/\)[^/].*/{
54792 s//\1/
54793 q
54794 }
54795 /^X\(\/\/\)$/{
54796 s//\1/
54797 q
54798 }
54799 /^X\(\/\).*/{
54800 s//\1/
54801 q
54802 }
54803 s/.*/./; q'`
54804 { as_dir="$ac_dir"
54805 case $as_dir in #(
54806 -*) as_dir=./$as_dir;;
54807 esac
54808 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54809 as_dirs=
54810 while :; do
54811 case $as_dir in #(
54812 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54813 *) as_qdir=$as_dir;;
54814 esac
54815 as_dirs="'$as_qdir' $as_dirs"
54816 as_dir=`$as_dirname -- "$as_dir" ||
54817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54818 X"$as_dir" : 'X\(//\)[^/]' \| \
54819 X"$as_dir" : 'X\(//\)$' \| \
54820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54821 echo X"$as_dir" |
54822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54823 s//\1/
54824 q
54825 }
54826 /^X\(\/\/\)[^/].*/{
54827 s//\1/
54828 q
54829 }
54830 /^X\(\/\/\)$/{
54831 s//\1/
54832 q
54833 }
54834 /^X\(\/\).*/{
54835 s//\1/
54836 q
54837 }
54838 s/.*/./; q'`
54839 test -d "$as_dir" && break
54840 done
54841 test -z "$as_dirs" || eval "mkdir $as_dirs"
54842 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54843 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54844 { (exit 1); exit 1; }; }; }
54845 ac_builddir=.
54846
54847 case "$ac_dir" in
54848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54849 *)
54850 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54851 # A ".." for each directory in $ac_dir_suffix.
54852 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54853 case $ac_top_builddir_sub in
54854 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54855 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54856 esac ;;
54857 esac
54858 ac_abs_top_builddir=$ac_pwd
54859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54860 # for backward compatibility:
54861 ac_top_builddir=$ac_top_build_prefix
54862
54863 case $srcdir in
54864 .) # We are building in place.
54865 ac_srcdir=.
54866 ac_top_srcdir=$ac_top_builddir_sub
54867 ac_abs_top_srcdir=$ac_pwd ;;
54868 [\\/]* | ?:[\\/]* ) # Absolute name.
54869 ac_srcdir=$srcdir$ac_dir_suffix;
54870 ac_top_srcdir=$srcdir
54871 ac_abs_top_srcdir=$srcdir ;;
54872 *) # Relative name.
54873 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54874 ac_top_srcdir=$ac_top_build_prefix$srcdir
54875 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54876 esac
54877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54878
54879
54880 case $ac_mode in
54881 :F)
54882 #
54883 # CONFIG_FILE
54884 #
54885
54886 case $INSTALL in
54887 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54888 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54889 esac
54890 _ACEOF
54891
54892 cat >>$CONFIG_STATUS <<\_ACEOF
54893 # If the template does not know about datarootdir, expand it.
54894 # FIXME: This hack should be removed a few years after 2.60.
54895 ac_datarootdir_hack=; ac_datarootdir_seen=
54896
54897 case `sed -n '/datarootdir/ {
54898 p
54899 q
54900 }
54901 /@datadir@/p
54902 /@docdir@/p
54903 /@infodir@/p
54904 /@localedir@/p
54905 /@mandir@/p
54906 ' $ac_file_inputs` in
54907 *datarootdir*) ac_datarootdir_seen=yes;;
54908 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54909 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54910 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54911 _ACEOF
54912 cat >>$CONFIG_STATUS <<_ACEOF
54913 ac_datarootdir_hack='
54914 s&@datadir@&$datadir&g
54915 s&@docdir@&$docdir&g
54916 s&@infodir@&$infodir&g
54917 s&@localedir@&$localedir&g
54918 s&@mandir@&$mandir&g
54919 s&\\\${datarootdir}&$datarootdir&g' ;;
54920 esac
54921 _ACEOF
54922
54923 # Neutralize VPATH when `$srcdir' = `.'.
54924 # Shell code in configure.ac might set extrasub.
54925 # FIXME: do we really want to maintain this feature?
54926 cat >>$CONFIG_STATUS <<_ACEOF
54927 sed "$ac_vpsub
54928 $extrasub
54929 _ACEOF
54930 cat >>$CONFIG_STATUS <<\_ACEOF
54931 :t
54932 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54933 s&@configure_input@&$configure_input&;t t
54934 s&@top_builddir@&$ac_top_builddir_sub&;t t
54935 s&@srcdir@&$ac_srcdir&;t t
54936 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54937 s&@top_srcdir@&$ac_top_srcdir&;t t
54938 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54939 s&@builddir@&$ac_builddir&;t t
54940 s&@abs_builddir@&$ac_abs_builddir&;t t
54941 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54942 s&@INSTALL@&$ac_INSTALL&;t t
54943 $ac_datarootdir_hack
54944 " $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
54945
54946 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54947 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54948 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54949 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54950 which seems to be undefined. Please make sure it is defined." >&5
54951 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54952 which seems to be undefined. Please make sure it is defined." >&2;}
54953
54954 rm -f "$tmp/stdin"
54955 case $ac_file in
54956 -) cat "$tmp/out"; rm -f "$tmp/out";;
54957 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54958 esac
54959 ;;
54960 :H)
54961 #
54962 # CONFIG_HEADER
54963 #
54964 _ACEOF
54965
54966 # Transform confdefs.h into a sed script `conftest.defines', that
54967 # substitutes the proper values into config.h.in to produce config.h.
54968 rm -f conftest.defines conftest.tail
54969 # First, append a space to every undef/define line, to ease matching.
54970 echo 's/$/ /' >conftest.defines
54971 # Then, protect against being on the right side of a sed subst, or in
54972 # an unquoted here document, in config.status. If some macros were
54973 # called several times there might be several #defines for the same
54974 # symbol, which is useless. But do not sort them, since the last
54975 # AC_DEFINE must be honored.
54976 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54977 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54978 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54979 # PARAMS is the parameter list in the macro definition--in most cases, it's
54980 # just an empty string.
54981 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54982 ac_dB='\\)[ (].*,\\1define\\2'
54983 ac_dC=' '
54984 ac_dD=' ,'
54985
54986 uniq confdefs.h |
54987 sed -n '
54988 t rset
54989 :rset
54990 s/^[ ]*#[ ]*define[ ][ ]*//
54991 t ok
54992 d
54993 :ok
54994 s/[\\&,]/\\&/g
54995 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54996 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54997 ' >>conftest.defines
54998
54999 # Remove the space that was appended to ease matching.
55000 # Then replace #undef with comments. This is necessary, for
55001 # example, in the case of _POSIX_SOURCE, which is predefined and required
55002 # on some systems where configure will not decide to define it.
55003 # (The regexp can be short, since the line contains either #define or #undef.)
55004 echo 's/ $//
55005 s,^[ #]*u.*,/* & */,' >>conftest.defines
55006
55007 # Break up conftest.defines:
55008 ac_max_sed_lines=50
55009
55010 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55011 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55012 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55013 # et cetera.
55014 ac_in='$ac_file_inputs'
55015 ac_out='"$tmp/out1"'
55016 ac_nxt='"$tmp/out2"'
55017
55018 while :
55019 do
55020 # Write a here document:
55021 cat >>$CONFIG_STATUS <<_ACEOF
55022 # First, check the format of the line:
55023 cat >"\$tmp/defines.sed" <<\\CEOF
55024 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55025 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55026 b
55027 :def
55028 _ACEOF
55029 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
55030 echo 'CEOF
55031 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55032 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
55033 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
55034 grep . conftest.tail >/dev/null || break
55035 rm -f conftest.defines
55036 mv conftest.tail conftest.defines
55037 done
55038 rm -f conftest.defines conftest.tail
55039
55040 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55041 cat >>$CONFIG_STATUS <<\_ACEOF
55042 if test x"$ac_file" != x-; then
55043 echo "/* $configure_input */" >"$tmp/config.h"
55044 cat "$ac_result" >>"$tmp/config.h"
55045 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
55046 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55047 echo "$as_me: $ac_file is unchanged" >&6;}
55048 else
55049 rm -f $ac_file
55050 mv "$tmp/config.h" $ac_file
55051 fi
55052 else
55053 echo "/* $configure_input */"
55054 cat "$ac_result"
55055 fi
55056 rm -f "$tmp/out12"
55057 ;;
55058
55059 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55060 echo "$as_me: executing $ac_file commands" >&6;}
55061 ;;
55062 esac
55063
55064
55065 case $ac_file$ac_mode in
55066 "rcdefs.h":C)
55067 mkdir -p $outdir &&
55068 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55069 ;;
55070 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
55071 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
55072 "wx-config":C) rm -f wx-config
55073 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
55074 ;;
55075
55076 esac
55077 done # for ac_tag
55078
55079
55080 { (exit 0); exit 0; }
55081 _ACEOF
55082 chmod +x $CONFIG_STATUS
55083 ac_clean_files=$ac_clean_files_save
55084
55085
55086 # configure is writing to config.log, and then calls config.status.
55087 # config.status does its own redirection, appending to config.log.
55088 # Unfortunately, on DOS this fails, as config.log is still kept open
55089 # by configure, so config.status won't be able to write to it; its
55090 # output is simply discarded. So we exec the FD to /dev/null,
55091 # effectively closing config.log, so it can be properly (re)opened and
55092 # appended to by config.status. When coming back to configure, we
55093 # need to make the FD available again.
55094 if test "$no_create" != yes; then
55095 ac_cs_success=:
55096 ac_config_status_args=
55097 test "$silent" = yes &&
55098 ac_config_status_args="$ac_config_status_args --quiet"
55099 exec 5>/dev/null
55100 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
55101 exec 5>>config.log
55102 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55103 # would make configure fail if this is the last instruction.
55104 $ac_cs_success || { (exit 1); exit 1; }
55105 fi
55106
55107 #
55108 # CONFIG_SUBDIRS section.
55109 #
55110 if test "$no_recursion" != yes; then
55111
55112 # Remove --cache-file and --srcdir arguments so they do not pile up.
55113 ac_sub_configure_args=
55114 ac_prev=
55115 eval "set x $ac_configure_args"
55116 shift
55117 for ac_arg
55118 do
55119 if test -n "$ac_prev"; then
55120 ac_prev=
55121 continue
55122 fi
55123 case $ac_arg in
55124 -cache-file | --cache-file | --cache-fil | --cache-fi \
55125 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55126 ac_prev=cache_file ;;
55127 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55128 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55129 | --c=*)
55130 ;;
55131 --config-cache | -C)
55132 ;;
55133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55134 ac_prev=srcdir ;;
55135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55136 ;;
55137 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55138 ac_prev=prefix ;;
55139 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55140 ;;
55141 *)
55142 case $ac_arg in
55143 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55144 esac
55145 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55146 esac
55147 done
55148
55149 # Always prepend --prefix to ensure using the same prefix
55150 # in subdir configurations.
55151 ac_arg="--prefix=$prefix"
55152 case $ac_arg in
55153 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55154 esac
55155 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55156
55157 # Pass --silent
55158 if test "$silent" = yes; then
55159 ac_sub_configure_args="--silent $ac_sub_configure_args"
55160 fi
55161
55162 ac_popdir=`pwd`
55163 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55164
55165 # Do not complain, so a configure script can configure whichever
55166 # parts of a large source tree are present.
55167 test -d "$srcdir/$ac_dir" || continue
55168
55169 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55170 echo "$as_me:$LINENO: $ac_msg" >&5
55171 echo "$ac_msg" >&6
55172 { as_dir="$ac_dir"
55173 case $as_dir in #(
55174 -*) as_dir=./$as_dir;;
55175 esac
55176 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55177 as_dirs=
55178 while :; do
55179 case $as_dir in #(
55180 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55181 *) as_qdir=$as_dir;;
55182 esac
55183 as_dirs="'$as_qdir' $as_dirs"
55184 as_dir=`$as_dirname -- "$as_dir" ||
55185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55186 X"$as_dir" : 'X\(//\)[^/]' \| \
55187 X"$as_dir" : 'X\(//\)$' \| \
55188 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55189 echo X"$as_dir" |
55190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55191 s//\1/
55192 q
55193 }
55194 /^X\(\/\/\)[^/].*/{
55195 s//\1/
55196 q
55197 }
55198 /^X\(\/\/\)$/{
55199 s//\1/
55200 q
55201 }
55202 /^X\(\/\).*/{
55203 s//\1/
55204 q
55205 }
55206 s/.*/./; q'`
55207 test -d "$as_dir" && break
55208 done
55209 test -z "$as_dirs" || eval "mkdir $as_dirs"
55210 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55211 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55212 { (exit 1); exit 1; }; }; }
55213 ac_builddir=.
55214
55215 case "$ac_dir" in
55216 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55217 *)
55218 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55219 # A ".." for each directory in $ac_dir_suffix.
55220 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55221 case $ac_top_builddir_sub in
55222 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55223 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55224 esac ;;
55225 esac
55226 ac_abs_top_builddir=$ac_pwd
55227 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55228 # for backward compatibility:
55229 ac_top_builddir=$ac_top_build_prefix
55230
55231 case $srcdir in
55232 .) # We are building in place.
55233 ac_srcdir=.
55234 ac_top_srcdir=$ac_top_builddir_sub
55235 ac_abs_top_srcdir=$ac_pwd ;;
55236 [\\/]* | ?:[\\/]* ) # Absolute name.
55237 ac_srcdir=$srcdir$ac_dir_suffix;
55238 ac_top_srcdir=$srcdir
55239 ac_abs_top_srcdir=$srcdir ;;
55240 *) # Relative name.
55241 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55242 ac_top_srcdir=$ac_top_build_prefix$srcdir
55243 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55244 esac
55245 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55246
55247
55248 cd "$ac_dir"
55249
55250 # Check for guested configure; otherwise get Cygnus style configure.
55251 if test -f "$ac_srcdir/configure.gnu"; then
55252 ac_sub_configure=$ac_srcdir/configure.gnu
55253 elif test -f "$ac_srcdir/configure"; then
55254 ac_sub_configure=$ac_srcdir/configure
55255 elif test -f "$ac_srcdir/configure.in"; then
55256 # This should be Cygnus configure.
55257 ac_sub_configure=$ac_aux_dir/configure
55258 else
55259 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55260 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55261 ac_sub_configure=
55262 fi
55263
55264 # The recursion is here.
55265 if test -n "$ac_sub_configure"; then
55266 # Make the cache file name correct relative to the subdirectory.
55267 case $cache_file in
55268 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55269 *) # Relative name.
55270 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55271 esac
55272
55273 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55274 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55275 # The eval makes quoting arguments work.
55276 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55277 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55278 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55279 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55280 { (exit 1); exit 1; }; }
55281 fi
55282
55283 cd "$ac_popdir"
55284 done
55285 fi
55286
55287
55288 echo
55289 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55290 echo ""
55291 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55292 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55293
55294 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55295 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55296 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55297 if test "$wxUSE_UNICODE" = "yes"; then
55298 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55299 echo " (using UTF-8)"
55300 else
55301 echo " (using wchar_t)"
55302 fi
55303 else
55304 echo
55305 fi
55306
55307 echo " What level of wxWidgets compatibility should be enabled?"
55308 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55309 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55310
55311 echo " Which libraries should wxWidgets use?"
55312 echo " STL ${wxUSE_STL}"
55313 echo " jpeg ${wxUSE_LIBJPEG-none}"
55314 echo " png ${wxUSE_LIBPNG-none}"
55315 echo " regex ${wxUSE_REGEX}"
55316 echo " tiff ${wxUSE_LIBTIFF-none}"
55317 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55318 echo " xpm ${wxUSE_LIBXPM-none}"
55319 fi
55320 echo " zlib ${wxUSE_ZLIB}"
55321 echo " odbc ${wxUSE_ODBC}"
55322 echo " expat ${wxUSE_EXPAT}"
55323 echo " libmspack ${wxUSE_LIBMSPACK}"
55324 echo " sdl ${wxUSE_LIBSDL}"
55325
55326 echo ""
55327