]> git.saurik.com Git - wxWidgets.git/blob - configure
non-PCH compilation fix after latest change
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47344 2007-07-11 21:14:05Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 ALL_WX_LIBS
730 BUILT_WX_LIBS
731 STD_BASE_LIBS
732 STD_GUI_LIBS
733 wxUSE_ZLIB
734 wxUSE_REGEX
735 wxUSE_EXPAT
736 wxUSE_ODBC
737 wxUSE_LIBJPEG
738 wxUSE_LIBPNG
739 wxUSE_LIBTIFF
740 VENDOR
741 OFFICIAL_BUILD
742 WX_FLAVOUR
743 WX_LIB_FLAVOUR
744 WXUNIV
745 MONOLITHIC
746 USE_PLUGINS
747 CXXWARNINGS
748 EXTRALIBS
749 EXTRALIBS_XML
750 EXTRALIBS_HTML
751 EXTRALIBS_ODBC
752 EXTRALIBS_GUI
753 EXTRALIBS_OPENGL
754 EXTRALIBS_SDL
755 WITH_PLUGIN_SDL
756 EXTRALIBS_GNOMEPRINT
757 EXTRALIBS_GNOMEVFS
758 EXTRALIBS_HILDON
759 UNICODE
760 BUILD
761 DEBUG_INFO
762 DEBUG_FLAG
763 TOOLKIT_LOWERCASE
764 TOOLKIT_VERSION
765 SAMPLES_RPATH_FLAG
766 SAMPLES_RPATH_POSTLINK
767 HOST_SUFFIX
768 CPPUNIT_CFLAGS
769 CPPUNIT_LIBS
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MAC_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
882 COND_PLATFORM_OS2_1
883 COND_PLATFORM_UNIX_0
884 COND_PLATFORM_UNIX_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
891 COND_SHARED_0
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_
909 COND_TOOLKIT_COCOA
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB
913 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL
926 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11
942 COND_TOOLKIT_X11_USE_GUI_1
943 COND_UNICODE_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_0
947 COND_USE_GUI_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_ODBC_1
955 COND_USE_OPENGL_1
956 COND_USE_PCH_1
957 COND_USE_PLUGINS_0
958 COND_USE_RTTI_0
959 COND_USE_RTTI_1
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSION_0
964 COND_USE_SOVERSOLARIS_1
965 COND_USE_STC_1
966 COND_USE_THREADS_0
967 COND_USE_THREADS_1
968 COND_USE_XRC_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
971 COND_WXUNIV_0
972 COND_WXUNIV_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 EXE_LINKER
1005 GUIDIST
1006 DISTDIR
1007 SAMPLES_SUBDIRS
1008 LDFLAGS_GL
1009 OPENGL_LIBS
1010 DMALLOC_LIBS
1011 WX_VERSION_TAG
1012 RESCOMP
1013 RESFLAGS
1014 RESPROGRAMOBJ
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1017 LIBWXMACRES
1018 POSTLINK_COMMAND
1019 MACSETFILE
1020 GCC
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all_features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --enable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --enable-intl use internationalization system
1675 --enable-config use wxConfig (and derived) classes
1676 --enable-protocols use wxProtocol and derived classes
1677 --enable-ftp use wxFTP (requires wxProtocol
1678 --enable-http use wxHTTP (requires wxProtocol
1679 --enable-fileproto use wxFileProto class (requires wxProtocol
1680 --enable-sockets use socket/network classes
1681 --enable-ole use OLE classes (Win32 only)
1682 --enable-dataobj use data object classes
1683 --enable-ipc use interprocess communication (wxSocket etc.)
1684 --enable-apple_ieee use the Apple IEEE codec
1685 --enable-arcstream use wxArchive streams
1686 --enable-base64 use base64 encoding/decoding functions
1687 --enable-backtrace use wxStackWalker class for getting backtraces
1688 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1689 --enable-cmdline use wxCmdLineParser class
1690 --enable-datetime use wxDateTime class
1691 --enable-debugreport use wxDebugReport class
1692 --enable-dialupman use dialup network classes
1693 --enable-dynlib use wxLibrary class for DLL loading
1694 --enable-dynamicloader use (new) wxDynamicLibrary class
1695 --enable-exceptions build exception-safe library
1696 --enable-ffile use wxFFile class
1697 --enable-file use wxFile class
1698 --enable-filesystem use virtual file systems classes
1699 --enable-fontmap use font encodings conversion classes
1700 --enable-fs_archive use virtual archive filesystems
1701 --enable-fs_inet use virtual HTTP/FTP filesystems
1702 --enable-fs_zip now replaced by fs_archive
1703 --enable-geometry use geometry class
1704 --enable-log use logging system
1705 --enable-longlong use wxLongLong class
1706 --enable-mimetype use wxMimeTypesManager
1707 --enable-snglinst use wxSingleInstanceChecker class
1708 --enable-stdpaths use wxStandardPaths class
1709 --enable-stopwatch use wxStopWatch class
1710 --enable-streams use wxStream etc classes
1711 --enable-sysoptions use wxSystemOptions
1712 --enable-tarstream use wxTar streams
1713 --enable-textbuf use wxTextBuffer class
1714 --enable-textfile use wxTextFile class
1715 --enable-timer use wxTimer class
1716 --enable-sound use wxSound class
1717 --enable-mediactrl use wxMediaCtrl class
1718 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1719 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1720 --enable-zipstream use wxZip streams
1721 --enable-url use wxURL class
1722 --enable-variant use wxVariant class
1723 --enable-protocol use wxProtocol class
1724 --enable-protocol-http HTTP support in wxProtocol
1725 --enable-protocol-ftp FTP support in wxProtocol
1726 --enable-protocol-file FILE support in wxProtocol
1727 --enable-threads use threads
1728 --enable-docview use document view architecture
1729 --enable-help use help subsystem
1730 --enable-mshtmlhelp use MS HTML Help (win32)
1731 --enable-html use wxHTML sub-library
1732 --enable-htmlhelp use wxHTML-based help
1733 --enable-xrc use XRC resources sub-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl (Mac)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context 2D drawing API
1746 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --enable-controls use all usual controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-fontpicker use wxFontPickerCtrl class
1774 --enable-gauge use wxGauge class
1775 --enable-grid use wxGrid class
1776 --enable-dataviewctrl use wxDataViewCtrl class
1777 --enable-hyperlink use wxHyperlinkCtrl class
1778 --enable-imaglist use wxImageList class
1779 --enable-listbook use wxListbook class
1780 --enable-listbox use wxListBox class
1781 --enable-listctrl use wxListCtrl class
1782 --enable-notebook use wxNotebook class
1783 --enable-odcombobox use wxOwnerDrawnComboBox class
1784 --enable-radiobox use wxRadioBox class
1785 --enable-radiobtn use wxRadioButton class
1786 --enable-sash use wxSashWindow class
1787 --enable-scrollbar use wxScrollBar class and scrollable windows
1788 --enable-searchctrl use wxSearchCtrl class
1789 --enable-slider use wxSlider class
1790 --enable-spinbtn use wxSpinButton class
1791 --enable-spinctrl use wxSpinCtrl class
1792 --enable-splitter use wxSplitterWindow class
1793 --enable-statbmp use wxStaticBitmap class
1794 --enable-statbox use wxStaticBox class
1795 --enable-statline use wxStaticLine class
1796 --enable-stattext use wxStaticText class
1797 --enable-statusbar use wxStatusBar class
1798 --enable-tabdialog use wxTabControl class
1799 --enable-textctrl use wxTextCtrl class
1800 --enable-togglebtn use wxToggleButton class
1801 --enable-toolbar use wxToolBar class
1802 --enable-tbarnative use native wxToolBar class
1803 --enable-treebook use wxTreebook class
1804 --enable-toolbook use wxToolbook class
1805 --enable-treectrl use wxTreeCtrl class
1806 --enable-tipwindow use wxTipWindow class
1807 --enable-popupwin use wxPopUpWindow class
1808 --enable-commondlg use all common dialogs
1809 --enable-aboutdlg use wxAboutBox
1810 --enable-choicedlg use wxChoiceDialog
1811 --enable-coldlg use wxColourDialog
1812 --enable-filedlg use wxFileDialog
1813 --enable-finddlg use wxFindReplaceDialog
1814 --enable-fontdlg use wxFontDialog
1815 --enable-dirdlg use wxDirDialog
1816 --enable-msgdlg use wxMessageDialog
1817 --enable-numberdlg use wxNumberEntryDialog
1818 --enable-splash use wxSplashScreen
1819 --enable-textdlg use wxTextDialog
1820 --enable-tipdlg use startup tips
1821 --enable-progressdlg use wxProgressDialog
1822 --enable-wizarddlg use wxWizard
1823 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1824 --enable-miniframe use wxMiniFrame class
1825 --enable-tooltips use wxToolTip class
1826 --enable-splines use spline drawing code
1827 --enable-mousewheel use mousewheel
1828 --enable-validators use wxValidator and derived classes
1829 --enable-busyinfo use wxBusyInfo
1830 --enable-joystick use wxJoystick
1831 --enable-metafiles use wxMetaFile (Win32 only)
1832 --enable-dragimage use wxDragImage
1833 --enable-accessibility enable accessibility support
1834 --enable-dccache cache temporary wxDC objects (Win32 only)
1835 --enable-palette use wxPalette class
1836 --enable-image use wxImage class
1837 --enable-gif use gif images (GIF file format)
1838 --enable-pcx use pcx images (PCX file format)
1839 --enable-tga use tga images (TGA file format)
1840 --enable-iff use iff images (IFF file format)
1841 --enable-pnm use pnm images (PNM file format)
1842 --enable-xpm use xpm images (XPM file format)
1843 --enable-icocur use Windows ICO and CUR formats
1844 --disable-largefile omit support for large files
1845 --disable-gtktest do not try to compile and run a test GTK+ program
1846 --disable-gtktest Do not try to compile and run a test GTK program
1847 --disable-sdltest Do not try to compile and run a test SDL program
1848 --enable-omf use OMF object format (OS/2)
1849 --disable-dependency-tracking
1850 don't use dependency tracking even if the compiler
1851 can
1852 --disable-precomp-headers
1853 don't use precompiled headers even if compiler can
1854
1855 Optional Packages:
1856 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1857 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1858 --without-subdirs don't generate makefiles for samples/demos/...
1859 --with-flavour=NAME specify a name to identify this build
1860 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1861 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1862 --with-motif use Motif/Lesstif
1863 --with-mac use Mac OS X
1864 --with-cocoa use Cocoa
1865 --with-wine use Wine
1866 --with-msw use MS-Windows
1867 --with-pm use OS/2 Presentation Manager
1868 --with-mgl use SciTech MGL
1869 --with-directfb use DirectFB
1870 --with-microwin use MicroWindows
1871 --with-x11 use X11
1872 --with-libpng use libpng (PNG image format)
1873 --with-libjpeg use libjpeg (JPEG file format)
1874 --with-libtiff use libtiff (TIFF file format)
1875 --with-libxpm use libxpm (XPM file format)
1876 --with-libmspack use libmspack (CHM help files loading)
1877 --without-gnomeprint don't use GNOME printing libraries
1878 --with-gnomevfs use GNOME VFS for associating MIME types
1879 --with-hildon use Hildon framework for Nokia 770
1880 --with-opengl use OpenGL (or Mesa)
1881 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1882 --with-sdl use SDL for audio on Unix
1883 --with-regex enable support for wxRegEx class
1884 --with-zlib use zlib for LZW compression
1885 --with-odbc use the IODBC and wxODBC classes
1886 --with-expat enable XML support using expat parser
1887 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1888 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1889 --with-x use the X Window System
1890 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1891 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1892 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1893 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1894 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1895
1896 Some influential environment variables:
1897 CC C compiler command
1898 CFLAGS C compiler flags
1899 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1900 nonstandard directory <lib dir>
1901 LIBS libraries to pass to the linker, e.g. -l<library>
1902 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1903 you have headers in a nonstandard directory <include dir>
1904 CPP C preprocessor
1905 CXX C++ compiler command
1906 CXXFLAGS C++ compiler flags
1907 PKG_CONFIG path to pkg-config utility
1908 DIRECTFB_CFLAGS
1909 C compiler flags for DIRECTFB, overriding pkg-config
1910 DIRECTFB_LIBS
1911 linker flags for DIRECTFB, overriding pkg-config
1912 XMKMF Path to xmkmf, Makefile generator for X Window System
1913 PANGOX_CFLAGS
1914 C compiler flags for PANGOX, overriding pkg-config
1915 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1916 PANGOFT2_CFLAGS
1917 C compiler flags for PANGOFT2, overriding pkg-config
1918 PANGOFT2_LIBS
1919 linker flags for PANGOFT2, overriding pkg-config
1920 PANGOXFT_CFLAGS
1921 C compiler flags for PANGOXFT, overriding pkg-config
1922 PANGOXFT_LIBS
1923 linker flags for PANGOXFT, overriding pkg-config
1924 LIBGNOMEPRINTUI_CFLAGS
1925 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1926 LIBGNOMEPRINTUI_LIBS
1927 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1928 GNOMEVFS_CFLAGS
1929 C compiler flags for GNOMEVFS, overriding pkg-config
1930 GNOMEVFS_LIBS
1931 linker flags for GNOMEVFS, overriding pkg-config
1932 HILDON_CFLAGS
1933 C compiler flags for HILDON, overriding pkg-config
1934 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1935 CAIRO_CFLAGS
1936 C compiler flags for CAIRO, overriding pkg-config
1937 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1938 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1939 GST_LIBS linker flags for GST, overriding pkg-config
1940
1941 Use these variables to override the choices made by `configure' or to help
1942 it to find libraries and programs with nonstandard names/locations.
1943
1944 Report bugs to <wx-dev@lists.wxwidgets.org>.
1945 _ACEOF
1946 ac_status=$?
1947 fi
1948
1949 if test "$ac_init_help" = "recursive"; then
1950 # If there are subdirs, report their specific --help.
1951 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1952 test -d "$ac_dir" || continue
1953 ac_builddir=.
1954
1955 case "$ac_dir" in
1956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1957 *)
1958 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1959 # A ".." for each directory in $ac_dir_suffix.
1960 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1961 case $ac_top_builddir_sub in
1962 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1963 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1964 esac ;;
1965 esac
1966 ac_abs_top_builddir=$ac_pwd
1967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1968 # for backward compatibility:
1969 ac_top_builddir=$ac_top_build_prefix
1970
1971 case $srcdir in
1972 .) # We are building in place.
1973 ac_srcdir=.
1974 ac_top_srcdir=$ac_top_builddir_sub
1975 ac_abs_top_srcdir=$ac_pwd ;;
1976 [\\/]* | ?:[\\/]* ) # Absolute name.
1977 ac_srcdir=$srcdir$ac_dir_suffix;
1978 ac_top_srcdir=$srcdir
1979 ac_abs_top_srcdir=$srcdir ;;
1980 *) # Relative name.
1981 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1982 ac_top_srcdir=$ac_top_build_prefix$srcdir
1983 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1984 esac
1985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1986
1987 cd "$ac_dir" || { ac_status=$?; continue; }
1988 # Check for guested configure.
1989 if test -f "$ac_srcdir/configure.gnu"; then
1990 echo &&
1991 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1992 elif test -f "$ac_srcdir/configure"; then
1993 echo &&
1994 $SHELL "$ac_srcdir/configure" --help=recursive
1995 else
1996 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1997 fi || ac_status=$?
1998 cd "$ac_pwd" || { ac_status=$?; break; }
1999 done
2000 fi
2001
2002 test -n "$ac_init_help" && exit $ac_status
2003 if $ac_init_version; then
2004 cat <<\_ACEOF
2005 wxWidgets configure 2.9.0
2006 generated by GNU Autoconf 2.61
2007
2008 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2009 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2010 This configure script is free software; the Free Software Foundation
2011 gives unlimited permission to copy, distribute and modify it.
2012 _ACEOF
2013 exit
2014 fi
2015 cat >config.log <<_ACEOF
2016 This file contains any messages produced by compilers while
2017 running configure, to aid debugging if configure makes a mistake.
2018
2019 It was created by wxWidgets $as_me 2.9.0, which was
2020 generated by GNU Autoconf 2.61. Invocation command line was
2021
2022 $ $0 $@
2023
2024 _ACEOF
2025 exec 5>>config.log
2026 {
2027 cat <<_ASUNAME
2028 ## --------- ##
2029 ## Platform. ##
2030 ## --------- ##
2031
2032 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2033 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2034 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2035 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2036 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2037
2038 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2039 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2040
2041 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2042 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2043 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2044 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2045 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2046 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2047 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2048
2049 _ASUNAME
2050
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 for as_dir in $PATH
2053 do
2054 IFS=$as_save_IFS
2055 test -z "$as_dir" && as_dir=.
2056 echo "PATH: $as_dir"
2057 done
2058 IFS=$as_save_IFS
2059
2060 } >&5
2061
2062 cat >&5 <<_ACEOF
2063
2064
2065 ## ----------- ##
2066 ## Core tests. ##
2067 ## ----------- ##
2068
2069 _ACEOF
2070
2071
2072 # Keep a trace of the command line.
2073 # Strip out --no-create and --no-recursion so they do not pile up.
2074 # Strip out --silent because we don't want to record it for future runs.
2075 # Also quote any args containing shell meta-characters.
2076 # Make two passes to allow for proper duplicate-argument suppression.
2077 ac_configure_args=
2078 ac_configure_args0=
2079 ac_configure_args1=
2080 ac_must_keep_next=false
2081 for ac_pass in 1 2
2082 do
2083 for ac_arg
2084 do
2085 case $ac_arg in
2086 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2088 | -silent | --silent | --silen | --sile | --sil)
2089 continue ;;
2090 *\'*)
2091 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2092 esac
2093 case $ac_pass in
2094 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2095 2)
2096 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2097 if test $ac_must_keep_next = true; then
2098 ac_must_keep_next=false # Got value, back to normal.
2099 else
2100 case $ac_arg in
2101 *=* | --config-cache | -C | -disable-* | --disable-* \
2102 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2103 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2104 | -with-* | --with-* | -without-* | --without-* | --x)
2105 case "$ac_configure_args0 " in
2106 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2107 esac
2108 ;;
2109 -* ) ac_must_keep_next=true ;;
2110 esac
2111 fi
2112 ac_configure_args="$ac_configure_args '$ac_arg'"
2113 ;;
2114 esac
2115 done
2116 done
2117 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2118 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2119
2120 # When interrupted or exit'd, cleanup temporary files, and complete
2121 # config.log. We remove comments because anyway the quotes in there
2122 # would cause problems or look ugly.
2123 # WARNING: Use '\'' to represent an apostrophe within the trap.
2124 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2125 trap 'exit_status=$?
2126 # Save into config.log some information that might help in debugging.
2127 {
2128 echo
2129
2130 cat <<\_ASBOX
2131 ## ---------------- ##
2132 ## Cache variables. ##
2133 ## ---------------- ##
2134 _ASBOX
2135 echo
2136 # The following way of writing the cache mishandles newlines in values,
2137 (
2138 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2139 eval ac_val=\$$ac_var
2140 case $ac_val in #(
2141 *${as_nl}*)
2142 case $ac_var in #(
2143 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2144 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2145 esac
2146 case $ac_var in #(
2147 _ | IFS | as_nl) ;; #(
2148 *) $as_unset $ac_var ;;
2149 esac ;;
2150 esac
2151 done
2152 (set) 2>&1 |
2153 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2154 *${as_nl}ac_space=\ *)
2155 sed -n \
2156 "s/'\''/'\''\\\\'\'''\''/g;
2157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2158 ;; #(
2159 *)
2160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2161 ;;
2162 esac |
2163 sort
2164 )
2165 echo
2166
2167 cat <<\_ASBOX
2168 ## ----------------- ##
2169 ## Output variables. ##
2170 ## ----------------- ##
2171 _ASBOX
2172 echo
2173 for ac_var in $ac_subst_vars
2174 do
2175 eval ac_val=\$$ac_var
2176 case $ac_val in
2177 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2178 esac
2179 echo "$ac_var='\''$ac_val'\''"
2180 done | sort
2181 echo
2182
2183 if test -n "$ac_subst_files"; then
2184 cat <<\_ASBOX
2185 ## ------------------- ##
2186 ## File substitutions. ##
2187 ## ------------------- ##
2188 _ASBOX
2189 echo
2190 for ac_var in $ac_subst_files
2191 do
2192 eval ac_val=\$$ac_var
2193 case $ac_val in
2194 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2195 esac
2196 echo "$ac_var='\''$ac_val'\''"
2197 done | sort
2198 echo
2199 fi
2200
2201 if test -s confdefs.h; then
2202 cat <<\_ASBOX
2203 ## ----------- ##
2204 ## confdefs.h. ##
2205 ## ----------- ##
2206 _ASBOX
2207 echo
2208 cat confdefs.h
2209 echo
2210 fi
2211 test "$ac_signal" != 0 &&
2212 echo "$as_me: caught signal $ac_signal"
2213 echo "$as_me: exit $exit_status"
2214 } >&5
2215 rm -f core *.core core.conftest.* &&
2216 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2217 exit $exit_status
2218 ' 0
2219 for ac_signal in 1 2 13 15; do
2220 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2221 done
2222 ac_signal=0
2223
2224 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2225 rm -f -r conftest* confdefs.h
2226
2227 # Predefined preprocessor variables.
2228
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_NAME "$PACKAGE_NAME"
2231 _ACEOF
2232
2233
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2236 _ACEOF
2237
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2241 _ACEOF
2242
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_STRING "$PACKAGE_STRING"
2246 _ACEOF
2247
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2251 _ACEOF
2252
2253
2254 # Let the site file select an alternate cache file if it wants to.
2255 # Prefer explicitly selected file to automatically selected ones.
2256 if test -n "$CONFIG_SITE"; then
2257 set x "$CONFIG_SITE"
2258 elif test "x$prefix" != xNONE; then
2259 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2260 else
2261 set x "$ac_default_prefix/share/config.site" \
2262 "$ac_default_prefix/etc/config.site"
2263 fi
2264 shift
2265 for ac_site_file
2266 do
2267 if test -r "$ac_site_file"; then
2268 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2269 echo "$as_me: loading site script $ac_site_file" >&6;}
2270 sed 's/^/| /' "$ac_site_file" >&5
2271 . "$ac_site_file"
2272 fi
2273 done
2274
2275 if test -r "$cache_file"; then
2276 # Some versions of bash will fail to source /dev/null (special
2277 # files actually), so we avoid doing that.
2278 if test -f "$cache_file"; then
2279 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2280 echo "$as_me: loading cache $cache_file" >&6;}
2281 case $cache_file in
2282 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2283 *) . "./$cache_file";;
2284 esac
2285 fi
2286 else
2287 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2288 echo "$as_me: creating cache $cache_file" >&6;}
2289 >$cache_file
2290 fi
2291
2292 # Check that the precious variables saved in the cache have kept the same
2293 # value.
2294 ac_cache_corrupted=false
2295 for ac_var in $ac_precious_vars; do
2296 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2297 eval ac_new_set=\$ac_env_${ac_var}_set
2298 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2299 eval ac_new_val=\$ac_env_${ac_var}_value
2300 case $ac_old_set,$ac_new_set in
2301 set,)
2302 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2303 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2304 ac_cache_corrupted=: ;;
2305 ,set)
2306 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2307 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2308 ac_cache_corrupted=: ;;
2309 ,);;
2310 *)
2311 if test "x$ac_old_val" != "x$ac_new_val"; then
2312 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2313 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2314 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2315 echo "$as_me: former value: $ac_old_val" >&2;}
2316 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2317 echo "$as_me: current value: $ac_new_val" >&2;}
2318 ac_cache_corrupted=:
2319 fi;;
2320 esac
2321 # Pass precious variables to config.status.
2322 if test "$ac_new_set" = set; then
2323 case $ac_new_val in
2324 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2325 *) ac_arg=$ac_var=$ac_new_val ;;
2326 esac
2327 case " $ac_configure_args " in
2328 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2329 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2330 esac
2331 fi
2332 done
2333 if $ac_cache_corrupted; then
2334 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2335 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2336 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2337 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2338 { (exit 1); exit 1; }; }
2339 fi
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365 ac_ext=c
2366 ac_cpp='$CPP $CPPFLAGS'
2367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2370
2371
2372
2373
2374
2375 ac_aux_dir=
2376 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2377 if test -f "$ac_dir/install-sh"; then
2378 ac_aux_dir=$ac_dir
2379 ac_install_sh="$ac_aux_dir/install-sh -c"
2380 break
2381 elif test -f "$ac_dir/install.sh"; then
2382 ac_aux_dir=$ac_dir
2383 ac_install_sh="$ac_aux_dir/install.sh -c"
2384 break
2385 elif test -f "$ac_dir/shtool"; then
2386 ac_aux_dir=$ac_dir
2387 ac_install_sh="$ac_aux_dir/shtool install -c"
2388 break
2389 fi
2390 done
2391 if test -z "$ac_aux_dir"; then
2392 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2393 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2394 { (exit 1); exit 1; }; }
2395 fi
2396
2397 # These three variables are undocumented and unsupported,
2398 # and are intended to be withdrawn in a future Autoconf release.
2399 # They can cause serious problems if a builder's source tree is in a directory
2400 # whose full name contains unusual characters.
2401 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2402 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2403 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2404
2405
2406 # Make sure we can run config.sub.
2407 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2408 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2409 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2410 { (exit 1); exit 1; }; }
2411
2412 { echo "$as_me:$LINENO: checking build system type" >&5
2413 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2414 if test "${ac_cv_build+set}" = set; then
2415 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 else
2417 ac_build_alias=$build_alias
2418 test "x$ac_build_alias" = x &&
2419 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2420 test "x$ac_build_alias" = x &&
2421 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2422 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2423 { (exit 1); exit 1; }; }
2424 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2425 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2426 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2427 { (exit 1); exit 1; }; }
2428
2429 fi
2430 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2431 echo "${ECHO_T}$ac_cv_build" >&6; }
2432 case $ac_cv_build in
2433 *-*-*) ;;
2434 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2435 echo "$as_me: error: invalid value of canonical build" >&2;}
2436 { (exit 1); exit 1; }; };;
2437 esac
2438 build=$ac_cv_build
2439 ac_save_IFS=$IFS; IFS='-'
2440 set x $ac_cv_build
2441 shift
2442 build_cpu=$1
2443 build_vendor=$2
2444 shift; shift
2445 # Remember, the first character of IFS is used to create $*,
2446 # except with old shells:
2447 build_os=$*
2448 IFS=$ac_save_IFS
2449 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2450
2451
2452 { echo "$as_me:$LINENO: checking host system type" >&5
2453 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2454 if test "${ac_cv_host+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 else
2457 if test "x$host_alias" = x; then
2458 ac_cv_host=$ac_cv_build
2459 else
2460 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2461 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2462 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2463 { (exit 1); exit 1; }; }
2464 fi
2465
2466 fi
2467 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2468 echo "${ECHO_T}$ac_cv_host" >&6; }
2469 case $ac_cv_host in
2470 *-*-*) ;;
2471 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2472 echo "$as_me: error: invalid value of canonical host" >&2;}
2473 { (exit 1); exit 1; }; };;
2474 esac
2475 host=$ac_cv_host
2476 ac_save_IFS=$IFS; IFS='-'
2477 set x $ac_cv_host
2478 shift
2479 host_cpu=$1
2480 host_vendor=$2
2481 shift; shift
2482 # Remember, the first character of IFS is used to create $*,
2483 # except with old shells:
2484 host_os=$*
2485 IFS=$ac_save_IFS
2486 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2487
2488
2489 { echo "$as_me:$LINENO: checking target system type" >&5
2490 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2491 if test "${ac_cv_target+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 else
2494 if test "x$target_alias" = x; then
2495 ac_cv_target=$ac_cv_host
2496 else
2497 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2498 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2499 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2500 { (exit 1); exit 1; }; }
2501 fi
2502
2503 fi
2504 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2505 echo "${ECHO_T}$ac_cv_target" >&6; }
2506 case $ac_cv_target in
2507 *-*-*) ;;
2508 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2509 echo "$as_me: error: invalid value of canonical target" >&2;}
2510 { (exit 1); exit 1; }; };;
2511 esac
2512 target=$ac_cv_target
2513 ac_save_IFS=$IFS; IFS='-'
2514 set x $ac_cv_target
2515 shift
2516 target_cpu=$1
2517 target_vendor=$2
2518 shift; shift
2519 # Remember, the first character of IFS is used to create $*,
2520 # except with old shells:
2521 target_os=$*
2522 IFS=$ac_save_IFS
2523 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2524
2525
2526 # The aliases save the names the user supplied, while $host etc.
2527 # will get canonicalized.
2528 test -n "$target_alias" &&
2529 test "$program_prefix$program_suffix$program_transform_name" = \
2530 NONENONEs,x,x, &&
2531 program_prefix=${target_alias}-
2532
2533
2534
2535 wx_major_version_number=2
2536 wx_minor_version_number=9
2537 wx_release_number=0
2538 wx_subrelease_number=0
2539
2540 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2541 WX_VERSION=$WX_RELEASE.$wx_release_number
2542 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2543
2544 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2545
2546
2547 wx_top_builddir="`pwd`"
2548
2549
2550
2551
2552 USE_UNIX=1
2553 USE_OS2=0
2554 USE_WIN32=0
2555 USE_DOS=0
2556 USE_BEOS=0
2557 USE_MAC=0
2558
2559 USE_AIX=
2560 USE_BSD= USE_DARWIN= USE_FREEBSD=
2561 USE_GNU= USE_HPUX=
2562 USE_LINUX=
2563 USE_NETBSD=
2564 USE_OPENBSD=
2565 USE_OSF= USE_SGI=
2566 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2567 USE_ULTRIX=
2568 USE_UNIXWARE=
2569
2570 USE_ALPHA=
2571
2572 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2573
2574 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2575
2576 DEFAULT_wxUSE_COCOA=0
2577 DEFAULT_wxUSE_GTK=0
2578 DEFAULT_wxUSE_MAC=0
2579 DEFAULT_wxUSE_MGL=0
2580 DEFAULT_wxUSE_MICROWIN=0
2581 DEFAULT_wxUSE_MOTIF=0
2582 DEFAULT_wxUSE_MSW=0
2583 DEFAULT_wxUSE_PM=0
2584 DEFAULT_wxUSE_X11=0
2585 DEFAULT_wxUSE_DFB=0
2586
2587 DEFAULT_DEFAULT_wxUSE_COCOA=0
2588 DEFAULT_DEFAULT_wxUSE_GTK=0
2589 DEFAULT_DEFAULT_wxUSE_MAC=0
2590 DEFAULT_DEFAULT_wxUSE_MGL=0
2591 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2593 DEFAULT_DEFAULT_wxUSE_MSW=0
2594 DEFAULT_DEFAULT_wxUSE_PM=0
2595 DEFAULT_DEFAULT_wxUSE_X11=0
2596 DEFAULT_DEFAULT_wxUSE_DFB=0
2597
2598 PROGRAM_EXT=
2599 SO_SUFFIX=so
2600 SAMPLES_RPATH_FLAG=
2601 SAMPLES_RPATH_POSTLINK=
2602
2603 DEFAULT_STD_FLAG=yes
2604
2605 case "${host}" in
2606 *-hp-hpux* )
2607 USE_HPUX=1
2608 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2609 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2610 SO_SUFFIX=sl
2611 cat >>confdefs.h <<\_ACEOF
2612 #define __HPUX__ 1
2613 _ACEOF
2614
2615
2616 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2617 ;;
2618 *-*-linux* )
2619 USE_LINUX=1
2620 cat >>confdefs.h <<\_ACEOF
2621 #define __LINUX__ 1
2622 _ACEOF
2623
2624 TMP=`uname -m`
2625 if test "x$TMP" = "xalpha"; then
2626 USE_ALPHA=1
2627 cat >>confdefs.h <<\_ACEOF
2628 #define __ALPHA__ 1
2629 _ACEOF
2630
2631 fi
2632 DEFAULT_DEFAULT_wxUSE_GTK=1
2633 ;;
2634 *-*-gnu* | *-*-k*bsd*-gnu )
2635 USE_GNU=1
2636 TMP=`uname -m`
2637 if test "x$TMP" = "xalpha"; then
2638 USE_ALPHA=1
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __ALPHA__ 1
2641 _ACEOF
2642
2643 fi
2644 DEFAULT_DEFAULT_wxUSE_GTK=1
2645 ;;
2646 *-*-irix5* | *-*-irix6* )
2647 USE_SGI=1
2648 USE_SVR4=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __SGI__ 1
2651 _ACEOF
2652
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SVR4__ 1
2655 _ACEOF
2656
2657 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2658 ;;
2659 *-*-solaris2* )
2660 USE_SUN=1
2661 USE_SOLARIS=1
2662 USE_SVR4=1
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SUN__ 1
2665 _ACEOF
2666
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SOLARIS__ 1
2669 _ACEOF
2670
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SVR4__ 1
2673 _ACEOF
2674
2675 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2676 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2677 ;;
2678 *-*-sunos4* )
2679 USE_SUN=1
2680 USE_SUNOS=1
2681 USE_BSD=1
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SUN__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SUNOS__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __BSD__ 1
2692 _ACEOF
2693
2694 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2695 ;;
2696 *-*-freebsd*)
2697 USE_BSD=1
2698 USE_FREEBSD=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __FREEBSD__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __BSD__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_GTK=1
2708 ;;
2709 *-*-openbsd*|*-*-mirbsd*)
2710 USE_BSD=1
2711 USE_OPENBSD=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __OPENBSD__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __BSD__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2721 ;;
2722 *-*-netbsd*)
2723 USE_BSD=1
2724 USE_NETBSD=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __NETBSD__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __BSD__ 1
2731 _ACEOF
2732
2733 DEFAULT_DEFAULT_wxUSE_GTK=1
2734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2735
2736 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2737 ;;
2738 *-*-osf* )
2739 USE_ALPHA=1
2740 USE_OSF=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __ALPHA__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __OSF__ 1
2747 _ACEOF
2748
2749 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2750 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2751 ;;
2752 *-*-dgux5* )
2753 USE_ALPHA=1
2754 USE_SVR4=1
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __ALPHA__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __SVR4__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 ;;
2765 *-*-sysv5* )
2766 USE_SYSV=1
2767 USE_SVR4=1
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __SYSV__ 1
2770 _ACEOF
2771
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __SVR4__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 ;;
2778 *-*-aix* )
2779 USE_AIX=1
2780 USE_SYSV=1
2781 USE_SVR4=1
2782 SO_SUFFIX=a
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __AIX__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SYSV__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SVR4__ 1
2793 _ACEOF
2794
2795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2796 ;;
2797
2798 *-*-*UnixWare*)
2799 USE_SYSV=1
2800 USE_SVR4=1
2801 USE_UNIXWARE=1
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __UNIXWARE__ 1
2804 _ACEOF
2805
2806 ;;
2807
2808 *-*-cygwin* | *-*-mingw32* )
2809 SO_SUFFIX=dll
2810 PROGRAM_EXT=".exe"
2811 DEFAULT_DEFAULT_wxUSE_MSW=1
2812 ;;
2813
2814 *-pc-msdosdjgpp )
2815 USE_UNIX=0
2816 USE_DOS=1
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __DOS__ 1
2819 _ACEOF
2820
2821 PROGRAM_EXT=".exe"
2822 DEFAULT_DEFAULT_wxUSE_MGL=1
2823 ;;
2824
2825 *-pc-os2_emx | *-pc-os2-emx )
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __EMX__ 1
2828 _ACEOF
2829
2830 USE_OS2=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __OS2__ 1
2833 _ACEOF
2834
2835 PROGRAM_EXT=".exe"
2836 DEFAULT_DEFAULT_wxUSE_PM=1
2837 CXX=gcc
2838 LDFLAGS="$LDFLAGS -Zcrtdll"
2839 ac_executable_extensions=".exe"
2840 export ac_executable_extensions
2841 ac_save_IFS="$IFS"
2842 IFS='\\'
2843 ac_TEMP_PATH=
2844 for ac_dir in $PATH; do
2845 IFS=$ac_save_IFS
2846 if test -z "$ac_TEMP_PATH"; then
2847 ac_TEMP_PATH="$ac_dir"
2848 else
2849 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2850 fi
2851 done
2852 export PATH="$ac_TEMP_PATH"
2853 unset ac_TEMP_PATH
2854 DEFAULT_STD_FLAG=no
2855 ;;
2856
2857 *-*-darwin* )
2858 USE_BSD=1
2859 USE_DARWIN=1
2860 SO_SUFFIX=dylib
2861 cat >>confdefs.h <<\_ACEOF
2862 #define __BSD__ 1
2863 _ACEOF
2864
2865 cat >>confdefs.h <<\_ACEOF
2866 #define __DARWIN__ 1
2867 _ACEOF
2868
2869 cat >>confdefs.h <<\_ACEOF
2870 #define TARGET_CARBON 1
2871 _ACEOF
2872
2873 DEFAULT_DEFAULT_wxUSE_MAC=1
2874 DEFAULT_STD_FLAG=no
2875 ;;
2876 powerpc-apple-macos* )
2877 USE_UNIX=0
2878 ac_cv_c_bigendian=yes
2879 SO_SUFFIX=shlib
2880 DEFAULT_DEFAULT_wxUSE_MAC=1
2881 DEFAULT_STD_FLAG=no
2882 ;;
2883
2884 *-*-beos* )
2885 USE_BEOS=1
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __BEOS__ 1
2888 _ACEOF
2889
2890 ;;
2891
2892 *)
2893 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2894 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2895 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2896 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2897
2898 DEFAULT_DEFAULT_wxUSE_X11=1
2899 DEFAULT_wxUSE_SHARED=no
2900 esac
2901
2902
2903
2904
2905 wx_arg_cache_file="configarg.cache"
2906 echo "loading argument cache $wx_arg_cache_file"
2907 rm -f ${wx_arg_cache_file}.tmp
2908 touch ${wx_arg_cache_file}.tmp
2909 touch ${wx_arg_cache_file}
2910
2911
2912 DEFAULT_wxUSE_ALL_FEATURES=yes
2913
2914 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2915 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2916
2917 DEFAULT_wxUSE_DMALLOC=no
2918 DEFAULT_wxUSE_LIBGNOMEVFS=no
2919 DEFAULT_wxUSE_LIBHILDON=no
2920 DEFAULT_wxUSE_LIBMSPACK=no
2921 DEFAULT_wxUSE_LIBSDL=no
2922 DEFAULT_wxUSE_ODBC=no
2923 DEFAULT_wxUSE_OPENGL=no
2924
2925 DEFAULT_wxUSE_ACCESSIBILITY=no
2926 DEFAULT_wxUSE_DATAVIEWCTRL=no
2927 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2928 DEFAULT_wxUSE_MEDIACTRL=no
2929 DEFAULT_wxUSE_TAB_DIALOG=no
2930
2931 DEFAULT_wxUSE_UNICODE_UTF8=auto
2932 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2933
2934 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2935
2936 DEFAULT_wxUSE_GTK2=yes
2937
2938 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2939
2940
2941 for toolkit in `echo $ALL_TOOLKITS`; do
2942 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2943 if test "x$LINE" != "x" ; then
2944 has_toolkit_in_cache=1
2945 eval "DEFAULT_$LINE"
2946 eval "CACHE_$toolkit=1"
2947
2948 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2949 if test "x$LINE" != "x" ; then
2950 eval "DEFAULT_$LINE"
2951 fi
2952 fi
2953 done
2954
2955
2956
2957
2958
2959 enablestring=disable
2960 defaultval=
2961 if test -z "$defaultval"; then
2962 if test x"$enablestring" = xdisable; then
2963 defaultval=yes
2964 else
2965 defaultval=no
2966 fi
2967 fi
2968
2969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2970 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2971 no_cache=0
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval=$enable_gui;
2975 if test "$enableval" = yes; then
2976 ac_cv_use_gui='wxUSE_GUI=yes'
2977 else
2978 ac_cv_use_gui='wxUSE_GUI=no'
2979 fi
2980
2981 else
2982
2983 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x ; then
2985 eval "DEFAULT_$LINE"
2986 else
2987 no_cache=1
2988 fi
2989
2990 ac_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2991
2992 fi
2993
2994
2995 eval "$ac_cv_use_gui"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2998 fi
2999
3000 if test x"$enablestring" = xdisable; then
3001 if test $wxUSE_GUI = yes; then
3002 result=no
3003 else
3004 result=yes
3005 fi
3006 else
3007 result=$wxUSE_GUI
3008 fi
3009
3010 { echo "$as_me:$LINENO: result: $result" >&5
3011 echo "${ECHO_T}$result" >&6; }
3012
3013
3014 enablestring=
3015 defaultval=
3016 if test -z "$defaultval"; then
3017 if test x"$enablestring" = xdisable; then
3018 defaultval=yes
3019 else
3020 defaultval=no
3021 fi
3022 fi
3023
3024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3025 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3026 no_cache=0
3027 # Check whether --enable-monolithic was given.
3028 if test "${enable_monolithic+set}" = set; then
3029 enableval=$enable_monolithic;
3030 if test "$enableval" = yes; then
3031 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3032 else
3033 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3034 fi
3035
3036 else
3037
3038 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3039 if test "x$LINE" != x ; then
3040 eval "DEFAULT_$LINE"
3041 else
3042 no_cache=1
3043 fi
3044
3045 ac_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3046
3047 fi
3048
3049
3050 eval "$ac_cv_use_monolithic"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3053 fi
3054
3055 if test x"$enablestring" = xdisable; then
3056 if test $wxUSE_MONOLITHIC = yes; then
3057 result=no
3058 else
3059 result=yes
3060 fi
3061 else
3062 result=$wxUSE_MONOLITHIC
3063 fi
3064
3065 { echo "$as_me:$LINENO: result: $result" >&5
3066 echo "${ECHO_T}$result" >&6; }
3067
3068
3069 enablestring=
3070 defaultval=
3071 if test -z "$defaultval"; then
3072 if test x"$enablestring" = xdisable; then
3073 defaultval=yes
3074 else
3075 defaultval=no
3076 fi
3077 fi
3078
3079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3080 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3081 no_cache=0
3082 # Check whether --enable-plugins was given.
3083 if test "${enable_plugins+set}" = set; then
3084 enableval=$enable_plugins;
3085 if test "$enableval" = yes; then
3086 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3087 else
3088 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3089 fi
3090
3091 else
3092
3093 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3094 if test "x$LINE" != x ; then
3095 eval "DEFAULT_$LINE"
3096 else
3097 no_cache=1
3098 fi
3099
3100 ac_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3101
3102 fi
3103
3104
3105 eval "$ac_cv_use_plugins"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3108 fi
3109
3110 if test x"$enablestring" = xdisable; then
3111 if test $wxUSE_PLUGINS = yes; then
3112 result=no
3113 else
3114 result=yes
3115 fi
3116 else
3117 result=$wxUSE_PLUGINS
3118 fi
3119
3120 { echo "$as_me:$LINENO: result: $result" >&5
3121 echo "${ECHO_T}$result" >&6; }
3122
3123
3124 withstring=without
3125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3127 no_cache=0
3128
3129 # Check whether --with-subdirs was given.
3130 if test "${with_subdirs+set}" = set; then
3131 withval=$with_subdirs;
3132 if test "$withval" = yes; then
3133 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3134 else
3135 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3136 fi
3137
3138 else
3139
3140 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x ; then
3142 eval "DEFAULT_$LINE"
3143 else
3144 no_cache=1
3145 fi
3146
3147 ac_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
3148
3149 fi
3150
3151
3152 eval "$ac_cv_use_subdirs"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3155 fi
3156
3157 if test x"$withstring" = xwithout; then
3158 if test $wxWITH_SUBDIRS = yes; then
3159 result=no
3160 else
3161 result=yes
3162 fi
3163 else
3164 result=$wxWITH_SUBDIRS
3165 fi
3166
3167 { echo "$as_me:$LINENO: result: $result" >&5
3168 echo "${ECHO_T}$result" >&6; }
3169
3170
3171 # Check whether --with-flavour was given.
3172 if test "${with_flavour+set}" = set; then
3173 withval=$with_flavour; WX_FLAVOUR="$withval"
3174 fi
3175
3176
3177 enablestring=
3178 defaultval=
3179 if test -z "$defaultval"; then
3180 if test x"$enablestring" = xdisable; then
3181 defaultval=yes
3182 else
3183 defaultval=no
3184 fi
3185 fi
3186
3187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3188 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3189 no_cache=0
3190 # Check whether --enable-official_build was given.
3191 if test "${enable_official_build+set}" = set; then
3192 enableval=$enable_official_build;
3193 if test "$enableval" = yes; then
3194 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3195 else
3196 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3197 fi
3198
3199 else
3200
3201 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3204 else
3205 no_cache=1
3206 fi
3207
3208 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3209
3210 fi
3211
3212
3213 eval "$ac_cv_use_official_build"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3216 fi
3217
3218 if test x"$enablestring" = xdisable; then
3219 if test $wxUSE_OFFICIAL_BUILD = yes; then
3220 result=no
3221 else
3222 result=yes
3223 fi
3224 else
3225 result=$wxUSE_OFFICIAL_BUILD
3226 fi
3227
3228 { echo "$as_me:$LINENO: result: $result" >&5
3229 echo "${ECHO_T}$result" >&6; }
3230
3231 # Check whether --enable-vendor was given.
3232 if test "${enable_vendor+set}" = set; then
3233 enableval=$enable_vendor; VENDOR="$enableval"
3234 fi
3235
3236 if test "x$VENDOR" = "x"; then
3237 VENDOR="custom"
3238 fi
3239
3240
3241 enablestring=disable
3242 defaultval=
3243 if test -z "$defaultval"; then
3244 if test x"$enablestring" = xdisable; then
3245 defaultval=yes
3246 else
3247 defaultval=no
3248 fi
3249 fi
3250
3251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all_features" >&5
3252 echo $ECHO_N "checking for --${enablestring:-enable}-all_features... $ECHO_C" >&6; }
3253 no_cache=0
3254 # Check whether --enable-all_features was given.
3255 if test "${enable_all_features+set}" = set; then
3256 enableval=$enable_all_features;
3257 if test "$enableval" = yes; then
3258 ac_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3259 else
3260 ac_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3261 fi
3262
3263 else
3264
3265 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3273
3274 fi
3275
3276
3277 eval "$ac_cv_use_all_features"
3278 if test "$no_cache" != 1; then
3279 echo $ac_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3280 fi
3281
3282 if test x"$enablestring" = xdisable; then
3283 if test $wxUSE_ALL_FEATURES = yes; then
3284 result=no
3285 else
3286 result=yes
3287 fi
3288 else
3289 result=$wxUSE_ALL_FEATURES
3290 fi
3291
3292 { echo "$as_me:$LINENO: result: $result" >&5
3293 echo "${ECHO_T}$result" >&6; }
3294
3295
3296
3297 if test "$wxUSE_GUI" = "yes"; then
3298
3299
3300 enablestring=
3301 defaultval=
3302 if test -z "$defaultval"; then
3303 if test x"$enablestring" = xdisable; then
3304 defaultval=yes
3305 else
3306 defaultval=no
3307 fi
3308 fi
3309
3310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3312 no_cache=0
3313 # Check whether --enable-universal was given.
3314 if test "${enable_universal+set}" = set; then
3315 enableval=$enable_universal;
3316 if test "$enableval" = yes; then
3317 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3318 else
3319 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3320 fi
3321
3322 else
3323
3324 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x ; then
3326 eval "DEFAULT_$LINE"
3327 else
3328 no_cache=1
3329 fi
3330
3331 ac_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3332
3333 fi
3334
3335
3336 eval "$ac_cv_use_universal"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3339 fi
3340
3341 if test x"$enablestring" = xdisable; then
3342 if test $wxUSE_UNIVERSAL = yes; then
3343 result=no
3344 else
3345 result=yes
3346 fi
3347 else
3348 result=$wxUSE_UNIVERSAL
3349 fi
3350
3351 { echo "$as_me:$LINENO: result: $result" >&5
3352 echo "${ECHO_T}$result" >&6; }
3353
3354 if test "$wxUSE_UNIVERSAL" = "yes"; then
3355
3356 # Check whether --with-themes was given.
3357 if test "${with_themes+set}" = set; then
3358 withval=$with_themes; wxUNIV_THEMES="$withval"
3359 fi
3360
3361 fi
3362
3363
3364 # Check whether --with-gtk was given.
3365 if test "${with_gtk+set}" = set; then
3366 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3367 fi
3368
3369
3370 # Check whether --with-motif was given.
3371 if test "${with_motif+set}" = set; then
3372 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3373 fi
3374
3375
3376 # Check whether --with-mac was given.
3377 if test "${with_mac+set}" = set; then
3378 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3379 fi
3380
3381
3382 # Check whether --with-cocoa was given.
3383 if test "${with_cocoa+set}" = set; then
3384 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3385 fi
3386
3387
3388 # Check whether --with-wine was given.
3389 if test "${with_wine+set}" = set; then
3390 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3391 fi
3392
3393
3394 # Check whether --with-msw was given.
3395 if test "${with_msw+set}" = set; then
3396 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3397 fi
3398
3399
3400 # Check whether --with-pm was given.
3401 if test "${with_pm+set}" = set; then
3402 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3403 fi
3404
3405
3406 # Check whether --with-mgl was given.
3407 if test "${with_mgl+set}" = set; then
3408 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-directfb was given.
3413 if test "${with_directfb+set}" = set; then
3414 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-microwin was given.
3419 if test "${with_microwin+set}" = set; then
3420 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-x11 was given.
3425 if test "${with_x11+set}" = set; then
3426 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3427 fi
3428
3429
3430 enablestring=
3431 defaultval=
3432 if test -z "$defaultval"; then
3433 if test x"$enablestring" = xdisable; then
3434 defaultval=yes
3435 else
3436 defaultval=no
3437 fi
3438 fi
3439
3440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3441 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3442 no_cache=0
3443 # Check whether --enable-nanox was given.
3444 if test "${enable_nanox+set}" = set; then
3445 enableval=$enable_nanox;
3446 if test "$enableval" = yes; then
3447 ac_cv_use_nanox='wxUSE_NANOX=yes'
3448 else
3449 ac_cv_use_nanox='wxUSE_NANOX=no'
3450 fi
3451
3452 else
3453
3454 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x ; then
3456 eval "DEFAULT_$LINE"
3457 else
3458 no_cache=1
3459 fi
3460
3461 ac_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3462
3463 fi
3464
3465
3466 eval "$ac_cv_use_nanox"
3467 if test "$no_cache" != 1; then
3468 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3469 fi
3470
3471 if test x"$enablestring" = xdisable; then
3472 if test $wxUSE_NANOX = yes; then
3473 result=no
3474 else
3475 result=yes
3476 fi
3477 else
3478 result=$wxUSE_NANOX
3479 fi
3480
3481 { echo "$as_me:$LINENO: result: $result" >&5
3482 echo "${ECHO_T}$result" >&6; }
3483
3484
3485 # Check whether --enable-gtk2 was given.
3486 if test "${enable_gtk2+set}" = set; then
3487 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3488 fi
3489
3490
3491 enablestring=
3492 defaultval=
3493 if test -z "$defaultval"; then
3494 if test x"$enablestring" = xdisable; then
3495 defaultval=yes
3496 else
3497 defaultval=no
3498 fi
3499 fi
3500
3501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3502 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3503 no_cache=0
3504 # Check whether --enable-gpe was given.
3505 if test "${enable_gpe+set}" = set; then
3506 enableval=$enable_gpe;
3507 if test "$enableval" = yes; then
3508 ac_cv_use_gpe='wxUSE_GPE=yes'
3509 else
3510 ac_cv_use_gpe='wxUSE_GPE=no'
3511 fi
3512
3513 else
3514
3515 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3516 if test "x$LINE" != x ; then
3517 eval "DEFAULT_$LINE"
3518 else
3519 no_cache=1
3520 fi
3521
3522 ac_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3523
3524 fi
3525
3526
3527 eval "$ac_cv_use_gpe"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3530 fi
3531
3532 if test x"$enablestring" = xdisable; then
3533 if test $wxUSE_GPE = yes; then
3534 result=no
3535 else
3536 result=yes
3537 fi
3538 else
3539 result=$wxUSE_GPE
3540 fi
3541
3542 { echo "$as_me:$LINENO: result: $result" >&5
3543 echo "${ECHO_T}$result" >&6; }
3544
3545
3546
3547
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3550 no_cache=0
3551
3552 # Check whether --with-libpng was given.
3553 if test "${with_libpng+set}" = set; then
3554 withval=$with_libpng;
3555 if test "$withval" = yes; then
3556 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3557 elif test "$withval" = no; then
3558 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3559 elif test "$withval" = sys; then
3560 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3561 elif test "$withval" = builtin; then
3562 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3563 else
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568
3569 else
3570
3571 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x ; then
3573 eval "DEFAULT_$LINE"
3574 else
3575 no_cache=1
3576 fi
3577
3578 ac_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3579
3580 fi
3581
3582
3583 eval "$ac_cv_use_libpng"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3586 fi
3587
3588 if test "$wxUSE_LIBPNG" = yes; then
3589 { echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6; }
3591 elif test "$wxUSE_LIBPNG" = no; then
3592 { echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6; }
3594 elif test "$wxUSE_LIBPNG" = sys; then
3595 { echo "$as_me:$LINENO: result: system version" >&5
3596 echo "${ECHO_T}system version" >&6; }
3597 elif test "$wxUSE_LIBPNG" = builtin; then
3598 { echo "$as_me:$LINENO: result: builtin version" >&5
3599 echo "${ECHO_T}builtin version" >&6; }
3600 else
3601 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3602 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3603 { (exit 1); exit 1; }; }
3604 fi
3605
3606
3607 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3608 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3609 no_cache=0
3610
3611 # Check whether --with-libjpeg was given.
3612 if test "${with_libjpeg+set}" = set; then
3613 withval=$with_libjpeg;
3614 if test "$withval" = yes; then
3615 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3616 elif test "$withval" = no; then
3617 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3618 elif test "$withval" = sys; then
3619 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3620 elif test "$withval" = builtin; then
3621 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3622 else
3623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3624 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3625 { (exit 1); exit 1; }; }
3626 fi
3627
3628 else
3629
3630 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3631 if test "x$LINE" != x ; then
3632 eval "DEFAULT_$LINE"
3633 else
3634 no_cache=1
3635 fi
3636
3637 ac_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3638
3639 fi
3640
3641
3642 eval "$ac_cv_use_libjpeg"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3645 fi
3646
3647 if test "$wxUSE_LIBJPEG" = yes; then
3648 { echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6; }
3650 elif test "$wxUSE_LIBJPEG" = no; then
3651 { echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6; }
3653 elif test "$wxUSE_LIBJPEG" = sys; then
3654 { echo "$as_me:$LINENO: result: system version" >&5
3655 echo "${ECHO_T}system version" >&6; }
3656 elif test "$wxUSE_LIBJPEG" = builtin; then
3657 { echo "$as_me:$LINENO: result: builtin version" >&5
3658 echo "${ECHO_T}builtin version" >&6; }
3659 else
3660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3661 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3662 { (exit 1); exit 1; }; }
3663 fi
3664
3665
3666 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3667 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3668 no_cache=0
3669
3670 # Check whether --with-libtiff was given.
3671 if test "${with_libtiff+set}" = set; then
3672 withval=$with_libtiff;
3673 if test "$withval" = yes; then
3674 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3675 elif test "$withval" = no; then
3676 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3677 elif test "$withval" = sys; then
3678 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3679 elif test "$withval" = builtin; then
3680 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3681 else
3682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3683 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3684 { (exit 1); exit 1; }; }
3685 fi
3686
3687 else
3688
3689 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3690 if test "x$LINE" != x ; then
3691 eval "DEFAULT_$LINE"
3692 else
3693 no_cache=1
3694 fi
3695
3696 ac_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3697
3698 fi
3699
3700
3701 eval "$ac_cv_use_libtiff"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3704 fi
3705
3706 if test "$wxUSE_LIBTIFF" = yes; then
3707 { echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6; }
3709 elif test "$wxUSE_LIBTIFF" = no; then
3710 { echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6; }
3712 elif test "$wxUSE_LIBTIFF" = sys; then
3713 { echo "$as_me:$LINENO: result: system version" >&5
3714 echo "${ECHO_T}system version" >&6; }
3715 elif test "$wxUSE_LIBTIFF" = builtin; then
3716 { echo "$as_me:$LINENO: result: builtin version" >&5
3717 echo "${ECHO_T}builtin version" >&6; }
3718 else
3719 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3720 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3721 { (exit 1); exit 1; }; }
3722 fi
3723
3724
3725 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3726 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3727 no_cache=0
3728
3729 # Check whether --with-libxpm was given.
3730 if test "${with_libxpm+set}" = set; then
3731 withval=$with_libxpm;
3732 if test "$withval" = yes; then
3733 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3734 elif test "$withval" = no; then
3735 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3736 elif test "$withval" = sys; then
3737 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3738 elif test "$withval" = builtin; then
3739 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3740 else
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3744 fi
3745
3746 else
3747
3748 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x ; then
3750 eval "DEFAULT_$LINE"
3751 else
3752 no_cache=1
3753 fi
3754
3755 ac_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3756
3757 fi
3758
3759
3760 eval "$ac_cv_use_libxpm"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3763 fi
3764
3765 if test "$wxUSE_LIBXPM" = yes; then
3766 { echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6; }
3768 elif test "$wxUSE_LIBXPM" = no; then
3769 { echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6; }
3771 elif test "$wxUSE_LIBXPM" = sys; then
3772 { echo "$as_me:$LINENO: result: system version" >&5
3773 echo "${ECHO_T}system version" >&6; }
3774 elif test "$wxUSE_LIBXPM" = builtin; then
3775 { echo "$as_me:$LINENO: result: builtin version" >&5
3776 echo "${ECHO_T}builtin version" >&6; }
3777 else
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3781 fi
3782
3783
3784 withstring=
3785 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3786 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3787 no_cache=0
3788
3789 # Check whether --with-libmspack was given.
3790 if test "${with_libmspack+set}" = set; then
3791 withval=$with_libmspack;
3792 if test "$withval" = yes; then
3793 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3794 else
3795 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3796 fi
3797
3798 else
3799
3800 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x ; then
3802 eval "DEFAULT_$LINE"
3803 else
3804 no_cache=1
3805 fi
3806
3807 ac_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3808
3809 fi
3810
3811
3812 eval "$ac_cv_use_libmspack"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3815 fi
3816
3817 if test x"$withstring" = xwithout; then
3818 if test $wxUSE_LIBMSPACK = yes; then
3819 result=no
3820 else
3821 result=yes
3822 fi
3823 else
3824 result=$wxUSE_LIBMSPACK
3825 fi
3826
3827 { echo "$as_me:$LINENO: result: $result" >&5
3828 echo "${ECHO_T}$result" >&6; }
3829
3830
3831 withstring=without
3832 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3833 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3834 no_cache=0
3835
3836 # Check whether --with-gnomeprint was given.
3837 if test "${with_gnomeprint+set}" = set; then
3838 withval=$with_gnomeprint;
3839 if test "$withval" = yes; then
3840 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3841 else
3842 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3843 fi
3844
3845 else
3846
3847 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x ; then
3849 eval "DEFAULT_$LINE"
3850 else
3851 no_cache=1
3852 fi
3853
3854 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3855
3856 fi
3857
3858
3859 eval "$ac_cv_use_gnomeprint"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3862 fi
3863
3864 if test x"$withstring" = xwithout; then
3865 if test $wxUSE_LIBGNOMEPRINT = yes; then
3866 result=no
3867 else
3868 result=yes
3869 fi
3870 else
3871 result=$wxUSE_LIBGNOMEPRINT
3872 fi
3873
3874 { echo "$as_me:$LINENO: result: $result" >&5
3875 echo "${ECHO_T}$result" >&6; }
3876
3877
3878 withstring=
3879 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3880 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3881 no_cache=0
3882
3883 # Check whether --with-gnomevfs was given.
3884 if test "${with_gnomevfs+set}" = set; then
3885 withval=$with_gnomevfs;
3886 if test "$withval" = yes; then
3887 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3888 else
3889 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3890 fi
3891
3892 else
3893
3894 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3895 if test "x$LINE" != x ; then
3896 eval "DEFAULT_$LINE"
3897 else
3898 no_cache=1
3899 fi
3900
3901 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3902
3903 fi
3904
3905
3906 eval "$ac_cv_use_gnomevfs"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3909 fi
3910
3911 if test x"$withstring" = xwithout; then
3912 if test $wxUSE_LIBGNOMEVFS = yes; then
3913 result=no
3914 else
3915 result=yes
3916 fi
3917 else
3918 result=$wxUSE_LIBGNOMEVFS
3919 fi
3920
3921 { echo "$as_me:$LINENO: result: $result" >&5
3922 echo "${ECHO_T}$result" >&6; }
3923
3924
3925 withstring=
3926 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3927 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3928 no_cache=0
3929
3930 # Check whether --with-hildon was given.
3931 if test "${with_hildon+set}" = set; then
3932 withval=$with_hildon;
3933 if test "$withval" = yes; then
3934 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3935 else
3936 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3937 fi
3938
3939 else
3940
3941 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x ; then
3943 eval "DEFAULT_$LINE"
3944 else
3945 no_cache=1
3946 fi
3947
3948 ac_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3949
3950 fi
3951
3952
3953 eval "$ac_cv_use_hildon"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3956 fi
3957
3958 if test x"$withstring" = xwithout; then
3959 if test $wxUSE_LIBHILDON = yes; then
3960 result=no
3961 else
3962 result=yes
3963 fi
3964 else
3965 result=$wxUSE_LIBHILDON
3966 fi
3967
3968 { echo "$as_me:$LINENO: result: $result" >&5
3969 echo "${ECHO_T}$result" >&6; }
3970
3971
3972 withstring=
3973 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3974 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3975 no_cache=0
3976
3977 # Check whether --with-opengl was given.
3978 if test "${with_opengl+set}" = set; then
3979 withval=$with_opengl;
3980 if test "$withval" = yes; then
3981 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3982 else
3983 ac_cv_use_opengl='wxUSE_OPENGL=no'
3984 fi
3985
3986 else
3987
3988 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3991 else
3992 no_cache=1
3993 fi
3994
3995 ac_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
3996
3997 fi
3998
3999
4000 eval "$ac_cv_use_opengl"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4003 fi
4004
4005 if test x"$withstring" = xwithout; then
4006 if test $wxUSE_OPENGL = yes; then
4007 result=no
4008 else
4009 result=yes
4010 fi
4011 else
4012 result=$wxUSE_OPENGL
4013 fi
4014
4015 { echo "$as_me:$LINENO: result: $result" >&5
4016 echo "${ECHO_T}$result" >&6; }
4017
4018
4019 fi
4020
4021
4022 withstring=
4023 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4024 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4025 no_cache=0
4026
4027 # Check whether --with-dmalloc was given.
4028 if test "${with_dmalloc+set}" = set; then
4029 withval=$with_dmalloc;
4030 if test "$withval" = yes; then
4031 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4032 else
4033 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4034 fi
4035
4036 else
4037
4038 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4041 else
4042 no_cache=1
4043 fi
4044
4045 ac_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
4046
4047 fi
4048
4049
4050 eval "$ac_cv_use_dmalloc"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4053 fi
4054
4055 if test x"$withstring" = xwithout; then
4056 if test $wxUSE_DMALLOC = yes; then
4057 result=no
4058 else
4059 result=yes
4060 fi
4061 else
4062 result=$wxUSE_DMALLOC
4063 fi
4064
4065 { echo "$as_me:$LINENO: result: $result" >&5
4066 echo "${ECHO_T}$result" >&6; }
4067
4068
4069 withstring=
4070 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4071 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4072 no_cache=0
4073
4074 # Check whether --with-sdl was given.
4075 if test "${with_sdl+set}" = set; then
4076 withval=$with_sdl;
4077 if test "$withval" = yes; then
4078 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4079 else
4080 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4081 fi
4082
4083 else
4084
4085 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4086 if test "x$LINE" != x ; then
4087 eval "DEFAULT_$LINE"
4088 else
4089 no_cache=1
4090 fi
4091
4092 ac_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
4093
4094 fi
4095
4096
4097 eval "$ac_cv_use_sdl"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4100 fi
4101
4102 if test x"$withstring" = xwithout; then
4103 if test $wxUSE_LIBSDL = yes; then
4104 result=no
4105 else
4106 result=yes
4107 fi
4108 else
4109 result=$wxUSE_LIBSDL
4110 fi
4111
4112 { echo "$as_me:$LINENO: result: $result" >&5
4113 echo "${ECHO_T}$result" >&6; }
4114
4115
4116 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4117 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4118 no_cache=0
4119
4120 # Check whether --with-regex was given.
4121 if test "${with_regex+set}" = set; then
4122 withval=$with_regex;
4123 if test "$withval" = yes; then
4124 ac_cv_use_regex='wxUSE_REGEX=yes'
4125 elif test "$withval" = no; then
4126 ac_cv_use_regex='wxUSE_REGEX=no'
4127 elif test "$withval" = sys; then
4128 ac_cv_use_regex='wxUSE_REGEX=sys'
4129 elif test "$withval" = builtin; then
4130 ac_cv_use_regex='wxUSE_REGEX=builtin'
4131 else
4132 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4133 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4134 { (exit 1); exit 1; }; }
4135 fi
4136
4137 else
4138
4139 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x ; then
4141 eval "DEFAULT_$LINE"
4142 else
4143 no_cache=1
4144 fi
4145
4146 ac_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4147
4148 fi
4149
4150
4151 eval "$ac_cv_use_regex"
4152 if test "$no_cache" != 1; then
4153 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4154 fi
4155
4156 if test "$wxUSE_REGEX" = yes; then
4157 { echo "$as_me:$LINENO: result: yes" >&5
4158 echo "${ECHO_T}yes" >&6; }
4159 elif test "$wxUSE_REGEX" = no; then
4160 { echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6; }
4162 elif test "$wxUSE_REGEX" = sys; then
4163 { echo "$as_me:$LINENO: result: system version" >&5
4164 echo "${ECHO_T}system version" >&6; }
4165 elif test "$wxUSE_REGEX" = builtin; then
4166 { echo "$as_me:$LINENO: result: builtin version" >&5
4167 echo "${ECHO_T}builtin version" >&6; }
4168 else
4169 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4170 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4171 { (exit 1); exit 1; }; }
4172 fi
4173
4174
4175 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4176 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4177 no_cache=0
4178
4179 # Check whether --with-zlib was given.
4180 if test "${with_zlib+set}" = set; then
4181 withval=$with_zlib;
4182 if test "$withval" = yes; then
4183 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4184 elif test "$withval" = no; then
4185 ac_cv_use_zlib='wxUSE_ZLIB=no'
4186 elif test "$withval" = sys; then
4187 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4188 elif test "$withval" = builtin; then
4189 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4190 else
4191 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4192 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4193 { (exit 1); exit 1; }; }
4194 fi
4195
4196 else
4197
4198 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4199 if test "x$LINE" != x ; then
4200 eval "DEFAULT_$LINE"
4201 else
4202 no_cache=1
4203 fi
4204
4205 ac_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4206
4207 fi
4208
4209
4210 eval "$ac_cv_use_zlib"
4211 if test "$no_cache" != 1; then
4212 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4213 fi
4214
4215 if test "$wxUSE_ZLIB" = yes; then
4216 { echo "$as_me:$LINENO: result: yes" >&5
4217 echo "${ECHO_T}yes" >&6; }
4218 elif test "$wxUSE_ZLIB" = no; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 elif test "$wxUSE_ZLIB" = sys; then
4222 { echo "$as_me:$LINENO: result: system version" >&5
4223 echo "${ECHO_T}system version" >&6; }
4224 elif test "$wxUSE_ZLIB" = builtin; then
4225 { echo "$as_me:$LINENO: result: builtin version" >&5
4226 echo "${ECHO_T}builtin version" >&6; }
4227 else
4228 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4229 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4231 fi
4232
4233
4234 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4235 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4236 no_cache=0
4237
4238 # Check whether --with-odbc was given.
4239 if test "${with_odbc+set}" = set; then
4240 withval=$with_odbc;
4241 if test "$withval" = yes; then
4242 ac_cv_use_odbc='wxUSE_ODBC=yes'
4243 elif test "$withval" = no; then
4244 ac_cv_use_odbc='wxUSE_ODBC=no'
4245 elif test "$withval" = sys; then
4246 ac_cv_use_odbc='wxUSE_ODBC=sys'
4247 elif test "$withval" = builtin; then
4248 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4249 else
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4253 fi
4254
4255 else
4256
4257 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4260 else
4261 no_cache=1
4262 fi
4263
4264 ac_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4265
4266 fi
4267
4268
4269 eval "$ac_cv_use_odbc"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4272 fi
4273
4274 if test "$wxUSE_ODBC" = yes; then
4275 { echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6; }
4277 elif test "$wxUSE_ODBC" = no; then
4278 { echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6; }
4280 elif test "$wxUSE_ODBC" = sys; then
4281 { echo "$as_me:$LINENO: result: system version" >&5
4282 echo "${ECHO_T}system version" >&6; }
4283 elif test "$wxUSE_ODBC" = builtin; then
4284 { echo "$as_me:$LINENO: result: builtin version" >&5
4285 echo "${ECHO_T}builtin version" >&6; }
4286 else
4287 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4288 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4289 { (exit 1); exit 1; }; }
4290 fi
4291
4292
4293 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4294 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4295 no_cache=0
4296
4297 # Check whether --with-expat was given.
4298 if test "${with_expat+set}" = set; then
4299 withval=$with_expat;
4300 if test "$withval" = yes; then
4301 ac_cv_use_expat='wxUSE_EXPAT=yes'
4302 elif test "$withval" = no; then
4303 ac_cv_use_expat='wxUSE_EXPAT=no'
4304 elif test "$withval" = sys; then
4305 ac_cv_use_expat='wxUSE_EXPAT=sys'
4306 elif test "$withval" = builtin; then
4307 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4308 else
4309 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4310 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4311 { (exit 1); exit 1; }; }
4312 fi
4313
4314 else
4315
4316 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4319 else
4320 no_cache=1
4321 fi
4322
4323 ac_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4324
4325 fi
4326
4327
4328 eval "$ac_cv_use_expat"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_EXPAT" = yes; then
4334 { echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6; }
4336 elif test "$wxUSE_EXPAT" = no; then
4337 { echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6; }
4339 elif test "$wxUSE_EXPAT" = sys; then
4340 { echo "$as_me:$LINENO: result: system version" >&5
4341 echo "${ECHO_T}system version" >&6; }
4342 elif test "$wxUSE_EXPAT" = builtin; then
4343 { echo "$as_me:$LINENO: result: builtin version" >&5
4344 echo "${ECHO_T}builtin version" >&6; }
4345 else
4346 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4347 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4348 { (exit 1); exit 1; }; }
4349 fi
4350
4351
4352
4353
4354 enablestring=disable
4355 defaultval=
4356 if test -z "$defaultval"; then
4357 if test x"$enablestring" = xdisable; then
4358 defaultval=yes
4359 else
4360 defaultval=no
4361 fi
4362 fi
4363
4364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4366 no_cache=0
4367 # Check whether --enable-shared was given.
4368 if test "${enable_shared+set}" = set; then
4369 enableval=$enable_shared;
4370 if test "$enableval" = yes; then
4371 ac_cv_use_shared='wxUSE_SHARED=yes'
4372 else
4373 ac_cv_use_shared='wxUSE_SHARED=no'
4374 fi
4375
4376 else
4377
4378 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4379 if test "x$LINE" != x ; then
4380 eval "DEFAULT_$LINE"
4381 else
4382 no_cache=1
4383 fi
4384
4385 ac_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4386
4387 fi
4388
4389
4390 eval "$ac_cv_use_shared"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4393 fi
4394
4395 if test x"$enablestring" = xdisable; then
4396 if test $wxUSE_SHARED = yes; then
4397 result=no
4398 else
4399 result=yes
4400 fi
4401 else
4402 result=$wxUSE_SHARED
4403 fi
4404
4405 { echo "$as_me:$LINENO: result: $result" >&5
4406 echo "${ECHO_T}$result" >&6; }
4407
4408
4409 enablestring=
4410 defaultval=
4411 if test -z "$defaultval"; then
4412 if test x"$enablestring" = xdisable; then
4413 defaultval=yes
4414 else
4415 defaultval=no
4416 fi
4417 fi
4418
4419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4421 no_cache=0
4422 # Check whether --enable-optimise was given.
4423 if test "${enable_optimise+set}" = set; then
4424 enableval=$enable_optimise;
4425 if test "$enableval" = yes; then
4426 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4427 else
4428 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4429 fi
4430
4431 else
4432
4433 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 else
4437 no_cache=1
4438 fi
4439
4440 ac_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4441
4442 fi
4443
4444
4445 eval "$ac_cv_use_optimise"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4448 fi
4449
4450 if test x"$enablestring" = xdisable; then
4451 if test $wxUSE_OPTIMISE = yes; then
4452 result=no
4453 else
4454 result=yes
4455 fi
4456 else
4457 result=$wxUSE_OPTIMISE
4458 fi
4459
4460 { echo "$as_me:$LINENO: result: $result" >&5
4461 echo "${ECHO_T}$result" >&6; }
4462
4463
4464 enablestring=
4465 defaultval=
4466 if test -z "$defaultval"; then
4467 if test x"$enablestring" = xdisable; then
4468 defaultval=yes
4469 else
4470 defaultval=no
4471 fi
4472 fi
4473
4474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4475 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4476 no_cache=0
4477 # Check whether --enable-debug was given.
4478 if test "${enable_debug+set}" = set; then
4479 enableval=$enable_debug;
4480 if test "$enableval" = yes; then
4481 ac_cv_use_debug='wxUSE_DEBUG=yes'
4482 else
4483 ac_cv_use_debug='wxUSE_DEBUG=no'
4484 fi
4485
4486 else
4487
4488 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x ; then
4490 eval "DEFAULT_$LINE"
4491 else
4492 no_cache=1
4493 fi
4494
4495 ac_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4496
4497 fi
4498
4499
4500 eval "$ac_cv_use_debug"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4503 fi
4504
4505 if test x"$enablestring" = xdisable; then
4506 if test $wxUSE_DEBUG = yes; then
4507 result=no
4508 else
4509 result=yes
4510 fi
4511 else
4512 result=$wxUSE_DEBUG
4513 fi
4514
4515 { echo "$as_me:$LINENO: result: $result" >&5
4516 echo "${ECHO_T}$result" >&6; }
4517
4518
4519 enablestring=
4520 defaultval=
4521 if test -z "$defaultval"; then
4522 if test x"$enablestring" = xdisable; then
4523 defaultval=yes
4524 else
4525 defaultval=no
4526 fi
4527 fi
4528
4529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4531 no_cache=0
4532 # Check whether --enable-stl was given.
4533 if test "${enable_stl+set}" = set; then
4534 enableval=$enable_stl;
4535 if test "$enableval" = yes; then
4536 ac_cv_use_stl='wxUSE_STL=yes'
4537 else
4538 ac_cv_use_stl='wxUSE_STL=no'
4539 fi
4540
4541 else
4542
4543 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4546 else
4547 no_cache=1
4548 fi
4549
4550 ac_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4551
4552 fi
4553
4554
4555 eval "$ac_cv_use_stl"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4558 fi
4559
4560 if test x"$enablestring" = xdisable; then
4561 if test $wxUSE_STL = yes; then
4562 result=no
4563 else
4564 result=yes
4565 fi
4566 else
4567 result=$wxUSE_STL
4568 fi
4569
4570 { echo "$as_me:$LINENO: result: $result" >&5
4571 echo "${ECHO_T}$result" >&6; }
4572
4573
4574 enablestring=
4575 defaultval=
4576 if test -z "$defaultval"; then
4577 if test x"$enablestring" = xdisable; then
4578 defaultval=yes
4579 else
4580 defaultval=no
4581 fi
4582 fi
4583
4584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4586 no_cache=0
4587 # Check whether --enable-std_iostreams was given.
4588 if test "${enable_std_iostreams+set}" = set; then
4589 enableval=$enable_std_iostreams;
4590 if test "$enableval" = yes; then
4591 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4592 else
4593 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4594 fi
4595
4596 else
4597
4598 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4599 if test "x$LINE" != x ; then
4600 eval "DEFAULT_$LINE"
4601 else
4602 no_cache=1
4603 fi
4604
4605 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4606
4607 fi
4608
4609
4610 eval "$ac_cv_use_std_iostreams"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4613 fi
4614
4615 if test x"$enablestring" = xdisable; then
4616 if test $wxUSE_STD_IOSTREAM = yes; then
4617 result=no
4618 else
4619 result=yes
4620 fi
4621 else
4622 result=$wxUSE_STD_IOSTREAM
4623 fi
4624
4625 { echo "$as_me:$LINENO: result: $result" >&5
4626 echo "${ECHO_T}$result" >&6; }
4627
4628
4629 enablestring=
4630 defaultval=
4631 if test -z "$defaultval"; then
4632 if test x"$enablestring" = xdisable; then
4633 defaultval=yes
4634 else
4635 defaultval=no
4636 fi
4637 fi
4638
4639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4641 no_cache=0
4642 # Check whether --enable-std_string was given.
4643 if test "${enable_std_string+set}" = set; then
4644 enableval=$enable_std_string;
4645 if test "$enableval" = yes; then
4646 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
4647 else
4648 ac_cv_use_std_string='wxUSE_STD_STRING=no'
4649 fi
4650
4651 else
4652
4653 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4661
4662 fi
4663
4664
4665 eval "$ac_cv_use_std_string"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4668 fi
4669
4670 if test x"$enablestring" = xdisable; then
4671 if test $wxUSE_STD_STRING = yes; then
4672 result=no
4673 else
4674 result=yes
4675 fi
4676 else
4677 result=$wxUSE_STD_STRING
4678 fi
4679
4680 { echo "$as_me:$LINENO: result: $result" >&5
4681 echo "${ECHO_T}$result" >&6; }
4682
4683
4684 enablestring=disable
4685 defaultval=
4686 if test -z "$defaultval"; then
4687 if test x"$enablestring" = xdisable; then
4688 defaultval=yes
4689 else
4690 defaultval=no
4691 fi
4692 fi
4693
4694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4696 no_cache=0
4697 # Check whether --enable-unicode was given.
4698 if test "${enable_unicode+set}" = set; then
4699 enableval=$enable_unicode;
4700 if test "$enableval" = yes; then
4701 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4702 else
4703 ac_cv_use_unicode='wxUSE_UNICODE=no'
4704 fi
4705
4706 else
4707
4708 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x ; then
4710 eval "DEFAULT_$LINE"
4711 else
4712 no_cache=1
4713 fi
4714
4715 ac_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4716
4717 fi
4718
4719
4720 eval "$ac_cv_use_unicode"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4723 fi
4724
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_UNICODE = yes; then
4727 result=no
4728 else
4729 result=yes
4730 fi
4731 else
4732 result=$wxUSE_UNICODE
4733 fi
4734
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4737
4738
4739 enablestring=
4740 defaultval=
4741 if test -z "$defaultval"; then
4742 if test x"$enablestring" = xdisable; then
4743 defaultval=yes
4744 else
4745 defaultval=no
4746 fi
4747 fi
4748
4749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4751 no_cache=0
4752 # Check whether --enable-mslu was given.
4753 if test "${enable_mslu+set}" = set; then
4754 enableval=$enable_mslu;
4755 if test "$enableval" = yes; then
4756 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4757 else
4758 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4759 fi
4760
4761 else
4762
4763 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4764 if test "x$LINE" != x ; then
4765 eval "DEFAULT_$LINE"
4766 else
4767 no_cache=1
4768 fi
4769
4770 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4771
4772 fi
4773
4774
4775 eval "$ac_cv_use_mslu"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4778 fi
4779
4780 if test x"$enablestring" = xdisable; then
4781 if test $wxUSE_UNICODE_MSLU = yes; then
4782 result=no
4783 else
4784 result=yes
4785 fi
4786 else
4787 result=$wxUSE_UNICODE_MSLU
4788 fi
4789
4790 { echo "$as_me:$LINENO: result: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4792
4793
4794 enablestring=
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4797 no_cache=0
4798 # Check whether --enable-utf8 was given.
4799 if test "${enable_utf8+set}" = set; then
4800 enableval=$enable_utf8;
4801 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4802
4803 else
4804
4805 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4808 else
4809 no_cache=1
4810 fi
4811
4812 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4813
4814 fi
4815
4816
4817 eval "$wx_cv_use_utf8"
4818 if test "$no_cache" != 1; then
4819 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4820 fi
4821
4822 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4823 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4824
4825
4826 enablestring=
4827 defaultval=
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4830 defaultval=yes
4831 else
4832 defaultval=no
4833 fi
4834 fi
4835
4836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4838 no_cache=0
4839 # Check whether --enable-utf8only was given.
4840 if test "${enable_utf8only+set}" = set; then
4841 enableval=$enable_utf8only;
4842 if test "$enableval" = yes; then
4843 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4844 else
4845 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4846 fi
4847
4848 else
4849
4850 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x ; then
4852 eval "DEFAULT_$LINE"
4853 else
4854 no_cache=1
4855 fi
4856
4857 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4858
4859 fi
4860
4861
4862 eval "$ac_cv_use_utf8only"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4865 fi
4866
4867 if test x"$enablestring" = xdisable; then
4868 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4869 result=no
4870 else
4871 result=yes
4872 fi
4873 else
4874 result=$wxUSE_UNICODE_UTF8_LOCALE
4875 fi
4876
4877 { echo "$as_me:$LINENO: result: $result" >&5
4878 echo "${ECHO_T}$result" >&6; }
4879
4880
4881 enablestring=
4882 defaultval=
4883 if test -z "$defaultval"; then
4884 if test x"$enablestring" = xdisable; then
4885 defaultval=yes
4886 else
4887 defaultval=no
4888 fi
4889 fi
4890
4891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4893 no_cache=0
4894 # Check whether --enable-extended_rtti was given.
4895 if test "${enable_extended_rtti+set}" = set; then
4896 enableval=$enable_extended_rtti;
4897 if test "$enableval" = yes; then
4898 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4899 else
4900 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4901 fi
4902
4903 else
4904
4905 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x ; then
4907 eval "DEFAULT_$LINE"
4908 else
4909 no_cache=1
4910 fi
4911
4912 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4913
4914 fi
4915
4916
4917 eval "$ac_cv_use_extended_rtti"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4920 fi
4921
4922 if test x"$enablestring" = xdisable; then
4923 if test $wxUSE_EXTENDED_RTTI = yes; then
4924 result=no
4925 else
4926 result=yes
4927 fi
4928 else
4929 result=$wxUSE_EXTENDED_RTTI
4930 fi
4931
4932 { echo "$as_me:$LINENO: result: $result" >&5
4933 echo "${ECHO_T}$result" >&6; }
4934
4935 if test "$USE_OS2" = "1"; then
4936 DEFAULT_wxUSE_OMF=no
4937
4938 enablestring=
4939 defaultval=
4940 if test -z "$defaultval"; then
4941 if test x"$enablestring" = xdisable; then
4942 defaultval=yes
4943 else
4944 defaultval=no
4945 fi
4946 fi
4947
4948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4950 no_cache=0
4951 # Check whether --enable-omf was given.
4952 if test "${enable_omf+set}" = set; then
4953 enableval=$enable_omf;
4954 if test "$enableval" = yes; then
4955 ac_cv_use_omf='wxUSE_OMF=yes'
4956 else
4957 ac_cv_use_omf='wxUSE_OMF=no'
4958 fi
4959
4960 else
4961
4962 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 else
4966 no_cache=1
4967 fi
4968
4969 ac_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4970
4971 fi
4972
4973
4974 eval "$ac_cv_use_omf"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4977 fi
4978
4979 if test x"$enablestring" = xdisable; then
4980 if test $wxUSE_OMF = yes; then
4981 result=no
4982 else
4983 result=yes
4984 fi
4985 else
4986 result=$wxUSE_OMF
4987 fi
4988
4989 { echo "$as_me:$LINENO: result: $result" >&5
4990 echo "${ECHO_T}$result" >&6; }
4991
4992 fi
4993
4994 if test "$wxUSE_DEBUG" = "yes"; then
4995 DEFAULT_wxUSE_DEBUG_FLAG=yes
4996 DEFAULT_wxUSE_DEBUG_INFO=yes
4997 BUILD=debug
4998 elif test "$wxUSE_DEBUG" = "no"; then
4999 DEFAULT_wxUSE_DEBUG_FLAG=no
5000 DEFAULT_wxUSE_DEBUG_INFO=no
5001 BUILD=release
5002 fi
5003
5004
5005 enablestring=
5006 defaultval=
5007 if test -z "$defaultval"; then
5008 if test x"$enablestring" = xdisable; then
5009 defaultval=yes
5010 else
5011 defaultval=no
5012 fi
5013 fi
5014
5015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5016 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5017 no_cache=0
5018 # Check whether --enable-debug_flag was given.
5019 if test "${enable_debug_flag+set}" = set; then
5020 enableval=$enable_debug_flag;
5021 if test "$enableval" = yes; then
5022 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5023 else
5024 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5025 fi
5026
5027 else
5028
5029 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x ; then
5031 eval "DEFAULT_$LINE"
5032 else
5033 no_cache=1
5034 fi
5035
5036 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5037
5038 fi
5039
5040
5041 eval "$ac_cv_use_debug_flag"
5042 if test "$no_cache" != 1; then
5043 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5044 fi
5045
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_DEBUG_FLAG = yes; then
5048 result=no
5049 else
5050 result=yes
5051 fi
5052 else
5053 result=$wxUSE_DEBUG_FLAG
5054 fi
5055
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5058
5059
5060 enablestring=
5061 defaultval=
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5064 defaultval=yes
5065 else
5066 defaultval=no
5067 fi
5068 fi
5069
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5072 no_cache=0
5073 # Check whether --enable-debug_info was given.
5074 if test "${enable_debug_info+set}" = set; then
5075 enableval=$enable_debug_info;
5076 if test "$enableval" = yes; then
5077 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5078 else
5079 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5080 fi
5081
5082 else
5083
5084 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5087 else
5088 no_cache=1
5089 fi
5090
5091 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5092
5093 fi
5094
5095
5096 eval "$ac_cv_use_debug_info"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test x"$enablestring" = xdisable; then
5102 if test $wxUSE_DEBUG_INFO = yes; then
5103 result=no
5104 else
5105 result=yes
5106 fi
5107 else
5108 result=$wxUSE_DEBUG_INFO
5109 fi
5110
5111 { echo "$as_me:$LINENO: result: $result" >&5
5112 echo "${ECHO_T}$result" >&6; }
5113
5114
5115 enablestring=
5116 defaultval=
5117 if test -z "$defaultval"; then
5118 if test x"$enablestring" = xdisable; then
5119 defaultval=yes
5120 else
5121 defaultval=no
5122 fi
5123 fi
5124
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5127 no_cache=0
5128 # Check whether --enable-debug_gdb was given.
5129 if test "${enable_debug_gdb+set}" = set; then
5130 enableval=$enable_debug_gdb;
5131 if test "$enableval" = yes; then
5132 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5133 else
5134 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5135 fi
5136
5137 else
5138
5139 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5142 else
5143 no_cache=1
5144 fi
5145
5146 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5147
5148 fi
5149
5150
5151 eval "$ac_cv_use_debug_gdb"
5152 if test "$no_cache" != 1; then
5153 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5154 fi
5155
5156 if test x"$enablestring" = xdisable; then
5157 if test $wxUSE_DEBUG_GDB = yes; then
5158 result=no
5159 else
5160 result=yes
5161 fi
5162 else
5163 result=$wxUSE_DEBUG_GDB
5164 fi
5165
5166 { echo "$as_me:$LINENO: result: $result" >&5
5167 echo "${ECHO_T}$result" >&6; }
5168
5169
5170 enablestring=
5171 defaultval=
5172 if test -z "$defaultval"; then
5173 if test x"$enablestring" = xdisable; then
5174 defaultval=yes
5175 else
5176 defaultval=no
5177 fi
5178 fi
5179
5180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5181 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5182 no_cache=0
5183 # Check whether --enable-debug_cntxt was given.
5184 if test "${enable_debug_cntxt+set}" = set; then
5185 enableval=$enable_debug_cntxt;
5186 if test "$enableval" = yes; then
5187 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5188 else
5189 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5190 fi
5191
5192 else
5193
5194 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5195 if test "x$LINE" != x ; then
5196 eval "DEFAULT_$LINE"
5197 else
5198 no_cache=1
5199 fi
5200
5201 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5202
5203 fi
5204
5205
5206 eval "$ac_cv_use_debug_cntxt"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5209 fi
5210
5211 if test x"$enablestring" = xdisable; then
5212 if test $wxUSE_DEBUG_CONTEXT = yes; then
5213 result=no
5214 else
5215 result=yes
5216 fi
5217 else
5218 result=$wxUSE_DEBUG_CONTEXT
5219 fi
5220
5221 { echo "$as_me:$LINENO: result: $result" >&5
5222 echo "${ECHO_T}$result" >&6; }
5223
5224
5225 enablestring=
5226 defaultval=
5227 if test -z "$defaultval"; then
5228 if test x"$enablestring" = xdisable; then
5229 defaultval=yes
5230 else
5231 defaultval=no
5232 fi
5233 fi
5234
5235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5237 no_cache=0
5238 # Check whether --enable-mem_tracing was given.
5239 if test "${enable_mem_tracing+set}" = set; then
5240 enableval=$enable_mem_tracing;
5241 if test "$enableval" = yes; then
5242 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5243 else
5244 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5245 fi
5246
5247 else
5248
5249 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5252 else
5253 no_cache=1
5254 fi
5255
5256 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5257
5258 fi
5259
5260
5261 eval "$ac_cv_use_mem_tracing"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5264 fi
5265
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_MEM_TRACING = yes; then
5268 result=no
5269 else
5270 result=yes
5271 fi
5272 else
5273 result=$wxUSE_MEM_TRACING
5274 fi
5275
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5278
5279
5280 enablestring=
5281 defaultval=
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5284 defaultval=yes
5285 else
5286 defaultval=no
5287 fi
5288 fi
5289
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5292 no_cache=0
5293 # Check whether --enable-profile was given.
5294 if test "${enable_profile+set}" = set; then
5295 enableval=$enable_profile;
5296 if test "$enableval" = yes; then
5297 ac_cv_use_profile='wxUSE_PROFILE=yes'
5298 else
5299 ac_cv_use_profile='wxUSE_PROFILE=no'
5300 fi
5301
5302 else
5303
5304 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5307 else
5308 no_cache=1
5309 fi
5310
5311 ac_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5312
5313 fi
5314
5315
5316 eval "$ac_cv_use_profile"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5319 fi
5320
5321 if test x"$enablestring" = xdisable; then
5322 if test $wxUSE_PROFILE = yes; then
5323 result=no
5324 else
5325 result=yes
5326 fi
5327 else
5328 result=$wxUSE_PROFILE
5329 fi
5330
5331 { echo "$as_me:$LINENO: result: $result" >&5
5332 echo "${ECHO_T}$result" >&6; }
5333
5334
5335 enablestring=
5336 defaultval=
5337 if test -z "$defaultval"; then
5338 if test x"$enablestring" = xdisable; then
5339 defaultval=yes
5340 else
5341 defaultval=no
5342 fi
5343 fi
5344
5345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5347 no_cache=0
5348 # Check whether --enable-no_rtti was given.
5349 if test "${enable_no_rtti+set}" = set; then
5350 enableval=$enable_no_rtti;
5351 if test "$enableval" = yes; then
5352 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5353 else
5354 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5355 fi
5356
5357 else
5358
5359 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5360 if test "x$LINE" != x ; then
5361 eval "DEFAULT_$LINE"
5362 else
5363 no_cache=1
5364 fi
5365
5366 ac_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5367
5368 fi
5369
5370
5371 eval "$ac_cv_use_no_rtti"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5374 fi
5375
5376 if test x"$enablestring" = xdisable; then
5377 if test $wxUSE_NO_RTTI = yes; then
5378 result=no
5379 else
5380 result=yes
5381 fi
5382 else
5383 result=$wxUSE_NO_RTTI
5384 fi
5385
5386 { echo "$as_me:$LINENO: result: $result" >&5
5387 echo "${ECHO_T}$result" >&6; }
5388
5389
5390 enablestring=
5391 defaultval=
5392 if test -z "$defaultval"; then
5393 if test x"$enablestring" = xdisable; then
5394 defaultval=yes
5395 else
5396 defaultval=no
5397 fi
5398 fi
5399
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5402 no_cache=0
5403 # Check whether --enable-no_exceptions was given.
5404 if test "${enable_no_exceptions+set}" = set; then
5405 enableval=$enable_no_exceptions;
5406 if test "$enableval" = yes; then
5407 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5408 else
5409 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5410 fi
5411
5412 else
5413
5414 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 else
5418 no_cache=1
5419 fi
5420
5421 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5422
5423 fi
5424
5425
5426 eval "$ac_cv_use_no_exceptions"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test x"$enablestring" = xdisable; then
5432 if test $wxUSE_NO_EXCEPTIONS = yes; then
5433 result=no
5434 else
5435 result=yes
5436 fi
5437 else
5438 result=$wxUSE_NO_EXCEPTIONS
5439 fi
5440
5441 { echo "$as_me:$LINENO: result: $result" >&5
5442 echo "${ECHO_T}$result" >&6; }
5443
5444
5445 enablestring=
5446 defaultval=
5447 if test -z "$defaultval"; then
5448 if test x"$enablestring" = xdisable; then
5449 defaultval=yes
5450 else
5451 defaultval=no
5452 fi
5453 fi
5454
5455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5457 no_cache=0
5458 # Check whether --enable-permissive was given.
5459 if test "${enable_permissive+set}" = set; then
5460 enableval=$enable_permissive;
5461 if test "$enableval" = yes; then
5462 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5463 else
5464 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5465 fi
5466
5467 else
5468
5469 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x ; then
5471 eval "DEFAULT_$LINE"
5472 else
5473 no_cache=1
5474 fi
5475
5476 ac_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5477
5478 fi
5479
5480
5481 eval "$ac_cv_use_permissive"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5484 fi
5485
5486 if test x"$enablestring" = xdisable; then
5487 if test $wxUSE_PERMISSIVE = yes; then
5488 result=no
5489 else
5490 result=yes
5491 fi
5492 else
5493 result=$wxUSE_PERMISSIVE
5494 fi
5495
5496 { echo "$as_me:$LINENO: result: $result" >&5
5497 echo "${ECHO_T}$result" >&6; }
5498
5499
5500 enablestring=
5501 defaultval=
5502 if test -z "$defaultval"; then
5503 if test x"$enablestring" = xdisable; then
5504 defaultval=yes
5505 else
5506 defaultval=no
5507 fi
5508 fi
5509
5510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5511 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5512 no_cache=0
5513 # Check whether --enable-no_deps was given.
5514 if test "${enable_no_deps+set}" = set; then
5515 enableval=$enable_no_deps;
5516 if test "$enableval" = yes; then
5517 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5518 else
5519 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5520 fi
5521
5522 else
5523
5524 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x ; then
5526 eval "DEFAULT_$LINE"
5527 else
5528 no_cache=1
5529 fi
5530
5531 ac_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5532
5533 fi
5534
5535
5536 eval "$ac_cv_use_no_deps"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5539 fi
5540
5541 if test x"$enablestring" = xdisable; then
5542 if test $wxUSE_NO_DEPS = yes; then
5543 result=no
5544 else
5545 result=yes
5546 fi
5547 else
5548 result=$wxUSE_NO_DEPS
5549 fi
5550
5551 { echo "$as_me:$LINENO: result: $result" >&5
5552 echo "${ECHO_T}$result" >&6; }
5553
5554
5555 enablestring=disable
5556 defaultval=
5557 if test -z "$defaultval"; then
5558 if test x"$enablestring" = xdisable; then
5559 defaultval=yes
5560 else
5561 defaultval=no
5562 fi
5563 fi
5564
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5567 no_cache=0
5568 # Check whether --enable-vararg_macros was given.
5569 if test "${enable_vararg_macros+set}" = set; then
5570 enableval=$enable_vararg_macros;
5571 if test "$enableval" = yes; then
5572 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5573 else
5574 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5587
5588 fi
5589
5590
5591 eval "$ac_cv_use_vararg_macros"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5594 fi
5595
5596 if test x"$enablestring" = xdisable; then
5597 if test $wxUSE_VARARG_MACROS = yes; then
5598 result=no
5599 else
5600 result=yes
5601 fi
5602 else
5603 result=$wxUSE_VARARG_MACROS
5604 fi
5605
5606 { echo "$as_me:$LINENO: result: $result" >&5
5607 echo "${ECHO_T}$result" >&6; }
5608
5609
5610 enablestring=
5611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5612 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5613 no_cache=0
5614 # Check whether --enable-universal_binary was given.
5615 if test "${enable_universal_binary+set}" = set; then
5616 enableval=$enable_universal_binary;
5617 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5618
5619 else
5620
5621 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5622 if test "x$LINE" != x ; then
5623 eval "DEFAULT_$LINE"
5624 else
5625 no_cache=1
5626 fi
5627
5628 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5629
5630 fi
5631
5632
5633 eval "$wx_cv_use_universal_binary"
5634 if test "$no_cache" != 1; then
5635 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5636 fi
5637
5638 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5639 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5640
5641
5642
5643 enablestring=
5644 defaultval=
5645 if test -z "$defaultval"; then
5646 if test x"$enablestring" = xdisable; then
5647 defaultval=yes
5648 else
5649 defaultval=no
5650 fi
5651 fi
5652
5653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5654 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5655 no_cache=0
5656 # Check whether --enable-compat26 was given.
5657 if test "${enable_compat26+set}" = set; then
5658 enableval=$enable_compat26;
5659 if test "$enableval" = yes; then
5660 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5661 else
5662 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5663 fi
5664
5665 else
5666
5667 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5668 if test "x$LINE" != x ; then
5669 eval "DEFAULT_$LINE"
5670 else
5671 no_cache=1
5672 fi
5673
5674 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5675
5676 fi
5677
5678
5679 eval "$ac_cv_use_compat26"
5680 if test "$no_cache" != 1; then
5681 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5682 fi
5683
5684 if test x"$enablestring" = xdisable; then
5685 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5686 result=no
5687 else
5688 result=yes
5689 fi
5690 else
5691 result=$WXWIN_COMPATIBILITY_2_6
5692 fi
5693
5694 { echo "$as_me:$LINENO: result: $result" >&5
5695 echo "${ECHO_T}$result" >&6; }
5696
5697
5698 enablestring=disable
5699 defaultval=
5700 if test -z "$defaultval"; then
5701 if test x"$enablestring" = xdisable; then
5702 defaultval=yes
5703 else
5704 defaultval=no
5705 fi
5706 fi
5707
5708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5710 no_cache=0
5711 # Check whether --enable-compat28 was given.
5712 if test "${enable_compat28+set}" = set; then
5713 enableval=$enable_compat28;
5714 if test "$enableval" = yes; then
5715 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5716 else
5717 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5718 fi
5719
5720 else
5721
5722 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5730
5731 fi
5732
5733
5734 eval "$ac_cv_use_compat28"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5737 fi
5738
5739 if test x"$enablestring" = xdisable; then
5740 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5741 result=no
5742 else
5743 result=yes
5744 fi
5745 else
5746 result=$WXWIN_COMPATIBILITY_2_8
5747 fi
5748
5749 { echo "$as_me:$LINENO: result: $result" >&5
5750 echo "${ECHO_T}$result" >&6; }
5751
5752
5753
5754 enablestring=disable
5755 defaultval=
5756 if test -z "$defaultval"; then
5757 if test x"$enablestring" = xdisable; then
5758 defaultval=yes
5759 else
5760 defaultval=no
5761 fi
5762 fi
5763
5764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5766 no_cache=0
5767 # Check whether --enable-rpath was given.
5768 if test "${enable_rpath+set}" = set; then
5769 enableval=$enable_rpath;
5770 if test "$enableval" = yes; then
5771 ac_cv_use_rpath='wxUSE_RPATH=yes'
5772 else
5773 ac_cv_use_rpath='wxUSE_RPATH=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5786
5787 fi
5788
5789
5790 eval "$ac_cv_use_rpath"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5793 fi
5794
5795 if test x"$enablestring" = xdisable; then
5796 if test $wxUSE_RPATH = yes; then
5797 result=no
5798 else
5799 result=yes
5800 fi
5801 else
5802 result=$wxUSE_RPATH
5803 fi
5804
5805 { echo "$as_me:$LINENO: result: $result" >&5
5806 echo "${ECHO_T}$result" >&6; }
5807
5808
5809
5810 enablestring=
5811 defaultval=
5812 if test -z "$defaultval"; then
5813 if test x"$enablestring" = xdisable; then
5814 defaultval=yes
5815 else
5816 defaultval=no
5817 fi
5818 fi
5819
5820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5821 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5822 no_cache=0
5823 # Check whether --enable-objc_uniquifying was given.
5824 if test "${enable_objc_uniquifying+set}" = set; then
5825 enableval=$enable_objc_uniquifying;
5826 if test "$enableval" = yes; then
5827 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5828 else
5829 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5830 fi
5831
5832 else
5833
5834 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x ; then
5836 eval "DEFAULT_$LINE"
5837 else
5838 no_cache=1
5839 fi
5840
5841 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5842
5843 fi
5844
5845
5846 eval "$ac_cv_use_objc_uniquifying"
5847 if test "$no_cache" != 1; then
5848 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5849 fi
5850
5851 if test x"$enablestring" = xdisable; then
5852 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5853 result=no
5854 else
5855 result=yes
5856 fi
5857 else
5858 result=$wxUSE_OBJC_UNIQUIFYING
5859 fi
5860
5861 { echo "$as_me:$LINENO: result: $result" >&5
5862 echo "${ECHO_T}$result" >&6; }
5863
5864
5865
5866
5867 enablestring=
5868 defaultval=$wxUSE_ALL_FEATURES
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5871 defaultval=yes
5872 else
5873 defaultval=no
5874 fi
5875 fi
5876
5877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5879 no_cache=0
5880 # Check whether --enable-intl was given.
5881 if test "${enable_intl+set}" = set; then
5882 enableval=$enable_intl;
5883 if test "$enableval" = yes; then
5884 ac_cv_use_intl='wxUSE_INTL=yes'
5885 else
5886 ac_cv_use_intl='wxUSE_INTL=no'
5887 fi
5888
5889 else
5890
5891 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5894 else
5895 no_cache=1
5896 fi
5897
5898 ac_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5899
5900 fi
5901
5902
5903 eval "$ac_cv_use_intl"
5904 if test "$no_cache" != 1; then
5905 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5906 fi
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_INTL = yes; then
5910 result=no
5911 else
5912 result=yes
5913 fi
5914 else
5915 result=$wxUSE_INTL
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5934 no_cache=0
5935 # Check whether --enable-config was given.
5936 if test "${enable_config+set}" = set; then
5937 enableval=$enable_config;
5938 if test "$enableval" = yes; then
5939 ac_cv_use_config='wxUSE_CONFIG=yes'
5940 else
5941 ac_cv_use_config='wxUSE_CONFIG=no'
5942 fi
5943
5944 else
5945
5946 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5947 if test "x$LINE" != x ; then
5948 eval "DEFAULT_$LINE"
5949 else
5950 no_cache=1
5951 fi
5952
5953 ac_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5954
5955 fi
5956
5957
5958 eval "$ac_cv_use_config"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5961 fi
5962
5963 if test x"$enablestring" = xdisable; then
5964 if test $wxUSE_CONFIG = yes; then
5965 result=no
5966 else
5967 result=yes
5968 fi
5969 else
5970 result=$wxUSE_CONFIG
5971 fi
5972
5973 { echo "$as_me:$LINENO: result: $result" >&5
5974 echo "${ECHO_T}$result" >&6; }
5975
5976
5977
5978 enablestring=
5979 defaultval=$wxUSE_ALL_FEATURES
5980 if test -z "$defaultval"; then
5981 if test x"$enablestring" = xdisable; then
5982 defaultval=yes
5983 else
5984 defaultval=no
5985 fi
5986 fi
5987
5988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5990 no_cache=0
5991 # Check whether --enable-protocols was given.
5992 if test "${enable_protocols+set}" = set; then
5993 enableval=$enable_protocols;
5994 if test "$enableval" = yes; then
5995 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5996 else
5997 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5998 fi
5999
6000 else
6001
6002 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x ; then
6004 eval "DEFAULT_$LINE"
6005 else
6006 no_cache=1
6007 fi
6008
6009 ac_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6010
6011 fi
6012
6013
6014 eval "$ac_cv_use_protocols"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6017 fi
6018
6019 if test x"$enablestring" = xdisable; then
6020 if test $wxUSE_PROTOCOL = yes; then
6021 result=no
6022 else
6023 result=yes
6024 fi
6025 else
6026 result=$wxUSE_PROTOCOL
6027 fi
6028
6029 { echo "$as_me:$LINENO: result: $result" >&5
6030 echo "${ECHO_T}$result" >&6; }
6031
6032
6033 enablestring=
6034 defaultval=$wxUSE_ALL_FEATURES
6035 if test -z "$defaultval"; then
6036 if test x"$enablestring" = xdisable; then
6037 defaultval=yes
6038 else
6039 defaultval=no
6040 fi
6041 fi
6042
6043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6045 no_cache=0
6046 # Check whether --enable-ftp was given.
6047 if test "${enable_ftp+set}" = set; then
6048 enableval=$enable_ftp;
6049 if test "$enableval" = yes; then
6050 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6051 else
6052 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6053 fi
6054
6055 else
6056
6057 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6065
6066 fi
6067
6068
6069 eval "$ac_cv_use_ftp"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test x"$enablestring" = xdisable; then
6075 if test $wxUSE_PROTOCOL_FTP = yes; then
6076 result=no
6077 else
6078 result=yes
6079 fi
6080 else
6081 result=$wxUSE_PROTOCOL_FTP
6082 fi
6083
6084 { echo "$as_me:$LINENO: result: $result" >&5
6085 echo "${ECHO_T}$result" >&6; }
6086
6087
6088 enablestring=
6089 defaultval=$wxUSE_ALL_FEATURES
6090 if test -z "$defaultval"; then
6091 if test x"$enablestring" = xdisable; then
6092 defaultval=yes
6093 else
6094 defaultval=no
6095 fi
6096 fi
6097
6098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6099 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6100 no_cache=0
6101 # Check whether --enable-http was given.
6102 if test "${enable_http+set}" = set; then
6103 enableval=$enable_http;
6104 if test "$enableval" = yes; then
6105 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6106 else
6107 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6108 fi
6109
6110 else
6111
6112 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6120
6121 fi
6122
6123
6124 eval "$ac_cv_use_http"
6125 if test "$no_cache" != 1; then
6126 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
6127 fi
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_PROTOCOL_HTTP = yes; then
6131 result=no
6132 else
6133 result=yes
6134 fi
6135 else
6136 result=$wxUSE_PROTOCOL_HTTP
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6155 no_cache=0
6156 # Check whether --enable-fileproto was given.
6157 if test "${enable_fileproto+set}" = set; then
6158 enableval=$enable_fileproto;
6159 if test "$enableval" = yes; then
6160 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6161 else
6162 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6163 fi
6164
6165 else
6166
6167 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x ; then
6169 eval "DEFAULT_$LINE"
6170 else
6171 no_cache=1
6172 fi
6173
6174 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6175
6176 fi
6177
6178
6179 eval "$ac_cv_use_fileproto"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6182 fi
6183
6184 if test x"$enablestring" = xdisable; then
6185 if test $wxUSE_PROTOCOL_FILE = yes; then
6186 result=no
6187 else
6188 result=yes
6189 fi
6190 else
6191 result=$wxUSE_PROTOCOL_FILE
6192 fi
6193
6194 { echo "$as_me:$LINENO: result: $result" >&5
6195 echo "${ECHO_T}$result" >&6; }
6196
6197
6198 enablestring=
6199 defaultval=$wxUSE_ALL_FEATURES
6200 if test -z "$defaultval"; then
6201 if test x"$enablestring" = xdisable; then
6202 defaultval=yes
6203 else
6204 defaultval=no
6205 fi
6206 fi
6207
6208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6210 no_cache=0
6211 # Check whether --enable-sockets was given.
6212 if test "${enable_sockets+set}" = set; then
6213 enableval=$enable_sockets;
6214 if test "$enableval" = yes; then
6215 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
6216 else
6217 ac_cv_use_sockets='wxUSE_SOCKETS=no'
6218 fi
6219
6220 else
6221
6222 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6223 if test "x$LINE" != x ; then
6224 eval "DEFAULT_$LINE"
6225 else
6226 no_cache=1
6227 fi
6228
6229 ac_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6230
6231 fi
6232
6233
6234 eval "$ac_cv_use_sockets"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6237 fi
6238
6239 if test x"$enablestring" = xdisable; then
6240 if test $wxUSE_SOCKETS = yes; then
6241 result=no
6242 else
6243 result=yes
6244 fi
6245 else
6246 result=$wxUSE_SOCKETS
6247 fi
6248
6249 { echo "$as_me:$LINENO: result: $result" >&5
6250 echo "${ECHO_T}$result" >&6; }
6251
6252
6253 enablestring=
6254 defaultval=$wxUSE_ALL_FEATURES
6255 if test -z "$defaultval"; then
6256 if test x"$enablestring" = xdisable; then
6257 defaultval=yes
6258 else
6259 defaultval=no
6260 fi
6261 fi
6262
6263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6265 no_cache=0
6266 # Check whether --enable-ole was given.
6267 if test "${enable_ole+set}" = set; then
6268 enableval=$enable_ole;
6269 if test "$enableval" = yes; then
6270 ac_cv_use_ole='wxUSE_OLE=yes'
6271 else
6272 ac_cv_use_ole='wxUSE_OLE=no'
6273 fi
6274
6275 else
6276
6277 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x ; then
6279 eval "DEFAULT_$LINE"
6280 else
6281 no_cache=1
6282 fi
6283
6284 ac_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6285
6286 fi
6287
6288
6289 eval "$ac_cv_use_ole"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
6292 fi
6293
6294 if test x"$enablestring" = xdisable; then
6295 if test $wxUSE_OLE = yes; then
6296 result=no
6297 else
6298 result=yes
6299 fi
6300 else
6301 result=$wxUSE_OLE
6302 fi
6303
6304 { echo "$as_me:$LINENO: result: $result" >&5
6305 echo "${ECHO_T}$result" >&6; }
6306
6307
6308 enablestring=
6309 defaultval=$wxUSE_ALL_FEATURES
6310 if test -z "$defaultval"; then
6311 if test x"$enablestring" = xdisable; then
6312 defaultval=yes
6313 else
6314 defaultval=no
6315 fi
6316 fi
6317
6318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6320 no_cache=0
6321 # Check whether --enable-dataobj was given.
6322 if test "${enable_dataobj+set}" = set; then
6323 enableval=$enable_dataobj;
6324 if test "$enableval" = yes; then
6325 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6326 else
6327 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
6328 fi
6329
6330 else
6331
6332 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6333 if test "x$LINE" != x ; then
6334 eval "DEFAULT_$LINE"
6335 else
6336 no_cache=1
6337 fi
6338
6339 ac_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6340
6341 fi
6342
6343
6344 eval "$ac_cv_use_dataobj"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6347 fi
6348
6349 if test x"$enablestring" = xdisable; then
6350 if test $wxUSE_DATAOBJ = yes; then
6351 result=no
6352 else
6353 result=yes
6354 fi
6355 else
6356 result=$wxUSE_DATAOBJ
6357 fi
6358
6359 { echo "$as_me:$LINENO: result: $result" >&5
6360 echo "${ECHO_T}$result" >&6; }
6361
6362
6363
6364 enablestring=
6365 defaultval=$wxUSE_ALL_FEATURES
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6368 defaultval=yes
6369 else
6370 defaultval=no
6371 fi
6372 fi
6373
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6376 no_cache=0
6377 # Check whether --enable-ipc was given.
6378 if test "${enable_ipc+set}" = set; then
6379 enableval=$enable_ipc;
6380 if test "$enableval" = yes; then
6381 ac_cv_use_ipc='wxUSE_IPC=yes'
6382 else
6383 ac_cv_use_ipc='wxUSE_IPC=no'
6384 fi
6385
6386 else
6387
6388 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x ; then
6390 eval "DEFAULT_$LINE"
6391 else
6392 no_cache=1
6393 fi
6394
6395 ac_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6396
6397 fi
6398
6399
6400 eval "$ac_cv_use_ipc"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test x"$enablestring" = xdisable; then
6406 if test $wxUSE_IPC = yes; then
6407 result=no
6408 else
6409 result=yes
6410 fi
6411 else
6412 result=$wxUSE_IPC
6413 fi
6414
6415 { echo "$as_me:$LINENO: result: $result" >&5
6416 echo "${ECHO_T}$result" >&6; }
6417
6418
6419
6420 enablestring=
6421 defaultval=$wxUSE_ALL_FEATURES
6422 if test -z "$defaultval"; then
6423 if test x"$enablestring" = xdisable; then
6424 defaultval=yes
6425 else
6426 defaultval=no
6427 fi
6428 fi
6429
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6432 no_cache=0
6433 # Check whether --enable-apple_ieee was given.
6434 if test "${enable_apple_ieee+set}" = set; then
6435 enableval=$enable_apple_ieee;
6436 if test "$enableval" = yes; then
6437 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6438 else
6439 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6440 fi
6441
6442 else
6443
6444 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6452
6453 fi
6454
6455
6456 eval "$ac_cv_use_apple_ieee"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test x"$enablestring" = xdisable; then
6462 if test $wxUSE_APPLE_IEEE = yes; then
6463 result=no
6464 else
6465 result=yes
6466 fi
6467 else
6468 result=$wxUSE_APPLE_IEEE
6469 fi
6470
6471 { echo "$as_me:$LINENO: result: $result" >&5
6472 echo "${ECHO_T}$result" >&6; }
6473
6474
6475 enablestring=
6476 defaultval=$wxUSE_ALL_FEATURES
6477 if test -z "$defaultval"; then
6478 if test x"$enablestring" = xdisable; then
6479 defaultval=yes
6480 else
6481 defaultval=no
6482 fi
6483 fi
6484
6485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6487 no_cache=0
6488 # Check whether --enable-arcstream was given.
6489 if test "${enable_arcstream+set}" = set; then
6490 enableval=$enable_arcstream;
6491 if test "$enableval" = yes; then
6492 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6493 else
6494 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6495 fi
6496
6497 else
6498
6499 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6502 else
6503 no_cache=1
6504 fi
6505
6506 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6507
6508 fi
6509
6510
6511 eval "$ac_cv_use_arcstream"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6514 fi
6515
6516 if test x"$enablestring" = xdisable; then
6517 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6518 result=no
6519 else
6520 result=yes
6521 fi
6522 else
6523 result=$wxUSE_ARCHIVE_STREAMS
6524 fi
6525
6526 { echo "$as_me:$LINENO: result: $result" >&5
6527 echo "${ECHO_T}$result" >&6; }
6528
6529
6530 enablestring=
6531 defaultval=$wxUSE_ALL_FEATURES
6532 if test -z "$defaultval"; then
6533 if test x"$enablestring" = xdisable; then
6534 defaultval=yes
6535 else
6536 defaultval=no
6537 fi
6538 fi
6539
6540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6542 no_cache=0
6543 # Check whether --enable-base64 was given.
6544 if test "${enable_base64+set}" = set; then
6545 enableval=$enable_base64;
6546 if test "$enableval" = yes; then
6547 ac_cv_use_base64='wxUSE_BASE64=yes'
6548 else
6549 ac_cv_use_base64='wxUSE_BASE64=no'
6550 fi
6551
6552 else
6553
6554 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x ; then
6556 eval "DEFAULT_$LINE"
6557 else
6558 no_cache=1
6559 fi
6560
6561 ac_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6562
6563 fi
6564
6565
6566 eval "$ac_cv_use_base64"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_BASE64 = yes; then
6573 result=no
6574 else
6575 result=yes
6576 fi
6577 else
6578 result=$wxUSE_BASE64
6579 fi
6580
6581 { echo "$as_me:$LINENO: result: $result" >&5
6582 echo "${ECHO_T}$result" >&6; }
6583
6584
6585 enablestring=
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6589 defaultval=yes
6590 else
6591 defaultval=no
6592 fi
6593 fi
6594
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6597 no_cache=0
6598 # Check whether --enable-backtrace was given.
6599 if test "${enable_backtrace+set}" = set; then
6600 enableval=$enable_backtrace;
6601 if test "$enableval" = yes; then
6602 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6603 else
6604 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6617
6618 fi
6619
6620
6621 eval "$ac_cv_use_backtrace"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test x"$enablestring" = xdisable; then
6627 if test $wxUSE_STACKWALKER = yes; then
6628 result=no
6629 else
6630 result=yes
6631 fi
6632 else
6633 result=$wxUSE_STACKWALKER
6634 fi
6635
6636 { echo "$as_me:$LINENO: result: $result" >&5
6637 echo "${ECHO_T}$result" >&6; }
6638
6639
6640 enablestring=
6641 defaultval=$wxUSE_ALL_FEATURES
6642 if test -z "$defaultval"; then
6643 if test x"$enablestring" = xdisable; then
6644 defaultval=yes
6645 else
6646 defaultval=no
6647 fi
6648 fi
6649
6650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6652 no_cache=0
6653 # Check whether --enable-catch_segvs was given.
6654 if test "${enable_catch_segvs+set}" = set; then
6655 enableval=$enable_catch_segvs;
6656 if test "$enableval" = yes; then
6657 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6658 else
6659 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6660 fi
6661
6662 else
6663
6664 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x ; then
6666 eval "DEFAULT_$LINE"
6667 else
6668 no_cache=1
6669 fi
6670
6671 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6672
6673 fi
6674
6675
6676 eval "$ac_cv_use_catch_segvs"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6679 fi
6680
6681 if test x"$enablestring" = xdisable; then
6682 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6683 result=no
6684 else
6685 result=yes
6686 fi
6687 else
6688 result=$wxUSE_ON_FATAL_EXCEPTION
6689 fi
6690
6691 { echo "$as_me:$LINENO: result: $result" >&5
6692 echo "${ECHO_T}$result" >&6; }
6693
6694
6695 enablestring=
6696 defaultval=$wxUSE_ALL_FEATURES
6697 if test -z "$defaultval"; then
6698 if test x"$enablestring" = xdisable; then
6699 defaultval=yes
6700 else
6701 defaultval=no
6702 fi
6703 fi
6704
6705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6707 no_cache=0
6708 # Check whether --enable-cmdline was given.
6709 if test "${enable_cmdline+set}" = set; then
6710 enableval=$enable_cmdline;
6711 if test "$enableval" = yes; then
6712 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6713 else
6714 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6715 fi
6716
6717 else
6718
6719 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6720 if test "x$LINE" != x ; then
6721 eval "DEFAULT_$LINE"
6722 else
6723 no_cache=1
6724 fi
6725
6726 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6727
6728 fi
6729
6730
6731 eval "$ac_cv_use_cmdline"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6734 fi
6735
6736 if test x"$enablestring" = xdisable; then
6737 if test $wxUSE_CMDLINE_PARSER = yes; then
6738 result=no
6739 else
6740 result=yes
6741 fi
6742 else
6743 result=$wxUSE_CMDLINE_PARSER
6744 fi
6745
6746 { echo "$as_me:$LINENO: result: $result" >&5
6747 echo "${ECHO_T}$result" >&6; }
6748
6749
6750 enablestring=
6751 defaultval=$wxUSE_ALL_FEATURES
6752 if test -z "$defaultval"; then
6753 if test x"$enablestring" = xdisable; then
6754 defaultval=yes
6755 else
6756 defaultval=no
6757 fi
6758 fi
6759
6760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6761 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6762 no_cache=0
6763 # Check whether --enable-datetime was given.
6764 if test "${enable_datetime+set}" = set; then
6765 enableval=$enable_datetime;
6766 if test "$enableval" = yes; then
6767 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6768 else
6769 ac_cv_use_datetime='wxUSE_DATETIME=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6782
6783 fi
6784
6785
6786 eval "$ac_cv_use_datetime"
6787 if test "$no_cache" != 1; then
6788 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6789 fi
6790
6791 if test x"$enablestring" = xdisable; then
6792 if test $wxUSE_DATETIME = yes; then
6793 result=no
6794 else
6795 result=yes
6796 fi
6797 else
6798 result=$wxUSE_DATETIME
6799 fi
6800
6801 { echo "$as_me:$LINENO: result: $result" >&5
6802 echo "${ECHO_T}$result" >&6; }
6803
6804
6805 enablestring=
6806 defaultval=$wxUSE_ALL_FEATURES
6807 if test -z "$defaultval"; then
6808 if test x"$enablestring" = xdisable; then
6809 defaultval=yes
6810 else
6811 defaultval=no
6812 fi
6813 fi
6814
6815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6817 no_cache=0
6818 # Check whether --enable-debugreport was given.
6819 if test "${enable_debugreport+set}" = set; then
6820 enableval=$enable_debugreport;
6821 if test "$enableval" = yes; then
6822 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6823 else
6824 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6825 fi
6826
6827 else
6828
6829 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x ; then
6831 eval "DEFAULT_$LINE"
6832 else
6833 no_cache=1
6834 fi
6835
6836 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6837
6838 fi
6839
6840
6841 eval "$ac_cv_use_debugreport"
6842 if test "$no_cache" != 1; then
6843 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6844 fi
6845
6846 if test x"$enablestring" = xdisable; then
6847 if test $wxUSE_DEBUGREPORT = yes; then
6848 result=no
6849 else
6850 result=yes
6851 fi
6852 else
6853 result=$wxUSE_DEBUGREPORT
6854 fi
6855
6856 { echo "$as_me:$LINENO: result: $result" >&5
6857 echo "${ECHO_T}$result" >&6; }
6858
6859
6860 enablestring=
6861 defaultval=$wxUSE_ALL_FEATURES
6862 if test -z "$defaultval"; then
6863 if test x"$enablestring" = xdisable; then
6864 defaultval=yes
6865 else
6866 defaultval=no
6867 fi
6868 fi
6869
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6872 no_cache=0
6873 # Check whether --enable-dialupman was given.
6874 if test "${enable_dialupman+set}" = set; then
6875 enableval=$enable_dialupman;
6876 if test "$enableval" = yes; then
6877 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6878 else
6879 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6880 fi
6881
6882 else
6883
6884 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6887 else
6888 no_cache=1
6889 fi
6890
6891 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6892
6893 fi
6894
6895
6896 eval "$ac_cv_use_dialupman"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6899 fi
6900
6901 if test x"$enablestring" = xdisable; then
6902 if test $wxUSE_DIALUP_MANAGER = yes; then
6903 result=no
6904 else
6905 result=yes
6906 fi
6907 else
6908 result=$wxUSE_DIALUP_MANAGER
6909 fi
6910
6911 { echo "$as_me:$LINENO: result: $result" >&5
6912 echo "${ECHO_T}$result" >&6; }
6913
6914
6915 enablestring=
6916 defaultval=$wxUSE_ALL_FEATURES
6917 if test -z "$defaultval"; then
6918 if test x"$enablestring" = xdisable; then
6919 defaultval=yes
6920 else
6921 defaultval=no
6922 fi
6923 fi
6924
6925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6927 no_cache=0
6928 # Check whether --enable-dynlib was given.
6929 if test "${enable_dynlib+set}" = set; then
6930 enableval=$enable_dynlib;
6931 if test "$enableval" = yes; then
6932 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6933 else
6934 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6935 fi
6936
6937 else
6938
6939 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x ; then
6941 eval "DEFAULT_$LINE"
6942 else
6943 no_cache=1
6944 fi
6945
6946 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6947
6948 fi
6949
6950
6951 eval "$ac_cv_use_dynlib"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test x"$enablestring" = xdisable; then
6957 if test $wxUSE_DYNLIB_CLASS = yes; then
6958 result=no
6959 else
6960 result=yes
6961 fi
6962 else
6963 result=$wxUSE_DYNLIB_CLASS
6964 fi
6965
6966 { echo "$as_me:$LINENO: result: $result" >&5
6967 echo "${ECHO_T}$result" >&6; }
6968
6969
6970 enablestring=
6971 defaultval=$wxUSE_ALL_FEATURES
6972 if test -z "$defaultval"; then
6973 if test x"$enablestring" = xdisable; then
6974 defaultval=yes
6975 else
6976 defaultval=no
6977 fi
6978 fi
6979
6980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6982 no_cache=0
6983 # Check whether --enable-dynamicloader was given.
6984 if test "${enable_dynamicloader+set}" = set; then
6985 enableval=$enable_dynamicloader;
6986 if test "$enableval" = yes; then
6987 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6988 else
6989 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6990 fi
6991
6992 else
6993
6994 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6995 if test "x$LINE" != x ; then
6996 eval "DEFAULT_$LINE"
6997 else
6998 no_cache=1
6999 fi
7000
7001 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7002
7003 fi
7004
7005
7006 eval "$ac_cv_use_dynamicloader"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test x"$enablestring" = xdisable; then
7012 if test $wxUSE_DYNAMIC_LOADER = yes; then
7013 result=no
7014 else
7015 result=yes
7016 fi
7017 else
7018 result=$wxUSE_DYNAMIC_LOADER
7019 fi
7020
7021 { echo "$as_me:$LINENO: result: $result" >&5
7022 echo "${ECHO_T}$result" >&6; }
7023
7024
7025 enablestring=
7026 defaultval=$wxUSE_ALL_FEATURES
7027 if test -z "$defaultval"; then
7028 if test x"$enablestring" = xdisable; then
7029 defaultval=yes
7030 else
7031 defaultval=no
7032 fi
7033 fi
7034
7035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7036 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7037 no_cache=0
7038 # Check whether --enable-exceptions was given.
7039 if test "${enable_exceptions+set}" = set; then
7040 enableval=$enable_exceptions;
7041 if test "$enableval" = yes; then
7042 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7043 else
7044 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7045 fi
7046
7047 else
7048
7049 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7050 if test "x$LINE" != x ; then
7051 eval "DEFAULT_$LINE"
7052 else
7053 no_cache=1
7054 fi
7055
7056 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7057
7058 fi
7059
7060
7061 eval "$ac_cv_use_exceptions"
7062 if test "$no_cache" != 1; then
7063 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7064 fi
7065
7066 if test x"$enablestring" = xdisable; then
7067 if test $wxUSE_EXCEPTIONS = yes; then
7068 result=no
7069 else
7070 result=yes
7071 fi
7072 else
7073 result=$wxUSE_EXCEPTIONS
7074 fi
7075
7076 { echo "$as_me:$LINENO: result: $result" >&5
7077 echo "${ECHO_T}$result" >&6; }
7078
7079
7080 enablestring=
7081 defaultval=$wxUSE_ALL_FEATURES
7082 if test -z "$defaultval"; then
7083 if test x"$enablestring" = xdisable; then
7084 defaultval=yes
7085 else
7086 defaultval=no
7087 fi
7088 fi
7089
7090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7092 no_cache=0
7093 # Check whether --enable-ffile was given.
7094 if test "${enable_ffile+set}" = set; then
7095 enableval=$enable_ffile;
7096 if test "$enableval" = yes; then
7097 ac_cv_use_ffile='wxUSE_FFILE=yes'
7098 else
7099 ac_cv_use_ffile='wxUSE_FFILE=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7112
7113 fi
7114
7115
7116 eval "$ac_cv_use_ffile"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7119 fi
7120
7121 if test x"$enablestring" = xdisable; then
7122 if test $wxUSE_FFILE = yes; then
7123 result=no
7124 else
7125 result=yes
7126 fi
7127 else
7128 result=$wxUSE_FFILE
7129 fi
7130
7131 { echo "$as_me:$LINENO: result: $result" >&5
7132 echo "${ECHO_T}$result" >&6; }
7133
7134
7135 enablestring=
7136 defaultval=$wxUSE_ALL_FEATURES
7137 if test -z "$defaultval"; then
7138 if test x"$enablestring" = xdisable; then
7139 defaultval=yes
7140 else
7141 defaultval=no
7142 fi
7143 fi
7144
7145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7146 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7147 no_cache=0
7148 # Check whether --enable-file was given.
7149 if test "${enable_file+set}" = set; then
7150 enableval=$enable_file;
7151 if test "$enableval" = yes; then
7152 ac_cv_use_file='wxUSE_FILE=yes'
7153 else
7154 ac_cv_use_file='wxUSE_FILE=no'
7155 fi
7156
7157 else
7158
7159 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7167
7168 fi
7169
7170
7171 eval "$ac_cv_use_file"
7172 if test "$no_cache" != 1; then
7173 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
7174 fi
7175
7176 if test x"$enablestring" = xdisable; then
7177 if test $wxUSE_FILE = yes; then
7178 result=no
7179 else
7180 result=yes
7181 fi
7182 else
7183 result=$wxUSE_FILE
7184 fi
7185
7186 { echo "$as_me:$LINENO: result: $result" >&5
7187 echo "${ECHO_T}$result" >&6; }
7188
7189
7190 enablestring=
7191 defaultval=$wxUSE_ALL_FEATURES
7192 if test -z "$defaultval"; then
7193 if test x"$enablestring" = xdisable; then
7194 defaultval=yes
7195 else
7196 defaultval=no
7197 fi
7198 fi
7199
7200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7201 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7202 no_cache=0
7203 # Check whether --enable-filesystem was given.
7204 if test "${enable_filesystem+set}" = set; then
7205 enableval=$enable_filesystem;
7206 if test "$enableval" = yes; then
7207 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7208 else
7209 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7210 fi
7211
7212 else
7213
7214 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x ; then
7216 eval "DEFAULT_$LINE"
7217 else
7218 no_cache=1
7219 fi
7220
7221 ac_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7222
7223 fi
7224
7225
7226 eval "$ac_cv_use_filesystem"
7227 if test "$no_cache" != 1; then
7228 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7229 fi
7230
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_FILESYSTEM = yes; then
7233 result=no
7234 else
7235 result=yes
7236 fi
7237 else
7238 result=$wxUSE_FILESYSTEM
7239 fi
7240
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7243
7244
7245 enablestring=
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7249 defaultval=yes
7250 else
7251 defaultval=no
7252 fi
7253 fi
7254
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7257 no_cache=0
7258 # Check whether --enable-fontmap was given.
7259 if test "${enable_fontmap+set}" = set; then
7260 enableval=$enable_fontmap;
7261 if test "$enableval" = yes; then
7262 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
7263 else
7264 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
7265 fi
7266
7267 else
7268
7269 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7270 if test "x$LINE" != x ; then
7271 eval "DEFAULT_$LINE"
7272 else
7273 no_cache=1
7274 fi
7275
7276 ac_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7277
7278 fi
7279
7280
7281 eval "$ac_cv_use_fontmap"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_FONTMAP = yes; then
7288 result=no
7289 else
7290 result=yes
7291 fi
7292 else
7293 result=$wxUSE_FONTMAP
7294 fi
7295
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7298
7299
7300 enablestring=
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7304 defaultval=yes
7305 else
7306 defaultval=no
7307 fi
7308 fi
7309
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7312 no_cache=0
7313 # Check whether --enable-fs_archive was given.
7314 if test "${enable_fs_archive+set}" = set; then
7315 enableval=$enable_fs_archive;
7316 if test "$enableval" = yes; then
7317 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7318 else
7319 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7320 fi
7321
7322 else
7323
7324 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7327 else
7328 no_cache=1
7329 fi
7330
7331 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7332
7333 fi
7334
7335
7336 eval "$ac_cv_use_fs_archive"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test x"$enablestring" = xdisable; then
7342 if test $wxUSE_FS_ARCHIVE = yes; then
7343 result=no
7344 else
7345 result=yes
7346 fi
7347 else
7348 result=$wxUSE_FS_ARCHIVE
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}-fs_inet" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7367 no_cache=0
7368 # Check whether --enable-fs_inet was given.
7369 if test "${enable_fs_inet+set}" = set; then
7370 enableval=$enable_fs_inet;
7371 if test "$enableval" = yes; then
7372 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
7373 else
7374 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
7375 fi
7376
7377 else
7378
7379 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7382 else
7383 no_cache=1
7384 fi
7385
7386 ac_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7387
7388 fi
7389
7390
7391 eval "$ac_cv_use_fs_inet"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7394 fi
7395
7396 if test x"$enablestring" = xdisable; then
7397 if test $wxUSE_FS_INET = yes; then
7398 result=no
7399 else
7400 result=yes
7401 fi
7402 else
7403 result=$wxUSE_FS_INET
7404 fi
7405
7406 { echo "$as_me:$LINENO: result: $result" >&5
7407 echo "${ECHO_T}$result" >&6; }
7408
7409
7410 enablestring=
7411 defaultval=$wxUSE_ALL_FEATURES
7412 if test -z "$defaultval"; then
7413 if test x"$enablestring" = xdisable; then
7414 defaultval=yes
7415 else
7416 defaultval=no
7417 fi
7418 fi
7419
7420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7422 no_cache=0
7423 # Check whether --enable-fs_zip was given.
7424 if test "${enable_fs_zip+set}" = set; then
7425 enableval=$enable_fs_zip;
7426 if test "$enableval" = yes; then
7427 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7428 else
7429 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7430 fi
7431
7432 else
7433
7434 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 else
7438 no_cache=1
7439 fi
7440
7441 ac_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7442
7443 fi
7444
7445
7446 eval "$ac_cv_use_fs_zip"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7449 fi
7450
7451 if test x"$enablestring" = xdisable; then
7452 if test $wxUSE_FS_ZIP = yes; then
7453 result=no
7454 else
7455 result=yes
7456 fi
7457 else
7458 result=$wxUSE_FS_ZIP
7459 fi
7460
7461 { echo "$as_me:$LINENO: result: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7463
7464
7465 enablestring=
7466 defaultval=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x"$enablestring" = xdisable; then
7469 defaultval=yes
7470 else
7471 defaultval=no
7472 fi
7473 fi
7474
7475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7477 no_cache=0
7478 # Check whether --enable-geometry was given.
7479 if test "${enable_geometry+set}" = set; then
7480 enableval=$enable_geometry;
7481 if test "$enableval" = yes; then
7482 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
7483 else
7484 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
7485 fi
7486
7487 else
7488
7489 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7492 else
7493 no_cache=1
7494 fi
7495
7496 ac_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7497
7498 fi
7499
7500
7501 eval "$ac_cv_use_geometry"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7504 fi
7505
7506 if test x"$enablestring" = xdisable; then
7507 if test $wxUSE_GEOMETRY = yes; then
7508 result=no
7509 else
7510 result=yes
7511 fi
7512 else
7513 result=$wxUSE_GEOMETRY
7514 fi
7515
7516 { echo "$as_me:$LINENO: result: $result" >&5
7517 echo "${ECHO_T}$result" >&6; }
7518
7519
7520 enablestring=
7521 defaultval=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x"$enablestring" = xdisable; then
7524 defaultval=yes
7525 else
7526 defaultval=no
7527 fi
7528 fi
7529
7530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7532 no_cache=0
7533 # Check whether --enable-log was given.
7534 if test "${enable_log+set}" = set; then
7535 enableval=$enable_log;
7536 if test "$enableval" = yes; then
7537 ac_cv_use_log='wxUSE_LOG=yes'
7538 else
7539 ac_cv_use_log='wxUSE_LOG=no'
7540 fi
7541
7542 else
7543
7544 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x ; then
7546 eval "DEFAULT_$LINE"
7547 else
7548 no_cache=1
7549 fi
7550
7551 ac_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7552
7553 fi
7554
7555
7556 eval "$ac_cv_use_log"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
7559 fi
7560
7561 if test x"$enablestring" = xdisable; then
7562 if test $wxUSE_LOG = yes; then
7563 result=no
7564 else
7565 result=yes
7566 fi
7567 else
7568 result=$wxUSE_LOG
7569 fi
7570
7571 { echo "$as_me:$LINENO: result: $result" >&5
7572 echo "${ECHO_T}$result" >&6; }
7573
7574
7575 enablestring=
7576 defaultval=$wxUSE_ALL_FEATURES
7577 if test -z "$defaultval"; then
7578 if test x"$enablestring" = xdisable; then
7579 defaultval=yes
7580 else
7581 defaultval=no
7582 fi
7583 fi
7584
7585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7587 no_cache=0
7588 # Check whether --enable-longlong was given.
7589 if test "${enable_longlong+set}" = set; then
7590 enableval=$enable_longlong;
7591 if test "$enableval" = yes; then
7592 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
7593 else
7594 ac_cv_use_longlong='wxUSE_LONGLONG=no'
7595 fi
7596
7597 else
7598
7599 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7602 else
7603 no_cache=1
7604 fi
7605
7606 ac_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7607
7608 fi
7609
7610
7611 eval "$ac_cv_use_longlong"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7614 fi
7615
7616 if test x"$enablestring" = xdisable; then
7617 if test $wxUSE_LONGLONG = yes; then
7618 result=no
7619 else
7620 result=yes
7621 fi
7622 else
7623 result=$wxUSE_LONGLONG
7624 fi
7625
7626 { echo "$as_me:$LINENO: result: $result" >&5
7627 echo "${ECHO_T}$result" >&6; }
7628
7629
7630 enablestring=
7631 defaultval=$wxUSE_ALL_FEATURES
7632 if test -z "$defaultval"; then
7633 if test x"$enablestring" = xdisable; then
7634 defaultval=yes
7635 else
7636 defaultval=no
7637 fi
7638 fi
7639
7640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7641 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7642 no_cache=0
7643 # Check whether --enable-mimetype was given.
7644 if test "${enable_mimetype+set}" = set; then
7645 enableval=$enable_mimetype;
7646 if test "$enableval" = yes; then
7647 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7648 else
7649 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
7650 fi
7651
7652 else
7653
7654 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x ; then
7656 eval "DEFAULT_$LINE"
7657 else
7658 no_cache=1
7659 fi
7660
7661 ac_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7662
7663 fi
7664
7665
7666 eval "$ac_cv_use_mimetype"
7667 if test "$no_cache" != 1; then
7668 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7669 fi
7670
7671 if test x"$enablestring" = xdisable; then
7672 if test $wxUSE_MIMETYPE = yes; then
7673 result=no
7674 else
7675 result=yes
7676 fi
7677 else
7678 result=$wxUSE_MIMETYPE
7679 fi
7680
7681 { echo "$as_me:$LINENO: result: $result" >&5
7682 echo "${ECHO_T}$result" >&6; }
7683
7684
7685 enablestring=
7686 defaultval=$wxUSE_ALL_FEATURES
7687 if test -z "$defaultval"; then
7688 if test x"$enablestring" = xdisable; then
7689 defaultval=yes
7690 else
7691 defaultval=no
7692 fi
7693 fi
7694
7695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7696 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7697 no_cache=0
7698 # Check whether --enable-snglinst was given.
7699 if test "${enable_snglinst+set}" = set; then
7700 enableval=$enable_snglinst;
7701 if test "$enableval" = yes; then
7702 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7703 else
7704 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7705 fi
7706
7707 else
7708
7709 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7710 if test "x$LINE" != x ; then
7711 eval "DEFAULT_$LINE"
7712 else
7713 no_cache=1
7714 fi
7715
7716 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7717
7718 fi
7719
7720
7721 eval "$ac_cv_use_snglinst"
7722 if test "$no_cache" != 1; then
7723 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
7724 fi
7725
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_SNGLINST_CHECKER = yes; then
7728 result=no
7729 else
7730 result=yes
7731 fi
7732 else
7733 result=$wxUSE_SNGLINST_CHECKER
7734 fi
7735
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7738
7739
7740 enablestring=
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7744 defaultval=yes
7745 else
7746 defaultval=no
7747 fi
7748 fi
7749
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7752 no_cache=0
7753 # Check whether --enable-stdpaths was given.
7754 if test "${enable_stdpaths+set}" = set; then
7755 enableval=$enable_stdpaths;
7756 if test "$enableval" = yes; then
7757 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7758 else
7759 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7760 fi
7761
7762 else
7763
7764 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 else
7768 no_cache=1
7769 fi
7770
7771 ac_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7772
7773 fi
7774
7775
7776 eval "$ac_cv_use_stdpaths"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7779 fi
7780
7781 if test x"$enablestring" = xdisable; then
7782 if test $wxUSE_STDPATHS = yes; then
7783 result=no
7784 else
7785 result=yes
7786 fi
7787 else
7788 result=$wxUSE_STDPATHS
7789 fi
7790
7791 { echo "$as_me:$LINENO: result: $result" >&5
7792 echo "${ECHO_T}$result" >&6; }
7793
7794
7795 enablestring=
7796 defaultval=$wxUSE_ALL_FEATURES
7797 if test -z "$defaultval"; then
7798 if test x"$enablestring" = xdisable; then
7799 defaultval=yes
7800 else
7801 defaultval=no
7802 fi
7803 fi
7804
7805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7806 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7807 no_cache=0
7808 # Check whether --enable-stopwatch was given.
7809 if test "${enable_stopwatch+set}" = set; then
7810 enableval=$enable_stopwatch;
7811 if test "$enableval" = yes; then
7812 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7813 else
7814 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7815 fi
7816
7817 else
7818
7819 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x ; then
7821 eval "DEFAULT_$LINE"
7822 else
7823 no_cache=1
7824 fi
7825
7826 ac_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7827
7828 fi
7829
7830
7831 eval "$ac_cv_use_stopwatch"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7834 fi
7835
7836 if test x"$enablestring" = xdisable; then
7837 if test $wxUSE_STOPWATCH = yes; then
7838 result=no
7839 else
7840 result=yes
7841 fi
7842 else
7843 result=$wxUSE_STOPWATCH
7844 fi
7845
7846 { echo "$as_me:$LINENO: result: $result" >&5
7847 echo "${ECHO_T}$result" >&6; }
7848
7849
7850 enablestring=
7851 defaultval=$wxUSE_ALL_FEATURES
7852 if test -z "$defaultval"; then
7853 if test x"$enablestring" = xdisable; then
7854 defaultval=yes
7855 else
7856 defaultval=no
7857 fi
7858 fi
7859
7860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7861 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7862 no_cache=0
7863 # Check whether --enable-streams was given.
7864 if test "${enable_streams+set}" = set; then
7865 enableval=$enable_streams;
7866 if test "$enableval" = yes; then
7867 ac_cv_use_streams='wxUSE_STREAMS=yes'
7868 else
7869 ac_cv_use_streams='wxUSE_STREAMS=no'
7870 fi
7871
7872 else
7873
7874 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7875 if test "x$LINE" != x ; then
7876 eval "DEFAULT_$LINE"
7877 else
7878 no_cache=1
7879 fi
7880
7881 ac_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7882
7883 fi
7884
7885
7886 eval "$ac_cv_use_streams"
7887 if test "$no_cache" != 1; then
7888 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7889 fi
7890
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_STREAMS = yes; then
7893 result=no
7894 else
7895 result=yes
7896 fi
7897 else
7898 result=$wxUSE_STREAMS
7899 fi
7900
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7903
7904
7905 enablestring=
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7909 defaultval=yes
7910 else
7911 defaultval=no
7912 fi
7913 fi
7914
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7917 no_cache=0
7918 # Check whether --enable-system_options was given.
7919 if test "${enable_system_options+set}" = set; then
7920 enableval=$enable_system_options;
7921 if test "$enableval" = yes; then
7922 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7923 else
7924 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7925 fi
7926
7927 else
7928
7929 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 else
7933 no_cache=1
7934 fi
7935
7936 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7937
7938 fi
7939
7940
7941 eval "$ac_cv_use_system_options"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7944 fi
7945
7946 if test x"$enablestring" = xdisable; then
7947 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7948 result=no
7949 else
7950 result=yes
7951 fi
7952 else
7953 result=$wxUSE_SYSTEM_OPTIONS
7954 fi
7955
7956 { echo "$as_me:$LINENO: result: $result" >&5
7957 echo "${ECHO_T}$result" >&6; }
7958
7959
7960 enablestring=
7961 defaultval=$wxUSE_ALL_FEATURES
7962 if test -z "$defaultval"; then
7963 if test x"$enablestring" = xdisable; then
7964 defaultval=yes
7965 else
7966 defaultval=no
7967 fi
7968 fi
7969
7970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7972 no_cache=0
7973 # Check whether --enable-tarstream was given.
7974 if test "${enable_tarstream+set}" = set; then
7975 enableval=$enable_tarstream;
7976 if test "$enableval" = yes; then
7977 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7978 else
7979 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7980 fi
7981
7982 else
7983
7984 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7985 if test "x$LINE" != x ; then
7986 eval "DEFAULT_$LINE"
7987 else
7988 no_cache=1
7989 fi
7990
7991 ac_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7992
7993 fi
7994
7995
7996 eval "$ac_cv_use_tarstream"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7999 fi
8000
8001 if test x"$enablestring" = xdisable; then
8002 if test $wxUSE_TARSTREAM = yes; then
8003 result=no
8004 else
8005 result=yes
8006 fi
8007 else
8008 result=$wxUSE_TARSTREAM
8009 fi
8010
8011 { echo "$as_me:$LINENO: result: $result" >&5
8012 echo "${ECHO_T}$result" >&6; }
8013
8014
8015 enablestring=
8016 defaultval=$wxUSE_ALL_FEATURES
8017 if test -z "$defaultval"; then
8018 if test x"$enablestring" = xdisable; then
8019 defaultval=yes
8020 else
8021 defaultval=no
8022 fi
8023 fi
8024
8025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8026 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8027 no_cache=0
8028 # Check whether --enable-textbuf was given.
8029 if test "${enable_textbuf+set}" = set; then
8030 enableval=$enable_textbuf;
8031 if test "$enableval" = yes; then
8032 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8033 else
8034 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8035 fi
8036
8037 else
8038
8039 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8040 if test "x$LINE" != x ; then
8041 eval "DEFAULT_$LINE"
8042 else
8043 no_cache=1
8044 fi
8045
8046 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8047
8048 fi
8049
8050
8051 eval "$ac_cv_use_textbuf"
8052 if test "$no_cache" != 1; then
8053 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8054 fi
8055
8056 if test x"$enablestring" = xdisable; then
8057 if test $wxUSE_TEXTBUFFER = yes; then
8058 result=no
8059 else
8060 result=yes
8061 fi
8062 else
8063 result=$wxUSE_TEXTBUFFER
8064 fi
8065
8066 { echo "$as_me:$LINENO: result: $result" >&5
8067 echo "${ECHO_T}$result" >&6; }
8068
8069
8070 enablestring=
8071 defaultval=$wxUSE_ALL_FEATURES
8072 if test -z "$defaultval"; then
8073 if test x"$enablestring" = xdisable; then
8074 defaultval=yes
8075 else
8076 defaultval=no
8077 fi
8078 fi
8079
8080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8081 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8082 no_cache=0
8083 # Check whether --enable-textfile was given.
8084 if test "${enable_textfile+set}" = set; then
8085 enableval=$enable_textfile;
8086 if test "$enableval" = yes; then
8087 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
8088 else
8089 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
8090 fi
8091
8092 else
8093
8094 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8097 else
8098 no_cache=1
8099 fi
8100
8101 ac_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8102
8103 fi
8104
8105
8106 eval "$ac_cv_use_textfile"
8107 if test "$no_cache" != 1; then
8108 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8109 fi
8110
8111 if test x"$enablestring" = xdisable; then
8112 if test $wxUSE_TEXTFILE = yes; then
8113 result=no
8114 else
8115 result=yes
8116 fi
8117 else
8118 result=$wxUSE_TEXTFILE
8119 fi
8120
8121 { echo "$as_me:$LINENO: result: $result" >&5
8122 echo "${ECHO_T}$result" >&6; }
8123
8124
8125 enablestring=
8126 defaultval=$wxUSE_ALL_FEATURES
8127 if test -z "$defaultval"; then
8128 if test x"$enablestring" = xdisable; then
8129 defaultval=yes
8130 else
8131 defaultval=no
8132 fi
8133 fi
8134
8135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8137 no_cache=0
8138 # Check whether --enable-timer was given.
8139 if test "${enable_timer+set}" = set; then
8140 enableval=$enable_timer;
8141 if test "$enableval" = yes; then
8142 ac_cv_use_timer='wxUSE_TIMER=yes'
8143 else
8144 ac_cv_use_timer='wxUSE_TIMER=no'
8145 fi
8146
8147 else
8148
8149 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x ; then
8151 eval "DEFAULT_$LINE"
8152 else
8153 no_cache=1
8154 fi
8155
8156 ac_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8157
8158 fi
8159
8160
8161 eval "$ac_cv_use_timer"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
8164 fi
8165
8166 if test x"$enablestring" = xdisable; then
8167 if test $wxUSE_TIMER = yes; then
8168 result=no
8169 else
8170 result=yes
8171 fi
8172 else
8173 result=$wxUSE_TIMER
8174 fi
8175
8176 { echo "$as_me:$LINENO: result: $result" >&5
8177 echo "${ECHO_T}$result" >&6; }
8178
8179
8180 enablestring=
8181 defaultval=$wxUSE_ALL_FEATURES
8182 if test -z "$defaultval"; then
8183 if test x"$enablestring" = xdisable; then
8184 defaultval=yes
8185 else
8186 defaultval=no
8187 fi
8188 fi
8189
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8192 no_cache=0
8193 # Check whether --enable-sound was given.
8194 if test "${enable_sound+set}" = set; then
8195 enableval=$enable_sound;
8196 if test "$enableval" = yes; then
8197 ac_cv_use_sound='wxUSE_SOUND=yes'
8198 else
8199 ac_cv_use_sound='wxUSE_SOUND=no'
8200 fi
8201
8202 else
8203
8204 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x ; then
8206 eval "DEFAULT_$LINE"
8207 else
8208 no_cache=1
8209 fi
8210
8211 ac_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8212
8213 fi
8214
8215
8216 eval "$ac_cv_use_sound"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
8219 fi
8220
8221 if test x"$enablestring" = xdisable; then
8222 if test $wxUSE_SOUND = yes; then
8223 result=no
8224 else
8225 result=yes
8226 fi
8227 else
8228 result=$wxUSE_SOUND
8229 fi
8230
8231 { echo "$as_me:$LINENO: result: $result" >&5
8232 echo "${ECHO_T}$result" >&6; }
8233
8234
8235 enablestring=
8236 defaultval=$wxUSE_ALL_FEATURES
8237 if test -z "$defaultval"; then
8238 if test x"$enablestring" = xdisable; then
8239 defaultval=yes
8240 else
8241 defaultval=no
8242 fi
8243 fi
8244
8245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8247 no_cache=0
8248 # Check whether --enable-mediactrl was given.
8249 if test "${enable_mediactrl+set}" = set; then
8250 enableval=$enable_mediactrl;
8251 if test "$enableval" = yes; then
8252 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8253 else
8254 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8255 fi
8256
8257 else
8258
8259 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 else
8263 no_cache=1
8264 fi
8265
8266 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8267
8268 fi
8269
8270
8271 eval "$ac_cv_use_mediactrl"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8274 fi
8275
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_MEDIACTRL = yes; then
8278 result=no
8279 else
8280 result=yes
8281 fi
8282 else
8283 result=$wxUSE_MEDIACTRL
8284 fi
8285
8286 { echo "$as_me:$LINENO: result: $result" >&5
8287 echo "${ECHO_T}$result" >&6; }
8288
8289
8290 enablestring=
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8294 defaultval=yes
8295 else
8296 defaultval=no
8297 fi
8298 fi
8299
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8302 no_cache=0
8303 # Check whether --enable-gstreamer8 was given.
8304 if test "${enable_gstreamer8+set}" = set; then
8305 enableval=$enable_gstreamer8;
8306 if test "$enableval" = yes; then
8307 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8308 else
8309 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8310 fi
8311
8312 else
8313
8314 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x ; then
8316 eval "DEFAULT_$LINE"
8317 else
8318 no_cache=1
8319 fi
8320
8321 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8322
8323 fi
8324
8325
8326 eval "$ac_cv_use_gstreamer8"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8329 fi
8330
8331 if test x"$enablestring" = xdisable; then
8332 if test $wxUSE_GSTREAMER8 = yes; then
8333 result=no
8334 else
8335 result=yes
8336 fi
8337 else
8338 result=$wxUSE_GSTREAMER8
8339 fi
8340
8341 { echo "$as_me:$LINENO: result: $result" >&5
8342 echo "${ECHO_T}$result" >&6; }
8343
8344
8345 enablestring=
8346 defaultval=$wxUSE_ALL_FEATURES
8347 if test -z "$defaultval"; then
8348 if test x"$enablestring" = xdisable; then
8349 defaultval=yes
8350 else
8351 defaultval=no
8352 fi
8353 fi
8354
8355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8357 no_cache=0
8358 # Check whether --enable-printfposparam was given.
8359 if test "${enable_printfposparam+set}" = set; then
8360 enableval=$enable_printfposparam;
8361 if test "$enableval" = yes; then
8362 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8363 else
8364 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8365 fi
8366
8367 else
8368
8369 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8370 if test "x$LINE" != x ; then
8371 eval "DEFAULT_$LINE"
8372 else
8373 no_cache=1
8374 fi
8375
8376 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8377
8378 fi
8379
8380
8381 eval "$ac_cv_use_printfposparam"
8382 if test "$no_cache" != 1; then
8383 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8384 fi
8385
8386 if test x"$enablestring" = xdisable; then
8387 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8388 result=no
8389 else
8390 result=yes
8391 fi
8392 else
8393 result=$wxUSE_PRINTF_POS_PARAMS
8394 fi
8395
8396 { echo "$as_me:$LINENO: result: $result" >&5
8397 echo "${ECHO_T}$result" >&6; }
8398
8399
8400 enablestring=
8401 defaultval=$wxUSE_ALL_FEATURES
8402 if test -z "$defaultval"; then
8403 if test x"$enablestring" = xdisable; then
8404 defaultval=yes
8405 else
8406 defaultval=no
8407 fi
8408 fi
8409
8410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8412 no_cache=0
8413 # Check whether --enable-zipstream was given.
8414 if test "${enable_zipstream+set}" = set; then
8415 enableval=$enable_zipstream;
8416 if test "$enableval" = yes; then
8417 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8418 else
8419 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8420 fi
8421
8422 else
8423
8424 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8427 else
8428 no_cache=1
8429 fi
8430
8431 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8432
8433 fi
8434
8435
8436 eval "$ac_cv_use_zipstream"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8439 fi
8440
8441 if test x"$enablestring" = xdisable; then
8442 if test $wxUSE_ZIPSTREAM = yes; then
8443 result=no
8444 else
8445 result=yes
8446 fi
8447 else
8448 result=$wxUSE_ZIPSTREAM
8449 fi
8450
8451 { echo "$as_me:$LINENO: result: $result" >&5
8452 echo "${ECHO_T}$result" >&6; }
8453
8454
8455
8456 enablestring=
8457 defaultval=$wxUSE_ALL_FEATURES
8458 if test -z "$defaultval"; then
8459 if test x"$enablestring" = xdisable; then
8460 defaultval=yes
8461 else
8462 defaultval=no
8463 fi
8464 fi
8465
8466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8467 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8468 no_cache=0
8469 # Check whether --enable-url was given.
8470 if test "${enable_url+set}" = set; then
8471 enableval=$enable_url;
8472 if test "$enableval" = yes; then
8473 ac_cv_use_url='wxUSE_URL=yes'
8474 else
8475 ac_cv_use_url='wxUSE_URL=no'
8476 fi
8477
8478 else
8479
8480 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8481 if test "x$LINE" != x ; then
8482 eval "DEFAULT_$LINE"
8483 else
8484 no_cache=1
8485 fi
8486
8487 ac_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8488
8489 fi
8490
8491
8492 eval "$ac_cv_use_url"
8493 if test "$no_cache" != 1; then
8494 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
8495 fi
8496
8497 if test x"$enablestring" = xdisable; then
8498 if test $wxUSE_URL = yes; then
8499 result=no
8500 else
8501 result=yes
8502 fi
8503 else
8504 result=$wxUSE_URL
8505 fi
8506
8507 { echo "$as_me:$LINENO: result: $result" >&5
8508 echo "${ECHO_T}$result" >&6; }
8509
8510
8511 enablestring=
8512 defaultval=$wxUSE_ALL_FEATURES
8513 if test -z "$defaultval"; then
8514 if test x"$enablestring" = xdisable; then
8515 defaultval=yes
8516 else
8517 defaultval=no
8518 fi
8519 fi
8520
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8523 no_cache=0
8524 # Check whether --enable-variant was given.
8525 if test "${enable_variant+set}" = set; then
8526 enableval=$enable_variant;
8527 if test "$enableval" = yes; then
8528 ac_cv_use_variant='wxUSE_VARIANT=yes'
8529 else
8530 ac_cv_use_variant='wxUSE_VARIANT=no'
8531 fi
8532
8533 else
8534
8535 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8538 else
8539 no_cache=1
8540 fi
8541
8542 ac_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8543
8544 fi
8545
8546
8547 eval "$ac_cv_use_variant"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test x"$enablestring" = xdisable; then
8553 if test $wxUSE_VARIANT = yes; then
8554 result=no
8555 else
8556 result=yes
8557 fi
8558 else
8559 result=$wxUSE_VARIANT
8560 fi
8561
8562 { echo "$as_me:$LINENO: result: $result" >&5
8563 echo "${ECHO_T}$result" >&6; }
8564
8565
8566 enablestring=
8567 defaultval=$wxUSE_ALL_FEATURES
8568 if test -z "$defaultval"; then
8569 if test x"$enablestring" = xdisable; then
8570 defaultval=yes
8571 else
8572 defaultval=no
8573 fi
8574 fi
8575
8576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8577 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8578 no_cache=0
8579 # Check whether --enable-protocol was given.
8580 if test "${enable_protocol+set}" = set; then
8581 enableval=$enable_protocol;
8582 if test "$enableval" = yes; then
8583 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
8584 else
8585 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
8586 fi
8587
8588 else
8589
8590 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8598
8599 fi
8600
8601
8602 eval "$ac_cv_use_protocol"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8605 fi
8606
8607 if test x"$enablestring" = xdisable; then
8608 if test $wxUSE_PROTOCOL = yes; then
8609 result=no
8610 else
8611 result=yes
8612 fi
8613 else
8614 result=$wxUSE_PROTOCOL
8615 fi
8616
8617 { echo "$as_me:$LINENO: result: $result" >&5
8618 echo "${ECHO_T}$result" >&6; }
8619
8620
8621 enablestring=
8622 defaultval=$wxUSE_ALL_FEATURES
8623 if test -z "$defaultval"; then
8624 if test x"$enablestring" = xdisable; then
8625 defaultval=yes
8626 else
8627 defaultval=no
8628 fi
8629 fi
8630
8631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8632 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8633 no_cache=0
8634 # Check whether --enable-protocol_http was given.
8635 if test "${enable_protocol_http+set}" = set; then
8636 enableval=$enable_protocol_http;
8637 if test "$enableval" = yes; then
8638 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8639 else
8640 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8641 fi
8642
8643 else
8644
8645 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8646 if test "x$LINE" != x ; then
8647 eval "DEFAULT_$LINE"
8648 else
8649 no_cache=1
8650 fi
8651
8652 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8653
8654 fi
8655
8656
8657 eval "$ac_cv_use_protocol_http"
8658 if test "$no_cache" != 1; then
8659 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8660 fi
8661
8662 if test x"$enablestring" = xdisable; then
8663 if test $wxUSE_PROTOCOL_HTTP = yes; then
8664 result=no
8665 else
8666 result=yes
8667 fi
8668 else
8669 result=$wxUSE_PROTOCOL_HTTP
8670 fi
8671
8672 { echo "$as_me:$LINENO: result: $result" >&5
8673 echo "${ECHO_T}$result" >&6; }
8674
8675
8676 enablestring=
8677 defaultval=$wxUSE_ALL_FEATURES
8678 if test -z "$defaultval"; then
8679 if test x"$enablestring" = xdisable; then
8680 defaultval=yes
8681 else
8682 defaultval=no
8683 fi
8684 fi
8685
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8688 no_cache=0
8689 # Check whether --enable-protocol_ftp was given.
8690 if test "${enable_protocol_ftp+set}" = set; then
8691 enableval=$enable_protocol_ftp;
8692 if test "$enableval" = yes; then
8693 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8694 else
8695 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8708
8709 fi
8710
8711
8712 eval "$ac_cv_use_protocol_ftp"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test x"$enablestring" = xdisable; then
8718 if test $wxUSE_PROTOCOL_FTP = yes; then
8719 result=no
8720 else
8721 result=yes
8722 fi
8723 else
8724 result=$wxUSE_PROTOCOL_FTP
8725 fi
8726
8727 { echo "$as_me:$LINENO: result: $result" >&5
8728 echo "${ECHO_T}$result" >&6; }
8729
8730
8731 enablestring=
8732 defaultval=$wxUSE_ALL_FEATURES
8733 if test -z "$defaultval"; then
8734 if test x"$enablestring" = xdisable; then
8735 defaultval=yes
8736 else
8737 defaultval=no
8738 fi
8739 fi
8740
8741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8742 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8743 no_cache=0
8744 # Check whether --enable-protocol_file was given.
8745 if test "${enable_protocol_file+set}" = set; then
8746 enableval=$enable_protocol_file;
8747 if test "$enableval" = yes; then
8748 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8749 else
8750 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8751 fi
8752
8753 else
8754
8755 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8756 if test "x$LINE" != x ; then
8757 eval "DEFAULT_$LINE"
8758 else
8759 no_cache=1
8760 fi
8761
8762 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8763
8764 fi
8765
8766
8767 eval "$ac_cv_use_protocol_file"
8768 if test "$no_cache" != 1; then
8769 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8770 fi
8771
8772 if test x"$enablestring" = xdisable; then
8773 if test $wxUSE_PROTOCOL_FILE = yes; then
8774 result=no
8775 else
8776 result=yes
8777 fi
8778 else
8779 result=$wxUSE_PROTOCOL_FILE
8780 fi
8781
8782 { echo "$as_me:$LINENO: result: $result" >&5
8783 echo "${ECHO_T}$result" >&6; }
8784
8785
8786
8787 enablestring=
8788 defaultval=$wxUSE_ALL_FEATURES
8789 if test -z "$defaultval"; then
8790 if test x"$enablestring" = xdisable; then
8791 defaultval=yes
8792 else
8793 defaultval=no
8794 fi
8795 fi
8796
8797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8799 no_cache=0
8800 # Check whether --enable-threads was given.
8801 if test "${enable_threads+set}" = set; then
8802 enableval=$enable_threads;
8803 if test "$enableval" = yes; then
8804 ac_cv_use_threads='wxUSE_THREADS=yes'
8805 else
8806 ac_cv_use_threads='wxUSE_THREADS=no'
8807 fi
8808
8809 else
8810
8811 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x ; then
8813 eval "DEFAULT_$LINE"
8814 else
8815 no_cache=1
8816 fi
8817
8818 ac_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8819
8820 fi
8821
8822
8823 eval "$ac_cv_use_threads"
8824 if test "$no_cache" != 1; then
8825 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
8826 fi
8827
8828 if test x"$enablestring" = xdisable; then
8829 if test $wxUSE_THREADS = yes; then
8830 result=no
8831 else
8832 result=yes
8833 fi
8834 else
8835 result=$wxUSE_THREADS
8836 fi
8837
8838 { echo "$as_me:$LINENO: result: $result" >&5
8839 echo "${ECHO_T}$result" >&6; }
8840
8841
8842 if test "$wxUSE_GUI" = "yes"; then
8843
8844
8845
8846 enablestring=
8847 defaultval=$wxUSE_ALL_FEATURES
8848 if test -z "$defaultval"; then
8849 if test x"$enablestring" = xdisable; then
8850 defaultval=yes
8851 else
8852 defaultval=no
8853 fi
8854 fi
8855
8856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8858 no_cache=0
8859 # Check whether --enable-docview was given.
8860 if test "${enable_docview+set}" = set; then
8861 enableval=$enable_docview;
8862 if test "$enableval" = yes; then
8863 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8864 else
8865 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8878
8879 fi
8880
8881
8882 eval "$ac_cv_use_docview"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test x"$enablestring" = xdisable; then
8888 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8889 result=no
8890 else
8891 result=yes
8892 fi
8893 else
8894 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8895 fi
8896
8897 { echo "$as_me:$LINENO: result: $result" >&5
8898 echo "${ECHO_T}$result" >&6; }
8899
8900
8901 enablestring=
8902 defaultval=$wxUSE_ALL_FEATURES
8903 if test -z "$defaultval"; then
8904 if test x"$enablestring" = xdisable; then
8905 defaultval=yes
8906 else
8907 defaultval=no
8908 fi
8909 fi
8910
8911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8913 no_cache=0
8914 # Check whether --enable-help was given.
8915 if test "${enable_help+set}" = set; then
8916 enableval=$enable_help;
8917 if test "$enableval" = yes; then
8918 ac_cv_use_help='wxUSE_HELP=yes'
8919 else
8920 ac_cv_use_help='wxUSE_HELP=no'
8921 fi
8922
8923 else
8924
8925 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8926 if test "x$LINE" != x ; then
8927 eval "DEFAULT_$LINE"
8928 else
8929 no_cache=1
8930 fi
8931
8932 ac_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8933
8934 fi
8935
8936
8937 eval "$ac_cv_use_help"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
8940 fi
8941
8942 if test x"$enablestring" = xdisable; then
8943 if test $wxUSE_HELP = yes; then
8944 result=no
8945 else
8946 result=yes
8947 fi
8948 else
8949 result=$wxUSE_HELP
8950 fi
8951
8952 { echo "$as_me:$LINENO: result: $result" >&5
8953 echo "${ECHO_T}$result" >&6; }
8954
8955
8956 enablestring=
8957 defaultval=$wxUSE_ALL_FEATURES
8958 if test -z "$defaultval"; then
8959 if test x"$enablestring" = xdisable; then
8960 defaultval=yes
8961 else
8962 defaultval=no
8963 fi
8964 fi
8965
8966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8968 no_cache=0
8969 # Check whether --enable-mshtmlhelp was given.
8970 if test "${enable_mshtmlhelp+set}" = set; then
8971 enableval=$enable_mshtmlhelp;
8972 if test "$enableval" = yes; then
8973 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8974 else
8975 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8976 fi
8977
8978 else
8979
8980 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
8981 if test "x$LINE" != x ; then
8982 eval "DEFAULT_$LINE"
8983 else
8984 no_cache=1
8985 fi
8986
8987 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8988
8989 fi
8990
8991
8992 eval "$ac_cv_use_mshtmlhelp"
8993 if test "$no_cache" != 1; then
8994 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
8995 fi
8996
8997 if test x"$enablestring" = xdisable; then
8998 if test $wxUSE_MS_HTML_HELP = yes; then
8999 result=no
9000 else
9001 result=yes
9002 fi
9003 else
9004 result=$wxUSE_MS_HTML_HELP
9005 fi
9006
9007 { echo "$as_me:$LINENO: result: $result" >&5
9008 echo "${ECHO_T}$result" >&6; }
9009
9010
9011 enablestring=
9012 defaultval=$wxUSE_ALL_FEATURES
9013 if test -z "$defaultval"; then
9014 if test x"$enablestring" = xdisable; then
9015 defaultval=yes
9016 else
9017 defaultval=no
9018 fi
9019 fi
9020
9021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9023 no_cache=0
9024 # Check whether --enable-html was given.
9025 if test "${enable_html+set}" = set; then
9026 enableval=$enable_html;
9027 if test "$enableval" = yes; then
9028 ac_cv_use_html='wxUSE_HTML=yes'
9029 else
9030 ac_cv_use_html='wxUSE_HTML=no'
9031 fi
9032
9033 else
9034
9035 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x ; then
9037 eval "DEFAULT_$LINE"
9038 else
9039 no_cache=1
9040 fi
9041
9042 ac_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9043
9044 fi
9045
9046
9047 eval "$ac_cv_use_html"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
9050 fi
9051
9052 if test x"$enablestring" = xdisable; then
9053 if test $wxUSE_HTML = yes; then
9054 result=no
9055 else
9056 result=yes
9057 fi
9058 else
9059 result=$wxUSE_HTML
9060 fi
9061
9062 { echo "$as_me:$LINENO: result: $result" >&5
9063 echo "${ECHO_T}$result" >&6; }
9064
9065
9066 enablestring=
9067 defaultval=$wxUSE_ALL_FEATURES
9068 if test -z "$defaultval"; then
9069 if test x"$enablestring" = xdisable; then
9070 defaultval=yes
9071 else
9072 defaultval=no
9073 fi
9074 fi
9075
9076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9077 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9078 no_cache=0
9079 # Check whether --enable-htmlhelp was given.
9080 if test "${enable_htmlhelp+set}" = set; then
9081 enableval=$enable_htmlhelp;
9082 if test "$enableval" = yes; then
9083 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9084 else
9085 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9086 fi
9087
9088 else
9089
9090 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9098
9099 fi
9100
9101
9102 eval "$ac_cv_use_htmlhelp"
9103 if test "$no_cache" != 1; then
9104 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9105 fi
9106
9107 if test x"$enablestring" = xdisable; then
9108 if test $wxUSE_WXHTML_HELP = yes; then
9109 result=no
9110 else
9111 result=yes
9112 fi
9113 else
9114 result=$wxUSE_WXHTML_HELP
9115 fi
9116
9117 { echo "$as_me:$LINENO: result: $result" >&5
9118 echo "${ECHO_T}$result" >&6; }
9119
9120
9121 enablestring=
9122 defaultval=$wxUSE_ALL_FEATURES
9123 if test -z "$defaultval"; then
9124 if test x"$enablestring" = xdisable; then
9125 defaultval=yes
9126 else
9127 defaultval=no
9128 fi
9129 fi
9130
9131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9132 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9133 no_cache=0
9134 # Check whether --enable-xrc was given.
9135 if test "${enable_xrc+set}" = set; then
9136 enableval=$enable_xrc;
9137 if test "$enableval" = yes; then
9138 ac_cv_use_xrc='wxUSE_XRC=yes'
9139 else
9140 ac_cv_use_xrc='wxUSE_XRC=no'
9141 fi
9142
9143 else
9144
9145 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x ; then
9147 eval "DEFAULT_$LINE"
9148 else
9149 no_cache=1
9150 fi
9151
9152 ac_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9153
9154 fi
9155
9156
9157 eval "$ac_cv_use_xrc"
9158 if test "$no_cache" != 1; then
9159 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9160 fi
9161
9162 if test x"$enablestring" = xdisable; then
9163 if test $wxUSE_XRC = yes; then
9164 result=no
9165 else
9166 result=yes
9167 fi
9168 else
9169 result=$wxUSE_XRC
9170 fi
9171
9172 { echo "$as_me:$LINENO: result: $result" >&5
9173 echo "${ECHO_T}$result" >&6; }
9174
9175
9176 enablestring=
9177 defaultval=$wxUSE_ALL_FEATURES
9178 if test -z "$defaultval"; then
9179 if test x"$enablestring" = xdisable; then
9180 defaultval=yes
9181 else
9182 defaultval=no
9183 fi
9184 fi
9185
9186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9188 no_cache=0
9189 # Check whether --enable-aui was given.
9190 if test "${enable_aui+set}" = set; then
9191 enableval=$enable_aui;
9192 if test "$enableval" = yes; then
9193 ac_cv_use_aui='wxUSE_AUI=yes'
9194 else
9195 ac_cv_use_aui='wxUSE_AUI=no'
9196 fi
9197
9198 else
9199
9200 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x ; then
9202 eval "DEFAULT_$LINE"
9203 else
9204 no_cache=1
9205 fi
9206
9207 ac_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9208
9209 fi
9210
9211
9212 eval "$ac_cv_use_aui"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test x"$enablestring" = xdisable; then
9218 if test $wxUSE_AUI = yes; then
9219 result=no
9220 else
9221 result=yes
9222 fi
9223 else
9224 result=$wxUSE_AUI
9225 fi
9226
9227 { echo "$as_me:$LINENO: result: $result" >&5
9228 echo "${ECHO_T}$result" >&6; }
9229
9230
9231 enablestring=
9232 defaultval=$wxUSE_ALL_FEATURES
9233 if test -z "$defaultval"; then
9234 if test x"$enablestring" = xdisable; then
9235 defaultval=yes
9236 else
9237 defaultval=no
9238 fi
9239 fi
9240
9241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9242 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9243 no_cache=0
9244 # Check whether --enable-stc was given.
9245 if test "${enable_stc+set}" = set; then
9246 enableval=$enable_stc;
9247 if test "$enableval" = yes; then
9248 ac_cv_use_stc='wxUSE_STC=yes'
9249 else
9250 ac_cv_use_stc='wxUSE_STC=no'
9251 fi
9252
9253 else
9254
9255 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9256 if test "x$LINE" != x ; then
9257 eval "DEFAULT_$LINE"
9258 else
9259 no_cache=1
9260 fi
9261
9262 ac_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9263
9264 fi
9265
9266
9267 eval "$ac_cv_use_stc"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
9270 fi
9271
9272 if test x"$enablestring" = xdisable; then
9273 if test $wxUSE_STC = yes; then
9274 result=no
9275 else
9276 result=yes
9277 fi
9278 else
9279 result=$wxUSE_STC
9280 fi
9281
9282 { echo "$as_me:$LINENO: result: $result" >&5
9283 echo "${ECHO_T}$result" >&6; }
9284
9285
9286 enablestring=
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9290 defaultval=yes
9291 else
9292 defaultval=no
9293 fi
9294 fi
9295
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9298 no_cache=0
9299 # Check whether --enable-constraints was given.
9300 if test "${enable_constraints+set}" = set; then
9301 enableval=$enable_constraints;
9302 if test "$enableval" = yes; then
9303 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9304 else
9305 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9306 fi
9307
9308 else
9309
9310 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9311 if test "x$LINE" != x ; then
9312 eval "DEFAULT_$LINE"
9313 else
9314 no_cache=1
9315 fi
9316
9317 ac_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9318
9319 fi
9320
9321
9322 eval "$ac_cv_use_constraints"
9323 if test "$no_cache" != 1; then
9324 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9325 fi
9326
9327 if test x"$enablestring" = xdisable; then
9328 if test $wxUSE_CONSTRAINTS = yes; then
9329 result=no
9330 else
9331 result=yes
9332 fi
9333 else
9334 result=$wxUSE_CONSTRAINTS
9335 fi
9336
9337 { echo "$as_me:$LINENO: result: $result" >&5
9338 echo "${ECHO_T}$result" >&6; }
9339
9340
9341 enablestring=
9342 defaultval=$wxUSE_ALL_FEATURES
9343 if test -z "$defaultval"; then
9344 if test x"$enablestring" = xdisable; then
9345 defaultval=yes
9346 else
9347 defaultval=no
9348 fi
9349 fi
9350
9351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9352 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9353 no_cache=0
9354 # Check whether --enable-printarch was given.
9355 if test "${enable_printarch+set}" = set; then
9356 enableval=$enable_printarch;
9357 if test "$enableval" = yes; then
9358 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9359 else
9360 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9361 fi
9362
9363 else
9364
9365 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9373
9374 fi
9375
9376
9377 eval "$ac_cv_use_printarch"
9378 if test "$no_cache" != 1; then
9379 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9380 fi
9381
9382 if test x"$enablestring" = xdisable; then
9383 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9384 result=no
9385 else
9386 result=yes
9387 fi
9388 else
9389 result=$wxUSE_PRINTING_ARCHITECTURE
9390 fi
9391
9392 { echo "$as_me:$LINENO: result: $result" >&5
9393 echo "${ECHO_T}$result" >&6; }
9394
9395
9396 enablestring=
9397 defaultval=$wxUSE_ALL_FEATURES
9398 if test -z "$defaultval"; then
9399 if test x"$enablestring" = xdisable; then
9400 defaultval=yes
9401 else
9402 defaultval=no
9403 fi
9404 fi
9405
9406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9408 no_cache=0
9409 # Check whether --enable-mdi was given.
9410 if test "${enable_mdi+set}" = set; then
9411 enableval=$enable_mdi;
9412 if test "$enableval" = yes; then
9413 ac_cv_use_mdi='wxUSE_MDI=yes'
9414 else
9415 ac_cv_use_mdi='wxUSE_MDI=no'
9416 fi
9417
9418 else
9419
9420 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 else
9424 no_cache=1
9425 fi
9426
9427 ac_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9428
9429 fi
9430
9431
9432 eval "$ac_cv_use_mdi"
9433 if test "$no_cache" != 1; then
9434 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9435 fi
9436
9437 if test x"$enablestring" = xdisable; then
9438 if test $wxUSE_MDI = yes; then
9439 result=no
9440 else
9441 result=yes
9442 fi
9443 else
9444 result=$wxUSE_MDI
9445 fi
9446
9447 { echo "$as_me:$LINENO: result: $result" >&5
9448 echo "${ECHO_T}$result" >&6; }
9449
9450
9451 enablestring=
9452 defaultval=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x"$enablestring" = xdisable; then
9455 defaultval=yes
9456 else
9457 defaultval=no
9458 fi
9459 fi
9460
9461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9463 no_cache=0
9464 # Check whether --enable-mdidoc was given.
9465 if test "${enable_mdidoc+set}" = set; then
9466 enableval=$enable_mdidoc;
9467 if test "$enableval" = yes; then
9468 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9469 else
9470 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9471 fi
9472
9473 else
9474
9475 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9476 if test "x$LINE" != x ; then
9477 eval "DEFAULT_$LINE"
9478 else
9479 no_cache=1
9480 fi
9481
9482 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9483
9484 fi
9485
9486
9487 eval "$ac_cv_use_mdidoc"
9488 if test "$no_cache" != 1; then
9489 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9490 fi
9491
9492 if test x"$enablestring" = xdisable; then
9493 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9494 result=no
9495 else
9496 result=yes
9497 fi
9498 else
9499 result=$wxUSE_MDI_ARCHITECTURE
9500 fi
9501
9502 { echo "$as_me:$LINENO: result: $result" >&5
9503 echo "${ECHO_T}$result" >&6; }
9504
9505
9506 enablestring=
9507 defaultval=$wxUSE_ALL_FEATURES
9508 if test -z "$defaultval"; then
9509 if test x"$enablestring" = xdisable; then
9510 defaultval=yes
9511 else
9512 defaultval=no
9513 fi
9514 fi
9515
9516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9518 no_cache=0
9519 # Check whether --enable-loggui was given.
9520 if test "${enable_loggui+set}" = set; then
9521 enableval=$enable_loggui;
9522 if test "$enableval" = yes; then
9523 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
9524 else
9525 ac_cv_use_loggui='wxUSE_LOGGUI=no'
9526 fi
9527
9528 else
9529
9530 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x ; then
9532 eval "DEFAULT_$LINE"
9533 else
9534 no_cache=1
9535 fi
9536
9537 ac_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9538
9539 fi
9540
9541
9542 eval "$ac_cv_use_loggui"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9545 fi
9546
9547 if test x"$enablestring" = xdisable; then
9548 if test $wxUSE_LOGGUI = yes; then
9549 result=no
9550 else
9551 result=yes
9552 fi
9553 else
9554 result=$wxUSE_LOGGUI
9555 fi
9556
9557 { echo "$as_me:$LINENO: result: $result" >&5
9558 echo "${ECHO_T}$result" >&6; }
9559
9560
9561 enablestring=
9562 defaultval=$wxUSE_ALL_FEATURES
9563 if test -z "$defaultval"; then
9564 if test x"$enablestring" = xdisable; then
9565 defaultval=yes
9566 else
9567 defaultval=no
9568 fi
9569 fi
9570
9571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9573 no_cache=0
9574 # Check whether --enable-logwin was given.
9575 if test "${enable_logwin+set}" = set; then
9576 enableval=$enable_logwin;
9577 if test "$enableval" = yes; then
9578 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9579 else
9580 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
9581 fi
9582
9583 else
9584
9585 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9586 if test "x$LINE" != x ; then
9587 eval "DEFAULT_$LINE"
9588 else
9589 no_cache=1
9590 fi
9591
9592 ac_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9593
9594 fi
9595
9596
9597 eval "$ac_cv_use_logwin"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9600 fi
9601
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_LOGWINDOW = yes; then
9604 result=no
9605 else
9606 result=yes
9607 fi
9608 else
9609 result=$wxUSE_LOGWINDOW
9610 fi
9611
9612 { echo "$as_me:$LINENO: result: $result" >&5
9613 echo "${ECHO_T}$result" >&6; }
9614
9615
9616 enablestring=
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9620 defaultval=yes
9621 else
9622 defaultval=no
9623 fi
9624 fi
9625
9626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9628 no_cache=0
9629 # Check whether --enable-logdialog was given.
9630 if test "${enable_logdialog+set}" = set; then
9631 enableval=$enable_logdialog;
9632 if test "$enableval" = yes; then
9633 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9634 else
9635 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9636 fi
9637
9638 else
9639
9640 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9641 if test "x$LINE" != x ; then
9642 eval "DEFAULT_$LINE"
9643 else
9644 no_cache=1
9645 fi
9646
9647 ac_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9648
9649 fi
9650
9651
9652 eval "$ac_cv_use_logdialog"
9653 if test "$no_cache" != 1; then
9654 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9655 fi
9656
9657 if test x"$enablestring" = xdisable; then
9658 if test $wxUSE_LOGDIALOG = yes; then
9659 result=no
9660 else
9661 result=yes
9662 fi
9663 else
9664 result=$wxUSE_LOGDIALOG
9665 fi
9666
9667 { echo "$as_me:$LINENO: result: $result" >&5
9668 echo "${ECHO_T}$result" >&6; }
9669
9670
9671 enablestring=
9672 defaultval=$wxUSE_ALL_FEATURES
9673 if test -z "$defaultval"; then
9674 if test x"$enablestring" = xdisable; then
9675 defaultval=yes
9676 else
9677 defaultval=no
9678 fi
9679 fi
9680
9681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9682 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9683 no_cache=0
9684 # Check whether --enable-webkit was given.
9685 if test "${enable_webkit+set}" = set; then
9686 enableval=$enable_webkit;
9687 if test "$enableval" = yes; then
9688 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
9689 else
9690 ac_cv_use_webkit='wxUSE_WEBKIT=no'
9691 fi
9692
9693 else
9694
9695 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x ; then
9697 eval "DEFAULT_$LINE"
9698 else
9699 no_cache=1
9700 fi
9701
9702 ac_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9703
9704 fi
9705
9706
9707 eval "$ac_cv_use_webkit"
9708 if test "$no_cache" != 1; then
9709 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
9710 fi
9711
9712 if test x"$enablestring" = xdisable; then
9713 if test $wxUSE_WEBKIT = yes; then
9714 result=no
9715 else
9716 result=yes
9717 fi
9718 else
9719 result=$wxUSE_WEBKIT
9720 fi
9721
9722 { echo "$as_me:$LINENO: result: $result" >&5
9723 echo "${ECHO_T}$result" >&6; }
9724
9725
9726 enablestring=
9727 defaultval=$wxUSE_ALL_FEATURES
9728 if test -z "$defaultval"; then
9729 if test x"$enablestring" = xdisable; then
9730 defaultval=yes
9731 else
9732 defaultval=no
9733 fi
9734 fi
9735
9736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9738 no_cache=0
9739 # Check whether --enable-richtext was given.
9740 if test "${enable_richtext+set}" = set; then
9741 enableval=$enable_richtext;
9742 if test "$enableval" = yes; then
9743 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
9744 else
9745 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
9746 fi
9747
9748 else
9749
9750 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x ; then
9752 eval "DEFAULT_$LINE"
9753 else
9754 no_cache=1
9755 fi
9756
9757 ac_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9758
9759 fi
9760
9761
9762 eval "$ac_cv_use_richtext"
9763 if test "$no_cache" != 1; then
9764 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9765 fi
9766
9767 if test x"$enablestring" = xdisable; then
9768 if test $wxUSE_RICHTEXT = yes; then
9769 result=no
9770 else
9771 result=yes
9772 fi
9773 else
9774 result=$wxUSE_RICHTEXT
9775 fi
9776
9777 { echo "$as_me:$LINENO: result: $result" >&5
9778 echo "${ECHO_T}$result" >&6; }
9779
9780
9781 enablestring=
9782 defaultval=$wxUSE_ALL_FEATURES
9783 if test -z "$defaultval"; then
9784 if test x"$enablestring" = xdisable; then
9785 defaultval=yes
9786 else
9787 defaultval=no
9788 fi
9789 fi
9790
9791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9792 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9793 no_cache=0
9794 # Check whether --enable-graphics_ctx was given.
9795 if test "${enable_graphics_ctx+set}" = set; then
9796 enableval=$enable_graphics_ctx;
9797 if test "$enableval" = yes; then
9798 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9799 else
9800 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9801 fi
9802
9803 else
9804
9805 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9806 if test "x$LINE" != x ; then
9807 eval "DEFAULT_$LINE"
9808 else
9809 no_cache=1
9810 fi
9811
9812 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9813
9814 fi
9815
9816
9817 eval "$ac_cv_use_graphics_ctx"
9818 if test "$no_cache" != 1; then
9819 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9820 fi
9821
9822 if test x"$enablestring" = xdisable; then
9823 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9824 result=no
9825 else
9826 result=yes
9827 fi
9828 else
9829 result=$wxUSE_GRAPHICS_CONTEXT
9830 fi
9831
9832 { echo "$as_me:$LINENO: result: $result" >&5
9833 echo "${ECHO_T}$result" >&6; }
9834
9835
9836 enablestring=
9837 defaultval=$wxUSE_ALL_FEATURES
9838 if test -z "$defaultval"; then
9839 if test x"$enablestring" = xdisable; then
9840 defaultval=yes
9841 else
9842 defaultval=no
9843 fi
9844 fi
9845
9846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9848 no_cache=0
9849 # Check whether --enable-postscript was given.
9850 if test "${enable_postscript+set}" = set; then
9851 enableval=$enable_postscript;
9852 if test "$enableval" = yes; then
9853 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9854 else
9855 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9856 fi
9857
9858 else
9859
9860 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9861 if test "x$LINE" != x ; then
9862 eval "DEFAULT_$LINE"
9863 else
9864 no_cache=1
9865 fi
9866
9867 ac_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9868
9869 fi
9870
9871
9872 eval "$ac_cv_use_postscript"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test x"$enablestring" = xdisable; then
9878 if test $wxUSE_POSTSCRIPT = yes; then
9879 result=no
9880 else
9881 result=yes
9882 fi
9883 else
9884 result=$wxUSE_POSTSCRIPT
9885 fi
9886
9887 { echo "$as_me:$LINENO: result: $result" >&5
9888 echo "${ECHO_T}$result" >&6; }
9889
9890
9891 enablestring=
9892 defaultval=$wxUSE_ALL_FEATURES
9893 if test -z "$defaultval"; then
9894 if test x"$enablestring" = xdisable; then
9895 defaultval=yes
9896 else
9897 defaultval=no
9898 fi
9899 fi
9900
9901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9903 no_cache=0
9904 # Check whether --enable-svg was given.
9905 if test "${enable_svg+set}" = set; then
9906 enableval=$enable_svg;
9907 if test "$enableval" = yes; then
9908 ac_cv_use_svg='wxUSE_SVG=yes'
9909 else
9910 ac_cv_use_svg='wxUSE_SVG=no'
9911 fi
9912
9913 else
9914
9915 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9916 if test "x$LINE" != x ; then
9917 eval "DEFAULT_$LINE"
9918 else
9919 no_cache=1
9920 fi
9921
9922 ac_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9923
9924 fi
9925
9926
9927 eval "$ac_cv_use_svg"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_svg >> ${wx_arg_cache_file}.tmp
9930 fi
9931
9932 if test x"$enablestring" = xdisable; then
9933 if test $wxUSE_SVG = yes; then
9934 result=no
9935 else
9936 result=yes
9937 fi
9938 else
9939 result=$wxUSE_SVG
9940 fi
9941
9942 { echo "$as_me:$LINENO: result: $result" >&5
9943 echo "${ECHO_T}$result" >&6; }
9944
9945
9946
9947
9948 enablestring=
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9952 defaultval=yes
9953 else
9954 defaultval=no
9955 fi
9956 fi
9957
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9960 no_cache=0
9961 # Check whether --enable-clipboard was given.
9962 if test "${enable_clipboard+set}" = set; then
9963 enableval=$enable_clipboard;
9964 if test "$enableval" = yes; then
9965 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9966 else
9967 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9980
9981 fi
9982
9983
9984 eval "$ac_cv_use_clipboard"
9985 if test "$no_cache" != 1; then
9986 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
9987 fi
9988
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_CLIPBOARD = yes; then
9991 result=no
9992 else
9993 result=yes
9994 fi
9995 else
9996 result=$wxUSE_CLIPBOARD
9997 fi
9998
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10001
10002
10003 enablestring=
10004 defaultval=$wxUSE_ALL_FEATURES
10005 if test -z "$defaultval"; then
10006 if test x"$enablestring" = xdisable; then
10007 defaultval=yes
10008 else
10009 defaultval=no
10010 fi
10011 fi
10012
10013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10015 no_cache=0
10016 # Check whether --enable-dnd was given.
10017 if test "${enable_dnd+set}" = set; then
10018 enableval=$enable_dnd;
10019 if test "$enableval" = yes; then
10020 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10021 else
10022 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10023 fi
10024
10025 else
10026
10027 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10028 if test "x$LINE" != x ; then
10029 eval "DEFAULT_$LINE"
10030 else
10031 no_cache=1
10032 fi
10033
10034 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10035
10036 fi
10037
10038
10039 eval "$ac_cv_use_dnd"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10042 fi
10043
10044 if test x"$enablestring" = xdisable; then
10045 if test $wxUSE_DRAG_AND_DROP = yes; then
10046 result=no
10047 else
10048 result=yes
10049 fi
10050 else
10051 result=$wxUSE_DRAG_AND_DROP
10052 fi
10053
10054 { echo "$as_me:$LINENO: result: $result" >&5
10055 echo "${ECHO_T}$result" >&6; }
10056
10057
10058 enablestring=
10059 defaultval=$wxUSE_ALL_FEATURES
10060 if test -z "$defaultval"; then
10061 if test x"$enablestring" = xdisable; then
10062 defaultval=yes
10063 else
10064 defaultval=no
10065 fi
10066 fi
10067
10068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10070 no_cache=0
10071 # Check whether --enable-metafile was given.
10072 if test "${enable_metafile+set}" = set; then
10073 enableval=$enable_metafile;
10074 if test "$enableval" = yes; then
10075 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10076 else
10077 ac_cv_use_metafile='wxUSE_METAFILE=no'
10078 fi
10079
10080 else
10081
10082 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10083 if test "x$LINE" != x ; then
10084 eval "DEFAULT_$LINE"
10085 else
10086 no_cache=1
10087 fi
10088
10089 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10090
10091 fi
10092
10093
10094 eval "$ac_cv_use_metafile"
10095 if test "$no_cache" != 1; then
10096 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10097 fi
10098
10099 if test x"$enablestring" = xdisable; then
10100 if test $wxUSE_METAFILE = yes; then
10101 result=no
10102 else
10103 result=yes
10104 fi
10105 else
10106 result=$wxUSE_METAFILE
10107 fi
10108
10109 { echo "$as_me:$LINENO: result: $result" >&5
10110 echo "${ECHO_T}$result" >&6; }
10111
10112
10113
10114
10115 enablestring=
10116 defaultval=$wxUSE_ALL_FEATURES
10117 if test -z "$defaultval"; then
10118 if test x"$enablestring" = xdisable; then
10119 defaultval=yes
10120 else
10121 defaultval=no
10122 fi
10123 fi
10124
10125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10127 no_cache=0
10128 # Check whether --enable-controls was given.
10129 if test "${enable_controls+set}" = set; then
10130 enableval=$enable_controls;
10131 if test "$enableval" = yes; then
10132 ac_cv_use_controls='wxUSE_CONTROLS=yes'
10133 else
10134 ac_cv_use_controls='wxUSE_CONTROLS=no'
10135 fi
10136
10137 else
10138
10139 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10142 else
10143 no_cache=1
10144 fi
10145
10146 ac_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10147
10148 fi
10149
10150
10151 eval "$ac_cv_use_controls"
10152 if test "$no_cache" != 1; then
10153 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
10154 fi
10155
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_CONTROLS = yes; then
10158 result=no
10159 else
10160 result=yes
10161 fi
10162 else
10163 result=$wxUSE_CONTROLS
10164 fi
10165
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10168
10169
10170 if test "$wxUSE_CONTROLS" = "yes"; then
10171 DEFAULT_wxUSE_ACCEL=yes
10172 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10173 DEFAULT_wxUSE_BMPBUTTON=yes
10174 DEFAULT_wxUSE_BUTTON=yes
10175 DEFAULT_wxUSE_CALCTRL=yes
10176 DEFAULT_wxUSE_CARET=yes
10177 DEFAULT_wxUSE_COMBOBOX=yes
10178 DEFAULT_wxUSE_CHECKBOX=yes
10179 DEFAULT_wxUSE_CHECKLISTBOX=yes
10180 DEFAULT_wxUSE_CHOICE=yes
10181 DEFAULT_wxUSE_CHOICEBOOK=yes
10182 DEFAULT_wxUSE_COLLPANE=yes
10183 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10184 DEFAULT_wxUSE_COMBOBOX=yes
10185 DEFAULT_wxUSE_DATEPICKCTRL=yes
10186 DEFAULT_wxUSE_DISPLAY=yes
10187 DEFAULT_wxUSE_DETECT_SM=yes
10188 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10189 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10190 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10191 DEFAULT_wxUSE_GAUGE=yes
10192 DEFAULT_wxUSE_GRID=yes
10193 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10194 DEFAULT_wxUSE_DATAVIEWCTRL=no
10195 DEFAULT_wxUSE_IMAGLIST=yes
10196 DEFAULT_wxUSE_LISTBOOK=yes
10197 DEFAULT_wxUSE_LISTBOX=yes
10198 DEFAULT_wxUSE_LISTCTRL=yes
10199 DEFAULT_wxUSE_NOTEBOOK=yes
10200 DEFAULT_wxUSE_RADIOBOX=yes
10201 DEFAULT_wxUSE_RADIOBTN=yes
10202 DEFAULT_wxUSE_SASH=yes
10203 DEFAULT_wxUSE_SCROLLBAR=yes
10204 DEFAULT_wxUSE_SEARCHCTRL=yes
10205 DEFAULT_wxUSE_SLIDER=yes
10206 DEFAULT_wxUSE_SPINBTN=yes
10207 DEFAULT_wxUSE_SPINCTRL=yes
10208 DEFAULT_wxUSE_SPLITTER=yes
10209 DEFAULT_wxUSE_STATBMP=yes
10210 DEFAULT_wxUSE_STATBOX=yes
10211 DEFAULT_wxUSE_STATLINE=yes
10212 DEFAULT_wxUSE_STATUSBAR=yes
10213 DEFAULT_wxUSE_TAB_DIALOG=yes
10214 DEFAULT_wxUSE_TOGGLEBTN=yes
10215 DEFAULT_wxUSE_TOOLBAR=yes
10216 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10217 DEFAULT_wxUSE_TOOLTIPS=yes
10218 DEFAULT_wxUSE_TREEBOOK=yes
10219 DEFAULT_wxUSE_TOOLBOOK=yes
10220 DEFAULT_wxUSE_TREECTRL=yes
10221 DEFAULT_wxUSE_POPUPWIN=yes
10222 DEFAULT_wxUSE_TIPWINDOW=yes
10223 elif test "$wxUSE_CONTROLS" = "no"; then
10224 DEFAULT_wxUSE_ACCEL=no
10225 DEFAULT_wxUSE_ANIMATIONCTRL=no
10226 DEFAULT_wxUSE_BMPBUTTON=no
10227 DEFAULT_wxUSE_BUTTON=no
10228 DEFAULT_wxUSE_CALCTRL=no
10229 DEFAULT_wxUSE_CARET=no
10230 DEFAULT_wxUSE_COLLPANE=no
10231 DEFAULT_wxUSE_COMBOBOX=no
10232 DEFAULT_wxUSE_CHECKBOX=no
10233 DEFAULT_wxUSE_CHECKLISTBOX=no
10234 DEFAULT_wxUSE_CHOICE=no
10235 DEFAULT_wxUSE_CHOICEBOOK=no
10236 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10237 DEFAULT_wxUSE_COMBOBOX=no
10238 DEFAULT_wxUSE_DATEPICKCTRL=no
10239 DEFAULT_wxUSE_DISPLAY=no
10240 DEFAULT_wxUSE_DETECT_SM=no
10241 DEFAULT_wxUSE_DIRPICKERCTRL=no
10242 DEFAULT_wxUSE_FILEPICKERCTRL=no
10243 DEFAULT_wxUSE_FONTPICKERCTRL=no
10244 DEFAULT_wxUSE_GAUGE=no
10245 DEFAULT_wxUSE_GRID=no
10246 DEFAULT_wxUSE_HYPERLINKCTRL=no
10247 DEFAULT_wxUSE_DATAVIEWCTRL=no
10248 DEFAULT_wxUSE_IMAGLIST=no
10249 DEFAULT_wxUSE_LISTBOOK=no
10250 DEFAULT_wxUSE_LISTBOX=no
10251 DEFAULT_wxUSE_LISTCTRL=no
10252 DEFAULT_wxUSE_NOTEBOOK=no
10253 DEFAULT_wxUSE_RADIOBOX=no
10254 DEFAULT_wxUSE_RADIOBTN=no
10255 DEFAULT_wxUSE_SASH=no
10256 DEFAULT_wxUSE_SCROLLBAR=no
10257 DEFAULT_wxUSE_SEARCHCTRL=no
10258 DEFAULT_wxUSE_SLIDER=no
10259 DEFAULT_wxUSE_SPINBTN=no
10260 DEFAULT_wxUSE_SPINCTRL=no
10261 DEFAULT_wxUSE_SPLITTER=no
10262 DEFAULT_wxUSE_STATBMP=no
10263 DEFAULT_wxUSE_STATBOX=no
10264 DEFAULT_wxUSE_STATLINE=no
10265 DEFAULT_wxUSE_STATUSBAR=no
10266 DEFAULT_wxUSE_TAB_DIALOG=no
10267 DEFAULT_wxUSE_TOGGLEBTN=no
10268 DEFAULT_wxUSE_TOOLBAR=no
10269 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10270 DEFAULT_wxUSE_TOOLTIPS=no
10271 DEFAULT_wxUSE_TREEBOOK=no
10272 DEFAULT_wxUSE_TOOLBOOK=no
10273 DEFAULT_wxUSE_TREECTRL=no
10274 DEFAULT_wxUSE_POPUPWIN=no
10275 DEFAULT_wxUSE_TIPWINDOW=no
10276 fi
10277
10278
10279 enablestring=
10280 defaultval=$wxUSE_ALL_FEATURES
10281 if test -z "$defaultval"; then
10282 if test x"$enablestring" = xdisable; then
10283 defaultval=yes
10284 else
10285 defaultval=no
10286 fi
10287 fi
10288
10289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10291 no_cache=0
10292 # Check whether --enable-accel was given.
10293 if test "${enable_accel+set}" = set; then
10294 enableval=$enable_accel;
10295 if test "$enableval" = yes; then
10296 ac_cv_use_accel='wxUSE_ACCEL=yes'
10297 else
10298 ac_cv_use_accel='wxUSE_ACCEL=no'
10299 fi
10300
10301 else
10302
10303 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10304 if test "x$LINE" != x ; then
10305 eval "DEFAULT_$LINE"
10306 else
10307 no_cache=1
10308 fi
10309
10310 ac_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10311
10312 fi
10313
10314
10315 eval "$ac_cv_use_accel"
10316 if test "$no_cache" != 1; then
10317 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
10318 fi
10319
10320 if test x"$enablestring" = xdisable; then
10321 if test $wxUSE_ACCEL = yes; then
10322 result=no
10323 else
10324 result=yes
10325 fi
10326 else
10327 result=$wxUSE_ACCEL
10328 fi
10329
10330 { echo "$as_me:$LINENO: result: $result" >&5
10331 echo "${ECHO_T}$result" >&6; }
10332
10333
10334 enablestring=
10335 defaultval=$wxUSE_ALL_FEATURES
10336 if test -z "$defaultval"; then
10337 if test x"$enablestring" = xdisable; then
10338 defaultval=yes
10339 else
10340 defaultval=no
10341 fi
10342 fi
10343
10344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10345 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10346 no_cache=0
10347 # Check whether --enable-animatectrl was given.
10348 if test "${enable_animatectrl+set}" = set; then
10349 enableval=$enable_animatectrl;
10350 if test "$enableval" = yes; then
10351 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10352 else
10353 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10354 fi
10355
10356 else
10357
10358 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10359 if test "x$LINE" != x ; then
10360 eval "DEFAULT_$LINE"
10361 else
10362 no_cache=1
10363 fi
10364
10365 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10366
10367 fi
10368
10369
10370 eval "$ac_cv_use_animatectrl"
10371 if test "$no_cache" != 1; then
10372 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10373 fi
10374
10375 if test x"$enablestring" = xdisable; then
10376 if test $wxUSE_ANIMATIONCTRL = yes; then
10377 result=no
10378 else
10379 result=yes
10380 fi
10381 else
10382 result=$wxUSE_ANIMATIONCTRL
10383 fi
10384
10385 { echo "$as_me:$LINENO: result: $result" >&5
10386 echo "${ECHO_T}$result" >&6; }
10387
10388
10389 enablestring=
10390 defaultval=$wxUSE_ALL_FEATURES
10391 if test -z "$defaultval"; then
10392 if test x"$enablestring" = xdisable; then
10393 defaultval=yes
10394 else
10395 defaultval=no
10396 fi
10397 fi
10398
10399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10400 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10401 no_cache=0
10402 # Check whether --enable-button was given.
10403 if test "${enable_button+set}" = set; then
10404 enableval=$enable_button;
10405 if test "$enableval" = yes; then
10406 ac_cv_use_button='wxUSE_BUTTON=yes'
10407 else
10408 ac_cv_use_button='wxUSE_BUTTON=no'
10409 fi
10410
10411 else
10412
10413 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10414 if test "x$LINE" != x ; then
10415 eval "DEFAULT_$LINE"
10416 else
10417 no_cache=1
10418 fi
10419
10420 ac_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10421
10422 fi
10423
10424
10425 eval "$ac_cv_use_button"
10426 if test "$no_cache" != 1; then
10427 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
10428 fi
10429
10430 if test x"$enablestring" = xdisable; then
10431 if test $wxUSE_BUTTON = yes; then
10432 result=no
10433 else
10434 result=yes
10435 fi
10436 else
10437 result=$wxUSE_BUTTON
10438 fi
10439
10440 { echo "$as_me:$LINENO: result: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10442
10443
10444 enablestring=
10445 defaultval=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x"$enablestring" = xdisable; then
10448 defaultval=yes
10449 else
10450 defaultval=no
10451 fi
10452 fi
10453
10454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10456 no_cache=0
10457 # Check whether --enable-bmpbutton was given.
10458 if test "${enable_bmpbutton+set}" = set; then
10459 enableval=$enable_bmpbutton;
10460 if test "$enableval" = yes; then
10461 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10462 else
10463 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10464 fi
10465
10466 else
10467
10468 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10469 if test "x$LINE" != x ; then
10470 eval "DEFAULT_$LINE"
10471 else
10472 no_cache=1
10473 fi
10474
10475 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10476
10477 fi
10478
10479
10480 eval "$ac_cv_use_bmpbutton"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10483 fi
10484
10485 if test x"$enablestring" = xdisable; then
10486 if test $wxUSE_BMPBUTTON = yes; then
10487 result=no
10488 else
10489 result=yes
10490 fi
10491 else
10492 result=$wxUSE_BMPBUTTON
10493 fi
10494
10495 { echo "$as_me:$LINENO: result: $result" >&5
10496 echo "${ECHO_T}$result" >&6; }
10497
10498
10499 enablestring=
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10503 defaultval=yes
10504 else
10505 defaultval=no
10506 fi
10507 fi
10508
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10511 no_cache=0
10512 # Check whether --enable-bmpcombobox was given.
10513 if test "${enable_bmpcombobox+set}" = set; then
10514 enableval=$enable_bmpcombobox;
10515 if test "$enableval" = yes; then
10516 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10517 else
10518 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10519 fi
10520
10521 else
10522
10523 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10524 if test "x$LINE" != x ; then
10525 eval "DEFAULT_$LINE"
10526 else
10527 no_cache=1
10528 fi
10529
10530 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10531
10532 fi
10533
10534
10535 eval "$ac_cv_use_bmpcombobox"
10536 if test "$no_cache" != 1; then
10537 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10538 fi
10539
10540 if test x"$enablestring" = xdisable; then
10541 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10542 result=no
10543 else
10544 result=yes
10545 fi
10546 else
10547 result=$wxUSE_BITMAPCOMBOBOX
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}-calendar" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10566 no_cache=0
10567 # Check whether --enable-calendar was given.
10568 if test "${enable_calendar+set}" = set; then
10569 enableval=$enable_calendar;
10570 if test "$enableval" = yes; then
10571 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
10572 else
10573 ac_cv_use_calendar='wxUSE_CALCTRL=no'
10574 fi
10575
10576 else
10577
10578 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 else
10582 no_cache=1
10583 fi
10584
10585 ac_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10586
10587 fi
10588
10589
10590 eval "$ac_cv_use_calendar"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10593 fi
10594
10595 if test x"$enablestring" = xdisable; then
10596 if test $wxUSE_CALCTRL = yes; then
10597 result=no
10598 else
10599 result=yes
10600 fi
10601 else
10602 result=$wxUSE_CALCTRL
10603 fi
10604
10605 { echo "$as_me:$LINENO: result: $result" >&5
10606 echo "${ECHO_T}$result" >&6; }
10607
10608
10609 enablestring=
10610 defaultval=$wxUSE_ALL_FEATURES
10611 if test -z "$defaultval"; then
10612 if test x"$enablestring" = xdisable; then
10613 defaultval=yes
10614 else
10615 defaultval=no
10616 fi
10617 fi
10618
10619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10620 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10621 no_cache=0
10622 # Check whether --enable-caret was given.
10623 if test "${enable_caret+set}" = set; then
10624 enableval=$enable_caret;
10625 if test "$enableval" = yes; then
10626 ac_cv_use_caret='wxUSE_CARET=yes'
10627 else
10628 ac_cv_use_caret='wxUSE_CARET=no'
10629 fi
10630
10631 else
10632
10633 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10636 else
10637 no_cache=1
10638 fi
10639
10640 ac_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10641
10642 fi
10643
10644
10645 eval "$ac_cv_use_caret"
10646 if test "$no_cache" != 1; then
10647 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
10648 fi
10649
10650 if test x"$enablestring" = xdisable; then
10651 if test $wxUSE_CARET = yes; then
10652 result=no
10653 else
10654 result=yes
10655 fi
10656 else
10657 result=$wxUSE_CARET
10658 fi
10659
10660 { echo "$as_me:$LINENO: result: $result" >&5
10661 echo "${ECHO_T}$result" >&6; }
10662
10663
10664 enablestring=
10665 defaultval=$wxUSE_ALL_FEATURES
10666 if test -z "$defaultval"; then
10667 if test x"$enablestring" = xdisable; then
10668 defaultval=yes
10669 else
10670 defaultval=no
10671 fi
10672 fi
10673
10674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10676 no_cache=0
10677 # Check whether --enable-checkbox was given.
10678 if test "${enable_checkbox+set}" = set; then
10679 enableval=$enable_checkbox;
10680 if test "$enableval" = yes; then
10681 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10682 else
10683 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
10684 fi
10685
10686 else
10687
10688 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10689 if test "x$LINE" != x ; then
10690 eval "DEFAULT_$LINE"
10691 else
10692 no_cache=1
10693 fi
10694
10695 ac_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10696
10697 fi
10698
10699
10700 eval "$ac_cv_use_checkbox"
10701 if test "$no_cache" != 1; then
10702 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10703 fi
10704
10705 if test x"$enablestring" = xdisable; then
10706 if test $wxUSE_CHECKBOX = yes; then
10707 result=no
10708 else
10709 result=yes
10710 fi
10711 else
10712 result=$wxUSE_CHECKBOX
10713 fi
10714
10715 { echo "$as_me:$LINENO: result: $result" >&5
10716 echo "${ECHO_T}$result" >&6; }
10717
10718
10719 enablestring=
10720 defaultval=$wxUSE_ALL_FEATURES
10721 if test -z "$defaultval"; then
10722 if test x"$enablestring" = xdisable; then
10723 defaultval=yes
10724 else
10725 defaultval=no
10726 fi
10727 fi
10728
10729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10730 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10731 no_cache=0
10732 # Check whether --enable-checklst was given.
10733 if test "${enable_checklst+set}" = set; then
10734 enableval=$enable_checklst;
10735 if test "$enableval" = yes; then
10736 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
10737 else
10738 ac_cv_use_checklst='wxUSE_CHECKLST=no'
10739 fi
10740
10741 else
10742
10743 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10744 if test "x$LINE" != x ; then
10745 eval "DEFAULT_$LINE"
10746 else
10747 no_cache=1
10748 fi
10749
10750 ac_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10751
10752 fi
10753
10754
10755 eval "$ac_cv_use_checklst"
10756 if test "$no_cache" != 1; then
10757 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10758 fi
10759
10760 if test x"$enablestring" = xdisable; then
10761 if test $wxUSE_CHECKLST = yes; then
10762 result=no
10763 else
10764 result=yes
10765 fi
10766 else
10767 result=$wxUSE_CHECKLST
10768 fi
10769
10770 { echo "$as_me:$LINENO: result: $result" >&5
10771 echo "${ECHO_T}$result" >&6; }
10772
10773
10774 enablestring=
10775 defaultval=$wxUSE_ALL_FEATURES
10776 if test -z "$defaultval"; then
10777 if test x"$enablestring" = xdisable; then
10778 defaultval=yes
10779 else
10780 defaultval=no
10781 fi
10782 fi
10783
10784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10785 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10786 no_cache=0
10787 # Check whether --enable-choice was given.
10788 if test "${enable_choice+set}" = set; then
10789 enableval=$enable_choice;
10790 if test "$enableval" = yes; then
10791 ac_cv_use_choice='wxUSE_CHOICE=yes'
10792 else
10793 ac_cv_use_choice='wxUSE_CHOICE=no'
10794 fi
10795
10796 else
10797
10798 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10799 if test "x$LINE" != x ; then
10800 eval "DEFAULT_$LINE"
10801 else
10802 no_cache=1
10803 fi
10804
10805 ac_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10806
10807 fi
10808
10809
10810 eval "$ac_cv_use_choice"
10811 if test "$no_cache" != 1; then
10812 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
10813 fi
10814
10815 if test x"$enablestring" = xdisable; then
10816 if test $wxUSE_CHOICE = yes; then
10817 result=no
10818 else
10819 result=yes
10820 fi
10821 else
10822 result=$wxUSE_CHOICE
10823 fi
10824
10825 { echo "$as_me:$LINENO: result: $result" >&5
10826 echo "${ECHO_T}$result" >&6; }
10827
10828
10829 enablestring=
10830 defaultval=$wxUSE_ALL_FEATURES
10831 if test -z "$defaultval"; then
10832 if test x"$enablestring" = xdisable; then
10833 defaultval=yes
10834 else
10835 defaultval=no
10836 fi
10837 fi
10838
10839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10840 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10841 no_cache=0
10842 # Check whether --enable-choicebook was given.
10843 if test "${enable_choicebook+set}" = set; then
10844 enableval=$enable_choicebook;
10845 if test "$enableval" = yes; then
10846 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10847 else
10848 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10849 fi
10850
10851 else
10852
10853 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10854 if test "x$LINE" != x ; then
10855 eval "DEFAULT_$LINE"
10856 else
10857 no_cache=1
10858 fi
10859
10860 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10861
10862 fi
10863
10864
10865 eval "$ac_cv_use_choicebook"
10866 if test "$no_cache" != 1; then
10867 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10868 fi
10869
10870 if test x"$enablestring" = xdisable; then
10871 if test $wxUSE_CHOICEBOOK = yes; then
10872 result=no
10873 else
10874 result=yes
10875 fi
10876 else
10877 result=$wxUSE_CHOICEBOOK
10878 fi
10879
10880 { echo "$as_me:$LINENO: result: $result" >&5
10881 echo "${ECHO_T}$result" >&6; }
10882
10883
10884 enablestring=
10885 defaultval=$wxUSE_ALL_FEATURES
10886 if test -z "$defaultval"; then
10887 if test x"$enablestring" = xdisable; then
10888 defaultval=yes
10889 else
10890 defaultval=no
10891 fi
10892 fi
10893
10894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10896 no_cache=0
10897 # Check whether --enable-collpane was given.
10898 if test "${enable_collpane+set}" = set; then
10899 enableval=$enable_collpane;
10900 if test "$enableval" = yes; then
10901 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
10902 else
10903 ac_cv_use_collpane='wxUSE_COLLPANE=no'
10904 fi
10905
10906 else
10907
10908 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10909 if test "x$LINE" != x ; then
10910 eval "DEFAULT_$LINE"
10911 else
10912 no_cache=1
10913 fi
10914
10915 ac_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10916
10917 fi
10918
10919
10920 eval "$ac_cv_use_collpane"
10921 if test "$no_cache" != 1; then
10922 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10923 fi
10924
10925 if test x"$enablestring" = xdisable; then
10926 if test $wxUSE_COLLPANE = yes; then
10927 result=no
10928 else
10929 result=yes
10930 fi
10931 else
10932 result=$wxUSE_COLLPANE
10933 fi
10934
10935 { echo "$as_me:$LINENO: result: $result" >&5
10936 echo "${ECHO_T}$result" >&6; }
10937
10938
10939 enablestring=
10940 defaultval=$wxUSE_ALL_FEATURES
10941 if test -z "$defaultval"; then
10942 if test x"$enablestring" = xdisable; then
10943 defaultval=yes
10944 else
10945 defaultval=no
10946 fi
10947 fi
10948
10949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10950 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10951 no_cache=0
10952 # Check whether --enable-colourpicker was given.
10953 if test "${enable_colourpicker+set}" = set; then
10954 enableval=$enable_colourpicker;
10955 if test "$enableval" = yes; then
10956 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10957 else
10958 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10959 fi
10960
10961 else
10962
10963 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
10964 if test "x$LINE" != x ; then
10965 eval "DEFAULT_$LINE"
10966 else
10967 no_cache=1
10968 fi
10969
10970 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10971
10972 fi
10973
10974
10975 eval "$ac_cv_use_colourpicker"
10976 if test "$no_cache" != 1; then
10977 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
10978 fi
10979
10980 if test x"$enablestring" = xdisable; then
10981 if test $wxUSE_COLOURPICKERCTRL = yes; then
10982 result=no
10983 else
10984 result=yes
10985 fi
10986 else
10987 result=$wxUSE_COLOURPICKERCTRL
10988 fi
10989
10990 { echo "$as_me:$LINENO: result: $result" >&5
10991 echo "${ECHO_T}$result" >&6; }
10992
10993
10994 enablestring=
10995 defaultval=$wxUSE_ALL_FEATURES
10996 if test -z "$defaultval"; then
10997 if test x"$enablestring" = xdisable; then
10998 defaultval=yes
10999 else
11000 defaultval=no
11001 fi
11002 fi
11003
11004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11005 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11006 no_cache=0
11007 # Check whether --enable-combobox was given.
11008 if test "${enable_combobox+set}" = set; then
11009 enableval=$enable_combobox;
11010 if test "$enableval" = yes; then
11011 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
11012 else
11013 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
11014 fi
11015
11016 else
11017
11018 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11019 if test "x$LINE" != x ; then
11020 eval "DEFAULT_$LINE"
11021 else
11022 no_cache=1
11023 fi
11024
11025 ac_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11026
11027 fi
11028
11029
11030 eval "$ac_cv_use_combobox"
11031 if test "$no_cache" != 1; then
11032 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11033 fi
11034
11035 if test x"$enablestring" = xdisable; then
11036 if test $wxUSE_COMBOBOX = yes; then
11037 result=no
11038 else
11039 result=yes
11040 fi
11041 else
11042 result=$wxUSE_COMBOBOX
11043 fi
11044
11045 { echo "$as_me:$LINENO: result: $result" >&5
11046 echo "${ECHO_T}$result" >&6; }
11047
11048
11049 enablestring=
11050 defaultval=$wxUSE_ALL_FEATURES
11051 if test -z "$defaultval"; then
11052 if test x"$enablestring" = xdisable; then
11053 defaultval=yes
11054 else
11055 defaultval=no
11056 fi
11057 fi
11058
11059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11061 no_cache=0
11062 # Check whether --enable-comboctrl was given.
11063 if test "${enable_comboctrl+set}" = set; then
11064 enableval=$enable_comboctrl;
11065 if test "$enableval" = yes; then
11066 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11067 else
11068 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11069 fi
11070
11071 else
11072
11073 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x ; then
11075 eval "DEFAULT_$LINE"
11076 else
11077 no_cache=1
11078 fi
11079
11080 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11081
11082 fi
11083
11084
11085 eval "$ac_cv_use_comboctrl"
11086 if test "$no_cache" != 1; then
11087 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11088 fi
11089
11090 if test x"$enablestring" = xdisable; then
11091 if test $wxUSE_COMBOCTRL = yes; then
11092 result=no
11093 else
11094 result=yes
11095 fi
11096 else
11097 result=$wxUSE_COMBOCTRL
11098 fi
11099
11100 { echo "$as_me:$LINENO: result: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11102
11103
11104 enablestring=
11105 defaultval=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x"$enablestring" = xdisable; then
11108 defaultval=yes
11109 else
11110 defaultval=no
11111 fi
11112 fi
11113
11114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11115 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11116 no_cache=0
11117 # Check whether --enable-datepick was given.
11118 if test "${enable_datepick+set}" = set; then
11119 enableval=$enable_datepick;
11120 if test "$enableval" = yes; then
11121 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11122 else
11123 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11124 fi
11125
11126 else
11127
11128 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11129 if test "x$LINE" != x ; then
11130 eval "DEFAULT_$LINE"
11131 else
11132 no_cache=1
11133 fi
11134
11135 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11136
11137 fi
11138
11139
11140 eval "$ac_cv_use_datepick"
11141 if test "$no_cache" != 1; then
11142 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11143 fi
11144
11145 if test x"$enablestring" = xdisable; then
11146 if test $wxUSE_DATEPICKCTRL = yes; then
11147 result=no
11148 else
11149 result=yes
11150 fi
11151 else
11152 result=$wxUSE_DATEPICKCTRL
11153 fi
11154
11155 { echo "$as_me:$LINENO: result: $result" >&5
11156 echo "${ECHO_T}$result" >&6; }
11157
11158
11159 enablestring=
11160 defaultval=$wxUSE_ALL_FEATURES
11161 if test -z "$defaultval"; then
11162 if test x"$enablestring" = xdisable; then
11163 defaultval=yes
11164 else
11165 defaultval=no
11166 fi
11167 fi
11168
11169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11170 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11171 no_cache=0
11172 # Check whether --enable-dirpicker was given.
11173 if test "${enable_dirpicker+set}" = set; then
11174 enableval=$enable_dirpicker;
11175 if test "$enableval" = yes; then
11176 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11177 else
11178 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11179 fi
11180
11181 else
11182
11183 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11184 if test "x$LINE" != x ; then
11185 eval "DEFAULT_$LINE"
11186 else
11187 no_cache=1
11188 fi
11189
11190 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11191
11192 fi
11193
11194
11195 eval "$ac_cv_use_dirpicker"
11196 if test "$no_cache" != 1; then
11197 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11198 fi
11199
11200 if test x"$enablestring" = xdisable; then
11201 if test $wxUSE_DIRPICKERCTRL = yes; then
11202 result=no
11203 else
11204 result=yes
11205 fi
11206 else
11207 result=$wxUSE_DIRPICKERCTRL
11208 fi
11209
11210 { echo "$as_me:$LINENO: result: $result" >&5
11211 echo "${ECHO_T}$result" >&6; }
11212
11213
11214 enablestring=
11215 defaultval=$wxUSE_ALL_FEATURES
11216 if test -z "$defaultval"; then
11217 if test x"$enablestring" = xdisable; then
11218 defaultval=yes
11219 else
11220 defaultval=no
11221 fi
11222 fi
11223
11224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11225 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11226 no_cache=0
11227 # Check whether --enable-display was given.
11228 if test "${enable_display+set}" = set; then
11229 enableval=$enable_display;
11230 if test "$enableval" = yes; then
11231 ac_cv_use_display='wxUSE_DISPLAY=yes'
11232 else
11233 ac_cv_use_display='wxUSE_DISPLAY=no'
11234 fi
11235
11236 else
11237
11238 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11239 if test "x$LINE" != x ; then
11240 eval "DEFAULT_$LINE"
11241 else
11242 no_cache=1
11243 fi
11244
11245 ac_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11246
11247 fi
11248
11249
11250 eval "$ac_cv_use_display"
11251 if test "$no_cache" != 1; then
11252 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
11253 fi
11254
11255 if test x"$enablestring" = xdisable; then
11256 if test $wxUSE_DISPLAY = yes; then
11257 result=no
11258 else
11259 result=yes
11260 fi
11261 else
11262 result=$wxUSE_DISPLAY
11263 fi
11264
11265 { echo "$as_me:$LINENO: result: $result" >&5
11266 echo "${ECHO_T}$result" >&6; }
11267
11268
11269 enablestring=
11270 defaultval=$wxUSE_ALL_FEATURES
11271 if test -z "$defaultval"; then
11272 if test x"$enablestring" = xdisable; then
11273 defaultval=yes
11274 else
11275 defaultval=no
11276 fi
11277 fi
11278
11279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11280 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11281 no_cache=0
11282 # Check whether --enable-detect_sm was given.
11283 if test "${enable_detect_sm+set}" = set; then
11284 enableval=$enable_detect_sm;
11285 if test "$enableval" = yes; then
11286 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11287 else
11288 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11289 fi
11290
11291 else
11292
11293 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11294 if test "x$LINE" != x ; then
11295 eval "DEFAULT_$LINE"
11296 else
11297 no_cache=1
11298 fi
11299
11300 ac_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11301
11302 fi
11303
11304
11305 eval "$ac_cv_use_detect_sm"
11306 if test "$no_cache" != 1; then
11307 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11308 fi
11309
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_DETECT_SM = yes; then
11312 result=no
11313 else
11314 result=yes
11315 fi
11316 else
11317 result=$wxUSE_DETECT_SM
11318 fi
11319
11320 { echo "$as_me:$LINENO: result: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11322
11323
11324 enablestring=
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11328 defaultval=yes
11329 else
11330 defaultval=no
11331 fi
11332 fi
11333
11334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11335 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11336 no_cache=0
11337 # Check whether --enable-editablebox was given.
11338 if test "${enable_editablebox+set}" = set; then
11339 enableval=$enable_editablebox;
11340 if test "$enableval" = yes; then
11341 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11342 else
11343 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11344 fi
11345
11346 else
11347
11348 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11349 if test "x$LINE" != x ; then
11350 eval "DEFAULT_$LINE"
11351 else
11352 no_cache=1
11353 fi
11354
11355 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11356
11357 fi
11358
11359
11360 eval "$ac_cv_use_editablebox"
11361 if test "$no_cache" != 1; then
11362 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11363 fi
11364
11365 if test x"$enablestring" = xdisable; then
11366 if test $wxUSE_EDITABLELISTBOX = yes; then
11367 result=no
11368 else
11369 result=yes
11370 fi
11371 else
11372 result=$wxUSE_EDITABLELISTBOX
11373 fi
11374
11375 { echo "$as_me:$LINENO: result: $result" >&5
11376 echo "${ECHO_T}$result" >&6; }
11377
11378
11379 enablestring=
11380 defaultval=$wxUSE_ALL_FEATURES
11381 if test -z "$defaultval"; then
11382 if test x"$enablestring" = xdisable; then
11383 defaultval=yes
11384 else
11385 defaultval=no
11386 fi
11387 fi
11388
11389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11390 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11391 no_cache=0
11392 # Check whether --enable-filepicker was given.
11393 if test "${enable_filepicker+set}" = set; then
11394 enableval=$enable_filepicker;
11395 if test "$enableval" = yes; then
11396 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11397 else
11398 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11399 fi
11400
11401 else
11402
11403 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11404 if test "x$LINE" != x ; then
11405 eval "DEFAULT_$LINE"
11406 else
11407 no_cache=1
11408 fi
11409
11410 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11411
11412 fi
11413
11414
11415 eval "$ac_cv_use_filepicker"
11416 if test "$no_cache" != 1; then
11417 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11418 fi
11419
11420 if test x"$enablestring" = xdisable; then
11421 if test $wxUSE_FILEPICKERCTRL = yes; then
11422 result=no
11423 else
11424 result=yes
11425 fi
11426 else
11427 result=$wxUSE_FILEPICKERCTRL
11428 fi
11429
11430 { echo "$as_me:$LINENO: result: $result" >&5
11431 echo "${ECHO_T}$result" >&6; }
11432
11433
11434 enablestring=
11435 defaultval=$wxUSE_ALL_FEATURES
11436 if test -z "$defaultval"; then
11437 if test x"$enablestring" = xdisable; then
11438 defaultval=yes
11439 else
11440 defaultval=no
11441 fi
11442 fi
11443
11444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11445 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11446 no_cache=0
11447 # Check whether --enable-fontpicker was given.
11448 if test "${enable_fontpicker+set}" = set; then
11449 enableval=$enable_fontpicker;
11450 if test "$enableval" = yes; then
11451 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11452 else
11453 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11454 fi
11455
11456 else
11457
11458 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11459 if test "x$LINE" != x ; then
11460 eval "DEFAULT_$LINE"
11461 else
11462 no_cache=1
11463 fi
11464
11465 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11466
11467 fi
11468
11469
11470 eval "$ac_cv_use_fontpicker"
11471 if test "$no_cache" != 1; then
11472 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11473 fi
11474
11475 if test x"$enablestring" = xdisable; then
11476 if test $wxUSE_FONTPICKERCTRL = yes; then
11477 result=no
11478 else
11479 result=yes
11480 fi
11481 else
11482 result=$wxUSE_FONTPICKERCTRL
11483 fi
11484
11485 { echo "$as_me:$LINENO: result: $result" >&5
11486 echo "${ECHO_T}$result" >&6; }
11487
11488
11489 enablestring=
11490 defaultval=$wxUSE_ALL_FEATURES
11491 if test -z "$defaultval"; then
11492 if test x"$enablestring" = xdisable; then
11493 defaultval=yes
11494 else
11495 defaultval=no
11496 fi
11497 fi
11498
11499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11500 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11501 no_cache=0
11502 # Check whether --enable-gauge was given.
11503 if test "${enable_gauge+set}" = set; then
11504 enableval=$enable_gauge;
11505 if test "$enableval" = yes; then
11506 ac_cv_use_gauge='wxUSE_GAUGE=yes'
11507 else
11508 ac_cv_use_gauge='wxUSE_GAUGE=no'
11509 fi
11510
11511 else
11512
11513 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11514 if test "x$LINE" != x ; then
11515 eval "DEFAULT_$LINE"
11516 else
11517 no_cache=1
11518 fi
11519
11520 ac_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11521
11522 fi
11523
11524
11525 eval "$ac_cv_use_gauge"
11526 if test "$no_cache" != 1; then
11527 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11528 fi
11529
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_GAUGE = yes; then
11532 result=no
11533 else
11534 result=yes
11535 fi
11536 else
11537 result=$wxUSE_GAUGE
11538 fi
11539
11540 { echo "$as_me:$LINENO: result: $result" >&5
11541 echo "${ECHO_T}$result" >&6; }
11542
11543
11544 enablestring=
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11548 defaultval=yes
11549 else
11550 defaultval=no
11551 fi
11552 fi
11553
11554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11555 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11556 no_cache=0
11557 # Check whether --enable-grid was given.
11558 if test "${enable_grid+set}" = set; then
11559 enableval=$enable_grid;
11560 if test "$enableval" = yes; then
11561 ac_cv_use_grid='wxUSE_GRID=yes'
11562 else
11563 ac_cv_use_grid='wxUSE_GRID=no'
11564 fi
11565
11566 else
11567
11568 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11569 if test "x$LINE" != x ; then
11570 eval "DEFAULT_$LINE"
11571 else
11572 no_cache=1
11573 fi
11574
11575 ac_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11576
11577 fi
11578
11579
11580 eval "$ac_cv_use_grid"
11581 if test "$no_cache" != 1; then
11582 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
11583 fi
11584
11585 if test x"$enablestring" = xdisable; then
11586 if test $wxUSE_GRID = yes; then
11587 result=no
11588 else
11589 result=yes
11590 fi
11591 else
11592 result=$wxUSE_GRID
11593 fi
11594
11595 { echo "$as_me:$LINENO: result: $result" >&5
11596 echo "${ECHO_T}$result" >&6; }
11597
11598
11599 enablestring=
11600 defaultval=$wxUSE_ALL_FEATURES
11601 if test -z "$defaultval"; then
11602 if test x"$enablestring" = xdisable; then
11603 defaultval=yes
11604 else
11605 defaultval=no
11606 fi
11607 fi
11608
11609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11611 no_cache=0
11612 # Check whether --enable-dataviewctrl was given.
11613 if test "${enable_dataviewctrl+set}" = set; then
11614 enableval=$enable_dataviewctrl;
11615 if test "$enableval" = yes; then
11616 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11617 else
11618 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11619 fi
11620
11621 else
11622
11623 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11624 if test "x$LINE" != x ; then
11625 eval "DEFAULT_$LINE"
11626 else
11627 no_cache=1
11628 fi
11629
11630 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11631
11632 fi
11633
11634
11635 eval "$ac_cv_use_dataviewctrl"
11636 if test "$no_cache" != 1; then
11637 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11638 fi
11639
11640 if test x"$enablestring" = xdisable; then
11641 if test $wxUSE_DATAVIEWCTRL = yes; then
11642 result=no
11643 else
11644 result=yes
11645 fi
11646 else
11647 result=$wxUSE_DATAVIEWCTRL
11648 fi
11649
11650 { echo "$as_me:$LINENO: result: $result" >&5
11651 echo "${ECHO_T}$result" >&6; }
11652
11653
11654 enablestring=
11655 defaultval=$wxUSE_ALL_FEATURES
11656 if test -z "$defaultval"; then
11657 if test x"$enablestring" = xdisable; then
11658 defaultval=yes
11659 else
11660 defaultval=no
11661 fi
11662 fi
11663
11664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11665 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11666 no_cache=0
11667 # Check whether --enable-hyperlink was given.
11668 if test "${enable_hyperlink+set}" = set; then
11669 enableval=$enable_hyperlink;
11670 if test "$enableval" = yes; then
11671 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11672 else
11673 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11674 fi
11675
11676 else
11677
11678 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11679 if test "x$LINE" != x ; then
11680 eval "DEFAULT_$LINE"
11681 else
11682 no_cache=1
11683 fi
11684
11685 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11686
11687 fi
11688
11689
11690 eval "$ac_cv_use_hyperlink"
11691 if test "$no_cache" != 1; then
11692 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11693 fi
11694
11695 if test x"$enablestring" = xdisable; then
11696 if test $wxUSE_HYPERLINKCTRL = yes; then
11697 result=no
11698 else
11699 result=yes
11700 fi
11701 else
11702 result=$wxUSE_HYPERLINKCTRL
11703 fi
11704
11705 { echo "$as_me:$LINENO: result: $result" >&5
11706 echo "${ECHO_T}$result" >&6; }
11707
11708
11709 enablestring=
11710 defaultval=$wxUSE_ALL_FEATURES
11711 if test -z "$defaultval"; then
11712 if test x"$enablestring" = xdisable; then
11713 defaultval=yes
11714 else
11715 defaultval=no
11716 fi
11717 fi
11718
11719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11720 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11721 no_cache=0
11722 # Check whether --enable-imaglist was given.
11723 if test "${enable_imaglist+set}" = set; then
11724 enableval=$enable_imaglist;
11725 if test "$enableval" = yes; then
11726 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11727 else
11728 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
11729 fi
11730
11731 else
11732
11733 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11734 if test "x$LINE" != x ; then
11735 eval "DEFAULT_$LINE"
11736 else
11737 no_cache=1
11738 fi
11739
11740 ac_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11741
11742 fi
11743
11744
11745 eval "$ac_cv_use_imaglist"
11746 if test "$no_cache" != 1; then
11747 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11748 fi
11749
11750 if test x"$enablestring" = xdisable; then
11751 if test $wxUSE_IMAGLIST = yes; then
11752 result=no
11753 else
11754 result=yes
11755 fi
11756 else
11757 result=$wxUSE_IMAGLIST
11758 fi
11759
11760 { echo "$as_me:$LINENO: result: $result" >&5
11761 echo "${ECHO_T}$result" >&6; }
11762
11763
11764 enablestring=
11765 defaultval=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x"$enablestring" = xdisable; then
11768 defaultval=yes
11769 else
11770 defaultval=no
11771 fi
11772 fi
11773
11774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11775 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11776 no_cache=0
11777 # Check whether --enable-listbook was given.
11778 if test "${enable_listbook+set}" = set; then
11779 enableval=$enable_listbook;
11780 if test "$enableval" = yes; then
11781 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
11782 else
11783 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
11784 fi
11785
11786 else
11787
11788 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11789 if test "x$LINE" != x ; then
11790 eval "DEFAULT_$LINE"
11791 else
11792 no_cache=1
11793 fi
11794
11795 ac_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11796
11797 fi
11798
11799
11800 eval "$ac_cv_use_listbook"
11801 if test "$no_cache" != 1; then
11802 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11803 fi
11804
11805 if test x"$enablestring" = xdisable; then
11806 if test $wxUSE_LISTBOOK = yes; then
11807 result=no
11808 else
11809 result=yes
11810 fi
11811 else
11812 result=$wxUSE_LISTBOOK
11813 fi
11814
11815 { echo "$as_me:$LINENO: result: $result" >&5
11816 echo "${ECHO_T}$result" >&6; }
11817
11818
11819 enablestring=
11820 defaultval=$wxUSE_ALL_FEATURES
11821 if test -z "$defaultval"; then
11822 if test x"$enablestring" = xdisable; then
11823 defaultval=yes
11824 else
11825 defaultval=no
11826 fi
11827 fi
11828
11829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11830 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11831 no_cache=0
11832 # Check whether --enable-listbox was given.
11833 if test "${enable_listbox+set}" = set; then
11834 enableval=$enable_listbox;
11835 if test "$enableval" = yes; then
11836 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
11837 else
11838 ac_cv_use_listbox='wxUSE_LISTBOX=no'
11839 fi
11840
11841 else
11842
11843 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11844 if test "x$LINE" != x ; then
11845 eval "DEFAULT_$LINE"
11846 else
11847 no_cache=1
11848 fi
11849
11850 ac_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11851
11852 fi
11853
11854
11855 eval "$ac_cv_use_listbox"
11856 if test "$no_cache" != 1; then
11857 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11858 fi
11859
11860 if test x"$enablestring" = xdisable; then
11861 if test $wxUSE_LISTBOX = yes; then
11862 result=no
11863 else
11864 result=yes
11865 fi
11866 else
11867 result=$wxUSE_LISTBOX
11868 fi
11869
11870 { echo "$as_me:$LINENO: result: $result" >&5
11871 echo "${ECHO_T}$result" >&6; }
11872
11873
11874 enablestring=
11875 defaultval=$wxUSE_ALL_FEATURES
11876 if test -z "$defaultval"; then
11877 if test x"$enablestring" = xdisable; then
11878 defaultval=yes
11879 else
11880 defaultval=no
11881 fi
11882 fi
11883
11884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11885 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11886 no_cache=0
11887 # Check whether --enable-listctrl was given.
11888 if test "${enable_listctrl+set}" = set; then
11889 enableval=$enable_listctrl;
11890 if test "$enableval" = yes; then
11891 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11892 else
11893 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
11894 fi
11895
11896 else
11897
11898 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11899 if test "x$LINE" != x ; then
11900 eval "DEFAULT_$LINE"
11901 else
11902 no_cache=1
11903 fi
11904
11905 ac_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11906
11907 fi
11908
11909
11910 eval "$ac_cv_use_listctrl"
11911 if test "$no_cache" != 1; then
11912 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11913 fi
11914
11915 if test x"$enablestring" = xdisable; then
11916 if test $wxUSE_LISTCTRL = yes; then
11917 result=no
11918 else
11919 result=yes
11920 fi
11921 else
11922 result=$wxUSE_LISTCTRL
11923 fi
11924
11925 { echo "$as_me:$LINENO: result: $result" >&5
11926 echo "${ECHO_T}$result" >&6; }
11927
11928
11929 enablestring=
11930 defaultval=$wxUSE_ALL_FEATURES
11931 if test -z "$defaultval"; then
11932 if test x"$enablestring" = xdisable; then
11933 defaultval=yes
11934 else
11935 defaultval=no
11936 fi
11937 fi
11938
11939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11940 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11941 no_cache=0
11942 # Check whether --enable-notebook was given.
11943 if test "${enable_notebook+set}" = set; then
11944 enableval=$enable_notebook;
11945 if test "$enableval" = yes; then
11946 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11947 else
11948 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
11949 fi
11950
11951 else
11952
11953 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11954 if test "x$LINE" != x ; then
11955 eval "DEFAULT_$LINE"
11956 else
11957 no_cache=1
11958 fi
11959
11960 ac_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11961
11962 fi
11963
11964
11965 eval "$ac_cv_use_notebook"
11966 if test "$no_cache" != 1; then
11967 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
11968 fi
11969
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_NOTEBOOK = yes; then
11972 result=no
11973 else
11974 result=yes
11975 fi
11976 else
11977 result=$wxUSE_NOTEBOOK
11978 fi
11979
11980 { echo "$as_me:$LINENO: result: $result" >&5
11981 echo "${ECHO_T}$result" >&6; }
11982
11983
11984 enablestring=
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11988 defaultval=yes
11989 else
11990 defaultval=no
11991 fi
11992 fi
11993
11994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11995 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11996 no_cache=0
11997 # Check whether --enable-odcombobox was given.
11998 if test "${enable_odcombobox+set}" = set; then
11999 enableval=$enable_odcombobox;
12000 if test "$enableval" = yes; then
12001 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12002 else
12003 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12004 fi
12005
12006 else
12007
12008 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12009 if test "x$LINE" != x ; then
12010 eval "DEFAULT_$LINE"
12011 else
12012 no_cache=1
12013 fi
12014
12015 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12016
12017 fi
12018
12019
12020 eval "$ac_cv_use_odcombobox"
12021 if test "$no_cache" != 1; then
12022 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12023 fi
12024
12025 if test x"$enablestring" = xdisable; then
12026 if test $wxUSE_ODCOMBOBOX = yes; then
12027 result=no
12028 else
12029 result=yes
12030 fi
12031 else
12032 result=$wxUSE_ODCOMBOBOX
12033 fi
12034
12035 { echo "$as_me:$LINENO: result: $result" >&5
12036 echo "${ECHO_T}$result" >&6; }
12037
12038
12039 enablestring=
12040 defaultval=$wxUSE_ALL_FEATURES
12041 if test -z "$defaultval"; then
12042 if test x"$enablestring" = xdisable; then
12043 defaultval=yes
12044 else
12045 defaultval=no
12046 fi
12047 fi
12048
12049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12050 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12051 no_cache=0
12052 # Check whether --enable-radiobox was given.
12053 if test "${enable_radiobox+set}" = set; then
12054 enableval=$enable_radiobox;
12055 if test "$enableval" = yes; then
12056 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12057 else
12058 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
12059 fi
12060
12061 else
12062
12063 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12064 if test "x$LINE" != x ; then
12065 eval "DEFAULT_$LINE"
12066 else
12067 no_cache=1
12068 fi
12069
12070 ac_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12071
12072 fi
12073
12074
12075 eval "$ac_cv_use_radiobox"
12076 if test "$no_cache" != 1; then
12077 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12078 fi
12079
12080 if test x"$enablestring" = xdisable; then
12081 if test $wxUSE_RADIOBOX = yes; then
12082 result=no
12083 else
12084 result=yes
12085 fi
12086 else
12087 result=$wxUSE_RADIOBOX
12088 fi
12089
12090 { echo "$as_me:$LINENO: result: $result" >&5
12091 echo "${ECHO_T}$result" >&6; }
12092
12093
12094 enablestring=
12095 defaultval=$wxUSE_ALL_FEATURES
12096 if test -z "$defaultval"; then
12097 if test x"$enablestring" = xdisable; then
12098 defaultval=yes
12099 else
12100 defaultval=no
12101 fi
12102 fi
12103
12104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12105 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12106 no_cache=0
12107 # Check whether --enable-radiobtn was given.
12108 if test "${enable_radiobtn+set}" = set; then
12109 enableval=$enable_radiobtn;
12110 if test "$enableval" = yes; then
12111 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12112 else
12113 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12114 fi
12115
12116 else
12117
12118 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12119 if test "x$LINE" != x ; then
12120 eval "DEFAULT_$LINE"
12121 else
12122 no_cache=1
12123 fi
12124
12125 ac_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12126
12127 fi
12128
12129
12130 eval "$ac_cv_use_radiobtn"
12131 if test "$no_cache" != 1; then
12132 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12133 fi
12134
12135 if test x"$enablestring" = xdisable; then
12136 if test $wxUSE_RADIOBTN = yes; then
12137 result=no
12138 else
12139 result=yes
12140 fi
12141 else
12142 result=$wxUSE_RADIOBTN
12143 fi
12144
12145 { echo "$as_me:$LINENO: result: $result" >&5
12146 echo "${ECHO_T}$result" >&6; }
12147
12148
12149 enablestring=
12150 defaultval=$wxUSE_ALL_FEATURES
12151 if test -z "$defaultval"; then
12152 if test x"$enablestring" = xdisable; then
12153 defaultval=yes
12154 else
12155 defaultval=no
12156 fi
12157 fi
12158
12159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12160 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12161 no_cache=0
12162 # Check whether --enable-sash was given.
12163 if test "${enable_sash+set}" = set; then
12164 enableval=$enable_sash;
12165 if test "$enableval" = yes; then
12166 ac_cv_use_sash='wxUSE_SASH=yes'
12167 else
12168 ac_cv_use_sash='wxUSE_SASH=no'
12169 fi
12170
12171 else
12172
12173 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12174 if test "x$LINE" != x ; then
12175 eval "DEFAULT_$LINE"
12176 else
12177 no_cache=1
12178 fi
12179
12180 ac_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12181
12182 fi
12183
12184
12185 eval "$ac_cv_use_sash"
12186 if test "$no_cache" != 1; then
12187 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
12188 fi
12189
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_SASH = yes; then
12192 result=no
12193 else
12194 result=yes
12195 fi
12196 else
12197 result=$wxUSE_SASH
12198 fi
12199
12200 { echo "$as_me:$LINENO: result: $result" >&5
12201 echo "${ECHO_T}$result" >&6; }
12202
12203
12204 enablestring=
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12208 defaultval=yes
12209 else
12210 defaultval=no
12211 fi
12212 fi
12213
12214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12215 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12216 no_cache=0
12217 # Check whether --enable-scrollbar was given.
12218 if test "${enable_scrollbar+set}" = set; then
12219 enableval=$enable_scrollbar;
12220 if test "$enableval" = yes; then
12221 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12222 else
12223 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12224 fi
12225
12226 else
12227
12228 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12229 if test "x$LINE" != x ; then
12230 eval "DEFAULT_$LINE"
12231 else
12232 no_cache=1
12233 fi
12234
12235 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12236
12237 fi
12238
12239
12240 eval "$ac_cv_use_scrollbar"
12241 if test "$no_cache" != 1; then
12242 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12243 fi
12244
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_SCROLLBAR = yes; then
12247 result=no
12248 else
12249 result=yes
12250 fi
12251 else
12252 result=$wxUSE_SCROLLBAR
12253 fi
12254
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12257
12258
12259 enablestring=
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12263 defaultval=yes
12264 else
12265 defaultval=no
12266 fi
12267 fi
12268
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12271 no_cache=0
12272 # Check whether --enable-searchctrl was given.
12273 if test "${enable_searchctrl+set}" = set; then
12274 enableval=$enable_searchctrl;
12275 if test "$enableval" = yes; then
12276 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12277 else
12278 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12279 fi
12280
12281 else
12282
12283 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12284 if test "x$LINE" != x ; then
12285 eval "DEFAULT_$LINE"
12286 else
12287 no_cache=1
12288 fi
12289
12290 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12291
12292 fi
12293
12294
12295 eval "$ac_cv_use_searchctrl"
12296 if test "$no_cache" != 1; then
12297 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12298 fi
12299
12300 if test x"$enablestring" = xdisable; then
12301 if test $wxUSE_SEARCHCTRL = yes; then
12302 result=no
12303 else
12304 result=yes
12305 fi
12306 else
12307 result=$wxUSE_SEARCHCTRL
12308 fi
12309
12310 { echo "$as_me:$LINENO: result: $result" >&5
12311 echo "${ECHO_T}$result" >&6; }
12312
12313
12314 enablestring=
12315 defaultval=$wxUSE_ALL_FEATURES
12316 if test -z "$defaultval"; then
12317 if test x"$enablestring" = xdisable; then
12318 defaultval=yes
12319 else
12320 defaultval=no
12321 fi
12322 fi
12323
12324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12325 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12326 no_cache=0
12327 # Check whether --enable-slider was given.
12328 if test "${enable_slider+set}" = set; then
12329 enableval=$enable_slider;
12330 if test "$enableval" = yes; then
12331 ac_cv_use_slider='wxUSE_SLIDER=yes'
12332 else
12333 ac_cv_use_slider='wxUSE_SLIDER=no'
12334 fi
12335
12336 else
12337
12338 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12339 if test "x$LINE" != x ; then
12340 eval "DEFAULT_$LINE"
12341 else
12342 no_cache=1
12343 fi
12344
12345 ac_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12346
12347 fi
12348
12349
12350 eval "$ac_cv_use_slider"
12351 if test "$no_cache" != 1; then
12352 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
12353 fi
12354
12355 if test x"$enablestring" = xdisable; then
12356 if test $wxUSE_SLIDER = yes; then
12357 result=no
12358 else
12359 result=yes
12360 fi
12361 else
12362 result=$wxUSE_SLIDER
12363 fi
12364
12365 { echo "$as_me:$LINENO: result: $result" >&5
12366 echo "${ECHO_T}$result" >&6; }
12367
12368
12369 enablestring=
12370 defaultval=$wxUSE_ALL_FEATURES
12371 if test -z "$defaultval"; then
12372 if test x"$enablestring" = xdisable; then
12373 defaultval=yes
12374 else
12375 defaultval=no
12376 fi
12377 fi
12378
12379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12380 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12381 no_cache=0
12382 # Check whether --enable-spinbtn was given.
12383 if test "${enable_spinbtn+set}" = set; then
12384 enableval=$enable_spinbtn;
12385 if test "$enableval" = yes; then
12386 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12387 else
12388 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
12389 fi
12390
12391 else
12392
12393 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12394 if test "x$LINE" != x ; then
12395 eval "DEFAULT_$LINE"
12396 else
12397 no_cache=1
12398 fi
12399
12400 ac_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12401
12402 fi
12403
12404
12405 eval "$ac_cv_use_spinbtn"
12406 if test "$no_cache" != 1; then
12407 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12408 fi
12409
12410 if test x"$enablestring" = xdisable; then
12411 if test $wxUSE_SPINBTN = yes; then
12412 result=no
12413 else
12414 result=yes
12415 fi
12416 else
12417 result=$wxUSE_SPINBTN
12418 fi
12419
12420 { echo "$as_me:$LINENO: result: $result" >&5
12421 echo "${ECHO_T}$result" >&6; }
12422
12423
12424 enablestring=
12425 defaultval=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x"$enablestring" = xdisable; then
12428 defaultval=yes
12429 else
12430 defaultval=no
12431 fi
12432 fi
12433
12434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12435 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12436 no_cache=0
12437 # Check whether --enable-spinctrl was given.
12438 if test "${enable_spinctrl+set}" = set; then
12439 enableval=$enable_spinctrl;
12440 if test "$enableval" = yes; then
12441 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12442 else
12443 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12444 fi
12445
12446 else
12447
12448 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12449 if test "x$LINE" != x ; then
12450 eval "DEFAULT_$LINE"
12451 else
12452 no_cache=1
12453 fi
12454
12455 ac_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12456
12457 fi
12458
12459
12460 eval "$ac_cv_use_spinctrl"
12461 if test "$no_cache" != 1; then
12462 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12463 fi
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_SPINCTRL = yes; then
12467 result=no
12468 else
12469 result=yes
12470 fi
12471 else
12472 result=$wxUSE_SPINCTRL
12473 fi
12474
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12491 no_cache=0
12492 # Check whether --enable-splitter was given.
12493 if test "${enable_splitter+set}" = set; then
12494 enableval=$enable_splitter;
12495 if test "$enableval" = yes; then
12496 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
12497 else
12498 ac_cv_use_splitter='wxUSE_SPLITTER=no'
12499 fi
12500
12501 else
12502
12503 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12504 if test "x$LINE" != x ; then
12505 eval "DEFAULT_$LINE"
12506 else
12507 no_cache=1
12508 fi
12509
12510 ac_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12511
12512 fi
12513
12514
12515 eval "$ac_cv_use_splitter"
12516 if test "$no_cache" != 1; then
12517 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12518 fi
12519
12520 if test x"$enablestring" = xdisable; then
12521 if test $wxUSE_SPLITTER = yes; then
12522 result=no
12523 else
12524 result=yes
12525 fi
12526 else
12527 result=$wxUSE_SPLITTER
12528 fi
12529
12530 { echo "$as_me:$LINENO: result: $result" >&5
12531 echo "${ECHO_T}$result" >&6; }
12532
12533
12534 enablestring=
12535 defaultval=$wxUSE_ALL_FEATURES
12536 if test -z "$defaultval"; then
12537 if test x"$enablestring" = xdisable; then
12538 defaultval=yes
12539 else
12540 defaultval=no
12541 fi
12542 fi
12543
12544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12545 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12546 no_cache=0
12547 # Check whether --enable-statbmp was given.
12548 if test "${enable_statbmp+set}" = set; then
12549 enableval=$enable_statbmp;
12550 if test "$enableval" = yes; then
12551 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
12552 else
12553 ac_cv_use_statbmp='wxUSE_STATBMP=no'
12554 fi
12555
12556 else
12557
12558 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12559 if test "x$LINE" != x ; then
12560 eval "DEFAULT_$LINE"
12561 else
12562 no_cache=1
12563 fi
12564
12565 ac_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12566
12567 fi
12568
12569
12570 eval "$ac_cv_use_statbmp"
12571 if test "$no_cache" != 1; then
12572 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12573 fi
12574
12575 if test x"$enablestring" = xdisable; then
12576 if test $wxUSE_STATBMP = yes; then
12577 result=no
12578 else
12579 result=yes
12580 fi
12581 else
12582 result=$wxUSE_STATBMP
12583 fi
12584
12585 { echo "$as_me:$LINENO: result: $result" >&5
12586 echo "${ECHO_T}$result" >&6; }
12587
12588
12589 enablestring=
12590 defaultval=$wxUSE_ALL_FEATURES
12591 if test -z "$defaultval"; then
12592 if test x"$enablestring" = xdisable; then
12593 defaultval=yes
12594 else
12595 defaultval=no
12596 fi
12597 fi
12598
12599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12600 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12601 no_cache=0
12602 # Check whether --enable-statbox was given.
12603 if test "${enable_statbox+set}" = set; then
12604 enableval=$enable_statbox;
12605 if test "$enableval" = yes; then
12606 ac_cv_use_statbox='wxUSE_STATBOX=yes'
12607 else
12608 ac_cv_use_statbox='wxUSE_STATBOX=no'
12609 fi
12610
12611 else
12612
12613 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12614 if test "x$LINE" != x ; then
12615 eval "DEFAULT_$LINE"
12616 else
12617 no_cache=1
12618 fi
12619
12620 ac_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12621
12622 fi
12623
12624
12625 eval "$ac_cv_use_statbox"
12626 if test "$no_cache" != 1; then
12627 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12628 fi
12629
12630 if test x"$enablestring" = xdisable; then
12631 if test $wxUSE_STATBOX = yes; then
12632 result=no
12633 else
12634 result=yes
12635 fi
12636 else
12637 result=$wxUSE_STATBOX
12638 fi
12639
12640 { echo "$as_me:$LINENO: result: $result" >&5
12641 echo "${ECHO_T}$result" >&6; }
12642
12643
12644 enablestring=
12645 defaultval=$wxUSE_ALL_FEATURES
12646 if test -z "$defaultval"; then
12647 if test x"$enablestring" = xdisable; then
12648 defaultval=yes
12649 else
12650 defaultval=no
12651 fi
12652 fi
12653
12654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12655 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12656 no_cache=0
12657 # Check whether --enable-statline was given.
12658 if test "${enable_statline+set}" = set; then
12659 enableval=$enable_statline;
12660 if test "$enableval" = yes; then
12661 ac_cv_use_statline='wxUSE_STATLINE=yes'
12662 else
12663 ac_cv_use_statline='wxUSE_STATLINE=no'
12664 fi
12665
12666 else
12667
12668 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12669 if test "x$LINE" != x ; then
12670 eval "DEFAULT_$LINE"
12671 else
12672 no_cache=1
12673 fi
12674
12675 ac_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12676
12677 fi
12678
12679
12680 eval "$ac_cv_use_statline"
12681 if test "$no_cache" != 1; then
12682 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
12683 fi
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_STATLINE = yes; then
12687 result=no
12688 else
12689 result=yes
12690 fi
12691 else
12692 result=$wxUSE_STATLINE
12693 fi
12694
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12711 no_cache=0
12712 # Check whether --enable-stattext was given.
12713 if test "${enable_stattext+set}" = set; then
12714 enableval=$enable_stattext;
12715 if test "$enableval" = yes; then
12716 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
12717 else
12718 ac_cv_use_stattext='wxUSE_STATTEXT=no'
12719 fi
12720
12721 else
12722
12723 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12724 if test "x$LINE" != x ; then
12725 eval "DEFAULT_$LINE"
12726 else
12727 no_cache=1
12728 fi
12729
12730 ac_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12731
12732 fi
12733
12734
12735 eval "$ac_cv_use_stattext"
12736 if test "$no_cache" != 1; then
12737 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
12738 fi
12739
12740 if test x"$enablestring" = xdisable; then
12741 if test $wxUSE_STATTEXT = yes; then
12742 result=no
12743 else
12744 result=yes
12745 fi
12746 else
12747 result=$wxUSE_STATTEXT
12748 fi
12749
12750 { echo "$as_me:$LINENO: result: $result" >&5
12751 echo "${ECHO_T}$result" >&6; }
12752
12753
12754 enablestring=
12755 defaultval=$wxUSE_ALL_FEATURES
12756 if test -z "$defaultval"; then
12757 if test x"$enablestring" = xdisable; then
12758 defaultval=yes
12759 else
12760 defaultval=no
12761 fi
12762 fi
12763
12764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12765 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12766 no_cache=0
12767 # Check whether --enable-statusbar was given.
12768 if test "${enable_statusbar+set}" = set; then
12769 enableval=$enable_statusbar;
12770 if test "$enableval" = yes; then
12771 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12772 else
12773 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
12774 fi
12775
12776 else
12777
12778 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12779 if test "x$LINE" != x ; then
12780 eval "DEFAULT_$LINE"
12781 else
12782 no_cache=1
12783 fi
12784
12785 ac_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12786
12787 fi
12788
12789
12790 eval "$ac_cv_use_statusbar"
12791 if test "$no_cache" != 1; then
12792 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12793 fi
12794
12795 if test x"$enablestring" = xdisable; then
12796 if test $wxUSE_STATUSBAR = yes; then
12797 result=no
12798 else
12799 result=yes
12800 fi
12801 else
12802 result=$wxUSE_STATUSBAR
12803 fi
12804
12805 { echo "$as_me:$LINENO: result: $result" >&5
12806 echo "${ECHO_T}$result" >&6; }
12807
12808
12809 enablestring=
12810 defaultval=$wxUSE_ALL_FEATURES
12811 if test -z "$defaultval"; then
12812 if test x"$enablestring" = xdisable; then
12813 defaultval=yes
12814 else
12815 defaultval=no
12816 fi
12817 fi
12818
12819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12820 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12821 no_cache=0
12822 # Check whether --enable-tabdialog was given.
12823 if test "${enable_tabdialog+set}" = set; then
12824 enableval=$enable_tabdialog;
12825 if test "$enableval" = yes; then
12826 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12827 else
12828 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12829 fi
12830
12831 else
12832
12833 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12834 if test "x$LINE" != x ; then
12835 eval "DEFAULT_$LINE"
12836 else
12837 no_cache=1
12838 fi
12839
12840 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12841
12842 fi
12843
12844
12845 eval "$ac_cv_use_tabdialog"
12846 if test "$no_cache" != 1; then
12847 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12848 fi
12849
12850 if test x"$enablestring" = xdisable; then
12851 if test $wxUSE_TAB_DIALOG = yes; then
12852 result=no
12853 else
12854 result=yes
12855 fi
12856 else
12857 result=$wxUSE_TAB_DIALOG
12858 fi
12859
12860 { echo "$as_me:$LINENO: result: $result" >&5
12861 echo "${ECHO_T}$result" >&6; }
12862
12863
12864 enablestring=
12865 defaultval=$wxUSE_ALL_FEATURES
12866 if test -z "$defaultval"; then
12867 if test x"$enablestring" = xdisable; then
12868 defaultval=yes
12869 else
12870 defaultval=no
12871 fi
12872 fi
12873
12874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12875 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12876 no_cache=0
12877 # Check whether --enable-textctrl was given.
12878 if test "${enable_textctrl+set}" = set; then
12879 enableval=$enable_textctrl;
12880 if test "$enableval" = yes; then
12881 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12882 else
12883 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12884 fi
12885
12886 else
12887
12888 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12889 if test "x$LINE" != x ; then
12890 eval "DEFAULT_$LINE"
12891 else
12892 no_cache=1
12893 fi
12894
12895 ac_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12896
12897 fi
12898
12899
12900 eval "$ac_cv_use_textctrl"
12901 if test "$no_cache" != 1; then
12902 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12903 fi
12904
12905 if test x"$enablestring" = xdisable; then
12906 if test $wxUSE_TEXTCTRL = yes; then
12907 result=no
12908 else
12909 result=yes
12910 fi
12911 else
12912 result=$wxUSE_TEXTCTRL
12913 fi
12914
12915 { echo "$as_me:$LINENO: result: $result" >&5
12916 echo "${ECHO_T}$result" >&6; }
12917
12918
12919 enablestring=
12920 defaultval=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x"$enablestring" = xdisable; then
12923 defaultval=yes
12924 else
12925 defaultval=no
12926 fi
12927 fi
12928
12929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12930 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12931 no_cache=0
12932 # Check whether --enable-togglebtn was given.
12933 if test "${enable_togglebtn+set}" = set; then
12934 enableval=$enable_togglebtn;
12935 if test "$enableval" = yes; then
12936 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12937 else
12938 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12939 fi
12940
12941 else
12942
12943 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12944 if test "x$LINE" != x ; then
12945 eval "DEFAULT_$LINE"
12946 else
12947 no_cache=1
12948 fi
12949
12950 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12951
12952 fi
12953
12954
12955 eval "$ac_cv_use_togglebtn"
12956 if test "$no_cache" != 1; then
12957 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
12958 fi
12959
12960 if test x"$enablestring" = xdisable; then
12961 if test $wxUSE_TOGGLEBTN = yes; then
12962 result=no
12963 else
12964 result=yes
12965 fi
12966 else
12967 result=$wxUSE_TOGGLEBTN
12968 fi
12969
12970 { echo "$as_me:$LINENO: result: $result" >&5
12971 echo "${ECHO_T}$result" >&6; }
12972
12973
12974 enablestring=
12975 defaultval=$wxUSE_ALL_FEATURES
12976 if test -z "$defaultval"; then
12977 if test x"$enablestring" = xdisable; then
12978 defaultval=yes
12979 else
12980 defaultval=no
12981 fi
12982 fi
12983
12984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12985 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12986 no_cache=0
12987 # Check whether --enable-toolbar was given.
12988 if test "${enable_toolbar+set}" = set; then
12989 enableval=$enable_toolbar;
12990 if test "$enableval" = yes; then
12991 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12992 else
12993 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
12994 fi
12995
12996 else
12997
12998 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
12999 if test "x$LINE" != x ; then
13000 eval "DEFAULT_$LINE"
13001 else
13002 no_cache=1
13003 fi
13004
13005 ac_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13006
13007 fi
13008
13009
13010 eval "$ac_cv_use_toolbar"
13011 if test "$no_cache" != 1; then
13012 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13013 fi
13014
13015 if test x"$enablestring" = xdisable; then
13016 if test $wxUSE_TOOLBAR = yes; then
13017 result=no
13018 else
13019 result=yes
13020 fi
13021 else
13022 result=$wxUSE_TOOLBAR
13023 fi
13024
13025 { echo "$as_me:$LINENO: result: $result" >&5
13026 echo "${ECHO_T}$result" >&6; }
13027
13028
13029 enablestring=
13030 defaultval=$wxUSE_ALL_FEATURES
13031 if test -z "$defaultval"; then
13032 if test x"$enablestring" = xdisable; then
13033 defaultval=yes
13034 else
13035 defaultval=no
13036 fi
13037 fi
13038
13039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13040 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13041 no_cache=0
13042 # Check whether --enable-tbarnative was given.
13043 if test "${enable_tbarnative+set}" = set; then
13044 enableval=$enable_tbarnative;
13045 if test "$enableval" = yes; then
13046 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13047 else
13048 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13049 fi
13050
13051 else
13052
13053 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13054 if test "x$LINE" != x ; then
13055 eval "DEFAULT_$LINE"
13056 else
13057 no_cache=1
13058 fi
13059
13060 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13061
13062 fi
13063
13064
13065 eval "$ac_cv_use_tbarnative"
13066 if test "$no_cache" != 1; then
13067 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13068 fi
13069
13070 if test x"$enablestring" = xdisable; then
13071 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13072 result=no
13073 else
13074 result=yes
13075 fi
13076 else
13077 result=$wxUSE_TOOLBAR_NATIVE
13078 fi
13079
13080 { echo "$as_me:$LINENO: result: $result" >&5
13081 echo "${ECHO_T}$result" >&6; }
13082
13083
13084 enablestring=
13085 defaultval=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x"$enablestring" = xdisable; then
13088 defaultval=yes
13089 else
13090 defaultval=no
13091 fi
13092 fi
13093
13094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13095 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13096 no_cache=0
13097 # Check whether --enable-treebook was given.
13098 if test "${enable_treebook+set}" = set; then
13099 enableval=$enable_treebook;
13100 if test "$enableval" = yes; then
13101 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
13102 else
13103 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
13104 fi
13105
13106 else
13107
13108 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13109 if test "x$LINE" != x ; then
13110 eval "DEFAULT_$LINE"
13111 else
13112 no_cache=1
13113 fi
13114
13115 ac_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13116
13117 fi
13118
13119
13120 eval "$ac_cv_use_treebook"
13121 if test "$no_cache" != 1; then
13122 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13123 fi
13124
13125 if test x"$enablestring" = xdisable; then
13126 if test $wxUSE_TREEBOOK = yes; then
13127 result=no
13128 else
13129 result=yes
13130 fi
13131 else
13132 result=$wxUSE_TREEBOOK
13133 fi
13134
13135 { echo "$as_me:$LINENO: result: $result" >&5
13136 echo "${ECHO_T}$result" >&6; }
13137
13138
13139 enablestring=
13140 defaultval=$wxUSE_ALL_FEATURES
13141 if test -z "$defaultval"; then
13142 if test x"$enablestring" = xdisable; then
13143 defaultval=yes
13144 else
13145 defaultval=no
13146 fi
13147 fi
13148
13149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13150 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13151 no_cache=0
13152 # Check whether --enable-toolbook was given.
13153 if test "${enable_toolbook+set}" = set; then
13154 enableval=$enable_toolbook;
13155 if test "$enableval" = yes; then
13156 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13157 else
13158 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13159 fi
13160
13161 else
13162
13163 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13164 if test "x$LINE" != x ; then
13165 eval "DEFAULT_$LINE"
13166 else
13167 no_cache=1
13168 fi
13169
13170 ac_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13171
13172 fi
13173
13174
13175 eval "$ac_cv_use_toolbook"
13176 if test "$no_cache" != 1; then
13177 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13178 fi
13179
13180 if test x"$enablestring" = xdisable; then
13181 if test $wxUSE_TOOLBOOK = yes; then
13182 result=no
13183 else
13184 result=yes
13185 fi
13186 else
13187 result=$wxUSE_TOOLBOOK
13188 fi
13189
13190 { echo "$as_me:$LINENO: result: $result" >&5
13191 echo "${ECHO_T}$result" >&6; }
13192
13193
13194 enablestring=
13195 defaultval=$wxUSE_ALL_FEATURES
13196 if test -z "$defaultval"; then
13197 if test x"$enablestring" = xdisable; then
13198 defaultval=yes
13199 else
13200 defaultval=no
13201 fi
13202 fi
13203
13204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13205 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13206 no_cache=0
13207 # Check whether --enable-treectrl was given.
13208 if test "${enable_treectrl+set}" = set; then
13209 enableval=$enable_treectrl;
13210 if test "$enableval" = yes; then
13211 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
13212 else
13213 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
13214 fi
13215
13216 else
13217
13218 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13219 if test "x$LINE" != x ; then
13220 eval "DEFAULT_$LINE"
13221 else
13222 no_cache=1
13223 fi
13224
13225 ac_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13226
13227 fi
13228
13229
13230 eval "$ac_cv_use_treectrl"
13231 if test "$no_cache" != 1; then
13232 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13233 fi
13234
13235 if test x"$enablestring" = xdisable; then
13236 if test $wxUSE_TREECTRL = yes; then
13237 result=no
13238 else
13239 result=yes
13240 fi
13241 else
13242 result=$wxUSE_TREECTRL
13243 fi
13244
13245 { echo "$as_me:$LINENO: result: $result" >&5
13246 echo "${ECHO_T}$result" >&6; }
13247
13248
13249 enablestring=
13250 defaultval=$wxUSE_ALL_FEATURES
13251 if test -z "$defaultval"; then
13252 if test x"$enablestring" = xdisable; then
13253 defaultval=yes
13254 else
13255 defaultval=no
13256 fi
13257 fi
13258
13259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13260 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13261 no_cache=0
13262 # Check whether --enable-tipwindow was given.
13263 if test "${enable_tipwindow+set}" = set; then
13264 enableval=$enable_tipwindow;
13265 if test "$enableval" = yes; then
13266 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13267 else
13268 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13269 fi
13270
13271 else
13272
13273 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13274 if test "x$LINE" != x ; then
13275 eval "DEFAULT_$LINE"
13276 else
13277 no_cache=1
13278 fi
13279
13280 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13281
13282 fi
13283
13284
13285 eval "$ac_cv_use_tipwindow"
13286 if test "$no_cache" != 1; then
13287 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13288 fi
13289
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_TIPWINDOW = yes; then
13292 result=no
13293 else
13294 result=yes
13295 fi
13296 else
13297 result=$wxUSE_TIPWINDOW
13298 fi
13299
13300 { echo "$as_me:$LINENO: result: $result" >&5
13301 echo "${ECHO_T}$result" >&6; }
13302
13303
13304 enablestring=
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13308 defaultval=yes
13309 else
13310 defaultval=no
13311 fi
13312 fi
13313
13314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13315 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13316 no_cache=0
13317 # Check whether --enable-popupwin was given.
13318 if test "${enable_popupwin+set}" = set; then
13319 enableval=$enable_popupwin;
13320 if test "$enableval" = yes; then
13321 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13322 else
13323 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
13324 fi
13325
13326 else
13327
13328 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13329 if test "x$LINE" != x ; then
13330 eval "DEFAULT_$LINE"
13331 else
13332 no_cache=1
13333 fi
13334
13335 ac_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13336
13337 fi
13338
13339
13340 eval "$ac_cv_use_popupwin"
13341 if test "$no_cache" != 1; then
13342 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13343 fi
13344
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_POPUPWIN = yes; then
13347 result=no
13348 else
13349 result=yes
13350 fi
13351 else
13352 result=$wxUSE_POPUPWIN
13353 fi
13354
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13357
13358
13359
13360
13361 enablestring=
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13365 defaultval=yes
13366 else
13367 defaultval=no
13368 fi
13369 fi
13370
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13373 no_cache=0
13374 # Check whether --enable-commondlg was given.
13375 if test "${enable_commondlg+set}" = set; then
13376 enableval=$enable_commondlg;
13377 if test "$enableval" = yes; then
13378 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13379 else
13380 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13381 fi
13382
13383 else
13384
13385 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13386 if test "x$LINE" != x ; then
13387 eval "DEFAULT_$LINE"
13388 else
13389 no_cache=1
13390 fi
13391
13392 ac_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13393
13394 fi
13395
13396
13397 eval "$ac_cv_use_commondlg"
13398 if test "$no_cache" != 1; then
13399 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13400 fi
13401
13402 if test x"$enablestring" = xdisable; then
13403 if test $wxUSE_COMMONDLGS = yes; then
13404 result=no
13405 else
13406 result=yes
13407 fi
13408 else
13409 result=$wxUSE_COMMONDLGS
13410 fi
13411
13412 { echo "$as_me:$LINENO: result: $result" >&5
13413 echo "${ECHO_T}$result" >&6; }
13414
13415
13416 enablestring=
13417 defaultval=$wxUSE_ALL_FEATURES
13418 if test -z "$defaultval"; then
13419 if test x"$enablestring" = xdisable; then
13420 defaultval=yes
13421 else
13422 defaultval=no
13423 fi
13424 fi
13425
13426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13427 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13428 no_cache=0
13429 # Check whether --enable-aboutdlg was given.
13430 if test "${enable_aboutdlg+set}" = set; then
13431 enableval=$enable_aboutdlg;
13432 if test "$enableval" = yes; then
13433 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13434 else
13435 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13436 fi
13437
13438 else
13439
13440 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13441 if test "x$LINE" != x ; then
13442 eval "DEFAULT_$LINE"
13443 else
13444 no_cache=1
13445 fi
13446
13447 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13448
13449 fi
13450
13451
13452 eval "$ac_cv_use_aboutdlg"
13453 if test "$no_cache" != 1; then
13454 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13455 fi
13456
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_ABOUTDLG = yes; then
13459 result=no
13460 else
13461 result=yes
13462 fi
13463 else
13464 result=$wxUSE_ABOUTDLG
13465 fi
13466
13467 { echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13469
13470
13471 enablestring=
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13475 defaultval=yes
13476 else
13477 defaultval=no
13478 fi
13479 fi
13480
13481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13482 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13483 no_cache=0
13484 # Check whether --enable-choicedlg was given.
13485 if test "${enable_choicedlg+set}" = set; then
13486 enableval=$enable_choicedlg;
13487 if test "$enableval" = yes; then
13488 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13489 else
13490 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13491 fi
13492
13493 else
13494
13495 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13496 if test "x$LINE" != x ; then
13497 eval "DEFAULT_$LINE"
13498 else
13499 no_cache=1
13500 fi
13501
13502 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13503
13504 fi
13505
13506
13507 eval "$ac_cv_use_choicedlg"
13508 if test "$no_cache" != 1; then
13509 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13510 fi
13511
13512 if test x"$enablestring" = xdisable; then
13513 if test $wxUSE_CHOICEDLG = yes; then
13514 result=no
13515 else
13516 result=yes
13517 fi
13518 else
13519 result=$wxUSE_CHOICEDLG
13520 fi
13521
13522 { echo "$as_me:$LINENO: result: $result" >&5
13523 echo "${ECHO_T}$result" >&6; }
13524
13525
13526 enablestring=
13527 defaultval=$wxUSE_ALL_FEATURES
13528 if test -z "$defaultval"; then
13529 if test x"$enablestring" = xdisable; then
13530 defaultval=yes
13531 else
13532 defaultval=no
13533 fi
13534 fi
13535
13536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13537 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13538 no_cache=0
13539 # Check whether --enable-coldlg was given.
13540 if test "${enable_coldlg+set}" = set; then
13541 enableval=$enable_coldlg;
13542 if test "$enableval" = yes; then
13543 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13544 else
13545 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
13546 fi
13547
13548 else
13549
13550 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13551 if test "x$LINE" != x ; then
13552 eval "DEFAULT_$LINE"
13553 else
13554 no_cache=1
13555 fi
13556
13557 ac_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13558
13559 fi
13560
13561
13562 eval "$ac_cv_use_coldlg"
13563 if test "$no_cache" != 1; then
13564 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13565 fi
13566
13567 if test x"$enablestring" = xdisable; then
13568 if test $wxUSE_COLOURDLG = yes; then
13569 result=no
13570 else
13571 result=yes
13572 fi
13573 else
13574 result=$wxUSE_COLOURDLG
13575 fi
13576
13577 { echo "$as_me:$LINENO: result: $result" >&5
13578 echo "${ECHO_T}$result" >&6; }
13579
13580
13581 enablestring=
13582 defaultval=$wxUSE_ALL_FEATURES
13583 if test -z "$defaultval"; then
13584 if test x"$enablestring" = xdisable; then
13585 defaultval=yes
13586 else
13587 defaultval=no
13588 fi
13589 fi
13590
13591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13592 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13593 no_cache=0
13594 # Check whether --enable-filedlg was given.
13595 if test "${enable_filedlg+set}" = set; then
13596 enableval=$enable_filedlg;
13597 if test "$enableval" = yes; then
13598 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
13599 else
13600 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
13601 fi
13602
13603 else
13604
13605 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13606 if test "x$LINE" != x ; then
13607 eval "DEFAULT_$LINE"
13608 else
13609 no_cache=1
13610 fi
13611
13612 ac_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13613
13614 fi
13615
13616
13617 eval "$ac_cv_use_filedlg"
13618 if test "$no_cache" != 1; then
13619 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13620 fi
13621
13622 if test x"$enablestring" = xdisable; then
13623 if test $wxUSE_FILEDLG = yes; then
13624 result=no
13625 else
13626 result=yes
13627 fi
13628 else
13629 result=$wxUSE_FILEDLG
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}-finddlg" >&5
13647 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13648 no_cache=0
13649 # Check whether --enable-finddlg was given.
13650 if test "${enable_finddlg+set}" = set; then
13651 enableval=$enable_finddlg;
13652 if test "$enableval" = yes; then
13653 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13654 else
13655 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13656 fi
13657
13658 else
13659
13660 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13661 if test "x$LINE" != x ; then
13662 eval "DEFAULT_$LINE"
13663 else
13664 no_cache=1
13665 fi
13666
13667 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13668
13669 fi
13670
13671
13672 eval "$ac_cv_use_finddlg"
13673 if test "$no_cache" != 1; then
13674 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
13675 fi
13676
13677 if test x"$enablestring" = xdisable; then
13678 if test $wxUSE_FINDREPLDLG = yes; then
13679 result=no
13680 else
13681 result=yes
13682 fi
13683 else
13684 result=$wxUSE_FINDREPLDLG
13685 fi
13686
13687 { echo "$as_me:$LINENO: result: $result" >&5
13688 echo "${ECHO_T}$result" >&6; }
13689
13690
13691 enablestring=
13692 defaultval=$wxUSE_ALL_FEATURES
13693 if test -z "$defaultval"; then
13694 if test x"$enablestring" = xdisable; then
13695 defaultval=yes
13696 else
13697 defaultval=no
13698 fi
13699 fi
13700
13701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13702 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13703 no_cache=0
13704 # Check whether --enable-fontdlg was given.
13705 if test "${enable_fontdlg+set}" = set; then
13706 enableval=$enable_fontdlg;
13707 if test "$enableval" = yes; then
13708 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13709 else
13710 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
13711 fi
13712
13713 else
13714
13715 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13716 if test "x$LINE" != x ; then
13717 eval "DEFAULT_$LINE"
13718 else
13719 no_cache=1
13720 fi
13721
13722 ac_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13723
13724 fi
13725
13726
13727 eval "$ac_cv_use_fontdlg"
13728 if test "$no_cache" != 1; then
13729 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
13730 fi
13731
13732 if test x"$enablestring" = xdisable; then
13733 if test $wxUSE_FONTDLG = yes; then
13734 result=no
13735 else
13736 result=yes
13737 fi
13738 else
13739 result=$wxUSE_FONTDLG
13740 fi
13741
13742 { echo "$as_me:$LINENO: result: $result" >&5
13743 echo "${ECHO_T}$result" >&6; }
13744
13745
13746 enablestring=
13747 defaultval=$wxUSE_ALL_FEATURES
13748 if test -z "$defaultval"; then
13749 if test x"$enablestring" = xdisable; then
13750 defaultval=yes
13751 else
13752 defaultval=no
13753 fi
13754 fi
13755
13756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13757 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13758 no_cache=0
13759 # Check whether --enable-dirdlg was given.
13760 if test "${enable_dirdlg+set}" = set; then
13761 enableval=$enable_dirdlg;
13762 if test "$enableval" = yes; then
13763 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13764 else
13765 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
13766 fi
13767
13768 else
13769
13770 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13771 if test "x$LINE" != x ; then
13772 eval "DEFAULT_$LINE"
13773 else
13774 no_cache=1
13775 fi
13776
13777 ac_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13778
13779 fi
13780
13781
13782 eval "$ac_cv_use_dirdlg"
13783 if test "$no_cache" != 1; then
13784 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
13785 fi
13786
13787 if test x"$enablestring" = xdisable; then
13788 if test $wxUSE_DIRDLG = yes; then
13789 result=no
13790 else
13791 result=yes
13792 fi
13793 else
13794 result=$wxUSE_DIRDLG
13795 fi
13796
13797 { echo "$as_me:$LINENO: result: $result" >&5
13798 echo "${ECHO_T}$result" >&6; }
13799
13800
13801 enablestring=
13802 defaultval=$wxUSE_ALL_FEATURES
13803 if test -z "$defaultval"; then
13804 if test x"$enablestring" = xdisable; then
13805 defaultval=yes
13806 else
13807 defaultval=no
13808 fi
13809 fi
13810
13811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13812 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13813 no_cache=0
13814 # Check whether --enable-msgdlg was given.
13815 if test "${enable_msgdlg+set}" = set; then
13816 enableval=$enable_msgdlg;
13817 if test "$enableval" = yes; then
13818 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13819 else
13820 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
13821 fi
13822
13823 else
13824
13825 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13826 if test "x$LINE" != x ; then
13827 eval "DEFAULT_$LINE"
13828 else
13829 no_cache=1
13830 fi
13831
13832 ac_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13833
13834 fi
13835
13836
13837 eval "$ac_cv_use_msgdlg"
13838 if test "$no_cache" != 1; then
13839 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13840 fi
13841
13842 if test x"$enablestring" = xdisable; then
13843 if test $wxUSE_MSGDLG = yes; then
13844 result=no
13845 else
13846 result=yes
13847 fi
13848 else
13849 result=$wxUSE_MSGDLG
13850 fi
13851
13852 { echo "$as_me:$LINENO: result: $result" >&5
13853 echo "${ECHO_T}$result" >&6; }
13854
13855
13856 enablestring=
13857 defaultval=$wxUSE_ALL_FEATURES
13858 if test -z "$defaultval"; then
13859 if test x"$enablestring" = xdisable; then
13860 defaultval=yes
13861 else
13862 defaultval=no
13863 fi
13864 fi
13865
13866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13867 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13868 no_cache=0
13869 # Check whether --enable-numberdlg was given.
13870 if test "${enable_numberdlg+set}" = set; then
13871 enableval=$enable_numberdlg;
13872 if test "$enableval" = yes; then
13873 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13874 else
13875 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13876 fi
13877
13878 else
13879
13880 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13881 if test "x$LINE" != x ; then
13882 eval "DEFAULT_$LINE"
13883 else
13884 no_cache=1
13885 fi
13886
13887 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13888
13889 fi
13890
13891
13892 eval "$ac_cv_use_numberdlg"
13893 if test "$no_cache" != 1; then
13894 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13895 fi
13896
13897 if test x"$enablestring" = xdisable; then
13898 if test $wxUSE_NUMBERDLG = yes; then
13899 result=no
13900 else
13901 result=yes
13902 fi
13903 else
13904 result=$wxUSE_NUMBERDLG
13905 fi
13906
13907 { echo "$as_me:$LINENO: result: $result" >&5
13908 echo "${ECHO_T}$result" >&6; }
13909
13910
13911 enablestring=
13912 defaultval=$wxUSE_ALL_FEATURES
13913 if test -z "$defaultval"; then
13914 if test x"$enablestring" = xdisable; then
13915 defaultval=yes
13916 else
13917 defaultval=no
13918 fi
13919 fi
13920
13921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13922 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13923 no_cache=0
13924 # Check whether --enable-splash was given.
13925 if test "${enable_splash+set}" = set; then
13926 enableval=$enable_splash;
13927 if test "$enableval" = yes; then
13928 ac_cv_use_splash='wxUSE_SPLASH=yes'
13929 else
13930 ac_cv_use_splash='wxUSE_SPLASH=no'
13931 fi
13932
13933 else
13934
13935 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13936 if test "x$LINE" != x ; then
13937 eval "DEFAULT_$LINE"
13938 else
13939 no_cache=1
13940 fi
13941
13942 ac_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13943
13944 fi
13945
13946
13947 eval "$ac_cv_use_splash"
13948 if test "$no_cache" != 1; then
13949 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
13950 fi
13951
13952 if test x"$enablestring" = xdisable; then
13953 if test $wxUSE_SPLASH = yes; then
13954 result=no
13955 else
13956 result=yes
13957 fi
13958 else
13959 result=$wxUSE_SPLASH
13960 fi
13961
13962 { echo "$as_me:$LINENO: result: $result" >&5
13963 echo "${ECHO_T}$result" >&6; }
13964
13965
13966 enablestring=
13967 defaultval=$wxUSE_ALL_FEATURES
13968 if test -z "$defaultval"; then
13969 if test x"$enablestring" = xdisable; then
13970 defaultval=yes
13971 else
13972 defaultval=no
13973 fi
13974 fi
13975
13976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13977 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13978 no_cache=0
13979 # Check whether --enable-textdlg was given.
13980 if test "${enable_textdlg+set}" = set; then
13981 enableval=$enable_textdlg;
13982 if test "$enableval" = yes; then
13983 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13984 else
13985 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
13986 fi
13987
13988 else
13989
13990 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13991 if test "x$LINE" != x ; then
13992 eval "DEFAULT_$LINE"
13993 else
13994 no_cache=1
13995 fi
13996
13997 ac_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13998
13999 fi
14000
14001
14002 eval "$ac_cv_use_textdlg"
14003 if test "$no_cache" != 1; then
14004 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14005 fi
14006
14007 if test x"$enablestring" = xdisable; then
14008 if test $wxUSE_TEXTDLG = yes; then
14009 result=no
14010 else
14011 result=yes
14012 fi
14013 else
14014 result=$wxUSE_TEXTDLG
14015 fi
14016
14017 { echo "$as_me:$LINENO: result: $result" >&5
14018 echo "${ECHO_T}$result" >&6; }
14019
14020
14021 enablestring=
14022 defaultval=$wxUSE_ALL_FEATURES
14023 if test -z "$defaultval"; then
14024 if test x"$enablestring" = xdisable; then
14025 defaultval=yes
14026 else
14027 defaultval=no
14028 fi
14029 fi
14030
14031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14032 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14033 no_cache=0
14034 # Check whether --enable-tipdlg was given.
14035 if test "${enable_tipdlg+set}" = set; then
14036 enableval=$enable_tipdlg;
14037 if test "$enableval" = yes; then
14038 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14039 else
14040 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14041 fi
14042
14043 else
14044
14045 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14046 if test "x$LINE" != x ; then
14047 eval "DEFAULT_$LINE"
14048 else
14049 no_cache=1
14050 fi
14051
14052 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14053
14054 fi
14055
14056
14057 eval "$ac_cv_use_tipdlg"
14058 if test "$no_cache" != 1; then
14059 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14060 fi
14061
14062 if test x"$enablestring" = xdisable; then
14063 if test $wxUSE_STARTUP_TIPS = yes; then
14064 result=no
14065 else
14066 result=yes
14067 fi
14068 else
14069 result=$wxUSE_STARTUP_TIPS
14070 fi
14071
14072 { echo "$as_me:$LINENO: result: $result" >&5
14073 echo "${ECHO_T}$result" >&6; }
14074
14075
14076 enablestring=
14077 defaultval=$wxUSE_ALL_FEATURES
14078 if test -z "$defaultval"; then
14079 if test x"$enablestring" = xdisable; then
14080 defaultval=yes
14081 else
14082 defaultval=no
14083 fi
14084 fi
14085
14086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14087 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14088 no_cache=0
14089 # Check whether --enable-progressdlg was given.
14090 if test "${enable_progressdlg+set}" = set; then
14091 enableval=$enable_progressdlg;
14092 if test "$enableval" = yes; then
14093 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14094 else
14095 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14096 fi
14097
14098 else
14099
14100 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14101 if test "x$LINE" != x ; then
14102 eval "DEFAULT_$LINE"
14103 else
14104 no_cache=1
14105 fi
14106
14107 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14108
14109 fi
14110
14111
14112 eval "$ac_cv_use_progressdlg"
14113 if test "$no_cache" != 1; then
14114 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14115 fi
14116
14117 if test x"$enablestring" = xdisable; then
14118 if test $wxUSE_PROGRESSDLG = yes; then
14119 result=no
14120 else
14121 result=yes
14122 fi
14123 else
14124 result=$wxUSE_PROGRESSDLG
14125 fi
14126
14127 { echo "$as_me:$LINENO: result: $result" >&5
14128 echo "${ECHO_T}$result" >&6; }
14129
14130
14131 enablestring=
14132 defaultval=$wxUSE_ALL_FEATURES
14133 if test -z "$defaultval"; then
14134 if test x"$enablestring" = xdisable; then
14135 defaultval=yes
14136 else
14137 defaultval=no
14138 fi
14139 fi
14140
14141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14142 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14143 no_cache=0
14144 # Check whether --enable-wizarddlg was given.
14145 if test "${enable_wizarddlg+set}" = set; then
14146 enableval=$enable_wizarddlg;
14147 if test "$enableval" = yes; then
14148 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14149 else
14150 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14151 fi
14152
14153 else
14154
14155 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14156 if test "x$LINE" != x ; then
14157 eval "DEFAULT_$LINE"
14158 else
14159 no_cache=1
14160 fi
14161
14162 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14163
14164 fi
14165
14166
14167 eval "$ac_cv_use_wizarddlg"
14168 if test "$no_cache" != 1; then
14169 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14170 fi
14171
14172 if test x"$enablestring" = xdisable; then
14173 if test $wxUSE_WIZARDDLG = yes; then
14174 result=no
14175 else
14176 result=yes
14177 fi
14178 else
14179 result=$wxUSE_WIZARDDLG
14180 fi
14181
14182 { echo "$as_me:$LINENO: result: $result" >&5
14183 echo "${ECHO_T}$result" >&6; }
14184
14185
14186
14187
14188 enablestring=
14189 defaultval=$wxUSE_ALL_FEATURES
14190 if test -z "$defaultval"; then
14191 if test x"$enablestring" = xdisable; then
14192 defaultval=yes
14193 else
14194 defaultval=no
14195 fi
14196 fi
14197
14198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14200 no_cache=0
14201 # Check whether --enable-menus was given.
14202 if test "${enable_menus+set}" = set; then
14203 enableval=$enable_menus;
14204 if test "$enableval" = yes; then
14205 ac_cv_use_menus='wxUSE_MENUS=yes'
14206 else
14207 ac_cv_use_menus='wxUSE_MENUS=no'
14208 fi
14209
14210 else
14211
14212 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14213 if test "x$LINE" != x ; then
14214 eval "DEFAULT_$LINE"
14215 else
14216 no_cache=1
14217 fi
14218
14219 ac_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14220
14221 fi
14222
14223
14224 eval "$ac_cv_use_menus"
14225 if test "$no_cache" != 1; then
14226 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
14227 fi
14228
14229 if test x"$enablestring" = xdisable; then
14230 if test $wxUSE_MENUS = yes; then
14231 result=no
14232 else
14233 result=yes
14234 fi
14235 else
14236 result=$wxUSE_MENUS
14237 fi
14238
14239 { echo "$as_me:$LINENO: result: $result" >&5
14240 echo "${ECHO_T}$result" >&6; }
14241
14242
14243 enablestring=
14244 defaultval=$wxUSE_ALL_FEATURES
14245 if test -z "$defaultval"; then
14246 if test x"$enablestring" = xdisable; then
14247 defaultval=yes
14248 else
14249 defaultval=no
14250 fi
14251 fi
14252
14253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14254 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14255 no_cache=0
14256 # Check whether --enable-miniframe was given.
14257 if test "${enable_miniframe+set}" = set; then
14258 enableval=$enable_miniframe;
14259 if test "$enableval" = yes; then
14260 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14261 else
14262 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
14263 fi
14264
14265 else
14266
14267 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14268 if test "x$LINE" != x ; then
14269 eval "DEFAULT_$LINE"
14270 else
14271 no_cache=1
14272 fi
14273
14274 ac_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14275
14276 fi
14277
14278
14279 eval "$ac_cv_use_miniframe"
14280 if test "$no_cache" != 1; then
14281 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14282 fi
14283
14284 if test x"$enablestring" = xdisable; then
14285 if test $wxUSE_MINIFRAME = yes; then
14286 result=no
14287 else
14288 result=yes
14289 fi
14290 else
14291 result=$wxUSE_MINIFRAME
14292 fi
14293
14294 { echo "$as_me:$LINENO: result: $result" >&5
14295 echo "${ECHO_T}$result" >&6; }
14296
14297
14298 enablestring=
14299 defaultval=$wxUSE_ALL_FEATURES
14300 if test -z "$defaultval"; then
14301 if test x"$enablestring" = xdisable; then
14302 defaultval=yes
14303 else
14304 defaultval=no
14305 fi
14306 fi
14307
14308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14309 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14310 no_cache=0
14311 # Check whether --enable-tooltips was given.
14312 if test "${enable_tooltips+set}" = set; then
14313 enableval=$enable_tooltips;
14314 if test "$enableval" = yes; then
14315 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14316 else
14317 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14318 fi
14319
14320 else
14321
14322 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14323 if test "x$LINE" != x ; then
14324 eval "DEFAULT_$LINE"
14325 else
14326 no_cache=1
14327 fi
14328
14329 ac_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14330
14331 fi
14332
14333
14334 eval "$ac_cv_use_tooltips"
14335 if test "$no_cache" != 1; then
14336 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14337 fi
14338
14339 if test x"$enablestring" = xdisable; then
14340 if test $wxUSE_TOOLTIPS = yes; then
14341 result=no
14342 else
14343 result=yes
14344 fi
14345 else
14346 result=$wxUSE_TOOLTIPS
14347 fi
14348
14349 { echo "$as_me:$LINENO: result: $result" >&5
14350 echo "${ECHO_T}$result" >&6; }
14351
14352
14353 enablestring=
14354 defaultval=$wxUSE_ALL_FEATURES
14355 if test -z "$defaultval"; then
14356 if test x"$enablestring" = xdisable; then
14357 defaultval=yes
14358 else
14359 defaultval=no
14360 fi
14361 fi
14362
14363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14364 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14365 no_cache=0
14366 # Check whether --enable-splines was given.
14367 if test "${enable_splines+set}" = set; then
14368 enableval=$enable_splines;
14369 if test "$enableval" = yes; then
14370 ac_cv_use_splines='wxUSE_SPLINES=yes'
14371 else
14372 ac_cv_use_splines='wxUSE_SPLINES=no'
14373 fi
14374
14375 else
14376
14377 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14378 if test "x$LINE" != x ; then
14379 eval "DEFAULT_$LINE"
14380 else
14381 no_cache=1
14382 fi
14383
14384 ac_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14385
14386 fi
14387
14388
14389 eval "$ac_cv_use_splines"
14390 if test "$no_cache" != 1; then
14391 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
14392 fi
14393
14394 if test x"$enablestring" = xdisable; then
14395 if test $wxUSE_SPLINES = yes; then
14396 result=no
14397 else
14398 result=yes
14399 fi
14400 else
14401 result=$wxUSE_SPLINES
14402 fi
14403
14404 { echo "$as_me:$LINENO: result: $result" >&5
14405 echo "${ECHO_T}$result" >&6; }
14406
14407
14408 enablestring=
14409 defaultval=$wxUSE_ALL_FEATURES
14410 if test -z "$defaultval"; then
14411 if test x"$enablestring" = xdisable; then
14412 defaultval=yes
14413 else
14414 defaultval=no
14415 fi
14416 fi
14417
14418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14419 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14420 no_cache=0
14421 # Check whether --enable-mousewheel was given.
14422 if test "${enable_mousewheel+set}" = set; then
14423 enableval=$enable_mousewheel;
14424 if test "$enableval" = yes; then
14425 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14426 else
14427 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14428 fi
14429
14430 else
14431
14432 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14433 if test "x$LINE" != x ; then
14434 eval "DEFAULT_$LINE"
14435 else
14436 no_cache=1
14437 fi
14438
14439 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14440
14441 fi
14442
14443
14444 eval "$ac_cv_use_mousewheel"
14445 if test "$no_cache" != 1; then
14446 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14447 fi
14448
14449 if test x"$enablestring" = xdisable; then
14450 if test $wxUSE_MOUSEWHEEL = yes; then
14451 result=no
14452 else
14453 result=yes
14454 fi
14455 else
14456 result=$wxUSE_MOUSEWHEEL
14457 fi
14458
14459 { echo "$as_me:$LINENO: result: $result" >&5
14460 echo "${ECHO_T}$result" >&6; }
14461
14462
14463 enablestring=
14464 defaultval=$wxUSE_ALL_FEATURES
14465 if test -z "$defaultval"; then
14466 if test x"$enablestring" = xdisable; then
14467 defaultval=yes
14468 else
14469 defaultval=no
14470 fi
14471 fi
14472
14473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14474 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14475 no_cache=0
14476 # Check whether --enable-validators was given.
14477 if test "${enable_validators+set}" = set; then
14478 enableval=$enable_validators;
14479 if test "$enableval" = yes; then
14480 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
14481 else
14482 ac_cv_use_validators='wxUSE_VALIDATORS=no'
14483 fi
14484
14485 else
14486
14487 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14488 if test "x$LINE" != x ; then
14489 eval "DEFAULT_$LINE"
14490 else
14491 no_cache=1
14492 fi
14493
14494 ac_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14495
14496 fi
14497
14498
14499 eval "$ac_cv_use_validators"
14500 if test "$no_cache" != 1; then
14501 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
14502 fi
14503
14504 if test x"$enablestring" = xdisable; then
14505 if test $wxUSE_VALIDATORS = yes; then
14506 result=no
14507 else
14508 result=yes
14509 fi
14510 else
14511 result=$wxUSE_VALIDATORS
14512 fi
14513
14514 { echo "$as_me:$LINENO: result: $result" >&5
14515 echo "${ECHO_T}$result" >&6; }
14516
14517
14518 enablestring=
14519 defaultval=$wxUSE_ALL_FEATURES
14520 if test -z "$defaultval"; then
14521 if test x"$enablestring" = xdisable; then
14522 defaultval=yes
14523 else
14524 defaultval=no
14525 fi
14526 fi
14527
14528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14529 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14530 no_cache=0
14531 # Check whether --enable-busyinfo was given.
14532 if test "${enable_busyinfo+set}" = set; then
14533 enableval=$enable_busyinfo;
14534 if test "$enableval" = yes; then
14535 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14536 else
14537 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14538 fi
14539
14540 else
14541
14542 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14543 if test "x$LINE" != x ; then
14544 eval "DEFAULT_$LINE"
14545 else
14546 no_cache=1
14547 fi
14548
14549 ac_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14550
14551 fi
14552
14553
14554 eval "$ac_cv_use_busyinfo"
14555 if test "$no_cache" != 1; then
14556 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14557 fi
14558
14559 if test x"$enablestring" = xdisable; then
14560 if test $wxUSE_BUSYINFO = yes; then
14561 result=no
14562 else
14563 result=yes
14564 fi
14565 else
14566 result=$wxUSE_BUSYINFO
14567 fi
14568
14569 { echo "$as_me:$LINENO: result: $result" >&5
14570 echo "${ECHO_T}$result" >&6; }
14571
14572
14573 enablestring=
14574 defaultval=$wxUSE_ALL_FEATURES
14575 if test -z "$defaultval"; then
14576 if test x"$enablestring" = xdisable; then
14577 defaultval=yes
14578 else
14579 defaultval=no
14580 fi
14581 fi
14582
14583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14584 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14585 no_cache=0
14586 # Check whether --enable-joystick was given.
14587 if test "${enable_joystick+set}" = set; then
14588 enableval=$enable_joystick;
14589 if test "$enableval" = yes; then
14590 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
14591 else
14592 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
14593 fi
14594
14595 else
14596
14597 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14598 if test "x$LINE" != x ; then
14599 eval "DEFAULT_$LINE"
14600 else
14601 no_cache=1
14602 fi
14603
14604 ac_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14605
14606 fi
14607
14608
14609 eval "$ac_cv_use_joystick"
14610 if test "$no_cache" != 1; then
14611 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14612 fi
14613
14614 if test x"$enablestring" = xdisable; then
14615 if test $wxUSE_JOYSTICK = yes; then
14616 result=no
14617 else
14618 result=yes
14619 fi
14620 else
14621 result=$wxUSE_JOYSTICK
14622 fi
14623
14624 { echo "$as_me:$LINENO: result: $result" >&5
14625 echo "${ECHO_T}$result" >&6; }
14626
14627
14628 enablestring=
14629 defaultval=$wxUSE_ALL_FEATURES
14630 if test -z "$defaultval"; then
14631 if test x"$enablestring" = xdisable; then
14632 defaultval=yes
14633 else
14634 defaultval=no
14635 fi
14636 fi
14637
14638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14639 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14640 no_cache=0
14641 # Check whether --enable-metafile was given.
14642 if test "${enable_metafile+set}" = set; then
14643 enableval=$enable_metafile;
14644 if test "$enableval" = yes; then
14645 ac_cv_use_metafile='wxUSE_METAFILE=yes'
14646 else
14647 ac_cv_use_metafile='wxUSE_METAFILE=no'
14648 fi
14649
14650 else
14651
14652 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14653 if test "x$LINE" != x ; then
14654 eval "DEFAULT_$LINE"
14655 else
14656 no_cache=1
14657 fi
14658
14659 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14660
14661 fi
14662
14663
14664 eval "$ac_cv_use_metafile"
14665 if test "$no_cache" != 1; then
14666 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
14667 fi
14668
14669 if test x"$enablestring" = xdisable; then
14670 if test $wxUSE_METAFILE = yes; then
14671 result=no
14672 else
14673 result=yes
14674 fi
14675 else
14676 result=$wxUSE_METAFILE
14677 fi
14678
14679 { echo "$as_me:$LINENO: result: $result" >&5
14680 echo "${ECHO_T}$result" >&6; }
14681
14682
14683 enablestring=
14684 defaultval=$wxUSE_ALL_FEATURES
14685 if test -z "$defaultval"; then
14686 if test x"$enablestring" = xdisable; then
14687 defaultval=yes
14688 else
14689 defaultval=no
14690 fi
14691 fi
14692
14693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14694 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14695 no_cache=0
14696 # Check whether --enable-dragimage was given.
14697 if test "${enable_dragimage+set}" = set; then
14698 enableval=$enable_dragimage;
14699 if test "$enableval" = yes; then
14700 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14701 else
14702 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14703 fi
14704
14705 else
14706
14707 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14708 if test "x$LINE" != x ; then
14709 eval "DEFAULT_$LINE"
14710 else
14711 no_cache=1
14712 fi
14713
14714 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14715
14716 fi
14717
14718
14719 eval "$ac_cv_use_dragimage"
14720 if test "$no_cache" != 1; then
14721 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
14722 fi
14723
14724 if test x"$enablestring" = xdisable; then
14725 if test $wxUSE_DRAGIMAGE = yes; then
14726 result=no
14727 else
14728 result=yes
14729 fi
14730 else
14731 result=$wxUSE_DRAGIMAGE
14732 fi
14733
14734 { echo "$as_me:$LINENO: result: $result" >&5
14735 echo "${ECHO_T}$result" >&6; }
14736
14737
14738 enablestring=
14739 defaultval=$wxUSE_ALL_FEATURES
14740 if test -z "$defaultval"; then
14741 if test x"$enablestring" = xdisable; then
14742 defaultval=yes
14743 else
14744 defaultval=no
14745 fi
14746 fi
14747
14748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14749 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14750 no_cache=0
14751 # Check whether --enable-accessibility was given.
14752 if test "${enable_accessibility+set}" = set; then
14753 enableval=$enable_accessibility;
14754 if test "$enableval" = yes; then
14755 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14756 else
14757 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14758 fi
14759
14760 else
14761
14762 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14763 if test "x$LINE" != x ; then
14764 eval "DEFAULT_$LINE"
14765 else
14766 no_cache=1
14767 fi
14768
14769 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14770
14771 fi
14772
14773
14774 eval "$ac_cv_use_accessibility"
14775 if test "$no_cache" != 1; then
14776 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
14777 fi
14778
14779 if test x"$enablestring" = xdisable; then
14780 if test $wxUSE_ACCESSIBILITY = yes; then
14781 result=no
14782 else
14783 result=yes
14784 fi
14785 else
14786 result=$wxUSE_ACCESSIBILITY
14787 fi
14788
14789 { echo "$as_me:$LINENO: result: $result" >&5
14790 echo "${ECHO_T}$result" >&6; }
14791
14792
14793 if test "$wxUSE_MSW" = "1"; then
14794
14795 enablestring=
14796 defaultval=$wxUSE_ALL_FEATURES
14797 if test -z "$defaultval"; then
14798 if test x"$enablestring" = xdisable; then
14799 defaultval=yes
14800 else
14801 defaultval=no
14802 fi
14803 fi
14804
14805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14806 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14807 no_cache=0
14808 # Check whether --enable-dccache was given.
14809 if test "${enable_dccache+set}" = set; then
14810 enableval=$enable_dccache;
14811 if test "$enableval" = yes; then
14812 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14813 else
14814 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
14815 fi
14816
14817 else
14818
14819 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14820 if test "x$LINE" != x ; then
14821 eval "DEFAULT_$LINE"
14822 else
14823 no_cache=1
14824 fi
14825
14826 ac_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14827
14828 fi
14829
14830
14831 eval "$ac_cv_use_dccache"
14832 if test "$no_cache" != 1; then
14833 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14834 fi
14835
14836 if test x"$enablestring" = xdisable; then
14837 if test $wxUSE_DC_CACHEING = yes; then
14838 result=no
14839 else
14840 result=yes
14841 fi
14842 else
14843 result=$wxUSE_DC_CACHEING
14844 fi
14845
14846 { echo "$as_me:$LINENO: result: $result" >&5
14847 echo "${ECHO_T}$result" >&6; }
14848
14849 fi
14850
14851
14852
14853 enablestring=
14854 defaultval=$wxUSE_ALL_FEATURES
14855 if test -z "$defaultval"; then
14856 if test x"$enablestring" = xdisable; then
14857 defaultval=yes
14858 else
14859 defaultval=no
14860 fi
14861 fi
14862
14863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14864 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14865 no_cache=0
14866 # Check whether --enable-palette was given.
14867 if test "${enable_palette+set}" = set; then
14868 enableval=$enable_palette;
14869 if test "$enableval" = yes; then
14870 ac_cv_use_palette='wxUSE_PALETTE=yes'
14871 else
14872 ac_cv_use_palette='wxUSE_PALETTE=no'
14873 fi
14874
14875 else
14876
14877 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14878 if test "x$LINE" != x ; then
14879 eval "DEFAULT_$LINE"
14880 else
14881 no_cache=1
14882 fi
14883
14884 ac_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14885
14886 fi
14887
14888
14889 eval "$ac_cv_use_palette"
14890 if test "$no_cache" != 1; then
14891 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
14892 fi
14893
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_PALETTE = yes; then
14896 result=no
14897 else
14898 result=yes
14899 fi
14900 else
14901 result=$wxUSE_PALETTE
14902 fi
14903
14904 { echo "$as_me:$LINENO: result: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14906
14907
14908 enablestring=
14909 defaultval=$wxUSE_ALL_FEATURES
14910 if test -z "$defaultval"; then
14911 if test x"$enablestring" = xdisable; then
14912 defaultval=yes
14913 else
14914 defaultval=no
14915 fi
14916 fi
14917
14918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14919 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14920 no_cache=0
14921 # Check whether --enable-image was given.
14922 if test "${enable_image+set}" = set; then
14923 enableval=$enable_image;
14924 if test "$enableval" = yes; then
14925 ac_cv_use_image='wxUSE_IMAGE=yes'
14926 else
14927 ac_cv_use_image='wxUSE_IMAGE=no'
14928 fi
14929
14930 else
14931
14932 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14933 if test "x$LINE" != x ; then
14934 eval "DEFAULT_$LINE"
14935 else
14936 no_cache=1
14937 fi
14938
14939 ac_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14940
14941 fi
14942
14943
14944 eval "$ac_cv_use_image"
14945 if test "$no_cache" != 1; then
14946 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
14947 fi
14948
14949 if test x"$enablestring" = xdisable; then
14950 if test $wxUSE_IMAGE = yes; then
14951 result=no
14952 else
14953 result=yes
14954 fi
14955 else
14956 result=$wxUSE_IMAGE
14957 fi
14958
14959 { echo "$as_me:$LINENO: result: $result" >&5
14960 echo "${ECHO_T}$result" >&6; }
14961
14962
14963 enablestring=
14964 defaultval=$wxUSE_ALL_FEATURES
14965 if test -z "$defaultval"; then
14966 if test x"$enablestring" = xdisable; then
14967 defaultval=yes
14968 else
14969 defaultval=no
14970 fi
14971 fi
14972
14973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14974 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14975 no_cache=0
14976 # Check whether --enable-gif was given.
14977 if test "${enable_gif+set}" = set; then
14978 enableval=$enable_gif;
14979 if test "$enableval" = yes; then
14980 ac_cv_use_gif='wxUSE_GIF=yes'
14981 else
14982 ac_cv_use_gif='wxUSE_GIF=no'
14983 fi
14984
14985 else
14986
14987 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14988 if test "x$LINE" != x ; then
14989 eval "DEFAULT_$LINE"
14990 else
14991 no_cache=1
14992 fi
14993
14994 ac_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14995
14996 fi
14997
14998
14999 eval "$ac_cv_use_gif"
15000 if test "$no_cache" != 1; then
15001 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
15002 fi
15003
15004 if test x"$enablestring" = xdisable; then
15005 if test $wxUSE_GIF = yes; then
15006 result=no
15007 else
15008 result=yes
15009 fi
15010 else
15011 result=$wxUSE_GIF
15012 fi
15013
15014 { echo "$as_me:$LINENO: result: $result" >&5
15015 echo "${ECHO_T}$result" >&6; }
15016
15017
15018 enablestring=
15019 defaultval=$wxUSE_ALL_FEATURES
15020 if test -z "$defaultval"; then
15021 if test x"$enablestring" = xdisable; then
15022 defaultval=yes
15023 else
15024 defaultval=no
15025 fi
15026 fi
15027
15028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15029 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15030 no_cache=0
15031 # Check whether --enable-pcx was given.
15032 if test "${enable_pcx+set}" = set; then
15033 enableval=$enable_pcx;
15034 if test "$enableval" = yes; then
15035 ac_cv_use_pcx='wxUSE_PCX=yes'
15036 else
15037 ac_cv_use_pcx='wxUSE_PCX=no'
15038 fi
15039
15040 else
15041
15042 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15043 if test "x$LINE" != x ; then
15044 eval "DEFAULT_$LINE"
15045 else
15046 no_cache=1
15047 fi
15048
15049 ac_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15050
15051 fi
15052
15053
15054 eval "$ac_cv_use_pcx"
15055 if test "$no_cache" != 1; then
15056 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15057 fi
15058
15059 if test x"$enablestring" = xdisable; then
15060 if test $wxUSE_PCX = yes; then
15061 result=no
15062 else
15063 result=yes
15064 fi
15065 else
15066 result=$wxUSE_PCX
15067 fi
15068
15069 { echo "$as_me:$LINENO: result: $result" >&5
15070 echo "${ECHO_T}$result" >&6; }
15071
15072
15073 enablestring=
15074 defaultval=$wxUSE_ALL_FEATURES
15075 if test -z "$defaultval"; then
15076 if test x"$enablestring" = xdisable; then
15077 defaultval=yes
15078 else
15079 defaultval=no
15080 fi
15081 fi
15082
15083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15084 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15085 no_cache=0
15086 # Check whether --enable-tga was given.
15087 if test "${enable_tga+set}" = set; then
15088 enableval=$enable_tga;
15089 if test "$enableval" = yes; then
15090 ac_cv_use_tga='wxUSE_TGA=yes'
15091 else
15092 ac_cv_use_tga='wxUSE_TGA=no'
15093 fi
15094
15095 else
15096
15097 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15098 if test "x$LINE" != x ; then
15099 eval "DEFAULT_$LINE"
15100 else
15101 no_cache=1
15102 fi
15103
15104 ac_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15105
15106 fi
15107
15108
15109 eval "$ac_cv_use_tga"
15110 if test "$no_cache" != 1; then
15111 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
15112 fi
15113
15114 if test x"$enablestring" = xdisable; then
15115 if test $wxUSE_TGA = yes; then
15116 result=no
15117 else
15118 result=yes
15119 fi
15120 else
15121 result=$wxUSE_TGA
15122 fi
15123
15124 { echo "$as_me:$LINENO: result: $result" >&5
15125 echo "${ECHO_T}$result" >&6; }
15126
15127
15128 enablestring=
15129 defaultval=$wxUSE_ALL_FEATURES
15130 if test -z "$defaultval"; then
15131 if test x"$enablestring" = xdisable; then
15132 defaultval=yes
15133 else
15134 defaultval=no
15135 fi
15136 fi
15137
15138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15139 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15140 no_cache=0
15141 # Check whether --enable-iff was given.
15142 if test "${enable_iff+set}" = set; then
15143 enableval=$enable_iff;
15144 if test "$enableval" = yes; then
15145 ac_cv_use_iff='wxUSE_IFF=yes'
15146 else
15147 ac_cv_use_iff='wxUSE_IFF=no'
15148 fi
15149
15150 else
15151
15152 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15153 if test "x$LINE" != x ; then
15154 eval "DEFAULT_$LINE"
15155 else
15156 no_cache=1
15157 fi
15158
15159 ac_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15160
15161 fi
15162
15163
15164 eval "$ac_cv_use_iff"
15165 if test "$no_cache" != 1; then
15166 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
15167 fi
15168
15169 if test x"$enablestring" = xdisable; then
15170 if test $wxUSE_IFF = yes; then
15171 result=no
15172 else
15173 result=yes
15174 fi
15175 else
15176 result=$wxUSE_IFF
15177 fi
15178
15179 { echo "$as_me:$LINENO: result: $result" >&5
15180 echo "${ECHO_T}$result" >&6; }
15181
15182
15183 enablestring=
15184 defaultval=$wxUSE_ALL_FEATURES
15185 if test -z "$defaultval"; then
15186 if test x"$enablestring" = xdisable; then
15187 defaultval=yes
15188 else
15189 defaultval=no
15190 fi
15191 fi
15192
15193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15194 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15195 no_cache=0
15196 # Check whether --enable-pnm was given.
15197 if test "${enable_pnm+set}" = set; then
15198 enableval=$enable_pnm;
15199 if test "$enableval" = yes; then
15200 ac_cv_use_pnm='wxUSE_PNM=yes'
15201 else
15202 ac_cv_use_pnm='wxUSE_PNM=no'
15203 fi
15204
15205 else
15206
15207 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15208 if test "x$LINE" != x ; then
15209 eval "DEFAULT_$LINE"
15210 else
15211 no_cache=1
15212 fi
15213
15214 ac_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15215
15216 fi
15217
15218
15219 eval "$ac_cv_use_pnm"
15220 if test "$no_cache" != 1; then
15221 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15222 fi
15223
15224 if test x"$enablestring" = xdisable; then
15225 if test $wxUSE_PNM = yes; then
15226 result=no
15227 else
15228 result=yes
15229 fi
15230 else
15231 result=$wxUSE_PNM
15232 fi
15233
15234 { echo "$as_me:$LINENO: result: $result" >&5
15235 echo "${ECHO_T}$result" >&6; }
15236
15237
15238 enablestring=
15239 defaultval=$wxUSE_ALL_FEATURES
15240 if test -z "$defaultval"; then
15241 if test x"$enablestring" = xdisable; then
15242 defaultval=yes
15243 else
15244 defaultval=no
15245 fi
15246 fi
15247
15248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15249 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15250 no_cache=0
15251 # Check whether --enable-xpm was given.
15252 if test "${enable_xpm+set}" = set; then
15253 enableval=$enable_xpm;
15254 if test "$enableval" = yes; then
15255 ac_cv_use_xpm='wxUSE_XPM=yes'
15256 else
15257 ac_cv_use_xpm='wxUSE_XPM=no'
15258 fi
15259
15260 else
15261
15262 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15263 if test "x$LINE" != x ; then
15264 eval "DEFAULT_$LINE"
15265 else
15266 no_cache=1
15267 fi
15268
15269 ac_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15270
15271 fi
15272
15273
15274 eval "$ac_cv_use_xpm"
15275 if test "$no_cache" != 1; then
15276 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15277 fi
15278
15279 if test x"$enablestring" = xdisable; then
15280 if test $wxUSE_XPM = yes; then
15281 result=no
15282 else
15283 result=yes
15284 fi
15285 else
15286 result=$wxUSE_XPM
15287 fi
15288
15289 { echo "$as_me:$LINENO: result: $result" >&5
15290 echo "${ECHO_T}$result" >&6; }
15291
15292
15293 enablestring=
15294 defaultval=$wxUSE_ALL_FEATURES
15295 if test -z "$defaultval"; then
15296 if test x"$enablestring" = xdisable; then
15297 defaultval=yes
15298 else
15299 defaultval=no
15300 fi
15301 fi
15302
15303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15304 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15305 no_cache=0
15306 # Check whether --enable-ico_cur was given.
15307 if test "${enable_ico_cur+set}" = set; then
15308 enableval=$enable_ico_cur;
15309 if test "$enableval" = yes; then
15310 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15311 else
15312 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15313 fi
15314
15315 else
15316
15317 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15318 if test "x$LINE" != x ; then
15319 eval "DEFAULT_$LINE"
15320 else
15321 no_cache=1
15322 fi
15323
15324 ac_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15325
15326 fi
15327
15328
15329 eval "$ac_cv_use_ico_cur"
15330 if test "$no_cache" != 1; then
15331 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15332 fi
15333
15334 if test x"$enablestring" = xdisable; then
15335 if test $wxUSE_ICO_CUR = yes; then
15336 result=no
15337 else
15338 result=yes
15339 fi
15340 else
15341 result=$wxUSE_ICO_CUR
15342 fi
15343
15344 { echo "$as_me:$LINENO: result: $result" >&5
15345 echo "${ECHO_T}$result" >&6; }
15346
15347
15348 fi
15349
15350
15351 echo "saving argument cache $wx_arg_cache_file"
15352 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15353
15354
15355
15356 { echo "$as_me:$LINENO: checking for toolkit" >&5
15357 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15358
15359 # In Wine, we need to default to MSW, not GTK or MOTIF
15360 if test "$wxUSE_WINE" = "yes"; then
15361 DEFAULT_DEFAULT_wxUSE_GTK=0
15362 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15363 DEFAULT_DEFAULT_wxUSE_MSW=1
15364 wxUSE_SHARED=no
15365 CC=${CC:-winegcc}
15366 CXX=${CXX:-wineg++}
15367 fi
15368
15369
15370 if test "$wxUSE_GUI" = "yes"; then
15371
15372 if test "$USE_BEOS" = 1; then
15373 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15374 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15375 { (exit 1); exit 1; }; }
15376 fi
15377
15378 if test "$TOOLKIT_GIVEN" = 1; then
15379 for toolkit in `echo $ALL_TOOLKITS`; do
15380 var=wxUSE_$toolkit
15381 eval "value=\$${var}"
15382 if test "x$value" = "xno"; then
15383 eval "$var=0"
15384 elif test "x$value" != "x"; then
15385 eval "$var=1"
15386 fi
15387
15388 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15389 eval "wx${toolkit}_VERSION=$value"
15390 fi
15391 done
15392 else
15393 for toolkit in `echo $ALL_TOOLKITS`; do
15394 if test "$has_toolkit_in_cache" != 1; then
15395 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15396 else
15397 var=DEFAULT_wxUSE_$toolkit
15398
15399 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15400 if test "x$version" != "x"; then
15401 eval "wx${toolkit}_VERSION=$version"
15402 fi
15403 fi
15404 eval "wxUSE_$toolkit=\$${var}"
15405 done
15406 fi
15407
15408 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15409 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15410 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15411
15412 case "${host}" in
15413 *-pc-os2_emx | *-pc-os2-emx )
15414 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15415 esac
15416
15417 case "$NUM_TOOLKITS" in
15418 1)
15419 ;;
15420 0)
15421 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15422 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15423 { (exit 1); exit 1; }; }
15424 ;;
15425 *)
15426 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15427 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15428 { (exit 1); exit 1; }; }
15429 esac
15430
15431 # to be removed when --disable-gtk2 isn't needed
15432 if test "x$wxUSE_GTK2" = "xyes"; then
15433 wxGTK_VERSION=2
15434 elif test "x$wxUSE_GTK2" = "xno"; then
15435 wxGTK_VERSION=1
15436 fi
15437
15438 for toolkit in `echo $ALL_TOOLKITS`; do
15439 var=wxUSE_$toolkit
15440 eval "value=\$${var}"
15441 if test "x$value" != x; then
15442 cache_var=CACHE_$toolkit
15443 eval "cache=\$${cache_var}"
15444 if test "$cache" = 1; then
15445 echo "$var=$value" >> ${wx_arg_cache_file}
15446 eval "version=\$wx${toolkit}_VERSION"
15447 if test "x$version" != "x"; then
15448 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15449 fi
15450 fi
15451 if test "$value" = 1; then
15452 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15453 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15454 echo "${ECHO_T}$toolkit_echo" >&6; }
15455 fi
15456 fi
15457 done
15458 else
15459 if test "x$host_alias" != "x"; then
15460 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15461 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15462 else
15463 { echo "$as_me:$LINENO: result: base only" >&5
15464 echo "${ECHO_T}base only" >&6; }
15465 fi
15466 fi
15467
15468
15469 cat >confcache <<\_ACEOF
15470 # This file is a shell script that caches the results of configure
15471 # tests run on this system so they can be shared between configure
15472 # scripts and configure runs, see configure's option --config-cache.
15473 # It is not useful on other systems. If it contains results you don't
15474 # want to keep, you may remove or edit it.
15475 #
15476 # config.status only pays attention to the cache file if you give it
15477 # the --recheck option to rerun configure.
15478 #
15479 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15481 # following values.
15482
15483 _ACEOF
15484
15485 # The following way of writing the cache mishandles newlines in values,
15486 # but we know of no workaround that is simple, portable, and efficient.
15487 # So, we kill variables containing newlines.
15488 # Ultrix sh set writes to stderr and can't be redirected directly,
15489 # and sets the high bit in the cache file unless we assign to the vars.
15490 (
15491 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15492 eval ac_val=\$$ac_var
15493 case $ac_val in #(
15494 *${as_nl}*)
15495 case $ac_var in #(
15496 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15497 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15498 esac
15499 case $ac_var in #(
15500 _ | IFS | as_nl) ;; #(
15501 *) $as_unset $ac_var ;;
15502 esac ;;
15503 esac
15504 done
15505
15506 (set) 2>&1 |
15507 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15508 *${as_nl}ac_space=\ *)
15509 # `set' does not quote correctly, so add quotes (double-quote
15510 # substitution turns \\\\ into \\, and sed turns \\ into \).
15511 sed -n \
15512 "s/'/'\\\\''/g;
15513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15514 ;; #(
15515 *)
15516 # `set' quotes correctly as required by POSIX, so do not add quotes.
15517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15518 ;;
15519 esac |
15520 sort
15521 ) |
15522 sed '
15523 /^ac_cv_env_/b end
15524 t clear
15525 :clear
15526 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15527 t end
15528 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15529 :end' >>confcache
15530 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15531 if test -w "$cache_file"; then
15532 test "x$cache_file" != "x/dev/null" &&
15533 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15534 echo "$as_me: updating cache $cache_file" >&6;}
15535 cat confcache >$cache_file
15536 else
15537 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15538 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15539 fi
15540 fi
15541 rm -f confcache
15542
15543 CFLAGS=${CFLAGS:=}
15544
15545
15546
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15552 if test -n "$ac_tool_prefix"; then
15553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15554 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15557 if test "${ac_cv_prog_CC+set}" = set; then
15558 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 else
15560 if test -n "$CC"; then
15561 ac_cv_prog_CC="$CC" # Let the user override the test.
15562 else
15563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15564 for as_dir in $PATH
15565 do
15566 IFS=$as_save_IFS
15567 test -z "$as_dir" && as_dir=.
15568 for ac_exec_ext in '' $ac_executable_extensions; do
15569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15570 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15572 break 2
15573 fi
15574 done
15575 done
15576 IFS=$as_save_IFS
15577
15578 fi
15579 fi
15580 CC=$ac_cv_prog_CC
15581 if test -n "$CC"; then
15582 { echo "$as_me:$LINENO: result: $CC" >&5
15583 echo "${ECHO_T}$CC" >&6; }
15584 else
15585 { echo "$as_me:$LINENO: result: no" >&5
15586 echo "${ECHO_T}no" >&6; }
15587 fi
15588
15589
15590 fi
15591 if test -z "$ac_cv_prog_CC"; then
15592 ac_ct_CC=$CC
15593 # Extract the first word of "gcc", so it can be a program name with args.
15594 set dummy gcc; ac_word=$2
15595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15597 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 else
15600 if test -n "$ac_ct_CC"; then
15601 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15602 else
15603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15604 for as_dir in $PATH
15605 do
15606 IFS=$as_save_IFS
15607 test -z "$as_dir" && as_dir=.
15608 for ac_exec_ext in '' $ac_executable_extensions; do
15609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15610 ac_cv_prog_ac_ct_CC="gcc"
15611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15612 break 2
15613 fi
15614 done
15615 done
15616 IFS=$as_save_IFS
15617
15618 fi
15619 fi
15620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15621 if test -n "$ac_ct_CC"; then
15622 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15623 echo "${ECHO_T}$ac_ct_CC" >&6; }
15624 else
15625 { echo "$as_me:$LINENO: result: no" >&5
15626 echo "${ECHO_T}no" >&6; }
15627 fi
15628
15629 if test "x$ac_ct_CC" = x; then
15630 CC=""
15631 else
15632 case $cross_compiling:$ac_tool_warned in
15633 yes:)
15634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15635 whose name does not start with the host triplet. If you think this
15636 configuration is useful to you, please write to autoconf@gnu.org." >&5
15637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15638 whose name does not start with the host triplet. If you think this
15639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15640 ac_tool_warned=yes ;;
15641 esac
15642 CC=$ac_ct_CC
15643 fi
15644 else
15645 CC="$ac_cv_prog_CC"
15646 fi
15647
15648 if test -z "$CC"; then
15649 if test -n "$ac_tool_prefix"; then
15650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15651 set dummy ${ac_tool_prefix}cc; ac_word=$2
15652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15654 if test "${ac_cv_prog_CC+set}" = set; then
15655 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 else
15657 if test -n "$CC"; then
15658 ac_cv_prog_CC="$CC" # Let the user override the test.
15659 else
15660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15661 for as_dir in $PATH
15662 do
15663 IFS=$as_save_IFS
15664 test -z "$as_dir" && as_dir=.
15665 for ac_exec_ext in '' $ac_executable_extensions; do
15666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15667 ac_cv_prog_CC="${ac_tool_prefix}cc"
15668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15669 break 2
15670 fi
15671 done
15672 done
15673 IFS=$as_save_IFS
15674
15675 fi
15676 fi
15677 CC=$ac_cv_prog_CC
15678 if test -n "$CC"; then
15679 { echo "$as_me:$LINENO: result: $CC" >&5
15680 echo "${ECHO_T}$CC" >&6; }
15681 else
15682 { echo "$as_me:$LINENO: result: no" >&5
15683 echo "${ECHO_T}no" >&6; }
15684 fi
15685
15686
15687 fi
15688 fi
15689 if test -z "$CC"; then
15690 # Extract the first word of "cc", so it can be a program name with args.
15691 set dummy cc; ac_word=$2
15692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15694 if test "${ac_cv_prog_CC+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 else
15697 if test -n "$CC"; then
15698 ac_cv_prog_CC="$CC" # Let the user override the test.
15699 else
15700 ac_prog_rejected=no
15701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15702 for as_dir in $PATH
15703 do
15704 IFS=$as_save_IFS
15705 test -z "$as_dir" && as_dir=.
15706 for ac_exec_ext in '' $ac_executable_extensions; do
15707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15709 ac_prog_rejected=yes
15710 continue
15711 fi
15712 ac_cv_prog_CC="cc"
15713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15714 break 2
15715 fi
15716 done
15717 done
15718 IFS=$as_save_IFS
15719
15720 if test $ac_prog_rejected = yes; then
15721 # We found a bogon in the path, so make sure we never use it.
15722 set dummy $ac_cv_prog_CC
15723 shift
15724 if test $# != 0; then
15725 # We chose a different compiler from the bogus one.
15726 # However, it has the same basename, so the bogon will be chosen
15727 # first if we set CC to just the basename; use the full file name.
15728 shift
15729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15730 fi
15731 fi
15732 fi
15733 fi
15734 CC=$ac_cv_prog_CC
15735 if test -n "$CC"; then
15736 { echo "$as_me:$LINENO: result: $CC" >&5
15737 echo "${ECHO_T}$CC" >&6; }
15738 else
15739 { echo "$as_me:$LINENO: result: no" >&5
15740 echo "${ECHO_T}no" >&6; }
15741 fi
15742
15743
15744 fi
15745 if test -z "$CC"; then
15746 if test -n "$ac_tool_prefix"; then
15747 for ac_prog in cl.exe
15748 do
15749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15753 if test "${ac_cv_prog_CC+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 else
15756 if test -n "$CC"; then
15757 ac_cv_prog_CC="$CC" # Let the user override the test.
15758 else
15759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15760 for as_dir in $PATH
15761 do
15762 IFS=$as_save_IFS
15763 test -z "$as_dir" && as_dir=.
15764 for ac_exec_ext in '' $ac_executable_extensions; do
15765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15768 break 2
15769 fi
15770 done
15771 done
15772 IFS=$as_save_IFS
15773
15774 fi
15775 fi
15776 CC=$ac_cv_prog_CC
15777 if test -n "$CC"; then
15778 { echo "$as_me:$LINENO: result: $CC" >&5
15779 echo "${ECHO_T}$CC" >&6; }
15780 else
15781 { echo "$as_me:$LINENO: result: no" >&5
15782 echo "${ECHO_T}no" >&6; }
15783 fi
15784
15785
15786 test -n "$CC" && break
15787 done
15788 fi
15789 if test -z "$CC"; then
15790 ac_ct_CC=$CC
15791 for ac_prog in cl.exe
15792 do
15793 # Extract the first word of "$ac_prog", so it can be a program name with args.
15794 set dummy $ac_prog; ac_word=$2
15795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 if test -n "$ac_ct_CC"; then
15801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15802 else
15803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15804 for as_dir in $PATH
15805 do
15806 IFS=$as_save_IFS
15807 test -z "$as_dir" && as_dir=.
15808 for ac_exec_ext in '' $ac_executable_extensions; do
15809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15810 ac_cv_prog_ac_ct_CC="$ac_prog"
15811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15812 break 2
15813 fi
15814 done
15815 done
15816 IFS=$as_save_IFS
15817
15818 fi
15819 fi
15820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15821 if test -n "$ac_ct_CC"; then
15822 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15823 echo "${ECHO_T}$ac_ct_CC" >&6; }
15824 else
15825 { echo "$as_me:$LINENO: result: no" >&5
15826 echo "${ECHO_T}no" >&6; }
15827 fi
15828
15829
15830 test -n "$ac_ct_CC" && break
15831 done
15832
15833 if test "x$ac_ct_CC" = x; then
15834 CC=""
15835 else
15836 case $cross_compiling:$ac_tool_warned in
15837 yes:)
15838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15839 whose name does not start with the host triplet. If you think this
15840 configuration is useful to you, please write to autoconf@gnu.org." >&5
15841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15842 whose name does not start with the host triplet. If you think this
15843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15844 ac_tool_warned=yes ;;
15845 esac
15846 CC=$ac_ct_CC
15847 fi
15848 fi
15849
15850 fi
15851
15852
15853 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15854 See \`config.log' for more details." >&5
15855 echo "$as_me: error: no acceptable C compiler found in \$PATH
15856 See \`config.log' for more details." >&2;}
15857 { (exit 1); exit 1; }; }
15858
15859 # Provide some information about the compiler.
15860 echo "$as_me:$LINENO: checking for C compiler version" >&5
15861 ac_compiler=`set X $ac_compile; echo $2`
15862 { (ac_try="$ac_compiler --version >&5"
15863 case "(($ac_try" in
15864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15865 *) ac_try_echo=$ac_try;;
15866 esac
15867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15868 (eval "$ac_compiler --version >&5") 2>&5
15869 ac_status=$?
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); }
15872 { (ac_try="$ac_compiler -v >&5"
15873 case "(($ac_try" in
15874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15875 *) ac_try_echo=$ac_try;;
15876 esac
15877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15878 (eval "$ac_compiler -v >&5") 2>&5
15879 ac_status=$?
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }
15882 { (ac_try="$ac_compiler -V >&5"
15883 case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15886 esac
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_compiler -V >&5") 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }
15892
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899
15900 int
15901 main ()
15902 {
15903
15904 ;
15905 return 0;
15906 }
15907 _ACEOF
15908 ac_clean_files_save=$ac_clean_files
15909 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15910 # Try to create an executable without -o first, disregard a.out.
15911 # It will help us diagnose broken compilers, and finding out an intuition
15912 # of exeext.
15913 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15914 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15915 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15916 #
15917 # List of possible output files, starting from the most likely.
15918 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15919 # only as a last resort. b.out is created by i960 compilers.
15920 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15921 #
15922 # The IRIX 6 linker writes into existing files which may not be
15923 # executable, retaining their permissions. Remove them first so a
15924 # subsequent execution test works.
15925 ac_rmfiles=
15926 for ac_file in $ac_files
15927 do
15928 case $ac_file in
15929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15931 esac
15932 done
15933 rm -f $ac_rmfiles
15934
15935 if { (ac_try="$ac_link_default"
15936 case "(($ac_try" in
15937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15938 *) ac_try_echo=$ac_try;;
15939 esac
15940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15941 (eval "$ac_link_default") 2>&5
15942 ac_status=$?
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; then
15945 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15946 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15947 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15948 # so that the user can short-circuit this test for compilers unknown to
15949 # Autoconf.
15950 for ac_file in $ac_files ''
15951 do
15952 test -f "$ac_file" || continue
15953 case $ac_file in
15954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15955 ;;
15956 [ab].out )
15957 # We found the default executable, but exeext='' is most
15958 # certainly right.
15959 break;;
15960 *.* )
15961 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15962 then :; else
15963 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15964 fi
15965 # We set ac_cv_exeext here because the later test for it is not
15966 # safe: cross compilers may not add the suffix if given an `-o'
15967 # argument, so we may need to know it at that point already.
15968 # Even if this section looks crufty: it has the advantage of
15969 # actually working.
15970 break;;
15971 * )
15972 break;;
15973 esac
15974 done
15975 test "$ac_cv_exeext" = no && ac_cv_exeext=
15976
15977 else
15978 ac_file=''
15979 fi
15980
15981 { echo "$as_me:$LINENO: result: $ac_file" >&5
15982 echo "${ECHO_T}$ac_file" >&6; }
15983 if test -z "$ac_file"; then
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15986
15987 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15988 See \`config.log' for more details." >&5
15989 echo "$as_me: error: C compiler cannot create executables
15990 See \`config.log' for more details." >&2;}
15991 { (exit 77); exit 77; }; }
15992 fi
15993
15994 ac_exeext=$ac_cv_exeext
15995
15996 # Check that the compiler produces executables we can run. If not, either
15997 # the compiler is broken, or we cross compile.
15998 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15999 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16000 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16001 # If not cross compiling, check that we can run a simple program.
16002 if test "$cross_compiling" != yes; then
16003 if { ac_try='./$ac_file'
16004 { (case "(($ac_try" in
16005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16006 *) ac_try_echo=$ac_try;;
16007 esac
16008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16009 (eval "$ac_try") 2>&5
16010 ac_status=$?
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 cross_compiling=no
16014 else
16015 if test "$cross_compiling" = maybe; then
16016 cross_compiling=yes
16017 else
16018 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16019 If you meant to cross compile, use \`--host'.
16020 See \`config.log' for more details." >&5
16021 echo "$as_me: error: cannot run C compiled programs.
16022 If you meant to cross compile, use \`--host'.
16023 See \`config.log' for more details." >&2;}
16024 { (exit 1); exit 1; }; }
16025 fi
16026 fi
16027 fi
16028 { echo "$as_me:$LINENO: result: yes" >&5
16029 echo "${ECHO_T}yes" >&6; }
16030
16031 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16032 ac_clean_files=$ac_clean_files_save
16033 # Check that the compiler produces executables we can run. If not, either
16034 # the compiler is broken, or we cross compile.
16035 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16036 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16037 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16038 echo "${ECHO_T}$cross_compiling" >&6; }
16039
16040 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16041 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16042 if { (ac_try="$ac_link"
16043 case "(($ac_try" in
16044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16045 *) ac_try_echo=$ac_try;;
16046 esac
16047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16048 (eval "$ac_link") 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; then
16052 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16053 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16054 # work properly (i.e., refer to `conftest.exe'), while it won't with
16055 # `rm'.
16056 for ac_file in conftest.exe conftest conftest.*; do
16057 test -f "$ac_file" || continue
16058 case $ac_file in
16059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16060 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16061 break;;
16062 * ) break;;
16063 esac
16064 done
16065 else
16066 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16067 See \`config.log' for more details." >&5
16068 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16069 See \`config.log' for more details." >&2;}
16070 { (exit 1); exit 1; }; }
16071 fi
16072
16073 rm -f conftest$ac_cv_exeext
16074 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16075 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16076
16077 rm -f conftest.$ac_ext
16078 EXEEXT=$ac_cv_exeext
16079 ac_exeext=$EXEEXT
16080 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16081 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16082 if test "${ac_cv_objext+set}" = set; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 else
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091
16092 int
16093 main ()
16094 {
16095
16096 ;
16097 return 0;
16098 }
16099 _ACEOF
16100 rm -f conftest.o conftest.obj
16101 if { (ac_try="$ac_compile"
16102 case "(($ac_try" in
16103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16104 *) ac_try_echo=$ac_try;;
16105 esac
16106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107 (eval "$ac_compile") 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; then
16111 for ac_file in conftest.o conftest.obj conftest.*; do
16112 test -f "$ac_file" || continue;
16113 case $ac_file in
16114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16116 break;;
16117 esac
16118 done
16119 else
16120 echo "$as_me: failed program was:" >&5
16121 sed 's/^/| /' conftest.$ac_ext >&5
16122
16123 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16124 See \`config.log' for more details." >&5
16125 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16126 See \`config.log' for more details." >&2;}
16127 { (exit 1); exit 1; }; }
16128 fi
16129
16130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16131 fi
16132 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16133 echo "${ECHO_T}$ac_cv_objext" >&6; }
16134 OBJEXT=$ac_cv_objext
16135 ac_objext=$OBJEXT
16136 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16137 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16138 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16141 cat >conftest.$ac_ext <<_ACEOF
16142 /* confdefs.h. */
16143 _ACEOF
16144 cat confdefs.h >>conftest.$ac_ext
16145 cat >>conftest.$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147
16148 int
16149 main ()
16150 {
16151 #ifndef __GNUC__
16152 choke me
16153 #endif
16154
16155 ;
16156 return 0;
16157 }
16158 _ACEOF
16159 rm -f conftest.$ac_objext
16160 if { (ac_try="$ac_compile"
16161 case "(($ac_try" in
16162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16164 esac
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_compile") 2>conftest.er1
16167 ac_status=$?
16168 grep -v '^ *+' conftest.er1 >conftest.err
16169 rm -f conftest.er1
16170 cat conftest.err >&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } && {
16173 test -z "$ac_c_werror_flag" ||
16174 test ! -s conftest.err
16175 } && test -s conftest.$ac_objext; then
16176 ac_compiler_gnu=yes
16177 else
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.$ac_ext >&5
16180
16181 ac_compiler_gnu=no
16182 fi
16183
16184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16186
16187 fi
16188 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16189 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16190 GCC=`test $ac_compiler_gnu = yes && echo yes`
16191 ac_test_CFLAGS=${CFLAGS+set}
16192 ac_save_CFLAGS=$CFLAGS
16193 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16194 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16195 if test "${ac_cv_prog_cc_g+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 ac_save_c_werror_flag=$ac_c_werror_flag
16199 ac_c_werror_flag=yes
16200 ac_cv_prog_cc_g=no
16201 CFLAGS="-g"
16202 cat >conftest.$ac_ext <<_ACEOF
16203 /* confdefs.h. */
16204 _ACEOF
16205 cat confdefs.h >>conftest.$ac_ext
16206 cat >>conftest.$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16208
16209 int
16210 main ()
16211 {
16212
16213 ;
16214 return 0;
16215 }
16216 _ACEOF
16217 rm -f conftest.$ac_objext
16218 if { (ac_try="$ac_compile"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16222 esac
16223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_compile") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest.$ac_objext; then
16234 ac_cv_prog_cc_g=yes
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16238
16239 CFLAGS=""
16240 cat >conftest.$ac_ext <<_ACEOF
16241 /* confdefs.h. */
16242 _ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246
16247 int
16248 main ()
16249 {
16250
16251 ;
16252 return 0;
16253 }
16254 _ACEOF
16255 rm -f conftest.$ac_objext
16256 if { (ac_try="$ac_compile"
16257 case "(($ac_try" in
16258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16259 *) ac_try_echo=$ac_try;;
16260 esac
16261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16262 (eval "$ac_compile") 2>conftest.er1
16263 ac_status=$?
16264 grep -v '^ *+' conftest.er1 >conftest.err
16265 rm -f conftest.er1
16266 cat conftest.err >&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } && {
16269 test -z "$ac_c_werror_flag" ||
16270 test ! -s conftest.err
16271 } && test -s conftest.$ac_objext; then
16272 :
16273 else
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16276
16277 ac_c_werror_flag=$ac_save_c_werror_flag
16278 CFLAGS="-g"
16279 cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h. */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285
16286 int
16287 main ()
16288 {
16289
16290 ;
16291 return 0;
16292 }
16293 _ACEOF
16294 rm -f conftest.$ac_objext
16295 if { (ac_try="$ac_compile"
16296 case "(($ac_try" in
16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16298 *) ac_try_echo=$ac_try;;
16299 esac
16300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16301 (eval "$ac_compile") 2>conftest.er1
16302 ac_status=$?
16303 grep -v '^ *+' conftest.er1 >conftest.err
16304 rm -f conftest.er1
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } && {
16308 test -z "$ac_c_werror_flag" ||
16309 test ! -s conftest.err
16310 } && test -s conftest.$ac_objext; then
16311 ac_cv_prog_cc_g=yes
16312 else
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16315
16316
16317 fi
16318
16319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16320 fi
16321
16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16323 fi
16324
16325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16326 ac_c_werror_flag=$ac_save_c_werror_flag
16327 fi
16328 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16329 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16330 if test "$ac_test_CFLAGS" = set; then
16331 CFLAGS=$ac_save_CFLAGS
16332 elif test $ac_cv_prog_cc_g = yes; then
16333 if test "$GCC" = yes; then
16334 CFLAGS="-g -O2"
16335 else
16336 CFLAGS="-g"
16337 fi
16338 else
16339 if test "$GCC" = yes; then
16340 CFLAGS="-O2"
16341 else
16342 CFLAGS=
16343 fi
16344 fi
16345 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16346 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16347 if test "${ac_cv_prog_cc_c89+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350 ac_cv_prog_cc_c89=no
16351 ac_save_CC=$CC
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 #include <stdarg.h>
16359 #include <stdio.h>
16360 #include <sys/types.h>
16361 #include <sys/stat.h>
16362 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16363 struct buf { int x; };
16364 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16365 static char *e (p, i)
16366 char **p;
16367 int i;
16368 {
16369 return p[i];
16370 }
16371 static char *f (char * (*g) (char **, int), char **p, ...)
16372 {
16373 char *s;
16374 va_list v;
16375 va_start (v,p);
16376 s = g (p, va_arg (v,int));
16377 va_end (v);
16378 return s;
16379 }
16380
16381 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16382 function prototypes and stuff, but not '\xHH' hex character constants.
16383 These don't provoke an error unfortunately, instead are silently treated
16384 as 'x'. The following induces an error, until -std is added to get
16385 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16386 array size at least. It's necessary to write '\x00'==0 to get something
16387 that's true only with -std. */
16388 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16389
16390 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16391 inside strings and character constants. */
16392 #define FOO(x) 'x'
16393 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16394
16395 int test (int i, double x);
16396 struct s1 {int (*f) (int a);};
16397 struct s2 {int (*f) (double a);};
16398 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16399 int argc;
16400 char **argv;
16401 int
16402 main ()
16403 {
16404 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16410 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16411 do
16412 CC="$ac_save_CC $ac_arg"
16413 rm -f conftest.$ac_objext
16414 if { (ac_try="$ac_compile"
16415 case "(($ac_try" in
16416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16417 *) ac_try_echo=$ac_try;;
16418 esac
16419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16420 (eval "$ac_compile") 2>conftest.er1
16421 ac_status=$?
16422 grep -v '^ *+' conftest.er1 >conftest.err
16423 rm -f conftest.er1
16424 cat conftest.err >&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); } && {
16427 test -z "$ac_c_werror_flag" ||
16428 test ! -s conftest.err
16429 } && test -s conftest.$ac_objext; then
16430 ac_cv_prog_cc_c89=$ac_arg
16431 else
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16434
16435
16436 fi
16437
16438 rm -f core conftest.err conftest.$ac_objext
16439 test "x$ac_cv_prog_cc_c89" != "xno" && break
16440 done
16441 rm -f conftest.$ac_ext
16442 CC=$ac_save_CC
16443
16444 fi
16445 # AC_CACHE_VAL
16446 case "x$ac_cv_prog_cc_c89" in
16447 x)
16448 { echo "$as_me:$LINENO: result: none needed" >&5
16449 echo "${ECHO_T}none needed" >&6; } ;;
16450 xno)
16451 { echo "$as_me:$LINENO: result: unsupported" >&5
16452 echo "${ECHO_T}unsupported" >&6; } ;;
16453 *)
16454 CC="$CC $ac_cv_prog_cc_c89"
16455 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16456 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16457 esac
16458
16459
16460 ac_ext=c
16461 ac_cpp='$CPP $CPPFLAGS'
16462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16465
16466
16467
16468
16469 ac_ext=c
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16474
16475 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16476 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16477 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 else
16480 cat >conftest.$ac_ext <<_ACEOF
16481 /* confdefs.h. */
16482 _ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486
16487 int
16488 main ()
16489 {
16490
16491 #ifndef __INTEL_COMPILER
16492 choke me
16493 #endif
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (ac_try="$ac_compile"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compile") 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest.$ac_objext; then
16516 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16520
16521 bakefile_cv_c_compiler___INTEL_COMPILER=no
16522
16523 fi
16524
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16526
16527
16528 fi
16529 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16530 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16531 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16532 :; INTELCC=yes
16533 else
16534 :;
16535 fi
16536 ac_ext=c
16537 ac_cpp='$CPP $CPPFLAGS'
16538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16541
16542
16543
16544
16545 if test "x$GCC" != "xyes"; then
16546 if test "xCC" = "xC"; then
16547 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16548 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16549 if test "${bakefile_cv_c_exto+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 else
16552 cat >conftest.$ac_ext <<_ACEOF
16553 /* confdefs.h. */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558
16559 int
16560 main ()
16561 {
16562
16563 ;
16564 return 0;
16565 }
16566 _ACEOF
16567 rm -f conftest.$ac_objext conftest.$ac_ext.o
16568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16569 (eval $ac_compile) 2>&5
16570 ac_status=$?
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; then
16573 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16574 case $ac_file in
16575 conftest.$ac_ext.o)
16576 bakefile_cv_c_exto="-ext o"
16577 ;;
16578 *)
16579 ;;
16580 esac
16581 done
16582 else
16583 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16584 See \`config.log' for more details." >&5
16585 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16586 See \`config.log' for more details." >&2;}
16587 { (exit 1); exit 1; }; }
16588
16589 fi
16590
16591 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16592
16593 fi
16594 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16595 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16596 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16597 if test "c" = "c"; then
16598 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16599 fi
16600 if test "c" = "cxx"; then
16601 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16602 fi
16603 fi
16604
16605 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16606 unset ac_cv_prog_cc_g
16607 ac_test_CFLAGS=${CFLAGS+set}
16608 ac_save_CFLAGS=$CFLAGS
16609 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16610 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16611 if test "${ac_cv_prog_cc_g+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 else
16614 ac_save_c_werror_flag=$ac_c_werror_flag
16615 ac_c_werror_flag=yes
16616 ac_cv_prog_cc_g=no
16617 CFLAGS="-g"
16618 cat >conftest.$ac_ext <<_ACEOF
16619 /* confdefs.h. */
16620 _ACEOF
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624
16625 int
16626 main ()
16627 {
16628
16629 ;
16630 return 0;
16631 }
16632 _ACEOF
16633 rm -f conftest.$ac_objext
16634 if { (ac_try="$ac_compile"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16638 esac
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_compile") 2>conftest.er1
16641 ac_status=$?
16642 grep -v '^ *+' conftest.er1 >conftest.err
16643 rm -f conftest.er1
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_c_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest.$ac_objext; then
16650 ac_cv_prog_cc_g=yes
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16654
16655 CFLAGS=""
16656 cat >conftest.$ac_ext <<_ACEOF
16657 /* confdefs.h. */
16658 _ACEOF
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662
16663 int
16664 main ()
16665 {
16666
16667 ;
16668 return 0;
16669 }
16670 _ACEOF
16671 rm -f conftest.$ac_objext
16672 if { (ac_try="$ac_compile"
16673 case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16676 esac
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_compile") 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && {
16685 test -z "$ac_c_werror_flag" ||
16686 test ! -s conftest.err
16687 } && test -s conftest.$ac_objext; then
16688 :
16689 else
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16692
16693 ac_c_werror_flag=$ac_save_c_werror_flag
16694 CFLAGS="-g"
16695 cat >conftest.$ac_ext <<_ACEOF
16696 /* confdefs.h. */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701
16702 int
16703 main ()
16704 {
16705
16706 ;
16707 return 0;
16708 }
16709 _ACEOF
16710 rm -f conftest.$ac_objext
16711 if { (ac_try="$ac_compile"
16712 case "(($ac_try" in
16713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16714 *) ac_try_echo=$ac_try;;
16715 esac
16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16717 (eval "$ac_compile") 2>conftest.er1
16718 ac_status=$?
16719 grep -v '^ *+' conftest.er1 >conftest.err
16720 rm -f conftest.er1
16721 cat conftest.err >&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && {
16724 test -z "$ac_c_werror_flag" ||
16725 test ! -s conftest.err
16726 } && test -s conftest.$ac_objext; then
16727 ac_cv_prog_cc_g=yes
16728 else
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732
16733 fi
16734
16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736 fi
16737
16738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16739 fi
16740
16741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16742 ac_c_werror_flag=$ac_save_c_werror_flag
16743 fi
16744 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16745 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16746 if test "$ac_test_CFLAGS" = set; then
16747 CFLAGS=$ac_save_CFLAGS
16748 elif test $ac_cv_prog_cc_g = yes; then
16749 if test "$GCC" = yes; then
16750 CFLAGS="-g -O2"
16751 else
16752 CFLAGS="-g"
16753 fi
16754 else
16755 if test "$GCC" = yes; then
16756 CFLAGS="-O2"
16757 else
16758 CFLAGS=
16759 fi
16760 fi
16761 fi
16762 fi
16763
16764 case `uname -s` in
16765 AIX*)
16766
16767
16768 ac_ext=c
16769 ac_cpp='$CPP $CPPFLAGS'
16770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16773
16774 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16775 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16776 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785
16786 int
16787 main ()
16788 {
16789
16790 #ifndef __xlC__
16791 choke me
16792 #endif
16793
16794 ;
16795 return 0;
16796 }
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (ac_try="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16803 esac
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 bakefile_cv_c_compiler___xlC__=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16819
16820 bakefile_cv_c_compiler___xlC__=no
16821
16822 fi
16823
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825
16826
16827 fi
16828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16829 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16830 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16831 :; XLCC=yes
16832 else
16833 :;
16834 fi
16835 ac_ext=c
16836 ac_cpp='$CPP $CPPFLAGS'
16837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16840
16841
16842
16843 ;;
16844
16845 Darwin)
16846
16847
16848 ac_ext=c
16849 ac_cpp='$CPP $CPPFLAGS'
16850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16853
16854 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16855 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16856 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16857 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 else
16859 cat >conftest.$ac_ext <<_ACEOF
16860 /* confdefs.h. */
16861 _ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865
16866 int
16867 main ()
16868 {
16869
16870 #ifndef __MWERKS__
16871 choke me
16872 #endif
16873
16874 ;
16875 return 0;
16876 }
16877 _ACEOF
16878 rm -f conftest.$ac_objext
16879 if { (ac_try="$ac_compile"
16880 case "(($ac_try" in
16881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16882 *) ac_try_echo=$ac_try;;
16883 esac
16884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16885 (eval "$ac_compile") 2>conftest.er1
16886 ac_status=$?
16887 grep -v '^ *+' conftest.er1 >conftest.err
16888 rm -f conftest.er1
16889 cat conftest.err >&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } && {
16892 test -z "$ac_c_werror_flag" ||
16893 test ! -s conftest.err
16894 } && test -s conftest.$ac_objext; then
16895 bakefile_cv_c_compiler___MWERKS__=yes
16896 else
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16899
16900 bakefile_cv_c_compiler___MWERKS__=no
16901
16902 fi
16903
16904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16905
16906
16907 fi
16908 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16909 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16910 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16911 :; MWCC=yes
16912 else
16913 :;
16914 fi
16915 ac_ext=c
16916 ac_cpp='$CPP $CPPFLAGS'
16917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16920
16921
16922
16923
16924
16925 ac_ext=c
16926 ac_cpp='$CPP $CPPFLAGS'
16927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16930
16931 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16932 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16933 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 else
16936 cat >conftest.$ac_ext <<_ACEOF
16937 /* confdefs.h. */
16938 _ACEOF
16939 cat confdefs.h >>conftest.$ac_ext
16940 cat >>conftest.$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942
16943 int
16944 main ()
16945 {
16946
16947 #ifndef __xlC__
16948 choke me
16949 #endif
16950
16951 ;
16952 return 0;
16953 }
16954 _ACEOF
16955 rm -f conftest.$ac_objext
16956 if { (ac_try="$ac_compile"
16957 case "(($ac_try" in
16958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16959 *) ac_try_echo=$ac_try;;
16960 esac
16961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16962 (eval "$ac_compile") 2>conftest.er1
16963 ac_status=$?
16964 grep -v '^ *+' conftest.er1 >conftest.err
16965 rm -f conftest.er1
16966 cat conftest.err >&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); } && {
16969 test -z "$ac_c_werror_flag" ||
16970 test ! -s conftest.err
16971 } && test -s conftest.$ac_objext; then
16972 bakefile_cv_c_compiler___xlC__=yes
16973 else
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16976
16977 bakefile_cv_c_compiler___xlC__=no
16978
16979 fi
16980
16981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16982
16983
16984 fi
16985 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16986 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16987 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16988 :; XLCC=yes
16989 else
16990 :;
16991 fi
16992 ac_ext=c
16993 ac_cpp='$CPP $CPPFLAGS'
16994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16997
16998
16999
17000 ;;
17001
17002 IRIX*)
17003
17004
17005 ac_ext=c
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17010
17011 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17012 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17013 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17015 else
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h. */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022
17023 int
17024 main ()
17025 {
17026
17027 #ifndef _SGI_COMPILER_VERSION
17028 choke me
17029 #endif
17030
17031 ;
17032 return 0;
17033 }
17034 _ACEOF
17035 rm -f conftest.$ac_objext
17036 if { (ac_try="$ac_compile"
17037 case "(($ac_try" in
17038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17039 *) ac_try_echo=$ac_try;;
17040 esac
17041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17042 (eval "$ac_compile") 2>conftest.er1
17043 ac_status=$?
17044 grep -v '^ *+' conftest.er1 >conftest.err
17045 rm -f conftest.er1
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } && {
17049 test -z "$ac_c_werror_flag" ||
17050 test ! -s conftest.err
17051 } && test -s conftest.$ac_objext; then
17052 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17053 else
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17056
17057 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17058
17059 fi
17060
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062
17063
17064 fi
17065 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17066 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17067 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17068 :; SGICC=yes
17069 else
17070 :;
17071 fi
17072 ac_ext=c
17073 ac_cpp='$CPP $CPPFLAGS'
17074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17077
17078
17079
17080 ;;
17081
17082 Linux*)
17083
17084
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17090
17091 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17092 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17093 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17094 echo $ECHO_N "(cached) $ECHO_C" >&6
17095 else
17096 cat >conftest.$ac_ext <<_ACEOF
17097 /* confdefs.h. */
17098 _ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102
17103 int
17104 main ()
17105 {
17106
17107 #ifndef __SUNPRO_C
17108 choke me
17109 #endif
17110
17111 ;
17112 return 0;
17113 }
17114 _ACEOF
17115 rm -f conftest.$ac_objext
17116 if { (ac_try="$ac_compile"
17117 case "(($ac_try" in
17118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17119 *) ac_try_echo=$ac_try;;
17120 esac
17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17122 (eval "$ac_compile") 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } && {
17129 test -z "$ac_c_werror_flag" ||
17130 test ! -s conftest.err
17131 } && test -s conftest.$ac_objext; then
17132 bakefile_cv_c_compiler___SUNPRO_C=yes
17133 else
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17136
17137 bakefile_cv_c_compiler___SUNPRO_C=no
17138
17139 fi
17140
17141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17142
17143
17144 fi
17145 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17146 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17147 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17148 :; SUNCC=yes
17149 else
17150 :;
17151 fi
17152 ac_ext=c
17153 ac_cpp='$CPP $CPPFLAGS'
17154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17157
17158
17159
17160 ;;
17161
17162 HP-UX*)
17163
17164
17165 ac_ext=c
17166 ac_cpp='$CPP $CPPFLAGS'
17167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17170
17171 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17172 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17173 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 else
17176 cat >conftest.$ac_ext <<_ACEOF
17177 /* confdefs.h. */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182
17183 int
17184 main ()
17185 {
17186
17187 #ifndef __HP_cc
17188 choke me
17189 #endif
17190
17191 ;
17192 return 0;
17193 }
17194 _ACEOF
17195 rm -f conftest.$ac_objext
17196 if { (ac_try="$ac_compile"
17197 case "(($ac_try" in
17198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17199 *) ac_try_echo=$ac_try;;
17200 esac
17201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17202 (eval "$ac_compile") 2>conftest.er1
17203 ac_status=$?
17204 grep -v '^ *+' conftest.er1 >conftest.err
17205 rm -f conftest.er1
17206 cat conftest.err >&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } && {
17209 test -z "$ac_c_werror_flag" ||
17210 test ! -s conftest.err
17211 } && test -s conftest.$ac_objext; then
17212 bakefile_cv_c_compiler___HP_cc=yes
17213 else
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17216
17217 bakefile_cv_c_compiler___HP_cc=no
17218
17219 fi
17220
17221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222
17223
17224 fi
17225 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17226 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17227 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17228 :; HPCC=yes
17229 else
17230 :;
17231 fi
17232 ac_ext=c
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17237
17238
17239
17240 ;;
17241
17242 OSF1)
17243
17244
17245 ac_ext=c
17246 ac_cpp='$CPP $CPPFLAGS'
17247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17250
17251 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17252 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17253 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 else
17256 cat >conftest.$ac_ext <<_ACEOF
17257 /* confdefs.h. */
17258 _ACEOF
17259 cat confdefs.h >>conftest.$ac_ext
17260 cat >>conftest.$ac_ext <<_ACEOF
17261 /* end confdefs.h. */
17262
17263 int
17264 main ()
17265 {
17266
17267 #ifndef __DECC
17268 choke me
17269 #endif
17270
17271 ;
17272 return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (ac_try="$ac_compile"
17277 case "(($ac_try" in
17278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279 *) ac_try_echo=$ac_try;;
17280 esac
17281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17282 (eval "$ac_compile") 2>conftest.er1
17283 ac_status=$?
17284 grep -v '^ *+' conftest.er1 >conftest.err
17285 rm -f conftest.er1
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } && {
17289 test -z "$ac_c_werror_flag" ||
17290 test ! -s conftest.err
17291 } && test -s conftest.$ac_objext; then
17292 bakefile_cv_c_compiler___DECC=yes
17293 else
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17296
17297 bakefile_cv_c_compiler___DECC=no
17298
17299 fi
17300
17301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17302
17303
17304 fi
17305 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17306 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17307 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17308 :; COMPAQCC=yes
17309 else
17310 :;
17311 fi
17312 ac_ext=c
17313 ac_cpp='$CPP $CPPFLAGS'
17314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17317
17318
17319
17320 ;;
17321
17322 SunOS)
17323
17324
17325 ac_ext=c
17326 ac_cpp='$CPP $CPPFLAGS'
17327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17330
17331 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17332 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17333 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
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 #ifndef __SUNPRO_C
17348 choke me
17349 #endif
17350
17351 ;
17352 return 0;
17353 }
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (ac_try="$ac_compile"
17357 case "(($ac_try" in
17358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17359 *) ac_try_echo=$ac_try;;
17360 esac
17361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17362 (eval "$ac_compile") 2>conftest.er1
17363 ac_status=$?
17364 grep -v '^ *+' conftest.er1 >conftest.err
17365 rm -f conftest.er1
17366 cat conftest.err >&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } && {
17369 test -z "$ac_c_werror_flag" ||
17370 test ! -s conftest.err
17371 } && test -s conftest.$ac_objext; then
17372 bakefile_cv_c_compiler___SUNPRO_C=yes
17373 else
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17376
17377 bakefile_cv_c_compiler___SUNPRO_C=no
17378
17379 fi
17380
17381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17382
17383
17384 fi
17385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17386 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17387 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17388 :; SUNCC=yes
17389 else
17390 :;
17391 fi
17392 ac_ext=c
17393 ac_cpp='$CPP $CPPFLAGS'
17394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17397
17398
17399
17400 ;;
17401 esac
17402 fi
17403
17404
17405
17406 ac_ext=c
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17411 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17412 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17413 # On Suns, sometimes $CPP names a directory.
17414 if test -n "$CPP" && test -d "$CPP"; then
17415 CPP=
17416 fi
17417 if test -z "$CPP"; then
17418 if test "${ac_cv_prog_CPP+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 else
17421 # Double quotes because CPP needs to be expanded
17422 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17423 do
17424 ac_preproc_ok=false
17425 for ac_c_preproc_warn_flag in '' yes
17426 do
17427 # Use a header file that comes with gcc, so configuring glibc
17428 # with a fresh cross-compiler works.
17429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17430 # <limits.h> exists even on freestanding compilers.
17431 # On the NeXT, cc -E runs the code through the compiler's parser,
17432 # not just through cpp. "Syntax error" is here to catch this case.
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 #ifdef __STDC__
17440 # include <limits.h>
17441 #else
17442 # include <assert.h>
17443 #endif
17444 Syntax error
17445 _ACEOF
17446 if { (ac_try="$ac_cpp conftest.$ac_ext"
17447 case "(($ac_try" in
17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17450 esac
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17453 ac_status=$?
17454 grep -v '^ *+' conftest.er1 >conftest.err
17455 rm -f conftest.er1
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } >/dev/null && {
17459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17460 test ! -s conftest.err
17461 }; then
17462 :
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17466
17467 # Broken: fails on valid input.
17468 continue
17469 fi
17470
17471 rm -f conftest.err conftest.$ac_ext
17472
17473 # OK, works on sane cases. Now check whether nonexistent headers
17474 # can be detected and how.
17475 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h. */
17477 _ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 #include <ac_nonexistent.h>
17482 _ACEOF
17483 if { (ac_try="$ac_cpp conftest.$ac_ext"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17490 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } >/dev/null && {
17496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17497 test ! -s conftest.err
17498 }; then
17499 # Broken: success on invalid input.
17500 continue
17501 else
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17504
17505 # Passes both tests.
17506 ac_preproc_ok=:
17507 break
17508 fi
17509
17510 rm -f conftest.err conftest.$ac_ext
17511
17512 done
17513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17514 rm -f conftest.err conftest.$ac_ext
17515 if $ac_preproc_ok; then
17516 break
17517 fi
17518
17519 done
17520 ac_cv_prog_CPP=$CPP
17521
17522 fi
17523 CPP=$ac_cv_prog_CPP
17524 else
17525 ac_cv_prog_CPP=$CPP
17526 fi
17527 { echo "$as_me:$LINENO: result: $CPP" >&5
17528 echo "${ECHO_T}$CPP" >&6; }
17529 ac_preproc_ok=false
17530 for ac_c_preproc_warn_flag in '' yes
17531 do
17532 # Use a header file that comes with gcc, so configuring glibc
17533 # with a fresh cross-compiler works.
17534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17535 # <limits.h> exists even on freestanding compilers.
17536 # On the NeXT, cc -E runs the code through the compiler's parser,
17537 # not just through cpp. "Syntax error" is here to catch this case.
17538 cat >conftest.$ac_ext <<_ACEOF
17539 /* confdefs.h. */
17540 _ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 #ifdef __STDC__
17545 # include <limits.h>
17546 #else
17547 # include <assert.h>
17548 #endif
17549 Syntax error
17550 _ACEOF
17551 if { (ac_try="$ac_cpp conftest.$ac_ext"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17554 *) ac_try_echo=$ac_try;;
17555 esac
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } >/dev/null && {
17564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17565 test ! -s conftest.err
17566 }; then
17567 :
17568 else
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17571
17572 # Broken: fails on valid input.
17573 continue
17574 fi
17575
17576 rm -f conftest.err conftest.$ac_ext
17577
17578 # OK, works on sane cases. Now check whether nonexistent headers
17579 # can be detected and how.
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 #include <ac_nonexistent.h>
17587 _ACEOF
17588 if { (ac_try="$ac_cpp conftest.$ac_ext"
17589 case "(($ac_try" in
17590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17591 *) ac_try_echo=$ac_try;;
17592 esac
17593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17595 ac_status=$?
17596 grep -v '^ *+' conftest.er1 >conftest.err
17597 rm -f conftest.er1
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } >/dev/null && {
17601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17602 test ! -s conftest.err
17603 }; then
17604 # Broken: success on invalid input.
17605 continue
17606 else
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.$ac_ext >&5
17609
17610 # Passes both tests.
17611 ac_preproc_ok=:
17612 break
17613 fi
17614
17615 rm -f conftest.err conftest.$ac_ext
17616
17617 done
17618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17619 rm -f conftest.err conftest.$ac_ext
17620 if $ac_preproc_ok; then
17621 :
17622 else
17623 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17624 See \`config.log' for more details." >&5
17625 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17626 See \`config.log' for more details." >&2;}
17627 { (exit 1); exit 1; }; }
17628 fi
17629
17630 ac_ext=c
17631 ac_cpp='$CPP $CPPFLAGS'
17632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17635
17636
17637 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17638 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17639 if test "${ac_cv_path_GREP+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17641 else
17642 # Extract the first word of "grep ggrep" to use in msg output
17643 if test -z "$GREP"; then
17644 set dummy grep ggrep; ac_prog_name=$2
17645 if test "${ac_cv_path_GREP+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 ac_path_GREP_found=false
17649 # Loop through the user's path and test for each of PROGNAME-LIST
17650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17652 do
17653 IFS=$as_save_IFS
17654 test -z "$as_dir" && as_dir=.
17655 for ac_prog in grep ggrep; do
17656 for ac_exec_ext in '' $ac_executable_extensions; do
17657 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17658 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17659 # Check for GNU ac_path_GREP and select it if it is found.
17660 # Check for GNU $ac_path_GREP
17661 case `"$ac_path_GREP" --version 2>&1` in
17662 *GNU*)
17663 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17664 *)
17665 ac_count=0
17666 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17667 while :
17668 do
17669 cat "conftest.in" "conftest.in" >"conftest.tmp"
17670 mv "conftest.tmp" "conftest.in"
17671 cp "conftest.in" "conftest.nl"
17672 echo 'GREP' >> "conftest.nl"
17673 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17675 ac_count=`expr $ac_count + 1`
17676 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17677 # Best one so far, save it but keep looking for a better one
17678 ac_cv_path_GREP="$ac_path_GREP"
17679 ac_path_GREP_max=$ac_count
17680 fi
17681 # 10*(2^10) chars as input seems more than enough
17682 test $ac_count -gt 10 && break
17683 done
17684 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17685 esac
17686
17687
17688 $ac_path_GREP_found && break 3
17689 done
17690 done
17691
17692 done
17693 IFS=$as_save_IFS
17694
17695
17696 fi
17697
17698 GREP="$ac_cv_path_GREP"
17699 if test -z "$GREP"; then
17700 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17701 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17702 { (exit 1); exit 1; }; }
17703 fi
17704
17705 else
17706 ac_cv_path_GREP=$GREP
17707 fi
17708
17709
17710 fi
17711 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17712 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17713 GREP="$ac_cv_path_GREP"
17714
17715
17716 { echo "$as_me:$LINENO: checking for egrep" >&5
17717 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17718 if test "${ac_cv_path_EGREP+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 else
17721 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17722 then ac_cv_path_EGREP="$GREP -E"
17723 else
17724 # Extract the first word of "egrep" to use in msg output
17725 if test -z "$EGREP"; then
17726 set dummy egrep; ac_prog_name=$2
17727 if test "${ac_cv_path_EGREP+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17730 ac_path_EGREP_found=false
17731 # Loop through the user's path and test for each of PROGNAME-LIST
17732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17734 do
17735 IFS=$as_save_IFS
17736 test -z "$as_dir" && as_dir=.
17737 for ac_prog in egrep; do
17738 for ac_exec_ext in '' $ac_executable_extensions; do
17739 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17740 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17741 # Check for GNU ac_path_EGREP and select it if it is found.
17742 # Check for GNU $ac_path_EGREP
17743 case `"$ac_path_EGREP" --version 2>&1` in
17744 *GNU*)
17745 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17746 *)
17747 ac_count=0
17748 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17749 while :
17750 do
17751 cat "conftest.in" "conftest.in" >"conftest.tmp"
17752 mv "conftest.tmp" "conftest.in"
17753 cp "conftest.in" "conftest.nl"
17754 echo 'EGREP' >> "conftest.nl"
17755 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17757 ac_count=`expr $ac_count + 1`
17758 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17759 # Best one so far, save it but keep looking for a better one
17760 ac_cv_path_EGREP="$ac_path_EGREP"
17761 ac_path_EGREP_max=$ac_count
17762 fi
17763 # 10*(2^10) chars as input seems more than enough
17764 test $ac_count -gt 10 && break
17765 done
17766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17767 esac
17768
17769
17770 $ac_path_EGREP_found && break 3
17771 done
17772 done
17773
17774 done
17775 IFS=$as_save_IFS
17776
17777
17778 fi
17779
17780 EGREP="$ac_cv_path_EGREP"
17781 if test -z "$EGREP"; then
17782 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17783 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17784 { (exit 1); exit 1; }; }
17785 fi
17786
17787 else
17788 ac_cv_path_EGREP=$EGREP
17789 fi
17790
17791
17792 fi
17793 fi
17794 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17795 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17796 EGREP="$ac_cv_path_EGREP"
17797
17798
17799 if test $ac_cv_c_compiler_gnu = yes; then
17800 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17801 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17802 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 else
17805 ac_pattern="Autoconf.*'x'"
17806 cat >conftest.$ac_ext <<_ACEOF
17807 /* confdefs.h. */
17808 _ACEOF
17809 cat confdefs.h >>conftest.$ac_ext
17810 cat >>conftest.$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17812 #include <sgtty.h>
17813 Autoconf TIOCGETP
17814 _ACEOF
17815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17816 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17817 ac_cv_prog_gcc_traditional=yes
17818 else
17819 ac_cv_prog_gcc_traditional=no
17820 fi
17821 rm -f conftest*
17822
17823
17824 if test $ac_cv_prog_gcc_traditional = no; then
17825 cat >conftest.$ac_ext <<_ACEOF
17826 /* confdefs.h. */
17827 _ACEOF
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17831 #include <termio.h>
17832 Autoconf TCGETA
17833 _ACEOF
17834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17835 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17836 ac_cv_prog_gcc_traditional=yes
17837 fi
17838 rm -f conftest*
17839
17840 fi
17841 fi
17842 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17843 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17844 if test $ac_cv_prog_gcc_traditional = yes; then
17845 CC="$CC -traditional"
17846 fi
17847 fi
17848
17849
17850 CXXFLAGS=${CXXFLAGS:=}
17851
17852
17853
17854 ac_ext=cpp
17855 ac_cpp='$CXXCPP $CPPFLAGS'
17856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17859 if test -z "$CXX"; then
17860 if test -n "$CCC"; then
17861 CXX=$CCC
17862 else
17863 if test -n "$ac_tool_prefix"; then
17864 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17865 do
17866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17870 if test "${ac_cv_prog_CXX+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 else
17873 if test -n "$CXX"; then
17874 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17875 else
17876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17877 for as_dir in $PATH
17878 do
17879 IFS=$as_save_IFS
17880 test -z "$as_dir" && as_dir=.
17881 for ac_exec_ext in '' $ac_executable_extensions; do
17882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17883 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17885 break 2
17886 fi
17887 done
17888 done
17889 IFS=$as_save_IFS
17890
17891 fi
17892 fi
17893 CXX=$ac_cv_prog_CXX
17894 if test -n "$CXX"; then
17895 { echo "$as_me:$LINENO: result: $CXX" >&5
17896 echo "${ECHO_T}$CXX" >&6; }
17897 else
17898 { echo "$as_me:$LINENO: result: no" >&5
17899 echo "${ECHO_T}no" >&6; }
17900 fi
17901
17902
17903 test -n "$CXX" && break
17904 done
17905 fi
17906 if test -z "$CXX"; then
17907 ac_ct_CXX=$CXX
17908 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17909 do
17910 # Extract the first word of "$ac_prog", so it can be a program name with args.
17911 set dummy $ac_prog; ac_word=$2
17912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17914 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17916 else
17917 if test -n "$ac_ct_CXX"; then
17918 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17919 else
17920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17921 for as_dir in $PATH
17922 do
17923 IFS=$as_save_IFS
17924 test -z "$as_dir" && as_dir=.
17925 for ac_exec_ext in '' $ac_executable_extensions; do
17926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17927 ac_cv_prog_ac_ct_CXX="$ac_prog"
17928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17929 break 2
17930 fi
17931 done
17932 done
17933 IFS=$as_save_IFS
17934
17935 fi
17936 fi
17937 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17938 if test -n "$ac_ct_CXX"; then
17939 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17940 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17941 else
17942 { echo "$as_me:$LINENO: result: no" >&5
17943 echo "${ECHO_T}no" >&6; }
17944 fi
17945
17946
17947 test -n "$ac_ct_CXX" && break
17948 done
17949
17950 if test "x$ac_ct_CXX" = x; then
17951 CXX="g++"
17952 else
17953 case $cross_compiling:$ac_tool_warned in
17954 yes:)
17955 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17956 whose name does not start with the host triplet. If you think this
17957 configuration is useful to you, please write to autoconf@gnu.org." >&5
17958 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17959 whose name does not start with the host triplet. If you think this
17960 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17961 ac_tool_warned=yes ;;
17962 esac
17963 CXX=$ac_ct_CXX
17964 fi
17965 fi
17966
17967 fi
17968 fi
17969 # Provide some information about the compiler.
17970 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17971 ac_compiler=`set X $ac_compile; echo $2`
17972 { (ac_try="$ac_compiler --version >&5"
17973 case "(($ac_try" in
17974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17975 *) ac_try_echo=$ac_try;;
17976 esac
17977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17978 (eval "$ac_compiler --version >&5") 2>&5
17979 ac_status=$?
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }
17982 { (ac_try="$ac_compiler -v >&5"
17983 case "(($ac_try" in
17984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17985 *) ac_try_echo=$ac_try;;
17986 esac
17987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17988 (eval "$ac_compiler -v >&5") 2>&5
17989 ac_status=$?
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }
17992 { (ac_try="$ac_compiler -V >&5"
17993 case "(($ac_try" in
17994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17995 *) ac_try_echo=$ac_try;;
17996 esac
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_compiler -V >&5") 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }
18002
18003 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18004 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18005 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18006 echo $ECHO_N "(cached) $ECHO_C" >&6
18007 else
18008 cat >conftest.$ac_ext <<_ACEOF
18009 /* confdefs.h. */
18010 _ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h. */
18014
18015 int
18016 main ()
18017 {
18018 #ifndef __GNUC__
18019 choke me
18020 #endif
18021
18022 ;
18023 return 0;
18024 }
18025 _ACEOF
18026 rm -f conftest.$ac_objext
18027 if { (ac_try="$ac_compile"
18028 case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18031 esac
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_compile") 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } && {
18040 test -z "$ac_cxx_werror_flag" ||
18041 test ! -s conftest.err
18042 } && test -s conftest.$ac_objext; then
18043 ac_compiler_gnu=yes
18044 else
18045 echo "$as_me: failed program was:" >&5
18046 sed 's/^/| /' conftest.$ac_ext >&5
18047
18048 ac_compiler_gnu=no
18049 fi
18050
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18053
18054 fi
18055 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18056 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18057 GXX=`test $ac_compiler_gnu = yes && echo yes`
18058 ac_test_CXXFLAGS=${CXXFLAGS+set}
18059 ac_save_CXXFLAGS=$CXXFLAGS
18060 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18061 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18062 if test "${ac_cv_prog_cxx_g+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18065 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18066 ac_cxx_werror_flag=yes
18067 ac_cv_prog_cxx_g=no
18068 CXXFLAGS="-g"
18069 cat >conftest.$ac_ext <<_ACEOF
18070 /* confdefs.h. */
18071 _ACEOF
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075
18076 int
18077 main ()
18078 {
18079
18080 ;
18081 return 0;
18082 }
18083 _ACEOF
18084 rm -f conftest.$ac_objext
18085 if { (ac_try="$ac_compile"
18086 case "(($ac_try" in
18087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18088 *) ac_try_echo=$ac_try;;
18089 esac
18090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18091 (eval "$ac_compile") 2>conftest.er1
18092 ac_status=$?
18093 grep -v '^ *+' conftest.er1 >conftest.err
18094 rm -f conftest.er1
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && {
18098 test -z "$ac_cxx_werror_flag" ||
18099 test ! -s conftest.err
18100 } && test -s conftest.$ac_objext; then
18101 ac_cv_prog_cxx_g=yes
18102 else
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18105
18106 CXXFLAGS=""
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113
18114 int
18115 main ()
18116 {
18117
18118 ;
18119 return 0;
18120 }
18121 _ACEOF
18122 rm -f conftest.$ac_objext
18123 if { (ac_try="$ac_compile"
18124 case "(($ac_try" in
18125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18126 *) ac_try_echo=$ac_try;;
18127 esac
18128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18129 (eval "$ac_compile") 2>conftest.er1
18130 ac_status=$?
18131 grep -v '^ *+' conftest.er1 >conftest.err
18132 rm -f conftest.er1
18133 cat conftest.err >&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } && {
18136 test -z "$ac_cxx_werror_flag" ||
18137 test ! -s conftest.err
18138 } && test -s conftest.$ac_objext; then
18139 :
18140 else
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18143
18144 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18145 CXXFLAGS="-g"
18146 cat >conftest.$ac_ext <<_ACEOF
18147 /* confdefs.h. */
18148 _ACEOF
18149 cat confdefs.h >>conftest.$ac_ext
18150 cat >>conftest.$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18152
18153 int
18154 main ()
18155 {
18156
18157 ;
18158 return 0;
18159 }
18160 _ACEOF
18161 rm -f conftest.$ac_objext
18162 if { (ac_try="$ac_compile"
18163 case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18166 esac
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_compile") 2>conftest.er1
18169 ac_status=$?
18170 grep -v '^ *+' conftest.er1 >conftest.err
18171 rm -f conftest.er1
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } && {
18175 test -z "$ac_cxx_werror_flag" ||
18176 test ! -s conftest.err
18177 } && test -s conftest.$ac_objext; then
18178 ac_cv_prog_cxx_g=yes
18179 else
18180 echo "$as_me: failed program was:" >&5
18181 sed 's/^/| /' conftest.$ac_ext >&5
18182
18183
18184 fi
18185
18186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18187 fi
18188
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 fi
18191
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18193 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18194 fi
18195 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18196 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18197 if test "$ac_test_CXXFLAGS" = set; then
18198 CXXFLAGS=$ac_save_CXXFLAGS
18199 elif test $ac_cv_prog_cxx_g = yes; then
18200 if test "$GXX" = yes; then
18201 CXXFLAGS="-g -O2"
18202 else
18203 CXXFLAGS="-g"
18204 fi
18205 else
18206 if test "$GXX" = yes; then
18207 CXXFLAGS="-O2"
18208 else
18209 CXXFLAGS=
18210 fi
18211 fi
18212 ac_ext=c
18213 ac_cpp='$CPP $CPPFLAGS'
18214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18217
18218
18219
18220
18221 ac_ext=cpp
18222 ac_cpp='$CXXCPP $CPPFLAGS'
18223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18226
18227 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18228 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18229 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 else
18232 cat >conftest.$ac_ext <<_ACEOF
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238
18239 int
18240 main ()
18241 {
18242
18243 #ifndef __INTEL_COMPILER
18244 choke me
18245 #endif
18246
18247 ;
18248 return 0;
18249 }
18250 _ACEOF
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18256 esac
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_cxx_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18274
18275 fi
18276
18277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278
18279
18280 fi
18281 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18282 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18283 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18284 :; INTELCXX=yes
18285 else
18286 :;
18287 fi
18288 ac_ext=c
18289 ac_cpp='$CPP $CPPFLAGS'
18290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18293
18294
18295
18296
18297 if test "x$GCXX" != "xyes"; then
18298 if test "xCXX" = "xC"; then
18299 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18300 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18301 if test "${bakefile_cv_c_exto+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 else
18304 cat >conftest.$ac_ext <<_ACEOF
18305 /* confdefs.h. */
18306 _ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18310
18311 int
18312 main ()
18313 {
18314
18315 ;
18316 return 0;
18317 }
18318 _ACEOF
18319 rm -f conftest.$ac_objext conftest.$ac_ext.o
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; then
18325 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18326 case $ac_file in
18327 conftest.$ac_ext.o)
18328 bakefile_cv_c_exto="-ext o"
18329 ;;
18330 *)
18331 ;;
18332 esac
18333 done
18334 else
18335 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18336 See \`config.log' for more details." >&5
18337 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18338 See \`config.log' for more details." >&2;}
18339 { (exit 1); exit 1; }; }
18340
18341 fi
18342
18343 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18344
18345 fi
18346 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18347 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18348 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18349 if test "c" = "c"; then
18350 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18351 fi
18352 if test "c" = "cxx"; then
18353 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18354 fi
18355 fi
18356
18357 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18358 unset ac_cv_prog_cc_g
18359 ac_test_CFLAGS=${CFLAGS+set}
18360 ac_save_CFLAGS=$CFLAGS
18361 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18363 if test "${ac_cv_prog_cc_g+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 ac_save_c_werror_flag=$ac_c_werror_flag
18367 ac_c_werror_flag=yes
18368 ac_cv_prog_cc_g=no
18369 CFLAGS="-g"
18370 cat >conftest.$ac_ext <<_ACEOF
18371 /* confdefs.h. */
18372 _ACEOF
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18376
18377 int
18378 main ()
18379 {
18380
18381 ;
18382 return 0;
18383 }
18384 _ACEOF
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18390 esac
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18393 ac_status=$?
18394 grep -v '^ *+' conftest.er1 >conftest.err
18395 rm -f conftest.er1
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_c_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 ac_cv_prog_cc_g=yes
18403 else
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 CFLAGS=""
18408 cat >conftest.$ac_ext <<_ACEOF
18409 /* confdefs.h. */
18410 _ACEOF
18411 cat confdefs.h >>conftest.$ac_ext
18412 cat >>conftest.$ac_ext <<_ACEOF
18413 /* end confdefs.h. */
18414
18415 int
18416 main ()
18417 {
18418
18419 ;
18420 return 0;
18421 }
18422 _ACEOF
18423 rm -f conftest.$ac_objext
18424 if { (ac_try="$ac_compile"
18425 case "(($ac_try" in
18426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18427 *) ac_try_echo=$ac_try;;
18428 esac
18429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18430 (eval "$ac_compile") 2>conftest.er1
18431 ac_status=$?
18432 grep -v '^ *+' conftest.er1 >conftest.err
18433 rm -f conftest.er1
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && {
18437 test -z "$ac_c_werror_flag" ||
18438 test ! -s conftest.err
18439 } && test -s conftest.$ac_objext; then
18440 :
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18444
18445 ac_c_werror_flag=$ac_save_c_werror_flag
18446 CFLAGS="-g"
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453
18454 int
18455 main ()
18456 {
18457
18458 ;
18459 return 0;
18460 }
18461 _ACEOF
18462 rm -f conftest.$ac_objext
18463 if { (ac_try="$ac_compile"
18464 case "(($ac_try" in
18465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18466 *) ac_try_echo=$ac_try;;
18467 esac
18468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18469 (eval "$ac_compile") 2>conftest.er1
18470 ac_status=$?
18471 grep -v '^ *+' conftest.er1 >conftest.err
18472 rm -f conftest.er1
18473 cat conftest.err >&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); } && {
18476 test -z "$ac_c_werror_flag" ||
18477 test ! -s conftest.err
18478 } && test -s conftest.$ac_objext; then
18479 ac_cv_prog_cc_g=yes
18480 else
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.$ac_ext >&5
18483
18484
18485 fi
18486
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 fi
18489
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 fi
18492
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494 ac_c_werror_flag=$ac_save_c_werror_flag
18495 fi
18496 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18497 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18498 if test "$ac_test_CFLAGS" = set; then
18499 CFLAGS=$ac_save_CFLAGS
18500 elif test $ac_cv_prog_cc_g = yes; then
18501 if test "$GCC" = yes; then
18502 CFLAGS="-g -O2"
18503 else
18504 CFLAGS="-g"
18505 fi
18506 else
18507 if test "$GCC" = yes; then
18508 CFLAGS="-O2"
18509 else
18510 CFLAGS=
18511 fi
18512 fi
18513 fi
18514 fi
18515
18516 case `uname -s` in
18517 AIX*)
18518
18519
18520 ac_ext=cpp
18521 ac_cpp='$CXXCPP $CPPFLAGS'
18522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18525
18526 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18527 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18528 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531 cat >conftest.$ac_ext <<_ACEOF
18532 /* confdefs.h. */
18533 _ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537
18538 int
18539 main ()
18540 {
18541
18542 #ifndef __xlC__
18543 choke me
18544 #endif
18545
18546 ;
18547 return 0;
18548 }
18549 _ACEOF
18550 rm -f conftest.$ac_objext
18551 if { (ac_try="$ac_compile"
18552 case "(($ac_try" in
18553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18554 *) ac_try_echo=$ac_try;;
18555 esac
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_compile") 2>conftest.er1
18558 ac_status=$?
18559 grep -v '^ *+' conftest.er1 >conftest.err
18560 rm -f conftest.er1
18561 cat conftest.err >&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } && {
18564 test -z "$ac_cxx_werror_flag" ||
18565 test ! -s conftest.err
18566 } && test -s conftest.$ac_objext; then
18567 bakefile_cv_cxx_compiler___xlC__=yes
18568 else
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18571
18572 bakefile_cv_cxx_compiler___xlC__=no
18573
18574 fi
18575
18576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18577
18578
18579 fi
18580 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18581 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18582 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18583 :; XLCXX=yes
18584 else
18585 :;
18586 fi
18587 ac_ext=c
18588 ac_cpp='$CPP $CPPFLAGS'
18589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18592
18593
18594
18595 ;;
18596
18597 Darwin)
18598
18599
18600 ac_ext=cpp
18601 ac_cpp='$CXXCPP $CPPFLAGS'
18602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18605
18606 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18607 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18608 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 else
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h. */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617
18618 int
18619 main ()
18620 {
18621
18622 #ifndef __MWERKS__
18623 choke me
18624 #endif
18625
18626 ;
18627 return 0;
18628 }
18629 _ACEOF
18630 rm -f conftest.$ac_objext
18631 if { (ac_try="$ac_compile"
18632 case "(($ac_try" in
18633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18634 *) ac_try_echo=$ac_try;;
18635 esac
18636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18637 (eval "$ac_compile") 2>conftest.er1
18638 ac_status=$?
18639 grep -v '^ *+' conftest.er1 >conftest.err
18640 rm -f conftest.er1
18641 cat conftest.err >&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } && {
18644 test -z "$ac_cxx_werror_flag" ||
18645 test ! -s conftest.err
18646 } && test -s conftest.$ac_objext; then
18647 bakefile_cv_cxx_compiler___MWERKS__=yes
18648 else
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18651
18652 bakefile_cv_cxx_compiler___MWERKS__=no
18653
18654 fi
18655
18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657
18658
18659 fi
18660 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18661 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18662 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18663 :; MWCXX=yes
18664 else
18665 :;
18666 fi
18667 ac_ext=c
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18672
18673
18674
18675
18676
18677 ac_ext=cpp
18678 ac_cpp='$CXXCPP $CPPFLAGS'
18679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18682
18683 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18684 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18685 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18686 echo $ECHO_N "(cached) $ECHO_C" >&6
18687 else
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694
18695 int
18696 main ()
18697 {
18698
18699 #ifndef __xlC__
18700 choke me
18701 #endif
18702
18703 ;
18704 return 0;
18705 }
18706 _ACEOF
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18712 esac
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18715 ac_status=$?
18716 grep -v '^ *+' conftest.er1 >conftest.err
18717 rm -f conftest.er1
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_cxx_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18724 bakefile_cv_cxx_compiler___xlC__=yes
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18728
18729 bakefile_cv_cxx_compiler___xlC__=no
18730
18731 fi
18732
18733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18734
18735
18736 fi
18737 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18738 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18739 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18740 :; XLCXX=yes
18741 else
18742 :;
18743 fi
18744 ac_ext=c
18745 ac_cpp='$CPP $CPPFLAGS'
18746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18749
18750
18751
18752 ;;
18753
18754 IRIX*)
18755
18756
18757 ac_ext=cpp
18758 ac_cpp='$CXXCPP $CPPFLAGS'
18759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18762
18763 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18764 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18765 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774
18775 int
18776 main ()
18777 {
18778
18779 #ifndef _SGI_COMPILER_VERSION
18780 choke me
18781 #endif
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 rm -f conftest.$ac_objext
18788 if { (ac_try="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18792 esac
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_cxx_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18808
18809 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18810
18811 fi
18812
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814
18815
18816 fi
18817 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18818 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18819 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18820 :; SGICXX=yes
18821 else
18822 :;
18823 fi
18824 ac_ext=c
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18829
18830
18831
18832 ;;
18833
18834 Linux*)
18835
18836
18837 ac_ext=cpp
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18842
18843 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18844 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18845 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 else
18848 cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h. */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854
18855 int
18856 main ()
18857 {
18858
18859 #ifndef __SUNPRO_CC
18860 choke me
18861 #endif
18862
18863 ;
18864 return 0;
18865 }
18866 _ACEOF
18867 rm -f conftest.$ac_objext
18868 if { (ac_try="$ac_compile"
18869 case "(($ac_try" in
18870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18871 *) ac_try_echo=$ac_try;;
18872 esac
18873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18874 (eval "$ac_compile") 2>conftest.er1
18875 ac_status=$?
18876 grep -v '^ *+' conftest.er1 >conftest.err
18877 rm -f conftest.er1
18878 cat conftest.err >&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } && {
18881 test -z "$ac_cxx_werror_flag" ||
18882 test ! -s conftest.err
18883 } && test -s conftest.$ac_objext; then
18884 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18885 else
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18888
18889 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18890
18891 fi
18892
18893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18894
18895
18896 fi
18897 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18898 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18899 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18900 :; SUNCXX=yes
18901 else
18902 :;
18903 fi
18904 ac_ext=c
18905 ac_cpp='$CPP $CPPFLAGS'
18906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18909
18910
18911
18912 ;;
18913
18914 HP-UX*)
18915
18916
18917 ac_ext=cpp
18918 ac_cpp='$CXXCPP $CPPFLAGS'
18919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18922
18923 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18924 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18925 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18928 cat >conftest.$ac_ext <<_ACEOF
18929 /* confdefs.h. */
18930 _ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934
18935 int
18936 main ()
18937 {
18938
18939 #ifndef __HP_aCC
18940 choke me
18941 #endif
18942
18943 ;
18944 return 0;
18945 }
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18952 esac
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_cxx_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 bakefile_cv_cxx_compiler___HP_aCC=yes
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18968
18969 bakefile_cv_cxx_compiler___HP_aCC=no
18970
18971 fi
18972
18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974
18975
18976 fi
18977 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18978 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18979 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18980 :; HPCXX=yes
18981 else
18982 :;
18983 fi
18984 ac_ext=c
18985 ac_cpp='$CPP $CPPFLAGS'
18986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18989
18990
18991
18992 ;;
18993
18994 OSF1)
18995
18996
18997 ac_ext=cpp
18998 ac_cpp='$CXXCPP $CPPFLAGS'
18999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19002
19003 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19004 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19005 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19006 echo $ECHO_N "(cached) $ECHO_C" >&6
19007 else
19008 cat >conftest.$ac_ext <<_ACEOF
19009 /* confdefs.h. */
19010 _ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014
19015 int
19016 main ()
19017 {
19018
19019 #ifndef __DECCXX
19020 choke me
19021 #endif
19022
19023 ;
19024 return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest.$ac_objext
19028 if { (ac_try="$ac_compile"
19029 case "(($ac_try" in
19030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19031 *) ac_try_echo=$ac_try;;
19032 esac
19033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19034 (eval "$ac_compile") 2>conftest.er1
19035 ac_status=$?
19036 grep -v '^ *+' conftest.er1 >conftest.err
19037 rm -f conftest.er1
19038 cat conftest.err >&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } && {
19041 test -z "$ac_cxx_werror_flag" ||
19042 test ! -s conftest.err
19043 } && test -s conftest.$ac_objext; then
19044 bakefile_cv_cxx_compiler___DECCXX=yes
19045 else
19046 echo "$as_me: failed program was:" >&5
19047 sed 's/^/| /' conftest.$ac_ext >&5
19048
19049 bakefile_cv_cxx_compiler___DECCXX=no
19050
19051 fi
19052
19053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054
19055
19056 fi
19057 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19058 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19059 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19060 :; COMPAQCXX=yes
19061 else
19062 :;
19063 fi
19064 ac_ext=c
19065 ac_cpp='$CPP $CPPFLAGS'
19066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19069
19070
19071
19072 ;;
19073
19074 SunOS)
19075
19076
19077 ac_ext=cpp
19078 ac_cpp='$CXXCPP $CPPFLAGS'
19079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19082
19083 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19084 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19085 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 else
19088 cat >conftest.$ac_ext <<_ACEOF
19089 /* confdefs.h. */
19090 _ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094
19095 int
19096 main ()
19097 {
19098
19099 #ifndef __SUNPRO_CC
19100 choke me
19101 #endif
19102
19103 ;
19104 return 0;
19105 }
19106 _ACEOF
19107 rm -f conftest.$ac_objext
19108 if { (ac_try="$ac_compile"
19109 case "(($ac_try" in
19110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19111 *) ac_try_echo=$ac_try;;
19112 esac
19113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19114 (eval "$ac_compile") 2>conftest.er1
19115 ac_status=$?
19116 grep -v '^ *+' conftest.er1 >conftest.err
19117 rm -f conftest.er1
19118 cat conftest.err >&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } && {
19121 test -z "$ac_cxx_werror_flag" ||
19122 test ! -s conftest.err
19123 } && test -s conftest.$ac_objext; then
19124 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19125 else
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19128
19129 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19130
19131 fi
19132
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134
19135
19136 fi
19137 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19138 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19139 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19140 :; SUNCXX=yes
19141 else
19142 :;
19143 fi
19144 ac_ext=c
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149
19150
19151
19152 ;;
19153 esac
19154 fi
19155
19156
19157
19158 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19159 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19160 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19161 { (exit 1); exit 1; }; }
19162 fi
19163
19164 if test -n "$ac_tool_prefix"; then
19165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19169 if test "${ac_cv_prog_RANLIB+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 else
19172 if test -n "$RANLIB"; then
19173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19174 else
19175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19176 for as_dir in $PATH
19177 do
19178 IFS=$as_save_IFS
19179 test -z "$as_dir" && as_dir=.
19180 for ac_exec_ext in '' $ac_executable_extensions; do
19181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19184 break 2
19185 fi
19186 done
19187 done
19188 IFS=$as_save_IFS
19189
19190 fi
19191 fi
19192 RANLIB=$ac_cv_prog_RANLIB
19193 if test -n "$RANLIB"; then
19194 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19195 echo "${ECHO_T}$RANLIB" >&6; }
19196 else
19197 { echo "$as_me:$LINENO: result: no" >&5
19198 echo "${ECHO_T}no" >&6; }
19199 fi
19200
19201
19202 fi
19203 if test -z "$ac_cv_prog_RANLIB"; then
19204 ac_ct_RANLIB=$RANLIB
19205 # Extract the first word of "ranlib", so it can be a program name with args.
19206 set dummy ranlib; ac_word=$2
19207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19209 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 else
19212 if test -n "$ac_ct_RANLIB"; then
19213 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19214 else
19215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19216 for as_dir in $PATH
19217 do
19218 IFS=$as_save_IFS
19219 test -z "$as_dir" && as_dir=.
19220 for ac_exec_ext in '' $ac_executable_extensions; do
19221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19222 ac_cv_prog_ac_ct_RANLIB="ranlib"
19223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19224 break 2
19225 fi
19226 done
19227 done
19228 IFS=$as_save_IFS
19229
19230 fi
19231 fi
19232 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19233 if test -n "$ac_ct_RANLIB"; then
19234 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19235 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19236 else
19237 { echo "$as_me:$LINENO: result: no" >&5
19238 echo "${ECHO_T}no" >&6; }
19239 fi
19240
19241 if test "x$ac_ct_RANLIB" = x; then
19242 RANLIB=":"
19243 else
19244 case $cross_compiling:$ac_tool_warned in
19245 yes:)
19246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19247 whose name does not start with the host triplet. If you think this
19248 configuration is useful to you, please write to autoconf@gnu.org." >&5
19249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19250 whose name does not start with the host triplet. If you think this
19251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19252 ac_tool_warned=yes ;;
19253 esac
19254 RANLIB=$ac_ct_RANLIB
19255 fi
19256 else
19257 RANLIB="$ac_cv_prog_RANLIB"
19258 fi
19259
19260
19261 if test "x$SUNCXX" != xyes; then
19262 if test -n "$ac_tool_prefix"; then
19263 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19264 set dummy ${ac_tool_prefix}ar; ac_word=$2
19265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19267 if test "${ac_cv_prog_AR+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 else
19270 if test -n "$AR"; then
19271 ac_cv_prog_AR="$AR" # Let the user override the test.
19272 else
19273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19274 for as_dir in $PATH
19275 do
19276 IFS=$as_save_IFS
19277 test -z "$as_dir" && as_dir=.
19278 for ac_exec_ext in '' $ac_executable_extensions; do
19279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19280 ac_cv_prog_AR="${ac_tool_prefix}ar"
19281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19282 break 2
19283 fi
19284 done
19285 done
19286 IFS=$as_save_IFS
19287
19288 fi
19289 fi
19290 AR=$ac_cv_prog_AR
19291 if test -n "$AR"; then
19292 { echo "$as_me:$LINENO: result: $AR" >&5
19293 echo "${ECHO_T}$AR" >&6; }
19294 else
19295 { echo "$as_me:$LINENO: result: no" >&5
19296 echo "${ECHO_T}no" >&6; }
19297 fi
19298
19299
19300 fi
19301 if test -z "$ac_cv_prog_AR"; then
19302 ac_ct_AR=$AR
19303 # Extract the first word of "ar", so it can be a program name with args.
19304 set dummy ar; ac_word=$2
19305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19307 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 if test -n "$ac_ct_AR"; then
19311 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19312 else
19313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19314 for as_dir in $PATH
19315 do
19316 IFS=$as_save_IFS
19317 test -z "$as_dir" && as_dir=.
19318 for ac_exec_ext in '' $ac_executable_extensions; do
19319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19320 ac_cv_prog_ac_ct_AR="ar"
19321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19322 break 2
19323 fi
19324 done
19325 done
19326 IFS=$as_save_IFS
19327
19328 fi
19329 fi
19330 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19331 if test -n "$ac_ct_AR"; then
19332 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19333 echo "${ECHO_T}$ac_ct_AR" >&6; }
19334 else
19335 { echo "$as_me:$LINENO: result: no" >&5
19336 echo "${ECHO_T}no" >&6; }
19337 fi
19338
19339 if test "x$ac_ct_AR" = x; then
19340 AR=""
19341 else
19342 case $cross_compiling:$ac_tool_warned in
19343 yes:)
19344 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19345 whose name does not start with the host triplet. If you think this
19346 configuration is useful to you, please write to autoconf@gnu.org." >&5
19347 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19348 whose name does not start with the host triplet. If you think this
19349 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19350 ac_tool_warned=yes ;;
19351 esac
19352 AR=$ac_ct_AR
19353 fi
19354 else
19355 AR="$ac_cv_prog_AR"
19356 fi
19357
19358 if test "x$AR" = "x" ; then
19359 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19360 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19361 { (exit 1); exit 1; }; }
19362 fi
19363 fi
19364
19365 # Find a good install program. We prefer a C program (faster),
19366 # so one script is as good as another. But avoid the broken or
19367 # incompatible versions:
19368 # SysV /etc/install, /usr/sbin/install
19369 # SunOS /usr/etc/install
19370 # IRIX /sbin/install
19371 # AIX /bin/install
19372 # AmigaOS /C/install, which installs bootblocks on floppy discs
19373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19376 # OS/2's system install, which has a completely different semantic
19377 # ./install, which can be erroneously created by make from ./install.sh.
19378 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19379 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19380 if test -z "$INSTALL"; then
19381 if test "${ac_cv_path_install+set}" = set; then
19382 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 else
19384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19385 for as_dir in $PATH
19386 do
19387 IFS=$as_save_IFS
19388 test -z "$as_dir" && as_dir=.
19389 # Account for people who put trailing slashes in PATH elements.
19390 case $as_dir/ in
19391 ./ | .// | /cC/* | \
19392 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19393 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19394 /usr/ucb/* ) ;;
19395 *)
19396 # OSF1 and SCO ODT 3.0 have their own names for install.
19397 # Don't use installbsd from OSF since it installs stuff as root
19398 # by default.
19399 for ac_prog in ginstall scoinst install; do
19400 for ac_exec_ext in '' $ac_executable_extensions; do
19401 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19402 if test $ac_prog = install &&
19403 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19404 # AIX install. It has an incompatible calling convention.
19405 :
19406 elif test $ac_prog = install &&
19407 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19408 # program-specific install script used by HP pwplus--don't use.
19409 :
19410 else
19411 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19412 break 3
19413 fi
19414 fi
19415 done
19416 done
19417 ;;
19418 esac
19419 done
19420 IFS=$as_save_IFS
19421
19422
19423 fi
19424 if test "${ac_cv_path_install+set}" = set; then
19425 INSTALL=$ac_cv_path_install
19426 else
19427 # As a last resort, use the slow shell script. Don't cache a
19428 # value for INSTALL within a source directory, because that will
19429 # break other packages using the cache if that directory is
19430 # removed, or if the value is a relative name.
19431 INSTALL=$ac_install_sh
19432 fi
19433 fi
19434 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19435 echo "${ECHO_T}$INSTALL" >&6; }
19436
19437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19438 # It thinks the first close brace ends the variable substitution.
19439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19440
19441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19442
19443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19444
19445
19446 case ${INSTALL} in
19447 /* ) # Absolute
19448 ;;
19449 ?:* ) # Drive letter, considered as absolute.
19450 ;;
19451 *)
19452 INSTALL=`pwd`/${INSTALL} ;;
19453 esac
19454
19455
19456 case "${host}" in
19457
19458 *-*-darwin* )
19459 INSTALL_PROGRAM="cp -fp"
19460 INSTALL_DATA="cp -fp"
19461 ;;
19462 *)
19463 ;;
19464 esac
19465
19466 if test -n "$ac_tool_prefix"; then
19467 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19468 set dummy ${ac_tool_prefix}strip; ac_word=$2
19469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19471 if test "${ac_cv_prog_STRIP+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 else
19474 if test -n "$STRIP"; then
19475 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19476 else
19477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19478 for as_dir in $PATH
19479 do
19480 IFS=$as_save_IFS
19481 test -z "$as_dir" && as_dir=.
19482 for ac_exec_ext in '' $ac_executable_extensions; do
19483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19484 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19486 break 2
19487 fi
19488 done
19489 done
19490 IFS=$as_save_IFS
19491
19492 fi
19493 fi
19494 STRIP=$ac_cv_prog_STRIP
19495 if test -n "$STRIP"; then
19496 { echo "$as_me:$LINENO: result: $STRIP" >&5
19497 echo "${ECHO_T}$STRIP" >&6; }
19498 else
19499 { echo "$as_me:$LINENO: result: no" >&5
19500 echo "${ECHO_T}no" >&6; }
19501 fi
19502
19503
19504 fi
19505 if test -z "$ac_cv_prog_STRIP"; then
19506 ac_ct_STRIP=$STRIP
19507 # Extract the first word of "strip", so it can be a program name with args.
19508 set dummy strip; ac_word=$2
19509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19511 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 else
19514 if test -n "$ac_ct_STRIP"; then
19515 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19516 else
19517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19518 for as_dir in $PATH
19519 do
19520 IFS=$as_save_IFS
19521 test -z "$as_dir" && as_dir=.
19522 for ac_exec_ext in '' $ac_executable_extensions; do
19523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19524 ac_cv_prog_ac_ct_STRIP="strip"
19525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19526 break 2
19527 fi
19528 done
19529 done
19530 IFS=$as_save_IFS
19531
19532 fi
19533 fi
19534 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19535 if test -n "$ac_ct_STRIP"; then
19536 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19537 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19538 else
19539 { echo "$as_me:$LINENO: result: no" >&5
19540 echo "${ECHO_T}no" >&6; }
19541 fi
19542
19543 if test "x$ac_ct_STRIP" = x; then
19544 STRIP="true"
19545 else
19546 case $cross_compiling:$ac_tool_warned in
19547 yes:)
19548 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19549 whose name does not start with the host triplet. If you think this
19550 configuration is useful to you, please write to autoconf@gnu.org." >&5
19551 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19552 whose name does not start with the host triplet. If you think this
19553 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19554 ac_tool_warned=yes ;;
19555 esac
19556 STRIP=$ac_ct_STRIP
19557 fi
19558 else
19559 STRIP="$ac_cv_prog_STRIP"
19560 fi
19561
19562
19563 if test "$wxUSE_WINE" = "yes"; then
19564 if test -n "$ac_tool_prefix"; then
19565 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19566 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19569 if test "${ac_cv_prog_WINDRES+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 else
19572 if test -n "$WINDRES"; then
19573 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19574 else
19575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19576 for as_dir in $PATH
19577 do
19578 IFS=$as_save_IFS
19579 test -z "$as_dir" && as_dir=.
19580 for ac_exec_ext in '' $ac_executable_extensions; do
19581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19582 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19584 break 2
19585 fi
19586 done
19587 done
19588 IFS=$as_save_IFS
19589
19590 fi
19591 fi
19592 WINDRES=$ac_cv_prog_WINDRES
19593 if test -n "$WINDRES"; then
19594 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19595 echo "${ECHO_T}$WINDRES" >&6; }
19596 else
19597 { echo "$as_me:$LINENO: result: no" >&5
19598 echo "${ECHO_T}no" >&6; }
19599 fi
19600
19601
19602 fi
19603 if test -z "$ac_cv_prog_WINDRES"; then
19604 ac_ct_WINDRES=$WINDRES
19605 # Extract the first word of "wrc", so it can be a program name with args.
19606 set dummy wrc; ac_word=$2
19607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19609 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 else
19612 if test -n "$ac_ct_WINDRES"; then
19613 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19614 else
19615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19616 for as_dir in $PATH
19617 do
19618 IFS=$as_save_IFS
19619 test -z "$as_dir" && as_dir=.
19620 for ac_exec_ext in '' $ac_executable_extensions; do
19621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19622 ac_cv_prog_ac_ct_WINDRES="wrc"
19623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19624 break 2
19625 fi
19626 done
19627 done
19628 IFS=$as_save_IFS
19629
19630 fi
19631 fi
19632 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19633 if test -n "$ac_ct_WINDRES"; then
19634 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19635 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19636 else
19637 { echo "$as_me:$LINENO: result: no" >&5
19638 echo "${ECHO_T}no" >&6; }
19639 fi
19640
19641 if test "x$ac_ct_WINDRES" = x; then
19642 WINDRES=""
19643 else
19644 case $cross_compiling:$ac_tool_warned in
19645 yes:)
19646 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19647 whose name does not start with the host triplet. If you think this
19648 configuration is useful to you, please write to autoconf@gnu.org." >&5
19649 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19650 whose name does not start with the host triplet. If you think this
19651 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19652 ac_tool_warned=yes ;;
19653 esac
19654 WINDRES=$ac_ct_WINDRES
19655 fi
19656 else
19657 WINDRES="$ac_cv_prog_WINDRES"
19658 fi
19659
19660 RESCOMP="$WINDRES"
19661 else
19662 case "${host}" in
19663 *-*-cygwin* | *-*-mingw32* )
19664 if test -n "$ac_tool_prefix"; then
19665 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19666 set dummy ${ac_tool_prefix}windres; ac_word=$2
19667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19669 if test "${ac_cv_prog_WINDRES+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 else
19672 if test -n "$WINDRES"; then
19673 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19674 else
19675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19676 for as_dir in $PATH
19677 do
19678 IFS=$as_save_IFS
19679 test -z "$as_dir" && as_dir=.
19680 for ac_exec_ext in '' $ac_executable_extensions; do
19681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19682 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19684 break 2
19685 fi
19686 done
19687 done
19688 IFS=$as_save_IFS
19689
19690 fi
19691 fi
19692 WINDRES=$ac_cv_prog_WINDRES
19693 if test -n "$WINDRES"; then
19694 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19695 echo "${ECHO_T}$WINDRES" >&6; }
19696 else
19697 { echo "$as_me:$LINENO: result: no" >&5
19698 echo "${ECHO_T}no" >&6; }
19699 fi
19700
19701
19702 fi
19703 if test -z "$ac_cv_prog_WINDRES"; then
19704 ac_ct_WINDRES=$WINDRES
19705 # Extract the first word of "windres", so it can be a program name with args.
19706 set dummy windres; ac_word=$2
19707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19709 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 else
19712 if test -n "$ac_ct_WINDRES"; then
19713 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19714 else
19715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19716 for as_dir in $PATH
19717 do
19718 IFS=$as_save_IFS
19719 test -z "$as_dir" && as_dir=.
19720 for ac_exec_ext in '' $ac_executable_extensions; do
19721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19722 ac_cv_prog_ac_ct_WINDRES="windres"
19723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19724 break 2
19725 fi
19726 done
19727 done
19728 IFS=$as_save_IFS
19729
19730 fi
19731 fi
19732 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19733 if test -n "$ac_ct_WINDRES"; then
19734 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19735 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19736 else
19737 { echo "$as_me:$LINENO: result: no" >&5
19738 echo "${ECHO_T}no" >&6; }
19739 fi
19740
19741 if test "x$ac_ct_WINDRES" = x; then
19742 WINDRES=""
19743 else
19744 case $cross_compiling:$ac_tool_warned in
19745 yes:)
19746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19747 whose name does not start with the host triplet. If you think this
19748 configuration is useful to you, please write to autoconf@gnu.org." >&5
19749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19750 whose name does not start with the host triplet. If you think this
19751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19752 ac_tool_warned=yes ;;
19753 esac
19754 WINDRES=$ac_ct_WINDRES
19755 fi
19756 else
19757 WINDRES="$ac_cv_prog_WINDRES"
19758 fi
19759
19760 RESCOMP="$WINDRES"
19761 if test -n "$ac_tool_prefix"; then
19762 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19763 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19766 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19767 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 else
19769 if test -n "$DLLTOOL"; then
19770 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19771 else
19772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19773 for as_dir in $PATH
19774 do
19775 IFS=$as_save_IFS
19776 test -z "$as_dir" && as_dir=.
19777 for ac_exec_ext in '' $ac_executable_extensions; do
19778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19779 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19781 break 2
19782 fi
19783 done
19784 done
19785 IFS=$as_save_IFS
19786
19787 fi
19788 fi
19789 DLLTOOL=$ac_cv_prog_DLLTOOL
19790 if test -n "$DLLTOOL"; then
19791 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19792 echo "${ECHO_T}$DLLTOOL" >&6; }
19793 else
19794 { echo "$as_me:$LINENO: result: no" >&5
19795 echo "${ECHO_T}no" >&6; }
19796 fi
19797
19798
19799 fi
19800 if test -z "$ac_cv_prog_DLLTOOL"; then
19801 ac_ct_DLLTOOL=$DLLTOOL
19802 # Extract the first word of "dlltool", so it can be a program name with args.
19803 set dummy dlltool; ac_word=$2
19804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19806 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 else
19809 if test -n "$ac_ct_DLLTOOL"; then
19810 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19811 else
19812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19813 for as_dir in $PATH
19814 do
19815 IFS=$as_save_IFS
19816 test -z "$as_dir" && as_dir=.
19817 for ac_exec_ext in '' $ac_executable_extensions; do
19818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19819 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19821 break 2
19822 fi
19823 done
19824 done
19825 IFS=$as_save_IFS
19826
19827 fi
19828 fi
19829 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19830 if test -n "$ac_ct_DLLTOOL"; then
19831 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19832 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19833 else
19834 { echo "$as_me:$LINENO: result: no" >&5
19835 echo "${ECHO_T}no" >&6; }
19836 fi
19837
19838 if test "x$ac_ct_DLLTOOL" = x; then
19839 DLLTOOL=""
19840 else
19841 case $cross_compiling:$ac_tool_warned in
19842 yes:)
19843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19844 whose name does not start with the host triplet. If you think this
19845 configuration is useful to you, please write to autoconf@gnu.org." >&5
19846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19847 whose name does not start with the host triplet. If you think this
19848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19849 ac_tool_warned=yes ;;
19850 esac
19851 DLLTOOL=$ac_ct_DLLTOOL
19852 fi
19853 else
19854 DLLTOOL="$ac_cv_prog_DLLTOOL"
19855 fi
19856
19857 ;;
19858 esac
19859 fi
19860
19861 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19862 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19863 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19864 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 else
19866
19867 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19868 $EGREP -s GNU > /dev/null); then
19869 wx_cv_prog_makeisgnu="yes"
19870 else
19871 wx_cv_prog_makeisgnu="no"
19872 fi
19873
19874 fi
19875 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19876 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19877
19878 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19879 IF_GNU_MAKE=""
19880 else
19881 IF_GNU_MAKE="#"
19882 fi
19883
19884
19885
19886 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19887 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19888 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19889 if test "${wx_cv_prog_makevpath+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19892
19893 cat - << EOF > confMake
19894 check : file
19895 cp \$? \$@
19896 cp \$? final_file
19897 EOF
19898
19899 if test ! -d sub ; then
19900 mkdir sub
19901 fi
19902 echo dummy > sub/file
19903 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
19904 RESULT=$?
19905 rm -f sub/file check final_file confMake
19906 rmdir sub
19907 if test "$RESULT" = 0; then
19908 wx_cv_prog_makevpath="yes"
19909 else
19910 wx_cv_prog_makevpath="no"
19911 fi
19912
19913 fi
19914 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
19915 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
19916
19917 if test "x$wx_cv_prog_makevpath" != "xyes"; then
19918 { { echo "$as_me:$LINENO: error:
19919 You need a make-utility that is able to use the variable
19920 VPATH correctly.
19921 If your version of make does not support VPATH correctly,
19922 please install GNU-make (possibly as gmake), and start
19923 configure with the following command:
19924 export MAKE=gmake; ./configure for sh-type shells
19925 setenv MAKE gmake; ./configure for csh-type shells
19926 Also please do remember to use gmake in this case every time
19927 you are trying to compile.
19928 " >&5
19929 echo "$as_me: error:
19930 You need a make-utility that is able to use the variable
19931 VPATH correctly.
19932 If your version of make does not support VPATH correctly,
19933 please install GNU-make (possibly as gmake), and start
19934 configure with the following command:
19935 export MAKE=gmake; ./configure for sh-type shells
19936 setenv MAKE gmake; ./configure for csh-type shells
19937 Also please do remember to use gmake in this case every time
19938 you are trying to compile.
19939 " >&2;}
19940 { (exit 1); exit 1; }; }
19941 fi fi
19942 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
19943 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
19944 LN_S=$as_ln_s
19945 if test "$LN_S" = "ln -s"; then
19946 { echo "$as_me:$LINENO: result: yes" >&5
19947 echo "${ECHO_T}yes" >&6; }
19948 else
19949 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19950 echo "${ECHO_T}no, using $LN_S" >&6; }
19951 fi
19952
19953
19954
19955
19956 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19957 CXXFLAGS="-qunique $CXXFLAGS"
19958 fi
19959
19960 case "${host}" in
19961 powerpc-*-darwin* )
19962 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19963 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19964 cat >conftest.$ac_ext <<_ACEOF
19965 /* confdefs.h. */
19966 _ACEOF
19967 cat confdefs.h >>conftest.$ac_ext
19968 cat >>conftest.$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19970
19971 int
19972 main ()
19973 {
19974 #ifndef __POWERPC__
19975 choke me for lack of PowerPC
19976 #endif
19977
19978 ;
19979 return 0;
19980 }
19981 _ACEOF
19982 rm -f conftest.$ac_objext
19983 if { (ac_try="$ac_compile"
19984 case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;;
19987 esac
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_compile") 2>conftest.er1
19990 ac_status=$?
19991 grep -v '^ *+' conftest.er1 >conftest.err
19992 rm -f conftest.er1
19993 cat conftest.err >&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } && {
19996 test -z "$ac_c_werror_flag" ||
19997 test ! -s conftest.err
19998 } && test -s conftest.$ac_objext; then
19999 { echo "$as_me:$LINENO: result: yes" >&5
20000 echo "${ECHO_T}yes" >&6; }
20001 else
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20004
20005 { echo "$as_me:$LINENO: result: no" >&5
20006 echo "${ECHO_T}no" >&6; }
20007 cat >>confdefs.h <<\_ACEOF
20008 #define __POWERPC__ 1
20009 _ACEOF
20010
20011
20012 fi
20013
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 ;;
20016 esac
20017
20018 case "${host}" in
20019 *-*-darwin* )
20020 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20021 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 #include <CoreFoundation/CFBase.h>
20029
20030 int
20031 main ()
20032 {
20033
20034 ;
20035 return 0;
20036 }
20037 _ACEOF
20038 rm -f conftest.$ac_objext
20039 if { (ac_try="$ac_compile"
20040 case "(($ac_try" in
20041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20042 *) ac_try_echo=$ac_try;;
20043 esac
20044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045 (eval "$ac_compile") 2>conftest.er1
20046 ac_status=$?
20047 grep -v '^ *+' conftest.er1 >conftest.err
20048 rm -f conftest.er1
20049 cat conftest.err >&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } && {
20052 test -z "$ac_c_werror_flag" ||
20053 test ! -s conftest.err
20054 } && test -s conftest.$ac_objext; then
20055 { echo "$as_me:$LINENO: result: yes" >&5
20056 echo "${ECHO_T}yes" >&6; }
20057 else
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.$ac_ext >&5
20060
20061 { echo "$as_me:$LINENO: result: no" >&5
20062 echo "${ECHO_T}no" >&6; }
20063 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20064 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #define __CF_USE_FRAMEWORK_INCLUDES__
20072 #include <CoreFoundation/CFBase.h>
20073
20074 int
20075 main ()
20076 {
20077
20078 ;
20079 return 0;
20080 }
20081 _ACEOF
20082 rm -f conftest.$ac_objext
20083 if { (ac_try="$ac_compile"
20084 case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20087 esac
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_compile") 2>conftest.er1
20090 ac_status=$?
20091 grep -v '^ *+' conftest.er1 >conftest.err
20092 rm -f conftest.er1
20093 cat conftest.err >&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); } && {
20096 test -z "$ac_c_werror_flag" ||
20097 test ! -s conftest.err
20098 } && test -s conftest.$ac_objext; then
20099 { echo "$as_me:$LINENO: result: yes" >&5
20100 echo "${ECHO_T}yes" >&6; }
20101 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20102 else
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20105
20106 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20107 See \`config.log' for more details." >&5
20108 echo "$as_me: error: no. CoreFoundation not available.
20109 See \`config.log' for more details." >&2;}
20110 { (exit 1); exit 1; }; }
20111
20112 fi
20113
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115
20116
20117 fi
20118
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 ;;
20121 esac
20122
20123 wants_win32=0
20124 doesnt_want_win32=0
20125 case "${host}" in
20126 *-*-cygwin*)
20127 if test "$wxUSE_MSW" = 1 ; then
20128 wants_win32=1
20129 else
20130 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20131 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20132 if test "${wx_cv_nocygwin+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 else
20135
20136 cat >conftest.$ac_ext <<_ACEOF
20137 /* confdefs.h. */
20138 _ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142
20143 int
20144 main ()
20145 {
20146
20147 #ifdef __MINGW32__
20148 choke me
20149 #endif
20150
20151 ;
20152 return 0;
20153 }
20154 _ACEOF
20155 rm -f conftest.$ac_objext
20156 if { (ac_try="$ac_compile"
20157 case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20160 esac
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_compile") 2>conftest.er1
20163 ac_status=$?
20164 grep -v '^ *+' conftest.er1 >conftest.err
20165 rm -f conftest.er1
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest.$ac_objext; then
20172 wx_cv_nocygwin=no
20173 else
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20176
20177 wx_cv_nocygwin=yes
20178
20179 fi
20180
20181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20182
20183
20184 fi
20185 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20186 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20187
20188 if test "$wx_cv_nocygwin" = "yes"; then
20189 wants_win32=1
20190 else
20191 doesnt_want_win32=1
20192 fi
20193 fi
20194 if test "$wants_win32" = 1 ; then
20195 BAKEFILE_FORCE_PLATFORM=win32
20196 fi
20197 ;;
20198 *-*-mingw*)
20199 wants_win32=1
20200 ;;
20201 esac
20202
20203 if test "$wxUSE_WINE" = "yes"; then
20204 wants_win32=1
20205 LDFLAGS_GUI="-mwindows"
20206 fi
20207
20208 if test "$wants_win32" = 1 ; then
20209 USE_UNIX=0
20210 USE_WIN32=1
20211 cat >>confdefs.h <<\_ACEOF
20212 #define __WIN32__ 1
20213 _ACEOF
20214
20215 cat >>confdefs.h <<\_ACEOF
20216 #define __WIN95__ 1
20217 _ACEOF
20218
20219 cat >>confdefs.h <<\_ACEOF
20220 #define __WINDOWS__ 1
20221 _ACEOF
20222
20223 cat >>confdefs.h <<\_ACEOF
20224 #define __GNUWIN32__ 1
20225 _ACEOF
20226
20227 cat >>confdefs.h <<\_ACEOF
20228 #define STRICT 1
20229 _ACEOF
20230
20231 fi
20232 if test "$doesnt_want_win32" = 1 ; then
20233 USE_UNIX=1
20234 USE_WIN32=0
20235 fi
20236
20237 if test "$USE_UNIX" = 1 ; then
20238 wxUSE_UNIX=yes
20239 cat >>confdefs.h <<\_ACEOF
20240 #define __UNIX__ 1
20241 _ACEOF
20242
20243 fi
20244
20245 case "${host}" in
20246 *-pc-os2_emx | *-pc-os2-emx )
20247 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20248 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20249 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20250 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 else
20253 ac_check_lib_save_LIBS=$LIBS
20254 LIBS="-lcExt $LIBS"
20255 cat >conftest.$ac_ext <<_ACEOF
20256 /* confdefs.h. */
20257 _ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261
20262 /* Override any GCC internal prototype to avoid an error.
20263 Use char because int might match the return type of a GCC
20264 builtin and then its argument prototype would still apply. */
20265 #ifdef __cplusplus
20266 extern "C"
20267 #endif
20268 char drand48 ();
20269 int
20270 main ()
20271 {
20272 return drand48 ();
20273 ;
20274 return 0;
20275 }
20276 _ACEOF
20277 rm -f conftest.$ac_objext conftest$ac_exeext
20278 if { (ac_try="$ac_link"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20282 esac
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_link") 2>conftest.er1
20285 ac_status=$?
20286 grep -v '^ *+' conftest.er1 >conftest.err
20287 rm -f conftest.er1
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest$ac_exeext &&
20294 $as_test_x conftest$ac_exeext; then
20295 ac_cv_lib_cExt_drand48=yes
20296 else
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 ac_cv_lib_cExt_drand48=no
20301 fi
20302
20303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20304 conftest$ac_exeext conftest.$ac_ext
20305 LIBS=$ac_check_lib_save_LIBS
20306 fi
20307 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20308 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20309 if test $ac_cv_lib_cExt_drand48 = yes; then
20310 LIBS="$LIBS -lcExt"
20311 fi
20312
20313 else
20314 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20315 fi
20316 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20317 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20318 if test "${wx_cv_gccversion+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 else
20321
20322 if test "$cross_compiling" = yes; then
20323 wx_cv_gccversion="EMX2"
20324
20325 else
20326 cat >conftest.$ac_ext <<_ACEOF
20327 /* confdefs.h. */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332
20333 #include <stdio.h>
20334
20335 int main()
20336 {
20337 FILE *f=fopen("conftestval", "w");
20338 if (!f) exit(1);
20339 fprintf(f,
20340 #if (__GNUC__ < 3)
20341 "EMX2"
20342 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20343 "EMX3"
20344 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20345 "Innotek5"
20346 #else
20347 "Innotek6"
20348 #endif
20349 );
20350 exit(0);
20351 }
20352
20353 _ACEOF
20354 rm -f conftest$ac_exeext
20355 if { (ac_try="$ac_link"
20356 case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20359 esac
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_link") 2>&5
20362 ac_status=$?
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20365 { (case "(($ac_try" in
20366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20367 *) ac_try_echo=$ac_try;;
20368 esac
20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20370 (eval "$ac_try") 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 wx_cv_gccversion=`cat conftestval`
20375 else
20376 echo "$as_me: program exited with status $ac_status" >&5
20377 echo "$as_me: failed program was:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20379
20380 ( exit $ac_status )
20381 wx_cv_gccversion="EMX2"
20382 fi
20383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20384 fi
20385
20386
20387
20388 fi
20389 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20390 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20391 if test "$wx_cv_gccversion" = "EMX2"; then
20392 LIBS="$LIBS -lstdcpp"
20393 LDFLAGS="$LDFLAGS -Zsysv-signals"
20394 else
20395 if test "$wx_cv_gccversion" = "EMX3"; then
20396 LIBS="$LIBS -lstdcxx -lgcc"
20397 LDFLAGS="$LDFLAGS -Zsysv-signals"
20398 else
20399 LIBS="$LIBS -lstdc++"
20400 fi
20401 fi
20402 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20403 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20404 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20405 wxUSE_OMF=yes
20406 enable_omf=yes
20407 fi
20408 ;;
20409 *)
20410
20411 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20412 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20413 if test "${ac_cv_string_strcasecmp+set}" = set; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 else
20416
20417 cat >conftest.$ac_ext <<_ACEOF
20418 /* confdefs.h. */
20419 _ACEOF
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423
20424 #include <string.h>
20425
20426 int
20427 main ()
20428 {
20429
20430 strcasecmp("foo", "bar");
20431
20432 ;
20433 return 0;
20434 }
20435 _ACEOF
20436 rm -f conftest.$ac_objext conftest$ac_exeext
20437 if { (ac_try="$ac_link"
20438 case "(($ac_try" in
20439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20440 *) ac_try_echo=$ac_try;;
20441 esac
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_link") 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest$ac_exeext &&
20453 $as_test_x conftest$ac_exeext; then
20454 ac_cv_string_strcasecmp=yes
20455 else
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20458
20459 ac_cv_string_strcasecmp=no
20460
20461 fi
20462
20463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20464 conftest$ac_exeext conftest.$ac_ext
20465
20466 fi
20467 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20468 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20469
20470 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20471 cat >>confdefs.h <<\_ACEOF
20472 #define HAVE_STRCASECMP_IN_STRING_H 1
20473 _ACEOF
20474
20475 else
20476 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20477 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20478 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 else
20481
20482 cat >conftest.$ac_ext <<_ACEOF
20483 /* confdefs.h. */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488
20489 #include <strings.h>
20490
20491 int
20492 main ()
20493 {
20494
20495 strcasecmp("foo", "bar");
20496
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 rm -f conftest.$ac_objext conftest$ac_exeext
20502 if { (ac_try="$ac_link"
20503 case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20506 esac
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_link") 2>conftest.er1
20509 ac_status=$?
20510 grep -v '^ *+' conftest.er1 >conftest.err
20511 rm -f conftest.er1
20512 cat conftest.err >&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } && {
20515 test -z "$ac_c_werror_flag" ||
20516 test ! -s conftest.err
20517 } && test -s conftest$ac_exeext &&
20518 $as_test_x conftest$ac_exeext; then
20519 ac_cv_strings_strcasecmp=yes
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20523
20524 ac_cv_strings_strcasecmp=no
20525
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20529 conftest$ac_exeext conftest.$ac_ext
20530
20531 fi
20532 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20533 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20534
20535 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20536 cat >>confdefs.h <<\_ACEOF
20537 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20538 _ACEOF
20539
20540 else
20541 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20542 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20543 { (exit 1); exit 1; }; }
20544 fi
20545 fi
20546
20547 ;;
20548 esac
20549
20550
20551 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20552 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20553 if test "${ac_cv_header_stdc+set}" = set; then
20554 echo $ECHO_N "(cached) $ECHO_C" >&6
20555 else
20556 cat >conftest.$ac_ext <<_ACEOF
20557 /* confdefs.h. */
20558 _ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 #include <stdlib.h>
20563 #include <stdarg.h>
20564 #include <string.h>
20565 #include <float.h>
20566
20567 int
20568 main ()
20569 {
20570
20571 ;
20572 return 0;
20573 }
20574 _ACEOF
20575 rm -f conftest.$ac_objext
20576 if { (ac_try="$ac_compile"
20577 case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20579 *) ac_try_echo=$ac_try;;
20580 esac
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_compile") 2>conftest.er1
20583 ac_status=$?
20584 grep -v '^ *+' conftest.er1 >conftest.err
20585 rm -f conftest.er1
20586 cat conftest.err >&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } && {
20589 test -z "$ac_c_werror_flag" ||
20590 test ! -s conftest.err
20591 } && test -s conftest.$ac_objext; then
20592 ac_cv_header_stdc=yes
20593 else
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.$ac_ext >&5
20596
20597 ac_cv_header_stdc=no
20598 fi
20599
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601
20602 if test $ac_cv_header_stdc = yes; then
20603 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20604 cat >conftest.$ac_ext <<_ACEOF
20605 /* confdefs.h. */
20606 _ACEOF
20607 cat confdefs.h >>conftest.$ac_ext
20608 cat >>conftest.$ac_ext <<_ACEOF
20609 /* end confdefs.h. */
20610 #include <string.h>
20611
20612 _ACEOF
20613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20614 $EGREP "memchr" >/dev/null 2>&1; then
20615 :
20616 else
20617 ac_cv_header_stdc=no
20618 fi
20619 rm -f conftest*
20620
20621 fi
20622
20623 if test $ac_cv_header_stdc = yes; then
20624 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 #include <stdlib.h>
20632
20633 _ACEOF
20634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20635 $EGREP "free" >/dev/null 2>&1; then
20636 :
20637 else
20638 ac_cv_header_stdc=no
20639 fi
20640 rm -f conftest*
20641
20642 fi
20643
20644 if test $ac_cv_header_stdc = yes; then
20645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20646 if test "$cross_compiling" = yes; then
20647 :
20648 else
20649 cat >conftest.$ac_ext <<_ACEOF
20650 /* confdefs.h. */
20651 _ACEOF
20652 cat confdefs.h >>conftest.$ac_ext
20653 cat >>conftest.$ac_ext <<_ACEOF
20654 /* end confdefs.h. */
20655 #include <ctype.h>
20656 #include <stdlib.h>
20657 #if ((' ' & 0x0FF) == 0x020)
20658 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20659 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20660 #else
20661 # define ISLOWER(c) \
20662 (('a' <= (c) && (c) <= 'i') \
20663 || ('j' <= (c) && (c) <= 'r') \
20664 || ('s' <= (c) && (c) <= 'z'))
20665 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20666 #endif
20667
20668 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20669 int
20670 main ()
20671 {
20672 int i;
20673 for (i = 0; i < 256; i++)
20674 if (XOR (islower (i), ISLOWER (i))
20675 || toupper (i) != TOUPPER (i))
20676 return 2;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest$ac_exeext
20681 if { (ac_try="$ac_link"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_link") 2>&5
20688 ac_status=$?
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20691 { (case "(($ac_try" in
20692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20694 esac
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_try") 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; }; then
20700 :
20701 else
20702 echo "$as_me: program exited with status $ac_status" >&5
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 ( exit $ac_status )
20707 ac_cv_header_stdc=no
20708 fi
20709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20710 fi
20711
20712
20713 fi
20714 fi
20715 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20716 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20717 if test $ac_cv_header_stdc = yes; then
20718
20719 cat >>confdefs.h <<\_ACEOF
20720 #define STDC_HEADERS 1
20721 _ACEOF
20722
20723 fi
20724
20725 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20736 inttypes.h stdint.h unistd.h
20737 do
20738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20739 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20741 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20742 echo $ECHO_N "(cached) $ECHO_C" >&6
20743 else
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h. */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751
20752 #include <$ac_header>
20753 _ACEOF
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } && {
20768 test -z "$ac_c_werror_flag" ||
20769 test ! -s conftest.err
20770 } && test -s conftest.$ac_objext; then
20771 eval "$as_ac_Header=yes"
20772 else
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20775
20776 eval "$as_ac_Header=no"
20777 fi
20778
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 fi
20781 ac_res=`eval echo '${'$as_ac_Header'}'`
20782 { echo "$as_me:$LINENO: result: $ac_res" >&5
20783 echo "${ECHO_T}$ac_res" >&6; }
20784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20785 cat >>confdefs.h <<_ACEOF
20786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20787 _ACEOF
20788
20789 fi
20790
20791 done
20792
20793
20794
20795
20796
20797
20798
20799
20800 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20801 do
20802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20807 else
20808 cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h. */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20815
20816 #include <$ac_header>
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20823 esac
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 eval "$as_ac_Header=yes"
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840 eval "$as_ac_Header=no"
20841 fi
20842
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20844 fi
20845 ac_res=`eval echo '${'$as_ac_Header'}'`
20846 { echo "$as_me:$LINENO: result: $ac_res" >&5
20847 echo "${ECHO_T}$ac_res" >&6; }
20848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20849 cat >>confdefs.h <<_ACEOF
20850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20851 _ACEOF
20852
20853 fi
20854
20855 done
20856
20857
20858 if test "$ac_cv_header_wchar_h" != "yes"; then
20859 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
20860 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
20861 if test "${ac_cv_header_wcstr_h+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20863 else
20864 cat >conftest.$ac_ext <<_ACEOF
20865 /* confdefs.h. */
20866 _ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20871
20872 #include <wcstr.h>
20873 _ACEOF
20874 rm -f conftest.$ac_objext
20875 if { (ac_try="$ac_compile"
20876 case "(($ac_try" in
20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20879 esac
20880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20882 ac_status=$?
20883 grep -v '^ *+' conftest.er1 >conftest.err
20884 rm -f conftest.er1
20885 cat conftest.err >&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && {
20888 test -z "$ac_c_werror_flag" ||
20889 test ! -s conftest.err
20890 } && test -s conftest.$ac_objext; then
20891 ac_cv_header_wcstr_h=yes
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 ac_cv_header_wcstr_h=no
20897 fi
20898
20899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20900 fi
20901 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
20902 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
20903
20904
20905 fi
20906
20907 case "${host}" in
20908 *-pc-os2_emx | *-pc-os2-emx )
20909 if test $ac_cv_header_langinfo_h = "yes" \
20910 -a \( "$wx_cv_gccversion" = "EMX2" \
20911 -o "$wx_cv_gccversion" = "EMX3" \
20912 -o "$wx_cv_gccversion" = "Innotek5" \); then
20913 LIBS="$LIBS -lintl"
20914 fi
20915 ;;
20916 esac
20917
20918 if test "$USE_UNIX" = 1 ; then
20919 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
20920 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
20921 if test "${ac_cv_header_sys_select_h+set}" = set; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20923 else
20924 cat >conftest.$ac_ext <<_ACEOF
20925 /* confdefs.h. */
20926 _ACEOF
20927 cat confdefs.h >>conftest.$ac_ext
20928 cat >>conftest.$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 $ac_includes_default
20931
20932 #include <sys/select.h>
20933 _ACEOF
20934 rm -f conftest.$ac_objext
20935 if { (ac_try="$ac_compile"
20936 case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20939 esac
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_compile") 2>conftest.er1
20942 ac_status=$?
20943 grep -v '^ *+' conftest.er1 >conftest.err
20944 rm -f conftest.er1
20945 cat conftest.err >&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } && {
20948 test -z "$ac_c_werror_flag" ||
20949 test ! -s conftest.err
20950 } && test -s conftest.$ac_objext; then
20951 ac_cv_header_sys_select_h=yes
20952 else
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5
20955
20956 ac_cv_header_sys_select_h=no
20957 fi
20958
20959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 fi
20961 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
20962 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
20963
20964
20965 fi
20966
20967
20968 for ac_header in sys/epoll.h
20969 do
20970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20972 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 fi
20977 ac_res=`eval echo '${'$as_ac_Header'}'`
20978 { echo "$as_me:$LINENO: result: $ac_res" >&5
20979 echo "${ECHO_T}$ac_res" >&6; }
20980 else
20981 # Is the header compilable?
20982 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 #include <$ac_header>
20992 _ACEOF
20993 rm -f conftest.$ac_objext
20994 if { (ac_try="$ac_compile"
20995 case "(($ac_try" in
20996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20998 esac
20999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21000 (eval "$ac_compile") 2>conftest.er1
21001 ac_status=$?
21002 grep -v '^ *+' conftest.er1 >conftest.err
21003 rm -f conftest.er1
21004 cat conftest.err >&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } && {
21007 test -z "$ac_c_werror_flag" ||
21008 test ! -s conftest.err
21009 } && test -s conftest.$ac_objext; then
21010 ac_header_compiler=yes
21011 else
21012 echo "$as_me: failed program was:" >&5
21013 sed 's/^/| /' conftest.$ac_ext >&5
21014
21015 ac_header_compiler=no
21016 fi
21017
21018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21019 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21020 echo "${ECHO_T}$ac_header_compiler" >&6; }
21021
21022 # Is the header present?
21023 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21025 cat >conftest.$ac_ext <<_ACEOF
21026 /* confdefs.h. */
21027 _ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #include <$ac_header>
21032 _ACEOF
21033 if { (ac_try="$ac_cpp conftest.$ac_ext"
21034 case "(($ac_try" in
21035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21036 *) ac_try_echo=$ac_try;;
21037 esac
21038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21040 ac_status=$?
21041 grep -v '^ *+' conftest.er1 >conftest.err
21042 rm -f conftest.er1
21043 cat conftest.err >&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } >/dev/null && {
21046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21047 test ! -s conftest.err
21048 }; then
21049 ac_header_preproc=yes
21050 else
21051 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.$ac_ext >&5
21053
21054 ac_header_preproc=no
21055 fi
21056
21057 rm -f conftest.err conftest.$ac_ext
21058 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21059 echo "${ECHO_T}$ac_header_preproc" >&6; }
21060
21061 # So? What about this header?
21062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21063 yes:no: )
21064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21068 ac_header_preproc=yes
21069 ;;
21070 no:yes:* )
21071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21083 ( cat <<\_ASBOX
21084 ## ----------------------------------------- ##
21085 ## Report this to wx-dev@lists.wxwidgets.org ##
21086 ## ----------------------------------------- ##
21087 _ASBOX
21088 ) | sed "s/^/$as_me: WARNING: /" >&2
21089 ;;
21090 esac
21091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21095 else
21096 eval "$as_ac_Header=\$ac_header_preproc"
21097 fi
21098 ac_res=`eval echo '${'$as_ac_Header'}'`
21099 { echo "$as_me:$LINENO: result: $ac_res" >&5
21100 echo "${ECHO_T}$ac_res" >&6; }
21101
21102 fi
21103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21104 cat >>confdefs.h <<_ACEOF
21105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21106 _ACEOF
21107
21108 fi
21109
21110 done
21111
21112
21113
21114 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21115 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21116 if test "${ac_cv_c_const+set}" = set; then
21117 echo $ECHO_N "(cached) $ECHO_C" >&6
21118 else
21119 cat >conftest.$ac_ext <<_ACEOF
21120 /* confdefs.h. */
21121 _ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21125
21126 int
21127 main ()
21128 {
21129 /* FIXME: Include the comments suggested by Paul. */
21130 #ifndef __cplusplus
21131 /* Ultrix mips cc rejects this. */
21132 typedef int charset[2];
21133 const charset cs;
21134 /* SunOS 4.1.1 cc rejects this. */
21135 char const *const *pcpcc;
21136 char **ppc;
21137 /* NEC SVR4.0.2 mips cc rejects this. */
21138 struct point {int x, y;};
21139 static struct point const zero = {0,0};
21140 /* AIX XL C 1.02.0.0 rejects this.
21141 It does not let you subtract one const X* pointer from another in
21142 an arm of an if-expression whose if-part is not a constant
21143 expression */
21144 const char *g = "string";
21145 pcpcc = &g + (g ? g-g : 0);
21146 /* HPUX 7.0 cc rejects these. */
21147 ++pcpcc;
21148 ppc = (char**) pcpcc;
21149 pcpcc = (char const *const *) ppc;
21150 { /* SCO 3.2v4 cc rejects this. */
21151 char *t;
21152 char const *s = 0 ? (char *) 0 : (char const *) 0;
21153
21154 *t++ = 0;
21155 if (s) return 0;
21156 }
21157 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21158 int x[] = {25, 17};
21159 const int *foo = &x[0];
21160 ++foo;
21161 }
21162 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21163 typedef const int *iptr;
21164 iptr p = 0;
21165 ++p;
21166 }
21167 { /* AIX XL C 1.02.0.0 rejects this saying
21168 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21169 struct s { int j; const int *ap[3]; };
21170 struct s *b; b->j = 5;
21171 }
21172 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21173 const int foo = 10;
21174 if (!foo) return 0;
21175 }
21176 return !cs[0] && !zero.x;
21177 #endif
21178
21179 ;
21180 return 0;
21181 }
21182 _ACEOF
21183 rm -f conftest.$ac_objext
21184 if { (ac_try="$ac_compile"
21185 case "(($ac_try" in
21186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187 *) ac_try_echo=$ac_try;;
21188 esac
21189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21190 (eval "$ac_compile") 2>conftest.er1
21191 ac_status=$?
21192 grep -v '^ *+' conftest.er1 >conftest.err
21193 rm -f conftest.er1
21194 cat conftest.err >&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } && {
21197 test -z "$ac_c_werror_flag" ||
21198 test ! -s conftest.err
21199 } && test -s conftest.$ac_objext; then
21200 ac_cv_c_const=yes
21201 else
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21204
21205 ac_cv_c_const=no
21206 fi
21207
21208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21209 fi
21210 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21211 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21212 if test $ac_cv_c_const = no; then
21213
21214 cat >>confdefs.h <<\_ACEOF
21215 #define const
21216 _ACEOF
21217
21218 fi
21219
21220 { echo "$as_me:$LINENO: checking for inline" >&5
21221 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21222 if test "${ac_cv_c_inline+set}" = set; then
21223 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 else
21225 ac_cv_c_inline=no
21226 for ac_kw in inline __inline__ __inline; do
21227 cat >conftest.$ac_ext <<_ACEOF
21228 /* confdefs.h. */
21229 _ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 #ifndef __cplusplus
21234 typedef int foo_t;
21235 static $ac_kw foo_t static_foo () {return 0; }
21236 $ac_kw foo_t foo () {return 0; }
21237 #endif
21238
21239 _ACEOF
21240 rm -f conftest.$ac_objext
21241 if { (ac_try="$ac_compile"
21242 case "(($ac_try" in
21243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21245 esac
21246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_compile") 2>conftest.er1
21248 ac_status=$?
21249 grep -v '^ *+' conftest.er1 >conftest.err
21250 rm -f conftest.er1
21251 cat conftest.err >&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } && {
21254 test -z "$ac_c_werror_flag" ||
21255 test ! -s conftest.err
21256 } && test -s conftest.$ac_objext; then
21257 ac_cv_c_inline=$ac_kw
21258 else
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21261
21262
21263 fi
21264
21265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266 test "$ac_cv_c_inline" != no && break
21267 done
21268
21269 fi
21270 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21271 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21272
21273
21274 case $ac_cv_c_inline in
21275 inline | yes) ;;
21276 *)
21277 case $ac_cv_c_inline in
21278 no) ac_val=;;
21279 *) ac_val=$ac_cv_c_inline;;
21280 esac
21281 cat >>confdefs.h <<_ACEOF
21282 #ifndef __cplusplus
21283 #define inline $ac_val
21284 #endif
21285 _ACEOF
21286 ;;
21287 esac
21288
21289
21290 { echo "$as_me:$LINENO: checking for short" >&5
21291 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21292 if test "${ac_cv_type_short+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295 cat >conftest.$ac_ext <<_ACEOF
21296 /* confdefs.h. */
21297 _ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 $ac_includes_default
21302 typedef short ac__type_new_;
21303 int
21304 main ()
21305 {
21306 if ((ac__type_new_ *) 0)
21307 return 0;
21308 if (sizeof (ac__type_new_))
21309 return 0;
21310 ;
21311 return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21319 esac
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_cv_type_short=yes
21332 else
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21335
21336 ac_cv_type_short=no
21337 fi
21338
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21340 fi
21341 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21342 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21343
21344 # The cast to long int works around a bug in the HP C Compiler
21345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21347 # This bug is HP SR number 8606223364.
21348 { echo "$as_me:$LINENO: checking size of short" >&5
21349 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21350 if test "${ac_cv_sizeof_short+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 else
21353 if test "$cross_compiling" = yes; then
21354 # Depending upon the size, compute the lo and hi bounds.
21355 cat >conftest.$ac_ext <<_ACEOF
21356 /* confdefs.h. */
21357 _ACEOF
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef short ac__type_sizeof_;
21363 int
21364 main ()
21365 {
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21367 test_array [0] = 0
21368
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 rm -f conftest.$ac_objext
21374 if { (ac_try="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21378 esac
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21381 ac_status=$?
21382 grep -v '^ *+' conftest.er1 >conftest.err
21383 rm -f conftest.er1
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21390 ac_lo=0 ac_mid=0
21391 while :; do
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef short ac__type_sizeof_;
21400 int
21401 main ()
21402 {
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21404 test_array [0] = 0
21405
21406 ;
21407 return 0;
21408 }
21409 _ACEOF
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21415 esac
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.$ac_objext; then
21427 ac_hi=$ac_mid; break
21428 else
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21431
21432 ac_lo=`expr $ac_mid + 1`
21433 if test $ac_lo -le $ac_mid; then
21434 ac_lo= ac_hi=
21435 break
21436 fi
21437 ac_mid=`expr 2 '*' $ac_mid + 1`
21438 fi
21439
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 done
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21453 typedef short ac__type_sizeof_;
21454 int
21455 main ()
21456 {
21457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21458 test_array [0] = 0
21459
21460 ;
21461 return 0;
21462 }
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (ac_try="$ac_compile"
21466 case "(($ac_try" in
21467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21469 esac
21470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_compile") 2>conftest.er1
21472 ac_status=$?
21473 grep -v '^ *+' conftest.er1 >conftest.err
21474 rm -f conftest.er1
21475 cat conftest.err >&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } && {
21478 test -z "$ac_c_werror_flag" ||
21479 test ! -s conftest.err
21480 } && test -s conftest.$ac_objext; then
21481 ac_hi=-1 ac_mid=-1
21482 while :; do
21483 cat >conftest.$ac_ext <<_ACEOF
21484 /* confdefs.h. */
21485 _ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21490 typedef short ac__type_sizeof_;
21491 int
21492 main ()
21493 {
21494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21495 test_array [0] = 0
21496
21497 ;
21498 return 0;
21499 }
21500 _ACEOF
21501 rm -f conftest.$ac_objext
21502 if { (ac_try="$ac_compile"
21503 case "(($ac_try" in
21504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21505 *) ac_try_echo=$ac_try;;
21506 esac
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_compile") 2>conftest.er1
21509 ac_status=$?
21510 grep -v '^ *+' conftest.er1 >conftest.err
21511 rm -f conftest.er1
21512 cat conftest.err >&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } && {
21515 test -z "$ac_c_werror_flag" ||
21516 test ! -s conftest.err
21517 } && test -s conftest.$ac_objext; then
21518 ac_lo=$ac_mid; break
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 ac_hi=`expr '(' $ac_mid ')' - 1`
21524 if test $ac_mid -le $ac_hi; then
21525 ac_lo= ac_hi=
21526 break
21527 fi
21528 ac_mid=`expr 2 '*' $ac_mid`
21529 fi
21530
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 done
21533 else
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.$ac_ext >&5
21536
21537 ac_lo= ac_hi=
21538 fi
21539
21540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21541 fi
21542
21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21544 # Binary search between lo and hi bounds.
21545 while test "x$ac_lo" != "x$ac_hi"; do
21546 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21547 cat >conftest.$ac_ext <<_ACEOF
21548 /* confdefs.h. */
21549 _ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21554 typedef short ac__type_sizeof_;
21555 int
21556 main ()
21557 {
21558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21559 test_array [0] = 0
21560
21561 ;
21562 return 0;
21563 }
21564 _ACEOF
21565 rm -f conftest.$ac_objext
21566 if { (ac_try="$ac_compile"
21567 case "(($ac_try" in
21568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21569 *) ac_try_echo=$ac_try;;
21570 esac
21571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21572 (eval "$ac_compile") 2>conftest.er1
21573 ac_status=$?
21574 grep -v '^ *+' conftest.er1 >conftest.err
21575 rm -f conftest.er1
21576 cat conftest.err >&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } && {
21579 test -z "$ac_c_werror_flag" ||
21580 test ! -s conftest.err
21581 } && test -s conftest.$ac_objext; then
21582 ac_hi=$ac_mid
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 ac_lo=`expr '(' $ac_mid ')' + 1`
21588 fi
21589
21590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21591 done
21592 case $ac_lo in
21593 ?*) ac_cv_sizeof_short=$ac_lo;;
21594 '') if test "$ac_cv_type_short" = yes; then
21595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21596 See \`config.log' for more details." >&5
21597 echo "$as_me: error: cannot compute sizeof (short)
21598 See \`config.log' for more details." >&2;}
21599 { (exit 77); exit 77; }; }
21600 else
21601 ac_cv_sizeof_short=0
21602 fi ;;
21603 esac
21604 else
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef short ac__type_sizeof_;
21613 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21614 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21615 #include <stdio.h>
21616 #include <stdlib.h>
21617 int
21618 main ()
21619 {
21620
21621 FILE *f = fopen ("conftest.val", "w");
21622 if (! f)
21623 return 1;
21624 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21625 {
21626 long int i = longval ();
21627 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21628 return 1;
21629 fprintf (f, "%ld\n", i);
21630 }
21631 else
21632 {
21633 unsigned long int i = ulongval ();
21634 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21635 return 1;
21636 fprintf (f, "%lu\n", i);
21637 }
21638 return ferror (f) || fclose (f) != 0;
21639
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest$ac_exeext
21645 if { (ac_try="$ac_link"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21649 esac
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_link") 2>&5
21652 ac_status=$?
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21655 { (case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_try") 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 ac_cv_sizeof_short=`cat conftest.val`
21665 else
21666 echo "$as_me: program exited with status $ac_status" >&5
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ( exit $ac_status )
21671 if test "$ac_cv_type_short" = yes; then
21672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21673 See \`config.log' for more details." >&5
21674 echo "$as_me: error: cannot compute sizeof (short)
21675 See \`config.log' for more details." >&2;}
21676 { (exit 77); exit 77; }; }
21677 else
21678 ac_cv_sizeof_short=0
21679 fi
21680 fi
21681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21682 fi
21683 rm -f conftest.val
21684 fi
21685 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21686 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21687
21688
21689
21690 cat >>confdefs.h <<_ACEOF
21691 #define SIZEOF_SHORT $ac_cv_sizeof_short
21692 _ACEOF
21693
21694
21695 { echo "$as_me:$LINENO: checking for void *" >&5
21696 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21697 if test "${ac_cv_type_void_p+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21700 cat >conftest.$ac_ext <<_ACEOF
21701 /* confdefs.h. */
21702 _ACEOF
21703 cat confdefs.h >>conftest.$ac_ext
21704 cat >>conftest.$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706 $ac_includes_default
21707 typedef void * ac__type_new_;
21708 int
21709 main ()
21710 {
21711 if ((ac__type_new_ *) 0)
21712 return 0;
21713 if (sizeof (ac__type_new_))
21714 return 0;
21715 ;
21716 return 0;
21717 }
21718 _ACEOF
21719 rm -f conftest.$ac_objext
21720 if { (ac_try="$ac_compile"
21721 case "(($ac_try" in
21722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21723 *) ac_try_echo=$ac_try;;
21724 esac
21725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21726 (eval "$ac_compile") 2>conftest.er1
21727 ac_status=$?
21728 grep -v '^ *+' conftest.er1 >conftest.err
21729 rm -f conftest.er1
21730 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } && {
21733 test -z "$ac_c_werror_flag" ||
21734 test ! -s conftest.err
21735 } && test -s conftest.$ac_objext; then
21736 ac_cv_type_void_p=yes
21737 else
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21740
21741 ac_cv_type_void_p=no
21742 fi
21743
21744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21745 fi
21746 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21747 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21748
21749 # The cast to long int works around a bug in the HP C Compiler
21750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21752 # This bug is HP SR number 8606223364.
21753 { echo "$as_me:$LINENO: checking size of void *" >&5
21754 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21755 if test "${ac_cv_sizeof_void_p+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 if test "$cross_compiling" = yes; then
21759 # Depending upon the size, compute the lo and hi bounds.
21760 cat >conftest.$ac_ext <<_ACEOF
21761 /* confdefs.h. */
21762 _ACEOF
21763 cat confdefs.h >>conftest.$ac_ext
21764 cat >>conftest.$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 $ac_includes_default
21767 typedef void * ac__type_sizeof_;
21768 int
21769 main ()
21770 {
21771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21772 test_array [0] = 0
21773
21774 ;
21775 return 0;
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_lo=0 ac_mid=0
21796 while :; do
21797 cat >conftest.$ac_ext <<_ACEOF
21798 /* confdefs.h. */
21799 _ACEOF
21800 cat confdefs.h >>conftest.$ac_ext
21801 cat >>conftest.$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 $ac_includes_default
21804 typedef void * ac__type_sizeof_;
21805 int
21806 main ()
21807 {
21808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21809 test_array [0] = 0
21810
21811 ;
21812 return 0;
21813 }
21814 _ACEOF
21815 rm -f conftest.$ac_objext
21816 if { (ac_try="$ac_compile"
21817 case "(($ac_try" in
21818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21819 *) ac_try_echo=$ac_try;;
21820 esac
21821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21822 (eval "$ac_compile") 2>conftest.er1
21823 ac_status=$?
21824 grep -v '^ *+' conftest.er1 >conftest.err
21825 rm -f conftest.er1
21826 cat conftest.err >&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); } && {
21829 test -z "$ac_c_werror_flag" ||
21830 test ! -s conftest.err
21831 } && test -s conftest.$ac_objext; then
21832 ac_hi=$ac_mid; break
21833 else
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21836
21837 ac_lo=`expr $ac_mid + 1`
21838 if test $ac_lo -le $ac_mid; then
21839 ac_lo= ac_hi=
21840 break
21841 fi
21842 ac_mid=`expr 2 '*' $ac_mid + 1`
21843 fi
21844
21845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21846 done
21847 else
21848 echo "$as_me: failed program was:" >&5
21849 sed 's/^/| /' conftest.$ac_ext >&5
21850
21851 cat >conftest.$ac_ext <<_ACEOF
21852 /* confdefs.h. */
21853 _ACEOF
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 $ac_includes_default
21858 typedef void * ac__type_sizeof_;
21859 int
21860 main ()
21861 {
21862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21863 test_array [0] = 0
21864
21865 ;
21866 return 0;
21867 }
21868 _ACEOF
21869 rm -f conftest.$ac_objext
21870 if { (ac_try="$ac_compile"
21871 case "(($ac_try" in
21872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21873 *) ac_try_echo=$ac_try;;
21874 esac
21875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21876 (eval "$ac_compile") 2>conftest.er1
21877 ac_status=$?
21878 grep -v '^ *+' conftest.er1 >conftest.err
21879 rm -f conftest.er1
21880 cat conftest.err >&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); } && {
21883 test -z "$ac_c_werror_flag" ||
21884 test ! -s conftest.err
21885 } && test -s conftest.$ac_objext; then
21886 ac_hi=-1 ac_mid=-1
21887 while :; do
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 $ac_includes_default
21895 typedef void * ac__type_sizeof_;
21896 int
21897 main ()
21898 {
21899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21900 test_array [0] = 0
21901
21902 ;
21903 return 0;
21904 }
21905 _ACEOF
21906 rm -f conftest.$ac_objext
21907 if { (ac_try="$ac_compile"
21908 case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21911 esac
21912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_compile") 2>conftest.er1
21914 ac_status=$?
21915 grep -v '^ *+' conftest.er1 >conftest.err
21916 rm -f conftest.er1
21917 cat conftest.err >&5
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); } && {
21920 test -z "$ac_c_werror_flag" ||
21921 test ! -s conftest.err
21922 } && test -s conftest.$ac_objext; then
21923 ac_lo=$ac_mid; break
21924 else
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21927
21928 ac_hi=`expr '(' $ac_mid ')' - 1`
21929 if test $ac_mid -le $ac_hi; then
21930 ac_lo= ac_hi=
21931 break
21932 fi
21933 ac_mid=`expr 2 '*' $ac_mid`
21934 fi
21935
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 done
21938 else
21939 echo "$as_me: failed program was:" >&5
21940 sed 's/^/| /' conftest.$ac_ext >&5
21941
21942 ac_lo= ac_hi=
21943 fi
21944
21945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21946 fi
21947
21948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21949 # Binary search between lo and hi bounds.
21950 while test "x$ac_lo" != "x$ac_hi"; do
21951 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21952 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */
21954 _ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 $ac_includes_default
21959 typedef void * ac__type_sizeof_;
21960 int
21961 main ()
21962 {
21963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21964 test_array [0] = 0
21965
21966 ;
21967 return 0;
21968 }
21969 _ACEOF
21970 rm -f conftest.$ac_objext
21971 if { (ac_try="$ac_compile"
21972 case "(($ac_try" in
21973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21974 *) ac_try_echo=$ac_try;;
21975 esac
21976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21977 (eval "$ac_compile") 2>conftest.er1
21978 ac_status=$?
21979 grep -v '^ *+' conftest.er1 >conftest.err
21980 rm -f conftest.er1
21981 cat conftest.err >&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } && {
21984 test -z "$ac_c_werror_flag" ||
21985 test ! -s conftest.err
21986 } && test -s conftest.$ac_objext; then
21987 ac_hi=$ac_mid
21988 else
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.$ac_ext >&5
21991
21992 ac_lo=`expr '(' $ac_mid ')' + 1`
21993 fi
21994
21995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21996 done
21997 case $ac_lo in
21998 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21999 '') if test "$ac_cv_type_void_p" = yes; then
22000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22001 See \`config.log' for more details." >&5
22002 echo "$as_me: error: cannot compute sizeof (void *)
22003 See \`config.log' for more details." >&2;}
22004 { (exit 77); exit 77; }; }
22005 else
22006 ac_cv_sizeof_void_p=0
22007 fi ;;
22008 esac
22009 else
22010 cat >conftest.$ac_ext <<_ACEOF
22011 /* confdefs.h. */
22012 _ACEOF
22013 cat confdefs.h >>conftest.$ac_ext
22014 cat >>conftest.$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016 $ac_includes_default
22017 typedef void * ac__type_sizeof_;
22018 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22019 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22020 #include <stdio.h>
22021 #include <stdlib.h>
22022 int
22023 main ()
22024 {
22025
22026 FILE *f = fopen ("conftest.val", "w");
22027 if (! f)
22028 return 1;
22029 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22030 {
22031 long int i = longval ();
22032 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22033 return 1;
22034 fprintf (f, "%ld\n", i);
22035 }
22036 else
22037 {
22038 unsigned long int i = ulongval ();
22039 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22040 return 1;
22041 fprintf (f, "%lu\n", i);
22042 }
22043 return ferror (f) || fclose (f) != 0;
22044
22045 ;
22046 return 0;
22047 }
22048 _ACEOF
22049 rm -f conftest$ac_exeext
22050 if { (ac_try="$ac_link"
22051 case "(($ac_try" in
22052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22053 *) ac_try_echo=$ac_try;;
22054 esac
22055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22056 (eval "$ac_link") 2>&5
22057 ac_status=$?
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22060 { (case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22063 esac
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_try") 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_sizeof_void_p=`cat conftest.val`
22070 else
22071 echo "$as_me: program exited with status $ac_status" >&5
22072 echo "$as_me: failed program was:" >&5
22073 sed 's/^/| /' conftest.$ac_ext >&5
22074
22075 ( exit $ac_status )
22076 if test "$ac_cv_type_void_p" = yes; then
22077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22078 See \`config.log' for more details." >&5
22079 echo "$as_me: error: cannot compute sizeof (void *)
22080 See \`config.log' for more details." >&2;}
22081 { (exit 77); exit 77; }; }
22082 else
22083 ac_cv_sizeof_void_p=0
22084 fi
22085 fi
22086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22087 fi
22088 rm -f conftest.val
22089 fi
22090 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22091 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22092
22093
22094
22095 cat >>confdefs.h <<_ACEOF
22096 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22097 _ACEOF
22098
22099
22100 { echo "$as_me:$LINENO: checking for int" >&5
22101 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22102 if test "${ac_cv_type_int+set}" = set; then
22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22104 else
22105 cat >conftest.$ac_ext <<_ACEOF
22106 /* confdefs.h. */
22107 _ACEOF
22108 cat confdefs.h >>conftest.$ac_ext
22109 cat >>conftest.$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22111 $ac_includes_default
22112 typedef int ac__type_new_;
22113 int
22114 main ()
22115 {
22116 if ((ac__type_new_ *) 0)
22117 return 0;
22118 if (sizeof (ac__type_new_))
22119 return 0;
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 rm -f conftest.$ac_objext
22125 if { (ac_try="$ac_compile"
22126 case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22129 esac
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_compile") 2>conftest.er1
22132 ac_status=$?
22133 grep -v '^ *+' conftest.er1 >conftest.err
22134 rm -f conftest.er1
22135 cat conftest.err >&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); } && {
22138 test -z "$ac_c_werror_flag" ||
22139 test ! -s conftest.err
22140 } && test -s conftest.$ac_objext; then
22141 ac_cv_type_int=yes
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 ac_cv_type_int=no
22147 fi
22148
22149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22150 fi
22151 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22152 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22153
22154 # The cast to long int works around a bug in the HP C Compiler
22155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22157 # This bug is HP SR number 8606223364.
22158 { echo "$as_me:$LINENO: checking size of int" >&5
22159 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22160 if test "${ac_cv_sizeof_int+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22162 else
22163 if test "$cross_compiling" = yes; then
22164 # Depending upon the size, compute the lo and hi bounds.
22165 cat >conftest.$ac_ext <<_ACEOF
22166 /* confdefs.h. */
22167 _ACEOF
22168 cat confdefs.h >>conftest.$ac_ext
22169 cat >>conftest.$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171 $ac_includes_default
22172 typedef int ac__type_sizeof_;
22173 int
22174 main ()
22175 {
22176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22177 test_array [0] = 0
22178
22179 ;
22180 return 0;
22181 }
22182 _ACEOF
22183 rm -f conftest.$ac_objext
22184 if { (ac_try="$ac_compile"
22185 case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22188 esac
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_compile") 2>conftest.er1
22191 ac_status=$?
22192 grep -v '^ *+' conftest.er1 >conftest.err
22193 rm -f conftest.er1
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } && {
22197 test -z "$ac_c_werror_flag" ||
22198 test ! -s conftest.err
22199 } && test -s conftest.$ac_objext; then
22200 ac_lo=0 ac_mid=0
22201 while :; do
22202 cat >conftest.$ac_ext <<_ACEOF
22203 /* confdefs.h. */
22204 _ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22209 typedef int ac__type_sizeof_;
22210 int
22211 main ()
22212 {
22213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22214 test_array [0] = 0
22215
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest.$ac_objext
22221 if { (ac_try="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_compile") 2>conftest.er1
22228 ac_status=$?
22229 grep -v '^ *+' conftest.er1 >conftest.err
22230 rm -f conftest.er1
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && {
22234 test -z "$ac_c_werror_flag" ||
22235 test ! -s conftest.err
22236 } && test -s conftest.$ac_objext; then
22237 ac_hi=$ac_mid; break
22238 else
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 ac_lo=`expr $ac_mid + 1`
22243 if test $ac_lo -le $ac_mid; then
22244 ac_lo= ac_hi=
22245 break
22246 fi
22247 ac_mid=`expr 2 '*' $ac_mid + 1`
22248 fi
22249
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 done
22252 else
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22255
22256 cat >conftest.$ac_ext <<_ACEOF
22257 /* confdefs.h. */
22258 _ACEOF
22259 cat confdefs.h >>conftest.$ac_ext
22260 cat >>conftest.$ac_ext <<_ACEOF
22261 /* end confdefs.h. */
22262 $ac_includes_default
22263 typedef int ac__type_sizeof_;
22264 int
22265 main ()
22266 {
22267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22268 test_array [0] = 0
22269
22270 ;
22271 return 0;
22272 }
22273 _ACEOF
22274 rm -f conftest.$ac_objext
22275 if { (ac_try="$ac_compile"
22276 case "(($ac_try" in
22277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22278 *) ac_try_echo=$ac_try;;
22279 esac
22280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22281 (eval "$ac_compile") 2>conftest.er1
22282 ac_status=$?
22283 grep -v '^ *+' conftest.er1 >conftest.err
22284 rm -f conftest.er1
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } && {
22288 test -z "$ac_c_werror_flag" ||
22289 test ! -s conftest.err
22290 } && test -s conftest.$ac_objext; then
22291 ac_hi=-1 ac_mid=-1
22292 while :; do
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef int ac__type_sizeof_;
22301 int
22302 main ()
22303 {
22304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22305 test_array [0] = 0
22306
22307 ;
22308 return 0;
22309 }
22310 _ACEOF
22311 rm -f conftest.$ac_objext
22312 if { (ac_try="$ac_compile"
22313 case "(($ac_try" in
22314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22315 *) ac_try_echo=$ac_try;;
22316 esac
22317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22318 (eval "$ac_compile") 2>conftest.er1
22319 ac_status=$?
22320 grep -v '^ *+' conftest.er1 >conftest.err
22321 rm -f conftest.er1
22322 cat conftest.err >&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } && {
22325 test -z "$ac_c_werror_flag" ||
22326 test ! -s conftest.err
22327 } && test -s conftest.$ac_objext; then
22328 ac_lo=$ac_mid; break
22329 else
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22332
22333 ac_hi=`expr '(' $ac_mid ')' - 1`
22334 if test $ac_mid -le $ac_hi; then
22335 ac_lo= ac_hi=
22336 break
22337 fi
22338 ac_mid=`expr 2 '*' $ac_mid`
22339 fi
22340
22341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22342 done
22343 else
22344 echo "$as_me: failed program was:" >&5
22345 sed 's/^/| /' conftest.$ac_ext >&5
22346
22347 ac_lo= ac_hi=
22348 fi
22349
22350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22351 fi
22352
22353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22354 # Binary search between lo and hi bounds.
22355 while test "x$ac_lo" != "x$ac_hi"; do
22356 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22357 cat >conftest.$ac_ext <<_ACEOF
22358 /* confdefs.h. */
22359 _ACEOF
22360 cat confdefs.h >>conftest.$ac_ext
22361 cat >>conftest.$ac_ext <<_ACEOF
22362 /* end confdefs.h. */
22363 $ac_includes_default
22364 typedef int ac__type_sizeof_;
22365 int
22366 main ()
22367 {
22368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22369 test_array [0] = 0
22370
22371 ;
22372 return 0;
22373 }
22374 _ACEOF
22375 rm -f conftest.$ac_objext
22376 if { (ac_try="$ac_compile"
22377 case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22380 esac
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_compile") 2>conftest.er1
22383 ac_status=$?
22384 grep -v '^ *+' conftest.er1 >conftest.err
22385 rm -f conftest.er1
22386 cat conftest.err >&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } && {
22389 test -z "$ac_c_werror_flag" ||
22390 test ! -s conftest.err
22391 } && test -s conftest.$ac_objext; then
22392 ac_hi=$ac_mid
22393 else
22394 echo "$as_me: failed program was:" >&5
22395 sed 's/^/| /' conftest.$ac_ext >&5
22396
22397 ac_lo=`expr '(' $ac_mid ')' + 1`
22398 fi
22399
22400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22401 done
22402 case $ac_lo in
22403 ?*) ac_cv_sizeof_int=$ac_lo;;
22404 '') if test "$ac_cv_type_int" = yes; then
22405 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22406 See \`config.log' for more details." >&5
22407 echo "$as_me: error: cannot compute sizeof (int)
22408 See \`config.log' for more details." >&2;}
22409 { (exit 77); exit 77; }; }
22410 else
22411 ac_cv_sizeof_int=0
22412 fi ;;
22413 esac
22414 else
22415 cat >conftest.$ac_ext <<_ACEOF
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef int ac__type_sizeof_;
22423 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22424 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22425 #include <stdio.h>
22426 #include <stdlib.h>
22427 int
22428 main ()
22429 {
22430
22431 FILE *f = fopen ("conftest.val", "w");
22432 if (! f)
22433 return 1;
22434 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22435 {
22436 long int i = longval ();
22437 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22438 return 1;
22439 fprintf (f, "%ld\n", i);
22440 }
22441 else
22442 {
22443 unsigned long int i = ulongval ();
22444 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22445 return 1;
22446 fprintf (f, "%lu\n", i);
22447 }
22448 return ferror (f) || fclose (f) != 0;
22449
22450 ;
22451 return 0;
22452 }
22453 _ACEOF
22454 rm -f conftest$ac_exeext
22455 if { (ac_try="$ac_link"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22459 esac
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_link") 2>&5
22462 ac_status=$?
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22465 { (case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468 esac
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_try") 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_cv_sizeof_int=`cat conftest.val`
22475 else
22476 echo "$as_me: program exited with status $ac_status" >&5
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 ( exit $ac_status )
22481 if test "$ac_cv_type_int" = yes; then
22482 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22483 See \`config.log' for more details." >&5
22484 echo "$as_me: error: cannot compute sizeof (int)
22485 See \`config.log' for more details." >&2;}
22486 { (exit 77); exit 77; }; }
22487 else
22488 ac_cv_sizeof_int=0
22489 fi
22490 fi
22491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22492 fi
22493 rm -f conftest.val
22494 fi
22495 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22496 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22497
22498
22499
22500 cat >>confdefs.h <<_ACEOF
22501 #define SIZEOF_INT $ac_cv_sizeof_int
22502 _ACEOF
22503
22504
22505 { echo "$as_me:$LINENO: checking for long" >&5
22506 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22507 if test "${ac_cv_type_long+set}" = set; then
22508 echo $ECHO_N "(cached) $ECHO_C" >&6
22509 else
22510 cat >conftest.$ac_ext <<_ACEOF
22511 /* confdefs.h. */
22512 _ACEOF
22513 cat confdefs.h >>conftest.$ac_ext
22514 cat >>conftest.$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22516 $ac_includes_default
22517 typedef long ac__type_new_;
22518 int
22519 main ()
22520 {
22521 if ((ac__type_new_ *) 0)
22522 return 0;
22523 if (sizeof (ac__type_new_))
22524 return 0;
22525 ;
22526 return 0;
22527 }
22528 _ACEOF
22529 rm -f conftest.$ac_objext
22530 if { (ac_try="$ac_compile"
22531 case "(($ac_try" in
22532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22533 *) ac_try_echo=$ac_try;;
22534 esac
22535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22536 (eval "$ac_compile") 2>conftest.er1
22537 ac_status=$?
22538 grep -v '^ *+' conftest.er1 >conftest.err
22539 rm -f conftest.er1
22540 cat conftest.err >&5
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); } && {
22543 test -z "$ac_c_werror_flag" ||
22544 test ! -s conftest.err
22545 } && test -s conftest.$ac_objext; then
22546 ac_cv_type_long=yes
22547 else
22548 echo "$as_me: failed program was:" >&5
22549 sed 's/^/| /' conftest.$ac_ext >&5
22550
22551 ac_cv_type_long=no
22552 fi
22553
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555 fi
22556 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22557 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22558
22559 # The cast to long int works around a bug in the HP C Compiler
22560 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22561 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22562 # This bug is HP SR number 8606223364.
22563 { echo "$as_me:$LINENO: checking size of long" >&5
22564 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22565 if test "${ac_cv_sizeof_long+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 else
22568 if test "$cross_compiling" = yes; then
22569 # Depending upon the size, compute the lo and hi bounds.
22570 cat >conftest.$ac_ext <<_ACEOF
22571 /* confdefs.h. */
22572 _ACEOF
22573 cat confdefs.h >>conftest.$ac_ext
22574 cat >>conftest.$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef long ac__type_sizeof_;
22578 int
22579 main ()
22580 {
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22582 test_array [0] = 0
22583
22584 ;
22585 return 0;
22586 }
22587 _ACEOF
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22593 esac
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22596 ac_status=$?
22597 grep -v '^ *+' conftest.er1 >conftest.err
22598 rm -f conftest.er1
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22605 ac_lo=0 ac_mid=0
22606 while :; do
22607 cat >conftest.$ac_ext <<_ACEOF
22608 /* confdefs.h. */
22609 _ACEOF
22610 cat confdefs.h >>conftest.$ac_ext
22611 cat >>conftest.$ac_ext <<_ACEOF
22612 /* end confdefs.h. */
22613 $ac_includes_default
22614 typedef long ac__type_sizeof_;
22615 int
22616 main ()
22617 {
22618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22619 test_array [0] = 0
22620
22621 ;
22622 return 0;
22623 }
22624 _ACEOF
22625 rm -f conftest.$ac_objext
22626 if { (ac_try="$ac_compile"
22627 case "(($ac_try" in
22628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22629 *) ac_try_echo=$ac_try;;
22630 esac
22631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22632 (eval "$ac_compile") 2>conftest.er1
22633 ac_status=$?
22634 grep -v '^ *+' conftest.er1 >conftest.err
22635 rm -f conftest.er1
22636 cat conftest.err >&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); } && {
22639 test -z "$ac_c_werror_flag" ||
22640 test ! -s conftest.err
22641 } && test -s conftest.$ac_objext; then
22642 ac_hi=$ac_mid; break
22643 else
22644 echo "$as_me: failed program was:" >&5
22645 sed 's/^/| /' conftest.$ac_ext >&5
22646
22647 ac_lo=`expr $ac_mid + 1`
22648 if test $ac_lo -le $ac_mid; then
22649 ac_lo= ac_hi=
22650 break
22651 fi
22652 ac_mid=`expr 2 '*' $ac_mid + 1`
22653 fi
22654
22655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22656 done
22657 else
22658 echo "$as_me: failed program was:" >&5
22659 sed 's/^/| /' conftest.$ac_ext >&5
22660
22661 cat >conftest.$ac_ext <<_ACEOF
22662 /* confdefs.h. */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 $ac_includes_default
22668 typedef long ac__type_sizeof_;
22669 int
22670 main ()
22671 {
22672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22673 test_array [0] = 0
22674
22675 ;
22676 return 0;
22677 }
22678 _ACEOF
22679 rm -f conftest.$ac_objext
22680 if { (ac_try="$ac_compile"
22681 case "(($ac_try" in
22682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22683 *) ac_try_echo=$ac_try;;
22684 esac
22685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22686 (eval "$ac_compile") 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } && {
22693 test -z "$ac_c_werror_flag" ||
22694 test ! -s conftest.err
22695 } && test -s conftest.$ac_objext; then
22696 ac_hi=-1 ac_mid=-1
22697 while :; do
22698 cat >conftest.$ac_ext <<_ACEOF
22699 /* confdefs.h. */
22700 _ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 $ac_includes_default
22705 typedef long ac__type_sizeof_;
22706 int
22707 main ()
22708 {
22709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22710 test_array [0] = 0
22711
22712 ;
22713 return 0;
22714 }
22715 _ACEOF
22716 rm -f conftest.$ac_objext
22717 if { (ac_try="$ac_compile"
22718 case "(($ac_try" in
22719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22720 *) ac_try_echo=$ac_try;;
22721 esac
22722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22723 (eval "$ac_compile") 2>conftest.er1
22724 ac_status=$?
22725 grep -v '^ *+' conftest.er1 >conftest.err
22726 rm -f conftest.er1
22727 cat conftest.err >&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); } && {
22730 test -z "$ac_c_werror_flag" ||
22731 test ! -s conftest.err
22732 } && test -s conftest.$ac_objext; then
22733 ac_lo=$ac_mid; break
22734 else
22735 echo "$as_me: failed program was:" >&5
22736 sed 's/^/| /' conftest.$ac_ext >&5
22737
22738 ac_hi=`expr '(' $ac_mid ')' - 1`
22739 if test $ac_mid -le $ac_hi; then
22740 ac_lo= ac_hi=
22741 break
22742 fi
22743 ac_mid=`expr 2 '*' $ac_mid`
22744 fi
22745
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 done
22748 else
22749 echo "$as_me: failed program was:" >&5
22750 sed 's/^/| /' conftest.$ac_ext >&5
22751
22752 ac_lo= ac_hi=
22753 fi
22754
22755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22756 fi
22757
22758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 # Binary search between lo and hi bounds.
22760 while test "x$ac_lo" != "x$ac_hi"; do
22761 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22762 cat >conftest.$ac_ext <<_ACEOF
22763 /* confdefs.h. */
22764 _ACEOF
22765 cat confdefs.h >>conftest.$ac_ext
22766 cat >>conftest.$ac_ext <<_ACEOF
22767 /* end confdefs.h. */
22768 $ac_includes_default
22769 typedef long ac__type_sizeof_;
22770 int
22771 main ()
22772 {
22773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22774 test_array [0] = 0
22775
22776 ;
22777 return 0;
22778 }
22779 _ACEOF
22780 rm -f conftest.$ac_objext
22781 if { (ac_try="$ac_compile"
22782 case "(($ac_try" in
22783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22784 *) ac_try_echo=$ac_try;;
22785 esac
22786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22787 (eval "$ac_compile") 2>conftest.er1
22788 ac_status=$?
22789 grep -v '^ *+' conftest.er1 >conftest.err
22790 rm -f conftest.er1
22791 cat conftest.err >&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } && {
22794 test -z "$ac_c_werror_flag" ||
22795 test ! -s conftest.err
22796 } && test -s conftest.$ac_objext; then
22797 ac_hi=$ac_mid
22798 else
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22801
22802 ac_lo=`expr '(' $ac_mid ')' + 1`
22803 fi
22804
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 done
22807 case $ac_lo in
22808 ?*) ac_cv_sizeof_long=$ac_lo;;
22809 '') if test "$ac_cv_type_long" = yes; then
22810 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22811 See \`config.log' for more details." >&5
22812 echo "$as_me: error: cannot compute sizeof (long)
22813 See \`config.log' for more details." >&2;}
22814 { (exit 77); exit 77; }; }
22815 else
22816 ac_cv_sizeof_long=0
22817 fi ;;
22818 esac
22819 else
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826 $ac_includes_default
22827 typedef long ac__type_sizeof_;
22828 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22829 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22830 #include <stdio.h>
22831 #include <stdlib.h>
22832 int
22833 main ()
22834 {
22835
22836 FILE *f = fopen ("conftest.val", "w");
22837 if (! f)
22838 return 1;
22839 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22840 {
22841 long int i = longval ();
22842 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22843 return 1;
22844 fprintf (f, "%ld\n", i);
22845 }
22846 else
22847 {
22848 unsigned long int i = ulongval ();
22849 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22850 return 1;
22851 fprintf (f, "%lu\n", i);
22852 }
22853 return ferror (f) || fclose (f) != 0;
22854
22855 ;
22856 return 0;
22857 }
22858 _ACEOF
22859 rm -f conftest$ac_exeext
22860 if { (ac_try="$ac_link"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22864 esac
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_link") 2>&5
22867 ac_status=$?
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22870 { (case "(($ac_try" in
22871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872 *) ac_try_echo=$ac_try;;
22873 esac
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_try") 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 ac_cv_sizeof_long=`cat conftest.val`
22880 else
22881 echo "$as_me: program exited with status $ac_status" >&5
22882 echo "$as_me: failed program was:" >&5
22883 sed 's/^/| /' conftest.$ac_ext >&5
22884
22885 ( exit $ac_status )
22886 if test "$ac_cv_type_long" = yes; then
22887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22888 See \`config.log' for more details." >&5
22889 echo "$as_me: error: cannot compute sizeof (long)
22890 See \`config.log' for more details." >&2;}
22891 { (exit 77); exit 77; }; }
22892 else
22893 ac_cv_sizeof_long=0
22894 fi
22895 fi
22896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22897 fi
22898 rm -f conftest.val
22899 fi
22900 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22901 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22902
22903
22904
22905 cat >>confdefs.h <<_ACEOF
22906 #define SIZEOF_LONG $ac_cv_sizeof_long
22907 _ACEOF
22908
22909
22910 { echo "$as_me:$LINENO: checking for size_t" >&5
22911 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22912 if test "${ac_cv_type_size_t+set}" = set; then
22913 echo $ECHO_N "(cached) $ECHO_C" >&6
22914 else
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 $ac_includes_default
22922 typedef size_t ac__type_new_;
22923 int
22924 main ()
22925 {
22926 if ((ac__type_new_ *) 0)
22927 return 0;
22928 if (sizeof (ac__type_new_))
22929 return 0;
22930 ;
22931 return 0;
22932 }
22933 _ACEOF
22934 rm -f conftest.$ac_objext
22935 if { (ac_try="$ac_compile"
22936 case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22939 esac
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22942 ac_status=$?
22943 grep -v '^ *+' conftest.er1 >conftest.err
22944 rm -f conftest.er1
22945 cat conftest.err >&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.$ac_objext; then
22951 ac_cv_type_size_t=yes
22952 else
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22955
22956 ac_cv_type_size_t=no
22957 fi
22958
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22960 fi
22961 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22962 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22963
22964 # The cast to long int works around a bug in the HP C Compiler
22965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22967 # This bug is HP SR number 8606223364.
22968 { echo "$as_me:$LINENO: checking size of size_t" >&5
22969 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22970 if test "${ac_cv_sizeof_size_t+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 else
22973 if test "$cross_compiling" = yes; then
22974 # Depending upon the size, compute the lo and hi bounds.
22975 cat >conftest.$ac_ext <<_ACEOF
22976 /* confdefs.h. */
22977 _ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 $ac_includes_default
22982 typedef size_t ac__type_sizeof_;
22983 int
22984 main ()
22985 {
22986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22987 test_array [0] = 0
22988
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 rm -f conftest.$ac_objext
22994 if { (ac_try="$ac_compile"
22995 case "(($ac_try" in
22996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22997 *) ac_try_echo=$ac_try;;
22998 esac
22999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23000 (eval "$ac_compile") 2>conftest.er1
23001 ac_status=$?
23002 grep -v '^ *+' conftest.er1 >conftest.err
23003 rm -f conftest.er1
23004 cat conftest.err >&5
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); } && {
23007 test -z "$ac_c_werror_flag" ||
23008 test ! -s conftest.err
23009 } && test -s conftest.$ac_objext; then
23010 ac_lo=0 ac_mid=0
23011 while :; do
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h. */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 $ac_includes_default
23019 typedef size_t ac__type_sizeof_;
23020 int
23021 main ()
23022 {
23023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23024 test_array [0] = 0
23025
23026 ;
23027 return 0;
23028 }
23029 _ACEOF
23030 rm -f conftest.$ac_objext
23031 if { (ac_try="$ac_compile"
23032 case "(($ac_try" in
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23035 esac
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_compile") 2>conftest.er1
23038 ac_status=$?
23039 grep -v '^ *+' conftest.er1 >conftest.err
23040 rm -f conftest.er1
23041 cat conftest.err >&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } && {
23044 test -z "$ac_c_werror_flag" ||
23045 test ! -s conftest.err
23046 } && test -s conftest.$ac_objext; then
23047 ac_hi=$ac_mid; break
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23051
23052 ac_lo=`expr $ac_mid + 1`
23053 if test $ac_lo -le $ac_mid; then
23054 ac_lo= ac_hi=
23055 break
23056 fi
23057 ac_mid=`expr 2 '*' $ac_mid + 1`
23058 fi
23059
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 done
23062 else
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23065
23066 cat >conftest.$ac_ext <<_ACEOF
23067 /* confdefs.h. */
23068 _ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23072 $ac_includes_default
23073 typedef size_t ac__type_sizeof_;
23074 int
23075 main ()
23076 {
23077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23078 test_array [0] = 0
23079
23080 ;
23081 return 0;
23082 }
23083 _ACEOF
23084 rm -f conftest.$ac_objext
23085 if { (ac_try="$ac_compile"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23089 esac
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_compile") 2>conftest.er1
23092 ac_status=$?
23093 grep -v '^ *+' conftest.er1 >conftest.err
23094 rm -f conftest.er1
23095 cat conftest.err >&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } && {
23098 test -z "$ac_c_werror_flag" ||
23099 test ! -s conftest.err
23100 } && test -s conftest.$ac_objext; then
23101 ac_hi=-1 ac_mid=-1
23102 while :; do
23103 cat >conftest.$ac_ext <<_ACEOF
23104 /* confdefs.h. */
23105 _ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef size_t ac__type_sizeof_;
23111 int
23112 main ()
23113 {
23114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23115 test_array [0] = 0
23116
23117 ;
23118 return 0;
23119 }
23120 _ACEOF
23121 rm -f conftest.$ac_objext
23122 if { (ac_try="$ac_compile"
23123 case "(($ac_try" in
23124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23125 *) ac_try_echo=$ac_try;;
23126 esac
23127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23128 (eval "$ac_compile") 2>conftest.er1
23129 ac_status=$?
23130 grep -v '^ *+' conftest.er1 >conftest.err
23131 rm -f conftest.er1
23132 cat conftest.err >&5
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); } && {
23135 test -z "$ac_c_werror_flag" ||
23136 test ! -s conftest.err
23137 } && test -s conftest.$ac_objext; then
23138 ac_lo=$ac_mid; break
23139 else
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.$ac_ext >&5
23142
23143 ac_hi=`expr '(' $ac_mid ')' - 1`
23144 if test $ac_mid -le $ac_hi; then
23145 ac_lo= ac_hi=
23146 break
23147 fi
23148 ac_mid=`expr 2 '*' $ac_mid`
23149 fi
23150
23151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 done
23153 else
23154 echo "$as_me: failed program was:" >&5
23155 sed 's/^/| /' conftest.$ac_ext >&5
23156
23157 ac_lo= ac_hi=
23158 fi
23159
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 fi
23162
23163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23164 # Binary search between lo and hi bounds.
23165 while test "x$ac_lo" != "x$ac_hi"; do
23166 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23167 cat >conftest.$ac_ext <<_ACEOF
23168 /* confdefs.h. */
23169 _ACEOF
23170 cat confdefs.h >>conftest.$ac_ext
23171 cat >>conftest.$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23173 $ac_includes_default
23174 typedef size_t ac__type_sizeof_;
23175 int
23176 main ()
23177 {
23178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23179 test_array [0] = 0
23180
23181 ;
23182 return 0;
23183 }
23184 _ACEOF
23185 rm -f conftest.$ac_objext
23186 if { (ac_try="$ac_compile"
23187 case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23190 esac
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_compile") 2>conftest.er1
23193 ac_status=$?
23194 grep -v '^ *+' conftest.er1 >conftest.err
23195 rm -f conftest.er1
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } && {
23199 test -z "$ac_c_werror_flag" ||
23200 test ! -s conftest.err
23201 } && test -s conftest.$ac_objext; then
23202 ac_hi=$ac_mid
23203 else
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23206
23207 ac_lo=`expr '(' $ac_mid ')' + 1`
23208 fi
23209
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 done
23212 case $ac_lo in
23213 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23214 '') if test "$ac_cv_type_size_t" = yes; then
23215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23216 See \`config.log' for more details." >&5
23217 echo "$as_me: error: cannot compute sizeof (size_t)
23218 See \`config.log' for more details." >&2;}
23219 { (exit 77); exit 77; }; }
23220 else
23221 ac_cv_sizeof_size_t=0
23222 fi ;;
23223 esac
23224 else
23225 cat >conftest.$ac_ext <<_ACEOF
23226 /* confdefs.h. */
23227 _ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 $ac_includes_default
23232 typedef size_t ac__type_sizeof_;
23233 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23234 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23235 #include <stdio.h>
23236 #include <stdlib.h>
23237 int
23238 main ()
23239 {
23240
23241 FILE *f = fopen ("conftest.val", "w");
23242 if (! f)
23243 return 1;
23244 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23245 {
23246 long int i = longval ();
23247 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23248 return 1;
23249 fprintf (f, "%ld\n", i);
23250 }
23251 else
23252 {
23253 unsigned long int i = ulongval ();
23254 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23255 return 1;
23256 fprintf (f, "%lu\n", i);
23257 }
23258 return ferror (f) || fclose (f) != 0;
23259
23260 ;
23261 return 0;
23262 }
23263 _ACEOF
23264 rm -f conftest$ac_exeext
23265 if { (ac_try="$ac_link"
23266 case "(($ac_try" in
23267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23268 *) ac_try_echo=$ac_try;;
23269 esac
23270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23271 (eval "$ac_link") 2>&5
23272 ac_status=$?
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23275 { (case "(($ac_try" in
23276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23278 esac
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_try") 2>&5
23281 ac_status=$?
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 ac_cv_sizeof_size_t=`cat conftest.val`
23285 else
23286 echo "$as_me: program exited with status $ac_status" >&5
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.$ac_ext >&5
23289
23290 ( exit $ac_status )
23291 if test "$ac_cv_type_size_t" = yes; then
23292 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23293 See \`config.log' for more details." >&5
23294 echo "$as_me: error: cannot compute sizeof (size_t)
23295 See \`config.log' for more details." >&2;}
23296 { (exit 77); exit 77; }; }
23297 else
23298 ac_cv_sizeof_size_t=0
23299 fi
23300 fi
23301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23302 fi
23303 rm -f conftest.val
23304 fi
23305 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23306 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23307
23308
23309
23310 cat >>confdefs.h <<_ACEOF
23311 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23312 _ACEOF
23313
23314
23315
23316 case "${host}" in
23317 arm-*-linux* )
23318 { echo "$as_me:$LINENO: checking for long long" >&5
23319 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23320 if test "${ac_cv_type_long_long+set}" = set; then
23321 echo $ECHO_N "(cached) $ECHO_C" >&6
23322 else
23323 cat >conftest.$ac_ext <<_ACEOF
23324 /* confdefs.h. */
23325 _ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 $ac_includes_default
23330 typedef long long ac__type_new_;
23331 int
23332 main ()
23333 {
23334 if ((ac__type_new_ *) 0)
23335 return 0;
23336 if (sizeof (ac__type_new_))
23337 return 0;
23338 ;
23339 return 0;
23340 }
23341 _ACEOF
23342 rm -f conftest.$ac_objext
23343 if { (ac_try="$ac_compile"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23347 esac
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_compile") 2>conftest.er1
23350 ac_status=$?
23351 grep -v '^ *+' conftest.er1 >conftest.err
23352 rm -f conftest.er1
23353 cat conftest.err >&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } && {
23356 test -z "$ac_c_werror_flag" ||
23357 test ! -s conftest.err
23358 } && test -s conftest.$ac_objext; then
23359 ac_cv_type_long_long=yes
23360 else
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23363
23364 ac_cv_type_long_long=no
23365 fi
23366
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368 fi
23369 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23370 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23371
23372 # The cast to long int works around a bug in the HP C Compiler
23373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23375 # This bug is HP SR number 8606223364.
23376 { echo "$as_me:$LINENO: checking size of long long" >&5
23377 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23378 if test "${ac_cv_sizeof_long_long+set}" = set; then
23379 echo $ECHO_N "(cached) $ECHO_C" >&6
23380 else
23381 if test "$cross_compiling" = yes; then
23382 # Depending upon the size, compute the lo and hi bounds.
23383 cat >conftest.$ac_ext <<_ACEOF
23384 /* confdefs.h. */
23385 _ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23389 $ac_includes_default
23390 typedef long long ac__type_sizeof_;
23391 int
23392 main ()
23393 {
23394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23395 test_array [0] = 0
23396
23397 ;
23398 return 0;
23399 }
23400 _ACEOF
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406 esac
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_c_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 ac_lo=0 ac_mid=0
23419 while :; do
23420 cat >conftest.$ac_ext <<_ACEOF
23421 /* confdefs.h. */
23422 _ACEOF
23423 cat confdefs.h >>conftest.$ac_ext
23424 cat >>conftest.$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23426 $ac_includes_default
23427 typedef long long ac__type_sizeof_;
23428 int
23429 main ()
23430 {
23431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23432 test_array [0] = 0
23433
23434 ;
23435 return 0;
23436 }
23437 _ACEOF
23438 rm -f conftest.$ac_objext
23439 if { (ac_try="$ac_compile"
23440 case "(($ac_try" in
23441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23442 *) ac_try_echo=$ac_try;;
23443 esac
23444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23445 (eval "$ac_compile") 2>conftest.er1
23446 ac_status=$?
23447 grep -v '^ *+' conftest.er1 >conftest.err
23448 rm -f conftest.er1
23449 cat conftest.err >&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } && {
23452 test -z "$ac_c_werror_flag" ||
23453 test ! -s conftest.err
23454 } && test -s conftest.$ac_objext; then
23455 ac_hi=$ac_mid; break
23456 else
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.$ac_ext >&5
23459
23460 ac_lo=`expr $ac_mid + 1`
23461 if test $ac_lo -le $ac_mid; then
23462 ac_lo= ac_hi=
23463 break
23464 fi
23465 ac_mid=`expr 2 '*' $ac_mid + 1`
23466 fi
23467
23468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23469 done
23470 else
23471 echo "$as_me: failed program was:" >&5
23472 sed 's/^/| /' conftest.$ac_ext >&5
23473
23474 cat >conftest.$ac_ext <<_ACEOF
23475 /* confdefs.h. */
23476 _ACEOF
23477 cat confdefs.h >>conftest.$ac_ext
23478 cat >>conftest.$ac_ext <<_ACEOF
23479 /* end confdefs.h. */
23480 $ac_includes_default
23481 typedef long long ac__type_sizeof_;
23482 int
23483 main ()
23484 {
23485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23486 test_array [0] = 0
23487
23488 ;
23489 return 0;
23490 }
23491 _ACEOF
23492 rm -f conftest.$ac_objext
23493 if { (ac_try="$ac_compile"
23494 case "(($ac_try" in
23495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23496 *) ac_try_echo=$ac_try;;
23497 esac
23498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23499 (eval "$ac_compile") 2>conftest.er1
23500 ac_status=$?
23501 grep -v '^ *+' conftest.er1 >conftest.err
23502 rm -f conftest.er1
23503 cat conftest.err >&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } && {
23506 test -z "$ac_c_werror_flag" ||
23507 test ! -s conftest.err
23508 } && test -s conftest.$ac_objext; then
23509 ac_hi=-1 ac_mid=-1
23510 while :; do
23511 cat >conftest.$ac_ext <<_ACEOF
23512 /* confdefs.h. */
23513 _ACEOF
23514 cat confdefs.h >>conftest.$ac_ext
23515 cat >>conftest.$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 $ac_includes_default
23518 typedef long long ac__type_sizeof_;
23519 int
23520 main ()
23521 {
23522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23523 test_array [0] = 0
23524
23525 ;
23526 return 0;
23527 }
23528 _ACEOF
23529 rm -f conftest.$ac_objext
23530 if { (ac_try="$ac_compile"
23531 case "(($ac_try" in
23532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23533 *) ac_try_echo=$ac_try;;
23534 esac
23535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23536 (eval "$ac_compile") 2>conftest.er1
23537 ac_status=$?
23538 grep -v '^ *+' conftest.er1 >conftest.err
23539 rm -f conftest.er1
23540 cat conftest.err >&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); } && {
23543 test -z "$ac_c_werror_flag" ||
23544 test ! -s conftest.err
23545 } && test -s conftest.$ac_objext; then
23546 ac_lo=$ac_mid; break
23547 else
23548 echo "$as_me: failed program was:" >&5
23549 sed 's/^/| /' conftest.$ac_ext >&5
23550
23551 ac_hi=`expr '(' $ac_mid ')' - 1`
23552 if test $ac_mid -le $ac_hi; then
23553 ac_lo= ac_hi=
23554 break
23555 fi
23556 ac_mid=`expr 2 '*' $ac_mid`
23557 fi
23558
23559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23560 done
23561 else
23562 echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.$ac_ext >&5
23564
23565 ac_lo= ac_hi=
23566 fi
23567
23568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23569 fi
23570
23571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23572 # Binary search between lo and hi bounds.
23573 while test "x$ac_lo" != "x$ac_hi"; do
23574 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23575 cat >conftest.$ac_ext <<_ACEOF
23576 /* confdefs.h. */
23577 _ACEOF
23578 cat confdefs.h >>conftest.$ac_ext
23579 cat >>conftest.$ac_ext <<_ACEOF
23580 /* end confdefs.h. */
23581 $ac_includes_default
23582 typedef long long ac__type_sizeof_;
23583 int
23584 main ()
23585 {
23586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23587 test_array [0] = 0
23588
23589 ;
23590 return 0;
23591 }
23592 _ACEOF
23593 rm -f conftest.$ac_objext
23594 if { (ac_try="$ac_compile"
23595 case "(($ac_try" in
23596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23597 *) ac_try_echo=$ac_try;;
23598 esac
23599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23600 (eval "$ac_compile") 2>conftest.er1
23601 ac_status=$?
23602 grep -v '^ *+' conftest.er1 >conftest.err
23603 rm -f conftest.er1
23604 cat conftest.err >&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } && {
23607 test -z "$ac_c_werror_flag" ||
23608 test ! -s conftest.err
23609 } && test -s conftest.$ac_objext; then
23610 ac_hi=$ac_mid
23611 else
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23614
23615 ac_lo=`expr '(' $ac_mid ')' + 1`
23616 fi
23617
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 done
23620 case $ac_lo in
23621 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23622 '') if test "$ac_cv_type_long_long" = yes; then
23623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23624 See \`config.log' for more details." >&5
23625 echo "$as_me: error: cannot compute sizeof (long long)
23626 See \`config.log' for more details." >&2;}
23627 { (exit 77); exit 77; }; }
23628 else
23629 ac_cv_sizeof_long_long=0
23630 fi ;;
23631 esac
23632 else
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 $ac_includes_default
23640 typedef long long ac__type_sizeof_;
23641 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23642 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23643 #include <stdio.h>
23644 #include <stdlib.h>
23645 int
23646 main ()
23647 {
23648
23649 FILE *f = fopen ("conftest.val", "w");
23650 if (! f)
23651 return 1;
23652 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23653 {
23654 long int i = longval ();
23655 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23656 return 1;
23657 fprintf (f, "%ld\n", i);
23658 }
23659 else
23660 {
23661 unsigned long int i = ulongval ();
23662 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23663 return 1;
23664 fprintf (f, "%lu\n", i);
23665 }
23666 return ferror (f) || fclose (f) != 0;
23667
23668 ;
23669 return 0;
23670 }
23671 _ACEOF
23672 rm -f conftest$ac_exeext
23673 if { (ac_try="$ac_link"
23674 case "(($ac_try" in
23675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23676 *) ac_try_echo=$ac_try;;
23677 esac
23678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23679 (eval "$ac_link") 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23683 { (case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23686 esac
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_try") 2>&5
23689 ac_status=$?
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); }; }; then
23692 ac_cv_sizeof_long_long=`cat conftest.val`
23693 else
23694 echo "$as_me: program exited with status $ac_status" >&5
23695 echo "$as_me: failed program was:" >&5
23696 sed 's/^/| /' conftest.$ac_ext >&5
23697
23698 ( exit $ac_status )
23699 if test "$ac_cv_type_long_long" = yes; then
23700 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23701 See \`config.log' for more details." >&5
23702 echo "$as_me: error: cannot compute sizeof (long long)
23703 See \`config.log' for more details." >&2;}
23704 { (exit 77); exit 77; }; }
23705 else
23706 ac_cv_sizeof_long_long=0
23707 fi
23708 fi
23709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23710 fi
23711 rm -f conftest.val
23712 fi
23713 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23714 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23715
23716
23717
23718 cat >>confdefs.h <<_ACEOF
23719 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23720 _ACEOF
23721
23722
23723 ;;
23724 *-hp-hpux* )
23725 { echo "$as_me:$LINENO: checking for long long" >&5
23726 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23727 if test "${ac_cv_type_long_long+set}" = set; then
23728 echo $ECHO_N "(cached) $ECHO_C" >&6
23729 else
23730 cat >conftest.$ac_ext <<_ACEOF
23731 /* confdefs.h. */
23732 _ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 $ac_includes_default
23737 typedef long long ac__type_new_;
23738 int
23739 main ()
23740 {
23741 if ((ac__type_new_ *) 0)
23742 return 0;
23743 if (sizeof (ac__type_new_))
23744 return 0;
23745 ;
23746 return 0;
23747 }
23748 _ACEOF
23749 rm -f conftest.$ac_objext
23750 if { (ac_try="$ac_compile"
23751 case "(($ac_try" in
23752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23753 *) ac_try_echo=$ac_try;;
23754 esac
23755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23756 (eval "$ac_compile") 2>conftest.er1
23757 ac_status=$?
23758 grep -v '^ *+' conftest.er1 >conftest.err
23759 rm -f conftest.er1
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } && {
23763 test -z "$ac_c_werror_flag" ||
23764 test ! -s conftest.err
23765 } && test -s conftest.$ac_objext; then
23766 ac_cv_type_long_long=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 ac_cv_type_long_long=no
23772 fi
23773
23774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23775 fi
23776 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23777 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23778
23779 # The cast to long int works around a bug in the HP C Compiler
23780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23782 # This bug is HP SR number 8606223364.
23783 { echo "$as_me:$LINENO: checking size of long long" >&5
23784 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23785 if test "${ac_cv_sizeof_long_long+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23787 else
23788 if test "$cross_compiling" = yes; then
23789 # Depending upon the size, compute the lo and hi bounds.
23790 cat >conftest.$ac_ext <<_ACEOF
23791 /* confdefs.h. */
23792 _ACEOF
23793 cat confdefs.h >>conftest.$ac_ext
23794 cat >>conftest.$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23796 $ac_includes_default
23797 typedef long long ac__type_sizeof_;
23798 int
23799 main ()
23800 {
23801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23802 test_array [0] = 0
23803
23804 ;
23805 return 0;
23806 }
23807 _ACEOF
23808 rm -f conftest.$ac_objext
23809 if { (ac_try="$ac_compile"
23810 case "(($ac_try" in
23811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23812 *) ac_try_echo=$ac_try;;
23813 esac
23814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23815 (eval "$ac_compile") 2>conftest.er1
23816 ac_status=$?
23817 grep -v '^ *+' conftest.er1 >conftest.err
23818 rm -f conftest.er1
23819 cat conftest.err >&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } && {
23822 test -z "$ac_c_werror_flag" ||
23823 test ! -s conftest.err
23824 } && test -s conftest.$ac_objext; then
23825 ac_lo=0 ac_mid=0
23826 while :; do
23827 cat >conftest.$ac_ext <<_ACEOF
23828 /* confdefs.h. */
23829 _ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833 $ac_includes_default
23834 typedef long long ac__type_sizeof_;
23835 int
23836 main ()
23837 {
23838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23839 test_array [0] = 0
23840
23841 ;
23842 return 0;
23843 }
23844 _ACEOF
23845 rm -f conftest.$ac_objext
23846 if { (ac_try="$ac_compile"
23847 case "(($ac_try" in
23848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23849 *) ac_try_echo=$ac_try;;
23850 esac
23851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23852 (eval "$ac_compile") 2>conftest.er1
23853 ac_status=$?
23854 grep -v '^ *+' conftest.er1 >conftest.err
23855 rm -f conftest.er1
23856 cat conftest.err >&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } && {
23859 test -z "$ac_c_werror_flag" ||
23860 test ! -s conftest.err
23861 } && test -s conftest.$ac_objext; then
23862 ac_hi=$ac_mid; break
23863 else
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.$ac_ext >&5
23866
23867 ac_lo=`expr $ac_mid + 1`
23868 if test $ac_lo -le $ac_mid; then
23869 ac_lo= ac_hi=
23870 break
23871 fi
23872 ac_mid=`expr 2 '*' $ac_mid + 1`
23873 fi
23874
23875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23876 done
23877 else
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23880
23881 cat >conftest.$ac_ext <<_ACEOF
23882 /* confdefs.h. */
23883 _ACEOF
23884 cat confdefs.h >>conftest.$ac_ext
23885 cat >>conftest.$ac_ext <<_ACEOF
23886 /* end confdefs.h. */
23887 $ac_includes_default
23888 typedef long long ac__type_sizeof_;
23889 int
23890 main ()
23891 {
23892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23893 test_array [0] = 0
23894
23895 ;
23896 return 0;
23897 }
23898 _ACEOF
23899 rm -f conftest.$ac_objext
23900 if { (ac_try="$ac_compile"
23901 case "(($ac_try" in
23902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23903 *) ac_try_echo=$ac_try;;
23904 esac
23905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23906 (eval "$ac_compile") 2>conftest.er1
23907 ac_status=$?
23908 grep -v '^ *+' conftest.er1 >conftest.err
23909 rm -f conftest.er1
23910 cat conftest.err >&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } && {
23913 test -z "$ac_c_werror_flag" ||
23914 test ! -s conftest.err
23915 } && test -s conftest.$ac_objext; then
23916 ac_hi=-1 ac_mid=-1
23917 while :; do
23918 cat >conftest.$ac_ext <<_ACEOF
23919 /* confdefs.h. */
23920 _ACEOF
23921 cat confdefs.h >>conftest.$ac_ext
23922 cat >>conftest.$ac_ext <<_ACEOF
23923 /* end confdefs.h. */
23924 $ac_includes_default
23925 typedef long long ac__type_sizeof_;
23926 int
23927 main ()
23928 {
23929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23930 test_array [0] = 0
23931
23932 ;
23933 return 0;
23934 }
23935 _ACEOF
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23941 esac
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23944 ac_status=$?
23945 grep -v '^ *+' conftest.er1 >conftest.err
23946 rm -f conftest.er1
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_c_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23953 ac_lo=$ac_mid; break
23954 else
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23957
23958 ac_hi=`expr '(' $ac_mid ')' - 1`
23959 if test $ac_mid -le $ac_hi; then
23960 ac_lo= ac_hi=
23961 break
23962 fi
23963 ac_mid=`expr 2 '*' $ac_mid`
23964 fi
23965
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 done
23968 else
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.$ac_ext >&5
23971
23972 ac_lo= ac_hi=
23973 fi
23974
23975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23976 fi
23977
23978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23979 # Binary search between lo and hi bounds.
23980 while test "x$ac_lo" != "x$ac_hi"; do
23981 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23982 cat >conftest.$ac_ext <<_ACEOF
23983 /* confdefs.h. */
23984 _ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988 $ac_includes_default
23989 typedef long long ac__type_sizeof_;
23990 int
23991 main ()
23992 {
23993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23994 test_array [0] = 0
23995
23996 ;
23997 return 0;
23998 }
23999 _ACEOF
24000 rm -f conftest.$ac_objext
24001 if { (ac_try="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24004 *) ac_try_echo=$ac_try;;
24005 esac
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24008 ac_status=$?
24009 grep -v '^ *+' conftest.er1 >conftest.err
24010 rm -f conftest.er1
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } && {
24014 test -z "$ac_c_werror_flag" ||
24015 test ! -s conftest.err
24016 } && test -s conftest.$ac_objext; then
24017 ac_hi=$ac_mid
24018 else
24019 echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24021
24022 ac_lo=`expr '(' $ac_mid ')' + 1`
24023 fi
24024
24025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24026 done
24027 case $ac_lo in
24028 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24029 '') if test "$ac_cv_type_long_long" = yes; then
24030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24031 See \`config.log' for more details." >&5
24032 echo "$as_me: error: cannot compute sizeof (long long)
24033 See \`config.log' for more details." >&2;}
24034 { (exit 77); exit 77; }; }
24035 else
24036 ac_cv_sizeof_long_long=0
24037 fi ;;
24038 esac
24039 else
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 typedef long long ac__type_sizeof_;
24048 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24049 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24050 #include <stdio.h>
24051 #include <stdlib.h>
24052 int
24053 main ()
24054 {
24055
24056 FILE *f = fopen ("conftest.val", "w");
24057 if (! f)
24058 return 1;
24059 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24060 {
24061 long int i = longval ();
24062 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24063 return 1;
24064 fprintf (f, "%ld\n", i);
24065 }
24066 else
24067 {
24068 unsigned long int i = ulongval ();
24069 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24070 return 1;
24071 fprintf (f, "%lu\n", i);
24072 }
24073 return ferror (f) || fclose (f) != 0;
24074
24075 ;
24076 return 0;
24077 }
24078 _ACEOF
24079 rm -f conftest$ac_exeext
24080 if { (ac_try="$ac_link"
24081 case "(($ac_try" in
24082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24083 *) ac_try_echo=$ac_try;;
24084 esac
24085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24086 (eval "$ac_link") 2>&5
24087 ac_status=$?
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24090 { (case "(($ac_try" in
24091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24092 *) ac_try_echo=$ac_try;;
24093 esac
24094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24095 (eval "$ac_try") 2>&5
24096 ac_status=$?
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099 ac_cv_sizeof_long_long=`cat conftest.val`
24100 else
24101 echo "$as_me: program exited with status $ac_status" >&5
24102 echo "$as_me: failed program was:" >&5
24103 sed 's/^/| /' conftest.$ac_ext >&5
24104
24105 ( exit $ac_status )
24106 if test "$ac_cv_type_long_long" = yes; then
24107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24108 See \`config.log' for more details." >&5
24109 echo "$as_me: error: cannot compute sizeof (long long)
24110 See \`config.log' for more details." >&2;}
24111 { (exit 77); exit 77; }; }
24112 else
24113 ac_cv_sizeof_long_long=0
24114 fi
24115 fi
24116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24117 fi
24118 rm -f conftest.val
24119 fi
24120 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24121 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24122
24123
24124
24125 cat >>confdefs.h <<_ACEOF
24126 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24127 _ACEOF
24128
24129
24130 if test "$ac_cv_sizeof_long_long" != "0"; then
24131 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24132 fi
24133 ;;
24134 * )
24135 { echo "$as_me:$LINENO: checking for long long" >&5
24136 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24137 if test "${ac_cv_type_long_long+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 $ac_includes_default
24147 typedef long long ac__type_new_;
24148 int
24149 main ()
24150 {
24151 if ((ac__type_new_ *) 0)
24152 return 0;
24153 if (sizeof (ac__type_new_))
24154 return 0;
24155 ;
24156 return 0;
24157 }
24158 _ACEOF
24159 rm -f conftest.$ac_objext
24160 if { (ac_try="$ac_compile"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163 *) ac_try_echo=$ac_try;;
24164 esac
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_compile") 2>conftest.er1
24167 ac_status=$?
24168 grep -v '^ *+' conftest.er1 >conftest.err
24169 rm -f conftest.er1
24170 cat conftest.err >&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } && {
24173 test -z "$ac_c_werror_flag" ||
24174 test ! -s conftest.err
24175 } && test -s conftest.$ac_objext; then
24176 ac_cv_type_long_long=yes
24177 else
24178 echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.$ac_ext >&5
24180
24181 ac_cv_type_long_long=no
24182 fi
24183
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 fi
24186 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24187 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24188
24189 # The cast to long int works around a bug in the HP C Compiler
24190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24192 # This bug is HP SR number 8606223364.
24193 { echo "$as_me:$LINENO: checking size of long long" >&5
24194 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24195 if test "${ac_cv_sizeof_long_long+set}" = set; then
24196 echo $ECHO_N "(cached) $ECHO_C" >&6
24197 else
24198 if test "$cross_compiling" = yes; then
24199 # Depending upon the size, compute the lo and hi bounds.
24200 cat >conftest.$ac_ext <<_ACEOF
24201 /* confdefs.h. */
24202 _ACEOF
24203 cat confdefs.h >>conftest.$ac_ext
24204 cat >>conftest.$ac_ext <<_ACEOF
24205 /* end confdefs.h. */
24206 $ac_includes_default
24207 typedef long long ac__type_sizeof_;
24208 int
24209 main ()
24210 {
24211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24212 test_array [0] = 0
24213
24214 ;
24215 return 0;
24216 }
24217 _ACEOF
24218 rm -f conftest.$ac_objext
24219 if { (ac_try="$ac_compile"
24220 case "(($ac_try" in
24221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24222 *) ac_try_echo=$ac_try;;
24223 esac
24224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24225 (eval "$ac_compile") 2>conftest.er1
24226 ac_status=$?
24227 grep -v '^ *+' conftest.er1 >conftest.err
24228 rm -f conftest.er1
24229 cat conftest.err >&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } && {
24232 test -z "$ac_c_werror_flag" ||
24233 test ! -s conftest.err
24234 } && test -s conftest.$ac_objext; then
24235 ac_lo=0 ac_mid=0
24236 while :; do
24237 cat >conftest.$ac_ext <<_ACEOF
24238 /* confdefs.h. */
24239 _ACEOF
24240 cat confdefs.h >>conftest.$ac_ext
24241 cat >>conftest.$ac_ext <<_ACEOF
24242 /* end confdefs.h. */
24243 $ac_includes_default
24244 typedef long long ac__type_sizeof_;
24245 int
24246 main ()
24247 {
24248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24249 test_array [0] = 0
24250
24251 ;
24252 return 0;
24253 }
24254 _ACEOF
24255 rm -f conftest.$ac_objext
24256 if { (ac_try="$ac_compile"
24257 case "(($ac_try" in
24258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24259 *) ac_try_echo=$ac_try;;
24260 esac
24261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24262 (eval "$ac_compile") 2>conftest.er1
24263 ac_status=$?
24264 grep -v '^ *+' conftest.er1 >conftest.err
24265 rm -f conftest.er1
24266 cat conftest.err >&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } && {
24269 test -z "$ac_c_werror_flag" ||
24270 test ! -s conftest.err
24271 } && test -s conftest.$ac_objext; then
24272 ac_hi=$ac_mid; break
24273 else
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.$ac_ext >&5
24276
24277 ac_lo=`expr $ac_mid + 1`
24278 if test $ac_lo -le $ac_mid; then
24279 ac_lo= ac_hi=
24280 break
24281 fi
24282 ac_mid=`expr 2 '*' $ac_mid + 1`
24283 fi
24284
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 done
24287 else
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24290
24291 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h. */
24293 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297 $ac_includes_default
24298 typedef long long ac__type_sizeof_;
24299 int
24300 main ()
24301 {
24302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24303 test_array [0] = 0
24304
24305 ;
24306 return 0;
24307 }
24308 _ACEOF
24309 rm -f conftest.$ac_objext
24310 if { (ac_try="$ac_compile"
24311 case "(($ac_try" in
24312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24313 *) ac_try_echo=$ac_try;;
24314 esac
24315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24316 (eval "$ac_compile") 2>conftest.er1
24317 ac_status=$?
24318 grep -v '^ *+' conftest.er1 >conftest.err
24319 rm -f conftest.er1
24320 cat conftest.err >&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } && {
24323 test -z "$ac_c_werror_flag" ||
24324 test ! -s conftest.err
24325 } && test -s conftest.$ac_objext; then
24326 ac_hi=-1 ac_mid=-1
24327 while :; do
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_))) >= $ac_mid)];
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=$ac_mid; break
24364 else
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.$ac_ext >&5
24367
24368 ac_hi=`expr '(' $ac_mid ')' - 1`
24369 if test $ac_mid -le $ac_hi; then
24370 ac_lo= ac_hi=
24371 break
24372 fi
24373 ac_mid=`expr 2 '*' $ac_mid`
24374 fi
24375
24376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24377 done
24378 else
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.$ac_ext >&5
24381
24382 ac_lo= ac_hi=
24383 fi
24384
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386 fi
24387
24388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24389 # Binary search between lo and hi bounds.
24390 while test "x$ac_lo" != "x$ac_hi"; do
24391 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24392 cat >conftest.$ac_ext <<_ACEOF
24393 /* confdefs.h. */
24394 _ACEOF
24395 cat confdefs.h >>conftest.$ac_ext
24396 cat >>conftest.$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24398 $ac_includes_default
24399 typedef long long ac__type_sizeof_;
24400 int
24401 main ()
24402 {
24403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24404 test_array [0] = 0
24405
24406 ;
24407 return 0;
24408 }
24409 _ACEOF
24410 rm -f conftest.$ac_objext
24411 if { (ac_try="$ac_compile"
24412 case "(($ac_try" in
24413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24414 *) ac_try_echo=$ac_try;;
24415 esac
24416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24417 (eval "$ac_compile") 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } && {
24424 test -z "$ac_c_werror_flag" ||
24425 test ! -s conftest.err
24426 } && test -s conftest.$ac_objext; then
24427 ac_hi=$ac_mid
24428 else
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24431
24432 ac_lo=`expr '(' $ac_mid ')' + 1`
24433 fi
24434
24435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24436 done
24437 case $ac_lo in
24438 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24439 '') if test "$ac_cv_type_long_long" = yes; then
24440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24441 See \`config.log' for more details." >&5
24442 echo "$as_me: error: cannot compute sizeof (long long)
24443 See \`config.log' for more details." >&2;}
24444 { (exit 77); exit 77; }; }
24445 else
24446 ac_cv_sizeof_long_long=0
24447 fi ;;
24448 esac
24449 else
24450 cat >conftest.$ac_ext <<_ACEOF
24451 /* confdefs.h. */
24452 _ACEOF
24453 cat confdefs.h >>conftest.$ac_ext
24454 cat >>conftest.$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 $ac_includes_default
24457 typedef long long ac__type_sizeof_;
24458 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24459 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24460 #include <stdio.h>
24461 #include <stdlib.h>
24462 int
24463 main ()
24464 {
24465
24466 FILE *f = fopen ("conftest.val", "w");
24467 if (! f)
24468 return 1;
24469 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24470 {
24471 long int i = longval ();
24472 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24473 return 1;
24474 fprintf (f, "%ld\n", i);
24475 }
24476 else
24477 {
24478 unsigned long int i = ulongval ();
24479 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24480 return 1;
24481 fprintf (f, "%lu\n", i);
24482 }
24483 return ferror (f) || fclose (f) != 0;
24484
24485 ;
24486 return 0;
24487 }
24488 _ACEOF
24489 rm -f conftest$ac_exeext
24490 if { (ac_try="$ac_link"
24491 case "(($ac_try" in
24492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24493 *) ac_try_echo=$ac_try;;
24494 esac
24495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24496 (eval "$ac_link") 2>&5
24497 ac_status=$?
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24500 { (case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24503 esac
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_try") 2>&5
24506 ac_status=$?
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); }; }; then
24509 ac_cv_sizeof_long_long=`cat conftest.val`
24510 else
24511 echo "$as_me: program exited with status $ac_status" >&5
24512 echo "$as_me: failed program was:" >&5
24513 sed 's/^/| /' conftest.$ac_ext >&5
24514
24515 ( exit $ac_status )
24516 if test "$ac_cv_type_long_long" = yes; then
24517 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24518 See \`config.log' for more details." >&5
24519 echo "$as_me: error: cannot compute sizeof (long long)
24520 See \`config.log' for more details." >&2;}
24521 { (exit 77); exit 77; }; }
24522 else
24523 ac_cv_sizeof_long_long=0
24524 fi
24525 fi
24526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24527 fi
24528 rm -f conftest.val
24529 fi
24530 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24531 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24532
24533
24534
24535 cat >>confdefs.h <<_ACEOF
24536 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24537 _ACEOF
24538
24539
24540 esac
24541
24542 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24543 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24544 if test "${ac_cv_type_wchar_t+set}" = set; then
24545 echo $ECHO_N "(cached) $ECHO_C" >&6
24546 else
24547 cat >conftest.$ac_ext <<_ACEOF
24548 /* confdefs.h. */
24549 _ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h. */
24553
24554 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24555 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24556 # error "fake wchar_t"
24557 #endif
24558 #ifdef HAVE_WCHAR_H
24559 # ifdef __CYGWIN__
24560 # include <stddef.h>
24561 # endif
24562 # include <wchar.h>
24563 #endif
24564 #ifdef HAVE_STDLIB_H
24565 # include <stdlib.h>
24566 #endif
24567 #include <stdio.h>
24568
24569
24570
24571 typedef wchar_t ac__type_new_;
24572 int
24573 main ()
24574 {
24575 if ((ac__type_new_ *) 0)
24576 return 0;
24577 if (sizeof (ac__type_new_))
24578 return 0;
24579 ;
24580 return 0;
24581 }
24582 _ACEOF
24583 rm -f conftest.$ac_objext
24584 if { (ac_try="$ac_compile"
24585 case "(($ac_try" in
24586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24587 *) ac_try_echo=$ac_try;;
24588 esac
24589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24590 (eval "$ac_compile") 2>conftest.er1
24591 ac_status=$?
24592 grep -v '^ *+' conftest.er1 >conftest.err
24593 rm -f conftest.er1
24594 cat conftest.err >&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } && {
24597 test -z "$ac_c_werror_flag" ||
24598 test ! -s conftest.err
24599 } && test -s conftest.$ac_objext; then
24600 ac_cv_type_wchar_t=yes
24601 else
24602 echo "$as_me: failed program was:" >&5
24603 sed 's/^/| /' conftest.$ac_ext >&5
24604
24605 ac_cv_type_wchar_t=no
24606 fi
24607
24608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24609 fi
24610 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24611 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24612
24613 # The cast to long int works around a bug in the HP C Compiler
24614 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24615 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24616 # This bug is HP SR number 8606223364.
24617 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24618 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24619 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 else
24622 if test "$cross_compiling" = yes; then
24623 # Depending upon the size, compute the lo and hi bounds.
24624 cat >conftest.$ac_ext <<_ACEOF
24625 /* confdefs.h. */
24626 _ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24630
24631 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24632 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24633 # error "fake wchar_t"
24634 #endif
24635 #ifdef HAVE_WCHAR_H
24636 # ifdef __CYGWIN__
24637 # include <stddef.h>
24638 # endif
24639 # include <wchar.h>
24640 #endif
24641 #ifdef HAVE_STDLIB_H
24642 # include <stdlib.h>
24643 #endif
24644 #include <stdio.h>
24645
24646
24647
24648 typedef wchar_t ac__type_sizeof_;
24649 int
24650 main ()
24651 {
24652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24653 test_array [0] = 0
24654
24655 ;
24656 return 0;
24657 }
24658 _ACEOF
24659 rm -f conftest.$ac_objext
24660 if { (ac_try="$ac_compile"
24661 case "(($ac_try" in
24662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24663 *) ac_try_echo=$ac_try;;
24664 esac
24665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24666 (eval "$ac_compile") 2>conftest.er1
24667 ac_status=$?
24668 grep -v '^ *+' conftest.er1 >conftest.err
24669 rm -f conftest.er1
24670 cat conftest.err >&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); } && {
24673 test -z "$ac_c_werror_flag" ||
24674 test ! -s conftest.err
24675 } && test -s conftest.$ac_objext; then
24676 ac_lo=0 ac_mid=0
24677 while :; do
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
24685 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24686 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24687 # error "fake wchar_t"
24688 #endif
24689 #ifdef HAVE_WCHAR_H
24690 # ifdef __CYGWIN__
24691 # include <stddef.h>
24692 # endif
24693 # include <wchar.h>
24694 #endif
24695 #ifdef HAVE_STDLIB_H
24696 # include <stdlib.h>
24697 #endif
24698 #include <stdio.h>
24699
24700
24701
24702 typedef wchar_t ac__type_sizeof_;
24703 int
24704 main ()
24705 {
24706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24707 test_array [0] = 0
24708
24709 ;
24710 return 0;
24711 }
24712 _ACEOF
24713 rm -f conftest.$ac_objext
24714 if { (ac_try="$ac_compile"
24715 case "(($ac_try" in
24716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24717 *) ac_try_echo=$ac_try;;
24718 esac
24719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24720 (eval "$ac_compile") 2>conftest.er1
24721 ac_status=$?
24722 grep -v '^ *+' conftest.er1 >conftest.err
24723 rm -f conftest.er1
24724 cat conftest.err >&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); } && {
24727 test -z "$ac_c_werror_flag" ||
24728 test ! -s conftest.err
24729 } && test -s conftest.$ac_objext; then
24730 ac_hi=$ac_mid; break
24731 else
24732 echo "$as_me: failed program was:" >&5
24733 sed 's/^/| /' conftest.$ac_ext >&5
24734
24735 ac_lo=`expr $ac_mid + 1`
24736 if test $ac_lo -le $ac_mid; then
24737 ac_lo= ac_hi=
24738 break
24739 fi
24740 ac_mid=`expr 2 '*' $ac_mid + 1`
24741 fi
24742
24743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24744 done
24745 else
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24748
24749 cat >conftest.$ac_ext <<_ACEOF
24750 /* confdefs.h. */
24751 _ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755
24756 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24757 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24758 # error "fake wchar_t"
24759 #endif
24760 #ifdef HAVE_WCHAR_H
24761 # ifdef __CYGWIN__
24762 # include <stddef.h>
24763 # endif
24764 # include <wchar.h>
24765 #endif
24766 #ifdef HAVE_STDLIB_H
24767 # include <stdlib.h>
24768 #endif
24769 #include <stdio.h>
24770
24771
24772
24773 typedef wchar_t ac__type_sizeof_;
24774 int
24775 main ()
24776 {
24777 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24778 test_array [0] = 0
24779
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_c_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 ac_hi=-1 ac_mid=-1
24802 while :; do
24803 cat >conftest.$ac_ext <<_ACEOF
24804 /* confdefs.h. */
24805 _ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809
24810 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24811 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24812 # error "fake wchar_t"
24813 #endif
24814 #ifdef HAVE_WCHAR_H
24815 # ifdef __CYGWIN__
24816 # include <stddef.h>
24817 # endif
24818 # include <wchar.h>
24819 #endif
24820 #ifdef HAVE_STDLIB_H
24821 # include <stdlib.h>
24822 #endif
24823 #include <stdio.h>
24824
24825
24826
24827 typedef wchar_t ac__type_sizeof_;
24828 int
24829 main ()
24830 {
24831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24832 test_array [0] = 0
24833
24834 ;
24835 return 0;
24836 }
24837 _ACEOF
24838 rm -f conftest.$ac_objext
24839 if { (ac_try="$ac_compile"
24840 case "(($ac_try" in
24841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24842 *) ac_try_echo=$ac_try;;
24843 esac
24844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24845 (eval "$ac_compile") 2>conftest.er1
24846 ac_status=$?
24847 grep -v '^ *+' conftest.er1 >conftest.err
24848 rm -f conftest.er1
24849 cat conftest.err >&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); } && {
24852 test -z "$ac_c_werror_flag" ||
24853 test ! -s conftest.err
24854 } && test -s conftest.$ac_objext; then
24855 ac_lo=$ac_mid; break
24856 else
24857 echo "$as_me: failed program was:" >&5
24858 sed 's/^/| /' conftest.$ac_ext >&5
24859
24860 ac_hi=`expr '(' $ac_mid ')' - 1`
24861 if test $ac_mid -le $ac_hi; then
24862 ac_lo= ac_hi=
24863 break
24864 fi
24865 ac_mid=`expr 2 '*' $ac_mid`
24866 fi
24867
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 done
24870 else
24871 echo "$as_me: failed program was:" >&5
24872 sed 's/^/| /' conftest.$ac_ext >&5
24873
24874 ac_lo= ac_hi=
24875 fi
24876
24877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24878 fi
24879
24880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24881 # Binary search between lo and hi bounds.
24882 while test "x$ac_lo" != "x$ac_hi"; do
24883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24884 cat >conftest.$ac_ext <<_ACEOF
24885 /* confdefs.h. */
24886 _ACEOF
24887 cat confdefs.h >>conftest.$ac_ext
24888 cat >>conftest.$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890
24891 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24892 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24893 # error "fake wchar_t"
24894 #endif
24895 #ifdef HAVE_WCHAR_H
24896 # ifdef __CYGWIN__
24897 # include <stddef.h>
24898 # endif
24899 # include <wchar.h>
24900 #endif
24901 #ifdef HAVE_STDLIB_H
24902 # include <stdlib.h>
24903 #endif
24904 #include <stdio.h>
24905
24906
24907
24908 typedef wchar_t ac__type_sizeof_;
24909 int
24910 main ()
24911 {
24912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24913 test_array [0] = 0
24914
24915 ;
24916 return 0;
24917 }
24918 _ACEOF
24919 rm -f conftest.$ac_objext
24920 if { (ac_try="$ac_compile"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24923 *) ac_try_echo=$ac_try;;
24924 esac
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_compile") 2>conftest.er1
24927 ac_status=$?
24928 grep -v '^ *+' conftest.er1 >conftest.err
24929 rm -f conftest.er1
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_c_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest.$ac_objext; then
24936 ac_hi=$ac_mid
24937 else
24938 echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24940
24941 ac_lo=`expr '(' $ac_mid ')' + 1`
24942 fi
24943
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24945 done
24946 case $ac_lo in
24947 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24948 '') if test "$ac_cv_type_wchar_t" = yes; then
24949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24950 See \`config.log' for more details." >&5
24951 echo "$as_me: error: cannot compute sizeof (wchar_t)
24952 See \`config.log' for more details." >&2;}
24953 { (exit 77); exit 77; }; }
24954 else
24955 ac_cv_sizeof_wchar_t=0
24956 fi ;;
24957 esac
24958 else
24959 cat >conftest.$ac_ext <<_ACEOF
24960 /* confdefs.h. */
24961 _ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965
24966 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24967 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24968 # error "fake wchar_t"
24969 #endif
24970 #ifdef HAVE_WCHAR_H
24971 # ifdef __CYGWIN__
24972 # include <stddef.h>
24973 # endif
24974 # include <wchar.h>
24975 #endif
24976 #ifdef HAVE_STDLIB_H
24977 # include <stdlib.h>
24978 #endif
24979 #include <stdio.h>
24980
24981
24982
24983 typedef wchar_t ac__type_sizeof_;
24984 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24985 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24986 #include <stdio.h>
24987 #include <stdlib.h>
24988 int
24989 main ()
24990 {
24991
24992 FILE *f = fopen ("conftest.val", "w");
24993 if (! f)
24994 return 1;
24995 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24996 {
24997 long int i = longval ();
24998 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24999 return 1;
25000 fprintf (f, "%ld\n", i);
25001 }
25002 else
25003 {
25004 unsigned long int i = ulongval ();
25005 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25006 return 1;
25007 fprintf (f, "%lu\n", i);
25008 }
25009 return ferror (f) || fclose (f) != 0;
25010
25011 ;
25012 return 0;
25013 }
25014 _ACEOF
25015 rm -f conftest$ac_exeext
25016 if { (ac_try="$ac_link"
25017 case "(($ac_try" in
25018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25019 *) ac_try_echo=$ac_try;;
25020 esac
25021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25022 (eval "$ac_link") 2>&5
25023 ac_status=$?
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25026 { (case "(($ac_try" in
25027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25028 *) ac_try_echo=$ac_try;;
25029 esac
25030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25031 (eval "$ac_try") 2>&5
25032 ac_status=$?
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; }; then
25035 ac_cv_sizeof_wchar_t=`cat conftest.val`
25036 else
25037 echo "$as_me: program exited with status $ac_status" >&5
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25040
25041 ( exit $ac_status )
25042 if test "$ac_cv_type_wchar_t" = yes; then
25043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25044 See \`config.log' for more details." >&5
25045 echo "$as_me: error: cannot compute sizeof (wchar_t)
25046 See \`config.log' for more details." >&2;}
25047 { (exit 77); exit 77; }; }
25048 else
25049 ac_cv_sizeof_wchar_t=0
25050 fi
25051 fi
25052 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25053 fi
25054 rm -f conftest.val
25055 fi
25056 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25057 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25058
25059
25060
25061 cat >>confdefs.h <<_ACEOF
25062 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25063 _ACEOF
25064
25065
25066 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25067 wxUSE_WCHAR_T=yes
25068 else
25069 wxUSE_WCHAR_T=no
25070 fi
25071
25072 { echo "$as_me:$LINENO: checking for va_copy" >&5
25073 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25074 if test "${wx_cv_func_va_copy+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 else
25077
25078 ac_ext=cpp
25079 ac_cpp='$CXXCPP $CPPFLAGS'
25080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25083
25084 cat >conftest.$ac_ext <<_ACEOF
25085
25086 #include <stdarg.h>
25087 void foo(char *f, ...)
25088 {
25089 va_list ap1, ap2;
25090 va_start(ap1, f);
25091 va_copy(ap2, ap1);
25092 va_end(ap2);
25093 va_end(ap1);
25094 }
25095 int main()
25096 {
25097 foo("hi", 17);
25098 return 0;
25099 }
25100 _ACEOF
25101 rm -f conftest.$ac_objext conftest$ac_exeext
25102 if { (ac_try="$ac_link"
25103 case "(($ac_try" in
25104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25105 *) ac_try_echo=$ac_try;;
25106 esac
25107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25108 (eval "$ac_link") 2>conftest.er1
25109 ac_status=$?
25110 grep -v '^ *+' conftest.er1 >conftest.err
25111 rm -f conftest.er1
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } && {
25115 test -z "$ac_cxx_werror_flag" ||
25116 test ! -s conftest.err
25117 } && test -s conftest$ac_exeext &&
25118 $as_test_x conftest$ac_exeext; then
25119 wx_cv_func_va_copy=yes
25120 else
25121 echo "$as_me: failed program was:" >&5
25122 sed 's/^/| /' conftest.$ac_ext >&5
25123
25124 wx_cv_func_va_copy=no
25125
25126 fi
25127
25128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25129 conftest$ac_exeext conftest.$ac_ext
25130 ac_ext=c
25131 ac_cpp='$CPP $CPPFLAGS'
25132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25135
25136
25137
25138 fi
25139 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25140 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25141
25142 if test $wx_cv_func_va_copy = "yes"; then
25143 cat >>confdefs.h <<\_ACEOF
25144 #define HAVE_VA_COPY 1
25145 _ACEOF
25146
25147 else
25148 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25149 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25150 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25151 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 else
25153
25154 if test "$cross_compiling" = yes; then
25155 wx_cv_type_va_list_lvalue=yes
25156
25157 else
25158 cat >conftest.$ac_ext <<_ACEOF
25159
25160 #include <stdarg.h>
25161 int foo(char *f, ...)
25162 {
25163 va_list ap1, ap2;
25164 va_start(ap1, f);
25165 ap2 = ap1;
25166 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25167 return 1;
25168 va_end(ap2);
25169 va_end(ap1);
25170 return 0;
25171 }
25172 int main()
25173 {
25174 return foo("hi", 17);
25175 }
25176 _ACEOF
25177 rm -f conftest$ac_exeext
25178 if { (ac_try="$ac_link"
25179 case "(($ac_try" in
25180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25181 *) ac_try_echo=$ac_try;;
25182 esac
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_link") 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25188 { (case "(($ac_try" in
25189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25190 *) ac_try_echo=$ac_try;;
25191 esac
25192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25193 (eval "$ac_try") 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 wx_cv_type_va_list_lvalue=yes
25198 else
25199 echo "$as_me: program exited with status $ac_status" >&5
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25202
25203 ( exit $ac_status )
25204 wx_cv_type_va_list_lvalue=no
25205 fi
25206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25207 fi
25208
25209
25210
25211
25212 fi
25213 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25214 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25215
25216 if test $wx_cv_type_va_list_lvalue != "yes"; then
25217 cat >>confdefs.h <<\_ACEOF
25218 #define VA_LIST_IS_ARRAY 1
25219 _ACEOF
25220
25221 fi
25222 fi
25223
25224 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25225
25226 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25227 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25228 if test "${wx_cv_have_variadic_macros+set}" = set; then
25229 echo $ECHO_N "(cached) $ECHO_C" >&6
25230 else
25231
25232 ac_ext=cpp
25233 ac_cpp='$CXXCPP $CPPFLAGS'
25234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25237
25238 cat >conftest.$ac_ext <<_ACEOF
25239 /* confdefs.h. */
25240 _ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25244
25245 #include <stdio.h>
25246 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25247
25248 int
25249 main ()
25250 {
25251
25252 test("%s %d %p", "test", 1, 0);
25253
25254
25255 ;
25256 return 0;
25257 }
25258 _ACEOF
25259 rm -f conftest.$ac_objext
25260 if { (ac_try="$ac_compile"
25261 case "(($ac_try" in
25262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25263 *) ac_try_echo=$ac_try;;
25264 esac
25265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25266 (eval "$ac_compile") 2>conftest.er1
25267 ac_status=$?
25268 grep -v '^ *+' conftest.er1 >conftest.err
25269 rm -f conftest.er1
25270 cat conftest.err >&5
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); } && {
25273 test -z "$ac_cxx_werror_flag" ||
25274 test ! -s conftest.err
25275 } && test -s conftest.$ac_objext; then
25276 wx_cv_have_variadic_macros=yes
25277 else
25278 echo "$as_me: failed program was:" >&5
25279 sed 's/^/| /' conftest.$ac_ext >&5
25280
25281 wx_cv_have_variadic_macros=no
25282
25283 fi
25284
25285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25286 ac_ext=c
25287 ac_cpp='$CPP $CPPFLAGS'
25288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25291
25292
25293
25294 fi
25295 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25296 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25297
25298 if test $wx_cv_have_variadic_macros = "yes"; then
25299 cat >>confdefs.h <<\_ACEOF
25300 #define HAVE_VARIADIC_MACROS 1
25301 _ACEOF
25302
25303 fi
25304
25305 fi
25306 # Check whether --enable-largefile was given.
25307 if test "${enable_largefile+set}" = set; then
25308 enableval=$enable_largefile;
25309 fi
25310
25311 if test "$enable_largefile" != no; then
25312 wx_largefile=no
25313
25314 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25315 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25316 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25317 echo $ECHO_N "(cached) $ECHO_C" >&6
25318 else
25319
25320 cat >conftest.$ac_ext <<_ACEOF
25321 /* confdefs.h. */
25322 _ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25326 #define _FILE_OFFSET_BITS 64
25327 #include <sys/types.h>
25328 int
25329 main ()
25330 {
25331 typedef struct {
25332 unsigned int field: sizeof(off_t) == 8;
25333 } wxlf;
25334
25335 ;
25336 return 0;
25337 }
25338 _ACEOF
25339 rm -f conftest.$ac_objext
25340 if { (ac_try="$ac_compile"
25341 case "(($ac_try" in
25342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25343 *) ac_try_echo=$ac_try;;
25344 esac
25345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25346 (eval "$ac_compile") 2>conftest.er1
25347 ac_status=$?
25348 grep -v '^ *+' conftest.er1 >conftest.err
25349 rm -f conftest.er1
25350 cat conftest.err >&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } && {
25353 test -z "$ac_c_werror_flag" ||
25354 test ! -s conftest.err
25355 } && test -s conftest.$ac_objext; then
25356 ac_cv_sys_file_offset_bits=64
25357 else
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.$ac_ext >&5
25360
25361 ac_cv_sys_file_offset_bits=no
25362 fi
25363
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25365
25366
25367 fi
25368 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25369 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25370
25371 if test "$ac_cv_sys_file_offset_bits" != no; then
25372 wx_largefile=yes
25373 cat >>confdefs.h <<_ACEOF
25374 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25375 _ACEOF
25376
25377 fi
25378
25379 if test "x$wx_largefile" != "xyes"; then
25380
25381 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25382 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25383 if test "${ac_cv_sys_large_files+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 else
25386
25387 cat >conftest.$ac_ext <<_ACEOF
25388 /* confdefs.h. */
25389 _ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393 #define _LARGE_FILES 1
25394 #include <sys/types.h>
25395 int
25396 main ()
25397 {
25398 typedef struct {
25399 unsigned int field: sizeof(off_t) == 8;
25400 } wxlf;
25401
25402 ;
25403 return 0;
25404 }
25405 _ACEOF
25406 rm -f conftest.$ac_objext
25407 if { (ac_try="$ac_compile"
25408 case "(($ac_try" in
25409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25410 *) ac_try_echo=$ac_try;;
25411 esac
25412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25413 (eval "$ac_compile") 2>conftest.er1
25414 ac_status=$?
25415 grep -v '^ *+' conftest.er1 >conftest.err
25416 rm -f conftest.er1
25417 cat conftest.err >&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); } && {
25420 test -z "$ac_c_werror_flag" ||
25421 test ! -s conftest.err
25422 } && test -s conftest.$ac_objext; then
25423 ac_cv_sys_large_files=1
25424 else
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25427
25428 ac_cv_sys_large_files=no
25429 fi
25430
25431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25432
25433
25434 fi
25435 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25436 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25437
25438 if test "$ac_cv_sys_large_files" != no; then
25439 wx_largefile=yes
25440 cat >>confdefs.h <<_ACEOF
25441 #define _LARGE_FILES $ac_cv_sys_large_files
25442 _ACEOF
25443
25444 fi
25445
25446 fi
25447
25448 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25449 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25450 if test "x$wx_largefile" = "xyes"; then
25451 cat >>confdefs.h <<\_ACEOF
25452 #define HAVE_LARGEFILE_SUPPORT 1
25453 _ACEOF
25454
25455 fi
25456 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25457 echo "${ECHO_T}$wx_largefile" >&6; }
25458 fi
25459
25460
25461 if test "x$wx_largefile" = "xyes"; then
25462 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25463 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25464
25465 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25466 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25467 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25468 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25469 echo $ECHO_N "(cached) $ECHO_C" >&6
25470 else
25471
25472 ac_ext=cpp
25473 ac_cpp='$CXXCPP $CPPFLAGS'
25474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25477
25478 cat >conftest.$ac_ext <<_ACEOF
25479 /* confdefs.h. */
25480 _ACEOF
25481 cat confdefs.h >>conftest.$ac_ext
25482 cat >>conftest.$ac_ext <<_ACEOF
25483 /* end confdefs.h. */
25484
25485 int
25486 main ()
25487 {
25488
25489 #ifndef __STDC_EXT__
25490 choke me
25491 #endif
25492
25493 ;
25494 return 0;
25495 }
25496 _ACEOF
25497 rm -f conftest.$ac_objext
25498 if { (ac_try="$ac_compile"
25499 case "(($ac_try" in
25500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25501 *) ac_try_echo=$ac_try;;
25502 esac
25503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25504 (eval "$ac_compile") 2>conftest.er1
25505 ac_status=$?
25506 grep -v '^ *+' conftest.er1 >conftest.err
25507 rm -f conftest.er1
25508 cat conftest.err >&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } && {
25511 test -z "$ac_cxx_werror_flag" ||
25512 test ! -s conftest.err
25513 } && test -s conftest.$ac_objext; then
25514 wx_cv_STDC_EXT_required=no
25515 else
25516 echo "$as_me: failed program was:" >&5
25517 sed 's/^/| /' conftest.$ac_ext >&5
25518
25519 wx_cv_STDC_EXT_required=yes
25520
25521 fi
25522
25523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25524 ac_ext=c
25525 ac_cpp='$CPP $CPPFLAGS'
25526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25529
25530
25531
25532 fi
25533 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25534 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25535 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25536 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25537 fi
25538 fi
25539 else
25540 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25541 fi
25542 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25543 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25544 if test "${ac_cv_sys_largefile_source+set}" = set; then
25545 echo $ECHO_N "(cached) $ECHO_C" >&6
25546 else
25547 while :; do
25548 cat >conftest.$ac_ext <<_ACEOF
25549 /* confdefs.h. */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25554 #include <sys/types.h> /* for off_t */
25555 #include <stdio.h>
25556 int
25557 main ()
25558 {
25559 int (*fp) (FILE *, off_t, int) = fseeko;
25560 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25561 ;
25562 return 0;
25563 }
25564 _ACEOF
25565 rm -f conftest.$ac_objext conftest$ac_exeext
25566 if { (ac_try="$ac_link"
25567 case "(($ac_try" in
25568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25569 *) ac_try_echo=$ac_try;;
25570 esac
25571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25572 (eval "$ac_link") 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } && {
25579 test -z "$ac_c_werror_flag" ||
25580 test ! -s conftest.err
25581 } && test -s conftest$ac_exeext &&
25582 $as_test_x conftest$ac_exeext; then
25583 ac_cv_sys_largefile_source=no; break
25584 else
25585 echo "$as_me: failed program was:" >&5
25586 sed 's/^/| /' conftest.$ac_ext >&5
25587
25588
25589 fi
25590
25591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25592 conftest$ac_exeext conftest.$ac_ext
25593 cat >conftest.$ac_ext <<_ACEOF
25594 /* confdefs.h. */
25595 _ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599 #define _LARGEFILE_SOURCE 1
25600 #include <sys/types.h> /* for off_t */
25601 #include <stdio.h>
25602 int
25603 main ()
25604 {
25605 int (*fp) (FILE *, off_t, int) = fseeko;
25606 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25607 ;
25608 return 0;
25609 }
25610 _ACEOF
25611 rm -f conftest.$ac_objext conftest$ac_exeext
25612 if { (ac_try="$ac_link"
25613 case "(($ac_try" in
25614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25615 *) ac_try_echo=$ac_try;;
25616 esac
25617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25618 (eval "$ac_link") 2>conftest.er1
25619 ac_status=$?
25620 grep -v '^ *+' conftest.er1 >conftest.err
25621 rm -f conftest.er1
25622 cat conftest.err >&5
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); } && {
25625 test -z "$ac_c_werror_flag" ||
25626 test ! -s conftest.err
25627 } && test -s conftest$ac_exeext &&
25628 $as_test_x conftest$ac_exeext; then
25629 ac_cv_sys_largefile_source=1; break
25630 else
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634
25635 fi
25636
25637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25638 conftest$ac_exeext conftest.$ac_ext
25639 ac_cv_sys_largefile_source=unknown
25640 break
25641 done
25642 fi
25643 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25644 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25645 case $ac_cv_sys_largefile_source in #(
25646 no | unknown) ;;
25647 *)
25648 cat >>confdefs.h <<_ACEOF
25649 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25650 _ACEOF
25651 ;;
25652 esac
25653 rm -f conftest*
25654
25655 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25656 # in glibc 2.1.3, but that breaks too many other things.
25657 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25658 if test $ac_cv_sys_largefile_source != unknown; then
25659
25660 cat >>confdefs.h <<\_ACEOF
25661 #define HAVE_FSEEKO 1
25662 _ACEOF
25663
25664 fi
25665
25666 if test "$ac_cv_sys_largefile_source" != no; then
25667 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25668 fi
25669 fi
25670
25671 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25672 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25673 if test "${ac_cv_c_bigendian+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 else
25676 ac_cv_c_bigendian=unknown
25677 # See if sys/param.h defines the BYTE_ORDER macro.
25678 cat >conftest.$ac_ext <<_ACEOF
25679 /* confdefs.h. */
25680 _ACEOF
25681 cat confdefs.h >>conftest.$ac_ext
25682 cat >>conftest.$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25684 #include <sys/types.h>
25685 #include <sys/param.h>
25686 int
25687 main ()
25688 {
25689
25690 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25691 bogus endian macros
25692 #endif
25693 ;
25694 return 0;
25695 }
25696 _ACEOF
25697 rm -f conftest.$ac_objext
25698 if { (ac_try="$ac_compile"
25699 case "(($ac_try" in
25700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25701 *) ac_try_echo=$ac_try;;
25702 esac
25703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25704 (eval "$ac_compile") 2>conftest.er1
25705 ac_status=$?
25706 grep -v '^ *+' conftest.er1 >conftest.err
25707 rm -f conftest.er1
25708 cat conftest.err >&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } && {
25711 test -z "$ac_c_werror_flag" ||
25712 test ! -s conftest.err
25713 } && test -s conftest.$ac_objext; then
25714 # It does; now see whether it defined to BIG_ENDIAN or not.
25715 cat >conftest.$ac_ext <<_ACEOF
25716 /* confdefs.h. */
25717 _ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25721 #include <sys/types.h>
25722 #include <sys/param.h>
25723 int
25724 main ()
25725 {
25726
25727 #if BYTE_ORDER != BIG_ENDIAN
25728 not big endian
25729 #endif
25730 ;
25731 return 0;
25732 }
25733 _ACEOF
25734 rm -f conftest.$ac_objext
25735 if { (ac_try="$ac_compile"
25736 case "(($ac_try" in
25737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25738 *) ac_try_echo=$ac_try;;
25739 esac
25740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25741 (eval "$ac_compile") 2>conftest.er1
25742 ac_status=$?
25743 grep -v '^ *+' conftest.er1 >conftest.err
25744 rm -f conftest.er1
25745 cat conftest.err >&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); } && {
25748 test -z "$ac_c_werror_flag" ||
25749 test ! -s conftest.err
25750 } && test -s conftest.$ac_objext; then
25751 ac_cv_c_bigendian=yes
25752 else
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.$ac_ext >&5
25755
25756 ac_cv_c_bigendian=no
25757 fi
25758
25759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25760 else
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25763
25764
25765 fi
25766
25767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25768 if test $ac_cv_c_bigendian = unknown; then
25769 if test "$cross_compiling" = yes; then
25770 ac_cv_c_bigendian=unknown
25771 else
25772 cat >conftest.$ac_ext <<_ACEOF
25773 /* confdefs.h. */
25774 _ACEOF
25775 cat confdefs.h >>conftest.$ac_ext
25776 cat >>conftest.$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25778 main () {
25779 /* Are we little or big endian? From Harbison&Steele. */
25780 union
25781 {
25782 long l;
25783 char c[sizeof (long)];
25784 } u;
25785 u.l = 1;
25786 exit (u.c[sizeof (long) - 1] == 1);
25787 }
25788 _ACEOF
25789 rm -f conftest$ac_exeext
25790 if { (ac_try="$ac_link"
25791 case "(($ac_try" in
25792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25793 *) ac_try_echo=$ac_try;;
25794 esac
25795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25796 (eval "$ac_link") 2>&5
25797 ac_status=$?
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25800 { (case "(($ac_try" in
25801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25803 esac
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_try") 2>&5
25806 ac_status=$?
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; }; then
25809 ac_cv_c_bigendian=no
25810 else
25811 echo "$as_me: program exited with status $ac_status" >&5
25812 echo "$as_me: failed program was:" >&5
25813 sed 's/^/| /' conftest.$ac_ext >&5
25814
25815 ( exit $ac_status )
25816 ac_cv_c_bigendian=yes
25817 fi
25818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25819 fi
25820
25821
25822 fi
25823 fi
25824 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25825 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25826 if test $ac_cv_c_bigendian = unknown; then
25827 { 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
25828 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;}
25829 fi
25830 if test $ac_cv_c_bigendian = yes; then
25831 cat >>confdefs.h <<\_ACEOF
25832 #define WORDS_BIGENDIAN 1
25833 _ACEOF
25834
25835 fi
25836
25837
25838
25839
25840 ac_ext=cpp
25841 ac_cpp='$CXXCPP $CPPFLAGS'
25842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25845
25846
25847 { echo "$as_me:$LINENO: checking for iostream" >&5
25848 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
25849 if test "${ac_cv_header_iostream+set}" = set; then
25850 echo $ECHO_N "(cached) $ECHO_C" >&6
25851 else
25852 cat >conftest.$ac_ext <<_ACEOF
25853 /* confdefs.h. */
25854 _ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858
25859
25860 #include <iostream>
25861 _ACEOF
25862 rm -f conftest.$ac_objext
25863 if { (ac_try="$ac_compile"
25864 case "(($ac_try" in
25865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25866 *) ac_try_echo=$ac_try;;
25867 esac
25868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25869 (eval "$ac_compile") 2>conftest.er1
25870 ac_status=$?
25871 grep -v '^ *+' conftest.er1 >conftest.err
25872 rm -f conftest.er1
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } && {
25876 test -z "$ac_cxx_werror_flag" ||
25877 test ! -s conftest.err
25878 } && test -s conftest.$ac_objext; then
25879 ac_cv_header_iostream=yes
25880 else
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.$ac_ext >&5
25883
25884 ac_cv_header_iostream=no
25885 fi
25886
25887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25888 fi
25889 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
25890 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
25891
25892
25893
25894 if test "$ac_cv_header_iostream" = "yes" ; then
25895 :
25896 else
25897 cat >>confdefs.h <<\_ACEOF
25898 #define wxUSE_IOSTREAMH 1
25899 _ACEOF
25900
25901 fi
25902
25903 ac_ext=c
25904 ac_cpp='$CPP $CPPFLAGS'
25905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25908
25909
25910
25911
25912 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25913 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25914 if test "${wx_cv_cpp_bool+set}" = set; then
25915 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 else
25917
25918
25919 ac_ext=cpp
25920 ac_cpp='$CXXCPP $CPPFLAGS'
25921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25924
25925
25926 cat >conftest.$ac_ext <<_ACEOF
25927 /* confdefs.h. */
25928 _ACEOF
25929 cat confdefs.h >>conftest.$ac_ext
25930 cat >>conftest.$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25932
25933
25934 int
25935 main ()
25936 {
25937
25938 bool b = true;
25939
25940 return 0;
25941
25942 ;
25943 return 0;
25944 }
25945 _ACEOF
25946 rm -f conftest.$ac_objext
25947 if { (ac_try="$ac_compile"
25948 case "(($ac_try" in
25949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25950 *) ac_try_echo=$ac_try;;
25951 esac
25952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25953 (eval "$ac_compile") 2>conftest.er1
25954 ac_status=$?
25955 grep -v '^ *+' conftest.er1 >conftest.err
25956 rm -f conftest.er1
25957 cat conftest.err >&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } && {
25960 test -z "$ac_cxx_werror_flag" ||
25961 test ! -s conftest.err
25962 } && test -s conftest.$ac_objext; then
25963
25964 wx_cv_cpp_bool=yes
25965
25966 else
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25969
25970
25971 wx_cv_cpp_bool=no
25972
25973
25974 fi
25975
25976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25977
25978 ac_ext=c
25979 ac_cpp='$CPP $CPPFLAGS'
25980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25983
25984
25985 fi
25986 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25987 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25988
25989 if test "$wx_cv_cpp_bool" = "yes"; then
25990 cat >>confdefs.h <<\_ACEOF
25991 #define HAVE_BOOL 1
25992 _ACEOF
25993
25994 fi
25995
25996
25997
25998 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25999 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26000 if test "${wx_cv_explicit+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26003
26004
26005 ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010
26011
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018
26019 class Foo { public: explicit Foo(int) {} };
26020
26021 int
26022 main ()
26023 {
26024
26025 return 0;
26026
26027 ;
26028 return 0;
26029 }
26030 _ACEOF
26031 rm -f conftest.$ac_objext
26032 if { (ac_try="$ac_compile"
26033 case "(($ac_try" in
26034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26035 *) ac_try_echo=$ac_try;;
26036 esac
26037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26038 (eval "$ac_compile") 2>conftest.er1
26039 ac_status=$?
26040 grep -v '^ *+' conftest.er1 >conftest.err
26041 rm -f conftest.er1
26042 cat conftest.err >&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); } && {
26045 test -z "$ac_cxx_werror_flag" ||
26046 test ! -s conftest.err
26047 } && test -s conftest.$ac_objext; then
26048
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055
26056 class Foo { public: explicit Foo(int) {} };
26057 static void TakeFoo(const Foo& foo) { }
26058
26059 int
26060 main ()
26061 {
26062
26063 TakeFoo(17);
26064 return 0;
26065
26066 ;
26067 return 0;
26068 }
26069 _ACEOF
26070 rm -f conftest.$ac_objext
26071 if { (ac_try="$ac_compile"
26072 case "(($ac_try" in
26073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26074 *) ac_try_echo=$ac_try;;
26075 esac
26076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26077 (eval "$ac_compile") 2>conftest.er1
26078 ac_status=$?
26079 grep -v '^ *+' conftest.er1 >conftest.err
26080 rm -f conftest.er1
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } && {
26084 test -z "$ac_cxx_werror_flag" ||
26085 test ! -s conftest.err
26086 } && test -s conftest.$ac_objext; then
26087 wx_cv_explicit=no
26088 else
26089 echo "$as_me: failed program was:" >&5
26090 sed 's/^/| /' conftest.$ac_ext >&5
26091
26092 wx_cv_explicit=yes
26093
26094 fi
26095
26096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26097
26098 else
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26101
26102 wx_cv_explicit=no
26103
26104 fi
26105
26106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26107
26108 ac_ext=c
26109 ac_cpp='$CPP $CPPFLAGS'
26110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26113
26114
26115 fi
26116 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26117 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26118
26119 if test "$wx_cv_explicit" = "yes"; then
26120 cat >>confdefs.h <<\_ACEOF
26121 #define HAVE_EXPLICIT 1
26122 _ACEOF
26123
26124 fi
26125
26126
26127 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26128 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26129 if test "${ac_cv_cxx_const_cast+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26138
26139 cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h. */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26145
26146 int
26147 main ()
26148 {
26149 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26150 ;
26151 return 0;
26152 }
26153 _ACEOF
26154 rm -f conftest.$ac_objext
26155 if { (ac_try="$ac_compile"
26156 case "(($ac_try" in
26157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26158 *) ac_try_echo=$ac_try;;
26159 esac
26160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161 (eval "$ac_compile") 2>conftest.er1
26162 ac_status=$?
26163 grep -v '^ *+' conftest.er1 >conftest.err
26164 rm -f conftest.er1
26165 cat conftest.err >&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } && {
26168 test -z "$ac_cxx_werror_flag" ||
26169 test ! -s conftest.err
26170 } && test -s conftest.$ac_objext; then
26171 ac_cv_cxx_const_cast=yes
26172 else
26173 echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.$ac_ext >&5
26175
26176 ac_cv_cxx_const_cast=no
26177 fi
26178
26179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26180 ac_ext=c
26181 ac_cpp='$CPP $CPPFLAGS'
26182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26185
26186
26187 fi
26188 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26189 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26190 if test "$ac_cv_cxx_const_cast" = yes; then
26191
26192 cat >>confdefs.h <<\_ACEOF
26193 #define HAVE_CONST_CAST
26194 _ACEOF
26195
26196 fi
26197
26198 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26199 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26200 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26201 echo $ECHO_N "(cached) $ECHO_C" >&6
26202 else
26203
26204 ac_ext=cpp
26205 ac_cpp='$CXXCPP $CPPFLAGS'
26206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26209
26210 cat >conftest.$ac_ext <<_ACEOF
26211 /* confdefs.h. */
26212 _ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 #include <typeinfo>
26217 class Base { public : Base () {} virtual void f () = 0;};
26218 class Derived : public Base { public : Derived () {} virtual void f () {} };
26219 class Unrelated { public : Unrelated () {} };
26220 int g (Unrelated&) { return 0; }
26221 int
26222 main ()
26223 {
26224
26225 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26226 ;
26227 return 0;
26228 }
26229 _ACEOF
26230 rm -f conftest.$ac_objext
26231 if { (ac_try="$ac_compile"
26232 case "(($ac_try" in
26233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26234 *) ac_try_echo=$ac_try;;
26235 esac
26236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26237 (eval "$ac_compile") 2>conftest.er1
26238 ac_status=$?
26239 grep -v '^ *+' conftest.er1 >conftest.err
26240 rm -f conftest.er1
26241 cat conftest.err >&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); } && {
26244 test -z "$ac_cxx_werror_flag" ||
26245 test ! -s conftest.err
26246 } && test -s conftest.$ac_objext; then
26247 ac_cv_cxx_reinterpret_cast=yes
26248 else
26249 echo "$as_me: failed program was:" >&5
26250 sed 's/^/| /' conftest.$ac_ext >&5
26251
26252 ac_cv_cxx_reinterpret_cast=no
26253 fi
26254
26255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26256 ac_ext=c
26257 ac_cpp='$CPP $CPPFLAGS'
26258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26261
26262
26263 fi
26264 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26265 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26266 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26267
26268 cat >>confdefs.h <<\_ACEOF
26269 #define HAVE_REINTERPRET_CAST
26270 _ACEOF
26271
26272 fi
26273
26274 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26275 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26276 if test "${ac_cv_cxx_static_cast+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26278 else
26279
26280 ac_ext=cpp
26281 ac_cpp='$CXXCPP $CPPFLAGS'
26282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26285
26286 cat >conftest.$ac_ext <<_ACEOF
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 #include <typeinfo>
26293 class Base { public : Base () {} virtual void f () = 0; };
26294 class Derived : public Base { public : Derived () {} virtual void f () {} };
26295 int g (Derived&) { return 0; }
26296 int
26297 main ()
26298 {
26299
26300 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26301 ;
26302 return 0;
26303 }
26304 _ACEOF
26305 rm -f conftest.$ac_objext
26306 if { (ac_try="$ac_compile"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26310 esac
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_compile") 2>conftest.er1
26313 ac_status=$?
26314 grep -v '^ *+' conftest.er1 >conftest.err
26315 rm -f conftest.er1
26316 cat conftest.err >&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } && {
26319 test -z "$ac_cxx_werror_flag" ||
26320 test ! -s conftest.err
26321 } && test -s conftest.$ac_objext; then
26322 ac_cv_cxx_static_cast=yes
26323 else
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.$ac_ext >&5
26326
26327 ac_cv_cxx_static_cast=no
26328 fi
26329
26330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26331 ac_ext=c
26332 ac_cpp='$CPP $CPPFLAGS'
26333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26336
26337
26338 fi
26339 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26340 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26341 if test "$ac_cv_cxx_static_cast" = yes; then
26342
26343 cat >>confdefs.h <<\_ACEOF
26344 #define HAVE_STATIC_CAST
26345 _ACEOF
26346
26347 fi
26348
26349
26350 if test "x$SUNCXX" = xyes; then
26351 CXXFLAGS="-features=tmplife $CXXFLAGS"
26352 fi
26353
26354 if test "x$SUNCC" = xyes; then
26355 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26356 fi
26357
26358 if test "x$SGICC" = "xyes"; then
26359 CFLAGS="-woff 3970 $CFLAGS"
26360 fi
26361 if test "x$SGICXX" = "xyes"; then
26362 CXXFLAGS="-woff 3970 $CXXFLAGS"
26363 fi
26364
26365 if test "x$HPCC" = "xyes"; then
26366 CFLAGS="+W 2011,2450 $CFLAGS"
26367 fi
26368 if test "x$HPCXX" = "xyes"; then
26369 CXXFLAGS="+W 2340 $CXXFLAGS"
26370 fi
26371
26372 if test "x$COMPAQCXX" = "xyes"; then
26373 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26374 fi
26375
26376 ac_ext=cpp
26377 ac_cpp='$CXXCPP $CPPFLAGS'
26378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26381
26382
26383 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26384 if test "$wxUSE_UNICODE" = "yes"; then
26385 std_string="std::wstring"
26386 char_type="wchar_t"
26387 else
26388 std_string="std::string"
26389 char_type="char"
26390 fi
26391
26392 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26393 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26394 if test "${wx_cv_class_stdstring+set}" = set; then
26395 echo $ECHO_N "(cached) $ECHO_C" >&6
26396 else
26397
26398 cat >conftest.$ac_ext <<_ACEOF
26399 /* confdefs.h. */
26400 _ACEOF
26401 cat confdefs.h >>conftest.$ac_ext
26402 cat >>conftest.$ac_ext <<_ACEOF
26403 /* end confdefs.h. */
26404 #include <string>
26405 int
26406 main ()
26407 {
26408 $std_string foo;
26409 ;
26410 return 0;
26411 }
26412 _ACEOF
26413 rm -f conftest.$ac_objext
26414 if { (ac_try="$ac_compile"
26415 case "(($ac_try" in
26416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26417 *) ac_try_echo=$ac_try;;
26418 esac
26419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26420 (eval "$ac_compile") 2>conftest.er1
26421 ac_status=$?
26422 grep -v '^ *+' conftest.er1 >conftest.err
26423 rm -f conftest.er1
26424 cat conftest.err >&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); } && {
26427 test -z "$ac_cxx_werror_flag" ||
26428 test ! -s conftest.err
26429 } && test -s conftest.$ac_objext; then
26430 wx_cv_class_stdstring=yes
26431 else
26432 echo "$as_me: failed program was:" >&5
26433 sed 's/^/| /' conftest.$ac_ext >&5
26434
26435 wx_cv_class_stdstring=no
26436
26437 fi
26438
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26440
26441
26442 fi
26443 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26444 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26445
26446 if test "$wx_cv_class_stdstring" = yes; then
26447 if test "$wxUSE_UNICODE" = "yes"; then
26448 cat >>confdefs.h <<\_ACEOF
26449 #define HAVE_STD_WSTRING 1
26450 _ACEOF
26451
26452 fi
26453 else
26454 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26455 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26456 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459
26460 cat >conftest.$ac_ext <<_ACEOF
26461 /* confdefs.h. */
26462 _ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466
26467 #ifdef HAVE_WCHAR_H
26468 # ifdef __CYGWIN__
26469 # include <stddef.h>
26470 # endif
26471 # include <wchar.h>
26472 #endif
26473 #ifdef HAVE_STDLIB_H
26474 # include <stdlib.h>
26475 #endif
26476 #include <stdio.h>
26477 #include <string>
26478
26479 int
26480 main ()
26481 {
26482 std::basic_string<$char_type> foo;
26483 const $char_type* dummy = foo.c_str();
26484 ;
26485 return 0;
26486 }
26487 _ACEOF
26488 rm -f conftest.$ac_objext
26489 if { (ac_try="$ac_compile"
26490 case "(($ac_try" in
26491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26492 *) ac_try_echo=$ac_try;;
26493 esac
26494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26495 (eval "$ac_compile") 2>conftest.er1
26496 ac_status=$?
26497 grep -v '^ *+' conftest.er1 >conftest.err
26498 rm -f conftest.er1
26499 cat conftest.err >&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } && {
26502 test -z "$ac_cxx_werror_flag" ||
26503 test ! -s conftest.err
26504 } && test -s conftest.$ac_objext; then
26505 wx_cv_class_stdbasicstring=yes
26506 else
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.$ac_ext >&5
26509
26510 wx_cv_class_stdbasicstring=no
26511
26512 fi
26513
26514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26515
26516
26517 fi
26518 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26519 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26520
26521 if test "$wx_cv_class_stdbasicstring" != yes; then
26522 if test "$wxUSE_STL" = "yes"; then
26523 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26524 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26525 { (exit 1); exit 1; }; }
26526 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26527 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26528 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26529 { (exit 1); exit 1; }; }
26530 else
26531 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26532 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26533 wxUSE_STD_STRING=no
26534 fi
26535 fi
26536 fi
26537 fi
26538
26539 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26540 { echo "$as_me:$LINENO: checking for std::istream" >&5
26541 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26542 if test "${ac_cv_type_std__istream+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 else
26545 cat >conftest.$ac_ext <<_ACEOF
26546 /* confdefs.h. */
26547 _ACEOF
26548 cat confdefs.h >>conftest.$ac_ext
26549 cat >>conftest.$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26551 #include <iostream>
26552
26553 typedef std::istream ac__type_new_;
26554 int
26555 main ()
26556 {
26557 if ((ac__type_new_ *) 0)
26558 return 0;
26559 if (sizeof (ac__type_new_))
26560 return 0;
26561 ;
26562 return 0;
26563 }
26564 _ACEOF
26565 rm -f conftest.$ac_objext
26566 if { (ac_try="$ac_compile"
26567 case "(($ac_try" in
26568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26569 *) ac_try_echo=$ac_try;;
26570 esac
26571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26572 (eval "$ac_compile") 2>conftest.er1
26573 ac_status=$?
26574 grep -v '^ *+' conftest.er1 >conftest.err
26575 rm -f conftest.er1
26576 cat conftest.err >&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); } && {
26579 test -z "$ac_cxx_werror_flag" ||
26580 test ! -s conftest.err
26581 } && test -s conftest.$ac_objext; then
26582 ac_cv_type_std__istream=yes
26583 else
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26586
26587 ac_cv_type_std__istream=no
26588 fi
26589
26590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26591 fi
26592 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26593 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26594 if test $ac_cv_type_std__istream = yes; then
26595
26596 cat >>confdefs.h <<_ACEOF
26597 #define HAVE_STD__ISTREAM 1
26598 _ACEOF
26599
26600
26601 else
26602 wxUSE_STD_IOSTREAM=no
26603 fi
26604 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26605 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26606 if test "${ac_cv_type_std__ostream+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 else
26609 cat >conftest.$ac_ext <<_ACEOF
26610 /* confdefs.h. */
26611 _ACEOF
26612 cat confdefs.h >>conftest.$ac_ext
26613 cat >>conftest.$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26615 #include <iostream>
26616
26617 typedef std::ostream ac__type_new_;
26618 int
26619 main ()
26620 {
26621 if ((ac__type_new_ *) 0)
26622 return 0;
26623 if (sizeof (ac__type_new_))
26624 return 0;
26625 ;
26626 return 0;
26627 }
26628 _ACEOF
26629 rm -f conftest.$ac_objext
26630 if { (ac_try="$ac_compile"
26631 case "(($ac_try" in
26632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26633 *) ac_try_echo=$ac_try;;
26634 esac
26635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26636 (eval "$ac_compile") 2>conftest.er1
26637 ac_status=$?
26638 grep -v '^ *+' conftest.er1 >conftest.err
26639 rm -f conftest.er1
26640 cat conftest.err >&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } && {
26643 test -z "$ac_cxx_werror_flag" ||
26644 test ! -s conftest.err
26645 } && test -s conftest.$ac_objext; then
26646 ac_cv_type_std__ostream=yes
26647 else
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26650
26651 ac_cv_type_std__ostream=no
26652 fi
26653
26654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26655 fi
26656 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26657 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26658 if test $ac_cv_type_std__ostream = yes; then
26659
26660 cat >>confdefs.h <<_ACEOF
26661 #define HAVE_STD__OSTREAM 1
26662 _ACEOF
26663
26664
26665 else
26666 wxUSE_STD_IOSTREAM=no
26667 fi
26668
26669
26670 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26671 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26672 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26673 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26674 { (exit 1); exit 1; }; }
26675 else
26676 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26677 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26678 fi
26679 fi
26680 fi
26681
26682 if test "$wxUSE_STL" = "yes"; then
26683 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26684 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26685 if test "${wx_cv_lib_stl+set}" = set; then
26686 echo $ECHO_N "(cached) $ECHO_C" >&6
26687 else
26688 cat >conftest.$ac_ext <<_ACEOF
26689 /* confdefs.h. */
26690 _ACEOF
26691 cat confdefs.h >>conftest.$ac_ext
26692 cat >>conftest.$ac_ext <<_ACEOF
26693 /* end confdefs.h. */
26694 #include <string>
26695 #include <functional>
26696 #include <algorithm>
26697 #include <vector>
26698 #include <list>
26699 int
26700 main ()
26701 {
26702 std::vector<int> moo;
26703 std::list<int> foo;
26704 std::vector<int>::iterator it =
26705 std::find_if(moo.begin(), moo.end(),
26706 std::bind2nd(std::less<int>(), 3));
26707 ;
26708 return 0;
26709 }
26710 _ACEOF
26711 rm -f conftest.$ac_objext
26712 if { (ac_try="$ac_compile"
26713 case "(($ac_try" in
26714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26715 *) ac_try_echo=$ac_try;;
26716 esac
26717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26718 (eval "$ac_compile") 2>conftest.er1
26719 ac_status=$?
26720 grep -v '^ *+' conftest.er1 >conftest.err
26721 rm -f conftest.er1
26722 cat conftest.err >&5
26723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26724 (exit $ac_status); } && {
26725 test -z "$ac_cxx_werror_flag" ||
26726 test ! -s conftest.err
26727 } && test -s conftest.$ac_objext; then
26728 wx_cv_lib_stl=yes
26729 else
26730 echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.$ac_ext >&5
26732
26733 wx_cv_lib_stl=no
26734
26735 fi
26736
26737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26738
26739 fi
26740 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26741 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26742
26743 if test "$wx_cv_lib_stl" != yes; then
26744 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26745 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26746 { (exit 1); exit 1; }; }
26747 fi
26748
26749 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26750 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26751 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26752 echo $ECHO_N "(cached) $ECHO_C" >&6
26753 else
26754 cat >conftest.$ac_ext <<_ACEOF
26755 /* confdefs.h. */
26756 _ACEOF
26757 cat confdefs.h >>conftest.$ac_ext
26758 cat >>conftest.$ac_ext <<_ACEOF
26759 /* end confdefs.h. */
26760 #include <string>
26761 int
26762 main ()
26763 {
26764 std::string foo, bar;
26765 foo.compare(bar);
26766 foo.compare(1, 1, bar);
26767 foo.compare(1, 1, bar, 1, 1);
26768 foo.compare("");
26769 foo.compare(1, 1, "");
26770 foo.compare(1, 1, "", 2);
26771 ;
26772 return 0;
26773 }
26774 _ACEOF
26775 rm -f conftest.$ac_objext
26776 if { (ac_try="$ac_compile"
26777 case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26779 *) ac_try_echo=$ac_try;;
26780 esac
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_compile") 2>conftest.er1
26783 ac_status=$?
26784 grep -v '^ *+' conftest.er1 >conftest.err
26785 rm -f conftest.er1
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } && {
26789 test -z "$ac_cxx_werror_flag" ||
26790 test ! -s conftest.err
26791 } && test -s conftest.$ac_objext; then
26792 wx_cv_func_stdstring_compare=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 wx_cv_func_stdstring_compare=no
26798
26799 fi
26800
26801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26802
26803 fi
26804 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26805 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26806
26807 if test "$wx_cv_func_stdstring_compare" = yes; then
26808 cat >>confdefs.h <<\_ACEOF
26809 #define HAVE_STD_STRING_COMPARE 1
26810 _ACEOF
26811
26812 fi
26813
26814 { echo "$as_me:$LINENO: checking for hash_map" >&5
26815 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26816 if test "${ac_cv_header_hash_map+set}" = set; then
26817 echo $ECHO_N "(cached) $ECHO_C" >&6
26818 else
26819 cat >conftest.$ac_ext <<_ACEOF
26820 /* confdefs.h. */
26821 _ACEOF
26822 cat confdefs.h >>conftest.$ac_ext
26823 cat >>conftest.$ac_ext <<_ACEOF
26824 /* end confdefs.h. */
26825
26826
26827
26828 #include <hash_map>
26829 _ACEOF
26830 rm -f conftest.$ac_objext
26831 if { (ac_try="$ac_compile"
26832 case "(($ac_try" in
26833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26835 esac
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_compile") 2>conftest.er1
26838 ac_status=$?
26839 grep -v '^ *+' conftest.er1 >conftest.err
26840 rm -f conftest.er1
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_cxx_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest.$ac_objext; then
26847 ac_cv_header_hash_map=yes
26848 else
26849 echo "$as_me: failed program was:" >&5
26850 sed 's/^/| /' conftest.$ac_ext >&5
26851
26852 ac_cv_header_hash_map=no
26853 fi
26854
26855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26856 fi
26857 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26858 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26859 if test $ac_cv_header_hash_map = yes; then
26860 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26861 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26862 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26863 echo $ECHO_N "(cached) $ECHO_C" >&6
26864 else
26865 cat >conftest.$ac_ext <<_ACEOF
26866 /* confdefs.h. */
26867 _ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26871 #include <hash_map>
26872 #include <hash_set>
26873 int
26874 main ()
26875 {
26876 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26877 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 rm -f conftest.$ac_objext
26883 if { (ac_try="$ac_compile"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26887 esac
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_compile") 2>conftest.er1
26890 ac_status=$?
26891 grep -v '^ *+' conftest.er1 >conftest.err
26892 rm -f conftest.er1
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_cxx_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest.$ac_objext; then
26899 wx_cv_class_stdhashmapset=yes
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26903
26904 wx_cv_class_stdhashmapset=no
26905 fi
26906
26907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26908
26909
26910 fi
26911 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26912 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26913 fi
26914
26915
26916
26917 if test "$wx_cv_class_stdhashmapset" = yes; then
26918 cat >>confdefs.h <<\_ACEOF
26919 #define HAVE_HASH_MAP 1
26920 _ACEOF
26921
26922 cat >>confdefs.h <<\_ACEOF
26923 #define HAVE_STD_HASH_MAP 1
26924 _ACEOF
26925
26926 fi
26927
26928 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26929 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26930 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26931 echo $ECHO_N "(cached) $ECHO_C" >&6
26932 else
26933 cat >conftest.$ac_ext <<_ACEOF
26934 /* confdefs.h. */
26935 _ACEOF
26936 cat confdefs.h >>conftest.$ac_ext
26937 cat >>conftest.$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26939
26940
26941
26942 #include <ext/hash_map>
26943 _ACEOF
26944 rm -f conftest.$ac_objext
26945 if { (ac_try="$ac_compile"
26946 case "(($ac_try" in
26947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26948 *) ac_try_echo=$ac_try;;
26949 esac
26950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26951 (eval "$ac_compile") 2>conftest.er1
26952 ac_status=$?
26953 grep -v '^ *+' conftest.er1 >conftest.err
26954 rm -f conftest.er1
26955 cat conftest.err >&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } && {
26958 test -z "$ac_cxx_werror_flag" ||
26959 test ! -s conftest.err
26960 } && test -s conftest.$ac_objext; then
26961 ac_cv_header_ext_hash_map=yes
26962 else
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.$ac_ext >&5
26965
26966 ac_cv_header_ext_hash_map=no
26967 fi
26968
26969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26970 fi
26971 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26972 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26973 if test $ac_cv_header_ext_hash_map = yes; then
26974 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26975 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26976 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26977 echo $ECHO_N "(cached) $ECHO_C" >&6
26978 else
26979 cat >conftest.$ac_ext <<_ACEOF
26980 /* confdefs.h. */
26981 _ACEOF
26982 cat confdefs.h >>conftest.$ac_ext
26983 cat >>conftest.$ac_ext <<_ACEOF
26984 /* end confdefs.h. */
26985 #include <ext/hash_map>
26986 #include <ext/hash_set>
26987 int
26988 main ()
26989 {
26990 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26991 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26992 ;
26993 return 0;
26994 }
26995 _ACEOF
26996 rm -f conftest.$ac_objext
26997 if { (ac_try="$ac_compile"
26998 case "(($ac_try" in
26999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27000 *) ac_try_echo=$ac_try;;
27001 esac
27002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27003 (eval "$ac_compile") 2>conftest.er1
27004 ac_status=$?
27005 grep -v '^ *+' conftest.er1 >conftest.err
27006 rm -f conftest.er1
27007 cat conftest.err >&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } && {
27010 test -z "$ac_cxx_werror_flag" ||
27011 test ! -s conftest.err
27012 } && test -s conftest.$ac_objext; then
27013 wx_cv_class_gnuhashmapset=yes
27014 else
27015 echo "$as_me: failed program was:" >&5
27016 sed 's/^/| /' conftest.$ac_ext >&5
27017
27018 wx_cv_class_gnuhashmapset=no
27019 fi
27020
27021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27022
27023
27024 fi
27025 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27026 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27027 fi
27028
27029
27030
27031 if test "$wx_cv_class_gnuhashmapset" = yes; then
27032 cat >>confdefs.h <<\_ACEOF
27033 #define HAVE_EXT_HASH_MAP 1
27034 _ACEOF
27035
27036 cat >>confdefs.h <<\_ACEOF
27037 #define HAVE_GNU_CXX_HASH_MAP 1
27038 _ACEOF
27039
27040 fi
27041 fi
27042
27043 ac_ext=c
27044 ac_cpp='$CPP $CPPFLAGS'
27045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27048
27049
27050
27051 SEARCH_INCLUDE="\
27052 /usr/local/include \
27053 \
27054 /usr/Motif-2.1/include \
27055 /usr/Motif-1.2/include \
27056 /usr/include/Motif1.2 \
27057 \
27058 /usr/dt/include \
27059 /usr/openwin/include \
27060 \
27061 /usr/include/Xm \
27062 \
27063 /usr/X11R6/include \
27064 /usr/X11R6.4/include \
27065 /usr/X11R5/include \
27066 /usr/X11R4/include \
27067 \
27068 /usr/include/X11R6 \
27069 /usr/include/X11R5 \
27070 /usr/include/X11R4 \
27071 \
27072 /usr/local/X11R6/include \
27073 /usr/local/X11R5/include \
27074 /usr/local/X11R4/include \
27075 \
27076 /usr/local/include/X11R6 \
27077 /usr/local/include/X11R5 \
27078 /usr/local/include/X11R4 \
27079 \
27080 /usr/X11/include \
27081 /usr/include/X11 \
27082 /usr/local/X11/include \
27083 /usr/local/include/X11 \
27084 \
27085 /usr/XFree86/include/X11 \
27086 /usr/pkg/include \
27087 \
27088 /usr/openwin/share/include"
27089
27090 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27091 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27092
27093 case "${host}" in
27094 *-*-irix6* )
27095 if test "${wx_cv_std_libpath+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 else
27098
27099 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27100 for e in a so sl dylib dll.a; do
27101 libc="$d/libc.$e"
27102 if test -f $libc; then
27103 save_LIBS="$LIBS"
27104 LIBS="$libc"
27105 cat >conftest.$ac_ext <<_ACEOF
27106 int main() { return 0; }
27107 _ACEOF
27108 rm -f conftest.$ac_objext conftest$ac_exeext
27109 if { (ac_try="$ac_link"
27110 case "(($ac_try" in
27111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27112 *) ac_try_echo=$ac_try;;
27113 esac
27114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27115 (eval "$ac_link") 2>conftest.er1
27116 ac_status=$?
27117 grep -v '^ *+' conftest.er1 >conftest.err
27118 rm -f conftest.er1
27119 cat conftest.err >&5
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); } && {
27122 test -z "$ac_c_werror_flag" ||
27123 test ! -s conftest.err
27124 } && test -s conftest$ac_exeext &&
27125 $as_test_x conftest$ac_exeext; then
27126 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27127 else
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.$ac_ext >&5
27130
27131
27132 fi
27133
27134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27135 conftest$ac_exeext conftest.$ac_ext
27136 LIBS="$save_LIBS"
27137 if test "x$wx_cv_std_libpath" != "x"; then
27138 break 2
27139 fi
27140 fi
27141 done
27142 done
27143 if test "x$wx_cv_std_libpath" = "x"; then
27144 wx_cv_std_libpath="lib"
27145 fi
27146
27147
27148 fi
27149
27150 ;;
27151
27152 *-*-solaris2* )
27153 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27154 wx_cv_std_libpath="lib/64"
27155 else
27156 wx_cv_std_libpath="lib"
27157 fi
27158 ;;
27159
27160 *-*-linux* )
27161 if test "$ac_cv_sizeof_void_p" = 8 -a \
27162 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27163 wx_cv_std_libpath="lib64"
27164 else
27165 wx_cv_std_libpath="lib"
27166 fi
27167 ;;
27168
27169 *)
27170 wx_cv_std_libpath="lib";
27171 ;;
27172 esac
27173
27174 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27175 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27176
27177 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27178
27179 if test "$build" != "$host" -a "$GCC" = yes; then
27180 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27181 cross_root=`dirname $cross_root`
27182 cross_root=`dirname $cross_root`
27183
27184 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27185 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27186 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27187
27188 if test -z "$PKG_CONFIG_PATH"; then
27189 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27190 export PKG_CONFIG_PATH
27191 fi
27192
27193 if test -z "$x_includes" -o "$x_includes" = NONE; then
27194
27195 ac_find_includes=
27196 for ac_dir in $SEARCH_INCLUDE /usr/include;
27197 do
27198 if test -f "$ac_dir/X11/Intrinsic.h"; then
27199 ac_find_includes=$ac_dir
27200 break
27201 fi
27202 done
27203
27204 x_includes=$ac_find_includes
27205 fi
27206 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27207
27208 ac_find_libraries=
27209 for ac_dir in $SEARCH_LIB;
27210 do
27211 for ac_extension in a so sl dylib dll.a; do
27212 if test -f "$ac_dir/libXt.$ac_extension"; then
27213 ac_find_libraries=$ac_dir
27214 break 2
27215 fi
27216 done
27217 done
27218
27219 x_libraries=$ac_find_libraries
27220 fi
27221 fi
27222 fi
27223
27224
27225 cat >confcache <<\_ACEOF
27226 # This file is a shell script that caches the results of configure
27227 # tests run on this system so they can be shared between configure
27228 # scripts and configure runs, see configure's option --config-cache.
27229 # It is not useful on other systems. If it contains results you don't
27230 # want to keep, you may remove or edit it.
27231 #
27232 # config.status only pays attention to the cache file if you give it
27233 # the --recheck option to rerun configure.
27234 #
27235 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27236 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27237 # following values.
27238
27239 _ACEOF
27240
27241 # The following way of writing the cache mishandles newlines in values,
27242 # but we know of no workaround that is simple, portable, and efficient.
27243 # So, we kill variables containing newlines.
27244 # Ultrix sh set writes to stderr and can't be redirected directly,
27245 # and sets the high bit in the cache file unless we assign to the vars.
27246 (
27247 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27248 eval ac_val=\$$ac_var
27249 case $ac_val in #(
27250 *${as_nl}*)
27251 case $ac_var in #(
27252 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27253 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27254 esac
27255 case $ac_var in #(
27256 _ | IFS | as_nl) ;; #(
27257 *) $as_unset $ac_var ;;
27258 esac ;;
27259 esac
27260 done
27261
27262 (set) 2>&1 |
27263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27264 *${as_nl}ac_space=\ *)
27265 # `set' does not quote correctly, so add quotes (double-quote
27266 # substitution turns \\\\ into \\, and sed turns \\ into \).
27267 sed -n \
27268 "s/'/'\\\\''/g;
27269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27270 ;; #(
27271 *)
27272 # `set' quotes correctly as required by POSIX, so do not add quotes.
27273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27274 ;;
27275 esac |
27276 sort
27277 ) |
27278 sed '
27279 /^ac_cv_env_/b end
27280 t clear
27281 :clear
27282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27283 t end
27284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27285 :end' >>confcache
27286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27287 if test -w "$cache_file"; then
27288 test "x$cache_file" != "x/dev/null" &&
27289 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27290 echo "$as_me: updating cache $cache_file" >&6;}
27291 cat confcache >$cache_file
27292 else
27293 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27294 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27295 fi
27296 fi
27297 rm -f confcache
27298
27299 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27300 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27301 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27302 if test "${wx_cv_lib_glibc21+set}" = set; then
27303 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 else
27305
27306 cat >conftest.$ac_ext <<_ACEOF
27307 /* confdefs.h. */
27308 _ACEOF
27309 cat confdefs.h >>conftest.$ac_ext
27310 cat >>conftest.$ac_ext <<_ACEOF
27311 /* end confdefs.h. */
27312 #include <features.h>
27313 int
27314 main ()
27315 {
27316
27317 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27318 not glibc 2.1
27319 #endif
27320
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_c_werror_flag" ||
27340 test ! -s conftest.err
27341 } && test -s conftest.$ac_objext; then
27342
27343 wx_cv_lib_glibc21=yes
27344
27345 else
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.$ac_ext >&5
27348
27349
27350 wx_cv_lib_glibc21=no
27351
27352
27353 fi
27354
27355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27356
27357 fi
27358 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27359 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27360 if test "$wx_cv_lib_glibc21" = "yes"; then
27361 cat >>confdefs.h <<\_ACEOF
27362 #define wxHAVE_GLIBC2 1
27363 _ACEOF
27364
27365 fi
27366 fi
27367
27368 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27369 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27370 cat >>confdefs.h <<\_ACEOF
27371 #define _GNU_SOURCE 1
27372 _ACEOF
27373
27374 fi
27375 fi
27376
27377 have_cos=0
27378 have_floor=0
27379
27380 for ac_func in cos
27381 do
27382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27385 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27387 else
27388 cat >conftest.$ac_ext <<_ACEOF
27389 /* confdefs.h. */
27390 _ACEOF
27391 cat confdefs.h >>conftest.$ac_ext
27392 cat >>conftest.$ac_ext <<_ACEOF
27393 /* end confdefs.h. */
27394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27396 #define $ac_func innocuous_$ac_func
27397
27398 /* System header to define __stub macros and hopefully few prototypes,
27399 which can conflict with char $ac_func (); below.
27400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27401 <limits.h> exists even on freestanding compilers. */
27402
27403 #ifdef __STDC__
27404 # include <limits.h>
27405 #else
27406 # include <assert.h>
27407 #endif
27408
27409 #undef $ac_func
27410
27411 /* Override any GCC internal prototype to avoid an error.
27412 Use char because int might match the return type of a GCC
27413 builtin and then its argument prototype would still apply. */
27414 #ifdef __cplusplus
27415 extern "C"
27416 #endif
27417 char $ac_func ();
27418 /* The GNU C library defines this for functions which it implements
27419 to always fail with ENOSYS. Some functions are actually named
27420 something starting with __ and the normal name is an alias. */
27421 #if defined __stub_$ac_func || defined __stub___$ac_func
27422 choke me
27423 #endif
27424
27425 int
27426 main ()
27427 {
27428 return $ac_func ();
27429 ;
27430 return 0;
27431 }
27432 _ACEOF
27433 rm -f conftest.$ac_objext conftest$ac_exeext
27434 if { (ac_try="$ac_link"
27435 case "(($ac_try" in
27436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27437 *) ac_try_echo=$ac_try;;
27438 esac
27439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27440 (eval "$ac_link") 2>conftest.er1
27441 ac_status=$?
27442 grep -v '^ *+' conftest.er1 >conftest.err
27443 rm -f conftest.er1
27444 cat conftest.err >&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } && {
27447 test -z "$ac_c_werror_flag" ||
27448 test ! -s conftest.err
27449 } && test -s conftest$ac_exeext &&
27450 $as_test_x conftest$ac_exeext; then
27451 eval "$as_ac_var=yes"
27452 else
27453 echo "$as_me: failed program was:" >&5
27454 sed 's/^/| /' conftest.$ac_ext >&5
27455
27456 eval "$as_ac_var=no"
27457 fi
27458
27459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27460 conftest$ac_exeext conftest.$ac_ext
27461 fi
27462 ac_res=`eval echo '${'$as_ac_var'}'`
27463 { echo "$as_me:$LINENO: result: $ac_res" >&5
27464 echo "${ECHO_T}$ac_res" >&6; }
27465 if test `eval echo '${'$as_ac_var'}'` = yes; then
27466 cat >>confdefs.h <<_ACEOF
27467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27468 _ACEOF
27469 have_cos=1
27470 fi
27471 done
27472
27473
27474 for ac_func in floor
27475 do
27476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27477 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27479 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27480 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 else
27482 cat >conftest.$ac_ext <<_ACEOF
27483 /* confdefs.h. */
27484 _ACEOF
27485 cat confdefs.h >>conftest.$ac_ext
27486 cat >>conftest.$ac_ext <<_ACEOF
27487 /* end confdefs.h. */
27488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27490 #define $ac_func innocuous_$ac_func
27491
27492 /* System header to define __stub macros and hopefully few prototypes,
27493 which can conflict with char $ac_func (); below.
27494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27495 <limits.h> exists even on freestanding compilers. */
27496
27497 #ifdef __STDC__
27498 # include <limits.h>
27499 #else
27500 # include <assert.h>
27501 #endif
27502
27503 #undef $ac_func
27504
27505 /* Override any GCC internal prototype to avoid an error.
27506 Use char because int might match the return type of a GCC
27507 builtin and then its argument prototype would still apply. */
27508 #ifdef __cplusplus
27509 extern "C"
27510 #endif
27511 char $ac_func ();
27512 /* The GNU C library defines this for functions which it implements
27513 to always fail with ENOSYS. Some functions are actually named
27514 something starting with __ and the normal name is an alias. */
27515 #if defined __stub_$ac_func || defined __stub___$ac_func
27516 choke me
27517 #endif
27518
27519 int
27520 main ()
27521 {
27522 return $ac_func ();
27523 ;
27524 return 0;
27525 }
27526 _ACEOF
27527 rm -f conftest.$ac_objext conftest$ac_exeext
27528 if { (ac_try="$ac_link"
27529 case "(($ac_try" in
27530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27531 *) ac_try_echo=$ac_try;;
27532 esac
27533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27534 (eval "$ac_link") 2>conftest.er1
27535 ac_status=$?
27536 grep -v '^ *+' conftest.er1 >conftest.err
27537 rm -f conftest.er1
27538 cat conftest.err >&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); } && {
27541 test -z "$ac_c_werror_flag" ||
27542 test ! -s conftest.err
27543 } && test -s conftest$ac_exeext &&
27544 $as_test_x conftest$ac_exeext; then
27545 eval "$as_ac_var=yes"
27546 else
27547 echo "$as_me: failed program was:" >&5
27548 sed 's/^/| /' conftest.$ac_ext >&5
27549
27550 eval "$as_ac_var=no"
27551 fi
27552
27553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27554 conftest$ac_exeext conftest.$ac_ext
27555 fi
27556 ac_res=`eval echo '${'$as_ac_var'}'`
27557 { echo "$as_me:$LINENO: result: $ac_res" >&5
27558 echo "${ECHO_T}$ac_res" >&6; }
27559 if test `eval echo '${'$as_ac_var'}'` = yes; then
27560 cat >>confdefs.h <<_ACEOF
27561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27562 _ACEOF
27563 have_floor=1
27564 fi
27565 done
27566
27567 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27568 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27569 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27570 { echo "$as_me:$LINENO: result: yes" >&5
27571 echo "${ECHO_T}yes" >&6; }
27572 else
27573 { echo "$as_me:$LINENO: result: no" >&5
27574 echo "${ECHO_T}no" >&6; }
27575 LIBS="$LIBS -lm"
27576 # use different functions to avoid configure caching
27577 have_sin=0
27578 have_ceil=0
27579
27580 for ac_func in sin
27581 do
27582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27585 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27587 else
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27596 #define $ac_func innocuous_$ac_func
27597
27598 /* System header to define __stub macros and hopefully few prototypes,
27599 which can conflict with char $ac_func (); below.
27600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27601 <limits.h> exists even on freestanding compilers. */
27602
27603 #ifdef __STDC__
27604 # include <limits.h>
27605 #else
27606 # include <assert.h>
27607 #endif
27608
27609 #undef $ac_func
27610
27611 /* Override any GCC internal prototype to avoid an error.
27612 Use char because int might match the return type of a GCC
27613 builtin and then its argument prototype would still apply. */
27614 #ifdef __cplusplus
27615 extern "C"
27616 #endif
27617 char $ac_func ();
27618 /* The GNU C library defines this for functions which it implements
27619 to always fail with ENOSYS. Some functions are actually named
27620 something starting with __ and the normal name is an alias. */
27621 #if defined __stub_$ac_func || defined __stub___$ac_func
27622 choke me
27623 #endif
27624
27625 int
27626 main ()
27627 {
27628 return $ac_func ();
27629 ;
27630 return 0;
27631 }
27632 _ACEOF
27633 rm -f conftest.$ac_objext conftest$ac_exeext
27634 if { (ac_try="$ac_link"
27635 case "(($ac_try" in
27636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27637 *) ac_try_echo=$ac_try;;
27638 esac
27639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27640 (eval "$ac_link") 2>conftest.er1
27641 ac_status=$?
27642 grep -v '^ *+' conftest.er1 >conftest.err
27643 rm -f conftest.er1
27644 cat conftest.err >&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } && {
27647 test -z "$ac_c_werror_flag" ||
27648 test ! -s conftest.err
27649 } && test -s conftest$ac_exeext &&
27650 $as_test_x conftest$ac_exeext; then
27651 eval "$as_ac_var=yes"
27652 else
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.$ac_ext >&5
27655
27656 eval "$as_ac_var=no"
27657 fi
27658
27659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27660 conftest$ac_exeext conftest.$ac_ext
27661 fi
27662 ac_res=`eval echo '${'$as_ac_var'}'`
27663 { echo "$as_me:$LINENO: result: $ac_res" >&5
27664 echo "${ECHO_T}$ac_res" >&6; }
27665 if test `eval echo '${'$as_ac_var'}'` = yes; then
27666 cat >>confdefs.h <<_ACEOF
27667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27668 _ACEOF
27669 have_sin=1
27670 fi
27671 done
27672
27673
27674 for ac_func in ceil
27675 do
27676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27680 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 else
27682 cat >conftest.$ac_ext <<_ACEOF
27683 /* confdefs.h. */
27684 _ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27690 #define $ac_func innocuous_$ac_func
27691
27692 /* System header to define __stub macros and hopefully few prototypes,
27693 which can conflict with char $ac_func (); below.
27694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27695 <limits.h> exists even on freestanding compilers. */
27696
27697 #ifdef __STDC__
27698 # include <limits.h>
27699 #else
27700 # include <assert.h>
27701 #endif
27702
27703 #undef $ac_func
27704
27705 /* Override any GCC internal prototype to avoid an error.
27706 Use char because int might match the return type of a GCC
27707 builtin and then its argument prototype would still apply. */
27708 #ifdef __cplusplus
27709 extern "C"
27710 #endif
27711 char $ac_func ();
27712 /* The GNU C library defines this for functions which it implements
27713 to always fail with ENOSYS. Some functions are actually named
27714 something starting with __ and the normal name is an alias. */
27715 #if defined __stub_$ac_func || defined __stub___$ac_func
27716 choke me
27717 #endif
27718
27719 int
27720 main ()
27721 {
27722 return $ac_func ();
27723 ;
27724 return 0;
27725 }
27726 _ACEOF
27727 rm -f conftest.$ac_objext conftest$ac_exeext
27728 if { (ac_try="$ac_link"
27729 case "(($ac_try" in
27730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27731 *) ac_try_echo=$ac_try;;
27732 esac
27733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27734 (eval "$ac_link") 2>conftest.er1
27735 ac_status=$?
27736 grep -v '^ *+' conftest.er1 >conftest.err
27737 rm -f conftest.er1
27738 cat conftest.err >&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); } && {
27741 test -z "$ac_c_werror_flag" ||
27742 test ! -s conftest.err
27743 } && test -s conftest$ac_exeext &&
27744 $as_test_x conftest$ac_exeext; then
27745 eval "$as_ac_var=yes"
27746 else
27747 echo "$as_me: failed program was:" >&5
27748 sed 's/^/| /' conftest.$ac_ext >&5
27749
27750 eval "$as_ac_var=no"
27751 fi
27752
27753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27754 conftest$ac_exeext conftest.$ac_ext
27755 fi
27756 ac_res=`eval echo '${'$as_ac_var'}'`
27757 { echo "$as_me:$LINENO: result: $ac_res" >&5
27758 echo "${ECHO_T}$ac_res" >&6; }
27759 if test `eval echo '${'$as_ac_var'}'` = yes; then
27760 cat >>confdefs.h <<_ACEOF
27761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27762 _ACEOF
27763 have_ceil=1
27764 fi
27765 done
27766
27767 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27768 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27769 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27770 { echo "$as_me:$LINENO: result: yes" >&5
27771 echo "${ECHO_T}yes" >&6; }
27772 else
27773 { echo "$as_me:$LINENO: result: no" >&5
27774 echo "${ECHO_T}no" >&6; }
27775 # not sure we should warn the user, crash, etc.
27776 fi
27777 fi
27778
27779 ac_ext=cpp
27780 ac_cpp='$CXXCPP $CPPFLAGS'
27781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27784
27785 if test "wxUSE_UNICODE" = "yes"; then
27786
27787 for wx_func in wcstoull
27788 do
27789 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27790 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27791 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27792 echo $ECHO_N "(cached) $ECHO_C" >&6
27793 else
27794
27795 cat >conftest.$ac_ext <<_ACEOF
27796
27797 /* confdefs.h. */
27798 _ACEOF
27799 cat confdefs.h >>conftest.$ac_ext
27800 cat >>conftest.$ac_ext <<_ACEOF
27801 /* end confdefs.h. */
27802
27803
27804 $ac_includes_default
27805
27806 int
27807 main ()
27808 {
27809
27810 #ifndef $wx_func
27811 &$wx_func;
27812 #endif
27813
27814
27815 ;
27816 return 0;
27817 }
27818
27819 _ACEOF
27820 rm -f conftest.$ac_objext conftest$ac_exeext
27821 if { (ac_try="$ac_link"
27822 case "(($ac_try" in
27823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27824 *) ac_try_echo=$ac_try;;
27825 esac
27826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27827 (eval "$ac_link") 2>conftest.er1
27828 ac_status=$?
27829 grep -v '^ *+' conftest.er1 >conftest.err
27830 rm -f conftest.er1
27831 cat conftest.err >&5
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); } && {
27834 test -z "$ac_cxx_werror_flag" ||
27835 test ! -s conftest.err
27836 } && test -s conftest$ac_exeext &&
27837 $as_test_x conftest$ac_exeext; then
27838 eval wx_cv_func_$wx_func=yes
27839 else
27840 echo "$as_me: failed program was:" >&5
27841 sed 's/^/| /' conftest.$ac_ext >&5
27842
27843 eval wx_cv_func_$wx_func=no
27844 fi
27845
27846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27847 conftest$ac_exeext conftest.$ac_ext
27848
27849 fi
27850 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27851 { echo "$as_me:$LINENO: result: $ac_res" >&5
27852 echo "${ECHO_T}$ac_res" >&6; }
27853
27854 if eval test \$wx_cv_func_$wx_func = yes
27855 then
27856 cat >>confdefs.h <<_ACEOF
27857 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27858 _ACEOF
27859
27860
27861 else
27862 :
27863
27864 fi
27865 done
27866
27867 else
27868
27869 for wx_func in strtoull
27870 do
27871 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27872 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27873 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27875 else
27876
27877 cat >conftest.$ac_ext <<_ACEOF
27878
27879 /* confdefs.h. */
27880 _ACEOF
27881 cat confdefs.h >>conftest.$ac_ext
27882 cat >>conftest.$ac_ext <<_ACEOF
27883 /* end confdefs.h. */
27884
27885
27886 $ac_includes_default
27887
27888 int
27889 main ()
27890 {
27891
27892 #ifndef $wx_func
27893 &$wx_func;
27894 #endif
27895
27896
27897 ;
27898 return 0;
27899 }
27900
27901 _ACEOF
27902 rm -f conftest.$ac_objext conftest$ac_exeext
27903 if { (ac_try="$ac_link"
27904 case "(($ac_try" in
27905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27906 *) ac_try_echo=$ac_try;;
27907 esac
27908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27909 (eval "$ac_link") 2>conftest.er1
27910 ac_status=$?
27911 grep -v '^ *+' conftest.er1 >conftest.err
27912 rm -f conftest.er1
27913 cat conftest.err >&5
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); } && {
27916 test -z "$ac_cxx_werror_flag" ||
27917 test ! -s conftest.err
27918 } && test -s conftest$ac_exeext &&
27919 $as_test_x conftest$ac_exeext; then
27920 eval wx_cv_func_$wx_func=yes
27921 else
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.$ac_ext >&5
27924
27925 eval wx_cv_func_$wx_func=no
27926 fi
27927
27928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27929 conftest$ac_exeext conftest.$ac_ext
27930
27931 fi
27932 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27933 { echo "$as_me:$LINENO: result: $ac_res" >&5
27934 echo "${ECHO_T}$ac_res" >&6; }
27935
27936 if eval test \$wx_cv_func_$wx_func = yes
27937 then
27938 cat >>confdefs.h <<_ACEOF
27939 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27940 _ACEOF
27941
27942
27943 else
27944 :
27945
27946 fi
27947 done
27948
27949 fi
27950 ac_ext=c
27951 ac_cpp='$CPP $CPPFLAGS'
27952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27955
27956
27957
27958
27959 if test "$wxUSE_REGEX" != "no"; then
27960 cat >>confdefs.h <<\_ACEOF
27961 #define wxUSE_REGEX 1
27962 _ACEOF
27963
27964
27965 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27966 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27967 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27968 wxUSE_REGEX=builtin
27969 fi
27970
27971 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27972 { echo "$as_me:$LINENO: checking for regex.h" >&5
27973 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27974 if test "${ac_cv_header_regex_h+set}" = set; then
27975 echo $ECHO_N "(cached) $ECHO_C" >&6
27976 else
27977 cat >conftest.$ac_ext <<_ACEOF
27978 /* confdefs.h. */
27979 _ACEOF
27980 cat confdefs.h >>conftest.$ac_ext
27981 cat >>conftest.$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27983
27984
27985 #include <regex.h>
27986 _ACEOF
27987 rm -f conftest.$ac_objext
27988 if { (ac_try="$ac_compile"
27989 case "(($ac_try" in
27990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27991 *) ac_try_echo=$ac_try;;
27992 esac
27993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27994 (eval "$ac_compile") 2>conftest.er1
27995 ac_status=$?
27996 grep -v '^ *+' conftest.er1 >conftest.err
27997 rm -f conftest.er1
27998 cat conftest.err >&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } && {
28001 test -z "$ac_c_werror_flag" ||
28002 test ! -s conftest.err
28003 } && test -s conftest.$ac_objext; then
28004 ac_cv_header_regex_h=yes
28005 else
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.$ac_ext >&5
28008
28009 ac_cv_header_regex_h=no
28010 fi
28011
28012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28013 fi
28014 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28015 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28016 if test $ac_cv_header_regex_h = yes; then
28017
28018
28019 for ac_func in regcomp re_search
28020 do
28021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28025 echo $ECHO_N "(cached) $ECHO_C" >&6
28026 else
28027 cat >conftest.$ac_ext <<_ACEOF
28028 /* confdefs.h. */
28029 _ACEOF
28030 cat confdefs.h >>conftest.$ac_ext
28031 cat >>conftest.$ac_ext <<_ACEOF
28032 /* end confdefs.h. */
28033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28035 #define $ac_func innocuous_$ac_func
28036
28037 /* System header to define __stub macros and hopefully few prototypes,
28038 which can conflict with char $ac_func (); below.
28039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28040 <limits.h> exists even on freestanding compilers. */
28041
28042 #ifdef __STDC__
28043 # include <limits.h>
28044 #else
28045 # include <assert.h>
28046 #endif
28047
28048 #undef $ac_func
28049
28050 /* Override any GCC internal prototype to avoid an error.
28051 Use char because int might match the return type of a GCC
28052 builtin and then its argument prototype would still apply. */
28053 #ifdef __cplusplus
28054 extern "C"
28055 #endif
28056 char $ac_func ();
28057 /* The GNU C library defines this for functions which it implements
28058 to always fail with ENOSYS. Some functions are actually named
28059 something starting with __ and the normal name is an alias. */
28060 #if defined __stub_$ac_func || defined __stub___$ac_func
28061 choke me
28062 #endif
28063
28064 int
28065 main ()
28066 {
28067 return $ac_func ();
28068 ;
28069 return 0;
28070 }
28071 _ACEOF
28072 rm -f conftest.$ac_objext conftest$ac_exeext
28073 if { (ac_try="$ac_link"
28074 case "(($ac_try" in
28075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28076 *) ac_try_echo=$ac_try;;
28077 esac
28078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28079 (eval "$ac_link") 2>conftest.er1
28080 ac_status=$?
28081 grep -v '^ *+' conftest.er1 >conftest.err
28082 rm -f conftest.er1
28083 cat conftest.err >&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } && {
28086 test -z "$ac_c_werror_flag" ||
28087 test ! -s conftest.err
28088 } && test -s conftest$ac_exeext &&
28089 $as_test_x conftest$ac_exeext; then
28090 eval "$as_ac_var=yes"
28091 else
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.$ac_ext >&5
28094
28095 eval "$as_ac_var=no"
28096 fi
28097
28098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28099 conftest$ac_exeext conftest.$ac_ext
28100 fi
28101 ac_res=`eval echo '${'$as_ac_var'}'`
28102 { echo "$as_me:$LINENO: result: $ac_res" >&5
28103 echo "${ECHO_T}$ac_res" >&6; }
28104 if test `eval echo '${'$as_ac_var'}'` = yes; then
28105 cat >>confdefs.h <<_ACEOF
28106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28107 _ACEOF
28108
28109 fi
28110 done
28111
28112 fi
28113
28114
28115
28116 if test "x$ac_cv_func_regcomp" != "xyes"; then
28117 if test "$wxUSE_REGEX" = "sys" ; then
28118 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28119 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28120 { (exit 1); exit 1; }; }
28121 else
28122 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28123 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28124 wxUSE_REGEX=builtin
28125 fi
28126 else
28127 wxUSE_REGEX=sys
28128 cat >>confdefs.h <<\_ACEOF
28129 #define WX_NO_REGEX_ADVANCED 1
28130 _ACEOF
28131
28132 fi
28133 fi
28134 fi
28135
28136
28137 ZLIB_LINK=
28138 if test "$wxUSE_ZLIB" != "no" ; then
28139 cat >>confdefs.h <<\_ACEOF
28140 #define wxUSE_ZLIB 1
28141 _ACEOF
28142
28143
28144 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28145 if test "$USE_DARWIN" = 1; then
28146 system_zlib_h_ok="yes"
28147 else
28148 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28149 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28150 if test "${ac_cv_header_zlib_h+set}" = set; then
28151 echo $ECHO_N "(cached) $ECHO_C" >&6
28152 else
28153 if test "$cross_compiling" = yes; then
28154 unset ac_cv_header_zlib_h
28155
28156 else
28157 cat >conftest.$ac_ext <<_ACEOF
28158 /* confdefs.h. */
28159 _ACEOF
28160 cat confdefs.h >>conftest.$ac_ext
28161 cat >>conftest.$ac_ext <<_ACEOF
28162 /* end confdefs.h. */
28163
28164 #include <zlib.h>
28165 #include <stdio.h>
28166
28167 int main()
28168 {
28169 FILE *f=fopen("conftestval", "w");
28170 if (!f) exit(1);
28171 fprintf(f, "%s",
28172 ZLIB_VERSION[0] == '1' &&
28173 (ZLIB_VERSION[2] > '1' ||
28174 (ZLIB_VERSION[2] == '1' &&
28175 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28176 exit(0);
28177 }
28178
28179 _ACEOF
28180 rm -f conftest$ac_exeext
28181 if { (ac_try="$ac_link"
28182 case "(($ac_try" in
28183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28184 *) ac_try_echo=$ac_try;;
28185 esac
28186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28187 (eval "$ac_link") 2>&5
28188 ac_status=$?
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28191 { (case "(($ac_try" in
28192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28193 *) ac_try_echo=$ac_try;;
28194 esac
28195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28196 (eval "$ac_try") 2>&5
28197 ac_status=$?
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); }; }; then
28200 ac_cv_header_zlib_h=`cat conftestval`
28201 else
28202 echo "$as_me: program exited with status $ac_status" >&5
28203 echo "$as_me: failed program was:" >&5
28204 sed 's/^/| /' conftest.$ac_ext >&5
28205
28206 ( exit $ac_status )
28207 ac_cv_header_zlib_h=no
28208 fi
28209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28210 fi
28211
28212
28213
28214 fi
28215 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28216 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28217 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28218 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28219 if test "${ac_cv_header_zlib_h+set}" = set; then
28220 echo $ECHO_N "(cached) $ECHO_C" >&6
28221 else
28222 cat >conftest.$ac_ext <<_ACEOF
28223 /* confdefs.h. */
28224 _ACEOF
28225 cat confdefs.h >>conftest.$ac_ext
28226 cat >>conftest.$ac_ext <<_ACEOF
28227 /* end confdefs.h. */
28228
28229
28230 #include <zlib.h>
28231 _ACEOF
28232 rm -f conftest.$ac_objext
28233 if { (ac_try="$ac_compile"
28234 case "(($ac_try" in
28235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28236 *) ac_try_echo=$ac_try;;
28237 esac
28238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28239 (eval "$ac_compile") 2>conftest.er1
28240 ac_status=$?
28241 grep -v '^ *+' conftest.er1 >conftest.err
28242 rm -f conftest.er1
28243 cat conftest.err >&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } && {
28246 test -z "$ac_c_werror_flag" ||
28247 test ! -s conftest.err
28248 } && test -s conftest.$ac_objext; then
28249 ac_cv_header_zlib_h=yes
28250 else
28251 echo "$as_me: failed program was:" >&5
28252 sed 's/^/| /' conftest.$ac_ext >&5
28253
28254 ac_cv_header_zlib_h=no
28255 fi
28256
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258 fi
28259 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28260 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28261
28262
28263
28264 system_zlib_h_ok=$ac_cv_header_zlib_h
28265 fi
28266
28267 if test "$system_zlib_h_ok" = "yes"; then
28268 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28269 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28270 if test "${ac_cv_lib_z_deflate+set}" = set; then
28271 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 else
28273 ac_check_lib_save_LIBS=$LIBS
28274 LIBS="-lz $LIBS"
28275 cat >conftest.$ac_ext <<_ACEOF
28276 /* confdefs.h. */
28277 _ACEOF
28278 cat confdefs.h >>conftest.$ac_ext
28279 cat >>conftest.$ac_ext <<_ACEOF
28280 /* end confdefs.h. */
28281
28282 /* Override any GCC internal prototype to avoid an error.
28283 Use char because int might match the return type of a GCC
28284 builtin and then its argument prototype would still apply. */
28285 #ifdef __cplusplus
28286 extern "C"
28287 #endif
28288 char deflate ();
28289 int
28290 main ()
28291 {
28292 return deflate ();
28293 ;
28294 return 0;
28295 }
28296 _ACEOF
28297 rm -f conftest.$ac_objext conftest$ac_exeext
28298 if { (ac_try="$ac_link"
28299 case "(($ac_try" in
28300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28301 *) ac_try_echo=$ac_try;;
28302 esac
28303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28304 (eval "$ac_link") 2>conftest.er1
28305 ac_status=$?
28306 grep -v '^ *+' conftest.er1 >conftest.err
28307 rm -f conftest.er1
28308 cat conftest.err >&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); } && {
28311 test -z "$ac_c_werror_flag" ||
28312 test ! -s conftest.err
28313 } && test -s conftest$ac_exeext &&
28314 $as_test_x conftest$ac_exeext; then
28315 ac_cv_lib_z_deflate=yes
28316 else
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.$ac_ext >&5
28319
28320 ac_cv_lib_z_deflate=no
28321 fi
28322
28323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28324 conftest$ac_exeext conftest.$ac_ext
28325 LIBS=$ac_check_lib_save_LIBS
28326 fi
28327 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28328 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28329 if test $ac_cv_lib_z_deflate = yes; then
28330 ZLIB_LINK=" -lz"
28331 fi
28332
28333 fi
28334
28335 if test "x$ZLIB_LINK" = "x" ; then
28336 if test "$wxUSE_ZLIB" = "sys" ; then
28337 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28338 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28339 { (exit 1); exit 1; }; }
28340 else
28341 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28342 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28343 wxUSE_ZLIB=builtin
28344 fi
28345 else
28346 wxUSE_ZLIB=sys
28347 fi
28348 fi
28349 fi
28350
28351
28352 PNG_LINK=
28353 if test "$wxUSE_LIBPNG" != "no" ; then
28354 cat >>confdefs.h <<\_ACEOF
28355 #define wxUSE_LIBPNG 1
28356 _ACEOF
28357
28358
28359 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28360 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28361 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28362 wxUSE_LIBPNG=sys
28363 fi
28364
28365 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28366 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28367 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28368 wxUSE_LIBPNG=builtin
28369 fi
28370
28371 if test "$wxUSE_MGL" != 1 ; then
28372 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28373 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28374 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28375 if test "${ac_cv_header_png_h+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28377 else
28378 if test "$cross_compiling" = yes; then
28379 unset ac_cv_header_png_h
28380
28381 else
28382 cat >conftest.$ac_ext <<_ACEOF
28383 /* confdefs.h. */
28384 _ACEOF
28385 cat confdefs.h >>conftest.$ac_ext
28386 cat >>conftest.$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28388
28389 #include <png.h>
28390 #include <stdio.h>
28391
28392 int main()
28393 {
28394 FILE *f=fopen("conftestval", "w");
28395 if (!f) exit(1);
28396 fprintf(f, "%s",
28397 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28398 exit(0);
28399 }
28400
28401 _ACEOF
28402 rm -f conftest$ac_exeext
28403 if { (ac_try="$ac_link"
28404 case "(($ac_try" in
28405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28406 *) ac_try_echo=$ac_try;;
28407 esac
28408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28409 (eval "$ac_link") 2>&5
28410 ac_status=$?
28411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28413 { (case "(($ac_try" in
28414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28415 *) ac_try_echo=$ac_try;;
28416 esac
28417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418 (eval "$ac_try") 2>&5
28419 ac_status=$?
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); }; }; then
28422 ac_cv_header_png_h=`cat conftestval`
28423 else
28424 echo "$as_me: program exited with status $ac_status" >&5
28425 echo "$as_me: failed program was:" >&5
28426 sed 's/^/| /' conftest.$ac_ext >&5
28427
28428 ( exit $ac_status )
28429 ac_cv_header_png_h=no
28430 fi
28431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28432 fi
28433
28434
28435
28436 fi
28437 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28438 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28439 { echo "$as_me:$LINENO: checking for png.h" >&5
28440 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28441 if test "${ac_cv_header_png_h+set}" = set; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28443 else
28444 cat >conftest.$ac_ext <<_ACEOF
28445 /* confdefs.h. */
28446 _ACEOF
28447 cat confdefs.h >>conftest.$ac_ext
28448 cat >>conftest.$ac_ext <<_ACEOF
28449 /* end confdefs.h. */
28450
28451
28452 #include <png.h>
28453 _ACEOF
28454 rm -f conftest.$ac_objext
28455 if { (ac_try="$ac_compile"
28456 case "(($ac_try" in
28457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28458 *) ac_try_echo=$ac_try;;
28459 esac
28460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28461 (eval "$ac_compile") 2>conftest.er1
28462 ac_status=$?
28463 grep -v '^ *+' conftest.er1 >conftest.err
28464 rm -f conftest.er1
28465 cat conftest.err >&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); } && {
28468 test -z "$ac_c_werror_flag" ||
28469 test ! -s conftest.err
28470 } && test -s conftest.$ac_objext; then
28471 ac_cv_header_png_h=yes
28472 else
28473 echo "$as_me: failed program was:" >&5
28474 sed 's/^/| /' conftest.$ac_ext >&5
28475
28476 ac_cv_header_png_h=no
28477 fi
28478
28479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28480 fi
28481 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28482 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28483
28484
28485
28486 if test "$ac_cv_header_png_h" = "yes"; then
28487 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28488 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28489 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28490 echo $ECHO_N "(cached) $ECHO_C" >&6
28491 else
28492 ac_check_lib_save_LIBS=$LIBS
28493 LIBS="-lpng -lz -lm $LIBS"
28494 cat >conftest.$ac_ext <<_ACEOF
28495 /* confdefs.h. */
28496 _ACEOF
28497 cat confdefs.h >>conftest.$ac_ext
28498 cat >>conftest.$ac_ext <<_ACEOF
28499 /* end confdefs.h. */
28500
28501 /* Override any GCC internal prototype to avoid an error.
28502 Use char because int might match the return type of a GCC
28503 builtin and then its argument prototype would still apply. */
28504 #ifdef __cplusplus
28505 extern "C"
28506 #endif
28507 char png_check_sig ();
28508 int
28509 main ()
28510 {
28511 return png_check_sig ();
28512 ;
28513 return 0;
28514 }
28515 _ACEOF
28516 rm -f conftest.$ac_objext conftest$ac_exeext
28517 if { (ac_try="$ac_link"
28518 case "(($ac_try" in
28519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28520 *) ac_try_echo=$ac_try;;
28521 esac
28522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28523 (eval "$ac_link") 2>conftest.er1
28524 ac_status=$?
28525 grep -v '^ *+' conftest.er1 >conftest.err
28526 rm -f conftest.er1
28527 cat conftest.err >&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } && {
28530 test -z "$ac_c_werror_flag" ||
28531 test ! -s conftest.err
28532 } && test -s conftest$ac_exeext &&
28533 $as_test_x conftest$ac_exeext; then
28534 ac_cv_lib_png_png_check_sig=yes
28535 else
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28538
28539 ac_cv_lib_png_png_check_sig=no
28540 fi
28541
28542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28543 conftest$ac_exeext conftest.$ac_ext
28544 LIBS=$ac_check_lib_save_LIBS
28545 fi
28546 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28547 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28548 if test $ac_cv_lib_png_png_check_sig = yes; then
28549 PNG_LINK=" -lpng -lz"
28550 fi
28551
28552 fi
28553
28554 if test "x$PNG_LINK" = "x" ; then
28555 if test "$wxUSE_LIBPNG" = "sys" ; then
28556 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28557 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28558 { (exit 1); exit 1; }; }
28559 else
28560 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28561 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28562 wxUSE_LIBPNG=builtin
28563 fi
28564 else
28565 wxUSE_LIBPNG=sys
28566 fi
28567 fi
28568 fi
28569
28570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28571 fi
28572
28573
28574 JPEG_LINK=
28575 if test "$wxUSE_LIBJPEG" != "no" ; then
28576 cat >>confdefs.h <<\_ACEOF
28577 #define wxUSE_LIBJPEG 1
28578 _ACEOF
28579
28580
28581 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28582 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28583 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28584 wxUSE_LIBJPEG=sys
28585 fi
28586
28587 if test "$wxUSE_MGL" != 1 ; then
28588 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28589 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28590 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28591 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28593 else
28594 cat >conftest.$ac_ext <<_ACEOF
28595 /* confdefs.h. */
28596 _ACEOF
28597 cat confdefs.h >>conftest.$ac_ext
28598 cat >>conftest.$ac_ext <<_ACEOF
28599 /* end confdefs.h. */
28600
28601 #undef HAVE_STDLIB_H
28602 #include <stdio.h>
28603 #include <jpeglib.h>
28604
28605 int
28606 main ()
28607 {
28608
28609
28610 ;
28611 return 0;
28612 }
28613 _ACEOF
28614 rm -f conftest.$ac_objext
28615 if { (ac_try="$ac_compile"
28616 case "(($ac_try" in
28617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28618 *) ac_try_echo=$ac_try;;
28619 esac
28620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28621 (eval "$ac_compile") 2>conftest.er1
28622 ac_status=$?
28623 grep -v '^ *+' conftest.er1 >conftest.err
28624 rm -f conftest.er1
28625 cat conftest.err >&5
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); } && {
28628 test -z "$ac_c_werror_flag" ||
28629 test ! -s conftest.err
28630 } && test -s conftest.$ac_objext; then
28631 ac_cv_header_jpeglib_h=yes
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28635
28636 ac_cv_header_jpeglib_h=no
28637
28638 fi
28639
28640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28641
28642 fi
28643
28644 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28645 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28646
28647 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28648 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28649 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28650 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28651 echo $ECHO_N "(cached) $ECHO_C" >&6
28652 else
28653 ac_check_lib_save_LIBS=$LIBS
28654 LIBS="-ljpeg $LIBS"
28655 cat >conftest.$ac_ext <<_ACEOF
28656 /* confdefs.h. */
28657 _ACEOF
28658 cat confdefs.h >>conftest.$ac_ext
28659 cat >>conftest.$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28661
28662 /* Override any GCC internal prototype to avoid an error.
28663 Use char because int might match the return type of a GCC
28664 builtin and then its argument prototype would still apply. */
28665 #ifdef __cplusplus
28666 extern "C"
28667 #endif
28668 char jpeg_read_header ();
28669 int
28670 main ()
28671 {
28672 return jpeg_read_header ();
28673 ;
28674 return 0;
28675 }
28676 _ACEOF
28677 rm -f conftest.$ac_objext conftest$ac_exeext
28678 if { (ac_try="$ac_link"
28679 case "(($ac_try" in
28680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28681 *) ac_try_echo=$ac_try;;
28682 esac
28683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28684 (eval "$ac_link") 2>conftest.er1
28685 ac_status=$?
28686 grep -v '^ *+' conftest.er1 >conftest.err
28687 rm -f conftest.er1
28688 cat conftest.err >&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } && {
28691 test -z "$ac_c_werror_flag" ||
28692 test ! -s conftest.err
28693 } && test -s conftest$ac_exeext &&
28694 $as_test_x conftest$ac_exeext; then
28695 ac_cv_lib_jpeg_jpeg_read_header=yes
28696 else
28697 echo "$as_me: failed program was:" >&5
28698 sed 's/^/| /' conftest.$ac_ext >&5
28699
28700 ac_cv_lib_jpeg_jpeg_read_header=no
28701 fi
28702
28703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28704 conftest$ac_exeext conftest.$ac_ext
28705 LIBS=$ac_check_lib_save_LIBS
28706 fi
28707 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28708 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28709 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28710 JPEG_LINK=" -ljpeg"
28711 fi
28712
28713 fi
28714
28715 if test "x$JPEG_LINK" = "x" ; then
28716 if test "$wxUSE_LIBJPEG" = "sys" ; then
28717 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28718 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28719 { (exit 1); exit 1; }; }
28720 else
28721 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28722 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28723 wxUSE_LIBJPEG=builtin
28724 fi
28725 else
28726 wxUSE_LIBJPEG=sys
28727
28728 if test "$wxUSE_MSW" = 1; then
28729 { echo "$as_me:$LINENO: checking for boolean" >&5
28730 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28731 if test "${ac_cv_type_boolean+set}" = set; then
28732 echo $ECHO_N "(cached) $ECHO_C" >&6
28733 else
28734 cat >conftest.$ac_ext <<_ACEOF
28735 /* confdefs.h. */
28736 _ACEOF
28737 cat confdefs.h >>conftest.$ac_ext
28738 cat >>conftest.$ac_ext <<_ACEOF
28739 /* end confdefs.h. */
28740 #include <windows.h>
28741
28742 typedef boolean ac__type_new_;
28743 int
28744 main ()
28745 {
28746 if ((ac__type_new_ *) 0)
28747 return 0;
28748 if (sizeof (ac__type_new_))
28749 return 0;
28750 ;
28751 return 0;
28752 }
28753 _ACEOF
28754 rm -f conftest.$ac_objext
28755 if { (ac_try="$ac_compile"
28756 case "(($ac_try" in
28757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28758 *) ac_try_echo=$ac_try;;
28759 esac
28760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28761 (eval "$ac_compile") 2>conftest.er1
28762 ac_status=$?
28763 grep -v '^ *+' conftest.er1 >conftest.err
28764 rm -f conftest.er1
28765 cat conftest.err >&5
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); } && {
28768 test -z "$ac_c_werror_flag" ||
28769 test ! -s conftest.err
28770 } && test -s conftest.$ac_objext; then
28771 ac_cv_type_boolean=yes
28772 else
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.$ac_ext >&5
28775
28776 ac_cv_type_boolean=no
28777 fi
28778
28779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28780 fi
28781 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28782 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28783 if test $ac_cv_type_boolean = yes; then
28784
28785 cat >>confdefs.h <<_ACEOF
28786 #define HAVE_BOOLEAN 1
28787 _ACEOF
28788
28789
28790 { echo "$as_me:$LINENO: checking for boolean" >&5
28791 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28792 if test "${ac_cv_type_boolean+set}" = set; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28794 else
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h. */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801
28802 #undef HAVE_BOOLEAN
28803 #include <stdio.h>
28804 #include <jpeglib.h>
28805
28806
28807 typedef boolean ac__type_new_;
28808 int
28809 main ()
28810 {
28811 if ((ac__type_new_ *) 0)
28812 return 0;
28813 if (sizeof (ac__type_new_))
28814 return 0;
28815 ;
28816 return 0;
28817 }
28818 _ACEOF
28819 rm -f conftest.$ac_objext
28820 if { (ac_try="$ac_compile"
28821 case "(($ac_try" in
28822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28823 *) ac_try_echo=$ac_try;;
28824 esac
28825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28826 (eval "$ac_compile") 2>conftest.er1
28827 ac_status=$?
28828 grep -v '^ *+' conftest.er1 >conftest.err
28829 rm -f conftest.er1
28830 cat conftest.err >&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); } && {
28833 test -z "$ac_c_werror_flag" ||
28834 test ! -s conftest.err
28835 } && test -s conftest.$ac_objext; then
28836 ac_cv_type_boolean=yes
28837 else
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.$ac_ext >&5
28840
28841 ac_cv_type_boolean=no
28842 fi
28843
28844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28845 fi
28846 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28847 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28848
28849 # The cast to long int works around a bug in the HP C Compiler
28850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28852 # This bug is HP SR number 8606223364.
28853 { echo "$as_me:$LINENO: checking size of boolean" >&5
28854 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28855 if test "${ac_cv_sizeof_boolean+set}" = set; then
28856 echo $ECHO_N "(cached) $ECHO_C" >&6
28857 else
28858 if test "$cross_compiling" = yes; then
28859 # Depending upon the size, compute the lo and hi bounds.
28860 cat >conftest.$ac_ext <<_ACEOF
28861 /* confdefs.h. */
28862 _ACEOF
28863 cat confdefs.h >>conftest.$ac_ext
28864 cat >>conftest.$ac_ext <<_ACEOF
28865 /* end confdefs.h. */
28866
28867 #undef HAVE_BOOLEAN
28868 #include <stdio.h>
28869 #include <jpeglib.h>
28870
28871
28872 typedef boolean ac__type_sizeof_;
28873 int
28874 main ()
28875 {
28876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28877 test_array [0] = 0
28878
28879 ;
28880 return 0;
28881 }
28882 _ACEOF
28883 rm -f conftest.$ac_objext
28884 if { (ac_try="$ac_compile"
28885 case "(($ac_try" in
28886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28887 *) ac_try_echo=$ac_try;;
28888 esac
28889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28890 (eval "$ac_compile") 2>conftest.er1
28891 ac_status=$?
28892 grep -v '^ *+' conftest.er1 >conftest.err
28893 rm -f conftest.er1
28894 cat conftest.err >&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } && {
28897 test -z "$ac_c_werror_flag" ||
28898 test ! -s conftest.err
28899 } && test -s conftest.$ac_objext; then
28900 ac_lo=0 ac_mid=0
28901 while :; do
28902 cat >conftest.$ac_ext <<_ACEOF
28903 /* confdefs.h. */
28904 _ACEOF
28905 cat confdefs.h >>conftest.$ac_ext
28906 cat >>conftest.$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28908
28909 #undef HAVE_BOOLEAN
28910 #include <stdio.h>
28911 #include <jpeglib.h>
28912
28913
28914 typedef boolean ac__type_sizeof_;
28915 int
28916 main ()
28917 {
28918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28919 test_array [0] = 0
28920
28921 ;
28922 return 0;
28923 }
28924 _ACEOF
28925 rm -f conftest.$ac_objext
28926 if { (ac_try="$ac_compile"
28927 case "(($ac_try" in
28928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28929 *) ac_try_echo=$ac_try;;
28930 esac
28931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28932 (eval "$ac_compile") 2>conftest.er1
28933 ac_status=$?
28934 grep -v '^ *+' conftest.er1 >conftest.err
28935 rm -f conftest.er1
28936 cat conftest.err >&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } && {
28939 test -z "$ac_c_werror_flag" ||
28940 test ! -s conftest.err
28941 } && test -s conftest.$ac_objext; then
28942 ac_hi=$ac_mid; break
28943 else
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28946
28947 ac_lo=`expr $ac_mid + 1`
28948 if test $ac_lo -le $ac_mid; then
28949 ac_lo= ac_hi=
28950 break
28951 fi
28952 ac_mid=`expr 2 '*' $ac_mid + 1`
28953 fi
28954
28955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28956 done
28957 else
28958 echo "$as_me: failed program was:" >&5
28959 sed 's/^/| /' conftest.$ac_ext >&5
28960
28961 cat >conftest.$ac_ext <<_ACEOF
28962 /* confdefs.h. */
28963 _ACEOF
28964 cat confdefs.h >>conftest.$ac_ext
28965 cat >>conftest.$ac_ext <<_ACEOF
28966 /* end confdefs.h. */
28967
28968 #undef HAVE_BOOLEAN
28969 #include <stdio.h>
28970 #include <jpeglib.h>
28971
28972
28973 typedef boolean ac__type_sizeof_;
28974 int
28975 main ()
28976 {
28977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28978 test_array [0] = 0
28979
28980 ;
28981 return 0;
28982 }
28983 _ACEOF
28984 rm -f conftest.$ac_objext
28985 if { (ac_try="$ac_compile"
28986 case "(($ac_try" in
28987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28988 *) ac_try_echo=$ac_try;;
28989 esac
28990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28991 (eval "$ac_compile") 2>conftest.er1
28992 ac_status=$?
28993 grep -v '^ *+' conftest.er1 >conftest.err
28994 rm -f conftest.er1
28995 cat conftest.err >&5
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); } && {
28998 test -z "$ac_c_werror_flag" ||
28999 test ! -s conftest.err
29000 } && test -s conftest.$ac_objext; then
29001 ac_hi=-1 ac_mid=-1
29002 while :; do
29003 cat >conftest.$ac_ext <<_ACEOF
29004 /* confdefs.h. */
29005 _ACEOF
29006 cat confdefs.h >>conftest.$ac_ext
29007 cat >>conftest.$ac_ext <<_ACEOF
29008 /* end confdefs.h. */
29009
29010 #undef HAVE_BOOLEAN
29011 #include <stdio.h>
29012 #include <jpeglib.h>
29013
29014
29015 typedef boolean ac__type_sizeof_;
29016 int
29017 main ()
29018 {
29019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29020 test_array [0] = 0
29021
29022 ;
29023 return 0;
29024 }
29025 _ACEOF
29026 rm -f conftest.$ac_objext
29027 if { (ac_try="$ac_compile"
29028 case "(($ac_try" in
29029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29030 *) ac_try_echo=$ac_try;;
29031 esac
29032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29033 (eval "$ac_compile") 2>conftest.er1
29034 ac_status=$?
29035 grep -v '^ *+' conftest.er1 >conftest.err
29036 rm -f conftest.er1
29037 cat conftest.err >&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); } && {
29040 test -z "$ac_c_werror_flag" ||
29041 test ! -s conftest.err
29042 } && test -s conftest.$ac_objext; then
29043 ac_lo=$ac_mid; break
29044 else
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.$ac_ext >&5
29047
29048 ac_hi=`expr '(' $ac_mid ')' - 1`
29049 if test $ac_mid -le $ac_hi; then
29050 ac_lo= ac_hi=
29051 break
29052 fi
29053 ac_mid=`expr 2 '*' $ac_mid`
29054 fi
29055
29056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29057 done
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29061
29062 ac_lo= ac_hi=
29063 fi
29064
29065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29066 fi
29067
29068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29069 # Binary search between lo and hi bounds.
29070 while test "x$ac_lo" != "x$ac_hi"; do
29071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29072 cat >conftest.$ac_ext <<_ACEOF
29073 /* confdefs.h. */
29074 _ACEOF
29075 cat confdefs.h >>conftest.$ac_ext
29076 cat >>conftest.$ac_ext <<_ACEOF
29077 /* end confdefs.h. */
29078
29079 #undef HAVE_BOOLEAN
29080 #include <stdio.h>
29081 #include <jpeglib.h>
29082
29083
29084 typedef boolean ac__type_sizeof_;
29085 int
29086 main ()
29087 {
29088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29089 test_array [0] = 0
29090
29091 ;
29092 return 0;
29093 }
29094 _ACEOF
29095 rm -f conftest.$ac_objext
29096 if { (ac_try="$ac_compile"
29097 case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29100 esac
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_compile") 2>conftest.er1
29103 ac_status=$?
29104 grep -v '^ *+' conftest.er1 >conftest.err
29105 rm -f conftest.er1
29106 cat conftest.err >&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } && {
29109 test -z "$ac_c_werror_flag" ||
29110 test ! -s conftest.err
29111 } && test -s conftest.$ac_objext; then
29112 ac_hi=$ac_mid
29113 else
29114 echo "$as_me: failed program was:" >&5
29115 sed 's/^/| /' conftest.$ac_ext >&5
29116
29117 ac_lo=`expr '(' $ac_mid ')' + 1`
29118 fi
29119
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121 done
29122 case $ac_lo in
29123 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29124 '') if test "$ac_cv_type_boolean" = yes; then
29125 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29126 See \`config.log' for more details." >&5
29127 echo "$as_me: error: cannot compute sizeof (boolean)
29128 See \`config.log' for more details." >&2;}
29129 { (exit 77); exit 77; }; }
29130 else
29131 ac_cv_sizeof_boolean=0
29132 fi ;;
29133 esac
29134 else
29135 cat >conftest.$ac_ext <<_ACEOF
29136 /* confdefs.h. */
29137 _ACEOF
29138 cat confdefs.h >>conftest.$ac_ext
29139 cat >>conftest.$ac_ext <<_ACEOF
29140 /* end confdefs.h. */
29141
29142 #undef HAVE_BOOLEAN
29143 #include <stdio.h>
29144 #include <jpeglib.h>
29145
29146
29147 typedef boolean ac__type_sizeof_;
29148 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29149 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29150 #include <stdio.h>
29151 #include <stdlib.h>
29152 int
29153 main ()
29154 {
29155
29156 FILE *f = fopen ("conftest.val", "w");
29157 if (! f)
29158 return 1;
29159 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29160 {
29161 long int i = longval ();
29162 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29163 return 1;
29164 fprintf (f, "%ld\n", i);
29165 }
29166 else
29167 {
29168 unsigned long int i = ulongval ();
29169 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29170 return 1;
29171 fprintf (f, "%lu\n", i);
29172 }
29173 return ferror (f) || fclose (f) != 0;
29174
29175 ;
29176 return 0;
29177 }
29178 _ACEOF
29179 rm -f conftest$ac_exeext
29180 if { (ac_try="$ac_link"
29181 case "(($ac_try" in
29182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29183 *) ac_try_echo=$ac_try;;
29184 esac
29185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29186 (eval "$ac_link") 2>&5
29187 ac_status=$?
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29190 { (case "(($ac_try" in
29191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29192 *) ac_try_echo=$ac_try;;
29193 esac
29194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29195 (eval "$ac_try") 2>&5
29196 ac_status=$?
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); }; }; then
29199 ac_cv_sizeof_boolean=`cat conftest.val`
29200 else
29201 echo "$as_me: program exited with status $ac_status" >&5
29202 echo "$as_me: failed program was:" >&5
29203 sed 's/^/| /' conftest.$ac_ext >&5
29204
29205 ( exit $ac_status )
29206 if test "$ac_cv_type_boolean" = yes; then
29207 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29208 See \`config.log' for more details." >&5
29209 echo "$as_me: error: cannot compute sizeof (boolean)
29210 See \`config.log' for more details." >&2;}
29211 { (exit 77); exit 77; }; }
29212 else
29213 ac_cv_sizeof_boolean=0
29214 fi
29215 fi
29216 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29217 fi
29218 rm -f conftest.val
29219 fi
29220 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29221 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29222
29223
29224
29225 cat >>confdefs.h <<_ACEOF
29226 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29227 _ACEOF
29228
29229
29230 cat >>confdefs.h <<_ACEOF
29231 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29232 _ACEOF
29233
29234
29235 fi
29236
29237 fi
29238 fi
29239 fi
29240 fi
29241 fi
29242
29243
29244 TIFF_LINK=
29245 TIFF_PREREQ_LINKS=-lm
29246 if test "$wxUSE_LIBTIFF" != "no" ; then
29247 cat >>confdefs.h <<\_ACEOF
29248 #define wxUSE_LIBTIFF 1
29249 _ACEOF
29250
29251
29252 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29253 if test "$wxUSE_LIBJPEG" = "sys"; then
29254 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29255 fi
29256 if test "$wxUSE_ZLIB" = "sys"; then
29257 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29258 fi
29259 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29260 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29261 if test "${ac_cv_header_tiffio_h+set}" = set; then
29262 echo $ECHO_N "(cached) $ECHO_C" >&6
29263 else
29264 cat >conftest.$ac_ext <<_ACEOF
29265 /* confdefs.h. */
29266 _ACEOF
29267 cat confdefs.h >>conftest.$ac_ext
29268 cat >>conftest.$ac_ext <<_ACEOF
29269 /* end confdefs.h. */
29270
29271
29272
29273 #include <tiffio.h>
29274 _ACEOF
29275 rm -f conftest.$ac_objext
29276 if { (ac_try="$ac_compile"
29277 case "(($ac_try" in
29278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29279 *) ac_try_echo=$ac_try;;
29280 esac
29281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29282 (eval "$ac_compile") 2>conftest.er1
29283 ac_status=$?
29284 grep -v '^ *+' conftest.er1 >conftest.err
29285 rm -f conftest.er1
29286 cat conftest.err >&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); } && {
29289 test -z "$ac_c_werror_flag" ||
29290 test ! -s conftest.err
29291 } && test -s conftest.$ac_objext; then
29292 ac_cv_header_tiffio_h=yes
29293 else
29294 echo "$as_me: failed program was:" >&5
29295 sed 's/^/| /' conftest.$ac_ext >&5
29296
29297 ac_cv_header_tiffio_h=no
29298 fi
29299
29300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29301 fi
29302 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29303 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29304 if test $ac_cv_header_tiffio_h = yes; then
29305
29306 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29307 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29308 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 else
29311 ac_check_lib_save_LIBS=$LIBS
29312 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29313 cat >conftest.$ac_ext <<_ACEOF
29314 /* confdefs.h. */
29315 _ACEOF
29316 cat confdefs.h >>conftest.$ac_ext
29317 cat >>conftest.$ac_ext <<_ACEOF
29318 /* end confdefs.h. */
29319
29320 /* Override any GCC internal prototype to avoid an error.
29321 Use char because int might match the return type of a GCC
29322 builtin and then its argument prototype would still apply. */
29323 #ifdef __cplusplus
29324 extern "C"
29325 #endif
29326 char TIFFError ();
29327 int
29328 main ()
29329 {
29330 return TIFFError ();
29331 ;
29332 return 0;
29333 }
29334 _ACEOF
29335 rm -f conftest.$ac_objext conftest$ac_exeext
29336 if { (ac_try="$ac_link"
29337 case "(($ac_try" in
29338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29339 *) ac_try_echo=$ac_try;;
29340 esac
29341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29342 (eval "$ac_link") 2>conftest.er1
29343 ac_status=$?
29344 grep -v '^ *+' conftest.er1 >conftest.err
29345 rm -f conftest.er1
29346 cat conftest.err >&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } && {
29349 test -z "$ac_c_werror_flag" ||
29350 test ! -s conftest.err
29351 } && test -s conftest$ac_exeext &&
29352 $as_test_x conftest$ac_exeext; then
29353 ac_cv_lib_tiff_TIFFError=yes
29354 else
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.$ac_ext >&5
29357
29358 ac_cv_lib_tiff_TIFFError=no
29359 fi
29360
29361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29362 conftest$ac_exeext conftest.$ac_ext
29363 LIBS=$ac_check_lib_save_LIBS
29364 fi
29365 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29366 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29367 if test $ac_cv_lib_tiff_TIFFError = yes; then
29368 TIFF_LINK=" -ltiff"
29369 fi
29370
29371
29372 fi
29373
29374
29375
29376 if test "x$TIFF_LINK" = "x" ; then
29377 if test "$wxUSE_LIBTIFF" = "sys" ; then
29378 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29379 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29380 { (exit 1); exit 1; }; }
29381 else
29382 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29383 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29384 wxUSE_LIBTIFF=builtin
29385 fi
29386 else
29387 wxUSE_LIBTIFF=sys
29388 fi
29389 fi
29390 fi
29391
29392
29393 if test "$wxUSE_WCHAR_T" != "yes"; then
29394 if test "$wxUSE_EXPAT" != "no"; then
29395 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29396 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29397 wxUSE_EXPAT=no
29398 fi
29399 if test "$wxUSE_XML" != "no"; then
29400 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29401 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29402 wxUSE_XML=no
29403 fi
29404 fi
29405
29406 if test "$wxUSE_EXPAT" != "no"; then
29407 wxUSE_XML=yes
29408 cat >>confdefs.h <<\_ACEOF
29409 #define wxUSE_EXPAT 1
29410 _ACEOF
29411
29412 cat >>confdefs.h <<\_ACEOF
29413 #define wxUSE_XML 1
29414 _ACEOF
29415
29416
29417 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29418 { echo "$as_me:$LINENO: checking for expat.h" >&5
29419 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29420 if test "${ac_cv_header_expat_h+set}" = set; then
29421 echo $ECHO_N "(cached) $ECHO_C" >&6
29422 else
29423 cat >conftest.$ac_ext <<_ACEOF
29424 /* confdefs.h. */
29425 _ACEOF
29426 cat confdefs.h >>conftest.$ac_ext
29427 cat >>conftest.$ac_ext <<_ACEOF
29428 /* end confdefs.h. */
29429
29430
29431 #include <expat.h>
29432 _ACEOF
29433 rm -f conftest.$ac_objext
29434 if { (ac_try="$ac_compile"
29435 case "(($ac_try" in
29436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29437 *) ac_try_echo=$ac_try;;
29438 esac
29439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29440 (eval "$ac_compile") 2>conftest.er1
29441 ac_status=$?
29442 grep -v '^ *+' conftest.er1 >conftest.err
29443 rm -f conftest.er1
29444 cat conftest.err >&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); } && {
29447 test -z "$ac_c_werror_flag" ||
29448 test ! -s conftest.err
29449 } && test -s conftest.$ac_objext; then
29450 ac_cv_header_expat_h=yes
29451 else
29452 echo "$as_me: failed program was:" >&5
29453 sed 's/^/| /' conftest.$ac_ext >&5
29454
29455 ac_cv_header_expat_h=no
29456 fi
29457
29458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29459 fi
29460 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29461 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29462 if test $ac_cv_header_expat_h = yes; then
29463 found_expat_h=1
29464 fi
29465
29466
29467 if test "x$found_expat_h" = "x1"; then
29468 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29469 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29470 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 else
29473
29474 ac_ext=cpp
29475 ac_cpp='$CXXCPP $CPPFLAGS'
29476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29479
29480 cat >conftest.$ac_ext <<_ACEOF
29481 /* confdefs.h. */
29482 _ACEOF
29483 cat confdefs.h >>conftest.$ac_ext
29484 cat >>conftest.$ac_ext <<_ACEOF
29485 /* end confdefs.h. */
29486 #include <expat.h>
29487 int
29488 main ()
29489 {
29490
29491 ;
29492 return 0;
29493 }
29494 _ACEOF
29495 rm -f conftest.$ac_objext
29496 if { (ac_try="$ac_compile"
29497 case "(($ac_try" in
29498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29499 *) ac_try_echo=$ac_try;;
29500 esac
29501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29502 (eval "$ac_compile") 2>conftest.er1
29503 ac_status=$?
29504 grep -v '^ *+' conftest.er1 >conftest.err
29505 rm -f conftest.er1
29506 cat conftest.err >&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } && {
29509 test -z "$ac_cxx_werror_flag" ||
29510 test ! -s conftest.err
29511 } && test -s conftest.$ac_objext; then
29512 wx_cv_expat_is_not_broken=yes
29513 else
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.$ac_ext >&5
29516
29517 wx_cv_expat_is_not_broken=no
29518
29519 fi
29520
29521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29522 ac_ext=c
29523 ac_cpp='$CPP $CPPFLAGS'
29524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29527
29528
29529
29530 fi
29531 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29532 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29533 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29534 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29535 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29536 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29537 echo $ECHO_N "(cached) $ECHO_C" >&6
29538 else
29539 ac_check_lib_save_LIBS=$LIBS
29540 LIBS="-lexpat $LIBS"
29541 cat >conftest.$ac_ext <<_ACEOF
29542 /* confdefs.h. */
29543 _ACEOF
29544 cat confdefs.h >>conftest.$ac_ext
29545 cat >>conftest.$ac_ext <<_ACEOF
29546 /* end confdefs.h. */
29547
29548 /* Override any GCC internal prototype to avoid an error.
29549 Use char because int might match the return type of a GCC
29550 builtin and then its argument prototype would still apply. */
29551 #ifdef __cplusplus
29552 extern "C"
29553 #endif
29554 char XML_ParserCreate ();
29555 int
29556 main ()
29557 {
29558 return XML_ParserCreate ();
29559 ;
29560 return 0;
29561 }
29562 _ACEOF
29563 rm -f conftest.$ac_objext conftest$ac_exeext
29564 if { (ac_try="$ac_link"
29565 case "(($ac_try" in
29566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29567 *) ac_try_echo=$ac_try;;
29568 esac
29569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29570 (eval "$ac_link") 2>conftest.er1
29571 ac_status=$?
29572 grep -v '^ *+' conftest.er1 >conftest.err
29573 rm -f conftest.er1
29574 cat conftest.err >&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } && {
29577 test -z "$ac_c_werror_flag" ||
29578 test ! -s conftest.err
29579 } && test -s conftest$ac_exeext &&
29580 $as_test_x conftest$ac_exeext; then
29581 ac_cv_lib_expat_XML_ParserCreate=yes
29582 else
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.$ac_ext >&5
29585
29586 ac_cv_lib_expat_XML_ParserCreate=no
29587 fi
29588
29589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29590 conftest$ac_exeext conftest.$ac_ext
29591 LIBS=$ac_check_lib_save_LIBS
29592 fi
29593 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29594 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29595 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29596 EXPAT_LINK=" -lexpat"
29597 fi
29598
29599 fi
29600 fi
29601 if test "x$EXPAT_LINK" = "x" ; then
29602 if test "$wxUSE_EXPAT" = "sys" ; then
29603 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29604 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29605 { (exit 1); exit 1; }; }
29606 else
29607 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29608 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29609 wxUSE_EXPAT=builtin
29610 fi
29611 else
29612 wxUSE_EXPAT=sys
29613 fi
29614 fi
29615 if test "$wxUSE_EXPAT" = "builtin" ; then
29616 subdirs="$subdirs src/expat"
29617
29618 fi
29619 fi
29620
29621
29622
29623 if test "$wxUSE_LIBMSPACK" != "no"; then
29624 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29625 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29626 if test "${ac_cv_header_mspack_h+set}" = set; then
29627 echo $ECHO_N "(cached) $ECHO_C" >&6
29628 else
29629 cat >conftest.$ac_ext <<_ACEOF
29630 /* confdefs.h. */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29635
29636
29637 #include <mspack.h>
29638 _ACEOF
29639 rm -f conftest.$ac_objext
29640 if { (ac_try="$ac_compile"
29641 case "(($ac_try" in
29642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29643 *) ac_try_echo=$ac_try;;
29644 esac
29645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29646 (eval "$ac_compile") 2>conftest.er1
29647 ac_status=$?
29648 grep -v '^ *+' conftest.er1 >conftest.err
29649 rm -f conftest.er1
29650 cat conftest.err >&5
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); } && {
29653 test -z "$ac_c_werror_flag" ||
29654 test ! -s conftest.err
29655 } && test -s conftest.$ac_objext; then
29656 ac_cv_header_mspack_h=yes
29657 else
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.$ac_ext >&5
29660
29661 ac_cv_header_mspack_h=no
29662 fi
29663
29664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29665 fi
29666 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29667 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29668 if test $ac_cv_header_mspack_h = yes; then
29669 found_mspack_h=1
29670 fi
29671
29672
29673 if test "x$found_mspack_h" = "x1"; then
29674 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29675 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29676 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29677 echo $ECHO_N "(cached) $ECHO_C" >&6
29678 else
29679 ac_check_lib_save_LIBS=$LIBS
29680 LIBS="-lmspack $LIBS"
29681 cat >conftest.$ac_ext <<_ACEOF
29682 /* confdefs.h. */
29683 _ACEOF
29684 cat confdefs.h >>conftest.$ac_ext
29685 cat >>conftest.$ac_ext <<_ACEOF
29686 /* end confdefs.h. */
29687
29688 /* Override any GCC internal prototype to avoid an error.
29689 Use char because int might match the return type of a GCC
29690 builtin and then its argument prototype would still apply. */
29691 #ifdef __cplusplus
29692 extern "C"
29693 #endif
29694 char mspack_create_chm_decompressor ();
29695 int
29696 main ()
29697 {
29698 return mspack_create_chm_decompressor ();
29699 ;
29700 return 0;
29701 }
29702 _ACEOF
29703 rm -f conftest.$ac_objext conftest$ac_exeext
29704 if { (ac_try="$ac_link"
29705 case "(($ac_try" in
29706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29707 *) ac_try_echo=$ac_try;;
29708 esac
29709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29710 (eval "$ac_link") 2>conftest.er1
29711 ac_status=$?
29712 grep -v '^ *+' conftest.er1 >conftest.err
29713 rm -f conftest.er1
29714 cat conftest.err >&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } && {
29717 test -z "$ac_c_werror_flag" ||
29718 test ! -s conftest.err
29719 } && test -s conftest$ac_exeext &&
29720 $as_test_x conftest$ac_exeext; then
29721 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29722 else
29723 echo "$as_me: failed program was:" >&5
29724 sed 's/^/| /' conftest.$ac_ext >&5
29725
29726 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29727 fi
29728
29729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29730 conftest$ac_exeext conftest.$ac_ext
29731 LIBS=$ac_check_lib_save_LIBS
29732 fi
29733 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29734 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29735 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29736 MSPACK_LINK=" -lmspack"
29737 fi
29738
29739 fi
29740 if test "x$MSPACK_LINK" = "x" ; then
29741 wxUSE_LIBMSPACK=no
29742 fi
29743 fi
29744
29745 if test "$wxUSE_LIBMSPACK" != "no"; then
29746 cat >>confdefs.h <<\_ACEOF
29747 #define wxUSE_LIBMSPACK 1
29748 _ACEOF
29749
29750 fi
29751
29752
29753
29754 AFMINSTALL=
29755 WIN32INSTALL=
29756
29757 TOOLKIT=
29758 TOOLKIT_INCLUDE=
29759 WIDGET_SET=
29760
29761 if test "$USE_WIN32" = 1 ; then
29762 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29763 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29764 if test "${ac_cv_header_w32api_h+set}" = set; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 else
29767 cat >conftest.$ac_ext <<_ACEOF
29768 /* confdefs.h. */
29769 _ACEOF
29770 cat confdefs.h >>conftest.$ac_ext
29771 cat >>conftest.$ac_ext <<_ACEOF
29772 /* end confdefs.h. */
29773
29774
29775 #include <w32api.h>
29776 _ACEOF
29777 rm -f conftest.$ac_objext
29778 if { (ac_try="$ac_compile"
29779 case "(($ac_try" in
29780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29781 *) ac_try_echo=$ac_try;;
29782 esac
29783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29784 (eval "$ac_compile") 2>conftest.er1
29785 ac_status=$?
29786 grep -v '^ *+' conftest.er1 >conftest.err
29787 rm -f conftest.er1
29788 cat conftest.err >&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); } && {
29791 test -z "$ac_c_werror_flag" ||
29792 test ! -s conftest.err
29793 } && test -s conftest.$ac_objext; then
29794 ac_cv_header_w32api_h=yes
29795 else
29796 echo "$as_me: failed program was:" >&5
29797 sed 's/^/| /' conftest.$ac_ext >&5
29798
29799 ac_cv_header_w32api_h=no
29800 fi
29801
29802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29803 fi
29804 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29805 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29806
29807
29808 { echo "$as_me:$LINENO: checking for windows.h" >&5
29809 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29810 if test "${ac_cv_header_windows_h+set}" = set; then
29811 echo $ECHO_N "(cached) $ECHO_C" >&6
29812 else
29813 cat >conftest.$ac_ext <<_ACEOF
29814 /* confdefs.h. */
29815 _ACEOF
29816 cat confdefs.h >>conftest.$ac_ext
29817 cat >>conftest.$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29819
29820
29821 #include <windows.h>
29822 _ACEOF
29823 rm -f conftest.$ac_objext
29824 if { (ac_try="$ac_compile"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29828 esac
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_compile") 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest.$ac_objext; then
29840 ac_cv_header_windows_h=yes
29841 else
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29844
29845 ac_cv_header_windows_h=no
29846 fi
29847
29848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29849 fi
29850 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29851 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29852 if test $ac_cv_header_windows_h = yes; then
29853 :
29854 else
29855
29856 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29857 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29858 { (exit 1); exit 1; }; }
29859
29860 fi
29861
29862
29863
29864 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29865
29866 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29867 LIBS="$LIBS -loleacc"
29868 fi
29869
29870 case "${host}" in
29871 *-*-cygwin* )
29872 LIBS="$LIBS -lkernel32 -luser32"
29873 esac
29874
29875 if test "$wxUSE_ODBC" = "sys" ; then
29876 wxUSE_ODBC = "yes"
29877 fi
29878 if test "$wxUSE_ODBC" = "yes" ; then
29879 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29880 cat >>confdefs.h <<\_ACEOF
29881 #define wxUSE_ODBC 1
29882 _ACEOF
29883
29884 fi
29885
29886 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29887 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29888
29889 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29890
29891 WIN32INSTALL=win32install
29892
29893 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29894 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29895 if test "${ac_cv_header_pbt_h+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29897 else
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904
29905
29906 #include <pbt.h>
29907 _ACEOF
29908 rm -f conftest.$ac_objext
29909 if { (ac_try="$ac_compile"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29912 *) ac_try_echo=$ac_try;;
29913 esac
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_compile") 2>conftest.er1
29916 ac_status=$?
29917 grep -v '^ *+' conftest.er1 >conftest.err
29918 rm -f conftest.er1
29919 cat conftest.err >&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest.$ac_objext; then
29925 ac_cv_header_pbt_h=yes
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29929
29930 ac_cv_header_pbt_h=no
29931 fi
29932
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934 fi
29935 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29936 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29937 if test $ac_cv_header_pbt_h = yes; then
29938 :
29939 else
29940 cat >>confdefs.h <<\_ACEOF
29941 #define NEED_PBT_H 1
29942 _ACEOF
29943
29944 fi
29945
29946
29947 fi
29948
29949 if test "$wxUSE_GUI" = "yes"; then
29950 USE_GUI=1
29951
29952 GUI_TK_LIBRARY=
29953
29954 WXGTK12=
29955 WXGTK127=
29956 WXGTK20=
29957 WXGPE=
29958
29959 if test "$wxUSE_COCOA" = 1 ; then
29960 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29961 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29962 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29963 wxUSE_PRINTING_ARCHITECTURE=no
29964 fi
29965 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29966 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29967 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29968 wxUSE_DRAG_AND_DROP=no
29969 fi
29970 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29971 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29972 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29973 wxUSE_DRAGIMAGE=no
29974 fi
29975 fi
29976
29977 if test "$wxUSE_MSW" = 1 ; then
29978 TOOLKIT=MSW
29979 GUIDIST=MSW_DIST
29980
29981 case "${host}" in
29982 *-*-mingw32* )
29983 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29984 esac
29985 fi
29986
29987 if test "$wxUSE_GTK" = 1; then
29988 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29989 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29990
29991 gtk_version_cached=1
29992 if test "${wx_cv_lib_gtk+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29994 else
29995
29996 gtk_version_cached=0
29997 { echo "$as_me:$LINENO: result: " >&5
29998 echo "${ECHO_T}" >&6; }
29999
30000 GTK_MODULES=
30001 if test "$wxUSE_THREADS" = "yes"; then
30002 GTK_MODULES=gthread
30003 fi
30004
30005 wx_cv_lib_gtk=
30006 if test "x$wxGTK_VERSION" != "x1"
30007 then
30008 case "${host}" in
30009 *-*-solaris2* )
30010 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30011 enable_gtktest=no
30012 fi
30013 esac
30014
30015 # Check whether --enable-gtktest was given.
30016 if test "${enable_gtktest+set}" = set; then
30017 enableval=$enable_gtktest;
30018 else
30019 enable_gtktest=yes
30020 fi
30021
30022
30023 pkg_config_args=gtk+-2.0
30024 for module in . $GTK_MODULES
30025 do
30026 case "$module" in
30027 gthread)
30028 pkg_config_args="$pkg_config_args gthread-2.0"
30029 ;;
30030 esac
30031 done
30032
30033 no_gtk=""
30034
30035 # Extract the first word of "pkg-config", so it can be a program name with args.
30036 set dummy pkg-config; ac_word=$2
30037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30039 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30041 else
30042 case $PKG_CONFIG in
30043 [\\/]* | ?:[\\/]*)
30044 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30045 ;;
30046 *)
30047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30048 for as_dir in $PATH
30049 do
30050 IFS=$as_save_IFS
30051 test -z "$as_dir" && as_dir=.
30052 for ac_exec_ext in '' $ac_executable_extensions; do
30053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30054 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30056 break 2
30057 fi
30058 done
30059 done
30060 IFS=$as_save_IFS
30061
30062 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30063 ;;
30064 esac
30065 fi
30066 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30067 if test -n "$PKG_CONFIG"; then
30068 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30069 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30070 else
30071 { echo "$as_me:$LINENO: result: no" >&5
30072 echo "${ECHO_T}no" >&6; }
30073 fi
30074
30075
30076
30077 if test x$PKG_CONFIG != xno ; then
30078 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30079 :
30080 else
30081 echo "*** pkg-config too old; version 0.7 or better required."
30082 no_gtk=yes
30083 PKG_CONFIG=no
30084 fi
30085 else
30086 no_gtk=yes
30087 fi
30088
30089 min_gtk_version=2.0.0
30090 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30091 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30092
30093 if test x$PKG_CONFIG != xno ; then
30094 ## don't try to run the test against uninstalled libtool libs
30095 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30096 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30097 enable_gtktest=no
30098 fi
30099
30100 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30101 :
30102 else
30103 no_gtk=yes
30104 fi
30105 fi
30106
30107 if test x"$no_gtk" = x ; then
30108 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30109 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30110 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30112 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30114 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30116 if test "x$enable_gtktest" = "xyes" ; then
30117 ac_save_CFLAGS="$CFLAGS"
30118 ac_save_LIBS="$LIBS"
30119 CFLAGS="$CFLAGS $GTK_CFLAGS"
30120 LIBS="$GTK_LIBS $LIBS"
30121 rm -f conf.gtktest
30122 if test "$cross_compiling" = yes; then
30123 echo $ac_n "cross compiling; assumed OK... $ac_c"
30124 else
30125 cat >conftest.$ac_ext <<_ACEOF
30126 /* confdefs.h. */
30127 _ACEOF
30128 cat confdefs.h >>conftest.$ac_ext
30129 cat >>conftest.$ac_ext <<_ACEOF
30130 /* end confdefs.h. */
30131
30132 #include <gtk/gtk.h>
30133 #include <stdio.h>
30134 #include <stdlib.h>
30135
30136 int
30137 main ()
30138 {
30139 int major, minor, micro;
30140 char *tmp_version;
30141
30142 system ("touch conf.gtktest");
30143
30144 /* HP/UX 9 (%@#!) writes to sscanf strings */
30145 tmp_version = g_strdup("$min_gtk_version");
30146 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30147 printf("%s, bad version string\n", "$min_gtk_version");
30148 exit(1);
30149 }
30150
30151 if ((gtk_major_version != $gtk_config_major_version) ||
30152 (gtk_minor_version != $gtk_config_minor_version) ||
30153 (gtk_micro_version != $gtk_config_micro_version))
30154 {
30155 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30156 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30157 gtk_major_version, gtk_minor_version, gtk_micro_version);
30158 printf ("*** was found! If pkg-config was correct, then it is best\n");
30159 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30160 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30161 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30162 printf("*** required on your system.\n");
30163 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30164 printf("*** to point to the correct configuration files\n");
30165 }
30166 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30167 (gtk_minor_version != GTK_MINOR_VERSION) ||
30168 (gtk_micro_version != GTK_MICRO_VERSION))
30169 {
30170 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30171 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30172 printf("*** library (version %d.%d.%d)\n",
30173 gtk_major_version, gtk_minor_version, gtk_micro_version);
30174 }
30175 else
30176 {
30177 if ((gtk_major_version > major) ||
30178 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30179 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30180 {
30181 return 0;
30182 }
30183 else
30184 {
30185 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30186 gtk_major_version, gtk_minor_version, gtk_micro_version);
30187 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30188 major, minor, micro);
30189 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30190 printf("***\n");
30191 printf("*** If you have already installed a sufficiently new version, this error\n");
30192 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30193 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30194 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30195 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30196 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30197 printf("*** so that the correct libraries are found at run-time))\n");
30198 }
30199 }
30200 return 1;
30201 }
30202
30203 _ACEOF
30204 rm -f conftest$ac_exeext
30205 if { (ac_try="$ac_link"
30206 case "(($ac_try" in
30207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30208 *) ac_try_echo=$ac_try;;
30209 esac
30210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30211 (eval "$ac_link") 2>&5
30212 ac_status=$?
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30215 { (case "(($ac_try" in
30216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30217 *) ac_try_echo=$ac_try;;
30218 esac
30219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30220 (eval "$ac_try") 2>&5
30221 ac_status=$?
30222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30223 (exit $ac_status); }; }; then
30224 :
30225 else
30226 echo "$as_me: program exited with status $ac_status" >&5
30227 echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30229
30230 ( exit $ac_status )
30231 no_gtk=yes
30232 fi
30233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30234 fi
30235
30236
30237 CFLAGS="$ac_save_CFLAGS"
30238 LIBS="$ac_save_LIBS"
30239 fi
30240 fi
30241 if test "x$no_gtk" = x ; then
30242 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30243 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30244 wx_cv_lib_gtk=2.0
30245 else
30246 { echo "$as_me:$LINENO: result: no" >&5
30247 echo "${ECHO_T}no" >&6; }
30248 if test "$PKG_CONFIG" = "no" ; then
30249 echo "*** A new enough version of pkg-config was not found."
30250 echo "*** See http://pkgconfig.sourceforge.net"
30251 else
30252 if test -f conf.gtktest ; then
30253 :
30254 else
30255 echo "*** Could not run GTK+ test program, checking why..."
30256 ac_save_CFLAGS="$CFLAGS"
30257 ac_save_LIBS="$LIBS"
30258 CFLAGS="$CFLAGS $GTK_CFLAGS"
30259 LIBS="$LIBS $GTK_LIBS"
30260 cat >conftest.$ac_ext <<_ACEOF
30261 /* confdefs.h. */
30262 _ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30266
30267 #include <gtk/gtk.h>
30268 #include <stdio.h>
30269
30270 int
30271 main ()
30272 {
30273 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30274 ;
30275 return 0;
30276 }
30277 _ACEOF
30278 rm -f conftest.$ac_objext conftest$ac_exeext
30279 if { (ac_try="$ac_link"
30280 case "(($ac_try" in
30281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30282 *) ac_try_echo=$ac_try;;
30283 esac
30284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30285 (eval "$ac_link") 2>conftest.er1
30286 ac_status=$?
30287 grep -v '^ *+' conftest.er1 >conftest.err
30288 rm -f conftest.er1
30289 cat conftest.err >&5
30290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291 (exit $ac_status); } && {
30292 test -z "$ac_c_werror_flag" ||
30293 test ! -s conftest.err
30294 } && test -s conftest$ac_exeext &&
30295 $as_test_x conftest$ac_exeext; then
30296 echo "*** The test program compiled, but did not run. This usually means"
30297 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30298 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30299 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30300 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30301 echo "*** is required on your system"
30302 echo "***"
30303 echo "*** If you have an old version installed, it is best to remove it, although"
30304 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30305 else
30306 echo "$as_me: failed program was:" >&5
30307 sed 's/^/| /' conftest.$ac_ext >&5
30308
30309 echo "*** The test program failed to compile or link. See the file config.log for the"
30310 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30311 fi
30312
30313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30314 conftest$ac_exeext conftest.$ac_ext
30315 CFLAGS="$ac_save_CFLAGS"
30316 LIBS="$ac_save_LIBS"
30317 fi
30318 fi
30319 GTK_CFLAGS=""
30320 GTK_LIBS=""
30321 :
30322 fi
30323
30324
30325 rm -f conf.gtktest
30326
30327
30328 case "${host}" in
30329 *-*-solaris2* )
30330 if test "$wxUSE_SHARED" != "yes"; then
30331 GTK_LIBS="$GTK_LIBS -lX11"
30332 fi
30333 esac
30334 fi
30335
30336 if test -z "$wx_cv_lib_gtk"; then
30337 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30338
30339 # Check whether --with-gtk-prefix was given.
30340 if test "${with_gtk_prefix+set}" = set; then
30341 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30342 else
30343 gtk_config_prefix=""
30344 fi
30345
30346
30347 # Check whether --with-gtk-exec-prefix was given.
30348 if test "${with_gtk_exec_prefix+set}" = set; then
30349 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30350 else
30351 gtk_config_exec_prefix=""
30352 fi
30353
30354 # Check whether --enable-gtktest was given.
30355 if test "${enable_gtktest+set}" = set; then
30356 enableval=$enable_gtktest;
30357 else
30358 enable_gtktest=yes
30359 fi
30360
30361
30362 for module in . $GTK_MODULES
30363 do
30364 case "$module" in
30365 gthread)
30366 gtk_config_args="$gtk_config_args gthread"
30367 ;;
30368 esac
30369 done
30370
30371 if test x$gtk_config_exec_prefix != x ; then
30372 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30373 if test x${GTK_CONFIG+set} != xset ; then
30374 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30375 fi
30376 fi
30377 if test x$gtk_config_prefix != x ; then
30378 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30379 if test x${GTK_CONFIG+set} != xset ; then
30380 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30381 fi
30382 fi
30383
30384 # Extract the first word of "gtk-config", so it can be a program name with args.
30385 set dummy gtk-config; ac_word=$2
30386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30388 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30390 else
30391 case $GTK_CONFIG in
30392 [\\/]* | ?:[\\/]*)
30393 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30394 ;;
30395 *)
30396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30397 for as_dir in $PATH
30398 do
30399 IFS=$as_save_IFS
30400 test -z "$as_dir" && as_dir=.
30401 for ac_exec_ext in '' $ac_executable_extensions; do
30402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30403 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30405 break 2
30406 fi
30407 done
30408 done
30409 IFS=$as_save_IFS
30410
30411 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30412 ;;
30413 esac
30414 fi
30415 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30416 if test -n "$GTK_CONFIG"; then
30417 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30418 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30419 else
30420 { echo "$as_me:$LINENO: result: no" >&5
30421 echo "${ECHO_T}no" >&6; }
30422 fi
30423
30424
30425 min_gtk_version=1.2.7
30426 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30427 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30428 no_gtk=""
30429 if test "$GTK_CONFIG" = "no" ; then
30430 no_gtk=yes
30431 else
30432 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30433 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30434 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30436 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30438 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30440 if test "x$enable_gtktest" = "xyes" ; then
30441 ac_save_CFLAGS="$CFLAGS"
30442 ac_save_LIBS="$LIBS"
30443 CFLAGS="$CFLAGS $GTK_CFLAGS"
30444 LIBS="$GTK_LIBS $LIBS"
30445 rm -f conf.gtktest
30446 if test "$cross_compiling" = yes; then
30447 echo $ac_n "cross compiling; assumed OK... $ac_c"
30448 else
30449 cat >conftest.$ac_ext <<_ACEOF
30450 /* confdefs.h. */
30451 _ACEOF
30452 cat confdefs.h >>conftest.$ac_ext
30453 cat >>conftest.$ac_ext <<_ACEOF
30454 /* end confdefs.h. */
30455
30456 #include <gtk/gtk.h>
30457 #include <stdio.h>
30458 #include <stdlib.h>
30459
30460 int
30461 main ()
30462 {
30463 int major, minor, micro;
30464 char *tmp_version;
30465
30466 system ("touch conf.gtktest");
30467
30468 /* HP/UX 9 (%@#!) writes to sscanf strings */
30469 tmp_version = g_strdup("$min_gtk_version");
30470 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30471 printf("%s, bad version string\n", "$min_gtk_version");
30472 exit(1);
30473 }
30474
30475 if ((gtk_major_version != $gtk_config_major_version) ||
30476 (gtk_minor_version != $gtk_config_minor_version) ||
30477 (gtk_micro_version != $gtk_config_micro_version))
30478 {
30479 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30480 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30481 gtk_major_version, gtk_minor_version, gtk_micro_version);
30482 printf ("*** was found! If gtk-config was correct, then it is best\n");
30483 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30484 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30485 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30486 printf("*** required on your system.\n");
30487 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30488 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30489 printf("*** before re-running configure\n");
30490 }
30491 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30493 (gtk_minor_version != GTK_MINOR_VERSION) ||
30494 (gtk_micro_version != GTK_MICRO_VERSION))
30495 {
30496 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30498 printf("*** library (version %d.%d.%d)\n",
30499 gtk_major_version, gtk_minor_version, gtk_micro_version);
30500 }
30501 #endif /* defined (GTK_MAJOR_VERSION) ... */
30502 else
30503 {
30504 if ((gtk_major_version > major) ||
30505 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30506 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30507 {
30508 return 0;
30509 }
30510 else
30511 {
30512 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30513 gtk_major_version, gtk_minor_version, gtk_micro_version);
30514 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30515 major, minor, micro);
30516 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30517 printf("***\n");
30518 printf("*** If you have already installed a sufficiently new version, this error\n");
30519 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30520 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30521 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30522 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30523 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30524 printf("*** so that the correct libraries are found at run-time))\n");
30525 }
30526 }
30527 return 1;
30528 }
30529
30530 _ACEOF
30531 rm -f conftest$ac_exeext
30532 if { (ac_try="$ac_link"
30533 case "(($ac_try" in
30534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30535 *) ac_try_echo=$ac_try;;
30536 esac
30537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30538 (eval "$ac_link") 2>&5
30539 ac_status=$?
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30542 { (case "(($ac_try" in
30543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30544 *) ac_try_echo=$ac_try;;
30545 esac
30546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30547 (eval "$ac_try") 2>&5
30548 ac_status=$?
30549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30550 (exit $ac_status); }; }; then
30551 :
30552 else
30553 echo "$as_me: program exited with status $ac_status" >&5
30554 echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.$ac_ext >&5
30556
30557 ( exit $ac_status )
30558 no_gtk=yes
30559 fi
30560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30561 fi
30562
30563
30564 CFLAGS="$ac_save_CFLAGS"
30565 LIBS="$ac_save_LIBS"
30566 fi
30567 fi
30568 if test "x$no_gtk" = x ; then
30569 { echo "$as_me:$LINENO: result: yes" >&5
30570 echo "${ECHO_T}yes" >&6; }
30571 wx_cv_lib_gtk=1.2.7
30572 else
30573 { echo "$as_me:$LINENO: result: no" >&5
30574 echo "${ECHO_T}no" >&6; }
30575 if test "$GTK_CONFIG" = "no" ; then
30576 echo "*** The gtk-config script installed by GTK could not be found"
30577 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30578 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30579 echo "*** full path to gtk-config."
30580 else
30581 if test -f conf.gtktest ; then
30582 :
30583 else
30584 echo "*** Could not run GTK test program, checking why..."
30585 CFLAGS="$CFLAGS $GTK_CFLAGS"
30586 LIBS="$LIBS $GTK_LIBS"
30587 cat >conftest.$ac_ext <<_ACEOF
30588 /* confdefs.h. */
30589 _ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593
30594 #include <gtk/gtk.h>
30595 #include <stdio.h>
30596
30597 int
30598 main ()
30599 {
30600 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30601 ;
30602 return 0;
30603 }
30604 _ACEOF
30605 rm -f conftest.$ac_objext conftest$ac_exeext
30606 if { (ac_try="$ac_link"
30607 case "(($ac_try" in
30608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30609 *) ac_try_echo=$ac_try;;
30610 esac
30611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30612 (eval "$ac_link") 2>conftest.er1
30613 ac_status=$?
30614 grep -v '^ *+' conftest.er1 >conftest.err
30615 rm -f conftest.er1
30616 cat conftest.err >&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } && {
30619 test -z "$ac_c_werror_flag" ||
30620 test ! -s conftest.err
30621 } && test -s conftest$ac_exeext &&
30622 $as_test_x conftest$ac_exeext; then
30623 echo "*** The test program compiled, but did not run. This usually means"
30624 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30625 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30626 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30627 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30628 echo "*** is required on your system"
30629 echo "***"
30630 echo "*** If you have an old version installed, it is best to remove it, although"
30631 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30632 echo "***"
30633 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30634 echo "*** came with the system with the command"
30635 echo "***"
30636 echo "*** rpm --erase --nodeps gtk gtk-devel"
30637 else
30638 echo "$as_me: failed program was:" >&5
30639 sed 's/^/| /' conftest.$ac_ext >&5
30640
30641 echo "*** The test program failed to compile or link. See the file config.log for the"
30642 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30643 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30644 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30645 fi
30646
30647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30648 conftest$ac_exeext conftest.$ac_ext
30649 CFLAGS="$ac_save_CFLAGS"
30650 LIBS="$ac_save_LIBS"
30651 fi
30652 fi
30653 GTK_CFLAGS=""
30654 GTK_LIBS=""
30655 :
30656 fi
30657
30658
30659 rm -f conf.gtktest
30660
30661
30662 if test -z "$wx_cv_lib_gtk"; then
30663
30664 # Check whether --with-gtk-prefix was given.
30665 if test "${with_gtk_prefix+set}" = set; then
30666 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30667 else
30668 gtk_config_prefix=""
30669 fi
30670
30671
30672 # Check whether --with-gtk-exec-prefix was given.
30673 if test "${with_gtk_exec_prefix+set}" = set; then
30674 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30675 else
30676 gtk_config_exec_prefix=""
30677 fi
30678
30679 # Check whether --enable-gtktest was given.
30680 if test "${enable_gtktest+set}" = set; then
30681 enableval=$enable_gtktest;
30682 else
30683 enable_gtktest=yes
30684 fi
30685
30686
30687 for module in . $GTK_MODULES
30688 do
30689 case "$module" in
30690 gthread)
30691 gtk_config_args="$gtk_config_args gthread"
30692 ;;
30693 esac
30694 done
30695
30696 if test x$gtk_config_exec_prefix != x ; then
30697 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30698 if test x${GTK_CONFIG+set} != xset ; then
30699 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30700 fi
30701 fi
30702 if test x$gtk_config_prefix != x ; then
30703 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30704 if test x${GTK_CONFIG+set} != xset ; then
30705 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30706 fi
30707 fi
30708
30709 # Extract the first word of "gtk-config", so it can be a program name with args.
30710 set dummy gtk-config; ac_word=$2
30711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30713 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30714 echo $ECHO_N "(cached) $ECHO_C" >&6
30715 else
30716 case $GTK_CONFIG in
30717 [\\/]* | ?:[\\/]*)
30718 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30719 ;;
30720 *)
30721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30722 for as_dir in $PATH
30723 do
30724 IFS=$as_save_IFS
30725 test -z "$as_dir" && as_dir=.
30726 for ac_exec_ext in '' $ac_executable_extensions; do
30727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30728 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30730 break 2
30731 fi
30732 done
30733 done
30734 IFS=$as_save_IFS
30735
30736 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30737 ;;
30738 esac
30739 fi
30740 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30741 if test -n "$GTK_CONFIG"; then
30742 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30743 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30744 else
30745 { echo "$as_me:$LINENO: result: no" >&5
30746 echo "${ECHO_T}no" >&6; }
30747 fi
30748
30749
30750 min_gtk_version=1.2.3
30751 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30752 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30753 no_gtk=""
30754 if test "$GTK_CONFIG" = "no" ; then
30755 no_gtk=yes
30756 else
30757 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30758 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30759 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30761 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30763 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30765 if test "x$enable_gtktest" = "xyes" ; then
30766 ac_save_CFLAGS="$CFLAGS"
30767 ac_save_LIBS="$LIBS"
30768 CFLAGS="$CFLAGS $GTK_CFLAGS"
30769 LIBS="$GTK_LIBS $LIBS"
30770 rm -f conf.gtktest
30771 if test "$cross_compiling" = yes; then
30772 echo $ac_n "cross compiling; assumed OK... $ac_c"
30773 else
30774 cat >conftest.$ac_ext <<_ACEOF
30775 /* confdefs.h. */
30776 _ACEOF
30777 cat confdefs.h >>conftest.$ac_ext
30778 cat >>conftest.$ac_ext <<_ACEOF
30779 /* end confdefs.h. */
30780
30781 #include <gtk/gtk.h>
30782 #include <stdio.h>
30783 #include <stdlib.h>
30784
30785 int
30786 main ()
30787 {
30788 int major, minor, micro;
30789 char *tmp_version;
30790
30791 system ("touch conf.gtktest");
30792
30793 /* HP/UX 9 (%@#!) writes to sscanf strings */
30794 tmp_version = g_strdup("$min_gtk_version");
30795 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30796 printf("%s, bad version string\n", "$min_gtk_version");
30797 exit(1);
30798 }
30799
30800 if ((gtk_major_version != $gtk_config_major_version) ||
30801 (gtk_minor_version != $gtk_config_minor_version) ||
30802 (gtk_micro_version != $gtk_config_micro_version))
30803 {
30804 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30805 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30806 gtk_major_version, gtk_minor_version, gtk_micro_version);
30807 printf ("*** was found! If gtk-config was correct, then it is best\n");
30808 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30809 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30810 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30811 printf("*** required on your system.\n");
30812 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30813 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30814 printf("*** before re-running configure\n");
30815 }
30816 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30817 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30818 (gtk_minor_version != GTK_MINOR_VERSION) ||
30819 (gtk_micro_version != GTK_MICRO_VERSION))
30820 {
30821 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30822 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30823 printf("*** library (version %d.%d.%d)\n",
30824 gtk_major_version, gtk_minor_version, gtk_micro_version);
30825 }
30826 #endif /* defined (GTK_MAJOR_VERSION) ... */
30827 else
30828 {
30829 if ((gtk_major_version > major) ||
30830 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30831 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30832 {
30833 return 0;
30834 }
30835 else
30836 {
30837 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30838 gtk_major_version, gtk_minor_version, gtk_micro_version);
30839 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30840 major, minor, micro);
30841 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30842 printf("***\n");
30843 printf("*** If you have already installed a sufficiently new version, this error\n");
30844 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30845 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30846 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30847 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30848 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30849 printf("*** so that the correct libraries are found at run-time))\n");
30850 }
30851 }
30852 return 1;
30853 }
30854
30855 _ACEOF
30856 rm -f conftest$ac_exeext
30857 if { (ac_try="$ac_link"
30858 case "(($ac_try" in
30859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30860 *) ac_try_echo=$ac_try;;
30861 esac
30862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30863 (eval "$ac_link") 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30867 { (case "(($ac_try" in
30868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30869 *) ac_try_echo=$ac_try;;
30870 esac
30871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30872 (eval "$ac_try") 2>&5
30873 ac_status=$?
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); }; }; then
30876 :
30877 else
30878 echo "$as_me: program exited with status $ac_status" >&5
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882 ( exit $ac_status )
30883 no_gtk=yes
30884 fi
30885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30886 fi
30887
30888
30889 CFLAGS="$ac_save_CFLAGS"
30890 LIBS="$ac_save_LIBS"
30891 fi
30892 fi
30893 if test "x$no_gtk" = x ; then
30894 { echo "$as_me:$LINENO: result: yes" >&5
30895 echo "${ECHO_T}yes" >&6; }
30896 wx_cv_lib_gtk=1.2.3
30897 else
30898 { echo "$as_me:$LINENO: result: no" >&5
30899 echo "${ECHO_T}no" >&6; }
30900 if test "$GTK_CONFIG" = "no" ; then
30901 echo "*** The gtk-config script installed by GTK could not be found"
30902 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30903 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30904 echo "*** full path to gtk-config."
30905 else
30906 if test -f conf.gtktest ; then
30907 :
30908 else
30909 echo "*** Could not run GTK test program, checking why..."
30910 CFLAGS="$CFLAGS $GTK_CFLAGS"
30911 LIBS="$LIBS $GTK_LIBS"
30912 cat >conftest.$ac_ext <<_ACEOF
30913 /* confdefs.h. */
30914 _ACEOF
30915 cat confdefs.h >>conftest.$ac_ext
30916 cat >>conftest.$ac_ext <<_ACEOF
30917 /* end confdefs.h. */
30918
30919 #include <gtk/gtk.h>
30920 #include <stdio.h>
30921
30922 int
30923 main ()
30924 {
30925 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30926 ;
30927 return 0;
30928 }
30929 _ACEOF
30930 rm -f conftest.$ac_objext conftest$ac_exeext
30931 if { (ac_try="$ac_link"
30932 case "(($ac_try" in
30933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30934 *) ac_try_echo=$ac_try;;
30935 esac
30936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30937 (eval "$ac_link") 2>conftest.er1
30938 ac_status=$?
30939 grep -v '^ *+' conftest.er1 >conftest.err
30940 rm -f conftest.er1
30941 cat conftest.err >&5
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); } && {
30944 test -z "$ac_c_werror_flag" ||
30945 test ! -s conftest.err
30946 } && test -s conftest$ac_exeext &&
30947 $as_test_x conftest$ac_exeext; then
30948 echo "*** The test program compiled, but did not run. This usually means"
30949 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30950 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30951 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30952 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30953 echo "*** is required on your system"
30954 echo "***"
30955 echo "*** If you have an old version installed, it is best to remove it, although"
30956 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30957 echo "***"
30958 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30959 echo "*** came with the system with the command"
30960 echo "***"
30961 echo "*** rpm --erase --nodeps gtk gtk-devel"
30962 else
30963 echo "$as_me: failed program was:" >&5
30964 sed 's/^/| /' conftest.$ac_ext >&5
30965
30966 echo "*** The test program failed to compile or link. See the file config.log for the"
30967 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30968 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30969 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30970 fi
30971
30972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30973 conftest$ac_exeext conftest.$ac_ext
30974 CFLAGS="$ac_save_CFLAGS"
30975 LIBS="$ac_save_LIBS"
30976 fi
30977 fi
30978 GTK_CFLAGS=""
30979 GTK_LIBS=""
30980 :
30981 fi
30982
30983
30984 rm -f conf.gtktest
30985
30986 fi
30987 fi
30988 fi
30989
30990 if test -z "$wx_cv_lib_gtk"; then
30991 wx_cv_lib_gtk=none
30992 else
30993 wx_cv_cflags_gtk=$GTK_CFLAGS
30994 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30995 fi
30996
30997
30998 fi
30999
31000
31001 if test "$gtk_version_cached" = 1; then
31002 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31003 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31004 fi
31005
31006 case "$wx_cv_lib_gtk" in
31007 2.0) WXGTK20=1
31008 TOOLKIT_VERSION=2
31009 ;;
31010 1.2.7) WXGTK127=1
31011 WXGTK12=1
31012 ;;
31013 1.2.3) WXGTK12=1
31014 ;;
31015 *) { { echo "$as_me:$LINENO: error:
31016 The development files for GTK+ were not found. For GTK+ 2, please
31017 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31018 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31019 and that the version is 1.2.3 or above. Also check that the
31020 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31021 --libs' are in the LD_LIBRARY_PATH or equivalent.
31022 " >&5
31023 echo "$as_me: error:
31024 The development files for GTK+ were not found. For GTK+ 2, please
31025 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31026 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31027 and that the version is 1.2.3 or above. Also check that the
31028 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31029 --libs' are in the LD_LIBRARY_PATH or equivalent.
31030 " >&2;}
31031 { (exit 1); exit 1; }; }
31032 ;;
31033 esac
31034
31035 if test "$WXGTK20" = 1; then
31036 save_CFLAGS="$CFLAGS"
31037 save_LIBS="$LIBS"
31038 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31039 LIBS="$LIBS $wx_cv_libs_gtk"
31040
31041 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31042 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31043 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31044 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 else
31046 cat >conftest.$ac_ext <<_ACEOF
31047 /* confdefs.h. */
31048 _ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31052 #include <gtk/gtk.h>
31053
31054 int
31055 main ()
31056 {
31057 #ifndef gtk_icon_size_lookup
31058 (void) gtk_icon_size_lookup;
31059 #endif
31060
31061 ;
31062 return 0;
31063 }
31064 _ACEOF
31065 rm -f conftest.$ac_objext
31066 if { (ac_try="$ac_compile"
31067 case "(($ac_try" in
31068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31069 *) ac_try_echo=$ac_try;;
31070 esac
31071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31072 (eval "$ac_compile") 2>conftest.er1
31073 ac_status=$?
31074 grep -v '^ *+' conftest.er1 >conftest.err
31075 rm -f conftest.er1
31076 cat conftest.err >&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); } && {
31079 test -z "$ac_c_werror_flag" ||
31080 test ! -s conftest.err
31081 } && test -s conftest.$ac_objext; then
31082 ac_cv_have_decl_gtk_icon_size_lookup=yes
31083 else
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.$ac_ext >&5
31086
31087 ac_cv_have_decl_gtk_icon_size_lookup=no
31088 fi
31089
31090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31091 fi
31092 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31093 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31094 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31095
31096 cat >>confdefs.h <<_ACEOF
31097 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31098 _ACEOF
31099
31100
31101 else
31102 cat >>confdefs.h <<_ACEOF
31103 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31104 _ACEOF
31105
31106 cat >>confdefs.h <<\_ACEOF
31107 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31108 _ACEOF
31109
31110 fi
31111
31112
31113
31114
31115 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31116 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31117 cat >conftest.$ac_ext <<_ACEOF
31118 /* confdefs.h. */
31119 _ACEOF
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31123
31124 #include <gtk/gtk.h>
31125
31126 int
31127 main ()
31128 {
31129
31130 #if !GTK_CHECK_VERSION(2,10,0)
31131 Not GTK+ 2.10
31132 #endif
31133
31134 ;
31135 return 0;
31136 }
31137 _ACEOF
31138 rm -f conftest.$ac_objext
31139 if { (ac_try="$ac_compile"
31140 case "(($ac_try" in
31141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31142 *) ac_try_echo=$ac_try;;
31143 esac
31144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31145 (eval "$ac_compile") 2>conftest.er1
31146 ac_status=$?
31147 grep -v '^ *+' conftest.er1 >conftest.err
31148 rm -f conftest.er1
31149 cat conftest.err >&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); } && {
31152 test -z "$ac_c_werror_flag" ||
31153 test ! -s conftest.err
31154 } && test -s conftest.$ac_objext; then
31155
31156 cat >>confdefs.h <<\_ACEOF
31157 #define __WXGTK210__ 1
31158 _ACEOF
31159
31160 cat >>confdefs.h <<\_ACEOF
31161 #define __WXGTK26__ 1
31162 _ACEOF
31163
31164 cat >>confdefs.h <<\_ACEOF
31165 #define __WXGTK24__ 1
31166 _ACEOF
31167
31168 { echo "$as_me:$LINENO: result: yes" >&5
31169 echo "${ECHO_T}yes" >&6; }
31170 ac_wxgtk210=1
31171
31172 else
31173 echo "$as_me: failed program was:" >&5
31174 sed 's/^/| /' conftest.$ac_ext >&5
31175
31176
31177 { echo "$as_me:$LINENO: result: no" >&5
31178 echo "${ECHO_T}no" >&6; }
31179 ac_wxgtk210=0
31180
31181 fi
31182
31183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31184
31185 if test "$ac_wxgtk210" = 0; then
31186 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31187 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31188 cat >conftest.$ac_ext <<_ACEOF
31189 /* confdefs.h. */
31190 _ACEOF
31191 cat confdefs.h >>conftest.$ac_ext
31192 cat >>conftest.$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194
31195 #include <gtk/gtk.h>
31196
31197 int
31198 main ()
31199 {
31200
31201 #if !GTK_CHECK_VERSION(2,6,0)
31202 Not GTK+ 2.6
31203 #endif
31204
31205 ;
31206 return 0;
31207 }
31208 _ACEOF
31209 rm -f conftest.$ac_objext
31210 if { (ac_try="$ac_compile"
31211 case "(($ac_try" in
31212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31213 *) ac_try_echo=$ac_try;;
31214 esac
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_compile") 2>conftest.er1
31217 ac_status=$?
31218 grep -v '^ *+' conftest.er1 >conftest.err
31219 rm -f conftest.er1
31220 cat conftest.err >&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } && {
31223 test -z "$ac_c_werror_flag" ||
31224 test ! -s conftest.err
31225 } && test -s conftest.$ac_objext; then
31226
31227 cat >>confdefs.h <<\_ACEOF
31228 #define __WXGTK26__ 1
31229 _ACEOF
31230
31231 cat >>confdefs.h <<\_ACEOF
31232 #define __WXGTK24__ 1
31233 _ACEOF
31234
31235 { echo "$as_me:$LINENO: result: yes" >&5
31236 echo "${ECHO_T}yes" >&6; }
31237 ac_wxgtk26=1
31238
31239 else
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31242
31243
31244 { echo "$as_me:$LINENO: result: no" >&5
31245 echo "${ECHO_T}no" >&6; }
31246 ac_wxgtk26=0
31247
31248 fi
31249
31250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31251 fi
31252
31253 if test "$ac_wxgtk26" = 0; then
31254 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31255 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31256 cat >conftest.$ac_ext <<_ACEOF
31257 /* confdefs.h. */
31258 _ACEOF
31259 cat confdefs.h >>conftest.$ac_ext
31260 cat >>conftest.$ac_ext <<_ACEOF
31261 /* end confdefs.h. */
31262
31263 #include <gtk/gtk.h>
31264
31265 int
31266 main ()
31267 {
31268
31269 #if !GTK_CHECK_VERSION(2,4,0)
31270 Not GTK+ 2.4
31271 #endif
31272
31273 ;
31274 return 0;
31275 }
31276 _ACEOF
31277 rm -f conftest.$ac_objext
31278 if { (ac_try="$ac_compile"
31279 case "(($ac_try" in
31280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31281 *) ac_try_echo=$ac_try;;
31282 esac
31283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31284 (eval "$ac_compile") 2>conftest.er1
31285 ac_status=$?
31286 grep -v '^ *+' conftest.er1 >conftest.err
31287 rm -f conftest.er1
31288 cat conftest.err >&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); } && {
31291 test -z "$ac_c_werror_flag" ||
31292 test ! -s conftest.err
31293 } && test -s conftest.$ac_objext; then
31294
31295 cat >>confdefs.h <<\_ACEOF
31296 #define __WXGTK24__ 1
31297 _ACEOF
31298
31299 { echo "$as_me:$LINENO: result: yes" >&5
31300 echo "${ECHO_T}yes" >&6; }
31301
31302 else
31303 echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.$ac_ext >&5
31305
31306
31307 { echo "$as_me:$LINENO: result: no" >&5
31308 echo "${ECHO_T}no" >&6; }
31309
31310 fi
31311
31312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31313 fi
31314
31315 CFLAGS="$save_CFLAGS"
31316 LIBS="$save_LIBS"
31317 else
31318 if test "$wxUSE_UNICODE" = "yes"; then
31319 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31320 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31321 wxUSE_UNICODE=no
31322 fi
31323
31324 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31325 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31326 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31327 echo $ECHO_N "(cached) $ECHO_C" >&6
31328 else
31329 ac_check_lib_save_LIBS=$LIBS
31330 LIBS="-lgdk $LIBS"
31331 cat >conftest.$ac_ext <<_ACEOF
31332 /* confdefs.h. */
31333 _ACEOF
31334 cat confdefs.h >>conftest.$ac_ext
31335 cat >>conftest.$ac_ext <<_ACEOF
31336 /* end confdefs.h. */
31337
31338 /* Override any GCC internal prototype to avoid an error.
31339 Use char because int might match the return type of a GCC
31340 builtin and then its argument prototype would still apply. */
31341 #ifdef __cplusplus
31342 extern "C"
31343 #endif
31344 char gdk_im_open ();
31345 int
31346 main ()
31347 {
31348 return gdk_im_open ();
31349 ;
31350 return 0;
31351 }
31352 _ACEOF
31353 rm -f conftest.$ac_objext conftest$ac_exeext
31354 if { (ac_try="$ac_link"
31355 case "(($ac_try" in
31356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31357 *) ac_try_echo=$ac_try;;
31358 esac
31359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31360 (eval "$ac_link") 2>conftest.er1
31361 ac_status=$?
31362 grep -v '^ *+' conftest.er1 >conftest.err
31363 rm -f conftest.er1
31364 cat conftest.err >&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } && {
31367 test -z "$ac_c_werror_flag" ||
31368 test ! -s conftest.err
31369 } && test -s conftest$ac_exeext &&
31370 $as_test_x conftest$ac_exeext; then
31371 ac_cv_lib_gdk_gdk_im_open=yes
31372 else
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31375
31376 ac_cv_lib_gdk_gdk_im_open=no
31377 fi
31378
31379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31380 conftest$ac_exeext conftest.$ac_ext
31381 LIBS=$ac_check_lib_save_LIBS
31382 fi
31383 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31384 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31385 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31386 cat >>confdefs.h <<\_ACEOF
31387 #define HAVE_XIM 1
31388 _ACEOF
31389
31390 fi
31391
31392
31393 if test "$USE_DARWIN" != 1; then
31394
31395 for ac_func in poll
31396 do
31397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31402 else
31403 cat >conftest.$ac_ext <<_ACEOF
31404 /* confdefs.h. */
31405 _ACEOF
31406 cat confdefs.h >>conftest.$ac_ext
31407 cat >>conftest.$ac_ext <<_ACEOF
31408 /* end confdefs.h. */
31409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31411 #define $ac_func innocuous_$ac_func
31412
31413 /* System header to define __stub macros and hopefully few prototypes,
31414 which can conflict with char $ac_func (); below.
31415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31416 <limits.h> exists even on freestanding compilers. */
31417
31418 #ifdef __STDC__
31419 # include <limits.h>
31420 #else
31421 # include <assert.h>
31422 #endif
31423
31424 #undef $ac_func
31425
31426 /* Override any GCC internal prototype to avoid an error.
31427 Use char because int might match the return type of a GCC
31428 builtin and then its argument prototype would still apply. */
31429 #ifdef __cplusplus
31430 extern "C"
31431 #endif
31432 char $ac_func ();
31433 /* The GNU C library defines this for functions which it implements
31434 to always fail with ENOSYS. Some functions are actually named
31435 something starting with __ and the normal name is an alias. */
31436 #if defined __stub_$ac_func || defined __stub___$ac_func
31437 choke me
31438 #endif
31439
31440 int
31441 main ()
31442 {
31443 return $ac_func ();
31444 ;
31445 return 0;
31446 }
31447 _ACEOF
31448 rm -f conftest.$ac_objext conftest$ac_exeext
31449 if { (ac_try="$ac_link"
31450 case "(($ac_try" in
31451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31452 *) ac_try_echo=$ac_try;;
31453 esac
31454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31455 (eval "$ac_link") 2>conftest.er1
31456 ac_status=$?
31457 grep -v '^ *+' conftest.er1 >conftest.err
31458 rm -f conftest.er1
31459 cat conftest.err >&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); } && {
31462 test -z "$ac_c_werror_flag" ||
31463 test ! -s conftest.err
31464 } && test -s conftest$ac_exeext &&
31465 $as_test_x conftest$ac_exeext; then
31466 eval "$as_ac_var=yes"
31467 else
31468 echo "$as_me: failed program was:" >&5
31469 sed 's/^/| /' conftest.$ac_ext >&5
31470
31471 eval "$as_ac_var=no"
31472 fi
31473
31474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31475 conftest$ac_exeext conftest.$ac_ext
31476 fi
31477 ac_res=`eval echo '${'$as_ac_var'}'`
31478 { echo "$as_me:$LINENO: result: $ac_res" >&5
31479 echo "${ECHO_T}$ac_res" >&6; }
31480 if test `eval echo '${'$as_ac_var'}'` = yes; then
31481 cat >>confdefs.h <<_ACEOF
31482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31483 _ACEOF
31484
31485 fi
31486 done
31487
31488 fi
31489 fi
31490
31491 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31492 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31493
31494 AFMINSTALL=afminstall
31495 TOOLKIT=GTK
31496 GUIDIST=GTK_DIST
31497
31498 if test "$wxUSE_GPE" = "yes"; then
31499 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31500 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31501
31502 ac_find_libraries=
31503 for ac_dir in $SEARCH_LIB;
31504 do
31505 for ac_extension in a so sl dylib dll.a; do
31506 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31507 ac_find_libraries=$ac_dir
31508 break 2
31509 fi
31510 done
31511 done
31512
31513 if test "$ac_find_libraries" != "" ; then
31514
31515 if test "$ac_find_libraries" = "default location"; then
31516 ac_path_to_link=""
31517 else
31518 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31519 result=$?
31520 if test $result = 0; then
31521 ac_path_to_link=""
31522 else
31523 ac_path_to_link=" -L$ac_find_libraries"
31524 fi
31525 fi
31526
31527 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31528 WXGPE=1
31529 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31530 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31531 else
31532 { echo "$as_me:$LINENO: result: not found" >&5
31533 echo "${ECHO_T}not found" >&6; }
31534 fi
31535
31536 fi
31537 fi
31538
31539 if test "$wxUSE_MGL" = 1; then
31540 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31541 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31542 if test "x$MGL_ROOT" = x ; then
31543 { echo "$as_me:$LINENO: result: not found" >&5
31544 echo "${ECHO_T}not found" >&6; }
31545 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31546 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31547 { (exit 1); exit 1; }; }
31548 else
31549 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31550 echo "${ECHO_T}$MGL_ROOT" >&6; }
31551 fi
31552
31553 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31554 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31555 case "${host}" in
31556 *-*-linux* )
31557 if test "x$wxUSE_SHARED" = xyes ; then
31558 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31559 else
31560 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31561 fi
31562 ;;
31563 *-pc-msdosdjgpp )
31564 mgl_os_candidates="dos32/dj2"
31565 ;;
31566 *)
31567 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31568 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31569 { (exit 1); exit 1; }; }
31570 esac
31571
31572 mgl_lib_type=""
31573 mgl_os=""
31574
31575 for mgl_os_i in $mgl_os_candidates ; do
31576 if test "x$mgl_os" = x ; then
31577 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31578 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31579 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31580 mgl_lib_type=debug
31581 mgl_os=$mgl_os_i
31582 fi
31583 fi
31584 if test "x$mgl_lib_type" = x ; then
31585 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31586 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31587 mgl_lib_type=release
31588 mgl_os=$mgl_os_i
31589 fi
31590 fi
31591 fi
31592 done
31593
31594 if test "x$mgl_os" = x ; then
31595 { echo "$as_me:$LINENO: result: not found" >&5
31596 echo "${ECHO_T}not found" >&6; }
31597 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31598 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31599 { (exit 1); exit 1; }; }
31600 fi
31601 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31602 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31603
31604 wxUSE_UNIVERSAL="yes"
31605
31606 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31607 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31608
31609 AFMINSTALL=afminstall
31610 TOOLKIT=MGL
31611 GUIDIST=MGL_DIST
31612 fi
31613
31614 if test "$wxUSE_DFB" = 1; then
31615
31616
31617 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31618 if test -n "$ac_tool_prefix"; then
31619 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31620 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31624 echo $ECHO_N "(cached) $ECHO_C" >&6
31625 else
31626 case $PKG_CONFIG in
31627 [\\/]* | ?:[\\/]*)
31628 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31629 ;;
31630 *)
31631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31632 for as_dir in $PATH
31633 do
31634 IFS=$as_save_IFS
31635 test -z "$as_dir" && as_dir=.
31636 for ac_exec_ext in '' $ac_executable_extensions; do
31637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31638 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31640 break 2
31641 fi
31642 done
31643 done
31644 IFS=$as_save_IFS
31645
31646 ;;
31647 esac
31648 fi
31649 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31650 if test -n "$PKG_CONFIG"; then
31651 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31652 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31653 else
31654 { echo "$as_me:$LINENO: result: no" >&5
31655 echo "${ECHO_T}no" >&6; }
31656 fi
31657
31658
31659 fi
31660 if test -z "$ac_cv_path_PKG_CONFIG"; then
31661 ac_pt_PKG_CONFIG=$PKG_CONFIG
31662 # Extract the first word of "pkg-config", so it can be a program name with args.
31663 set dummy pkg-config; ac_word=$2
31664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31666 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31667 echo $ECHO_N "(cached) $ECHO_C" >&6
31668 else
31669 case $ac_pt_PKG_CONFIG in
31670 [\\/]* | ?:[\\/]*)
31671 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31672 ;;
31673 *)
31674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31675 for as_dir in $PATH
31676 do
31677 IFS=$as_save_IFS
31678 test -z "$as_dir" && as_dir=.
31679 for ac_exec_ext in '' $ac_executable_extensions; do
31680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31681 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31683 break 2
31684 fi
31685 done
31686 done
31687 IFS=$as_save_IFS
31688
31689 ;;
31690 esac
31691 fi
31692 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31693 if test -n "$ac_pt_PKG_CONFIG"; then
31694 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31695 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31696 else
31697 { echo "$as_me:$LINENO: result: no" >&5
31698 echo "${ECHO_T}no" >&6; }
31699 fi
31700
31701 if test "x$ac_pt_PKG_CONFIG" = x; then
31702 PKG_CONFIG=""
31703 else
31704 case $cross_compiling:$ac_tool_warned in
31705 yes:)
31706 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31707 whose name does not start with the host triplet. If you think this
31708 configuration is useful to you, please write to autoconf@gnu.org." >&5
31709 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31710 whose name does not start with the host triplet. If you think this
31711 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31712 ac_tool_warned=yes ;;
31713 esac
31714 PKG_CONFIG=$ac_pt_PKG_CONFIG
31715 fi
31716 else
31717 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31718 fi
31719
31720 fi
31721 if test -n "$PKG_CONFIG"; then
31722 _pkg_min_version=0.9.0
31723 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31724 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31725 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31726 { echo "$as_me:$LINENO: result: yes" >&5
31727 echo "${ECHO_T}yes" >&6; }
31728 else
31729 { echo "$as_me:$LINENO: result: no" >&5
31730 echo "${ECHO_T}no" >&6; }
31731 PKG_CONFIG=""
31732 fi
31733
31734 fi
31735
31736
31737 pkg_failed=no
31738 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31739 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31740
31741 if test -n "$PKG_CONFIG"; then
31742 if test -n "$DIRECTFB_CFLAGS"; then
31743 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31744 else
31745 if test -n "$PKG_CONFIG" && \
31746 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31747 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31748 ac_status=$?
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; then
31751 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31752 else
31753 pkg_failed=yes
31754 fi
31755 fi
31756 else
31757 pkg_failed=untried
31758 fi
31759 if test -n "$PKG_CONFIG"; then
31760 if test -n "$DIRECTFB_LIBS"; then
31761 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31762 else
31763 if test -n "$PKG_CONFIG" && \
31764 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31765 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31766 ac_status=$?
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); }; then
31769 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31770 else
31771 pkg_failed=yes
31772 fi
31773 fi
31774 else
31775 pkg_failed=untried
31776 fi
31777
31778
31779
31780 if test $pkg_failed = yes; then
31781
31782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31783 _pkg_short_errors_supported=yes
31784 else
31785 _pkg_short_errors_supported=no
31786 fi
31787 if test $_pkg_short_errors_supported = yes; then
31788 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31789 else
31790 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31791 fi
31792 # Put the nasty error message in config.log where it belongs
31793 echo "$DIRECTFB_PKG_ERRORS" >&5
31794
31795
31796 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31797 echo "$as_me: error: DirectFB not found." >&2;}
31798 { (exit 1); exit 1; }; }
31799
31800
31801 elif test $pkg_failed = untried; then
31802
31803 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31804 echo "$as_me: error: DirectFB not found." >&2;}
31805 { (exit 1); exit 1; }; }
31806
31807
31808 else
31809 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31810 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31811 { echo "$as_me:$LINENO: result: yes" >&5
31812 echo "${ECHO_T}yes" >&6; }
31813
31814 wxUSE_UNIVERSAL="yes"
31815 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31816 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31817 TOOLKIT=DFB
31818 GUIDIST=DFB_DIST
31819
31820 fi
31821 fi
31822
31823 if test "$wxUSE_MICROWIN" = 1; then
31824 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31825 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31826 if test "x$MICROWINDOWS" = x ; then
31827 { echo "$as_me:$LINENO: result: not found" >&5
31828 echo "${ECHO_T}not found" >&6; }
31829 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31830 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31831 { (exit 1); exit 1; }; }
31832 else
31833 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31834 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31835 fi
31836
31837 if test -f $MICROWINDOWS/lib/libmwin.a; then
31838 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31839 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31840 else
31841 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31842 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31843 { (exit 1); exit 1; }; }
31844 fi
31845
31846 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31847 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31848
31849 wxUSE_UNIVERSAL="yes"
31850
31851 AFMINSTALL=afminstall
31852 TOOLKIT=MICROWIN
31853 GUIDIST=MICROWIN_DIST
31854
31855 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31856 fi
31857
31858 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31859 { echo "$as_me:$LINENO: checking for X" >&5
31860 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31861
31862
31863 # Check whether --with-x was given.
31864 if test "${with_x+set}" = set; then
31865 withval=$with_x;
31866 fi
31867
31868 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31869 if test "x$with_x" = xno; then
31870 # The user explicitly disabled X.
31871 have_x=disabled
31872 else
31873 case $x_includes,$x_libraries in #(
31874 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31875 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31876 { (exit 1); exit 1; }; };; #(
31877 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31878 echo $ECHO_N "(cached) $ECHO_C" >&6
31879 else
31880 # One or both of the vars are not set, and there is no cached value.
31881 ac_x_includes=no ac_x_libraries=no
31882 rm -f -r conftest.dir
31883 if mkdir conftest.dir; then
31884 cd conftest.dir
31885 cat >Imakefile <<'_ACEOF'
31886 incroot:
31887 @echo incroot='${INCROOT}'
31888 usrlibdir:
31889 @echo usrlibdir='${USRLIBDIR}'
31890 libdir:
31891 @echo libdir='${LIBDIR}'
31892 _ACEOF
31893 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31895 for ac_var in incroot usrlibdir libdir; do
31896 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31897 done
31898 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31899 for ac_extension in a so sl; do
31900 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31901 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31902 ac_im_usrlibdir=$ac_im_libdir; break
31903 fi
31904 done
31905 # Screen out bogus values from the imake configuration. They are
31906 # bogus both because they are the default anyway, and because
31907 # using them would break gcc on systems where it needs fixed includes.
31908 case $ac_im_incroot in
31909 /usr/include) ac_x_includes= ;;
31910 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31911 esac
31912 case $ac_im_usrlibdir in
31913 /usr/lib | /lib) ;;
31914 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31915 esac
31916 fi
31917 cd ..
31918 rm -f -r conftest.dir
31919 fi
31920
31921 # Standard set of common directories for X headers.
31922 # Check X11 before X11Rn because it is often a symlink to the current release.
31923 ac_x_header_dirs='
31924 /usr/X11/include
31925 /usr/X11R6/include
31926 /usr/X11R5/include
31927 /usr/X11R4/include
31928
31929 /usr/include/X11
31930 /usr/include/X11R6
31931 /usr/include/X11R5
31932 /usr/include/X11R4
31933
31934 /usr/local/X11/include
31935 /usr/local/X11R6/include
31936 /usr/local/X11R5/include
31937 /usr/local/X11R4/include
31938
31939 /usr/local/include/X11
31940 /usr/local/include/X11R6
31941 /usr/local/include/X11R5
31942 /usr/local/include/X11R4
31943
31944 /usr/X386/include
31945 /usr/x386/include
31946 /usr/XFree86/include/X11
31947
31948 /usr/include
31949 /usr/local/include
31950 /usr/unsupported/include
31951 /usr/athena/include
31952 /usr/local/x11r5/include
31953 /usr/lpp/Xamples/include
31954
31955 /usr/openwin/include
31956 /usr/openwin/share/include'
31957
31958 if test "$ac_x_includes" = no; then
31959 # Guess where to find include files, by looking for Xlib.h.
31960 # First, try using that file with no special directory specified.
31961 cat >conftest.$ac_ext <<_ACEOF
31962 /* confdefs.h. */
31963 _ACEOF
31964 cat confdefs.h >>conftest.$ac_ext
31965 cat >>conftest.$ac_ext <<_ACEOF
31966 /* end confdefs.h. */
31967 #include <X11/Xlib.h>
31968 _ACEOF
31969 if { (ac_try="$ac_cpp conftest.$ac_ext"
31970 case "(($ac_try" in
31971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31972 *) ac_try_echo=$ac_try;;
31973 esac
31974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31975 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31976 ac_status=$?
31977 grep -v '^ *+' conftest.er1 >conftest.err
31978 rm -f conftest.er1
31979 cat conftest.err >&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } >/dev/null && {
31982 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31983 test ! -s conftest.err
31984 }; then
31985 # We can compile using X headers with no special include directory.
31986 ac_x_includes=
31987 else
31988 echo "$as_me: failed program was:" >&5
31989 sed 's/^/| /' conftest.$ac_ext >&5
31990
31991 for ac_dir in $ac_x_header_dirs; do
31992 if test -r "$ac_dir/X11/Xlib.h"; then
31993 ac_x_includes=$ac_dir
31994 break
31995 fi
31996 done
31997 fi
31998
31999 rm -f conftest.err conftest.$ac_ext
32000 fi # $ac_x_includes = no
32001
32002 if test "$ac_x_libraries" = no; then
32003 # Check for the libraries.
32004 # See if we find them without any special options.
32005 # Don't add to $LIBS permanently.
32006 ac_save_LIBS=$LIBS
32007 LIBS="-lX11 $LIBS"
32008 cat >conftest.$ac_ext <<_ACEOF
32009 /* confdefs.h. */
32010 _ACEOF
32011 cat confdefs.h >>conftest.$ac_ext
32012 cat >>conftest.$ac_ext <<_ACEOF
32013 /* end confdefs.h. */
32014 #include <X11/Xlib.h>
32015 int
32016 main ()
32017 {
32018 XrmInitialize ()
32019 ;
32020 return 0;
32021 }
32022 _ACEOF
32023 rm -f conftest.$ac_objext conftest$ac_exeext
32024 if { (ac_try="$ac_link"
32025 case "(($ac_try" in
32026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32027 *) ac_try_echo=$ac_try;;
32028 esac
32029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32030 (eval "$ac_link") 2>conftest.er1
32031 ac_status=$?
32032 grep -v '^ *+' conftest.er1 >conftest.err
32033 rm -f conftest.er1
32034 cat conftest.err >&5
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); } && {
32037 test -z "$ac_c_werror_flag" ||
32038 test ! -s conftest.err
32039 } && test -s conftest$ac_exeext &&
32040 $as_test_x conftest$ac_exeext; then
32041 LIBS=$ac_save_LIBS
32042 # We can link X programs with no special library path.
32043 ac_x_libraries=
32044 else
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32047
32048 LIBS=$ac_save_LIBS
32049 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32050 do
32051 # Don't even attempt the hair of trying to link an X program!
32052 for ac_extension in a so sl; do
32053 if test -r "$ac_dir/libX11.$ac_extension"; then
32054 ac_x_libraries=$ac_dir
32055 break 2
32056 fi
32057 done
32058 done
32059 fi
32060
32061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32062 conftest$ac_exeext conftest.$ac_ext
32063 fi # $ac_x_libraries = no
32064
32065 case $ac_x_includes,$ac_x_libraries in #(
32066 no,* | *,no | *\'*)
32067 # Didn't find X, or a directory has "'" in its name.
32068 ac_cv_have_x="have_x=no";; #(
32069 *)
32070 # Record where we found X for the cache.
32071 ac_cv_have_x="have_x=yes\
32072 ac_x_includes='$ac_x_includes'\
32073 ac_x_libraries='$ac_x_libraries'"
32074 esac
32075 fi
32076 ;; #(
32077 *) have_x=yes;;
32078 esac
32079 eval "$ac_cv_have_x"
32080 fi # $with_x != no
32081
32082 if test "$have_x" != yes; then
32083 { echo "$as_me:$LINENO: result: $have_x" >&5
32084 echo "${ECHO_T}$have_x" >&6; }
32085 no_x=yes
32086 else
32087 # If each of the values was on the command line, it overrides each guess.
32088 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32089 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32090 # Update the cache value to reflect the command line values.
32091 ac_cv_have_x="have_x=yes\
32092 ac_x_includes='$x_includes'\
32093 ac_x_libraries='$x_libraries'"
32094 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32095 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32096 fi
32097
32098 if test "$no_x" = yes; then
32099 # Not all programs may use this symbol, but it does not hurt to define it.
32100
32101 cat >>confdefs.h <<\_ACEOF
32102 #define X_DISPLAY_MISSING 1
32103 _ACEOF
32104
32105 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32106 else
32107 if test -n "$x_includes"; then
32108 X_CFLAGS="$X_CFLAGS -I$x_includes"
32109 fi
32110
32111 # It would also be nice to do this for all -L options, not just this one.
32112 if test -n "$x_libraries"; then
32113 X_LIBS="$X_LIBS -L$x_libraries"
32114 # For Solaris; some versions of Sun CC require a space after -R and
32115 # others require no space. Words are not sufficient . . . .
32116 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32117 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32118 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32119 ac_xsave_c_werror_flag=$ac_c_werror_flag
32120 ac_c_werror_flag=yes
32121 cat >conftest.$ac_ext <<_ACEOF
32122 /* confdefs.h. */
32123 _ACEOF
32124 cat confdefs.h >>conftest.$ac_ext
32125 cat >>conftest.$ac_ext <<_ACEOF
32126 /* end confdefs.h. */
32127
32128 int
32129 main ()
32130 {
32131
32132 ;
32133 return 0;
32134 }
32135 _ACEOF
32136 rm -f conftest.$ac_objext conftest$ac_exeext
32137 if { (ac_try="$ac_link"
32138 case "(($ac_try" in
32139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32140 *) ac_try_echo=$ac_try;;
32141 esac
32142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 (eval "$ac_link") 2>conftest.er1
32144 ac_status=$?
32145 grep -v '^ *+' conftest.er1 >conftest.err
32146 rm -f conftest.er1
32147 cat conftest.err >&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } && {
32150 test -z "$ac_c_werror_flag" ||
32151 test ! -s conftest.err
32152 } && test -s conftest$ac_exeext &&
32153 $as_test_x conftest$ac_exeext; then
32154 { echo "$as_me:$LINENO: result: no" >&5
32155 echo "${ECHO_T}no" >&6; }
32156 X_LIBS="$X_LIBS -R$x_libraries"
32157 else
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.$ac_ext >&5
32160
32161 LIBS="$ac_xsave_LIBS -R $x_libraries"
32162 cat >conftest.$ac_ext <<_ACEOF
32163 /* confdefs.h. */
32164 _ACEOF
32165 cat confdefs.h >>conftest.$ac_ext
32166 cat >>conftest.$ac_ext <<_ACEOF
32167 /* end confdefs.h. */
32168
32169 int
32170 main ()
32171 {
32172
32173 ;
32174 return 0;
32175 }
32176 _ACEOF
32177 rm -f conftest.$ac_objext conftest$ac_exeext
32178 if { (ac_try="$ac_link"
32179 case "(($ac_try" in
32180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32181 *) ac_try_echo=$ac_try;;
32182 esac
32183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32184 (eval "$ac_link") 2>conftest.er1
32185 ac_status=$?
32186 grep -v '^ *+' conftest.er1 >conftest.err
32187 rm -f conftest.er1
32188 cat conftest.err >&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); } && {
32191 test -z "$ac_c_werror_flag" ||
32192 test ! -s conftest.err
32193 } && test -s conftest$ac_exeext &&
32194 $as_test_x conftest$ac_exeext; then
32195 { echo "$as_me:$LINENO: result: yes" >&5
32196 echo "${ECHO_T}yes" >&6; }
32197 X_LIBS="$X_LIBS -R $x_libraries"
32198 else
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32201
32202 { echo "$as_me:$LINENO: result: neither works" >&5
32203 echo "${ECHO_T}neither works" >&6; }
32204 fi
32205
32206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32207 conftest$ac_exeext conftest.$ac_ext
32208 fi
32209
32210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32211 conftest$ac_exeext conftest.$ac_ext
32212 ac_c_werror_flag=$ac_xsave_c_werror_flag
32213 LIBS=$ac_xsave_LIBS
32214 fi
32215
32216 # Check for system-dependent libraries X programs must link with.
32217 # Do this before checking for the system-independent R6 libraries
32218 # (-lICE), since we may need -lsocket or whatever for X linking.
32219
32220 if test "$ISC" = yes; then
32221 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32222 else
32223 # Martyn Johnson says this is needed for Ultrix, if the X
32224 # libraries were built with DECnet support. And Karl Berry says
32225 # the Alpha needs dnet_stub (dnet does not exist).
32226 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32227 cat >conftest.$ac_ext <<_ACEOF
32228 /* confdefs.h. */
32229 _ACEOF
32230 cat confdefs.h >>conftest.$ac_ext
32231 cat >>conftest.$ac_ext <<_ACEOF
32232 /* end confdefs.h. */
32233
32234 /* Override any GCC internal prototype to avoid an error.
32235 Use char because int might match the return type of a GCC
32236 builtin and then its argument prototype would still apply. */
32237 #ifdef __cplusplus
32238 extern "C"
32239 #endif
32240 char XOpenDisplay ();
32241 int
32242 main ()
32243 {
32244 return XOpenDisplay ();
32245 ;
32246 return 0;
32247 }
32248 _ACEOF
32249 rm -f conftest.$ac_objext conftest$ac_exeext
32250 if { (ac_try="$ac_link"
32251 case "(($ac_try" in
32252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32253 *) ac_try_echo=$ac_try;;
32254 esac
32255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32256 (eval "$ac_link") 2>conftest.er1
32257 ac_status=$?
32258 grep -v '^ *+' conftest.er1 >conftest.err
32259 rm -f conftest.er1
32260 cat conftest.err >&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); } && {
32263 test -z "$ac_c_werror_flag" ||
32264 test ! -s conftest.err
32265 } && test -s conftest$ac_exeext &&
32266 $as_test_x conftest$ac_exeext; then
32267 :
32268 else
32269 echo "$as_me: failed program was:" >&5
32270 sed 's/^/| /' conftest.$ac_ext >&5
32271
32272 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32273 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32274 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 else
32277 ac_check_lib_save_LIBS=$LIBS
32278 LIBS="-ldnet $LIBS"
32279 cat >conftest.$ac_ext <<_ACEOF
32280 /* confdefs.h. */
32281 _ACEOF
32282 cat confdefs.h >>conftest.$ac_ext
32283 cat >>conftest.$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32285
32286 /* Override any GCC internal prototype to avoid an error.
32287 Use char because int might match the return type of a GCC
32288 builtin and then its argument prototype would still apply. */
32289 #ifdef __cplusplus
32290 extern "C"
32291 #endif
32292 char dnet_ntoa ();
32293 int
32294 main ()
32295 {
32296 return dnet_ntoa ();
32297 ;
32298 return 0;
32299 }
32300 _ACEOF
32301 rm -f conftest.$ac_objext conftest$ac_exeext
32302 if { (ac_try="$ac_link"
32303 case "(($ac_try" in
32304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32305 *) ac_try_echo=$ac_try;;
32306 esac
32307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32308 (eval "$ac_link") 2>conftest.er1
32309 ac_status=$?
32310 grep -v '^ *+' conftest.er1 >conftest.err
32311 rm -f conftest.er1
32312 cat conftest.err >&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } && {
32315 test -z "$ac_c_werror_flag" ||
32316 test ! -s conftest.err
32317 } && test -s conftest$ac_exeext &&
32318 $as_test_x conftest$ac_exeext; then
32319 ac_cv_lib_dnet_dnet_ntoa=yes
32320 else
32321 echo "$as_me: failed program was:" >&5
32322 sed 's/^/| /' conftest.$ac_ext >&5
32323
32324 ac_cv_lib_dnet_dnet_ntoa=no
32325 fi
32326
32327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32328 conftest$ac_exeext conftest.$ac_ext
32329 LIBS=$ac_check_lib_save_LIBS
32330 fi
32331 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32332 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32333 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32334 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32335 fi
32336
32337 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32339 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32340 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32341 echo $ECHO_N "(cached) $ECHO_C" >&6
32342 else
32343 ac_check_lib_save_LIBS=$LIBS
32344 LIBS="-ldnet_stub $LIBS"
32345 cat >conftest.$ac_ext <<_ACEOF
32346 /* confdefs.h. */
32347 _ACEOF
32348 cat confdefs.h >>conftest.$ac_ext
32349 cat >>conftest.$ac_ext <<_ACEOF
32350 /* end confdefs.h. */
32351
32352 /* Override any GCC internal prototype to avoid an error.
32353 Use char because int might match the return type of a GCC
32354 builtin and then its argument prototype would still apply. */
32355 #ifdef __cplusplus
32356 extern "C"
32357 #endif
32358 char dnet_ntoa ();
32359 int
32360 main ()
32361 {
32362 return dnet_ntoa ();
32363 ;
32364 return 0;
32365 }
32366 _ACEOF
32367 rm -f conftest.$ac_objext conftest$ac_exeext
32368 if { (ac_try="$ac_link"
32369 case "(($ac_try" in
32370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32371 *) ac_try_echo=$ac_try;;
32372 esac
32373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32374 (eval "$ac_link") 2>conftest.er1
32375 ac_status=$?
32376 grep -v '^ *+' conftest.er1 >conftest.err
32377 rm -f conftest.er1
32378 cat conftest.err >&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); } && {
32381 test -z "$ac_c_werror_flag" ||
32382 test ! -s conftest.err
32383 } && test -s conftest$ac_exeext &&
32384 $as_test_x conftest$ac_exeext; then
32385 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32386 else
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.$ac_ext >&5
32389
32390 ac_cv_lib_dnet_stub_dnet_ntoa=no
32391 fi
32392
32393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32394 conftest$ac_exeext conftest.$ac_ext
32395 LIBS=$ac_check_lib_save_LIBS
32396 fi
32397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32398 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32399 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32401 fi
32402
32403 fi
32404 fi
32405
32406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32407 conftest$ac_exeext conftest.$ac_ext
32408 LIBS="$ac_xsave_LIBS"
32409
32410 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32411 # to get the SysV transport functions.
32412 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32413 # needs -lnsl.
32414 # The nsl library prevents programs from opening the X display
32415 # on Irix 5.2, according to T.E. Dickey.
32416 # The functions gethostbyname, getservbyname, and inet_addr are
32417 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32418 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32419 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32420 if test "${ac_cv_func_gethostbyname+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32423 cat >conftest.$ac_ext <<_ACEOF
32424 /* confdefs.h. */
32425 _ACEOF
32426 cat confdefs.h >>conftest.$ac_ext
32427 cat >>conftest.$ac_ext <<_ACEOF
32428 /* end confdefs.h. */
32429 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32431 #define gethostbyname innocuous_gethostbyname
32432
32433 /* System header to define __stub macros and hopefully few prototypes,
32434 which can conflict with char gethostbyname (); below.
32435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32436 <limits.h> exists even on freestanding compilers. */
32437
32438 #ifdef __STDC__
32439 # include <limits.h>
32440 #else
32441 # include <assert.h>
32442 #endif
32443
32444 #undef gethostbyname
32445
32446 /* Override any GCC internal prototype to avoid an error.
32447 Use char because int might match the return type of a GCC
32448 builtin and then its argument prototype would still apply. */
32449 #ifdef __cplusplus
32450 extern "C"
32451 #endif
32452 char gethostbyname ();
32453 /* The GNU C library defines this for functions which it implements
32454 to always fail with ENOSYS. Some functions are actually named
32455 something starting with __ and the normal name is an alias. */
32456 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32457 choke me
32458 #endif
32459
32460 int
32461 main ()
32462 {
32463 return gethostbyname ();
32464 ;
32465 return 0;
32466 }
32467 _ACEOF
32468 rm -f conftest.$ac_objext conftest$ac_exeext
32469 if { (ac_try="$ac_link"
32470 case "(($ac_try" in
32471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32472 *) ac_try_echo=$ac_try;;
32473 esac
32474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32475 (eval "$ac_link") 2>conftest.er1
32476 ac_status=$?
32477 grep -v '^ *+' conftest.er1 >conftest.err
32478 rm -f conftest.er1
32479 cat conftest.err >&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); } && {
32482 test -z "$ac_c_werror_flag" ||
32483 test ! -s conftest.err
32484 } && test -s conftest$ac_exeext &&
32485 $as_test_x conftest$ac_exeext; then
32486 ac_cv_func_gethostbyname=yes
32487 else
32488 echo "$as_me: failed program was:" >&5
32489 sed 's/^/| /' conftest.$ac_ext >&5
32490
32491 ac_cv_func_gethostbyname=no
32492 fi
32493
32494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32495 conftest$ac_exeext conftest.$ac_ext
32496 fi
32497 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32498 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32499
32500 if test $ac_cv_func_gethostbyname = no; then
32501 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32502 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32503 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32504 echo $ECHO_N "(cached) $ECHO_C" >&6
32505 else
32506 ac_check_lib_save_LIBS=$LIBS
32507 LIBS="-lnsl $LIBS"
32508 cat >conftest.$ac_ext <<_ACEOF
32509 /* confdefs.h. */
32510 _ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514
32515 /* Override any GCC internal prototype to avoid an error.
32516 Use char because int might match the return type of a GCC
32517 builtin and then its argument prototype would still apply. */
32518 #ifdef __cplusplus
32519 extern "C"
32520 #endif
32521 char gethostbyname ();
32522 int
32523 main ()
32524 {
32525 return gethostbyname ();
32526 ;
32527 return 0;
32528 }
32529 _ACEOF
32530 rm -f conftest.$ac_objext conftest$ac_exeext
32531 if { (ac_try="$ac_link"
32532 case "(($ac_try" in
32533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32535 esac
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_link") 2>conftest.er1
32538 ac_status=$?
32539 grep -v '^ *+' conftest.er1 >conftest.err
32540 rm -f conftest.er1
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest$ac_exeext &&
32547 $as_test_x conftest$ac_exeext; then
32548 ac_cv_lib_nsl_gethostbyname=yes
32549 else
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.$ac_ext >&5
32552
32553 ac_cv_lib_nsl_gethostbyname=no
32554 fi
32555
32556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32557 conftest$ac_exeext conftest.$ac_ext
32558 LIBS=$ac_check_lib_save_LIBS
32559 fi
32560 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32561 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32562 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32563 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32564 fi
32565
32566 if test $ac_cv_lib_nsl_gethostbyname = no; then
32567 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32568 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32569 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32570 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 else
32572 ac_check_lib_save_LIBS=$LIBS
32573 LIBS="-lbsd $LIBS"
32574 cat >conftest.$ac_ext <<_ACEOF
32575 /* confdefs.h. */
32576 _ACEOF
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580
32581 /* Override any GCC internal prototype to avoid an error.
32582 Use char because int might match the return type of a GCC
32583 builtin and then its argument prototype would still apply. */
32584 #ifdef __cplusplus
32585 extern "C"
32586 #endif
32587 char gethostbyname ();
32588 int
32589 main ()
32590 {
32591 return gethostbyname ();
32592 ;
32593 return 0;
32594 }
32595 _ACEOF
32596 rm -f conftest.$ac_objext conftest$ac_exeext
32597 if { (ac_try="$ac_link"
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_link") 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); } && {
32610 test -z "$ac_c_werror_flag" ||
32611 test ! -s conftest.err
32612 } && test -s conftest$ac_exeext &&
32613 $as_test_x conftest$ac_exeext; then
32614 ac_cv_lib_bsd_gethostbyname=yes
32615 else
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32618
32619 ac_cv_lib_bsd_gethostbyname=no
32620 fi
32621
32622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32623 conftest$ac_exeext conftest.$ac_ext
32624 LIBS=$ac_check_lib_save_LIBS
32625 fi
32626 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32627 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32628 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32630 fi
32631
32632 fi
32633 fi
32634
32635 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32636 # socket/setsockopt and other routines are undefined under SCO ODT
32637 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32638 # on later versions), says Simon Leinen: it contains gethostby*
32639 # variants that don't use the name server (or something). -lsocket
32640 # must be given before -lnsl if both are needed. We assume that
32641 # if connect needs -lnsl, so does gethostbyname.
32642 { echo "$as_me:$LINENO: checking for connect" >&5
32643 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32644 if test "${ac_cv_func_connect+set}" = set; then
32645 echo $ECHO_N "(cached) $ECHO_C" >&6
32646 else
32647 cat >conftest.$ac_ext <<_ACEOF
32648 /* confdefs.h. */
32649 _ACEOF
32650 cat confdefs.h >>conftest.$ac_ext
32651 cat >>conftest.$ac_ext <<_ACEOF
32652 /* end confdefs.h. */
32653 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32655 #define connect innocuous_connect
32656
32657 /* System header to define __stub macros and hopefully few prototypes,
32658 which can conflict with char connect (); below.
32659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32660 <limits.h> exists even on freestanding compilers. */
32661
32662 #ifdef __STDC__
32663 # include <limits.h>
32664 #else
32665 # include <assert.h>
32666 #endif
32667
32668 #undef connect
32669
32670 /* Override any GCC internal prototype to avoid an error.
32671 Use char because int might match the return type of a GCC
32672 builtin and then its argument prototype would still apply. */
32673 #ifdef __cplusplus
32674 extern "C"
32675 #endif
32676 char connect ();
32677 /* The GNU C library defines this for functions which it implements
32678 to always fail with ENOSYS. Some functions are actually named
32679 something starting with __ and the normal name is an alias. */
32680 #if defined __stub_connect || defined __stub___connect
32681 choke me
32682 #endif
32683
32684 int
32685 main ()
32686 {
32687 return connect ();
32688 ;
32689 return 0;
32690 }
32691 _ACEOF
32692 rm -f conftest.$ac_objext conftest$ac_exeext
32693 if { (ac_try="$ac_link"
32694 case "(($ac_try" in
32695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32696 *) ac_try_echo=$ac_try;;
32697 esac
32698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32699 (eval "$ac_link") 2>conftest.er1
32700 ac_status=$?
32701 grep -v '^ *+' conftest.er1 >conftest.err
32702 rm -f conftest.er1
32703 cat conftest.err >&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } && {
32706 test -z "$ac_c_werror_flag" ||
32707 test ! -s conftest.err
32708 } && test -s conftest$ac_exeext &&
32709 $as_test_x conftest$ac_exeext; then
32710 ac_cv_func_connect=yes
32711 else
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32714
32715 ac_cv_func_connect=no
32716 fi
32717
32718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32719 conftest$ac_exeext conftest.$ac_ext
32720 fi
32721 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32722 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32723
32724 if test $ac_cv_func_connect = no; then
32725 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32726 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32727 if test "${ac_cv_lib_socket_connect+set}" = set; then
32728 echo $ECHO_N "(cached) $ECHO_C" >&6
32729 else
32730 ac_check_lib_save_LIBS=$LIBS
32731 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32732 cat >conftest.$ac_ext <<_ACEOF
32733 /* confdefs.h. */
32734 _ACEOF
32735 cat confdefs.h >>conftest.$ac_ext
32736 cat >>conftest.$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32738
32739 /* Override any GCC internal prototype to avoid an error.
32740 Use char because int might match the return type of a GCC
32741 builtin and then its argument prototype would still apply. */
32742 #ifdef __cplusplus
32743 extern "C"
32744 #endif
32745 char connect ();
32746 int
32747 main ()
32748 {
32749 return connect ();
32750 ;
32751 return 0;
32752 }
32753 _ACEOF
32754 rm -f conftest.$ac_objext conftest$ac_exeext
32755 if { (ac_try="$ac_link"
32756 case "(($ac_try" in
32757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32758 *) ac_try_echo=$ac_try;;
32759 esac
32760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32761 (eval "$ac_link") 2>conftest.er1
32762 ac_status=$?
32763 grep -v '^ *+' conftest.er1 >conftest.err
32764 rm -f conftest.er1
32765 cat conftest.err >&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); } && {
32768 test -z "$ac_c_werror_flag" ||
32769 test ! -s conftest.err
32770 } && test -s conftest$ac_exeext &&
32771 $as_test_x conftest$ac_exeext; then
32772 ac_cv_lib_socket_connect=yes
32773 else
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.$ac_ext >&5
32776
32777 ac_cv_lib_socket_connect=no
32778 fi
32779
32780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32781 conftest$ac_exeext conftest.$ac_ext
32782 LIBS=$ac_check_lib_save_LIBS
32783 fi
32784 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32785 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32786 if test $ac_cv_lib_socket_connect = yes; then
32787 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32788 fi
32789
32790 fi
32791
32792 # Guillermo Gomez says -lposix is necessary on A/UX.
32793 { echo "$as_me:$LINENO: checking for remove" >&5
32794 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32795 if test "${ac_cv_func_remove+set}" = set; then
32796 echo $ECHO_N "(cached) $ECHO_C" >&6
32797 else
32798 cat >conftest.$ac_ext <<_ACEOF
32799 /* confdefs.h. */
32800 _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32806 #define remove innocuous_remove
32807
32808 /* System header to define __stub macros and hopefully few prototypes,
32809 which can conflict with char remove (); below.
32810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32811 <limits.h> exists even on freestanding compilers. */
32812
32813 #ifdef __STDC__
32814 # include <limits.h>
32815 #else
32816 # include <assert.h>
32817 #endif
32818
32819 #undef remove
32820
32821 /* Override any GCC internal prototype to avoid an error.
32822 Use char because int might match the return type of a GCC
32823 builtin and then its argument prototype would still apply. */
32824 #ifdef __cplusplus
32825 extern "C"
32826 #endif
32827 char remove ();
32828 /* The GNU C library defines this for functions which it implements
32829 to always fail with ENOSYS. Some functions are actually named
32830 something starting with __ and the normal name is an alias. */
32831 #if defined __stub_remove || defined __stub___remove
32832 choke me
32833 #endif
32834
32835 int
32836 main ()
32837 {
32838 return remove ();
32839 ;
32840 return 0;
32841 }
32842 _ACEOF
32843 rm -f conftest.$ac_objext conftest$ac_exeext
32844 if { (ac_try="$ac_link"
32845 case "(($ac_try" in
32846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32847 *) ac_try_echo=$ac_try;;
32848 esac
32849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32850 (eval "$ac_link") 2>conftest.er1
32851 ac_status=$?
32852 grep -v '^ *+' conftest.er1 >conftest.err
32853 rm -f conftest.er1
32854 cat conftest.err >&5
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); } && {
32857 test -z "$ac_c_werror_flag" ||
32858 test ! -s conftest.err
32859 } && test -s conftest$ac_exeext &&
32860 $as_test_x conftest$ac_exeext; then
32861 ac_cv_func_remove=yes
32862 else
32863 echo "$as_me: failed program was:" >&5
32864 sed 's/^/| /' conftest.$ac_ext >&5
32865
32866 ac_cv_func_remove=no
32867 fi
32868
32869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32870 conftest$ac_exeext conftest.$ac_ext
32871 fi
32872 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32873 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32874
32875 if test $ac_cv_func_remove = no; then
32876 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32877 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32878 if test "${ac_cv_lib_posix_remove+set}" = set; then
32879 echo $ECHO_N "(cached) $ECHO_C" >&6
32880 else
32881 ac_check_lib_save_LIBS=$LIBS
32882 LIBS="-lposix $LIBS"
32883 cat >conftest.$ac_ext <<_ACEOF
32884 /* confdefs.h. */
32885 _ACEOF
32886 cat confdefs.h >>conftest.$ac_ext
32887 cat >>conftest.$ac_ext <<_ACEOF
32888 /* end confdefs.h. */
32889
32890 /* Override any GCC internal prototype to avoid an error.
32891 Use char because int might match the return type of a GCC
32892 builtin and then its argument prototype would still apply. */
32893 #ifdef __cplusplus
32894 extern "C"
32895 #endif
32896 char remove ();
32897 int
32898 main ()
32899 {
32900 return remove ();
32901 ;
32902 return 0;
32903 }
32904 _ACEOF
32905 rm -f conftest.$ac_objext conftest$ac_exeext
32906 if { (ac_try="$ac_link"
32907 case "(($ac_try" in
32908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32909 *) ac_try_echo=$ac_try;;
32910 esac
32911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32912 (eval "$ac_link") 2>conftest.er1
32913 ac_status=$?
32914 grep -v '^ *+' conftest.er1 >conftest.err
32915 rm -f conftest.er1
32916 cat conftest.err >&5
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); } && {
32919 test -z "$ac_c_werror_flag" ||
32920 test ! -s conftest.err
32921 } && test -s conftest$ac_exeext &&
32922 $as_test_x conftest$ac_exeext; then
32923 ac_cv_lib_posix_remove=yes
32924 else
32925 echo "$as_me: failed program was:" >&5
32926 sed 's/^/| /' conftest.$ac_ext >&5
32927
32928 ac_cv_lib_posix_remove=no
32929 fi
32930
32931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32932 conftest$ac_exeext conftest.$ac_ext
32933 LIBS=$ac_check_lib_save_LIBS
32934 fi
32935 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32936 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32937 if test $ac_cv_lib_posix_remove = yes; then
32938 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32939 fi
32940
32941 fi
32942
32943 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32944 { echo "$as_me:$LINENO: checking for shmat" >&5
32945 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32946 if test "${ac_cv_func_shmat+set}" = set; then
32947 echo $ECHO_N "(cached) $ECHO_C" >&6
32948 else
32949 cat >conftest.$ac_ext <<_ACEOF
32950 /* confdefs.h. */
32951 _ACEOF
32952 cat confdefs.h >>conftest.$ac_ext
32953 cat >>conftest.$ac_ext <<_ACEOF
32954 /* end confdefs.h. */
32955 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32957 #define shmat innocuous_shmat
32958
32959 /* System header to define __stub macros and hopefully few prototypes,
32960 which can conflict with char shmat (); below.
32961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32962 <limits.h> exists even on freestanding compilers. */
32963
32964 #ifdef __STDC__
32965 # include <limits.h>
32966 #else
32967 # include <assert.h>
32968 #endif
32969
32970 #undef shmat
32971
32972 /* Override any GCC internal prototype to avoid an error.
32973 Use char because int might match the return type of a GCC
32974 builtin and then its argument prototype would still apply. */
32975 #ifdef __cplusplus
32976 extern "C"
32977 #endif
32978 char shmat ();
32979 /* The GNU C library defines this for functions which it implements
32980 to always fail with ENOSYS. Some functions are actually named
32981 something starting with __ and the normal name is an alias. */
32982 #if defined __stub_shmat || defined __stub___shmat
32983 choke me
32984 #endif
32985
32986 int
32987 main ()
32988 {
32989 return shmat ();
32990 ;
32991 return 0;
32992 }
32993 _ACEOF
32994 rm -f conftest.$ac_objext conftest$ac_exeext
32995 if { (ac_try="$ac_link"
32996 case "(($ac_try" in
32997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32998 *) ac_try_echo=$ac_try;;
32999 esac
33000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33001 (eval "$ac_link") 2>conftest.er1
33002 ac_status=$?
33003 grep -v '^ *+' conftest.er1 >conftest.err
33004 rm -f conftest.er1
33005 cat conftest.err >&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } && {
33008 test -z "$ac_c_werror_flag" ||
33009 test ! -s conftest.err
33010 } && test -s conftest$ac_exeext &&
33011 $as_test_x conftest$ac_exeext; then
33012 ac_cv_func_shmat=yes
33013 else
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.$ac_ext >&5
33016
33017 ac_cv_func_shmat=no
33018 fi
33019
33020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33021 conftest$ac_exeext conftest.$ac_ext
33022 fi
33023 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33024 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33025
33026 if test $ac_cv_func_shmat = no; then
33027 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33028 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33029 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33030 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 else
33032 ac_check_lib_save_LIBS=$LIBS
33033 LIBS="-lipc $LIBS"
33034 cat >conftest.$ac_ext <<_ACEOF
33035 /* confdefs.h. */
33036 _ACEOF
33037 cat confdefs.h >>conftest.$ac_ext
33038 cat >>conftest.$ac_ext <<_ACEOF
33039 /* end confdefs.h. */
33040
33041 /* Override any GCC internal prototype to avoid an error.
33042 Use char because int might match the return type of a GCC
33043 builtin and then its argument prototype would still apply. */
33044 #ifdef __cplusplus
33045 extern "C"
33046 #endif
33047 char shmat ();
33048 int
33049 main ()
33050 {
33051 return shmat ();
33052 ;
33053 return 0;
33054 }
33055 _ACEOF
33056 rm -f conftest.$ac_objext conftest$ac_exeext
33057 if { (ac_try="$ac_link"
33058 case "(($ac_try" in
33059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33060 *) ac_try_echo=$ac_try;;
33061 esac
33062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33063 (eval "$ac_link") 2>conftest.er1
33064 ac_status=$?
33065 grep -v '^ *+' conftest.er1 >conftest.err
33066 rm -f conftest.er1
33067 cat conftest.err >&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); } && {
33070 test -z "$ac_c_werror_flag" ||
33071 test ! -s conftest.err
33072 } && test -s conftest$ac_exeext &&
33073 $as_test_x conftest$ac_exeext; then
33074 ac_cv_lib_ipc_shmat=yes
33075 else
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.$ac_ext >&5
33078
33079 ac_cv_lib_ipc_shmat=no
33080 fi
33081
33082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33083 conftest$ac_exeext conftest.$ac_ext
33084 LIBS=$ac_check_lib_save_LIBS
33085 fi
33086 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33087 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33088 if test $ac_cv_lib_ipc_shmat = yes; then
33089 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33090 fi
33091
33092 fi
33093 fi
33094
33095 # Check for libraries that X11R6 Xt/Xaw programs need.
33096 ac_save_LDFLAGS=$LDFLAGS
33097 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33098 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33099 # check for ICE first), but we must link in the order -lSM -lICE or
33100 # we get undefined symbols. So assume we have SM if we have ICE.
33101 # These have to be linked with before -lX11, unlike the other
33102 # libraries we check for below, so use a different variable.
33103 # John Interrante, Karl Berry
33104 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33105 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33106 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33107 echo $ECHO_N "(cached) $ECHO_C" >&6
33108 else
33109 ac_check_lib_save_LIBS=$LIBS
33110 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33111 cat >conftest.$ac_ext <<_ACEOF
33112 /* confdefs.h. */
33113 _ACEOF
33114 cat confdefs.h >>conftest.$ac_ext
33115 cat >>conftest.$ac_ext <<_ACEOF
33116 /* end confdefs.h. */
33117
33118 /* Override any GCC internal prototype to avoid an error.
33119 Use char because int might match the return type of a GCC
33120 builtin and then its argument prototype would still apply. */
33121 #ifdef __cplusplus
33122 extern "C"
33123 #endif
33124 char IceConnectionNumber ();
33125 int
33126 main ()
33127 {
33128 return IceConnectionNumber ();
33129 ;
33130 return 0;
33131 }
33132 _ACEOF
33133 rm -f conftest.$ac_objext conftest$ac_exeext
33134 if { (ac_try="$ac_link"
33135 case "(($ac_try" in
33136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33137 *) ac_try_echo=$ac_try;;
33138 esac
33139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33140 (eval "$ac_link") 2>conftest.er1
33141 ac_status=$?
33142 grep -v '^ *+' conftest.er1 >conftest.err
33143 rm -f conftest.er1
33144 cat conftest.err >&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } && {
33147 test -z "$ac_c_werror_flag" ||
33148 test ! -s conftest.err
33149 } && test -s conftest$ac_exeext &&
33150 $as_test_x conftest$ac_exeext; then
33151 ac_cv_lib_ICE_IceConnectionNumber=yes
33152 else
33153 echo "$as_me: failed program was:" >&5
33154 sed 's/^/| /' conftest.$ac_ext >&5
33155
33156 ac_cv_lib_ICE_IceConnectionNumber=no
33157 fi
33158
33159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33160 conftest$ac_exeext conftest.$ac_ext
33161 LIBS=$ac_check_lib_save_LIBS
33162 fi
33163 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33164 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33165 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33166 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33167 fi
33168
33169 LDFLAGS=$ac_save_LDFLAGS
33170
33171 fi
33172
33173
33174 if test "$no_x" = "yes"; then
33175 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33176 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33177 { (exit 1); exit 1; }; }
33178 fi
33179
33180 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33181 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33182 AFMINSTALL=afminstall
33183 COMPILED_X_PROGRAM=0
33184
33185 fi
33186
33187 if test "$wxUSE_X11" = 1; then
33188 if test "$wxUSE_NANOX" = "yes"; then
33189 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33190 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33191 if test "x$MICROWIN" = x ; then
33192 { echo "$as_me:$LINENO: result: not found" >&5
33193 echo "${ECHO_T}not found" >&6; }
33194 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33195 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33196 { (exit 1); exit 1; }; }
33197 else
33198 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33199 echo "${ECHO_T}$MICROWIN" >&6; }
33200 cat >>confdefs.h <<\_ACEOF
33201 #define wxUSE_NANOX 1
33202 _ACEOF
33203
33204 fi
33205 fi
33206
33207 if test "$wxUSE_UNICODE" = "yes"; then
33208
33209
33210 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33211 if test -n "$ac_tool_prefix"; then
33212 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33213 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33216 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33217 echo $ECHO_N "(cached) $ECHO_C" >&6
33218 else
33219 case $PKG_CONFIG in
33220 [\\/]* | ?:[\\/]*)
33221 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33222 ;;
33223 *)
33224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33225 for as_dir in $PATH
33226 do
33227 IFS=$as_save_IFS
33228 test -z "$as_dir" && as_dir=.
33229 for ac_exec_ext in '' $ac_executable_extensions; do
33230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33231 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33233 break 2
33234 fi
33235 done
33236 done
33237 IFS=$as_save_IFS
33238
33239 ;;
33240 esac
33241 fi
33242 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33243 if test -n "$PKG_CONFIG"; then
33244 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33245 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33246 else
33247 { echo "$as_me:$LINENO: result: no" >&5
33248 echo "${ECHO_T}no" >&6; }
33249 fi
33250
33251
33252 fi
33253 if test -z "$ac_cv_path_PKG_CONFIG"; then
33254 ac_pt_PKG_CONFIG=$PKG_CONFIG
33255 # Extract the first word of "pkg-config", so it can be a program name with args.
33256 set dummy pkg-config; ac_word=$2
33257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33259 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33260 echo $ECHO_N "(cached) $ECHO_C" >&6
33261 else
33262 case $ac_pt_PKG_CONFIG in
33263 [\\/]* | ?:[\\/]*)
33264 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33265 ;;
33266 *)
33267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33268 for as_dir in $PATH
33269 do
33270 IFS=$as_save_IFS
33271 test -z "$as_dir" && as_dir=.
33272 for ac_exec_ext in '' $ac_executable_extensions; do
33273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33274 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33276 break 2
33277 fi
33278 done
33279 done
33280 IFS=$as_save_IFS
33281
33282 ;;
33283 esac
33284 fi
33285 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33286 if test -n "$ac_pt_PKG_CONFIG"; then
33287 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33288 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33289 else
33290 { echo "$as_me:$LINENO: result: no" >&5
33291 echo "${ECHO_T}no" >&6; }
33292 fi
33293
33294 if test "x$ac_pt_PKG_CONFIG" = x; then
33295 PKG_CONFIG=""
33296 else
33297 case $cross_compiling:$ac_tool_warned in
33298 yes:)
33299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33300 whose name does not start with the host triplet. If you think this
33301 configuration is useful to you, please write to autoconf@gnu.org." >&5
33302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33303 whose name does not start with the host triplet. If you think this
33304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33305 ac_tool_warned=yes ;;
33306 esac
33307 PKG_CONFIG=$ac_pt_PKG_CONFIG
33308 fi
33309 else
33310 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33311 fi
33312
33313 fi
33314 if test -n "$PKG_CONFIG"; then
33315 _pkg_min_version=0.9.0
33316 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33317 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33318 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33319 { echo "$as_me:$LINENO: result: yes" >&5
33320 echo "${ECHO_T}yes" >&6; }
33321 else
33322 { echo "$as_me:$LINENO: result: no" >&5
33323 echo "${ECHO_T}no" >&6; }
33324 PKG_CONFIG=""
33325 fi
33326
33327 fi
33328
33329
33330 pkg_failed=no
33331 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33332 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33333
33334 if test -n "$PKG_CONFIG"; then
33335 if test -n "$PANGOX_CFLAGS"; then
33336 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33337 else
33338 if test -n "$PKG_CONFIG" && \
33339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33340 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33341 ac_status=$?
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); }; then
33344 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33345 else
33346 pkg_failed=yes
33347 fi
33348 fi
33349 else
33350 pkg_failed=untried
33351 fi
33352 if test -n "$PKG_CONFIG"; then
33353 if test -n "$PANGOX_LIBS"; then
33354 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33355 else
33356 if test -n "$PKG_CONFIG" && \
33357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33358 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33359 ac_status=$?
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; then
33362 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33363 else
33364 pkg_failed=yes
33365 fi
33366 fi
33367 else
33368 pkg_failed=untried
33369 fi
33370
33371
33372
33373 if test $pkg_failed = yes; then
33374
33375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33376 _pkg_short_errors_supported=yes
33377 else
33378 _pkg_short_errors_supported=no
33379 fi
33380 if test $_pkg_short_errors_supported = yes; then
33381 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33382 else
33383 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33384 fi
33385 # Put the nasty error message in config.log where it belongs
33386 echo "$PANGOX_PKG_ERRORS" >&5
33387
33388
33389 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33390 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33391 { (exit 1); exit 1; }; }
33392
33393
33394 elif test $pkg_failed = untried; then
33395
33396 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33397 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33398 { (exit 1); exit 1; }; }
33399
33400
33401 else
33402 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33403 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33404 { echo "$as_me:$LINENO: result: yes" >&5
33405 echo "${ECHO_T}yes" >&6; }
33406
33407 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33408 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33409 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33410
33411 fi
33412
33413 pkg_failed=no
33414 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33415 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33416
33417 if test -n "$PKG_CONFIG"; then
33418 if test -n "$PANGOFT2_CFLAGS"; then
33419 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33420 else
33421 if test -n "$PKG_CONFIG" && \
33422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33423 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33424 ac_status=$?
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); }; then
33427 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33428 else
33429 pkg_failed=yes
33430 fi
33431 fi
33432 else
33433 pkg_failed=untried
33434 fi
33435 if test -n "$PKG_CONFIG"; then
33436 if test -n "$PANGOFT2_LIBS"; then
33437 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33438 else
33439 if test -n "$PKG_CONFIG" && \
33440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33441 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33442 ac_status=$?
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; then
33445 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33446 else
33447 pkg_failed=yes
33448 fi
33449 fi
33450 else
33451 pkg_failed=untried
33452 fi
33453
33454
33455
33456 if test $pkg_failed = yes; then
33457
33458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33459 _pkg_short_errors_supported=yes
33460 else
33461 _pkg_short_errors_supported=no
33462 fi
33463 if test $_pkg_short_errors_supported = yes; then
33464 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33465 else
33466 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33467 fi
33468 # Put the nasty error message in config.log where it belongs
33469 echo "$PANGOFT2_PKG_ERRORS" >&5
33470
33471
33472 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33473 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33474 wxUSE_PRINTING_ARCHITECTURE="no"
33475
33476
33477 elif test $pkg_failed = untried; then
33478
33479 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33480 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33481 wxUSE_PRINTING_ARCHITECTURE="no"
33482
33483
33484 else
33485 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33486 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33487 { echo "$as_me:$LINENO: result: yes" >&5
33488 echo "${ECHO_T}yes" >&6; }
33489
33490 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33491 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33492 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33493
33494 fi
33495
33496 pkg_failed=no
33497 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33498 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33499
33500 if test -n "$PKG_CONFIG"; then
33501 if test -n "$PANGOXFT_CFLAGS"; then
33502 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33503 else
33504 if test -n "$PKG_CONFIG" && \
33505 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33506 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; then
33510 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33511 else
33512 pkg_failed=yes
33513 fi
33514 fi
33515 else
33516 pkg_failed=untried
33517 fi
33518 if test -n "$PKG_CONFIG"; then
33519 if test -n "$PANGOXFT_LIBS"; then
33520 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33521 else
33522 if test -n "$PKG_CONFIG" && \
33523 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33524 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33525 ac_status=$?
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; then
33528 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33529 else
33530 pkg_failed=yes
33531 fi
33532 fi
33533 else
33534 pkg_failed=untried
33535 fi
33536
33537
33538
33539 if test $pkg_failed = yes; then
33540
33541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33542 _pkg_short_errors_supported=yes
33543 else
33544 _pkg_short_errors_supported=no
33545 fi
33546 if test $_pkg_short_errors_supported = yes; then
33547 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33548 else
33549 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33550 fi
33551 # Put the nasty error message in config.log where it belongs
33552 echo "$PANGOXFT_PKG_ERRORS" >&5
33553
33554
33555 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33556 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33557
33558
33559 elif test $pkg_failed = untried; then
33560
33561 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33562 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33563
33564
33565 else
33566 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33567 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33568 { echo "$as_me:$LINENO: result: yes" >&5
33569 echo "${ECHO_T}yes" >&6; }
33570
33571 cat >>confdefs.h <<\_ACEOF
33572 #define HAVE_PANGO_XFT 1
33573 _ACEOF
33574
33575 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33576 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33577 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33578
33579 fi
33580 save_LIBS="$LIBS"
33581 LIBS="$LIBS $PANGOX_LIBS"
33582
33583 for ac_func in pango_font_family_is_monospace
33584 do
33585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33589 echo $ECHO_N "(cached) $ECHO_C" >&6
33590 else
33591 cat >conftest.$ac_ext <<_ACEOF
33592 /* confdefs.h. */
33593 _ACEOF
33594 cat confdefs.h >>conftest.$ac_ext
33595 cat >>conftest.$ac_ext <<_ACEOF
33596 /* end confdefs.h. */
33597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33599 #define $ac_func innocuous_$ac_func
33600
33601 /* System header to define __stub macros and hopefully few prototypes,
33602 which can conflict with char $ac_func (); below.
33603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33604 <limits.h> exists even on freestanding compilers. */
33605
33606 #ifdef __STDC__
33607 # include <limits.h>
33608 #else
33609 # include <assert.h>
33610 #endif
33611
33612 #undef $ac_func
33613
33614 /* Override any GCC internal prototype to avoid an error.
33615 Use char because int might match the return type of a GCC
33616 builtin and then its argument prototype would still apply. */
33617 #ifdef __cplusplus
33618 extern "C"
33619 #endif
33620 char $ac_func ();
33621 /* The GNU C library defines this for functions which it implements
33622 to always fail with ENOSYS. Some functions are actually named
33623 something starting with __ and the normal name is an alias. */
33624 #if defined __stub_$ac_func || defined __stub___$ac_func
33625 choke me
33626 #endif
33627
33628 int
33629 main ()
33630 {
33631 return $ac_func ();
33632 ;
33633 return 0;
33634 }
33635 _ACEOF
33636 rm -f conftest.$ac_objext conftest$ac_exeext
33637 if { (ac_try="$ac_link"
33638 case "(($ac_try" in
33639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33640 *) ac_try_echo=$ac_try;;
33641 esac
33642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33643 (eval "$ac_link") 2>conftest.er1
33644 ac_status=$?
33645 grep -v '^ *+' conftest.er1 >conftest.err
33646 rm -f conftest.er1
33647 cat conftest.err >&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); } && {
33650 test -z "$ac_c_werror_flag" ||
33651 test ! -s conftest.err
33652 } && test -s conftest$ac_exeext &&
33653 $as_test_x conftest$ac_exeext; then
33654 eval "$as_ac_var=yes"
33655 else
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.$ac_ext >&5
33658
33659 eval "$as_ac_var=no"
33660 fi
33661
33662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33663 conftest$ac_exeext conftest.$ac_ext
33664 fi
33665 ac_res=`eval echo '${'$as_ac_var'}'`
33666 { echo "$as_me:$LINENO: result: $ac_res" >&5
33667 echo "${ECHO_T}$ac_res" >&6; }
33668 if test `eval echo '${'$as_ac_var'}'` = yes; then
33669 cat >>confdefs.h <<_ACEOF
33670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33671 _ACEOF
33672
33673 fi
33674 done
33675
33676 LIBS="$save_LIBS"
33677 fi
33678
33679 wxUSE_UNIVERSAL="yes"
33680
33681 if test "$wxUSE_NANOX" = "yes"; then
33682 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33683 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"
33684 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33685 else
33686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33687 fi
33688
33689 TOOLKIT=X11
33690 GUIDIST=X11_DIST
33691 fi
33692
33693 if test "$wxUSE_MOTIF" = 1; then
33694 if test "$wxUSE_UNICODE" = "yes"; then
33695 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33696 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33697 { (exit 1); exit 1; }; }
33698 fi
33699
33700 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33701 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33702
33703 ac_find_includes=
33704 for ac_dir in $SEARCH_INCLUDE /usr/include;
33705 do
33706 if test -f "$ac_dir/Xm/Xm.h"; then
33707 ac_find_includes=$ac_dir
33708 break
33709 fi
33710 done
33711
33712 if test "$ac_find_includes" != "" ; then
33713 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33714 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33715
33716 if test "x$ac_find_includes" = "x/usr/include"; then
33717 ac_path_to_include=""
33718 else
33719 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33720 result=$?
33721 if test $result = 0; then
33722 ac_path_to_include=""
33723 else
33724 ac_path_to_include=" -I$ac_find_includes"
33725 fi
33726 fi
33727
33728 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33729 else
33730 save_CFLAGS=$CFLAGS
33731 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33732
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h. */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739
33740 #include <Xm/Xm.h>
33741
33742 int
33743 main ()
33744 {
33745
33746 int version;
33747 version = xmUseVersion;
33748
33749 ;
33750 return 0;
33751 }
33752 _ACEOF
33753 rm -f conftest.$ac_objext
33754 if { (ac_try="$ac_compile"
33755 case "(($ac_try" in
33756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33757 *) ac_try_echo=$ac_try;;
33758 esac
33759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33760 (eval "$ac_compile") 2>conftest.er1
33761 ac_status=$?
33762 grep -v '^ *+' conftest.er1 >conftest.err
33763 rm -f conftest.er1
33764 cat conftest.err >&5
33765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33766 (exit $ac_status); } && {
33767 test -z "$ac_c_werror_flag" ||
33768 test ! -s conftest.err
33769 } && test -s conftest.$ac_objext; then
33770
33771 { echo "$as_me:$LINENO: result: found in default search path" >&5
33772 echo "${ECHO_T}found in default search path" >&6; }
33773 COMPILED_X_PROGRAM=1
33774
33775 else
33776 echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33778
33779
33780 { echo "$as_me:$LINENO: result: no" >&5
33781 echo "${ECHO_T}no" >&6; }
33782 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33783 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33784 { (exit 1); exit 1; }; }
33785
33786
33787 fi
33788
33789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33790
33791 CFLAGS=$save_CFLAGS
33792 fi
33793
33794
33795 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33796 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33797
33798 ac_find_libraries=
33799 for ac_dir in $SEARCH_LIB;
33800 do
33801 for ac_extension in a so sl dylib dll.a; do
33802 if test -f "$ac_dir/libXm.$ac_extension"; then
33803 ac_find_libraries=$ac_dir
33804 break 2
33805 fi
33806 done
33807 done
33808
33809
33810 if test "x$ac_find_libraries" != "x" ; then
33811 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33812 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33813
33814
33815 if test "$ac_find_libraries" = "default location"; then
33816 ac_path_to_link=""
33817 else
33818 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33819 result=$?
33820 if test $result = 0; then
33821 ac_path_to_link=""
33822 else
33823 ac_path_to_link=" -L$ac_find_libraries"
33824 fi
33825 fi
33826
33827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33828 else
33829 save_CFLAGS=$CFLAGS
33830 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33831 save_LIBS="$LIBS"
33832 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33833
33834 cat >conftest.$ac_ext <<_ACEOF
33835 /* confdefs.h. */
33836 _ACEOF
33837 cat confdefs.h >>conftest.$ac_ext
33838 cat >>conftest.$ac_ext <<_ACEOF
33839 /* end confdefs.h. */
33840
33841 #include <Xm/Xm.h>
33842
33843 int
33844 main ()
33845 {
33846
33847 int version;
33848 version = xmUseVersion;
33849
33850 ;
33851 return 0;
33852 }
33853 _ACEOF
33854 rm -f conftest.$ac_objext conftest$ac_exeext
33855 if { (ac_try="$ac_link"
33856 case "(($ac_try" in
33857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33858 *) ac_try_echo=$ac_try;;
33859 esac
33860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33861 (eval "$ac_link") 2>conftest.er1
33862 ac_status=$?
33863 grep -v '^ *+' conftest.er1 >conftest.err
33864 rm -f conftest.er1
33865 cat conftest.err >&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); } && {
33868 test -z "$ac_c_werror_flag" ||
33869 test ! -s conftest.err
33870 } && test -s conftest$ac_exeext &&
33871 $as_test_x conftest$ac_exeext; then
33872
33873 { echo "$as_me:$LINENO: result: found in default search path" >&5
33874 echo "${ECHO_T}found in default search path" >&6; }
33875 COMPILED_X_PROGRAM=1
33876
33877 else
33878 echo "$as_me: failed program was:" >&5
33879 sed 's/^/| /' conftest.$ac_ext >&5
33880
33881
33882 { echo "$as_me:$LINENO: result: no" >&5
33883 echo "${ECHO_T}no" >&6; }
33884 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33885 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33886 { (exit 1); exit 1; }; }
33887
33888
33889 fi
33890
33891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33892 conftest$ac_exeext conftest.$ac_ext
33893
33894 CFLAGS=$save_CFLAGS
33895 LIBS="$save_LIBS"
33896 fi
33897
33898 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33899 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33900 libp_link=""
33901 libsm_ice_link=""
33902 libs_found=0
33903 for libp in "" " -lXp"; do
33904 if test "$libs_found" = "0"; then
33905 for libsm_ice in "" " -lSM -lICE"; do
33906 if test "$libs_found" = "0"; then
33907 save_LIBS="$LIBS"
33908 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33909 save_CFLAGS=$CFLAGS
33910 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33911
33912 cat >conftest.$ac_ext <<_ACEOF
33913 /* confdefs.h. */
33914 _ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918
33919 #include <Xm/Xm.h>
33920 #include <Xm/List.h>
33921
33922 int
33923 main ()
33924 {
33925
33926 XmString string = NULL;
33927 Widget w = NULL;
33928 int position = 0;
33929 XmListAddItem(w, string, position);
33930
33931 ;
33932 return 0;
33933 }
33934 _ACEOF
33935 rm -f conftest.$ac_objext conftest$ac_exeext
33936 if { (ac_try="$ac_link"
33937 case "(($ac_try" in
33938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33939 *) ac_try_echo=$ac_try;;
33940 esac
33941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33942 (eval "$ac_link") 2>conftest.er1
33943 ac_status=$?
33944 grep -v '^ *+' conftest.er1 >conftest.err
33945 rm -f conftest.er1
33946 cat conftest.err >&5
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); } && {
33949 test -z "$ac_c_werror_flag" ||
33950 test ! -s conftest.err
33951 } && test -s conftest$ac_exeext &&
33952 $as_test_x conftest$ac_exeext; then
33953
33954 libp_link="$libp"
33955 libsm_ice_link="$libsm_ice"
33956 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33957 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33958 libs_found=1
33959
33960 else
33961 echo "$as_me: failed program was:" >&5
33962 sed 's/^/| /' conftest.$ac_ext >&5
33963
33964
33965
33966 fi
33967
33968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33969 conftest$ac_exeext conftest.$ac_ext
33970
33971 LIBS="$save_LIBS"
33972 CFLAGS=$save_CFLAGS
33973 fi
33974 done
33975 fi
33976 done
33977
33978 if test "$libs_found" = "0"; then
33979 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33980 echo "${ECHO_T}can't find the right libraries" >&6; }
33981 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33982 echo "$as_me: error: can't link a simple motif program" >&2;}
33983 { (exit 1); exit 1; }; }
33984 fi
33985
33986 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33987 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33988 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33989 echo $ECHO_N "(cached) $ECHO_C" >&6
33990 else
33991 ac_check_lib_save_LIBS=$LIBS
33992 LIBS="-lSgm $LIBS"
33993 cat >conftest.$ac_ext <<_ACEOF
33994 /* confdefs.h. */
33995 _ACEOF
33996 cat confdefs.h >>conftest.$ac_ext
33997 cat >>conftest.$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
33999
34000 /* Override any GCC internal prototype to avoid an error.
34001 Use char because int might match the return type of a GCC
34002 builtin and then its argument prototype would still apply. */
34003 #ifdef __cplusplus
34004 extern "C"
34005 #endif
34006 char SgCreateList ();
34007 int
34008 main ()
34009 {
34010 return SgCreateList ();
34011 ;
34012 return 0;
34013 }
34014 _ACEOF
34015 rm -f conftest.$ac_objext conftest$ac_exeext
34016 if { (ac_try="$ac_link"
34017 case "(($ac_try" in
34018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34019 *) ac_try_echo=$ac_try;;
34020 esac
34021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34022 (eval "$ac_link") 2>conftest.er1
34023 ac_status=$?
34024 grep -v '^ *+' conftest.er1 >conftest.err
34025 rm -f conftest.er1
34026 cat conftest.err >&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); } && {
34029 test -z "$ac_c_werror_flag" ||
34030 test ! -s conftest.err
34031 } && test -s conftest$ac_exeext &&
34032 $as_test_x conftest$ac_exeext; then
34033 ac_cv_lib_Sgm_SgCreateList=yes
34034 else
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.$ac_ext >&5
34037
34038 ac_cv_lib_Sgm_SgCreateList=no
34039 fi
34040
34041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34042 conftest$ac_exeext conftest.$ac_ext
34043 LIBS=$ac_check_lib_save_LIBS
34044 fi
34045 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34046 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34047 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34048 libsgm_link=" -lSgm"
34049 fi
34050
34051
34052 save_CFLAGS=$CFLAGS
34053 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34054
34055 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34056 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34057 if test "${wx_cv_lib_motif2+set}" = set; then
34058 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 else
34060 cat >conftest.$ac_ext <<_ACEOF
34061 /* confdefs.h. */
34062 _ACEOF
34063 cat confdefs.h >>conftest.$ac_ext
34064 cat >>conftest.$ac_ext <<_ACEOF
34065 /* end confdefs.h. */
34066
34067 #include <Xm/Xm.h>
34068
34069 int
34070 main ()
34071 {
34072
34073 #if XmVersion < 2000
34074 Not Motif 2
34075 #endif
34076
34077 ;
34078 return 0;
34079 }
34080 _ACEOF
34081 rm -f conftest.$ac_objext
34082 if { (ac_try="$ac_compile"
34083 case "(($ac_try" in
34084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34085 *) ac_try_echo=$ac_try;;
34086 esac
34087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34088 (eval "$ac_compile") 2>conftest.er1
34089 ac_status=$?
34090 grep -v '^ *+' conftest.er1 >conftest.err
34091 rm -f conftest.er1
34092 cat conftest.err >&5
34093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34094 (exit $ac_status); } && {
34095 test -z "$ac_c_werror_flag" ||
34096 test ! -s conftest.err
34097 } && test -s conftest.$ac_objext; then
34098 wx_cv_lib_motif2="yes"
34099 else
34100 echo "$as_me: failed program was:" >&5
34101 sed 's/^/| /' conftest.$ac_ext >&5
34102
34103 wx_cv_lib_motif2="no"
34104 fi
34105
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34107 fi
34108 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34109 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34110 if test "$wx_cv_lib_motif2" = "yes"; then
34111 cat >>confdefs.h <<\_ACEOF
34112 #define __WXMOTIF20__ 1
34113 _ACEOF
34114
34115 else
34116 cat >>confdefs.h <<\_ACEOF
34117 #define __WXMOTIF20__ 0
34118 _ACEOF
34119
34120 fi
34121
34122 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34123 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34124 if test "${wx_cv_lib_lesstif+set}" = set; then
34125 echo $ECHO_N "(cached) $ECHO_C" >&6
34126 else
34127 cat >conftest.$ac_ext <<_ACEOF
34128 /* confdefs.h. */
34129 _ACEOF
34130 cat confdefs.h >>conftest.$ac_ext
34131 cat >>conftest.$ac_ext <<_ACEOF
34132 /* end confdefs.h. */
34133
34134 #include <Xm/Xm.h>
34135
34136 int
34137 main ()
34138 {
34139
34140 #if !defined(LesstifVersion) || LesstifVersion <= 0
34141 Not Lesstif
34142 #endif
34143
34144 ;
34145 return 0;
34146 }
34147 _ACEOF
34148 rm -f conftest.$ac_objext
34149 if { (ac_try="$ac_compile"
34150 case "(($ac_try" in
34151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34152 *) ac_try_echo=$ac_try;;
34153 esac
34154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34155 (eval "$ac_compile") 2>conftest.er1
34156 ac_status=$?
34157 grep -v '^ *+' conftest.er1 >conftest.err
34158 rm -f conftest.er1
34159 cat conftest.err >&5
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); } && {
34162 test -z "$ac_c_werror_flag" ||
34163 test ! -s conftest.err
34164 } && test -s conftest.$ac_objext; then
34165 wx_cv_lib_lesstif="yes"
34166 else
34167 echo "$as_me: failed program was:" >&5
34168 sed 's/^/| /' conftest.$ac_ext >&5
34169
34170 wx_cv_lib_lesstif="no"
34171 fi
34172
34173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34174
34175 fi
34176 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34177 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34178 if test "$wx_cv_lib_lesstif" = "yes"; then
34179 cat >>confdefs.h <<\_ACEOF
34180 #define __WXLESSTIF__ 1
34181 _ACEOF
34182
34183 else
34184 cat >>confdefs.h <<\_ACEOF
34185 #define __WXLESSTIF__ 0
34186 _ACEOF
34187
34188 fi
34189
34190 CFLAGS=$save_CFLAGS
34191
34192 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34193 TOOLKIT=MOTIF
34194 GUIDIST=MOTIF_DIST
34195 fi
34196
34197 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34198 if test "$wxUSE_LIBXPM" = "sys"; then
34199 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34200 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34201
34202 ac_find_libraries=
34203 for ac_dir in $SEARCH_LIB;
34204 do
34205 for ac_extension in a so sl dylib dll.a; do
34206 if test -f "$ac_dir/libXpm.$ac_extension"; then
34207 ac_find_libraries=$ac_dir
34208 break 2
34209 fi
34210 done
34211 done
34212
34213 if test "$ac_find_libraries" != "" ; then
34214
34215 if test "$ac_find_libraries" = "default location"; then
34216 ac_path_to_link=""
34217 else
34218 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34219 result=$?
34220 if test $result = 0; then
34221 ac_path_to_link=""
34222 else
34223 ac_path_to_link=" -L$ac_find_libraries"
34224 fi
34225 fi
34226
34227 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34228 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34229 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34230
34231 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34232 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34233 if test "${wx_cv_x11_xpm_h+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 else
34236
34237 save_CFLAGS=$CFLAGS
34238 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34239
34240 cat >conftest.$ac_ext <<_ACEOF
34241 /* confdefs.h. */
34242 _ACEOF
34243 cat confdefs.h >>conftest.$ac_ext
34244 cat >>conftest.$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246
34247 #include <X11/xpm.h>
34248
34249 int
34250 main ()
34251 {
34252
34253 int version;
34254 version = XpmLibraryVersion();
34255
34256 ;
34257 return 0;
34258 }
34259 _ACEOF
34260 rm -f conftest.$ac_objext
34261 if { (ac_try="$ac_compile"
34262 case "(($ac_try" in
34263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34265 esac
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_compile") 2>conftest.er1
34268 ac_status=$?
34269 grep -v '^ *+' conftest.er1 >conftest.err
34270 rm -f conftest.er1
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest.$ac_objext; then
34277 wx_cv_x11_xpm_h=yes
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34281
34282 wx_cv_x11_xpm_h=no
34283
34284 fi
34285
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287
34288 CFLAGS=$save_CFLAGS
34289
34290
34291 fi
34292 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34293 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34294
34295 if test $wx_cv_x11_xpm_h = "yes"; then
34296 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34297 cat >>confdefs.h <<\_ACEOF
34298 #define wxHAVE_LIB_XPM 1
34299 _ACEOF
34300
34301 else
34302 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34303 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34304 fi
34305 fi
34306
34307 fi
34308
34309 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34310 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34311 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 else
34314 ac_check_lib_save_LIBS=$LIBS
34315 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34316 cat >conftest.$ac_ext <<_ACEOF
34317 /* confdefs.h. */
34318 _ACEOF
34319 cat confdefs.h >>conftest.$ac_ext
34320 cat >>conftest.$ac_ext <<_ACEOF
34321 /* end confdefs.h. */
34322
34323 /* Override any GCC internal prototype to avoid an error.
34324 Use char because int might match the return type of a GCC
34325 builtin and then its argument prototype would still apply. */
34326 #ifdef __cplusplus
34327 extern "C"
34328 #endif
34329 char XShapeQueryExtension ();
34330 int
34331 main ()
34332 {
34333 return XShapeQueryExtension ();
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 rm -f conftest.$ac_objext conftest$ac_exeext
34339 if { (ac_try="$ac_link"
34340 case "(($ac_try" in
34341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34342 *) ac_try_echo=$ac_try;;
34343 esac
34344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34345 (eval "$ac_link") 2>conftest.er1
34346 ac_status=$?
34347 grep -v '^ *+' conftest.er1 >conftest.err
34348 rm -f conftest.er1
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } && {
34352 test -z "$ac_c_werror_flag" ||
34353 test ! -s conftest.err
34354 } && test -s conftest$ac_exeext &&
34355 $as_test_x conftest$ac_exeext; then
34356 ac_cv_lib_Xext_XShapeQueryExtension=yes
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34360
34361 ac_cv_lib_Xext_XShapeQueryExtension=no
34362 fi
34363
34364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34365 conftest$ac_exeext conftest.$ac_ext
34366 LIBS=$ac_check_lib_save_LIBS
34367 fi
34368 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34369 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34370 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34371
34372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34373 wxHAVE_XEXT_LIB=1
34374
34375 fi
34376
34377
34378 if test "$wxHAVE_XEXT_LIB" = 1; then
34379 save_CFLAGS="$CFLAGS"
34380 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34381
34382 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34383 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34384 cat >conftest.$ac_ext <<_ACEOF
34385 /* confdefs.h. */
34386 _ACEOF
34387 cat confdefs.h >>conftest.$ac_ext
34388 cat >>conftest.$ac_ext <<_ACEOF
34389 /* end confdefs.h. */
34390
34391 #include <X11/Xlib.h>
34392 #include <X11/extensions/shape.h>
34393
34394 int
34395 main ()
34396 {
34397
34398 int dummy1, dummy2;
34399 XShapeQueryExtension((Display*)NULL,
34400 (int*)NULL, (int*)NULL);
34401
34402 ;
34403 return 0;
34404 }
34405 _ACEOF
34406 rm -f conftest.$ac_objext
34407 if { (ac_try="$ac_compile"
34408 case "(($ac_try" in
34409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34410 *) ac_try_echo=$ac_try;;
34411 esac
34412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34413 (eval "$ac_compile") 2>conftest.er1
34414 ac_status=$?
34415 grep -v '^ *+' conftest.er1 >conftest.err
34416 rm -f conftest.er1
34417 cat conftest.err >&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); } && {
34420 test -z "$ac_c_werror_flag" ||
34421 test ! -s conftest.err
34422 } && test -s conftest.$ac_objext; then
34423
34424 cat >>confdefs.h <<\_ACEOF
34425 #define HAVE_XSHAPE 1
34426 _ACEOF
34427
34428 { echo "$as_me:$LINENO: result: found" >&5
34429 echo "${ECHO_T}found" >&6; }
34430
34431 else
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34434
34435
34436 { echo "$as_me:$LINENO: result: not found" >&5
34437 echo "${ECHO_T}not found" >&6; }
34438
34439 fi
34440
34441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34442 CFLAGS="$save_CFLAGS"
34443
34444 fi
34445 fi
34446
34447 if test "$wxUSE_MAC" = 1; then
34448 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34449 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34450 if test "$GCC" = yes; then
34451 { echo "$as_me:$LINENO: result: gcc" >&5
34452 echo "${ECHO_T}gcc" >&6; }
34453 CPPFLAGS_PASCAL="-fpascal-strings"
34454 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34455 { echo "$as_me:$LINENO: result: xlc" >&5
34456 echo "${ECHO_T}xlc" >&6; }
34457 CPPFLAGS_PASCAL="-qmacpstr"
34458 else
34459 { echo "$as_me:$LINENO: result: none" >&5
34460 echo "${ECHO_T}none" >&6; }
34461 fi
34462
34463 if test "x$wxUSE_UNIX" = "xyes"; then
34464 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34465 else
34466 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34467 fi
34468
34469 TOOLKIT=MAC
34470 GUIDIST=MACX_DIST
34471 WXBASEPORT="_carbon"
34472 fi
34473
34474 if test "$wxUSE_COCOA" = 1; then
34475 TOOLKIT=COCOA
34476 GUIDIST=COCOA_DIST
34477 fi
34478
34479 if test "$wxUSE_PM" = 1; then
34480 TOOLKIT=PM
34481 GUIDIST=PM_DIST
34482 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34483 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34484 if test "${wx_cv_spbcdata+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 else
34487
34488 cat >conftest.$ac_ext <<_ACEOF
34489 /* confdefs.h. */
34490 _ACEOF
34491 cat confdefs.h >>conftest.$ac_ext
34492 cat >>conftest.$ac_ext <<_ACEOF
34493 /* end confdefs.h. */
34494
34495 #define INCL_PM
34496 #include <os2.h>
34497
34498 int
34499 main ()
34500 {
34501
34502 SPBCDATA test;
34503
34504 ;
34505 return 0;
34506 }
34507 _ACEOF
34508 rm -f conftest.$ac_objext
34509 if { (ac_try="$ac_compile"
34510 case "(($ac_try" in
34511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34512 *) ac_try_echo=$ac_try;;
34513 esac
34514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34515 (eval "$ac_compile") 2>conftest.er1
34516 ac_status=$?
34517 grep -v '^ *+' conftest.er1 >conftest.err
34518 rm -f conftest.er1
34519 cat conftest.err >&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } && {
34522 test -z "$ac_c_werror_flag" ||
34523 test ! -s conftest.err
34524 } && test -s conftest.$ac_objext; then
34525 wx_cv_spbcdata=yes
34526 else
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34529
34530 wx_cv_spbcdata=no
34531
34532 fi
34533
34534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34535
34536
34537 fi
34538 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34539 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34540
34541 if test $wx_cv_spbcdata = "yes"; then
34542 cat >>confdefs.h <<\_ACEOF
34543 #define HAVE_SPBCDATA 1
34544 _ACEOF
34545
34546 fi
34547 fi
34548
34549 if test "$TOOLKIT" = "PM" ; then
34550 TOOLKIT_DIR="os2"
34551 else
34552 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34553 fi
34554
34555 if test "$wxUSE_UNIVERSAL" = "yes"; then
34556 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34557 WIDGET_SET=univ
34558 fi
34559
34560 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34561 DISTDIR="wx\$(TOOLKIT)"
34562 else
34563 USE_GUI=0
34564
34565 TOOLKIT_DIR="base"
34566
34567 if test "$USE_WIN32" = 1 ; then
34568 TOOLKIT="MSW"
34569 fi
34570
34571 GUIDIST="BASE_DIST"
34572 DISTDIR="wxBase"
34573 fi
34574
34575
34576
34577 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34578 if test "$TOOLKIT" = "DFB" ; then
34579 wxUSE_UNICODE_UTF8=yes
34580 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34581 wxUSE_UNICODE_UTF8=yes
34582 elif test "$USE_OS2" = "1" ; then
34583 wxUSE_UNICODE_UTF8=yes
34584 else
34585 wxUSE_UNICODE_UTF8=no
34586 fi
34587 fi
34588
34589
34590 if test "$wxUSE_GUI" = "yes"; then
34591 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34592 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34593 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34594 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34596 else
34597 cat >conftest.$ac_ext <<_ACEOF
34598 /* confdefs.h. */
34599 _ACEOF
34600 cat confdefs.h >>conftest.$ac_ext
34601 cat >>conftest.$ac_ext <<_ACEOF
34602 /* end confdefs.h. */
34603
34604
34605 #include <X11/Xlib.h>
34606 _ACEOF
34607 rm -f conftest.$ac_objext
34608 if { (ac_try="$ac_compile"
34609 case "(($ac_try" in
34610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34611 *) ac_try_echo=$ac_try;;
34612 esac
34613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34614 (eval "$ac_compile") 2>conftest.er1
34615 ac_status=$?
34616 grep -v '^ *+' conftest.er1 >conftest.err
34617 rm -f conftest.er1
34618 cat conftest.err >&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); } && {
34621 test -z "$ac_c_werror_flag" ||
34622 test ! -s conftest.err
34623 } && test -s conftest.$ac_objext; then
34624 ac_cv_header_X11_Xlib_h=yes
34625 else
34626 echo "$as_me: failed program was:" >&5
34627 sed 's/^/| /' conftest.$ac_ext >&5
34628
34629 ac_cv_header_X11_Xlib_h=no
34630 fi
34631
34632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34633 fi
34634 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34635 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34636
34637
34638 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34639 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34640 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34642 else
34643 cat >conftest.$ac_ext <<_ACEOF
34644 /* confdefs.h. */
34645 _ACEOF
34646 cat confdefs.h >>conftest.$ac_ext
34647 cat >>conftest.$ac_ext <<_ACEOF
34648 /* end confdefs.h. */
34649
34650 #if HAVE_X11_XLIB_H
34651 #include <X11/Xlib.h>
34652 #endif
34653
34654
34655 #include <X11/XKBlib.h>
34656 _ACEOF
34657 rm -f conftest.$ac_objext
34658 if { (ac_try="$ac_compile"
34659 case "(($ac_try" in
34660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34661 *) ac_try_echo=$ac_try;;
34662 esac
34663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34664 (eval "$ac_compile") 2>conftest.er1
34665 ac_status=$?
34666 grep -v '^ *+' conftest.er1 >conftest.err
34667 rm -f conftest.er1
34668 cat conftest.err >&5
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); } && {
34671 test -z "$ac_c_werror_flag" ||
34672 test ! -s conftest.err
34673 } && test -s conftest.$ac_objext; then
34674 ac_cv_header_X11_XKBlib_h=yes
34675 else
34676 echo "$as_me: failed program was:" >&5
34677 sed 's/^/| /' conftest.$ac_ext >&5
34678
34679 ac_cv_header_X11_XKBlib_h=no
34680 fi
34681
34682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34683 fi
34684 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34685 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34686
34687
34688 fi
34689 fi
34690
34691
34692
34693 IODBC_C_SRC=""
34694
34695
34696 if test "$TOOLKIT" != "MSW" ; then
34697
34698 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34699
34700 { echo "$as_me:$LINENO: checking for sql.h" >&5
34701 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34702 if test "${ac_cv_header_sql_h+set}" = set; then
34703 echo $ECHO_N "(cached) $ECHO_C" >&6
34704 else
34705 cat >conftest.$ac_ext <<_ACEOF
34706 /* confdefs.h. */
34707 _ACEOF
34708 cat confdefs.h >>conftest.$ac_ext
34709 cat >>conftest.$ac_ext <<_ACEOF
34710 /* end confdefs.h. */
34711
34712
34713 #include <sql.h>
34714 _ACEOF
34715 rm -f conftest.$ac_objext
34716 if { (ac_try="$ac_compile"
34717 case "(($ac_try" in
34718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34719 *) ac_try_echo=$ac_try;;
34720 esac
34721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34722 (eval "$ac_compile") 2>conftest.er1
34723 ac_status=$?
34724 grep -v '^ *+' conftest.er1 >conftest.err
34725 rm -f conftest.er1
34726 cat conftest.err >&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); } && {
34729 test -z "$ac_c_werror_flag" ||
34730 test ! -s conftest.err
34731 } && test -s conftest.$ac_objext; then
34732 ac_cv_header_sql_h=yes
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737 ac_cv_header_sql_h=no
34738 fi
34739
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 fi
34742 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34743 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34744 if test $ac_cv_header_sql_h = yes; then
34745 found_sql_h=1
34746 fi
34747
34748
34749 if test "x$found_sql_h" = "x1" ; then
34750 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34751 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34752 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34753 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34755 ac_check_lib_save_LIBS=$LIBS
34756 LIBS="-liodbc $LIBS"
34757 cat >conftest.$ac_ext <<_ACEOF
34758 /* confdefs.h. */
34759 _ACEOF
34760 cat confdefs.h >>conftest.$ac_ext
34761 cat >>conftest.$ac_ext <<_ACEOF
34762 /* end confdefs.h. */
34763
34764 /* Override any GCC internal prototype to avoid an error.
34765 Use char because int might match the return type of a GCC
34766 builtin and then its argument prototype would still apply. */
34767 #ifdef __cplusplus
34768 extern "C"
34769 #endif
34770 char SQLAllocEnv ();
34771 int
34772 main ()
34773 {
34774 return SQLAllocEnv ();
34775 ;
34776 return 0;
34777 }
34778 _ACEOF
34779 rm -f conftest.$ac_objext conftest$ac_exeext
34780 if { (ac_try="$ac_link"
34781 case "(($ac_try" in
34782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34783 *) ac_try_echo=$ac_try;;
34784 esac
34785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34786 (eval "$ac_link") 2>conftest.er1
34787 ac_status=$?
34788 grep -v '^ *+' conftest.er1 >conftest.err
34789 rm -f conftest.er1
34790 cat conftest.err >&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } && {
34793 test -z "$ac_c_werror_flag" ||
34794 test ! -s conftest.err
34795 } && test -s conftest$ac_exeext &&
34796 $as_test_x conftest$ac_exeext; then
34797 ac_cv_lib_iodbc_SQLAllocEnv=yes
34798 else
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.$ac_ext >&5
34801
34802 ac_cv_lib_iodbc_SQLAllocEnv=no
34803 fi
34804
34805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34806 conftest$ac_exeext conftest.$ac_ext
34807 LIBS=$ac_check_lib_save_LIBS
34808 fi
34809 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34810 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34811 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34812 ODBC_LINK=" -liodbc"
34813 else
34814
34815 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34816 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34817 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34818 echo $ECHO_N "(cached) $ECHO_C" >&6
34819 else
34820 ac_check_lib_save_LIBS=$LIBS
34821 LIBS="-lunixodbc $LIBS"
34822 cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h. */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34828
34829 /* Override any GCC internal prototype to avoid an error.
34830 Use char because int might match the return type of a GCC
34831 builtin and then its argument prototype would still apply. */
34832 #ifdef __cplusplus
34833 extern "C"
34834 #endif
34835 char SQLAllocEnv ();
34836 int
34837 main ()
34838 {
34839 return SQLAllocEnv ();
34840 ;
34841 return 0;
34842 }
34843 _ACEOF
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (ac_try="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34848 *) ac_try_echo=$ac_try;;
34849 esac
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34852 ac_status=$?
34853 grep -v '^ *+' conftest.er1 >conftest.err
34854 rm -f conftest.er1
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest$ac_exeext &&
34861 $as_test_x conftest$ac_exeext; then
34862 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34866
34867 ac_cv_lib_unixodbc_SQLAllocEnv=no
34868 fi
34869
34870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34871 conftest$ac_exeext conftest.$ac_ext
34872 LIBS=$ac_check_lib_save_LIBS
34873 fi
34874 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34875 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34876 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34877 ODBC_LINK=" -lunixodbc"
34878 else
34879
34880 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34881 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34882 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34884 else
34885 ac_check_lib_save_LIBS=$LIBS
34886 LIBS="-lodbc $LIBS"
34887 cat >conftest.$ac_ext <<_ACEOF
34888 /* confdefs.h. */
34889 _ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34893
34894 /* Override any GCC internal prototype to avoid an error.
34895 Use char because int might match the return type of a GCC
34896 builtin and then its argument prototype would still apply. */
34897 #ifdef __cplusplus
34898 extern "C"
34899 #endif
34900 char SQLAllocEnv ();
34901 int
34902 main ()
34903 {
34904 return SQLAllocEnv ();
34905 ;
34906 return 0;
34907 }
34908 _ACEOF
34909 rm -f conftest.$ac_objext conftest$ac_exeext
34910 if { (ac_try="$ac_link"
34911 case "(($ac_try" in
34912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34913 *) ac_try_echo=$ac_try;;
34914 esac
34915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34916 (eval "$ac_link") 2>conftest.er1
34917 ac_status=$?
34918 grep -v '^ *+' conftest.er1 >conftest.err
34919 rm -f conftest.er1
34920 cat conftest.err >&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } && {
34923 test -z "$ac_c_werror_flag" ||
34924 test ! -s conftest.err
34925 } && test -s conftest$ac_exeext &&
34926 $as_test_x conftest$ac_exeext; then
34927 ac_cv_lib_odbc_SQLAllocEnv=yes
34928 else
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34931
34932 ac_cv_lib_odbc_SQLAllocEnv=no
34933 fi
34934
34935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34936 conftest$ac_exeext conftest.$ac_ext
34937 LIBS=$ac_check_lib_save_LIBS
34938 fi
34939 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34940 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34941 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34942 ODBC_LINK=" -lodbc"
34943 fi
34944
34945
34946 fi
34947
34948
34949 fi
34950
34951 fi
34952 if test "x$ODBC_LINK" = "x" ; then
34953 if test "$wxUSE_ODBC" = "sys" ; then
34954 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34955 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34956 { (exit 1); exit 1; }; }
34957 else
34958 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34959 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34960 wxUSE_ODBC=builtin
34961 fi
34962 else
34963 wxUSE_ODBC=sys
34964 fi
34965 fi
34966
34967 if test "$wxUSE_ODBC" = "builtin" ; then
34968 cat >>confdefs.h <<\_ACEOF
34969 #define wxUSE_BUILTIN_IODBC 1
34970 _ACEOF
34971
34972 fi
34973 fi
34974
34975 if test "$wxUSE_ODBC" != "no" ; then
34976 cat >>confdefs.h <<\_ACEOF
34977 #define wxUSE_ODBC 1
34978 _ACEOF
34979
34980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34981
34982 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34983 fi
34984
34985
34986 if test "$wxUSE_DISPLAY" = "yes"; then
34987 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34988 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34989 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34990
34991 ac_find_libraries=
34992 for ac_dir in $SEARCH_LIB;
34993 do
34994 for ac_extension in a so sl dylib dll.a; do
34995 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34996 ac_find_libraries=$ac_dir
34997 break 2
34998 fi
34999 done
35000 done
35001
35002 if test "$ac_find_libraries" != "" ; then
35003
35004 if test "$ac_find_libraries" = "default location"; then
35005 ac_path_to_link=""
35006 else
35007 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35008 result=$?
35009 if test $result = 0; then
35010 ac_path_to_link=""
35011 else
35012 ac_path_to_link=" -L$ac_find_libraries"
35013 fi
35014 fi
35015
35016 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35017 LDFLAGS="$LDFLAGS $ac_path_to_link"
35018 fi
35019 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35020 { echo "$as_me:$LINENO: result: yes" >&5
35021 echo "${ECHO_T}yes" >&6; }
35022
35023 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35024 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35025
35026 ac_find_libraries=
35027 for ac_dir in $SEARCH_LIB;
35028 do
35029 for ac_extension in a so sl dylib dll.a; do
35030 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35031 ac_find_libraries=$ac_dir
35032 break 2
35033 fi
35034 done
35035 done
35036
35037 if test "$ac_find_libraries" != "" ; then
35038 { echo "$as_me:$LINENO: result: yes" >&5
35039 echo "${ECHO_T}yes" >&6; }
35040 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35041 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35042 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 else
35045 cat >conftest.$ac_ext <<_ACEOF
35046 /* confdefs.h. */
35047 _ACEOF
35048 cat confdefs.h >>conftest.$ac_ext
35049 cat >>conftest.$ac_ext <<_ACEOF
35050 /* end confdefs.h. */
35051
35052 #if HAVE_X11_XLIB_H
35053 #include <X11/Xlib.h>
35054 #endif
35055
35056
35057 #include <X11/extensions/xf86vmode.h>
35058 _ACEOF
35059 rm -f conftest.$ac_objext
35060 if { (ac_try="$ac_compile"
35061 case "(($ac_try" in
35062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35063 *) ac_try_echo=$ac_try;;
35064 esac
35065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35066 (eval "$ac_compile") 2>conftest.er1
35067 ac_status=$?
35068 grep -v '^ *+' conftest.er1 >conftest.err
35069 rm -f conftest.er1
35070 cat conftest.err >&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); } && {
35073 test -z "$ac_c_werror_flag" ||
35074 test ! -s conftest.err
35075 } && test -s conftest.$ac_objext; then
35076 ac_cv_header_X11_extensions_xf86vmode_h=yes
35077 else
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.$ac_ext >&5
35080
35081 ac_cv_header_X11_extensions_xf86vmode_h=no
35082 fi
35083
35084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35085 fi
35086 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35087 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35088 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35089
35090 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35091
35092 fi
35093
35094
35095 else
35096 { echo "$as_me:$LINENO: result: no" >&5
35097 echo "${ECHO_T}no" >&6; }
35098 fi
35099
35100 else
35101 { echo "$as_me:$LINENO: result: no" >&5
35102 echo "${ECHO_T}no" >&6; }
35103 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35104 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35105 wxUSE_DISPLAY="no"
35106 fi
35107 elif test "$wxUSE_MSW" = 1; then
35108 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35109 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35110 if test "${ac_cv_header_ddraw_h+set}" = set; then
35111 echo $ECHO_N "(cached) $ECHO_C" >&6
35112 else
35113 cat >conftest.$ac_ext <<_ACEOF
35114 /* confdefs.h. */
35115 _ACEOF
35116 cat confdefs.h >>conftest.$ac_ext
35117 cat >>conftest.$ac_ext <<_ACEOF
35118 /* end confdefs.h. */
35119 #include <windows.h>
35120
35121 #include <ddraw.h>
35122 _ACEOF
35123 rm -f conftest.$ac_objext
35124 if { (ac_try="$ac_compile"
35125 case "(($ac_try" in
35126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35127 *) ac_try_echo=$ac_try;;
35128 esac
35129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35130 (eval "$ac_compile") 2>conftest.er1
35131 ac_status=$?
35132 grep -v '^ *+' conftest.er1 >conftest.err
35133 rm -f conftest.er1
35134 cat conftest.err >&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); } && {
35137 test -z "$ac_c_werror_flag" ||
35138 test ! -s conftest.err
35139 } && test -s conftest.$ac_objext; then
35140 ac_cv_header_ddraw_h=yes
35141 else
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.$ac_ext >&5
35144
35145 ac_cv_header_ddraw_h=no
35146 fi
35147
35148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35149 fi
35150 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35151 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35152
35153
35154 fi
35155 fi
35156
35157 if test "$wxUSE_DETECT_SM" = "yes"; then
35158 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35159 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35160 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35161
35162 ac_find_libraries=
35163 for ac_dir in $SEARCH_LIB;
35164 do
35165 for ac_extension in a so sl dylib dll.a; do
35166 if test -f "$ac_dir/libSM.$ac_extension"; then
35167 ac_find_libraries=$ac_dir
35168 break 2
35169 fi
35170 done
35171 done
35172
35173 if test "$ac_find_libraries" != "" ; then
35174
35175 if test "$ac_find_libraries" = "default location"; then
35176 ac_path_to_link=""
35177 else
35178 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35179 result=$?
35180 if test $result = 0; then
35181 ac_path_to_link=""
35182 else
35183 ac_path_to_link=" -L$ac_find_libraries"
35184 fi
35185 fi
35186
35187 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35188 LDFLAGS="$LDFLAGS $ac_path_to_link"
35189 fi
35190 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35191 { echo "$as_me:$LINENO: result: yes" >&5
35192 echo "${ECHO_T}yes" >&6; }
35193 else
35194 { echo "$as_me:$LINENO: result: no" >&5
35195 echo "${ECHO_T}no" >&6; }
35196 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35197 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35198 wxUSE_DETECT_SM="no"
35199 fi
35200 else
35201 wxUSE_DETECT_SM="no"
35202 fi
35203 fi
35204
35205
35206
35207 USE_OPENGL=0
35208 if test "$wxUSE_OPENGL" = "yes"; then
35209 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35210 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35211 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35212 wxUSE_OPENGL="no"
35213 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35214 OPENGL_LIBS="-framework OpenGL -framework AGL"
35215 elif test "$wxUSE_MSW" = 1; then
35216 OPENGL_LIBS="-lopengl32 -lglu32"
35217 else
35218 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35219 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35220
35221 ac_find_includes=
35222 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35223 do
35224 if test -f "$ac_dir/GL/gl.h"; then
35225 ac_find_includes=$ac_dir
35226 break
35227 fi
35228 done
35229
35230 if test "$ac_find_includes" != "" ; then
35231 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35232 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35233
35234 if test "x$ac_find_includes" = "x/usr/include"; then
35235 ac_path_to_include=""
35236 else
35237 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35238 result=$?
35239 if test $result = 0; then
35240 ac_path_to_include=""
35241 else
35242 ac_path_to_include=" -I$ac_find_includes"
35243 fi
35244 fi
35245
35246 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35247 else
35248 { echo "$as_me:$LINENO: result: not found" >&5
35249 echo "${ECHO_T}not found" >&6; }
35250 fi
35251
35252 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35253 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35254 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35255 echo $ECHO_N "(cached) $ECHO_C" >&6
35256 else
35257 cat >conftest.$ac_ext <<_ACEOF
35258 /* confdefs.h. */
35259 _ACEOF
35260 cat confdefs.h >>conftest.$ac_ext
35261 cat >>conftest.$ac_ext <<_ACEOF
35262 /* end confdefs.h. */
35263
35264
35265 #include <GL/gl.h>
35266 _ACEOF
35267 rm -f conftest.$ac_objext
35268 if { (ac_try="$ac_compile"
35269 case "(($ac_try" in
35270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35271 *) ac_try_echo=$ac_try;;
35272 esac
35273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35274 (eval "$ac_compile") 2>conftest.er1
35275 ac_status=$?
35276 grep -v '^ *+' conftest.er1 >conftest.err
35277 rm -f conftest.er1
35278 cat conftest.err >&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } && {
35281 test -z "$ac_c_werror_flag" ||
35282 test ! -s conftest.err
35283 } && test -s conftest.$ac_objext; then
35284 ac_cv_header_GL_gl_h=yes
35285 else
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.$ac_ext >&5
35288
35289 ac_cv_header_GL_gl_h=no
35290 fi
35291
35292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35293 fi
35294 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35295 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35296 if test $ac_cv_header_GL_gl_h = yes; then
35297
35298 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35299 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35300 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35301 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35302 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 fi
35304 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35305 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35306 else
35307 # Is the header compilable?
35308 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35309 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35310 cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h. */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316 $ac_includes_default
35317 #include <GL/glu.h>
35318 _ACEOF
35319 rm -f conftest.$ac_objext
35320 if { (ac_try="$ac_compile"
35321 case "(($ac_try" in
35322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35323 *) ac_try_echo=$ac_try;;
35324 esac
35325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35326 (eval "$ac_compile") 2>conftest.er1
35327 ac_status=$?
35328 grep -v '^ *+' conftest.er1 >conftest.err
35329 rm -f conftest.er1
35330 cat conftest.err >&5
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); } && {
35333 test -z "$ac_c_werror_flag" ||
35334 test ! -s conftest.err
35335 } && test -s conftest.$ac_objext; then
35336 ac_header_compiler=yes
35337 else
35338 echo "$as_me: failed program was:" >&5
35339 sed 's/^/| /' conftest.$ac_ext >&5
35340
35341 ac_header_compiler=no
35342 fi
35343
35344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35345 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35346 echo "${ECHO_T}$ac_header_compiler" >&6; }
35347
35348 # Is the header present?
35349 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35350 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35351 cat >conftest.$ac_ext <<_ACEOF
35352 /* confdefs.h. */
35353 _ACEOF
35354 cat confdefs.h >>conftest.$ac_ext
35355 cat >>conftest.$ac_ext <<_ACEOF
35356 /* end confdefs.h. */
35357 #include <GL/glu.h>
35358 _ACEOF
35359 if { (ac_try="$ac_cpp conftest.$ac_ext"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35362 *) ac_try_echo=$ac_try;;
35363 esac
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35366 ac_status=$?
35367 grep -v '^ *+' conftest.er1 >conftest.err
35368 rm -f conftest.er1
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } >/dev/null && {
35372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35373 test ! -s conftest.err
35374 }; then
35375 ac_header_preproc=yes
35376 else
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 ac_header_preproc=no
35381 fi
35382
35383 rm -f conftest.err conftest.$ac_ext
35384 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35385 echo "${ECHO_T}$ac_header_preproc" >&6; }
35386
35387 # So? What about this header?
35388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35389 yes:no: )
35390 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35391 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35392 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35393 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35394 ac_header_preproc=yes
35395 ;;
35396 no:yes:* )
35397 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35398 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35399 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35400 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35401 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35402 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35403 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35404 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35405 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35406 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35407 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35408 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35409 ( cat <<\_ASBOX
35410 ## ----------------------------------------- ##
35411 ## Report this to wx-dev@lists.wxwidgets.org ##
35412 ## ----------------------------------------- ##
35413 _ASBOX
35414 ) | sed "s/^/$as_me: WARNING: /" >&2
35415 ;;
35416 esac
35417 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35418 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35419 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35420 echo $ECHO_N "(cached) $ECHO_C" >&6
35421 else
35422 ac_cv_header_GL_glu_h=$ac_header_preproc
35423 fi
35424 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35425 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35426
35427 fi
35428 if test $ac_cv_header_GL_glu_h = yes; then
35429
35430 found_gl=0
35431
35432 { echo "$as_me:$LINENO: checking for -lGL" >&5
35433 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35434
35435 ac_find_libraries=
35436 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35437 do
35438 for ac_extension in a so sl dylib dll.a; do
35439 if test -f "$ac_dir/libGL.$ac_extension"; then
35440 ac_find_libraries=$ac_dir
35441 break 2
35442 fi
35443 done
35444 done
35445
35446 if test "$ac_find_libraries" != "" ; then
35447 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35448 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35449
35450
35451 if test "$ac_find_libraries" = "default location"; then
35452 ac_path_to_link=""
35453 else
35454 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35455 result=$?
35456 if test $result = 0; then
35457 ac_path_to_link=""
35458 else
35459 ac_path_to_link=" -L$ac_find_libraries"
35460 fi
35461 fi
35462
35463 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35464 LDFLAGS_GL="$ac_path_to_link"
35465 fi
35466
35467 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35468 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35469
35470 ac_find_libraries=
35471 for ac_dir in $SEARCH_LIB;
35472 do
35473 for ac_extension in a so sl dylib dll.a; do
35474 if test -f "$ac_dir/libGLU.$ac_extension"; then
35475 ac_find_libraries=$ac_dir
35476 break 2
35477 fi
35478 done
35479 done
35480
35481 if test "$ac_find_libraries" != "" ; then
35482
35483 if test "$ac_find_libraries" = "default location"; then
35484 ac_path_to_link=""
35485 else
35486 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35487 result=$?
35488 if test $result = 0; then
35489 ac_path_to_link=""
35490 else
35491 ac_path_to_link=" -L$ac_find_libraries"
35492 fi
35493 fi
35494
35495 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35496 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35497 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35498 fi
35499
35500 found_gl=1
35501 OPENGL_LIBS="-lGL -lGLU"
35502 { echo "$as_me:$LINENO: result: yes" >&5
35503 echo "${ECHO_T}yes" >&6; }
35504 else
35505 { echo "$as_me:$LINENO: result: no" >&5
35506 echo "${ECHO_T}no" >&6; }
35507 fi
35508 else
35509 { echo "$as_me:$LINENO: result: no" >&5
35510 echo "${ECHO_T}no" >&6; }
35511 fi
35512
35513 if test "$found_gl" != 1; then
35514 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35515 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35516
35517 ac_find_libraries=
35518 for ac_dir in $SEARCH_LIB;
35519 do
35520 for ac_extension in a so sl dylib dll.a; do
35521 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35522 ac_find_libraries=$ac_dir
35523 break 2
35524 fi
35525 done
35526 done
35527
35528 if test "$ac_find_libraries" != "" ; then
35529
35530 if test "$ac_find_libraries" = "default location"; then
35531 ac_path_to_link=""
35532 else
35533 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35534 result=$?
35535 if test $result = 0; then
35536 ac_path_to_link=""
35537 else
35538 ac_path_to_link=" -L$ac_find_libraries"
35539 fi
35540 fi
35541
35542 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35543 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35544 { echo "$as_me:$LINENO: result: yes" >&5
35545 echo "${ECHO_T}yes" >&6; }
35546 else
35547 { echo "$as_me:$LINENO: result: no" >&5
35548 echo "${ECHO_T}no" >&6; }
35549 fi
35550 fi
35551
35552 fi
35553
35554
35555
35556 fi
35557
35558
35559
35560 if test "x$OPENGL_LIBS" = "x"; then
35561 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35562 echo "$as_me: error: OpenGL libraries not available" >&2;}
35563 { (exit 1); exit 1; }; }
35564 fi
35565 fi
35566
35567 if test "$wxUSE_OPENGL" = "yes"; then
35568 USE_OPENGL=1
35569 cat >>confdefs.h <<\_ACEOF
35570 #define wxUSE_OPENGL 1
35571 _ACEOF
35572
35573 cat >>confdefs.h <<\_ACEOF
35574 #define wxUSE_GLCANVAS 1
35575 _ACEOF
35576
35577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35578 fi
35579 fi
35580
35581
35582 if test -n "$TOOLKIT" ; then
35583 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35584 fi
35585
35586
35587
35588 if test "$wxUSE_SHARED" = "yes"; then
35589 case "${host}" in
35590 *-pc-msdosdjgpp )
35591 wxUSE_SHARED=no
35592 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35593 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35594 ;;
35595 esac
35596 fi
35597
35598 if test "$wxUSE_SHARED" = "yes"; then
35599
35600
35601 case "${host}" in
35602 *-*-cygwin* | *-*-mingw* )
35603 wx_cv_version_script=no
35604 ;;
35605
35606 *)
35607 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35608 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35609 if test "${wx_cv_version_script+set}" = set; then
35610 echo $ECHO_N "(cached) $ECHO_C" >&6
35611 else
35612
35613 echo "VER_1 { *; };" >conftest.sym
35614 echo "int main() { return 0; }" >conftest.cpp
35615
35616 if { ac_try='
35617 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35618 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35620 (eval $ac_try) 2>&5
35621 ac_status=$?
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); }; } ; then
35624 if test -s conftest.stderr ; then
35625 wx_cv_version_script=no
35626 else
35627 wx_cv_version_script=yes
35628 fi
35629 else
35630 wx_cv_version_script=no
35631 fi
35632
35633 if test $wx_cv_version_script = yes
35634 then
35635 echo "struct B { virtual ~B() { } }; \
35636 struct D : public B { }; \
35637 void F() { D d; }" > conftest.cpp
35638
35639 if { ac_try='
35640 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35641 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35643 (eval $ac_try) 2>&5
35644 ac_status=$?
35645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646 (exit $ac_status); }; } &&
35647 { ac_try='
35648 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35649 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35652 ac_status=$?
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; }
35655 then
35656 if { ac_try='
35657 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35658 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35660 (eval $ac_try) 2>&5
35661 ac_status=$?
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); }; }
35664 then
35665 wx_cv_version_script=yes
35666 else
35667 wx_cv_version_script=no
35668 fi
35669 fi
35670 fi
35671
35672 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35673 rm -f conftest1.output conftest2.output conftest3.output
35674
35675 fi
35676 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35677 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35678
35679 if test $wx_cv_version_script = yes ; then
35680 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35681 fi
35682 ;;
35683 esac
35684
35685
35686
35687
35688 if test -n "$GCC"; then
35689 CFLAGS_VISIBILITY="-fvisibility=hidden"
35690 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35691 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35692 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35693 if test "${wx_cv_cc_visibility+set}" = set; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 else
35696
35697 wx_save_CXXFLAGS="$CXXFLAGS"
35698 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35699 ac_ext=cpp
35700 ac_cpp='$CXXCPP $CPPFLAGS'
35701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35704
35705 cat >conftest.$ac_ext <<_ACEOF
35706 /* confdefs.h. */
35707 _ACEOF
35708 cat confdefs.h >>conftest.$ac_ext
35709 cat >>conftest.$ac_ext <<_ACEOF
35710 /* end confdefs.h. */
35711
35712 /* we need gcc >= 4.0, older versions with visibility support
35713 didn't have class visibility: */
35714 #if defined(__GNUC__) && __GNUC__ < 4
35715 error this gcc is too old;
35716 #endif
35717
35718 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35719 extern __attribute__((__visibility__("default"))) int exportedvar;
35720 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35721 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35722 class __attribute__((__visibility__("default"))) Foo {
35723 Foo() {}
35724 };
35725
35726 int
35727 main ()
35728 {
35729
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 rm -f conftest.$ac_objext
35735 if { (ac_try="$ac_compile"
35736 case "(($ac_try" in
35737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35738 *) ac_try_echo=$ac_try;;
35739 esac
35740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35741 (eval "$ac_compile") 2>conftest.er1
35742 ac_status=$?
35743 grep -v '^ *+' conftest.er1 >conftest.err
35744 rm -f conftest.er1
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } && {
35748 test -z "$ac_cxx_werror_flag" ||
35749 test ! -s conftest.err
35750 } && test -s conftest.$ac_objext; then
35751 wx_cv_cc_visibility=yes
35752 else
35753 echo "$as_me: failed program was:" >&5
35754 sed 's/^/| /' conftest.$ac_ext >&5
35755
35756 wx_cv_cc_visibility=no
35757 fi
35758
35759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35760 ac_ext=c
35761 ac_cpp='$CPP $CPPFLAGS'
35762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35765
35766 CXXFLAGS="$wx_save_CXXFLAGS"
35767 fi
35768
35769 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35770 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35771 if test $wx_cv_cc_visibility = yes; then
35772 cat >>confdefs.h <<\_ACEOF
35773 #define HAVE_VISIBILITY 1
35774 _ACEOF
35775
35776 else
35777 CFLAGS_VISIBILITY=""
35778 CXXFLAGS_VISIBILITY=""
35779 fi
35780
35781
35782 fi
35783
35784
35785 if test "x$SUNCXX" = xyes; then
35786 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35787 WXCONFIG_RPATH="-R\$libdir"
35788 else
35789 case "${host}" in
35790 *-*-linux* | *-*-gnu* )
35791 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35792 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35793 ;;
35794
35795 *-*-solaris2* )
35796
35797 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35798
35799 saveLdflags="$LDFLAGS"
35800 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35801 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35802 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35803 cat >conftest.$ac_ext <<_ACEOF
35804 /* confdefs.h. */
35805 _ACEOF
35806 cat confdefs.h >>conftest.$ac_ext
35807 cat >>conftest.$ac_ext <<_ACEOF
35808 /* end confdefs.h. */
35809
35810 int
35811 main ()
35812 {
35813
35814 ;
35815 return 0;
35816 }
35817 _ACEOF
35818 rm -f conftest.$ac_objext conftest$ac_exeext
35819 if { (ac_try="$ac_link"
35820 case "(($ac_try" in
35821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35822 *) ac_try_echo=$ac_try;;
35823 esac
35824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35825 (eval "$ac_link") 2>conftest.er1
35826 ac_status=$?
35827 grep -v '^ *+' conftest.er1 >conftest.err
35828 rm -f conftest.er1
35829 cat conftest.err >&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); } && {
35832 test -z "$ac_c_werror_flag" ||
35833 test ! -s conftest.err
35834 } && test -s conftest$ac_exeext &&
35835 $as_test_x conftest$ac_exeext; then
35836
35837 { echo "$as_me:$LINENO: result: yes" >&5
35838 echo "${ECHO_T}yes" >&6; }
35839 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35840 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35841
35842 else
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.$ac_ext >&5
35845
35846
35847 { echo "$as_me:$LINENO: result: no" >&5
35848 echo "${ECHO_T}no" >&6; }
35849 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35850 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35851 LDFLAGS="$saveLdflags -Wl,-R,/"
35852 cat >conftest.$ac_ext <<_ACEOF
35853 /* confdefs.h. */
35854 _ACEOF
35855 cat confdefs.h >>conftest.$ac_ext
35856 cat >>conftest.$ac_ext <<_ACEOF
35857 /* end confdefs.h. */
35858
35859 int
35860 main ()
35861 {
35862
35863 ;
35864 return 0;
35865 }
35866 _ACEOF
35867 rm -f conftest.$ac_objext conftest$ac_exeext
35868 if { (ac_try="$ac_link"
35869 case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35872 esac
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_link") 2>conftest.er1
35875 ac_status=$?
35876 grep -v '^ *+' conftest.er1 >conftest.err
35877 rm -f conftest.er1
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_c_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest$ac_exeext &&
35884 $as_test_x conftest$ac_exeext; then
35885
35886 { echo "$as_me:$LINENO: result: yes" >&5
35887 echo "${ECHO_T}yes" >&6; }
35888 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35889 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35890
35891 else
35892 echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.$ac_ext >&5
35894
35895
35896 { echo "$as_me:$LINENO: result: no" >&5
35897 echo "${ECHO_T}no" >&6; }
35898
35899 fi
35900
35901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35902 conftest$ac_exeext conftest.$ac_ext
35903
35904 fi
35905
35906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35907 conftest$ac_exeext conftest.$ac_ext
35908 LDFLAGS="$saveLdflags"
35909 ;;
35910
35911 *-*-darwin* )
35912 install_name_tool=`which install_name_tool`
35913 if test "$install_name_tool" -a -x "$install_name_tool"; then
35914 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35915 cat <<EOF >change-install-names
35916 #!/bin/sh
35917 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35918 inst_cmd="install_name_tool "
35919 for i in \${libnames} ; do
35920 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35921 done
35922 \${inst_cmd} \${3}
35923 EOF
35924 chmod +x change-install-names
35925 fi
35926 ;;
35927
35928 *-*-cygwin* | *-*-mingw32* )
35929 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35930 ;;
35931
35932 *-*-hpux* )
35933 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35934 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35935 ;;
35936
35937 esac
35938 fi
35939
35940 if test $wxUSE_RPATH = "no"; then
35941 SAMPLES_RPATH_FLAG=''
35942 SAMPLES_RPATH_POSTLINK=''
35943 WXCONFIG_RPATH=''
35944 fi
35945
35946 SHARED=1
35947
35948 else
35949
35950 config_linkage_component="-static"
35951 SHARED=0
35952
35953 fi
35954
35955
35956 UNICODE=0
35957 lib_unicode_suffix=
35958 WX_CHARTYPE="ansi"
35959 if test "$wxUSE_UNICODE" = "yes"; then
35960 lib_unicode_suffix=u
35961 WX_CHARTYPE="unicode"
35962 UNICODE=1
35963 fi
35964
35965 lib_debug_suffix=
35966 WX_DEBUGTYPE="release"
35967 DEBUG_FLAG=0
35968 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35969 lib_debug_suffix=d
35970 WX_DEBUGTYPE="debug"
35971 DEBUG_FLAG=1
35972 fi
35973
35974 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35975 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35976
35977 DEBUG_INFO=0
35978 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35979 DEBUG_INFO=1
35980 fi
35981
35982 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35983
35984 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35985
35986 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35987
35988 if test "$cross_compiling" = "yes"; then
35989 HOST_SUFFIX="-$host_alias"
35990 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35991 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35992 fi
35993
35994 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35995 if test "${TOOLKIT_DIR}" = "os2"; then
35996 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35997 else
35998 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35999 fi
36000
36001
36002
36003 if test "$wxUSE_COCOA" = 1; then
36004
36005 ac_ext=c
36006 ac_cpp='$CPP $CPPFLAGS'
36007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36010
36011 ac_ext=m
36012
36013 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36014 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36015 cat >conftest.$ac_ext <<_ACEOF
36016 /* confdefs.h. */
36017 _ACEOF
36018 cat confdefs.h >>conftest.$ac_ext
36019 cat >>conftest.$ac_ext <<_ACEOF
36020 /* end confdefs.h. */
36021 #include <AppKit/NSEvent.h>
36022 #include <CoreFoundation/CoreFoundation.h>
36023
36024 int
36025 main ()
36026 {
36027
36028 ;
36029 return 0;
36030 }
36031 _ACEOF
36032 rm -f conftest.$ac_objext
36033 if { (ac_try="$ac_compile"
36034 case "(($ac_try" in
36035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36036 *) ac_try_echo=$ac_try;;
36037 esac
36038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36039 (eval "$ac_compile") 2>conftest.er1
36040 ac_status=$?
36041 grep -v '^ *+' conftest.er1 >conftest.err
36042 rm -f conftest.er1
36043 cat conftest.err >&5
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); } && {
36046 test -z "$ac_c_werror_flag" ||
36047 test ! -s conftest.err
36048 } && test -s conftest.$ac_objext; then
36049 { echo "$as_me:$LINENO: result: no" >&5
36050 echo "${ECHO_T}no" >&6; }
36051 else
36052 echo "$as_me: failed program was:" >&5
36053 sed 's/^/| /' conftest.$ac_ext >&5
36054
36055 { echo "$as_me:$LINENO: result: yes" >&5
36056 echo "${ECHO_T}yes" >&6; }
36057 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36058 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36059 cat >conftest.$ac_ext <<_ACEOF
36060 /* confdefs.h. */
36061 _ACEOF
36062 cat confdefs.h >>conftest.$ac_ext
36063 cat >>conftest.$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065 #define __Point__ 1
36066 #include <AppKit/NSEvent.h>
36067 #include <CoreFoundation/CoreFoundation.h>
36068
36069 int
36070 main ()
36071 {
36072
36073 ;
36074 return 0;
36075 }
36076 _ACEOF
36077 rm -f conftest.$ac_objext
36078 if { (ac_try="$ac_compile"
36079 case "(($ac_try" in
36080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36081 *) ac_try_echo=$ac_try;;
36082 esac
36083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36084 (eval "$ac_compile") 2>conftest.er1
36085 ac_status=$?
36086 grep -v '^ *+' conftest.er1 >conftest.err
36087 rm -f conftest.er1
36088 cat conftest.err >&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); } && {
36091 test -z "$ac_c_werror_flag" ||
36092 test ! -s conftest.err
36093 } && test -s conftest.$ac_objext; then
36094 { echo "$as_me:$LINENO: result: yes" >&5
36095 echo "${ECHO_T}yes" >&6; }
36096 cat >>confdefs.h <<\_ACEOF
36097 #define __Point__ 1
36098 _ACEOF
36099
36100
36101 else
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36104
36105 { { echo "$as_me:$LINENO: error: no
36106 See \`config.log' for more details." >&5
36107 echo "$as_me: error: no
36108 See \`config.log' for more details." >&2;}
36109 { (exit 1); exit 1; }; }
36110
36111 fi
36112
36113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36114
36115 fi
36116
36117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36118 ac_ext=c
36119 ac_cpp='$CPP $CPPFLAGS'
36120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36123
36124 fi
36125
36126 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36127 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36128 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36129
36130 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36131
36132 # Extract the first word of "Rez", so it can be a program name with args.
36133 set dummy Rez; ac_word=$2
36134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36136 if test "${ac_cv_prog_REZ+set}" = set; then
36137 echo $ECHO_N "(cached) $ECHO_C" >&6
36138 else
36139 if test -n "$REZ"; then
36140 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36141 else
36142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36143 for as_dir in $PATH
36144 do
36145 IFS=$as_save_IFS
36146 test -z "$as_dir" && as_dir=.
36147 for ac_exec_ext in '' $ac_executable_extensions; do
36148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36149 ac_cv_prog_REZ="Rez"
36150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36151 break 2
36152 fi
36153 done
36154 done
36155 IFS=$as_save_IFS
36156
36157 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36158 fi
36159 fi
36160 REZ=$ac_cv_prog_REZ
36161 if test -n "$REZ"; then
36162 { echo "$as_me:$LINENO: result: $REZ" >&5
36163 echo "${ECHO_T}$REZ" >&6; }
36164 else
36165 { echo "$as_me:$LINENO: result: no" >&5
36166 echo "${ECHO_T}no" >&6; }
36167 fi
36168
36169
36170 # Extract the first word of "DeRez", so it can be a program name with args.
36171 set dummy DeRez; ac_word=$2
36172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36174 if test "${ac_cv_prog_DEREZ+set}" = set; then
36175 echo $ECHO_N "(cached) $ECHO_C" >&6
36176 else
36177 if test -n "$DEREZ"; then
36178 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36179 else
36180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36181 for as_dir in $PATH
36182 do
36183 IFS=$as_save_IFS
36184 test -z "$as_dir" && as_dir=.
36185 for ac_exec_ext in '' $ac_executable_extensions; do
36186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36187 ac_cv_prog_DEREZ="DeRez"
36188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36189 break 2
36190 fi
36191 done
36192 done
36193 IFS=$as_save_IFS
36194
36195 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36196 fi
36197 fi
36198 DEREZ=$ac_cv_prog_DEREZ
36199 if test -n "$DEREZ"; then
36200 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36201 echo "${ECHO_T}$DEREZ" >&6; }
36202 else
36203 { echo "$as_me:$LINENO: result: no" >&5
36204 echo "${ECHO_T}no" >&6; }
36205 fi
36206
36207
36208 # Extract the first word of "SetFile", so it can be a program name with args.
36209 set dummy SetFile; ac_word=$2
36210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36212 if test "${ac_cv_prog_SETFILE+set}" = set; then
36213 echo $ECHO_N "(cached) $ECHO_C" >&6
36214 else
36215 if test -n "$SETFILE"; then
36216 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36217 else
36218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36219 for as_dir in $PATH
36220 do
36221 IFS=$as_save_IFS
36222 test -z "$as_dir" && as_dir=.
36223 for ac_exec_ext in '' $ac_executable_extensions; do
36224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36225 ac_cv_prog_SETFILE="SetFile"
36226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36227 break 2
36228 fi
36229 done
36230 done
36231 IFS=$as_save_IFS
36232
36233 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36234 fi
36235 fi
36236 SETFILE=$ac_cv_prog_SETFILE
36237 if test -n "$SETFILE"; then
36238 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36239 echo "${ECHO_T}$SETFILE" >&6; }
36240 else
36241 { echo "$as_me:$LINENO: result: no" >&5
36242 echo "${ECHO_T}no" >&6; }
36243 fi
36244
36245
36246
36247 MACSETFILE="\$(SETFILE)"
36248
36249 if test "$wxUSE_MAC" = 1; then
36250 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36251 RESCOMP="$REZ"
36252 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36253 else
36254 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36255 RESCOMP="echo -n \| $REZ"
36256 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36257 fi
36258
36259 else
36260 MACSETFILE="@true"
36261
36262 if test "$wxUSE_PM" = 1; then
36263 RESCOMP="emxbind"
36264 WXCONFIG_RESFLAGS="-ep"
36265
36266 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36267 else
36268 POSTLINK_COMMAND="@true"
36269 fi
36270
36271 fi
36272
36273
36274
36275 { echo "$as_me:$LINENO: checking for mode_t" >&5
36276 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36277 if test "${ac_cv_type_mode_t+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 $ac_includes_default
36287 typedef mode_t ac__type_new_;
36288 int
36289 main ()
36290 {
36291 if ((ac__type_new_ *) 0)
36292 return 0;
36293 if (sizeof (ac__type_new_))
36294 return 0;
36295 ;
36296 return 0;
36297 }
36298 _ACEOF
36299 rm -f conftest.$ac_objext
36300 if { (ac_try="$ac_compile"
36301 case "(($ac_try" in
36302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36303 *) ac_try_echo=$ac_try;;
36304 esac
36305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36306 (eval "$ac_compile") 2>conftest.er1
36307 ac_status=$?
36308 grep -v '^ *+' conftest.er1 >conftest.err
36309 rm -f conftest.er1
36310 cat conftest.err >&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } && {
36313 test -z "$ac_c_werror_flag" ||
36314 test ! -s conftest.err
36315 } && test -s conftest.$ac_objext; then
36316 ac_cv_type_mode_t=yes
36317 else
36318 echo "$as_me: failed program was:" >&5
36319 sed 's/^/| /' conftest.$ac_ext >&5
36320
36321 ac_cv_type_mode_t=no
36322 fi
36323
36324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36325 fi
36326 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36327 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36328 if test $ac_cv_type_mode_t = yes; then
36329 :
36330 else
36331
36332 cat >>confdefs.h <<_ACEOF
36333 #define mode_t int
36334 _ACEOF
36335
36336 fi
36337
36338 { echo "$as_me:$LINENO: checking for off_t" >&5
36339 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36340 if test "${ac_cv_type_off_t+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 $ac_includes_default
36350 typedef off_t ac__type_new_;
36351 int
36352 main ()
36353 {
36354 if ((ac__type_new_ *) 0)
36355 return 0;
36356 if (sizeof (ac__type_new_))
36357 return 0;
36358 ;
36359 return 0;
36360 }
36361 _ACEOF
36362 rm -f conftest.$ac_objext
36363 if { (ac_try="$ac_compile"
36364 case "(($ac_try" in
36365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36366 *) ac_try_echo=$ac_try;;
36367 esac
36368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36369 (eval "$ac_compile") 2>conftest.er1
36370 ac_status=$?
36371 grep -v '^ *+' conftest.er1 >conftest.err
36372 rm -f conftest.er1
36373 cat conftest.err >&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } && {
36376 test -z "$ac_c_werror_flag" ||
36377 test ! -s conftest.err
36378 } && test -s conftest.$ac_objext; then
36379 ac_cv_type_off_t=yes
36380 else
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.$ac_ext >&5
36383
36384 ac_cv_type_off_t=no
36385 fi
36386
36387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36388 fi
36389 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36390 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36391 if test $ac_cv_type_off_t = yes; then
36392 :
36393 else
36394
36395 cat >>confdefs.h <<_ACEOF
36396 #define off_t long int
36397 _ACEOF
36398
36399 fi
36400
36401 { echo "$as_me:$LINENO: checking for pid_t" >&5
36402 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36403 if test "${ac_cv_type_pid_t+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36405 else
36406 cat >conftest.$ac_ext <<_ACEOF
36407 /* confdefs.h. */
36408 _ACEOF
36409 cat confdefs.h >>conftest.$ac_ext
36410 cat >>conftest.$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412 $ac_includes_default
36413 typedef pid_t ac__type_new_;
36414 int
36415 main ()
36416 {
36417 if ((ac__type_new_ *) 0)
36418 return 0;
36419 if (sizeof (ac__type_new_))
36420 return 0;
36421 ;
36422 return 0;
36423 }
36424 _ACEOF
36425 rm -f conftest.$ac_objext
36426 if { (ac_try="$ac_compile"
36427 case "(($ac_try" in
36428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36429 *) ac_try_echo=$ac_try;;
36430 esac
36431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36432 (eval "$ac_compile") 2>conftest.er1
36433 ac_status=$?
36434 grep -v '^ *+' conftest.er1 >conftest.err
36435 rm -f conftest.er1
36436 cat conftest.err >&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); } && {
36439 test -z "$ac_c_werror_flag" ||
36440 test ! -s conftest.err
36441 } && test -s conftest.$ac_objext; then
36442 ac_cv_type_pid_t=yes
36443 else
36444 echo "$as_me: failed program was:" >&5
36445 sed 's/^/| /' conftest.$ac_ext >&5
36446
36447 ac_cv_type_pid_t=no
36448 fi
36449
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451 fi
36452 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36453 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36454 if test $ac_cv_type_pid_t = yes; then
36455 :
36456 else
36457
36458 cat >>confdefs.h <<_ACEOF
36459 #define pid_t int
36460 _ACEOF
36461
36462 fi
36463
36464 { echo "$as_me:$LINENO: checking for size_t" >&5
36465 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36466 if test "${ac_cv_type_size_t+set}" = set; then
36467 echo $ECHO_N "(cached) $ECHO_C" >&6
36468 else
36469 cat >conftest.$ac_ext <<_ACEOF
36470 /* confdefs.h. */
36471 _ACEOF
36472 cat confdefs.h >>conftest.$ac_ext
36473 cat >>conftest.$ac_ext <<_ACEOF
36474 /* end confdefs.h. */
36475 $ac_includes_default
36476 typedef size_t ac__type_new_;
36477 int
36478 main ()
36479 {
36480 if ((ac__type_new_ *) 0)
36481 return 0;
36482 if (sizeof (ac__type_new_))
36483 return 0;
36484 ;
36485 return 0;
36486 }
36487 _ACEOF
36488 rm -f conftest.$ac_objext
36489 if { (ac_try="$ac_compile"
36490 case "(($ac_try" in
36491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36492 *) ac_try_echo=$ac_try;;
36493 esac
36494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36495 (eval "$ac_compile") 2>conftest.er1
36496 ac_status=$?
36497 grep -v '^ *+' conftest.er1 >conftest.err
36498 rm -f conftest.er1
36499 cat conftest.err >&5
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); } && {
36502 test -z "$ac_c_werror_flag" ||
36503 test ! -s conftest.err
36504 } && test -s conftest.$ac_objext; then
36505 ac_cv_type_size_t=yes
36506 else
36507 echo "$as_me: failed program was:" >&5
36508 sed 's/^/| /' conftest.$ac_ext >&5
36509
36510 ac_cv_type_size_t=no
36511 fi
36512
36513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36514 fi
36515 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36516 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36517 if test $ac_cv_type_size_t = yes; then
36518 :
36519 else
36520
36521 cat >>confdefs.h <<_ACEOF
36522 #define size_t unsigned int
36523 _ACEOF
36524
36525 fi
36526
36527 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36528 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36529 if test "${ac_cv_type_uid_t+set}" = set; then
36530 echo $ECHO_N "(cached) $ECHO_C" >&6
36531 else
36532 cat >conftest.$ac_ext <<_ACEOF
36533 /* confdefs.h. */
36534 _ACEOF
36535 cat confdefs.h >>conftest.$ac_ext
36536 cat >>conftest.$ac_ext <<_ACEOF
36537 /* end confdefs.h. */
36538 #include <sys/types.h>
36539
36540 _ACEOF
36541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36542 $EGREP "uid_t" >/dev/null 2>&1; then
36543 ac_cv_type_uid_t=yes
36544 else
36545 ac_cv_type_uid_t=no
36546 fi
36547 rm -f conftest*
36548
36549 fi
36550 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36551 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36552 if test $ac_cv_type_uid_t = no; then
36553
36554 cat >>confdefs.h <<\_ACEOF
36555 #define uid_t int
36556 _ACEOF
36557
36558
36559 cat >>confdefs.h <<\_ACEOF
36560 #define gid_t int
36561 _ACEOF
36562
36563 fi
36564
36565
36566 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36567 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36568 if test "${ac_cv_type_ssize_t+set}" = set; then
36569 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 else
36571 cat >conftest.$ac_ext <<_ACEOF
36572 /* confdefs.h. */
36573 _ACEOF
36574 cat confdefs.h >>conftest.$ac_ext
36575 cat >>conftest.$ac_ext <<_ACEOF
36576 /* end confdefs.h. */
36577 $ac_includes_default
36578 typedef ssize_t ac__type_new_;
36579 int
36580 main ()
36581 {
36582 if ((ac__type_new_ *) 0)
36583 return 0;
36584 if (sizeof (ac__type_new_))
36585 return 0;
36586 ;
36587 return 0;
36588 }
36589 _ACEOF
36590 rm -f conftest.$ac_objext
36591 if { (ac_try="$ac_compile"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36595 esac
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_compile") 2>conftest.er1
36598 ac_status=$?
36599 grep -v '^ *+' conftest.er1 >conftest.err
36600 rm -f conftest.er1
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest.$ac_objext; then
36607 ac_cv_type_ssize_t=yes
36608 else
36609 echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.$ac_ext >&5
36611
36612 ac_cv_type_ssize_t=no
36613 fi
36614
36615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36616 fi
36617 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36618 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36619 if test $ac_cv_type_ssize_t = yes; then
36620
36621 cat >>confdefs.h <<_ACEOF
36622 #define HAVE_SSIZE_T 1
36623 _ACEOF
36624
36625
36626 fi
36627
36628
36629 ac_ext=cpp
36630 ac_cpp='$CXXCPP $CPPFLAGS'
36631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36634 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36635 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36636 if test "${wx_cv_size_t_is_uint+set}" = set; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36638 else
36639
36640 cat >conftest.$ac_ext <<_ACEOF
36641 /* confdefs.h. */
36642 _ACEOF
36643 cat confdefs.h >>conftest.$ac_ext
36644 cat >>conftest.$ac_ext <<_ACEOF
36645 /* end confdefs.h. */
36646 #include <stddef.h>
36647 int
36648 main ()
36649 {
36650
36651 return 0; }
36652
36653 struct Foo { void foo(size_t); void foo(unsigned int); };
36654
36655 int bar() {
36656
36657 ;
36658 return 0;
36659 }
36660 _ACEOF
36661 rm -f conftest.$ac_objext
36662 if { (ac_try="$ac_compile"
36663 case "(($ac_try" in
36664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36665 *) ac_try_echo=$ac_try;;
36666 esac
36667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36668 (eval "$ac_compile") 2>conftest.er1
36669 ac_status=$?
36670 grep -v '^ *+' conftest.er1 >conftest.err
36671 rm -f conftest.er1
36672 cat conftest.err >&5
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); } && {
36675 test -z "$ac_cxx_werror_flag" ||
36676 test ! -s conftest.err
36677 } && test -s conftest.$ac_objext; then
36678 wx_cv_size_t_is_uint=no
36679 else
36680 echo "$as_me: failed program was:" >&5
36681 sed 's/^/| /' conftest.$ac_ext >&5
36682
36683 wx_cv_size_t_is_uint=yes
36684
36685 fi
36686
36687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36688
36689
36690 fi
36691 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36692 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36693
36694 if test "$wx_cv_size_t_is_uint" = "yes"; then
36695 cat >>confdefs.h <<\_ACEOF
36696 #define wxSIZE_T_IS_UINT 1
36697 _ACEOF
36698
36699 else
36700 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36701 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36702 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 else
36705 cat >conftest.$ac_ext <<_ACEOF
36706 /* confdefs.h. */
36707 _ACEOF
36708 cat confdefs.h >>conftest.$ac_ext
36709 cat >>conftest.$ac_ext <<_ACEOF
36710 /* end confdefs.h. */
36711 #include <stddef.h>
36712 int
36713 main ()
36714 {
36715
36716 return 0; }
36717
36718 struct Foo { void foo(size_t); void foo(unsigned long); };
36719
36720 int bar() {
36721
36722 ;
36723 return 0;
36724 }
36725 _ACEOF
36726 rm -f conftest.$ac_objext
36727 if { (ac_try="$ac_compile"
36728 case "(($ac_try" in
36729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36730 *) ac_try_echo=$ac_try;;
36731 esac
36732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36733 (eval "$ac_compile") 2>conftest.er1
36734 ac_status=$?
36735 grep -v '^ *+' conftest.er1 >conftest.err
36736 rm -f conftest.er1
36737 cat conftest.err >&5
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); } && {
36740 test -z "$ac_cxx_werror_flag" ||
36741 test ! -s conftest.err
36742 } && test -s conftest.$ac_objext; then
36743 wx_cv_size_t_is_ulong=no
36744 else
36745 echo "$as_me: failed program was:" >&5
36746 sed 's/^/| /' conftest.$ac_ext >&5
36747
36748 wx_cv_size_t_is_ulong=yes
36749
36750 fi
36751
36752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36753
36754 fi
36755 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36756 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36757
36758 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36759 cat >>confdefs.h <<\_ACEOF
36760 #define wxSIZE_T_IS_ULONG 1
36761 _ACEOF
36762
36763 fi
36764 fi
36765
36766 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36767 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36768 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36769 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 else
36771 cat >conftest.$ac_ext <<_ACEOF
36772 /* confdefs.h. */
36773 _ACEOF
36774 cat confdefs.h >>conftest.$ac_ext
36775 cat >>conftest.$ac_ext <<_ACEOF
36776 /* end confdefs.h. */
36777 #include <wchar.h>
36778 int
36779 main ()
36780 {
36781
36782 return 0; }
36783
36784 struct Foo { void foo(wchar_t);
36785 void foo(unsigned short);
36786 void foo(unsigned int);
36787 void foo(unsigned long); };
36788
36789 int bar() {
36790
36791 ;
36792 return 0;
36793 }
36794 _ACEOF
36795 rm -f conftest.$ac_objext
36796 if { (ac_try="$ac_compile"
36797 case "(($ac_try" in
36798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36800 esac
36801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_compile") 2>conftest.er1
36803 ac_status=$?
36804 grep -v '^ *+' conftest.er1 >conftest.err
36805 rm -f conftest.er1
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } && {
36809 test -z "$ac_cxx_werror_flag" ||
36810 test ! -s conftest.err
36811 } && test -s conftest.$ac_objext; then
36812 wx_cv_wchar_t_is_separate_type=yes
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36816
36817 wx_cv_wchar_t_is_separate_type=no
36818
36819 fi
36820
36821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36822
36823 fi
36824 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36825 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36826
36827 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36828 cat >>confdefs.h <<\_ACEOF
36829 #define wxWCHAR_T_IS_REAL_TYPE 1
36830 _ACEOF
36831
36832 else
36833 cat >>confdefs.h <<\_ACEOF
36834 #define wxWCHAR_T_IS_REAL_TYPE 0
36835 _ACEOF
36836
36837 fi
36838
36839 ac_ext=c
36840 ac_cpp='$CPP $CPPFLAGS'
36841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36844
36845
36846 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36847 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36848 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36849 echo $ECHO_N "(cached) $ECHO_C" >&6
36850 else
36851
36852 cat >conftest.$ac_ext <<_ACEOF
36853 /* confdefs.h. */
36854 _ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 #include <pwd.h>
36859 int
36860 main ()
36861 {
36862
36863 char *p;
36864 struct passwd *pw;
36865 p = pw->pw_gecos;
36866
36867 ;
36868 return 0;
36869 }
36870 _ACEOF
36871 rm -f conftest.$ac_objext
36872 if { (ac_try="$ac_compile"
36873 case "(($ac_try" in
36874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36875 *) ac_try_echo=$ac_try;;
36876 esac
36877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36878 (eval "$ac_compile") 2>conftest.er1
36879 ac_status=$?
36880 grep -v '^ *+' conftest.er1 >conftest.err
36881 rm -f conftest.er1
36882 cat conftest.err >&5
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); } && {
36885 test -z "$ac_c_werror_flag" ||
36886 test ! -s conftest.err
36887 } && test -s conftest.$ac_objext; then
36888
36889 wx_cv_struct_pw_gecos=yes
36890
36891 else
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36894
36895
36896 wx_cv_struct_pw_gecos=no
36897
36898
36899 fi
36900
36901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36902
36903
36904 fi
36905 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36906 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36907
36908 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36909 cat >>confdefs.h <<\_ACEOF
36910 #define HAVE_PW_GECOS 1
36911 _ACEOF
36912
36913 fi
36914
36915
36916 if test "$wxUSE_WCHAR_T" = "yes"; then
36917 cat >>confdefs.h <<\_ACEOF
36918 #define wxUSE_WCHAR_T 1
36919 _ACEOF
36920
36921
36922 WCSLEN_FOUND=0
36923 WCHAR_LINK=
36924
36925 for ac_func in wcslen
36926 do
36927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36928 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36930 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36931 echo $ECHO_N "(cached) $ECHO_C" >&6
36932 else
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36941 #define $ac_func innocuous_$ac_func
36942
36943 /* System header to define __stub macros and hopefully few prototypes,
36944 which can conflict with char $ac_func (); below.
36945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36946 <limits.h> exists even on freestanding compilers. */
36947
36948 #ifdef __STDC__
36949 # include <limits.h>
36950 #else
36951 # include <assert.h>
36952 #endif
36953
36954 #undef $ac_func
36955
36956 /* Override any GCC internal prototype to avoid an error.
36957 Use char because int might match the return type of a GCC
36958 builtin and then its argument prototype would still apply. */
36959 #ifdef __cplusplus
36960 extern "C"
36961 #endif
36962 char $ac_func ();
36963 /* The GNU C library defines this for functions which it implements
36964 to always fail with ENOSYS. Some functions are actually named
36965 something starting with __ and the normal name is an alias. */
36966 #if defined __stub_$ac_func || defined __stub___$ac_func
36967 choke me
36968 #endif
36969
36970 int
36971 main ()
36972 {
36973 return $ac_func ();
36974 ;
36975 return 0;
36976 }
36977 _ACEOF
36978 rm -f conftest.$ac_objext conftest$ac_exeext
36979 if { (ac_try="$ac_link"
36980 case "(($ac_try" in
36981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36982 *) ac_try_echo=$ac_try;;
36983 esac
36984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36985 (eval "$ac_link") 2>conftest.er1
36986 ac_status=$?
36987 grep -v '^ *+' conftest.er1 >conftest.err
36988 rm -f conftest.er1
36989 cat conftest.err >&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } && {
36992 test -z "$ac_c_werror_flag" ||
36993 test ! -s conftest.err
36994 } && test -s conftest$ac_exeext &&
36995 $as_test_x conftest$ac_exeext; then
36996 eval "$as_ac_var=yes"
36997 else
36998 echo "$as_me: failed program was:" >&5
36999 sed 's/^/| /' conftest.$ac_ext >&5
37000
37001 eval "$as_ac_var=no"
37002 fi
37003
37004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37005 conftest$ac_exeext conftest.$ac_ext
37006 fi
37007 ac_res=`eval echo '${'$as_ac_var'}'`
37008 { echo "$as_me:$LINENO: result: $ac_res" >&5
37009 echo "${ECHO_T}$ac_res" >&6; }
37010 if test `eval echo '${'$as_ac_var'}'` = yes; then
37011 cat >>confdefs.h <<_ACEOF
37012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37013 _ACEOF
37014 WCSLEN_FOUND=1
37015 fi
37016 done
37017
37018
37019 if test "$WCSLEN_FOUND" = 0; then
37020 if test "$TOOLKIT" = "MSW"; then
37021 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37022 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37023 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37024 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 else
37026 ac_check_lib_save_LIBS=$LIBS
37027 LIBS="-lmsvcrt $LIBS"
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h. */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034
37035 /* Override any GCC internal prototype to avoid an error.
37036 Use char because int might match the return type of a GCC
37037 builtin and then its argument prototype would still apply. */
37038 #ifdef __cplusplus
37039 extern "C"
37040 #endif
37041 char wcslen ();
37042 int
37043 main ()
37044 {
37045 return wcslen ();
37046 ;
37047 return 0;
37048 }
37049 _ACEOF
37050 rm -f conftest.$ac_objext conftest$ac_exeext
37051 if { (ac_try="$ac_link"
37052 case "(($ac_try" in
37053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37055 esac
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_link") 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_c_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest$ac_exeext &&
37067 $as_test_x conftest$ac_exeext; then
37068 ac_cv_lib_msvcrt_wcslen=yes
37069 else
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37072
37073 ac_cv_lib_msvcrt_wcslen=no
37074 fi
37075
37076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37077 conftest$ac_exeext conftest.$ac_ext
37078 LIBS=$ac_check_lib_save_LIBS
37079 fi
37080 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37081 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37082 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37083 WCHAR_OK=1
37084 fi
37085
37086 else
37087 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37088 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37089 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37091 else
37092 ac_check_lib_save_LIBS=$LIBS
37093 LIBS="-lw $LIBS"
37094 cat >conftest.$ac_ext <<_ACEOF
37095 /* confdefs.h. */
37096 _ACEOF
37097 cat confdefs.h >>conftest.$ac_ext
37098 cat >>conftest.$ac_ext <<_ACEOF
37099 /* end confdefs.h. */
37100
37101 /* Override any GCC internal prototype to avoid an error.
37102 Use char because int might match the return type of a GCC
37103 builtin and then its argument prototype would still apply. */
37104 #ifdef __cplusplus
37105 extern "C"
37106 #endif
37107 char wcslen ();
37108 int
37109 main ()
37110 {
37111 return wcslen ();
37112 ;
37113 return 0;
37114 }
37115 _ACEOF
37116 rm -f conftest.$ac_objext conftest$ac_exeext
37117 if { (ac_try="$ac_link"
37118 case "(($ac_try" in
37119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37120 *) ac_try_echo=$ac_try;;
37121 esac
37122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37123 (eval "$ac_link") 2>conftest.er1
37124 ac_status=$?
37125 grep -v '^ *+' conftest.er1 >conftest.err
37126 rm -f conftest.er1
37127 cat conftest.err >&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } && {
37130 test -z "$ac_c_werror_flag" ||
37131 test ! -s conftest.err
37132 } && test -s conftest$ac_exeext &&
37133 $as_test_x conftest$ac_exeext; then
37134 ac_cv_lib_w_wcslen=yes
37135 else
37136 echo "$as_me: failed program was:" >&5
37137 sed 's/^/| /' conftest.$ac_ext >&5
37138
37139 ac_cv_lib_w_wcslen=no
37140 fi
37141
37142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37143 conftest$ac_exeext conftest.$ac_ext
37144 LIBS=$ac_check_lib_save_LIBS
37145 fi
37146 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37147 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37148 if test $ac_cv_lib_w_wcslen = yes; then
37149
37150 WCHAR_LINK=" -lw"
37151 WCSLEN_FOUND=1
37152
37153 fi
37154
37155 fi
37156 fi
37157
37158 if test "$WCSLEN_FOUND" = 1; then
37159 cat >>confdefs.h <<\_ACEOF
37160 #define HAVE_WCSLEN 1
37161 _ACEOF
37162
37163 fi
37164
37165
37166 for ac_func in wcsdup
37167 do
37168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37169 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37171 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 else
37174 cat >conftest.$ac_ext <<_ACEOF
37175 /* confdefs.h. */
37176 _ACEOF
37177 cat confdefs.h >>conftest.$ac_ext
37178 cat >>conftest.$ac_ext <<_ACEOF
37179 /* end confdefs.h. */
37180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37182 #define $ac_func innocuous_$ac_func
37183
37184 /* System header to define __stub macros and hopefully few prototypes,
37185 which can conflict with char $ac_func (); below.
37186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37187 <limits.h> exists even on freestanding compilers. */
37188
37189 #ifdef __STDC__
37190 # include <limits.h>
37191 #else
37192 # include <assert.h>
37193 #endif
37194
37195 #undef $ac_func
37196
37197 /* Override any GCC internal prototype to avoid an error.
37198 Use char because int might match the return type of a GCC
37199 builtin and then its argument prototype would still apply. */
37200 #ifdef __cplusplus
37201 extern "C"
37202 #endif
37203 char $ac_func ();
37204 /* The GNU C library defines this for functions which it implements
37205 to always fail with ENOSYS. Some functions are actually named
37206 something starting with __ and the normal name is an alias. */
37207 #if defined __stub_$ac_func || defined __stub___$ac_func
37208 choke me
37209 #endif
37210
37211 int
37212 main ()
37213 {
37214 return $ac_func ();
37215 ;
37216 return 0;
37217 }
37218 _ACEOF
37219 rm -f conftest.$ac_objext conftest$ac_exeext
37220 if { (ac_try="$ac_link"
37221 case "(($ac_try" in
37222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37223 *) ac_try_echo=$ac_try;;
37224 esac
37225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37226 (eval "$ac_link") 2>conftest.er1
37227 ac_status=$?
37228 grep -v '^ *+' conftest.er1 >conftest.err
37229 rm -f conftest.er1
37230 cat conftest.err >&5
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); } && {
37233 test -z "$ac_c_werror_flag" ||
37234 test ! -s conftest.err
37235 } && test -s conftest$ac_exeext &&
37236 $as_test_x conftest$ac_exeext; then
37237 eval "$as_ac_var=yes"
37238 else
37239 echo "$as_me: failed program was:" >&5
37240 sed 's/^/| /' conftest.$ac_ext >&5
37241
37242 eval "$as_ac_var=no"
37243 fi
37244
37245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37246 conftest$ac_exeext conftest.$ac_ext
37247 fi
37248 ac_res=`eval echo '${'$as_ac_var'}'`
37249 { echo "$as_me:$LINENO: result: $ac_res" >&5
37250 echo "${ECHO_T}$ac_res" >&6; }
37251 if test `eval echo '${'$as_ac_var'}'` = yes; then
37252 cat >>confdefs.h <<_ACEOF
37253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37254 _ACEOF
37255
37256 fi
37257 done
37258
37259
37260 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37261 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37262 fi
37263
37264 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37265 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37266 if test "${ac_cv_type_mbstate_t+set}" = set; then
37267 echo $ECHO_N "(cached) $ECHO_C" >&6
37268 else
37269 cat >conftest.$ac_ext <<_ACEOF
37270 /* confdefs.h. */
37271 _ACEOF
37272 cat confdefs.h >>conftest.$ac_ext
37273 cat >>conftest.$ac_ext <<_ACEOF
37274 /* end confdefs.h. */
37275 #include <wchar.h>
37276
37277 typedef mbstate_t ac__type_new_;
37278 int
37279 main ()
37280 {
37281 if ((ac__type_new_ *) 0)
37282 return 0;
37283 if (sizeof (ac__type_new_))
37284 return 0;
37285 ;
37286 return 0;
37287 }
37288 _ACEOF
37289 rm -f conftest.$ac_objext
37290 if { (ac_try="$ac_compile"
37291 case "(($ac_try" in
37292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37293 *) ac_try_echo=$ac_try;;
37294 esac
37295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37296 (eval "$ac_compile") 2>conftest.er1
37297 ac_status=$?
37298 grep -v '^ *+' conftest.er1 >conftest.err
37299 rm -f conftest.er1
37300 cat conftest.err >&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); } && {
37303 test -z "$ac_c_werror_flag" ||
37304 test ! -s conftest.err
37305 } && test -s conftest.$ac_objext; then
37306 ac_cv_type_mbstate_t=yes
37307 else
37308 echo "$as_me: failed program was:" >&5
37309 sed 's/^/| /' conftest.$ac_ext >&5
37310
37311 ac_cv_type_mbstate_t=no
37312 fi
37313
37314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37315 fi
37316 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37317 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37318 if test $ac_cv_type_mbstate_t = yes; then
37319
37320 cat >>confdefs.h <<_ACEOF
37321 #define HAVE_MBSTATE_T 1
37322 _ACEOF
37323
37324
37325 for ac_func in wcsrtombs
37326 do
37327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37330 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37331 echo $ECHO_N "(cached) $ECHO_C" >&6
37332 else
37333 cat >conftest.$ac_ext <<_ACEOF
37334 /* confdefs.h. */
37335 _ACEOF
37336 cat confdefs.h >>conftest.$ac_ext
37337 cat >>conftest.$ac_ext <<_ACEOF
37338 /* end confdefs.h. */
37339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37341 #define $ac_func innocuous_$ac_func
37342
37343 /* System header to define __stub macros and hopefully few prototypes,
37344 which can conflict with char $ac_func (); below.
37345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37346 <limits.h> exists even on freestanding compilers. */
37347
37348 #ifdef __STDC__
37349 # include <limits.h>
37350 #else
37351 # include <assert.h>
37352 #endif
37353
37354 #undef $ac_func
37355
37356 /* Override any GCC internal prototype to avoid an error.
37357 Use char because int might match the return type of a GCC
37358 builtin and then its argument prototype would still apply. */
37359 #ifdef __cplusplus
37360 extern "C"
37361 #endif
37362 char $ac_func ();
37363 /* The GNU C library defines this for functions which it implements
37364 to always fail with ENOSYS. Some functions are actually named
37365 something starting with __ and the normal name is an alias. */
37366 #if defined __stub_$ac_func || defined __stub___$ac_func
37367 choke me
37368 #endif
37369
37370 int
37371 main ()
37372 {
37373 return $ac_func ();
37374 ;
37375 return 0;
37376 }
37377 _ACEOF
37378 rm -f conftest.$ac_objext conftest$ac_exeext
37379 if { (ac_try="$ac_link"
37380 case "(($ac_try" in
37381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37382 *) ac_try_echo=$ac_try;;
37383 esac
37384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37385 (eval "$ac_link") 2>conftest.er1
37386 ac_status=$?
37387 grep -v '^ *+' conftest.er1 >conftest.err
37388 rm -f conftest.er1
37389 cat conftest.err >&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); } && {
37392 test -z "$ac_c_werror_flag" ||
37393 test ! -s conftest.err
37394 } && test -s conftest$ac_exeext &&
37395 $as_test_x conftest$ac_exeext; then
37396 eval "$as_ac_var=yes"
37397 else
37398 echo "$as_me: failed program was:" >&5
37399 sed 's/^/| /' conftest.$ac_ext >&5
37400
37401 eval "$as_ac_var=no"
37402 fi
37403
37404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37405 conftest$ac_exeext conftest.$ac_ext
37406 fi
37407 ac_res=`eval echo '${'$as_ac_var'}'`
37408 { echo "$as_me:$LINENO: result: $ac_res" >&5
37409 echo "${ECHO_T}$ac_res" >&6; }
37410 if test `eval echo '${'$as_ac_var'}'` = yes; then
37411 cat >>confdefs.h <<_ACEOF
37412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37413 _ACEOF
37414
37415 fi
37416 done
37417
37418 fi
37419
37420 else
37421 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37422 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37423 fi
37424
37425
37426
37427 for ac_func in snprintf vsnprintf
37428 do
37429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37434 else
37435 cat >conftest.$ac_ext <<_ACEOF
37436 /* confdefs.h. */
37437 _ACEOF
37438 cat confdefs.h >>conftest.$ac_ext
37439 cat >>conftest.$ac_ext <<_ACEOF
37440 /* end confdefs.h. */
37441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37443 #define $ac_func innocuous_$ac_func
37444
37445 /* System header to define __stub macros and hopefully few prototypes,
37446 which can conflict with char $ac_func (); below.
37447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37448 <limits.h> exists even on freestanding compilers. */
37449
37450 #ifdef __STDC__
37451 # include <limits.h>
37452 #else
37453 # include <assert.h>
37454 #endif
37455
37456 #undef $ac_func
37457
37458 /* Override any GCC internal prototype to avoid an error.
37459 Use char because int might match the return type of a GCC
37460 builtin and then its argument prototype would still apply. */
37461 #ifdef __cplusplus
37462 extern "C"
37463 #endif
37464 char $ac_func ();
37465 /* The GNU C library defines this for functions which it implements
37466 to always fail with ENOSYS. Some functions are actually named
37467 something starting with __ and the normal name is an alias. */
37468 #if defined __stub_$ac_func || defined __stub___$ac_func
37469 choke me
37470 #endif
37471
37472 int
37473 main ()
37474 {
37475 return $ac_func ();
37476 ;
37477 return 0;
37478 }
37479 _ACEOF
37480 rm -f conftest.$ac_objext conftest$ac_exeext
37481 if { (ac_try="$ac_link"
37482 case "(($ac_try" in
37483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37484 *) ac_try_echo=$ac_try;;
37485 esac
37486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37487 (eval "$ac_link") 2>conftest.er1
37488 ac_status=$?
37489 grep -v '^ *+' conftest.er1 >conftest.err
37490 rm -f conftest.er1
37491 cat conftest.err >&5
37492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493 (exit $ac_status); } && {
37494 test -z "$ac_c_werror_flag" ||
37495 test ! -s conftest.err
37496 } && test -s conftest$ac_exeext &&
37497 $as_test_x conftest$ac_exeext; then
37498 eval "$as_ac_var=yes"
37499 else
37500 echo "$as_me: failed program was:" >&5
37501 sed 's/^/| /' conftest.$ac_ext >&5
37502
37503 eval "$as_ac_var=no"
37504 fi
37505
37506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37507 conftest$ac_exeext conftest.$ac_ext
37508 fi
37509 ac_res=`eval echo '${'$as_ac_var'}'`
37510 { echo "$as_me:$LINENO: result: $ac_res" >&5
37511 echo "${ECHO_T}$ac_res" >&6; }
37512 if test `eval echo '${'$as_ac_var'}'` = yes; then
37513 cat >>confdefs.h <<_ACEOF
37514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37515 _ACEOF
37516
37517 fi
37518 done
37519
37520
37521 if test "$ac_cv_func_vsnprintf" = "yes"; then
37522 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37523 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37524 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37525 echo $ECHO_N "(cached) $ECHO_C" >&6
37526 else
37527
37528 cat >conftest.$ac_ext <<_ACEOF
37529 /* confdefs.h. */
37530 _ACEOF
37531 cat confdefs.h >>conftest.$ac_ext
37532 cat >>conftest.$ac_ext <<_ACEOF
37533 /* end confdefs.h. */
37534
37535 #include <stdio.h>
37536 #include <stdarg.h>
37537 #ifdef __MSL__
37538 #if __MSL__ >= 0x6000
37539 namespace std {}
37540 using namespace std;
37541 #endif
37542 #endif
37543
37544 int
37545 main ()
37546 {
37547
37548 char *buf;
37549 va_list ap;
37550 vsnprintf(buf, 10u, "%s", ap);
37551
37552 ;
37553 return 0;
37554 }
37555 _ACEOF
37556 rm -f conftest.$ac_objext
37557 if { (ac_try="$ac_compile"
37558 case "(($ac_try" in
37559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37560 *) ac_try_echo=$ac_try;;
37561 esac
37562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37563 (eval "$ac_compile") 2>conftest.er1
37564 ac_status=$?
37565 grep -v '^ *+' conftest.er1 >conftest.err
37566 rm -f conftest.er1
37567 cat conftest.err >&5
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); } && {
37570 test -z "$ac_c_werror_flag" ||
37571 test ! -s conftest.err
37572 } && test -s conftest.$ac_objext; then
37573 wx_cv_func_vsnprintf_decl=yes
37574 else
37575 echo "$as_me: failed program was:" >&5
37576 sed 's/^/| /' conftest.$ac_ext >&5
37577
37578 wx_cv_func_vsnprintf_decl=no
37579
37580 fi
37581
37582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37583
37584
37585 fi
37586 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37587 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37588
37589 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37590 cat >>confdefs.h <<\_ACEOF
37591 #define HAVE_VSNPRINTF_DECL 1
37592 _ACEOF
37593
37594
37595 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37596 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37597 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37598 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 else
37600
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607
37608 #include <stdio.h>
37609 #include <stdarg.h>
37610 #ifdef __MSL__
37611 #if __MSL__ >= 0x6000
37612 namespace std {}
37613 using namespace std;
37614 #endif
37615 #endif
37616
37617 int
37618 main ()
37619 {
37620
37621 char *buf;
37622 va_list ap;
37623 const char *fmt = "%s";
37624 vsnprintf(buf, 10u, fmt, ap);
37625
37626 ;
37627 return 0;
37628 }
37629 _ACEOF
37630 rm -f conftest.$ac_objext
37631 if { (ac_try="$ac_compile"
37632 case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37635 esac
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_compile") 2>conftest.er1
37638 ac_status=$?
37639 grep -v '^ *+' conftest.er1 >conftest.err
37640 rm -f conftest.er1
37641 cat conftest.err >&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); } && {
37644 test -z "$ac_c_werror_flag" ||
37645 test ! -s conftest.err
37646 } && test -s conftest.$ac_objext; then
37647 wx_cv_func_broken_vsnprintf_decl=no
37648 else
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.$ac_ext >&5
37651
37652 wx_cv_func_broken_vsnprintf_decl=yes
37653
37654 fi
37655
37656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37657
37658
37659 fi
37660 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37661 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37662
37663 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37664 cat >>confdefs.h <<\_ACEOF
37665 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37666 _ACEOF
37667
37668 fi
37669 fi
37670 fi
37671
37672 if test "$ac_cv_func_snprintf" = "yes"; then
37673 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37674 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37675 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 else
37678
37679 cat >conftest.$ac_ext <<_ACEOF
37680 /* confdefs.h. */
37681 _ACEOF
37682 cat confdefs.h >>conftest.$ac_ext
37683 cat >>conftest.$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37685
37686 #include <stdio.h>
37687 #include <stdarg.h>
37688 #ifdef __MSL__
37689 #if __MSL__ >= 0x6000
37690 namespace std {}
37691 using namespace std;
37692 #endif
37693 #endif
37694
37695 int
37696 main ()
37697 {
37698
37699 char *buf;
37700 snprintf(buf, 10u, "%s", "wx");
37701
37702 ;
37703 return 0;
37704 }
37705 _ACEOF
37706 rm -f conftest.$ac_objext
37707 if { (ac_try="$ac_compile"
37708 case "(($ac_try" in
37709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37710 *) ac_try_echo=$ac_try;;
37711 esac
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_compile") 2>conftest.er1
37714 ac_status=$?
37715 grep -v '^ *+' conftest.er1 >conftest.err
37716 rm -f conftest.er1
37717 cat conftest.err >&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } && {
37720 test -z "$ac_c_werror_flag" ||
37721 test ! -s conftest.err
37722 } && test -s conftest.$ac_objext; then
37723 wx_cv_func_snprintf_decl=yes
37724 else
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.$ac_ext >&5
37727
37728 wx_cv_func_snprintf_decl=no
37729
37730 fi
37731
37732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733
37734
37735 fi
37736 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37737 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37738
37739 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37740 cat >>confdefs.h <<\_ACEOF
37741 #define HAVE_SNPRINTF_DECL 1
37742 _ACEOF
37743
37744
37745 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37746 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37747 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37748 echo $ECHO_N "(cached) $ECHO_C" >&6
37749 else
37750
37751 cat >conftest.$ac_ext <<_ACEOF
37752 /* confdefs.h. */
37753 _ACEOF
37754 cat confdefs.h >>conftest.$ac_ext
37755 cat >>conftest.$ac_ext <<_ACEOF
37756 /* end confdefs.h. */
37757
37758 #include <stdio.h>
37759 #include <stdarg.h>
37760 #ifdef __MSL__
37761 #if __MSL__ >= 0x6000
37762 namespace std {}
37763 using namespace std;
37764 #endif
37765 #endif
37766
37767 int
37768 main ()
37769 {
37770
37771 char *buf;
37772 const char *fmt = "%s";
37773 snprintf(buf, 10u, fmt, "wx");
37774
37775 ;
37776 return 0;
37777 }
37778 _ACEOF
37779 rm -f conftest.$ac_objext
37780 if { (ac_try="$ac_compile"
37781 case "(($ac_try" in
37782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37783 *) ac_try_echo=$ac_try;;
37784 esac
37785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37786 (eval "$ac_compile") 2>conftest.er1
37787 ac_status=$?
37788 grep -v '^ *+' conftest.er1 >conftest.err
37789 rm -f conftest.er1
37790 cat conftest.err >&5
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); } && {
37793 test -z "$ac_c_werror_flag" ||
37794 test ! -s conftest.err
37795 } && test -s conftest.$ac_objext; then
37796 wx_cv_func_broken_snprintf_decl=no
37797 else
37798 echo "$as_me: failed program was:" >&5
37799 sed 's/^/| /' conftest.$ac_ext >&5
37800
37801 wx_cv_func_broken_snprintf_decl=yes
37802
37803 fi
37804
37805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37806
37807
37808 fi
37809 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37810 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37811
37812 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37813 cat >>confdefs.h <<\_ACEOF
37814 #define HAVE_BROKEN_SNPRINTF_DECL 1
37815 _ACEOF
37816
37817 fi
37818 fi
37819
37820 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37821
37822 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37823 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37824 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37825 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 else
37827
37828 if test "$cross_compiling" = yes; then
37829
37830 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37831 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37832 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37833 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37834 wx_cv_func_snprintf_pos_params=no
37835
37836
37837 else
37838 cat >conftest.$ac_ext <<_ACEOF
37839 /* confdefs.h. */
37840 _ACEOF
37841 cat confdefs.h >>conftest.$ac_ext
37842 cat >>conftest.$ac_ext <<_ACEOF
37843 /* end confdefs.h. */
37844
37845 #include <stdio.h>
37846
37847 int main (void)
37848 {
37849 char buffer[128];
37850 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37851 if (strcmp ("2 3 1", buffer) == 0)
37852 exit (0);
37853 exit (1);
37854 }
37855
37856 _ACEOF
37857 rm -f conftest$ac_exeext
37858 if { (ac_try="$ac_link"
37859 case "(($ac_try" in
37860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37861 *) ac_try_echo=$ac_try;;
37862 esac
37863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37864 (eval "$ac_link") 2>&5
37865 ac_status=$?
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37868 { (case "(($ac_try" in
37869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37870 *) ac_try_echo=$ac_try;;
37871 esac
37872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37873 (eval "$ac_try") 2>&5
37874 ac_status=$?
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); }; }; then
37877 wx_cv_func_snprintf_pos_params=no
37878 else
37879 echo "$as_me: program exited with status $ac_status" >&5
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37882
37883 ( exit $ac_status )
37884 wx_cv_func_snprintf_pos_params=yes
37885 fi
37886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37887 fi
37888
37889
37890
37891
37892 fi
37893 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37894 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37895
37896 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37897 cat >>confdefs.h <<\_ACEOF
37898 #define HAVE_UNIX98_PRINTF 1
37899 _ACEOF
37900
37901 fi
37902 fi
37903 fi
37904
37905 if test "$wxUSE_UNICODE" = yes; then
37906
37907
37908 for ac_func in swprintf
37909 do
37910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37915 else
37916 cat >conftest.$ac_ext <<_ACEOF
37917 /* confdefs.h. */
37918 _ACEOF
37919 cat confdefs.h >>conftest.$ac_ext
37920 cat >>conftest.$ac_ext <<_ACEOF
37921 /* end confdefs.h. */
37922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37924 #define $ac_func innocuous_$ac_func
37925
37926 /* System header to define __stub macros and hopefully few prototypes,
37927 which can conflict with char $ac_func (); below.
37928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37929 <limits.h> exists even on freestanding compilers. */
37930
37931 #ifdef __STDC__
37932 # include <limits.h>
37933 #else
37934 # include <assert.h>
37935 #endif
37936
37937 #undef $ac_func
37938
37939 /* Override any GCC internal prototype to avoid an error.
37940 Use char because int might match the return type of a GCC
37941 builtin and then its argument prototype would still apply. */
37942 #ifdef __cplusplus
37943 extern "C"
37944 #endif
37945 char $ac_func ();
37946 /* The GNU C library defines this for functions which it implements
37947 to always fail with ENOSYS. Some functions are actually named
37948 something starting with __ and the normal name is an alias. */
37949 #if defined __stub_$ac_func || defined __stub___$ac_func
37950 choke me
37951 #endif
37952
37953 int
37954 main ()
37955 {
37956 return $ac_func ();
37957 ;
37958 return 0;
37959 }
37960 _ACEOF
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (ac_try="$ac_link"
37963 case "(($ac_try" in
37964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37965 *) ac_try_echo=$ac_try;;
37966 esac
37967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37968 (eval "$ac_link") 2>conftest.er1
37969 ac_status=$?
37970 grep -v '^ *+' conftest.er1 >conftest.err
37971 rm -f conftest.er1
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } && {
37975 test -z "$ac_c_werror_flag" ||
37976 test ! -s conftest.err
37977 } && test -s conftest$ac_exeext &&
37978 $as_test_x conftest$ac_exeext; then
37979 eval "$as_ac_var=yes"
37980 else
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.$ac_ext >&5
37983
37984 eval "$as_ac_var=no"
37985 fi
37986
37987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37988 conftest$ac_exeext conftest.$ac_ext
37989 fi
37990 ac_res=`eval echo '${'$as_ac_var'}'`
37991 { echo "$as_me:$LINENO: result: $ac_res" >&5
37992 echo "${ECHO_T}$ac_res" >&6; }
37993 if test `eval echo '${'$as_ac_var'}'` = yes; then
37994 cat >>confdefs.h <<_ACEOF
37995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37996 _ACEOF
37997
37998 fi
37999 done
38000
38001
38002 if test "$ac_cv_func_swprintf" = "yes"; then
38003 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38004 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38005 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 else
38008
38009 cat >conftest.$ac_ext <<_ACEOF
38010 /* confdefs.h. */
38011 _ACEOF
38012 cat confdefs.h >>conftest.$ac_ext
38013 cat >>conftest.$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38015
38016 #include <stdio.h>
38017 #include <stdarg.h>
38018 #include <wchar.h>
38019
38020 int
38021 main ()
38022 {
38023
38024 wchar_t *buf;
38025 const wchar_t *fmt = L"test";
38026 swprintf(buf, 10u, fmt);
38027
38028 ;
38029 return 0;
38030 }
38031 _ACEOF
38032 rm -f conftest.$ac_objext
38033 if { (ac_try="$ac_compile"
38034 case "(($ac_try" in
38035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38036 *) ac_try_echo=$ac_try;;
38037 esac
38038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38039 (eval "$ac_compile") 2>conftest.er1
38040 ac_status=$?
38041 grep -v '^ *+' conftest.er1 >conftest.err
38042 rm -f conftest.er1
38043 cat conftest.err >&5
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); } && {
38046 test -z "$ac_c_werror_flag" ||
38047 test ! -s conftest.err
38048 } && test -s conftest.$ac_objext; then
38049 wx_cv_func_broken_swprintf_decl=no
38050 else
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.$ac_ext >&5
38053
38054 wx_cv_func_broken_swprintf_decl=yes
38055
38056 fi
38057
38058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38059
38060
38061 fi
38062 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38063 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38064
38065 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38066 cat >>confdefs.h <<\_ACEOF
38067 #define HAVE_BROKEN_SWPRINTF_DECL 1
38068 _ACEOF
38069
38070 fi
38071 fi
38072
38073 wchar_headers="#include <stdio.h>
38074 #include <wchar.h>"
38075 case "${host}" in
38076 *-*-solaris2* )
38077 { echo "$as_me:$LINENO: checking for widec.h" >&5
38078 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38079 if test "${ac_cv_header_widec_h+set}" = set; then
38080 echo $ECHO_N "(cached) $ECHO_C" >&6
38081 else
38082 cat >conftest.$ac_ext <<_ACEOF
38083 /* confdefs.h. */
38084 _ACEOF
38085 cat confdefs.h >>conftest.$ac_ext
38086 cat >>conftest.$ac_ext <<_ACEOF
38087 /* end confdefs.h. */
38088 $ac_includes_default
38089
38090 #include <widec.h>
38091 _ACEOF
38092 rm -f conftest.$ac_objext
38093 if { (ac_try="$ac_compile"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_compile") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest.$ac_objext; then
38109 ac_cv_header_widec_h=yes
38110 else
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38113
38114 ac_cv_header_widec_h=no
38115 fi
38116
38117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 fi
38119 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38120 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38121
38122
38123 if test "$ac_cv_header_widec_h" = "yes"; then
38124 wchar_headers="$wchar_headers
38125 #include <widec.h>"
38126 fi
38127 esac
38128
38129
38130 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38131 do
38132 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38133 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38134 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38135 echo $ECHO_N "(cached) $ECHO_C" >&6
38136 else
38137
38138 cat >conftest.$ac_ext <<_ACEOF
38139
38140 /* confdefs.h. */
38141 _ACEOF
38142 cat confdefs.h >>conftest.$ac_ext
38143 cat >>conftest.$ac_ext <<_ACEOF
38144 /* end confdefs.h. */
38145
38146 $wchar_headers
38147 $ac_includes_default
38148
38149 int
38150 main ()
38151 {
38152
38153 #ifndef $wx_func
38154 &$wx_func;
38155 #endif
38156
38157
38158 ;
38159 return 0;
38160 }
38161
38162 _ACEOF
38163 rm -f conftest.$ac_objext conftest$ac_exeext
38164 if { (ac_try="$ac_link"
38165 case "(($ac_try" in
38166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38167 *) ac_try_echo=$ac_try;;
38168 esac
38169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38170 (eval "$ac_link") 2>conftest.er1
38171 ac_status=$?
38172 grep -v '^ *+' conftest.er1 >conftest.err
38173 rm -f conftest.er1
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } && {
38177 test -z "$ac_c_werror_flag" ||
38178 test ! -s conftest.err
38179 } && test -s conftest$ac_exeext &&
38180 $as_test_x conftest$ac_exeext; then
38181 eval wx_cv_func_$wx_func=yes
38182 else
38183 echo "$as_me: failed program was:" >&5
38184 sed 's/^/| /' conftest.$ac_ext >&5
38185
38186 eval wx_cv_func_$wx_func=no
38187 fi
38188
38189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38190 conftest$ac_exeext conftest.$ac_ext
38191
38192 fi
38193 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38194 { echo "$as_me:$LINENO: result: $ac_res" >&5
38195 echo "${ECHO_T}$ac_res" >&6; }
38196
38197 if eval test \$wx_cv_func_$wx_func = yes
38198 then
38199 cat >>confdefs.h <<_ACEOF
38200 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38201 _ACEOF
38202
38203
38204 else
38205 :
38206
38207 fi
38208 done
38209
38210
38211 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38212 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38213 cat >conftest.$ac_ext <<_ACEOF
38214 /* confdefs.h. */
38215 _ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38219 #include <wchar.h>
38220 int
38221 main ()
38222 {
38223 &_vsnwprintf;
38224 ;
38225 return 0;
38226 }
38227 _ACEOF
38228 rm -f conftest.$ac_objext
38229 if { (ac_try="$ac_compile"
38230 case "(($ac_try" in
38231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38232 *) ac_try_echo=$ac_try;;
38233 esac
38234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38235 (eval "$ac_compile") 2>conftest.er1
38236 ac_status=$?
38237 grep -v '^ *+' conftest.er1 >conftest.err
38238 rm -f conftest.er1
38239 cat conftest.err >&5
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); } && {
38242 test -z "$ac_c_werror_flag" ||
38243 test ! -s conftest.err
38244 } && test -s conftest.$ac_objext; then
38245 { echo "$as_me:$LINENO: result: yes" >&5
38246 echo "${ECHO_T}yes" >&6; }
38247 cat >>confdefs.h <<\_ACEOF
38248 #define HAVE__VSNWPRINTF 1
38249 _ACEOF
38250
38251 else
38252 echo "$as_me: failed program was:" >&5
38253 sed 's/^/| /' conftest.$ac_ext >&5
38254
38255 { echo "$as_me:$LINENO: result: no" >&5
38256 echo "${ECHO_T}no" >&6; }
38257 fi
38258
38259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38260 fi
38261
38262 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38263
38264 for wx_func in fnmatch
38265 do
38266 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38267 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38268 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38270 else
38271
38272 cat >conftest.$ac_ext <<_ACEOF
38273
38274 /* confdefs.h. */
38275 _ACEOF
38276 cat confdefs.h >>conftest.$ac_ext
38277 cat >>conftest.$ac_ext <<_ACEOF
38278 /* end confdefs.h. */
38279
38280 #include <fnmatch.h>
38281 $ac_includes_default
38282
38283 int
38284 main ()
38285 {
38286
38287 #ifndef $wx_func
38288 &$wx_func;
38289 #endif
38290
38291
38292 ;
38293 return 0;
38294 }
38295
38296 _ACEOF
38297 rm -f conftest.$ac_objext conftest$ac_exeext
38298 if { (ac_try="$ac_link"
38299 case "(($ac_try" in
38300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38301 *) ac_try_echo=$ac_try;;
38302 esac
38303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38304 (eval "$ac_link") 2>conftest.er1
38305 ac_status=$?
38306 grep -v '^ *+' conftest.er1 >conftest.err
38307 rm -f conftest.er1
38308 cat conftest.err >&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); } && {
38311 test -z "$ac_c_werror_flag" ||
38312 test ! -s conftest.err
38313 } && test -s conftest$ac_exeext &&
38314 $as_test_x conftest$ac_exeext; then
38315 eval wx_cv_func_$wx_func=yes
38316 else
38317 echo "$as_me: failed program was:" >&5
38318 sed 's/^/| /' conftest.$ac_ext >&5
38319
38320 eval wx_cv_func_$wx_func=no
38321 fi
38322
38323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38324 conftest$ac_exeext conftest.$ac_ext
38325
38326 fi
38327 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38328 { echo "$as_me:$LINENO: result: $ac_res" >&5
38329 echo "${ECHO_T}$ac_res" >&6; }
38330
38331 if eval test \$wx_cv_func_$wx_func = yes
38332 then
38333 cat >>confdefs.h <<_ACEOF
38334 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38335 _ACEOF
38336
38337
38338 else
38339 :
38340
38341 fi
38342 done
38343
38344 fi
38345
38346 if test "$wxUSE_FILE" = "yes"; then
38347
38348 for wx_func in fsync
38349 do
38350 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38351 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38352 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38353 echo $ECHO_N "(cached) $ECHO_C" >&6
38354 else
38355
38356 cat >conftest.$ac_ext <<_ACEOF
38357
38358 /* confdefs.h. */
38359 _ACEOF
38360 cat confdefs.h >>conftest.$ac_ext
38361 cat >>conftest.$ac_ext <<_ACEOF
38362 /* end confdefs.h. */
38363
38364
38365 $ac_includes_default
38366
38367 int
38368 main ()
38369 {
38370
38371 #ifndef $wx_func
38372 &$wx_func;
38373 #endif
38374
38375
38376 ;
38377 return 0;
38378 }
38379
38380 _ACEOF
38381 rm -f conftest.$ac_objext conftest$ac_exeext
38382 if { (ac_try="$ac_link"
38383 case "(($ac_try" in
38384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38385 *) ac_try_echo=$ac_try;;
38386 esac
38387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38388 (eval "$ac_link") 2>conftest.er1
38389 ac_status=$?
38390 grep -v '^ *+' conftest.er1 >conftest.err
38391 rm -f conftest.er1
38392 cat conftest.err >&5
38393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38394 (exit $ac_status); } && {
38395 test -z "$ac_c_werror_flag" ||
38396 test ! -s conftest.err
38397 } && test -s conftest$ac_exeext &&
38398 $as_test_x conftest$ac_exeext; then
38399 eval wx_cv_func_$wx_func=yes
38400 else
38401 echo "$as_me: failed program was:" >&5
38402 sed 's/^/| /' conftest.$ac_ext >&5
38403
38404 eval wx_cv_func_$wx_func=no
38405 fi
38406
38407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38408 conftest$ac_exeext conftest.$ac_ext
38409
38410 fi
38411 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38412 { echo "$as_me:$LINENO: result: $ac_res" >&5
38413 echo "${ECHO_T}$ac_res" >&6; }
38414
38415 if eval test \$wx_cv_func_$wx_func = yes
38416 then
38417 cat >>confdefs.h <<_ACEOF
38418 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38419 _ACEOF
38420
38421
38422 else
38423 :
38424
38425 fi
38426 done
38427
38428 fi
38429
38430 ac_ext=cpp
38431 ac_cpp='$CXXCPP $CPPFLAGS'
38432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38435
38436
38437 for wx_func in round
38438 do
38439 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38440 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38441 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38442 echo $ECHO_N "(cached) $ECHO_C" >&6
38443 else
38444
38445 cat >conftest.$ac_ext <<_ACEOF
38446
38447 /* confdefs.h. */
38448 _ACEOF
38449 cat confdefs.h >>conftest.$ac_ext
38450 cat >>conftest.$ac_ext <<_ACEOF
38451 /* end confdefs.h. */
38452
38453 #include <math.h>
38454 $ac_includes_default
38455
38456 int
38457 main ()
38458 {
38459
38460 #ifndef $wx_func
38461 &$wx_func;
38462 #endif
38463
38464
38465 ;
38466 return 0;
38467 }
38468
38469 _ACEOF
38470 rm -f conftest.$ac_objext conftest$ac_exeext
38471 if { (ac_try="$ac_link"
38472 case "(($ac_try" in
38473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38474 *) ac_try_echo=$ac_try;;
38475 esac
38476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38477 (eval "$ac_link") 2>conftest.er1
38478 ac_status=$?
38479 grep -v '^ *+' conftest.er1 >conftest.err
38480 rm -f conftest.er1
38481 cat conftest.err >&5
38482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38483 (exit $ac_status); } && {
38484 test -z "$ac_cxx_werror_flag" ||
38485 test ! -s conftest.err
38486 } && test -s conftest$ac_exeext &&
38487 $as_test_x conftest$ac_exeext; then
38488 eval wx_cv_func_$wx_func=yes
38489 else
38490 echo "$as_me: failed program was:" >&5
38491 sed 's/^/| /' conftest.$ac_ext >&5
38492
38493 eval wx_cv_func_$wx_func=no
38494 fi
38495
38496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38497 conftest$ac_exeext conftest.$ac_ext
38498
38499 fi
38500 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38501 { echo "$as_me:$LINENO: result: $ac_res" >&5
38502 echo "${ECHO_T}$ac_res" >&6; }
38503
38504 if eval test \$wx_cv_func_$wx_func = yes
38505 then
38506 cat >>confdefs.h <<_ACEOF
38507 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38508 _ACEOF
38509
38510
38511 else
38512 :
38513
38514 fi
38515 done
38516
38517 ac_ext=c
38518 ac_cpp='$CPP $CPPFLAGS'
38519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38522
38523
38524 if test "$TOOLKIT" != "MSW"; then
38525
38526
38527
38528
38529
38530 # Check whether --with-libiconv-prefix was given.
38531 if test "${with_libiconv_prefix+set}" = set; then
38532 withval=$with_libiconv_prefix;
38533 for dir in `echo "$withval" | tr : ' '`; do
38534 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38535 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38536 done
38537
38538 fi
38539
38540
38541 { echo "$as_me:$LINENO: checking for iconv" >&5
38542 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38543 if test "${am_cv_func_iconv+set}" = set; then
38544 echo $ECHO_N "(cached) $ECHO_C" >&6
38545 else
38546
38547 am_cv_func_iconv="no, consider installing GNU libiconv"
38548 am_cv_lib_iconv=no
38549 cat >conftest.$ac_ext <<_ACEOF
38550 /* confdefs.h. */
38551 _ACEOF
38552 cat confdefs.h >>conftest.$ac_ext
38553 cat >>conftest.$ac_ext <<_ACEOF
38554 /* end confdefs.h. */
38555 #include <stdlib.h>
38556 #include <iconv.h>
38557 int
38558 main ()
38559 {
38560 iconv_t cd = iconv_open("","");
38561 iconv(cd,NULL,NULL,NULL,NULL);
38562 iconv_close(cd);
38563 ;
38564 return 0;
38565 }
38566 _ACEOF
38567 rm -f conftest.$ac_objext conftest$ac_exeext
38568 if { (ac_try="$ac_link"
38569 case "(($ac_try" in
38570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38571 *) ac_try_echo=$ac_try;;
38572 esac
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_link") 2>conftest.er1
38575 ac_status=$?
38576 grep -v '^ *+' conftest.er1 >conftest.err
38577 rm -f conftest.er1
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_c_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest$ac_exeext &&
38584 $as_test_x conftest$ac_exeext; then
38585 am_cv_func_iconv=yes
38586 else
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.$ac_ext >&5
38589
38590
38591 fi
38592
38593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38594 conftest$ac_exeext conftest.$ac_ext
38595 if test "$am_cv_func_iconv" != yes; then
38596 am_save_LIBS="$LIBS"
38597 LIBS="$LIBS -liconv"
38598 cat >conftest.$ac_ext <<_ACEOF
38599 /* confdefs.h. */
38600 _ACEOF
38601 cat confdefs.h >>conftest.$ac_ext
38602 cat >>conftest.$ac_ext <<_ACEOF
38603 /* end confdefs.h. */
38604 #include <stdlib.h>
38605 #include <iconv.h>
38606 int
38607 main ()
38608 {
38609 iconv_t cd = iconv_open("","");
38610 iconv(cd,NULL,NULL,NULL,NULL);
38611 iconv_close(cd);
38612 ;
38613 return 0;
38614 }
38615 _ACEOF
38616 rm -f conftest.$ac_objext conftest$ac_exeext
38617 if { (ac_try="$ac_link"
38618 case "(($ac_try" in
38619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38620 *) ac_try_echo=$ac_try;;
38621 esac
38622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38623 (eval "$ac_link") 2>conftest.er1
38624 ac_status=$?
38625 grep -v '^ *+' conftest.er1 >conftest.err
38626 rm -f conftest.er1
38627 cat conftest.err >&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); } && {
38630 test -z "$ac_c_werror_flag" ||
38631 test ! -s conftest.err
38632 } && test -s conftest$ac_exeext &&
38633 $as_test_x conftest$ac_exeext; then
38634 am_cv_lib_iconv=yes
38635 am_cv_func_iconv=yes
38636 else
38637 echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38639
38640
38641 fi
38642
38643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38644 conftest$ac_exeext conftest.$ac_ext
38645 LIBS="$am_save_LIBS"
38646 fi
38647
38648 fi
38649 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38650 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38651 if test "$am_cv_func_iconv" = yes; then
38652
38653 cat >>confdefs.h <<\_ACEOF
38654 #define HAVE_ICONV 1
38655 _ACEOF
38656
38657 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38658 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38659 if test "${wx_cv_func_iconv_const+set}" = set; then
38660 echo $ECHO_N "(cached) $ECHO_C" >&6
38661 else
38662 cat >conftest.$ac_ext <<_ACEOF
38663 /* confdefs.h. */
38664 _ACEOF
38665 cat confdefs.h >>conftest.$ac_ext
38666 cat >>conftest.$ac_ext <<_ACEOF
38667 /* end confdefs.h. */
38668
38669 #include <stdlib.h>
38670 #include <iconv.h>
38671 extern
38672 #ifdef __cplusplus
38673 "C"
38674 #endif
38675 #if defined(__STDC__) || defined(__cplusplus)
38676 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38677 #else
38678 size_t iconv();
38679 #endif
38680
38681 int
38682 main ()
38683 {
38684
38685 ;
38686 return 0;
38687 }
38688 _ACEOF
38689 rm -f conftest.$ac_objext
38690 if { (ac_try="$ac_compile"
38691 case "(($ac_try" in
38692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38693 *) ac_try_echo=$ac_try;;
38694 esac
38695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38696 (eval "$ac_compile") 2>conftest.er1
38697 ac_status=$?
38698 grep -v '^ *+' conftest.er1 >conftest.err
38699 rm -f conftest.er1
38700 cat conftest.err >&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } && {
38703 test -z "$ac_c_werror_flag" ||
38704 test ! -s conftest.err
38705 } && test -s conftest.$ac_objext; then
38706 wx_cv_func_iconv_const="no"
38707 else
38708 echo "$as_me: failed program was:" >&5
38709 sed 's/^/| /' conftest.$ac_ext >&5
38710
38711 wx_cv_func_iconv_const="yes"
38712
38713 fi
38714
38715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38716
38717 fi
38718 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38719 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38720
38721 iconv_const=
38722 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38723 iconv_const="const"
38724 fi
38725
38726
38727 cat >>confdefs.h <<_ACEOF
38728 #define ICONV_CONST $iconv_const
38729 _ACEOF
38730
38731 fi
38732 LIBICONV=
38733 if test "$am_cv_lib_iconv" = yes; then
38734 LIBICONV="-liconv"
38735 fi
38736
38737
38738 LIBS="$LIBICONV $LIBS"
38739
38740 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38741
38742 for ac_func in sigaction
38743 do
38744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38745 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38747 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38748 echo $ECHO_N "(cached) $ECHO_C" >&6
38749 else
38750 cat >conftest.$ac_ext <<_ACEOF
38751 /* confdefs.h. */
38752 _ACEOF
38753 cat confdefs.h >>conftest.$ac_ext
38754 cat >>conftest.$ac_ext <<_ACEOF
38755 /* end confdefs.h. */
38756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38758 #define $ac_func innocuous_$ac_func
38759
38760 /* System header to define __stub macros and hopefully few prototypes,
38761 which can conflict with char $ac_func (); below.
38762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38763 <limits.h> exists even on freestanding compilers. */
38764
38765 #ifdef __STDC__
38766 # include <limits.h>
38767 #else
38768 # include <assert.h>
38769 #endif
38770
38771 #undef $ac_func
38772
38773 /* Override any GCC internal prototype to avoid an error.
38774 Use char because int might match the return type of a GCC
38775 builtin and then its argument prototype would still apply. */
38776 #ifdef __cplusplus
38777 extern "C"
38778 #endif
38779 char $ac_func ();
38780 /* The GNU C library defines this for functions which it implements
38781 to always fail with ENOSYS. Some functions are actually named
38782 something starting with __ and the normal name is an alias. */
38783 #if defined __stub_$ac_func || defined __stub___$ac_func
38784 choke me
38785 #endif
38786
38787 int
38788 main ()
38789 {
38790 return $ac_func ();
38791 ;
38792 return 0;
38793 }
38794 _ACEOF
38795 rm -f conftest.$ac_objext conftest$ac_exeext
38796 if { (ac_try="$ac_link"
38797 case "(($ac_try" in
38798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38799 *) ac_try_echo=$ac_try;;
38800 esac
38801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38802 (eval "$ac_link") 2>conftest.er1
38803 ac_status=$?
38804 grep -v '^ *+' conftest.er1 >conftest.err
38805 rm -f conftest.er1
38806 cat conftest.err >&5
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); } && {
38809 test -z "$ac_c_werror_flag" ||
38810 test ! -s conftest.err
38811 } && test -s conftest$ac_exeext &&
38812 $as_test_x conftest$ac_exeext; then
38813 eval "$as_ac_var=yes"
38814 else
38815 echo "$as_me: failed program was:" >&5
38816 sed 's/^/| /' conftest.$ac_ext >&5
38817
38818 eval "$as_ac_var=no"
38819 fi
38820
38821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38822 conftest$ac_exeext conftest.$ac_ext
38823 fi
38824 ac_res=`eval echo '${'$as_ac_var'}'`
38825 { echo "$as_me:$LINENO: result: $ac_res" >&5
38826 echo "${ECHO_T}$ac_res" >&6; }
38827 if test `eval echo '${'$as_ac_var'}'` = yes; then
38828 cat >>confdefs.h <<_ACEOF
38829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38830 _ACEOF
38831
38832 fi
38833 done
38834
38835
38836 if test "$ac_cv_func_sigaction" = "no"; then
38837 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38838 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38839 wxUSE_ON_FATAL_EXCEPTION=no
38840 fi
38841
38842 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38843 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38844 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38845 if test "${wx_cv_type_sa_handler+set}" = set; then
38846 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 else
38848
38849 ac_ext=cpp
38850 ac_cpp='$CXXCPP $CPPFLAGS'
38851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38854
38855 cat >conftest.$ac_ext <<_ACEOF
38856 /* confdefs.h. */
38857 _ACEOF
38858 cat confdefs.h >>conftest.$ac_ext
38859 cat >>conftest.$ac_ext <<_ACEOF
38860 /* end confdefs.h. */
38861 #include <signal.h>
38862 int
38863 main ()
38864 {
38865
38866 extern void testSigHandler(int);
38867
38868 struct sigaction sa;
38869 sa.sa_handler = testSigHandler;
38870
38871 ;
38872 return 0;
38873 }
38874 _ACEOF
38875 rm -f conftest.$ac_objext
38876 if { (ac_try="$ac_compile"
38877 case "(($ac_try" in
38878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38879 *) ac_try_echo=$ac_try;;
38880 esac
38881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38882 (eval "$ac_compile") 2>conftest.er1
38883 ac_status=$?
38884 grep -v '^ *+' conftest.er1 >conftest.err
38885 rm -f conftest.er1
38886 cat conftest.err >&5
38887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38888 (exit $ac_status); } && {
38889 test -z "$ac_cxx_werror_flag" ||
38890 test ! -s conftest.err
38891 } && test -s conftest.$ac_objext; then
38892
38893 wx_cv_type_sa_handler=int
38894
38895 else
38896 echo "$as_me: failed program was:" >&5
38897 sed 's/^/| /' conftest.$ac_ext >&5
38898
38899
38900 wx_cv_type_sa_handler=void
38901
38902 fi
38903
38904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38905 ac_ext=c
38906 ac_cpp='$CPP $CPPFLAGS'
38907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38910
38911
38912 fi
38913 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38914 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38915
38916 cat >>confdefs.h <<_ACEOF
38917 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38918 _ACEOF
38919
38920 fi
38921 fi
38922
38923 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38924 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38925 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38926 if test "${wx_cv_func_backtrace+set}" = set; then
38927 echo $ECHO_N "(cached) $ECHO_C" >&6
38928 else
38929
38930 ac_ext=cpp
38931 ac_cpp='$CXXCPP $CPPFLAGS'
38932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38935
38936 cat >conftest.$ac_ext <<_ACEOF
38937 /* confdefs.h. */
38938 _ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942 #include <execinfo.h>
38943 int
38944 main ()
38945 {
38946
38947 void *trace[1];
38948 char **messages;
38949
38950 backtrace(trace, 1);
38951 messages = backtrace_symbols(trace, 1);
38952
38953 ;
38954 return 0;
38955 }
38956 _ACEOF
38957 rm -f conftest.$ac_objext
38958 if { (ac_try="$ac_compile"
38959 case "(($ac_try" in
38960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38961 *) ac_try_echo=$ac_try;;
38962 esac
38963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38964 (eval "$ac_compile") 2>conftest.er1
38965 ac_status=$?
38966 grep -v '^ *+' conftest.er1 >conftest.err
38967 rm -f conftest.er1
38968 cat conftest.err >&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); } && {
38971 test -z "$ac_cxx_werror_flag" ||
38972 test ! -s conftest.err
38973 } && test -s conftest.$ac_objext; then
38974 wx_cv_func_backtrace=yes
38975 else
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38978
38979 wx_cv_func_backtrace=no
38980
38981 fi
38982
38983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38984 ac_ext=c
38985 ac_cpp='$CPP $CPPFLAGS'
38986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38989
38990
38991
38992 fi
38993 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38994 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38995
38996
38997 if test "$wx_cv_func_backtrace" = "no"; then
38998 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38999 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39000 wxUSE_STACKWALKER=no
39001 else
39002 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39003 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39004 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39005 echo $ECHO_N "(cached) $ECHO_C" >&6
39006 else
39007
39008 ac_ext=cpp
39009 ac_cpp='$CXXCPP $CPPFLAGS'
39010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39013
39014 cat >conftest.$ac_ext <<_ACEOF
39015 /* confdefs.h. */
39016 _ACEOF
39017 cat confdefs.h >>conftest.$ac_ext
39018 cat >>conftest.$ac_ext <<_ACEOF
39019 /* end confdefs.h. */
39020 #include <cxxabi.h>
39021 int
39022 main ()
39023 {
39024
39025 int rc;
39026 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39027
39028 ;
39029 return 0;
39030 }
39031 _ACEOF
39032 rm -f conftest.$ac_objext conftest$ac_exeext
39033 if { (ac_try="$ac_link"
39034 case "(($ac_try" in
39035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39036 *) ac_try_echo=$ac_try;;
39037 esac
39038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39039 (eval "$ac_link") 2>conftest.er1
39040 ac_status=$?
39041 grep -v '^ *+' conftest.er1 >conftest.err
39042 rm -f conftest.er1
39043 cat conftest.err >&5
39044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39045 (exit $ac_status); } && {
39046 test -z "$ac_cxx_werror_flag" ||
39047 test ! -s conftest.err
39048 } && test -s conftest$ac_exeext &&
39049 $as_test_x conftest$ac_exeext; then
39050 wx_cv_func_cxa_demangle=yes
39051 else
39052 echo "$as_me: failed program was:" >&5
39053 sed 's/^/| /' conftest.$ac_ext >&5
39054
39055 wx_cv_func_cxa_demangle=no
39056
39057 fi
39058
39059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39060 conftest$ac_exeext conftest.$ac_ext
39061 ac_ext=c
39062 ac_cpp='$CPP $CPPFLAGS'
39063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39066
39067
39068
39069 fi
39070 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39071 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39072
39073 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39074 cat >>confdefs.h <<\_ACEOF
39075 #define HAVE_CXA_DEMANGLE 1
39076 _ACEOF
39077
39078 fi
39079 fi
39080 fi
39081
39082 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39083 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39084 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39085 wxUSE_STACKWALKER=no
39086 fi
39087
39088
39089
39090
39091 for ac_func in mkstemp mktemp
39092 do
39093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39096 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39098 else
39099 cat >conftest.$ac_ext <<_ACEOF
39100 /* confdefs.h. */
39101 _ACEOF
39102 cat confdefs.h >>conftest.$ac_ext
39103 cat >>conftest.$ac_ext <<_ACEOF
39104 /* end confdefs.h. */
39105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39107 #define $ac_func innocuous_$ac_func
39108
39109 /* System header to define __stub macros and hopefully few prototypes,
39110 which can conflict with char $ac_func (); below.
39111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39112 <limits.h> exists even on freestanding compilers. */
39113
39114 #ifdef __STDC__
39115 # include <limits.h>
39116 #else
39117 # include <assert.h>
39118 #endif
39119
39120 #undef $ac_func
39121
39122 /* Override any GCC internal prototype to avoid an error.
39123 Use char because int might match the return type of a GCC
39124 builtin and then its argument prototype would still apply. */
39125 #ifdef __cplusplus
39126 extern "C"
39127 #endif
39128 char $ac_func ();
39129 /* The GNU C library defines this for functions which it implements
39130 to always fail with ENOSYS. Some functions are actually named
39131 something starting with __ and the normal name is an alias. */
39132 #if defined __stub_$ac_func || defined __stub___$ac_func
39133 choke me
39134 #endif
39135
39136 int
39137 main ()
39138 {
39139 return $ac_func ();
39140 ;
39141 return 0;
39142 }
39143 _ACEOF
39144 rm -f conftest.$ac_objext conftest$ac_exeext
39145 if { (ac_try="$ac_link"
39146 case "(($ac_try" in
39147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39148 *) ac_try_echo=$ac_try;;
39149 esac
39150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39151 (eval "$ac_link") 2>conftest.er1
39152 ac_status=$?
39153 grep -v '^ *+' conftest.er1 >conftest.err
39154 rm -f conftest.er1
39155 cat conftest.err >&5
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); } && {
39158 test -z "$ac_c_werror_flag" ||
39159 test ! -s conftest.err
39160 } && test -s conftest$ac_exeext &&
39161 $as_test_x conftest$ac_exeext; then
39162 eval "$as_ac_var=yes"
39163 else
39164 echo "$as_me: failed program was:" >&5
39165 sed 's/^/| /' conftest.$ac_ext >&5
39166
39167 eval "$as_ac_var=no"
39168 fi
39169
39170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39171 conftest$ac_exeext conftest.$ac_ext
39172 fi
39173 ac_res=`eval echo '${'$as_ac_var'}'`
39174 { echo "$as_me:$LINENO: result: $ac_res" >&5
39175 echo "${ECHO_T}$ac_res" >&6; }
39176 if test `eval echo '${'$as_ac_var'}'` = yes; then
39177 cat >>confdefs.h <<_ACEOF
39178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39179 _ACEOF
39180 break
39181 fi
39182 done
39183
39184
39185 { echo "$as_me:$LINENO: checking for statfs" >&5
39186 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39187 if test "${wx_cv_func_statfs+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 else
39190 cat >conftest.$ac_ext <<_ACEOF
39191 /* confdefs.h. */
39192 _ACEOF
39193 cat confdefs.h >>conftest.$ac_ext
39194 cat >>conftest.$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196
39197 #if defined(__BSD__)
39198 #include <sys/param.h>
39199 #include <sys/mount.h>
39200 #else
39201 #include <sys/vfs.h>
39202 #endif
39203
39204 int
39205 main ()
39206 {
39207
39208 long l;
39209 struct statfs fs;
39210 statfs("/", &fs);
39211 l = fs.f_bsize;
39212 l += fs.f_blocks;
39213 l += fs.f_bavail;
39214
39215 ;
39216 return 0;
39217 }
39218 _ACEOF
39219 rm -f conftest.$ac_objext
39220 if { (ac_try="$ac_compile"
39221 case "(($ac_try" in
39222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39223 *) ac_try_echo=$ac_try;;
39224 esac
39225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39226 (eval "$ac_compile") 2>conftest.er1
39227 ac_status=$?
39228 grep -v '^ *+' conftest.er1 >conftest.err
39229 rm -f conftest.er1
39230 cat conftest.err >&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); } && {
39233 test -z "$ac_c_werror_flag" ||
39234 test ! -s conftest.err
39235 } && test -s conftest.$ac_objext; then
39236 wx_cv_func_statfs=yes
39237 else
39238 echo "$as_me: failed program was:" >&5
39239 sed 's/^/| /' conftest.$ac_ext >&5
39240
39241 wx_cv_func_statfs=no
39242
39243 fi
39244
39245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39246
39247 fi
39248 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39249 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39250
39251 if test "$wx_cv_func_statfs" = "yes"; then
39252 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39253 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39254 if test "${wx_cv_func_statfs_decl+set}" = set; then
39255 echo $ECHO_N "(cached) $ECHO_C" >&6
39256 else
39257 ac_ext=cpp
39258 ac_cpp='$CXXCPP $CPPFLAGS'
39259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39262
39263 cat >conftest.$ac_ext <<_ACEOF
39264 /* confdefs.h. */
39265 _ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39269
39270 #if defined(__BSD__)
39271 #include <sys/param.h>
39272 #include <sys/mount.h>
39273 #else
39274 #include <sys/vfs.h>
39275 #endif
39276
39277 int
39278 main ()
39279 {
39280
39281 struct statfs fs;
39282 statfs("", &fs);
39283
39284 ;
39285 return 0;
39286 }
39287 _ACEOF
39288 rm -f conftest.$ac_objext
39289 if { (ac_try="$ac_compile"
39290 case "(($ac_try" in
39291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39292 *) ac_try_echo=$ac_try;;
39293 esac
39294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39295 (eval "$ac_compile") 2>conftest.er1
39296 ac_status=$?
39297 grep -v '^ *+' conftest.er1 >conftest.err
39298 rm -f conftest.er1
39299 cat conftest.err >&5
39300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39301 (exit $ac_status); } && {
39302 test -z "$ac_cxx_werror_flag" ||
39303 test ! -s conftest.err
39304 } && test -s conftest.$ac_objext; then
39305 wx_cv_func_statfs_decl=yes
39306 else
39307 echo "$as_me: failed program was:" >&5
39308 sed 's/^/| /' conftest.$ac_ext >&5
39309
39310 wx_cv_func_statfs_decl=no
39311
39312 fi
39313
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315 ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320
39321
39322 fi
39323 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39324 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39325
39326 if test "$wx_cv_func_statfs_decl" = "yes"; then
39327 cat >>confdefs.h <<\_ACEOF
39328 #define HAVE_STATFS_DECL 1
39329 _ACEOF
39330
39331 fi
39332
39333 wx_cv_type_statvfs_t="struct statfs"
39334 cat >>confdefs.h <<\_ACEOF
39335 #define HAVE_STATFS 1
39336 _ACEOF
39337
39338 else
39339 { echo "$as_me:$LINENO: checking for statvfs" >&5
39340 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39341 if test "${wx_cv_func_statvfs+set}" = set; then
39342 echo $ECHO_N "(cached) $ECHO_C" >&6
39343 else
39344 cat >conftest.$ac_ext <<_ACEOF
39345 /* confdefs.h. */
39346 _ACEOF
39347 cat confdefs.h >>conftest.$ac_ext
39348 cat >>conftest.$ac_ext <<_ACEOF
39349 /* end confdefs.h. */
39350
39351 #include <stddef.h>
39352 #include <sys/statvfs.h>
39353
39354 int
39355 main ()
39356 {
39357
39358 statvfs("/", NULL);
39359
39360 ;
39361 return 0;
39362 }
39363 _ACEOF
39364 rm -f conftest.$ac_objext
39365 if { (ac_try="$ac_compile"
39366 case "(($ac_try" in
39367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39368 *) ac_try_echo=$ac_try;;
39369 esac
39370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39371 (eval "$ac_compile") 2>conftest.er1
39372 ac_status=$?
39373 grep -v '^ *+' conftest.er1 >conftest.err
39374 rm -f conftest.er1
39375 cat conftest.err >&5
39376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377 (exit $ac_status); } && {
39378 test -z "$ac_c_werror_flag" ||
39379 test ! -s conftest.err
39380 } && test -s conftest.$ac_objext; then
39381 wx_cv_func_statvfs=yes
39382 else
39383 echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39385
39386 wx_cv_func_statvfs=no
39387
39388 fi
39389
39390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39391
39392 fi
39393 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39394 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39395
39396 if test "$wx_cv_func_statvfs" = "yes"; then
39397 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39398 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39399 if test "${wx_cv_type_statvfs_t+set}" = set; then
39400 echo $ECHO_N "(cached) $ECHO_C" >&6
39401 else
39402 ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407
39408 cat >conftest.$ac_ext <<_ACEOF
39409 /* confdefs.h. */
39410 _ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414
39415 #include <sys/statvfs.h>
39416
39417 int
39418 main ()
39419 {
39420
39421 long l;
39422 statvfs_t fs;
39423 statvfs("/", &fs);
39424 l = fs.f_bsize;
39425 l += fs.f_blocks;
39426 l += fs.f_bavail;
39427
39428 ;
39429 return 0;
39430 }
39431 _ACEOF
39432 rm -f conftest.$ac_objext
39433 if { (ac_try="$ac_compile"
39434 case "(($ac_try" in
39435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39436 *) ac_try_echo=$ac_try;;
39437 esac
39438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39439 (eval "$ac_compile") 2>conftest.er1
39440 ac_status=$?
39441 grep -v '^ *+' conftest.er1 >conftest.err
39442 rm -f conftest.er1
39443 cat conftest.err >&5
39444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39445 (exit $ac_status); } && {
39446 test -z "$ac_cxx_werror_flag" ||
39447 test ! -s conftest.err
39448 } && test -s conftest.$ac_objext; then
39449 wx_cv_type_statvfs_t=statvfs_t
39450 else
39451 echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.$ac_ext >&5
39453
39454
39455 cat >conftest.$ac_ext <<_ACEOF
39456 /* confdefs.h. */
39457 _ACEOF
39458 cat confdefs.h >>conftest.$ac_ext
39459 cat >>conftest.$ac_ext <<_ACEOF
39460 /* end confdefs.h. */
39461
39462 #include <sys/statvfs.h>
39463
39464 int
39465 main ()
39466 {
39467
39468 long l;
39469 struct statvfs fs;
39470 statvfs("/", &fs);
39471 l = fs.f_bsize;
39472 l += fs.f_blocks;
39473 l += fs.f_bavail;
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_type_statvfs_t="struct statvfs"
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39500
39501 wx_cv_type_statvfs_t="unknown"
39502
39503 fi
39504
39505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39506
39507
39508 fi
39509
39510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39511 ac_ext=c
39512 ac_cpp='$CPP $CPPFLAGS'
39513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39516
39517
39518 fi
39519 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39520 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39521
39522 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39523 cat >>confdefs.h <<\_ACEOF
39524 #define HAVE_STATVFS 1
39525 _ACEOF
39526
39527 fi
39528 else
39529 wx_cv_type_statvfs_t="unknown"
39530 fi
39531 fi
39532
39533 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39534 cat >>confdefs.h <<_ACEOF
39535 #define WX_STATFS_T $wx_cv_type_statvfs_t
39536 _ACEOF
39537
39538 else
39539 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39540 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39541 fi
39542
39543 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39544
39545
39546 for ac_func in fcntl flock
39547 do
39548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39549 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39551 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39552 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 else
39554 cat >conftest.$ac_ext <<_ACEOF
39555 /* confdefs.h. */
39556 _ACEOF
39557 cat confdefs.h >>conftest.$ac_ext
39558 cat >>conftest.$ac_ext <<_ACEOF
39559 /* end confdefs.h. */
39560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39562 #define $ac_func innocuous_$ac_func
39563
39564 /* System header to define __stub macros and hopefully few prototypes,
39565 which can conflict with char $ac_func (); below.
39566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39567 <limits.h> exists even on freestanding compilers. */
39568
39569 #ifdef __STDC__
39570 # include <limits.h>
39571 #else
39572 # include <assert.h>
39573 #endif
39574
39575 #undef $ac_func
39576
39577 /* Override any GCC internal prototype to avoid an error.
39578 Use char because int might match the return type of a GCC
39579 builtin and then its argument prototype would still apply. */
39580 #ifdef __cplusplus
39581 extern "C"
39582 #endif
39583 char $ac_func ();
39584 /* The GNU C library defines this for functions which it implements
39585 to always fail with ENOSYS. Some functions are actually named
39586 something starting with __ and the normal name is an alias. */
39587 #if defined __stub_$ac_func || defined __stub___$ac_func
39588 choke me
39589 #endif
39590
39591 int
39592 main ()
39593 {
39594 return $ac_func ();
39595 ;
39596 return 0;
39597 }
39598 _ACEOF
39599 rm -f conftest.$ac_objext conftest$ac_exeext
39600 if { (ac_try="$ac_link"
39601 case "(($ac_try" in
39602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39603 *) ac_try_echo=$ac_try;;
39604 esac
39605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39606 (eval "$ac_link") 2>conftest.er1
39607 ac_status=$?
39608 grep -v '^ *+' conftest.er1 >conftest.err
39609 rm -f conftest.er1
39610 cat conftest.err >&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); } && {
39613 test -z "$ac_c_werror_flag" ||
39614 test ! -s conftest.err
39615 } && test -s conftest$ac_exeext &&
39616 $as_test_x conftest$ac_exeext; then
39617 eval "$as_ac_var=yes"
39618 else
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.$ac_ext >&5
39621
39622 eval "$as_ac_var=no"
39623 fi
39624
39625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39626 conftest$ac_exeext conftest.$ac_ext
39627 fi
39628 ac_res=`eval echo '${'$as_ac_var'}'`
39629 { echo "$as_me:$LINENO: result: $ac_res" >&5
39630 echo "${ECHO_T}$ac_res" >&6; }
39631 if test `eval echo '${'$as_ac_var'}'` = yes; then
39632 cat >>confdefs.h <<_ACEOF
39633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39634 _ACEOF
39635 break
39636 fi
39637 done
39638
39639
39640 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39641 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39642 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39643 wxUSE_SNGLINST_CHECKER=no
39644 fi
39645 fi
39646
39647
39648 for ac_func in timegm
39649 do
39650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 else
39656 cat >conftest.$ac_ext <<_ACEOF
39657 /* confdefs.h. */
39658 _ACEOF
39659 cat confdefs.h >>conftest.$ac_ext
39660 cat >>conftest.$ac_ext <<_ACEOF
39661 /* end confdefs.h. */
39662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39664 #define $ac_func innocuous_$ac_func
39665
39666 /* System header to define __stub macros and hopefully few prototypes,
39667 which can conflict with char $ac_func (); below.
39668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39669 <limits.h> exists even on freestanding compilers. */
39670
39671 #ifdef __STDC__
39672 # include <limits.h>
39673 #else
39674 # include <assert.h>
39675 #endif
39676
39677 #undef $ac_func
39678
39679 /* Override any GCC internal prototype to avoid an error.
39680 Use char because int might match the return type of a GCC
39681 builtin and then its argument prototype would still apply. */
39682 #ifdef __cplusplus
39683 extern "C"
39684 #endif
39685 char $ac_func ();
39686 /* The GNU C library defines this for functions which it implements
39687 to always fail with ENOSYS. Some functions are actually named
39688 something starting with __ and the normal name is an alias. */
39689 #if defined __stub_$ac_func || defined __stub___$ac_func
39690 choke me
39691 #endif
39692
39693 int
39694 main ()
39695 {
39696 return $ac_func ();
39697 ;
39698 return 0;
39699 }
39700 _ACEOF
39701 rm -f conftest.$ac_objext conftest$ac_exeext
39702 if { (ac_try="$ac_link"
39703 case "(($ac_try" in
39704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39705 *) ac_try_echo=$ac_try;;
39706 esac
39707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39708 (eval "$ac_link") 2>conftest.er1
39709 ac_status=$?
39710 grep -v '^ *+' conftest.er1 >conftest.err
39711 rm -f conftest.er1
39712 cat conftest.err >&5
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); } && {
39715 test -z "$ac_c_werror_flag" ||
39716 test ! -s conftest.err
39717 } && test -s conftest$ac_exeext &&
39718 $as_test_x conftest$ac_exeext; then
39719 eval "$as_ac_var=yes"
39720 else
39721 echo "$as_me: failed program was:" >&5
39722 sed 's/^/| /' conftest.$ac_ext >&5
39723
39724 eval "$as_ac_var=no"
39725 fi
39726
39727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39728 conftest$ac_exeext conftest.$ac_ext
39729 fi
39730 ac_res=`eval echo '${'$as_ac_var'}'`
39731 { echo "$as_me:$LINENO: result: $ac_res" >&5
39732 echo "${ECHO_T}$ac_res" >&6; }
39733 if test `eval echo '${'$as_ac_var'}'` = yes; then
39734 cat >>confdefs.h <<_ACEOF
39735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39736 _ACEOF
39737
39738 fi
39739 done
39740
39741
39742
39743
39744 for ac_func in putenv setenv
39745 do
39746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39750 echo $ECHO_N "(cached) $ECHO_C" >&6
39751 else
39752 cat >conftest.$ac_ext <<_ACEOF
39753 /* confdefs.h. */
39754 _ACEOF
39755 cat confdefs.h >>conftest.$ac_ext
39756 cat >>conftest.$ac_ext <<_ACEOF
39757 /* end confdefs.h. */
39758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39760 #define $ac_func innocuous_$ac_func
39761
39762 /* System header to define __stub macros and hopefully few prototypes,
39763 which can conflict with char $ac_func (); below.
39764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39765 <limits.h> exists even on freestanding compilers. */
39766
39767 #ifdef __STDC__
39768 # include <limits.h>
39769 #else
39770 # include <assert.h>
39771 #endif
39772
39773 #undef $ac_func
39774
39775 /* Override any GCC internal prototype to avoid an error.
39776 Use char because int might match the return type of a GCC
39777 builtin and then its argument prototype would still apply. */
39778 #ifdef __cplusplus
39779 extern "C"
39780 #endif
39781 char $ac_func ();
39782 /* The GNU C library defines this for functions which it implements
39783 to always fail with ENOSYS. Some functions are actually named
39784 something starting with __ and the normal name is an alias. */
39785 #if defined __stub_$ac_func || defined __stub___$ac_func
39786 choke me
39787 #endif
39788
39789 int
39790 main ()
39791 {
39792 return $ac_func ();
39793 ;
39794 return 0;
39795 }
39796 _ACEOF
39797 rm -f conftest.$ac_objext conftest$ac_exeext
39798 if { (ac_try="$ac_link"
39799 case "(($ac_try" in
39800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39801 *) ac_try_echo=$ac_try;;
39802 esac
39803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39804 (eval "$ac_link") 2>conftest.er1
39805 ac_status=$?
39806 grep -v '^ *+' conftest.er1 >conftest.err
39807 rm -f conftest.er1
39808 cat conftest.err >&5
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); } && {
39811 test -z "$ac_c_werror_flag" ||
39812 test ! -s conftest.err
39813 } && test -s conftest$ac_exeext &&
39814 $as_test_x conftest$ac_exeext; then
39815 eval "$as_ac_var=yes"
39816 else
39817 echo "$as_me: failed program was:" >&5
39818 sed 's/^/| /' conftest.$ac_ext >&5
39819
39820 eval "$as_ac_var=no"
39821 fi
39822
39823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39824 conftest$ac_exeext conftest.$ac_ext
39825 fi
39826 ac_res=`eval echo '${'$as_ac_var'}'`
39827 { echo "$as_me:$LINENO: result: $ac_res" >&5
39828 echo "${ECHO_T}$ac_res" >&6; }
39829 if test `eval echo '${'$as_ac_var'}'` = yes; then
39830 cat >>confdefs.h <<_ACEOF
39831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39832 _ACEOF
39833 break
39834 fi
39835 done
39836
39837
39838 HAVE_SOME_SLEEP_FUNC=0
39839 if test "$USE_BEOS" = 1; then
39840 cat >>confdefs.h <<\_ACEOF
39841 #define HAVE_SLEEP 1
39842 _ACEOF
39843
39844 HAVE_SOME_SLEEP_FUNC=1
39845 fi
39846
39847 if test "$USE_DARWIN" = 1; then
39848 cat >>confdefs.h <<\_ACEOF
39849 #define HAVE_USLEEP 1
39850 _ACEOF
39851
39852 HAVE_SOME_SLEEP_FUNC=1
39853 fi
39854
39855 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39856 POSIX4_LINK=
39857
39858 for ac_func in nanosleep
39859 do
39860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39861 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39863 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39874 #define $ac_func innocuous_$ac_func
39875
39876 /* System header to define __stub macros and hopefully few prototypes,
39877 which can conflict with char $ac_func (); below.
39878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39879 <limits.h> exists even on freestanding compilers. */
39880
39881 #ifdef __STDC__
39882 # include <limits.h>
39883 #else
39884 # include <assert.h>
39885 #endif
39886
39887 #undef $ac_func
39888
39889 /* Override any GCC internal prototype to avoid an error.
39890 Use char because int might match the return type of a GCC
39891 builtin and then its argument prototype would still apply. */
39892 #ifdef __cplusplus
39893 extern "C"
39894 #endif
39895 char $ac_func ();
39896 /* The GNU C library defines this for functions which it implements
39897 to always fail with ENOSYS. Some functions are actually named
39898 something starting with __ and the normal name is an alias. */
39899 #if defined __stub_$ac_func || defined __stub___$ac_func
39900 choke me
39901 #endif
39902
39903 int
39904 main ()
39905 {
39906 return $ac_func ();
39907 ;
39908 return 0;
39909 }
39910 _ACEOF
39911 rm -f conftest.$ac_objext conftest$ac_exeext
39912 if { (ac_try="$ac_link"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39915 *) ac_try_echo=$ac_try;;
39916 esac
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_link") 2>conftest.er1
39919 ac_status=$?
39920 grep -v '^ *+' conftest.er1 >conftest.err
39921 rm -f conftest.er1
39922 cat conftest.err >&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } && {
39925 test -z "$ac_c_werror_flag" ||
39926 test ! -s conftest.err
39927 } && test -s conftest$ac_exeext &&
39928 $as_test_x conftest$ac_exeext; then
39929 eval "$as_ac_var=yes"
39930 else
39931 echo "$as_me: failed program was:" >&5
39932 sed 's/^/| /' conftest.$ac_ext >&5
39933
39934 eval "$as_ac_var=no"
39935 fi
39936
39937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39938 conftest$ac_exeext conftest.$ac_ext
39939 fi
39940 ac_res=`eval echo '${'$as_ac_var'}'`
39941 { echo "$as_me:$LINENO: result: $ac_res" >&5
39942 echo "${ECHO_T}$ac_res" >&6; }
39943 if test `eval echo '${'$as_ac_var'}'` = yes; then
39944 cat >>confdefs.h <<_ACEOF
39945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39946 _ACEOF
39947 cat >>confdefs.h <<\_ACEOF
39948 #define HAVE_NANOSLEEP 1
39949 _ACEOF
39950
39951 else
39952
39953 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39954 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39955 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39956 echo $ECHO_N "(cached) $ECHO_C" >&6
39957 else
39958 ac_check_lib_save_LIBS=$LIBS
39959 LIBS="-lposix4 $LIBS"
39960 cat >conftest.$ac_ext <<_ACEOF
39961 /* confdefs.h. */
39962 _ACEOF
39963 cat confdefs.h >>conftest.$ac_ext
39964 cat >>conftest.$ac_ext <<_ACEOF
39965 /* end confdefs.h. */
39966
39967 /* Override any GCC internal prototype to avoid an error.
39968 Use char because int might match the return type of a GCC
39969 builtin and then its argument prototype would still apply. */
39970 #ifdef __cplusplus
39971 extern "C"
39972 #endif
39973 char nanosleep ();
39974 int
39975 main ()
39976 {
39977 return nanosleep ();
39978 ;
39979 return 0;
39980 }
39981 _ACEOF
39982 rm -f conftest.$ac_objext conftest$ac_exeext
39983 if { (ac_try="$ac_link"
39984 case "(($ac_try" in
39985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39986 *) ac_try_echo=$ac_try;;
39987 esac
39988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39989 (eval "$ac_link") 2>conftest.er1
39990 ac_status=$?
39991 grep -v '^ *+' conftest.er1 >conftest.err
39992 rm -f conftest.er1
39993 cat conftest.err >&5
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); } && {
39996 test -z "$ac_c_werror_flag" ||
39997 test ! -s conftest.err
39998 } && test -s conftest$ac_exeext &&
39999 $as_test_x conftest$ac_exeext; then
40000 ac_cv_lib_posix4_nanosleep=yes
40001 else
40002 echo "$as_me: failed program was:" >&5
40003 sed 's/^/| /' conftest.$ac_ext >&5
40004
40005 ac_cv_lib_posix4_nanosleep=no
40006 fi
40007
40008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40009 conftest$ac_exeext conftest.$ac_ext
40010 LIBS=$ac_check_lib_save_LIBS
40011 fi
40012 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40013 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40014 if test $ac_cv_lib_posix4_nanosleep = yes; then
40015
40016 cat >>confdefs.h <<\_ACEOF
40017 #define HAVE_NANOSLEEP 1
40018 _ACEOF
40019
40020 POSIX4_LINK=" -lposix4"
40021
40022 else
40023
40024
40025 for wx_func in usleep
40026 do
40027 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40028 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40029 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40030 echo $ECHO_N "(cached) $ECHO_C" >&6
40031 else
40032
40033 cat >conftest.$ac_ext <<_ACEOF
40034
40035 /* confdefs.h. */
40036 _ACEOF
40037 cat confdefs.h >>conftest.$ac_ext
40038 cat >>conftest.$ac_ext <<_ACEOF
40039 /* end confdefs.h. */
40040
40041
40042 $ac_includes_default
40043
40044 int
40045 main ()
40046 {
40047
40048 #ifndef $wx_func
40049 &$wx_func;
40050 #endif
40051
40052
40053 ;
40054 return 0;
40055 }
40056
40057 _ACEOF
40058 rm -f conftest.$ac_objext conftest$ac_exeext
40059 if { (ac_try="$ac_link"
40060 case "(($ac_try" in
40061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40062 *) ac_try_echo=$ac_try;;
40063 esac
40064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40065 (eval "$ac_link") 2>conftest.er1
40066 ac_status=$?
40067 grep -v '^ *+' conftest.er1 >conftest.err
40068 rm -f conftest.er1
40069 cat conftest.err >&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } && {
40072 test -z "$ac_c_werror_flag" ||
40073 test ! -s conftest.err
40074 } && test -s conftest$ac_exeext &&
40075 $as_test_x conftest$ac_exeext; then
40076 eval wx_cv_func_$wx_func=yes
40077 else
40078 echo "$as_me: failed program was:" >&5
40079 sed 's/^/| /' conftest.$ac_ext >&5
40080
40081 eval wx_cv_func_$wx_func=no
40082 fi
40083
40084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40085 conftest$ac_exeext conftest.$ac_ext
40086
40087 fi
40088 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40089 { echo "$as_me:$LINENO: result: $ac_res" >&5
40090 echo "${ECHO_T}$ac_res" >&6; }
40091
40092 if eval test \$wx_cv_func_$wx_func = yes
40093 then
40094 cat >>confdefs.h <<_ACEOF
40095 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40096 _ACEOF
40097
40098
40099 else
40100 :
40101 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40102 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40103
40104 fi
40105 done
40106
40107
40108
40109 fi
40110
40111
40112
40113 fi
40114 done
40115
40116 fi
40117
40118
40119 for wx_func in uname
40120 do
40121 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40122 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40123 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40124 echo $ECHO_N "(cached) $ECHO_C" >&6
40125 else
40126
40127 cat >conftest.$ac_ext <<_ACEOF
40128
40129 /* confdefs.h. */
40130 _ACEOF
40131 cat confdefs.h >>conftest.$ac_ext
40132 cat >>conftest.$ac_ext <<_ACEOF
40133 /* end confdefs.h. */
40134
40135 #include <sys/utsname.h>
40136 $ac_includes_default
40137
40138 int
40139 main ()
40140 {
40141
40142 #ifndef $wx_func
40143 &$wx_func;
40144 #endif
40145
40146
40147 ;
40148 return 0;
40149 }
40150
40151 _ACEOF
40152 rm -f conftest.$ac_objext conftest$ac_exeext
40153 if { (ac_try="$ac_link"
40154 case "(($ac_try" in
40155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40156 *) ac_try_echo=$ac_try;;
40157 esac
40158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40159 (eval "$ac_link") 2>conftest.er1
40160 ac_status=$?
40161 grep -v '^ *+' conftest.er1 >conftest.err
40162 rm -f conftest.er1
40163 cat conftest.err >&5
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); } && {
40166 test -z "$ac_c_werror_flag" ||
40167 test ! -s conftest.err
40168 } && test -s conftest$ac_exeext &&
40169 $as_test_x conftest$ac_exeext; then
40170 eval wx_cv_func_$wx_func=yes
40171 else
40172 echo "$as_me: failed program was:" >&5
40173 sed 's/^/| /' conftest.$ac_ext >&5
40174
40175 eval wx_cv_func_$wx_func=no
40176 fi
40177
40178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40179 conftest$ac_exeext conftest.$ac_ext
40180
40181 fi
40182 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40183 { echo "$as_me:$LINENO: result: $ac_res" >&5
40184 echo "${ECHO_T}$ac_res" >&6; }
40185
40186 if eval test \$wx_cv_func_$wx_func = yes
40187 then
40188 cat >>confdefs.h <<_ACEOF
40189 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40190 _ACEOF
40191
40192
40193 else
40194 :
40195
40196 fi
40197 done
40198
40199 if test "$wx_cv_func_uname" != yes; then
40200
40201 for wx_func in gethostname
40202 do
40203 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40204 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40205 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40207 else
40208
40209 cat >conftest.$ac_ext <<_ACEOF
40210
40211 /* confdefs.h. */
40212 _ACEOF
40213 cat confdefs.h >>conftest.$ac_ext
40214 cat >>conftest.$ac_ext <<_ACEOF
40215 /* end confdefs.h. */
40216
40217
40218 $ac_includes_default
40219
40220 int
40221 main ()
40222 {
40223
40224 #ifndef $wx_func
40225 &$wx_func;
40226 #endif
40227
40228
40229 ;
40230 return 0;
40231 }
40232
40233 _ACEOF
40234 rm -f conftest.$ac_objext conftest$ac_exeext
40235 if { (ac_try="$ac_link"
40236 case "(($ac_try" in
40237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40238 *) ac_try_echo=$ac_try;;
40239 esac
40240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40241 (eval "$ac_link") 2>conftest.er1
40242 ac_status=$?
40243 grep -v '^ *+' conftest.er1 >conftest.err
40244 rm -f conftest.er1
40245 cat conftest.err >&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } && {
40248 test -z "$ac_c_werror_flag" ||
40249 test ! -s conftest.err
40250 } && test -s conftest$ac_exeext &&
40251 $as_test_x conftest$ac_exeext; then
40252 eval wx_cv_func_$wx_func=yes
40253 else
40254 echo "$as_me: failed program was:" >&5
40255 sed 's/^/| /' conftest.$ac_ext >&5
40256
40257 eval wx_cv_func_$wx_func=no
40258 fi
40259
40260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40261 conftest$ac_exeext conftest.$ac_ext
40262
40263 fi
40264 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40265 { echo "$as_me:$LINENO: result: $ac_res" >&5
40266 echo "${ECHO_T}$ac_res" >&6; }
40267
40268 if eval test \$wx_cv_func_$wx_func = yes
40269 then
40270 cat >>confdefs.h <<_ACEOF
40271 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40272 _ACEOF
40273
40274
40275 else
40276 :
40277
40278 fi
40279 done
40280
40281 fi
40282
40283
40284 for wx_func in strtok_r
40285 do
40286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 else
40291
40292 cat >conftest.$ac_ext <<_ACEOF
40293
40294 /* confdefs.h. */
40295 _ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40299
40300 #define _REENTRANT
40301 $ac_includes_default
40302
40303 int
40304 main ()
40305 {
40306
40307 #ifndef $wx_func
40308 &$wx_func;
40309 #endif
40310
40311
40312 ;
40313 return 0;
40314 }
40315
40316 _ACEOF
40317 rm -f conftest.$ac_objext conftest$ac_exeext
40318 if { (ac_try="$ac_link"
40319 case "(($ac_try" in
40320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40321 *) ac_try_echo=$ac_try;;
40322 esac
40323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40324 (eval "$ac_link") 2>conftest.er1
40325 ac_status=$?
40326 grep -v '^ *+' conftest.er1 >conftest.err
40327 rm -f conftest.er1
40328 cat conftest.err >&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); } && {
40331 test -z "$ac_c_werror_flag" ||
40332 test ! -s conftest.err
40333 } && test -s conftest$ac_exeext &&
40334 $as_test_x conftest$ac_exeext; then
40335 eval wx_cv_func_$wx_func=yes
40336 else
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.$ac_ext >&5
40339
40340 eval wx_cv_func_$wx_func=no
40341 fi
40342
40343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40344 conftest$ac_exeext conftest.$ac_ext
40345
40346 fi
40347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40348 { echo "$as_me:$LINENO: result: $ac_res" >&5
40349 echo "${ECHO_T}$ac_res" >&6; }
40350
40351 if eval test \$wx_cv_func_$wx_func = yes
40352 then
40353 cat >>confdefs.h <<_ACEOF
40354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40355 _ACEOF
40356
40357
40358 else
40359 :
40360
40361 fi
40362 done
40363
40364
40365 INET_LINK=
40366
40367 for ac_func in inet_addr
40368 do
40369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40373 echo $ECHO_N "(cached) $ECHO_C" >&6
40374 else
40375 cat >conftest.$ac_ext <<_ACEOF
40376 /* confdefs.h. */
40377 _ACEOF
40378 cat confdefs.h >>conftest.$ac_ext
40379 cat >>conftest.$ac_ext <<_ACEOF
40380 /* end confdefs.h. */
40381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40383 #define $ac_func innocuous_$ac_func
40384
40385 /* System header to define __stub macros and hopefully few prototypes,
40386 which can conflict with char $ac_func (); below.
40387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40388 <limits.h> exists even on freestanding compilers. */
40389
40390 #ifdef __STDC__
40391 # include <limits.h>
40392 #else
40393 # include <assert.h>
40394 #endif
40395
40396 #undef $ac_func
40397
40398 /* Override any GCC internal prototype to avoid an error.
40399 Use char because int might match the return type of a GCC
40400 builtin and then its argument prototype would still apply. */
40401 #ifdef __cplusplus
40402 extern "C"
40403 #endif
40404 char $ac_func ();
40405 /* The GNU C library defines this for functions which it implements
40406 to always fail with ENOSYS. Some functions are actually named
40407 something starting with __ and the normal name is an alias. */
40408 #if defined __stub_$ac_func || defined __stub___$ac_func
40409 choke me
40410 #endif
40411
40412 int
40413 main ()
40414 {
40415 return $ac_func ();
40416 ;
40417 return 0;
40418 }
40419 _ACEOF
40420 rm -f conftest.$ac_objext conftest$ac_exeext
40421 if { (ac_try="$ac_link"
40422 case "(($ac_try" in
40423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40424 *) ac_try_echo=$ac_try;;
40425 esac
40426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40427 (eval "$ac_link") 2>conftest.er1
40428 ac_status=$?
40429 grep -v '^ *+' conftest.er1 >conftest.err
40430 rm -f conftest.er1
40431 cat conftest.err >&5
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); } && {
40434 test -z "$ac_c_werror_flag" ||
40435 test ! -s conftest.err
40436 } && test -s conftest$ac_exeext &&
40437 $as_test_x conftest$ac_exeext; then
40438 eval "$as_ac_var=yes"
40439 else
40440 echo "$as_me: failed program was:" >&5
40441 sed 's/^/| /' conftest.$ac_ext >&5
40442
40443 eval "$as_ac_var=no"
40444 fi
40445
40446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40447 conftest$ac_exeext conftest.$ac_ext
40448 fi
40449 ac_res=`eval echo '${'$as_ac_var'}'`
40450 { echo "$as_me:$LINENO: result: $ac_res" >&5
40451 echo "${ECHO_T}$ac_res" >&6; }
40452 if test `eval echo '${'$as_ac_var'}'` = yes; then
40453 cat >>confdefs.h <<_ACEOF
40454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40455 _ACEOF
40456 cat >>confdefs.h <<\_ACEOF
40457 #define HAVE_INET_ADDR 1
40458 _ACEOF
40459
40460 else
40461
40462 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40463 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40464 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40465 echo $ECHO_N "(cached) $ECHO_C" >&6
40466 else
40467 ac_check_lib_save_LIBS=$LIBS
40468 LIBS="-lnsl $LIBS"
40469 cat >conftest.$ac_ext <<_ACEOF
40470 /* confdefs.h. */
40471 _ACEOF
40472 cat confdefs.h >>conftest.$ac_ext
40473 cat >>conftest.$ac_ext <<_ACEOF
40474 /* end confdefs.h. */
40475
40476 /* Override any GCC internal prototype to avoid an error.
40477 Use char because int might match the return type of a GCC
40478 builtin and then its argument prototype would still apply. */
40479 #ifdef __cplusplus
40480 extern "C"
40481 #endif
40482 char inet_addr ();
40483 int
40484 main ()
40485 {
40486 return inet_addr ();
40487 ;
40488 return 0;
40489 }
40490 _ACEOF
40491 rm -f conftest.$ac_objext conftest$ac_exeext
40492 if { (ac_try="$ac_link"
40493 case "(($ac_try" in
40494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40495 *) ac_try_echo=$ac_try;;
40496 esac
40497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40498 (eval "$ac_link") 2>conftest.er1
40499 ac_status=$?
40500 grep -v '^ *+' conftest.er1 >conftest.err
40501 rm -f conftest.er1
40502 cat conftest.err >&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); } && {
40505 test -z "$ac_c_werror_flag" ||
40506 test ! -s conftest.err
40507 } && test -s conftest$ac_exeext &&
40508 $as_test_x conftest$ac_exeext; then
40509 ac_cv_lib_nsl_inet_addr=yes
40510 else
40511 echo "$as_me: failed program was:" >&5
40512 sed 's/^/| /' conftest.$ac_ext >&5
40513
40514 ac_cv_lib_nsl_inet_addr=no
40515 fi
40516
40517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40518 conftest$ac_exeext conftest.$ac_ext
40519 LIBS=$ac_check_lib_save_LIBS
40520 fi
40521 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40522 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40523 if test $ac_cv_lib_nsl_inet_addr = yes; then
40524 INET_LINK="nsl"
40525 else
40526
40527 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40528 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40529 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40530 echo $ECHO_N "(cached) $ECHO_C" >&6
40531 else
40532 ac_check_lib_save_LIBS=$LIBS
40533 LIBS="-lresolv $LIBS"
40534 cat >conftest.$ac_ext <<_ACEOF
40535 /* confdefs.h. */
40536 _ACEOF
40537 cat confdefs.h >>conftest.$ac_ext
40538 cat >>conftest.$ac_ext <<_ACEOF
40539 /* end confdefs.h. */
40540
40541 /* Override any GCC internal prototype to avoid an error.
40542 Use char because int might match the return type of a GCC
40543 builtin and then its argument prototype would still apply. */
40544 #ifdef __cplusplus
40545 extern "C"
40546 #endif
40547 char inet_addr ();
40548 int
40549 main ()
40550 {
40551 return inet_addr ();
40552 ;
40553 return 0;
40554 }
40555 _ACEOF
40556 rm -f conftest.$ac_objext conftest$ac_exeext
40557 if { (ac_try="$ac_link"
40558 case "(($ac_try" in
40559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40560 *) ac_try_echo=$ac_try;;
40561 esac
40562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40563 (eval "$ac_link") 2>conftest.er1
40564 ac_status=$?
40565 grep -v '^ *+' conftest.er1 >conftest.err
40566 rm -f conftest.er1
40567 cat conftest.err >&5
40568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40569 (exit $ac_status); } && {
40570 test -z "$ac_c_werror_flag" ||
40571 test ! -s conftest.err
40572 } && test -s conftest$ac_exeext &&
40573 $as_test_x conftest$ac_exeext; then
40574 ac_cv_lib_resolv_inet_addr=yes
40575 else
40576 echo "$as_me: failed program was:" >&5
40577 sed 's/^/| /' conftest.$ac_ext >&5
40578
40579 ac_cv_lib_resolv_inet_addr=no
40580 fi
40581
40582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40583 conftest$ac_exeext conftest.$ac_ext
40584 LIBS=$ac_check_lib_save_LIBS
40585 fi
40586 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40587 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40588 if test $ac_cv_lib_resolv_inet_addr = yes; then
40589 INET_LINK="resolv"
40590 else
40591
40592 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40593 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40594 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40595 echo $ECHO_N "(cached) $ECHO_C" >&6
40596 else
40597 ac_check_lib_save_LIBS=$LIBS
40598 LIBS="-lsocket $LIBS"
40599 cat >conftest.$ac_ext <<_ACEOF
40600 /* confdefs.h. */
40601 _ACEOF
40602 cat confdefs.h >>conftest.$ac_ext
40603 cat >>conftest.$ac_ext <<_ACEOF
40604 /* end confdefs.h. */
40605
40606 /* Override any GCC internal prototype to avoid an error.
40607 Use char because int might match the return type of a GCC
40608 builtin and then its argument prototype would still apply. */
40609 #ifdef __cplusplus
40610 extern "C"
40611 #endif
40612 char inet_addr ();
40613 int
40614 main ()
40615 {
40616 return inet_addr ();
40617 ;
40618 return 0;
40619 }
40620 _ACEOF
40621 rm -f conftest.$ac_objext conftest$ac_exeext
40622 if { (ac_try="$ac_link"
40623 case "(($ac_try" in
40624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40625 *) ac_try_echo=$ac_try;;
40626 esac
40627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40628 (eval "$ac_link") 2>conftest.er1
40629 ac_status=$?
40630 grep -v '^ *+' conftest.er1 >conftest.err
40631 rm -f conftest.er1
40632 cat conftest.err >&5
40633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40634 (exit $ac_status); } && {
40635 test -z "$ac_c_werror_flag" ||
40636 test ! -s conftest.err
40637 } && test -s conftest$ac_exeext &&
40638 $as_test_x conftest$ac_exeext; then
40639 ac_cv_lib_socket_inet_addr=yes
40640 else
40641 echo "$as_me: failed program was:" >&5
40642 sed 's/^/| /' conftest.$ac_ext >&5
40643
40644 ac_cv_lib_socket_inet_addr=no
40645 fi
40646
40647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40648 conftest$ac_exeext conftest.$ac_ext
40649 LIBS=$ac_check_lib_save_LIBS
40650 fi
40651 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40652 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40653 if test $ac_cv_lib_socket_inet_addr = yes; then
40654 INET_LINK="socket"
40655
40656 fi
40657
40658
40659
40660 fi
40661
40662
40663
40664 fi
40665
40666
40667
40668 fi
40669 done
40670
40671
40672
40673 for ac_func in inet_aton
40674 do
40675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40676 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40678 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40679 echo $ECHO_N "(cached) $ECHO_C" >&6
40680 else
40681 cat >conftest.$ac_ext <<_ACEOF
40682 /* confdefs.h. */
40683 _ACEOF
40684 cat confdefs.h >>conftest.$ac_ext
40685 cat >>conftest.$ac_ext <<_ACEOF
40686 /* end confdefs.h. */
40687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40689 #define $ac_func innocuous_$ac_func
40690
40691 /* System header to define __stub macros and hopefully few prototypes,
40692 which can conflict with char $ac_func (); below.
40693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40694 <limits.h> exists even on freestanding compilers. */
40695
40696 #ifdef __STDC__
40697 # include <limits.h>
40698 #else
40699 # include <assert.h>
40700 #endif
40701
40702 #undef $ac_func
40703
40704 /* Override any GCC internal prototype to avoid an error.
40705 Use char because int might match the return type of a GCC
40706 builtin and then its argument prototype would still apply. */
40707 #ifdef __cplusplus
40708 extern "C"
40709 #endif
40710 char $ac_func ();
40711 /* The GNU C library defines this for functions which it implements
40712 to always fail with ENOSYS. Some functions are actually named
40713 something starting with __ and the normal name is an alias. */
40714 #if defined __stub_$ac_func || defined __stub___$ac_func
40715 choke me
40716 #endif
40717
40718 int
40719 main ()
40720 {
40721 return $ac_func ();
40722 ;
40723 return 0;
40724 }
40725 _ACEOF
40726 rm -f conftest.$ac_objext conftest$ac_exeext
40727 if { (ac_try="$ac_link"
40728 case "(($ac_try" in
40729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40730 *) ac_try_echo=$ac_try;;
40731 esac
40732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40733 (eval "$ac_link") 2>conftest.er1
40734 ac_status=$?
40735 grep -v '^ *+' conftest.er1 >conftest.err
40736 rm -f conftest.er1
40737 cat conftest.err >&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } && {
40740 test -z "$ac_c_werror_flag" ||
40741 test ! -s conftest.err
40742 } && test -s conftest$ac_exeext &&
40743 $as_test_x conftest$ac_exeext; then
40744 eval "$as_ac_var=yes"
40745 else
40746 echo "$as_me: failed program was:" >&5
40747 sed 's/^/| /' conftest.$ac_ext >&5
40748
40749 eval "$as_ac_var=no"
40750 fi
40751
40752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40753 conftest$ac_exeext conftest.$ac_ext
40754 fi
40755 ac_res=`eval echo '${'$as_ac_var'}'`
40756 { echo "$as_me:$LINENO: result: $ac_res" >&5
40757 echo "${ECHO_T}$ac_res" >&6; }
40758 if test `eval echo '${'$as_ac_var'}'` = yes; then
40759 cat >>confdefs.h <<_ACEOF
40760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40761 _ACEOF
40762 cat >>confdefs.h <<\_ACEOF
40763 #define HAVE_INET_ATON 1
40764 _ACEOF
40765
40766 else
40767
40768 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40769 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40770 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40771 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40772 echo $ECHO_N "(cached) $ECHO_C" >&6
40773 else
40774 ac_check_lib_save_LIBS=$LIBS
40775 LIBS="-l$INET_LINK $LIBS"
40776 cat >conftest.$ac_ext <<_ACEOF
40777 /* confdefs.h. */
40778 _ACEOF
40779 cat confdefs.h >>conftest.$ac_ext
40780 cat >>conftest.$ac_ext <<_ACEOF
40781 /* end confdefs.h. */
40782
40783 /* Override any GCC internal prototype to avoid an error.
40784 Use char because int might match the return type of a GCC
40785 builtin and then its argument prototype would still apply. */
40786 #ifdef __cplusplus
40787 extern "C"
40788 #endif
40789 char inet_aton ();
40790 int
40791 main ()
40792 {
40793 return inet_aton ();
40794 ;
40795 return 0;
40796 }
40797 _ACEOF
40798 rm -f conftest.$ac_objext conftest$ac_exeext
40799 if { (ac_try="$ac_link"
40800 case "(($ac_try" in
40801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40802 *) ac_try_echo=$ac_try;;
40803 esac
40804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40805 (eval "$ac_link") 2>conftest.er1
40806 ac_status=$?
40807 grep -v '^ *+' conftest.er1 >conftest.err
40808 rm -f conftest.er1
40809 cat conftest.err >&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } && {
40812 test -z "$ac_c_werror_flag" ||
40813 test ! -s conftest.err
40814 } && test -s conftest$ac_exeext &&
40815 $as_test_x conftest$ac_exeext; then
40816 eval "$as_ac_Lib=yes"
40817 else
40818 echo "$as_me: failed program was:" >&5
40819 sed 's/^/| /' conftest.$ac_ext >&5
40820
40821 eval "$as_ac_Lib=no"
40822 fi
40823
40824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40825 conftest$ac_exeext conftest.$ac_ext
40826 LIBS=$ac_check_lib_save_LIBS
40827 fi
40828 ac_res=`eval echo '${'$as_ac_Lib'}'`
40829 { echo "$as_me:$LINENO: result: $ac_res" >&5
40830 echo "${ECHO_T}$ac_res" >&6; }
40831 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40832 cat >>confdefs.h <<\_ACEOF
40833 #define HAVE_INET_ATON 1
40834 _ACEOF
40835
40836 fi
40837
40838
40839 fi
40840 done
40841
40842
40843 if test "x$INET_LINK" != "x"; then
40844 cat >>confdefs.h <<\_ACEOF
40845 #define HAVE_INET_ADDR 1
40846 _ACEOF
40847
40848 INET_LINK=" -l$INET_LINK"
40849 fi
40850
40851
40852 for wx_func in fdopen
40853 do
40854 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40855 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40856 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40857 echo $ECHO_N "(cached) $ECHO_C" >&6
40858 else
40859
40860 cat >conftest.$ac_ext <<_ACEOF
40861
40862 /* confdefs.h. */
40863 _ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867
40868
40869 $ac_includes_default
40870
40871 int
40872 main ()
40873 {
40874
40875 #ifndef $wx_func
40876 &$wx_func;
40877 #endif
40878
40879
40880 ;
40881 return 0;
40882 }
40883
40884 _ACEOF
40885 rm -f conftest.$ac_objext conftest$ac_exeext
40886 if { (ac_try="$ac_link"
40887 case "(($ac_try" in
40888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40889 *) ac_try_echo=$ac_try;;
40890 esac
40891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40892 (eval "$ac_link") 2>conftest.er1
40893 ac_status=$?
40894 grep -v '^ *+' conftest.er1 >conftest.err
40895 rm -f conftest.er1
40896 cat conftest.err >&5
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); } && {
40899 test -z "$ac_c_werror_flag" ||
40900 test ! -s conftest.err
40901 } && test -s conftest$ac_exeext &&
40902 $as_test_x conftest$ac_exeext; then
40903 eval wx_cv_func_$wx_func=yes
40904 else
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40907
40908 eval wx_cv_func_$wx_func=no
40909 fi
40910
40911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40912 conftest$ac_exeext conftest.$ac_ext
40913
40914 fi
40915 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40916 { echo "$as_me:$LINENO: result: $ac_res" >&5
40917 echo "${ECHO_T}$ac_res" >&6; }
40918
40919 if eval test \$wx_cv_func_$wx_func = yes
40920 then
40921 cat >>confdefs.h <<_ACEOF
40922 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40923 _ACEOF
40924
40925
40926 else
40927 :
40928
40929 fi
40930 done
40931
40932
40933 fi
40934
40935
40936
40937 cat >confcache <<\_ACEOF
40938 # This file is a shell script that caches the results of configure
40939 # tests run on this system so they can be shared between configure
40940 # scripts and configure runs, see configure's option --config-cache.
40941 # It is not useful on other systems. If it contains results you don't
40942 # want to keep, you may remove or edit it.
40943 #
40944 # config.status only pays attention to the cache file if you give it
40945 # the --recheck option to rerun configure.
40946 #
40947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40949 # following values.
40950
40951 _ACEOF
40952
40953 # The following way of writing the cache mishandles newlines in values,
40954 # but we know of no workaround that is simple, portable, and efficient.
40955 # So, we kill variables containing newlines.
40956 # Ultrix sh set writes to stderr and can't be redirected directly,
40957 # and sets the high bit in the cache file unless we assign to the vars.
40958 (
40959 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40960 eval ac_val=\$$ac_var
40961 case $ac_val in #(
40962 *${as_nl}*)
40963 case $ac_var in #(
40964 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40965 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40966 esac
40967 case $ac_var in #(
40968 _ | IFS | as_nl) ;; #(
40969 *) $as_unset $ac_var ;;
40970 esac ;;
40971 esac
40972 done
40973
40974 (set) 2>&1 |
40975 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40976 *${as_nl}ac_space=\ *)
40977 # `set' does not quote correctly, so add quotes (double-quote
40978 # substitution turns \\\\ into \\, and sed turns \\ into \).
40979 sed -n \
40980 "s/'/'\\\\''/g;
40981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40982 ;; #(
40983 *)
40984 # `set' quotes correctly as required by POSIX, so do not add quotes.
40985 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40986 ;;
40987 esac |
40988 sort
40989 ) |
40990 sed '
40991 /^ac_cv_env_/b end
40992 t clear
40993 :clear
40994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40995 t end
40996 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40997 :end' >>confcache
40998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40999 if test -w "$cache_file"; then
41000 test "x$cache_file" != "x/dev/null" &&
41001 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41002 echo "$as_me: updating cache $cache_file" >&6;}
41003 cat confcache >$cache_file
41004 else
41005 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41006 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41007 fi
41008 fi
41009 rm -f confcache
41010
41011
41012 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41013
41014
41015 THREADS_LINK=
41016 THREADS_CFLAGS=
41017
41018 if test "$wxUSE_THREADS" = "yes" ; then
41019 if test "$USE_BEOS" = 1; then
41020 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41021 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41022 wxUSE_THREADS="no"
41023 fi
41024 fi
41025
41026 if test "$wxUSE_THREADS" = "yes" ; then
41027
41028
41029 THREAD_OPTS="-pthread"
41030 if test "x$SUNCXX" = xyes; then
41031 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41032 fi
41033
41034 case "${host}" in
41035 *-*-solaris2* | *-*-sunos4* )
41036 if test "x$GCC" = "xyes"; then
41037 THREAD_OPTS="-pthreads $THREAD_OPTS"
41038 fi
41039 ;;
41040 *-*-freebsd*)
41041 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41042 ;;
41043 *-*-darwin* | *-*-cygwin* )
41044 THREAD_OPTS=""
41045 ;;
41046 *-*-aix*)
41047 THREAD_OPTS="pthreads"
41048 ;;
41049 *-hp-hpux* )
41050 if test "x$GCC" = "xyes"; then
41051 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41052 THREAD_OPTS=""
41053 else
41054 THREAD_OPTS="-mt"
41055 fi
41056 ;;
41057
41058 *-*-irix* )
41059 if test "x$GCC" = "xyes"; then
41060 THREAD_OPTS=""
41061 fi
41062 ;;
41063
41064 *-*-*UnixWare*)
41065 if test "x$GCC" != "xyes"; then
41066 THREAD_OPTS="-Ethread"
41067 fi
41068 ;;
41069 esac
41070
41071 THREAD_OPTS="$THREAD_OPTS pthread none"
41072
41073 THREADS_OK=no
41074 for flag in $THREAD_OPTS; do
41075 case $flag in
41076 none)
41077 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41078 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41079 ;;
41080
41081 -*)
41082 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41083 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41084 THREADS_CFLAGS="$flag"
41085 ;;
41086
41087 *)
41088 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41089 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41090 THREADS_LINK="-l$flag"
41091 ;;
41092 esac
41093
41094 save_LIBS="$LIBS"
41095 save_CFLAGS="$CFLAGS"
41096 LIBS="$THREADS_LINK $LIBS"
41097 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41098
41099 cat >conftest.$ac_ext <<_ACEOF
41100 /* confdefs.h. */
41101 _ACEOF
41102 cat confdefs.h >>conftest.$ac_ext
41103 cat >>conftest.$ac_ext <<_ACEOF
41104 /* end confdefs.h. */
41105 #include <pthread.h>
41106 int
41107 main ()
41108 {
41109 pthread_create(0,0,0,0);
41110 ;
41111 return 0;
41112 }
41113 _ACEOF
41114 rm -f conftest.$ac_objext conftest$ac_exeext
41115 if { (ac_try="$ac_link"
41116 case "(($ac_try" in
41117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41118 *) ac_try_echo=$ac_try;;
41119 esac
41120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41121 (eval "$ac_link") 2>conftest.er1
41122 ac_status=$?
41123 grep -v '^ *+' conftest.er1 >conftest.err
41124 rm -f conftest.er1
41125 cat conftest.err >&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); } && {
41128 test -z "$ac_c_werror_flag" ||
41129 test ! -s conftest.err
41130 } && test -s conftest$ac_exeext &&
41131 $as_test_x conftest$ac_exeext; then
41132 THREADS_OK=yes
41133 else
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41136
41137
41138 fi
41139
41140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41141 conftest$ac_exeext conftest.$ac_ext
41142
41143 LIBS="$save_LIBS"
41144 CFLAGS="$save_CFLAGS"
41145
41146 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41147 echo "${ECHO_T}$THREADS_OK" >&6; }
41148 if test "x$THREADS_OK" = "xyes"; then
41149 break;
41150 fi
41151
41152 THREADS_LINK=""
41153 THREADS_CFLAGS=""
41154 done
41155
41156 if test "x$THREADS_OK" != "xyes"; then
41157 wxUSE_THREADS=no
41158 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41159 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41160 else
41161 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41162 LIBS="$THREADS_LINK $LIBS"
41163
41164 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41165 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41166 flag=no
41167 case "${host}" in
41168 *-aix*)
41169 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41170 flag="-D_THREAD_SAFE"
41171 ;;
41172 *-freebsd*)
41173 flag="-D_THREAD_SAFE"
41174 ;;
41175 *-hp-hpux* )
41176 flag="-D_REENTRANT"
41177 if test "x$GCC" != "xyes"; then
41178 flag="$flag -D_RWSTD_MULTI_THREAD"
41179 fi
41180 ;;
41181 *solaris* | alpha*-osf*)
41182 flag="-D_REENTRANT"
41183 ;;
41184 esac
41185 { echo "$as_me:$LINENO: result: ${flag}" >&5
41186 echo "${ECHO_T}${flag}" >&6; }
41187 if test "x$flag" != xno; then
41188 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41189 fi
41190
41191 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41192 fi
41193 fi
41194
41195 if test "$wxUSE_THREADS" = "yes" ; then
41196
41197 for ac_func in thr_setconcurrency
41198 do
41199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41200 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41202 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41203 echo $ECHO_N "(cached) $ECHO_C" >&6
41204 else
41205 cat >conftest.$ac_ext <<_ACEOF
41206 /* confdefs.h. */
41207 _ACEOF
41208 cat confdefs.h >>conftest.$ac_ext
41209 cat >>conftest.$ac_ext <<_ACEOF
41210 /* end confdefs.h. */
41211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41213 #define $ac_func innocuous_$ac_func
41214
41215 /* System header to define __stub macros and hopefully few prototypes,
41216 which can conflict with char $ac_func (); below.
41217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41218 <limits.h> exists even on freestanding compilers. */
41219
41220 #ifdef __STDC__
41221 # include <limits.h>
41222 #else
41223 # include <assert.h>
41224 #endif
41225
41226 #undef $ac_func
41227
41228 /* Override any GCC internal prototype to avoid an error.
41229 Use char because int might match the return type of a GCC
41230 builtin and then its argument prototype would still apply. */
41231 #ifdef __cplusplus
41232 extern "C"
41233 #endif
41234 char $ac_func ();
41235 /* The GNU C library defines this for functions which it implements
41236 to always fail with ENOSYS. Some functions are actually named
41237 something starting with __ and the normal name is an alias. */
41238 #if defined __stub_$ac_func || defined __stub___$ac_func
41239 choke me
41240 #endif
41241
41242 int
41243 main ()
41244 {
41245 return $ac_func ();
41246 ;
41247 return 0;
41248 }
41249 _ACEOF
41250 rm -f conftest.$ac_objext conftest$ac_exeext
41251 if { (ac_try="$ac_link"
41252 case "(($ac_try" in
41253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41254 *) ac_try_echo=$ac_try;;
41255 esac
41256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41257 (eval "$ac_link") 2>conftest.er1
41258 ac_status=$?
41259 grep -v '^ *+' conftest.er1 >conftest.err
41260 rm -f conftest.er1
41261 cat conftest.err >&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } && {
41264 test -z "$ac_c_werror_flag" ||
41265 test ! -s conftest.err
41266 } && test -s conftest$ac_exeext &&
41267 $as_test_x conftest$ac_exeext; then
41268 eval "$as_ac_var=yes"
41269 else
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.$ac_ext >&5
41272
41273 eval "$as_ac_var=no"
41274 fi
41275
41276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41277 conftest$ac_exeext conftest.$ac_ext
41278 fi
41279 ac_res=`eval echo '${'$as_ac_var'}'`
41280 { echo "$as_me:$LINENO: result: $ac_res" >&5
41281 echo "${ECHO_T}$ac_res" >&6; }
41282 if test `eval echo '${'$as_ac_var'}'` = yes; then
41283 cat >>confdefs.h <<_ACEOF
41284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41285 _ACEOF
41286
41287 fi
41288 done
41289
41290
41291 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41292 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41293 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41294 echo $ECHO_N "(cached) $ECHO_C" >&6
41295 else
41296
41297 ac_ext=cpp
41298 ac_cpp='$CXXCPP $CPPFLAGS'
41299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41302
41303 cat >conftest.$ac_ext <<_ACEOF
41304 /* confdefs.h. */
41305 _ACEOF
41306 cat confdefs.h >>conftest.$ac_ext
41307 cat >>conftest.$ac_ext <<_ACEOF
41308 /* end confdefs.h. */
41309 #include <pthread.h>
41310 void ThreadCleanupFunc(void *p);
41311
41312 int
41313 main ()
41314 {
41315
41316 void *p;
41317 pthread_cleanup_push(ThreadCleanupFunc, p);
41318 pthread_cleanup_pop(0);
41319
41320 ;
41321 return 0;
41322 }
41323 _ACEOF
41324 rm -f conftest.$ac_objext
41325 if { (ac_try="$ac_compile"
41326 case "(($ac_try" in
41327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41328 *) ac_try_echo=$ac_try;;
41329 esac
41330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41331 (eval "$ac_compile") 2>conftest.er1
41332 ac_status=$?
41333 grep -v '^ *+' conftest.er1 >conftest.err
41334 rm -f conftest.er1
41335 cat conftest.err >&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); } && {
41338 test -z "$ac_cxx_werror_flag" ||
41339 test ! -s conftest.err
41340 } && test -s conftest.$ac_objext; then
41341
41342 wx_cv_func_pthread_cleanup=yes
41343
41344 else
41345 echo "$as_me: failed program was:" >&5
41346 sed 's/^/| /' conftest.$ac_ext >&5
41347
41348
41349 wx_cv_func_pthread_cleanup=no
41350
41351
41352 fi
41353
41354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41355 ac_ext=c
41356 ac_cpp='$CPP $CPPFLAGS'
41357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41360
41361
41362 fi
41363 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41364 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41365 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41366 cat >>confdefs.h <<\_ACEOF
41367 #define wxHAVE_PTHREAD_CLEANUP 1
41368 _ACEOF
41369
41370 fi
41371
41372 { echo "$as_me:$LINENO: checking for sched.h" >&5
41373 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41374 if test "${ac_cv_header_sched_h+set}" = set; then
41375 echo $ECHO_N "(cached) $ECHO_C" >&6
41376 else
41377 cat >conftest.$ac_ext <<_ACEOF
41378 /* confdefs.h. */
41379 _ACEOF
41380 cat confdefs.h >>conftest.$ac_ext
41381 cat >>conftest.$ac_ext <<_ACEOF
41382 /* end confdefs.h. */
41383 $ac_includes_default
41384
41385 #include <sched.h>
41386 _ACEOF
41387 rm -f conftest.$ac_objext
41388 if { (ac_try="$ac_compile"
41389 case "(($ac_try" in
41390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41391 *) ac_try_echo=$ac_try;;
41392 esac
41393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41394 (eval "$ac_compile") 2>conftest.er1
41395 ac_status=$?
41396 grep -v '^ *+' conftest.er1 >conftest.err
41397 rm -f conftest.er1
41398 cat conftest.err >&5
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); } && {
41401 test -z "$ac_c_werror_flag" ||
41402 test ! -s conftest.err
41403 } && test -s conftest.$ac_objext; then
41404 ac_cv_header_sched_h=yes
41405 else
41406 echo "$as_me: failed program was:" >&5
41407 sed 's/^/| /' conftest.$ac_ext >&5
41408
41409 ac_cv_header_sched_h=no
41410 fi
41411
41412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41413 fi
41414 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41415 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41416
41417
41418 if test "$ac_cv_header_sched_h" = "yes"; then
41419 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41420 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41421 if test "${ac_cv_func_sched_yield+set}" = set; then
41422 echo $ECHO_N "(cached) $ECHO_C" >&6
41423 else
41424 cat >conftest.$ac_ext <<_ACEOF
41425 /* confdefs.h. */
41426 _ACEOF
41427 cat confdefs.h >>conftest.$ac_ext
41428 cat >>conftest.$ac_ext <<_ACEOF
41429 /* end confdefs.h. */
41430 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41432 #define sched_yield innocuous_sched_yield
41433
41434 /* System header to define __stub macros and hopefully few prototypes,
41435 which can conflict with char sched_yield (); below.
41436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41437 <limits.h> exists even on freestanding compilers. */
41438
41439 #ifdef __STDC__
41440 # include <limits.h>
41441 #else
41442 # include <assert.h>
41443 #endif
41444
41445 #undef sched_yield
41446
41447 /* Override any GCC internal prototype to avoid an error.
41448 Use char because int might match the return type of a GCC
41449 builtin and then its argument prototype would still apply. */
41450 #ifdef __cplusplus
41451 extern "C"
41452 #endif
41453 char sched_yield ();
41454 /* The GNU C library defines this for functions which it implements
41455 to always fail with ENOSYS. Some functions are actually named
41456 something starting with __ and the normal name is an alias. */
41457 #if defined __stub_sched_yield || defined __stub___sched_yield
41458 choke me
41459 #endif
41460
41461 int
41462 main ()
41463 {
41464 return sched_yield ();
41465 ;
41466 return 0;
41467 }
41468 _ACEOF
41469 rm -f conftest.$ac_objext conftest$ac_exeext
41470 if { (ac_try="$ac_link"
41471 case "(($ac_try" in
41472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41473 *) ac_try_echo=$ac_try;;
41474 esac
41475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41476 (eval "$ac_link") 2>conftest.er1
41477 ac_status=$?
41478 grep -v '^ *+' conftest.er1 >conftest.err
41479 rm -f conftest.er1
41480 cat conftest.err >&5
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); } && {
41483 test -z "$ac_c_werror_flag" ||
41484 test ! -s conftest.err
41485 } && test -s conftest$ac_exeext &&
41486 $as_test_x conftest$ac_exeext; then
41487 ac_cv_func_sched_yield=yes
41488 else
41489 echo "$as_me: failed program was:" >&5
41490 sed 's/^/| /' conftest.$ac_ext >&5
41491
41492 ac_cv_func_sched_yield=no
41493 fi
41494
41495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41496 conftest$ac_exeext conftest.$ac_ext
41497 fi
41498 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41499 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41500 if test $ac_cv_func_sched_yield = yes; then
41501 cat >>confdefs.h <<\_ACEOF
41502 #define HAVE_SCHED_YIELD 1
41503 _ACEOF
41504
41505 else
41506
41507 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41508 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41509 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41510 echo $ECHO_N "(cached) $ECHO_C" >&6
41511 else
41512 ac_check_lib_save_LIBS=$LIBS
41513 LIBS="-lposix4 $LIBS"
41514 cat >conftest.$ac_ext <<_ACEOF
41515 /* confdefs.h. */
41516 _ACEOF
41517 cat confdefs.h >>conftest.$ac_ext
41518 cat >>conftest.$ac_ext <<_ACEOF
41519 /* end confdefs.h. */
41520
41521 /* Override any GCC internal prototype to avoid an error.
41522 Use char because int might match the return type of a GCC
41523 builtin and then its argument prototype would still apply. */
41524 #ifdef __cplusplus
41525 extern "C"
41526 #endif
41527 char sched_yield ();
41528 int
41529 main ()
41530 {
41531 return sched_yield ();
41532 ;
41533 return 0;
41534 }
41535 _ACEOF
41536 rm -f conftest.$ac_objext conftest$ac_exeext
41537 if { (ac_try="$ac_link"
41538 case "(($ac_try" in
41539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41540 *) ac_try_echo=$ac_try;;
41541 esac
41542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41543 (eval "$ac_link") 2>conftest.er1
41544 ac_status=$?
41545 grep -v '^ *+' conftest.er1 >conftest.err
41546 rm -f conftest.er1
41547 cat conftest.err >&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); } && {
41550 test -z "$ac_c_werror_flag" ||
41551 test ! -s conftest.err
41552 } && test -s conftest$ac_exeext &&
41553 $as_test_x conftest$ac_exeext; then
41554 ac_cv_lib_posix4_sched_yield=yes
41555 else
41556 echo "$as_me: failed program was:" >&5
41557 sed 's/^/| /' conftest.$ac_ext >&5
41558
41559 ac_cv_lib_posix4_sched_yield=no
41560 fi
41561
41562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41563 conftest$ac_exeext conftest.$ac_ext
41564 LIBS=$ac_check_lib_save_LIBS
41565 fi
41566 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41567 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41568 if test $ac_cv_lib_posix4_sched_yield = yes; then
41569 cat >>confdefs.h <<\_ACEOF
41570 #define HAVE_SCHED_YIELD 1
41571 _ACEOF
41572 POSIX4_LINK=" -lposix4"
41573 else
41574 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41575 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41576
41577 fi
41578
41579
41580
41581 fi
41582
41583 fi
41584
41585 HAVE_PRIOR_FUNCS=0
41586 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41587 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41588 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41589 echo $ECHO_N "(cached) $ECHO_C" >&6
41590 else
41591 cat >conftest.$ac_ext <<_ACEOF
41592 /* confdefs.h. */
41593 _ACEOF
41594 cat confdefs.h >>conftest.$ac_ext
41595 cat >>conftest.$ac_ext <<_ACEOF
41596 /* end confdefs.h. */
41597 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41599 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41600
41601 /* System header to define __stub macros and hopefully few prototypes,
41602 which can conflict with char pthread_attr_getschedpolicy (); below.
41603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41604 <limits.h> exists even on freestanding compilers. */
41605
41606 #ifdef __STDC__
41607 # include <limits.h>
41608 #else
41609 # include <assert.h>
41610 #endif
41611
41612 #undef pthread_attr_getschedpolicy
41613
41614 /* Override any GCC internal prototype to avoid an error.
41615 Use char because int might match the return type of a GCC
41616 builtin and then its argument prototype would still apply. */
41617 #ifdef __cplusplus
41618 extern "C"
41619 #endif
41620 char pthread_attr_getschedpolicy ();
41621 /* The GNU C library defines this for functions which it implements
41622 to always fail with ENOSYS. Some functions are actually named
41623 something starting with __ and the normal name is an alias. */
41624 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41625 choke me
41626 #endif
41627
41628 int
41629 main ()
41630 {
41631 return pthread_attr_getschedpolicy ();
41632 ;
41633 return 0;
41634 }
41635 _ACEOF
41636 rm -f conftest.$ac_objext conftest$ac_exeext
41637 if { (ac_try="$ac_link"
41638 case "(($ac_try" in
41639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41640 *) ac_try_echo=$ac_try;;
41641 esac
41642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41643 (eval "$ac_link") 2>conftest.er1
41644 ac_status=$?
41645 grep -v '^ *+' conftest.er1 >conftest.err
41646 rm -f conftest.er1
41647 cat conftest.err >&5
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); } && {
41650 test -z "$ac_c_werror_flag" ||
41651 test ! -s conftest.err
41652 } && test -s conftest$ac_exeext &&
41653 $as_test_x conftest$ac_exeext; then
41654 ac_cv_func_pthread_attr_getschedpolicy=yes
41655 else
41656 echo "$as_me: failed program was:" >&5
41657 sed 's/^/| /' conftest.$ac_ext >&5
41658
41659 ac_cv_func_pthread_attr_getschedpolicy=no
41660 fi
41661
41662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41663 conftest$ac_exeext conftest.$ac_ext
41664 fi
41665 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41666 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41667 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41668 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41669 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41670 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41672 else
41673 cat >conftest.$ac_ext <<_ACEOF
41674 /* confdefs.h. */
41675 _ACEOF
41676 cat confdefs.h >>conftest.$ac_ext
41677 cat >>conftest.$ac_ext <<_ACEOF
41678 /* end confdefs.h. */
41679 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41681 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41682
41683 /* System header to define __stub macros and hopefully few prototypes,
41684 which can conflict with char pthread_attr_setschedparam (); below.
41685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41686 <limits.h> exists even on freestanding compilers. */
41687
41688 #ifdef __STDC__
41689 # include <limits.h>
41690 #else
41691 # include <assert.h>
41692 #endif
41693
41694 #undef pthread_attr_setschedparam
41695
41696 /* Override any GCC internal prototype to avoid an error.
41697 Use char because int might match the return type of a GCC
41698 builtin and then its argument prototype would still apply. */
41699 #ifdef __cplusplus
41700 extern "C"
41701 #endif
41702 char pthread_attr_setschedparam ();
41703 /* The GNU C library defines this for functions which it implements
41704 to always fail with ENOSYS. Some functions are actually named
41705 something starting with __ and the normal name is an alias. */
41706 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41707 choke me
41708 #endif
41709
41710 int
41711 main ()
41712 {
41713 return pthread_attr_setschedparam ();
41714 ;
41715 return 0;
41716 }
41717 _ACEOF
41718 rm -f conftest.$ac_objext conftest$ac_exeext
41719 if { (ac_try="$ac_link"
41720 case "(($ac_try" in
41721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41722 *) ac_try_echo=$ac_try;;
41723 esac
41724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41725 (eval "$ac_link") 2>conftest.er1
41726 ac_status=$?
41727 grep -v '^ *+' conftest.er1 >conftest.err
41728 rm -f conftest.er1
41729 cat conftest.err >&5
41730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731 (exit $ac_status); } && {
41732 test -z "$ac_c_werror_flag" ||
41733 test ! -s conftest.err
41734 } && test -s conftest$ac_exeext &&
41735 $as_test_x conftest$ac_exeext; then
41736 ac_cv_func_pthread_attr_setschedparam=yes
41737 else
41738 echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41740
41741 ac_cv_func_pthread_attr_setschedparam=no
41742 fi
41743
41744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41745 conftest$ac_exeext conftest.$ac_ext
41746 fi
41747 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41748 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41749 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41750 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41751 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41752 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41754 else
41755 cat >conftest.$ac_ext <<_ACEOF
41756 /* confdefs.h. */
41757 _ACEOF
41758 cat confdefs.h >>conftest.$ac_ext
41759 cat >>conftest.$ac_ext <<_ACEOF
41760 /* end confdefs.h. */
41761 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41763 #define sched_get_priority_max innocuous_sched_get_priority_max
41764
41765 /* System header to define __stub macros and hopefully few prototypes,
41766 which can conflict with char sched_get_priority_max (); below.
41767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41768 <limits.h> exists even on freestanding compilers. */
41769
41770 #ifdef __STDC__
41771 # include <limits.h>
41772 #else
41773 # include <assert.h>
41774 #endif
41775
41776 #undef sched_get_priority_max
41777
41778 /* Override any GCC internal prototype to avoid an error.
41779 Use char because int might match the return type of a GCC
41780 builtin and then its argument prototype would still apply. */
41781 #ifdef __cplusplus
41782 extern "C"
41783 #endif
41784 char sched_get_priority_max ();
41785 /* The GNU C library defines this for functions which it implements
41786 to always fail with ENOSYS. Some functions are actually named
41787 something starting with __ and the normal name is an alias. */
41788 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41789 choke me
41790 #endif
41791
41792 int
41793 main ()
41794 {
41795 return sched_get_priority_max ();
41796 ;
41797 return 0;
41798 }
41799 _ACEOF
41800 rm -f conftest.$ac_objext conftest$ac_exeext
41801 if { (ac_try="$ac_link"
41802 case "(($ac_try" in
41803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41804 *) ac_try_echo=$ac_try;;
41805 esac
41806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41807 (eval "$ac_link") 2>conftest.er1
41808 ac_status=$?
41809 grep -v '^ *+' conftest.er1 >conftest.err
41810 rm -f conftest.er1
41811 cat conftest.err >&5
41812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41813 (exit $ac_status); } && {
41814 test -z "$ac_c_werror_flag" ||
41815 test ! -s conftest.err
41816 } && test -s conftest$ac_exeext &&
41817 $as_test_x conftest$ac_exeext; then
41818 ac_cv_func_sched_get_priority_max=yes
41819 else
41820 echo "$as_me: failed program was:" >&5
41821 sed 's/^/| /' conftest.$ac_ext >&5
41822
41823 ac_cv_func_sched_get_priority_max=no
41824 fi
41825
41826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41827 conftest$ac_exeext conftest.$ac_ext
41828 fi
41829 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41830 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41831 if test $ac_cv_func_sched_get_priority_max = yes; then
41832 HAVE_PRIOR_FUNCS=1
41833 else
41834 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41835 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41836 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41837 echo $ECHO_N "(cached) $ECHO_C" >&6
41838 else
41839 ac_check_lib_save_LIBS=$LIBS
41840 LIBS="-lposix4 $LIBS"
41841 cat >conftest.$ac_ext <<_ACEOF
41842 /* confdefs.h. */
41843 _ACEOF
41844 cat confdefs.h >>conftest.$ac_ext
41845 cat >>conftest.$ac_ext <<_ACEOF
41846 /* end confdefs.h. */
41847
41848 /* Override any GCC internal prototype to avoid an error.
41849 Use char because int might match the return type of a GCC
41850 builtin and then its argument prototype would still apply. */
41851 #ifdef __cplusplus
41852 extern "C"
41853 #endif
41854 char sched_get_priority_max ();
41855 int
41856 main ()
41857 {
41858 return sched_get_priority_max ();
41859 ;
41860 return 0;
41861 }
41862 _ACEOF
41863 rm -f conftest.$ac_objext conftest$ac_exeext
41864 if { (ac_try="$ac_link"
41865 case "(($ac_try" in
41866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41867 *) ac_try_echo=$ac_try;;
41868 esac
41869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41870 (eval "$ac_link") 2>conftest.er1
41871 ac_status=$?
41872 grep -v '^ *+' conftest.er1 >conftest.err
41873 rm -f conftest.er1
41874 cat conftest.err >&5
41875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876 (exit $ac_status); } && {
41877 test -z "$ac_c_werror_flag" ||
41878 test ! -s conftest.err
41879 } && test -s conftest$ac_exeext &&
41880 $as_test_x conftest$ac_exeext; then
41881 ac_cv_lib_posix4_sched_get_priority_max=yes
41882 else
41883 echo "$as_me: failed program was:" >&5
41884 sed 's/^/| /' conftest.$ac_ext >&5
41885
41886 ac_cv_lib_posix4_sched_get_priority_max=no
41887 fi
41888
41889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41890 conftest$ac_exeext conftest.$ac_ext
41891 LIBS=$ac_check_lib_save_LIBS
41892 fi
41893 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41894 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41895 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41896
41897 HAVE_PRIOR_FUNCS=1
41898 POSIX4_LINK=" -lposix4"
41899
41900 fi
41901
41902
41903 fi
41904
41905
41906 fi
41907
41908
41909 fi
41910
41911
41912 if test "$HAVE_PRIOR_FUNCS" = 1; then
41913 cat >>confdefs.h <<\_ACEOF
41914 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41915 _ACEOF
41916
41917 else
41918 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41919 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41920 fi
41921
41922 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41923 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41924 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41925 echo $ECHO_N "(cached) $ECHO_C" >&6
41926 else
41927 cat >conftest.$ac_ext <<_ACEOF
41928 /* confdefs.h. */
41929 _ACEOF
41930 cat confdefs.h >>conftest.$ac_ext
41931 cat >>conftest.$ac_ext <<_ACEOF
41932 /* end confdefs.h. */
41933 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41935 #define pthread_cancel innocuous_pthread_cancel
41936
41937 /* System header to define __stub macros and hopefully few prototypes,
41938 which can conflict with char pthread_cancel (); below.
41939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41940 <limits.h> exists even on freestanding compilers. */
41941
41942 #ifdef __STDC__
41943 # include <limits.h>
41944 #else
41945 # include <assert.h>
41946 #endif
41947
41948 #undef pthread_cancel
41949
41950 /* Override any GCC internal prototype to avoid an error.
41951 Use char because int might match the return type of a GCC
41952 builtin and then its argument prototype would still apply. */
41953 #ifdef __cplusplus
41954 extern "C"
41955 #endif
41956 char pthread_cancel ();
41957 /* The GNU C library defines this for functions which it implements
41958 to always fail with ENOSYS. Some functions are actually named
41959 something starting with __ and the normal name is an alias. */
41960 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41961 choke me
41962 #endif
41963
41964 int
41965 main ()
41966 {
41967 return pthread_cancel ();
41968 ;
41969 return 0;
41970 }
41971 _ACEOF
41972 rm -f conftest.$ac_objext conftest$ac_exeext
41973 if { (ac_try="$ac_link"
41974 case "(($ac_try" in
41975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41976 *) ac_try_echo=$ac_try;;
41977 esac
41978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41979 (eval "$ac_link") 2>conftest.er1
41980 ac_status=$?
41981 grep -v '^ *+' conftest.er1 >conftest.err
41982 rm -f conftest.er1
41983 cat conftest.err >&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); } && {
41986 test -z "$ac_c_werror_flag" ||
41987 test ! -s conftest.err
41988 } && test -s conftest$ac_exeext &&
41989 $as_test_x conftest$ac_exeext; then
41990 ac_cv_func_pthread_cancel=yes
41991 else
41992 echo "$as_me: failed program was:" >&5
41993 sed 's/^/| /' conftest.$ac_ext >&5
41994
41995 ac_cv_func_pthread_cancel=no
41996 fi
41997
41998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41999 conftest$ac_exeext conftest.$ac_ext
42000 fi
42001 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42002 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42003 if test $ac_cv_func_pthread_cancel = yes; then
42004 cat >>confdefs.h <<\_ACEOF
42005 #define HAVE_PTHREAD_CANCEL 1
42006 _ACEOF
42007
42008 else
42009 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42010 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42011 fi
42012
42013
42014 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42015 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42016 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42017 echo $ECHO_N "(cached) $ECHO_C" >&6
42018 else
42019 cat >conftest.$ac_ext <<_ACEOF
42020 /* confdefs.h. */
42021 _ACEOF
42022 cat confdefs.h >>conftest.$ac_ext
42023 cat >>conftest.$ac_ext <<_ACEOF
42024 /* end confdefs.h. */
42025 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42027 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42028
42029 /* System header to define __stub macros and hopefully few prototypes,
42030 which can conflict with char pthread_mutex_timedlock (); below.
42031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42032 <limits.h> exists even on freestanding compilers. */
42033
42034 #ifdef __STDC__
42035 # include <limits.h>
42036 #else
42037 # include <assert.h>
42038 #endif
42039
42040 #undef pthread_mutex_timedlock
42041
42042 /* Override any GCC internal prototype to avoid an error.
42043 Use char because int might match the return type of a GCC
42044 builtin and then its argument prototype would still apply. */
42045 #ifdef __cplusplus
42046 extern "C"
42047 #endif
42048 char pthread_mutex_timedlock ();
42049 /* The GNU C library defines this for functions which it implements
42050 to always fail with ENOSYS. Some functions are actually named
42051 something starting with __ and the normal name is an alias. */
42052 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42053 choke me
42054 #endif
42055
42056 int
42057 main ()
42058 {
42059 return pthread_mutex_timedlock ();
42060 ;
42061 return 0;
42062 }
42063 _ACEOF
42064 rm -f conftest.$ac_objext conftest$ac_exeext
42065 if { (ac_try="$ac_link"
42066 case "(($ac_try" in
42067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42068 *) ac_try_echo=$ac_try;;
42069 esac
42070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42071 (eval "$ac_link") 2>conftest.er1
42072 ac_status=$?
42073 grep -v '^ *+' conftest.er1 >conftest.err
42074 rm -f conftest.er1
42075 cat conftest.err >&5
42076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42077 (exit $ac_status); } && {
42078 test -z "$ac_c_werror_flag" ||
42079 test ! -s conftest.err
42080 } && test -s conftest$ac_exeext &&
42081 $as_test_x conftest$ac_exeext; then
42082 ac_cv_func_pthread_mutex_timedlock=yes
42083 else
42084 echo "$as_me: failed program was:" >&5
42085 sed 's/^/| /' conftest.$ac_ext >&5
42086
42087 ac_cv_func_pthread_mutex_timedlock=no
42088 fi
42089
42090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42091 conftest$ac_exeext conftest.$ac_ext
42092 fi
42093 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42094 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42095 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42096 cat >>confdefs.h <<\_ACEOF
42097 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42098 _ACEOF
42099
42100 else
42101 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42102 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42103 fi
42104
42105
42106 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42107 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42108 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42109 echo $ECHO_N "(cached) $ECHO_C" >&6
42110 else
42111 cat >conftest.$ac_ext <<_ACEOF
42112 /* confdefs.h. */
42113 _ACEOF
42114 cat confdefs.h >>conftest.$ac_ext
42115 cat >>conftest.$ac_ext <<_ACEOF
42116 /* end confdefs.h. */
42117 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42119 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42120
42121 /* System header to define __stub macros and hopefully few prototypes,
42122 which can conflict with char pthread_attr_setstacksize (); below.
42123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42124 <limits.h> exists even on freestanding compilers. */
42125
42126 #ifdef __STDC__
42127 # include <limits.h>
42128 #else
42129 # include <assert.h>
42130 #endif
42131
42132 #undef pthread_attr_setstacksize
42133
42134 /* Override any GCC internal prototype to avoid an error.
42135 Use char because int might match the return type of a GCC
42136 builtin and then its argument prototype would still apply. */
42137 #ifdef __cplusplus
42138 extern "C"
42139 #endif
42140 char pthread_attr_setstacksize ();
42141 /* The GNU C library defines this for functions which it implements
42142 to always fail with ENOSYS. Some functions are actually named
42143 something starting with __ and the normal name is an alias. */
42144 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42145 choke me
42146 #endif
42147
42148 int
42149 main ()
42150 {
42151 return pthread_attr_setstacksize ();
42152 ;
42153 return 0;
42154 }
42155 _ACEOF
42156 rm -f conftest.$ac_objext conftest$ac_exeext
42157 if { (ac_try="$ac_link"
42158 case "(($ac_try" in
42159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42160 *) ac_try_echo=$ac_try;;
42161 esac
42162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42163 (eval "$ac_link") 2>conftest.er1
42164 ac_status=$?
42165 grep -v '^ *+' conftest.er1 >conftest.err
42166 rm -f conftest.er1
42167 cat conftest.err >&5
42168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169 (exit $ac_status); } && {
42170 test -z "$ac_c_werror_flag" ||
42171 test ! -s conftest.err
42172 } && test -s conftest$ac_exeext &&
42173 $as_test_x conftest$ac_exeext; then
42174 ac_cv_func_pthread_attr_setstacksize=yes
42175 else
42176 echo "$as_me: failed program was:" >&5
42177 sed 's/^/| /' conftest.$ac_ext >&5
42178
42179 ac_cv_func_pthread_attr_setstacksize=no
42180 fi
42181
42182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42183 conftest$ac_exeext conftest.$ac_ext
42184 fi
42185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42186 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42187 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42188 cat >>confdefs.h <<\_ACEOF
42189 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42190 _ACEOF
42191
42192 fi
42193
42194
42195
42196 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42197 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42198 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42199 echo $ECHO_N "(cached) $ECHO_C" >&6
42200 else
42201
42202 cat >conftest.$ac_ext <<_ACEOF
42203 /* confdefs.h. */
42204 _ACEOF
42205 cat confdefs.h >>conftest.$ac_ext
42206 cat >>conftest.$ac_ext <<_ACEOF
42207 /* end confdefs.h. */
42208 #include <pthread.h>
42209 int
42210 main ()
42211 {
42212
42213 pthread_mutexattr_t attr;
42214 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42215
42216 ;
42217 return 0;
42218 }
42219 _ACEOF
42220 rm -f conftest.$ac_objext
42221 if { (ac_try="$ac_compile"
42222 case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42224 *) ac_try_echo=$ac_try;;
42225 esac
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_compile") 2>conftest.er1
42228 ac_status=$?
42229 grep -v '^ *+' conftest.er1 >conftest.err
42230 rm -f conftest.er1
42231 cat conftest.err >&5
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); } && {
42234 test -z "$ac_c_werror_flag" ||
42235 test ! -s conftest.err
42236 } && test -s conftest.$ac_objext; then
42237 wx_cv_type_pthread_mutexattr_t=yes
42238 else
42239 echo "$as_me: failed program was:" >&5
42240 sed 's/^/| /' conftest.$ac_ext >&5
42241
42242 wx_cv_type_pthread_mutexattr_t=no
42243
42244 fi
42245
42246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42247
42248 fi
42249 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42250 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42251
42252 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42253 cat >>confdefs.h <<\_ACEOF
42254 #define HAVE_PTHREAD_MUTEXATTR_T 1
42255 _ACEOF
42256
42257
42258 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42259 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42260 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 else
42263
42264 cat >conftest.$ac_ext <<_ACEOF
42265 /* confdefs.h. */
42266 _ACEOF
42267 cat confdefs.h >>conftest.$ac_ext
42268 cat >>conftest.$ac_ext <<_ACEOF
42269 /* end confdefs.h. */
42270 #include <pthread.h>
42271 int
42272 main ()
42273 {
42274
42275 pthread_mutexattr_t attr;
42276 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42277
42278 ;
42279 return 0;
42280 }
42281 _ACEOF
42282 rm -f conftest.$ac_objext
42283 if { (ac_try="$ac_compile"
42284 case "(($ac_try" in
42285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42286 *) ac_try_echo=$ac_try;;
42287 esac
42288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42289 (eval "$ac_compile") 2>conftest.er1
42290 ac_status=$?
42291 grep -v '^ *+' conftest.er1 >conftest.err
42292 rm -f conftest.er1
42293 cat conftest.err >&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); } && {
42296 test -z "$ac_c_werror_flag" ||
42297 test ! -s conftest.err
42298 } && test -s conftest.$ac_objext; then
42299 wx_cv_func_pthread_mutexattr_settype_decl=yes
42300 else
42301 echo "$as_me: failed program was:" >&5
42302 sed 's/^/| /' conftest.$ac_ext >&5
42303
42304 wx_cv_func_pthread_mutexattr_settype_decl=no
42305
42306 fi
42307
42308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42309
42310 fi
42311 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42312 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42313 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42314 cat >>confdefs.h <<\_ACEOF
42315 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42316 _ACEOF
42317
42318 fi
42319 else
42320 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42321 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42322 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42323 echo $ECHO_N "(cached) $ECHO_C" >&6
42324 else
42325
42326 cat >conftest.$ac_ext <<_ACEOF
42327 /* confdefs.h. */
42328 _ACEOF
42329 cat confdefs.h >>conftest.$ac_ext
42330 cat >>conftest.$ac_ext <<_ACEOF
42331 /* end confdefs.h. */
42332 #include <pthread.h>
42333 int
42334 main ()
42335 {
42336
42337 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42338
42339 ;
42340 return 0;
42341 }
42342 _ACEOF
42343 rm -f conftest.$ac_objext
42344 if { (ac_try="$ac_compile"
42345 case "(($ac_try" in
42346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42347 *) ac_try_echo=$ac_try;;
42348 esac
42349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42350 (eval "$ac_compile") 2>conftest.er1
42351 ac_status=$?
42352 grep -v '^ *+' conftest.er1 >conftest.err
42353 rm -f conftest.er1
42354 cat conftest.err >&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); } && {
42357 test -z "$ac_c_werror_flag" ||
42358 test ! -s conftest.err
42359 } && test -s conftest.$ac_objext; then
42360
42361 wx_cv_type_pthread_rec_mutex_init=yes
42362
42363 else
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.$ac_ext >&5
42366
42367
42368 wx_cv_type_pthread_rec_mutex_init=no
42369
42370
42371 fi
42372
42373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42374
42375 fi
42376 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42377 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42378 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42379 cat >>confdefs.h <<\_ACEOF
42380 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42381 _ACEOF
42382
42383 else
42384 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42385 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42386 fi
42387 fi
42388 fi
42389
42390 else
42391 if test "$wxUSE_THREADS" = "yes" ; then
42392 case "${host}" in
42393 *-*-mingw32* )
42394 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42395 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42396 if test "${wx_cv_cflags_mthread+set}" = set; then
42397 echo $ECHO_N "(cached) $ECHO_C" >&6
42398 else
42399
42400 CFLAGS_OLD="$CFLAGS"
42401 CFLAGS="-mthreads $CFLAGS"
42402 cat >conftest.$ac_ext <<_ACEOF
42403 /* confdefs.h. */
42404 _ACEOF
42405 cat confdefs.h >>conftest.$ac_ext
42406 cat >>conftest.$ac_ext <<_ACEOF
42407 /* end confdefs.h. */
42408
42409 int
42410 main ()
42411 {
42412
42413 ;
42414 return 0;
42415 }
42416 _ACEOF
42417 rm -f conftest.$ac_objext
42418 if { (ac_try="$ac_compile"
42419 case "(($ac_try" in
42420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42421 *) ac_try_echo=$ac_try;;
42422 esac
42423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42424 (eval "$ac_compile") 2>conftest.er1
42425 ac_status=$?
42426 grep -v '^ *+' conftest.er1 >conftest.err
42427 rm -f conftest.er1
42428 cat conftest.err >&5
42429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42430 (exit $ac_status); } && {
42431 test -z "$ac_c_werror_flag" ||
42432 test ! -s conftest.err
42433 } && test -s conftest.$ac_objext; then
42434 wx_cv_cflags_mthread=yes
42435 else
42436 echo "$as_me: failed program was:" >&5
42437 sed 's/^/| /' conftest.$ac_ext >&5
42438
42439 wx_cv_cflags_mthread=no
42440
42441 fi
42442
42443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42444
42445
42446 fi
42447 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42448 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42449
42450 if test "$wx_cv_cflags_mthread" = "yes"; then
42451 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42452 LDFLAGS="$LDFLAGS -mthreads"
42453 else
42454 CFLAGS="$CFLAGS_OLD"
42455 fi
42456 ;;
42457 *-pc-os2*emx )
42458 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42459 LDFLAGS="$LDFLAGS -Zmt"
42460 ;;
42461 esac
42462 fi
42463 fi
42464
42465 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42466 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42467 if test "${ac_cv_func_localtime_r+set}" = set; then
42468 echo $ECHO_N "(cached) $ECHO_C" >&6
42469 else
42470 cat >conftest.$ac_ext <<_ACEOF
42471 /* confdefs.h. */
42472 _ACEOF
42473 cat confdefs.h >>conftest.$ac_ext
42474 cat >>conftest.$ac_ext <<_ACEOF
42475 /* end confdefs.h. */
42476 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42478 #define localtime_r innocuous_localtime_r
42479
42480 /* System header to define __stub macros and hopefully few prototypes,
42481 which can conflict with char localtime_r (); below.
42482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42483 <limits.h> exists even on freestanding compilers. */
42484
42485 #ifdef __STDC__
42486 # include <limits.h>
42487 #else
42488 # include <assert.h>
42489 #endif
42490
42491 #undef localtime_r
42492
42493 /* Override any GCC internal prototype to avoid an error.
42494 Use char because int might match the return type of a GCC
42495 builtin and then its argument prototype would still apply. */
42496 #ifdef __cplusplus
42497 extern "C"
42498 #endif
42499 char localtime_r ();
42500 /* The GNU C library defines this for functions which it implements
42501 to always fail with ENOSYS. Some functions are actually named
42502 something starting with __ and the normal name is an alias. */
42503 #if defined __stub_localtime_r || defined __stub___localtime_r
42504 choke me
42505 #endif
42506
42507 int
42508 main ()
42509 {
42510 return localtime_r ();
42511 ;
42512 return 0;
42513 }
42514 _ACEOF
42515 rm -f conftest.$ac_objext conftest$ac_exeext
42516 if { (ac_try="$ac_link"
42517 case "(($ac_try" in
42518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42519 *) ac_try_echo=$ac_try;;
42520 esac
42521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42522 (eval "$ac_link") 2>conftest.er1
42523 ac_status=$?
42524 grep -v '^ *+' conftest.er1 >conftest.err
42525 rm -f conftest.er1
42526 cat conftest.err >&5
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } && {
42529 test -z "$ac_c_werror_flag" ||
42530 test ! -s conftest.err
42531 } && test -s conftest$ac_exeext &&
42532 $as_test_x conftest$ac_exeext; then
42533 ac_cv_func_localtime_r=yes
42534 else
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.$ac_ext >&5
42537
42538 ac_cv_func_localtime_r=no
42539 fi
42540
42541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42542 conftest$ac_exeext conftest.$ac_ext
42543 fi
42544 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42545 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42546 if test $ac_cv_func_localtime_r = yes; then
42547 cat >>confdefs.h <<\_ACEOF
42548 #define HAVE_LOCALTIME_R 1
42549 _ACEOF
42550
42551 fi
42552
42553 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42554 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42555 if test "${ac_cv_func_gmtime_r+set}" = set; then
42556 echo $ECHO_N "(cached) $ECHO_C" >&6
42557 else
42558 cat >conftest.$ac_ext <<_ACEOF
42559 /* confdefs.h. */
42560 _ACEOF
42561 cat confdefs.h >>conftest.$ac_ext
42562 cat >>conftest.$ac_ext <<_ACEOF
42563 /* end confdefs.h. */
42564 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42566 #define gmtime_r innocuous_gmtime_r
42567
42568 /* System header to define __stub macros and hopefully few prototypes,
42569 which can conflict with char gmtime_r (); below.
42570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42571 <limits.h> exists even on freestanding compilers. */
42572
42573 #ifdef __STDC__
42574 # include <limits.h>
42575 #else
42576 # include <assert.h>
42577 #endif
42578
42579 #undef gmtime_r
42580
42581 /* Override any GCC internal prototype to avoid an error.
42582 Use char because int might match the return type of a GCC
42583 builtin and then its argument prototype would still apply. */
42584 #ifdef __cplusplus
42585 extern "C"
42586 #endif
42587 char gmtime_r ();
42588 /* The GNU C library defines this for functions which it implements
42589 to always fail with ENOSYS. Some functions are actually named
42590 something starting with __ and the normal name is an alias. */
42591 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42592 choke me
42593 #endif
42594
42595 int
42596 main ()
42597 {
42598 return gmtime_r ();
42599 ;
42600 return 0;
42601 }
42602 _ACEOF
42603 rm -f conftest.$ac_objext conftest$ac_exeext
42604 if { (ac_try="$ac_link"
42605 case "(($ac_try" in
42606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42607 *) ac_try_echo=$ac_try;;
42608 esac
42609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42610 (eval "$ac_link") 2>conftest.er1
42611 ac_status=$?
42612 grep -v '^ *+' conftest.er1 >conftest.err
42613 rm -f conftest.er1
42614 cat conftest.err >&5
42615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42616 (exit $ac_status); } && {
42617 test -z "$ac_c_werror_flag" ||
42618 test ! -s conftest.err
42619 } && test -s conftest$ac_exeext &&
42620 $as_test_x conftest$ac_exeext; then
42621 ac_cv_func_gmtime_r=yes
42622 else
42623 echo "$as_me: failed program was:" >&5
42624 sed 's/^/| /' conftest.$ac_ext >&5
42625
42626 ac_cv_func_gmtime_r=no
42627 fi
42628
42629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42630 conftest$ac_exeext conftest.$ac_ext
42631 fi
42632 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42633 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42634 if test $ac_cv_func_gmtime_r = yes; then
42635 cat >>confdefs.h <<\_ACEOF
42636 #define HAVE_GMTIME_R 1
42637 _ACEOF
42638
42639 fi
42640
42641 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42642 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42643 if test "${ac_cv_func_readdir_r+set}" = set; then
42644 echo $ECHO_N "(cached) $ECHO_C" >&6
42645 else
42646 cat >conftest.$ac_ext <<_ACEOF
42647 /* confdefs.h. */
42648 _ACEOF
42649 cat confdefs.h >>conftest.$ac_ext
42650 cat >>conftest.$ac_ext <<_ACEOF
42651 /* end confdefs.h. */
42652 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42654 #define readdir_r innocuous_readdir_r
42655
42656 /* System header to define __stub macros and hopefully few prototypes,
42657 which can conflict with char readdir_r (); below.
42658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42659 <limits.h> exists even on freestanding compilers. */
42660
42661 #ifdef __STDC__
42662 # include <limits.h>
42663 #else
42664 # include <assert.h>
42665 #endif
42666
42667 #undef readdir_r
42668
42669 /* Override any GCC internal prototype to avoid an error.
42670 Use char because int might match the return type of a GCC
42671 builtin and then its argument prototype would still apply. */
42672 #ifdef __cplusplus
42673 extern "C"
42674 #endif
42675 char readdir_r ();
42676 /* The GNU C library defines this for functions which it implements
42677 to always fail with ENOSYS. Some functions are actually named
42678 something starting with __ and the normal name is an alias. */
42679 #if defined __stub_readdir_r || defined __stub___readdir_r
42680 choke me
42681 #endif
42682
42683 int
42684 main ()
42685 {
42686 return readdir_r ();
42687 ;
42688 return 0;
42689 }
42690 _ACEOF
42691 rm -f conftest.$ac_objext conftest$ac_exeext
42692 if { (ac_try="$ac_link"
42693 case "(($ac_try" in
42694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42695 *) ac_try_echo=$ac_try;;
42696 esac
42697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42698 (eval "$ac_link") 2>conftest.er1
42699 ac_status=$?
42700 grep -v '^ *+' conftest.er1 >conftest.err
42701 rm -f conftest.er1
42702 cat conftest.err >&5
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); } && {
42705 test -z "$ac_c_werror_flag" ||
42706 test ! -s conftest.err
42707 } && test -s conftest$ac_exeext &&
42708 $as_test_x conftest$ac_exeext; then
42709 ac_cv_func_readdir_r=yes
42710 else
42711 echo "$as_me: failed program was:" >&5
42712 sed 's/^/| /' conftest.$ac_ext >&5
42713
42714 ac_cv_func_readdir_r=no
42715 fi
42716
42717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42718 conftest$ac_exeext conftest.$ac_ext
42719 fi
42720 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42721 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42722 if test $ac_cv_func_readdir_r = yes; then
42723 cat >>confdefs.h <<\_ACEOF
42724 #define HAVE_READDIR_R 1
42725 _ACEOF
42726
42727 fi
42728
42729
42730
42731
42732 ac_ext=c
42733 ac_cpp='$CPP $CPPFLAGS'
42734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42737
42738 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42739 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42740
42741 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42742 echo $ECHO_N "(cached) $ECHO_C" >&6
42743 else
42744
42745
42746 ################################################################
42747
42748 ac_cv_func_which_gethostbyname_r=unknown
42749
42750 #
42751 # ONE ARGUMENT (sanity check)
42752 #
42753
42754 # This should fail, as there is no variant of gethostbyname_r() that takes
42755 # a single argument. If it actually compiles, then we can assume that
42756 # netdb.h is not declaring the function, and the compiler is thereby
42757 # assuming an implicit prototype. In which case, we're out of luck.
42758 #
42759 cat >conftest.$ac_ext <<_ACEOF
42760 /* confdefs.h. */
42761 _ACEOF
42762 cat confdefs.h >>conftest.$ac_ext
42763 cat >>conftest.$ac_ext <<_ACEOF
42764 /* end confdefs.h. */
42765 #include <netdb.h>
42766 int
42767 main ()
42768 {
42769
42770 char *name = "www.gnu.org";
42771 (void)gethostbyname_r(name) /* ; */
42772
42773 ;
42774 return 0;
42775 }
42776 _ACEOF
42777 rm -f conftest.$ac_objext
42778 if { (ac_try="$ac_compile"
42779 case "(($ac_try" in
42780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42781 *) ac_try_echo=$ac_try;;
42782 esac
42783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42784 (eval "$ac_compile") 2>conftest.er1
42785 ac_status=$?
42786 grep -v '^ *+' conftest.er1 >conftest.err
42787 rm -f conftest.er1
42788 cat conftest.err >&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); } && {
42791 test -z "$ac_c_werror_flag" ||
42792 test ! -s conftest.err
42793 } && test -s conftest.$ac_objext; then
42794 ac_cv_func_which_gethostbyname_r=no
42795 else
42796 echo "$as_me: failed program was:" >&5
42797 sed 's/^/| /' conftest.$ac_ext >&5
42798
42799
42800 fi
42801
42802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42803
42804 #
42805 # SIX ARGUMENTS
42806 # (e.g. Linux)
42807 #
42808
42809 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42810
42811 cat >conftest.$ac_ext <<_ACEOF
42812 /* confdefs.h. */
42813 _ACEOF
42814 cat confdefs.h >>conftest.$ac_ext
42815 cat >>conftest.$ac_ext <<_ACEOF
42816 /* end confdefs.h. */
42817 #include <netdb.h>
42818 int
42819 main ()
42820 {
42821
42822 char *name = "www.gnu.org";
42823 struct hostent ret, *retp;
42824 char buf[1024];
42825 int buflen = 1024;
42826 int my_h_errno;
42827 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42828
42829 ;
42830 return 0;
42831 }
42832 _ACEOF
42833 rm -f conftest.$ac_objext
42834 if { (ac_try="$ac_compile"
42835 case "(($ac_try" in
42836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42837 *) ac_try_echo=$ac_try;;
42838 esac
42839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42840 (eval "$ac_compile") 2>conftest.er1
42841 ac_status=$?
42842 grep -v '^ *+' conftest.er1 >conftest.err
42843 rm -f conftest.er1
42844 cat conftest.err >&5
42845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42846 (exit $ac_status); } && {
42847 test -z "$ac_c_werror_flag" ||
42848 test ! -s conftest.err
42849 } && test -s conftest.$ac_objext; then
42850 ac_cv_func_which_gethostbyname_r=six
42851 else
42852 echo "$as_me: failed program was:" >&5
42853 sed 's/^/| /' conftest.$ac_ext >&5
42854
42855
42856 fi
42857
42858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42859
42860 fi
42861
42862 #
42863 # FIVE ARGUMENTS
42864 # (e.g. Solaris)
42865 #
42866
42867 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42868
42869 cat >conftest.$ac_ext <<_ACEOF
42870 /* confdefs.h. */
42871 _ACEOF
42872 cat confdefs.h >>conftest.$ac_ext
42873 cat >>conftest.$ac_ext <<_ACEOF
42874 /* end confdefs.h. */
42875 #include <netdb.h>
42876 int
42877 main ()
42878 {
42879
42880 char *name = "www.gnu.org";
42881 struct hostent ret;
42882 char buf[1024];
42883 int buflen = 1024;
42884 int my_h_errno;
42885 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42886
42887 ;
42888 return 0;
42889 }
42890 _ACEOF
42891 rm -f conftest.$ac_objext
42892 if { (ac_try="$ac_compile"
42893 case "(($ac_try" in
42894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42895 *) ac_try_echo=$ac_try;;
42896 esac
42897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42898 (eval "$ac_compile") 2>conftest.er1
42899 ac_status=$?
42900 grep -v '^ *+' conftest.er1 >conftest.err
42901 rm -f conftest.er1
42902 cat conftest.err >&5
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); } && {
42905 test -z "$ac_c_werror_flag" ||
42906 test ! -s conftest.err
42907 } && test -s conftest.$ac_objext; then
42908 ac_cv_func_which_gethostbyname_r=five
42909 else
42910 echo "$as_me: failed program was:" >&5
42911 sed 's/^/| /' conftest.$ac_ext >&5
42912
42913
42914 fi
42915
42916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42917
42918 fi
42919
42920 #
42921 # THREE ARGUMENTS
42922 # (e.g. AIX, HP-UX, Tru64)
42923 #
42924
42925 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42926
42927 cat >conftest.$ac_ext <<_ACEOF
42928 /* confdefs.h. */
42929 _ACEOF
42930 cat confdefs.h >>conftest.$ac_ext
42931 cat >>conftest.$ac_ext <<_ACEOF
42932 /* end confdefs.h. */
42933 #include <netdb.h>
42934 int
42935 main ()
42936 {
42937
42938 char *name = "www.gnu.org";
42939 struct hostent ret;
42940 struct hostent_data data;
42941 (void)gethostbyname_r(name, &ret, &data) /* ; */
42942
42943 ;
42944 return 0;
42945 }
42946 _ACEOF
42947 rm -f conftest.$ac_objext
42948 if { (ac_try="$ac_compile"
42949 case "(($ac_try" in
42950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42951 *) ac_try_echo=$ac_try;;
42952 esac
42953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42954 (eval "$ac_compile") 2>conftest.er1
42955 ac_status=$?
42956 grep -v '^ *+' conftest.er1 >conftest.err
42957 rm -f conftest.er1
42958 cat conftest.err >&5
42959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960 (exit $ac_status); } && {
42961 test -z "$ac_c_werror_flag" ||
42962 test ! -s conftest.err
42963 } && test -s conftest.$ac_objext; then
42964 ac_cv_func_which_gethostbyname_r=three
42965 else
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.$ac_ext >&5
42968
42969
42970 fi
42971
42972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42973
42974 fi
42975
42976 ################################################################
42977
42978
42979 fi
42980
42981 case "$ac_cv_func_which_gethostbyname_r" in
42982 three)
42983 { echo "$as_me:$LINENO: result: three" >&5
42984 echo "${ECHO_T}three" >&6; }
42985 cat >>confdefs.h <<\_ACEOF
42986 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42987 _ACEOF
42988
42989 ;;
42990
42991 five)
42992 { echo "$as_me:$LINENO: result: five" >&5
42993 echo "${ECHO_T}five" >&6; }
42994 cat >>confdefs.h <<\_ACEOF
42995 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42996 _ACEOF
42997
42998 ;;
42999
43000 six)
43001 { echo "$as_me:$LINENO: result: six" >&5
43002 echo "${ECHO_T}six" >&6; }
43003 cat >>confdefs.h <<\_ACEOF
43004 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43005 _ACEOF
43006
43007 ;;
43008
43009 no)
43010 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43011 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43012 ;;
43013
43014 unknown)
43015 { echo "$as_me:$LINENO: result: can't tell" >&5
43016 echo "${ECHO_T}can't tell" >&6; }
43017 ;;
43018
43019 *)
43020 { { echo "$as_me:$LINENO: error: internal error" >&5
43021 echo "$as_me: error: internal error" >&2;}
43022 { (exit 1); exit 1; }; }
43023 ;;
43024 esac
43025
43026 ac_ext=c
43027 ac_cpp='$CPP $CPPFLAGS'
43028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43031
43032
43033
43034 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43035 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43036 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43037 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43038 if test "${ac_cv_func_gethostbyname+set}" = set; then
43039 echo $ECHO_N "(cached) $ECHO_C" >&6
43040 else
43041 cat >conftest.$ac_ext <<_ACEOF
43042 /* confdefs.h. */
43043 _ACEOF
43044 cat confdefs.h >>conftest.$ac_ext
43045 cat >>conftest.$ac_ext <<_ACEOF
43046 /* end confdefs.h. */
43047 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43049 #define gethostbyname innocuous_gethostbyname
43050
43051 /* System header to define __stub macros and hopefully few prototypes,
43052 which can conflict with char gethostbyname (); below.
43053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43054 <limits.h> exists even on freestanding compilers. */
43055
43056 #ifdef __STDC__
43057 # include <limits.h>
43058 #else
43059 # include <assert.h>
43060 #endif
43061
43062 #undef gethostbyname
43063
43064 /* Override any GCC internal prototype to avoid an error.
43065 Use char because int might match the return type of a GCC
43066 builtin and then its argument prototype would still apply. */
43067 #ifdef __cplusplus
43068 extern "C"
43069 #endif
43070 char gethostbyname ();
43071 /* The GNU C library defines this for functions which it implements
43072 to always fail with ENOSYS. Some functions are actually named
43073 something starting with __ and the normal name is an alias. */
43074 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43075 choke me
43076 #endif
43077
43078 int
43079 main ()
43080 {
43081 return gethostbyname ();
43082 ;
43083 return 0;
43084 }
43085 _ACEOF
43086 rm -f conftest.$ac_objext conftest$ac_exeext
43087 if { (ac_try="$ac_link"
43088 case "(($ac_try" in
43089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43090 *) ac_try_echo=$ac_try;;
43091 esac
43092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43093 (eval "$ac_link") 2>conftest.er1
43094 ac_status=$?
43095 grep -v '^ *+' conftest.er1 >conftest.err
43096 rm -f conftest.er1
43097 cat conftest.err >&5
43098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43099 (exit $ac_status); } && {
43100 test -z "$ac_c_werror_flag" ||
43101 test ! -s conftest.err
43102 } && test -s conftest$ac_exeext &&
43103 $as_test_x conftest$ac_exeext; then
43104 ac_cv_func_gethostbyname=yes
43105 else
43106 echo "$as_me: failed program was:" >&5
43107 sed 's/^/| /' conftest.$ac_ext >&5
43108
43109 ac_cv_func_gethostbyname=no
43110 fi
43111
43112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43113 conftest$ac_exeext conftest.$ac_ext
43114 fi
43115 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43116 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43117 if test $ac_cv_func_gethostbyname = yes; then
43118 cat >>confdefs.h <<\_ACEOF
43119 #define HAVE_GETHOSTBYNAME 1
43120 _ACEOF
43121
43122 fi
43123
43124 fi
43125
43126 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43127 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43128 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43129 echo $ECHO_N "(cached) $ECHO_C" >&6
43130 else
43131
43132 ac_ext=cpp
43133 ac_cpp='$CXXCPP $CPPFLAGS'
43134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43137
43138
43139 cat >conftest.$ac_ext <<_ACEOF
43140 /* confdefs.h. */
43141 _ACEOF
43142 cat confdefs.h >>conftest.$ac_ext
43143 cat >>conftest.$ac_ext <<_ACEOF
43144 /* end confdefs.h. */
43145 #include <netdb.h>
43146 int
43147 main ()
43148 {
43149
43150 char *name;
43151 char *proto;
43152 struct servent *se, *res;
43153 char buffer[2048];
43154 int buflen = 2048;
43155 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43156
43157 ;
43158 return 0;
43159 }
43160 _ACEOF
43161 rm -f conftest.$ac_objext
43162 if { (ac_try="$ac_compile"
43163 case "(($ac_try" in
43164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43165 *) ac_try_echo=$ac_try;;
43166 esac
43167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43168 (eval "$ac_compile") 2>conftest.er1
43169 ac_status=$?
43170 grep -v '^ *+' conftest.er1 >conftest.err
43171 rm -f conftest.er1
43172 cat conftest.err >&5
43173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174 (exit $ac_status); } && {
43175 test -z "$ac_cxx_werror_flag" ||
43176 test ! -s conftest.err
43177 } && test -s conftest.$ac_objext; then
43178 ac_cv_func_which_getservbyname_r=six
43179 else
43180 echo "$as_me: failed program was:" >&5
43181 sed 's/^/| /' conftest.$ac_ext >&5
43182
43183
43184 cat >conftest.$ac_ext <<_ACEOF
43185 /* confdefs.h. */
43186 _ACEOF
43187 cat confdefs.h >>conftest.$ac_ext
43188 cat >>conftest.$ac_ext <<_ACEOF
43189 /* end confdefs.h. */
43190 #include <netdb.h>
43191 int
43192 main ()
43193 {
43194
43195 char *name;
43196 char *proto;
43197 struct servent *se;
43198 char buffer[2048];
43199 int buflen = 2048;
43200 (void) getservbyname_r(name, proto, se, buffer, buflen)
43201
43202 ;
43203 return 0;
43204 }
43205 _ACEOF
43206 rm -f conftest.$ac_objext
43207 if { (ac_try="$ac_compile"
43208 case "(($ac_try" in
43209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43210 *) ac_try_echo=$ac_try;;
43211 esac
43212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43213 (eval "$ac_compile") 2>conftest.er1
43214 ac_status=$?
43215 grep -v '^ *+' conftest.er1 >conftest.err
43216 rm -f conftest.er1
43217 cat conftest.err >&5
43218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43219 (exit $ac_status); } && {
43220 test -z "$ac_cxx_werror_flag" ||
43221 test ! -s conftest.err
43222 } && test -s conftest.$ac_objext; then
43223 ac_cv_func_which_getservbyname_r=five
43224 else
43225 echo "$as_me: failed program was:" >&5
43226 sed 's/^/| /' conftest.$ac_ext >&5
43227
43228
43229 cat >conftest.$ac_ext <<_ACEOF
43230 /* confdefs.h. */
43231 _ACEOF
43232 cat confdefs.h >>conftest.$ac_ext
43233 cat >>conftest.$ac_ext <<_ACEOF
43234 /* end confdefs.h. */
43235 #include <netdb.h>
43236 int
43237 main ()
43238 {
43239
43240 char *name;
43241 char *proto;
43242 struct servent *se;
43243 struct servent_data data;
43244 (void) getservbyname_r(name, proto, se, &data);
43245
43246 ;
43247 return 0;
43248 }
43249 _ACEOF
43250 rm -f conftest.$ac_objext
43251 if { (ac_try="$ac_compile"
43252 case "(($ac_try" in
43253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43254 *) ac_try_echo=$ac_try;;
43255 esac
43256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43257 (eval "$ac_compile") 2>conftest.er1
43258 ac_status=$?
43259 grep -v '^ *+' conftest.er1 >conftest.err
43260 rm -f conftest.er1
43261 cat conftest.err >&5
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); } && {
43264 test -z "$ac_cxx_werror_flag" ||
43265 test ! -s conftest.err
43266 } && test -s conftest.$ac_objext; then
43267 ac_cv_func_which_getservbyname_r=four
43268 else
43269 echo "$as_me: failed program was:" >&5
43270 sed 's/^/| /' conftest.$ac_ext >&5
43271
43272 ac_cv_func_which_getservbyname_r=no
43273
43274 fi
43275
43276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43277
43278
43279 fi
43280
43281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43282
43283
43284 fi
43285
43286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43287 ac_ext=c
43288 ac_cpp='$CPP $CPPFLAGS'
43289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43292
43293
43294
43295 fi
43296 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43297 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43298
43299 if test $ac_cv_func_which_getservbyname_r = six; then
43300 cat >>confdefs.h <<\_ACEOF
43301 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43302 _ACEOF
43303
43304 elif test $ac_cv_func_which_getservbyname_r = five; then
43305 cat >>confdefs.h <<\_ACEOF
43306 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43307 _ACEOF
43308
43309 elif test $ac_cv_func_which_getservbyname_r = four; then
43310 cat >>confdefs.h <<\_ACEOF
43311 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43312 _ACEOF
43313
43314 fi
43315
43316
43317 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43318 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43319
43320 for ac_func in getservbyname
43321 do
43322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43326 echo $ECHO_N "(cached) $ECHO_C" >&6
43327 else
43328 cat >conftest.$ac_ext <<_ACEOF
43329 /* confdefs.h. */
43330 _ACEOF
43331 cat confdefs.h >>conftest.$ac_ext
43332 cat >>conftest.$ac_ext <<_ACEOF
43333 /* end confdefs.h. */
43334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43336 #define $ac_func innocuous_$ac_func
43337
43338 /* System header to define __stub macros and hopefully few prototypes,
43339 which can conflict with char $ac_func (); below.
43340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43341 <limits.h> exists even on freestanding compilers. */
43342
43343 #ifdef __STDC__
43344 # include <limits.h>
43345 #else
43346 # include <assert.h>
43347 #endif
43348
43349 #undef $ac_func
43350
43351 /* Override any GCC internal prototype to avoid an error.
43352 Use char because int might match the return type of a GCC
43353 builtin and then its argument prototype would still apply. */
43354 #ifdef __cplusplus
43355 extern "C"
43356 #endif
43357 char $ac_func ();
43358 /* The GNU C library defines this for functions which it implements
43359 to always fail with ENOSYS. Some functions are actually named
43360 something starting with __ and the normal name is an alias. */
43361 #if defined __stub_$ac_func || defined __stub___$ac_func
43362 choke me
43363 #endif
43364
43365 int
43366 main ()
43367 {
43368 return $ac_func ();
43369 ;
43370 return 0;
43371 }
43372 _ACEOF
43373 rm -f conftest.$ac_objext conftest$ac_exeext
43374 if { (ac_try="$ac_link"
43375 case "(($ac_try" in
43376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43377 *) ac_try_echo=$ac_try;;
43378 esac
43379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43380 (eval "$ac_link") 2>conftest.er1
43381 ac_status=$?
43382 grep -v '^ *+' conftest.er1 >conftest.err
43383 rm -f conftest.er1
43384 cat conftest.err >&5
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); } && {
43387 test -z "$ac_c_werror_flag" ||
43388 test ! -s conftest.err
43389 } && test -s conftest$ac_exeext &&
43390 $as_test_x conftest$ac_exeext; then
43391 eval "$as_ac_var=yes"
43392 else
43393 echo "$as_me: failed program was:" >&5
43394 sed 's/^/| /' conftest.$ac_ext >&5
43395
43396 eval "$as_ac_var=no"
43397 fi
43398
43399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43400 conftest$ac_exeext conftest.$ac_ext
43401 fi
43402 ac_res=`eval echo '${'$as_ac_var'}'`
43403 { echo "$as_me:$LINENO: result: $ac_res" >&5
43404 echo "${ECHO_T}$ac_res" >&6; }
43405 if test `eval echo '${'$as_ac_var'}'` = yes; then
43406 cat >>confdefs.h <<_ACEOF
43407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43408 _ACEOF
43409 cat >>confdefs.h <<\_ACEOF
43410 #define HAVE_GETSERVBYNAME 1
43411 _ACEOF
43412
43413 fi
43414 done
43415
43416 fi
43417
43418 if test "$wxUSE_THREADS" = "yes"; then
43419 cat >>confdefs.h <<\_ACEOF
43420 #define wxUSE_THREADS 1
43421 _ACEOF
43422
43423
43424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43425 else
43426 if test "$wx_cv_func_strtok_r" = "yes"; then
43427 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43428 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43429 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43430 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43431 { echo "$as_me:$LINENO: result: yes" >&5
43432 echo "${ECHO_T}yes" >&6; }
43433 else
43434 { echo "$as_me:$LINENO: result: no" >&5
43435 echo "${ECHO_T}no" >&6; }
43436 fi
43437 fi
43438 fi
43439
43440 if test "$WXGTK20" = 1 ; then
43441 cat >>confdefs.h <<_ACEOF
43442 #define __WXGTK20__ $WXGTK20
43443 _ACEOF
43444
43445 WXGTK12=1
43446 fi
43447
43448 if test "$WXGTK12" = 1 ; then
43449 cat >>confdefs.h <<_ACEOF
43450 #define __WXGTK12__ $WXGTK12
43451 _ACEOF
43452
43453 fi
43454
43455 if test "$WXGTK127" = 1 ; then
43456 cat >>confdefs.h <<_ACEOF
43457 #define __WXGTK127__ $WXGTK127
43458 _ACEOF
43459
43460 fi
43461
43462 if test "$WXGPE" = 1 ; then
43463 cat >>confdefs.h <<_ACEOF
43464 #define __WXGPE__ $WXGPE
43465 _ACEOF
43466
43467 fi
43468
43469 DEBUG_CFLAGS=
43470 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43471 DEBUG_CFLAGS="-g"
43472 wxUSE_OPTIMISE=no
43473 fi
43474
43475 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43476 wxUSE_DEBUG_INFO=yes
43477 if test "$GCC" = yes; then
43478 DEBUG_CFLAGS="-ggdb"
43479 fi
43480 fi
43481
43482 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define WXDEBUG 1
43485 _ACEOF
43486
43487 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43488 else
43489 if test "$wxUSE_GTK" = 1 ; then
43490 if test "x$wxGTK_VERSION" = "x1" ; then
43491 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43492 fi
43493 fi
43494 fi
43495
43496 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_MEMORY_TRACING 1
43499 _ACEOF
43500
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43503 _ACEOF
43504
43505 cat >>confdefs.h <<\_ACEOF
43506 #define wxUSE_DEBUG_NEW_ALWAYS 1
43507 _ACEOF
43508
43509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43510 fi
43511
43512 if test "$wxUSE_DMALLOC" = "yes" ; then
43513 DMALLOC_LIBS="-ldmallocthcxx"
43514 fi
43515
43516 PROFILE_FLAGS=
43517 if test "$wxUSE_PROFILE" = "yes" ; then
43518 PROFILE_FLAGS=" -pg"
43519 fi
43520
43521 if test "$GCC" = "yes" ; then
43522 if test "$wxUSE_NO_RTTI" = "yes" ; then
43523 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43524 fi
43525 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43526 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43527 fi
43528 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43529 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43530 fi
43531
43532 case "${host}" in
43533 powerpc*-*-aix* )
43534 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43535 ;;
43536 *-hppa* )
43537 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43538 ;;
43539 esac
43540 fi
43541
43542 OPTIMISE_CFLAGS=
43543 if test "$wxUSE_OPTIMISE" = "no" ; then
43544 if test "$GCC" = yes ; then
43545 OPTIMISE_CFLAGS="-O0"
43546 fi
43547 else
43548 if test "$GCC" = yes ; then
43549 case "${host}" in
43550 *-pc-os2_emx | *-pc-os2-emx )
43551 OPTIMISE_CFLAGS="-O2"
43552 ;;
43553 *)
43554 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43555 ;;
43556 esac
43557 else
43558 OPTIMISE_CFLAGS="-O"
43559 fi
43560 fi
43561
43562
43563 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43564 cat >>confdefs.h <<\_ACEOF
43565 #define WXWIN_COMPATIBILITY_2_6 1
43566 _ACEOF
43567
43568
43569 WXWIN_COMPATIBILITY_2_8="yes"
43570 fi
43571
43572 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43573 cat >>confdefs.h <<\_ACEOF
43574 #define WXWIN_COMPATIBILITY_2_8 1
43575 _ACEOF
43576
43577 fi
43578
43579
43580 if test "$wxUSE_GUI" = "yes"; then
43581 cat >>confdefs.h <<\_ACEOF
43582 #define wxUSE_GUI 1
43583 _ACEOF
43584
43585
43586 fi
43587
43588
43589 if test "$wxUSE_UNIX" = "yes"; then
43590 cat >>confdefs.h <<\_ACEOF
43591 #define wxUSE_UNIX 1
43592 _ACEOF
43593
43594 fi
43595
43596
43597 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43598
43599 HAVE_DL_FUNCS=0
43600 HAVE_SHL_FUNCS=0
43601 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43602 if test "$USE_DARWIN" = 1; then
43603 HAVE_DL_FUNCS=1
43604 elif test "$USE_DOS" = 1; then
43605 HAVE_DL_FUNCS=0
43606 else
43607
43608 for ac_func in dlopen
43609 do
43610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43611 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43613 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43614 echo $ECHO_N "(cached) $ECHO_C" >&6
43615 else
43616 cat >conftest.$ac_ext <<_ACEOF
43617 /* confdefs.h. */
43618 _ACEOF
43619 cat confdefs.h >>conftest.$ac_ext
43620 cat >>conftest.$ac_ext <<_ACEOF
43621 /* end confdefs.h. */
43622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43624 #define $ac_func innocuous_$ac_func
43625
43626 /* System header to define __stub macros and hopefully few prototypes,
43627 which can conflict with char $ac_func (); below.
43628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43629 <limits.h> exists even on freestanding compilers. */
43630
43631 #ifdef __STDC__
43632 # include <limits.h>
43633 #else
43634 # include <assert.h>
43635 #endif
43636
43637 #undef $ac_func
43638
43639 /* Override any GCC internal prototype to avoid an error.
43640 Use char because int might match the return type of a GCC
43641 builtin and then its argument prototype would still apply. */
43642 #ifdef __cplusplus
43643 extern "C"
43644 #endif
43645 char $ac_func ();
43646 /* The GNU C library defines this for functions which it implements
43647 to always fail with ENOSYS. Some functions are actually named
43648 something starting with __ and the normal name is an alias. */
43649 #if defined __stub_$ac_func || defined __stub___$ac_func
43650 choke me
43651 #endif
43652
43653 int
43654 main ()
43655 {
43656 return $ac_func ();
43657 ;
43658 return 0;
43659 }
43660 _ACEOF
43661 rm -f conftest.$ac_objext conftest$ac_exeext
43662 if { (ac_try="$ac_link"
43663 case "(($ac_try" in
43664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43665 *) ac_try_echo=$ac_try;;
43666 esac
43667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43668 (eval "$ac_link") 2>conftest.er1
43669 ac_status=$?
43670 grep -v '^ *+' conftest.er1 >conftest.err
43671 rm -f conftest.er1
43672 cat conftest.err >&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); } && {
43675 test -z "$ac_c_werror_flag" ||
43676 test ! -s conftest.err
43677 } && test -s conftest$ac_exeext &&
43678 $as_test_x conftest$ac_exeext; then
43679 eval "$as_ac_var=yes"
43680 else
43681 echo "$as_me: failed program was:" >&5
43682 sed 's/^/| /' conftest.$ac_ext >&5
43683
43684 eval "$as_ac_var=no"
43685 fi
43686
43687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43688 conftest$ac_exeext conftest.$ac_ext
43689 fi
43690 ac_res=`eval echo '${'$as_ac_var'}'`
43691 { echo "$as_me:$LINENO: result: $ac_res" >&5
43692 echo "${ECHO_T}$ac_res" >&6; }
43693 if test `eval echo '${'$as_ac_var'}'` = yes; then
43694 cat >>confdefs.h <<_ACEOF
43695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43696 _ACEOF
43697
43698 cat >>confdefs.h <<\_ACEOF
43699 #define HAVE_DLOPEN 1
43700 _ACEOF
43701
43702 HAVE_DL_FUNCS=1
43703
43704 else
43705
43706 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43707 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43708 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43709 echo $ECHO_N "(cached) $ECHO_C" >&6
43710 else
43711 ac_check_lib_save_LIBS=$LIBS
43712 LIBS="-ldl $LIBS"
43713 cat >conftest.$ac_ext <<_ACEOF
43714 /* confdefs.h. */
43715 _ACEOF
43716 cat confdefs.h >>conftest.$ac_ext
43717 cat >>conftest.$ac_ext <<_ACEOF
43718 /* end confdefs.h. */
43719
43720 /* Override any GCC internal prototype to avoid an error.
43721 Use char because int might match the return type of a GCC
43722 builtin and then its argument prototype would still apply. */
43723 #ifdef __cplusplus
43724 extern "C"
43725 #endif
43726 char dlopen ();
43727 int
43728 main ()
43729 {
43730 return dlopen ();
43731 ;
43732 return 0;
43733 }
43734 _ACEOF
43735 rm -f conftest.$ac_objext conftest$ac_exeext
43736 if { (ac_try="$ac_link"
43737 case "(($ac_try" in
43738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43739 *) ac_try_echo=$ac_try;;
43740 esac
43741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43742 (eval "$ac_link") 2>conftest.er1
43743 ac_status=$?
43744 grep -v '^ *+' conftest.er1 >conftest.err
43745 rm -f conftest.er1
43746 cat conftest.err >&5
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); } && {
43749 test -z "$ac_c_werror_flag" ||
43750 test ! -s conftest.err
43751 } && test -s conftest$ac_exeext &&
43752 $as_test_x conftest$ac_exeext; then
43753 ac_cv_lib_dl_dlopen=yes
43754 else
43755 echo "$as_me: failed program was:" >&5
43756 sed 's/^/| /' conftest.$ac_ext >&5
43757
43758 ac_cv_lib_dl_dlopen=no
43759 fi
43760
43761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43762 conftest$ac_exeext conftest.$ac_ext
43763 LIBS=$ac_check_lib_save_LIBS
43764 fi
43765 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43766 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43767 if test $ac_cv_lib_dl_dlopen = yes; then
43768
43769 cat >>confdefs.h <<\_ACEOF
43770 #define HAVE_DLOPEN 1
43771 _ACEOF
43772
43773 HAVE_DL_FUNCS=1
43774 DL_LINK=" -ldl$DL_LINK"
43775
43776 else
43777
43778
43779 for ac_func in shl_load
43780 do
43781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43782 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43784 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43785 echo $ECHO_N "(cached) $ECHO_C" >&6
43786 else
43787 cat >conftest.$ac_ext <<_ACEOF
43788 /* confdefs.h. */
43789 _ACEOF
43790 cat confdefs.h >>conftest.$ac_ext
43791 cat >>conftest.$ac_ext <<_ACEOF
43792 /* end confdefs.h. */
43793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43795 #define $ac_func innocuous_$ac_func
43796
43797 /* System header to define __stub macros and hopefully few prototypes,
43798 which can conflict with char $ac_func (); below.
43799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43800 <limits.h> exists even on freestanding compilers. */
43801
43802 #ifdef __STDC__
43803 # include <limits.h>
43804 #else
43805 # include <assert.h>
43806 #endif
43807
43808 #undef $ac_func
43809
43810 /* Override any GCC internal prototype to avoid an error.
43811 Use char because int might match the return type of a GCC
43812 builtin and then its argument prototype would still apply. */
43813 #ifdef __cplusplus
43814 extern "C"
43815 #endif
43816 char $ac_func ();
43817 /* The GNU C library defines this for functions which it implements
43818 to always fail with ENOSYS. Some functions are actually named
43819 something starting with __ and the normal name is an alias. */
43820 #if defined __stub_$ac_func || defined __stub___$ac_func
43821 choke me
43822 #endif
43823
43824 int
43825 main ()
43826 {
43827 return $ac_func ();
43828 ;
43829 return 0;
43830 }
43831 _ACEOF
43832 rm -f conftest.$ac_objext conftest$ac_exeext
43833 if { (ac_try="$ac_link"
43834 case "(($ac_try" in
43835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43836 *) ac_try_echo=$ac_try;;
43837 esac
43838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43839 (eval "$ac_link") 2>conftest.er1
43840 ac_status=$?
43841 grep -v '^ *+' conftest.er1 >conftest.err
43842 rm -f conftest.er1
43843 cat conftest.err >&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } && {
43846 test -z "$ac_c_werror_flag" ||
43847 test ! -s conftest.err
43848 } && test -s conftest$ac_exeext &&
43849 $as_test_x conftest$ac_exeext; then
43850 eval "$as_ac_var=yes"
43851 else
43852 echo "$as_me: failed program was:" >&5
43853 sed 's/^/| /' conftest.$ac_ext >&5
43854
43855 eval "$as_ac_var=no"
43856 fi
43857
43858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43859 conftest$ac_exeext conftest.$ac_ext
43860 fi
43861 ac_res=`eval echo '${'$as_ac_var'}'`
43862 { echo "$as_me:$LINENO: result: $ac_res" >&5
43863 echo "${ECHO_T}$ac_res" >&6; }
43864 if test `eval echo '${'$as_ac_var'}'` = yes; then
43865 cat >>confdefs.h <<_ACEOF
43866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43867 _ACEOF
43868
43869 cat >>confdefs.h <<\_ACEOF
43870 #define HAVE_SHL_LOAD 1
43871 _ACEOF
43872
43873 HAVE_SHL_FUNCS=1
43874
43875 else
43876
43877 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43878 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43879 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43880 echo $ECHO_N "(cached) $ECHO_C" >&6
43881 else
43882 ac_check_lib_save_LIBS=$LIBS
43883 LIBS="-lshl_load $LIBS"
43884 cat >conftest.$ac_ext <<_ACEOF
43885 /* confdefs.h. */
43886 _ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43890
43891 /* Override any GCC internal prototype to avoid an error.
43892 Use char because int might match the return type of a GCC
43893 builtin and then its argument prototype would still apply. */
43894 #ifdef __cplusplus
43895 extern "C"
43896 #endif
43897 char dld ();
43898 int
43899 main ()
43900 {
43901 return dld ();
43902 ;
43903 return 0;
43904 }
43905 _ACEOF
43906 rm -f conftest.$ac_objext conftest$ac_exeext
43907 if { (ac_try="$ac_link"
43908 case "(($ac_try" in
43909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43911 esac
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_link") 2>conftest.er1
43914 ac_status=$?
43915 grep -v '^ *+' conftest.er1 >conftest.err
43916 rm -f conftest.er1
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_c_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest$ac_exeext &&
43923 $as_test_x conftest$ac_exeext; then
43924 ac_cv_lib_shl_load_dld=yes
43925 else
43926 echo "$as_me: failed program was:" >&5
43927 sed 's/^/| /' conftest.$ac_ext >&5
43928
43929 ac_cv_lib_shl_load_dld=no
43930 fi
43931
43932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43933 conftest$ac_exeext conftest.$ac_ext
43934 LIBS=$ac_check_lib_save_LIBS
43935 fi
43936 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43937 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43938 if test $ac_cv_lib_shl_load_dld = yes; then
43939
43940 HAVE_SHL_FUNCS=1
43941 DL_LINK=" -ldld$DL_LINK"
43942
43943 fi
43944
43945
43946 fi
43947 done
43948
43949
43950 fi
43951
43952
43953 fi
43954 done
43955
43956
43957 if test "$HAVE_DL_FUNCS" = 1; then
43958
43959 for ac_func in dlerror
43960 do
43961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43962 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43964 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43965 echo $ECHO_N "(cached) $ECHO_C" >&6
43966 else
43967 cat >conftest.$ac_ext <<_ACEOF
43968 /* confdefs.h. */
43969 _ACEOF
43970 cat confdefs.h >>conftest.$ac_ext
43971 cat >>conftest.$ac_ext <<_ACEOF
43972 /* end confdefs.h. */
43973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43975 #define $ac_func innocuous_$ac_func
43976
43977 /* System header to define __stub macros and hopefully few prototypes,
43978 which can conflict with char $ac_func (); below.
43979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43980 <limits.h> exists even on freestanding compilers. */
43981
43982 #ifdef __STDC__
43983 # include <limits.h>
43984 #else
43985 # include <assert.h>
43986 #endif
43987
43988 #undef $ac_func
43989
43990 /* Override any GCC internal prototype to avoid an error.
43991 Use char because int might match the return type of a GCC
43992 builtin and then its argument prototype would still apply. */
43993 #ifdef __cplusplus
43994 extern "C"
43995 #endif
43996 char $ac_func ();
43997 /* The GNU C library defines this for functions which it implements
43998 to always fail with ENOSYS. Some functions are actually named
43999 something starting with __ and the normal name is an alias. */
44000 #if defined __stub_$ac_func || defined __stub___$ac_func
44001 choke me
44002 #endif
44003
44004 int
44005 main ()
44006 {
44007 return $ac_func ();
44008 ;
44009 return 0;
44010 }
44011 _ACEOF
44012 rm -f conftest.$ac_objext conftest$ac_exeext
44013 if { (ac_try="$ac_link"
44014 case "(($ac_try" in
44015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44016 *) ac_try_echo=$ac_try;;
44017 esac
44018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44019 (eval "$ac_link") 2>conftest.er1
44020 ac_status=$?
44021 grep -v '^ *+' conftest.er1 >conftest.err
44022 rm -f conftest.er1
44023 cat conftest.err >&5
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); } && {
44026 test -z "$ac_c_werror_flag" ||
44027 test ! -s conftest.err
44028 } && test -s conftest$ac_exeext &&
44029 $as_test_x conftest$ac_exeext; then
44030 eval "$as_ac_var=yes"
44031 else
44032 echo "$as_me: failed program was:" >&5
44033 sed 's/^/| /' conftest.$ac_ext >&5
44034
44035 eval "$as_ac_var=no"
44036 fi
44037
44038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44039 conftest$ac_exeext conftest.$ac_ext
44040 fi
44041 ac_res=`eval echo '${'$as_ac_var'}'`
44042 { echo "$as_me:$LINENO: result: $ac_res" >&5
44043 echo "${ECHO_T}$ac_res" >&6; }
44044 if test `eval echo '${'$as_ac_var'}'` = yes; then
44045 cat >>confdefs.h <<_ACEOF
44046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44047 _ACEOF
44048 cat >>confdefs.h <<\_ACEOF
44049 #define HAVE_DLERROR 1
44050 _ACEOF
44051
44052 else
44053
44054 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44055 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44056 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44057 echo $ECHO_N "(cached) $ECHO_C" >&6
44058 else
44059 ac_check_lib_save_LIBS=$LIBS
44060 LIBS="-ldl $LIBS"
44061 cat >conftest.$ac_ext <<_ACEOF
44062 /* confdefs.h. */
44063 _ACEOF
44064 cat confdefs.h >>conftest.$ac_ext
44065 cat >>conftest.$ac_ext <<_ACEOF
44066 /* end confdefs.h. */
44067
44068 /* Override any GCC internal prototype to avoid an error.
44069 Use char because int might match the return type of a GCC
44070 builtin and then its argument prototype would still apply. */
44071 #ifdef __cplusplus
44072 extern "C"
44073 #endif
44074 char dlerror ();
44075 int
44076 main ()
44077 {
44078 return dlerror ();
44079 ;
44080 return 0;
44081 }
44082 _ACEOF
44083 rm -f conftest.$ac_objext conftest$ac_exeext
44084 if { (ac_try="$ac_link"
44085 case "(($ac_try" in
44086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44087 *) ac_try_echo=$ac_try;;
44088 esac
44089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44090 (eval "$ac_link") 2>conftest.er1
44091 ac_status=$?
44092 grep -v '^ *+' conftest.er1 >conftest.err
44093 rm -f conftest.er1
44094 cat conftest.err >&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); } && {
44097 test -z "$ac_c_werror_flag" ||
44098 test ! -s conftest.err
44099 } && test -s conftest$ac_exeext &&
44100 $as_test_x conftest$ac_exeext; then
44101 ac_cv_lib_dl_dlerror=yes
44102 else
44103 echo "$as_me: failed program was:" >&5
44104 sed 's/^/| /' conftest.$ac_ext >&5
44105
44106 ac_cv_lib_dl_dlerror=no
44107 fi
44108
44109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44110 conftest$ac_exeext conftest.$ac_ext
44111 LIBS=$ac_check_lib_save_LIBS
44112 fi
44113 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44114 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44115 if test $ac_cv_lib_dl_dlerror = yes; then
44116 cat >>confdefs.h <<\_ACEOF
44117 #define HAVE_DLERROR 1
44118 _ACEOF
44119
44120 fi
44121
44122
44123
44124 fi
44125 done
44126
44127 fi
44128 fi
44129
44130 if test "$HAVE_DL_FUNCS" = 0; then
44131 if test "$HAVE_SHL_FUNCS" = 0; then
44132 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44133 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44134 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44135 wxUSE_DYNAMIC_LOADER=no
44136 wxUSE_DYNLIB_CLASS=no
44137 else
44138 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44139 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44140 fi
44141 fi
44142 fi
44143 fi
44144 fi
44145
44146 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_DYNAMIC_LOADER 1
44149 _ACEOF
44150
44151 fi
44152 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44153 cat >>confdefs.h <<\_ACEOF
44154 #define wxUSE_DYNLIB_CLASS 1
44155 _ACEOF
44156
44157 fi
44158
44159
44160
44161 if test "$wxUSE_PLUGINS" = "yes" ; then
44162 if test "$wxUSE_SHARED" = "no" ; then
44163 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44164 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44165 wxUSE_PLUGINS=no
44166 fi
44167 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44168 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44169 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44170 wxUSE_PLUGINS=no
44171 fi
44172 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44173 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44174 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44175 wxUSE_PLUGINS=no
44176 fi
44177 if test "$wxUSE_PLUGINS" = "yes" ; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_PLUGINS 1
44180 _ACEOF
44181
44182 fi
44183 fi
44184
44185
44186 if test "$wxUSE_STL" = "yes"; then
44187 cat >>confdefs.h <<\_ACEOF
44188 #define wxUSE_STL 1
44189 _ACEOF
44190
44191 fi
44192
44193 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44194 cat >>confdefs.h <<\_ACEOF
44195 #define wxUSE_EXTENDED_RTTI 1
44196 _ACEOF
44197
44198 fi
44199
44200 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44201 cat >>confdefs.h <<\_ACEOF
44202 #define wxUSE_APPLE_IEEE 1
44203 _ACEOF
44204
44205 fi
44206
44207 if test "$wxUSE_TIMER" = "yes"; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_TIMER 1
44210 _ACEOF
44211
44212 fi
44213
44214 if test "$USE_UNIX" = "1" ; then
44215 if test "$wxUSE_MGL" != 1; then
44216 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44217 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44218 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44219 echo $ECHO_N "(cached) $ECHO_C" >&6
44220 else
44221
44222 cat >conftest.$ac_ext <<_ACEOF
44223 /* confdefs.h. */
44224 _ACEOF
44225 cat confdefs.h >>conftest.$ac_ext
44226 cat >>conftest.$ac_ext <<_ACEOF
44227 /* end confdefs.h. */
44228
44229 #include <sys/ioctl.h>
44230 #include <sys/soundcard.h>
44231
44232 int
44233 main ()
44234 {
44235
44236 ioctl(0, SNDCTL_DSP_SPEED, 0);
44237
44238 ;
44239 return 0;
44240 }
44241 _ACEOF
44242 rm -f conftest.$ac_objext conftest$ac_exeext
44243 if { (ac_try="$ac_link"
44244 case "(($ac_try" in
44245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44246 *) ac_try_echo=$ac_try;;
44247 esac
44248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44249 (eval "$ac_link") 2>conftest.er1
44250 ac_status=$?
44251 grep -v '^ *+' conftest.er1 >conftest.err
44252 rm -f conftest.er1
44253 cat conftest.err >&5
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); } && {
44256 test -z "$ac_c_werror_flag" ||
44257 test ! -s conftest.err
44258 } && test -s conftest$ac_exeext &&
44259 $as_test_x conftest$ac_exeext; then
44260 ac_cv_header_sys_soundcard=yes
44261 else
44262 echo "$as_me: failed program was:" >&5
44263 sed 's/^/| /' conftest.$ac_ext >&5
44264
44265
44266 saveLibs="$LIBS"
44267 LIBS="$saveLibs -lossaudio"
44268 cat >conftest.$ac_ext <<_ACEOF
44269 /* confdefs.h. */
44270 _ACEOF
44271 cat confdefs.h >>conftest.$ac_ext
44272 cat >>conftest.$ac_ext <<_ACEOF
44273 /* end confdefs.h. */
44274
44275 #include <sys/ioctl.h>
44276 #include <sys/soundcard.h>
44277
44278 int
44279 main ()
44280 {
44281
44282 ioctl(0, SNDCTL_DSP_SPEED, 0);
44283
44284 ;
44285 return 0;
44286 }
44287 _ACEOF
44288 rm -f conftest.$ac_objext conftest$ac_exeext
44289 if { (ac_try="$ac_link"
44290 case "(($ac_try" in
44291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44292 *) ac_try_echo=$ac_try;;
44293 esac
44294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44295 (eval "$ac_link") 2>conftest.er1
44296 ac_status=$?
44297 grep -v '^ *+' conftest.er1 >conftest.err
44298 rm -f conftest.er1
44299 cat conftest.err >&5
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); } && {
44302 test -z "$ac_c_werror_flag" ||
44303 test ! -s conftest.err
44304 } && test -s conftest$ac_exeext &&
44305 $as_test_x conftest$ac_exeext; then
44306 ac_cv_header_sys_soundcard=yes
44307 else
44308 echo "$as_me: failed program was:" >&5
44309 sed 's/^/| /' conftest.$ac_ext >&5
44310
44311
44312 LIBS="$saveLibs"
44313 ac_cv_header_sys_soundcard=no
44314
44315
44316 fi
44317
44318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44319 conftest$ac_exeext conftest.$ac_ext
44320
44321
44322 fi
44323
44324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44325 conftest$ac_exeext conftest.$ac_ext
44326
44327 fi
44328 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44329 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44330 fi
44331
44332 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44333 cat >>confdefs.h <<\_ACEOF
44334 #define HAVE_SYS_SOUNDCARD_H 1
44335 _ACEOF
44336
44337 fi
44338 fi
44339
44340 WITH_PLUGIN_SDL=0
44341 if test "$wxUSE_SOUND" = "yes"; then
44342 if test "$USE_UNIX" = "1" ; then
44343 if test "$wxUSE_LIBSDL" != "no"; then
44344
44345 # Check whether --with-sdl-prefix was given.
44346 if test "${with_sdl_prefix+set}" = set; then
44347 withval=$with_sdl_prefix; sdl_prefix="$withval"
44348 else
44349 sdl_prefix=""
44350 fi
44351
44352
44353 # Check whether --with-sdl-exec-prefix was given.
44354 if test "${with_sdl_exec_prefix+set}" = set; then
44355 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44356 else
44357 sdl_exec_prefix=""
44358 fi
44359
44360 # Check whether --enable-sdltest was given.
44361 if test "${enable_sdltest+set}" = set; then
44362 enableval=$enable_sdltest;
44363 else
44364 enable_sdltest=yes
44365 fi
44366
44367
44368 if test x$sdl_exec_prefix != x ; then
44369 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44370 if test x${SDL_CONFIG+set} != xset ; then
44371 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44372 fi
44373 fi
44374 if test x$sdl_prefix != x ; then
44375 sdl_args="$sdl_args --prefix=$sdl_prefix"
44376 if test x${SDL_CONFIG+set} != xset ; then
44377 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44378 fi
44379 fi
44380
44381 if test "x$prefix" != xNONE; then
44382 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44383 fi
44384 # Extract the first word of "sdl-config", so it can be a program name with args.
44385 set dummy sdl-config; ac_word=$2
44386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44388 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44389 echo $ECHO_N "(cached) $ECHO_C" >&6
44390 else
44391 case $SDL_CONFIG in
44392 [\\/]* | ?:[\\/]*)
44393 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44394 ;;
44395 *)
44396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44397 for as_dir in $PATH
44398 do
44399 IFS=$as_save_IFS
44400 test -z "$as_dir" && as_dir=.
44401 for ac_exec_ext in '' $ac_executable_extensions; do
44402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44403 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44405 break 2
44406 fi
44407 done
44408 done
44409 IFS=$as_save_IFS
44410
44411 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44412 ;;
44413 esac
44414 fi
44415 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44416 if test -n "$SDL_CONFIG"; then
44417 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44418 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44419 else
44420 { echo "$as_me:$LINENO: result: no" >&5
44421 echo "${ECHO_T}no" >&6; }
44422 fi
44423
44424
44425 min_sdl_version=1.2.0
44426 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44427 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44428 no_sdl=""
44429 if test "$SDL_CONFIG" = "no" ; then
44430 no_sdl=yes
44431 else
44432 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44433 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44434
44435 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44437 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44439 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44441 if test "x$enable_sdltest" = "xyes" ; then
44442 ac_save_CFLAGS="$CFLAGS"
44443 ac_save_CXXFLAGS="$CXXFLAGS"
44444 ac_save_LIBS="$LIBS"
44445 CFLAGS="$CFLAGS $SDL_CFLAGS"
44446 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44447 LIBS="$LIBS $SDL_LIBS"
44448 rm -f conf.sdltest
44449 if test "$cross_compiling" = yes; then
44450 echo $ac_n "cross compiling; assumed OK... $ac_c"
44451 else
44452 cat >conftest.$ac_ext <<_ACEOF
44453 /* confdefs.h. */
44454 _ACEOF
44455 cat confdefs.h >>conftest.$ac_ext
44456 cat >>conftest.$ac_ext <<_ACEOF
44457 /* end confdefs.h. */
44458
44459 #include <stdio.h>
44460 #include <stdlib.h>
44461 #include <string.h>
44462 #include "SDL.h"
44463
44464 char*
44465 my_strdup (char *str)
44466 {
44467 char *new_str;
44468
44469 if (str)
44470 {
44471 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44472 strcpy (new_str, str);
44473 }
44474 else
44475 new_str = NULL;
44476
44477 return new_str;
44478 }
44479
44480 int main (int argc, char *argv[])
44481 {
44482 int major, minor, micro;
44483 char *tmp_version;
44484
44485 /* This hangs on some systems (?)
44486 system ("touch conf.sdltest");
44487 */
44488 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44489
44490 /* HP/UX 9 (%@#!) writes to sscanf strings */
44491 tmp_version = my_strdup("$min_sdl_version");
44492 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44493 printf("%s, bad version string\n", "$min_sdl_version");
44494 exit(1);
44495 }
44496
44497 if (($sdl_major_version > major) ||
44498 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44499 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44500 {
44501 return 0;
44502 }
44503 else
44504 {
44505 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44506 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44507 printf("*** best to upgrade to the required version.\n");
44508 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44509 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44510 printf("*** config.cache before re-running configure\n");
44511 return 1;
44512 }
44513 }
44514
44515
44516 _ACEOF
44517 rm -f conftest$ac_exeext
44518 if { (ac_try="$ac_link"
44519 case "(($ac_try" in
44520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44521 *) ac_try_echo=$ac_try;;
44522 esac
44523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44524 (eval "$ac_link") 2>&5
44525 ac_status=$?
44526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44528 { (case "(($ac_try" in
44529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44530 *) ac_try_echo=$ac_try;;
44531 esac
44532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44533 (eval "$ac_try") 2>&5
44534 ac_status=$?
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); }; }; then
44537 :
44538 else
44539 echo "$as_me: program exited with status $ac_status" >&5
44540 echo "$as_me: failed program was:" >&5
44541 sed 's/^/| /' conftest.$ac_ext >&5
44542
44543 ( exit $ac_status )
44544 no_sdl=yes
44545 fi
44546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44547 fi
44548
44549
44550 CFLAGS="$ac_save_CFLAGS"
44551 CXXFLAGS="$ac_save_CXXFLAGS"
44552 LIBS="$ac_save_LIBS"
44553 fi
44554 fi
44555 if test "x$no_sdl" = x ; then
44556 { echo "$as_me:$LINENO: result: yes" >&5
44557 echo "${ECHO_T}yes" >&6; }
44558
44559 EXTRALIBS_SDL="$SDL_LIBS"
44560 CFLAGS="$SDL_CFLAGS $CFLAGS"
44561 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_LIBSDL 1
44564 _ACEOF
44565
44566
44567 else
44568 { echo "$as_me:$LINENO: result: no" >&5
44569 echo "${ECHO_T}no" >&6; }
44570 if test "$SDL_CONFIG" = "no" ; then
44571 echo "*** The sdl-config script installed by SDL could not be found"
44572 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44573 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44574 echo "*** full path to sdl-config."
44575 else
44576 if test -f conf.sdltest ; then
44577 :
44578 else
44579 echo "*** Could not run SDL test program, checking why..."
44580 CFLAGS="$CFLAGS $SDL_CFLAGS"
44581 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44582 LIBS="$LIBS $SDL_LIBS"
44583 cat >conftest.$ac_ext <<_ACEOF
44584 /* confdefs.h. */
44585 _ACEOF
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44589
44590 #include <stdio.h>
44591 #include "SDL.h"
44592
44593 int main(int argc, char *argv[])
44594 { return 0; }
44595 #undef main
44596 #define main K_and_R_C_main
44597
44598 int
44599 main ()
44600 {
44601 return 0;
44602 ;
44603 return 0;
44604 }
44605 _ACEOF
44606 rm -f conftest.$ac_objext conftest$ac_exeext
44607 if { (ac_try="$ac_link"
44608 case "(($ac_try" in
44609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44610 *) ac_try_echo=$ac_try;;
44611 esac
44612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44613 (eval "$ac_link") 2>conftest.er1
44614 ac_status=$?
44615 grep -v '^ *+' conftest.er1 >conftest.err
44616 rm -f conftest.er1
44617 cat conftest.err >&5
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); } && {
44620 test -z "$ac_c_werror_flag" ||
44621 test ! -s conftest.err
44622 } && test -s conftest$ac_exeext &&
44623 $as_test_x conftest$ac_exeext; then
44624 echo "*** The test program compiled, but did not run. This usually means"
44625 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44626 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44627 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44628 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44629 echo "*** is required on your system"
44630 echo "***"
44631 echo "*** If you have an old version installed, it is best to remove it, although"
44632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44633 else
44634 echo "$as_me: failed program was:" >&5
44635 sed 's/^/| /' conftest.$ac_ext >&5
44636
44637 echo "*** The test program failed to compile or link. See the file config.log for the"
44638 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44639 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44640 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44641 fi
44642
44643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44644 conftest$ac_exeext conftest.$ac_ext
44645 CFLAGS="$ac_save_CFLAGS"
44646 CXXFLAGS="$ac_save_CXXFLAGS"
44647 LIBS="$ac_save_LIBS"
44648 fi
44649 fi
44650 SDL_CFLAGS=""
44651 SDL_LIBS=""
44652 wxUSE_LIBSDL="no"
44653 fi
44654
44655
44656 rm -f conf.sdltest
44657
44658 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44659 WITH_PLUGIN_SDL=1
44660 fi
44661 fi
44662 else
44663 if test "$wxUSE_MGL" = 1; then
44664 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44665 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44666 wxUSE_SOUND="no"
44667 fi
44668 fi
44669 fi
44670
44671 if test "$wxUSE_SOUND" = "yes"; then
44672 cat >>confdefs.h <<\_ACEOF
44673 #define wxUSE_SOUND 1
44674 _ACEOF
44675
44676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44677 fi
44678
44679 if test "$WXGTK20" = 1; then
44680
44681
44682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44683 if test -n "$ac_tool_prefix"; then
44684 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44685 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44688 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44689 echo $ECHO_N "(cached) $ECHO_C" >&6
44690 else
44691 case $PKG_CONFIG in
44692 [\\/]* | ?:[\\/]*)
44693 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44694 ;;
44695 *)
44696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44697 for as_dir in $PATH
44698 do
44699 IFS=$as_save_IFS
44700 test -z "$as_dir" && as_dir=.
44701 for ac_exec_ext in '' $ac_executable_extensions; do
44702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44703 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44705 break 2
44706 fi
44707 done
44708 done
44709 IFS=$as_save_IFS
44710
44711 ;;
44712 esac
44713 fi
44714 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44715 if test -n "$PKG_CONFIG"; then
44716 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44717 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44718 else
44719 { echo "$as_me:$LINENO: result: no" >&5
44720 echo "${ECHO_T}no" >&6; }
44721 fi
44722
44723
44724 fi
44725 if test -z "$ac_cv_path_PKG_CONFIG"; then
44726 ac_pt_PKG_CONFIG=$PKG_CONFIG
44727 # Extract the first word of "pkg-config", so it can be a program name with args.
44728 set dummy pkg-config; ac_word=$2
44729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44731 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44732 echo $ECHO_N "(cached) $ECHO_C" >&6
44733 else
44734 case $ac_pt_PKG_CONFIG in
44735 [\\/]* | ?:[\\/]*)
44736 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44737 ;;
44738 *)
44739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44740 for as_dir in $PATH
44741 do
44742 IFS=$as_save_IFS
44743 test -z "$as_dir" && as_dir=.
44744 for ac_exec_ext in '' $ac_executable_extensions; do
44745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44746 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44748 break 2
44749 fi
44750 done
44751 done
44752 IFS=$as_save_IFS
44753
44754 ;;
44755 esac
44756 fi
44757 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44758 if test -n "$ac_pt_PKG_CONFIG"; then
44759 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44760 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44761 else
44762 { echo "$as_me:$LINENO: result: no" >&5
44763 echo "${ECHO_T}no" >&6; }
44764 fi
44765
44766 if test "x$ac_pt_PKG_CONFIG" = x; then
44767 PKG_CONFIG=""
44768 else
44769 case $cross_compiling:$ac_tool_warned in
44770 yes:)
44771 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44772 whose name does not start with the host triplet. If you think this
44773 configuration is useful to you, please write to autoconf@gnu.org." >&5
44774 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44775 whose name does not start with the host triplet. If you think this
44776 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44777 ac_tool_warned=yes ;;
44778 esac
44779 PKG_CONFIG=$ac_pt_PKG_CONFIG
44780 fi
44781 else
44782 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44783 fi
44784
44785 fi
44786 if test -n "$PKG_CONFIG"; then
44787 _pkg_min_version=0.9.0
44788 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44789 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44790 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44791 { echo "$as_me:$LINENO: result: yes" >&5
44792 echo "${ECHO_T}yes" >&6; }
44793 else
44794 { echo "$as_me:$LINENO: result: no" >&5
44795 echo "${ECHO_T}no" >&6; }
44796 PKG_CONFIG=""
44797 fi
44798
44799 fi
44800
44801 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44802 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44803
44804
44805 pkg_failed=no
44806 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44807 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44808
44809 if test -n "$PKG_CONFIG"; then
44810 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44811 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44812 else
44813 if test -n "$PKG_CONFIG" && \
44814 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44815 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44816 ac_status=$?
44817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818 (exit $ac_status); }; then
44819 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44820 else
44821 pkg_failed=yes
44822 fi
44823 fi
44824 else
44825 pkg_failed=untried
44826 fi
44827 if test -n "$PKG_CONFIG"; then
44828 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44829 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44830 else
44831 if test -n "$PKG_CONFIG" && \
44832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44833 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44834 ac_status=$?
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); }; then
44837 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44838 else
44839 pkg_failed=yes
44840 fi
44841 fi
44842 else
44843 pkg_failed=untried
44844 fi
44845
44846
44847
44848 if test $pkg_failed = yes; then
44849
44850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44851 _pkg_short_errors_supported=yes
44852 else
44853 _pkg_short_errors_supported=no
44854 fi
44855 if test $_pkg_short_errors_supported = yes; then
44856 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44857 else
44858 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44859 fi
44860 # Put the nasty error message in config.log where it belongs
44861 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44862
44863
44864 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44865 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44866 wxUSE_LIBGNOMEPRINT="no"
44867
44868
44869 elif test $pkg_failed = untried; then
44870
44871 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44872 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44873 wxUSE_LIBGNOMEPRINT="no"
44874
44875
44876 else
44877 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44878 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44879 { echo "$as_me:$LINENO: result: yes" >&5
44880 echo "${ECHO_T}yes" >&6; }
44881
44882 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44883 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44884 cat >>confdefs.h <<\_ACEOF
44885 #define wxUSE_LIBGNOMEPRINT 1
44886 _ACEOF
44887
44888
44889 fi
44890 fi
44891 fi
44892
44893 if test "$wxUSE_MIMETYPE" = "yes" ; then
44894 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44895
44896
44897 pkg_failed=no
44898 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44899 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44900
44901 if test -n "$PKG_CONFIG"; then
44902 if test -n "$GNOMEVFS_CFLAGS"; then
44903 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44904 else
44905 if test -n "$PKG_CONFIG" && \
44906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44907 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44908 ac_status=$?
44909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44910 (exit $ac_status); }; then
44911 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44912 else
44913 pkg_failed=yes
44914 fi
44915 fi
44916 else
44917 pkg_failed=untried
44918 fi
44919 if test -n "$PKG_CONFIG"; then
44920 if test -n "$GNOMEVFS_LIBS"; then
44921 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44922 else
44923 if test -n "$PKG_CONFIG" && \
44924 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44925 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44926 ac_status=$?
44927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44928 (exit $ac_status); }; then
44929 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44930 else
44931 pkg_failed=yes
44932 fi
44933 fi
44934 else
44935 pkg_failed=untried
44936 fi
44937
44938
44939
44940 if test $pkg_failed = yes; then
44941
44942 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44943 _pkg_short_errors_supported=yes
44944 else
44945 _pkg_short_errors_supported=no
44946 fi
44947 if test $_pkg_short_errors_supported = yes; then
44948 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44949 else
44950 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44951 fi
44952 # Put the nasty error message in config.log where it belongs
44953 echo "$GNOMEVFS_PKG_ERRORS" >&5
44954
44955
44956 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44957 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44958 wxUSE_LIBGNOMEVFS="no"
44959
44960
44961 elif test $pkg_failed = untried; then
44962
44963 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44964 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44965 wxUSE_LIBGNOMEVFS="no"
44966
44967
44968 else
44969 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44970 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44971 { echo "$as_me:$LINENO: result: yes" >&5
44972 echo "${ECHO_T}yes" >&6; }
44973
44974 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44975 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_LIBGNOMEVFS 1
44978 _ACEOF
44979
44980
44981 fi
44982 fi
44983 fi
44984
44985 if test "$wxUSE_LIBHILDON" = "yes" ; then
44986
44987 pkg_failed=no
44988 { echo "$as_me:$LINENO: checking for HILDON" >&5
44989 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44990
44991 if test -n "$PKG_CONFIG"; then
44992 if test -n "$HILDON_CFLAGS"; then
44993 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44994 else
44995 if test -n "$PKG_CONFIG" && \
44996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44997 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44998 ac_status=$?
44999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000 (exit $ac_status); }; then
45001 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45002 else
45003 pkg_failed=yes
45004 fi
45005 fi
45006 else
45007 pkg_failed=untried
45008 fi
45009 if test -n "$PKG_CONFIG"; then
45010 if test -n "$HILDON_LIBS"; then
45011 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45012 else
45013 if test -n "$PKG_CONFIG" && \
45014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45015 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45016 ac_status=$?
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); }; then
45019 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45020 else
45021 pkg_failed=yes
45022 fi
45023 fi
45024 else
45025 pkg_failed=untried
45026 fi
45027
45028
45029
45030 if test $pkg_failed = yes; then
45031
45032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45033 _pkg_short_errors_supported=yes
45034 else
45035 _pkg_short_errors_supported=no
45036 fi
45037 if test $_pkg_short_errors_supported = yes; then
45038 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45039 else
45040 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45041 fi
45042 # Put the nasty error message in config.log where it belongs
45043 echo "$HILDON_PKG_ERRORS" >&5
45044
45045
45046 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45047 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45048 wxUSE_LIBHILDON="no"
45049
45050
45051 elif test $pkg_failed = untried; then
45052
45053 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45054 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45055 wxUSE_LIBHILDON="no"
45056
45057
45058 else
45059 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45060 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45061 { echo "$as_me:$LINENO: result: yes" >&5
45062 echo "${ECHO_T}yes" >&6; }
45063
45064 EXTRALIBS_HILDON="$HILDON_LIBS"
45065 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45066 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_LIBHILDON 1
45069 _ACEOF
45070
45071
45072 fi
45073 fi
45074 fi
45075
45076 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_CMDLINE_PARSER 1
45079 _ACEOF
45080
45081 fi
45082
45083 if test "$wxUSE_STOPWATCH" = "yes"; then
45084 cat >>confdefs.h <<\_ACEOF
45085 #define wxUSE_STOPWATCH 1
45086 _ACEOF
45087
45088 fi
45089
45090 if test "$wxUSE_DATETIME" = "yes"; then
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_DATETIME 1
45093 _ACEOF
45094
45095 fi
45096
45097 if test "$wxUSE_FILE" = "yes"; then
45098 cat >>confdefs.h <<\_ACEOF
45099 #define wxUSE_FILE 1
45100 _ACEOF
45101
45102 fi
45103
45104 if test "$wxUSE_FFILE" = "yes"; then
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_FFILE 1
45107 _ACEOF
45108
45109 fi
45110
45111 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45112 if test "$wxUSE_STREAMS" != yes; then
45113 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45114 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45115 wxUSE_ARCHIVE_STREAMS=no
45116 else
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_ARCHIVE_STREAMS 1
45119 _ACEOF
45120
45121 fi
45122 fi
45123
45124 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45125 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45126 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45127 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45128 elif test "$wxUSE_ZLIB" = "no"; then
45129 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45130 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45131 else
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_ZIPSTREAM 1
45134 _ACEOF
45135
45136 fi
45137 fi
45138
45139 if test "$wxUSE_TARSTREAM" = "yes"; then
45140 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45141 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45142 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45143 else
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_TARSTREAM 1
45146 _ACEOF
45147
45148 fi
45149 fi
45150
45151 if test "$wxUSE_FILESYSTEM" = "yes"; then
45152 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45153 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45154 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45155 wxUSE_FILESYSTEM=no
45156 else
45157 cat >>confdefs.h <<\_ACEOF
45158 #define wxUSE_FILESYSTEM 1
45159 _ACEOF
45160
45161 fi
45162 fi
45163
45164 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45165 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45166 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45167 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45168 else
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_FS_ARCHIVE 1
45171 _ACEOF
45172
45173 fi
45174 fi
45175
45176 if test "$wxUSE_FS_ZIP" = "yes"; then
45177 if test "$wxUSE_FS_ARCHIVE" != yes; then
45178 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45179 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45180 else
45181 cat >>confdefs.h <<\_ACEOF
45182 #define wxUSE_FS_ZIP 1
45183 _ACEOF
45184
45185 fi
45186 fi
45187
45188 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45189 if test "$USE_UNIX" != 1; then
45190 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45191 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45192 wxUSE_ON_FATAL_EXCEPTION=no
45193 else
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_ON_FATAL_EXCEPTION 1
45196 _ACEOF
45197
45198 fi
45199 fi
45200
45201 if test "$wxUSE_STACKWALKER" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_STACKWALKER 1
45204 _ACEOF
45205
45206 fi
45207
45208 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45209 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45210 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45211 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45212 wxUSE_DEBUGREPORT=no
45213 else
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_DEBUGREPORT 1
45216 _ACEOF
45217
45218 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45220 fi
45221 fi
45222 fi
45223
45224 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_SNGLINST_CHECKER 1
45227 _ACEOF
45228
45229 fi
45230
45231 if test "$wxUSE_BUSYINFO" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_BUSYINFO 1
45234 _ACEOF
45235
45236 fi
45237
45238 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45239 cat >>confdefs.h <<\_ACEOF
45240 #define wxUSE_STD_IOSTREAM 1
45241 _ACEOF
45242
45243 fi
45244
45245 if test "$wxUSE_STD_STRING" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_STD_STRING 1
45248 _ACEOF
45249
45250 fi
45251
45252 if test "$wxUSE_STDPATHS" = "yes"; then
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_STDPATHS 1
45255 _ACEOF
45256
45257 fi
45258
45259 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_TEXTBUFFER 1
45262 _ACEOF
45263
45264 fi
45265
45266 if test "$wxUSE_TEXTFILE" = "yes"; then
45267 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45268 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45269 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45270 else
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_TEXTFILE 1
45273 _ACEOF
45274
45275 fi
45276 fi
45277
45278 if test "$wxUSE_CONFIG" = "yes" ; then
45279 if test "$wxUSE_TEXTFILE" != "yes"; then
45280 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45281 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45282 else
45283 cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_CONFIG 1
45285 _ACEOF
45286
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_CONFIG_NATIVE 1
45289 _ACEOF
45290
45291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45292 fi
45293 fi
45294
45295 if test "$wxUSE_INTL" = "yes" ; then
45296 if test "$wxUSE_FILE" != "yes"; then
45297 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45298 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45299 else
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_INTL 1
45302 _ACEOF
45303
45304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45305 GUIDIST="$GUIDIST INTL_DIST"
45306 fi
45307 fi
45308
45309 if test "$wxUSE_LOG" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_LOG 1
45312 _ACEOF
45313
45314
45315 if test "$wxUSE_LOGGUI" = "yes"; then
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_LOGGUI 1
45318 _ACEOF
45319
45320 fi
45321
45322 if test "$wxUSE_LOGWINDOW" = "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_LOGWINDOW 1
45325 _ACEOF
45326
45327 fi
45328
45329 if test "$wxUSE_LOGDIALOG" = "yes"; then
45330 cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_LOG_DIALOG 1
45332 _ACEOF
45333
45334 fi
45335
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45337 fi
45338
45339 if test "$wxUSE_LONGLONG" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_LONGLONG 1
45342 _ACEOF
45343
45344 fi
45345
45346 if test "$wxUSE_GEOMETRY" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_GEOMETRY 1
45349 _ACEOF
45350
45351 fi
45352
45353 if test "$wxUSE_BASE64" = "yes"; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_BASE64 1
45356 _ACEOF
45357
45358 fi
45359
45360 if test "$wxUSE_STREAMS" = "yes" ; then
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_STREAMS 1
45363 _ACEOF
45364
45365 fi
45366
45367 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_PRINTF_POS_PARAMS 1
45370 _ACEOF
45371
45372 fi
45373
45374 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_OBJC_UNIQUIFYING 1
45377 _ACEOF
45378
45379 fi
45380
45381
45382 if test "$wxUSE_DATETIME" = "yes"; then
45383 { echo "$as_me:$LINENO: checking for strptime" >&5
45384 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45385 if test "${ac_cv_func_strptime+set}" = set; then
45386 echo $ECHO_N "(cached) $ECHO_C" >&6
45387 else
45388 cat >conftest.$ac_ext <<_ACEOF
45389 /* confdefs.h. */
45390 _ACEOF
45391 cat confdefs.h >>conftest.$ac_ext
45392 cat >>conftest.$ac_ext <<_ACEOF
45393 /* end confdefs.h. */
45394 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45396 #define strptime innocuous_strptime
45397
45398 /* System header to define __stub macros and hopefully few prototypes,
45399 which can conflict with char strptime (); below.
45400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45401 <limits.h> exists even on freestanding compilers. */
45402
45403 #ifdef __STDC__
45404 # include <limits.h>
45405 #else
45406 # include <assert.h>
45407 #endif
45408
45409 #undef strptime
45410
45411 /* Override any GCC internal prototype to avoid an error.
45412 Use char because int might match the return type of a GCC
45413 builtin and then its argument prototype would still apply. */
45414 #ifdef __cplusplus
45415 extern "C"
45416 #endif
45417 char strptime ();
45418 /* The GNU C library defines this for functions which it implements
45419 to always fail with ENOSYS. Some functions are actually named
45420 something starting with __ and the normal name is an alias. */
45421 #if defined __stub_strptime || defined __stub___strptime
45422 choke me
45423 #endif
45424
45425 int
45426 main ()
45427 {
45428 return strptime ();
45429 ;
45430 return 0;
45431 }
45432 _ACEOF
45433 rm -f conftest.$ac_objext conftest$ac_exeext
45434 if { (ac_try="$ac_link"
45435 case "(($ac_try" in
45436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45437 *) ac_try_echo=$ac_try;;
45438 esac
45439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45440 (eval "$ac_link") 2>conftest.er1
45441 ac_status=$?
45442 grep -v '^ *+' conftest.er1 >conftest.err
45443 rm -f conftest.er1
45444 cat conftest.err >&5
45445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45446 (exit $ac_status); } && {
45447 test -z "$ac_c_werror_flag" ||
45448 test ! -s conftest.err
45449 } && test -s conftest$ac_exeext &&
45450 $as_test_x conftest$ac_exeext; then
45451 ac_cv_func_strptime=yes
45452 else
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45455
45456 ac_cv_func_strptime=no
45457 fi
45458
45459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45460 conftest$ac_exeext conftest.$ac_ext
45461 fi
45462 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45463 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45464
45465 if test "$ac_cv_func_strptime" = "yes"; then
45466 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45467 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45468 if test "${wx_cv_func_strptime_decl+set}" = set; then
45469 echo $ECHO_N "(cached) $ECHO_C" >&6
45470 else
45471
45472 ac_ext=cpp
45473 ac_cpp='$CXXCPP $CPPFLAGS'
45474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45477
45478 cat >conftest.$ac_ext <<_ACEOF
45479 /* confdefs.h. */
45480 _ACEOF
45481 cat confdefs.h >>conftest.$ac_ext
45482 cat >>conftest.$ac_ext <<_ACEOF
45483 /* end confdefs.h. */
45484
45485 #include <time.h>
45486
45487 int
45488 main ()
45489 {
45490
45491 struct tm t;
45492 strptime("foo", "bar", &t);
45493
45494 ;
45495 return 0;
45496 }
45497 _ACEOF
45498 rm -f conftest.$ac_objext
45499 if { (ac_try="$ac_compile"
45500 case "(($ac_try" in
45501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45502 *) ac_try_echo=$ac_try;;
45503 esac
45504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45505 (eval "$ac_compile") 2>conftest.er1
45506 ac_status=$?
45507 grep -v '^ *+' conftest.er1 >conftest.err
45508 rm -f conftest.er1
45509 cat conftest.err >&5
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); } && {
45512 test -z "$ac_cxx_werror_flag" ||
45513 test ! -s conftest.err
45514 } && test -s conftest.$ac_objext; then
45515 wx_cv_func_strptime_decl=yes
45516 else
45517 echo "$as_me: failed program was:" >&5
45518 sed 's/^/| /' conftest.$ac_ext >&5
45519
45520 wx_cv_func_strptime_decl=no
45521
45522 fi
45523
45524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45525 ac_ext=c
45526 ac_cpp='$CPP $CPPFLAGS'
45527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45530
45531
45532
45533 fi
45534 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45535 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45536 fi
45537 if test "$wx_cv_func_strptime_decl" = "yes"; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define HAVE_STRPTIME_DECL 1
45540 _ACEOF
45541
45542 else
45543 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45544 fi
45545 if test "$ac_cv_func_strptime" = "yes"; then
45546 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45547 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45548 if test "${wx_cv_func_strptime_ok+set}" = set; then
45549 echo $ECHO_N "(cached) $ECHO_C" >&6
45550 else
45551 if test "$cross_compiling" = yes; then
45552 wx_cv_func_strptime_ok=no
45553
45554 else
45555 cat >conftest.$ac_ext <<_ACEOF
45556
45557 #include <stdlib.h>
45558 #include <time.h>
45559 #include "confdefs.h"
45560
45561 $wx_strptime_decl
45562
45563 int main()
45564 {
45565 struct tm t;
45566 return !!strptime("", "%x", &t);
45567 }
45568
45569 _ACEOF
45570 rm -f conftest$ac_exeext
45571 if { (ac_try="$ac_link"
45572 case "(($ac_try" in
45573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45574 *) ac_try_echo=$ac_try;;
45575 esac
45576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45577 (eval "$ac_link") 2>&5
45578 ac_status=$?
45579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45581 { (case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45584 esac
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_try") 2>&5
45587 ac_status=$?
45588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45589 (exit $ac_status); }; }; then
45590 wx_cv_func_strptime_ok=yes
45591 else
45592 echo "$as_me: program exited with status $ac_status" >&5
45593 echo "$as_me: failed program was:" >&5
45594 sed 's/^/| /' conftest.$ac_ext >&5
45595
45596 ( exit $ac_status )
45597 wx_cv_func_strptime_ok=no
45598 fi
45599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45600 fi
45601
45602
45603
45604 fi
45605 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45606 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
45607
45608 if test "$wx_cv_func_strptime_ok" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define HAVE_STRPTIME 1
45611 _ACEOF
45612
45613 fi
45614 fi
45615
45616 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45617 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45618 if test "${wx_cv_var_timezone+set}" = set; then
45619 echo $ECHO_N "(cached) $ECHO_C" >&6
45620 else
45621
45622 ac_ext=cpp
45623 ac_cpp='$CXXCPP $CPPFLAGS'
45624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45627
45628 cat >conftest.$ac_ext <<_ACEOF
45629 /* confdefs.h. */
45630 _ACEOF
45631 cat confdefs.h >>conftest.$ac_ext
45632 cat >>conftest.$ac_ext <<_ACEOF
45633 /* end confdefs.h. */
45634
45635 #include <time.h>
45636
45637 int
45638 main ()
45639 {
45640
45641 int tz;
45642 tz = timezone;
45643
45644 ;
45645 return 0;
45646 }
45647 _ACEOF
45648 rm -f conftest.$ac_objext
45649 if { (ac_try="$ac_compile"
45650 case "(($ac_try" in
45651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45652 *) ac_try_echo=$ac_try;;
45653 esac
45654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45655 (eval "$ac_compile") 2>conftest.er1
45656 ac_status=$?
45657 grep -v '^ *+' conftest.er1 >conftest.err
45658 rm -f conftest.er1
45659 cat conftest.err >&5
45660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45661 (exit $ac_status); } && {
45662 test -z "$ac_cxx_werror_flag" ||
45663 test ! -s conftest.err
45664 } && test -s conftest.$ac_objext; then
45665
45666 wx_cv_var_timezone=timezone
45667
45668 else
45669 echo "$as_me: failed program was:" >&5
45670 sed 's/^/| /' conftest.$ac_ext >&5
45671
45672
45673 cat >conftest.$ac_ext <<_ACEOF
45674 /* confdefs.h. */
45675 _ACEOF
45676 cat confdefs.h >>conftest.$ac_ext
45677 cat >>conftest.$ac_ext <<_ACEOF
45678 /* end confdefs.h. */
45679
45680 #include <time.h>
45681
45682 int
45683 main ()
45684 {
45685
45686 int tz;
45687 tz = _timezone;
45688
45689 ;
45690 return 0;
45691 }
45692 _ACEOF
45693 rm -f conftest.$ac_objext
45694 if { (ac_try="$ac_compile"
45695 case "(($ac_try" in
45696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45697 *) ac_try_echo=$ac_try;;
45698 esac
45699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45700 (eval "$ac_compile") 2>conftest.er1
45701 ac_status=$?
45702 grep -v '^ *+' conftest.er1 >conftest.err
45703 rm -f conftest.er1
45704 cat conftest.err >&5
45705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45706 (exit $ac_status); } && {
45707 test -z "$ac_cxx_werror_flag" ||
45708 test ! -s conftest.err
45709 } && test -s conftest.$ac_objext; then
45710
45711 wx_cv_var_timezone=_timezone
45712
45713 else
45714 echo "$as_me: failed program was:" >&5
45715 sed 's/^/| /' conftest.$ac_ext >&5
45716
45717
45718 cat >conftest.$ac_ext <<_ACEOF
45719 /* confdefs.h. */
45720 _ACEOF
45721 cat confdefs.h >>conftest.$ac_ext
45722 cat >>conftest.$ac_ext <<_ACEOF
45723 /* end confdefs.h. */
45724
45725 #include <time.h>
45726
45727 int
45728 main ()
45729 {
45730
45731 int tz;
45732 tz = __timezone;
45733
45734 ;
45735 return 0;
45736 }
45737 _ACEOF
45738 rm -f conftest.$ac_objext
45739 if { (ac_try="$ac_compile"
45740 case "(($ac_try" in
45741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45742 *) ac_try_echo=$ac_try;;
45743 esac
45744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45745 (eval "$ac_compile") 2>conftest.er1
45746 ac_status=$?
45747 grep -v '^ *+' conftest.er1 >conftest.err
45748 rm -f conftest.er1
45749 cat conftest.err >&5
45750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45751 (exit $ac_status); } && {
45752 test -z "$ac_cxx_werror_flag" ||
45753 test ! -s conftest.err
45754 } && test -s conftest.$ac_objext; then
45755
45756 wx_cv_var_timezone=__timezone
45757
45758 else
45759 echo "$as_me: failed program was:" >&5
45760 sed 's/^/| /' conftest.$ac_ext >&5
45761
45762
45763 if test "$USE_DOS" = 0 ; then
45764 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45765 echo "$as_me: WARNING: no timezone variable" >&2;}
45766 fi
45767
45768
45769 fi
45770
45771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45772
45773
45774 fi
45775
45776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45777
45778
45779 fi
45780
45781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45782 ac_ext=c
45783 ac_cpp='$CPP $CPPFLAGS'
45784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45787
45788
45789
45790 fi
45791 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45792 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45793
45794 if test "x$wx_cv_var_timezone" != x ; then
45795 cat >>confdefs.h <<_ACEOF
45796 #define WX_TIMEZONE $wx_cv_var_timezone
45797 _ACEOF
45798
45799 fi
45800
45801
45802 for ac_func in localtime
45803 do
45804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45809 else
45810 cat >conftest.$ac_ext <<_ACEOF
45811 /* confdefs.h. */
45812 _ACEOF
45813 cat confdefs.h >>conftest.$ac_ext
45814 cat >>conftest.$ac_ext <<_ACEOF
45815 /* end confdefs.h. */
45816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45818 #define $ac_func innocuous_$ac_func
45819
45820 /* System header to define __stub macros and hopefully few prototypes,
45821 which can conflict with char $ac_func (); below.
45822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45823 <limits.h> exists even on freestanding compilers. */
45824
45825 #ifdef __STDC__
45826 # include <limits.h>
45827 #else
45828 # include <assert.h>
45829 #endif
45830
45831 #undef $ac_func
45832
45833 /* Override any GCC internal prototype to avoid an error.
45834 Use char because int might match the return type of a GCC
45835 builtin and then its argument prototype would still apply. */
45836 #ifdef __cplusplus
45837 extern "C"
45838 #endif
45839 char $ac_func ();
45840 /* The GNU C library defines this for functions which it implements
45841 to always fail with ENOSYS. Some functions are actually named
45842 something starting with __ and the normal name is an alias. */
45843 #if defined __stub_$ac_func || defined __stub___$ac_func
45844 choke me
45845 #endif
45846
45847 int
45848 main ()
45849 {
45850 return $ac_func ();
45851 ;
45852 return 0;
45853 }
45854 _ACEOF
45855 rm -f conftest.$ac_objext conftest$ac_exeext
45856 if { (ac_try="$ac_link"
45857 case "(($ac_try" in
45858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45859 *) ac_try_echo=$ac_try;;
45860 esac
45861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45862 (eval "$ac_link") 2>conftest.er1
45863 ac_status=$?
45864 grep -v '^ *+' conftest.er1 >conftest.err
45865 rm -f conftest.er1
45866 cat conftest.err >&5
45867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45868 (exit $ac_status); } && {
45869 test -z "$ac_c_werror_flag" ||
45870 test ! -s conftest.err
45871 } && test -s conftest$ac_exeext &&
45872 $as_test_x conftest$ac_exeext; then
45873 eval "$as_ac_var=yes"
45874 else
45875 echo "$as_me: failed program was:" >&5
45876 sed 's/^/| /' conftest.$ac_ext >&5
45877
45878 eval "$as_ac_var=no"
45879 fi
45880
45881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45882 conftest$ac_exeext conftest.$ac_ext
45883 fi
45884 ac_res=`eval echo '${'$as_ac_var'}'`
45885 { echo "$as_me:$LINENO: result: $ac_res" >&5
45886 echo "${ECHO_T}$ac_res" >&6; }
45887 if test `eval echo '${'$as_ac_var'}'` = yes; then
45888 cat >>confdefs.h <<_ACEOF
45889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45890 _ACEOF
45891
45892 fi
45893 done
45894
45895
45896 if test "$ac_cv_func_localtime" = "yes"; then
45897 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45898 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45899 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45900 echo $ECHO_N "(cached) $ECHO_C" >&6
45901 else
45902
45903 cat >conftest.$ac_ext <<_ACEOF
45904 /* confdefs.h. */
45905 _ACEOF
45906 cat confdefs.h >>conftest.$ac_ext
45907 cat >>conftest.$ac_ext <<_ACEOF
45908 /* end confdefs.h. */
45909
45910 #include <time.h>
45911
45912 int
45913 main ()
45914 {
45915
45916 struct tm tm;
45917 tm.tm_gmtoff++;
45918
45919 ;
45920 return 0;
45921 }
45922 _ACEOF
45923 rm -f conftest.$ac_objext
45924 if { (ac_try="$ac_compile"
45925 case "(($ac_try" in
45926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45927 *) ac_try_echo=$ac_try;;
45928 esac
45929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45930 (eval "$ac_compile") 2>conftest.er1
45931 ac_status=$?
45932 grep -v '^ *+' conftest.er1 >conftest.err
45933 rm -f conftest.er1
45934 cat conftest.err >&5
45935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936 (exit $ac_status); } && {
45937 test -z "$ac_c_werror_flag" ||
45938 test ! -s conftest.err
45939 } && test -s conftest.$ac_objext; then
45940
45941 wx_cv_struct_tm_has_gmtoff=yes
45942
45943 else
45944 echo "$as_me: failed program was:" >&5
45945 sed 's/^/| /' conftest.$ac_ext >&5
45946
45947 wx_cv_struct_tm_has_gmtoff=no
45948
45949 fi
45950
45951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45952
45953 fi
45954 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45955 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45956 fi
45957
45958 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define WX_GMTOFF_IN_TM 1
45961 _ACEOF
45962
45963 fi
45964
45965
45966
45967 for ac_func in gettimeofday ftime
45968 do
45969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45973 echo $ECHO_N "(cached) $ECHO_C" >&6
45974 else
45975 cat >conftest.$ac_ext <<_ACEOF
45976 /* confdefs.h. */
45977 _ACEOF
45978 cat confdefs.h >>conftest.$ac_ext
45979 cat >>conftest.$ac_ext <<_ACEOF
45980 /* end confdefs.h. */
45981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45983 #define $ac_func innocuous_$ac_func
45984
45985 /* System header to define __stub macros and hopefully few prototypes,
45986 which can conflict with char $ac_func (); below.
45987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45988 <limits.h> exists even on freestanding compilers. */
45989
45990 #ifdef __STDC__
45991 # include <limits.h>
45992 #else
45993 # include <assert.h>
45994 #endif
45995
45996 #undef $ac_func
45997
45998 /* Override any GCC internal prototype to avoid an error.
45999 Use char because int might match the return type of a GCC
46000 builtin and then its argument prototype would still apply. */
46001 #ifdef __cplusplus
46002 extern "C"
46003 #endif
46004 char $ac_func ();
46005 /* The GNU C library defines this for functions which it implements
46006 to always fail with ENOSYS. Some functions are actually named
46007 something starting with __ and the normal name is an alias. */
46008 #if defined __stub_$ac_func || defined __stub___$ac_func
46009 choke me
46010 #endif
46011
46012 int
46013 main ()
46014 {
46015 return $ac_func ();
46016 ;
46017 return 0;
46018 }
46019 _ACEOF
46020 rm -f conftest.$ac_objext conftest$ac_exeext
46021 if { (ac_try="$ac_link"
46022 case "(($ac_try" in
46023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46024 *) ac_try_echo=$ac_try;;
46025 esac
46026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46027 (eval "$ac_link") 2>conftest.er1
46028 ac_status=$?
46029 grep -v '^ *+' conftest.er1 >conftest.err
46030 rm -f conftest.er1
46031 cat conftest.err >&5
46032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46033 (exit $ac_status); } && {
46034 test -z "$ac_c_werror_flag" ||
46035 test ! -s conftest.err
46036 } && test -s conftest$ac_exeext &&
46037 $as_test_x conftest$ac_exeext; then
46038 eval "$as_ac_var=yes"
46039 else
46040 echo "$as_me: failed program was:" >&5
46041 sed 's/^/| /' conftest.$ac_ext >&5
46042
46043 eval "$as_ac_var=no"
46044 fi
46045
46046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46047 conftest$ac_exeext conftest.$ac_ext
46048 fi
46049 ac_res=`eval echo '${'$as_ac_var'}'`
46050 { echo "$as_me:$LINENO: result: $ac_res" >&5
46051 echo "${ECHO_T}$ac_res" >&6; }
46052 if test `eval echo '${'$as_ac_var'}'` = yes; then
46053 cat >>confdefs.h <<_ACEOF
46054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46055 _ACEOF
46056 break
46057 fi
46058 done
46059
46060
46061 if test "$ac_cv_func_gettimeofday" = "yes"; then
46062 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46063 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46064 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46065 echo $ECHO_N "(cached) $ECHO_C" >&6
46066 else
46067
46068 cat >conftest.$ac_ext <<_ACEOF
46069 /* confdefs.h. */
46070 _ACEOF
46071 cat confdefs.h >>conftest.$ac_ext
46072 cat >>conftest.$ac_ext <<_ACEOF
46073 /* end confdefs.h. */
46074
46075 #include <sys/time.h>
46076 #include <unistd.h>
46077
46078 int
46079 main ()
46080 {
46081
46082 struct timeval tv;
46083 gettimeofday(&tv, NULL);
46084
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 rm -f conftest.$ac_objext
46090 if { (ac_try="$ac_compile"
46091 case "(($ac_try" in
46092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46093 *) ac_try_echo=$ac_try;;
46094 esac
46095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46096 (eval "$ac_compile") 2>conftest.er1
46097 ac_status=$?
46098 grep -v '^ *+' conftest.er1 >conftest.err
46099 rm -f conftest.er1
46100 cat conftest.err >&5
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); } && {
46103 test -z "$ac_c_werror_flag" ||
46104 test ! -s conftest.err
46105 } && test -s conftest.$ac_objext; then
46106 wx_cv_func_gettimeofday_has_2_args=yes
46107 else
46108 echo "$as_me: failed program was:" >&5
46109 sed 's/^/| /' conftest.$ac_ext >&5
46110
46111 cat >conftest.$ac_ext <<_ACEOF
46112 /* confdefs.h. */
46113 _ACEOF
46114 cat confdefs.h >>conftest.$ac_ext
46115 cat >>conftest.$ac_ext <<_ACEOF
46116 /* end confdefs.h. */
46117
46118 #include <sys/time.h>
46119 #include <unistd.h>
46120
46121 int
46122 main ()
46123 {
46124
46125 struct timeval tv;
46126 gettimeofday(&tv);
46127
46128 ;
46129 return 0;
46130 }
46131 _ACEOF
46132 rm -f conftest.$ac_objext
46133 if { (ac_try="$ac_compile"
46134 case "(($ac_try" in
46135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46136 *) ac_try_echo=$ac_try;;
46137 esac
46138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46139 (eval "$ac_compile") 2>conftest.er1
46140 ac_status=$?
46141 grep -v '^ *+' conftest.er1 >conftest.err
46142 rm -f conftest.er1
46143 cat conftest.err >&5
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); } && {
46146 test -z "$ac_c_werror_flag" ||
46147 test ! -s conftest.err
46148 } && test -s conftest.$ac_objext; then
46149 wx_cv_func_gettimeofday_has_2_args=no
46150 else
46151 echo "$as_me: failed program was:" >&5
46152 sed 's/^/| /' conftest.$ac_ext >&5
46153
46154
46155 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46156 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46157 wx_cv_func_gettimeofday_has_2_args=unknown
46158
46159
46160 fi
46161
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163
46164 fi
46165
46166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46167
46168 fi
46169 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46170 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46171
46172 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define WX_GETTIMEOFDAY_NO_TZ 1
46175 _ACEOF
46176
46177 fi
46178 fi
46179
46180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46181 fi
46182
46183
46184 if test "$wxUSE_SOCKETS" = "yes"; then
46185 if test "$wxUSE_MGL" = "1"; then
46186 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46187 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46188 wxUSE_SOCKETS="no"
46189 fi
46190 fi
46191
46192 if test "$wxUSE_SOCKETS" = "yes"; then
46193 if test "$TOOLKIT" != "MSW"; then
46194 { echo "$as_me:$LINENO: checking for socket" >&5
46195 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46196 if test "${ac_cv_func_socket+set}" = set; then
46197 echo $ECHO_N "(cached) $ECHO_C" >&6
46198 else
46199 cat >conftest.$ac_ext <<_ACEOF
46200 /* confdefs.h. */
46201 _ACEOF
46202 cat confdefs.h >>conftest.$ac_ext
46203 cat >>conftest.$ac_ext <<_ACEOF
46204 /* end confdefs.h. */
46205 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46207 #define socket innocuous_socket
46208
46209 /* System header to define __stub macros and hopefully few prototypes,
46210 which can conflict with char socket (); below.
46211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46212 <limits.h> exists even on freestanding compilers. */
46213
46214 #ifdef __STDC__
46215 # include <limits.h>
46216 #else
46217 # include <assert.h>
46218 #endif
46219
46220 #undef socket
46221
46222 /* Override any GCC internal prototype to avoid an error.
46223 Use char because int might match the return type of a GCC
46224 builtin and then its argument prototype would still apply. */
46225 #ifdef __cplusplus
46226 extern "C"
46227 #endif
46228 char socket ();
46229 /* The GNU C library defines this for functions which it implements
46230 to always fail with ENOSYS. Some functions are actually named
46231 something starting with __ and the normal name is an alias. */
46232 #if defined __stub_socket || defined __stub___socket
46233 choke me
46234 #endif
46235
46236 int
46237 main ()
46238 {
46239 return socket ();
46240 ;
46241 return 0;
46242 }
46243 _ACEOF
46244 rm -f conftest.$ac_objext conftest$ac_exeext
46245 if { (ac_try="$ac_link"
46246 case "(($ac_try" in
46247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46248 *) ac_try_echo=$ac_try;;
46249 esac
46250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46251 (eval "$ac_link") 2>conftest.er1
46252 ac_status=$?
46253 grep -v '^ *+' conftest.er1 >conftest.err
46254 rm -f conftest.er1
46255 cat conftest.err >&5
46256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46257 (exit $ac_status); } && {
46258 test -z "$ac_c_werror_flag" ||
46259 test ! -s conftest.err
46260 } && test -s conftest$ac_exeext &&
46261 $as_test_x conftest$ac_exeext; then
46262 ac_cv_func_socket=yes
46263 else
46264 echo "$as_me: failed program was:" >&5
46265 sed 's/^/| /' conftest.$ac_ext >&5
46266
46267 ac_cv_func_socket=no
46268 fi
46269
46270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46271 conftest$ac_exeext conftest.$ac_ext
46272 fi
46273 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46274 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46275 if test $ac_cv_func_socket = yes; then
46276 :
46277 else
46278
46279 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46280 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46281 if test "${ac_cv_lib_socket_socket+set}" = set; then
46282 echo $ECHO_N "(cached) $ECHO_C" >&6
46283 else
46284 ac_check_lib_save_LIBS=$LIBS
46285 LIBS="-lsocket $LIBS"
46286 cat >conftest.$ac_ext <<_ACEOF
46287 /* confdefs.h. */
46288 _ACEOF
46289 cat confdefs.h >>conftest.$ac_ext
46290 cat >>conftest.$ac_ext <<_ACEOF
46291 /* end confdefs.h. */
46292
46293 /* Override any GCC internal prototype to avoid an error.
46294 Use char because int might match the return type of a GCC
46295 builtin and then its argument prototype would still apply. */
46296 #ifdef __cplusplus
46297 extern "C"
46298 #endif
46299 char socket ();
46300 int
46301 main ()
46302 {
46303 return socket ();
46304 ;
46305 return 0;
46306 }
46307 _ACEOF
46308 rm -f conftest.$ac_objext conftest$ac_exeext
46309 if { (ac_try="$ac_link"
46310 case "(($ac_try" in
46311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46312 *) ac_try_echo=$ac_try;;
46313 esac
46314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46315 (eval "$ac_link") 2>conftest.er1
46316 ac_status=$?
46317 grep -v '^ *+' conftest.er1 >conftest.err
46318 rm -f conftest.er1
46319 cat conftest.err >&5
46320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46321 (exit $ac_status); } && {
46322 test -z "$ac_c_werror_flag" ||
46323 test ! -s conftest.err
46324 } && test -s conftest$ac_exeext &&
46325 $as_test_x conftest$ac_exeext; then
46326 ac_cv_lib_socket_socket=yes
46327 else
46328 echo "$as_me: failed program was:" >&5
46329 sed 's/^/| /' conftest.$ac_ext >&5
46330
46331 ac_cv_lib_socket_socket=no
46332 fi
46333
46334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46335 conftest$ac_exeext conftest.$ac_ext
46336 LIBS=$ac_check_lib_save_LIBS
46337 fi
46338 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46339 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46340 if test $ac_cv_lib_socket_socket = yes; then
46341 if test "$INET_LINK" != " -lsocket"; then
46342 INET_LINK="$INET_LINK -lsocket"
46343 fi
46344 else
46345
46346 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46347 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46348 wxUSE_SOCKETS=no
46349
46350
46351 fi
46352
46353
46354
46355 fi
46356
46357 fi
46358 fi
46359
46360 if test "$wxUSE_SOCKETS" = "yes" ; then
46361 if test "$TOOLKIT" != "MSW"; then
46362 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46363 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46364 if test "${wx_cv_type_getsockname3+set}" = set; then
46365 echo $ECHO_N "(cached) $ECHO_C" >&6
46366 else
46367
46368 ac_ext=cpp
46369 ac_cpp='$CXXCPP $CPPFLAGS'
46370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46373
46374 cat >conftest.$ac_ext <<_ACEOF
46375 /* confdefs.h. */
46376 _ACEOF
46377 cat confdefs.h >>conftest.$ac_ext
46378 cat >>conftest.$ac_ext <<_ACEOF
46379 /* end confdefs.h. */
46380
46381 #include <sys/types.h>
46382 #include <sys/socket.h>
46383
46384 int
46385 main ()
46386 {
46387
46388 socklen_t len;
46389 getsockname(0, 0, &len);
46390
46391 ;
46392 return 0;
46393 }
46394 _ACEOF
46395 rm -f conftest.$ac_objext
46396 if { (ac_try="$ac_compile"
46397 case "(($ac_try" in
46398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46399 *) ac_try_echo=$ac_try;;
46400 esac
46401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46402 (eval "$ac_compile") 2>conftest.er1
46403 ac_status=$?
46404 grep -v '^ *+' conftest.er1 >conftest.err
46405 rm -f conftest.er1
46406 cat conftest.err >&5
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); } && {
46409 test -z "$ac_cxx_werror_flag" ||
46410 test ! -s conftest.err
46411 } && test -s conftest.$ac_objext; then
46412 wx_cv_type_getsockname3=socklen_t
46413 else
46414 echo "$as_me: failed program was:" >&5
46415 sed 's/^/| /' conftest.$ac_ext >&5
46416
46417
46418 CFLAGS_OLD="$CFLAGS"
46419 if test "$GCC" = yes ; then
46420 CFLAGS="-Werror $CFLAGS"
46421 fi
46422
46423 cat >conftest.$ac_ext <<_ACEOF
46424 /* confdefs.h. */
46425 _ACEOF
46426 cat confdefs.h >>conftest.$ac_ext
46427 cat >>conftest.$ac_ext <<_ACEOF
46428 /* end confdefs.h. */
46429
46430 #include <sys/types.h>
46431 #include <sys/socket.h>
46432
46433 int
46434 main ()
46435 {
46436
46437 size_t len;
46438 getsockname(0, 0, &len);
46439
46440 ;
46441 return 0;
46442 }
46443 _ACEOF
46444 rm -f conftest.$ac_objext
46445 if { (ac_try="$ac_compile"
46446 case "(($ac_try" in
46447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46448 *) ac_try_echo=$ac_try;;
46449 esac
46450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46451 (eval "$ac_compile") 2>conftest.er1
46452 ac_status=$?
46453 grep -v '^ *+' conftest.er1 >conftest.err
46454 rm -f conftest.er1
46455 cat conftest.err >&5
46456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46457 (exit $ac_status); } && {
46458 test -z "$ac_cxx_werror_flag" ||
46459 test ! -s conftest.err
46460 } && test -s conftest.$ac_objext; then
46461 wx_cv_type_getsockname3=size_t
46462 else
46463 echo "$as_me: failed program was:" >&5
46464 sed 's/^/| /' conftest.$ac_ext >&5
46465
46466 cat >conftest.$ac_ext <<_ACEOF
46467 /* confdefs.h. */
46468 _ACEOF
46469 cat confdefs.h >>conftest.$ac_ext
46470 cat >>conftest.$ac_ext <<_ACEOF
46471 /* end confdefs.h. */
46472
46473 #include <sys/types.h>
46474 #include <sys/socket.h>
46475
46476 int
46477 main ()
46478 {
46479
46480 int len;
46481 getsockname(0, 0, &len);
46482
46483 ;
46484 return 0;
46485 }
46486 _ACEOF
46487 rm -f conftest.$ac_objext
46488 if { (ac_try="$ac_compile"
46489 case "(($ac_try" in
46490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46491 *) ac_try_echo=$ac_try;;
46492 esac
46493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46494 (eval "$ac_compile") 2>conftest.er1
46495 ac_status=$?
46496 grep -v '^ *+' conftest.er1 >conftest.err
46497 rm -f conftest.er1
46498 cat conftest.err >&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } && {
46501 test -z "$ac_cxx_werror_flag" ||
46502 test ! -s conftest.err
46503 } && test -s conftest.$ac_objext; then
46504 wx_cv_type_getsockname3=int
46505 else
46506 echo "$as_me: failed program was:" >&5
46507 sed 's/^/| /' conftest.$ac_ext >&5
46508
46509 wx_cv_type_getsockname3=unknown
46510
46511 fi
46512
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514
46515 fi
46516
46517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46518
46519 CFLAGS="$CFLAGS_OLD"
46520
46521
46522 fi
46523
46524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46525 ac_ext=c
46526 ac_cpp='$CPP $CPPFLAGS'
46527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46530
46531
46532 fi
46533 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46534 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46535
46536 if test "$wx_cv_type_getsockname3" = "unknown"; then
46537 wxUSE_SOCKETS=no
46538 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46539 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46540 else
46541 cat >>confdefs.h <<_ACEOF
46542 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46543 _ACEOF
46544
46545 fi
46546 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46547 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46548 if test "${wx_cv_type_getsockopt5+set}" = set; then
46549 echo $ECHO_N "(cached) $ECHO_C" >&6
46550 else
46551
46552 ac_ext=cpp
46553 ac_cpp='$CXXCPP $CPPFLAGS'
46554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46557
46558 cat >conftest.$ac_ext <<_ACEOF
46559 /* confdefs.h. */
46560 _ACEOF
46561 cat confdefs.h >>conftest.$ac_ext
46562 cat >>conftest.$ac_ext <<_ACEOF
46563 /* end confdefs.h. */
46564
46565 #include <sys/types.h>
46566 #include <sys/socket.h>
46567
46568 int
46569 main ()
46570 {
46571
46572 socklen_t len;
46573 getsockopt(0, 0, 0, 0, &len);
46574
46575 ;
46576 return 0;
46577 }
46578 _ACEOF
46579 rm -f conftest.$ac_objext
46580 if { (ac_try="$ac_compile"
46581 case "(($ac_try" in
46582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46583 *) ac_try_echo=$ac_try;;
46584 esac
46585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46586 (eval "$ac_compile") 2>conftest.er1
46587 ac_status=$?
46588 grep -v '^ *+' conftest.er1 >conftest.err
46589 rm -f conftest.er1
46590 cat conftest.err >&5
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); } && {
46593 test -z "$ac_cxx_werror_flag" ||
46594 test ! -s conftest.err
46595 } && test -s conftest.$ac_objext; then
46596 wx_cv_type_getsockopt5=socklen_t
46597 else
46598 echo "$as_me: failed program was:" >&5
46599 sed 's/^/| /' conftest.$ac_ext >&5
46600
46601
46602 cat >conftest.$ac_ext <<_ACEOF
46603 /* confdefs.h. */
46604 _ACEOF
46605 cat confdefs.h >>conftest.$ac_ext
46606 cat >>conftest.$ac_ext <<_ACEOF
46607 /* end confdefs.h. */
46608
46609 #include <sys/types.h>
46610 #include <sys/socket.h>
46611
46612 int
46613 main ()
46614 {
46615
46616 size_t len;
46617 getsockopt(0, 0, 0, 0, &len);
46618
46619 ;
46620 return 0;
46621 }
46622 _ACEOF
46623 rm -f conftest.$ac_objext
46624 if { (ac_try="$ac_compile"
46625 case "(($ac_try" in
46626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46627 *) ac_try_echo=$ac_try;;
46628 esac
46629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46630 (eval "$ac_compile") 2>conftest.er1
46631 ac_status=$?
46632 grep -v '^ *+' conftest.er1 >conftest.err
46633 rm -f conftest.er1
46634 cat conftest.err >&5
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); } && {
46637 test -z "$ac_cxx_werror_flag" ||
46638 test ! -s conftest.err
46639 } && test -s conftest.$ac_objext; then
46640 wx_cv_type_getsockopt5=size_t
46641 else
46642 echo "$as_me: failed program was:" >&5
46643 sed 's/^/| /' conftest.$ac_ext >&5
46644
46645 cat >conftest.$ac_ext <<_ACEOF
46646 /* confdefs.h. */
46647 _ACEOF
46648 cat confdefs.h >>conftest.$ac_ext
46649 cat >>conftest.$ac_ext <<_ACEOF
46650 /* end confdefs.h. */
46651
46652 #include <sys/types.h>
46653 #include <sys/socket.h>
46654
46655 int
46656 main ()
46657 {
46658
46659 int len;
46660 getsockopt(0, 0, 0, 0, &len);
46661
46662 ;
46663 return 0;
46664 }
46665 _ACEOF
46666 rm -f conftest.$ac_objext
46667 if { (ac_try="$ac_compile"
46668 case "(($ac_try" in
46669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46670 *) ac_try_echo=$ac_try;;
46671 esac
46672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46673 (eval "$ac_compile") 2>conftest.er1
46674 ac_status=$?
46675 grep -v '^ *+' conftest.er1 >conftest.err
46676 rm -f conftest.er1
46677 cat conftest.err >&5
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); } && {
46680 test -z "$ac_cxx_werror_flag" ||
46681 test ! -s conftest.err
46682 } && test -s conftest.$ac_objext; then
46683 wx_cv_type_getsockopt5=int
46684 else
46685 echo "$as_me: failed program was:" >&5
46686 sed 's/^/| /' conftest.$ac_ext >&5
46687
46688 wx_cv_type_getsockopt5=unknown
46689
46690 fi
46691
46692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46693
46694 fi
46695
46696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46697
46698
46699 fi
46700
46701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46702 ac_ext=c
46703 ac_cpp='$CPP $CPPFLAGS'
46704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46707
46708
46709 fi
46710 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46711 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46712
46713 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46714 wxUSE_SOCKETS=no
46715 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46716 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46717 else
46718 cat >>confdefs.h <<_ACEOF
46719 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46720 _ACEOF
46721
46722 fi
46723 fi
46724 fi
46725
46726 if test "$wxUSE_SOCKETS" = "yes" ; then
46727 cat >>confdefs.h <<\_ACEOF
46728 #define wxUSE_SOCKETS 1
46729 _ACEOF
46730
46731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46732 fi
46733
46734 if test "$wxUSE_PROTOCOL" = "yes"; then
46735 if test "$wxUSE_SOCKETS" != "yes"; then
46736 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46737 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46738 wxUSE_PROTOCOL=no
46739 fi
46740 fi
46741
46742 if test "$wxUSE_PROTOCOL" = "yes"; then
46743 cat >>confdefs.h <<\_ACEOF
46744 #define wxUSE_PROTOCOL 1
46745 _ACEOF
46746
46747
46748 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_PROTOCOL_HTTP 1
46751 _ACEOF
46752
46753 fi
46754 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_PROTOCOL_FTP 1
46757 _ACEOF
46758
46759 fi
46760 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_PROTOCOL_FILE 1
46763 _ACEOF
46764
46765 fi
46766 else
46767 if test "$wxUSE_FS_INET" = "yes"; then
46768 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46769 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46770 wxUSE_FS_INET="no"
46771 fi
46772 fi
46773
46774 if test "$wxUSE_URL" = "yes"; then
46775 if test "$wxUSE_PROTOCOL" != "yes"; then
46776 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46777 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46778 wxUSE_URL=no
46779 fi
46780 if test "$wxUSE_URL" = "yes"; then
46781 cat >>confdefs.h <<\_ACEOF
46782 #define wxUSE_URL 1
46783 _ACEOF
46784
46785 fi
46786 fi
46787
46788 if test "$wxUSE_VARIANT" = "yes"; then
46789 cat >>confdefs.h <<\_ACEOF
46790 #define wxUSE_VARIANT 1
46791 _ACEOF
46792
46793 fi
46794
46795 if test "$wxUSE_FS_INET" = "yes"; then
46796 cat >>confdefs.h <<\_ACEOF
46797 #define wxUSE_FS_INET 1
46798 _ACEOF
46799
46800 fi
46801
46802
46803 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46804 wxUSE_JOYSTICK=no
46805
46806 if test "$TOOLKIT" = "MSW"; then
46807 wxUSE_JOYSTICK=yes
46808
46809 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46810 if test "$USE_DARWIN" = 1; then
46811 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46812 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46813 ac_ext=cpp
46814 ac_cpp='$CXXCPP $CPPFLAGS'
46815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46818
46819 cat >conftest.$ac_ext <<_ACEOF
46820 /* confdefs.h. */
46821 _ACEOF
46822 cat confdefs.h >>conftest.$ac_ext
46823 cat >>conftest.$ac_ext <<_ACEOF
46824 /* end confdefs.h. */
46825 #include <IOKit/hid/IOHIDLib.h>
46826 int
46827 main ()
46828 {
46829 IOHIDQueueInterface *qi = NULL;
46830 IOHIDCallbackFunction cb = NULL;
46831 qi->setEventCallout(NULL, cb, NULL, NULL);
46832 ;
46833 return 0;
46834 }
46835 _ACEOF
46836 rm -f conftest.$ac_objext
46837 if { (ac_try="$ac_compile"
46838 case "(($ac_try" in
46839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46840 *) ac_try_echo=$ac_try;;
46841 esac
46842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46843 (eval "$ac_compile") 2>conftest.er1
46844 ac_status=$?
46845 grep -v '^ *+' conftest.er1 >conftest.err
46846 rm -f conftest.er1
46847 cat conftest.err >&5
46848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46849 (exit $ac_status); } && {
46850 test -z "$ac_cxx_werror_flag" ||
46851 test ! -s conftest.err
46852 } && test -s conftest.$ac_objext; then
46853 wxUSE_JOYSTICK=yes
46854
46855 else
46856 echo "$as_me: failed program was:" >&5
46857 sed 's/^/| /' conftest.$ac_ext >&5
46858
46859
46860 fi
46861
46862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46863 ac_ext=c
46864 ac_cpp='$CPP $CPPFLAGS'
46865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46868
46869 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46870 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46871 fi
46872
46873 else
46874 if test "$wxUSE_MGL" != "1"; then
46875 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46876 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
46877 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46878 echo $ECHO_N "(cached) $ECHO_C" >&6
46879 else
46880 cat >conftest.$ac_ext <<_ACEOF
46881 /* confdefs.h. */
46882 _ACEOF
46883 cat confdefs.h >>conftest.$ac_ext
46884 cat >>conftest.$ac_ext <<_ACEOF
46885 /* end confdefs.h. */
46886 $ac_includes_default
46887
46888 #include <linux/joystick.h>
46889 _ACEOF
46890 rm -f conftest.$ac_objext
46891 if { (ac_try="$ac_compile"
46892 case "(($ac_try" in
46893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46894 *) ac_try_echo=$ac_try;;
46895 esac
46896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46897 (eval "$ac_compile") 2>conftest.er1
46898 ac_status=$?
46899 grep -v '^ *+' conftest.er1 >conftest.err
46900 rm -f conftest.er1
46901 cat conftest.err >&5
46902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46903 (exit $ac_status); } && {
46904 test -z "$ac_c_werror_flag" ||
46905 test ! -s conftest.err
46906 } && test -s conftest.$ac_objext; then
46907 ac_cv_header_linux_joystick_h=yes
46908 else
46909 echo "$as_me: failed program was:" >&5
46910 sed 's/^/| /' conftest.$ac_ext >&5
46911
46912 ac_cv_header_linux_joystick_h=no
46913 fi
46914
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 fi
46917 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46918 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
46919 if test $ac_cv_header_linux_joystick_h = yes; then
46920 wxUSE_JOYSTICK=yes
46921 fi
46922
46923
46924 fi
46925 fi
46926
46927 if test "$wxUSE_JOYSTICK" = "yes"; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_JOYSTICK 1
46930 _ACEOF
46931
46932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46933 else
46934 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46935 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46936 fi
46937 fi
46938
46939
46940
46941 if test "$wxUSE_FONTMAP" = "yes" ; then
46942 cat >>confdefs.h <<\_ACEOF
46943 #define wxUSE_FONTMAP 1
46944 _ACEOF
46945
46946 fi
46947
46948 if test "$wxUSE_UNICODE" = "yes" ; then
46949 cat >>confdefs.h <<\_ACEOF
46950 #define wxUSE_UNICODE 1
46951 _ACEOF
46952
46953
46954 if test "$USE_WIN32" != 1; then
46955 wxUSE_UNICODE_MSLU=no
46956 fi
46957
46958 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46959 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46960 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46961 if test "${ac_cv_lib_unicows_main+set}" = set; then
46962 echo $ECHO_N "(cached) $ECHO_C" >&6
46963 else
46964 ac_check_lib_save_LIBS=$LIBS
46965 LIBS="-lunicows $LIBS"
46966 cat >conftest.$ac_ext <<_ACEOF
46967 /* confdefs.h. */
46968 _ACEOF
46969 cat confdefs.h >>conftest.$ac_ext
46970 cat >>conftest.$ac_ext <<_ACEOF
46971 /* end confdefs.h. */
46972
46973
46974 int
46975 main ()
46976 {
46977 return main ();
46978 ;
46979 return 0;
46980 }
46981 _ACEOF
46982 rm -f conftest.$ac_objext conftest$ac_exeext
46983 if { (ac_try="$ac_link"
46984 case "(($ac_try" in
46985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46986 *) ac_try_echo=$ac_try;;
46987 esac
46988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46989 (eval "$ac_link") 2>conftest.er1
46990 ac_status=$?
46991 grep -v '^ *+' conftest.er1 >conftest.err
46992 rm -f conftest.er1
46993 cat conftest.err >&5
46994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46995 (exit $ac_status); } && {
46996 test -z "$ac_c_werror_flag" ||
46997 test ! -s conftest.err
46998 } && test -s conftest$ac_exeext &&
46999 $as_test_x conftest$ac_exeext; then
47000 ac_cv_lib_unicows_main=yes
47001 else
47002 echo "$as_me: failed program was:" >&5
47003 sed 's/^/| /' conftest.$ac_ext >&5
47004
47005 ac_cv_lib_unicows_main=no
47006 fi
47007
47008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47009 conftest$ac_exeext conftest.$ac_ext
47010 LIBS=$ac_check_lib_save_LIBS
47011 fi
47012 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47013 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47014 if test $ac_cv_lib_unicows_main = yes; then
47015
47016 cat >>confdefs.h <<\_ACEOF
47017 #define wxUSE_UNICODE_MSLU 1
47018 _ACEOF
47019
47020
47021 else
47022
47023 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47024 Applications will only run on Windows NT/2000/XP!" >&5
47025 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47026 Applications will only run on Windows NT/2000/XP!" >&2;}
47027 wxUSE_UNICODE_MSLU=no
47028
47029 fi
47030
47031 fi
47032 fi
47033
47034 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47035 cat >>confdefs.h <<\_ACEOF
47036 #define wxUSE_UNICODE_UTF8 1
47037 _ACEOF
47038
47039
47040 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_UTF8_LOCALE_ONLY 1
47043 _ACEOF
47044
47045 fi
47046 fi
47047
47048 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47049 cat >>confdefs.h <<\_ACEOF
47050 #define wxUSE_EXPERIMENTAL_PRINTF 1
47051 _ACEOF
47052
47053 fi
47054
47055
47056 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_CONSTRAINTS 1
47059 _ACEOF
47060
47061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47062 fi
47063
47064 if test "$wxUSE_MDI" = "yes"; then
47065 cat >>confdefs.h <<\_ACEOF
47066 #define wxUSE_MDI 1
47067 _ACEOF
47068
47069
47070 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_MDI_ARCHITECTURE 1
47073 _ACEOF
47074
47075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47076 fi
47077 fi
47078
47079 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47082 _ACEOF
47083
47084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47085 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47087 fi
47088 fi
47089
47090 if test "$wxUSE_HELP" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_HELP 1
47093 _ACEOF
47094
47095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47096
47097 if test "$wxUSE_MSW" = 1; then
47098 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47099 cat >>confdefs.h <<\_ACEOF
47100 #define wxUSE_MS_HTML_HELP 1
47101 _ACEOF
47102
47103 fi
47104 fi
47105
47106 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47107 if test "$wxUSE_HTML" = "yes"; then
47108 cat >>confdefs.h <<\_ACEOF
47109 #define wxUSE_WXHTML_HELP 1
47110 _ACEOF
47111
47112 else
47113 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47114 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47115 wxUSE_WXHTML_HELP=no
47116 fi
47117 fi
47118 fi
47119
47120 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47121 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47122 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47123 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47124 else
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_PRINTING_ARCHITECTURE 1
47127 _ACEOF
47128
47129 fi
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47131 fi
47132
47133 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47134 cat >>confdefs.h <<\_ACEOF
47135 #define wxUSE_POSTSCRIPT 1
47136 _ACEOF
47137
47138 fi
47139
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47142 _ACEOF
47143
47144
47145 cat >>confdefs.h <<\_ACEOF
47146 #define wxUSE_NORMALIZED_PS_FONTS 1
47147 _ACEOF
47148
47149
47150 if test "$wxUSE_SVG" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_SVG 1
47153 _ACEOF
47154
47155 fi
47156
47157
47158 if test "$wxUSE_METAFILE" = "yes"; then
47159 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47160 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47161 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47162 wxUSE_METAFILE=no
47163 fi
47164 fi
47165
47166
47167 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47168 -o "$wxUSE_CLIPBOARD" = "yes" \
47169 -o "$wxUSE_OLE" = "yes" \
47170 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47171 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47172 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47173 if test "${ac_cv_header_ole2_h+set}" = set; then
47174 echo $ECHO_N "(cached) $ECHO_C" >&6
47175 else
47176 cat >conftest.$ac_ext <<_ACEOF
47177 /* confdefs.h. */
47178 _ACEOF
47179 cat confdefs.h >>conftest.$ac_ext
47180 cat >>conftest.$ac_ext <<_ACEOF
47181 /* end confdefs.h. */
47182
47183
47184 #include <ole2.h>
47185 _ACEOF
47186 rm -f conftest.$ac_objext
47187 if { (ac_try="$ac_compile"
47188 case "(($ac_try" in
47189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47190 *) ac_try_echo=$ac_try;;
47191 esac
47192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47193 (eval "$ac_compile") 2>conftest.er1
47194 ac_status=$?
47195 grep -v '^ *+' conftest.er1 >conftest.err
47196 rm -f conftest.er1
47197 cat conftest.err >&5
47198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47199 (exit $ac_status); } && {
47200 test -z "$ac_c_werror_flag" ||
47201 test ! -s conftest.err
47202 } && test -s conftest.$ac_objext; then
47203 ac_cv_header_ole2_h=yes
47204 else
47205 echo "$as_me: failed program was:" >&5
47206 sed 's/^/| /' conftest.$ac_ext >&5
47207
47208 ac_cv_header_ole2_h=no
47209 fi
47210
47211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47212 fi
47213 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47214 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47215
47216
47217
47218 if test "$ac_cv_header_ole2_h" = "yes" ; then
47219 if test "$GCC" = yes ; then
47220 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47221 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47222 cat >conftest.$ac_ext <<_ACEOF
47223 /* confdefs.h. */
47224 _ACEOF
47225 cat confdefs.h >>conftest.$ac_ext
47226 cat >>conftest.$ac_ext <<_ACEOF
47227 /* end confdefs.h. */
47228 #include <windows.h>
47229 #include <ole2.h>
47230 int
47231 main ()
47232 {
47233
47234 ;
47235 return 0;
47236 }
47237 _ACEOF
47238 rm -f conftest.$ac_objext
47239 if { (ac_try="$ac_compile"
47240 case "(($ac_try" in
47241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47242 *) ac_try_echo=$ac_try;;
47243 esac
47244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47245 (eval "$ac_compile") 2>conftest.er1
47246 ac_status=$?
47247 grep -v '^ *+' conftest.er1 >conftest.err
47248 rm -f conftest.er1
47249 cat conftest.err >&5
47250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251 (exit $ac_status); } && {
47252 test -z "$ac_c_werror_flag" ||
47253 test ! -s conftest.err
47254 } && test -s conftest.$ac_objext; then
47255 { echo "$as_me:$LINENO: result: no" >&5
47256 echo "${ECHO_T}no" >&6; }
47257 else
47258 echo "$as_me: failed program was:" >&5
47259 sed 's/^/| /' conftest.$ac_ext >&5
47260
47261 { echo "$as_me:$LINENO: result: yes" >&5
47262 echo "${ECHO_T}yes" >&6; }
47263 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47264 fi
47265
47266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47267 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47268 if test "$wxUSE_OLE" = "yes" ; then
47269 cat >>confdefs.h <<\_ACEOF
47270 #define wxUSE_OLE 1
47271 _ACEOF
47272
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_OLE_AUTOMATION 1
47275 _ACEOF
47276
47277 cat >>confdefs.h <<\_ACEOF
47278 #define wxUSE_ACTIVEX 1
47279 _ACEOF
47280
47281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47282 fi
47283 fi
47284
47285 if test "$wxUSE_DATAOBJ" = "yes" ; then
47286 cat >>confdefs.h <<\_ACEOF
47287 #define wxUSE_DATAOBJ 1
47288 _ACEOF
47289
47290 fi
47291 else
47292 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47293 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47294
47295 wxUSE_CLIPBOARD=no
47296 wxUSE_DRAG_AND_DROP=no
47297 wxUSE_DATAOBJ=no
47298 wxUSE_OLE=no
47299 fi
47300
47301 if test "$wxUSE_METAFILE" = "yes"; then
47302 cat >>confdefs.h <<\_ACEOF
47303 #define wxUSE_METAFILE 1
47304 _ACEOF
47305
47306
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_ENH_METAFILE 1
47309 _ACEOF
47310
47311 fi
47312 fi
47313
47314 if test "$wxUSE_IPC" = "yes"; then
47315 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47316 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47317 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47318 wxUSE_IPC=no
47319 fi
47320
47321 if test "$wxUSE_IPC" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_IPC 1
47324 _ACEOF
47325
47326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47327 fi
47328 fi
47329
47330 if test "$wxUSE_DATAOBJ" = "yes"; then
47331 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47332 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47333 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47334 wxUSE_DATAOBJ=no
47335 else
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_DATAOBJ 1
47338 _ACEOF
47339
47340 fi
47341 else
47342 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47343 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47344 wxUSE_CLIPBOARD=no
47345 wxUSE_DRAG_AND_DROP=no
47346 fi
47347
47348 if test "$wxUSE_CLIPBOARD" = "yes"; then
47349 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47350 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47351 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47352 wxUSE_CLIPBOARD=no
47353 fi
47354
47355 if test "$wxUSE_CLIPBOARD" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_CLIPBOARD 1
47358 _ACEOF
47359
47360 fi
47361 fi
47362
47363 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47364 if test "$wxUSE_GTK" = 1; then
47365 if test "$WXGTK12" != 1; then
47366 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47367 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47368 wxUSE_DRAG_AND_DROP=no
47369 fi
47370 fi
47371
47372 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47373 "$wxUSE_DFB" = 1; then
47374 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47375 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47376 wxUSE_DRAG_AND_DROP=no
47377 fi
47378
47379 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47380 cat >>confdefs.h <<\_ACEOF
47381 #define wxUSE_DRAG_AND_DROP 1
47382 _ACEOF
47383
47384 fi
47385
47386 fi
47387
47388 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47390 fi
47391
47392 if test "$wxUSE_SPLINES" = "yes" ; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_SPLINES 1
47395 _ACEOF
47396
47397 fi
47398
47399 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_MOUSEWHEEL 1
47402 _ACEOF
47403
47404 fi
47405
47406
47407 USES_CONTROLS=0
47408 if test "$wxUSE_CONTROLS" = "yes"; then
47409 USES_CONTROLS=1
47410 fi
47411
47412 if test "$wxUSE_ACCEL" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_ACCEL 1
47415 _ACEOF
47416
47417 USES_CONTROLS=1
47418 fi
47419
47420 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47421 cat >>confdefs.h <<\_ACEOF
47422 #define wxUSE_ANIMATIONCTRL 1
47423 _ACEOF
47424
47425 USES_CONTROLS=1
47426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47427 fi
47428
47429 if test "$wxUSE_BUTTON" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_BUTTON 1
47432 _ACEOF
47433
47434 USES_CONTROLS=1
47435 fi
47436
47437 if test "$wxUSE_BMPBUTTON" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_BMPBUTTON 1
47440 _ACEOF
47441
47442 USES_CONTROLS=1
47443 fi
47444
47445 if test "$wxUSE_CALCTRL" = "yes"; then
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_CALENDARCTRL 1
47448 _ACEOF
47449
47450 USES_CONTROLS=1
47451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47452 fi
47453
47454 if test "$wxUSE_CARET" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_CARET 1
47457 _ACEOF
47458
47459 USES_CONTROLS=1
47460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47461 fi
47462
47463 if test "$wxUSE_COLLPANE" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_COLLPANE 1
47466 _ACEOF
47467
47468 USES_CONTROLS=1
47469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47470 fi
47471
47472 if test "$wxUSE_COMBOBOX" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_COMBOBOX 1
47475 _ACEOF
47476
47477 USES_CONTROLS=1
47478 fi
47479
47480 if test "$wxUSE_COMBOCTRL" = "yes"; then
47481 cat >>confdefs.h <<\_ACEOF
47482 #define wxUSE_COMBOCTRL 1
47483 _ACEOF
47484
47485 USES_CONTROLS=1
47486 fi
47487
47488 if test "$wxUSE_CHOICE" = "yes"; then
47489 cat >>confdefs.h <<\_ACEOF
47490 #define wxUSE_CHOICE 1
47491 _ACEOF
47492
47493 USES_CONTROLS=1
47494 fi
47495
47496 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_CHOICEBOOK 1
47499 _ACEOF
47500
47501 USES_CONTROLS=1
47502 fi
47503
47504 if test "$wxUSE_CHECKBOX" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_CHECKBOX 1
47507 _ACEOF
47508
47509 USES_CONTROLS=1
47510 fi
47511
47512 if test "$wxUSE_CHECKLST" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_CHECKLISTBOX 1
47515 _ACEOF
47516
47517 USES_CONTROLS=1
47518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47519 fi
47520
47521 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_COLOURPICKERCTRL 1
47524 _ACEOF
47525
47526 USES_CONTROLS=1
47527 fi
47528
47529 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_DATEPICKCTRL 1
47532 _ACEOF
47533
47534 USES_CONTROLS=1
47535 fi
47536
47537 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_DIRPICKERCTRL 1
47540 _ACEOF
47541
47542 USES_CONTROLS=1
47543 fi
47544
47545 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_FILEPICKERCTRL 1
47548 _ACEOF
47549
47550 USES_CONTROLS=1
47551 fi
47552
47553 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47554 cat >>confdefs.h <<\_ACEOF
47555 #define wxUSE_FONTPICKERCTRL 1
47556 _ACEOF
47557
47558 USES_CONTROLS=1
47559 fi
47560
47561 if test "$wxUSE_DISPLAY" = "yes"; then
47562 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47563 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47564 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47565 wxUSE_DISPLAY=no
47566 else
47567 cat >>confdefs.h <<\_ACEOF
47568 #define wxUSE_DISPLAY 1
47569 _ACEOF
47570
47571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47572 fi
47573 fi
47574
47575 if test "$wxUSE_DETECT_SM" = "yes"; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_DETECT_SM 1
47578 _ACEOF
47579
47580 fi
47581
47582 if test "$wxUSE_GAUGE" = "yes"; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_GAUGE 1
47585 _ACEOF
47586
47587 USES_CONTROLS=1
47588 fi
47589
47590 if test "$wxUSE_GRID" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_GRID 1
47593 _ACEOF
47594
47595 USES_CONTROLS=1
47596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47597 fi
47598
47599 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47600 cat >>confdefs.h <<\_ACEOF
47601 #define wxUSE_HYPERLINKCTRL 1
47602 _ACEOF
47603
47604 USES_CONTROLS=1
47605 fi
47606
47607 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_BITMAPCOMBOBOX 1
47610 _ACEOF
47611
47612 USES_CONTROLS=1
47613 fi
47614
47615 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_DATAVIEWCTRL 1
47618 _ACEOF
47619
47620 USES_CONTROLS=1
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47622 fi
47623
47624 if test "$wxUSE_IMAGLIST" = "yes"; then
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_IMAGLIST 1
47627 _ACEOF
47628
47629 fi
47630
47631 if test "$wxUSE_LISTBOOK" = "yes"; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_LISTBOOK 1
47634 _ACEOF
47635
47636 USES_CONTROLS=1
47637 fi
47638
47639 if test "$wxUSE_LISTBOX" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_LISTBOX 1
47642 _ACEOF
47643
47644 USES_CONTROLS=1
47645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47646 fi
47647
47648 if test "$wxUSE_LISTCTRL" = "yes"; then
47649 if test "$wxUSE_IMAGLIST" = "yes"; then
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_LISTCTRL 1
47652 _ACEOF
47653
47654 USES_CONTROLS=1
47655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47656 else
47657 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47658 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47659 fi
47660 fi
47661
47662 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_EDITABLELISTBOX 1
47665 _ACEOF
47666
47667 USES_CONTROLS=1
47668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47669 fi
47670
47671 if test "$wxUSE_NOTEBOOK" = "yes"; then
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_NOTEBOOK 1
47674 _ACEOF
47675
47676 USES_CONTROLS=1
47677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47678 fi
47679
47680 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_ODCOMBOBOX 1
47683 _ACEOF
47684
47685 USES_CONTROLS=1
47686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47687 fi
47688
47689
47690 if test "$wxUSE_RADIOBOX" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_RADIOBOX 1
47693 _ACEOF
47694
47695 USES_CONTROLS=1
47696 fi
47697
47698 if test "$wxUSE_RADIOBTN" = "yes"; then
47699 cat >>confdefs.h <<\_ACEOF
47700 #define wxUSE_RADIOBTN 1
47701 _ACEOF
47702
47703 USES_CONTROLS=1
47704 fi
47705
47706 if test "$wxUSE_SASH" = "yes"; then
47707 cat >>confdefs.h <<\_ACEOF
47708 #define wxUSE_SASH 1
47709 _ACEOF
47710
47711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47712 fi
47713
47714 if test "$wxUSE_SCROLLBAR" = "yes"; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_SCROLLBAR 1
47717 _ACEOF
47718
47719 USES_CONTROLS=1
47720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47721 fi
47722
47723 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47724 cat >>confdefs.h <<\_ACEOF
47725 #define wxUSE_SEARCHCTRL 1
47726 _ACEOF
47727
47728 USES_CONTROLS=1
47729 fi
47730
47731 if test "$wxUSE_SLIDER" = "yes"; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_SLIDER 1
47734 _ACEOF
47735
47736 USES_CONTROLS=1
47737 fi
47738
47739 if test "$wxUSE_SPINBTN" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_SPINBTN 1
47742 _ACEOF
47743
47744 USES_CONTROLS=1
47745 fi
47746
47747 if test "$wxUSE_SPINCTRL" = "yes"; then
47748 cat >>confdefs.h <<\_ACEOF
47749 #define wxUSE_SPINCTRL 1
47750 _ACEOF
47751
47752 USES_CONTROLS=1
47753 fi
47754
47755 if test "$wxUSE_SPLITTER" = "yes"; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_SPLITTER 1
47758 _ACEOF
47759
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47761 fi
47762
47763 if test "$wxUSE_STATBMP" = "yes"; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_STATBMP 1
47766 _ACEOF
47767
47768 USES_CONTROLS=1
47769 fi
47770
47771 if test "$wxUSE_STATBOX" = "yes"; then
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_STATBOX 1
47774 _ACEOF
47775
47776 USES_CONTROLS=1
47777 fi
47778
47779 if test "$wxUSE_STATTEXT" = "yes"; then
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_STATTEXT 1
47782 _ACEOF
47783
47784 USES_CONTROLS=1
47785 fi
47786
47787 if test "$wxUSE_STATLINE" = "yes"; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_STATLINE 1
47790 _ACEOF
47791
47792 USES_CONTROLS=1
47793 fi
47794
47795 if test "$wxUSE_STATUSBAR" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_NATIVE_STATUSBAR 1
47798 _ACEOF
47799
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_STATUSBAR 1
47802 _ACEOF
47803
47804 USES_CONTROLS=1
47805
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47807 fi
47808
47809 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47810 cat >>confdefs.h <<\_ACEOF
47811 #define wxUSE_TAB_DIALOG 1
47812 _ACEOF
47813
47814 fi
47815
47816 if test "$wxUSE_TEXTCTRL" = "yes"; then
47817 cat >>confdefs.h <<\_ACEOF
47818 #define wxUSE_TEXTCTRL 1
47819 _ACEOF
47820
47821 USES_CONTROLS=1
47822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47823 fi
47824
47825 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47826 if test "$wxUSE_COCOA" = 1 ; then
47827 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47828 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47829 wxUSE_TOGGLEBTN=no
47830 fi
47831
47832 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_TOGGLEBTN 1
47835 _ACEOF
47836
47837 USES_CONTROLS=1
47838 fi
47839 fi
47840
47841 if test "$wxUSE_TOOLBAR" = "yes"; then
47842 cat >>confdefs.h <<\_ACEOF
47843 #define wxUSE_TOOLBAR 1
47844 _ACEOF
47845
47846 USES_CONTROLS=1
47847
47848 if test "$wxUSE_UNIVERSAL" = "yes"; then
47849 wxUSE_TOOLBAR_NATIVE="no"
47850 else
47851 wxUSE_TOOLBAR_NATIVE="yes"
47852 cat >>confdefs.h <<\_ACEOF
47853 #define wxUSE_TOOLBAR_NATIVE 1
47854 _ACEOF
47855
47856 fi
47857
47858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47859 fi
47860
47861 if test "$wxUSE_TOOLTIPS" = "yes"; then
47862 if test "$wxUSE_MOTIF" = 1; then
47863 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47864 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47865 else
47866 if test "$wxUSE_UNIVERSAL" = "yes"; then
47867 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47868 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47869 else
47870 cat >>confdefs.h <<\_ACEOF
47871 #define wxUSE_TOOLTIPS 1
47872 _ACEOF
47873
47874 fi
47875 fi
47876 fi
47877
47878 if test "$wxUSE_TREEBOOK" = "yes"; then
47879 cat >>confdefs.h <<\_ACEOF
47880 #define wxUSE_TREEBOOK 1
47881 _ACEOF
47882
47883 USES_CONTROLS=1
47884 fi
47885
47886 if test "$wxUSE_TOOLBOOK" = "yes"; then
47887 cat >>confdefs.h <<\_ACEOF
47888 #define wxUSE_TOOLBOOK 1
47889 _ACEOF
47890
47891 USES_CONTROLS=1
47892 fi
47893
47894 if test "$wxUSE_TREECTRL" = "yes"; then
47895 if test "$wxUSE_IMAGLIST" = "yes"; then
47896 cat >>confdefs.h <<\_ACEOF
47897 #define wxUSE_TREECTRL 1
47898 _ACEOF
47899
47900 USES_CONTROLS=1
47901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47902 else
47903 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47904 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47905 fi
47906 fi
47907
47908 if test "$wxUSE_POPUPWIN" = "yes"; then
47909 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47910 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47911 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47912 else
47913 if test "$wxUSE_PM" = 1; then
47914 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47915 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47916 else
47917 cat >>confdefs.h <<\_ACEOF
47918 #define wxUSE_POPUPWIN 1
47919 _ACEOF
47920
47921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47922
47923 USES_CONTROLS=1
47924 fi
47925 fi
47926 fi
47927
47928 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47929 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47930 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47931 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47932 else
47933 cat >>confdefs.h <<\_ACEOF
47934 #define wxUSE_DIALUP_MANAGER 1
47935 _ACEOF
47936
47937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47938 fi
47939 fi
47940
47941 if test "$wxUSE_TIPWINDOW" = "yes"; then
47942 if test "$wxUSE_PM" = 1; then
47943 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47944 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47945 else
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_TIPWINDOW 1
47948 _ACEOF
47949
47950 fi
47951 fi
47952
47953 if test "$USES_CONTROLS" = 1; then
47954 cat >>confdefs.h <<\_ACEOF
47955 #define wxUSE_CONTROLS 1
47956 _ACEOF
47957
47958 fi
47959
47960
47961 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_ACCESSIBILITY 1
47964 _ACEOF
47965
47966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47967 fi
47968
47969 if test "$wxUSE_DC_CACHEING" = "yes"; then
47970 cat >>confdefs.h <<\_ACEOF
47971 #define wxUSE_DC_CACHEING 1
47972 _ACEOF
47973
47974 fi
47975
47976 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_DRAGIMAGE 1
47979 _ACEOF
47980
47981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47982 fi
47983
47984 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47985 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47986 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47987 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47988 else
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_EXCEPTIONS 1
47991 _ACEOF
47992
47993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47994 fi
47995 fi
47996
47997 USE_HTML=0
47998 if test "$wxUSE_HTML" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_HTML 1
48001 _ACEOF
48002
48003 USE_HTML=1
48004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48005 if test "$wxUSE_MAC" = 1; then
48006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48007 fi
48008 fi
48009 if test "$wxUSE_WEBKIT" = "yes"; then
48010 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48011 old_CPPFLAGS="$CPPFLAGS"
48012 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48013 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48014 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48015 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48017 else
48018 cat >conftest.$ac_ext <<_ACEOF
48019 /* confdefs.h. */
48020 _ACEOF
48021 cat confdefs.h >>conftest.$ac_ext
48022 cat >>conftest.$ac_ext <<_ACEOF
48023 /* end confdefs.h. */
48024
48025 #include <Carbon/Carbon.h>
48026 #include <WebKit/WebKit.h>
48027
48028
48029 #include <WebKit/HIWebView.h>
48030 _ACEOF
48031 rm -f conftest.$ac_objext
48032 if { (ac_try="$ac_compile"
48033 case "(($ac_try" in
48034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48035 *) ac_try_echo=$ac_try;;
48036 esac
48037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48038 (eval "$ac_compile") 2>conftest.er1
48039 ac_status=$?
48040 grep -v '^ *+' conftest.er1 >conftest.err
48041 rm -f conftest.er1
48042 cat conftest.err >&5
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); } && {
48045 test -z "$ac_c_werror_flag" ||
48046 test ! -s conftest.err
48047 } && test -s conftest.$ac_objext; then
48048 ac_cv_header_WebKit_HIWebView_h=yes
48049 else
48050 echo "$as_me: failed program was:" >&5
48051 sed 's/^/| /' conftest.$ac_ext >&5
48052
48053 ac_cv_header_WebKit_HIWebView_h=no
48054 fi
48055
48056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48057 fi
48058 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48059 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48060 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48061
48062 cat >>confdefs.h <<\_ACEOF
48063 #define wxUSE_WEBKIT 1
48064 _ACEOF
48065
48066 WEBKIT_LINK="-framework WebKit"
48067
48068 else
48069
48070 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48071 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48072 wxUSE_WEBKIT=no
48073
48074 fi
48075
48076
48077 CPPFLAGS="$old_CPPFLAGS"
48078 elif test "$wxUSE_COCOA" = 1; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_WEBKIT 1
48081 _ACEOF
48082
48083 else
48084 wxUSE_WEBKIT=no
48085 fi
48086 fi
48087
48088 USE_XRC=0
48089 if test "$wxUSE_XRC" = "yes"; then
48090 if test "$wxUSE_XML" != "yes"; then
48091 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48092 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48093 wxUSE_XRC=no
48094 else
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_XRC 1
48097 _ACEOF
48098
48099 USE_XRC=1
48100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48101 fi
48102 fi
48103
48104 USE_AUI=0
48105 if test "$wxUSE_AUI" = "yes"; then
48106 cat >>confdefs.h <<\_ACEOF
48107 #define wxUSE_AUI 1
48108 _ACEOF
48109
48110 USE_AUI=1
48111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48112 fi
48113
48114 USE_STC=0
48115 if test "$wxUSE_STC" = "yes"; then
48116 cat >>confdefs.h <<\_ACEOF
48117 #define wxUSE_STC 1
48118 _ACEOF
48119
48120 USE_STC=1
48121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48122 fi
48123
48124 if test "$wxUSE_MENUS" = "yes"; then
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_MENUS 1
48127 _ACEOF
48128
48129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48130 fi
48131
48132 if test "$wxUSE_METAFILE" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_METAFILE 1
48135 _ACEOF
48136
48137 fi
48138
48139 if test "$wxUSE_MIMETYPE" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_MIMETYPE 1
48142 _ACEOF
48143
48144 fi
48145
48146 if test "$wxUSE_MINIFRAME" = "yes"; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_MINIFRAME 1
48149 _ACEOF
48150
48151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48152 fi
48153
48154 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_SYSTEM_OPTIONS 1
48157 _ACEOF
48158
48159 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
48160 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
48161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48162 fi
48163 fi
48164
48165
48166 if test "$wxUSE_VALIDATORS" = "yes"; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_VALIDATORS 1
48169 _ACEOF
48170
48171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48172 fi
48173
48174 if test "$wxUSE_PALETTE" = "yes" ; then
48175 if test "$wxUSE_DFB" = 1; then
48176 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48177 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48178 wxUSE_PALETTE=no
48179 else
48180 cat >>confdefs.h <<\_ACEOF
48181 #define wxUSE_PALETTE 1
48182 _ACEOF
48183
48184 fi
48185 fi
48186
48187 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48188 LIBS=" -lunicows $LIBS"
48189 fi
48190
48191 USE_RICHTEXT=0
48192 if test "$wxUSE_RICHTEXT" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_RICHTEXT 1
48195 _ACEOF
48196
48197 USE_RICHTEXT=1
48198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48199 fi
48200
48201
48202 if test "$wxUSE_IMAGE" = "yes" ; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_IMAGE 1
48205 _ACEOF
48206
48207
48208 if test "$wxUSE_GIF" = "yes" ; then
48209 cat >>confdefs.h <<\_ACEOF
48210 #define wxUSE_GIF 1
48211 _ACEOF
48212
48213 fi
48214
48215 if test "$wxUSE_PCX" = "yes" ; then
48216 cat >>confdefs.h <<\_ACEOF
48217 #define wxUSE_PCX 1
48218 _ACEOF
48219
48220 fi
48221
48222 if test "$wxUSE_TGA" = "yes" ; then
48223 cat >>confdefs.h <<\_ACEOF
48224 #define wxUSE_TGA 1
48225 _ACEOF
48226
48227 fi
48228
48229 if test "$wxUSE_IFF" = "yes" ; then
48230 cat >>confdefs.h <<\_ACEOF
48231 #define wxUSE_IFF 1
48232 _ACEOF
48233
48234 fi
48235
48236 if test "$wxUSE_PNM" = "yes" ; then
48237 cat >>confdefs.h <<\_ACEOF
48238 #define wxUSE_PNM 1
48239 _ACEOF
48240
48241 fi
48242
48243 if test "$wxUSE_XPM" = "yes" ; then
48244 cat >>confdefs.h <<\_ACEOF
48245 #define wxUSE_XPM 1
48246 _ACEOF
48247
48248 fi
48249
48250 if test "$wxUSE_ICO_CUR" = "yes" ; then
48251 cat >>confdefs.h <<\_ACEOF
48252 #define wxUSE_ICO_CUR 1
48253 _ACEOF
48254
48255 fi
48256 fi
48257
48258
48259 if test "$wxUSE_ABOUTDLG" = "yes"; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_ABOUTDLG 1
48262 _ACEOF
48263
48264 fi
48265
48266 if test "$wxUSE_CHOICEDLG" = "yes"; then
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_CHOICEDLG 1
48269 _ACEOF
48270
48271 fi
48272
48273 if test "$wxUSE_COLOURDLG" = "yes"; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_COLOURDLG 1
48276 _ACEOF
48277
48278 fi
48279
48280 if test "$wxUSE_FILEDLG" = "yes"; then
48281 cat >>confdefs.h <<\_ACEOF
48282 #define wxUSE_FILEDLG 1
48283 _ACEOF
48284
48285 fi
48286
48287 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_FINDREPLDLG 1
48290 _ACEOF
48291
48292 fi
48293
48294 if test "$wxUSE_FONTDLG" = "yes"; then
48295 cat >>confdefs.h <<\_ACEOF
48296 #define wxUSE_FONTDLG 1
48297 _ACEOF
48298
48299 fi
48300
48301 if test "$wxUSE_DIRDLG" = "yes"; then
48302 if test "$wxUSE_TREECTRL" != "yes"; then
48303 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48304 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48305 else
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_DIRDLG 1
48308 _ACEOF
48309
48310 fi
48311 fi
48312
48313 if test "$wxUSE_MSGDLG" = "yes"; then
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_MSGDLG 1
48316 _ACEOF
48317
48318 fi
48319
48320 if test "$wxUSE_NUMBERDLG" = "yes"; then
48321 cat >>confdefs.h <<\_ACEOF
48322 #define wxUSE_NUMBERDLG 1
48323 _ACEOF
48324
48325 fi
48326
48327 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48328 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48329 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48330 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48331 else
48332 cat >>confdefs.h <<\_ACEOF
48333 #define wxUSE_PROGRESSDLG 1
48334 _ACEOF
48335
48336 fi
48337 fi
48338
48339 if test "$wxUSE_SPLASH" = "yes"; then
48340 cat >>confdefs.h <<\_ACEOF
48341 #define wxUSE_SPLASH 1
48342 _ACEOF
48343
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48345 fi
48346
48347 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48348 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48349 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48350 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48351 else
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_STARTUP_TIPS 1
48354 _ACEOF
48355
48356 fi
48357 fi
48358
48359 if test "$wxUSE_TEXTDLG" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_TEXTDLG 1
48362 _ACEOF
48363
48364 fi
48365
48366 if test "$wxUSE_WIZARDDLG" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_WIZARDDLG 1
48369 _ACEOF
48370
48371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48372 fi
48373
48374
48375 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48376 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48377 cat >>confdefs.h <<\_ACEOF
48378 #define wxUSE_GRAPHICS_CONTEXT 1
48379 _ACEOF
48380
48381 elif test "$wxUSE_GTK" != 1; then
48382 cat >>confdefs.h <<\_ACEOF
48383 #define wxUSE_GRAPHICS_CONTEXT 1
48384 _ACEOF
48385
48386 else
48387
48388 pkg_failed=no
48389 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48390 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48391
48392 if test -n "$PKG_CONFIG"; then
48393 if test -n "$CAIRO_CFLAGS"; then
48394 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48395 else
48396 if test -n "$PKG_CONFIG" && \
48397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48398 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48399 ac_status=$?
48400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48401 (exit $ac_status); }; then
48402 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48403 else
48404 pkg_failed=yes
48405 fi
48406 fi
48407 else
48408 pkg_failed=untried
48409 fi
48410 if test -n "$PKG_CONFIG"; then
48411 if test -n "$CAIRO_LIBS"; then
48412 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48413 else
48414 if test -n "$PKG_CONFIG" && \
48415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48416 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48417 ac_status=$?
48418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48419 (exit $ac_status); }; then
48420 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48421 else
48422 pkg_failed=yes
48423 fi
48424 fi
48425 else
48426 pkg_failed=untried
48427 fi
48428
48429
48430
48431 if test $pkg_failed = yes; then
48432
48433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48434 _pkg_short_errors_supported=yes
48435 else
48436 _pkg_short_errors_supported=no
48437 fi
48438 if test $_pkg_short_errors_supported = yes; then
48439 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48440 else
48441 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48442 fi
48443 # Put the nasty error message in config.log where it belongs
48444 echo "$CAIRO_PKG_ERRORS" >&5
48445
48446 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48447 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48448
48449 elif test $pkg_failed = untried; then
48450 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48451 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48452
48453 else
48454 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48455 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48456 { echo "$as_me:$LINENO: result: yes" >&5
48457 echo "${ECHO_T}yes" >&6; }
48458 cat >>confdefs.h <<\_ACEOF
48459 #define wxUSE_GRAPHICS_CONTEXT 1
48460 _ACEOF
48461
48462 fi
48463 fi
48464 fi
48465
48466
48467 USE_MEDIA=0
48468
48469 if test "$wxUSE_MEDIACTRL" = "yes"; then
48470 USE_MEDIA=1
48471
48472 if test "$wxUSE_GTK" = 1; then
48473 wxUSE_GSTREAMER="no"
48474
48475 GST_VERSION_MAJOR=0
48476 GST_VERSION_MINOR=10
48477 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48478
48479 if test "$wxUSE_GSTREAMER8" = "no"; then
48480
48481 pkg_failed=no
48482 { echo "$as_me:$LINENO: checking for GST" >&5
48483 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48484
48485 if test -n "$PKG_CONFIG"; then
48486 if test -n "$GST_CFLAGS"; then
48487 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48488 else
48489 if test -n "$PKG_CONFIG" && \
48490 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48491 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48492 ac_status=$?
48493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48494 (exit $ac_status); }; then
48495 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48496 else
48497 pkg_failed=yes
48498 fi
48499 fi
48500 else
48501 pkg_failed=untried
48502 fi
48503 if test -n "$PKG_CONFIG"; then
48504 if test -n "$GST_LIBS"; then
48505 pkg_cv_GST_LIBS="$GST_LIBS"
48506 else
48507 if test -n "$PKG_CONFIG" && \
48508 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48509 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48510 ac_status=$?
48511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48512 (exit $ac_status); }; then
48513 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48514 else
48515 pkg_failed=yes
48516 fi
48517 fi
48518 else
48519 pkg_failed=untried
48520 fi
48521
48522
48523
48524 if test $pkg_failed = yes; then
48525
48526 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48527 _pkg_short_errors_supported=yes
48528 else
48529 _pkg_short_errors_supported=no
48530 fi
48531 if test $_pkg_short_errors_supported = yes; then
48532 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48533 else
48534 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48535 fi
48536 # Put the nasty error message in config.log where it belongs
48537 echo "$GST_PKG_ERRORS" >&5
48538
48539
48540 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48541 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48542 GST_VERSION_MINOR=8
48543
48544
48545 elif test $pkg_failed = untried; then
48546
48547 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48548 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48549 GST_VERSION_MINOR=8
48550
48551
48552 else
48553 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48554 GST_LIBS=$pkg_cv_GST_LIBS
48555 { echo "$as_me:$LINENO: result: yes" >&5
48556 echo "${ECHO_T}yes" >&6; }
48557
48558 wxUSE_GSTREAMER="yes"
48559 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48560
48561 fi
48562 else
48563 GST_VERSION_MINOR=8
48564 fi
48565
48566 if test $GST_VERSION_MINOR = "8"; then
48567 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48568
48569 pkg_failed=no
48570 { echo "$as_me:$LINENO: checking for GST" >&5
48571 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48572
48573 if test -n "$PKG_CONFIG"; then
48574 if test -n "$GST_CFLAGS"; then
48575 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48576 else
48577 if test -n "$PKG_CONFIG" && \
48578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48579 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48580 ac_status=$?
48581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48582 (exit $ac_status); }; then
48583 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48584 else
48585 pkg_failed=yes
48586 fi
48587 fi
48588 else
48589 pkg_failed=untried
48590 fi
48591 if test -n "$PKG_CONFIG"; then
48592 if test -n "$GST_LIBS"; then
48593 pkg_cv_GST_LIBS="$GST_LIBS"
48594 else
48595 if test -n "$PKG_CONFIG" && \
48596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48597 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48598 ac_status=$?
48599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48600 (exit $ac_status); }; then
48601 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48602 else
48603 pkg_failed=yes
48604 fi
48605 fi
48606 else
48607 pkg_failed=untried
48608 fi
48609
48610
48611
48612 if test $pkg_failed = yes; then
48613
48614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48615 _pkg_short_errors_supported=yes
48616 else
48617 _pkg_short_errors_supported=no
48618 fi
48619 if test $_pkg_short_errors_supported = yes; then
48620 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48621 else
48622 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48623 fi
48624 # Put the nasty error message in config.log where it belongs
48625 echo "$GST_PKG_ERRORS" >&5
48626
48627
48628 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48629 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48630
48631 elif test $pkg_failed = untried; then
48632
48633 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48634 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48635
48636 else
48637 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48638 GST_LIBS=$pkg_cv_GST_LIBS
48639 { echo "$as_me:$LINENO: result: yes" >&5
48640 echo "${ECHO_T}yes" >&6; }
48641 wxUSE_GSTREAMER="yes"
48642 fi
48643 fi
48644
48645
48646 if test "$wxUSE_GSTREAMER" = "yes"; then
48647 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48648 LIBS="$GST_LIBS $LIBS"
48649
48650 cat >>confdefs.h <<\_ACEOF
48651 #define wxUSE_GSTREAMER 1
48652 _ACEOF
48653
48654 else
48655 USE_MEDIA=0
48656 fi
48657 fi
48658
48659 if test $USE_MEDIA = 1; then
48660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_MEDIACTRL 1
48663 _ACEOF
48664
48665 fi
48666 fi
48667
48668
48669 if test "$cross_compiling" = "yes"; then
48670 OSINFO="\"$host\""
48671 else
48672 OSINFO=`uname -s -r -m`
48673 OSINFO="\"$OSINFO\""
48674 fi
48675
48676 cat >>confdefs.h <<_ACEOF
48677 #define WXWIN_OS_DESCRIPTION $OSINFO
48678 _ACEOF
48679
48680
48681
48682 if test "x$prefix" != "xNONE"; then
48683 wxPREFIX=$prefix
48684 else
48685 wxPREFIX=$ac_default_prefix
48686 fi
48687
48688 cat >>confdefs.h <<_ACEOF
48689 #define wxINSTALL_PREFIX "$wxPREFIX"
48690 _ACEOF
48691
48692
48693
48694
48695 STD_BASE_LIBS="base"
48696 STD_GUI_LIBS=""
48697 BUILT_WX_LIBS="base"
48698 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48699
48700 if test "$wxUSE_SOCKETS" = "yes" ; then
48701 STD_BASE_LIBS="net $STD_BASE_LIBS"
48702 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48703 fi
48704 if test "$wxUSE_ODBC" != "no" ; then
48705 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48706 fi
48707 if test "$wxUSE_XML" = "yes" ; then
48708 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48709 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48710 fi
48711
48712 if test "$wxUSE_GUI" = "yes"; then
48713 STD_GUI_LIBS="adv core"
48714 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48715
48716 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48717 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48718 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48719 fi
48720 if test "$wxUSE_ODBC" != "no" ; then
48721 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48722 fi
48723 if test "$wxUSE_HTML" = "yes" ; then
48724 STD_GUI_LIBS="html $STD_GUI_LIBS"
48725 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48726 fi
48727 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48728 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48729 fi
48730 if test "$wxUSE_OPENGL" = "yes" ; then
48731 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48732 fi
48733 if test "$wxUSE_AUI" = "yes" ; then
48734 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48735 fi
48736 if test "$wxUSE_STC" = "yes" ; then
48737 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48738 fi
48739 if test "$wxUSE_XRC" = "yes" ; then
48740 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48741 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48742 fi
48743 fi
48744
48745
48746
48747
48748
48749
48750
48751
48752 if test "$wxUSE_MAC" = 1 ; then
48753 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48754 if test "$USE_DARWIN" = 1; then
48755 LDFLAGS="$LDFLAGS -framework QuickTime"
48756 else
48757 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48758 fi
48759 fi
48760 if test "$USE_DARWIN" = 1; then
48761 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48762 else
48763 LDFLAGS="$LDFLAGS -lCarbonLib"
48764 fi
48765 fi
48766 if test "$wxUSE_COCOA" = 1 ; then
48767 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48768 if test "$wxUSE_MEDIACTRL" = "yes"; then
48769 LDFLAGS="$LDFLAGS -framework QuickTime"
48770 fi
48771 fi
48772 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48773 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48774 fi
48775
48776 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48777
48778 if test "$wxUSE_GUI" = "yes"; then
48779
48780
48781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48782 dynamic erase event exec font image minimal mobile \
48783 mobile/wxedit mobile/styles propsize render \
48784 rotate shaped svg taborder vscroll widgets"
48785
48786 if test "$wxUSE_MONOLITHIC" != "yes"; then
48787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48788 fi
48789 if test "$TOOLKIT" = "MSW"; then
48790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48791 if test "$wxUSE_UNIVERSAL" != "yes"; then
48792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48793 fi
48794 fi
48795 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48797 fi
48798 else
48799 SAMPLES_SUBDIRS="console"
48800 fi
48801
48802
48803 if test "x$INTELCC" = "xyes" ; then
48804 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48805 elif test "$GCC" = yes ; then
48806 CWARNINGS="-Wall -Wundef"
48807 fi
48808
48809 if test "x$INTELCXX" = "xyes" ; then
48810 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48811 elif test "$GXX" = yes ; then
48812 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48813 fi
48814
48815
48816 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48817 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48818
48819
48820 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48821 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48822 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48823 $CPPFLAGS `
48824
48825 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48826 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48827 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48828
48829 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48830
48831
48832 if test "x$MWCC" = "xyes"; then
48833
48834 CC="$CC -cwd source -I-"
48835 CXX="$CXX -cwd source -I-"
48836 fi
48837
48838
48839 LIBS=`echo $LIBS`
48840 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48841 EXTRALIBS_XML="$EXPAT_LINK"
48842 EXTRALIBS_HTML="$MSPACK_LINK"
48843 EXTRALIBS_ODBC="$ODBC_LINK"
48844 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48845 if test "$wxUSE_GUI" = "yes"; then
48846 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48847 fi
48848 if test "$wxUSE_OPENGL" = "yes"; then
48849 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48850 fi
48851
48852 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48853
48854 WXCONFIG_LIBS="$LIBS"
48855
48856 if test "$wxUSE_REGEX" = "builtin" ; then
48857 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48858 fi
48859 if test "$wxUSE_EXPAT" = "builtin" ; then
48860 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48861 fi
48862 if test "$wxUSE_ODBC" = "builtin" ; then
48863 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48864 fi
48865 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48866 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48867 fi
48868 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48869 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48870 fi
48871 if test "$wxUSE_LIBPNG" = "builtin" ; then
48872 wxconfig_3rdparty="png $wxconfig_3rdparty"
48873 fi
48874 if test "$wxUSE_ZLIB" = "builtin" ; then
48875 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48876 fi
48877
48878 for i in $wxconfig_3rdparty ; do
48879 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48880 done
48881
48882
48883 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48884 WXUNIV=1
48885
48886 case "$wxUNIV_THEMES" in
48887 ''|all)
48888 cat >>confdefs.h <<\_ACEOF
48889 #define wxUSE_ALL_THEMES 1
48890 _ACEOF
48891
48892 ;;
48893
48894 *)
48895 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48896 cat >>confdefs.h <<_ACEOF
48897 #define wxUSE_THEME_$t 1
48898 _ACEOF
48899
48900 done
48901 esac
48902 else
48903 WXUNIV=0
48904 fi
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914 if test $wxUSE_MONOLITHIC = "yes" ; then
48915 MONOLITHIC=1
48916 else
48917 MONOLITHIC=0
48918 fi
48919
48920 if test $wxUSE_PLUGINS = "yes" ; then
48921 USE_PLUGINS=1
48922 else
48923 USE_PLUGINS=0
48924 fi
48925
48926 if test $wxUSE_ODBC != "no" ; then
48927 USE_ODBC=1
48928 else
48929 USE_ODBC=0
48930 fi
48931
48932 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48933 USE_QA=1
48934 else
48935 USE_QA=0
48936 fi
48937
48938 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48939 OFFICIAL_BUILD=1
48940 else
48941 OFFICIAL_BUILD=0
48942 fi
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48970
48971
48972
48973
48974
48975
48976
48977
48978 case "$TOOLKIT" in
48979 GTK)
48980 TOOLKIT_DESC="GTK+"
48981 if test "$WXGTK20" = 1; then
48982 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48983 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48984 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48985 fi
48986 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48987 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48988 fi
48989 if test "$wxUSE_LIBHILDON" = "yes"; then
48990 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48991 fi
48992
48993 if test "$TOOLKIT_EXTRA" != ""; then
48994 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48995 fi
48996 fi
48997 ;;
48998
48999 ?*)
49000 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49001 ;;
49002
49003 *)
49004 TOOLKIT_DESC="base only"
49005 ;;
49006 esac
49007
49008 if test "$wxUSE_WINE" = "yes"; then
49009 BAKEFILE_FORCE_PLATFORM=win32
49010 fi
49011
49012 if test "$wxUSE_MAC" = 1 ; then
49013 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49014 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49015 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49016 else
49017 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49018 fi
49019 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49020 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49021 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49022 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49023 bk_use_pch=no
49024 fi
49025 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49026 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49027 fi
49028
49029 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49030 then
49031 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49032 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49033 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49034 echo $ECHO_N "(cached) $ECHO_C" >&6
49035 else
49036
49037 echo '#include <stdio.h>
49038 const wchar_t test_var[] = L"awidetest";' > conftest.h
49039
49040 echo '#include "conftest.h"
49041 int main()
49042 {
49043 printf("%ls", test_var);
49044 return 0;
49045 }' > conftest.cpp
49046
49047 wx_cv_gcc_pch_bug="pch not supported"
49048
49049 if $CXX conftest.h >/dev/null 2>&1
49050 then
49051 wx_cv_gcc_pch_bug=
49052
49053 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49054 then
49055 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49056 grep awidetest >/dev/null
49057 then
49058 wx_cv_gcc_pch_bug=no
49059 else
49060 wx_cv_gcc_pch_bug=yes
49061 fi
49062 fi
49063 fi
49064
49065 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49066
49067 fi
49068 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49069 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49070
49071 if test "$wx_cv_gcc_pch_bug" = yes; then
49072 bk_use_pch=no
49073 fi
49074 fi
49075
49076
49077
49078
49079 if test "x$BAKEFILE_HOST" = "x"; then
49080 if test "x${host}" = "x" ; then
49081 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49082 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49083 { (exit 1); exit 1; }; }
49084 fi
49085
49086 BAKEFILE_HOST="${host}"
49087 fi
49088
49089 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49090
49091 if test -n "$ac_tool_prefix"; then
49092 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49093 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49096 if test "${ac_cv_prog_RANLIB+set}" = set; then
49097 echo $ECHO_N "(cached) $ECHO_C" >&6
49098 else
49099 if test -n "$RANLIB"; then
49100 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49101 else
49102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49103 for as_dir in $PATH
49104 do
49105 IFS=$as_save_IFS
49106 test -z "$as_dir" && as_dir=.
49107 for ac_exec_ext in '' $ac_executable_extensions; do
49108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49109 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49111 break 2
49112 fi
49113 done
49114 done
49115 IFS=$as_save_IFS
49116
49117 fi
49118 fi
49119 RANLIB=$ac_cv_prog_RANLIB
49120 if test -n "$RANLIB"; then
49121 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49122 echo "${ECHO_T}$RANLIB" >&6; }
49123 else
49124 { echo "$as_me:$LINENO: result: no" >&5
49125 echo "${ECHO_T}no" >&6; }
49126 fi
49127
49128
49129 fi
49130 if test -z "$ac_cv_prog_RANLIB"; then
49131 ac_ct_RANLIB=$RANLIB
49132 # Extract the first word of "ranlib", so it can be a program name with args.
49133 set dummy ranlib; ac_word=$2
49134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49136 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49137 echo $ECHO_N "(cached) $ECHO_C" >&6
49138 else
49139 if test -n "$ac_ct_RANLIB"; then
49140 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49141 else
49142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49143 for as_dir in $PATH
49144 do
49145 IFS=$as_save_IFS
49146 test -z "$as_dir" && as_dir=.
49147 for ac_exec_ext in '' $ac_executable_extensions; do
49148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49149 ac_cv_prog_ac_ct_RANLIB="ranlib"
49150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49151 break 2
49152 fi
49153 done
49154 done
49155 IFS=$as_save_IFS
49156
49157 fi
49158 fi
49159 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49160 if test -n "$ac_ct_RANLIB"; then
49161 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49162 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49163 else
49164 { echo "$as_me:$LINENO: result: no" >&5
49165 echo "${ECHO_T}no" >&6; }
49166 fi
49167
49168 if test "x$ac_ct_RANLIB" = x; then
49169 RANLIB=":"
49170 else
49171 case $cross_compiling:$ac_tool_warned in
49172 yes:)
49173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49174 whose name does not start with the host triplet. If you think this
49175 configuration is useful to you, please write to autoconf@gnu.org." >&5
49176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49177 whose name does not start with the host triplet. If you think this
49178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49179 ac_tool_warned=yes ;;
49180 esac
49181 RANLIB=$ac_ct_RANLIB
49182 fi
49183 else
49184 RANLIB="$ac_cv_prog_RANLIB"
49185 fi
49186
49187 # Find a good install program. We prefer a C program (faster),
49188 # so one script is as good as another. But avoid the broken or
49189 # incompatible versions:
49190 # SysV /etc/install, /usr/sbin/install
49191 # SunOS /usr/etc/install
49192 # IRIX /sbin/install
49193 # AIX /bin/install
49194 # AmigaOS /C/install, which installs bootblocks on floppy discs
49195 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49196 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49197 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49198 # OS/2's system install, which has a completely different semantic
49199 # ./install, which can be erroneously created by make from ./install.sh.
49200 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49201 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49202 if test -z "$INSTALL"; then
49203 if test "${ac_cv_path_install+set}" = set; then
49204 echo $ECHO_N "(cached) $ECHO_C" >&6
49205 else
49206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49207 for as_dir in $PATH
49208 do
49209 IFS=$as_save_IFS
49210 test -z "$as_dir" && as_dir=.
49211 # Account for people who put trailing slashes in PATH elements.
49212 case $as_dir/ in
49213 ./ | .// | /cC/* | \
49214 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49215 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49216 /usr/ucb/* ) ;;
49217 *)
49218 # OSF1 and SCO ODT 3.0 have their own names for install.
49219 # Don't use installbsd from OSF since it installs stuff as root
49220 # by default.
49221 for ac_prog in ginstall scoinst install; do
49222 for ac_exec_ext in '' $ac_executable_extensions; do
49223 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49224 if test $ac_prog = install &&
49225 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49226 # AIX install. It has an incompatible calling convention.
49227 :
49228 elif test $ac_prog = install &&
49229 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49230 # program-specific install script used by HP pwplus--don't use.
49231 :
49232 else
49233 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49234 break 3
49235 fi
49236 fi
49237 done
49238 done
49239 ;;
49240 esac
49241 done
49242 IFS=$as_save_IFS
49243
49244
49245 fi
49246 if test "${ac_cv_path_install+set}" = set; then
49247 INSTALL=$ac_cv_path_install
49248 else
49249 # As a last resort, use the slow shell script. Don't cache a
49250 # value for INSTALL within a source directory, because that will
49251 # break other packages using the cache if that directory is
49252 # removed, or if the value is a relative name.
49253 INSTALL=$ac_install_sh
49254 fi
49255 fi
49256 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49257 echo "${ECHO_T}$INSTALL" >&6; }
49258
49259 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49260 # It thinks the first close brace ends the variable substitution.
49261 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49262
49263 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49264
49265 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49266
49267 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49268 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49269 LN_S=$as_ln_s
49270 if test "$LN_S" = "ln -s"; then
49271 { echo "$as_me:$LINENO: result: yes" >&5
49272 echo "${ECHO_T}yes" >&6; }
49273 else
49274 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49275 echo "${ECHO_T}no, using $LN_S" >&6; }
49276 fi
49277
49278
49279 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49280 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49281 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49282 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49283 echo $ECHO_N "(cached) $ECHO_C" >&6
49284 else
49285 cat >conftest.make <<\_ACEOF
49286 SHELL = /bin/sh
49287 all:
49288 @echo '@@@%%%=$(MAKE)=@@@%%%'
49289 _ACEOF
49290 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49291 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49292 *@@@%%%=?*=@@@%%%*)
49293 eval ac_cv_prog_make_${ac_make}_set=yes;;
49294 *)
49295 eval ac_cv_prog_make_${ac_make}_set=no;;
49296 esac
49297 rm -f conftest.make
49298 fi
49299 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49300 { echo "$as_me:$LINENO: result: yes" >&5
49301 echo "${ECHO_T}yes" >&6; }
49302 SET_MAKE=
49303 else
49304 { echo "$as_me:$LINENO: result: no" >&5
49305 echo "${ECHO_T}no" >&6; }
49306 SET_MAKE="MAKE=${MAKE-make}"
49307 fi
49308
49309
49310
49311 if test "x$SUNCXX" = "xyes"; then
49312 AR=$CXX
49313 AROPTIONS="-xar -o"
49314
49315 elif test "x$SGICC" = "xyes"; then
49316 AR=$CXX
49317 AROPTIONS="-ar -o"
49318
49319 else
49320 if test -n "$ac_tool_prefix"; then
49321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49322 set dummy ${ac_tool_prefix}ar; ac_word=$2
49323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49325 if test "${ac_cv_prog_AR+set}" = set; then
49326 echo $ECHO_N "(cached) $ECHO_C" >&6
49327 else
49328 if test -n "$AR"; then
49329 ac_cv_prog_AR="$AR" # Let the user override the test.
49330 else
49331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49332 for as_dir in $PATH
49333 do
49334 IFS=$as_save_IFS
49335 test -z "$as_dir" && as_dir=.
49336 for ac_exec_ext in '' $ac_executable_extensions; do
49337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49338 ac_cv_prog_AR="${ac_tool_prefix}ar"
49339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49340 break 2
49341 fi
49342 done
49343 done
49344 IFS=$as_save_IFS
49345
49346 fi
49347 fi
49348 AR=$ac_cv_prog_AR
49349 if test -n "$AR"; then
49350 { echo "$as_me:$LINENO: result: $AR" >&5
49351 echo "${ECHO_T}$AR" >&6; }
49352 else
49353 { echo "$as_me:$LINENO: result: no" >&5
49354 echo "${ECHO_T}no" >&6; }
49355 fi
49356
49357
49358 fi
49359 if test -z "$ac_cv_prog_AR"; then
49360 ac_ct_AR=$AR
49361 # Extract the first word of "ar", so it can be a program name with args.
49362 set dummy ar; ac_word=$2
49363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49365 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49366 echo $ECHO_N "(cached) $ECHO_C" >&6
49367 else
49368 if test -n "$ac_ct_AR"; then
49369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49370 else
49371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49372 for as_dir in $PATH
49373 do
49374 IFS=$as_save_IFS
49375 test -z "$as_dir" && as_dir=.
49376 for ac_exec_ext in '' $ac_executable_extensions; do
49377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49378 ac_cv_prog_ac_ct_AR="ar"
49379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49380 break 2
49381 fi
49382 done
49383 done
49384 IFS=$as_save_IFS
49385
49386 fi
49387 fi
49388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49389 if test -n "$ac_ct_AR"; then
49390 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49391 echo "${ECHO_T}$ac_ct_AR" >&6; }
49392 else
49393 { echo "$as_me:$LINENO: result: no" >&5
49394 echo "${ECHO_T}no" >&6; }
49395 fi
49396
49397 if test "x$ac_ct_AR" = x; then
49398 AR="ar"
49399 else
49400 case $cross_compiling:$ac_tool_warned in
49401 yes:)
49402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49403 whose name does not start with the host triplet. If you think this
49404 configuration is useful to you, please write to autoconf@gnu.org." >&5
49405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49406 whose name does not start with the host triplet. If you think this
49407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49408 ac_tool_warned=yes ;;
49409 esac
49410 AR=$ac_ct_AR
49411 fi
49412 else
49413 AR="$ac_cv_prog_AR"
49414 fi
49415
49416 AROPTIONS=rcu
49417 fi
49418
49419
49420 if test -n "$ac_tool_prefix"; then
49421 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49422 set dummy ${ac_tool_prefix}strip; ac_word=$2
49423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49425 if test "${ac_cv_prog_STRIP+set}" = set; then
49426 echo $ECHO_N "(cached) $ECHO_C" >&6
49427 else
49428 if test -n "$STRIP"; then
49429 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49430 else
49431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49432 for as_dir in $PATH
49433 do
49434 IFS=$as_save_IFS
49435 test -z "$as_dir" && as_dir=.
49436 for ac_exec_ext in '' $ac_executable_extensions; do
49437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49438 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49440 break 2
49441 fi
49442 done
49443 done
49444 IFS=$as_save_IFS
49445
49446 fi
49447 fi
49448 STRIP=$ac_cv_prog_STRIP
49449 if test -n "$STRIP"; then
49450 { echo "$as_me:$LINENO: result: $STRIP" >&5
49451 echo "${ECHO_T}$STRIP" >&6; }
49452 else
49453 { echo "$as_me:$LINENO: result: no" >&5
49454 echo "${ECHO_T}no" >&6; }
49455 fi
49456
49457
49458 fi
49459 if test -z "$ac_cv_prog_STRIP"; then
49460 ac_ct_STRIP=$STRIP
49461 # Extract the first word of "strip", so it can be a program name with args.
49462 set dummy strip; ac_word=$2
49463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49465 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49466 echo $ECHO_N "(cached) $ECHO_C" >&6
49467 else
49468 if test -n "$ac_ct_STRIP"; then
49469 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49470 else
49471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49472 for as_dir in $PATH
49473 do
49474 IFS=$as_save_IFS
49475 test -z "$as_dir" && as_dir=.
49476 for ac_exec_ext in '' $ac_executable_extensions; do
49477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49478 ac_cv_prog_ac_ct_STRIP="strip"
49479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49480 break 2
49481 fi
49482 done
49483 done
49484 IFS=$as_save_IFS
49485
49486 fi
49487 fi
49488 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49489 if test -n "$ac_ct_STRIP"; then
49490 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49491 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49492 else
49493 { echo "$as_me:$LINENO: result: no" >&5
49494 echo "${ECHO_T}no" >&6; }
49495 fi
49496
49497 if test "x$ac_ct_STRIP" = x; then
49498 STRIP=":"
49499 else
49500 case $cross_compiling:$ac_tool_warned in
49501 yes:)
49502 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49503 whose name does not start with the host triplet. If you think this
49504 configuration is useful to you, please write to autoconf@gnu.org." >&5
49505 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49506 whose name does not start with the host triplet. If you think this
49507 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49508 ac_tool_warned=yes ;;
49509 esac
49510 STRIP=$ac_ct_STRIP
49511 fi
49512 else
49513 STRIP="$ac_cv_prog_STRIP"
49514 fi
49515
49516 if test -n "$ac_tool_prefix"; then
49517 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49518 set dummy ${ac_tool_prefix}nm; ac_word=$2
49519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49521 if test "${ac_cv_prog_NM+set}" = set; then
49522 echo $ECHO_N "(cached) $ECHO_C" >&6
49523 else
49524 if test -n "$NM"; then
49525 ac_cv_prog_NM="$NM" # Let the user override the test.
49526 else
49527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49528 for as_dir in $PATH
49529 do
49530 IFS=$as_save_IFS
49531 test -z "$as_dir" && as_dir=.
49532 for ac_exec_ext in '' $ac_executable_extensions; do
49533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49534 ac_cv_prog_NM="${ac_tool_prefix}nm"
49535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49536 break 2
49537 fi
49538 done
49539 done
49540 IFS=$as_save_IFS
49541
49542 fi
49543 fi
49544 NM=$ac_cv_prog_NM
49545 if test -n "$NM"; then
49546 { echo "$as_me:$LINENO: result: $NM" >&5
49547 echo "${ECHO_T}$NM" >&6; }
49548 else
49549 { echo "$as_me:$LINENO: result: no" >&5
49550 echo "${ECHO_T}no" >&6; }
49551 fi
49552
49553
49554 fi
49555 if test -z "$ac_cv_prog_NM"; then
49556 ac_ct_NM=$NM
49557 # Extract the first word of "nm", so it can be a program name with args.
49558 set dummy nm; ac_word=$2
49559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49561 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49562 echo $ECHO_N "(cached) $ECHO_C" >&6
49563 else
49564 if test -n "$ac_ct_NM"; then
49565 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49566 else
49567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49568 for as_dir in $PATH
49569 do
49570 IFS=$as_save_IFS
49571 test -z "$as_dir" && as_dir=.
49572 for ac_exec_ext in '' $ac_executable_extensions; do
49573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49574 ac_cv_prog_ac_ct_NM="nm"
49575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49576 break 2
49577 fi
49578 done
49579 done
49580 IFS=$as_save_IFS
49581
49582 fi
49583 fi
49584 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49585 if test -n "$ac_ct_NM"; then
49586 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49587 echo "${ECHO_T}$ac_ct_NM" >&6; }
49588 else
49589 { echo "$as_me:$LINENO: result: no" >&5
49590 echo "${ECHO_T}no" >&6; }
49591 fi
49592
49593 if test "x$ac_ct_NM" = x; then
49594 NM=":"
49595 else
49596 case $cross_compiling:$ac_tool_warned in
49597 yes:)
49598 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49599 whose name does not start with the host triplet. If you think this
49600 configuration is useful to you, please write to autoconf@gnu.org." >&5
49601 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49602 whose name does not start with the host triplet. If you think this
49603 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49604 ac_tool_warned=yes ;;
49605 esac
49606 NM=$ac_ct_NM
49607 fi
49608 else
49609 NM="$ac_cv_prog_NM"
49610 fi
49611
49612
49613 case ${BAKEFILE_HOST} in
49614 *-hp-hpux* )
49615 INSTALL_DIR="mkdir -p"
49616 ;;
49617 * )
49618 INSTALL_DIR='$(INSTALL) -d'
49619 ;;
49620 esac
49621
49622
49623 LDFLAGS_GUI=
49624 case ${BAKEFILE_HOST} in
49625 *-*-cygwin* | *-*-mingw32* )
49626 LDFLAGS_GUI="-mwindows"
49627 esac
49628
49629
49630 fi
49631
49632 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49633 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49634 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49635 echo $ECHO_N "(cached) $ECHO_C" >&6
49636 else
49637
49638 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49639 egrep -s GNU > /dev/null); then
49640 bakefile_cv_prog_makeisgnu="yes"
49641 else
49642 bakefile_cv_prog_makeisgnu="no"
49643 fi
49644
49645 fi
49646 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49647 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49648
49649 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49650 IF_GNU_MAKE=""
49651 else
49652 IF_GNU_MAKE="#"
49653 fi
49654
49655
49656
49657 PLATFORM_UNIX=0
49658 PLATFORM_WIN32=0
49659 PLATFORM_MSDOS=0
49660 PLATFORM_MAC=0
49661 PLATFORM_MACOS=0
49662 PLATFORM_MACOSX=0
49663 PLATFORM_OS2=0
49664 PLATFORM_BEOS=0
49665
49666 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49667 case "${BAKEFILE_HOST}" in
49668 *-*-mingw32* )
49669 PLATFORM_WIN32=1
49670 ;;
49671 *-pc-msdosdjgpp )
49672 PLATFORM_MSDOS=1
49673 ;;
49674 *-pc-os2_emx | *-pc-os2-emx )
49675 PLATFORM_OS2=1
49676 ;;
49677 *-*-darwin* )
49678 PLATFORM_MAC=1
49679 PLATFORM_MACOSX=1
49680 ;;
49681 *-*-beos* )
49682 PLATFORM_BEOS=1
49683 ;;
49684 powerpc-apple-macos* )
49685 PLATFORM_MAC=1
49686 PLATFORM_MACOS=1
49687 ;;
49688 * )
49689 PLATFORM_UNIX=1
49690 ;;
49691 esac
49692 else
49693 case "$BAKEFILE_FORCE_PLATFORM" in
49694 win32 )
49695 PLATFORM_WIN32=1
49696 ;;
49697 msdos )
49698 PLATFORM_MSDOS=1
49699 ;;
49700 os2 )
49701 PLATFORM_OS2=1
49702 ;;
49703 darwin )
49704 PLATFORM_MAC=1
49705 PLATFORM_MACOSX=1
49706 ;;
49707 unix )
49708 PLATFORM_UNIX=1
49709 ;;
49710 beos )
49711 PLATFORM_BEOS=1
49712 ;;
49713 * )
49714 ;;
49715 esac
49716 fi
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728 # Check whether --enable-omf was given.
49729 if test "${enable_omf+set}" = set; then
49730 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49731 fi
49732
49733
49734 case "${BAKEFILE_HOST}" in
49735 *-*-darwin* )
49736 if test "x$GCC" = "xyes"; then
49737 CFLAGS="$CFLAGS -fno-common"
49738 CXXFLAGS="$CXXFLAGS -fno-common"
49739 fi
49740 if test "x$XLCC" = "xyes"; then
49741 CFLAGS="$CFLAGS -qnocommon"
49742 CXXFLAGS="$CXXFLAGS -qnocommon"
49743 fi
49744 ;;
49745
49746 *-pc-os2_emx | *-pc-os2-emx )
49747 if test "x$bk_os2_use_omf" = "xyes" ; then
49748 AR=emxomfar
49749 RANLIB=:
49750 LDFLAGS="-Zomf $LDFLAGS"
49751 CFLAGS="-Zomf $CFLAGS"
49752 CXXFLAGS="-Zomf $CXXFLAGS"
49753 OS2_LIBEXT="lib"
49754 else
49755 OS2_LIBEXT="a"
49756 fi
49757 ;;
49758
49759 i*86-*-beos* )
49760 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49761 ;;
49762 esac
49763
49764
49765 SO_SUFFIX="so"
49766 SO_SUFFIX_MODULE="so"
49767 EXEEXT=""
49768 LIBPREFIX="lib"
49769 LIBEXT=".a"
49770 DLLPREFIX="lib"
49771 DLLPREFIX_MODULE=""
49772 DLLIMP_SUFFIX=""
49773 dlldir="$libdir"
49774
49775 case "${BAKEFILE_HOST}" in
49776 *-hp-hpux* )
49777 SO_SUFFIX="sl"
49778 SO_SUFFIX_MODULE="sl"
49779 ;;
49780 *-*-aix* )
49781 SO_SUFFIX="a"
49782 SO_SUFFIX_MODULE="a"
49783 ;;
49784 *-*-cygwin* )
49785 SO_SUFFIX="dll"
49786 SO_SUFFIX_MODULE="dll"
49787 DLLIMP_SUFFIX="dll.a"
49788 EXEEXT=".exe"
49789 DLLPREFIX="cyg"
49790 dlldir="$bindir"
49791 ;;
49792 *-*-mingw32* )
49793 SO_SUFFIX="dll"
49794 SO_SUFFIX_MODULE="dll"
49795 DLLIMP_SUFFIX="dll.a"
49796 EXEEXT=".exe"
49797 DLLPREFIX=""
49798 dlldir="$bindir"
49799 ;;
49800 *-pc-msdosdjgpp )
49801 EXEEXT=".exe"
49802 DLLPREFIX=""
49803 dlldir="$bindir"
49804 ;;
49805 *-pc-os2_emx | *-pc-os2-emx )
49806 SO_SUFFIX="dll"
49807 SO_SUFFIX_MODULE="dll"
49808 DLLIMP_SUFFIX=$OS2_LIBEXT
49809 EXEEXT=".exe"
49810 DLLPREFIX=""
49811 LIBPREFIX=""
49812 LIBEXT=".$OS2_LIBEXT"
49813 dlldir="$bindir"
49814 ;;
49815 *-*-darwin* )
49816 SO_SUFFIX="dylib"
49817 SO_SUFFIX_MODULE="bundle"
49818 ;;
49819 esac
49820
49821 if test "x$DLLIMP_SUFFIX" = "x" ; then
49822 DLLIMP_SUFFIX="$SO_SUFFIX"
49823 fi
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836 PIC_FLAG=""
49837 if test "x$GCC" = "xyes"; then
49838 PIC_FLAG="-fPIC"
49839 fi
49840
49841 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49842 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49843 WINDOWS_IMPLIB=0
49844
49845 case "${BAKEFILE_HOST}" in
49846 *-hp-hpux* )
49847 if test "x$GCC" != "xyes"; then
49848 LDFLAGS="$LDFLAGS -L/usr/lib"
49849
49850 SHARED_LD_CC="${CC} -b -o"
49851 SHARED_LD_CXX="${CXX} -b -o"
49852 PIC_FLAG="+Z"
49853 fi
49854 ;;
49855
49856 *-*-linux* )
49857 if test "$INTELCC" = "yes"; then
49858 PIC_FLAG="-KPIC"
49859 elif test "x$SUNCXX" = "xyes"; then
49860 SHARED_LD_CC="${CC} -G -o"
49861 SHARED_LD_CXX="${CXX} -G -o"
49862 PIC_FLAG="-KPIC"
49863 fi
49864 ;;
49865
49866 *-*-solaris2* )
49867 if test "x$SUNCXX" = xyes ; then
49868 SHARED_LD_CC="${CC} -G -o"
49869 SHARED_LD_CXX="${CXX} -G -o"
49870 PIC_FLAG="-KPIC"
49871 fi
49872 ;;
49873
49874 *-*-darwin* )
49875
49876 D='$'
49877 cat <<EOF >shared-ld-sh
49878 #!/bin/sh
49879 #-----------------------------------------------------------------------------
49880 #-- Name: distrib/mac/shared-ld-sh
49881 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49882 #-- Author: Gilles Depeyrot
49883 #-- Copyright: (c) 2002 Gilles Depeyrot
49884 #-- Licence: any use permitted
49885 #-----------------------------------------------------------------------------
49886
49887 verbose=0
49888 args=""
49889 objects=""
49890 linking_flag="-dynamiclib"
49891 ldargs="-r -keep_private_externs -nostdlib"
49892
49893 while test ${D}# -gt 0; do
49894 case ${D}1 in
49895
49896 -v)
49897 verbose=1
49898 ;;
49899
49900 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49901 # collect these options and values
49902 args="${D}{args} ${D}1 ${D}2"
49903 shift
49904 ;;
49905
49906 -s|-Wl,*)
49907 # collect these load args
49908 ldargs="${D}{ldargs} ${D}1"
49909 ;;
49910
49911 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49912 # collect these options
49913 args="${D}{args} ${D}1"
49914 ;;
49915
49916 -dynamiclib|-bundle)
49917 linking_flag="${D}1"
49918 ;;
49919
49920 -*)
49921 echo "shared-ld: unhandled option '${D}1'"
49922 exit 1
49923 ;;
49924
49925 *.o | *.a | *.dylib)
49926 # collect object files
49927 objects="${D}{objects} ${D}1"
49928 ;;
49929
49930 *)
49931 echo "shared-ld: unhandled argument '${D}1'"
49932 exit 1
49933 ;;
49934
49935 esac
49936 shift
49937 done
49938
49939 status=0
49940
49941 #
49942 # Link one module containing all the others
49943 #
49944 if test ${D}{verbose} = 1; then
49945 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49946 fi
49947 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49948 status=${D}?
49949
49950 #
49951 # Link the shared library from the single module created, but only if the
49952 # previous command didn't fail:
49953 #
49954 if test ${D}{status} = 0; then
49955 if test ${D}{verbose} = 1; then
49956 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49957 fi
49958 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49959 status=${D}?
49960 fi
49961
49962 #
49963 # Remove intermediate module
49964 #
49965 rm -f master.${D}${D}.o
49966
49967 exit ${D}status
49968 EOF
49969
49970 chmod +x shared-ld-sh
49971
49972 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49973 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49974
49975
49976 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49977 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49978 if test "${bakefile_cv_gcc31+set}" = set; then
49979 echo $ECHO_N "(cached) $ECHO_C" >&6
49980 else
49981
49982 cat >conftest.$ac_ext <<_ACEOF
49983 /* confdefs.h. */
49984 _ACEOF
49985 cat confdefs.h >>conftest.$ac_ext
49986 cat >>conftest.$ac_ext <<_ACEOF
49987 /* end confdefs.h. */
49988
49989 int
49990 main ()
49991 {
49992
49993 #if (__GNUC__ < 3) || \
49994 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49995 This is old gcc
49996 #endif
49997
49998 ;
49999 return 0;
50000 }
50001 _ACEOF
50002 rm -f conftest.$ac_objext
50003 if { (ac_try="$ac_compile"
50004 case "(($ac_try" in
50005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50006 *) ac_try_echo=$ac_try;;
50007 esac
50008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50009 (eval "$ac_compile") 2>conftest.er1
50010 ac_status=$?
50011 grep -v '^ *+' conftest.er1 >conftest.err
50012 rm -f conftest.er1
50013 cat conftest.err >&5
50014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50015 (exit $ac_status); } && {
50016 test -z "$ac_c_werror_flag" ||
50017 test ! -s conftest.err
50018 } && test -s conftest.$ac_objext; then
50019
50020 bakefile_cv_gcc31=yes
50021
50022 else
50023 echo "$as_me: failed program was:" >&5
50024 sed 's/^/| /' conftest.$ac_ext >&5
50025
50026
50027 bakefile_cv_gcc31=no
50028
50029
50030 fi
50031
50032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50033
50034 fi
50035 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50036 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50037 if test "$bakefile_cv_gcc31" = "no"; then
50038 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50039 SHARED_LD_CXX="$SHARED_LD_CC"
50040 else
50041 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50042 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50043 fi
50044
50045 if test "x$GCC" == "xyes"; then
50046 PIC_FLAG="-dynamic -fPIC"
50047 fi
50048 if test "x$XLCC" = "xyes"; then
50049 PIC_FLAG="-dynamic -DPIC"
50050 fi
50051 ;;
50052
50053 *-*-aix* )
50054 if test "x$GCC" = "xyes"; then
50055 PIC_FLAG=""
50056
50057 case "${BAKEFILE_HOST}" in
50058 *-*-aix5* )
50059 LD_EXPFULL="-Wl,-bexpfull"
50060 ;;
50061 esac
50062
50063 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50064 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50065 else
50066 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50067 set dummy makeC++SharedLib; ac_word=$2
50068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50070 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50071 echo $ECHO_N "(cached) $ECHO_C" >&6
50072 else
50073 if test -n "$AIX_CXX_LD"; then
50074 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50075 else
50076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50077 for as_dir in $PATH
50078 do
50079 IFS=$as_save_IFS
50080 test -z "$as_dir" && as_dir=.
50081 for ac_exec_ext in '' $ac_executable_extensions; do
50082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50083 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50085 break 2
50086 fi
50087 done
50088 done
50089 IFS=$as_save_IFS
50090
50091 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50092 fi
50093 fi
50094 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50095 if test -n "$AIX_CXX_LD"; then
50096 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50097 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50098 else
50099 { echo "$as_me:$LINENO: result: no" >&5
50100 echo "${ECHO_T}no" >&6; }
50101 fi
50102
50103
50104 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50105 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50106 fi
50107 ;;
50108
50109 *-*-beos* )
50110 SHARED_LD_CC="${LD} -nostart -o"
50111 SHARED_LD_CXX="${LD} -nostart -o"
50112 ;;
50113
50114 *-*-irix* )
50115 if test "x$GCC" != "xyes"; then
50116 PIC_FLAG="-KPIC"
50117 fi
50118 ;;
50119
50120 *-*-cygwin* | *-*-mingw32* )
50121 PIC_FLAG=""
50122 SHARED_LD_CC="\$(CC) -shared -o"
50123 SHARED_LD_CXX="\$(CXX) -shared -o"
50124 WINDOWS_IMPLIB=1
50125 ;;
50126
50127 *-pc-os2_emx | *-pc-os2-emx )
50128 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50129 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50130 PIC_FLAG=""
50131
50132 D='$'
50133 cat <<EOF >dllar.sh
50134 #!/bin/sh
50135 #
50136 # dllar - a tool to build both a .dll and an .a file
50137 # from a set of object (.o) files for EMX/OS2.
50138 #
50139 # Written by Andrew Zabolotny, bit@freya.etu.ru
50140 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50141 #
50142 # This script will accept a set of files on the command line.
50143 # All the public symbols from the .o files will be exported into
50144 # a .DEF file, then linker will be run (through gcc) against them to
50145 # build a shared library consisting of all given .o files. All libraries
50146 # (.a) will be first decompressed into component .o files then act as
50147 # described above. You can optionally give a description (-d "description")
50148 # which will be put into .DLL. To see the list of accepted options (as well
50149 # as command-line format) simply run this program without options. The .DLL
50150 # is built to be imported by name (there is no guarantee that new versions
50151 # of the library you build will have same ordinals for same symbols).
50152 #
50153 # dllar is free software; you can redistribute it and/or modify
50154 # it under the terms of the GNU General Public License as published by
50155 # the Free Software Foundation; either version 2, or (at your option)
50156 # any later version.
50157 #
50158 # dllar is distributed in the hope that it will be useful,
50159 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50160 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50161 # GNU General Public License for more details.
50162 #
50163 # You should have received a copy of the GNU General Public License
50164 # along with dllar; see the file COPYING. If not, write to the Free
50165 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50166 # 02111-1307, USA.
50167
50168 # To successfuly run this program you will need:
50169 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50170 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50171 # - gcc
50172 # (used to build the .dll)
50173 # - emxexp
50174 # (used to create .def file from .o files)
50175 # - emximp
50176 # (used to create .a file from .def file)
50177 # - GNU text utilites (cat, sort, uniq)
50178 # used to process emxexp output
50179 # - GNU file utilities (mv, rm)
50180 # - GNU sed
50181 # - lxlite (optional, see flag below)
50182 # (used for general .dll cleanup)
50183 #
50184
50185 flag_USE_LXLITE=1;
50186
50187 #
50188 # helper functions
50189 # basnam, variant of basename, which does _not_ remove the path, _iff_
50190 # second argument (suffix to remove) is given
50191 basnam(){
50192 case ${D}# in
50193 1)
50194 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50195 ;;
50196 2)
50197 echo ${D}1 | sed 's/'${D}2'${D}//'
50198 ;;
50199 *)
50200 echo "error in basnam ${D}*"
50201 exit 8
50202 ;;
50203 esac
50204 }
50205
50206 # Cleanup temporary files and output
50207 CleanUp() {
50208 cd ${D}curDir
50209 for i in ${D}inputFiles ; do
50210 case ${D}i in
50211 *!)
50212 rm -rf \`basnam ${D}i !\`
50213 ;;
50214 *)
50215 ;;
50216 esac
50217 done
50218
50219 # Kill result in case of failure as there is just to many stupid make/nmake
50220 # things out there which doesn't do this.
50221 if [ ${D}# -eq 0 ]; then
50222 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50223 fi
50224 }
50225
50226 # Print usage and exit script with rc=1.
50227 PrintHelp() {
50228 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50229 echo ' [-name-mangler-script script.sh]'
50230 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50231 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50232 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50233 echo ' [*.o] [*.a]'
50234 echo '*> "output_file" should have no extension.'
50235 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50236 echo ' The import library name is derived from this and is set to "name".a,'
50237 echo ' unless overridden by -import'
50238 echo '*> "importlib_name" should have no extension.'
50239 echo ' If it has the .o, or .a extension, it is automatically removed.'
50240 echo ' This name is used as the import library name and may be longer and'
50241 echo ' more descriptive than the DLL name which has to follow the old '
50242 echo ' 8.3 convention of FAT.'
50243 echo '*> "script.sh may be given to override the output_file name by a'
50244 echo ' different name. It is mainly useful if the regular make process'
50245 echo ' of some package does not take into account OS/2 restriction of'
50246 echo ' DLL name lengths. It takes the importlib name as input and is'
50247 echo ' supposed to procude a shorter name as output. The script should'
50248 echo ' expect to get importlib_name without extension and should produce'
50249 echo ' a (max.) 8 letter name without extension.'
50250 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50251 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50252 echo ' These flags will be put at the start of GCC command line.'
50253 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50254 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50255 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50256 echo ' If the last character of a symbol is "*", all symbols beginning'
50257 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50258 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50259 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50260 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50261 echo ' C runtime DLLs.'
50262 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50263 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50264 echo ' unchanged to GCC at the end of command line.'
50265 echo '*> If you create a DLL from a library and you do not specify -o,'
50266 echo ' the basename for DLL and import library will be set to library name,'
50267 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50268 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50269 echo ' library will be renamed into gcc_s.a.'
50270 echo '--------'
50271 echo 'Example:'
50272 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50273 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50274 CleanUp
50275 exit 1
50276 }
50277
50278 # Execute a command.
50279 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50280 # @Uses Whatever CleanUp() uses.
50281 doCommand() {
50282 echo "${D}*"
50283 eval ${D}*
50284 rcCmd=${D}?
50285
50286 if [ ${D}rcCmd -ne 0 ]; then
50287 echo "command failed, exit code="${D}rcCmd
50288 CleanUp
50289 exit ${D}rcCmd
50290 fi
50291 }
50292
50293 # main routine
50294 # setup globals
50295 cmdLine=${D}*
50296 outFile=""
50297 outimpFile=""
50298 inputFiles=""
50299 renameScript=""
50300 description=""
50301 CC=gcc.exe
50302 CFLAGS="-s -Zcrtdll"
50303 EXTRA_CFLAGS=""
50304 EXPORT_BY_ORDINALS=0
50305 exclude_symbols=""
50306 library_flags=""
50307 curDir=\`pwd\`
50308 curDirS=curDir
50309 case ${D}curDirS in
50310 */)
50311 ;;
50312 *)
50313 curDirS=${D}{curDirS}"/"
50314 ;;
50315 esac
50316 # Parse commandline
50317 libsToLink=0
50318 omfLinking=0
50319 while [ ${D}1 ]; do
50320 case ${D}1 in
50321 -ord*)
50322 EXPORT_BY_ORDINALS=1;
50323 ;;
50324 -o*)
50325 shift
50326 outFile=${D}1
50327 ;;
50328 -i*)
50329 shift
50330 outimpFile=${D}1
50331 ;;
50332 -name-mangler-script)
50333 shift
50334 renameScript=${D}1
50335 ;;
50336 -d*)
50337 shift
50338 description=${D}1
50339 ;;
50340 -f*)
50341 shift
50342 CFLAGS=${D}1
50343 ;;
50344 -c*)
50345 shift
50346 CC=${D}1
50347 ;;
50348 -h*)
50349 PrintHelp
50350 ;;
50351 -ex*)
50352 shift
50353 exclude_symbols=${D}{exclude_symbols}${D}1" "
50354 ;;
50355 -libf*)
50356 shift
50357 library_flags=${D}{library_flags}${D}1" "
50358 ;;
50359 -nocrt*)
50360 CFLAGS="-s"
50361 ;;
50362 -nolxl*)
50363 flag_USE_LXLITE=0
50364 ;;
50365 -* | /*)
50366 case ${D}1 in
50367 -L* | -l*)
50368 libsToLink=1
50369 ;;
50370 -Zomf)
50371 omfLinking=1
50372 ;;
50373 *)
50374 ;;
50375 esac
50376 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50377 ;;
50378 *.dll)
50379 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50380 if [ ${D}omfLinking -eq 1 ]; then
50381 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50382 else
50383 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50384 fi
50385 ;;
50386 *)
50387 found=0;
50388 if [ ${D}libsToLink -ne 0 ]; then
50389 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50390 else
50391 for file in ${D}1 ; do
50392 if [ -f ${D}file ]; then
50393 inputFiles="${D}{inputFiles} ${D}file"
50394 found=1
50395 fi
50396 done
50397 if [ ${D}found -eq 0 ]; then
50398 echo "ERROR: No file(s) found: "${D}1
50399 exit 8
50400 fi
50401 fi
50402 ;;
50403 esac
50404 shift
50405 done # iterate cmdline words
50406
50407 #
50408 if [ -z "${D}inputFiles" ]; then
50409 echo "dllar: no input files"
50410 PrintHelp
50411 fi
50412
50413 # Now extract all .o files from .a files
50414 newInputFiles=""
50415 for file in ${D}inputFiles ; do
50416 case ${D}file in
50417 *.a | *.lib)
50418 case ${D}file in
50419 *.a)
50420 suffix=".a"
50421 AR="ar"
50422 ;;
50423 *.lib)
50424 suffix=".lib"
50425 AR="emxomfar"
50426 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50427 ;;
50428 *)
50429 ;;
50430 esac
50431 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50432 mkdir ${D}dirname
50433 if [ ${D}? -ne 0 ]; then
50434 echo "Failed to create subdirectory ./${D}dirname"
50435 CleanUp
50436 exit 8;
50437 fi
50438 # Append '!' to indicate archive
50439 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50440 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50441 cd ${D}curDir
50442 found=0;
50443 for subfile in ${D}dirname/*.o* ; do
50444 if [ -f ${D}subfile ]; then
50445 found=1
50446 if [ -s ${D}subfile ]; then
50447 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50448 newInputFiles="${D}newInputFiles ${D}subfile"
50449 fi
50450 fi
50451 done
50452 if [ ${D}found -eq 0 ]; then
50453 echo "WARNING: there are no files in archive \\'${D}file\\'"
50454 fi
50455 ;;
50456 *)
50457 newInputFiles="${D}{newInputFiles} ${D}file"
50458 ;;
50459 esac
50460 done
50461 inputFiles="${D}newInputFiles"
50462
50463 # Output filename(s).
50464 do_backup=0;
50465 if [ -z ${D}outFile ]; then
50466 do_backup=1;
50467 set outFile ${D}inputFiles; outFile=${D}2
50468 fi
50469
50470 # If it is an archive, remove the '!' and the '_%' suffixes
50471 case ${D}outFile in
50472 *_%!)
50473 outFile=\`basnam ${D}outFile _%!\`
50474 ;;
50475 *)
50476 ;;
50477 esac
50478 case ${D}outFile in
50479 *.dll)
50480 outFile=\`basnam ${D}outFile .dll\`
50481 ;;
50482 *.DLL)
50483 outFile=\`basnam ${D}outFile .DLL\`
50484 ;;
50485 *.o)
50486 outFile=\`basnam ${D}outFile .o\`
50487 ;;
50488 *.obj)
50489 outFile=\`basnam ${D}outFile .obj\`
50490 ;;
50491 *.a)
50492 outFile=\`basnam ${D}outFile .a\`
50493 ;;
50494 *.lib)
50495 outFile=\`basnam ${D}outFile .lib\`
50496 ;;
50497 *)
50498 ;;
50499 esac
50500 case ${D}outimpFile in
50501 *.a)
50502 outimpFile=\`basnam ${D}outimpFile .a\`
50503 ;;
50504 *.lib)
50505 outimpFile=\`basnam ${D}outimpFile .lib\`
50506 ;;
50507 *)
50508 ;;
50509 esac
50510 if [ -z ${D}outimpFile ]; then
50511 outimpFile=${D}outFile
50512 fi
50513 defFile="${D}{outFile}.def"
50514 arcFile="${D}{outimpFile}.a"
50515 arcFile2="${D}{outimpFile}.lib"
50516
50517 #create ${D}dllFile as something matching 8.3 restrictions,
50518 if [ -z ${D}renameScript ] ; then
50519 dllFile="${D}outFile"
50520 else
50521 dllFile=\`${D}renameScript ${D}outimpFile\`
50522 fi
50523
50524 if [ ${D}do_backup -ne 0 ] ; then
50525 if [ -f ${D}arcFile ] ; then
50526 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50527 fi
50528 if [ -f ${D}arcFile2 ] ; then
50529 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50530 fi
50531 fi
50532
50533 # Extract public symbols from all the object files.
50534 tmpdefFile=${D}{defFile}_%
50535 rm -f ${D}tmpdefFile
50536 for file in ${D}inputFiles ; do
50537 case ${D}file in
50538 *!)
50539 ;;
50540 *)
50541 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50542 ;;
50543 esac
50544 done
50545
50546 # Create the def file.
50547 rm -f ${D}defFile
50548 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50549 dllFile="${D}{dllFile}.dll"
50550 if [ ! -z ${D}description ]; then
50551 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50552 fi
50553 echo "EXPORTS" >> ${D}defFile
50554
50555 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50556 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50557
50558 # Checks if the export is ok or not.
50559 for word in ${D}exclude_symbols; do
50560 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50561 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50562 done
50563
50564
50565 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50566 sed "=" < ${D}tmpdefFile | \\
50567 sed '
50568 N
50569 : loop
50570 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50571 t loop
50572 ' > ${D}{tmpdefFile}%
50573 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50574 else
50575 rm -f ${D}{tmpdefFile}%
50576 fi
50577 cat ${D}tmpdefFile >> ${D}defFile
50578 rm -f ${D}tmpdefFile
50579
50580 # Do linking, create implib, and apply lxlite.
50581 gccCmdl="";
50582 for file in ${D}inputFiles ; do
50583 case ${D}file in
50584 *!)
50585 ;;
50586 *)
50587 gccCmdl="${D}gccCmdl ${D}file"
50588 ;;
50589 esac
50590 done
50591 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50592 touch "${D}{outFile}.dll"
50593
50594 doCommand "emximp -o ${D}arcFile ${D}defFile"
50595 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50596 add_flags="";
50597 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50598 add_flags="-ynd"
50599 fi
50600 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50601 fi
50602 doCommand "emxomf -s -l ${D}arcFile"
50603
50604 # Successful exit.
50605 CleanUp 1
50606 exit 0
50607 EOF
50608
50609 chmod +x dllar.sh
50610 ;;
50611
50612 powerpc-apple-macos* | \
50613 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50614 *-*-mirbsd* | \
50615 *-*-sunos4* | \
50616 *-*-osf* | \
50617 *-*-dgux5* | \
50618 *-*-sysv5* | \
50619 *-pc-msdosdjgpp )
50620 ;;
50621
50622 *)
50623 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50624 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50625 { (exit 1); exit 1; }; }
50626 esac
50627
50628 if test "x$PIC_FLAG" != "x" ; then
50629 PIC_FLAG="$PIC_FLAG -DPIC"
50630 fi
50631
50632 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50633 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50634 fi
50635 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50636 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50637 fi
50638
50639
50640
50641
50642
50643
50644
50645
50646
50647 USE_SOVERSION=0
50648 USE_SOVERLINUX=0
50649 USE_SOVERSOLARIS=0
50650 USE_SOVERCYGWIN=0
50651 USE_SOSYMLINKS=0
50652 USE_MACVERSION=0
50653 SONAME_FLAG=
50654
50655 case "${BAKEFILE_HOST}" in
50656 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50657 if test "x$SUNCXX" = "xyes"; then
50658 SONAME_FLAG="-h "
50659 else
50660 SONAME_FLAG="-Wl,-soname,"
50661 fi
50662 USE_SOVERSION=1
50663 USE_SOVERLINUX=1
50664 USE_SOSYMLINKS=1
50665 ;;
50666
50667 *-*-solaris2* )
50668 SONAME_FLAG="-h "
50669 USE_SOVERSION=1
50670 USE_SOVERSOLARIS=1
50671 USE_SOSYMLINKS=1
50672 ;;
50673
50674 *-*-darwin* )
50675 USE_MACVERSION=1
50676 USE_SOVERSION=1
50677 USE_SOSYMLINKS=1
50678 ;;
50679
50680 *-*-cygwin* )
50681 USE_SOVERSION=1
50682 USE_SOVERCYGWIN=1
50683 ;;
50684 esac
50685
50686
50687
50688
50689
50690
50691
50692
50693
50694
50695 # Check whether --enable-dependency-tracking was given.
50696 if test "${enable_dependency_tracking+set}" = set; then
50697 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50698 fi
50699
50700
50701 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50702 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50703
50704 BK_DEPS=""
50705 if test "x$bk_use_trackdeps" = "xno" ; then
50706 DEPS_TRACKING=0
50707 { echo "$as_me:$LINENO: result: disabled" >&5
50708 echo "${ECHO_T}disabled" >&6; }
50709 else
50710 DEPS_TRACKING=1
50711
50712 if test "x$GCC" = "xyes"; then
50713 DEPSMODE=gcc
50714 case "${BAKEFILE_HOST}" in
50715 *-*-darwin* )
50716 DEPSFLAG="-no-cpp-precomp -MMD"
50717 ;;
50718 * )
50719 DEPSFLAG="-MMD"
50720 ;;
50721 esac
50722 { echo "$as_me:$LINENO: result: gcc" >&5
50723 echo "${ECHO_T}gcc" >&6; }
50724 elif test "x$MWCC" = "xyes"; then
50725 DEPSMODE=mwcc
50726 DEPSFLAG="-MM"
50727 { echo "$as_me:$LINENO: result: mwcc" >&5
50728 echo "${ECHO_T}mwcc" >&6; }
50729 elif test "x$SUNCC" = "xyes"; then
50730 DEPSMODE=unixcc
50731 DEPSFLAG="-xM1"
50732 { echo "$as_me:$LINENO: result: Sun cc" >&5
50733 echo "${ECHO_T}Sun cc" >&6; }
50734 elif test "x$SGICC" = "xyes"; then
50735 DEPSMODE=unixcc
50736 DEPSFLAG="-M"
50737 { echo "$as_me:$LINENO: result: SGI cc" >&5
50738 echo "${ECHO_T}SGI cc" >&6; }
50739 elif test "x$HPCC" = "xyes"; then
50740 DEPSMODE=unixcc
50741 DEPSFLAG="+make"
50742 { echo "$as_me:$LINENO: result: HP cc" >&5
50743 echo "${ECHO_T}HP cc" >&6; }
50744 elif test "x$COMPAQCC" = "xyes"; then
50745 DEPSMODE=gcc
50746 DEPSFLAG="-MD"
50747 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50748 echo "${ECHO_T}Compaq cc" >&6; }
50749 else
50750 DEPS_TRACKING=0
50751 { echo "$as_me:$LINENO: result: none" >&5
50752 echo "${ECHO_T}none" >&6; }
50753 fi
50754
50755 if test $DEPS_TRACKING = 1 ; then
50756
50757 D='$'
50758 cat <<EOF >bk-deps
50759 #!/bin/sh
50760
50761 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50762 # script. It is used to track C/C++ files dependencies in portable way.
50763 #
50764 # Permission is given to use this file in any way.
50765
50766 DEPSMODE=${DEPSMODE}
50767 DEPSDIR=.deps
50768 DEPSFLAG="${DEPSFLAG}"
50769
50770 mkdir -p ${D}DEPSDIR
50771
50772 if test ${D}DEPSMODE = gcc ; then
50773 ${D}* ${D}{DEPSFLAG}
50774 status=${D}?
50775 if test ${D}{status} != 0 ; then
50776 exit ${D}{status}
50777 fi
50778 # move created file to the location we want it in:
50779 while test ${D}# -gt 0; do
50780 case "${D}1" in
50781 -o )
50782 shift
50783 objfile=${D}1
50784 ;;
50785 -* )
50786 ;;
50787 * )
50788 srcfile=${D}1
50789 ;;
50790 esac
50791 shift
50792 done
50793 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50794 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50795 if test -f ${D}depfile ; then
50796 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50797 rm -f ${D}depfile
50798 else
50799 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50800 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50801 if test ! -f ${D}depfile ; then
50802 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50803 depfile="${D}objfile.d"
50804 fi
50805 if test -f ${D}depfile ; then
50806 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50807 rm -f ${D}depfile
50808 fi
50809 fi
50810 exit 0
50811 elif test ${D}DEPSMODE = mwcc ; then
50812 ${D}* || exit ${D}?
50813 # Run mwcc again with -MM and redirect into the dep file we want
50814 # NOTE: We can't use shift here because we need ${D}* to be valid
50815 prevarg=
50816 for arg in ${D}* ; do
50817 if test "${D}prevarg" = "-o"; then
50818 objfile=${D}arg
50819 else
50820 case "${D}arg" in
50821 -* )
50822 ;;
50823 * )
50824 srcfile=${D}arg
50825 ;;
50826 esac
50827 fi
50828 prevarg="${D}arg"
50829 done
50830 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50831 exit 0
50832 elif test ${D}DEPSMODE = unixcc; then
50833 ${D}* || exit ${D}?
50834 # Run compiler again with deps flag and redirect into the dep file.
50835 # It doesn't work if the '-o FILE' option is used, but without it the
50836 # dependency file will contain the wrong name for the object. So it is
50837 # removed from the command line, and the dep file is fixed with sed.
50838 cmd=""
50839 while test ${D}# -gt 0; do
50840 case "${D}1" in
50841 -o )
50842 shift
50843 objfile=${D}1
50844 ;;
50845 * )
50846 eval arg${D}#=\\${D}1
50847 cmd="${D}cmd \\${D}arg${D}#"
50848 ;;
50849 esac
50850 shift
50851 done
50852 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50853 exit 0
50854 else
50855 ${D}*
50856 exit ${D}?
50857 fi
50858 EOF
50859
50860 chmod +x bk-deps
50861 BK_DEPS="`pwd`/bk-deps"
50862 fi
50863 fi
50864
50865
50866
50867
50868
50869 case ${BAKEFILE_HOST} in
50870 *-*-cygwin* | *-*-mingw32* )
50871 if test -n "$ac_tool_prefix"; then
50872 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50873 set dummy ${ac_tool_prefix}windres; ac_word=$2
50874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50876 if test "${ac_cv_prog_WINDRES+set}" = set; then
50877 echo $ECHO_N "(cached) $ECHO_C" >&6
50878 else
50879 if test -n "$WINDRES"; then
50880 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50881 else
50882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50883 for as_dir in $PATH
50884 do
50885 IFS=$as_save_IFS
50886 test -z "$as_dir" && as_dir=.
50887 for ac_exec_ext in '' $ac_executable_extensions; do
50888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50889 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50891 break 2
50892 fi
50893 done
50894 done
50895 IFS=$as_save_IFS
50896
50897 fi
50898 fi
50899 WINDRES=$ac_cv_prog_WINDRES
50900 if test -n "$WINDRES"; then
50901 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50902 echo "${ECHO_T}$WINDRES" >&6; }
50903 else
50904 { echo "$as_me:$LINENO: result: no" >&5
50905 echo "${ECHO_T}no" >&6; }
50906 fi
50907
50908
50909 fi
50910 if test -z "$ac_cv_prog_WINDRES"; then
50911 ac_ct_WINDRES=$WINDRES
50912 # Extract the first word of "windres", so it can be a program name with args.
50913 set dummy windres; ac_word=$2
50914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50916 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50917 echo $ECHO_N "(cached) $ECHO_C" >&6
50918 else
50919 if test -n "$ac_ct_WINDRES"; then
50920 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50921 else
50922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50923 for as_dir in $PATH
50924 do
50925 IFS=$as_save_IFS
50926 test -z "$as_dir" && as_dir=.
50927 for ac_exec_ext in '' $ac_executable_extensions; do
50928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50929 ac_cv_prog_ac_ct_WINDRES="windres"
50930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50931 break 2
50932 fi
50933 done
50934 done
50935 IFS=$as_save_IFS
50936
50937 fi
50938 fi
50939 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50940 if test -n "$ac_ct_WINDRES"; then
50941 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50942 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50943 else
50944 { echo "$as_me:$LINENO: result: no" >&5
50945 echo "${ECHO_T}no" >&6; }
50946 fi
50947
50948 if test "x$ac_ct_WINDRES" = x; then
50949 WINDRES=""
50950 else
50951 case $cross_compiling:$ac_tool_warned in
50952 yes:)
50953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50954 whose name does not start with the host triplet. If you think this
50955 configuration is useful to you, please write to autoconf@gnu.org." >&5
50956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50957 whose name does not start with the host triplet. If you think this
50958 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50959 ac_tool_warned=yes ;;
50960 esac
50961 WINDRES=$ac_ct_WINDRES
50962 fi
50963 else
50964 WINDRES="$ac_cv_prog_WINDRES"
50965 fi
50966
50967 ;;
50968
50969 *-*-darwin* | powerpc-apple-macos* )
50970 # Extract the first word of "Rez", so it can be a program name with args.
50971 set dummy Rez; ac_word=$2
50972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50974 if test "${ac_cv_prog_REZ+set}" = set; then
50975 echo $ECHO_N "(cached) $ECHO_C" >&6
50976 else
50977 if test -n "$REZ"; then
50978 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50979 else
50980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50981 for as_dir in $PATH
50982 do
50983 IFS=$as_save_IFS
50984 test -z "$as_dir" && as_dir=.
50985 for ac_exec_ext in '' $ac_executable_extensions; do
50986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50987 ac_cv_prog_REZ="Rez"
50988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50989 break 2
50990 fi
50991 done
50992 done
50993 IFS=$as_save_IFS
50994
50995 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50996 fi
50997 fi
50998 REZ=$ac_cv_prog_REZ
50999 if test -n "$REZ"; then
51000 { echo "$as_me:$LINENO: result: $REZ" >&5
51001 echo "${ECHO_T}$REZ" >&6; }
51002 else
51003 { echo "$as_me:$LINENO: result: no" >&5
51004 echo "${ECHO_T}no" >&6; }
51005 fi
51006
51007
51008 # Extract the first word of "SetFile", so it can be a program name with args.
51009 set dummy SetFile; ac_word=$2
51010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51012 if test "${ac_cv_prog_SETFILE+set}" = set; then
51013 echo $ECHO_N "(cached) $ECHO_C" >&6
51014 else
51015 if test -n "$SETFILE"; then
51016 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51017 else
51018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51019 for as_dir in $PATH
51020 do
51021 IFS=$as_save_IFS
51022 test -z "$as_dir" && as_dir=.
51023 for ac_exec_ext in '' $ac_executable_extensions; do
51024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51025 ac_cv_prog_SETFILE="SetFile"
51026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51027 break 2
51028 fi
51029 done
51030 done
51031 IFS=$as_save_IFS
51032
51033 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51034 fi
51035 fi
51036 SETFILE=$ac_cv_prog_SETFILE
51037 if test -n "$SETFILE"; then
51038 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51039 echo "${ECHO_T}$SETFILE" >&6; }
51040 else
51041 { echo "$as_me:$LINENO: result: no" >&5
51042 echo "${ECHO_T}no" >&6; }
51043 fi
51044
51045
51046 ;;
51047 esac
51048
51049
51050
51051
51052
51053
51054 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51055
51056
51057 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51058
51059
51060
51061 # Check whether --enable-precomp-headers was given.
51062 if test "${enable_precomp_headers+set}" = set; then
51063 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51064 fi
51065
51066
51067 GCC_PCH=0
51068 ICC_PCH=0
51069 USE_PCH=0
51070 BK_MAKE_PCH=""
51071
51072 case ${BAKEFILE_HOST} in
51073 *-*-cygwin* )
51074 bk_use_pch="no"
51075 ;;
51076 esac
51077
51078 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51079 if test "x$GCC" = "xyes"; then
51080 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51081 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51082 cat >conftest.$ac_ext <<_ACEOF
51083 /* confdefs.h. */
51084 _ACEOF
51085 cat confdefs.h >>conftest.$ac_ext
51086 cat >>conftest.$ac_ext <<_ACEOF
51087 /* end confdefs.h. */
51088
51089 int
51090 main ()
51091 {
51092
51093 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51094 There is no PCH support
51095 #endif
51096 #if (__GNUC__ < 3)
51097 There is no PCH support
51098 #endif
51099 #if (__GNUC__ == 3) && \
51100 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51101 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51102 ( defined(__INTEL_COMPILER) )
51103 There is no PCH support
51104 #endif
51105
51106 ;
51107 return 0;
51108 }
51109 _ACEOF
51110 rm -f conftest.$ac_objext
51111 if { (ac_try="$ac_compile"
51112 case "(($ac_try" in
51113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51114 *) ac_try_echo=$ac_try;;
51115 esac
51116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51117 (eval "$ac_compile") 2>conftest.er1
51118 ac_status=$?
51119 grep -v '^ *+' conftest.er1 >conftest.err
51120 rm -f conftest.er1
51121 cat conftest.err >&5
51122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51123 (exit $ac_status); } && {
51124 test -z "$ac_c_werror_flag" ||
51125 test ! -s conftest.err
51126 } && test -s conftest.$ac_objext; then
51127
51128 { echo "$as_me:$LINENO: result: yes" >&5
51129 echo "${ECHO_T}yes" >&6; }
51130 GCC_PCH=1
51131
51132 else
51133 echo "$as_me: failed program was:" >&5
51134 sed 's/^/| /' conftest.$ac_ext >&5
51135
51136
51137 cat >conftest.$ac_ext <<_ACEOF
51138 /* confdefs.h. */
51139 _ACEOF
51140 cat confdefs.h >>conftest.$ac_ext
51141 cat >>conftest.$ac_ext <<_ACEOF
51142 /* end confdefs.h. */
51143
51144 int
51145 main ()
51146 {
51147
51148 #if !defined(__INTEL_COMPILER) || \
51149 (__INTEL_COMPILER < 800)
51150 There is no PCH support
51151 #endif
51152
51153 ;
51154 return 0;
51155 }
51156 _ACEOF
51157 rm -f conftest.$ac_objext
51158 if { (ac_try="$ac_compile"
51159 case "(($ac_try" in
51160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51161 *) ac_try_echo=$ac_try;;
51162 esac
51163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51164 (eval "$ac_compile") 2>conftest.er1
51165 ac_status=$?
51166 grep -v '^ *+' conftest.er1 >conftest.err
51167 rm -f conftest.er1
51168 cat conftest.err >&5
51169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51170 (exit $ac_status); } && {
51171 test -z "$ac_c_werror_flag" ||
51172 test ! -s conftest.err
51173 } && test -s conftest.$ac_objext; then
51174
51175 { echo "$as_me:$LINENO: result: yes" >&5
51176 echo "${ECHO_T}yes" >&6; }
51177 ICC_PCH=1
51178
51179 else
51180 echo "$as_me: failed program was:" >&5
51181 sed 's/^/| /' conftest.$ac_ext >&5
51182
51183
51184 { echo "$as_me:$LINENO: result: no" >&5
51185 echo "${ECHO_T}no" >&6; }
51186
51187 fi
51188
51189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51190
51191 fi
51192
51193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51194 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51195 USE_PCH=1
51196
51197 D='$'
51198 cat <<EOF >bk-make-pch
51199 #!/bin/sh
51200
51201 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51202 # script. It is used to generated precompiled headers.
51203 #
51204 # Permission is given to use this file in any way.
51205
51206 outfile="${D}{1}"
51207 header="${D}{2}"
51208 shift
51209 shift
51210
51211 compiler=""
51212 headerfile=""
51213
51214 while test ${D}{#} -gt 0; do
51215 add_to_cmdline=1
51216 case "${D}{1}" in
51217 -I* )
51218 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51219 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51220 headerfile="${D}{incdir}/${D}{header}"
51221 fi
51222 ;;
51223 -use-pch|-use_pch )
51224 shift
51225 add_to_cmdline=0
51226 ;;
51227 esac
51228 if test ${D}add_to_cmdline = 1 ; then
51229 compiler="${D}{compiler} ${D}{1}"
51230 fi
51231 shift
51232 done
51233
51234 if test "x${D}{headerfile}" = "x" ; then
51235 echo "error: can't find header ${D}{header} in include paths" >&2
51236 else
51237 if test -f ${D}{outfile} ; then
51238 rm -f ${D}{outfile}
51239 else
51240 mkdir -p \`dirname ${D}{outfile}\`
51241 fi
51242 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51243 mkdir -p .deps
51244 if test "x${GCC_PCH}" = "x1" ; then
51245 # can do this because gcc is >= 3.4:
51246 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51247 elif test "x${ICC_PCH}" = "x1" ; then
51248 filename=pch_gen-${D}${D}
51249 file=${D}{filename}.c
51250 dfile=${D}{filename}.d
51251 cat > ${D}file <<EOT
51252 #include "${D}header"
51253 EOT
51254 # using -MF icc complains about differing command lines in creation/use
51255 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51256 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51257 rm -f ${D}file ${D}dfile ${D}{filename}.o
51258 fi
51259 exit ${D}{?}
51260 fi
51261 EOF
51262
51263 chmod +x bk-make-pch
51264 BK_MAKE_PCH="`pwd`/bk-make-pch"
51265 fi
51266 fi
51267 fi
51268
51269
51270
51271
51272
51273 COND_BUILD_DEBUG="#"
51274 if test "x$BUILD" = "xdebug" ; then
51275 COND_BUILD_DEBUG=""
51276 fi
51277
51278 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51279 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51280 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51281 fi
51282
51283 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51284 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51285 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51286 fi
51287
51288 COND_BUILD_DEBUG_UNICODE_0="#"
51289 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51290 COND_BUILD_DEBUG_UNICODE_0=""
51291 fi
51292
51293 COND_BUILD_DEBUG_UNICODE_1="#"
51294 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51295 COND_BUILD_DEBUG_UNICODE_1=""
51296 fi
51297
51298 COND_BUILD_RELEASE="#"
51299 if test "x$BUILD" = "xrelease" ; then
51300 COND_BUILD_RELEASE=""
51301 fi
51302
51303 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51304 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51305 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51306 fi
51307
51308 COND_BUILD_RELEASE_UNICODE_0="#"
51309 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51310 COND_BUILD_RELEASE_UNICODE_0=""
51311 fi
51312
51313 COND_BUILD_RELEASE_UNICODE_1="#"
51314 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51315 COND_BUILD_RELEASE_UNICODE_1=""
51316 fi
51317
51318 COND_DEBUG_FLAG_1="#"
51319 if test "x$DEBUG_FLAG" = "x1" ; then
51320 COND_DEBUG_FLAG_1=""
51321 fi
51322
51323 COND_DEBUG_INFO_0="#"
51324 if test "x$DEBUG_INFO" = "x0" ; then
51325 COND_DEBUG_INFO_0=""
51326 fi
51327
51328 COND_DEBUG_INFO_1="#"
51329 if test "x$DEBUG_INFO" = "x1" ; then
51330 COND_DEBUG_INFO_1=""
51331 fi
51332
51333 COND_DEPS_TRACKING_0="#"
51334 if test "x$DEPS_TRACKING" = "x0" ; then
51335 COND_DEPS_TRACKING_0=""
51336 fi
51337
51338 COND_DEPS_TRACKING_1="#"
51339 if test "x$DEPS_TRACKING" = "x1" ; then
51340 COND_DEPS_TRACKING_1=""
51341 fi
51342
51343 COND_GCC_PCH_1="#"
51344 if test "x$GCC_PCH" = "x1" ; then
51345 COND_GCC_PCH_1=""
51346 fi
51347
51348 COND_ICC_PCH_1="#"
51349 if test "x$ICC_PCH" = "x1" ; then
51350 COND_ICC_PCH_1=""
51351 fi
51352
51353 COND_MONOLITHIC_0="#"
51354 if test "x$MONOLITHIC" = "x0" ; then
51355 COND_MONOLITHIC_0=""
51356 fi
51357
51358 COND_MONOLITHIC_0_SHARED_0="#"
51359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51360 COND_MONOLITHIC_0_SHARED_0=""
51361 fi
51362
51363 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51365 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51366 fi
51367
51368 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51370 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51371 fi
51372
51373 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51375 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51376 fi
51377
51378 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51380 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51381 fi
51382
51383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51385 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51386 fi
51387
51388 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51390 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51391 fi
51392
51393 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51395 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51396 fi
51397
51398 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51400 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51401 fi
51402
51403 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51405 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51406 fi
51407
51408 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51410 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51411 fi
51412
51413 COND_MONOLITHIC_0_SHARED_1="#"
51414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51415 COND_MONOLITHIC_0_SHARED_1=""
51416 fi
51417
51418 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51420 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51421 fi
51422
51423 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51425 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51426 fi
51427
51428 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51430 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51431 fi
51432
51433 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51435 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51436 fi
51437
51438 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51440 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51441 fi
51442
51443 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51445 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51446 fi
51447
51448 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51450 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51451 fi
51452
51453 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51455 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51456 fi
51457
51458 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51460 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51461 fi
51462
51463 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51465 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51466 fi
51467
51468 COND_MONOLITHIC_0_USE_AUI_1="#"
51469 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51470 COND_MONOLITHIC_0_USE_AUI_1=""
51471 fi
51472
51473 COND_MONOLITHIC_0_USE_GUI_1="#"
51474 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51475 COND_MONOLITHIC_0_USE_GUI_1=""
51476 fi
51477
51478 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51479 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51480 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51481 fi
51482
51483 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51484 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51485 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51486 fi
51487
51488 COND_MONOLITHIC_0_USE_HTML_1="#"
51489 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51490 COND_MONOLITHIC_0_USE_HTML_1=""
51491 fi
51492
51493 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51494 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51495 COND_MONOLITHIC_0_USE_MEDIA_1=""
51496 fi
51497
51498 COND_MONOLITHIC_0_USE_ODBC_1="#"
51499 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51500 COND_MONOLITHIC_0_USE_ODBC_1=""
51501 fi
51502
51503 COND_MONOLITHIC_0_USE_QA_1="#"
51504 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51505 COND_MONOLITHIC_0_USE_QA_1=""
51506 fi
51507
51508 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51509 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51510 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51511 fi
51512
51513 COND_MONOLITHIC_0_USE_STC_1="#"
51514 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51515 COND_MONOLITHIC_0_USE_STC_1=""
51516 fi
51517
51518 COND_MONOLITHIC_0_USE_XRC_1="#"
51519 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51520 COND_MONOLITHIC_0_USE_XRC_1=""
51521 fi
51522
51523 COND_MONOLITHIC_1="#"
51524 if test "x$MONOLITHIC" = "x1" ; then
51525 COND_MONOLITHIC_1=""
51526 fi
51527
51528 COND_MONOLITHIC_1_SHARED_0="#"
51529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51530 COND_MONOLITHIC_1_SHARED_0=""
51531 fi
51532
51533 COND_MONOLITHIC_1_SHARED_1="#"
51534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51535 COND_MONOLITHIC_1_SHARED_1=""
51536 fi
51537
51538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51541 fi
51542
51543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51546 fi
51547
51548 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51550 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51551 fi
51552
51553 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51554 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51555 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51556 fi
51557
51558 COND_PLATFORM_MACOSX_1="#"
51559 if test "x$PLATFORM_MACOSX" = "x1" ; then
51560 COND_PLATFORM_MACOSX_1=""
51561 fi
51562
51563 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51565 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51566 fi
51567
51568 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51570 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51571 fi
51572
51573 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51575 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51576 fi
51577
51578 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51580 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51581 fi
51582
51583 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51584 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51585 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51586 fi
51587
51588 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51589 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51590 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51591 fi
51592
51593 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51594 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51595 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51596 fi
51597
51598 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51599 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51600 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51601 fi
51602
51603 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51605 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51606 fi
51607
51608 COND_PLATFORM_MACOS_1="#"
51609 if test "x$PLATFORM_MACOS" = "x1" ; then
51610 COND_PLATFORM_MACOS_1=""
51611 fi
51612
51613 COND_PLATFORM_MAC_1="#"
51614 if test "x$PLATFORM_MAC" = "x1" ; then
51615 COND_PLATFORM_MAC_1=""
51616 fi
51617
51618 COND_PLATFORM_MSDOS_0="#"
51619 if test "x$PLATFORM_MSDOS" = "x0" ; then
51620 COND_PLATFORM_MSDOS_0=""
51621 fi
51622
51623 COND_PLATFORM_MSDOS_1="#"
51624 if test "x$PLATFORM_MSDOS" = "x1" ; then
51625 COND_PLATFORM_MSDOS_1=""
51626 fi
51627
51628 COND_PLATFORM_OS2_1="#"
51629 if test "x$PLATFORM_OS2" = "x1" ; then
51630 COND_PLATFORM_OS2_1=""
51631 fi
51632
51633 COND_PLATFORM_UNIX_0="#"
51634 if test "x$PLATFORM_UNIX" = "x0" ; then
51635 COND_PLATFORM_UNIX_0=""
51636 fi
51637
51638 COND_PLATFORM_UNIX_1="#"
51639 if test "x$PLATFORM_UNIX" = "x1" ; then
51640 COND_PLATFORM_UNIX_1=""
51641 fi
51642
51643 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51644 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51645 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51646 fi
51647
51648 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51649 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51650 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51651 fi
51652
51653 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51654 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51655 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51656 fi
51657
51658 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51659 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51660 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51661 fi
51662
51663 COND_PLATFORM_WIN32_0="#"
51664 if test "x$PLATFORM_WIN32" = "x0" ; then
51665 COND_PLATFORM_WIN32_0=""
51666 fi
51667
51668 COND_PLATFORM_WIN32_1="#"
51669 if test "x$PLATFORM_WIN32" = "x1" ; then
51670 COND_PLATFORM_WIN32_1=""
51671 fi
51672
51673 COND_SHARED_0="#"
51674 if test "x$SHARED" = "x0" ; then
51675 COND_SHARED_0=""
51676 fi
51677
51678 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51679 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51680 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51681 fi
51682
51683 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51684 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51685 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51686 fi
51687
51688 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51689 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51690 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51691 fi
51692
51693 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51694 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51695 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51696 fi
51697
51698 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51699 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51700 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51701 fi
51702
51703 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51704 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51705 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51706 fi
51707
51708 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51709 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51710 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51711 fi
51712
51713 COND_SHARED_0_USE_STC_1="#"
51714 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51715 COND_SHARED_0_USE_STC_1=""
51716 fi
51717
51718 COND_SHARED_0_USE_XRC_1="#"
51719 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51720 COND_SHARED_0_USE_XRC_1=""
51721 fi
51722
51723 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51724 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51725 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51726 fi
51727
51728 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51729 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51730 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51731 fi
51732
51733 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51734 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51735 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51736 fi
51737
51738 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51739 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51740 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51741 fi
51742
51743 COND_SHARED_1="#"
51744 if test "x$SHARED" = "x1" ; then
51745 COND_SHARED_1=""
51746 fi
51747
51748 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51749 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51750 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51751 fi
51752
51753 COND_SHARED_1_USE_XRC_1="#"
51754 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51755 COND_SHARED_1_USE_XRC_1=""
51756 fi
51757
51758 COND_TOOLKIT_="#"
51759 if test "x$TOOLKIT" = "x" ; then
51760 COND_TOOLKIT_=""
51761 fi
51762
51763 COND_TOOLKIT_COCOA="#"
51764 if test "x$TOOLKIT" = "xCOCOA" ; then
51765 COND_TOOLKIT_COCOA=""
51766 fi
51767
51768 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51769 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51770 COND_TOOLKIT_COCOA_USE_GUI_1=""
51771 fi
51772
51773 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51774 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51775 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51776 fi
51777
51778 COND_TOOLKIT_DFB="#"
51779 if test "x$TOOLKIT" = "xDFB" ; then
51780 COND_TOOLKIT_DFB=""
51781 fi
51782
51783 COND_TOOLKIT_DFB_USE_GUI_1="#"
51784 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51785 COND_TOOLKIT_DFB_USE_GUI_1=""
51786 fi
51787
51788 COND_TOOLKIT_GTK="#"
51789 if test "x$TOOLKIT" = "xGTK" ; then
51790 COND_TOOLKIT_GTK=""
51791 fi
51792
51793 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51794 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51796 fi
51797
51798 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51799 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51801 fi
51802
51803 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51804 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51805 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51806 fi
51807
51808 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51809 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51810 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51811 fi
51812
51813 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51814 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51815 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51816 fi
51817
51818 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51819 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51820 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51821 fi
51822
51823 COND_TOOLKIT_GTK_USE_GUI_1="#"
51824 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51825 COND_TOOLKIT_GTK_USE_GUI_1=""
51826 fi
51827
51828 COND_TOOLKIT_MAC="#"
51829 if test "x$TOOLKIT" = "xMAC" ; then
51830 COND_TOOLKIT_MAC=""
51831 fi
51832
51833 COND_TOOLKIT_MAC_USE_GUI_1="#"
51834 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51835 COND_TOOLKIT_MAC_USE_GUI_1=""
51836 fi
51837
51838 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51839 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51840 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51841 fi
51842
51843 COND_TOOLKIT_MGL="#"
51844 if test "x$TOOLKIT" = "xMGL" ; then
51845 COND_TOOLKIT_MGL=""
51846 fi
51847
51848 COND_TOOLKIT_MGL_USE_GUI_1="#"
51849 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51850 COND_TOOLKIT_MGL_USE_GUI_1=""
51851 fi
51852
51853 COND_TOOLKIT_MOTIF="#"
51854 if test "x$TOOLKIT" = "xMOTIF" ; then
51855 COND_TOOLKIT_MOTIF=""
51856 fi
51857
51858 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51859 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51860 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51861 fi
51862
51863 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51864 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51865 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51866 fi
51867
51868 COND_TOOLKIT_MSW="#"
51869 if test "x$TOOLKIT" = "xMSW" ; then
51870 COND_TOOLKIT_MSW=""
51871 fi
51872
51873 COND_TOOLKIT_MSW_USE_GUI_1="#"
51874 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51875 COND_TOOLKIT_MSW_USE_GUI_1=""
51876 fi
51877
51878 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51879 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51880 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51881 fi
51882
51883 COND_TOOLKIT_MSW_WXUNIV_0="#"
51884 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51885 COND_TOOLKIT_MSW_WXUNIV_0=""
51886 fi
51887
51888 COND_TOOLKIT_PM="#"
51889 if test "x$TOOLKIT" = "xPM" ; then
51890 COND_TOOLKIT_PM=""
51891 fi
51892
51893 COND_TOOLKIT_PM_USE_GUI_1="#"
51894 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51895 COND_TOOLKIT_PM_USE_GUI_1=""
51896 fi
51897
51898 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51899 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51900 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51901 fi
51902
51903 COND_TOOLKIT_WINCE="#"
51904 if test "x$TOOLKIT" = "xWINCE" ; then
51905 COND_TOOLKIT_WINCE=""
51906 fi
51907
51908 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51909 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51910 COND_TOOLKIT_WINCE_USE_GUI_1=""
51911 fi
51912
51913 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51914 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51915 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51916 fi
51917
51918 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51919 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51920 COND_TOOLKIT_WINCE_WXUNIV_0=""
51921 fi
51922
51923 COND_TOOLKIT_X11="#"
51924 if test "x$TOOLKIT" = "xX11" ; then
51925 COND_TOOLKIT_X11=""
51926 fi
51927
51928 COND_TOOLKIT_X11_USE_GUI_1="#"
51929 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51930 COND_TOOLKIT_X11_USE_GUI_1=""
51931 fi
51932
51933 COND_UNICODE_1="#"
51934 if test "x$UNICODE" = "x1" ; then
51935 COND_UNICODE_1=""
51936 fi
51937
51938 COND_USE_EXCEPTIONS_0="#"
51939 if test "x$USE_EXCEPTIONS" = "x0" ; then
51940 COND_USE_EXCEPTIONS_0=""
51941 fi
51942
51943 COND_USE_EXCEPTIONS_1="#"
51944 if test "x$USE_EXCEPTIONS" = "x1" ; then
51945 COND_USE_EXCEPTIONS_1=""
51946 fi
51947
51948 COND_USE_GUI_0="#"
51949 if test "x$USE_GUI" = "x0" ; then
51950 COND_USE_GUI_0=""
51951 fi
51952
51953 COND_USE_GUI_1="#"
51954 if test "x$USE_GUI" = "x1" ; then
51955 COND_USE_GUI_1=""
51956 fi
51957
51958 COND_USE_GUI_1_USE_OPENGL_1="#"
51959 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51960 COND_USE_GUI_1_USE_OPENGL_1=""
51961 fi
51962
51963 COND_USE_GUI_1_WXUNIV_0="#"
51964 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51965 COND_USE_GUI_1_WXUNIV_0=""
51966 fi
51967
51968 COND_USE_GUI_1_WXUNIV_1="#"
51969 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51970 COND_USE_GUI_1_WXUNIV_1=""
51971 fi
51972
51973 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51974 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51975 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51976 fi
51977
51978 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51979 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51980 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51981 fi
51982
51983 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51984 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51985 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51986 fi
51987
51988 COND_USE_ODBC_1="#"
51989 if test "x$USE_ODBC" = "x1" ; then
51990 COND_USE_ODBC_1=""
51991 fi
51992
51993 COND_USE_OPENGL_1="#"
51994 if test "x$USE_OPENGL" = "x1" ; then
51995 COND_USE_OPENGL_1=""
51996 fi
51997
51998 COND_USE_PCH_1="#"
51999 if test "x$USE_PCH" = "x1" ; then
52000 COND_USE_PCH_1=""
52001 fi
52002
52003 COND_USE_PLUGINS_0="#"
52004 if test "x$USE_PLUGINS" = "x0" ; then
52005 COND_USE_PLUGINS_0=""
52006 fi
52007
52008 COND_USE_RTTI_0="#"
52009 if test "x$USE_RTTI" = "x0" ; then
52010 COND_USE_RTTI_0=""
52011 fi
52012
52013 COND_USE_RTTI_1="#"
52014 if test "x$USE_RTTI" = "x1" ; then
52015 COND_USE_RTTI_1=""
52016 fi
52017
52018 COND_USE_SOSYMLINKS_1="#"
52019 if test "x$USE_SOSYMLINKS" = "x1" ; then
52020 COND_USE_SOSYMLINKS_1=""
52021 fi
52022
52023 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52024 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52025 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52026 fi
52027
52028 COND_USE_SOVERLINUX_1="#"
52029 if test "x$USE_SOVERLINUX" = "x1" ; then
52030 COND_USE_SOVERLINUX_1=""
52031 fi
52032
52033 COND_USE_SOVERSION_0="#"
52034 if test "x$USE_SOVERSION" = "x0" ; then
52035 COND_USE_SOVERSION_0=""
52036 fi
52037
52038 COND_USE_SOVERSOLARIS_1="#"
52039 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52040 COND_USE_SOVERSOLARIS_1=""
52041 fi
52042
52043 COND_USE_STC_1="#"
52044 if test "x$USE_STC" = "x1" ; then
52045 COND_USE_STC_1=""
52046 fi
52047
52048 COND_USE_THREADS_0="#"
52049 if test "x$USE_THREADS" = "x0" ; then
52050 COND_USE_THREADS_0=""
52051 fi
52052
52053 COND_USE_THREADS_1="#"
52054 if test "x$USE_THREADS" = "x1" ; then
52055 COND_USE_THREADS_1=""
52056 fi
52057
52058 COND_USE_XRC_1="#"
52059 if test "x$USE_XRC" = "x1" ; then
52060 COND_USE_XRC_1=""
52061 fi
52062
52063 COND_WINDOWS_IMPLIB_1="#"
52064 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52065 COND_WINDOWS_IMPLIB_1=""
52066 fi
52067
52068 COND_WITH_PLUGIN_SDL_1="#"
52069 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52070 COND_WITH_PLUGIN_SDL_1=""
52071 fi
52072
52073 COND_WXUNIV_0="#"
52074 if test "x$WXUNIV" = "x0" ; then
52075 COND_WXUNIV_0=""
52076 fi
52077
52078 COND_WXUNIV_1="#"
52079 if test "x$WXUNIV" = "x1" ; then
52080 COND_WXUNIV_1=""
52081 fi
52082
52083 COND_WXUSE_EXPAT_BUILTIN="#"
52084 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52085 COND_WXUSE_EXPAT_BUILTIN=""
52086 fi
52087
52088 COND_WXUSE_LIBJPEG_BUILTIN="#"
52089 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52090 COND_WXUSE_LIBJPEG_BUILTIN=""
52091 fi
52092
52093 COND_WXUSE_LIBPNG_BUILTIN="#"
52094 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52095 COND_WXUSE_LIBPNG_BUILTIN=""
52096 fi
52097
52098 COND_WXUSE_LIBTIFF_BUILTIN="#"
52099 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52100 COND_WXUSE_LIBTIFF_BUILTIN=""
52101 fi
52102
52103 COND_WXUSE_ODBC_BUILTIN="#"
52104 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52105 COND_WXUSE_ODBC_BUILTIN=""
52106 fi
52107
52108 COND_WXUSE_REGEX_BUILTIN="#"
52109 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52110 COND_WXUSE_REGEX_BUILTIN=""
52111 fi
52112
52113 COND_WXUSE_ZLIB_BUILTIN="#"
52114 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52115 COND_WXUSE_ZLIB_BUILTIN=""
52116 fi
52117
52118
52119
52120 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52121 { { 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
52122 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;}
52123 { (exit 1); exit 1; }; }
52124 fi
52125
52126 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52127 { { 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
52128 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;}
52129 { (exit 1); exit 1; }; }
52130 fi
52131
52132
52133 if test $GCC_PCH = 1
52134 then
52135 if test "$wx_cv_gcc_pch_bug" = yes; then
52136 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52137 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52138 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52139 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52140 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52141 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52142 fi
52143
52144 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52145 fi
52146
52147
52148 if test "$wxUSE_MAC" = 1 ; then
52149 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52150 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52151 mv temp bk-deps
52152 chmod +x bk-deps
52153 fi
52154 fi
52155
52156 if test "$wxUSE_SHARED" = "yes"; then
52157
52158 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52159 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52160
52161 case "${host}" in
52162 *-pc-os2_emx | *-pc-os2-emx )
52163 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52164 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52165 cp -p ${srcdir}/src/os2/dllnames.sh .
52166 cp -p ${srcdir}/src/os2/dllar.sh .
52167 ;;
52168 esac
52169 else
52170
52171 EXE_LINKER="$CXX -o"
52172
52173 fi
52174 if test "$wxUSE_OMF" = "yes"; then
52175 case "${host}" in
52176 *-pc-os2_emx | *-pc-os2-emx )
52177 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52178 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52179 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52180 ;;
52181 esac
52182 fi
52183
52184 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52185
52186
52187 case "${host}" in
52188 *-*-solaris2* )
52189 if "$GCC" = yes; then
52190 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52191 LIBS=`echo $LIBS | sed 's/-mt//'`
52192 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52193 fi
52194 ;;
52195
52196 *-*-linux* )
52197 if test "x$SUNCXX" = xyes; then
52198 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52199 LIBS=`echo $LIBS | sed 's/-pthread//'`
52200 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52201 fi
52202 ;;
52203 esac
52204
52205 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52206 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52207
52208 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52209
52210
52211
52212
52213
52214
52215
52216
52217
52218
52219
52220
52221
52222
52223
52224
52225
52226
52227
52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
52238
52239
52240
52241
52242
52243
52244
52245
52246
52247
52248
52249
52250
52251
52252
52253
52254
52255
52256
52257
52258
52259
52260
52261
52262
52263
52264
52265
52266
52267
52268
52269
52270 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52271 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52272 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52273 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52274 echo $ECHO_N "(cached) $ECHO_C" >&6
52275 else
52276 cat >conftest.make <<\_ACEOF
52277 SHELL = /bin/sh
52278 all:
52279 @echo '@@@%%%=$(MAKE)=@@@%%%'
52280 _ACEOF
52281 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52282 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52283 *@@@%%%=?*=@@@%%%*)
52284 eval ac_cv_prog_make_${ac_make}_set=yes;;
52285 *)
52286 eval ac_cv_prog_make_${ac_make}_set=no;;
52287 esac
52288 rm -f conftest.make
52289 fi
52290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52291 { echo "$as_me:$LINENO: result: yes" >&5
52292 echo "${ECHO_T}yes" >&6; }
52293 SET_MAKE=
52294 else
52295 { echo "$as_me:$LINENO: result: no" >&5
52296 echo "${ECHO_T}no" >&6; }
52297 SET_MAKE="MAKE=${MAKE-make}"
52298 fi
52299
52300
52301
52302 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52303
52304
52305 if test "$USE_WIN32" = 1; then
52306 ac_config_commands="$ac_config_commands
52307 rcdefs.h
52308 "
52309
52310 fi
52311
52312 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52313
52314
52315 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52316
52317
52318 if test "$wx_cv_version_script" = "yes"; then
52319 ac_config_files="$ac_config_files version-script"
52320
52321 fi
52322 ac_config_files="$ac_config_files Makefile"
52323
52324
52325 ac_config_commands="$ac_config_commands wx-config"
52326
52327
52328
52329 if test "$wxWITH_SUBDIRS" != "no"; then
52330 if test "$wxUSE_GUI" = "yes"; then
52331 SUBDIRS="samples demos utils"
52332 else SUBDIRS="samples utils"
52333 fi
52334
52335
52336
52337 # Check whether --with-cppunit-prefix was given.
52338 if test "${with_cppunit_prefix+set}" = set; then
52339 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52340 else
52341 cppunit_config_prefix=""
52342 fi
52343
52344
52345 # Check whether --with-cppunit-exec-prefix was given.
52346 if test "${with_cppunit_exec_prefix+set}" = set; then
52347 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52348 else
52349 cppunit_config_exec_prefix=""
52350 fi
52351
52352
52353 if test x$cppunit_config_exec_prefix != x ; then
52354 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52355 if test x${CPPUNIT_CONFIG+set} != xset ; then
52356 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52357 fi
52358 fi
52359 if test x$cppunit_config_prefix != x ; then
52360 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52361 if test x${CPPUNIT_CONFIG+set} != xset ; then
52362 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52363 fi
52364 fi
52365
52366 # Extract the first word of "cppunit-config", so it can be a program name with args.
52367 set dummy cppunit-config; ac_word=$2
52368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52370 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52371 echo $ECHO_N "(cached) $ECHO_C" >&6
52372 else
52373 case $CPPUNIT_CONFIG in
52374 [\\/]* | ?:[\\/]*)
52375 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52376 ;;
52377 *)
52378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52379 for as_dir in $PATH
52380 do
52381 IFS=$as_save_IFS
52382 test -z "$as_dir" && as_dir=.
52383 for ac_exec_ext in '' $ac_executable_extensions; do
52384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52385 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52387 break 2
52388 fi
52389 done
52390 done
52391 IFS=$as_save_IFS
52392
52393 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52394 ;;
52395 esac
52396 fi
52397 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52398 if test -n "$CPPUNIT_CONFIG"; then
52399 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52400 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52401 else
52402 { echo "$as_me:$LINENO: result: no" >&5
52403 echo "${ECHO_T}no" >&6; }
52404 fi
52405
52406
52407 cppunit_version_min=1.8.0
52408
52409 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52410 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52411 no_cppunit=""
52412 if test "$CPPUNIT_CONFIG" = "no" ; then
52413 { echo "$as_me:$LINENO: result: no" >&5
52414 echo "${ECHO_T}no" >&6; }
52415 no_cppunit=yes
52416 else
52417 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52418 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52419 cppunit_version=`$CPPUNIT_CONFIG --version`
52420
52421 cppunit_major_version=`echo $cppunit_version | \
52422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52423 cppunit_minor_version=`echo $cppunit_version | \
52424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52425 cppunit_micro_version=`echo $cppunit_version | \
52426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52427
52428 cppunit_major_min=`echo $cppunit_version_min | \
52429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52430 cppunit_minor_min=`echo $cppunit_version_min | \
52431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52432 cppunit_micro_min=`echo $cppunit_version_min | \
52433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52434
52435 cppunit_version_proper=`expr \
52436 $cppunit_major_version \> $cppunit_major_min \| \
52437 $cppunit_major_version \= $cppunit_major_min \& \
52438 $cppunit_minor_version \> $cppunit_minor_min \| \
52439 $cppunit_major_version \= $cppunit_major_min \& \
52440 $cppunit_minor_version \= $cppunit_minor_min \& \
52441 $cppunit_micro_version \>= $cppunit_micro_min `
52442
52443 if test "$cppunit_version_proper" = "1" ; then
52444 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52445 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52446 else
52447 { echo "$as_me:$LINENO: result: no" >&5
52448 echo "${ECHO_T}no" >&6; }
52449 no_cppunit=yes
52450 fi
52451 fi
52452
52453 if test "x$no_cppunit" = x ; then
52454 SUBDIRS="$SUBDIRS tests"
52455 else
52456 CPPUNIT_CFLAGS=""
52457 CPPUNIT_LIBS=""
52458 :
52459 fi
52460
52461
52462
52463
52464
52465 for subdir in `echo $SUBDIRS`; do
52466 if test -d ${srcdir}/${subdir} ; then
52467 if test "$wxUSE_GUI" = "yes"; then
52468 if test ${subdir} = "samples"; then
52469 makefiles="samples/Makefile.in $makefiles"
52470 for sample in `echo $SAMPLES_SUBDIRS`; do
52471 if test -d $srcdir/samples/$sample; then
52472 makefiles="samples/$sample/Makefile.in $makefiles"
52473 fi
52474 done
52475 else
52476 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52477 eval "disabled=\$$disabled_var"
52478 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52479 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52480 fi
52481 else if test ${subdir} = "samples"; then
52482 makefiles="samples/Makefile.in samples/console/Makefile.in"
52483 elif test ${subdir} = "utils"; then
52484 makefiles=""
52485 for util in HelpGen tex2rtf ; do
52486 if test -d $srcdir/utils/$util ; then
52487 makefiles="utils/$util/Makefile.in \
52488 utils/$util/src/Makefile.in \
52489 $makefiles"
52490 fi
52491 done
52492 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52493 fi
52494 fi
52495
52496 for mkin in $makefiles ; do
52497 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52498 ac_config_files="$ac_config_files $mk"
52499
52500 done
52501 fi
52502 done
52503 fi
52504 cat >confcache <<\_ACEOF
52505 # This file is a shell script that caches the results of configure
52506 # tests run on this system so they can be shared between configure
52507 # scripts and configure runs, see configure's option --config-cache.
52508 # It is not useful on other systems. If it contains results you don't
52509 # want to keep, you may remove or edit it.
52510 #
52511 # config.status only pays attention to the cache file if you give it
52512 # the --recheck option to rerun configure.
52513 #
52514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52516 # following values.
52517
52518 _ACEOF
52519
52520 # The following way of writing the cache mishandles newlines in values,
52521 # but we know of no workaround that is simple, portable, and efficient.
52522 # So, we kill variables containing newlines.
52523 # Ultrix sh set writes to stderr and can't be redirected directly,
52524 # and sets the high bit in the cache file unless we assign to the vars.
52525 (
52526 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52527 eval ac_val=\$$ac_var
52528 case $ac_val in #(
52529 *${as_nl}*)
52530 case $ac_var in #(
52531 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52532 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52533 esac
52534 case $ac_var in #(
52535 _ | IFS | as_nl) ;; #(
52536 *) $as_unset $ac_var ;;
52537 esac ;;
52538 esac
52539 done
52540
52541 (set) 2>&1 |
52542 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52543 *${as_nl}ac_space=\ *)
52544 # `set' does not quote correctly, so add quotes (double-quote
52545 # substitution turns \\\\ into \\, and sed turns \\ into \).
52546 sed -n \
52547 "s/'/'\\\\''/g;
52548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52549 ;; #(
52550 *)
52551 # `set' quotes correctly as required by POSIX, so do not add quotes.
52552 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52553 ;;
52554 esac |
52555 sort
52556 ) |
52557 sed '
52558 /^ac_cv_env_/b end
52559 t clear
52560 :clear
52561 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52562 t end
52563 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52564 :end' >>confcache
52565 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52566 if test -w "$cache_file"; then
52567 test "x$cache_file" != "x/dev/null" &&
52568 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52569 echo "$as_me: updating cache $cache_file" >&6;}
52570 cat confcache >$cache_file
52571 else
52572 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52573 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52574 fi
52575 fi
52576 rm -f confcache
52577
52578 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52579 # Let make expand exec_prefix.
52580 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52581
52582 DEFS=-DHAVE_CONFIG_H
52583
52584 ac_libobjs=
52585 ac_ltlibobjs=
52586 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52587 # 1. Remove the extension, and $U if already installed.
52588 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52589 ac_i=`echo "$ac_i" | sed "$ac_script"`
52590 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52591 # will be set to the directory where LIBOBJS objects are built.
52592 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52593 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52594 done
52595 LIBOBJS=$ac_libobjs
52596
52597 LTLIBOBJS=$ac_ltlibobjs
52598
52599
52600
52601 : ${CONFIG_STATUS=./config.status}
52602 ac_clean_files_save=$ac_clean_files
52603 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52604 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52605 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52606 cat >$CONFIG_STATUS <<_ACEOF
52607 #! $SHELL
52608 # Generated by $as_me.
52609 # Run this file to recreate the current configuration.
52610 # Compiler output produced by configure, useful for debugging
52611 # configure, is in config.log if it exists.
52612
52613 debug=false
52614 ac_cs_recheck=false
52615 ac_cs_silent=false
52616 SHELL=\${CONFIG_SHELL-$SHELL}
52617 _ACEOF
52618
52619 cat >>$CONFIG_STATUS <<\_ACEOF
52620 ## --------------------- ##
52621 ## M4sh Initialization. ##
52622 ## --------------------- ##
52623
52624 # Be more Bourne compatible
52625 DUALCASE=1; export DUALCASE # for MKS sh
52626 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52627 emulate sh
52628 NULLCMD=:
52629 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52630 # is contrary to our usage. Disable this feature.
52631 alias -g '${1+"$@"}'='"$@"'
52632 setopt NO_GLOB_SUBST
52633 else
52634 case `(set -o) 2>/dev/null` in
52635 *posix*) set -o posix ;;
52636 esac
52637
52638 fi
52639
52640
52641
52642
52643 # PATH needs CR
52644 # Avoid depending upon Character Ranges.
52645 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52646 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52647 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52648 as_cr_digits='0123456789'
52649 as_cr_alnum=$as_cr_Letters$as_cr_digits
52650
52651 # The user is always right.
52652 if test "${PATH_SEPARATOR+set}" != set; then
52653 echo "#! /bin/sh" >conf$$.sh
52654 echo "exit 0" >>conf$$.sh
52655 chmod +x conf$$.sh
52656 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52657 PATH_SEPARATOR=';'
52658 else
52659 PATH_SEPARATOR=:
52660 fi
52661 rm -f conf$$.sh
52662 fi
52663
52664 # Support unset when possible.
52665 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52666 as_unset=unset
52667 else
52668 as_unset=false
52669 fi
52670
52671
52672 # IFS
52673 # We need space, tab and new line, in precisely that order. Quoting is
52674 # there to prevent editors from complaining about space-tab.
52675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52676 # splitting by setting IFS to empty value.)
52677 as_nl='
52678 '
52679 IFS=" "" $as_nl"
52680
52681 # Find who we are. Look in the path if we contain no directory separator.
52682 case $0 in
52683 *[\\/]* ) as_myself=$0 ;;
52684 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52685 for as_dir in $PATH
52686 do
52687 IFS=$as_save_IFS
52688 test -z "$as_dir" && as_dir=.
52689 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52690 done
52691 IFS=$as_save_IFS
52692
52693 ;;
52694 esac
52695 # We did not find ourselves, most probably we were run as `sh COMMAND'
52696 # in which case we are not to be found in the path.
52697 if test "x$as_myself" = x; then
52698 as_myself=$0
52699 fi
52700 if test ! -f "$as_myself"; then
52701 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52702 { (exit 1); exit 1; }
52703 fi
52704
52705 # Work around bugs in pre-3.0 UWIN ksh.
52706 for as_var in ENV MAIL MAILPATH
52707 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52708 done
52709 PS1='$ '
52710 PS2='> '
52711 PS4='+ '
52712
52713 # NLS nuisances.
52714 for as_var in \
52715 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52716 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52717 LC_TELEPHONE LC_TIME
52718 do
52719 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52720 eval $as_var=C; export $as_var
52721 else
52722 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52723 fi
52724 done
52725
52726 # Required to use basename.
52727 if expr a : '\(a\)' >/dev/null 2>&1 &&
52728 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52729 as_expr=expr
52730 else
52731 as_expr=false
52732 fi
52733
52734 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52735 as_basename=basename
52736 else
52737 as_basename=false
52738 fi
52739
52740
52741 # Name of the executable.
52742 as_me=`$as_basename -- "$0" ||
52743 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52744 X"$0" : 'X\(//\)$' \| \
52745 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52746 echo X/"$0" |
52747 sed '/^.*\/\([^/][^/]*\)\/*$/{
52748 s//\1/
52749 q
52750 }
52751 /^X\/\(\/\/\)$/{
52752 s//\1/
52753 q
52754 }
52755 /^X\/\(\/\).*/{
52756 s//\1/
52757 q
52758 }
52759 s/.*/./; q'`
52760
52761 # CDPATH.
52762 $as_unset CDPATH
52763
52764
52765
52766 as_lineno_1=$LINENO
52767 as_lineno_2=$LINENO
52768 test "x$as_lineno_1" != "x$as_lineno_2" &&
52769 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52770
52771 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52772 # uniformly replaced by the line number. The first 'sed' inserts a
52773 # line-number line after each line using $LINENO; the second 'sed'
52774 # does the real work. The second script uses 'N' to pair each
52775 # line-number line with the line containing $LINENO, and appends
52776 # trailing '-' during substitution so that $LINENO is not a special
52777 # case at line end.
52778 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52779 # scripts with optimization help from Paolo Bonzini. Blame Lee
52780 # E. McMahon (1931-1989) for sed's syntax. :-)
52781 sed -n '
52782 p
52783 /[$]LINENO/=
52784 ' <$as_myself |
52785 sed '
52786 s/[$]LINENO.*/&-/
52787 t lineno
52788 b
52789 :lineno
52790 N
52791 :loop
52792 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52793 t loop
52794 s/-\n.*//
52795 ' >$as_me.lineno &&
52796 chmod +x "$as_me.lineno" ||
52797 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52798 { (exit 1); exit 1; }; }
52799
52800 # Don't try to exec as it changes $[0], causing all sort of problems
52801 # (the dirname of $[0] is not the place where we might find the
52802 # original and so on. Autoconf is especially sensitive to this).
52803 . "./$as_me.lineno"
52804 # Exit status is that of the last command.
52805 exit
52806 }
52807
52808
52809 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52810 as_dirname=dirname
52811 else
52812 as_dirname=false
52813 fi
52814
52815 ECHO_C= ECHO_N= ECHO_T=
52816 case `echo -n x` in
52817 -n*)
52818 case `echo 'x\c'` in
52819 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52820 *) ECHO_C='\c';;
52821 esac;;
52822 *)
52823 ECHO_N='-n';;
52824 esac
52825
52826 if expr a : '\(a\)' >/dev/null 2>&1 &&
52827 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52828 as_expr=expr
52829 else
52830 as_expr=false
52831 fi
52832
52833 rm -f conf$$ conf$$.exe conf$$.file
52834 if test -d conf$$.dir; then
52835 rm -f conf$$.dir/conf$$.file
52836 else
52837 rm -f conf$$.dir
52838 mkdir conf$$.dir
52839 fi
52840 echo >conf$$.file
52841 if ln -s conf$$.file conf$$ 2>/dev/null; then
52842 as_ln_s='ln -s'
52843 # ... but there are two gotchas:
52844 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52845 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52846 # In both cases, we have to default to `cp -p'.
52847 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52848 as_ln_s='cp -p'
52849 elif ln conf$$.file conf$$ 2>/dev/null; then
52850 as_ln_s=ln
52851 else
52852 as_ln_s='cp -p'
52853 fi
52854 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52855 rmdir conf$$.dir 2>/dev/null
52856
52857 if mkdir -p . 2>/dev/null; then
52858 as_mkdir_p=:
52859 else
52860 test -d ./-p && rmdir ./-p
52861 as_mkdir_p=false
52862 fi
52863
52864 if test -x / >/dev/null 2>&1; then
52865 as_test_x='test -x'
52866 else
52867 if ls -dL / >/dev/null 2>&1; then
52868 as_ls_L_option=L
52869 else
52870 as_ls_L_option=
52871 fi
52872 as_test_x='
52873 eval sh -c '\''
52874 if test -d "$1"; then
52875 test -d "$1/.";
52876 else
52877 case $1 in
52878 -*)set "./$1";;
52879 esac;
52880 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52881 ???[sx]*):;;*)false;;esac;fi
52882 '\'' sh
52883 '
52884 fi
52885 as_executable_p=$as_test_x
52886
52887 # Sed expression to map a string onto a valid CPP name.
52888 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52889
52890 # Sed expression to map a string onto a valid variable name.
52891 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52892
52893
52894 exec 6>&1
52895
52896 # Save the log message, to keep $[0] and so on meaningful, and to
52897 # report actual input values of CONFIG_FILES etc. instead of their
52898 # values after options handling.
52899 ac_log="
52900 This file was extended by wxWidgets $as_me 2.9.0, which was
52901 generated by GNU Autoconf 2.61. Invocation command line was
52902
52903 CONFIG_FILES = $CONFIG_FILES
52904 CONFIG_HEADERS = $CONFIG_HEADERS
52905 CONFIG_LINKS = $CONFIG_LINKS
52906 CONFIG_COMMANDS = $CONFIG_COMMANDS
52907 $ $0 $@
52908
52909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52910 "
52911
52912 _ACEOF
52913
52914 cat >>$CONFIG_STATUS <<_ACEOF
52915 # Files that config.status was made for.
52916 config_files="$ac_config_files"
52917 config_headers="$ac_config_headers"
52918 config_commands="$ac_config_commands"
52919
52920 _ACEOF
52921
52922 cat >>$CONFIG_STATUS <<\_ACEOF
52923 ac_cs_usage="\
52924 \`$as_me' instantiates files from templates according to the
52925 current configuration.
52926
52927 Usage: $0 [OPTIONS] [FILE]...
52928
52929 -h, --help print this help, then exit
52930 -V, --version print version number and configuration settings, then exit
52931 -q, --quiet do not print progress messages
52932 -d, --debug don't remove temporary files
52933 --recheck update $as_me by reconfiguring in the same conditions
52934 --file=FILE[:TEMPLATE]
52935 instantiate the configuration file FILE
52936 --header=FILE[:TEMPLATE]
52937 instantiate the configuration header FILE
52938
52939 Configuration files:
52940 $config_files
52941
52942 Configuration headers:
52943 $config_headers
52944
52945 Configuration commands:
52946 $config_commands
52947
52948 Report bugs to <bug-autoconf@gnu.org>."
52949
52950 _ACEOF
52951 cat >>$CONFIG_STATUS <<_ACEOF
52952 ac_cs_version="\\
52953 wxWidgets config.status 2.9.0
52954 configured by $0, generated by GNU Autoconf 2.61,
52955 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52956
52957 Copyright (C) 2006 Free Software Foundation, Inc.
52958 This config.status script is free software; the Free Software Foundation
52959 gives unlimited permission to copy, distribute and modify it."
52960
52961 ac_pwd='$ac_pwd'
52962 srcdir='$srcdir'
52963 INSTALL='$INSTALL'
52964 _ACEOF
52965
52966 cat >>$CONFIG_STATUS <<\_ACEOF
52967 # If no file are specified by the user, then we need to provide default
52968 # value. By we need to know if files were specified by the user.
52969 ac_need_defaults=:
52970 while test $# != 0
52971 do
52972 case $1 in
52973 --*=*)
52974 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52975 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52976 ac_shift=:
52977 ;;
52978 *)
52979 ac_option=$1
52980 ac_optarg=$2
52981 ac_shift=shift
52982 ;;
52983 esac
52984
52985 case $ac_option in
52986 # Handling of the options.
52987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52988 ac_cs_recheck=: ;;
52989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52990 echo "$ac_cs_version"; exit ;;
52991 --debug | --debu | --deb | --de | --d | -d )
52992 debug=: ;;
52993 --file | --fil | --fi | --f )
52994 $ac_shift
52995 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52996 ac_need_defaults=false;;
52997 --header | --heade | --head | --hea )
52998 $ac_shift
52999 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53000 ac_need_defaults=false;;
53001 --he | --h)
53002 # Conflict between --help and --header
53003 { echo "$as_me: error: ambiguous option: $1
53004 Try \`$0 --help' for more information." >&2
53005 { (exit 1); exit 1; }; };;
53006 --help | --hel | -h )
53007 echo "$ac_cs_usage"; exit ;;
53008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53009 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53010 ac_cs_silent=: ;;
53011
53012 # This is an error.
53013 -*) { echo "$as_me: error: unrecognized option: $1
53014 Try \`$0 --help' for more information." >&2
53015 { (exit 1); exit 1; }; } ;;
53016
53017 *) ac_config_targets="$ac_config_targets $1"
53018 ac_need_defaults=false ;;
53019
53020 esac
53021 shift
53022 done
53023
53024 ac_configure_extra_args=
53025
53026 if $ac_cs_silent; then
53027 exec 6>/dev/null
53028 ac_configure_extra_args="$ac_configure_extra_args --silent"
53029 fi
53030
53031 _ACEOF
53032 cat >>$CONFIG_STATUS <<_ACEOF
53033 if \$ac_cs_recheck; then
53034 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53035 CONFIG_SHELL=$SHELL
53036 export CONFIG_SHELL
53037 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53038 fi
53039
53040 _ACEOF
53041 cat >>$CONFIG_STATUS <<\_ACEOF
53042 exec 5>>config.log
53043 {
53044 echo
53045 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53046 ## Running $as_me. ##
53047 _ASBOX
53048 echo "$ac_log"
53049 } >&5
53050
53051 _ACEOF
53052 cat >>$CONFIG_STATUS <<_ACEOF
53053 #
53054 # INIT-COMMANDS
53055 #
53056
53057 CPP="$CPP"
53058 infile="$srcdir/include/wx/msw/genrcdefs.h"
53059 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53060
53061
53062 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53063 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53064 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53065 LN_S="${LN_S}"
53066
53067
53068 _ACEOF
53069
53070 cat >>$CONFIG_STATUS <<\_ACEOF
53071
53072 # Handling of arguments.
53073 for ac_config_target in $ac_config_targets
53074 do
53075 case $ac_config_target in
53076 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53077 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53078 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53079 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53080 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53081 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53082 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53083 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53084
53085 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53086 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53087 { (exit 1); exit 1; }; };;
53088 esac
53089 done
53090
53091
53092 # If the user did not use the arguments to specify the items to instantiate,
53093 # then the envvar interface is used. Set only those that are not.
53094 # We use the long form for the default assignment because of an extremely
53095 # bizarre bug on SunOS 4.1.3.
53096 if $ac_need_defaults; then
53097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53100 fi
53101
53102 # Have a temporary directory for convenience. Make it in the build tree
53103 # simply because there is no reason against having it here, and in addition,
53104 # creating and moving files from /tmp can sometimes cause problems.
53105 # Hook for its removal unless debugging.
53106 # Note that there is a small window in which the directory will not be cleaned:
53107 # after its creation but before its name has been assigned to `$tmp'.
53108 $debug ||
53109 {
53110 tmp=
53111 trap 'exit_status=$?
53112 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53113 ' 0
53114 trap '{ (exit 1); exit 1; }' 1 2 13 15
53115 }
53116 # Create a (secure) tmp directory for tmp files.
53117
53118 {
53119 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53120 test -n "$tmp" && test -d "$tmp"
53121 } ||
53122 {
53123 tmp=./conf$$-$RANDOM
53124 (umask 077 && mkdir "$tmp")
53125 } ||
53126 {
53127 echo "$me: cannot create a temporary directory in ." >&2
53128 { (exit 1); exit 1; }
53129 }
53130
53131 #
53132 # Set up the sed scripts for CONFIG_FILES section.
53133 #
53134
53135 # No need to generate the scripts if there are no CONFIG_FILES.
53136 # This happens for instance when ./config.status config.h
53137 if test -n "$CONFIG_FILES"; then
53138
53139 _ACEOF
53140
53141
53142
53143 ac_delim='%!_!# '
53144 for ac_last_try in false false false false false :; do
53145 cat >conf$$subs.sed <<_ACEOF
53146 SHELL!$SHELL$ac_delim
53147 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53148 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53149 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53150 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53151 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53152 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53153 exec_prefix!$exec_prefix$ac_delim
53154 prefix!$prefix$ac_delim
53155 program_transform_name!$program_transform_name$ac_delim
53156 bindir!$bindir$ac_delim
53157 sbindir!$sbindir$ac_delim
53158 libexecdir!$libexecdir$ac_delim
53159 datarootdir!$datarootdir$ac_delim
53160 datadir!$datadir$ac_delim
53161 sysconfdir!$sysconfdir$ac_delim
53162 sharedstatedir!$sharedstatedir$ac_delim
53163 localstatedir!$localstatedir$ac_delim
53164 includedir!$includedir$ac_delim
53165 oldincludedir!$oldincludedir$ac_delim
53166 docdir!$docdir$ac_delim
53167 infodir!$infodir$ac_delim
53168 htmldir!$htmldir$ac_delim
53169 dvidir!$dvidir$ac_delim
53170 pdfdir!$pdfdir$ac_delim
53171 psdir!$psdir$ac_delim
53172 libdir!$libdir$ac_delim
53173 localedir!$localedir$ac_delim
53174 mandir!$mandir$ac_delim
53175 DEFS!$DEFS$ac_delim
53176 ECHO_C!$ECHO_C$ac_delim
53177 ECHO_N!$ECHO_N$ac_delim
53178 ECHO_T!$ECHO_T$ac_delim
53179 LIBS!$LIBS$ac_delim
53180 build_alias!$build_alias$ac_delim
53181 host_alias!$host_alias$ac_delim
53182 target_alias!$target_alias$ac_delim
53183 build!$build$ac_delim
53184 build_cpu!$build_cpu$ac_delim
53185 build_vendor!$build_vendor$ac_delim
53186 build_os!$build_os$ac_delim
53187 host!$host$ac_delim
53188 host_cpu!$host_cpu$ac_delim
53189 host_vendor!$host_vendor$ac_delim
53190 host_os!$host_os$ac_delim
53191 target!$target$ac_delim
53192 target_cpu!$target_cpu$ac_delim
53193 target_vendor!$target_vendor$ac_delim
53194 target_os!$target_os$ac_delim
53195 wx_top_builddir!$wx_top_builddir$ac_delim
53196 CC!$CC$ac_delim
53197 CFLAGS!$CFLAGS$ac_delim
53198 LDFLAGS!$LDFLAGS$ac_delim
53199 CPPFLAGS!$CPPFLAGS$ac_delim
53200 ac_ct_CC!$ac_ct_CC$ac_delim
53201 EXEEXT!$EXEEXT$ac_delim
53202 OBJEXT!$OBJEXT$ac_delim
53203 CPP!$CPP$ac_delim
53204 GREP!$GREP$ac_delim
53205 EGREP!$EGREP$ac_delim
53206 CXX!$CXX$ac_delim
53207 CXXFLAGS!$CXXFLAGS$ac_delim
53208 ac_ct_CXX!$ac_ct_CXX$ac_delim
53209 RANLIB!$RANLIB$ac_delim
53210 AR!$AR$ac_delim
53211 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53212 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53213 INSTALL_DATA!$INSTALL_DATA$ac_delim
53214 STRIP!$STRIP$ac_delim
53215 WINDRES!$WINDRES$ac_delim
53216 DLLTOOL!$DLLTOOL$ac_delim
53217 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53218 LN_S!$LN_S$ac_delim
53219 subdirs!$subdirs$ac_delim
53220 PKG_CONFIG!$PKG_CONFIG$ac_delim
53221 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53222 GTK_LIBS!$GTK_LIBS$ac_delim
53223 GTK_CONFIG!$GTK_CONFIG$ac_delim
53224 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53225 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53226 XMKMF!$XMKMF$ac_delim
53227 X_CFLAGS!$X_CFLAGS$ac_delim
53228 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53229 X_LIBS!$X_LIBS$ac_delim
53230 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53231 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53232 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53233 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53234 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53235 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53236 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53237 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53238 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53239 REZ!$REZ$ac_delim
53240 DEREZ!$DEREZ$ac_delim
53241 SETFILE!$SETFILE$ac_delim
53242 LIBICONV!$LIBICONV$ac_delim
53243 _ACEOF
53244
53245 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53246 break
53247 elif $ac_last_try; then
53248 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53249 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53250 { (exit 1); exit 1; }; }
53251 else
53252 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53253 fi
53254 done
53255
53256 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53257 if test -n "$ac_eof"; then
53258 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53259 ac_eof=`expr $ac_eof + 1`
53260 fi
53261
53262 cat >>$CONFIG_STATUS <<_ACEOF
53263 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53264 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53265 _ACEOF
53266 sed '
53267 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53268 s/^/s,@/; s/!/@,|#_!!_#|/
53269 :n
53270 t n
53271 s/'"$ac_delim"'$/,g/; t
53272 s/$/\\/; p
53273 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53274 ' >>$CONFIG_STATUS <conf$$subs.sed
53275 rm -f conf$$subs.sed
53276 cat >>$CONFIG_STATUS <<_ACEOF
53277 CEOF$ac_eof
53278 _ACEOF
53279
53280
53281 ac_delim='%!_!# '
53282 for ac_last_try in false false false false false :; do
53283 cat >conf$$subs.sed <<_ACEOF
53284 SDL_CONFIG!$SDL_CONFIG$ac_delim
53285 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53286 SDL_LIBS!$SDL_LIBS$ac_delim
53287 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53288 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53289 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53290 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53291 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53292 HILDON_LIBS!$HILDON_LIBS$ac_delim
53293 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53294 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53295 GST_CFLAGS!$GST_CFLAGS$ac_delim
53296 GST_LIBS!$GST_LIBS$ac_delim
53297 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53298 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53299 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53300 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53301 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53302 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53303 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53304 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53305 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53306 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53307 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53308 VENDOR!$VENDOR$ac_delim
53309 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53310 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53311 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53312 WXUNIV!$WXUNIV$ac_delim
53313 MONOLITHIC!$MONOLITHIC$ac_delim
53314 USE_PLUGINS!$USE_PLUGINS$ac_delim
53315 CXXWARNINGS!$CXXWARNINGS$ac_delim
53316 EXTRALIBS!$EXTRALIBS$ac_delim
53317 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53318 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53319 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53320 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53321 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53322 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53323 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53324 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53325 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53326 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53327 UNICODE!$UNICODE$ac_delim
53328 BUILD!$BUILD$ac_delim
53329 DEBUG_INFO!$DEBUG_INFO$ac_delim
53330 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53331 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53332 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53333 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53334 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53335 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53336 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53337 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53338 SET_MAKE!$SET_MAKE$ac_delim
53339 MAKE_SET!$MAKE_SET$ac_delim
53340 AROPTIONS!$AROPTIONS$ac_delim
53341 NM!$NM$ac_delim
53342 INSTALL_DIR!$INSTALL_DIR$ac_delim
53343 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53344 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53345 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53346 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53347 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53348 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53349 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53350 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53351 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53352 SO_SUFFIX!$SO_SUFFIX$ac_delim
53353 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53354 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53355 LIBPREFIX!$LIBPREFIX$ac_delim
53356 LIBEXT!$LIBEXT$ac_delim
53357 DLLPREFIX!$DLLPREFIX$ac_delim
53358 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53359 dlldir!$dlldir$ac_delim
53360 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53361 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53362 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53363 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53364 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53365 PIC_FLAG!$PIC_FLAG$ac_delim
53366 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53367 USE_SOVERSION!$USE_SOVERSION$ac_delim
53368 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53369 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53370 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53371 USE_MACVERSION!$USE_MACVERSION$ac_delim
53372 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53373 SONAME_FLAG!$SONAME_FLAG$ac_delim
53374 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53375 BK_DEPS!$BK_DEPS$ac_delim
53376 GCC_PCH!$GCC_PCH$ac_delim
53377 ICC_PCH!$ICC_PCH$ac_delim
53378 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53379 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53380 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53381 _ACEOF
53382
53383 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53384 break
53385 elif $ac_last_try; then
53386 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53387 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53388 { (exit 1); exit 1; }; }
53389 else
53390 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53391 fi
53392 done
53393
53394 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53395 if test -n "$ac_eof"; then
53396 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53397 ac_eof=`expr $ac_eof + 1`
53398 fi
53399
53400 cat >>$CONFIG_STATUS <<_ACEOF
53401 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53403 _ACEOF
53404 sed '
53405 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53406 s/^/s,@/; s/!/@,|#_!!_#|/
53407 :n
53408 t n
53409 s/'"$ac_delim"'$/,g/; t
53410 s/$/\\/; p
53411 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53412 ' >>$CONFIG_STATUS <conf$$subs.sed
53413 rm -f conf$$subs.sed
53414 cat >>$CONFIG_STATUS <<_ACEOF
53415 CEOF$ac_eof
53416 _ACEOF
53417
53418
53419 ac_delim='%!_!# '
53420 for ac_last_try in false false false false false :; do
53421 cat >conf$$subs.sed <<_ACEOF
53422 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53423 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53424 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53425 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53426 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53427 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53428 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53429 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53430 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53431 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53432 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53433 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53434 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53435 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53436 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53437 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53438 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53439 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53440 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53441 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53442 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53444 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53445 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53446 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53447 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53448 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53449 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53450 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53451 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53452 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53453 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53455 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53456 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53457 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53458 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53459 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53460 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53461 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53462 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53463 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53464 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53465 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53466 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53467 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53468 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53469 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53470 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53471 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53472 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53473 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53474 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53475 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53476 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53477 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53478 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53479 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53480 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53481 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53482 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53483 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53484 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53485 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53486 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53487 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53488 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53489 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53490 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53491 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53492 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53493 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53494 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53495 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53496 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53497 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53498 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53499 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53500 COND_SHARED_0!$COND_SHARED_0$ac_delim
53501 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53502 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53503 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53504 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53505 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53506 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53507 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53508 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53509 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53510 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53511 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53512 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53513 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53514 COND_SHARED_1!$COND_SHARED_1$ac_delim
53515 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53516 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53517 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53518 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53519 _ACEOF
53520
53521 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53522 break
53523 elif $ac_last_try; then
53524 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53525 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53526 { (exit 1); exit 1; }; }
53527 else
53528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53529 fi
53530 done
53531
53532 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53533 if test -n "$ac_eof"; then
53534 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53535 ac_eof=`expr $ac_eof + 1`
53536 fi
53537
53538 cat >>$CONFIG_STATUS <<_ACEOF
53539 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53540 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53541 _ACEOF
53542 sed '
53543 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53544 s/^/s,@/; s/!/@,|#_!!_#|/
53545 :n
53546 t n
53547 s/'"$ac_delim"'$/,g/; t
53548 s/$/\\/; p
53549 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53550 ' >>$CONFIG_STATUS <conf$$subs.sed
53551 rm -f conf$$subs.sed
53552 cat >>$CONFIG_STATUS <<_ACEOF
53553 CEOF$ac_eof
53554 _ACEOF
53555
53556
53557 ac_delim='%!_!# '
53558 for ac_last_try in false false false false false :; do
53559 cat >conf$$subs.sed <<_ACEOF
53560 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53561 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53562 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53563 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53564 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53565 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53566 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53567 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53568 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53569 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53570 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53571 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53572 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53573 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53574 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53575 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53576 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53577 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53578 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53579 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53580 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53581 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53582 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53583 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53584 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53585 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53586 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53587 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53588 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53589 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53590 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53591 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53592 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53593 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53594 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53595 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53596 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53597 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53598 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53599 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53600 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53601 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53602 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53603 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53604 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53605 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53606 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53607 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53608 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53609 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53610 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53611 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53612 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53613 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53614 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53615 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53616 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53617 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53618 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53619 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53620 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53621 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53622 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53623 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53624 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53625 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53626 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53627 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53628 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53629 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53630 SHARED!$SHARED$ac_delim
53631 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53632 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53633 USE_GUI!$USE_GUI$ac_delim
53634 AFMINSTALL!$AFMINSTALL$ac_delim
53635 WIN32INSTALL!$WIN32INSTALL$ac_delim
53636 TOOLKIT!$TOOLKIT$ac_delim
53637 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53638 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53639 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53640 cross_compiling!$cross_compiling$ac_delim
53641 WIDGET_SET!$WIDGET_SET$ac_delim
53642 WX_RELEASE!$WX_RELEASE$ac_delim
53643 WX_VERSION!$WX_VERSION$ac_delim
53644 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53645 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53646 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53647 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53648 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53649 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53650 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53651 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53652 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53653 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53654 EXE_LINKER!$EXE_LINKER$ac_delim
53655 GUIDIST!$GUIDIST$ac_delim
53656 DISTDIR!$DISTDIR$ac_delim
53657 _ACEOF
53658
53659 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53660 break
53661 elif $ac_last_try; then
53662 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53663 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53664 { (exit 1); exit 1; }; }
53665 else
53666 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53667 fi
53668 done
53669
53670 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53671 if test -n "$ac_eof"; then
53672 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53673 ac_eof=`expr $ac_eof + 1`
53674 fi
53675
53676 cat >>$CONFIG_STATUS <<_ACEOF
53677 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53679 _ACEOF
53680 sed '
53681 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53682 s/^/s,@/; s/!/@,|#_!!_#|/
53683 :n
53684 t n
53685 s/'"$ac_delim"'$/,g/; t
53686 s/$/\\/; p
53687 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53688 ' >>$CONFIG_STATUS <conf$$subs.sed
53689 rm -f conf$$subs.sed
53690 cat >>$CONFIG_STATUS <<_ACEOF
53691 CEOF$ac_eof
53692 _ACEOF
53693
53694
53695 ac_delim='%!_!# '
53696 for ac_last_try in false false false false false :; do
53697 cat >conf$$subs.sed <<_ACEOF
53698 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53699 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53700 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53701 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53702 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53703 RESCOMP!$RESCOMP$ac_delim
53704 RESFLAGS!$RESFLAGS$ac_delim
53705 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53706 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53707 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53708 LIBWXMACRES!$LIBWXMACRES$ac_delim
53709 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53710 MACSETFILE!$MACSETFILE$ac_delim
53711 GCC!$GCC$ac_delim
53712 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53713 LIBOBJS!$LIBOBJS$ac_delim
53714 LTLIBOBJS!$LTLIBOBJS$ac_delim
53715 _ACEOF
53716
53717 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53718 break
53719 elif $ac_last_try; then
53720 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53721 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53722 { (exit 1); exit 1; }; }
53723 else
53724 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53725 fi
53726 done
53727
53728 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53729 if test -n "$ac_eof"; then
53730 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53731 ac_eof=`expr $ac_eof + 1`
53732 fi
53733
53734 cat >>$CONFIG_STATUS <<_ACEOF
53735 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53737 _ACEOF
53738 sed '
53739 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53740 s/^/s,@/; s/!/@,|#_!!_#|/
53741 :n
53742 t n
53743 s/'"$ac_delim"'$/,g/; t
53744 s/$/\\/; p
53745 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53746 ' >>$CONFIG_STATUS <conf$$subs.sed
53747 rm -f conf$$subs.sed
53748 cat >>$CONFIG_STATUS <<_ACEOF
53749 :end
53750 s/|#_!!_#|//g
53751 CEOF$ac_eof
53752 _ACEOF
53753
53754
53755 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53756 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53757 # trailing colons and then remove the whole line if VPATH becomes empty
53758 # (actually we leave an empty line to preserve line numbers).
53759 if test "x$srcdir" = x.; then
53760 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53761 s/:*\$(srcdir):*/:/
53762 s/:*\${srcdir}:*/:/
53763 s/:*@srcdir@:*/:/
53764 s/^\([^=]*=[ ]*\):*/\1/
53765 s/:*$//
53766 s/^[^=]*=[ ]*$//
53767 }'
53768 fi
53769
53770 cat >>$CONFIG_STATUS <<\_ACEOF
53771 fi # test -n "$CONFIG_FILES"
53772
53773
53774 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53775 do
53776 case $ac_tag in
53777 :[FHLC]) ac_mode=$ac_tag; continue;;
53778 esac
53779 case $ac_mode$ac_tag in
53780 :[FHL]*:*);;
53781 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53782 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53783 { (exit 1); exit 1; }; };;
53784 :[FH]-) ac_tag=-:-;;
53785 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53786 esac
53787 ac_save_IFS=$IFS
53788 IFS=:
53789 set x $ac_tag
53790 IFS=$ac_save_IFS
53791 shift
53792 ac_file=$1
53793 shift
53794
53795 case $ac_mode in
53796 :L) ac_source=$1;;
53797 :[FH])
53798 ac_file_inputs=
53799 for ac_f
53800 do
53801 case $ac_f in
53802 -) ac_f="$tmp/stdin";;
53803 *) # Look for the file first in the build tree, then in the source tree
53804 # (if the path is not absolute). The absolute path cannot be DOS-style,
53805 # because $ac_f cannot contain `:'.
53806 test -f "$ac_f" ||
53807 case $ac_f in
53808 [\\/$]*) false;;
53809 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53810 esac ||
53811 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53812 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53813 { (exit 1); exit 1; }; };;
53814 esac
53815 ac_file_inputs="$ac_file_inputs $ac_f"
53816 done
53817
53818 # Let's still pretend it is `configure' which instantiates (i.e., don't
53819 # use $as_me), people would be surprised to read:
53820 # /* config.h. Generated by config.status. */
53821 configure_input="Generated from "`IFS=:
53822 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53823 if test x"$ac_file" != x-; then
53824 configure_input="$ac_file. $configure_input"
53825 { echo "$as_me:$LINENO: creating $ac_file" >&5
53826 echo "$as_me: creating $ac_file" >&6;}
53827 fi
53828
53829 case $ac_tag in
53830 *:-:* | *:-) cat >"$tmp/stdin";;
53831 esac
53832 ;;
53833 esac
53834
53835 ac_dir=`$as_dirname -- "$ac_file" ||
53836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53837 X"$ac_file" : 'X\(//\)[^/]' \| \
53838 X"$ac_file" : 'X\(//\)$' \| \
53839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53840 echo X"$ac_file" |
53841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53842 s//\1/
53843 q
53844 }
53845 /^X\(\/\/\)[^/].*/{
53846 s//\1/
53847 q
53848 }
53849 /^X\(\/\/\)$/{
53850 s//\1/
53851 q
53852 }
53853 /^X\(\/\).*/{
53854 s//\1/
53855 q
53856 }
53857 s/.*/./; q'`
53858 { as_dir="$ac_dir"
53859 case $as_dir in #(
53860 -*) as_dir=./$as_dir;;
53861 esac
53862 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53863 as_dirs=
53864 while :; do
53865 case $as_dir in #(
53866 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53867 *) as_qdir=$as_dir;;
53868 esac
53869 as_dirs="'$as_qdir' $as_dirs"
53870 as_dir=`$as_dirname -- "$as_dir" ||
53871 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53872 X"$as_dir" : 'X\(//\)[^/]' \| \
53873 X"$as_dir" : 'X\(//\)$' \| \
53874 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53875 echo X"$as_dir" |
53876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53877 s//\1/
53878 q
53879 }
53880 /^X\(\/\/\)[^/].*/{
53881 s//\1/
53882 q
53883 }
53884 /^X\(\/\/\)$/{
53885 s//\1/
53886 q
53887 }
53888 /^X\(\/\).*/{
53889 s//\1/
53890 q
53891 }
53892 s/.*/./; q'`
53893 test -d "$as_dir" && break
53894 done
53895 test -z "$as_dirs" || eval "mkdir $as_dirs"
53896 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53897 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53898 { (exit 1); exit 1; }; }; }
53899 ac_builddir=.
53900
53901 case "$ac_dir" in
53902 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53903 *)
53904 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53905 # A ".." for each directory in $ac_dir_suffix.
53906 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53907 case $ac_top_builddir_sub in
53908 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53909 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53910 esac ;;
53911 esac
53912 ac_abs_top_builddir=$ac_pwd
53913 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53914 # for backward compatibility:
53915 ac_top_builddir=$ac_top_build_prefix
53916
53917 case $srcdir in
53918 .) # We are building in place.
53919 ac_srcdir=.
53920 ac_top_srcdir=$ac_top_builddir_sub
53921 ac_abs_top_srcdir=$ac_pwd ;;
53922 [\\/]* | ?:[\\/]* ) # Absolute name.
53923 ac_srcdir=$srcdir$ac_dir_suffix;
53924 ac_top_srcdir=$srcdir
53925 ac_abs_top_srcdir=$srcdir ;;
53926 *) # Relative name.
53927 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53928 ac_top_srcdir=$ac_top_build_prefix$srcdir
53929 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53930 esac
53931 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53932
53933
53934 case $ac_mode in
53935 :F)
53936 #
53937 # CONFIG_FILE
53938 #
53939
53940 case $INSTALL in
53941 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53942 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53943 esac
53944 _ACEOF
53945
53946 cat >>$CONFIG_STATUS <<\_ACEOF
53947 # If the template does not know about datarootdir, expand it.
53948 # FIXME: This hack should be removed a few years after 2.60.
53949 ac_datarootdir_hack=; ac_datarootdir_seen=
53950
53951 case `sed -n '/datarootdir/ {
53952 p
53953 q
53954 }
53955 /@datadir@/p
53956 /@docdir@/p
53957 /@infodir@/p
53958 /@localedir@/p
53959 /@mandir@/p
53960 ' $ac_file_inputs` in
53961 *datarootdir*) ac_datarootdir_seen=yes;;
53962 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53963 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53964 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53965 _ACEOF
53966 cat >>$CONFIG_STATUS <<_ACEOF
53967 ac_datarootdir_hack='
53968 s&@datadir@&$datadir&g
53969 s&@docdir@&$docdir&g
53970 s&@infodir@&$infodir&g
53971 s&@localedir@&$localedir&g
53972 s&@mandir@&$mandir&g
53973 s&\\\${datarootdir}&$datarootdir&g' ;;
53974 esac
53975 _ACEOF
53976
53977 # Neutralize VPATH when `$srcdir' = `.'.
53978 # Shell code in configure.ac might set extrasub.
53979 # FIXME: do we really want to maintain this feature?
53980 cat >>$CONFIG_STATUS <<_ACEOF
53981 sed "$ac_vpsub
53982 $extrasub
53983 _ACEOF
53984 cat >>$CONFIG_STATUS <<\_ACEOF
53985 :t
53986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53987 s&@configure_input@&$configure_input&;t t
53988 s&@top_builddir@&$ac_top_builddir_sub&;t t
53989 s&@srcdir@&$ac_srcdir&;t t
53990 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53991 s&@top_srcdir@&$ac_top_srcdir&;t t
53992 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53993 s&@builddir@&$ac_builddir&;t t
53994 s&@abs_builddir@&$ac_abs_builddir&;t t
53995 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53996 s&@INSTALL@&$ac_INSTALL&;t t
53997 $ac_datarootdir_hack
53998 " $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
53999
54000 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54001 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54002 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54003 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54004 which seems to be undefined. Please make sure it is defined." >&5
54005 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54006 which seems to be undefined. Please make sure it is defined." >&2;}
54007
54008 rm -f "$tmp/stdin"
54009 case $ac_file in
54010 -) cat "$tmp/out"; rm -f "$tmp/out";;
54011 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54012 esac
54013 ;;
54014 :H)
54015 #
54016 # CONFIG_HEADER
54017 #
54018 _ACEOF
54019
54020 # Transform confdefs.h into a sed script `conftest.defines', that
54021 # substitutes the proper values into config.h.in to produce config.h.
54022 rm -f conftest.defines conftest.tail
54023 # First, append a space to every undef/define line, to ease matching.
54024 echo 's/$/ /' >conftest.defines
54025 # Then, protect against being on the right side of a sed subst, or in
54026 # an unquoted here document, in config.status. If some macros were
54027 # called several times there might be several #defines for the same
54028 # symbol, which is useless. But do not sort them, since the last
54029 # AC_DEFINE must be honored.
54030 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54031 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54032 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54033 # PARAMS is the parameter list in the macro definition--in most cases, it's
54034 # just an empty string.
54035 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54036 ac_dB='\\)[ (].*,\\1define\\2'
54037 ac_dC=' '
54038 ac_dD=' ,'
54039
54040 uniq confdefs.h |
54041 sed -n '
54042 t rset
54043 :rset
54044 s/^[ ]*#[ ]*define[ ][ ]*//
54045 t ok
54046 d
54047 :ok
54048 s/[\\&,]/\\&/g
54049 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54050 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54051 ' >>conftest.defines
54052
54053 # Remove the space that was appended to ease matching.
54054 # Then replace #undef with comments. This is necessary, for
54055 # example, in the case of _POSIX_SOURCE, which is predefined and required
54056 # on some systems where configure will not decide to define it.
54057 # (The regexp can be short, since the line contains either #define or #undef.)
54058 echo 's/ $//
54059 s,^[ #]*u.*,/* & */,' >>conftest.defines
54060
54061 # Break up conftest.defines:
54062 ac_max_sed_lines=50
54063
54064 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54065 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54066 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54067 # et cetera.
54068 ac_in='$ac_file_inputs'
54069 ac_out='"$tmp/out1"'
54070 ac_nxt='"$tmp/out2"'
54071
54072 while :
54073 do
54074 # Write a here document:
54075 cat >>$CONFIG_STATUS <<_ACEOF
54076 # First, check the format of the line:
54077 cat >"\$tmp/defines.sed" <<\\CEOF
54078 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54079 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54080 b
54081 :def
54082 _ACEOF
54083 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54084 echo 'CEOF
54085 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54086 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54087 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54088 grep . conftest.tail >/dev/null || break
54089 rm -f conftest.defines
54090 mv conftest.tail conftest.defines
54091 done
54092 rm -f conftest.defines conftest.tail
54093
54094 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54095 cat >>$CONFIG_STATUS <<\_ACEOF
54096 if test x"$ac_file" != x-; then
54097 echo "/* $configure_input */" >"$tmp/config.h"
54098 cat "$ac_result" >>"$tmp/config.h"
54099 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54100 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54101 echo "$as_me: $ac_file is unchanged" >&6;}
54102 else
54103 rm -f $ac_file
54104 mv "$tmp/config.h" $ac_file
54105 fi
54106 else
54107 echo "/* $configure_input */"
54108 cat "$ac_result"
54109 fi
54110 rm -f "$tmp/out12"
54111 ;;
54112
54113 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54114 echo "$as_me: executing $ac_file commands" >&6;}
54115 ;;
54116 esac
54117
54118
54119 case $ac_file$ac_mode in
54120 "rcdefs.h":C)
54121 mkdir -p $outdir &&
54122 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54123 ;;
54124 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54125 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54126 "wx-config":C) rm -f wx-config
54127 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54128 ;;
54129
54130 esac
54131 done # for ac_tag
54132
54133
54134 { (exit 0); exit 0; }
54135 _ACEOF
54136 chmod +x $CONFIG_STATUS
54137 ac_clean_files=$ac_clean_files_save
54138
54139
54140 # configure is writing to config.log, and then calls config.status.
54141 # config.status does its own redirection, appending to config.log.
54142 # Unfortunately, on DOS this fails, as config.log is still kept open
54143 # by configure, so config.status won't be able to write to it; its
54144 # output is simply discarded. So we exec the FD to /dev/null,
54145 # effectively closing config.log, so it can be properly (re)opened and
54146 # appended to by config.status. When coming back to configure, we
54147 # need to make the FD available again.
54148 if test "$no_create" != yes; then
54149 ac_cs_success=:
54150 ac_config_status_args=
54151 test "$silent" = yes &&
54152 ac_config_status_args="$ac_config_status_args --quiet"
54153 exec 5>/dev/null
54154 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54155 exec 5>>config.log
54156 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54157 # would make configure fail if this is the last instruction.
54158 $ac_cs_success || { (exit 1); exit 1; }
54159 fi
54160
54161 #
54162 # CONFIG_SUBDIRS section.
54163 #
54164 if test "$no_recursion" != yes; then
54165
54166 # Remove --cache-file and --srcdir arguments so they do not pile up.
54167 ac_sub_configure_args=
54168 ac_prev=
54169 eval "set x $ac_configure_args"
54170 shift
54171 for ac_arg
54172 do
54173 if test -n "$ac_prev"; then
54174 ac_prev=
54175 continue
54176 fi
54177 case $ac_arg in
54178 -cache-file | --cache-file | --cache-fil | --cache-fi \
54179 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54180 ac_prev=cache_file ;;
54181 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54182 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54183 | --c=*)
54184 ;;
54185 --config-cache | -C)
54186 ;;
54187 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54188 ac_prev=srcdir ;;
54189 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54190 ;;
54191 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54192 ac_prev=prefix ;;
54193 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54194 ;;
54195 *)
54196 case $ac_arg in
54197 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54198 esac
54199 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54200 esac
54201 done
54202
54203 # Always prepend --prefix to ensure using the same prefix
54204 # in subdir configurations.
54205 ac_arg="--prefix=$prefix"
54206 case $ac_arg in
54207 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54208 esac
54209 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54210
54211 # Pass --silent
54212 if test "$silent" = yes; then
54213 ac_sub_configure_args="--silent $ac_sub_configure_args"
54214 fi
54215
54216 ac_popdir=`pwd`
54217 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54218
54219 # Do not complain, so a configure script can configure whichever
54220 # parts of a large source tree are present.
54221 test -d "$srcdir/$ac_dir" || continue
54222
54223 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54224 echo "$as_me:$LINENO: $ac_msg" >&5
54225 echo "$ac_msg" >&6
54226 { as_dir="$ac_dir"
54227 case $as_dir in #(
54228 -*) as_dir=./$as_dir;;
54229 esac
54230 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54231 as_dirs=
54232 while :; do
54233 case $as_dir in #(
54234 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54235 *) as_qdir=$as_dir;;
54236 esac
54237 as_dirs="'$as_qdir' $as_dirs"
54238 as_dir=`$as_dirname -- "$as_dir" ||
54239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54240 X"$as_dir" : 'X\(//\)[^/]' \| \
54241 X"$as_dir" : 'X\(//\)$' \| \
54242 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54243 echo X"$as_dir" |
54244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54245 s//\1/
54246 q
54247 }
54248 /^X\(\/\/\)[^/].*/{
54249 s//\1/
54250 q
54251 }
54252 /^X\(\/\/\)$/{
54253 s//\1/
54254 q
54255 }
54256 /^X\(\/\).*/{
54257 s//\1/
54258 q
54259 }
54260 s/.*/./; q'`
54261 test -d "$as_dir" && break
54262 done
54263 test -z "$as_dirs" || eval "mkdir $as_dirs"
54264 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54265 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54266 { (exit 1); exit 1; }; }; }
54267 ac_builddir=.
54268
54269 case "$ac_dir" in
54270 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54271 *)
54272 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54273 # A ".." for each directory in $ac_dir_suffix.
54274 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54275 case $ac_top_builddir_sub in
54276 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54277 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54278 esac ;;
54279 esac
54280 ac_abs_top_builddir=$ac_pwd
54281 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54282 # for backward compatibility:
54283 ac_top_builddir=$ac_top_build_prefix
54284
54285 case $srcdir in
54286 .) # We are building in place.
54287 ac_srcdir=.
54288 ac_top_srcdir=$ac_top_builddir_sub
54289 ac_abs_top_srcdir=$ac_pwd ;;
54290 [\\/]* | ?:[\\/]* ) # Absolute name.
54291 ac_srcdir=$srcdir$ac_dir_suffix;
54292 ac_top_srcdir=$srcdir
54293 ac_abs_top_srcdir=$srcdir ;;
54294 *) # Relative name.
54295 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54296 ac_top_srcdir=$ac_top_build_prefix$srcdir
54297 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54298 esac
54299 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54300
54301
54302 cd "$ac_dir"
54303
54304 # Check for guested configure; otherwise get Cygnus style configure.
54305 if test -f "$ac_srcdir/configure.gnu"; then
54306 ac_sub_configure=$ac_srcdir/configure.gnu
54307 elif test -f "$ac_srcdir/configure"; then
54308 ac_sub_configure=$ac_srcdir/configure
54309 elif test -f "$ac_srcdir/configure.in"; then
54310 # This should be Cygnus configure.
54311 ac_sub_configure=$ac_aux_dir/configure
54312 else
54313 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54314 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54315 ac_sub_configure=
54316 fi
54317
54318 # The recursion is here.
54319 if test -n "$ac_sub_configure"; then
54320 # Make the cache file name correct relative to the subdirectory.
54321 case $cache_file in
54322 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54323 *) # Relative name.
54324 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54325 esac
54326
54327 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54328 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54329 # The eval makes quoting arguments work.
54330 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54331 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54332 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54333 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54334 { (exit 1); exit 1; }; }
54335 fi
54336
54337 cd "$ac_popdir"
54338 done
54339 fi
54340
54341
54342 echo
54343 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54344 echo ""
54345 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54346 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54347
54348 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54349 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54350 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54351 if test "$wxUSE_UNICODE" = "yes"; then
54352 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54353 echo " (using UTF-8)"
54354 else
54355 echo " (using wchar_t)"
54356 fi
54357 else
54358 echo
54359 fi
54360
54361 echo " What level of wxWidgets compatibility should be enabled?"
54362 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54363 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54364
54365 echo " Which libraries should wxWidgets use?"
54366 echo " jpeg ${wxUSE_LIBJPEG-none}"
54367 echo " png ${wxUSE_LIBPNG-none}"
54368 echo " regex ${wxUSE_REGEX}"
54369 echo " tiff ${wxUSE_LIBTIFF-none}"
54370 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54371 echo " xpm ${wxUSE_LIBXPM-none}"
54372 fi
54373 echo " zlib ${wxUSE_ZLIB}"
54374 echo " odbc ${wxUSE_ODBC}"
54375 echo " expat ${wxUSE_EXPAT}"
54376 echo " libmspack ${wxUSE_LIBMSPACK}"
54377 echo " sdl ${wxUSE_LIBSDL}"
54378
54379 echo ""
54380