]> git.saurik.com Git - wxWidgets.git/blob - configure
wxCreateDIB() seems to be unused, removed
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47349 2007-07-11 23:31:24Z 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 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=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=disable
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 <stdio.h>
25555 int
25556 main ()
25557 {
25558 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
25559 ;
25560 return 0;
25561 }
25562 _ACEOF
25563 rm -f conftest.$ac_objext conftest$ac_exeext
25564 if { (ac_try="$ac_link"
25565 case "(($ac_try" in
25566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25567 *) ac_try_echo=$ac_try;;
25568 esac
25569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25570 (eval "$ac_link") 2>conftest.er1
25571 ac_status=$?
25572 grep -v '^ *+' conftest.er1 >conftest.err
25573 rm -f conftest.er1
25574 cat conftest.err >&5
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } && {
25577 test -z "$ac_c_werror_flag" ||
25578 test ! -s conftest.err
25579 } && test -s conftest$ac_exeext &&
25580 $as_test_x conftest$ac_exeext; then
25581 ac_cv_sys_largefile_source=no; break
25582 else
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.$ac_ext >&5
25585
25586
25587 fi
25588
25589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25590 conftest$ac_exeext conftest.$ac_ext
25591 cat >conftest.$ac_ext <<_ACEOF
25592 /* confdefs.h. */
25593 _ACEOF
25594 cat confdefs.h >>conftest.$ac_ext
25595 cat >>conftest.$ac_ext <<_ACEOF
25596 /* end confdefs.h. */
25597 #define _LARGEFILE_SOURCE 1
25598 #include <stdio.h>
25599 int
25600 main ()
25601 {
25602 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
25603 ;
25604 return 0;
25605 }
25606 _ACEOF
25607 rm -f conftest.$ac_objext conftest$ac_exeext
25608 if { (ac_try="$ac_link"
25609 case "(($ac_try" in
25610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25611 *) ac_try_echo=$ac_try;;
25612 esac
25613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25614 (eval "$ac_link") 2>conftest.er1
25615 ac_status=$?
25616 grep -v '^ *+' conftest.er1 >conftest.err
25617 rm -f conftest.er1
25618 cat conftest.err >&5
25619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620 (exit $ac_status); } && {
25621 test -z "$ac_c_werror_flag" ||
25622 test ! -s conftest.err
25623 } && test -s conftest$ac_exeext &&
25624 $as_test_x conftest$ac_exeext; then
25625 ac_cv_sys_largefile_source=1; break
25626 else
25627 echo "$as_me: failed program was:" >&5
25628 sed 's/^/| /' conftest.$ac_ext >&5
25629
25630
25631 fi
25632
25633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25634 conftest$ac_exeext conftest.$ac_ext
25635 ac_cv_sys_largefile_source=unknown
25636 break
25637 done
25638 fi
25639 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25640 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25641 case $ac_cv_sys_largefile_source in #(
25642 no | unknown) ;;
25643 *)
25644 cat >>confdefs.h <<_ACEOF
25645 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25646 _ACEOF
25647 ;;
25648 esac
25649 rm -f conftest*
25650
25651 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25652 # in glibc 2.1.3, but that breaks too many other things.
25653 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25654 if test $ac_cv_sys_largefile_source != unknown; then
25655
25656 cat >>confdefs.h <<\_ACEOF
25657 #define HAVE_FSEEKO 1
25658 _ACEOF
25659
25660 fi
25661
25662 if test "$ac_cv_sys_largefile_source" != no; then
25663 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25664 fi
25665 fi
25666
25667 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25668 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25669 if test "${ac_cv_c_bigendian+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 else
25672 ac_cv_c_bigendian=unknown
25673 # See if sys/param.h defines the BYTE_ORDER macro.
25674 cat >conftest.$ac_ext <<_ACEOF
25675 /* confdefs.h. */
25676 _ACEOF
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 #include <sys/types.h>
25681 #include <sys/param.h>
25682 int
25683 main ()
25684 {
25685
25686 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25687 bogus endian macros
25688 #endif
25689 ;
25690 return 0;
25691 }
25692 _ACEOF
25693 rm -f conftest.$ac_objext
25694 if { (ac_try="$ac_compile"
25695 case "(($ac_try" in
25696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25697 *) ac_try_echo=$ac_try;;
25698 esac
25699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25700 (eval "$ac_compile") 2>conftest.er1
25701 ac_status=$?
25702 grep -v '^ *+' conftest.er1 >conftest.err
25703 rm -f conftest.er1
25704 cat conftest.err >&5
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); } && {
25707 test -z "$ac_c_werror_flag" ||
25708 test ! -s conftest.err
25709 } && test -s conftest.$ac_objext; then
25710 # It does; now see whether it defined to BIG_ENDIAN or not.
25711 cat >conftest.$ac_ext <<_ACEOF
25712 /* confdefs.h. */
25713 _ACEOF
25714 cat confdefs.h >>conftest.$ac_ext
25715 cat >>conftest.$ac_ext <<_ACEOF
25716 /* end confdefs.h. */
25717 #include <sys/types.h>
25718 #include <sys/param.h>
25719 int
25720 main ()
25721 {
25722
25723 #if BYTE_ORDER != BIG_ENDIAN
25724 not big endian
25725 #endif
25726 ;
25727 return 0;
25728 }
25729 _ACEOF
25730 rm -f conftest.$ac_objext
25731 if { (ac_try="$ac_compile"
25732 case "(($ac_try" in
25733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25734 *) ac_try_echo=$ac_try;;
25735 esac
25736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25737 (eval "$ac_compile") 2>conftest.er1
25738 ac_status=$?
25739 grep -v '^ *+' conftest.er1 >conftest.err
25740 rm -f conftest.er1
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } && {
25744 test -z "$ac_c_werror_flag" ||
25745 test ! -s conftest.err
25746 } && test -s conftest.$ac_objext; then
25747 ac_cv_c_bigendian=yes
25748 else
25749 echo "$as_me: failed program was:" >&5
25750 sed 's/^/| /' conftest.$ac_ext >&5
25751
25752 ac_cv_c_bigendian=no
25753 fi
25754
25755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25756 else
25757 echo "$as_me: failed program was:" >&5
25758 sed 's/^/| /' conftest.$ac_ext >&5
25759
25760
25761 fi
25762
25763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25764 if test $ac_cv_c_bigendian = unknown; then
25765 if test "$cross_compiling" = yes; then
25766 ac_cv_c_bigendian=unknown
25767 else
25768 cat >conftest.$ac_ext <<_ACEOF
25769 /* confdefs.h. */
25770 _ACEOF
25771 cat confdefs.h >>conftest.$ac_ext
25772 cat >>conftest.$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25774 main () {
25775 /* Are we little or big endian? From Harbison&Steele. */
25776 union
25777 {
25778 long l;
25779 char c[sizeof (long)];
25780 } u;
25781 u.l = 1;
25782 exit (u.c[sizeof (long) - 1] == 1);
25783 }
25784 _ACEOF
25785 rm -f conftest$ac_exeext
25786 if { (ac_try="$ac_link"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25790 esac
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_link") 2>&5
25793 ac_status=$?
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25796 { (case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25799 esac
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_try") 2>&5
25802 ac_status=$?
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); }; }; then
25805 ac_cv_c_bigendian=no
25806 else
25807 echo "$as_me: program exited with status $ac_status" >&5
25808 echo "$as_me: failed program was:" >&5
25809 sed 's/^/| /' conftest.$ac_ext >&5
25810
25811 ( exit $ac_status )
25812 ac_cv_c_bigendian=yes
25813 fi
25814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25815 fi
25816
25817
25818 fi
25819 fi
25820 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25821 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25822 if test $ac_cv_c_bigendian = unknown; then
25823 { 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
25824 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;}
25825 fi
25826 if test $ac_cv_c_bigendian = yes; then
25827 cat >>confdefs.h <<\_ACEOF
25828 #define WORDS_BIGENDIAN 1
25829 _ACEOF
25830
25831 fi
25832
25833
25834
25835
25836 ac_ext=cpp
25837 ac_cpp='$CXXCPP $CPPFLAGS'
25838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25841
25842
25843 { echo "$as_me:$LINENO: checking for iostream" >&5
25844 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
25845 if test "${ac_cv_header_iostream+set}" = set; then
25846 echo $ECHO_N "(cached) $ECHO_C" >&6
25847 else
25848 cat >conftest.$ac_ext <<_ACEOF
25849 /* confdefs.h. */
25850 _ACEOF
25851 cat confdefs.h >>conftest.$ac_ext
25852 cat >>conftest.$ac_ext <<_ACEOF
25853 /* end confdefs.h. */
25854
25855
25856 #include <iostream>
25857 _ACEOF
25858 rm -f conftest.$ac_objext
25859 if { (ac_try="$ac_compile"
25860 case "(($ac_try" in
25861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25862 *) ac_try_echo=$ac_try;;
25863 esac
25864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25865 (eval "$ac_compile") 2>conftest.er1
25866 ac_status=$?
25867 grep -v '^ *+' conftest.er1 >conftest.err
25868 rm -f conftest.er1
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } && {
25872 test -z "$ac_cxx_werror_flag" ||
25873 test ! -s conftest.err
25874 } && test -s conftest.$ac_objext; then
25875 ac_cv_header_iostream=yes
25876 else
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.$ac_ext >&5
25879
25880 ac_cv_header_iostream=no
25881 fi
25882
25883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25884 fi
25885 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
25886 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
25887
25888
25889
25890 if test "$ac_cv_header_iostream" = "yes" ; then
25891 :
25892 else
25893 cat >>confdefs.h <<\_ACEOF
25894 #define wxUSE_IOSTREAMH 1
25895 _ACEOF
25896
25897 fi
25898
25899 ac_ext=c
25900 ac_cpp='$CPP $CPPFLAGS'
25901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25904
25905
25906
25907
25908 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25909 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25910 if test "${wx_cv_cpp_bool+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 else
25913
25914
25915 ac_ext=cpp
25916 ac_cpp='$CXXCPP $CPPFLAGS'
25917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25920
25921
25922 cat >conftest.$ac_ext <<_ACEOF
25923 /* confdefs.h. */
25924 _ACEOF
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928
25929
25930 int
25931 main ()
25932 {
25933
25934 bool b = true;
25935
25936 return 0;
25937
25938 ;
25939 return 0;
25940 }
25941 _ACEOF
25942 rm -f conftest.$ac_objext
25943 if { (ac_try="$ac_compile"
25944 case "(($ac_try" in
25945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25947 esac
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_compile") 2>conftest.er1
25950 ac_status=$?
25951 grep -v '^ *+' conftest.er1 >conftest.err
25952 rm -f conftest.er1
25953 cat conftest.err >&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } && {
25956 test -z "$ac_cxx_werror_flag" ||
25957 test ! -s conftest.err
25958 } && test -s conftest.$ac_objext; then
25959
25960 wx_cv_cpp_bool=yes
25961
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25965
25966
25967 wx_cv_cpp_bool=no
25968
25969
25970 fi
25971
25972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973
25974 ac_ext=c
25975 ac_cpp='$CPP $CPPFLAGS'
25976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25979
25980
25981 fi
25982 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25983 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25984
25985 if test "$wx_cv_cpp_bool" = "yes"; then
25986 cat >>confdefs.h <<\_ACEOF
25987 #define HAVE_BOOL 1
25988 _ACEOF
25989
25990 fi
25991
25992
25993
25994 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25995 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25996 if test "${wx_cv_explicit+set}" = set; then
25997 echo $ECHO_N "(cached) $ECHO_C" >&6
25998 else
25999
26000
26001 ac_ext=cpp
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26006
26007
26008 cat >conftest.$ac_ext <<_ACEOF
26009 /* confdefs.h. */
26010 _ACEOF
26011 cat confdefs.h >>conftest.$ac_ext
26012 cat >>conftest.$ac_ext <<_ACEOF
26013 /* end confdefs.h. */
26014
26015 class Foo { public: explicit Foo(int) {} };
26016
26017 int
26018 main ()
26019 {
26020
26021 return 0;
26022
26023 ;
26024 return 0;
26025 }
26026 _ACEOF
26027 rm -f conftest.$ac_objext
26028 if { (ac_try="$ac_compile"
26029 case "(($ac_try" in
26030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26031 *) ac_try_echo=$ac_try;;
26032 esac
26033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26034 (eval "$ac_compile") 2>conftest.er1
26035 ac_status=$?
26036 grep -v '^ *+' conftest.er1 >conftest.err
26037 rm -f conftest.er1
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } && {
26041 test -z "$ac_cxx_werror_flag" ||
26042 test ! -s conftest.err
26043 } && test -s conftest.$ac_objext; then
26044
26045 cat >conftest.$ac_ext <<_ACEOF
26046 /* confdefs.h. */
26047 _ACEOF
26048 cat confdefs.h >>conftest.$ac_ext
26049 cat >>conftest.$ac_ext <<_ACEOF
26050 /* end confdefs.h. */
26051
26052 class Foo { public: explicit Foo(int) {} };
26053 static void TakeFoo(const Foo& foo) { }
26054
26055 int
26056 main ()
26057 {
26058
26059 TakeFoo(17);
26060 return 0;
26061
26062 ;
26063 return 0;
26064 }
26065 _ACEOF
26066 rm -f conftest.$ac_objext
26067 if { (ac_try="$ac_compile"
26068 case "(($ac_try" in
26069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26070 *) ac_try_echo=$ac_try;;
26071 esac
26072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26073 (eval "$ac_compile") 2>conftest.er1
26074 ac_status=$?
26075 grep -v '^ *+' conftest.er1 >conftest.err
26076 rm -f conftest.er1
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } && {
26080 test -z "$ac_cxx_werror_flag" ||
26081 test ! -s conftest.err
26082 } && test -s conftest.$ac_objext; then
26083 wx_cv_explicit=no
26084 else
26085 echo "$as_me: failed program was:" >&5
26086 sed 's/^/| /' conftest.$ac_ext >&5
26087
26088 wx_cv_explicit=yes
26089
26090 fi
26091
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26097
26098 wx_cv_explicit=no
26099
26100 fi
26101
26102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26103
26104 ac_ext=c
26105 ac_cpp='$CPP $CPPFLAGS'
26106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26109
26110
26111 fi
26112 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26113 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26114
26115 if test "$wx_cv_explicit" = "yes"; then
26116 cat >>confdefs.h <<\_ACEOF
26117 #define HAVE_EXPLICIT 1
26118 _ACEOF
26119
26120 fi
26121
26122
26123 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26124 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26125 if test "${ac_cv_cxx_const_cast+set}" = set; then
26126 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 else
26128
26129 ac_ext=cpp
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26134
26135 cat >conftest.$ac_ext <<_ACEOF
26136 /* confdefs.h. */
26137 _ACEOF
26138 cat confdefs.h >>conftest.$ac_ext
26139 cat >>conftest.$ac_ext <<_ACEOF
26140 /* end confdefs.h. */
26141
26142 int
26143 main ()
26144 {
26145 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26146 ;
26147 return 0;
26148 }
26149 _ACEOF
26150 rm -f conftest.$ac_objext
26151 if { (ac_try="$ac_compile"
26152 case "(($ac_try" in
26153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26154 *) ac_try_echo=$ac_try;;
26155 esac
26156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26157 (eval "$ac_compile") 2>conftest.er1
26158 ac_status=$?
26159 grep -v '^ *+' conftest.er1 >conftest.err
26160 rm -f conftest.er1
26161 cat conftest.err >&5
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); } && {
26164 test -z "$ac_cxx_werror_flag" ||
26165 test ! -s conftest.err
26166 } && test -s conftest.$ac_objext; then
26167 ac_cv_cxx_const_cast=yes
26168 else
26169 echo "$as_me: failed program was:" >&5
26170 sed 's/^/| /' conftest.$ac_ext >&5
26171
26172 ac_cv_cxx_const_cast=no
26173 fi
26174
26175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26176 ac_ext=c
26177 ac_cpp='$CPP $CPPFLAGS'
26178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26181
26182
26183 fi
26184 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26185 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26186 if test "$ac_cv_cxx_const_cast" = yes; then
26187
26188 cat >>confdefs.h <<\_ACEOF
26189 #define HAVE_CONST_CAST
26190 _ACEOF
26191
26192 fi
26193
26194 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26195 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26196 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26197 echo $ECHO_N "(cached) $ECHO_C" >&6
26198 else
26199
26200 ac_ext=cpp
26201 ac_cpp='$CXXCPP $CPPFLAGS'
26202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26205
26206 cat >conftest.$ac_ext <<_ACEOF
26207 /* confdefs.h. */
26208 _ACEOF
26209 cat confdefs.h >>conftest.$ac_ext
26210 cat >>conftest.$ac_ext <<_ACEOF
26211 /* end confdefs.h. */
26212 #include <typeinfo>
26213 class Base { public : Base () {} virtual void f () = 0;};
26214 class Derived : public Base { public : Derived () {} virtual void f () {} };
26215 class Unrelated { public : Unrelated () {} };
26216 int g (Unrelated&) { return 0; }
26217 int
26218 main ()
26219 {
26220
26221 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26222 ;
26223 return 0;
26224 }
26225 _ACEOF
26226 rm -f conftest.$ac_objext
26227 if { (ac_try="$ac_compile"
26228 case "(($ac_try" in
26229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26230 *) ac_try_echo=$ac_try;;
26231 esac
26232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26233 (eval "$ac_compile") 2>conftest.er1
26234 ac_status=$?
26235 grep -v '^ *+' conftest.er1 >conftest.err
26236 rm -f conftest.er1
26237 cat conftest.err >&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); } && {
26240 test -z "$ac_cxx_werror_flag" ||
26241 test ! -s conftest.err
26242 } && test -s conftest.$ac_objext; then
26243 ac_cv_cxx_reinterpret_cast=yes
26244 else
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.$ac_ext >&5
26247
26248 ac_cv_cxx_reinterpret_cast=no
26249 fi
26250
26251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26252 ac_ext=c
26253 ac_cpp='$CPP $CPPFLAGS'
26254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26257
26258
26259 fi
26260 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26261 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26262 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26263
26264 cat >>confdefs.h <<\_ACEOF
26265 #define HAVE_REINTERPRET_CAST
26266 _ACEOF
26267
26268 fi
26269
26270 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26271 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26272 if test "${ac_cv_cxx_static_cast+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26275
26276 ac_ext=cpp
26277 ac_cpp='$CXXCPP $CPPFLAGS'
26278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26281
26282 cat >conftest.$ac_ext <<_ACEOF
26283 /* confdefs.h. */
26284 _ACEOF
26285 cat confdefs.h >>conftest.$ac_ext
26286 cat >>conftest.$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26288 #include <typeinfo>
26289 class Base { public : Base () {} virtual void f () = 0; };
26290 class Derived : public Base { public : Derived () {} virtual void f () {} };
26291 int g (Derived&) { return 0; }
26292 int
26293 main ()
26294 {
26295
26296 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26297 ;
26298 return 0;
26299 }
26300 _ACEOF
26301 rm -f conftest.$ac_objext
26302 if { (ac_try="$ac_compile"
26303 case "(($ac_try" in
26304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26305 *) ac_try_echo=$ac_try;;
26306 esac
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_compile") 2>conftest.er1
26309 ac_status=$?
26310 grep -v '^ *+' conftest.er1 >conftest.err
26311 rm -f conftest.er1
26312 cat conftest.err >&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } && {
26315 test -z "$ac_cxx_werror_flag" ||
26316 test ! -s conftest.err
26317 } && test -s conftest.$ac_objext; then
26318 ac_cv_cxx_static_cast=yes
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26322
26323 ac_cv_cxx_static_cast=no
26324 fi
26325
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327 ac_ext=c
26328 ac_cpp='$CPP $CPPFLAGS'
26329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26332
26333
26334 fi
26335 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26336 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26337 if test "$ac_cv_cxx_static_cast" = yes; then
26338
26339 cat >>confdefs.h <<\_ACEOF
26340 #define HAVE_STATIC_CAST
26341 _ACEOF
26342
26343 fi
26344
26345
26346 if test "x$SUNCXX" = xyes; then
26347 CXXFLAGS="-features=tmplife $CXXFLAGS"
26348 fi
26349
26350 if test "x$SUNCC" = xyes; then
26351 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26352 fi
26353
26354 if test "x$SGICC" = "xyes"; then
26355 CFLAGS="-woff 3970 $CFLAGS"
26356 fi
26357 if test "x$SGICXX" = "xyes"; then
26358 CXXFLAGS="-woff 3970 $CXXFLAGS"
26359 fi
26360
26361 if test "x$HPCC" = "xyes"; then
26362 CFLAGS="+W 2011,2450 $CFLAGS"
26363 fi
26364 if test "x$HPCXX" = "xyes"; then
26365 CXXFLAGS="+W 2340 $CXXFLAGS"
26366 fi
26367
26368 if test "x$COMPAQCXX" = "xyes"; then
26369 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26370 fi
26371
26372 ac_ext=cpp
26373 ac_cpp='$CXXCPP $CPPFLAGS'
26374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26377
26378
26379 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26380 if test "$wxUSE_UNICODE" = "yes"; then
26381 std_string="std::wstring"
26382 char_type="wchar_t"
26383 else
26384 std_string="std::string"
26385 char_type="char"
26386 fi
26387
26388 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26389 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26390 if test "${wx_cv_class_stdstring+set}" = set; then
26391 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 else
26393
26394 cat >conftest.$ac_ext <<_ACEOF
26395 /* confdefs.h. */
26396 _ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400 #include <string>
26401 int
26402 main ()
26403 {
26404 $std_string foo;
26405 ;
26406 return 0;
26407 }
26408 _ACEOF
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26414 esac
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26417 ac_status=$?
26418 grep -v '^ *+' conftest.er1 >conftest.err
26419 rm -f conftest.er1
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_cxx_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.$ac_objext; then
26426 wx_cv_class_stdstring=yes
26427 else
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 wx_cv_class_stdstring=no
26432
26433 fi
26434
26435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26436
26437
26438 fi
26439 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26440 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26441
26442 if test "$wx_cv_class_stdstring" = yes; then
26443 if test "$wxUSE_UNICODE" = "yes"; then
26444 cat >>confdefs.h <<\_ACEOF
26445 #define HAVE_STD_WSTRING 1
26446 _ACEOF
26447
26448 fi
26449 else
26450 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26451 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26452 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26454 else
26455
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462
26463 #ifdef HAVE_WCHAR_H
26464 # ifdef __CYGWIN__
26465 # include <stddef.h>
26466 # endif
26467 # include <wchar.h>
26468 #endif
26469 #ifdef HAVE_STDLIB_H
26470 # include <stdlib.h>
26471 #endif
26472 #include <stdio.h>
26473 #include <string>
26474
26475 int
26476 main ()
26477 {
26478 std::basic_string<$char_type> foo;
26479 const $char_type* dummy = foo.c_str();
26480 ;
26481 return 0;
26482 }
26483 _ACEOF
26484 rm -f conftest.$ac_objext
26485 if { (ac_try="$ac_compile"
26486 case "(($ac_try" in
26487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26488 *) ac_try_echo=$ac_try;;
26489 esac
26490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26491 (eval "$ac_compile") 2>conftest.er1
26492 ac_status=$?
26493 grep -v '^ *+' conftest.er1 >conftest.err
26494 rm -f conftest.er1
26495 cat conftest.err >&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); } && {
26498 test -z "$ac_cxx_werror_flag" ||
26499 test ! -s conftest.err
26500 } && test -s conftest.$ac_objext; then
26501 wx_cv_class_stdbasicstring=yes
26502 else
26503 echo "$as_me: failed program was:" >&5
26504 sed 's/^/| /' conftest.$ac_ext >&5
26505
26506 wx_cv_class_stdbasicstring=no
26507
26508 fi
26509
26510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26511
26512
26513 fi
26514 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26515 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26516
26517 if test "$wx_cv_class_stdbasicstring" != yes; then
26518 if test "$wxUSE_STL" = "yes"; then
26519 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26520 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26521 { (exit 1); exit 1; }; }
26522 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26523 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26524 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26525 { (exit 1); exit 1; }; }
26526 else
26527 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26528 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26529 wxUSE_STD_STRING=no
26530 fi
26531 fi
26532 fi
26533 fi
26534
26535 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26536 { echo "$as_me:$LINENO: checking for std::istream" >&5
26537 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26538 if test "${ac_cv_type_std__istream+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 else
26541 cat >conftest.$ac_ext <<_ACEOF
26542 /* confdefs.h. */
26543 _ACEOF
26544 cat confdefs.h >>conftest.$ac_ext
26545 cat >>conftest.$ac_ext <<_ACEOF
26546 /* end confdefs.h. */
26547 #include <iostream>
26548
26549 typedef std::istream ac__type_new_;
26550 int
26551 main ()
26552 {
26553 if ((ac__type_new_ *) 0)
26554 return 0;
26555 if (sizeof (ac__type_new_))
26556 return 0;
26557 ;
26558 return 0;
26559 }
26560 _ACEOF
26561 rm -f conftest.$ac_objext
26562 if { (ac_try="$ac_compile"
26563 case "(($ac_try" in
26564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26565 *) ac_try_echo=$ac_try;;
26566 esac
26567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26568 (eval "$ac_compile") 2>conftest.er1
26569 ac_status=$?
26570 grep -v '^ *+' conftest.er1 >conftest.err
26571 rm -f conftest.er1
26572 cat conftest.err >&5
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); } && {
26575 test -z "$ac_cxx_werror_flag" ||
26576 test ! -s conftest.err
26577 } && test -s conftest.$ac_objext; then
26578 ac_cv_type_std__istream=yes
26579 else
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.$ac_ext >&5
26582
26583 ac_cv_type_std__istream=no
26584 fi
26585
26586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26587 fi
26588 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26589 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26590 if test $ac_cv_type_std__istream = yes; then
26591
26592 cat >>confdefs.h <<_ACEOF
26593 #define HAVE_STD__ISTREAM 1
26594 _ACEOF
26595
26596
26597 else
26598 wxUSE_STD_IOSTREAM=no
26599 fi
26600 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26601 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26602 if test "${ac_cv_type_std__ostream+set}" = set; then
26603 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 else
26605 cat >conftest.$ac_ext <<_ACEOF
26606 /* confdefs.h. */
26607 _ACEOF
26608 cat confdefs.h >>conftest.$ac_ext
26609 cat >>conftest.$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26611 #include <iostream>
26612
26613 typedef std::ostream ac__type_new_;
26614 int
26615 main ()
26616 {
26617 if ((ac__type_new_ *) 0)
26618 return 0;
26619 if (sizeof (ac__type_new_))
26620 return 0;
26621 ;
26622 return 0;
26623 }
26624 _ACEOF
26625 rm -f conftest.$ac_objext
26626 if { (ac_try="$ac_compile"
26627 case "(($ac_try" in
26628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26629 *) ac_try_echo=$ac_try;;
26630 esac
26631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26632 (eval "$ac_compile") 2>conftest.er1
26633 ac_status=$?
26634 grep -v '^ *+' conftest.er1 >conftest.err
26635 rm -f conftest.er1
26636 cat conftest.err >&5
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); } && {
26639 test -z "$ac_cxx_werror_flag" ||
26640 test ! -s conftest.err
26641 } && test -s conftest.$ac_objext; then
26642 ac_cv_type_std__ostream=yes
26643 else
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26646
26647 ac_cv_type_std__ostream=no
26648 fi
26649
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26651 fi
26652 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26653 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26654 if test $ac_cv_type_std__ostream = yes; then
26655
26656 cat >>confdefs.h <<_ACEOF
26657 #define HAVE_STD__OSTREAM 1
26658 _ACEOF
26659
26660
26661 else
26662 wxUSE_STD_IOSTREAM=no
26663 fi
26664
26665
26666 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26667 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26668 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26669 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26670 { (exit 1); exit 1; }; }
26671 else
26672 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26673 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26674 fi
26675 fi
26676 fi
26677
26678 if test "$wxUSE_STL" = "yes"; then
26679 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26680 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26681 if test "${wx_cv_lib_stl+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26683 else
26684 cat >conftest.$ac_ext <<_ACEOF
26685 /* confdefs.h. */
26686 _ACEOF
26687 cat confdefs.h >>conftest.$ac_ext
26688 cat >>conftest.$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26690 #include <string>
26691 #include <functional>
26692 #include <algorithm>
26693 #include <vector>
26694 #include <list>
26695 int
26696 main ()
26697 {
26698 std::vector<int> moo;
26699 std::list<int> foo;
26700 std::vector<int>::iterator it =
26701 std::find_if(moo.begin(), moo.end(),
26702 std::bind2nd(std::less<int>(), 3));
26703 ;
26704 return 0;
26705 }
26706 _ACEOF
26707 rm -f conftest.$ac_objext
26708 if { (ac_try="$ac_compile"
26709 case "(($ac_try" in
26710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26711 *) ac_try_echo=$ac_try;;
26712 esac
26713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26714 (eval "$ac_compile") 2>conftest.er1
26715 ac_status=$?
26716 grep -v '^ *+' conftest.er1 >conftest.err
26717 rm -f conftest.er1
26718 cat conftest.err >&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } && {
26721 test -z "$ac_cxx_werror_flag" ||
26722 test ! -s conftest.err
26723 } && test -s conftest.$ac_objext; then
26724 wx_cv_lib_stl=yes
26725 else
26726 echo "$as_me: failed program was:" >&5
26727 sed 's/^/| /' conftest.$ac_ext >&5
26728
26729 wx_cv_lib_stl=no
26730
26731 fi
26732
26733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26734
26735 fi
26736 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26737 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26738
26739 if test "$wx_cv_lib_stl" != yes; then
26740 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26741 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26742 { (exit 1); exit 1; }; }
26743 fi
26744
26745 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26746 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26747 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 else
26750 cat >conftest.$ac_ext <<_ACEOF
26751 /* confdefs.h. */
26752 _ACEOF
26753 cat confdefs.h >>conftest.$ac_ext
26754 cat >>conftest.$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26756 #include <string>
26757 int
26758 main ()
26759 {
26760 std::string foo, bar;
26761 foo.compare(bar);
26762 foo.compare(1, 1, bar);
26763 foo.compare(1, 1, bar, 1, 1);
26764 foo.compare("");
26765 foo.compare(1, 1, "");
26766 foo.compare(1, 1, "", 2);
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 rm -f conftest.$ac_objext
26772 if { (ac_try="$ac_compile"
26773 case "(($ac_try" in
26774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26775 *) ac_try_echo=$ac_try;;
26776 esac
26777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26778 (eval "$ac_compile") 2>conftest.er1
26779 ac_status=$?
26780 grep -v '^ *+' conftest.er1 >conftest.err
26781 rm -f conftest.er1
26782 cat conftest.err >&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } && {
26785 test -z "$ac_cxx_werror_flag" ||
26786 test ! -s conftest.err
26787 } && test -s conftest.$ac_objext; then
26788 wx_cv_func_stdstring_compare=yes
26789 else
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.$ac_ext >&5
26792
26793 wx_cv_func_stdstring_compare=no
26794
26795 fi
26796
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798
26799 fi
26800 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26801 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26802
26803 if test "$wx_cv_func_stdstring_compare" = yes; then
26804 cat >>confdefs.h <<\_ACEOF
26805 #define HAVE_STD_STRING_COMPARE 1
26806 _ACEOF
26807
26808 fi
26809
26810 { echo "$as_me:$LINENO: checking for hash_map" >&5
26811 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26812 if test "${ac_cv_header_hash_map+set}" = set; then
26813 echo $ECHO_N "(cached) $ECHO_C" >&6
26814 else
26815 cat >conftest.$ac_ext <<_ACEOF
26816 /* confdefs.h. */
26817 _ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821
26822
26823
26824 #include <hash_map>
26825 _ACEOF
26826 rm -f conftest.$ac_objext
26827 if { (ac_try="$ac_compile"
26828 case "(($ac_try" in
26829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26830 *) ac_try_echo=$ac_try;;
26831 esac
26832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26833 (eval "$ac_compile") 2>conftest.er1
26834 ac_status=$?
26835 grep -v '^ *+' conftest.er1 >conftest.err
26836 rm -f conftest.er1
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } && {
26840 test -z "$ac_cxx_werror_flag" ||
26841 test ! -s conftest.err
26842 } && test -s conftest.$ac_objext; then
26843 ac_cv_header_hash_map=yes
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_cv_header_hash_map=no
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 fi
26853 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26854 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26855 if test $ac_cv_header_hash_map = yes; then
26856 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26857 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26858 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26859 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 else
26861 cat >conftest.$ac_ext <<_ACEOF
26862 /* confdefs.h. */
26863 _ACEOF
26864 cat confdefs.h >>conftest.$ac_ext
26865 cat >>conftest.$ac_ext <<_ACEOF
26866 /* end confdefs.h. */
26867 #include <hash_map>
26868 #include <hash_set>
26869 int
26870 main ()
26871 {
26872 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26873 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26874 ;
26875 return 0;
26876 }
26877 _ACEOF
26878 rm -f conftest.$ac_objext
26879 if { (ac_try="$ac_compile"
26880 case "(($ac_try" in
26881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26882 *) ac_try_echo=$ac_try;;
26883 esac
26884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26885 (eval "$ac_compile") 2>conftest.er1
26886 ac_status=$?
26887 grep -v '^ *+' conftest.er1 >conftest.err
26888 rm -f conftest.er1
26889 cat conftest.err >&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } && {
26892 test -z "$ac_cxx_werror_flag" ||
26893 test ! -s conftest.err
26894 } && test -s conftest.$ac_objext; then
26895 wx_cv_class_stdhashmapset=yes
26896 else
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26899
26900 wx_cv_class_stdhashmapset=no
26901 fi
26902
26903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26904
26905
26906 fi
26907 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26908 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26909 fi
26910
26911
26912
26913 if test "$wx_cv_class_stdhashmapset" = yes; then
26914 cat >>confdefs.h <<\_ACEOF
26915 #define HAVE_HASH_MAP 1
26916 _ACEOF
26917
26918 cat >>confdefs.h <<\_ACEOF
26919 #define HAVE_STD_HASH_MAP 1
26920 _ACEOF
26921
26922 fi
26923
26924 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26925 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26926 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929 cat >conftest.$ac_ext <<_ACEOF
26930 /* confdefs.h. */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935
26936
26937
26938 #include <ext/hash_map>
26939 _ACEOF
26940 rm -f conftest.$ac_objext
26941 if { (ac_try="$ac_compile"
26942 case "(($ac_try" in
26943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26944 *) ac_try_echo=$ac_try;;
26945 esac
26946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26947 (eval "$ac_compile") 2>conftest.er1
26948 ac_status=$?
26949 grep -v '^ *+' conftest.er1 >conftest.err
26950 rm -f conftest.er1
26951 cat conftest.err >&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } && {
26954 test -z "$ac_cxx_werror_flag" ||
26955 test ! -s conftest.err
26956 } && test -s conftest.$ac_objext; then
26957 ac_cv_header_ext_hash_map=yes
26958 else
26959 echo "$as_me: failed program was:" >&5
26960 sed 's/^/| /' conftest.$ac_ext >&5
26961
26962 ac_cv_header_ext_hash_map=no
26963 fi
26964
26965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26966 fi
26967 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26968 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26969 if test $ac_cv_header_ext_hash_map = yes; then
26970 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26971 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26972 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 else
26975 cat >conftest.$ac_ext <<_ACEOF
26976 /* confdefs.h. */
26977 _ACEOF
26978 cat confdefs.h >>conftest.$ac_ext
26979 cat >>conftest.$ac_ext <<_ACEOF
26980 /* end confdefs.h. */
26981 #include <ext/hash_map>
26982 #include <ext/hash_set>
26983 int
26984 main ()
26985 {
26986 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26987 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26988 ;
26989 return 0;
26990 }
26991 _ACEOF
26992 rm -f conftest.$ac_objext
26993 if { (ac_try="$ac_compile"
26994 case "(($ac_try" in
26995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26996 *) ac_try_echo=$ac_try;;
26997 esac
26998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26999 (eval "$ac_compile") 2>conftest.er1
27000 ac_status=$?
27001 grep -v '^ *+' conftest.er1 >conftest.err
27002 rm -f conftest.er1
27003 cat conftest.err >&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); } && {
27006 test -z "$ac_cxx_werror_flag" ||
27007 test ! -s conftest.err
27008 } && test -s conftest.$ac_objext; then
27009 wx_cv_class_gnuhashmapset=yes
27010 else
27011 echo "$as_me: failed program was:" >&5
27012 sed 's/^/| /' conftest.$ac_ext >&5
27013
27014 wx_cv_class_gnuhashmapset=no
27015 fi
27016
27017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018
27019
27020 fi
27021 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27022 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27023 fi
27024
27025
27026
27027 if test "$wx_cv_class_gnuhashmapset" = yes; then
27028 cat >>confdefs.h <<\_ACEOF
27029 #define HAVE_EXT_HASH_MAP 1
27030 _ACEOF
27031
27032 cat >>confdefs.h <<\_ACEOF
27033 #define HAVE_GNU_CXX_HASH_MAP 1
27034 _ACEOF
27035
27036 fi
27037 fi
27038
27039 ac_ext=c
27040 ac_cpp='$CPP $CPPFLAGS'
27041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27044
27045
27046
27047 SEARCH_INCLUDE="\
27048 /usr/local/include \
27049 \
27050 /usr/Motif-2.1/include \
27051 /usr/Motif-1.2/include \
27052 /usr/include/Motif1.2 \
27053 \
27054 /usr/dt/include \
27055 /usr/openwin/include \
27056 \
27057 /usr/include/Xm \
27058 \
27059 /usr/X11R6/include \
27060 /usr/X11R6.4/include \
27061 /usr/X11R5/include \
27062 /usr/X11R4/include \
27063 \
27064 /usr/include/X11R6 \
27065 /usr/include/X11R5 \
27066 /usr/include/X11R4 \
27067 \
27068 /usr/local/X11R6/include \
27069 /usr/local/X11R5/include \
27070 /usr/local/X11R4/include \
27071 \
27072 /usr/local/include/X11R6 \
27073 /usr/local/include/X11R5 \
27074 /usr/local/include/X11R4 \
27075 \
27076 /usr/X11/include \
27077 /usr/include/X11 \
27078 /usr/local/X11/include \
27079 /usr/local/include/X11 \
27080 \
27081 /usr/XFree86/include/X11 \
27082 /usr/pkg/include \
27083 \
27084 /usr/openwin/share/include"
27085
27086 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27087 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27088
27089 case "${host}" in
27090 *-*-irix6* )
27091 if test "${wx_cv_std_libpath+set}" = set; then
27092 echo $ECHO_N "(cached) $ECHO_C" >&6
27093 else
27094
27095 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27096 for e in a so sl dylib dll.a; do
27097 libc="$d/libc.$e"
27098 if test -f $libc; then
27099 save_LIBS="$LIBS"
27100 LIBS="$libc"
27101 cat >conftest.$ac_ext <<_ACEOF
27102 int main() { return 0; }
27103 _ACEOF
27104 rm -f conftest.$ac_objext conftest$ac_exeext
27105 if { (ac_try="$ac_link"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 *) ac_try_echo=$ac_try;;
27109 esac
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_link") 2>conftest.er1
27112 ac_status=$?
27113 grep -v '^ *+' conftest.er1 >conftest.err
27114 rm -f conftest.er1
27115 cat conftest.err >&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest$ac_exeext &&
27121 $as_test_x conftest$ac_exeext; then
27122 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27123 else
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27126
27127
27128 fi
27129
27130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27131 conftest$ac_exeext conftest.$ac_ext
27132 LIBS="$save_LIBS"
27133 if test "x$wx_cv_std_libpath" != "x"; then
27134 break 2
27135 fi
27136 fi
27137 done
27138 done
27139 if test "x$wx_cv_std_libpath" = "x"; then
27140 wx_cv_std_libpath="lib"
27141 fi
27142
27143
27144 fi
27145
27146 ;;
27147
27148 *-*-solaris2* )
27149 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27150 wx_cv_std_libpath="lib/64"
27151 else
27152 wx_cv_std_libpath="lib"
27153 fi
27154 ;;
27155
27156 *-*-linux* )
27157 if test "$ac_cv_sizeof_void_p" = 8 -a \
27158 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27159 wx_cv_std_libpath="lib64"
27160 else
27161 wx_cv_std_libpath="lib"
27162 fi
27163 ;;
27164
27165 *)
27166 wx_cv_std_libpath="lib";
27167 ;;
27168 esac
27169
27170 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27171 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27172
27173 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27174
27175 if test "$build" != "$host" -a "$GCC" = yes; then
27176 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27177 cross_root=`dirname $cross_root`
27178 cross_root=`dirname $cross_root`
27179
27180 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27181 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27182 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27183
27184 if test -z "$PKG_CONFIG_PATH"; then
27185 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27186 export PKG_CONFIG_PATH
27187 fi
27188
27189 if test -z "$x_includes" -o "$x_includes" = NONE; then
27190
27191 ac_find_includes=
27192 for ac_dir in $SEARCH_INCLUDE /usr/include;
27193 do
27194 if test -f "$ac_dir/X11/Intrinsic.h"; then
27195 ac_find_includes=$ac_dir
27196 break
27197 fi
27198 done
27199
27200 x_includes=$ac_find_includes
27201 fi
27202 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27203
27204 ac_find_libraries=
27205 for ac_dir in $SEARCH_LIB;
27206 do
27207 for ac_extension in a so sl dylib dll.a; do
27208 if test -f "$ac_dir/libXt.$ac_extension"; then
27209 ac_find_libraries=$ac_dir
27210 break 2
27211 fi
27212 done
27213 done
27214
27215 x_libraries=$ac_find_libraries
27216 fi
27217 fi
27218 fi
27219
27220
27221 cat >confcache <<\_ACEOF
27222 # This file is a shell script that caches the results of configure
27223 # tests run on this system so they can be shared between configure
27224 # scripts and configure runs, see configure's option --config-cache.
27225 # It is not useful on other systems. If it contains results you don't
27226 # want to keep, you may remove or edit it.
27227 #
27228 # config.status only pays attention to the cache file if you give it
27229 # the --recheck option to rerun configure.
27230 #
27231 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27232 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27233 # following values.
27234
27235 _ACEOF
27236
27237 # The following way of writing the cache mishandles newlines in values,
27238 # but we know of no workaround that is simple, portable, and efficient.
27239 # So, we kill variables containing newlines.
27240 # Ultrix sh set writes to stderr and can't be redirected directly,
27241 # and sets the high bit in the cache file unless we assign to the vars.
27242 (
27243 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27244 eval ac_val=\$$ac_var
27245 case $ac_val in #(
27246 *${as_nl}*)
27247 case $ac_var in #(
27248 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27249 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27250 esac
27251 case $ac_var in #(
27252 _ | IFS | as_nl) ;; #(
27253 *) $as_unset $ac_var ;;
27254 esac ;;
27255 esac
27256 done
27257
27258 (set) 2>&1 |
27259 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27260 *${as_nl}ac_space=\ *)
27261 # `set' does not quote correctly, so add quotes (double-quote
27262 # substitution turns \\\\ into \\, and sed turns \\ into \).
27263 sed -n \
27264 "s/'/'\\\\''/g;
27265 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27266 ;; #(
27267 *)
27268 # `set' quotes correctly as required by POSIX, so do not add quotes.
27269 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27270 ;;
27271 esac |
27272 sort
27273 ) |
27274 sed '
27275 /^ac_cv_env_/b end
27276 t clear
27277 :clear
27278 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27279 t end
27280 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27281 :end' >>confcache
27282 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27283 if test -w "$cache_file"; then
27284 test "x$cache_file" != "x/dev/null" &&
27285 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27286 echo "$as_me: updating cache $cache_file" >&6;}
27287 cat confcache >$cache_file
27288 else
27289 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27290 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27291 fi
27292 fi
27293 rm -f confcache
27294
27295 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27296 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27297 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27298 if test "${wx_cv_lib_glibc21+set}" = set; then
27299 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 else
27301
27302 cat >conftest.$ac_ext <<_ACEOF
27303 /* confdefs.h. */
27304 _ACEOF
27305 cat confdefs.h >>conftest.$ac_ext
27306 cat >>conftest.$ac_ext <<_ACEOF
27307 /* end confdefs.h. */
27308 #include <features.h>
27309 int
27310 main ()
27311 {
27312
27313 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27314 not glibc 2.1
27315 #endif
27316
27317 ;
27318 return 0;
27319 }
27320 _ACEOF
27321 rm -f conftest.$ac_objext
27322 if { (ac_try="$ac_compile"
27323 case "(($ac_try" in
27324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27325 *) ac_try_echo=$ac_try;;
27326 esac
27327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27328 (eval "$ac_compile") 2>conftest.er1
27329 ac_status=$?
27330 grep -v '^ *+' conftest.er1 >conftest.err
27331 rm -f conftest.er1
27332 cat conftest.err >&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } && {
27335 test -z "$ac_c_werror_flag" ||
27336 test ! -s conftest.err
27337 } && test -s conftest.$ac_objext; then
27338
27339 wx_cv_lib_glibc21=yes
27340
27341 else
27342 echo "$as_me: failed program was:" >&5
27343 sed 's/^/| /' conftest.$ac_ext >&5
27344
27345
27346 wx_cv_lib_glibc21=no
27347
27348
27349 fi
27350
27351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27352
27353 fi
27354 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27355 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27356 if test "$wx_cv_lib_glibc21" = "yes"; then
27357 cat >>confdefs.h <<\_ACEOF
27358 #define wxHAVE_GLIBC2 1
27359 _ACEOF
27360
27361 fi
27362 fi
27363
27364 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27365 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27366 cat >>confdefs.h <<\_ACEOF
27367 #define _GNU_SOURCE 1
27368 _ACEOF
27369
27370 fi
27371 fi
27372
27373 have_cos=0
27374 have_floor=0
27375
27376 for ac_func in cos
27377 do
27378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27379 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27381 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27382 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 else
27384 cat >conftest.$ac_ext <<_ACEOF
27385 /* confdefs.h. */
27386 _ACEOF
27387 cat confdefs.h >>conftest.$ac_ext
27388 cat >>conftest.$ac_ext <<_ACEOF
27389 /* end confdefs.h. */
27390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27392 #define $ac_func innocuous_$ac_func
27393
27394 /* System header to define __stub macros and hopefully few prototypes,
27395 which can conflict with char $ac_func (); below.
27396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27397 <limits.h> exists even on freestanding compilers. */
27398
27399 #ifdef __STDC__
27400 # include <limits.h>
27401 #else
27402 # include <assert.h>
27403 #endif
27404
27405 #undef $ac_func
27406
27407 /* Override any GCC internal prototype to avoid an error.
27408 Use char because int might match the return type of a GCC
27409 builtin and then its argument prototype would still apply. */
27410 #ifdef __cplusplus
27411 extern "C"
27412 #endif
27413 char $ac_func ();
27414 /* The GNU C library defines this for functions which it implements
27415 to always fail with ENOSYS. Some functions are actually named
27416 something starting with __ and the normal name is an alias. */
27417 #if defined __stub_$ac_func || defined __stub___$ac_func
27418 choke me
27419 #endif
27420
27421 int
27422 main ()
27423 {
27424 return $ac_func ();
27425 ;
27426 return 0;
27427 }
27428 _ACEOF
27429 rm -f conftest.$ac_objext conftest$ac_exeext
27430 if { (ac_try="$ac_link"
27431 case "(($ac_try" in
27432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27433 *) ac_try_echo=$ac_try;;
27434 esac
27435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27436 (eval "$ac_link") 2>conftest.er1
27437 ac_status=$?
27438 grep -v '^ *+' conftest.er1 >conftest.err
27439 rm -f conftest.er1
27440 cat conftest.err >&5
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); } && {
27443 test -z "$ac_c_werror_flag" ||
27444 test ! -s conftest.err
27445 } && test -s conftest$ac_exeext &&
27446 $as_test_x conftest$ac_exeext; then
27447 eval "$as_ac_var=yes"
27448 else
27449 echo "$as_me: failed program was:" >&5
27450 sed 's/^/| /' conftest.$ac_ext >&5
27451
27452 eval "$as_ac_var=no"
27453 fi
27454
27455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27456 conftest$ac_exeext conftest.$ac_ext
27457 fi
27458 ac_res=`eval echo '${'$as_ac_var'}'`
27459 { echo "$as_me:$LINENO: result: $ac_res" >&5
27460 echo "${ECHO_T}$ac_res" >&6; }
27461 if test `eval echo '${'$as_ac_var'}'` = yes; then
27462 cat >>confdefs.h <<_ACEOF
27463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27464 _ACEOF
27465 have_cos=1
27466 fi
27467 done
27468
27469
27470 for ac_func in floor
27471 do
27472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27475 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 else
27478 cat >conftest.$ac_ext <<_ACEOF
27479 /* confdefs.h. */
27480 _ACEOF
27481 cat confdefs.h >>conftest.$ac_ext
27482 cat >>conftest.$ac_ext <<_ACEOF
27483 /* end confdefs.h. */
27484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27486 #define $ac_func innocuous_$ac_func
27487
27488 /* System header to define __stub macros and hopefully few prototypes,
27489 which can conflict with char $ac_func (); below.
27490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27491 <limits.h> exists even on freestanding compilers. */
27492
27493 #ifdef __STDC__
27494 # include <limits.h>
27495 #else
27496 # include <assert.h>
27497 #endif
27498
27499 #undef $ac_func
27500
27501 /* Override any GCC internal prototype to avoid an error.
27502 Use char because int might match the return type of a GCC
27503 builtin and then its argument prototype would still apply. */
27504 #ifdef __cplusplus
27505 extern "C"
27506 #endif
27507 char $ac_func ();
27508 /* The GNU C library defines this for functions which it implements
27509 to always fail with ENOSYS. Some functions are actually named
27510 something starting with __ and the normal name is an alias. */
27511 #if defined __stub_$ac_func || defined __stub___$ac_func
27512 choke me
27513 #endif
27514
27515 int
27516 main ()
27517 {
27518 return $ac_func ();
27519 ;
27520 return 0;
27521 }
27522 _ACEOF
27523 rm -f conftest.$ac_objext conftest$ac_exeext
27524 if { (ac_try="$ac_link"
27525 case "(($ac_try" in
27526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27527 *) ac_try_echo=$ac_try;;
27528 esac
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_link") 2>conftest.er1
27531 ac_status=$?
27532 grep -v '^ *+' conftest.er1 >conftest.err
27533 rm -f conftest.er1
27534 cat conftest.err >&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } && {
27537 test -z "$ac_c_werror_flag" ||
27538 test ! -s conftest.err
27539 } && test -s conftest$ac_exeext &&
27540 $as_test_x conftest$ac_exeext; then
27541 eval "$as_ac_var=yes"
27542 else
27543 echo "$as_me: failed program was:" >&5
27544 sed 's/^/| /' conftest.$ac_ext >&5
27545
27546 eval "$as_ac_var=no"
27547 fi
27548
27549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27550 conftest$ac_exeext conftest.$ac_ext
27551 fi
27552 ac_res=`eval echo '${'$as_ac_var'}'`
27553 { echo "$as_me:$LINENO: result: $ac_res" >&5
27554 echo "${ECHO_T}$ac_res" >&6; }
27555 if test `eval echo '${'$as_ac_var'}'` = yes; then
27556 cat >>confdefs.h <<_ACEOF
27557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27558 _ACEOF
27559 have_floor=1
27560 fi
27561 done
27562
27563 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27564 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27565 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27566 { echo "$as_me:$LINENO: result: yes" >&5
27567 echo "${ECHO_T}yes" >&6; }
27568 else
27569 { echo "$as_me:$LINENO: result: no" >&5
27570 echo "${ECHO_T}no" >&6; }
27571 LIBS="$LIBS -lm"
27572 # use different functions to avoid configure caching
27573 have_sin=0
27574 have_ceil=0
27575
27576 for ac_func in sin
27577 do
27578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27582 echo $ECHO_N "(cached) $ECHO_C" >&6
27583 else
27584 cat >conftest.$ac_ext <<_ACEOF
27585 /* confdefs.h. */
27586 _ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27592 #define $ac_func innocuous_$ac_func
27593
27594 /* System header to define __stub macros and hopefully few prototypes,
27595 which can conflict with char $ac_func (); below.
27596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27597 <limits.h> exists even on freestanding compilers. */
27598
27599 #ifdef __STDC__
27600 # include <limits.h>
27601 #else
27602 # include <assert.h>
27603 #endif
27604
27605 #undef $ac_func
27606
27607 /* Override any GCC internal prototype to avoid an error.
27608 Use char because int might match the return type of a GCC
27609 builtin and then its argument prototype would still apply. */
27610 #ifdef __cplusplus
27611 extern "C"
27612 #endif
27613 char $ac_func ();
27614 /* The GNU C library defines this for functions which it implements
27615 to always fail with ENOSYS. Some functions are actually named
27616 something starting with __ and the normal name is an alias. */
27617 #if defined __stub_$ac_func || defined __stub___$ac_func
27618 choke me
27619 #endif
27620
27621 int
27622 main ()
27623 {
27624 return $ac_func ();
27625 ;
27626 return 0;
27627 }
27628 _ACEOF
27629 rm -f conftest.$ac_objext conftest$ac_exeext
27630 if { (ac_try="$ac_link"
27631 case "(($ac_try" in
27632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27633 *) ac_try_echo=$ac_try;;
27634 esac
27635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27636 (eval "$ac_link") 2>conftest.er1
27637 ac_status=$?
27638 grep -v '^ *+' conftest.er1 >conftest.err
27639 rm -f conftest.er1
27640 cat conftest.err >&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } && {
27643 test -z "$ac_c_werror_flag" ||
27644 test ! -s conftest.err
27645 } && test -s conftest$ac_exeext &&
27646 $as_test_x conftest$ac_exeext; then
27647 eval "$as_ac_var=yes"
27648 else
27649 echo "$as_me: failed program was:" >&5
27650 sed 's/^/| /' conftest.$ac_ext >&5
27651
27652 eval "$as_ac_var=no"
27653 fi
27654
27655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27656 conftest$ac_exeext conftest.$ac_ext
27657 fi
27658 ac_res=`eval echo '${'$as_ac_var'}'`
27659 { echo "$as_me:$LINENO: result: $ac_res" >&5
27660 echo "${ECHO_T}$ac_res" >&6; }
27661 if test `eval echo '${'$as_ac_var'}'` = yes; then
27662 cat >>confdefs.h <<_ACEOF
27663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27664 _ACEOF
27665 have_sin=1
27666 fi
27667 done
27668
27669
27670 for ac_func in ceil
27671 do
27672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27673 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27675 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27676 echo $ECHO_N "(cached) $ECHO_C" >&6
27677 else
27678 cat >conftest.$ac_ext <<_ACEOF
27679 /* confdefs.h. */
27680 _ACEOF
27681 cat confdefs.h >>conftest.$ac_ext
27682 cat >>conftest.$ac_ext <<_ACEOF
27683 /* end confdefs.h. */
27684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27686 #define $ac_func innocuous_$ac_func
27687
27688 /* System header to define __stub macros and hopefully few prototypes,
27689 which can conflict with char $ac_func (); below.
27690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27691 <limits.h> exists even on freestanding compilers. */
27692
27693 #ifdef __STDC__
27694 # include <limits.h>
27695 #else
27696 # include <assert.h>
27697 #endif
27698
27699 #undef $ac_func
27700
27701 /* Override any GCC internal prototype to avoid an error.
27702 Use char because int might match the return type of a GCC
27703 builtin and then its argument prototype would still apply. */
27704 #ifdef __cplusplus
27705 extern "C"
27706 #endif
27707 char $ac_func ();
27708 /* The GNU C library defines this for functions which it implements
27709 to always fail with ENOSYS. Some functions are actually named
27710 something starting with __ and the normal name is an alias. */
27711 #if defined __stub_$ac_func || defined __stub___$ac_func
27712 choke me
27713 #endif
27714
27715 int
27716 main ()
27717 {
27718 return $ac_func ();
27719 ;
27720 return 0;
27721 }
27722 _ACEOF
27723 rm -f conftest.$ac_objext conftest$ac_exeext
27724 if { (ac_try="$ac_link"
27725 case "(($ac_try" in
27726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27727 *) ac_try_echo=$ac_try;;
27728 esac
27729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27730 (eval "$ac_link") 2>conftest.er1
27731 ac_status=$?
27732 grep -v '^ *+' conftest.er1 >conftest.err
27733 rm -f conftest.er1
27734 cat conftest.err >&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); } && {
27737 test -z "$ac_c_werror_flag" ||
27738 test ! -s conftest.err
27739 } && test -s conftest$ac_exeext &&
27740 $as_test_x conftest$ac_exeext; then
27741 eval "$as_ac_var=yes"
27742 else
27743 echo "$as_me: failed program was:" >&5
27744 sed 's/^/| /' conftest.$ac_ext >&5
27745
27746 eval "$as_ac_var=no"
27747 fi
27748
27749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27750 conftest$ac_exeext conftest.$ac_ext
27751 fi
27752 ac_res=`eval echo '${'$as_ac_var'}'`
27753 { echo "$as_me:$LINENO: result: $ac_res" >&5
27754 echo "${ECHO_T}$ac_res" >&6; }
27755 if test `eval echo '${'$as_ac_var'}'` = yes; then
27756 cat >>confdefs.h <<_ACEOF
27757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27758 _ACEOF
27759 have_ceil=1
27760 fi
27761 done
27762
27763 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27764 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27765 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27766 { echo "$as_me:$LINENO: result: yes" >&5
27767 echo "${ECHO_T}yes" >&6; }
27768 else
27769 { echo "$as_me:$LINENO: result: no" >&5
27770 echo "${ECHO_T}no" >&6; }
27771 # not sure we should warn the user, crash, etc.
27772 fi
27773 fi
27774
27775 ac_ext=cpp
27776 ac_cpp='$CXXCPP $CPPFLAGS'
27777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27780
27781 if test "wxUSE_UNICODE" = "yes"; then
27782
27783 for wx_func in wcstoull
27784 do
27785 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27786 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27787 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 else
27790
27791 cat >conftest.$ac_ext <<_ACEOF
27792
27793 /* confdefs.h. */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27798
27799
27800 $ac_includes_default
27801
27802 int
27803 main ()
27804 {
27805
27806 #ifndef $wx_func
27807 &$wx_func;
27808 #endif
27809
27810
27811 ;
27812 return 0;
27813 }
27814
27815 _ACEOF
27816 rm -f conftest.$ac_objext conftest$ac_exeext
27817 if { (ac_try="$ac_link"
27818 case "(($ac_try" in
27819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27820 *) ac_try_echo=$ac_try;;
27821 esac
27822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27823 (eval "$ac_link") 2>conftest.er1
27824 ac_status=$?
27825 grep -v '^ *+' conftest.er1 >conftest.err
27826 rm -f conftest.er1
27827 cat conftest.err >&5
27828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27829 (exit $ac_status); } && {
27830 test -z "$ac_cxx_werror_flag" ||
27831 test ! -s conftest.err
27832 } && test -s conftest$ac_exeext &&
27833 $as_test_x conftest$ac_exeext; then
27834 eval wx_cv_func_$wx_func=yes
27835 else
27836 echo "$as_me: failed program was:" >&5
27837 sed 's/^/| /' conftest.$ac_ext >&5
27838
27839 eval wx_cv_func_$wx_func=no
27840 fi
27841
27842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27843 conftest$ac_exeext conftest.$ac_ext
27844
27845 fi
27846 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27847 { echo "$as_me:$LINENO: result: $ac_res" >&5
27848 echo "${ECHO_T}$ac_res" >&6; }
27849
27850 if eval test \$wx_cv_func_$wx_func = yes
27851 then
27852 cat >>confdefs.h <<_ACEOF
27853 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27854 _ACEOF
27855
27856
27857 else
27858 :
27859
27860 fi
27861 done
27862
27863 else
27864
27865 for wx_func in strtoull
27866 do
27867 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27868 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27869 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 else
27872
27873 cat >conftest.$ac_ext <<_ACEOF
27874
27875 /* confdefs.h. */
27876 _ACEOF
27877 cat confdefs.h >>conftest.$ac_ext
27878 cat >>conftest.$ac_ext <<_ACEOF
27879 /* end confdefs.h. */
27880
27881
27882 $ac_includes_default
27883
27884 int
27885 main ()
27886 {
27887
27888 #ifndef $wx_func
27889 &$wx_func;
27890 #endif
27891
27892
27893 ;
27894 return 0;
27895 }
27896
27897 _ACEOF
27898 rm -f conftest.$ac_objext conftest$ac_exeext
27899 if { (ac_try="$ac_link"
27900 case "(($ac_try" in
27901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27902 *) ac_try_echo=$ac_try;;
27903 esac
27904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27905 (eval "$ac_link") 2>conftest.er1
27906 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } && {
27912 test -z "$ac_cxx_werror_flag" ||
27913 test ! -s conftest.err
27914 } && test -s conftest$ac_exeext &&
27915 $as_test_x conftest$ac_exeext; then
27916 eval wx_cv_func_$wx_func=yes
27917 else
27918 echo "$as_me: failed program was:" >&5
27919 sed 's/^/| /' conftest.$ac_ext >&5
27920
27921 eval wx_cv_func_$wx_func=no
27922 fi
27923
27924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27925 conftest$ac_exeext conftest.$ac_ext
27926
27927 fi
27928 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27929 { echo "$as_me:$LINENO: result: $ac_res" >&5
27930 echo "${ECHO_T}$ac_res" >&6; }
27931
27932 if eval test \$wx_cv_func_$wx_func = yes
27933 then
27934 cat >>confdefs.h <<_ACEOF
27935 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27936 _ACEOF
27937
27938
27939 else
27940 :
27941
27942 fi
27943 done
27944
27945 fi
27946 ac_ext=c
27947 ac_cpp='$CPP $CPPFLAGS'
27948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27951
27952
27953
27954
27955 if test "$wxUSE_REGEX" != "no"; then
27956 cat >>confdefs.h <<\_ACEOF
27957 #define wxUSE_REGEX 1
27958 _ACEOF
27959
27960
27961 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27962 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27963 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27964 wxUSE_REGEX=builtin
27965 fi
27966
27967 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27968 { echo "$as_me:$LINENO: checking for regex.h" >&5
27969 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27970 if test "${ac_cv_header_regex_h+set}" = set; then
27971 echo $ECHO_N "(cached) $ECHO_C" >&6
27972 else
27973 cat >conftest.$ac_ext <<_ACEOF
27974 /* confdefs.h. */
27975 _ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27979
27980
27981 #include <regex.h>
27982 _ACEOF
27983 rm -f conftest.$ac_objext
27984 if { (ac_try="$ac_compile"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27988 esac
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_compile") 2>conftest.er1
27991 ac_status=$?
27992 grep -v '^ *+' conftest.er1 >conftest.err
27993 rm -f conftest.er1
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_c_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest.$ac_objext; then
28000 ac_cv_header_regex_h=yes
28001 else
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28004
28005 ac_cv_header_regex_h=no
28006 fi
28007
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 fi
28010 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28011 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28012 if test $ac_cv_header_regex_h = yes; then
28013
28014
28015 for ac_func in regcomp re_search
28016 do
28017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28021 echo $ECHO_N "(cached) $ECHO_C" >&6
28022 else
28023 cat >conftest.$ac_ext <<_ACEOF
28024 /* confdefs.h. */
28025 _ACEOF
28026 cat confdefs.h >>conftest.$ac_ext
28027 cat >>conftest.$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28031 #define $ac_func innocuous_$ac_func
28032
28033 /* System header to define __stub macros and hopefully few prototypes,
28034 which can conflict with char $ac_func (); below.
28035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28036 <limits.h> exists even on freestanding compilers. */
28037
28038 #ifdef __STDC__
28039 # include <limits.h>
28040 #else
28041 # include <assert.h>
28042 #endif
28043
28044 #undef $ac_func
28045
28046 /* Override any GCC internal prototype to avoid an error.
28047 Use char because int might match the return type of a GCC
28048 builtin and then its argument prototype would still apply. */
28049 #ifdef __cplusplus
28050 extern "C"
28051 #endif
28052 char $ac_func ();
28053 /* The GNU C library defines this for functions which it implements
28054 to always fail with ENOSYS. Some functions are actually named
28055 something starting with __ and the normal name is an alias. */
28056 #if defined __stub_$ac_func || defined __stub___$ac_func
28057 choke me
28058 #endif
28059
28060 int
28061 main ()
28062 {
28063 return $ac_func ();
28064 ;
28065 return 0;
28066 }
28067 _ACEOF
28068 rm -f conftest.$ac_objext conftest$ac_exeext
28069 if { (ac_try="$ac_link"
28070 case "(($ac_try" in
28071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28072 *) ac_try_echo=$ac_try;;
28073 esac
28074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28075 (eval "$ac_link") 2>conftest.er1
28076 ac_status=$?
28077 grep -v '^ *+' conftest.er1 >conftest.err
28078 rm -f conftest.er1
28079 cat conftest.err >&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); } && {
28082 test -z "$ac_c_werror_flag" ||
28083 test ! -s conftest.err
28084 } && test -s conftest$ac_exeext &&
28085 $as_test_x conftest$ac_exeext; then
28086 eval "$as_ac_var=yes"
28087 else
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.$ac_ext >&5
28090
28091 eval "$as_ac_var=no"
28092 fi
28093
28094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28095 conftest$ac_exeext conftest.$ac_ext
28096 fi
28097 ac_res=`eval echo '${'$as_ac_var'}'`
28098 { echo "$as_me:$LINENO: result: $ac_res" >&5
28099 echo "${ECHO_T}$ac_res" >&6; }
28100 if test `eval echo '${'$as_ac_var'}'` = yes; then
28101 cat >>confdefs.h <<_ACEOF
28102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28103 _ACEOF
28104
28105 fi
28106 done
28107
28108 fi
28109
28110
28111
28112 if test "x$ac_cv_func_regcomp" != "xyes"; then
28113 if test "$wxUSE_REGEX" = "sys" ; then
28114 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28115 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28116 { (exit 1); exit 1; }; }
28117 else
28118 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28119 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28120 wxUSE_REGEX=builtin
28121 fi
28122 else
28123 wxUSE_REGEX=sys
28124 cat >>confdefs.h <<\_ACEOF
28125 #define WX_NO_REGEX_ADVANCED 1
28126 _ACEOF
28127
28128 fi
28129 fi
28130 fi
28131
28132
28133 ZLIB_LINK=
28134 if test "$wxUSE_ZLIB" != "no" ; then
28135 cat >>confdefs.h <<\_ACEOF
28136 #define wxUSE_ZLIB 1
28137 _ACEOF
28138
28139
28140 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28141 if test "$USE_DARWIN" = 1; then
28142 system_zlib_h_ok="yes"
28143 else
28144 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28145 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28146 if test "${ac_cv_header_zlib_h+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 else
28149 if test "$cross_compiling" = yes; then
28150 unset ac_cv_header_zlib_h
28151
28152 else
28153 cat >conftest.$ac_ext <<_ACEOF
28154 /* confdefs.h. */
28155 _ACEOF
28156 cat confdefs.h >>conftest.$ac_ext
28157 cat >>conftest.$ac_ext <<_ACEOF
28158 /* end confdefs.h. */
28159
28160 #include <zlib.h>
28161 #include <stdio.h>
28162
28163 int main()
28164 {
28165 FILE *f=fopen("conftestval", "w");
28166 if (!f) exit(1);
28167 fprintf(f, "%s",
28168 ZLIB_VERSION[0] == '1' &&
28169 (ZLIB_VERSION[2] > '1' ||
28170 (ZLIB_VERSION[2] == '1' &&
28171 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28172 exit(0);
28173 }
28174
28175 _ACEOF
28176 rm -f conftest$ac_exeext
28177 if { (ac_try="$ac_link"
28178 case "(($ac_try" in
28179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28180 *) ac_try_echo=$ac_try;;
28181 esac
28182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28183 (eval "$ac_link") 2>&5
28184 ac_status=$?
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28187 { (case "(($ac_try" in
28188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28189 *) ac_try_echo=$ac_try;;
28190 esac
28191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28192 (eval "$ac_try") 2>&5
28193 ac_status=$?
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; }; then
28196 ac_cv_header_zlib_h=`cat conftestval`
28197 else
28198 echo "$as_me: program exited with status $ac_status" >&5
28199 echo "$as_me: failed program was:" >&5
28200 sed 's/^/| /' conftest.$ac_ext >&5
28201
28202 ( exit $ac_status )
28203 ac_cv_header_zlib_h=no
28204 fi
28205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28206 fi
28207
28208
28209
28210 fi
28211 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28212 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28213 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28214 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28215 if test "${ac_cv_header_zlib_h+set}" = set; then
28216 echo $ECHO_N "(cached) $ECHO_C" >&6
28217 else
28218 cat >conftest.$ac_ext <<_ACEOF
28219 /* confdefs.h. */
28220 _ACEOF
28221 cat confdefs.h >>conftest.$ac_ext
28222 cat >>conftest.$ac_ext <<_ACEOF
28223 /* end confdefs.h. */
28224
28225
28226 #include <zlib.h>
28227 _ACEOF
28228 rm -f conftest.$ac_objext
28229 if { (ac_try="$ac_compile"
28230 case "(($ac_try" in
28231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28232 *) ac_try_echo=$ac_try;;
28233 esac
28234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28235 (eval "$ac_compile") 2>conftest.er1
28236 ac_status=$?
28237 grep -v '^ *+' conftest.er1 >conftest.err
28238 rm -f conftest.er1
28239 cat conftest.err >&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); } && {
28242 test -z "$ac_c_werror_flag" ||
28243 test ! -s conftest.err
28244 } && test -s conftest.$ac_objext; then
28245 ac_cv_header_zlib_h=yes
28246 else
28247 echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.$ac_ext >&5
28249
28250 ac_cv_header_zlib_h=no
28251 fi
28252
28253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28254 fi
28255 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28256 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28257
28258
28259
28260 system_zlib_h_ok=$ac_cv_header_zlib_h
28261 fi
28262
28263 if test "$system_zlib_h_ok" = "yes"; then
28264 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28265 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28266 if test "${ac_cv_lib_z_deflate+set}" = set; then
28267 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 else
28269 ac_check_lib_save_LIBS=$LIBS
28270 LIBS="-lz $LIBS"
28271 cat >conftest.$ac_ext <<_ACEOF
28272 /* confdefs.h. */
28273 _ACEOF
28274 cat confdefs.h >>conftest.$ac_ext
28275 cat >>conftest.$ac_ext <<_ACEOF
28276 /* end confdefs.h. */
28277
28278 /* Override any GCC internal prototype to avoid an error.
28279 Use char because int might match the return type of a GCC
28280 builtin and then its argument prototype would still apply. */
28281 #ifdef __cplusplus
28282 extern "C"
28283 #endif
28284 char deflate ();
28285 int
28286 main ()
28287 {
28288 return deflate ();
28289 ;
28290 return 0;
28291 }
28292 _ACEOF
28293 rm -f conftest.$ac_objext conftest$ac_exeext
28294 if { (ac_try="$ac_link"
28295 case "(($ac_try" in
28296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28297 *) ac_try_echo=$ac_try;;
28298 esac
28299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28300 (eval "$ac_link") 2>conftest.er1
28301 ac_status=$?
28302 grep -v '^ *+' conftest.er1 >conftest.err
28303 rm -f conftest.er1
28304 cat conftest.err >&5
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); } && {
28307 test -z "$ac_c_werror_flag" ||
28308 test ! -s conftest.err
28309 } && test -s conftest$ac_exeext &&
28310 $as_test_x conftest$ac_exeext; then
28311 ac_cv_lib_z_deflate=yes
28312 else
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28315
28316 ac_cv_lib_z_deflate=no
28317 fi
28318
28319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28320 conftest$ac_exeext conftest.$ac_ext
28321 LIBS=$ac_check_lib_save_LIBS
28322 fi
28323 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28324 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28325 if test $ac_cv_lib_z_deflate = yes; then
28326 ZLIB_LINK=" -lz"
28327 fi
28328
28329 fi
28330
28331 if test "x$ZLIB_LINK" = "x" ; then
28332 if test "$wxUSE_ZLIB" = "sys" ; then
28333 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28334 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28335 { (exit 1); exit 1; }; }
28336 else
28337 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28338 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28339 wxUSE_ZLIB=builtin
28340 fi
28341 else
28342 wxUSE_ZLIB=sys
28343 fi
28344 fi
28345 fi
28346
28347
28348 PNG_LINK=
28349 if test "$wxUSE_LIBPNG" != "no" ; then
28350 cat >>confdefs.h <<\_ACEOF
28351 #define wxUSE_LIBPNG 1
28352 _ACEOF
28353
28354
28355 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28356 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28357 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28358 wxUSE_LIBPNG=sys
28359 fi
28360
28361 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28362 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28363 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28364 wxUSE_LIBPNG=builtin
28365 fi
28366
28367 if test "$wxUSE_MGL" != 1 ; then
28368 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28369 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28370 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28371 if test "${ac_cv_header_png_h+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 else
28374 if test "$cross_compiling" = yes; then
28375 unset ac_cv_header_png_h
28376
28377 else
28378 cat >conftest.$ac_ext <<_ACEOF
28379 /* confdefs.h. */
28380 _ACEOF
28381 cat confdefs.h >>conftest.$ac_ext
28382 cat >>conftest.$ac_ext <<_ACEOF
28383 /* end confdefs.h. */
28384
28385 #include <png.h>
28386 #include <stdio.h>
28387
28388 int main()
28389 {
28390 FILE *f=fopen("conftestval", "w");
28391 if (!f) exit(1);
28392 fprintf(f, "%s",
28393 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28394 exit(0);
28395 }
28396
28397 _ACEOF
28398 rm -f conftest$ac_exeext
28399 if { (ac_try="$ac_link"
28400 case "(($ac_try" in
28401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28402 *) ac_try_echo=$ac_try;;
28403 esac
28404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_link") 2>&5
28406 ac_status=$?
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28409 { (case "(($ac_try" in
28410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28411 *) ac_try_echo=$ac_try;;
28412 esac
28413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28414 (eval "$ac_try") 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; }; then
28418 ac_cv_header_png_h=`cat conftestval`
28419 else
28420 echo "$as_me: program exited with status $ac_status" >&5
28421 echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.$ac_ext >&5
28423
28424 ( exit $ac_status )
28425 ac_cv_header_png_h=no
28426 fi
28427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28428 fi
28429
28430
28431
28432 fi
28433 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28434 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28435 { echo "$as_me:$LINENO: checking for png.h" >&5
28436 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28437 if test "${ac_cv_header_png_h+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28439 else
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447
28448 #include <png.h>
28449 _ACEOF
28450 rm -f conftest.$ac_objext
28451 if { (ac_try="$ac_compile"
28452 case "(($ac_try" in
28453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28455 esac
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_compile") 2>conftest.er1
28458 ac_status=$?
28459 grep -v '^ *+' conftest.er1 >conftest.err
28460 rm -f conftest.er1
28461 cat conftest.err >&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } && {
28464 test -z "$ac_c_werror_flag" ||
28465 test ! -s conftest.err
28466 } && test -s conftest.$ac_objext; then
28467 ac_cv_header_png_h=yes
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_cv_header_png_h=no
28473 fi
28474
28475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476 fi
28477 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28478 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28479
28480
28481
28482 if test "$ac_cv_header_png_h" = "yes"; then
28483 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28484 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28485 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 else
28488 ac_check_lib_save_LIBS=$LIBS
28489 LIBS="-lpng -lz -lm $LIBS"
28490 cat >conftest.$ac_ext <<_ACEOF
28491 /* confdefs.h. */
28492 _ACEOF
28493 cat confdefs.h >>conftest.$ac_ext
28494 cat >>conftest.$ac_ext <<_ACEOF
28495 /* end confdefs.h. */
28496
28497 /* Override any GCC internal prototype to avoid an error.
28498 Use char because int might match the return type of a GCC
28499 builtin and then its argument prototype would still apply. */
28500 #ifdef __cplusplus
28501 extern "C"
28502 #endif
28503 char png_check_sig ();
28504 int
28505 main ()
28506 {
28507 return png_check_sig ();
28508 ;
28509 return 0;
28510 }
28511 _ACEOF
28512 rm -f conftest.$ac_objext conftest$ac_exeext
28513 if { (ac_try="$ac_link"
28514 case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28516 *) ac_try_echo=$ac_try;;
28517 esac
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_link") 2>conftest.er1
28520 ac_status=$?
28521 grep -v '^ *+' conftest.er1 >conftest.err
28522 rm -f conftest.er1
28523 cat conftest.err >&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } && {
28526 test -z "$ac_c_werror_flag" ||
28527 test ! -s conftest.err
28528 } && test -s conftest$ac_exeext &&
28529 $as_test_x conftest$ac_exeext; then
28530 ac_cv_lib_png_png_check_sig=yes
28531 else
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28534
28535 ac_cv_lib_png_png_check_sig=no
28536 fi
28537
28538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28539 conftest$ac_exeext conftest.$ac_ext
28540 LIBS=$ac_check_lib_save_LIBS
28541 fi
28542 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28543 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28544 if test $ac_cv_lib_png_png_check_sig = yes; then
28545 PNG_LINK=" -lpng -lz"
28546 fi
28547
28548 fi
28549
28550 if test "x$PNG_LINK" = "x" ; then
28551 if test "$wxUSE_LIBPNG" = "sys" ; then
28552 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28553 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28554 { (exit 1); exit 1; }; }
28555 else
28556 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28557 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28558 wxUSE_LIBPNG=builtin
28559 fi
28560 else
28561 wxUSE_LIBPNG=sys
28562 fi
28563 fi
28564 fi
28565
28566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28567 fi
28568
28569
28570 JPEG_LINK=
28571 if test "$wxUSE_LIBJPEG" != "no" ; then
28572 cat >>confdefs.h <<\_ACEOF
28573 #define wxUSE_LIBJPEG 1
28574 _ACEOF
28575
28576
28577 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28578 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28579 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28580 wxUSE_LIBJPEG=sys
28581 fi
28582
28583 if test "$wxUSE_MGL" != 1 ; then
28584 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28585 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28586 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28587 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28588 echo $ECHO_N "(cached) $ECHO_C" >&6
28589 else
28590 cat >conftest.$ac_ext <<_ACEOF
28591 /* confdefs.h. */
28592 _ACEOF
28593 cat confdefs.h >>conftest.$ac_ext
28594 cat >>conftest.$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28596
28597 #undef HAVE_STDLIB_H
28598 #include <stdio.h>
28599 #include <jpeglib.h>
28600
28601 int
28602 main ()
28603 {
28604
28605
28606 ;
28607 return 0;
28608 }
28609 _ACEOF
28610 rm -f conftest.$ac_objext
28611 if { (ac_try="$ac_compile"
28612 case "(($ac_try" in
28613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28614 *) ac_try_echo=$ac_try;;
28615 esac
28616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28617 (eval "$ac_compile") 2>conftest.er1
28618 ac_status=$?
28619 grep -v '^ *+' conftest.er1 >conftest.err
28620 rm -f conftest.er1
28621 cat conftest.err >&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); } && {
28624 test -z "$ac_c_werror_flag" ||
28625 test ! -s conftest.err
28626 } && test -s conftest.$ac_objext; then
28627 ac_cv_header_jpeglib_h=yes
28628 else
28629 echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.$ac_ext >&5
28631
28632 ac_cv_header_jpeglib_h=no
28633
28634 fi
28635
28636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28637
28638 fi
28639
28640 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28641 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28642
28643 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28644 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28645 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28646 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28647 echo $ECHO_N "(cached) $ECHO_C" >&6
28648 else
28649 ac_check_lib_save_LIBS=$LIBS
28650 LIBS="-ljpeg $LIBS"
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657
28658 /* Override any GCC internal prototype to avoid an error.
28659 Use char because int might match the return type of a GCC
28660 builtin and then its argument prototype would still apply. */
28661 #ifdef __cplusplus
28662 extern "C"
28663 #endif
28664 char jpeg_read_header ();
28665 int
28666 main ()
28667 {
28668 return jpeg_read_header ();
28669 ;
28670 return 0;
28671 }
28672 _ACEOF
28673 rm -f conftest.$ac_objext conftest$ac_exeext
28674 if { (ac_try="$ac_link"
28675 case "(($ac_try" in
28676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28677 *) ac_try_echo=$ac_try;;
28678 esac
28679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28680 (eval "$ac_link") 2>conftest.er1
28681 ac_status=$?
28682 grep -v '^ *+' conftest.er1 >conftest.err
28683 rm -f conftest.er1
28684 cat conftest.err >&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); } && {
28687 test -z "$ac_c_werror_flag" ||
28688 test ! -s conftest.err
28689 } && test -s conftest$ac_exeext &&
28690 $as_test_x conftest$ac_exeext; then
28691 ac_cv_lib_jpeg_jpeg_read_header=yes
28692 else
28693 echo "$as_me: failed program was:" >&5
28694 sed 's/^/| /' conftest.$ac_ext >&5
28695
28696 ac_cv_lib_jpeg_jpeg_read_header=no
28697 fi
28698
28699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28700 conftest$ac_exeext conftest.$ac_ext
28701 LIBS=$ac_check_lib_save_LIBS
28702 fi
28703 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28704 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28705 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28706 JPEG_LINK=" -ljpeg"
28707 fi
28708
28709 fi
28710
28711 if test "x$JPEG_LINK" = "x" ; then
28712 if test "$wxUSE_LIBJPEG" = "sys" ; then
28713 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28714 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28715 { (exit 1); exit 1; }; }
28716 else
28717 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28718 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28719 wxUSE_LIBJPEG=builtin
28720 fi
28721 else
28722 wxUSE_LIBJPEG=sys
28723
28724 if test "$wxUSE_MSW" = 1; then
28725 { echo "$as_me:$LINENO: checking for boolean" >&5
28726 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28727 if test "${ac_cv_type_boolean+set}" = set; then
28728 echo $ECHO_N "(cached) $ECHO_C" >&6
28729 else
28730 cat >conftest.$ac_ext <<_ACEOF
28731 /* confdefs.h. */
28732 _ACEOF
28733 cat confdefs.h >>conftest.$ac_ext
28734 cat >>conftest.$ac_ext <<_ACEOF
28735 /* end confdefs.h. */
28736 #include <windows.h>
28737
28738 typedef boolean ac__type_new_;
28739 int
28740 main ()
28741 {
28742 if ((ac__type_new_ *) 0)
28743 return 0;
28744 if (sizeof (ac__type_new_))
28745 return 0;
28746 ;
28747 return 0;
28748 }
28749 _ACEOF
28750 rm -f conftest.$ac_objext
28751 if { (ac_try="$ac_compile"
28752 case "(($ac_try" in
28753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28755 esac
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_compile") 2>conftest.er1
28758 ac_status=$?
28759 grep -v '^ *+' conftest.er1 >conftest.err
28760 rm -f conftest.er1
28761 cat conftest.err >&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); } && {
28764 test -z "$ac_c_werror_flag" ||
28765 test ! -s conftest.err
28766 } && test -s conftest.$ac_objext; then
28767 ac_cv_type_boolean=yes
28768 else
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28771
28772 ac_cv_type_boolean=no
28773 fi
28774
28775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28776 fi
28777 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28778 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28779 if test $ac_cv_type_boolean = yes; then
28780
28781 cat >>confdefs.h <<_ACEOF
28782 #define HAVE_BOOLEAN 1
28783 _ACEOF
28784
28785
28786 { echo "$as_me:$LINENO: checking for boolean" >&5
28787 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28788 if test "${ac_cv_type_boolean+set}" = set; then
28789 echo $ECHO_N "(cached) $ECHO_C" >&6
28790 else
28791 cat >conftest.$ac_ext <<_ACEOF
28792 /* confdefs.h. */
28793 _ACEOF
28794 cat confdefs.h >>conftest.$ac_ext
28795 cat >>conftest.$ac_ext <<_ACEOF
28796 /* end confdefs.h. */
28797
28798 #undef HAVE_BOOLEAN
28799 #include <stdio.h>
28800 #include <jpeglib.h>
28801
28802
28803 typedef boolean ac__type_new_;
28804 int
28805 main ()
28806 {
28807 if ((ac__type_new_ *) 0)
28808 return 0;
28809 if (sizeof (ac__type_new_))
28810 return 0;
28811 ;
28812 return 0;
28813 }
28814 _ACEOF
28815 rm -f conftest.$ac_objext
28816 if { (ac_try="$ac_compile"
28817 case "(($ac_try" in
28818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28819 *) ac_try_echo=$ac_try;;
28820 esac
28821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28822 (eval "$ac_compile") 2>conftest.er1
28823 ac_status=$?
28824 grep -v '^ *+' conftest.er1 >conftest.err
28825 rm -f conftest.er1
28826 cat conftest.err >&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); } && {
28829 test -z "$ac_c_werror_flag" ||
28830 test ! -s conftest.err
28831 } && test -s conftest.$ac_objext; then
28832 ac_cv_type_boolean=yes
28833 else
28834 echo "$as_me: failed program was:" >&5
28835 sed 's/^/| /' conftest.$ac_ext >&5
28836
28837 ac_cv_type_boolean=no
28838 fi
28839
28840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28841 fi
28842 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28843 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28844
28845 # The cast to long int works around a bug in the HP C Compiler
28846 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28847 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28848 # This bug is HP SR number 8606223364.
28849 { echo "$as_me:$LINENO: checking size of boolean" >&5
28850 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28851 if test "${ac_cv_sizeof_boolean+set}" = set; then
28852 echo $ECHO_N "(cached) $ECHO_C" >&6
28853 else
28854 if test "$cross_compiling" = yes; then
28855 # Depending upon the size, compute the lo and hi bounds.
28856 cat >conftest.$ac_ext <<_ACEOF
28857 /* confdefs.h. */
28858 _ACEOF
28859 cat confdefs.h >>conftest.$ac_ext
28860 cat >>conftest.$ac_ext <<_ACEOF
28861 /* end confdefs.h. */
28862
28863 #undef HAVE_BOOLEAN
28864 #include <stdio.h>
28865 #include <jpeglib.h>
28866
28867
28868 typedef boolean ac__type_sizeof_;
28869 int
28870 main ()
28871 {
28872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28873 test_array [0] = 0
28874
28875 ;
28876 return 0;
28877 }
28878 _ACEOF
28879 rm -f conftest.$ac_objext
28880 if { (ac_try="$ac_compile"
28881 case "(($ac_try" in
28882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28883 *) ac_try_echo=$ac_try;;
28884 esac
28885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28886 (eval "$ac_compile") 2>conftest.er1
28887 ac_status=$?
28888 grep -v '^ *+' conftest.er1 >conftest.err
28889 rm -f conftest.er1
28890 cat conftest.err >&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } && {
28893 test -z "$ac_c_werror_flag" ||
28894 test ! -s conftest.err
28895 } && test -s conftest.$ac_objext; then
28896 ac_lo=0 ac_mid=0
28897 while :; do
28898 cat >conftest.$ac_ext <<_ACEOF
28899 /* confdefs.h. */
28900 _ACEOF
28901 cat confdefs.h >>conftest.$ac_ext
28902 cat >>conftest.$ac_ext <<_ACEOF
28903 /* end confdefs.h. */
28904
28905 #undef HAVE_BOOLEAN
28906 #include <stdio.h>
28907 #include <jpeglib.h>
28908
28909
28910 typedef boolean ac__type_sizeof_;
28911 int
28912 main ()
28913 {
28914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28915 test_array [0] = 0
28916
28917 ;
28918 return 0;
28919 }
28920 _ACEOF
28921 rm -f conftest.$ac_objext
28922 if { (ac_try="$ac_compile"
28923 case "(($ac_try" in
28924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28925 *) ac_try_echo=$ac_try;;
28926 esac
28927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28928 (eval "$ac_compile") 2>conftest.er1
28929 ac_status=$?
28930 grep -v '^ *+' conftest.er1 >conftest.err
28931 rm -f conftest.er1
28932 cat conftest.err >&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); } && {
28935 test -z "$ac_c_werror_flag" ||
28936 test ! -s conftest.err
28937 } && test -s conftest.$ac_objext; then
28938 ac_hi=$ac_mid; break
28939 else
28940 echo "$as_me: failed program was:" >&5
28941 sed 's/^/| /' conftest.$ac_ext >&5
28942
28943 ac_lo=`expr $ac_mid + 1`
28944 if test $ac_lo -le $ac_mid; then
28945 ac_lo= ac_hi=
28946 break
28947 fi
28948 ac_mid=`expr 2 '*' $ac_mid + 1`
28949 fi
28950
28951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28952 done
28953 else
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.$ac_ext >&5
28956
28957 cat >conftest.$ac_ext <<_ACEOF
28958 /* confdefs.h. */
28959 _ACEOF
28960 cat confdefs.h >>conftest.$ac_ext
28961 cat >>conftest.$ac_ext <<_ACEOF
28962 /* end confdefs.h. */
28963
28964 #undef HAVE_BOOLEAN
28965 #include <stdio.h>
28966 #include <jpeglib.h>
28967
28968
28969 typedef boolean ac__type_sizeof_;
28970 int
28971 main ()
28972 {
28973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28974 test_array [0] = 0
28975
28976 ;
28977 return 0;
28978 }
28979 _ACEOF
28980 rm -f conftest.$ac_objext
28981 if { (ac_try="$ac_compile"
28982 case "(($ac_try" in
28983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28984 *) ac_try_echo=$ac_try;;
28985 esac
28986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28987 (eval "$ac_compile") 2>conftest.er1
28988 ac_status=$?
28989 grep -v '^ *+' conftest.er1 >conftest.err
28990 rm -f conftest.er1
28991 cat conftest.err >&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); } && {
28994 test -z "$ac_c_werror_flag" ||
28995 test ! -s conftest.err
28996 } && test -s conftest.$ac_objext; then
28997 ac_hi=-1 ac_mid=-1
28998 while :; do
28999 cat >conftest.$ac_ext <<_ACEOF
29000 /* confdefs.h. */
29001 _ACEOF
29002 cat confdefs.h >>conftest.$ac_ext
29003 cat >>conftest.$ac_ext <<_ACEOF
29004 /* end confdefs.h. */
29005
29006 #undef HAVE_BOOLEAN
29007 #include <stdio.h>
29008 #include <jpeglib.h>
29009
29010
29011 typedef boolean ac__type_sizeof_;
29012 int
29013 main ()
29014 {
29015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29016 test_array [0] = 0
29017
29018 ;
29019 return 0;
29020 }
29021 _ACEOF
29022 rm -f conftest.$ac_objext
29023 if { (ac_try="$ac_compile"
29024 case "(($ac_try" in
29025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29026 *) ac_try_echo=$ac_try;;
29027 esac
29028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29029 (eval "$ac_compile") 2>conftest.er1
29030 ac_status=$?
29031 grep -v '^ *+' conftest.er1 >conftest.err
29032 rm -f conftest.er1
29033 cat conftest.err >&5
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); } && {
29036 test -z "$ac_c_werror_flag" ||
29037 test ! -s conftest.err
29038 } && test -s conftest.$ac_objext; then
29039 ac_lo=$ac_mid; break
29040 else
29041 echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.$ac_ext >&5
29043
29044 ac_hi=`expr '(' $ac_mid ')' - 1`
29045 if test $ac_mid -le $ac_hi; then
29046 ac_lo= ac_hi=
29047 break
29048 fi
29049 ac_mid=`expr 2 '*' $ac_mid`
29050 fi
29051
29052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29053 done
29054 else
29055 echo "$as_me: failed program was:" >&5
29056 sed 's/^/| /' conftest.$ac_ext >&5
29057
29058 ac_lo= ac_hi=
29059 fi
29060
29061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29062 fi
29063
29064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29065 # Binary search between lo and hi bounds.
29066 while test "x$ac_lo" != "x$ac_hi"; do
29067 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29068 cat >conftest.$ac_ext <<_ACEOF
29069 /* confdefs.h. */
29070 _ACEOF
29071 cat confdefs.h >>conftest.$ac_ext
29072 cat >>conftest.$ac_ext <<_ACEOF
29073 /* end confdefs.h. */
29074
29075 #undef HAVE_BOOLEAN
29076 #include <stdio.h>
29077 #include <jpeglib.h>
29078
29079
29080 typedef boolean ac__type_sizeof_;
29081 int
29082 main ()
29083 {
29084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29085 test_array [0] = 0
29086
29087 ;
29088 return 0;
29089 }
29090 _ACEOF
29091 rm -f conftest.$ac_objext
29092 if { (ac_try="$ac_compile"
29093 case "(($ac_try" in
29094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29095 *) ac_try_echo=$ac_try;;
29096 esac
29097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29098 (eval "$ac_compile") 2>conftest.er1
29099 ac_status=$?
29100 grep -v '^ *+' conftest.er1 >conftest.err
29101 rm -f conftest.er1
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } && {
29105 test -z "$ac_c_werror_flag" ||
29106 test ! -s conftest.err
29107 } && test -s conftest.$ac_objext; then
29108 ac_hi=$ac_mid
29109 else
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.$ac_ext >&5
29112
29113 ac_lo=`expr '(' $ac_mid ')' + 1`
29114 fi
29115
29116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29117 done
29118 case $ac_lo in
29119 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29120 '') if test "$ac_cv_type_boolean" = yes; then
29121 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29122 See \`config.log' for more details." >&5
29123 echo "$as_me: error: cannot compute sizeof (boolean)
29124 See \`config.log' for more details." >&2;}
29125 { (exit 77); exit 77; }; }
29126 else
29127 ac_cv_sizeof_boolean=0
29128 fi ;;
29129 esac
29130 else
29131 cat >conftest.$ac_ext <<_ACEOF
29132 /* confdefs.h. */
29133 _ACEOF
29134 cat confdefs.h >>conftest.$ac_ext
29135 cat >>conftest.$ac_ext <<_ACEOF
29136 /* end confdefs.h. */
29137
29138 #undef HAVE_BOOLEAN
29139 #include <stdio.h>
29140 #include <jpeglib.h>
29141
29142
29143 typedef boolean ac__type_sizeof_;
29144 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29145 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29146 #include <stdio.h>
29147 #include <stdlib.h>
29148 int
29149 main ()
29150 {
29151
29152 FILE *f = fopen ("conftest.val", "w");
29153 if (! f)
29154 return 1;
29155 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29156 {
29157 long int i = longval ();
29158 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29159 return 1;
29160 fprintf (f, "%ld\n", i);
29161 }
29162 else
29163 {
29164 unsigned long int i = ulongval ();
29165 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29166 return 1;
29167 fprintf (f, "%lu\n", i);
29168 }
29169 return ferror (f) || fclose (f) != 0;
29170
29171 ;
29172 return 0;
29173 }
29174 _ACEOF
29175 rm -f conftest$ac_exeext
29176 if { (ac_try="$ac_link"
29177 case "(($ac_try" in
29178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29179 *) ac_try_echo=$ac_try;;
29180 esac
29181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29182 (eval "$ac_link") 2>&5
29183 ac_status=$?
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29186 { (case "(($ac_try" in
29187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29188 *) ac_try_echo=$ac_try;;
29189 esac
29190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29191 (eval "$ac_try") 2>&5
29192 ac_status=$?
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; }; then
29195 ac_cv_sizeof_boolean=`cat conftest.val`
29196 else
29197 echo "$as_me: program exited with status $ac_status" >&5
29198 echo "$as_me: failed program was:" >&5
29199 sed 's/^/| /' conftest.$ac_ext >&5
29200
29201 ( exit $ac_status )
29202 if test "$ac_cv_type_boolean" = yes; then
29203 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29204 See \`config.log' for more details." >&5
29205 echo "$as_me: error: cannot compute sizeof (boolean)
29206 See \`config.log' for more details." >&2;}
29207 { (exit 77); exit 77; }; }
29208 else
29209 ac_cv_sizeof_boolean=0
29210 fi
29211 fi
29212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29213 fi
29214 rm -f conftest.val
29215 fi
29216 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29217 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29218
29219
29220
29221 cat >>confdefs.h <<_ACEOF
29222 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29223 _ACEOF
29224
29225
29226 cat >>confdefs.h <<_ACEOF
29227 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29228 _ACEOF
29229
29230
29231 fi
29232
29233 fi
29234 fi
29235 fi
29236 fi
29237 fi
29238
29239
29240 TIFF_LINK=
29241 TIFF_PREREQ_LINKS=-lm
29242 if test "$wxUSE_LIBTIFF" != "no" ; then
29243 cat >>confdefs.h <<\_ACEOF
29244 #define wxUSE_LIBTIFF 1
29245 _ACEOF
29246
29247
29248 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29249 if test "$wxUSE_LIBJPEG" = "sys"; then
29250 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29251 fi
29252 if test "$wxUSE_ZLIB" = "sys"; then
29253 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29254 fi
29255 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29256 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29257 if test "${ac_cv_header_tiffio_h+set}" = set; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 else
29260 cat >conftest.$ac_ext <<_ACEOF
29261 /* confdefs.h. */
29262 _ACEOF
29263 cat confdefs.h >>conftest.$ac_ext
29264 cat >>conftest.$ac_ext <<_ACEOF
29265 /* end confdefs.h. */
29266
29267
29268
29269 #include <tiffio.h>
29270 _ACEOF
29271 rm -f conftest.$ac_objext
29272 if { (ac_try="$ac_compile"
29273 case "(($ac_try" in
29274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29275 *) ac_try_echo=$ac_try;;
29276 esac
29277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29278 (eval "$ac_compile") 2>conftest.er1
29279 ac_status=$?
29280 grep -v '^ *+' conftest.er1 >conftest.err
29281 rm -f conftest.er1
29282 cat conftest.err >&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } && {
29285 test -z "$ac_c_werror_flag" ||
29286 test ! -s conftest.err
29287 } && test -s conftest.$ac_objext; then
29288 ac_cv_header_tiffio_h=yes
29289 else
29290 echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29292
29293 ac_cv_header_tiffio_h=no
29294 fi
29295
29296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29297 fi
29298 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29299 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29300 if test $ac_cv_header_tiffio_h = yes; then
29301
29302 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29303 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29304 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29306 else
29307 ac_check_lib_save_LIBS=$LIBS
29308 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29309 cat >conftest.$ac_ext <<_ACEOF
29310 /* confdefs.h. */
29311 _ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29315
29316 /* Override any GCC internal prototype to avoid an error.
29317 Use char because int might match the return type of a GCC
29318 builtin and then its argument prototype would still apply. */
29319 #ifdef __cplusplus
29320 extern "C"
29321 #endif
29322 char TIFFError ();
29323 int
29324 main ()
29325 {
29326 return TIFFError ();
29327 ;
29328 return 0;
29329 }
29330 _ACEOF
29331 rm -f conftest.$ac_objext conftest$ac_exeext
29332 if { (ac_try="$ac_link"
29333 case "(($ac_try" in
29334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29335 *) ac_try_echo=$ac_try;;
29336 esac
29337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29338 (eval "$ac_link") 2>conftest.er1
29339 ac_status=$?
29340 grep -v '^ *+' conftest.er1 >conftest.err
29341 rm -f conftest.er1
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } && {
29345 test -z "$ac_c_werror_flag" ||
29346 test ! -s conftest.err
29347 } && test -s conftest$ac_exeext &&
29348 $as_test_x conftest$ac_exeext; then
29349 ac_cv_lib_tiff_TIFFError=yes
29350 else
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.$ac_ext >&5
29353
29354 ac_cv_lib_tiff_TIFFError=no
29355 fi
29356
29357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29358 conftest$ac_exeext conftest.$ac_ext
29359 LIBS=$ac_check_lib_save_LIBS
29360 fi
29361 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29362 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29363 if test $ac_cv_lib_tiff_TIFFError = yes; then
29364 TIFF_LINK=" -ltiff"
29365 fi
29366
29367
29368 fi
29369
29370
29371
29372 if test "x$TIFF_LINK" = "x" ; then
29373 if test "$wxUSE_LIBTIFF" = "sys" ; then
29374 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29375 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29376 { (exit 1); exit 1; }; }
29377 else
29378 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29379 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29380 wxUSE_LIBTIFF=builtin
29381 fi
29382 else
29383 wxUSE_LIBTIFF=sys
29384 fi
29385 fi
29386 fi
29387
29388
29389 if test "$wxUSE_WCHAR_T" != "yes"; then
29390 if test "$wxUSE_EXPAT" != "no"; then
29391 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29392 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29393 wxUSE_EXPAT=no
29394 fi
29395 if test "$wxUSE_XML" != "no"; then
29396 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29397 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29398 wxUSE_XML=no
29399 fi
29400 fi
29401
29402 if test "$wxUSE_EXPAT" != "no"; then
29403 wxUSE_XML=yes
29404 cat >>confdefs.h <<\_ACEOF
29405 #define wxUSE_EXPAT 1
29406 _ACEOF
29407
29408 cat >>confdefs.h <<\_ACEOF
29409 #define wxUSE_XML 1
29410 _ACEOF
29411
29412
29413 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29414 { echo "$as_me:$LINENO: checking for expat.h" >&5
29415 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29416 if test "${ac_cv_header_expat_h+set}" = set; then
29417 echo $ECHO_N "(cached) $ECHO_C" >&6
29418 else
29419 cat >conftest.$ac_ext <<_ACEOF
29420 /* confdefs.h. */
29421 _ACEOF
29422 cat confdefs.h >>conftest.$ac_ext
29423 cat >>conftest.$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29425
29426
29427 #include <expat.h>
29428 _ACEOF
29429 rm -f conftest.$ac_objext
29430 if { (ac_try="$ac_compile"
29431 case "(($ac_try" in
29432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29433 *) ac_try_echo=$ac_try;;
29434 esac
29435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29436 (eval "$ac_compile") 2>conftest.er1
29437 ac_status=$?
29438 grep -v '^ *+' conftest.er1 >conftest.err
29439 rm -f conftest.er1
29440 cat conftest.err >&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); } && {
29443 test -z "$ac_c_werror_flag" ||
29444 test ! -s conftest.err
29445 } && test -s conftest.$ac_objext; then
29446 ac_cv_header_expat_h=yes
29447 else
29448 echo "$as_me: failed program was:" >&5
29449 sed 's/^/| /' conftest.$ac_ext >&5
29450
29451 ac_cv_header_expat_h=no
29452 fi
29453
29454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29455 fi
29456 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29457 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29458 if test $ac_cv_header_expat_h = yes; then
29459 found_expat_h=1
29460 fi
29461
29462
29463 if test "x$found_expat_h" = "x1"; then
29464 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29465 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29466 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29467 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 else
29469
29470 ac_ext=cpp
29471 ac_cpp='$CXXCPP $CPPFLAGS'
29472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29475
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482 #include <expat.h>
29483 int
29484 main ()
29485 {
29486
29487 ;
29488 return 0;
29489 }
29490 _ACEOF
29491 rm -f conftest.$ac_objext
29492 if { (ac_try="$ac_compile"
29493 case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29496 esac
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_compile") 2>conftest.er1
29499 ac_status=$?
29500 grep -v '^ *+' conftest.er1 >conftest.err
29501 rm -f conftest.er1
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_cxx_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest.$ac_objext; then
29508 wx_cv_expat_is_not_broken=yes
29509 else
29510 echo "$as_me: failed program was:" >&5
29511 sed 's/^/| /' conftest.$ac_ext >&5
29512
29513 wx_cv_expat_is_not_broken=no
29514
29515 fi
29516
29517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29518 ac_ext=c
29519 ac_cpp='$CPP $CPPFLAGS'
29520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29523
29524
29525
29526 fi
29527 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29528 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29529 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29530 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29531 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29532 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29533 echo $ECHO_N "(cached) $ECHO_C" >&6
29534 else
29535 ac_check_lib_save_LIBS=$LIBS
29536 LIBS="-lexpat $LIBS"
29537 cat >conftest.$ac_ext <<_ACEOF
29538 /* confdefs.h. */
29539 _ACEOF
29540 cat confdefs.h >>conftest.$ac_ext
29541 cat >>conftest.$ac_ext <<_ACEOF
29542 /* end confdefs.h. */
29543
29544 /* Override any GCC internal prototype to avoid an error.
29545 Use char because int might match the return type of a GCC
29546 builtin and then its argument prototype would still apply. */
29547 #ifdef __cplusplus
29548 extern "C"
29549 #endif
29550 char XML_ParserCreate ();
29551 int
29552 main ()
29553 {
29554 return XML_ParserCreate ();
29555 ;
29556 return 0;
29557 }
29558 _ACEOF
29559 rm -f conftest.$ac_objext conftest$ac_exeext
29560 if { (ac_try="$ac_link"
29561 case "(($ac_try" in
29562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29563 *) ac_try_echo=$ac_try;;
29564 esac
29565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29566 (eval "$ac_link") 2>conftest.er1
29567 ac_status=$?
29568 grep -v '^ *+' conftest.er1 >conftest.err
29569 rm -f conftest.er1
29570 cat conftest.err >&5
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } && {
29573 test -z "$ac_c_werror_flag" ||
29574 test ! -s conftest.err
29575 } && test -s conftest$ac_exeext &&
29576 $as_test_x conftest$ac_exeext; then
29577 ac_cv_lib_expat_XML_ParserCreate=yes
29578 else
29579 echo "$as_me: failed program was:" >&5
29580 sed 's/^/| /' conftest.$ac_ext >&5
29581
29582 ac_cv_lib_expat_XML_ParserCreate=no
29583 fi
29584
29585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29586 conftest$ac_exeext conftest.$ac_ext
29587 LIBS=$ac_check_lib_save_LIBS
29588 fi
29589 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29590 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29591 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29592 EXPAT_LINK=" -lexpat"
29593 fi
29594
29595 fi
29596 fi
29597 if test "x$EXPAT_LINK" = "x" ; then
29598 if test "$wxUSE_EXPAT" = "sys" ; then
29599 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29600 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29601 { (exit 1); exit 1; }; }
29602 else
29603 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29604 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29605 wxUSE_EXPAT=builtin
29606 fi
29607 else
29608 wxUSE_EXPAT=sys
29609 fi
29610 fi
29611 if test "$wxUSE_EXPAT" = "builtin" ; then
29612 subdirs="$subdirs src/expat"
29613
29614 fi
29615 fi
29616
29617
29618
29619 if test "$wxUSE_LIBMSPACK" != "no"; then
29620 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29621 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29622 if test "${ac_cv_header_mspack_h+set}" = set; then
29623 echo $ECHO_N "(cached) $ECHO_C" >&6
29624 else
29625 cat >conftest.$ac_ext <<_ACEOF
29626 /* confdefs.h. */
29627 _ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631
29632
29633 #include <mspack.h>
29634 _ACEOF
29635 rm -f conftest.$ac_objext
29636 if { (ac_try="$ac_compile"
29637 case "(($ac_try" in
29638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29639 *) ac_try_echo=$ac_try;;
29640 esac
29641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29642 (eval "$ac_compile") 2>conftest.er1
29643 ac_status=$?
29644 grep -v '^ *+' conftest.er1 >conftest.err
29645 rm -f conftest.er1
29646 cat conftest.err >&5
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); } && {
29649 test -z "$ac_c_werror_flag" ||
29650 test ! -s conftest.err
29651 } && test -s conftest.$ac_objext; then
29652 ac_cv_header_mspack_h=yes
29653 else
29654 echo "$as_me: failed program was:" >&5
29655 sed 's/^/| /' conftest.$ac_ext >&5
29656
29657 ac_cv_header_mspack_h=no
29658 fi
29659
29660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29661 fi
29662 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29663 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29664 if test $ac_cv_header_mspack_h = yes; then
29665 found_mspack_h=1
29666 fi
29667
29668
29669 if test "x$found_mspack_h" = "x1"; then
29670 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29671 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29672 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29673 echo $ECHO_N "(cached) $ECHO_C" >&6
29674 else
29675 ac_check_lib_save_LIBS=$LIBS
29676 LIBS="-lmspack $LIBS"
29677 cat >conftest.$ac_ext <<_ACEOF
29678 /* confdefs.h. */
29679 _ACEOF
29680 cat confdefs.h >>conftest.$ac_ext
29681 cat >>conftest.$ac_ext <<_ACEOF
29682 /* end confdefs.h. */
29683
29684 /* Override any GCC internal prototype to avoid an error.
29685 Use char because int might match the return type of a GCC
29686 builtin and then its argument prototype would still apply. */
29687 #ifdef __cplusplus
29688 extern "C"
29689 #endif
29690 char mspack_create_chm_decompressor ();
29691 int
29692 main ()
29693 {
29694 return mspack_create_chm_decompressor ();
29695 ;
29696 return 0;
29697 }
29698 _ACEOF
29699 rm -f conftest.$ac_objext conftest$ac_exeext
29700 if { (ac_try="$ac_link"
29701 case "(($ac_try" in
29702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29703 *) ac_try_echo=$ac_try;;
29704 esac
29705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29706 (eval "$ac_link") 2>conftest.er1
29707 ac_status=$?
29708 grep -v '^ *+' conftest.er1 >conftest.err
29709 rm -f conftest.er1
29710 cat conftest.err >&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } && {
29713 test -z "$ac_c_werror_flag" ||
29714 test ! -s conftest.err
29715 } && test -s conftest$ac_exeext &&
29716 $as_test_x conftest$ac_exeext; then
29717 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29718 else
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.$ac_ext >&5
29721
29722 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29723 fi
29724
29725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29726 conftest$ac_exeext conftest.$ac_ext
29727 LIBS=$ac_check_lib_save_LIBS
29728 fi
29729 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29730 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29731 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29732 MSPACK_LINK=" -lmspack"
29733 fi
29734
29735 fi
29736 if test "x$MSPACK_LINK" = "x" ; then
29737 wxUSE_LIBMSPACK=no
29738 fi
29739 fi
29740
29741 if test "$wxUSE_LIBMSPACK" != "no"; then
29742 cat >>confdefs.h <<\_ACEOF
29743 #define wxUSE_LIBMSPACK 1
29744 _ACEOF
29745
29746 fi
29747
29748
29749
29750 AFMINSTALL=
29751 WIN32INSTALL=
29752
29753 TOOLKIT=
29754 TOOLKIT_INCLUDE=
29755 WIDGET_SET=
29756
29757 if test "$USE_WIN32" = 1 ; then
29758 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29759 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29760 if test "${ac_cv_header_w32api_h+set}" = set; then
29761 echo $ECHO_N "(cached) $ECHO_C" >&6
29762 else
29763 cat >conftest.$ac_ext <<_ACEOF
29764 /* confdefs.h. */
29765 _ACEOF
29766 cat confdefs.h >>conftest.$ac_ext
29767 cat >>conftest.$ac_ext <<_ACEOF
29768 /* end confdefs.h. */
29769
29770
29771 #include <w32api.h>
29772 _ACEOF
29773 rm -f conftest.$ac_objext
29774 if { (ac_try="$ac_compile"
29775 case "(($ac_try" in
29776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29777 *) ac_try_echo=$ac_try;;
29778 esac
29779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29780 (eval "$ac_compile") 2>conftest.er1
29781 ac_status=$?
29782 grep -v '^ *+' conftest.er1 >conftest.err
29783 rm -f conftest.er1
29784 cat conftest.err >&5
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); } && {
29787 test -z "$ac_c_werror_flag" ||
29788 test ! -s conftest.err
29789 } && test -s conftest.$ac_objext; then
29790 ac_cv_header_w32api_h=yes
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29794
29795 ac_cv_header_w32api_h=no
29796 fi
29797
29798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29799 fi
29800 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29801 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29802
29803
29804 { echo "$as_me:$LINENO: checking for windows.h" >&5
29805 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29806 if test "${ac_cv_header_windows_h+set}" = set; then
29807 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 else
29809 cat >conftest.$ac_ext <<_ACEOF
29810 /* confdefs.h. */
29811 _ACEOF
29812 cat confdefs.h >>conftest.$ac_ext
29813 cat >>conftest.$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815
29816
29817 #include <windows.h>
29818 _ACEOF
29819 rm -f conftest.$ac_objext
29820 if { (ac_try="$ac_compile"
29821 case "(($ac_try" in
29822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29823 *) ac_try_echo=$ac_try;;
29824 esac
29825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29826 (eval "$ac_compile") 2>conftest.er1
29827 ac_status=$?
29828 grep -v '^ *+' conftest.er1 >conftest.err
29829 rm -f conftest.er1
29830 cat conftest.err >&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } && {
29833 test -z "$ac_c_werror_flag" ||
29834 test ! -s conftest.err
29835 } && test -s conftest.$ac_objext; then
29836 ac_cv_header_windows_h=yes
29837 else
29838 echo "$as_me: failed program was:" >&5
29839 sed 's/^/| /' conftest.$ac_ext >&5
29840
29841 ac_cv_header_windows_h=no
29842 fi
29843
29844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29845 fi
29846 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29847 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29848 if test $ac_cv_header_windows_h = yes; then
29849 :
29850 else
29851
29852 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29853 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29854 { (exit 1); exit 1; }; }
29855
29856 fi
29857
29858
29859
29860 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29861
29862 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29863 LIBS="$LIBS -loleacc"
29864 fi
29865
29866 case "${host}" in
29867 *-*-cygwin* )
29868 LIBS="$LIBS -lkernel32 -luser32"
29869 esac
29870
29871 if test "$wxUSE_ODBC" = "sys" ; then
29872 wxUSE_ODBC = "yes"
29873 fi
29874 if test "$wxUSE_ODBC" = "yes" ; then
29875 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29876 cat >>confdefs.h <<\_ACEOF
29877 #define wxUSE_ODBC 1
29878 _ACEOF
29879
29880 fi
29881
29882 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29883 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29884
29885 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29886
29887 WIN32INSTALL=win32install
29888
29889 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29890 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29891 if test "${ac_cv_header_pbt_h+set}" = set; then
29892 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 else
29894 cat >conftest.$ac_ext <<_ACEOF
29895 /* confdefs.h. */
29896 _ACEOF
29897 cat confdefs.h >>conftest.$ac_ext
29898 cat >>conftest.$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29900
29901
29902 #include <pbt.h>
29903 _ACEOF
29904 rm -f conftest.$ac_objext
29905 if { (ac_try="$ac_compile"
29906 case "(($ac_try" in
29907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908 *) ac_try_echo=$ac_try;;
29909 esac
29910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29911 (eval "$ac_compile") 2>conftest.er1
29912 ac_status=$?
29913 grep -v '^ *+' conftest.er1 >conftest.err
29914 rm -f conftest.er1
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } && {
29918 test -z "$ac_c_werror_flag" ||
29919 test ! -s conftest.err
29920 } && test -s conftest.$ac_objext; then
29921 ac_cv_header_pbt_h=yes
29922 else
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29925
29926 ac_cv_header_pbt_h=no
29927 fi
29928
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930 fi
29931 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29932 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29933 if test $ac_cv_header_pbt_h = yes; then
29934 :
29935 else
29936 cat >>confdefs.h <<\_ACEOF
29937 #define NEED_PBT_H 1
29938 _ACEOF
29939
29940 fi
29941
29942
29943 fi
29944
29945 if test "$wxUSE_GUI" = "yes"; then
29946 USE_GUI=1
29947
29948 GUI_TK_LIBRARY=
29949
29950 WXGTK12=
29951 WXGTK127=
29952 WXGTK20=
29953 WXGPE=
29954
29955 if test "$wxUSE_COCOA" = 1 ; then
29956 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29957 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29958 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29959 wxUSE_PRINTING_ARCHITECTURE=no
29960 fi
29961 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29962 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29963 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29964 wxUSE_DRAG_AND_DROP=no
29965 fi
29966 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29967 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29968 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29969 wxUSE_DRAGIMAGE=no
29970 fi
29971 fi
29972
29973 if test "$wxUSE_MSW" = 1 ; then
29974 TOOLKIT=MSW
29975 GUIDIST=MSW_DIST
29976
29977 case "${host}" in
29978 *-*-mingw32* )
29979 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29980 esac
29981 fi
29982
29983 if test "$wxUSE_GTK" = 1; then
29984 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29985 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29986
29987 gtk_version_cached=1
29988 if test "${wx_cv_lib_gtk+set}" = set; then
29989 echo $ECHO_N "(cached) $ECHO_C" >&6
29990 else
29991
29992 gtk_version_cached=0
29993 { echo "$as_me:$LINENO: result: " >&5
29994 echo "${ECHO_T}" >&6; }
29995
29996 GTK_MODULES=
29997 if test "$wxUSE_THREADS" = "yes"; then
29998 GTK_MODULES=gthread
29999 fi
30000
30001 wx_cv_lib_gtk=
30002 if test "x$wxGTK_VERSION" != "x1"
30003 then
30004 case "${host}" in
30005 *-*-solaris2* )
30006 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30007 enable_gtktest=no
30008 fi
30009 esac
30010
30011 # Check whether --enable-gtktest was given.
30012 if test "${enable_gtktest+set}" = set; then
30013 enableval=$enable_gtktest;
30014 else
30015 enable_gtktest=yes
30016 fi
30017
30018
30019 pkg_config_args=gtk+-2.0
30020 for module in . $GTK_MODULES
30021 do
30022 case "$module" in
30023 gthread)
30024 pkg_config_args="$pkg_config_args gthread-2.0"
30025 ;;
30026 esac
30027 done
30028
30029 no_gtk=""
30030
30031 # Extract the first word of "pkg-config", so it can be a program name with args.
30032 set dummy pkg-config; ac_word=$2
30033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30035 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30037 else
30038 case $PKG_CONFIG in
30039 [\\/]* | ?:[\\/]*)
30040 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30041 ;;
30042 *)
30043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30044 for as_dir in $PATH
30045 do
30046 IFS=$as_save_IFS
30047 test -z "$as_dir" && as_dir=.
30048 for ac_exec_ext in '' $ac_executable_extensions; do
30049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30050 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30052 break 2
30053 fi
30054 done
30055 done
30056 IFS=$as_save_IFS
30057
30058 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30059 ;;
30060 esac
30061 fi
30062 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30063 if test -n "$PKG_CONFIG"; then
30064 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30065 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30066 else
30067 { echo "$as_me:$LINENO: result: no" >&5
30068 echo "${ECHO_T}no" >&6; }
30069 fi
30070
30071
30072
30073 if test x$PKG_CONFIG != xno ; then
30074 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30075 :
30076 else
30077 echo "*** pkg-config too old; version 0.7 or better required."
30078 no_gtk=yes
30079 PKG_CONFIG=no
30080 fi
30081 else
30082 no_gtk=yes
30083 fi
30084
30085 min_gtk_version=2.0.0
30086 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30087 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30088
30089 if test x$PKG_CONFIG != xno ; then
30090 ## don't try to run the test against uninstalled libtool libs
30091 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30092 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30093 enable_gtktest=no
30094 fi
30095
30096 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30097 :
30098 else
30099 no_gtk=yes
30100 fi
30101 fi
30102
30103 if test x"$no_gtk" = x ; then
30104 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30105 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30106 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30107 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30108 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30110 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30112 if test "x$enable_gtktest" = "xyes" ; then
30113 ac_save_CFLAGS="$CFLAGS"
30114 ac_save_LIBS="$LIBS"
30115 CFLAGS="$CFLAGS $GTK_CFLAGS"
30116 LIBS="$GTK_LIBS $LIBS"
30117 rm -f conf.gtktest
30118 if test "$cross_compiling" = yes; then
30119 echo $ac_n "cross compiling; assumed OK... $ac_c"
30120 else
30121 cat >conftest.$ac_ext <<_ACEOF
30122 /* confdefs.h. */
30123 _ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30127
30128 #include <gtk/gtk.h>
30129 #include <stdio.h>
30130 #include <stdlib.h>
30131
30132 int
30133 main ()
30134 {
30135 int major, minor, micro;
30136 char *tmp_version;
30137
30138 system ("touch conf.gtktest");
30139
30140 /* HP/UX 9 (%@#!) writes to sscanf strings */
30141 tmp_version = g_strdup("$min_gtk_version");
30142 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30143 printf("%s, bad version string\n", "$min_gtk_version");
30144 exit(1);
30145 }
30146
30147 if ((gtk_major_version != $gtk_config_major_version) ||
30148 (gtk_minor_version != $gtk_config_minor_version) ||
30149 (gtk_micro_version != $gtk_config_micro_version))
30150 {
30151 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30152 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30153 gtk_major_version, gtk_minor_version, gtk_micro_version);
30154 printf ("*** was found! If pkg-config was correct, then it is best\n");
30155 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30156 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30157 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30158 printf("*** required on your system.\n");
30159 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30160 printf("*** to point to the correct configuration files\n");
30161 }
30162 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30163 (gtk_minor_version != GTK_MINOR_VERSION) ||
30164 (gtk_micro_version != GTK_MICRO_VERSION))
30165 {
30166 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30167 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30168 printf("*** library (version %d.%d.%d)\n",
30169 gtk_major_version, gtk_minor_version, gtk_micro_version);
30170 }
30171 else
30172 {
30173 if ((gtk_major_version > major) ||
30174 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30175 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30176 {
30177 return 0;
30178 }
30179 else
30180 {
30181 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30182 gtk_major_version, gtk_minor_version, gtk_micro_version);
30183 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30184 major, minor, micro);
30185 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30186 printf("***\n");
30187 printf("*** If you have already installed a sufficiently new version, this error\n");
30188 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30189 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30190 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30191 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30192 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30193 printf("*** so that the correct libraries are found at run-time))\n");
30194 }
30195 }
30196 return 1;
30197 }
30198
30199 _ACEOF
30200 rm -f conftest$ac_exeext
30201 if { (ac_try="$ac_link"
30202 case "(($ac_try" in
30203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30204 *) ac_try_echo=$ac_try;;
30205 esac
30206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30207 (eval "$ac_link") 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30211 { (case "(($ac_try" in
30212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30213 *) ac_try_echo=$ac_try;;
30214 esac
30215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30216 (eval "$ac_try") 2>&5
30217 ac_status=$?
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; }; then
30220 :
30221 else
30222 echo "$as_me: program exited with status $ac_status" >&5
30223 echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.$ac_ext >&5
30225
30226 ( exit $ac_status )
30227 no_gtk=yes
30228 fi
30229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30230 fi
30231
30232
30233 CFLAGS="$ac_save_CFLAGS"
30234 LIBS="$ac_save_LIBS"
30235 fi
30236 fi
30237 if test "x$no_gtk" = x ; then
30238 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30239 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30240 wx_cv_lib_gtk=2.0
30241 else
30242 { echo "$as_me:$LINENO: result: no" >&5
30243 echo "${ECHO_T}no" >&6; }
30244 if test "$PKG_CONFIG" = "no" ; then
30245 echo "*** A new enough version of pkg-config was not found."
30246 echo "*** See http://pkgconfig.sourceforge.net"
30247 else
30248 if test -f conf.gtktest ; then
30249 :
30250 else
30251 echo "*** Could not run GTK+ test program, checking why..."
30252 ac_save_CFLAGS="$CFLAGS"
30253 ac_save_LIBS="$LIBS"
30254 CFLAGS="$CFLAGS $GTK_CFLAGS"
30255 LIBS="$LIBS $GTK_LIBS"
30256 cat >conftest.$ac_ext <<_ACEOF
30257 /* confdefs.h. */
30258 _ACEOF
30259 cat confdefs.h >>conftest.$ac_ext
30260 cat >>conftest.$ac_ext <<_ACEOF
30261 /* end confdefs.h. */
30262
30263 #include <gtk/gtk.h>
30264 #include <stdio.h>
30265
30266 int
30267 main ()
30268 {
30269 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30270 ;
30271 return 0;
30272 }
30273 _ACEOF
30274 rm -f conftest.$ac_objext conftest$ac_exeext
30275 if { (ac_try="$ac_link"
30276 case "(($ac_try" in
30277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30278 *) ac_try_echo=$ac_try;;
30279 esac
30280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30281 (eval "$ac_link") 2>conftest.er1
30282 ac_status=$?
30283 grep -v '^ *+' conftest.er1 >conftest.err
30284 rm -f conftest.er1
30285 cat conftest.err >&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } && {
30288 test -z "$ac_c_werror_flag" ||
30289 test ! -s conftest.err
30290 } && test -s conftest$ac_exeext &&
30291 $as_test_x conftest$ac_exeext; then
30292 echo "*** The test program compiled, but did not run. This usually means"
30293 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30294 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30295 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30296 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30297 echo "*** is required on your system"
30298 echo "***"
30299 echo "*** If you have an old version installed, it is best to remove it, although"
30300 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30301 else
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30304
30305 echo "*** The test program failed to compile or link. See the file config.log for the"
30306 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30307 fi
30308
30309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30310 conftest$ac_exeext conftest.$ac_ext
30311 CFLAGS="$ac_save_CFLAGS"
30312 LIBS="$ac_save_LIBS"
30313 fi
30314 fi
30315 GTK_CFLAGS=""
30316 GTK_LIBS=""
30317 :
30318 fi
30319
30320
30321 rm -f conf.gtktest
30322
30323
30324 case "${host}" in
30325 *-*-solaris2* )
30326 if test "$wxUSE_SHARED" != "yes"; then
30327 GTK_LIBS="$GTK_LIBS -lX11"
30328 fi
30329 esac
30330 fi
30331
30332 if test -z "$wx_cv_lib_gtk"; then
30333 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30334
30335 # Check whether --with-gtk-prefix was given.
30336 if test "${with_gtk_prefix+set}" = set; then
30337 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30338 else
30339 gtk_config_prefix=""
30340 fi
30341
30342
30343 # Check whether --with-gtk-exec-prefix was given.
30344 if test "${with_gtk_exec_prefix+set}" = set; then
30345 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30346 else
30347 gtk_config_exec_prefix=""
30348 fi
30349
30350 # Check whether --enable-gtktest was given.
30351 if test "${enable_gtktest+set}" = set; then
30352 enableval=$enable_gtktest;
30353 else
30354 enable_gtktest=yes
30355 fi
30356
30357
30358 for module in . $GTK_MODULES
30359 do
30360 case "$module" in
30361 gthread)
30362 gtk_config_args="$gtk_config_args gthread"
30363 ;;
30364 esac
30365 done
30366
30367 if test x$gtk_config_exec_prefix != x ; then
30368 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30369 if test x${GTK_CONFIG+set} != xset ; then
30370 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30371 fi
30372 fi
30373 if test x$gtk_config_prefix != x ; then
30374 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30375 if test x${GTK_CONFIG+set} != xset ; then
30376 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30377 fi
30378 fi
30379
30380 # Extract the first word of "gtk-config", so it can be a program name with args.
30381 set dummy gtk-config; ac_word=$2
30382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30384 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30385 echo $ECHO_N "(cached) $ECHO_C" >&6
30386 else
30387 case $GTK_CONFIG in
30388 [\\/]* | ?:[\\/]*)
30389 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30390 ;;
30391 *)
30392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30393 for as_dir in $PATH
30394 do
30395 IFS=$as_save_IFS
30396 test -z "$as_dir" && as_dir=.
30397 for ac_exec_ext in '' $ac_executable_extensions; do
30398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30399 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30401 break 2
30402 fi
30403 done
30404 done
30405 IFS=$as_save_IFS
30406
30407 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30408 ;;
30409 esac
30410 fi
30411 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30412 if test -n "$GTK_CONFIG"; then
30413 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30414 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30415 else
30416 { echo "$as_me:$LINENO: result: no" >&5
30417 echo "${ECHO_T}no" >&6; }
30418 fi
30419
30420
30421 min_gtk_version=1.2.7
30422 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30423 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30424 no_gtk=""
30425 if test "$GTK_CONFIG" = "no" ; then
30426 no_gtk=yes
30427 else
30428 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30429 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30430 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30432 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30434 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30436 if test "x$enable_gtktest" = "xyes" ; then
30437 ac_save_CFLAGS="$CFLAGS"
30438 ac_save_LIBS="$LIBS"
30439 CFLAGS="$CFLAGS $GTK_CFLAGS"
30440 LIBS="$GTK_LIBS $LIBS"
30441 rm -f conf.gtktest
30442 if test "$cross_compiling" = yes; then
30443 echo $ac_n "cross compiling; assumed OK... $ac_c"
30444 else
30445 cat >conftest.$ac_ext <<_ACEOF
30446 /* confdefs.h. */
30447 _ACEOF
30448 cat confdefs.h >>conftest.$ac_ext
30449 cat >>conftest.$ac_ext <<_ACEOF
30450 /* end confdefs.h. */
30451
30452 #include <gtk/gtk.h>
30453 #include <stdio.h>
30454 #include <stdlib.h>
30455
30456 int
30457 main ()
30458 {
30459 int major, minor, micro;
30460 char *tmp_version;
30461
30462 system ("touch conf.gtktest");
30463
30464 /* HP/UX 9 (%@#!) writes to sscanf strings */
30465 tmp_version = g_strdup("$min_gtk_version");
30466 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30467 printf("%s, bad version string\n", "$min_gtk_version");
30468 exit(1);
30469 }
30470
30471 if ((gtk_major_version != $gtk_config_major_version) ||
30472 (gtk_minor_version != $gtk_config_minor_version) ||
30473 (gtk_micro_version != $gtk_config_micro_version))
30474 {
30475 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30476 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30477 gtk_major_version, gtk_minor_version, gtk_micro_version);
30478 printf ("*** was found! If gtk-config was correct, then it is best\n");
30479 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30480 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30481 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30482 printf("*** required on your system.\n");
30483 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30484 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30485 printf("*** before re-running configure\n");
30486 }
30487 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30488 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30489 (gtk_minor_version != GTK_MINOR_VERSION) ||
30490 (gtk_micro_version != GTK_MICRO_VERSION))
30491 {
30492 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30493 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30494 printf("*** library (version %d.%d.%d)\n",
30495 gtk_major_version, gtk_minor_version, gtk_micro_version);
30496 }
30497 #endif /* defined (GTK_MAJOR_VERSION) ... */
30498 else
30499 {
30500 if ((gtk_major_version > major) ||
30501 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30502 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30503 {
30504 return 0;
30505 }
30506 else
30507 {
30508 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30509 gtk_major_version, gtk_minor_version, gtk_micro_version);
30510 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30511 major, minor, micro);
30512 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30513 printf("***\n");
30514 printf("*** If you have already installed a sufficiently new version, this error\n");
30515 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30516 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30517 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30518 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30519 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30520 printf("*** so that the correct libraries are found at run-time))\n");
30521 }
30522 }
30523 return 1;
30524 }
30525
30526 _ACEOF
30527 rm -f conftest$ac_exeext
30528 if { (ac_try="$ac_link"
30529 case "(($ac_try" in
30530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30531 *) ac_try_echo=$ac_try;;
30532 esac
30533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30534 (eval "$ac_link") 2>&5
30535 ac_status=$?
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30538 { (case "(($ac_try" in
30539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30540 *) ac_try_echo=$ac_try;;
30541 esac
30542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30543 (eval "$ac_try") 2>&5
30544 ac_status=$?
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); }; }; then
30547 :
30548 else
30549 echo "$as_me: program exited with status $ac_status" >&5
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30552
30553 ( exit $ac_status )
30554 no_gtk=yes
30555 fi
30556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30557 fi
30558
30559
30560 CFLAGS="$ac_save_CFLAGS"
30561 LIBS="$ac_save_LIBS"
30562 fi
30563 fi
30564 if test "x$no_gtk" = x ; then
30565 { echo "$as_me:$LINENO: result: yes" >&5
30566 echo "${ECHO_T}yes" >&6; }
30567 wx_cv_lib_gtk=1.2.7
30568 else
30569 { echo "$as_me:$LINENO: result: no" >&5
30570 echo "${ECHO_T}no" >&6; }
30571 if test "$GTK_CONFIG" = "no" ; then
30572 echo "*** The gtk-config script installed by GTK could not be found"
30573 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30574 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30575 echo "*** full path to gtk-config."
30576 else
30577 if test -f conf.gtktest ; then
30578 :
30579 else
30580 echo "*** Could not run GTK test program, checking why..."
30581 CFLAGS="$CFLAGS $GTK_CFLAGS"
30582 LIBS="$LIBS $GTK_LIBS"
30583 cat >conftest.$ac_ext <<_ACEOF
30584 /* confdefs.h. */
30585 _ACEOF
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30589
30590 #include <gtk/gtk.h>
30591 #include <stdio.h>
30592
30593 int
30594 main ()
30595 {
30596 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30597 ;
30598 return 0;
30599 }
30600 _ACEOF
30601 rm -f conftest.$ac_objext conftest$ac_exeext
30602 if { (ac_try="$ac_link"
30603 case "(($ac_try" in
30604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30605 *) ac_try_echo=$ac_try;;
30606 esac
30607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30608 (eval "$ac_link") 2>conftest.er1
30609 ac_status=$?
30610 grep -v '^ *+' conftest.er1 >conftest.err
30611 rm -f conftest.er1
30612 cat conftest.err >&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } && {
30615 test -z "$ac_c_werror_flag" ||
30616 test ! -s conftest.err
30617 } && test -s conftest$ac_exeext &&
30618 $as_test_x conftest$ac_exeext; then
30619 echo "*** The test program compiled, but did not run. This usually means"
30620 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30621 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30622 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30623 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30624 echo "*** is required on your system"
30625 echo "***"
30626 echo "*** If you have an old version installed, it is best to remove it, although"
30627 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30628 echo "***"
30629 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30630 echo "*** came with the system with the command"
30631 echo "***"
30632 echo "*** rpm --erase --nodeps gtk gtk-devel"
30633 else
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.$ac_ext >&5
30636
30637 echo "*** The test program failed to compile or link. See the file config.log for the"
30638 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30639 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30640 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30641 fi
30642
30643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30644 conftest$ac_exeext conftest.$ac_ext
30645 CFLAGS="$ac_save_CFLAGS"
30646 LIBS="$ac_save_LIBS"
30647 fi
30648 fi
30649 GTK_CFLAGS=""
30650 GTK_LIBS=""
30651 :
30652 fi
30653
30654
30655 rm -f conf.gtktest
30656
30657
30658 if test -z "$wx_cv_lib_gtk"; then
30659
30660 # Check whether --with-gtk-prefix was given.
30661 if test "${with_gtk_prefix+set}" = set; then
30662 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30663 else
30664 gtk_config_prefix=""
30665 fi
30666
30667
30668 # Check whether --with-gtk-exec-prefix was given.
30669 if test "${with_gtk_exec_prefix+set}" = set; then
30670 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30671 else
30672 gtk_config_exec_prefix=""
30673 fi
30674
30675 # Check whether --enable-gtktest was given.
30676 if test "${enable_gtktest+set}" = set; then
30677 enableval=$enable_gtktest;
30678 else
30679 enable_gtktest=yes
30680 fi
30681
30682
30683 for module in . $GTK_MODULES
30684 do
30685 case "$module" in
30686 gthread)
30687 gtk_config_args="$gtk_config_args gthread"
30688 ;;
30689 esac
30690 done
30691
30692 if test x$gtk_config_exec_prefix != x ; then
30693 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30694 if test x${GTK_CONFIG+set} != xset ; then
30695 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30696 fi
30697 fi
30698 if test x$gtk_config_prefix != x ; then
30699 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30700 if test x${GTK_CONFIG+set} != xset ; then
30701 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30702 fi
30703 fi
30704
30705 # Extract the first word of "gtk-config", so it can be a program name with args.
30706 set dummy gtk-config; ac_word=$2
30707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30709 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30712 case $GTK_CONFIG in
30713 [\\/]* | ?:[\\/]*)
30714 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30715 ;;
30716 *)
30717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30718 for as_dir in $PATH
30719 do
30720 IFS=$as_save_IFS
30721 test -z "$as_dir" && as_dir=.
30722 for ac_exec_ext in '' $ac_executable_extensions; do
30723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30724 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30726 break 2
30727 fi
30728 done
30729 done
30730 IFS=$as_save_IFS
30731
30732 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30733 ;;
30734 esac
30735 fi
30736 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30737 if test -n "$GTK_CONFIG"; then
30738 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30739 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30740 else
30741 { echo "$as_me:$LINENO: result: no" >&5
30742 echo "${ECHO_T}no" >&6; }
30743 fi
30744
30745
30746 min_gtk_version=1.2.3
30747 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30748 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30749 no_gtk=""
30750 if test "$GTK_CONFIG" = "no" ; then
30751 no_gtk=yes
30752 else
30753 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30754 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30755 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30756 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30757 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30758 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30759 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30761 if test "x$enable_gtktest" = "xyes" ; then
30762 ac_save_CFLAGS="$CFLAGS"
30763 ac_save_LIBS="$LIBS"
30764 CFLAGS="$CFLAGS $GTK_CFLAGS"
30765 LIBS="$GTK_LIBS $LIBS"
30766 rm -f conf.gtktest
30767 if test "$cross_compiling" = yes; then
30768 echo $ac_n "cross compiling; assumed OK... $ac_c"
30769 else
30770 cat >conftest.$ac_ext <<_ACEOF
30771 /* confdefs.h. */
30772 _ACEOF
30773 cat confdefs.h >>conftest.$ac_ext
30774 cat >>conftest.$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776
30777 #include <gtk/gtk.h>
30778 #include <stdio.h>
30779 #include <stdlib.h>
30780
30781 int
30782 main ()
30783 {
30784 int major, minor, micro;
30785 char *tmp_version;
30786
30787 system ("touch conf.gtktest");
30788
30789 /* HP/UX 9 (%@#!) writes to sscanf strings */
30790 tmp_version = g_strdup("$min_gtk_version");
30791 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30792 printf("%s, bad version string\n", "$min_gtk_version");
30793 exit(1);
30794 }
30795
30796 if ((gtk_major_version != $gtk_config_major_version) ||
30797 (gtk_minor_version != $gtk_config_minor_version) ||
30798 (gtk_micro_version != $gtk_config_micro_version))
30799 {
30800 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30801 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30802 gtk_major_version, gtk_minor_version, gtk_micro_version);
30803 printf ("*** was found! If gtk-config was correct, then it is best\n");
30804 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30805 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30806 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30807 printf("*** required on your system.\n");
30808 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30809 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30810 printf("*** before re-running configure\n");
30811 }
30812 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30813 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30814 (gtk_minor_version != GTK_MINOR_VERSION) ||
30815 (gtk_micro_version != GTK_MICRO_VERSION))
30816 {
30817 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30818 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30819 printf("*** library (version %d.%d.%d)\n",
30820 gtk_major_version, gtk_minor_version, gtk_micro_version);
30821 }
30822 #endif /* defined (GTK_MAJOR_VERSION) ... */
30823 else
30824 {
30825 if ((gtk_major_version > major) ||
30826 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30827 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30828 {
30829 return 0;
30830 }
30831 else
30832 {
30833 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30834 gtk_major_version, gtk_minor_version, gtk_micro_version);
30835 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30836 major, minor, micro);
30837 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30838 printf("***\n");
30839 printf("*** If you have already installed a sufficiently new version, this error\n");
30840 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30841 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30842 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30843 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30844 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30845 printf("*** so that the correct libraries are found at run-time))\n");
30846 }
30847 }
30848 return 1;
30849 }
30850
30851 _ACEOF
30852 rm -f conftest$ac_exeext
30853 if { (ac_try="$ac_link"
30854 case "(($ac_try" in
30855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30856 *) ac_try_echo=$ac_try;;
30857 esac
30858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30859 (eval "$ac_link") 2>&5
30860 ac_status=$?
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30863 { (case "(($ac_try" in
30864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30865 *) ac_try_echo=$ac_try;;
30866 esac
30867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30868 (eval "$ac_try") 2>&5
30869 ac_status=$?
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); }; }; then
30872 :
30873 else
30874 echo "$as_me: program exited with status $ac_status" >&5
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.$ac_ext >&5
30877
30878 ( exit $ac_status )
30879 no_gtk=yes
30880 fi
30881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30882 fi
30883
30884
30885 CFLAGS="$ac_save_CFLAGS"
30886 LIBS="$ac_save_LIBS"
30887 fi
30888 fi
30889 if test "x$no_gtk" = x ; then
30890 { echo "$as_me:$LINENO: result: yes" >&5
30891 echo "${ECHO_T}yes" >&6; }
30892 wx_cv_lib_gtk=1.2.3
30893 else
30894 { echo "$as_me:$LINENO: result: no" >&5
30895 echo "${ECHO_T}no" >&6; }
30896 if test "$GTK_CONFIG" = "no" ; then
30897 echo "*** The gtk-config script installed by GTK could not be found"
30898 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30899 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30900 echo "*** full path to gtk-config."
30901 else
30902 if test -f conf.gtktest ; then
30903 :
30904 else
30905 echo "*** Could not run GTK test program, checking why..."
30906 CFLAGS="$CFLAGS $GTK_CFLAGS"
30907 LIBS="$LIBS $GTK_LIBS"
30908 cat >conftest.$ac_ext <<_ACEOF
30909 /* confdefs.h. */
30910 _ACEOF
30911 cat confdefs.h >>conftest.$ac_ext
30912 cat >>conftest.$ac_ext <<_ACEOF
30913 /* end confdefs.h. */
30914
30915 #include <gtk/gtk.h>
30916 #include <stdio.h>
30917
30918 int
30919 main ()
30920 {
30921 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30922 ;
30923 return 0;
30924 }
30925 _ACEOF
30926 rm -f conftest.$ac_objext conftest$ac_exeext
30927 if { (ac_try="$ac_link"
30928 case "(($ac_try" in
30929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30930 *) ac_try_echo=$ac_try;;
30931 esac
30932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30933 (eval "$ac_link") 2>conftest.er1
30934 ac_status=$?
30935 grep -v '^ *+' conftest.er1 >conftest.err
30936 rm -f conftest.er1
30937 cat conftest.err >&5
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); } && {
30940 test -z "$ac_c_werror_flag" ||
30941 test ! -s conftest.err
30942 } && test -s conftest$ac_exeext &&
30943 $as_test_x conftest$ac_exeext; then
30944 echo "*** The test program compiled, but did not run. This usually means"
30945 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30946 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30947 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30948 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30949 echo "*** is required on your system"
30950 echo "***"
30951 echo "*** If you have an old version installed, it is best to remove it, although"
30952 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30953 echo "***"
30954 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30955 echo "*** came with the system with the command"
30956 echo "***"
30957 echo "*** rpm --erase --nodeps gtk gtk-devel"
30958 else
30959 echo "$as_me: failed program was:" >&5
30960 sed 's/^/| /' conftest.$ac_ext >&5
30961
30962 echo "*** The test program failed to compile or link. See the file config.log for the"
30963 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30964 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30965 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30966 fi
30967
30968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30969 conftest$ac_exeext conftest.$ac_ext
30970 CFLAGS="$ac_save_CFLAGS"
30971 LIBS="$ac_save_LIBS"
30972 fi
30973 fi
30974 GTK_CFLAGS=""
30975 GTK_LIBS=""
30976 :
30977 fi
30978
30979
30980 rm -f conf.gtktest
30981
30982 fi
30983 fi
30984 fi
30985
30986 if test -z "$wx_cv_lib_gtk"; then
30987 wx_cv_lib_gtk=none
30988 else
30989 wx_cv_cflags_gtk=$GTK_CFLAGS
30990 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30991 fi
30992
30993
30994 fi
30995
30996
30997 if test "$gtk_version_cached" = 1; then
30998 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30999 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31000 fi
31001
31002 case "$wx_cv_lib_gtk" in
31003 2.0) WXGTK20=1
31004 TOOLKIT_VERSION=2
31005 ;;
31006 1.2.7) WXGTK127=1
31007 WXGTK12=1
31008 ;;
31009 1.2.3) WXGTK12=1
31010 ;;
31011 *) { { echo "$as_me:$LINENO: error:
31012 The development files for GTK+ were not found. For GTK+ 2, please
31013 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31014 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31015 and that the version is 1.2.3 or above. Also check that the
31016 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31017 --libs' are in the LD_LIBRARY_PATH or equivalent.
31018 " >&5
31019 echo "$as_me: error:
31020 The development files for GTK+ were not found. For GTK+ 2, please
31021 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31022 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31023 and that the version is 1.2.3 or above. Also check that the
31024 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31025 --libs' are in the LD_LIBRARY_PATH or equivalent.
31026 " >&2;}
31027 { (exit 1); exit 1; }; }
31028 ;;
31029 esac
31030
31031 if test "$WXGTK20" = 1; then
31032 save_CFLAGS="$CFLAGS"
31033 save_LIBS="$LIBS"
31034 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31035 LIBS="$LIBS $wx_cv_libs_gtk"
31036
31037 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31038 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31039 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31040 echo $ECHO_N "(cached) $ECHO_C" >&6
31041 else
31042 cat >conftest.$ac_ext <<_ACEOF
31043 /* confdefs.h. */
31044 _ACEOF
31045 cat confdefs.h >>conftest.$ac_ext
31046 cat >>conftest.$ac_ext <<_ACEOF
31047 /* end confdefs.h. */
31048 #include <gtk/gtk.h>
31049
31050 int
31051 main ()
31052 {
31053 #ifndef gtk_icon_size_lookup
31054 (void) gtk_icon_size_lookup;
31055 #endif
31056
31057 ;
31058 return 0;
31059 }
31060 _ACEOF
31061 rm -f conftest.$ac_objext
31062 if { (ac_try="$ac_compile"
31063 case "(($ac_try" in
31064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31065 *) ac_try_echo=$ac_try;;
31066 esac
31067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31068 (eval "$ac_compile") 2>conftest.er1
31069 ac_status=$?
31070 grep -v '^ *+' conftest.er1 >conftest.err
31071 rm -f conftest.er1
31072 cat conftest.err >&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); } && {
31075 test -z "$ac_c_werror_flag" ||
31076 test ! -s conftest.err
31077 } && test -s conftest.$ac_objext; then
31078 ac_cv_have_decl_gtk_icon_size_lookup=yes
31079 else
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.$ac_ext >&5
31082
31083 ac_cv_have_decl_gtk_icon_size_lookup=no
31084 fi
31085
31086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31087 fi
31088 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31089 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31090 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31091
31092 cat >>confdefs.h <<_ACEOF
31093 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31094 _ACEOF
31095
31096
31097 else
31098 cat >>confdefs.h <<_ACEOF
31099 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31100 _ACEOF
31101
31102 cat >>confdefs.h <<\_ACEOF
31103 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31104 _ACEOF
31105
31106 fi
31107
31108
31109
31110
31111 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31112 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31113 cat >conftest.$ac_ext <<_ACEOF
31114 /* confdefs.h. */
31115 _ACEOF
31116 cat confdefs.h >>conftest.$ac_ext
31117 cat >>conftest.$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31119
31120 #include <gtk/gtk.h>
31121
31122 int
31123 main ()
31124 {
31125
31126 #if !GTK_CHECK_VERSION(2,10,0)
31127 Not GTK+ 2.10
31128 #endif
31129
31130 ;
31131 return 0;
31132 }
31133 _ACEOF
31134 rm -f conftest.$ac_objext
31135 if { (ac_try="$ac_compile"
31136 case "(($ac_try" in
31137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31138 *) ac_try_echo=$ac_try;;
31139 esac
31140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31141 (eval "$ac_compile") 2>conftest.er1
31142 ac_status=$?
31143 grep -v '^ *+' conftest.er1 >conftest.err
31144 rm -f conftest.er1
31145 cat conftest.err >&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } && {
31148 test -z "$ac_c_werror_flag" ||
31149 test ! -s conftest.err
31150 } && test -s conftest.$ac_objext; then
31151
31152 cat >>confdefs.h <<\_ACEOF
31153 #define __WXGTK210__ 1
31154 _ACEOF
31155
31156 cat >>confdefs.h <<\_ACEOF
31157 #define __WXGTK26__ 1
31158 _ACEOF
31159
31160 cat >>confdefs.h <<\_ACEOF
31161 #define __WXGTK24__ 1
31162 _ACEOF
31163
31164 { echo "$as_me:$LINENO: result: yes" >&5
31165 echo "${ECHO_T}yes" >&6; }
31166 ac_wxgtk210=1
31167
31168 else
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.$ac_ext >&5
31171
31172
31173 { echo "$as_me:$LINENO: result: no" >&5
31174 echo "${ECHO_T}no" >&6; }
31175 ac_wxgtk210=0
31176
31177 fi
31178
31179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31180
31181 if test "$ac_wxgtk210" = 0; then
31182 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31183 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31184 cat >conftest.$ac_ext <<_ACEOF
31185 /* confdefs.h. */
31186 _ACEOF
31187 cat confdefs.h >>conftest.$ac_ext
31188 cat >>conftest.$ac_ext <<_ACEOF
31189 /* end confdefs.h. */
31190
31191 #include <gtk/gtk.h>
31192
31193 int
31194 main ()
31195 {
31196
31197 #if !GTK_CHECK_VERSION(2,6,0)
31198 Not GTK+ 2.6
31199 #endif
31200
31201 ;
31202 return 0;
31203 }
31204 _ACEOF
31205 rm -f conftest.$ac_objext
31206 if { (ac_try="$ac_compile"
31207 case "(($ac_try" in
31208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31209 *) ac_try_echo=$ac_try;;
31210 esac
31211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31212 (eval "$ac_compile") 2>conftest.er1
31213 ac_status=$?
31214 grep -v '^ *+' conftest.er1 >conftest.err
31215 rm -f conftest.er1
31216 cat conftest.err >&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); } && {
31219 test -z "$ac_c_werror_flag" ||
31220 test ! -s conftest.err
31221 } && test -s conftest.$ac_objext; then
31222
31223 cat >>confdefs.h <<\_ACEOF
31224 #define __WXGTK26__ 1
31225 _ACEOF
31226
31227 cat >>confdefs.h <<\_ACEOF
31228 #define __WXGTK24__ 1
31229 _ACEOF
31230
31231 { echo "$as_me:$LINENO: result: yes" >&5
31232 echo "${ECHO_T}yes" >&6; }
31233 ac_wxgtk26=1
31234
31235 else
31236 echo "$as_me: failed program was:" >&5
31237 sed 's/^/| /' conftest.$ac_ext >&5
31238
31239
31240 { echo "$as_me:$LINENO: result: no" >&5
31241 echo "${ECHO_T}no" >&6; }
31242 ac_wxgtk26=0
31243
31244 fi
31245
31246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31247 fi
31248
31249 if test "$ac_wxgtk26" = 0; then
31250 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31251 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31252 cat >conftest.$ac_ext <<_ACEOF
31253 /* confdefs.h. */
31254 _ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31258
31259 #include <gtk/gtk.h>
31260
31261 int
31262 main ()
31263 {
31264
31265 #if !GTK_CHECK_VERSION(2,4,0)
31266 Not GTK+ 2.4
31267 #endif
31268
31269 ;
31270 return 0;
31271 }
31272 _ACEOF
31273 rm -f conftest.$ac_objext
31274 if { (ac_try="$ac_compile"
31275 case "(($ac_try" in
31276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31277 *) ac_try_echo=$ac_try;;
31278 esac
31279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31280 (eval "$ac_compile") 2>conftest.er1
31281 ac_status=$?
31282 grep -v '^ *+' conftest.er1 >conftest.err
31283 rm -f conftest.er1
31284 cat conftest.err >&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); } && {
31287 test -z "$ac_c_werror_flag" ||
31288 test ! -s conftest.err
31289 } && test -s conftest.$ac_objext; then
31290
31291 cat >>confdefs.h <<\_ACEOF
31292 #define __WXGTK24__ 1
31293 _ACEOF
31294
31295 { echo "$as_me:$LINENO: result: yes" >&5
31296 echo "${ECHO_T}yes" >&6; }
31297
31298 else
31299 echo "$as_me: failed program was:" >&5
31300 sed 's/^/| /' conftest.$ac_ext >&5
31301
31302
31303 { echo "$as_me:$LINENO: result: no" >&5
31304 echo "${ECHO_T}no" >&6; }
31305
31306 fi
31307
31308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31309 fi
31310
31311 CFLAGS="$save_CFLAGS"
31312 LIBS="$save_LIBS"
31313 else
31314 if test "$wxUSE_UNICODE" = "yes"; then
31315 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31316 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31317 wxUSE_UNICODE=no
31318 fi
31319
31320 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31321 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31322 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31323 echo $ECHO_N "(cached) $ECHO_C" >&6
31324 else
31325 ac_check_lib_save_LIBS=$LIBS
31326 LIBS="-lgdk $LIBS"
31327 cat >conftest.$ac_ext <<_ACEOF
31328 /* confdefs.h. */
31329 _ACEOF
31330 cat confdefs.h >>conftest.$ac_ext
31331 cat >>conftest.$ac_ext <<_ACEOF
31332 /* end confdefs.h. */
31333
31334 /* Override any GCC internal prototype to avoid an error.
31335 Use char because int might match the return type of a GCC
31336 builtin and then its argument prototype would still apply. */
31337 #ifdef __cplusplus
31338 extern "C"
31339 #endif
31340 char gdk_im_open ();
31341 int
31342 main ()
31343 {
31344 return gdk_im_open ();
31345 ;
31346 return 0;
31347 }
31348 _ACEOF
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (ac_try="$ac_link"
31351 case "(($ac_try" in
31352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31353 *) ac_try_echo=$ac_try;;
31354 esac
31355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31356 (eval "$ac_link") 2>conftest.er1
31357 ac_status=$?
31358 grep -v '^ *+' conftest.er1 >conftest.err
31359 rm -f conftest.er1
31360 cat conftest.err >&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } && {
31363 test -z "$ac_c_werror_flag" ||
31364 test ! -s conftest.err
31365 } && test -s conftest$ac_exeext &&
31366 $as_test_x conftest$ac_exeext; then
31367 ac_cv_lib_gdk_gdk_im_open=yes
31368 else
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.$ac_ext >&5
31371
31372 ac_cv_lib_gdk_gdk_im_open=no
31373 fi
31374
31375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31376 conftest$ac_exeext conftest.$ac_ext
31377 LIBS=$ac_check_lib_save_LIBS
31378 fi
31379 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31380 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31381 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31382 cat >>confdefs.h <<\_ACEOF
31383 #define HAVE_XIM 1
31384 _ACEOF
31385
31386 fi
31387
31388
31389 if test "$USE_DARWIN" != 1; then
31390
31391 for ac_func in poll
31392 do
31393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399 cat >conftest.$ac_ext <<_ACEOF
31400 /* confdefs.h. */
31401 _ACEOF
31402 cat confdefs.h >>conftest.$ac_ext
31403 cat >>conftest.$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31407 #define $ac_func innocuous_$ac_func
31408
31409 /* System header to define __stub macros and hopefully few prototypes,
31410 which can conflict with char $ac_func (); below.
31411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31412 <limits.h> exists even on freestanding compilers. */
31413
31414 #ifdef __STDC__
31415 # include <limits.h>
31416 #else
31417 # include <assert.h>
31418 #endif
31419
31420 #undef $ac_func
31421
31422 /* Override any GCC internal prototype to avoid an error.
31423 Use char because int might match the return type of a GCC
31424 builtin and then its argument prototype would still apply. */
31425 #ifdef __cplusplus
31426 extern "C"
31427 #endif
31428 char $ac_func ();
31429 /* The GNU C library defines this for functions which it implements
31430 to always fail with ENOSYS. Some functions are actually named
31431 something starting with __ and the normal name is an alias. */
31432 #if defined __stub_$ac_func || defined __stub___$ac_func
31433 choke me
31434 #endif
31435
31436 int
31437 main ()
31438 {
31439 return $ac_func ();
31440 ;
31441 return 0;
31442 }
31443 _ACEOF
31444 rm -f conftest.$ac_objext conftest$ac_exeext
31445 if { (ac_try="$ac_link"
31446 case "(($ac_try" in
31447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31448 *) ac_try_echo=$ac_try;;
31449 esac
31450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31451 (eval "$ac_link") 2>conftest.er1
31452 ac_status=$?
31453 grep -v '^ *+' conftest.er1 >conftest.err
31454 rm -f conftest.er1
31455 cat conftest.err >&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } && {
31458 test -z "$ac_c_werror_flag" ||
31459 test ! -s conftest.err
31460 } && test -s conftest$ac_exeext &&
31461 $as_test_x conftest$ac_exeext; then
31462 eval "$as_ac_var=yes"
31463 else
31464 echo "$as_me: failed program was:" >&5
31465 sed 's/^/| /' conftest.$ac_ext >&5
31466
31467 eval "$as_ac_var=no"
31468 fi
31469
31470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31471 conftest$ac_exeext conftest.$ac_ext
31472 fi
31473 ac_res=`eval echo '${'$as_ac_var'}'`
31474 { echo "$as_me:$LINENO: result: $ac_res" >&5
31475 echo "${ECHO_T}$ac_res" >&6; }
31476 if test `eval echo '${'$as_ac_var'}'` = yes; then
31477 cat >>confdefs.h <<_ACEOF
31478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31479 _ACEOF
31480
31481 fi
31482 done
31483
31484 fi
31485 fi
31486
31487 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31488 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31489
31490 AFMINSTALL=afminstall
31491 TOOLKIT=GTK
31492 GUIDIST=GTK_DIST
31493
31494 if test "$wxUSE_GPE" = "yes"; then
31495 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31496 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31497
31498 ac_find_libraries=
31499 for ac_dir in $SEARCH_LIB;
31500 do
31501 for ac_extension in a so sl dylib dll.a; do
31502 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31503 ac_find_libraries=$ac_dir
31504 break 2
31505 fi
31506 done
31507 done
31508
31509 if test "$ac_find_libraries" != "" ; then
31510
31511 if test "$ac_find_libraries" = "default location"; then
31512 ac_path_to_link=""
31513 else
31514 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31515 result=$?
31516 if test $result = 0; then
31517 ac_path_to_link=""
31518 else
31519 ac_path_to_link=" -L$ac_find_libraries"
31520 fi
31521 fi
31522
31523 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31524 WXGPE=1
31525 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31526 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31527 else
31528 { echo "$as_me:$LINENO: result: not found" >&5
31529 echo "${ECHO_T}not found" >&6; }
31530 fi
31531
31532 fi
31533 fi
31534
31535 if test "$wxUSE_MGL" = 1; then
31536 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31537 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31538 if test "x$MGL_ROOT" = x ; then
31539 { echo "$as_me:$LINENO: result: not found" >&5
31540 echo "${ECHO_T}not found" >&6; }
31541 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31542 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31543 { (exit 1); exit 1; }; }
31544 else
31545 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31546 echo "${ECHO_T}$MGL_ROOT" >&6; }
31547 fi
31548
31549 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31550 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31551 case "${host}" in
31552 *-*-linux* )
31553 if test "x$wxUSE_SHARED" = xyes ; then
31554 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31555 else
31556 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31557 fi
31558 ;;
31559 *-pc-msdosdjgpp )
31560 mgl_os_candidates="dos32/dj2"
31561 ;;
31562 *)
31563 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31564 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31565 { (exit 1); exit 1; }; }
31566 esac
31567
31568 mgl_lib_type=""
31569 mgl_os=""
31570
31571 for mgl_os_i in $mgl_os_candidates ; do
31572 if test "x$mgl_os" = x ; then
31573 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31574 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31575 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31576 mgl_lib_type=debug
31577 mgl_os=$mgl_os_i
31578 fi
31579 fi
31580 if test "x$mgl_lib_type" = x ; then
31581 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31582 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31583 mgl_lib_type=release
31584 mgl_os=$mgl_os_i
31585 fi
31586 fi
31587 fi
31588 done
31589
31590 if test "x$mgl_os" = x ; then
31591 { echo "$as_me:$LINENO: result: not found" >&5
31592 echo "${ECHO_T}not found" >&6; }
31593 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31594 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31595 { (exit 1); exit 1; }; }
31596 fi
31597 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31598 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31599
31600 wxUSE_UNIVERSAL="yes"
31601
31602 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31603 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31604
31605 AFMINSTALL=afminstall
31606 TOOLKIT=MGL
31607 GUIDIST=MGL_DIST
31608 fi
31609
31610 if test "$wxUSE_DFB" = 1; then
31611
31612
31613 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31614 if test -n "$ac_tool_prefix"; then
31615 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31616 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31619 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31620 echo $ECHO_N "(cached) $ECHO_C" >&6
31621 else
31622 case $PKG_CONFIG in
31623 [\\/]* | ?:[\\/]*)
31624 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31625 ;;
31626 *)
31627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31628 for as_dir in $PATH
31629 do
31630 IFS=$as_save_IFS
31631 test -z "$as_dir" && as_dir=.
31632 for ac_exec_ext in '' $ac_executable_extensions; do
31633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31634 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31636 break 2
31637 fi
31638 done
31639 done
31640 IFS=$as_save_IFS
31641
31642 ;;
31643 esac
31644 fi
31645 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31646 if test -n "$PKG_CONFIG"; then
31647 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31648 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31649 else
31650 { echo "$as_me:$LINENO: result: no" >&5
31651 echo "${ECHO_T}no" >&6; }
31652 fi
31653
31654
31655 fi
31656 if test -z "$ac_cv_path_PKG_CONFIG"; then
31657 ac_pt_PKG_CONFIG=$PKG_CONFIG
31658 # Extract the first word of "pkg-config", so it can be a program name with args.
31659 set dummy pkg-config; ac_word=$2
31660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31662 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31663 echo $ECHO_N "(cached) $ECHO_C" >&6
31664 else
31665 case $ac_pt_PKG_CONFIG in
31666 [\\/]* | ?:[\\/]*)
31667 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31668 ;;
31669 *)
31670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31671 for as_dir in $PATH
31672 do
31673 IFS=$as_save_IFS
31674 test -z "$as_dir" && as_dir=.
31675 for ac_exec_ext in '' $ac_executable_extensions; do
31676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31677 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31679 break 2
31680 fi
31681 done
31682 done
31683 IFS=$as_save_IFS
31684
31685 ;;
31686 esac
31687 fi
31688 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31689 if test -n "$ac_pt_PKG_CONFIG"; then
31690 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31691 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31692 else
31693 { echo "$as_me:$LINENO: result: no" >&5
31694 echo "${ECHO_T}no" >&6; }
31695 fi
31696
31697 if test "x$ac_pt_PKG_CONFIG" = x; then
31698 PKG_CONFIG=""
31699 else
31700 case $cross_compiling:$ac_tool_warned in
31701 yes:)
31702 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31703 whose name does not start with the host triplet. If you think this
31704 configuration is useful to you, please write to autoconf@gnu.org." >&5
31705 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31706 whose name does not start with the host triplet. If you think this
31707 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31708 ac_tool_warned=yes ;;
31709 esac
31710 PKG_CONFIG=$ac_pt_PKG_CONFIG
31711 fi
31712 else
31713 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31714 fi
31715
31716 fi
31717 if test -n "$PKG_CONFIG"; then
31718 _pkg_min_version=0.9.0
31719 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31720 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31721 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31722 { echo "$as_me:$LINENO: result: yes" >&5
31723 echo "${ECHO_T}yes" >&6; }
31724 else
31725 { echo "$as_me:$LINENO: result: no" >&5
31726 echo "${ECHO_T}no" >&6; }
31727 PKG_CONFIG=""
31728 fi
31729
31730 fi
31731
31732
31733 pkg_failed=no
31734 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31735 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31736
31737 if test -n "$PKG_CONFIG"; then
31738 if test -n "$DIRECTFB_CFLAGS"; then
31739 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31740 else
31741 if test -n "$PKG_CONFIG" && \
31742 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31743 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31744 ac_status=$?
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); }; then
31747 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31748 else
31749 pkg_failed=yes
31750 fi
31751 fi
31752 else
31753 pkg_failed=untried
31754 fi
31755 if test -n "$PKG_CONFIG"; then
31756 if test -n "$DIRECTFB_LIBS"; then
31757 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31758 else
31759 if test -n "$PKG_CONFIG" && \
31760 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31761 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31762 ac_status=$?
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); }; then
31765 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31766 else
31767 pkg_failed=yes
31768 fi
31769 fi
31770 else
31771 pkg_failed=untried
31772 fi
31773
31774
31775
31776 if test $pkg_failed = yes; then
31777
31778 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31779 _pkg_short_errors_supported=yes
31780 else
31781 _pkg_short_errors_supported=no
31782 fi
31783 if test $_pkg_short_errors_supported = yes; then
31784 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31785 else
31786 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31787 fi
31788 # Put the nasty error message in config.log where it belongs
31789 echo "$DIRECTFB_PKG_ERRORS" >&5
31790
31791
31792 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31793 echo "$as_me: error: DirectFB not found." >&2;}
31794 { (exit 1); exit 1; }; }
31795
31796
31797 elif test $pkg_failed = untried; then
31798
31799 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31800 echo "$as_me: error: DirectFB not found." >&2;}
31801 { (exit 1); exit 1; }; }
31802
31803
31804 else
31805 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31806 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31807 { echo "$as_me:$LINENO: result: yes" >&5
31808 echo "${ECHO_T}yes" >&6; }
31809
31810 wxUSE_UNIVERSAL="yes"
31811 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31812 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31813 TOOLKIT=DFB
31814 GUIDIST=DFB_DIST
31815
31816 fi
31817 fi
31818
31819 if test "$wxUSE_MICROWIN" = 1; then
31820 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31821 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31822 if test "x$MICROWINDOWS" = x ; then
31823 { echo "$as_me:$LINENO: result: not found" >&5
31824 echo "${ECHO_T}not found" >&6; }
31825 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31826 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31827 { (exit 1); exit 1; }; }
31828 else
31829 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31830 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31831 fi
31832
31833 if test -f $MICROWINDOWS/lib/libmwin.a; then
31834 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31835 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31836 else
31837 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31838 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31839 { (exit 1); exit 1; }; }
31840 fi
31841
31842 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31843 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31844
31845 wxUSE_UNIVERSAL="yes"
31846
31847 AFMINSTALL=afminstall
31848 TOOLKIT=MICROWIN
31849 GUIDIST=MICROWIN_DIST
31850
31851 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31852 fi
31853
31854 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31855 { echo "$as_me:$LINENO: checking for X" >&5
31856 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31857
31858
31859 # Check whether --with-x was given.
31860 if test "${with_x+set}" = set; then
31861 withval=$with_x;
31862 fi
31863
31864 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31865 if test "x$with_x" = xno; then
31866 # The user explicitly disabled X.
31867 have_x=disabled
31868 else
31869 case $x_includes,$x_libraries in #(
31870 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31871 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31872 { (exit 1); exit 1; }; };; #(
31873 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31874 echo $ECHO_N "(cached) $ECHO_C" >&6
31875 else
31876 # One or both of the vars are not set, and there is no cached value.
31877 ac_x_includes=no ac_x_libraries=no
31878 rm -f -r conftest.dir
31879 if mkdir conftest.dir; then
31880 cd conftest.dir
31881 cat >Imakefile <<'_ACEOF'
31882 incroot:
31883 @echo incroot='${INCROOT}'
31884 usrlibdir:
31885 @echo usrlibdir='${USRLIBDIR}'
31886 libdir:
31887 @echo libdir='${LIBDIR}'
31888 _ACEOF
31889 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31890 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31891 for ac_var in incroot usrlibdir libdir; do
31892 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31893 done
31894 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31895 for ac_extension in a so sl; do
31896 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31897 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31898 ac_im_usrlibdir=$ac_im_libdir; break
31899 fi
31900 done
31901 # Screen out bogus values from the imake configuration. They are
31902 # bogus both because they are the default anyway, and because
31903 # using them would break gcc on systems where it needs fixed includes.
31904 case $ac_im_incroot in
31905 /usr/include) ac_x_includes= ;;
31906 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31907 esac
31908 case $ac_im_usrlibdir in
31909 /usr/lib | /lib) ;;
31910 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31911 esac
31912 fi
31913 cd ..
31914 rm -f -r conftest.dir
31915 fi
31916
31917 # Standard set of common directories for X headers.
31918 # Check X11 before X11Rn because it is often a symlink to the current release.
31919 ac_x_header_dirs='
31920 /usr/X11/include
31921 /usr/X11R6/include
31922 /usr/X11R5/include
31923 /usr/X11R4/include
31924
31925 /usr/include/X11
31926 /usr/include/X11R6
31927 /usr/include/X11R5
31928 /usr/include/X11R4
31929
31930 /usr/local/X11/include
31931 /usr/local/X11R6/include
31932 /usr/local/X11R5/include
31933 /usr/local/X11R4/include
31934
31935 /usr/local/include/X11
31936 /usr/local/include/X11R6
31937 /usr/local/include/X11R5
31938 /usr/local/include/X11R4
31939
31940 /usr/X386/include
31941 /usr/x386/include
31942 /usr/XFree86/include/X11
31943
31944 /usr/include
31945 /usr/local/include
31946 /usr/unsupported/include
31947 /usr/athena/include
31948 /usr/local/x11r5/include
31949 /usr/lpp/Xamples/include
31950
31951 /usr/openwin/include
31952 /usr/openwin/share/include'
31953
31954 if test "$ac_x_includes" = no; then
31955 # Guess where to find include files, by looking for Xlib.h.
31956 # First, try using that file with no special directory specified.
31957 cat >conftest.$ac_ext <<_ACEOF
31958 /* confdefs.h. */
31959 _ACEOF
31960 cat confdefs.h >>conftest.$ac_ext
31961 cat >>conftest.$ac_ext <<_ACEOF
31962 /* end confdefs.h. */
31963 #include <X11/Xlib.h>
31964 _ACEOF
31965 if { (ac_try="$ac_cpp conftest.$ac_ext"
31966 case "(($ac_try" in
31967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31968 *) ac_try_echo=$ac_try;;
31969 esac
31970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31972 ac_status=$?
31973 grep -v '^ *+' conftest.er1 >conftest.err
31974 rm -f conftest.er1
31975 cat conftest.err >&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } >/dev/null && {
31978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31979 test ! -s conftest.err
31980 }; then
31981 # We can compile using X headers with no special include directory.
31982 ac_x_includes=
31983 else
31984 echo "$as_me: failed program was:" >&5
31985 sed 's/^/| /' conftest.$ac_ext >&5
31986
31987 for ac_dir in $ac_x_header_dirs; do
31988 if test -r "$ac_dir/X11/Xlib.h"; then
31989 ac_x_includes=$ac_dir
31990 break
31991 fi
31992 done
31993 fi
31994
31995 rm -f conftest.err conftest.$ac_ext
31996 fi # $ac_x_includes = no
31997
31998 if test "$ac_x_libraries" = no; then
31999 # Check for the libraries.
32000 # See if we find them without any special options.
32001 # Don't add to $LIBS permanently.
32002 ac_save_LIBS=$LIBS
32003 LIBS="-lX11 $LIBS"
32004 cat >conftest.$ac_ext <<_ACEOF
32005 /* confdefs.h. */
32006 _ACEOF
32007 cat confdefs.h >>conftest.$ac_ext
32008 cat >>conftest.$ac_ext <<_ACEOF
32009 /* end confdefs.h. */
32010 #include <X11/Xlib.h>
32011 int
32012 main ()
32013 {
32014 XrmInitialize ()
32015 ;
32016 return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (ac_try="$ac_link"
32021 case "(($ac_try" in
32022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32023 *) ac_try_echo=$ac_try;;
32024 esac
32025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32026 (eval "$ac_link") 2>conftest.er1
32027 ac_status=$?
32028 grep -v '^ *+' conftest.er1 >conftest.err
32029 rm -f conftest.er1
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } && {
32033 test -z "$ac_c_werror_flag" ||
32034 test ! -s conftest.err
32035 } && test -s conftest$ac_exeext &&
32036 $as_test_x conftest$ac_exeext; then
32037 LIBS=$ac_save_LIBS
32038 # We can link X programs with no special library path.
32039 ac_x_libraries=
32040 else
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32043
32044 LIBS=$ac_save_LIBS
32045 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32046 do
32047 # Don't even attempt the hair of trying to link an X program!
32048 for ac_extension in a so sl; do
32049 if test -r "$ac_dir/libX11.$ac_extension"; then
32050 ac_x_libraries=$ac_dir
32051 break 2
32052 fi
32053 done
32054 done
32055 fi
32056
32057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32058 conftest$ac_exeext conftest.$ac_ext
32059 fi # $ac_x_libraries = no
32060
32061 case $ac_x_includes,$ac_x_libraries in #(
32062 no,* | *,no | *\'*)
32063 # Didn't find X, or a directory has "'" in its name.
32064 ac_cv_have_x="have_x=no";; #(
32065 *)
32066 # Record where we found X for the cache.
32067 ac_cv_have_x="have_x=yes\
32068 ac_x_includes='$ac_x_includes'\
32069 ac_x_libraries='$ac_x_libraries'"
32070 esac
32071 fi
32072 ;; #(
32073 *) have_x=yes;;
32074 esac
32075 eval "$ac_cv_have_x"
32076 fi # $with_x != no
32077
32078 if test "$have_x" != yes; then
32079 { echo "$as_me:$LINENO: result: $have_x" >&5
32080 echo "${ECHO_T}$have_x" >&6; }
32081 no_x=yes
32082 else
32083 # If each of the values was on the command line, it overrides each guess.
32084 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32085 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32086 # Update the cache value to reflect the command line values.
32087 ac_cv_have_x="have_x=yes\
32088 ac_x_includes='$x_includes'\
32089 ac_x_libraries='$x_libraries'"
32090 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32091 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32092 fi
32093
32094 if test "$no_x" = yes; then
32095 # Not all programs may use this symbol, but it does not hurt to define it.
32096
32097 cat >>confdefs.h <<\_ACEOF
32098 #define X_DISPLAY_MISSING 1
32099 _ACEOF
32100
32101 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32102 else
32103 if test -n "$x_includes"; then
32104 X_CFLAGS="$X_CFLAGS -I$x_includes"
32105 fi
32106
32107 # It would also be nice to do this for all -L options, not just this one.
32108 if test -n "$x_libraries"; then
32109 X_LIBS="$X_LIBS -L$x_libraries"
32110 # For Solaris; some versions of Sun CC require a space after -R and
32111 # others require no space. Words are not sufficient . . . .
32112 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32113 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32114 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32115 ac_xsave_c_werror_flag=$ac_c_werror_flag
32116 ac_c_werror_flag=yes
32117 cat >conftest.$ac_ext <<_ACEOF
32118 /* confdefs.h. */
32119 _ACEOF
32120 cat confdefs.h >>conftest.$ac_ext
32121 cat >>conftest.$ac_ext <<_ACEOF
32122 /* end confdefs.h. */
32123
32124 int
32125 main ()
32126 {
32127
32128 ;
32129 return 0;
32130 }
32131 _ACEOF
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (ac_try="$ac_link"
32134 case "(($ac_try" in
32135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32136 *) ac_try_echo=$ac_try;;
32137 esac
32138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32139 (eval "$ac_link") 2>conftest.er1
32140 ac_status=$?
32141 grep -v '^ *+' conftest.er1 >conftest.err
32142 rm -f conftest.er1
32143 cat conftest.err >&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); } && {
32146 test -z "$ac_c_werror_flag" ||
32147 test ! -s conftest.err
32148 } && test -s conftest$ac_exeext &&
32149 $as_test_x conftest$ac_exeext; then
32150 { echo "$as_me:$LINENO: result: no" >&5
32151 echo "${ECHO_T}no" >&6; }
32152 X_LIBS="$X_LIBS -R$x_libraries"
32153 else
32154 echo "$as_me: failed program was:" >&5
32155 sed 's/^/| /' conftest.$ac_ext >&5
32156
32157 LIBS="$ac_xsave_LIBS -R $x_libraries"
32158 cat >conftest.$ac_ext <<_ACEOF
32159 /* confdefs.h. */
32160 _ACEOF
32161 cat confdefs.h >>conftest.$ac_ext
32162 cat >>conftest.$ac_ext <<_ACEOF
32163 /* end confdefs.h. */
32164
32165 int
32166 main ()
32167 {
32168
32169 ;
32170 return 0;
32171 }
32172 _ACEOF
32173 rm -f conftest.$ac_objext conftest$ac_exeext
32174 if { (ac_try="$ac_link"
32175 case "(($ac_try" in
32176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32177 *) ac_try_echo=$ac_try;;
32178 esac
32179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32180 (eval "$ac_link") 2>conftest.er1
32181 ac_status=$?
32182 grep -v '^ *+' conftest.er1 >conftest.err
32183 rm -f conftest.er1
32184 cat conftest.err >&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } && {
32187 test -z "$ac_c_werror_flag" ||
32188 test ! -s conftest.err
32189 } && test -s conftest$ac_exeext &&
32190 $as_test_x conftest$ac_exeext; then
32191 { echo "$as_me:$LINENO: result: yes" >&5
32192 echo "${ECHO_T}yes" >&6; }
32193 X_LIBS="$X_LIBS -R $x_libraries"
32194 else
32195 echo "$as_me: failed program was:" >&5
32196 sed 's/^/| /' conftest.$ac_ext >&5
32197
32198 { echo "$as_me:$LINENO: result: neither works" >&5
32199 echo "${ECHO_T}neither works" >&6; }
32200 fi
32201
32202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32203 conftest$ac_exeext conftest.$ac_ext
32204 fi
32205
32206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32207 conftest$ac_exeext conftest.$ac_ext
32208 ac_c_werror_flag=$ac_xsave_c_werror_flag
32209 LIBS=$ac_xsave_LIBS
32210 fi
32211
32212 # Check for system-dependent libraries X programs must link with.
32213 # Do this before checking for the system-independent R6 libraries
32214 # (-lICE), since we may need -lsocket or whatever for X linking.
32215
32216 if test "$ISC" = yes; then
32217 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32218 else
32219 # Martyn Johnson says this is needed for Ultrix, if the X
32220 # libraries were built with DECnet support. And Karl Berry says
32221 # the Alpha needs dnet_stub (dnet does not exist).
32222 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32223 cat >conftest.$ac_ext <<_ACEOF
32224 /* confdefs.h. */
32225 _ACEOF
32226 cat confdefs.h >>conftest.$ac_ext
32227 cat >>conftest.$ac_ext <<_ACEOF
32228 /* end confdefs.h. */
32229
32230 /* Override any GCC internal prototype to avoid an error.
32231 Use char because int might match the return type of a GCC
32232 builtin and then its argument prototype would still apply. */
32233 #ifdef __cplusplus
32234 extern "C"
32235 #endif
32236 char XOpenDisplay ();
32237 int
32238 main ()
32239 {
32240 return XOpenDisplay ();
32241 ;
32242 return 0;
32243 }
32244 _ACEOF
32245 rm -f conftest.$ac_objext conftest$ac_exeext
32246 if { (ac_try="$ac_link"
32247 case "(($ac_try" in
32248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32249 *) ac_try_echo=$ac_try;;
32250 esac
32251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32252 (eval "$ac_link") 2>conftest.er1
32253 ac_status=$?
32254 grep -v '^ *+' conftest.er1 >conftest.err
32255 rm -f conftest.er1
32256 cat conftest.err >&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); } && {
32259 test -z "$ac_c_werror_flag" ||
32260 test ! -s conftest.err
32261 } && test -s conftest$ac_exeext &&
32262 $as_test_x conftest$ac_exeext; then
32263 :
32264 else
32265 echo "$as_me: failed program was:" >&5
32266 sed 's/^/| /' conftest.$ac_ext >&5
32267
32268 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32269 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32270 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32271 echo $ECHO_N "(cached) $ECHO_C" >&6
32272 else
32273 ac_check_lib_save_LIBS=$LIBS
32274 LIBS="-ldnet $LIBS"
32275 cat >conftest.$ac_ext <<_ACEOF
32276 /* confdefs.h. */
32277 _ACEOF
32278 cat confdefs.h >>conftest.$ac_ext
32279 cat >>conftest.$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32281
32282 /* Override any GCC internal prototype to avoid an error.
32283 Use char because int might match the return type of a GCC
32284 builtin and then its argument prototype would still apply. */
32285 #ifdef __cplusplus
32286 extern "C"
32287 #endif
32288 char dnet_ntoa ();
32289 int
32290 main ()
32291 {
32292 return dnet_ntoa ();
32293 ;
32294 return 0;
32295 }
32296 _ACEOF
32297 rm -f conftest.$ac_objext conftest$ac_exeext
32298 if { (ac_try="$ac_link"
32299 case "(($ac_try" in
32300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32301 *) ac_try_echo=$ac_try;;
32302 esac
32303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32304 (eval "$ac_link") 2>conftest.er1
32305 ac_status=$?
32306 grep -v '^ *+' conftest.er1 >conftest.err
32307 rm -f conftest.er1
32308 cat conftest.err >&5
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); } && {
32311 test -z "$ac_c_werror_flag" ||
32312 test ! -s conftest.err
32313 } && test -s conftest$ac_exeext &&
32314 $as_test_x conftest$ac_exeext; then
32315 ac_cv_lib_dnet_dnet_ntoa=yes
32316 else
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32319
32320 ac_cv_lib_dnet_dnet_ntoa=no
32321 fi
32322
32323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32324 conftest$ac_exeext conftest.$ac_ext
32325 LIBS=$ac_check_lib_save_LIBS
32326 fi
32327 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32328 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32329 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32330 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32331 fi
32332
32333 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32334 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32335 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32336 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32337 echo $ECHO_N "(cached) $ECHO_C" >&6
32338 else
32339 ac_check_lib_save_LIBS=$LIBS
32340 LIBS="-ldnet_stub $LIBS"
32341 cat >conftest.$ac_ext <<_ACEOF
32342 /* confdefs.h. */
32343 _ACEOF
32344 cat confdefs.h >>conftest.$ac_ext
32345 cat >>conftest.$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32347
32348 /* Override any GCC internal prototype to avoid an error.
32349 Use char because int might match the return type of a GCC
32350 builtin and then its argument prototype would still apply. */
32351 #ifdef __cplusplus
32352 extern "C"
32353 #endif
32354 char dnet_ntoa ();
32355 int
32356 main ()
32357 {
32358 return dnet_ntoa ();
32359 ;
32360 return 0;
32361 }
32362 _ACEOF
32363 rm -f conftest.$ac_objext conftest$ac_exeext
32364 if { (ac_try="$ac_link"
32365 case "(($ac_try" in
32366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32367 *) ac_try_echo=$ac_try;;
32368 esac
32369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32370 (eval "$ac_link") 2>conftest.er1
32371 ac_status=$?
32372 grep -v '^ *+' conftest.er1 >conftest.err
32373 rm -f conftest.er1
32374 cat conftest.err >&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } && {
32377 test -z "$ac_c_werror_flag" ||
32378 test ! -s conftest.err
32379 } && test -s conftest$ac_exeext &&
32380 $as_test_x conftest$ac_exeext; then
32381 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32382 else
32383 echo "$as_me: failed program was:" >&5
32384 sed 's/^/| /' conftest.$ac_ext >&5
32385
32386 ac_cv_lib_dnet_stub_dnet_ntoa=no
32387 fi
32388
32389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32390 conftest$ac_exeext conftest.$ac_ext
32391 LIBS=$ac_check_lib_save_LIBS
32392 fi
32393 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32394 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32395 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32396 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32397 fi
32398
32399 fi
32400 fi
32401
32402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32403 conftest$ac_exeext conftest.$ac_ext
32404 LIBS="$ac_xsave_LIBS"
32405
32406 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32407 # to get the SysV transport functions.
32408 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32409 # needs -lnsl.
32410 # The nsl library prevents programs from opening the X display
32411 # on Irix 5.2, according to T.E. Dickey.
32412 # The functions gethostbyname, getservbyname, and inet_addr are
32413 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32414 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32415 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32416 if test "${ac_cv_func_gethostbyname+set}" = set; then
32417 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 else
32419 cat >conftest.$ac_ext <<_ACEOF
32420 /* confdefs.h. */
32421 _ACEOF
32422 cat confdefs.h >>conftest.$ac_ext
32423 cat >>conftest.$ac_ext <<_ACEOF
32424 /* end confdefs.h. */
32425 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32427 #define gethostbyname innocuous_gethostbyname
32428
32429 /* System header to define __stub macros and hopefully few prototypes,
32430 which can conflict with char gethostbyname (); below.
32431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32432 <limits.h> exists even on freestanding compilers. */
32433
32434 #ifdef __STDC__
32435 # include <limits.h>
32436 #else
32437 # include <assert.h>
32438 #endif
32439
32440 #undef gethostbyname
32441
32442 /* Override any GCC internal prototype to avoid an error.
32443 Use char because int might match the return type of a GCC
32444 builtin and then its argument prototype would still apply. */
32445 #ifdef __cplusplus
32446 extern "C"
32447 #endif
32448 char gethostbyname ();
32449 /* The GNU C library defines this for functions which it implements
32450 to always fail with ENOSYS. Some functions are actually named
32451 something starting with __ and the normal name is an alias. */
32452 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32453 choke me
32454 #endif
32455
32456 int
32457 main ()
32458 {
32459 return gethostbyname ();
32460 ;
32461 return 0;
32462 }
32463 _ACEOF
32464 rm -f conftest.$ac_objext conftest$ac_exeext
32465 if { (ac_try="$ac_link"
32466 case "(($ac_try" in
32467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32468 *) ac_try_echo=$ac_try;;
32469 esac
32470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32471 (eval "$ac_link") 2>conftest.er1
32472 ac_status=$?
32473 grep -v '^ *+' conftest.er1 >conftest.err
32474 rm -f conftest.er1
32475 cat conftest.err >&5
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); } && {
32478 test -z "$ac_c_werror_flag" ||
32479 test ! -s conftest.err
32480 } && test -s conftest$ac_exeext &&
32481 $as_test_x conftest$ac_exeext; then
32482 ac_cv_func_gethostbyname=yes
32483 else
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.$ac_ext >&5
32486
32487 ac_cv_func_gethostbyname=no
32488 fi
32489
32490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32491 conftest$ac_exeext conftest.$ac_ext
32492 fi
32493 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32494 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32495
32496 if test $ac_cv_func_gethostbyname = no; then
32497 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32498 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32499 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32500 echo $ECHO_N "(cached) $ECHO_C" >&6
32501 else
32502 ac_check_lib_save_LIBS=$LIBS
32503 LIBS="-lnsl $LIBS"
32504 cat >conftest.$ac_ext <<_ACEOF
32505 /* confdefs.h. */
32506 _ACEOF
32507 cat confdefs.h >>conftest.$ac_ext
32508 cat >>conftest.$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32510
32511 /* Override any GCC internal prototype to avoid an error.
32512 Use char because int might match the return type of a GCC
32513 builtin and then its argument prototype would still apply. */
32514 #ifdef __cplusplus
32515 extern "C"
32516 #endif
32517 char gethostbyname ();
32518 int
32519 main ()
32520 {
32521 return gethostbyname ();
32522 ;
32523 return 0;
32524 }
32525 _ACEOF
32526 rm -f conftest.$ac_objext conftest$ac_exeext
32527 if { (ac_try="$ac_link"
32528 case "(($ac_try" in
32529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32530 *) ac_try_echo=$ac_try;;
32531 esac
32532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32533 (eval "$ac_link") 2>conftest.er1
32534 ac_status=$?
32535 grep -v '^ *+' conftest.er1 >conftest.err
32536 rm -f conftest.er1
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } && {
32540 test -z "$ac_c_werror_flag" ||
32541 test ! -s conftest.err
32542 } && test -s conftest$ac_exeext &&
32543 $as_test_x conftest$ac_exeext; then
32544 ac_cv_lib_nsl_gethostbyname=yes
32545 else
32546 echo "$as_me: failed program was:" >&5
32547 sed 's/^/| /' conftest.$ac_ext >&5
32548
32549 ac_cv_lib_nsl_gethostbyname=no
32550 fi
32551
32552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32553 conftest$ac_exeext conftest.$ac_ext
32554 LIBS=$ac_check_lib_save_LIBS
32555 fi
32556 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32557 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32558 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32560 fi
32561
32562 if test $ac_cv_lib_nsl_gethostbyname = no; then
32563 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32564 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32565 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 else
32568 ac_check_lib_save_LIBS=$LIBS
32569 LIBS="-lbsd $LIBS"
32570 cat >conftest.$ac_ext <<_ACEOF
32571 /* confdefs.h. */
32572 _ACEOF
32573 cat confdefs.h >>conftest.$ac_ext
32574 cat >>conftest.$ac_ext <<_ACEOF
32575 /* end confdefs.h. */
32576
32577 /* Override any GCC internal prototype to avoid an error.
32578 Use char because int might match the return type of a GCC
32579 builtin and then its argument prototype would still apply. */
32580 #ifdef __cplusplus
32581 extern "C"
32582 #endif
32583 char gethostbyname ();
32584 int
32585 main ()
32586 {
32587 return gethostbyname ();
32588 ;
32589 return 0;
32590 }
32591 _ACEOF
32592 rm -f conftest.$ac_objext conftest$ac_exeext
32593 if { (ac_try="$ac_link"
32594 case "(($ac_try" in
32595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32596 *) ac_try_echo=$ac_try;;
32597 esac
32598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32599 (eval "$ac_link") 2>conftest.er1
32600 ac_status=$?
32601 grep -v '^ *+' conftest.er1 >conftest.err
32602 rm -f conftest.er1
32603 cat conftest.err >&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); } && {
32606 test -z "$ac_c_werror_flag" ||
32607 test ! -s conftest.err
32608 } && test -s conftest$ac_exeext &&
32609 $as_test_x conftest$ac_exeext; then
32610 ac_cv_lib_bsd_gethostbyname=yes
32611 else
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.$ac_ext >&5
32614
32615 ac_cv_lib_bsd_gethostbyname=no
32616 fi
32617
32618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32619 conftest$ac_exeext conftest.$ac_ext
32620 LIBS=$ac_check_lib_save_LIBS
32621 fi
32622 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32623 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32624 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32625 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32626 fi
32627
32628 fi
32629 fi
32630
32631 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32632 # socket/setsockopt and other routines are undefined under SCO ODT
32633 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32634 # on later versions), says Simon Leinen: it contains gethostby*
32635 # variants that don't use the name server (or something). -lsocket
32636 # must be given before -lnsl if both are needed. We assume that
32637 # if connect needs -lnsl, so does gethostbyname.
32638 { echo "$as_me:$LINENO: checking for connect" >&5
32639 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32640 if test "${ac_cv_func_connect+set}" = set; then
32641 echo $ECHO_N "(cached) $ECHO_C" >&6
32642 else
32643 cat >conftest.$ac_ext <<_ACEOF
32644 /* confdefs.h. */
32645 _ACEOF
32646 cat confdefs.h >>conftest.$ac_ext
32647 cat >>conftest.$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32649 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32651 #define connect innocuous_connect
32652
32653 /* System header to define __stub macros and hopefully few prototypes,
32654 which can conflict with char connect (); below.
32655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32656 <limits.h> exists even on freestanding compilers. */
32657
32658 #ifdef __STDC__
32659 # include <limits.h>
32660 #else
32661 # include <assert.h>
32662 #endif
32663
32664 #undef connect
32665
32666 /* Override any GCC internal prototype to avoid an error.
32667 Use char because int might match the return type of a GCC
32668 builtin and then its argument prototype would still apply. */
32669 #ifdef __cplusplus
32670 extern "C"
32671 #endif
32672 char connect ();
32673 /* The GNU C library defines this for functions which it implements
32674 to always fail with ENOSYS. Some functions are actually named
32675 something starting with __ and the normal name is an alias. */
32676 #if defined __stub_connect || defined __stub___connect
32677 choke me
32678 #endif
32679
32680 int
32681 main ()
32682 {
32683 return connect ();
32684 ;
32685 return 0;
32686 }
32687 _ACEOF
32688 rm -f conftest.$ac_objext conftest$ac_exeext
32689 if { (ac_try="$ac_link"
32690 case "(($ac_try" in
32691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32692 *) ac_try_echo=$ac_try;;
32693 esac
32694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32695 (eval "$ac_link") 2>conftest.er1
32696 ac_status=$?
32697 grep -v '^ *+' conftest.er1 >conftest.err
32698 rm -f conftest.er1
32699 cat conftest.err >&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); } && {
32702 test -z "$ac_c_werror_flag" ||
32703 test ! -s conftest.err
32704 } && test -s conftest$ac_exeext &&
32705 $as_test_x conftest$ac_exeext; then
32706 ac_cv_func_connect=yes
32707 else
32708 echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.$ac_ext >&5
32710
32711 ac_cv_func_connect=no
32712 fi
32713
32714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32715 conftest$ac_exeext conftest.$ac_ext
32716 fi
32717 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32718 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32719
32720 if test $ac_cv_func_connect = no; then
32721 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32722 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32723 if test "${ac_cv_lib_socket_connect+set}" = set; then
32724 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 else
32726 ac_check_lib_save_LIBS=$LIBS
32727 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32728 cat >conftest.$ac_ext <<_ACEOF
32729 /* confdefs.h. */
32730 _ACEOF
32731 cat confdefs.h >>conftest.$ac_ext
32732 cat >>conftest.$ac_ext <<_ACEOF
32733 /* end confdefs.h. */
32734
32735 /* Override any GCC internal prototype to avoid an error.
32736 Use char because int might match the return type of a GCC
32737 builtin and then its argument prototype would still apply. */
32738 #ifdef __cplusplus
32739 extern "C"
32740 #endif
32741 char connect ();
32742 int
32743 main ()
32744 {
32745 return connect ();
32746 ;
32747 return 0;
32748 }
32749 _ACEOF
32750 rm -f conftest.$ac_objext conftest$ac_exeext
32751 if { (ac_try="$ac_link"
32752 case "(($ac_try" in
32753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32754 *) ac_try_echo=$ac_try;;
32755 esac
32756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32757 (eval "$ac_link") 2>conftest.er1
32758 ac_status=$?
32759 grep -v '^ *+' conftest.er1 >conftest.err
32760 rm -f conftest.er1
32761 cat conftest.err >&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } && {
32764 test -z "$ac_c_werror_flag" ||
32765 test ! -s conftest.err
32766 } && test -s conftest$ac_exeext &&
32767 $as_test_x conftest$ac_exeext; then
32768 ac_cv_lib_socket_connect=yes
32769 else
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32772
32773 ac_cv_lib_socket_connect=no
32774 fi
32775
32776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32777 conftest$ac_exeext conftest.$ac_ext
32778 LIBS=$ac_check_lib_save_LIBS
32779 fi
32780 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32781 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32782 if test $ac_cv_lib_socket_connect = yes; then
32783 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32784 fi
32785
32786 fi
32787
32788 # Guillermo Gomez says -lposix is necessary on A/UX.
32789 { echo "$as_me:$LINENO: checking for remove" >&5
32790 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32791 if test "${ac_cv_func_remove+set}" = set; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32793 else
32794 cat >conftest.$ac_ext <<_ACEOF
32795 /* confdefs.h. */
32796 _ACEOF
32797 cat confdefs.h >>conftest.$ac_ext
32798 cat >>conftest.$ac_ext <<_ACEOF
32799 /* end confdefs.h. */
32800 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32802 #define remove innocuous_remove
32803
32804 /* System header to define __stub macros and hopefully few prototypes,
32805 which can conflict with char remove (); below.
32806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32807 <limits.h> exists even on freestanding compilers. */
32808
32809 #ifdef __STDC__
32810 # include <limits.h>
32811 #else
32812 # include <assert.h>
32813 #endif
32814
32815 #undef remove
32816
32817 /* Override any GCC internal prototype to avoid an error.
32818 Use char because int might match the return type of a GCC
32819 builtin and then its argument prototype would still apply. */
32820 #ifdef __cplusplus
32821 extern "C"
32822 #endif
32823 char remove ();
32824 /* The GNU C library defines this for functions which it implements
32825 to always fail with ENOSYS. Some functions are actually named
32826 something starting with __ and the normal name is an alias. */
32827 #if defined __stub_remove || defined __stub___remove
32828 choke me
32829 #endif
32830
32831 int
32832 main ()
32833 {
32834 return remove ();
32835 ;
32836 return 0;
32837 }
32838 _ACEOF
32839 rm -f conftest.$ac_objext conftest$ac_exeext
32840 if { (ac_try="$ac_link"
32841 case "(($ac_try" in
32842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32843 *) ac_try_echo=$ac_try;;
32844 esac
32845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32846 (eval "$ac_link") 2>conftest.er1
32847 ac_status=$?
32848 grep -v '^ *+' conftest.er1 >conftest.err
32849 rm -f conftest.er1
32850 cat conftest.err >&5
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); } && {
32853 test -z "$ac_c_werror_flag" ||
32854 test ! -s conftest.err
32855 } && test -s conftest$ac_exeext &&
32856 $as_test_x conftest$ac_exeext; then
32857 ac_cv_func_remove=yes
32858 else
32859 echo "$as_me: failed program was:" >&5
32860 sed 's/^/| /' conftest.$ac_ext >&5
32861
32862 ac_cv_func_remove=no
32863 fi
32864
32865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32866 conftest$ac_exeext conftest.$ac_ext
32867 fi
32868 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32869 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32870
32871 if test $ac_cv_func_remove = no; then
32872 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32873 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32874 if test "${ac_cv_lib_posix_remove+set}" = set; then
32875 echo $ECHO_N "(cached) $ECHO_C" >&6
32876 else
32877 ac_check_lib_save_LIBS=$LIBS
32878 LIBS="-lposix $LIBS"
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885
32886 /* Override any GCC internal prototype to avoid an error.
32887 Use char because int might match the return type of a GCC
32888 builtin and then its argument prototype would still apply. */
32889 #ifdef __cplusplus
32890 extern "C"
32891 #endif
32892 char remove ();
32893 int
32894 main ()
32895 {
32896 return remove ();
32897 ;
32898 return 0;
32899 }
32900 _ACEOF
32901 rm -f conftest.$ac_objext conftest$ac_exeext
32902 if { (ac_try="$ac_link"
32903 case "(($ac_try" in
32904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32905 *) ac_try_echo=$ac_try;;
32906 esac
32907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32908 (eval "$ac_link") 2>conftest.er1
32909 ac_status=$?
32910 grep -v '^ *+' conftest.er1 >conftest.err
32911 rm -f conftest.er1
32912 cat conftest.err >&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } && {
32915 test -z "$ac_c_werror_flag" ||
32916 test ! -s conftest.err
32917 } && test -s conftest$ac_exeext &&
32918 $as_test_x conftest$ac_exeext; then
32919 ac_cv_lib_posix_remove=yes
32920 else
32921 echo "$as_me: failed program was:" >&5
32922 sed 's/^/| /' conftest.$ac_ext >&5
32923
32924 ac_cv_lib_posix_remove=no
32925 fi
32926
32927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32928 conftest$ac_exeext conftest.$ac_ext
32929 LIBS=$ac_check_lib_save_LIBS
32930 fi
32931 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32932 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32933 if test $ac_cv_lib_posix_remove = yes; then
32934 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32935 fi
32936
32937 fi
32938
32939 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32940 { echo "$as_me:$LINENO: checking for shmat" >&5
32941 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32942 if test "${ac_cv_func_shmat+set}" = set; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 else
32945 cat >conftest.$ac_ext <<_ACEOF
32946 /* confdefs.h. */
32947 _ACEOF
32948 cat confdefs.h >>conftest.$ac_ext
32949 cat >>conftest.$ac_ext <<_ACEOF
32950 /* end confdefs.h. */
32951 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32953 #define shmat innocuous_shmat
32954
32955 /* System header to define __stub macros and hopefully few prototypes,
32956 which can conflict with char shmat (); below.
32957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32958 <limits.h> exists even on freestanding compilers. */
32959
32960 #ifdef __STDC__
32961 # include <limits.h>
32962 #else
32963 # include <assert.h>
32964 #endif
32965
32966 #undef shmat
32967
32968 /* Override any GCC internal prototype to avoid an error.
32969 Use char because int might match the return type of a GCC
32970 builtin and then its argument prototype would still apply. */
32971 #ifdef __cplusplus
32972 extern "C"
32973 #endif
32974 char shmat ();
32975 /* The GNU C library defines this for functions which it implements
32976 to always fail with ENOSYS. Some functions are actually named
32977 something starting with __ and the normal name is an alias. */
32978 #if defined __stub_shmat || defined __stub___shmat
32979 choke me
32980 #endif
32981
32982 int
32983 main ()
32984 {
32985 return shmat ();
32986 ;
32987 return 0;
32988 }
32989 _ACEOF
32990 rm -f conftest.$ac_objext conftest$ac_exeext
32991 if { (ac_try="$ac_link"
32992 case "(($ac_try" in
32993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32994 *) ac_try_echo=$ac_try;;
32995 esac
32996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32997 (eval "$ac_link") 2>conftest.er1
32998 ac_status=$?
32999 grep -v '^ *+' conftest.er1 >conftest.err
33000 rm -f conftest.er1
33001 cat conftest.err >&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); } && {
33004 test -z "$ac_c_werror_flag" ||
33005 test ! -s conftest.err
33006 } && test -s conftest$ac_exeext &&
33007 $as_test_x conftest$ac_exeext; then
33008 ac_cv_func_shmat=yes
33009 else
33010 echo "$as_me: failed program was:" >&5
33011 sed 's/^/| /' conftest.$ac_ext >&5
33012
33013 ac_cv_func_shmat=no
33014 fi
33015
33016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33017 conftest$ac_exeext conftest.$ac_ext
33018 fi
33019 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33020 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33021
33022 if test $ac_cv_func_shmat = no; then
33023 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33024 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33025 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 else
33028 ac_check_lib_save_LIBS=$LIBS
33029 LIBS="-lipc $LIBS"
33030 cat >conftest.$ac_ext <<_ACEOF
33031 /* confdefs.h. */
33032 _ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33036
33037 /* Override any GCC internal prototype to avoid an error.
33038 Use char because int might match the return type of a GCC
33039 builtin and then its argument prototype would still apply. */
33040 #ifdef __cplusplus
33041 extern "C"
33042 #endif
33043 char shmat ();
33044 int
33045 main ()
33046 {
33047 return shmat ();
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (ac_try="$ac_link"
33054 case "(($ac_try" in
33055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33056 *) ac_try_echo=$ac_try;;
33057 esac
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_link") 2>conftest.er1
33060 ac_status=$?
33061 grep -v '^ *+' conftest.er1 >conftest.err
33062 rm -f conftest.er1
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } && {
33066 test -z "$ac_c_werror_flag" ||
33067 test ! -s conftest.err
33068 } && test -s conftest$ac_exeext &&
33069 $as_test_x conftest$ac_exeext; then
33070 ac_cv_lib_ipc_shmat=yes
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 ac_cv_lib_ipc_shmat=no
33076 fi
33077
33078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33079 conftest$ac_exeext conftest.$ac_ext
33080 LIBS=$ac_check_lib_save_LIBS
33081 fi
33082 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33083 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33084 if test $ac_cv_lib_ipc_shmat = yes; then
33085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33086 fi
33087
33088 fi
33089 fi
33090
33091 # Check for libraries that X11R6 Xt/Xaw programs need.
33092 ac_save_LDFLAGS=$LDFLAGS
33093 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33094 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33095 # check for ICE first), but we must link in the order -lSM -lICE or
33096 # we get undefined symbols. So assume we have SM if we have ICE.
33097 # These have to be linked with before -lX11, unlike the other
33098 # libraries we check for below, so use a different variable.
33099 # John Interrante, Karl Berry
33100 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33101 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33102 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 else
33105 ac_check_lib_save_LIBS=$LIBS
33106 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33107 cat >conftest.$ac_ext <<_ACEOF
33108 /* confdefs.h. */
33109 _ACEOF
33110 cat confdefs.h >>conftest.$ac_ext
33111 cat >>conftest.$ac_ext <<_ACEOF
33112 /* end confdefs.h. */
33113
33114 /* Override any GCC internal prototype to avoid an error.
33115 Use char because int might match the return type of a GCC
33116 builtin and then its argument prototype would still apply. */
33117 #ifdef __cplusplus
33118 extern "C"
33119 #endif
33120 char IceConnectionNumber ();
33121 int
33122 main ()
33123 {
33124 return IceConnectionNumber ();
33125 ;
33126 return 0;
33127 }
33128 _ACEOF
33129 rm -f conftest.$ac_objext conftest$ac_exeext
33130 if { (ac_try="$ac_link"
33131 case "(($ac_try" in
33132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33133 *) ac_try_echo=$ac_try;;
33134 esac
33135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33136 (eval "$ac_link") 2>conftest.er1
33137 ac_status=$?
33138 grep -v '^ *+' conftest.er1 >conftest.err
33139 rm -f conftest.er1
33140 cat conftest.err >&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); } && {
33143 test -z "$ac_c_werror_flag" ||
33144 test ! -s conftest.err
33145 } && test -s conftest$ac_exeext &&
33146 $as_test_x conftest$ac_exeext; then
33147 ac_cv_lib_ICE_IceConnectionNumber=yes
33148 else
33149 echo "$as_me: failed program was:" >&5
33150 sed 's/^/| /' conftest.$ac_ext >&5
33151
33152 ac_cv_lib_ICE_IceConnectionNumber=no
33153 fi
33154
33155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33156 conftest$ac_exeext conftest.$ac_ext
33157 LIBS=$ac_check_lib_save_LIBS
33158 fi
33159 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33160 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33161 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33162 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33163 fi
33164
33165 LDFLAGS=$ac_save_LDFLAGS
33166
33167 fi
33168
33169
33170 if test "$no_x" = "yes"; then
33171 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33172 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33173 { (exit 1); exit 1; }; }
33174 fi
33175
33176 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33177 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33178 AFMINSTALL=afminstall
33179 COMPILED_X_PROGRAM=0
33180
33181 fi
33182
33183 if test "$wxUSE_X11" = 1; then
33184 if test "$wxUSE_NANOX" = "yes"; then
33185 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33186 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33187 if test "x$MICROWIN" = x ; then
33188 { echo "$as_me:$LINENO: result: not found" >&5
33189 echo "${ECHO_T}not found" >&6; }
33190 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33191 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33192 { (exit 1); exit 1; }; }
33193 else
33194 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33195 echo "${ECHO_T}$MICROWIN" >&6; }
33196 cat >>confdefs.h <<\_ACEOF
33197 #define wxUSE_NANOX 1
33198 _ACEOF
33199
33200 fi
33201 fi
33202
33203 if test "$wxUSE_UNICODE" = "yes"; then
33204
33205
33206 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33207 if test -n "$ac_tool_prefix"; then
33208 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33209 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33212 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33213 echo $ECHO_N "(cached) $ECHO_C" >&6
33214 else
33215 case $PKG_CONFIG in
33216 [\\/]* | ?:[\\/]*)
33217 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33218 ;;
33219 *)
33220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33221 for as_dir in $PATH
33222 do
33223 IFS=$as_save_IFS
33224 test -z "$as_dir" && as_dir=.
33225 for ac_exec_ext in '' $ac_executable_extensions; do
33226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33227 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33229 break 2
33230 fi
33231 done
33232 done
33233 IFS=$as_save_IFS
33234
33235 ;;
33236 esac
33237 fi
33238 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33239 if test -n "$PKG_CONFIG"; then
33240 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33241 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33242 else
33243 { echo "$as_me:$LINENO: result: no" >&5
33244 echo "${ECHO_T}no" >&6; }
33245 fi
33246
33247
33248 fi
33249 if test -z "$ac_cv_path_PKG_CONFIG"; then
33250 ac_pt_PKG_CONFIG=$PKG_CONFIG
33251 # Extract the first word of "pkg-config", so it can be a program name with args.
33252 set dummy pkg-config; ac_word=$2
33253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33255 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33256 echo $ECHO_N "(cached) $ECHO_C" >&6
33257 else
33258 case $ac_pt_PKG_CONFIG in
33259 [\\/]* | ?:[\\/]*)
33260 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33261 ;;
33262 *)
33263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33264 for as_dir in $PATH
33265 do
33266 IFS=$as_save_IFS
33267 test -z "$as_dir" && as_dir=.
33268 for ac_exec_ext in '' $ac_executable_extensions; do
33269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33270 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33272 break 2
33273 fi
33274 done
33275 done
33276 IFS=$as_save_IFS
33277
33278 ;;
33279 esac
33280 fi
33281 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33282 if test -n "$ac_pt_PKG_CONFIG"; then
33283 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33284 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33285 else
33286 { echo "$as_me:$LINENO: result: no" >&5
33287 echo "${ECHO_T}no" >&6; }
33288 fi
33289
33290 if test "x$ac_pt_PKG_CONFIG" = x; then
33291 PKG_CONFIG=""
33292 else
33293 case $cross_compiling:$ac_tool_warned in
33294 yes:)
33295 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33296 whose name does not start with the host triplet. If you think this
33297 configuration is useful to you, please write to autoconf@gnu.org." >&5
33298 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33299 whose name does not start with the host triplet. If you think this
33300 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33301 ac_tool_warned=yes ;;
33302 esac
33303 PKG_CONFIG=$ac_pt_PKG_CONFIG
33304 fi
33305 else
33306 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33307 fi
33308
33309 fi
33310 if test -n "$PKG_CONFIG"; then
33311 _pkg_min_version=0.9.0
33312 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33313 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33314 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33315 { echo "$as_me:$LINENO: result: yes" >&5
33316 echo "${ECHO_T}yes" >&6; }
33317 else
33318 { echo "$as_me:$LINENO: result: no" >&5
33319 echo "${ECHO_T}no" >&6; }
33320 PKG_CONFIG=""
33321 fi
33322
33323 fi
33324
33325
33326 pkg_failed=no
33327 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33328 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33329
33330 if test -n "$PKG_CONFIG"; then
33331 if test -n "$PANGOX_CFLAGS"; then
33332 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33333 else
33334 if test -n "$PKG_CONFIG" && \
33335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33336 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33337 ac_status=$?
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; then
33340 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33341 else
33342 pkg_failed=yes
33343 fi
33344 fi
33345 else
33346 pkg_failed=untried
33347 fi
33348 if test -n "$PKG_CONFIG"; then
33349 if test -n "$PANGOX_LIBS"; then
33350 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33351 else
33352 if test -n "$PKG_CONFIG" && \
33353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33354 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33355 ac_status=$?
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); }; then
33358 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33359 else
33360 pkg_failed=yes
33361 fi
33362 fi
33363 else
33364 pkg_failed=untried
33365 fi
33366
33367
33368
33369 if test $pkg_failed = yes; then
33370
33371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33372 _pkg_short_errors_supported=yes
33373 else
33374 _pkg_short_errors_supported=no
33375 fi
33376 if test $_pkg_short_errors_supported = yes; then
33377 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33378 else
33379 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33380 fi
33381 # Put the nasty error message in config.log where it belongs
33382 echo "$PANGOX_PKG_ERRORS" >&5
33383
33384
33385 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33386 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33387 { (exit 1); exit 1; }; }
33388
33389
33390 elif test $pkg_failed = untried; then
33391
33392 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33393 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33394 { (exit 1); exit 1; }; }
33395
33396
33397 else
33398 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33399 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33400 { echo "$as_me:$LINENO: result: yes" >&5
33401 echo "${ECHO_T}yes" >&6; }
33402
33403 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33404 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33406
33407 fi
33408
33409 pkg_failed=no
33410 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33411 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33412
33413 if test -n "$PKG_CONFIG"; then
33414 if test -n "$PANGOFT2_CFLAGS"; then
33415 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33416 else
33417 if test -n "$PKG_CONFIG" && \
33418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33419 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33420 ac_status=$?
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); }; then
33423 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33424 else
33425 pkg_failed=yes
33426 fi
33427 fi
33428 else
33429 pkg_failed=untried
33430 fi
33431 if test -n "$PKG_CONFIG"; then
33432 if test -n "$PANGOFT2_LIBS"; then
33433 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33434 else
33435 if test -n "$PKG_CONFIG" && \
33436 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33437 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33438 ac_status=$?
33439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440 (exit $ac_status); }; then
33441 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33442 else
33443 pkg_failed=yes
33444 fi
33445 fi
33446 else
33447 pkg_failed=untried
33448 fi
33449
33450
33451
33452 if test $pkg_failed = yes; then
33453
33454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33455 _pkg_short_errors_supported=yes
33456 else
33457 _pkg_short_errors_supported=no
33458 fi
33459 if test $_pkg_short_errors_supported = yes; then
33460 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33461 else
33462 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33463 fi
33464 # Put the nasty error message in config.log where it belongs
33465 echo "$PANGOFT2_PKG_ERRORS" >&5
33466
33467
33468 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33469 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33470 wxUSE_PRINTING_ARCHITECTURE="no"
33471
33472
33473 elif test $pkg_failed = untried; then
33474
33475 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33476 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33477 wxUSE_PRINTING_ARCHITECTURE="no"
33478
33479
33480 else
33481 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33482 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33483 { echo "$as_me:$LINENO: result: yes" >&5
33484 echo "${ECHO_T}yes" >&6; }
33485
33486 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33487 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33488 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33489
33490 fi
33491
33492 pkg_failed=no
33493 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33494 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33495
33496 if test -n "$PKG_CONFIG"; then
33497 if test -n "$PANGOXFT_CFLAGS"; then
33498 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33499 else
33500 if test -n "$PKG_CONFIG" && \
33501 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33502 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33503 ac_status=$?
33504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33505 (exit $ac_status); }; then
33506 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33507 else
33508 pkg_failed=yes
33509 fi
33510 fi
33511 else
33512 pkg_failed=untried
33513 fi
33514 if test -n "$PKG_CONFIG"; then
33515 if test -n "$PANGOXFT_LIBS"; then
33516 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33517 else
33518 if test -n "$PKG_CONFIG" && \
33519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33520 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33521 ac_status=$?
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); }; then
33524 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33525 else
33526 pkg_failed=yes
33527 fi
33528 fi
33529 else
33530 pkg_failed=untried
33531 fi
33532
33533
33534
33535 if test $pkg_failed = yes; then
33536
33537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33538 _pkg_short_errors_supported=yes
33539 else
33540 _pkg_short_errors_supported=no
33541 fi
33542 if test $_pkg_short_errors_supported = yes; then
33543 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33544 else
33545 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33546 fi
33547 # Put the nasty error message in config.log where it belongs
33548 echo "$PANGOXFT_PKG_ERRORS" >&5
33549
33550
33551 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33552 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33553
33554
33555 elif test $pkg_failed = untried; then
33556
33557 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33558 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33559
33560
33561 else
33562 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33563 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33564 { echo "$as_me:$LINENO: result: yes" >&5
33565 echo "${ECHO_T}yes" >&6; }
33566
33567 cat >>confdefs.h <<\_ACEOF
33568 #define HAVE_PANGO_XFT 1
33569 _ACEOF
33570
33571 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33572 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33573 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33574
33575 fi
33576 save_LIBS="$LIBS"
33577 LIBS="$LIBS $PANGOX_LIBS"
33578
33579 for ac_func in pango_font_family_is_monospace
33580 do
33581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33582 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33584 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33585 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 else
33587 cat >conftest.$ac_ext <<_ACEOF
33588 /* confdefs.h. */
33589 _ACEOF
33590 cat confdefs.h >>conftest.$ac_ext
33591 cat >>conftest.$ac_ext <<_ACEOF
33592 /* end confdefs.h. */
33593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33595 #define $ac_func innocuous_$ac_func
33596
33597 /* System header to define __stub macros and hopefully few prototypes,
33598 which can conflict with char $ac_func (); below.
33599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33600 <limits.h> exists even on freestanding compilers. */
33601
33602 #ifdef __STDC__
33603 # include <limits.h>
33604 #else
33605 # include <assert.h>
33606 #endif
33607
33608 #undef $ac_func
33609
33610 /* Override any GCC internal prototype to avoid an error.
33611 Use char because int might match the return type of a GCC
33612 builtin and then its argument prototype would still apply. */
33613 #ifdef __cplusplus
33614 extern "C"
33615 #endif
33616 char $ac_func ();
33617 /* The GNU C library defines this for functions which it implements
33618 to always fail with ENOSYS. Some functions are actually named
33619 something starting with __ and the normal name is an alias. */
33620 #if defined __stub_$ac_func || defined __stub___$ac_func
33621 choke me
33622 #endif
33623
33624 int
33625 main ()
33626 {
33627 return $ac_func ();
33628 ;
33629 return 0;
33630 }
33631 _ACEOF
33632 rm -f conftest.$ac_objext conftest$ac_exeext
33633 if { (ac_try="$ac_link"
33634 case "(($ac_try" in
33635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33636 *) ac_try_echo=$ac_try;;
33637 esac
33638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33639 (eval "$ac_link") 2>conftest.er1
33640 ac_status=$?
33641 grep -v '^ *+' conftest.er1 >conftest.err
33642 rm -f conftest.er1
33643 cat conftest.err >&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } && {
33646 test -z "$ac_c_werror_flag" ||
33647 test ! -s conftest.err
33648 } && test -s conftest$ac_exeext &&
33649 $as_test_x conftest$ac_exeext; then
33650 eval "$as_ac_var=yes"
33651 else
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33654
33655 eval "$as_ac_var=no"
33656 fi
33657
33658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33659 conftest$ac_exeext conftest.$ac_ext
33660 fi
33661 ac_res=`eval echo '${'$as_ac_var'}'`
33662 { echo "$as_me:$LINENO: result: $ac_res" >&5
33663 echo "${ECHO_T}$ac_res" >&6; }
33664 if test `eval echo '${'$as_ac_var'}'` = yes; then
33665 cat >>confdefs.h <<_ACEOF
33666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33667 _ACEOF
33668
33669 fi
33670 done
33671
33672 LIBS="$save_LIBS"
33673 fi
33674
33675 wxUSE_UNIVERSAL="yes"
33676
33677 if test "$wxUSE_NANOX" = "yes"; then
33678 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33679 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"
33680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33681 else
33682 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33683 fi
33684
33685 TOOLKIT=X11
33686 GUIDIST=X11_DIST
33687 fi
33688
33689 if test "$wxUSE_MOTIF" = 1; then
33690 if test "$wxUSE_UNICODE" = "yes"; then
33691 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33692 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33693 { (exit 1); exit 1; }; }
33694 fi
33695
33696 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33697 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33698
33699 ac_find_includes=
33700 for ac_dir in $SEARCH_INCLUDE /usr/include;
33701 do
33702 if test -f "$ac_dir/Xm/Xm.h"; then
33703 ac_find_includes=$ac_dir
33704 break
33705 fi
33706 done
33707
33708 if test "$ac_find_includes" != "" ; then
33709 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33710 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33711
33712 if test "x$ac_find_includes" = "x/usr/include"; then
33713 ac_path_to_include=""
33714 else
33715 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33716 result=$?
33717 if test $result = 0; then
33718 ac_path_to_include=""
33719 else
33720 ac_path_to_include=" -I$ac_find_includes"
33721 fi
33722 fi
33723
33724 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33725 else
33726 save_CFLAGS=$CFLAGS
33727 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33728
33729 cat >conftest.$ac_ext <<_ACEOF
33730 /* confdefs.h. */
33731 _ACEOF
33732 cat confdefs.h >>conftest.$ac_ext
33733 cat >>conftest.$ac_ext <<_ACEOF
33734 /* end confdefs.h. */
33735
33736 #include <Xm/Xm.h>
33737
33738 int
33739 main ()
33740 {
33741
33742 int version;
33743 version = xmUseVersion;
33744
33745 ;
33746 return 0;
33747 }
33748 _ACEOF
33749 rm -f conftest.$ac_objext
33750 if { (ac_try="$ac_compile"
33751 case "(($ac_try" in
33752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33753 *) ac_try_echo=$ac_try;;
33754 esac
33755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33756 (eval "$ac_compile") 2>conftest.er1
33757 ac_status=$?
33758 grep -v '^ *+' conftest.er1 >conftest.err
33759 rm -f conftest.er1
33760 cat conftest.err >&5
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); } && {
33763 test -z "$ac_c_werror_flag" ||
33764 test ! -s conftest.err
33765 } && test -s conftest.$ac_objext; then
33766
33767 { echo "$as_me:$LINENO: result: found in default search path" >&5
33768 echo "${ECHO_T}found in default search path" >&6; }
33769 COMPILED_X_PROGRAM=1
33770
33771 else
33772 echo "$as_me: failed program was:" >&5
33773 sed 's/^/| /' conftest.$ac_ext >&5
33774
33775
33776 { echo "$as_me:$LINENO: result: no" >&5
33777 echo "${ECHO_T}no" >&6; }
33778 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33779 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33780 { (exit 1); exit 1; }; }
33781
33782
33783 fi
33784
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786
33787 CFLAGS=$save_CFLAGS
33788 fi
33789
33790
33791 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33792 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33793
33794 ac_find_libraries=
33795 for ac_dir in $SEARCH_LIB;
33796 do
33797 for ac_extension in a so sl dylib dll.a; do
33798 if test -f "$ac_dir/libXm.$ac_extension"; then
33799 ac_find_libraries=$ac_dir
33800 break 2
33801 fi
33802 done
33803 done
33804
33805
33806 if test "x$ac_find_libraries" != "x" ; then
33807 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33808 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33809
33810
33811 if test "$ac_find_libraries" = "default location"; then
33812 ac_path_to_link=""
33813 else
33814 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33815 result=$?
33816 if test $result = 0; then
33817 ac_path_to_link=""
33818 else
33819 ac_path_to_link=" -L$ac_find_libraries"
33820 fi
33821 fi
33822
33823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33824 else
33825 save_CFLAGS=$CFLAGS
33826 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33827 save_LIBS="$LIBS"
33828 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33829
33830 cat >conftest.$ac_ext <<_ACEOF
33831 /* confdefs.h. */
33832 _ACEOF
33833 cat confdefs.h >>conftest.$ac_ext
33834 cat >>conftest.$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33836
33837 #include <Xm/Xm.h>
33838
33839 int
33840 main ()
33841 {
33842
33843 int version;
33844 version = xmUseVersion;
33845
33846 ;
33847 return 0;
33848 }
33849 _ACEOF
33850 rm -f conftest.$ac_objext conftest$ac_exeext
33851 if { (ac_try="$ac_link"
33852 case "(($ac_try" in
33853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33854 *) ac_try_echo=$ac_try;;
33855 esac
33856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33857 (eval "$ac_link") 2>conftest.er1
33858 ac_status=$?
33859 grep -v '^ *+' conftest.er1 >conftest.err
33860 rm -f conftest.er1
33861 cat conftest.err >&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); } && {
33864 test -z "$ac_c_werror_flag" ||
33865 test ! -s conftest.err
33866 } && test -s conftest$ac_exeext &&
33867 $as_test_x conftest$ac_exeext; then
33868
33869 { echo "$as_me:$LINENO: result: found in default search path" >&5
33870 echo "${ECHO_T}found in default search path" >&6; }
33871 COMPILED_X_PROGRAM=1
33872
33873 else
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.$ac_ext >&5
33876
33877
33878 { echo "$as_me:$LINENO: result: no" >&5
33879 echo "${ECHO_T}no" >&6; }
33880 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33881 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33882 { (exit 1); exit 1; }; }
33883
33884
33885 fi
33886
33887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33888 conftest$ac_exeext conftest.$ac_ext
33889
33890 CFLAGS=$save_CFLAGS
33891 LIBS="$save_LIBS"
33892 fi
33893
33894 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33895 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33896 libp_link=""
33897 libsm_ice_link=""
33898 libs_found=0
33899 for libp in "" " -lXp"; do
33900 if test "$libs_found" = "0"; then
33901 for libsm_ice in "" " -lSM -lICE"; do
33902 if test "$libs_found" = "0"; then
33903 save_LIBS="$LIBS"
33904 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33905 save_CFLAGS=$CFLAGS
33906 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33907
33908 cat >conftest.$ac_ext <<_ACEOF
33909 /* confdefs.h. */
33910 _ACEOF
33911 cat confdefs.h >>conftest.$ac_ext
33912 cat >>conftest.$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33914
33915 #include <Xm/Xm.h>
33916 #include <Xm/List.h>
33917
33918 int
33919 main ()
33920 {
33921
33922 XmString string = NULL;
33923 Widget w = NULL;
33924 int position = 0;
33925 XmListAddItem(w, string, position);
33926
33927 ;
33928 return 0;
33929 }
33930 _ACEOF
33931 rm -f conftest.$ac_objext conftest$ac_exeext
33932 if { (ac_try="$ac_link"
33933 case "(($ac_try" in
33934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33935 *) ac_try_echo=$ac_try;;
33936 esac
33937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33938 (eval "$ac_link") 2>conftest.er1
33939 ac_status=$?
33940 grep -v '^ *+' conftest.er1 >conftest.err
33941 rm -f conftest.er1
33942 cat conftest.err >&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } && {
33945 test -z "$ac_c_werror_flag" ||
33946 test ! -s conftest.err
33947 } && test -s conftest$ac_exeext &&
33948 $as_test_x conftest$ac_exeext; then
33949
33950 libp_link="$libp"
33951 libsm_ice_link="$libsm_ice"
33952 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33953 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33954 libs_found=1
33955
33956 else
33957 echo "$as_me: failed program was:" >&5
33958 sed 's/^/| /' conftest.$ac_ext >&5
33959
33960
33961
33962 fi
33963
33964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33965 conftest$ac_exeext conftest.$ac_ext
33966
33967 LIBS="$save_LIBS"
33968 CFLAGS=$save_CFLAGS
33969 fi
33970 done
33971 fi
33972 done
33973
33974 if test "$libs_found" = "0"; then
33975 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33976 echo "${ECHO_T}can't find the right libraries" >&6; }
33977 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33978 echo "$as_me: error: can't link a simple motif program" >&2;}
33979 { (exit 1); exit 1; }; }
33980 fi
33981
33982 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33983 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33984 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33985 echo $ECHO_N "(cached) $ECHO_C" >&6
33986 else
33987 ac_check_lib_save_LIBS=$LIBS
33988 LIBS="-lSgm $LIBS"
33989 cat >conftest.$ac_ext <<_ACEOF
33990 /* confdefs.h. */
33991 _ACEOF
33992 cat confdefs.h >>conftest.$ac_ext
33993 cat >>conftest.$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33995
33996 /* Override any GCC internal prototype to avoid an error.
33997 Use char because int might match the return type of a GCC
33998 builtin and then its argument prototype would still apply. */
33999 #ifdef __cplusplus
34000 extern "C"
34001 #endif
34002 char SgCreateList ();
34003 int
34004 main ()
34005 {
34006 return SgCreateList ();
34007 ;
34008 return 0;
34009 }
34010 _ACEOF
34011 rm -f conftest.$ac_objext conftest$ac_exeext
34012 if { (ac_try="$ac_link"
34013 case "(($ac_try" in
34014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34015 *) ac_try_echo=$ac_try;;
34016 esac
34017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34018 (eval "$ac_link") 2>conftest.er1
34019 ac_status=$?
34020 grep -v '^ *+' conftest.er1 >conftest.err
34021 rm -f conftest.er1
34022 cat conftest.err >&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } && {
34025 test -z "$ac_c_werror_flag" ||
34026 test ! -s conftest.err
34027 } && test -s conftest$ac_exeext &&
34028 $as_test_x conftest$ac_exeext; then
34029 ac_cv_lib_Sgm_SgCreateList=yes
34030 else
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34033
34034 ac_cv_lib_Sgm_SgCreateList=no
34035 fi
34036
34037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34038 conftest$ac_exeext conftest.$ac_ext
34039 LIBS=$ac_check_lib_save_LIBS
34040 fi
34041 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34042 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34043 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34044 libsgm_link=" -lSgm"
34045 fi
34046
34047
34048 save_CFLAGS=$CFLAGS
34049 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34050
34051 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34052 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34053 if test "${wx_cv_lib_motif2+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34055 else
34056 cat >conftest.$ac_ext <<_ACEOF
34057 /* confdefs.h. */
34058 _ACEOF
34059 cat confdefs.h >>conftest.$ac_ext
34060 cat >>conftest.$ac_ext <<_ACEOF
34061 /* end confdefs.h. */
34062
34063 #include <Xm/Xm.h>
34064
34065 int
34066 main ()
34067 {
34068
34069 #if XmVersion < 2000
34070 Not Motif 2
34071 #endif
34072
34073 ;
34074 return 0;
34075 }
34076 _ACEOF
34077 rm -f conftest.$ac_objext
34078 if { (ac_try="$ac_compile"
34079 case "(($ac_try" in
34080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34081 *) ac_try_echo=$ac_try;;
34082 esac
34083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34084 (eval "$ac_compile") 2>conftest.er1
34085 ac_status=$?
34086 grep -v '^ *+' conftest.er1 >conftest.err
34087 rm -f conftest.er1
34088 cat conftest.err >&5
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); } && {
34091 test -z "$ac_c_werror_flag" ||
34092 test ! -s conftest.err
34093 } && test -s conftest.$ac_objext; then
34094 wx_cv_lib_motif2="yes"
34095 else
34096 echo "$as_me: failed program was:" >&5
34097 sed 's/^/| /' conftest.$ac_ext >&5
34098
34099 wx_cv_lib_motif2="no"
34100 fi
34101
34102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34103 fi
34104 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34105 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34106 if test "$wx_cv_lib_motif2" = "yes"; then
34107 cat >>confdefs.h <<\_ACEOF
34108 #define __WXMOTIF20__ 1
34109 _ACEOF
34110
34111 else
34112 cat >>confdefs.h <<\_ACEOF
34113 #define __WXMOTIF20__ 0
34114 _ACEOF
34115
34116 fi
34117
34118 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34119 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34120 if test "${wx_cv_lib_lesstif+set}" = set; then
34121 echo $ECHO_N "(cached) $ECHO_C" >&6
34122 else
34123 cat >conftest.$ac_ext <<_ACEOF
34124 /* confdefs.h. */
34125 _ACEOF
34126 cat confdefs.h >>conftest.$ac_ext
34127 cat >>conftest.$ac_ext <<_ACEOF
34128 /* end confdefs.h. */
34129
34130 #include <Xm/Xm.h>
34131
34132 int
34133 main ()
34134 {
34135
34136 #if !defined(LesstifVersion) || LesstifVersion <= 0
34137 Not Lesstif
34138 #endif
34139
34140 ;
34141 return 0;
34142 }
34143 _ACEOF
34144 rm -f conftest.$ac_objext
34145 if { (ac_try="$ac_compile"
34146 case "(($ac_try" in
34147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34148 *) ac_try_echo=$ac_try;;
34149 esac
34150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34151 (eval "$ac_compile") 2>conftest.er1
34152 ac_status=$?
34153 grep -v '^ *+' conftest.er1 >conftest.err
34154 rm -f conftest.er1
34155 cat conftest.err >&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); } && {
34158 test -z "$ac_c_werror_flag" ||
34159 test ! -s conftest.err
34160 } && test -s conftest.$ac_objext; then
34161 wx_cv_lib_lesstif="yes"
34162 else
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34165
34166 wx_cv_lib_lesstif="no"
34167 fi
34168
34169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34170
34171 fi
34172 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34173 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34174 if test "$wx_cv_lib_lesstif" = "yes"; then
34175 cat >>confdefs.h <<\_ACEOF
34176 #define __WXLESSTIF__ 1
34177 _ACEOF
34178
34179 else
34180 cat >>confdefs.h <<\_ACEOF
34181 #define __WXLESSTIF__ 0
34182 _ACEOF
34183
34184 fi
34185
34186 CFLAGS=$save_CFLAGS
34187
34188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34189 TOOLKIT=MOTIF
34190 GUIDIST=MOTIF_DIST
34191 fi
34192
34193 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34194 if test "$wxUSE_LIBXPM" = "sys"; then
34195 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34196 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34197
34198 ac_find_libraries=
34199 for ac_dir in $SEARCH_LIB;
34200 do
34201 for ac_extension in a so sl dylib dll.a; do
34202 if test -f "$ac_dir/libXpm.$ac_extension"; then
34203 ac_find_libraries=$ac_dir
34204 break 2
34205 fi
34206 done
34207 done
34208
34209 if test "$ac_find_libraries" != "" ; then
34210
34211 if test "$ac_find_libraries" = "default location"; then
34212 ac_path_to_link=""
34213 else
34214 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34215 result=$?
34216 if test $result = 0; then
34217 ac_path_to_link=""
34218 else
34219 ac_path_to_link=" -L$ac_find_libraries"
34220 fi
34221 fi
34222
34223 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34224 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34225 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34226
34227 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34228 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34229 if test "${wx_cv_x11_xpm_h+set}" = set; then
34230 echo $ECHO_N "(cached) $ECHO_C" >&6
34231 else
34232
34233 save_CFLAGS=$CFLAGS
34234 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34235
34236 cat >conftest.$ac_ext <<_ACEOF
34237 /* confdefs.h. */
34238 _ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242
34243 #include <X11/xpm.h>
34244
34245 int
34246 main ()
34247 {
34248
34249 int version;
34250 version = XpmLibraryVersion();
34251
34252 ;
34253 return 0;
34254 }
34255 _ACEOF
34256 rm -f conftest.$ac_objext
34257 if { (ac_try="$ac_compile"
34258 case "(($ac_try" in
34259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34260 *) ac_try_echo=$ac_try;;
34261 esac
34262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34263 (eval "$ac_compile") 2>conftest.er1
34264 ac_status=$?
34265 grep -v '^ *+' conftest.er1 >conftest.err
34266 rm -f conftest.er1
34267 cat conftest.err >&5
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); } && {
34270 test -z "$ac_c_werror_flag" ||
34271 test ! -s conftest.err
34272 } && test -s conftest.$ac_objext; then
34273 wx_cv_x11_xpm_h=yes
34274 else
34275 echo "$as_me: failed program was:" >&5
34276 sed 's/^/| /' conftest.$ac_ext >&5
34277
34278 wx_cv_x11_xpm_h=no
34279
34280 fi
34281
34282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34283
34284 CFLAGS=$save_CFLAGS
34285
34286
34287 fi
34288 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34289 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34290
34291 if test $wx_cv_x11_xpm_h = "yes"; then
34292 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34293 cat >>confdefs.h <<\_ACEOF
34294 #define wxHAVE_LIB_XPM 1
34295 _ACEOF
34296
34297 else
34298 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34299 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34300 fi
34301 fi
34302
34303 fi
34304
34305 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34306 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34307 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34308 echo $ECHO_N "(cached) $ECHO_C" >&6
34309 else
34310 ac_check_lib_save_LIBS=$LIBS
34311 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34312 cat >conftest.$ac_ext <<_ACEOF
34313 /* confdefs.h. */
34314 _ACEOF
34315 cat confdefs.h >>conftest.$ac_ext
34316 cat >>conftest.$ac_ext <<_ACEOF
34317 /* end confdefs.h. */
34318
34319 /* Override any GCC internal prototype to avoid an error.
34320 Use char because int might match the return type of a GCC
34321 builtin and then its argument prototype would still apply. */
34322 #ifdef __cplusplus
34323 extern "C"
34324 #endif
34325 char XShapeQueryExtension ();
34326 int
34327 main ()
34328 {
34329 return XShapeQueryExtension ();
34330 ;
34331 return 0;
34332 }
34333 _ACEOF
34334 rm -f conftest.$ac_objext conftest$ac_exeext
34335 if { (ac_try="$ac_link"
34336 case "(($ac_try" in
34337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34338 *) ac_try_echo=$ac_try;;
34339 esac
34340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34341 (eval "$ac_link") 2>conftest.er1
34342 ac_status=$?
34343 grep -v '^ *+' conftest.er1 >conftest.err
34344 rm -f conftest.er1
34345 cat conftest.err >&5
34346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34347 (exit $ac_status); } && {
34348 test -z "$ac_c_werror_flag" ||
34349 test ! -s conftest.err
34350 } && test -s conftest$ac_exeext &&
34351 $as_test_x conftest$ac_exeext; then
34352 ac_cv_lib_Xext_XShapeQueryExtension=yes
34353 else
34354 echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.$ac_ext >&5
34356
34357 ac_cv_lib_Xext_XShapeQueryExtension=no
34358 fi
34359
34360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34361 conftest$ac_exeext conftest.$ac_ext
34362 LIBS=$ac_check_lib_save_LIBS
34363 fi
34364 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34365 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34366 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34367
34368 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34369 wxHAVE_XEXT_LIB=1
34370
34371 fi
34372
34373
34374 if test "$wxHAVE_XEXT_LIB" = 1; then
34375 save_CFLAGS="$CFLAGS"
34376 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34377
34378 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34379 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34380 cat >conftest.$ac_ext <<_ACEOF
34381 /* confdefs.h. */
34382 _ACEOF
34383 cat confdefs.h >>conftest.$ac_ext
34384 cat >>conftest.$ac_ext <<_ACEOF
34385 /* end confdefs.h. */
34386
34387 #include <X11/Xlib.h>
34388 #include <X11/extensions/shape.h>
34389
34390 int
34391 main ()
34392 {
34393
34394 int dummy1, dummy2;
34395 XShapeQueryExtension((Display*)NULL,
34396 (int*)NULL, (int*)NULL);
34397
34398 ;
34399 return 0;
34400 }
34401 _ACEOF
34402 rm -f conftest.$ac_objext
34403 if { (ac_try="$ac_compile"
34404 case "(($ac_try" in
34405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34406 *) ac_try_echo=$ac_try;;
34407 esac
34408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34409 (eval "$ac_compile") 2>conftest.er1
34410 ac_status=$?
34411 grep -v '^ *+' conftest.er1 >conftest.err
34412 rm -f conftest.er1
34413 cat conftest.err >&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } && {
34416 test -z "$ac_c_werror_flag" ||
34417 test ! -s conftest.err
34418 } && test -s conftest.$ac_objext; then
34419
34420 cat >>confdefs.h <<\_ACEOF
34421 #define HAVE_XSHAPE 1
34422 _ACEOF
34423
34424 { echo "$as_me:$LINENO: result: found" >&5
34425 echo "${ECHO_T}found" >&6; }
34426
34427 else
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.$ac_ext >&5
34430
34431
34432 { echo "$as_me:$LINENO: result: not found" >&5
34433 echo "${ECHO_T}not found" >&6; }
34434
34435 fi
34436
34437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 CFLAGS="$save_CFLAGS"
34439
34440 fi
34441 fi
34442
34443 if test "$wxUSE_MAC" = 1; then
34444 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34445 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34446 if test "$GCC" = yes; then
34447 { echo "$as_me:$LINENO: result: gcc" >&5
34448 echo "${ECHO_T}gcc" >&6; }
34449 CPPFLAGS_PASCAL="-fpascal-strings"
34450 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34451 { echo "$as_me:$LINENO: result: xlc" >&5
34452 echo "${ECHO_T}xlc" >&6; }
34453 CPPFLAGS_PASCAL="-qmacpstr"
34454 else
34455 { echo "$as_me:$LINENO: result: none" >&5
34456 echo "${ECHO_T}none" >&6; }
34457 fi
34458
34459 if test "x$wxUSE_UNIX" = "xyes"; then
34460 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34461 else
34462 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34463 fi
34464
34465 TOOLKIT=MAC
34466 GUIDIST=MACX_DIST
34467 WXBASEPORT="_carbon"
34468 fi
34469
34470 if test "$wxUSE_COCOA" = 1; then
34471 TOOLKIT=COCOA
34472 GUIDIST=COCOA_DIST
34473 fi
34474
34475 if test "$wxUSE_PM" = 1; then
34476 TOOLKIT=PM
34477 GUIDIST=PM_DIST
34478 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34479 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34480 if test "${wx_cv_spbcdata+set}" = set; then
34481 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 else
34483
34484 cat >conftest.$ac_ext <<_ACEOF
34485 /* confdefs.h. */
34486 _ACEOF
34487 cat confdefs.h >>conftest.$ac_ext
34488 cat >>conftest.$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34490
34491 #define INCL_PM
34492 #include <os2.h>
34493
34494 int
34495 main ()
34496 {
34497
34498 SPBCDATA test;
34499
34500 ;
34501 return 0;
34502 }
34503 _ACEOF
34504 rm -f conftest.$ac_objext
34505 if { (ac_try="$ac_compile"
34506 case "(($ac_try" in
34507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34508 *) ac_try_echo=$ac_try;;
34509 esac
34510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34511 (eval "$ac_compile") 2>conftest.er1
34512 ac_status=$?
34513 grep -v '^ *+' conftest.er1 >conftest.err
34514 rm -f conftest.er1
34515 cat conftest.err >&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } && {
34518 test -z "$ac_c_werror_flag" ||
34519 test ! -s conftest.err
34520 } && test -s conftest.$ac_objext; then
34521 wx_cv_spbcdata=yes
34522 else
34523 echo "$as_me: failed program was:" >&5
34524 sed 's/^/| /' conftest.$ac_ext >&5
34525
34526 wx_cv_spbcdata=no
34527
34528 fi
34529
34530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34531
34532
34533 fi
34534 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34535 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34536
34537 if test $wx_cv_spbcdata = "yes"; then
34538 cat >>confdefs.h <<\_ACEOF
34539 #define HAVE_SPBCDATA 1
34540 _ACEOF
34541
34542 fi
34543 fi
34544
34545 if test "$TOOLKIT" = "PM" ; then
34546 TOOLKIT_DIR="os2"
34547 else
34548 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34549 fi
34550
34551 if test "$wxUSE_UNIVERSAL" = "yes"; then
34552 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34553 WIDGET_SET=univ
34554 fi
34555
34556 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34557 DISTDIR="wx\$(TOOLKIT)"
34558 else
34559 USE_GUI=0
34560
34561 TOOLKIT_DIR="base"
34562
34563 if test "$USE_WIN32" = 1 ; then
34564 TOOLKIT="MSW"
34565 fi
34566
34567 GUIDIST="BASE_DIST"
34568 DISTDIR="wxBase"
34569 fi
34570
34571
34572
34573 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34574 if test "$TOOLKIT" = "DFB" ; then
34575 wxUSE_UNICODE_UTF8=yes
34576 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34577 wxUSE_UNICODE_UTF8=yes
34578 elif test "$USE_OS2" = "1" ; then
34579 wxUSE_UNICODE_UTF8=yes
34580 else
34581 wxUSE_UNICODE_UTF8=no
34582 fi
34583 fi
34584
34585
34586 if test "$wxUSE_GUI" = "yes"; then
34587 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34588 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34589 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34590 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599
34600
34601 #include <X11/Xlib.h>
34602 _ACEOF
34603 rm -f conftest.$ac_objext
34604 if { (ac_try="$ac_compile"
34605 case "(($ac_try" in
34606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34607 *) ac_try_echo=$ac_try;;
34608 esac
34609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34610 (eval "$ac_compile") 2>conftest.er1
34611 ac_status=$?
34612 grep -v '^ *+' conftest.er1 >conftest.err
34613 rm -f conftest.er1
34614 cat conftest.err >&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } && {
34617 test -z "$ac_c_werror_flag" ||
34618 test ! -s conftest.err
34619 } && test -s conftest.$ac_objext; then
34620 ac_cv_header_X11_Xlib_h=yes
34621 else
34622 echo "$as_me: failed program was:" >&5
34623 sed 's/^/| /' conftest.$ac_ext >&5
34624
34625 ac_cv_header_X11_Xlib_h=no
34626 fi
34627
34628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34629 fi
34630 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34631 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34632
34633
34634 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34635 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34636 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34638 else
34639 cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h. */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645
34646 #if HAVE_X11_XLIB_H
34647 #include <X11/Xlib.h>
34648 #endif
34649
34650
34651 #include <X11/XKBlib.h>
34652 _ACEOF
34653 rm -f conftest.$ac_objext
34654 if { (ac_try="$ac_compile"
34655 case "(($ac_try" in
34656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34657 *) ac_try_echo=$ac_try;;
34658 esac
34659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34660 (eval "$ac_compile") 2>conftest.er1
34661 ac_status=$?
34662 grep -v '^ *+' conftest.er1 >conftest.err
34663 rm -f conftest.er1
34664 cat conftest.err >&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); } && {
34667 test -z "$ac_c_werror_flag" ||
34668 test ! -s conftest.err
34669 } && test -s conftest.$ac_objext; then
34670 ac_cv_header_X11_XKBlib_h=yes
34671 else
34672 echo "$as_me: failed program was:" >&5
34673 sed 's/^/| /' conftest.$ac_ext >&5
34674
34675 ac_cv_header_X11_XKBlib_h=no
34676 fi
34677
34678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34679 fi
34680 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34681 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34682
34683
34684 fi
34685 fi
34686
34687
34688
34689 IODBC_C_SRC=""
34690
34691
34692 if test "$TOOLKIT" != "MSW" ; then
34693
34694 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34695
34696 { echo "$as_me:$LINENO: checking for sql.h" >&5
34697 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34698 if test "${ac_cv_header_sql_h+set}" = set; then
34699 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 else
34701 cat >conftest.$ac_ext <<_ACEOF
34702 /* confdefs.h. */
34703 _ACEOF
34704 cat confdefs.h >>conftest.$ac_ext
34705 cat >>conftest.$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34707
34708
34709 #include <sql.h>
34710 _ACEOF
34711 rm -f conftest.$ac_objext
34712 if { (ac_try="$ac_compile"
34713 case "(($ac_try" in
34714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34715 *) ac_try_echo=$ac_try;;
34716 esac
34717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34718 (eval "$ac_compile") 2>conftest.er1
34719 ac_status=$?
34720 grep -v '^ *+' conftest.er1 >conftest.err
34721 rm -f conftest.er1
34722 cat conftest.err >&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); } && {
34725 test -z "$ac_c_werror_flag" ||
34726 test ! -s conftest.err
34727 } && test -s conftest.$ac_objext; then
34728 ac_cv_header_sql_h=yes
34729 else
34730 echo "$as_me: failed program was:" >&5
34731 sed 's/^/| /' conftest.$ac_ext >&5
34732
34733 ac_cv_header_sql_h=no
34734 fi
34735
34736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34737 fi
34738 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34739 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34740 if test $ac_cv_header_sql_h = yes; then
34741 found_sql_h=1
34742 fi
34743
34744
34745 if test "x$found_sql_h" = "x1" ; then
34746 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34747 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34748 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34749 echo $ECHO_N "(cached) $ECHO_C" >&6
34750 else
34751 ac_check_lib_save_LIBS=$LIBS
34752 LIBS="-liodbc $LIBS"
34753 cat >conftest.$ac_ext <<_ACEOF
34754 /* confdefs.h. */
34755 _ACEOF
34756 cat confdefs.h >>conftest.$ac_ext
34757 cat >>conftest.$ac_ext <<_ACEOF
34758 /* end confdefs.h. */
34759
34760 /* Override any GCC internal prototype to avoid an error.
34761 Use char because int might match the return type of a GCC
34762 builtin and then its argument prototype would still apply. */
34763 #ifdef __cplusplus
34764 extern "C"
34765 #endif
34766 char SQLAllocEnv ();
34767 int
34768 main ()
34769 {
34770 return SQLAllocEnv ();
34771 ;
34772 return 0;
34773 }
34774 _ACEOF
34775 rm -f conftest.$ac_objext conftest$ac_exeext
34776 if { (ac_try="$ac_link"
34777 case "(($ac_try" in
34778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34779 *) ac_try_echo=$ac_try;;
34780 esac
34781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34782 (eval "$ac_link") 2>conftest.er1
34783 ac_status=$?
34784 grep -v '^ *+' conftest.er1 >conftest.err
34785 rm -f conftest.er1
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } && {
34789 test -z "$ac_c_werror_flag" ||
34790 test ! -s conftest.err
34791 } && test -s conftest$ac_exeext &&
34792 $as_test_x conftest$ac_exeext; then
34793 ac_cv_lib_iodbc_SQLAllocEnv=yes
34794 else
34795 echo "$as_me: failed program was:" >&5
34796 sed 's/^/| /' conftest.$ac_ext >&5
34797
34798 ac_cv_lib_iodbc_SQLAllocEnv=no
34799 fi
34800
34801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34802 conftest$ac_exeext conftest.$ac_ext
34803 LIBS=$ac_check_lib_save_LIBS
34804 fi
34805 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34806 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34807 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34808 ODBC_LINK=" -liodbc"
34809 else
34810
34811 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34812 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34813 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34814 echo $ECHO_N "(cached) $ECHO_C" >&6
34815 else
34816 ac_check_lib_save_LIBS=$LIBS
34817 LIBS="-lunixodbc $LIBS"
34818 cat >conftest.$ac_ext <<_ACEOF
34819 /* confdefs.h. */
34820 _ACEOF
34821 cat confdefs.h >>conftest.$ac_ext
34822 cat >>conftest.$ac_ext <<_ACEOF
34823 /* end confdefs.h. */
34824
34825 /* Override any GCC internal prototype to avoid an error.
34826 Use char because int might match the return type of a GCC
34827 builtin and then its argument prototype would still apply. */
34828 #ifdef __cplusplus
34829 extern "C"
34830 #endif
34831 char SQLAllocEnv ();
34832 int
34833 main ()
34834 {
34835 return SQLAllocEnv ();
34836 ;
34837 return 0;
34838 }
34839 _ACEOF
34840 rm -f conftest.$ac_objext conftest$ac_exeext
34841 if { (ac_try="$ac_link"
34842 case "(($ac_try" in
34843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34844 *) ac_try_echo=$ac_try;;
34845 esac
34846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34847 (eval "$ac_link") 2>conftest.er1
34848 ac_status=$?
34849 grep -v '^ *+' conftest.er1 >conftest.err
34850 rm -f conftest.er1
34851 cat conftest.err >&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); } && {
34854 test -z "$ac_c_werror_flag" ||
34855 test ! -s conftest.err
34856 } && test -s conftest$ac_exeext &&
34857 $as_test_x conftest$ac_exeext; then
34858 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34859 else
34860 echo "$as_me: failed program was:" >&5
34861 sed 's/^/| /' conftest.$ac_ext >&5
34862
34863 ac_cv_lib_unixodbc_SQLAllocEnv=no
34864 fi
34865
34866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34867 conftest$ac_exeext conftest.$ac_ext
34868 LIBS=$ac_check_lib_save_LIBS
34869 fi
34870 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34871 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34872 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34873 ODBC_LINK=" -lunixodbc"
34874 else
34875
34876 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34877 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34878 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 else
34881 ac_check_lib_save_LIBS=$LIBS
34882 LIBS="-lodbc $LIBS"
34883 cat >conftest.$ac_ext <<_ACEOF
34884 /* confdefs.h. */
34885 _ACEOF
34886 cat confdefs.h >>conftest.$ac_ext
34887 cat >>conftest.$ac_ext <<_ACEOF
34888 /* end confdefs.h. */
34889
34890 /* Override any GCC internal prototype to avoid an error.
34891 Use char because int might match the return type of a GCC
34892 builtin and then its argument prototype would still apply. */
34893 #ifdef __cplusplus
34894 extern "C"
34895 #endif
34896 char SQLAllocEnv ();
34897 int
34898 main ()
34899 {
34900 return SQLAllocEnv ();
34901 ;
34902 return 0;
34903 }
34904 _ACEOF
34905 rm -f conftest.$ac_objext conftest$ac_exeext
34906 if { (ac_try="$ac_link"
34907 case "(($ac_try" in
34908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34909 *) ac_try_echo=$ac_try;;
34910 esac
34911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34912 (eval "$ac_link") 2>conftest.er1
34913 ac_status=$?
34914 grep -v '^ *+' conftest.er1 >conftest.err
34915 rm -f conftest.er1
34916 cat conftest.err >&5
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); } && {
34919 test -z "$ac_c_werror_flag" ||
34920 test ! -s conftest.err
34921 } && test -s conftest$ac_exeext &&
34922 $as_test_x conftest$ac_exeext; then
34923 ac_cv_lib_odbc_SQLAllocEnv=yes
34924 else
34925 echo "$as_me: failed program was:" >&5
34926 sed 's/^/| /' conftest.$ac_ext >&5
34927
34928 ac_cv_lib_odbc_SQLAllocEnv=no
34929 fi
34930
34931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34932 conftest$ac_exeext conftest.$ac_ext
34933 LIBS=$ac_check_lib_save_LIBS
34934 fi
34935 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34936 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34937 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34938 ODBC_LINK=" -lodbc"
34939 fi
34940
34941
34942 fi
34943
34944
34945 fi
34946
34947 fi
34948 if test "x$ODBC_LINK" = "x" ; then
34949 if test "$wxUSE_ODBC" = "sys" ; then
34950 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34951 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34952 { (exit 1); exit 1; }; }
34953 else
34954 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34955 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34956 wxUSE_ODBC=builtin
34957 fi
34958 else
34959 wxUSE_ODBC=sys
34960 fi
34961 fi
34962
34963 if test "$wxUSE_ODBC" = "builtin" ; then
34964 cat >>confdefs.h <<\_ACEOF
34965 #define wxUSE_BUILTIN_IODBC 1
34966 _ACEOF
34967
34968 fi
34969 fi
34970
34971 if test "$wxUSE_ODBC" != "no" ; then
34972 cat >>confdefs.h <<\_ACEOF
34973 #define wxUSE_ODBC 1
34974 _ACEOF
34975
34976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34977
34978 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34979 fi
34980
34981
34982 if test "$wxUSE_DISPLAY" = "yes"; then
34983 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34984 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34985 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34986
34987 ac_find_libraries=
34988 for ac_dir in $SEARCH_LIB;
34989 do
34990 for ac_extension in a so sl dylib dll.a; do
34991 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34992 ac_find_libraries=$ac_dir
34993 break 2
34994 fi
34995 done
34996 done
34997
34998 if test "$ac_find_libraries" != "" ; then
34999
35000 if test "$ac_find_libraries" = "default location"; then
35001 ac_path_to_link=""
35002 else
35003 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35004 result=$?
35005 if test $result = 0; then
35006 ac_path_to_link=""
35007 else
35008 ac_path_to_link=" -L$ac_find_libraries"
35009 fi
35010 fi
35011
35012 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35013 LDFLAGS="$LDFLAGS $ac_path_to_link"
35014 fi
35015 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35016 { echo "$as_me:$LINENO: result: yes" >&5
35017 echo "${ECHO_T}yes" >&6; }
35018
35019 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35020 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35021
35022 ac_find_libraries=
35023 for ac_dir in $SEARCH_LIB;
35024 do
35025 for ac_extension in a so sl dylib dll.a; do
35026 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35027 ac_find_libraries=$ac_dir
35028 break 2
35029 fi
35030 done
35031 done
35032
35033 if test "$ac_find_libraries" != "" ; then
35034 { echo "$as_me:$LINENO: result: yes" >&5
35035 echo "${ECHO_T}yes" >&6; }
35036 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35037 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35038 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35039 echo $ECHO_N "(cached) $ECHO_C" >&6
35040 else
35041 cat >conftest.$ac_ext <<_ACEOF
35042 /* confdefs.h. */
35043 _ACEOF
35044 cat confdefs.h >>conftest.$ac_ext
35045 cat >>conftest.$ac_ext <<_ACEOF
35046 /* end confdefs.h. */
35047
35048 #if HAVE_X11_XLIB_H
35049 #include <X11/Xlib.h>
35050 #endif
35051
35052
35053 #include <X11/extensions/xf86vmode.h>
35054 _ACEOF
35055 rm -f conftest.$ac_objext
35056 if { (ac_try="$ac_compile"
35057 case "(($ac_try" in
35058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35059 *) ac_try_echo=$ac_try;;
35060 esac
35061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35062 (eval "$ac_compile") 2>conftest.er1
35063 ac_status=$?
35064 grep -v '^ *+' conftest.er1 >conftest.err
35065 rm -f conftest.er1
35066 cat conftest.err >&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } && {
35069 test -z "$ac_c_werror_flag" ||
35070 test ! -s conftest.err
35071 } && test -s conftest.$ac_objext; then
35072 ac_cv_header_X11_extensions_xf86vmode_h=yes
35073 else
35074 echo "$as_me: failed program was:" >&5
35075 sed 's/^/| /' conftest.$ac_ext >&5
35076
35077 ac_cv_header_X11_extensions_xf86vmode_h=no
35078 fi
35079
35080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35081 fi
35082 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35083 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35084 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35085
35086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35087
35088 fi
35089
35090
35091 else
35092 { echo "$as_me:$LINENO: result: no" >&5
35093 echo "${ECHO_T}no" >&6; }
35094 fi
35095
35096 else
35097 { echo "$as_me:$LINENO: result: no" >&5
35098 echo "${ECHO_T}no" >&6; }
35099 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35100 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35101 wxUSE_DISPLAY="no"
35102 fi
35103 elif test "$wxUSE_MSW" = 1; then
35104 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35105 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35106 if test "${ac_cv_header_ddraw_h+set}" = set; then
35107 echo $ECHO_N "(cached) $ECHO_C" >&6
35108 else
35109 cat >conftest.$ac_ext <<_ACEOF
35110 /* confdefs.h. */
35111 _ACEOF
35112 cat confdefs.h >>conftest.$ac_ext
35113 cat >>conftest.$ac_ext <<_ACEOF
35114 /* end confdefs.h. */
35115 #include <windows.h>
35116
35117 #include <ddraw.h>
35118 _ACEOF
35119 rm -f conftest.$ac_objext
35120 if { (ac_try="$ac_compile"
35121 case "(($ac_try" in
35122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35123 *) ac_try_echo=$ac_try;;
35124 esac
35125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35126 (eval "$ac_compile") 2>conftest.er1
35127 ac_status=$?
35128 grep -v '^ *+' conftest.er1 >conftest.err
35129 rm -f conftest.er1
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } && {
35133 test -z "$ac_c_werror_flag" ||
35134 test ! -s conftest.err
35135 } && test -s conftest.$ac_objext; then
35136 ac_cv_header_ddraw_h=yes
35137 else
35138 echo "$as_me: failed program was:" >&5
35139 sed 's/^/| /' conftest.$ac_ext >&5
35140
35141 ac_cv_header_ddraw_h=no
35142 fi
35143
35144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35145 fi
35146 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35147 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35148
35149
35150 fi
35151 fi
35152
35153 if test "$wxUSE_DETECT_SM" = "yes"; then
35154 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35155 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35156 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35157
35158 ac_find_libraries=
35159 for ac_dir in $SEARCH_LIB;
35160 do
35161 for ac_extension in a so sl dylib dll.a; do
35162 if test -f "$ac_dir/libSM.$ac_extension"; then
35163 ac_find_libraries=$ac_dir
35164 break 2
35165 fi
35166 done
35167 done
35168
35169 if test "$ac_find_libraries" != "" ; then
35170
35171 if test "$ac_find_libraries" = "default location"; then
35172 ac_path_to_link=""
35173 else
35174 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35175 result=$?
35176 if test $result = 0; then
35177 ac_path_to_link=""
35178 else
35179 ac_path_to_link=" -L$ac_find_libraries"
35180 fi
35181 fi
35182
35183 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35184 LDFLAGS="$LDFLAGS $ac_path_to_link"
35185 fi
35186 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35187 { echo "$as_me:$LINENO: result: yes" >&5
35188 echo "${ECHO_T}yes" >&6; }
35189 else
35190 { echo "$as_me:$LINENO: result: no" >&5
35191 echo "${ECHO_T}no" >&6; }
35192 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35193 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35194 wxUSE_DETECT_SM="no"
35195 fi
35196 else
35197 wxUSE_DETECT_SM="no"
35198 fi
35199 fi
35200
35201
35202
35203 USE_OPENGL=0
35204 if test "$wxUSE_OPENGL" = "yes"; then
35205 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35206 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35207 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35208 wxUSE_OPENGL="no"
35209 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35210 OPENGL_LIBS="-framework OpenGL -framework AGL"
35211 elif test "$wxUSE_MSW" = 1; then
35212 OPENGL_LIBS="-lopengl32 -lglu32"
35213 else
35214 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35215 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35216
35217 ac_find_includes=
35218 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35219 do
35220 if test -f "$ac_dir/GL/gl.h"; then
35221 ac_find_includes=$ac_dir
35222 break
35223 fi
35224 done
35225
35226 if test "$ac_find_includes" != "" ; then
35227 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35228 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35229
35230 if test "x$ac_find_includes" = "x/usr/include"; then
35231 ac_path_to_include=""
35232 else
35233 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35234 result=$?
35235 if test $result = 0; then
35236 ac_path_to_include=""
35237 else
35238 ac_path_to_include=" -I$ac_find_includes"
35239 fi
35240 fi
35241
35242 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35243 else
35244 { echo "$as_me:$LINENO: result: not found" >&5
35245 echo "${ECHO_T}not found" >&6; }
35246 fi
35247
35248 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35249 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35250 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35251 echo $ECHO_N "(cached) $ECHO_C" >&6
35252 else
35253 cat >conftest.$ac_ext <<_ACEOF
35254 /* confdefs.h. */
35255 _ACEOF
35256 cat confdefs.h >>conftest.$ac_ext
35257 cat >>conftest.$ac_ext <<_ACEOF
35258 /* end confdefs.h. */
35259
35260
35261 #include <GL/gl.h>
35262 _ACEOF
35263 rm -f conftest.$ac_objext
35264 if { (ac_try="$ac_compile"
35265 case "(($ac_try" in
35266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35267 *) ac_try_echo=$ac_try;;
35268 esac
35269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35270 (eval "$ac_compile") 2>conftest.er1
35271 ac_status=$?
35272 grep -v '^ *+' conftest.er1 >conftest.err
35273 rm -f conftest.er1
35274 cat conftest.err >&5
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); } && {
35277 test -z "$ac_c_werror_flag" ||
35278 test ! -s conftest.err
35279 } && test -s conftest.$ac_objext; then
35280 ac_cv_header_GL_gl_h=yes
35281 else
35282 echo "$as_me: failed program was:" >&5
35283 sed 's/^/| /' conftest.$ac_ext >&5
35284
35285 ac_cv_header_GL_gl_h=no
35286 fi
35287
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35289 fi
35290 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35291 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35292 if test $ac_cv_header_GL_gl_h = yes; then
35293
35294 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35295 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35296 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35297 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35298 echo $ECHO_N "(cached) $ECHO_C" >&6
35299 fi
35300 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35301 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35302 else
35303 # Is the header compilable?
35304 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35305 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35306 cat >conftest.$ac_ext <<_ACEOF
35307 /* confdefs.h. */
35308 _ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35312 $ac_includes_default
35313 #include <GL/glu.h>
35314 _ACEOF
35315 rm -f conftest.$ac_objext
35316 if { (ac_try="$ac_compile"
35317 case "(($ac_try" in
35318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35319 *) ac_try_echo=$ac_try;;
35320 esac
35321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35322 (eval "$ac_compile") 2>conftest.er1
35323 ac_status=$?
35324 grep -v '^ *+' conftest.er1 >conftest.err
35325 rm -f conftest.er1
35326 cat conftest.err >&5
35327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35328 (exit $ac_status); } && {
35329 test -z "$ac_c_werror_flag" ||
35330 test ! -s conftest.err
35331 } && test -s conftest.$ac_objext; then
35332 ac_header_compiler=yes
35333 else
35334 echo "$as_me: failed program was:" >&5
35335 sed 's/^/| /' conftest.$ac_ext >&5
35336
35337 ac_header_compiler=no
35338 fi
35339
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35342 echo "${ECHO_T}$ac_header_compiler" >&6; }
35343
35344 # Is the header present?
35345 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35346 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35347 cat >conftest.$ac_ext <<_ACEOF
35348 /* confdefs.h. */
35349 _ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35353 #include <GL/glu.h>
35354 _ACEOF
35355 if { (ac_try="$ac_cpp conftest.$ac_ext"
35356 case "(($ac_try" in
35357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35358 *) ac_try_echo=$ac_try;;
35359 esac
35360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35361 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35362 ac_status=$?
35363 grep -v '^ *+' conftest.er1 >conftest.err
35364 rm -f conftest.er1
35365 cat conftest.err >&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } >/dev/null && {
35368 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35369 test ! -s conftest.err
35370 }; then
35371 ac_header_preproc=yes
35372 else
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35375
35376 ac_header_preproc=no
35377 fi
35378
35379 rm -f conftest.err conftest.$ac_ext
35380 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35381 echo "${ECHO_T}$ac_header_preproc" >&6; }
35382
35383 # So? What about this header?
35384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35385 yes:no: )
35386 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35387 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35388 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35389 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35390 ac_header_preproc=yes
35391 ;;
35392 no:yes:* )
35393 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35394 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35395 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35396 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35397 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35398 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35399 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35400 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35401 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35402 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35403 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35404 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35405 ( cat <<\_ASBOX
35406 ## ----------------------------------------- ##
35407 ## Report this to wx-dev@lists.wxwidgets.org ##
35408 ## ----------------------------------------- ##
35409 _ASBOX
35410 ) | sed "s/^/$as_me: WARNING: /" >&2
35411 ;;
35412 esac
35413 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35414 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35415 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35416 echo $ECHO_N "(cached) $ECHO_C" >&6
35417 else
35418 ac_cv_header_GL_glu_h=$ac_header_preproc
35419 fi
35420 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35421 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35422
35423 fi
35424 if test $ac_cv_header_GL_glu_h = yes; then
35425
35426 found_gl=0
35427
35428 { echo "$as_me:$LINENO: checking for -lGL" >&5
35429 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35430
35431 ac_find_libraries=
35432 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35433 do
35434 for ac_extension in a so sl dylib dll.a; do
35435 if test -f "$ac_dir/libGL.$ac_extension"; then
35436 ac_find_libraries=$ac_dir
35437 break 2
35438 fi
35439 done
35440 done
35441
35442 if test "$ac_find_libraries" != "" ; then
35443 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35444 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35445
35446
35447 if test "$ac_find_libraries" = "default location"; then
35448 ac_path_to_link=""
35449 else
35450 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35451 result=$?
35452 if test $result = 0; then
35453 ac_path_to_link=""
35454 else
35455 ac_path_to_link=" -L$ac_find_libraries"
35456 fi
35457 fi
35458
35459 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35460 LDFLAGS_GL="$ac_path_to_link"
35461 fi
35462
35463 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35464 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35465
35466 ac_find_libraries=
35467 for ac_dir in $SEARCH_LIB;
35468 do
35469 for ac_extension in a so sl dylib dll.a; do
35470 if test -f "$ac_dir/libGLU.$ac_extension"; then
35471 ac_find_libraries=$ac_dir
35472 break 2
35473 fi
35474 done
35475 done
35476
35477 if test "$ac_find_libraries" != "" ; then
35478
35479 if test "$ac_find_libraries" = "default location"; then
35480 ac_path_to_link=""
35481 else
35482 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35483 result=$?
35484 if test $result = 0; then
35485 ac_path_to_link=""
35486 else
35487 ac_path_to_link=" -L$ac_find_libraries"
35488 fi
35489 fi
35490
35491 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35492 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35493 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35494 fi
35495
35496 found_gl=1
35497 OPENGL_LIBS="-lGL -lGLU"
35498 { echo "$as_me:$LINENO: result: yes" >&5
35499 echo "${ECHO_T}yes" >&6; }
35500 else
35501 { echo "$as_me:$LINENO: result: no" >&5
35502 echo "${ECHO_T}no" >&6; }
35503 fi
35504 else
35505 { echo "$as_me:$LINENO: result: no" >&5
35506 echo "${ECHO_T}no" >&6; }
35507 fi
35508
35509 if test "$found_gl" != 1; then
35510 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35511 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35512
35513 ac_find_libraries=
35514 for ac_dir in $SEARCH_LIB;
35515 do
35516 for ac_extension in a so sl dylib dll.a; do
35517 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35518 ac_find_libraries=$ac_dir
35519 break 2
35520 fi
35521 done
35522 done
35523
35524 if test "$ac_find_libraries" != "" ; then
35525
35526 if test "$ac_find_libraries" = "default location"; then
35527 ac_path_to_link=""
35528 else
35529 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35530 result=$?
35531 if test $result = 0; then
35532 ac_path_to_link=""
35533 else
35534 ac_path_to_link=" -L$ac_find_libraries"
35535 fi
35536 fi
35537
35538 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35539 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35540 { echo "$as_me:$LINENO: result: yes" >&5
35541 echo "${ECHO_T}yes" >&6; }
35542 else
35543 { echo "$as_me:$LINENO: result: no" >&5
35544 echo "${ECHO_T}no" >&6; }
35545 fi
35546 fi
35547
35548 fi
35549
35550
35551
35552 fi
35553
35554
35555
35556 if test "x$OPENGL_LIBS" = "x"; then
35557 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35558 echo "$as_me: error: OpenGL libraries not available" >&2;}
35559 { (exit 1); exit 1; }; }
35560 fi
35561 fi
35562
35563 if test "$wxUSE_OPENGL" = "yes"; then
35564 USE_OPENGL=1
35565 cat >>confdefs.h <<\_ACEOF
35566 #define wxUSE_OPENGL 1
35567 _ACEOF
35568
35569 cat >>confdefs.h <<\_ACEOF
35570 #define wxUSE_GLCANVAS 1
35571 _ACEOF
35572
35573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35574 fi
35575 fi
35576
35577
35578 if test -n "$TOOLKIT" ; then
35579 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35580 fi
35581
35582
35583
35584 if test "$wxUSE_SHARED" = "yes"; then
35585 case "${host}" in
35586 *-pc-msdosdjgpp )
35587 wxUSE_SHARED=no
35588 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35589 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35590 ;;
35591 esac
35592 fi
35593
35594 if test "$wxUSE_SHARED" = "yes"; then
35595
35596
35597 case "${host}" in
35598 *-*-cygwin* | *-*-mingw* )
35599 wx_cv_version_script=no
35600 ;;
35601
35602 *)
35603 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35604 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35605 if test "${wx_cv_version_script+set}" = set; then
35606 echo $ECHO_N "(cached) $ECHO_C" >&6
35607 else
35608
35609 echo "VER_1 { *; };" >conftest.sym
35610 echo "int main() { return 0; }" >conftest.cpp
35611
35612 if { ac_try='
35613 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35614 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35617 ac_status=$?
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; } ; then
35620 if test -s conftest.stderr ; then
35621 wx_cv_version_script=no
35622 else
35623 wx_cv_version_script=yes
35624 fi
35625 else
35626 wx_cv_version_script=no
35627 fi
35628
35629 if test $wx_cv_version_script = yes
35630 then
35631 echo "struct B { virtual ~B() { } }; \
35632 struct D : public B { }; \
35633 void F() { D d; }" > conftest.cpp
35634
35635 if { ac_try='
35636 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35637 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; } &&
35643 { ac_try='
35644 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35645 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35648 ac_status=$?
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; }
35651 then
35652 if { ac_try='
35653 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35654 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35656 (eval $ac_try) 2>&5
35657 ac_status=$?
35658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35659 (exit $ac_status); }; }
35660 then
35661 wx_cv_version_script=yes
35662 else
35663 wx_cv_version_script=no
35664 fi
35665 fi
35666 fi
35667
35668 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35669 rm -f conftest1.output conftest2.output conftest3.output
35670
35671 fi
35672 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35673 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35674
35675 if test $wx_cv_version_script = yes ; then
35676 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35677 fi
35678 ;;
35679 esac
35680
35681
35682
35683
35684 if test -n "$GCC"; then
35685 CFLAGS_VISIBILITY="-fvisibility=hidden"
35686 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35687 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35688 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35689 if test "${wx_cv_cc_visibility+set}" = set; then
35690 echo $ECHO_N "(cached) $ECHO_C" >&6
35691 else
35692
35693 wx_save_CXXFLAGS="$CXXFLAGS"
35694 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35695 ac_ext=cpp
35696 ac_cpp='$CXXCPP $CPPFLAGS'
35697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35700
35701 cat >conftest.$ac_ext <<_ACEOF
35702 /* confdefs.h. */
35703 _ACEOF
35704 cat confdefs.h >>conftest.$ac_ext
35705 cat >>conftest.$ac_ext <<_ACEOF
35706 /* end confdefs.h. */
35707
35708 /* we need gcc >= 4.0, older versions with visibility support
35709 didn't have class visibility: */
35710 #if defined(__GNUC__) && __GNUC__ < 4
35711 error this gcc is too old;
35712 #endif
35713
35714 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35715 extern __attribute__((__visibility__("default"))) int exportedvar;
35716 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35717 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35718 class __attribute__((__visibility__("default"))) Foo {
35719 Foo() {}
35720 };
35721
35722 int
35723 main ()
35724 {
35725
35726 ;
35727 return 0;
35728 }
35729 _ACEOF
35730 rm -f conftest.$ac_objext
35731 if { (ac_try="$ac_compile"
35732 case "(($ac_try" in
35733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35734 *) ac_try_echo=$ac_try;;
35735 esac
35736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35737 (eval "$ac_compile") 2>conftest.er1
35738 ac_status=$?
35739 grep -v '^ *+' conftest.er1 >conftest.err
35740 rm -f conftest.er1
35741 cat conftest.err >&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); } && {
35744 test -z "$ac_cxx_werror_flag" ||
35745 test ! -s conftest.err
35746 } && test -s conftest.$ac_objext; then
35747 wx_cv_cc_visibility=yes
35748 else
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.$ac_ext >&5
35751
35752 wx_cv_cc_visibility=no
35753 fi
35754
35755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35756 ac_ext=c
35757 ac_cpp='$CPP $CPPFLAGS'
35758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35761
35762 CXXFLAGS="$wx_save_CXXFLAGS"
35763 fi
35764
35765 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35766 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35767 if test $wx_cv_cc_visibility = yes; then
35768 cat >>confdefs.h <<\_ACEOF
35769 #define HAVE_VISIBILITY 1
35770 _ACEOF
35771
35772 else
35773 CFLAGS_VISIBILITY=""
35774 CXXFLAGS_VISIBILITY=""
35775 fi
35776
35777
35778 fi
35779
35780
35781 if test "x$SUNCXX" = xyes; then
35782 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35783 WXCONFIG_RPATH="-R\$libdir"
35784 else
35785 case "${host}" in
35786 *-*-linux* | *-*-gnu* )
35787 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35788 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35789 ;;
35790
35791 *-*-solaris2* )
35792
35793 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35794
35795 saveLdflags="$LDFLAGS"
35796 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35797 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35798 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35799 cat >conftest.$ac_ext <<_ACEOF
35800 /* confdefs.h. */
35801 _ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35805
35806 int
35807 main ()
35808 {
35809
35810 ;
35811 return 0;
35812 }
35813 _ACEOF
35814 rm -f conftest.$ac_objext conftest$ac_exeext
35815 if { (ac_try="$ac_link"
35816 case "(($ac_try" in
35817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35818 *) ac_try_echo=$ac_try;;
35819 esac
35820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35821 (eval "$ac_link") 2>conftest.er1
35822 ac_status=$?
35823 grep -v '^ *+' conftest.er1 >conftest.err
35824 rm -f conftest.er1
35825 cat conftest.err >&5
35826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827 (exit $ac_status); } && {
35828 test -z "$ac_c_werror_flag" ||
35829 test ! -s conftest.err
35830 } && test -s conftest$ac_exeext &&
35831 $as_test_x conftest$ac_exeext; then
35832
35833 { echo "$as_me:$LINENO: result: yes" >&5
35834 echo "${ECHO_T}yes" >&6; }
35835 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35836 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35837
35838 else
35839 echo "$as_me: failed program was:" >&5
35840 sed 's/^/| /' conftest.$ac_ext >&5
35841
35842
35843 { echo "$as_me:$LINENO: result: no" >&5
35844 echo "${ECHO_T}no" >&6; }
35845 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35846 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35847 LDFLAGS="$saveLdflags -Wl,-R,/"
35848 cat >conftest.$ac_ext <<_ACEOF
35849 /* confdefs.h. */
35850 _ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854
35855 int
35856 main ()
35857 {
35858
35859 ;
35860 return 0;
35861 }
35862 _ACEOF
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (ac_try="$ac_link"
35865 case "(($ac_try" in
35866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35867 *) ac_try_echo=$ac_try;;
35868 esac
35869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35870 (eval "$ac_link") 2>conftest.er1
35871 ac_status=$?
35872 grep -v '^ *+' conftest.er1 >conftest.err
35873 rm -f conftest.er1
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } && {
35877 test -z "$ac_c_werror_flag" ||
35878 test ! -s conftest.err
35879 } && test -s conftest$ac_exeext &&
35880 $as_test_x conftest$ac_exeext; then
35881
35882 { echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6; }
35884 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35885 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35886
35887 else
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35890
35891
35892 { echo "$as_me:$LINENO: result: no" >&5
35893 echo "${ECHO_T}no" >&6; }
35894
35895 fi
35896
35897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35898 conftest$ac_exeext conftest.$ac_ext
35899
35900 fi
35901
35902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35903 conftest$ac_exeext conftest.$ac_ext
35904 LDFLAGS="$saveLdflags"
35905 ;;
35906
35907 *-*-darwin* )
35908 install_name_tool=`which install_name_tool`
35909 if test "$install_name_tool" -a -x "$install_name_tool"; then
35910 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35911 cat <<EOF >change-install-names
35912 #!/bin/sh
35913 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35914 inst_cmd="install_name_tool "
35915 for i in \${libnames} ; do
35916 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35917 done
35918 \${inst_cmd} \${3}
35919 EOF
35920 chmod +x change-install-names
35921 fi
35922 ;;
35923
35924 *-*-cygwin* | *-*-mingw32* )
35925 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35926 ;;
35927
35928 *-*-hpux* )
35929 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35930 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35931 ;;
35932
35933 esac
35934 fi
35935
35936 if test $wxUSE_RPATH = "no"; then
35937 SAMPLES_RPATH_FLAG=''
35938 SAMPLES_RPATH_POSTLINK=''
35939 WXCONFIG_RPATH=''
35940 fi
35941
35942 SHARED=1
35943
35944 else
35945
35946 config_linkage_component="-static"
35947 SHARED=0
35948
35949 fi
35950
35951
35952 UNICODE=0
35953 lib_unicode_suffix=
35954 WX_CHARTYPE="ansi"
35955 if test "$wxUSE_UNICODE" = "yes"; then
35956 lib_unicode_suffix=u
35957 WX_CHARTYPE="unicode"
35958 UNICODE=1
35959 fi
35960
35961 lib_debug_suffix=
35962 WX_DEBUGTYPE="release"
35963 DEBUG_FLAG=0
35964 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35965 lib_debug_suffix=d
35966 WX_DEBUGTYPE="debug"
35967 DEBUG_FLAG=1
35968 fi
35969
35970 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35971 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35972
35973 DEBUG_INFO=0
35974 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35975 DEBUG_INFO=1
35976 fi
35977
35978 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35979
35980 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35981
35982 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35983
35984 if test "$cross_compiling" = "yes"; then
35985 HOST_SUFFIX="-$host_alias"
35986 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35987 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35988 fi
35989
35990 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35991 if test "${TOOLKIT_DIR}" = "os2"; then
35992 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35993 else
35994 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35995 fi
35996
35997
35998
35999 if test "$wxUSE_COCOA" = 1; then
36000
36001 ac_ext=c
36002 ac_cpp='$CPP $CPPFLAGS'
36003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36006
36007 ac_ext=m
36008
36009 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36010 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36011 cat >conftest.$ac_ext <<_ACEOF
36012 /* confdefs.h. */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017 #include <AppKit/NSEvent.h>
36018 #include <CoreFoundation/CoreFoundation.h>
36019
36020 int
36021 main ()
36022 {
36023
36024 ;
36025 return 0;
36026 }
36027 _ACEOF
36028 rm -f conftest.$ac_objext
36029 if { (ac_try="$ac_compile"
36030 case "(($ac_try" in
36031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36032 *) ac_try_echo=$ac_try;;
36033 esac
36034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36035 (eval "$ac_compile") 2>conftest.er1
36036 ac_status=$?
36037 grep -v '^ *+' conftest.er1 >conftest.err
36038 rm -f conftest.er1
36039 cat conftest.err >&5
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); } && {
36042 test -z "$ac_c_werror_flag" ||
36043 test ! -s conftest.err
36044 } && test -s conftest.$ac_objext; then
36045 { echo "$as_me:$LINENO: result: no" >&5
36046 echo "${ECHO_T}no" >&6; }
36047 else
36048 echo "$as_me: failed program was:" >&5
36049 sed 's/^/| /' conftest.$ac_ext >&5
36050
36051 { echo "$as_me:$LINENO: result: yes" >&5
36052 echo "${ECHO_T}yes" >&6; }
36053 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36054 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36055 cat >conftest.$ac_ext <<_ACEOF
36056 /* confdefs.h. */
36057 _ACEOF
36058 cat confdefs.h >>conftest.$ac_ext
36059 cat >>conftest.$ac_ext <<_ACEOF
36060 /* end confdefs.h. */
36061 #define __Point__ 1
36062 #include <AppKit/NSEvent.h>
36063 #include <CoreFoundation/CoreFoundation.h>
36064
36065 int
36066 main ()
36067 {
36068
36069 ;
36070 return 0;
36071 }
36072 _ACEOF
36073 rm -f conftest.$ac_objext
36074 if { (ac_try="$ac_compile"
36075 case "(($ac_try" in
36076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36077 *) ac_try_echo=$ac_try;;
36078 esac
36079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36080 (eval "$ac_compile") 2>conftest.er1
36081 ac_status=$?
36082 grep -v '^ *+' conftest.er1 >conftest.err
36083 rm -f conftest.er1
36084 cat conftest.err >&5
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); } && {
36087 test -z "$ac_c_werror_flag" ||
36088 test ! -s conftest.err
36089 } && test -s conftest.$ac_objext; then
36090 { echo "$as_me:$LINENO: result: yes" >&5
36091 echo "${ECHO_T}yes" >&6; }
36092 cat >>confdefs.h <<\_ACEOF
36093 #define __Point__ 1
36094 _ACEOF
36095
36096
36097 else
36098 echo "$as_me: failed program was:" >&5
36099 sed 's/^/| /' conftest.$ac_ext >&5
36100
36101 { { echo "$as_me:$LINENO: error: no
36102 See \`config.log' for more details." >&5
36103 echo "$as_me: error: no
36104 See \`config.log' for more details." >&2;}
36105 { (exit 1); exit 1; }; }
36106
36107 fi
36108
36109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36110
36111 fi
36112
36113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36114 ac_ext=c
36115 ac_cpp='$CPP $CPPFLAGS'
36116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36119
36120 fi
36121
36122 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36123 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36124 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36125
36126 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36127
36128 # Extract the first word of "Rez", so it can be a program name with args.
36129 set dummy Rez; ac_word=$2
36130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36132 if test "${ac_cv_prog_REZ+set}" = set; then
36133 echo $ECHO_N "(cached) $ECHO_C" >&6
36134 else
36135 if test -n "$REZ"; then
36136 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36137 else
36138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36139 for as_dir in $PATH
36140 do
36141 IFS=$as_save_IFS
36142 test -z "$as_dir" && as_dir=.
36143 for ac_exec_ext in '' $ac_executable_extensions; do
36144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36145 ac_cv_prog_REZ="Rez"
36146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36147 break 2
36148 fi
36149 done
36150 done
36151 IFS=$as_save_IFS
36152
36153 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36154 fi
36155 fi
36156 REZ=$ac_cv_prog_REZ
36157 if test -n "$REZ"; then
36158 { echo "$as_me:$LINENO: result: $REZ" >&5
36159 echo "${ECHO_T}$REZ" >&6; }
36160 else
36161 { echo "$as_me:$LINENO: result: no" >&5
36162 echo "${ECHO_T}no" >&6; }
36163 fi
36164
36165
36166 # Extract the first word of "DeRez", so it can be a program name with args.
36167 set dummy DeRez; ac_word=$2
36168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36170 if test "${ac_cv_prog_DEREZ+set}" = set; then
36171 echo $ECHO_N "(cached) $ECHO_C" >&6
36172 else
36173 if test -n "$DEREZ"; then
36174 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36175 else
36176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36177 for as_dir in $PATH
36178 do
36179 IFS=$as_save_IFS
36180 test -z "$as_dir" && as_dir=.
36181 for ac_exec_ext in '' $ac_executable_extensions; do
36182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36183 ac_cv_prog_DEREZ="DeRez"
36184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36185 break 2
36186 fi
36187 done
36188 done
36189 IFS=$as_save_IFS
36190
36191 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36192 fi
36193 fi
36194 DEREZ=$ac_cv_prog_DEREZ
36195 if test -n "$DEREZ"; then
36196 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36197 echo "${ECHO_T}$DEREZ" >&6; }
36198 else
36199 { echo "$as_me:$LINENO: result: no" >&5
36200 echo "${ECHO_T}no" >&6; }
36201 fi
36202
36203
36204 # Extract the first word of "SetFile", so it can be a program name with args.
36205 set dummy SetFile; ac_word=$2
36206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36208 if test "${ac_cv_prog_SETFILE+set}" = set; then
36209 echo $ECHO_N "(cached) $ECHO_C" >&6
36210 else
36211 if test -n "$SETFILE"; then
36212 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36213 else
36214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36215 for as_dir in $PATH
36216 do
36217 IFS=$as_save_IFS
36218 test -z "$as_dir" && as_dir=.
36219 for ac_exec_ext in '' $ac_executable_extensions; do
36220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36221 ac_cv_prog_SETFILE="SetFile"
36222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36223 break 2
36224 fi
36225 done
36226 done
36227 IFS=$as_save_IFS
36228
36229 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36230 fi
36231 fi
36232 SETFILE=$ac_cv_prog_SETFILE
36233 if test -n "$SETFILE"; then
36234 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36235 echo "${ECHO_T}$SETFILE" >&6; }
36236 else
36237 { echo "$as_me:$LINENO: result: no" >&5
36238 echo "${ECHO_T}no" >&6; }
36239 fi
36240
36241
36242
36243 MACSETFILE="\$(SETFILE)"
36244
36245 if test "$wxUSE_MAC" = 1; then
36246 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36247 RESCOMP="$REZ"
36248 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36249 else
36250 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36251 RESCOMP="echo -n \| $REZ"
36252 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36253 fi
36254
36255 else
36256 MACSETFILE="@true"
36257
36258 if test "$wxUSE_PM" = 1; then
36259 RESCOMP="emxbind"
36260 WXCONFIG_RESFLAGS="-ep"
36261
36262 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36263 else
36264 POSTLINK_COMMAND="@true"
36265 fi
36266
36267 fi
36268
36269
36270
36271 { echo "$as_me:$LINENO: checking for mode_t" >&5
36272 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36273 if test "${ac_cv_type_mode_t+set}" = set; then
36274 echo $ECHO_N "(cached) $ECHO_C" >&6
36275 else
36276 cat >conftest.$ac_ext <<_ACEOF
36277 /* confdefs.h. */
36278 _ACEOF
36279 cat confdefs.h >>conftest.$ac_ext
36280 cat >>conftest.$ac_ext <<_ACEOF
36281 /* end confdefs.h. */
36282 $ac_includes_default
36283 typedef mode_t ac__type_new_;
36284 int
36285 main ()
36286 {
36287 if ((ac__type_new_ *) 0)
36288 return 0;
36289 if (sizeof (ac__type_new_))
36290 return 0;
36291 ;
36292 return 0;
36293 }
36294 _ACEOF
36295 rm -f conftest.$ac_objext
36296 if { (ac_try="$ac_compile"
36297 case "(($ac_try" in
36298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36299 *) ac_try_echo=$ac_try;;
36300 esac
36301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36302 (eval "$ac_compile") 2>conftest.er1
36303 ac_status=$?
36304 grep -v '^ *+' conftest.er1 >conftest.err
36305 rm -f conftest.er1
36306 cat conftest.err >&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); } && {
36309 test -z "$ac_c_werror_flag" ||
36310 test ! -s conftest.err
36311 } && test -s conftest.$ac_objext; then
36312 ac_cv_type_mode_t=yes
36313 else
36314 echo "$as_me: failed program was:" >&5
36315 sed 's/^/| /' conftest.$ac_ext >&5
36316
36317 ac_cv_type_mode_t=no
36318 fi
36319
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 fi
36322 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36323 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36324 if test $ac_cv_type_mode_t = yes; then
36325 :
36326 else
36327
36328 cat >>confdefs.h <<_ACEOF
36329 #define mode_t int
36330 _ACEOF
36331
36332 fi
36333
36334 { echo "$as_me:$LINENO: checking for off_t" >&5
36335 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36336 if test "${ac_cv_type_off_t+set}" = set; then
36337 echo $ECHO_N "(cached) $ECHO_C" >&6
36338 else
36339 cat >conftest.$ac_ext <<_ACEOF
36340 /* confdefs.h. */
36341 _ACEOF
36342 cat confdefs.h >>conftest.$ac_ext
36343 cat >>conftest.$ac_ext <<_ACEOF
36344 /* end confdefs.h. */
36345 $ac_includes_default
36346 typedef off_t ac__type_new_;
36347 int
36348 main ()
36349 {
36350 if ((ac__type_new_ *) 0)
36351 return 0;
36352 if (sizeof (ac__type_new_))
36353 return 0;
36354 ;
36355 return 0;
36356 }
36357 _ACEOF
36358 rm -f conftest.$ac_objext
36359 if { (ac_try="$ac_compile"
36360 case "(($ac_try" in
36361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36362 *) ac_try_echo=$ac_try;;
36363 esac
36364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36365 (eval "$ac_compile") 2>conftest.er1
36366 ac_status=$?
36367 grep -v '^ *+' conftest.er1 >conftest.err
36368 rm -f conftest.er1
36369 cat conftest.err >&5
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); } && {
36372 test -z "$ac_c_werror_flag" ||
36373 test ! -s conftest.err
36374 } && test -s conftest.$ac_objext; then
36375 ac_cv_type_off_t=yes
36376 else
36377 echo "$as_me: failed program was:" >&5
36378 sed 's/^/| /' conftest.$ac_ext >&5
36379
36380 ac_cv_type_off_t=no
36381 fi
36382
36383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36384 fi
36385 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36386 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36387 if test $ac_cv_type_off_t = yes; then
36388 :
36389 else
36390
36391 cat >>confdefs.h <<_ACEOF
36392 #define off_t long int
36393 _ACEOF
36394
36395 fi
36396
36397 { echo "$as_me:$LINENO: checking for pid_t" >&5
36398 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36399 if test "${ac_cv_type_pid_t+set}" = set; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36401 else
36402 cat >conftest.$ac_ext <<_ACEOF
36403 /* confdefs.h. */
36404 _ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408 $ac_includes_default
36409 typedef pid_t ac__type_new_;
36410 int
36411 main ()
36412 {
36413 if ((ac__type_new_ *) 0)
36414 return 0;
36415 if (sizeof (ac__type_new_))
36416 return 0;
36417 ;
36418 return 0;
36419 }
36420 _ACEOF
36421 rm -f conftest.$ac_objext
36422 if { (ac_try="$ac_compile"
36423 case "(($ac_try" in
36424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36425 *) ac_try_echo=$ac_try;;
36426 esac
36427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36428 (eval "$ac_compile") 2>conftest.er1
36429 ac_status=$?
36430 grep -v '^ *+' conftest.er1 >conftest.err
36431 rm -f conftest.er1
36432 cat conftest.err >&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); } && {
36435 test -z "$ac_c_werror_flag" ||
36436 test ! -s conftest.err
36437 } && test -s conftest.$ac_objext; then
36438 ac_cv_type_pid_t=yes
36439 else
36440 echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36442
36443 ac_cv_type_pid_t=no
36444 fi
36445
36446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36447 fi
36448 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36449 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36450 if test $ac_cv_type_pid_t = yes; then
36451 :
36452 else
36453
36454 cat >>confdefs.h <<_ACEOF
36455 #define pid_t int
36456 _ACEOF
36457
36458 fi
36459
36460 { echo "$as_me:$LINENO: checking for size_t" >&5
36461 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36462 if test "${ac_cv_type_size_t+set}" = set; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 else
36465 cat >conftest.$ac_ext <<_ACEOF
36466 /* confdefs.h. */
36467 _ACEOF
36468 cat confdefs.h >>conftest.$ac_ext
36469 cat >>conftest.$ac_ext <<_ACEOF
36470 /* end confdefs.h. */
36471 $ac_includes_default
36472 typedef size_t ac__type_new_;
36473 int
36474 main ()
36475 {
36476 if ((ac__type_new_ *) 0)
36477 return 0;
36478 if (sizeof (ac__type_new_))
36479 return 0;
36480 ;
36481 return 0;
36482 }
36483 _ACEOF
36484 rm -f conftest.$ac_objext
36485 if { (ac_try="$ac_compile"
36486 case "(($ac_try" in
36487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36488 *) ac_try_echo=$ac_try;;
36489 esac
36490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36491 (eval "$ac_compile") 2>conftest.er1
36492 ac_status=$?
36493 grep -v '^ *+' conftest.er1 >conftest.err
36494 rm -f conftest.er1
36495 cat conftest.err >&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); } && {
36498 test -z "$ac_c_werror_flag" ||
36499 test ! -s conftest.err
36500 } && test -s conftest.$ac_objext; then
36501 ac_cv_type_size_t=yes
36502 else
36503 echo "$as_me: failed program was:" >&5
36504 sed 's/^/| /' conftest.$ac_ext >&5
36505
36506 ac_cv_type_size_t=no
36507 fi
36508
36509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36510 fi
36511 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36512 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36513 if test $ac_cv_type_size_t = yes; then
36514 :
36515 else
36516
36517 cat >>confdefs.h <<_ACEOF
36518 #define size_t unsigned int
36519 _ACEOF
36520
36521 fi
36522
36523 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36524 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36525 if test "${ac_cv_type_uid_t+set}" = set; then
36526 echo $ECHO_N "(cached) $ECHO_C" >&6
36527 else
36528 cat >conftest.$ac_ext <<_ACEOF
36529 /* confdefs.h. */
36530 _ACEOF
36531 cat confdefs.h >>conftest.$ac_ext
36532 cat >>conftest.$ac_ext <<_ACEOF
36533 /* end confdefs.h. */
36534 #include <sys/types.h>
36535
36536 _ACEOF
36537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36538 $EGREP "uid_t" >/dev/null 2>&1; then
36539 ac_cv_type_uid_t=yes
36540 else
36541 ac_cv_type_uid_t=no
36542 fi
36543 rm -f conftest*
36544
36545 fi
36546 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36547 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36548 if test $ac_cv_type_uid_t = no; then
36549
36550 cat >>confdefs.h <<\_ACEOF
36551 #define uid_t int
36552 _ACEOF
36553
36554
36555 cat >>confdefs.h <<\_ACEOF
36556 #define gid_t int
36557 _ACEOF
36558
36559 fi
36560
36561
36562 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36563 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36564 if test "${ac_cv_type_ssize_t+set}" = set; then
36565 echo $ECHO_N "(cached) $ECHO_C" >&6
36566 else
36567 cat >conftest.$ac_ext <<_ACEOF
36568 /* confdefs.h. */
36569 _ACEOF
36570 cat confdefs.h >>conftest.$ac_ext
36571 cat >>conftest.$ac_ext <<_ACEOF
36572 /* end confdefs.h. */
36573 $ac_includes_default
36574 typedef ssize_t ac__type_new_;
36575 int
36576 main ()
36577 {
36578 if ((ac__type_new_ *) 0)
36579 return 0;
36580 if (sizeof (ac__type_new_))
36581 return 0;
36582 ;
36583 return 0;
36584 }
36585 _ACEOF
36586 rm -f conftest.$ac_objext
36587 if { (ac_try="$ac_compile"
36588 case "(($ac_try" in
36589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36590 *) ac_try_echo=$ac_try;;
36591 esac
36592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36593 (eval "$ac_compile") 2>conftest.er1
36594 ac_status=$?
36595 grep -v '^ *+' conftest.er1 >conftest.err
36596 rm -f conftest.er1
36597 cat conftest.err >&5
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); } && {
36600 test -z "$ac_c_werror_flag" ||
36601 test ! -s conftest.err
36602 } && test -s conftest.$ac_objext; then
36603 ac_cv_type_ssize_t=yes
36604 else
36605 echo "$as_me: failed program was:" >&5
36606 sed 's/^/| /' conftest.$ac_ext >&5
36607
36608 ac_cv_type_ssize_t=no
36609 fi
36610
36611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36612 fi
36613 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36614 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36615 if test $ac_cv_type_ssize_t = yes; then
36616
36617 cat >>confdefs.h <<_ACEOF
36618 #define HAVE_SSIZE_T 1
36619 _ACEOF
36620
36621
36622 fi
36623
36624
36625 ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36630 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36631 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36632 if test "${wx_cv_size_t_is_uint+set}" = set; then
36633 echo $ECHO_N "(cached) $ECHO_C" >&6
36634 else
36635
36636 cat >conftest.$ac_ext <<_ACEOF
36637 /* confdefs.h. */
36638 _ACEOF
36639 cat confdefs.h >>conftest.$ac_ext
36640 cat >>conftest.$ac_ext <<_ACEOF
36641 /* end confdefs.h. */
36642 #include <stddef.h>
36643 int
36644 main ()
36645 {
36646
36647 return 0; }
36648
36649 struct Foo { void foo(size_t); void foo(unsigned int); };
36650
36651 int bar() {
36652
36653 ;
36654 return 0;
36655 }
36656 _ACEOF
36657 rm -f conftest.$ac_objext
36658 if { (ac_try="$ac_compile"
36659 case "(($ac_try" in
36660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36661 *) ac_try_echo=$ac_try;;
36662 esac
36663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36664 (eval "$ac_compile") 2>conftest.er1
36665 ac_status=$?
36666 grep -v '^ *+' conftest.er1 >conftest.err
36667 rm -f conftest.er1
36668 cat conftest.err >&5
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); } && {
36671 test -z "$ac_cxx_werror_flag" ||
36672 test ! -s conftest.err
36673 } && test -s conftest.$ac_objext; then
36674 wx_cv_size_t_is_uint=no
36675 else
36676 echo "$as_me: failed program was:" >&5
36677 sed 's/^/| /' conftest.$ac_ext >&5
36678
36679 wx_cv_size_t_is_uint=yes
36680
36681 fi
36682
36683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36684
36685
36686 fi
36687 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36688 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36689
36690 if test "$wx_cv_size_t_is_uint" = "yes"; then
36691 cat >>confdefs.h <<\_ACEOF
36692 #define wxSIZE_T_IS_UINT 1
36693 _ACEOF
36694
36695 else
36696 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36697 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36698 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36699 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 else
36701 cat >conftest.$ac_ext <<_ACEOF
36702 /* confdefs.h. */
36703 _ACEOF
36704 cat confdefs.h >>conftest.$ac_ext
36705 cat >>conftest.$ac_ext <<_ACEOF
36706 /* end confdefs.h. */
36707 #include <stddef.h>
36708 int
36709 main ()
36710 {
36711
36712 return 0; }
36713
36714 struct Foo { void foo(size_t); void foo(unsigned long); };
36715
36716 int bar() {
36717
36718 ;
36719 return 0;
36720 }
36721 _ACEOF
36722 rm -f conftest.$ac_objext
36723 if { (ac_try="$ac_compile"
36724 case "(($ac_try" in
36725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36726 *) ac_try_echo=$ac_try;;
36727 esac
36728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36729 (eval "$ac_compile") 2>conftest.er1
36730 ac_status=$?
36731 grep -v '^ *+' conftest.er1 >conftest.err
36732 rm -f conftest.er1
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } && {
36736 test -z "$ac_cxx_werror_flag" ||
36737 test ! -s conftest.err
36738 } && test -s conftest.$ac_objext; then
36739 wx_cv_size_t_is_ulong=no
36740 else
36741 echo "$as_me: failed program was:" >&5
36742 sed 's/^/| /' conftest.$ac_ext >&5
36743
36744 wx_cv_size_t_is_ulong=yes
36745
36746 fi
36747
36748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36749
36750 fi
36751 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36752 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36753
36754 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36755 cat >>confdefs.h <<\_ACEOF
36756 #define wxSIZE_T_IS_ULONG 1
36757 _ACEOF
36758
36759 fi
36760 fi
36761
36762 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36763 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36764 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36765 echo $ECHO_N "(cached) $ECHO_C" >&6
36766 else
36767 cat >conftest.$ac_ext <<_ACEOF
36768 /* confdefs.h. */
36769 _ACEOF
36770 cat confdefs.h >>conftest.$ac_ext
36771 cat >>conftest.$ac_ext <<_ACEOF
36772 /* end confdefs.h. */
36773 #include <wchar.h>
36774 int
36775 main ()
36776 {
36777
36778 return 0; }
36779
36780 struct Foo { void foo(wchar_t);
36781 void foo(unsigned short);
36782 void foo(unsigned int);
36783 void foo(unsigned long); };
36784
36785 int bar() {
36786
36787 ;
36788 return 0;
36789 }
36790 _ACEOF
36791 rm -f conftest.$ac_objext
36792 if { (ac_try="$ac_compile"
36793 case "(($ac_try" in
36794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36795 *) ac_try_echo=$ac_try;;
36796 esac
36797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36798 (eval "$ac_compile") 2>conftest.er1
36799 ac_status=$?
36800 grep -v '^ *+' conftest.er1 >conftest.err
36801 rm -f conftest.er1
36802 cat conftest.err >&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } && {
36805 test -z "$ac_cxx_werror_flag" ||
36806 test ! -s conftest.err
36807 } && test -s conftest.$ac_objext; then
36808 wx_cv_wchar_t_is_separate_type=yes
36809 else
36810 echo "$as_me: failed program was:" >&5
36811 sed 's/^/| /' conftest.$ac_ext >&5
36812
36813 wx_cv_wchar_t_is_separate_type=no
36814
36815 fi
36816
36817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36818
36819 fi
36820 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36821 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36822
36823 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36824 cat >>confdefs.h <<\_ACEOF
36825 #define wxWCHAR_T_IS_REAL_TYPE 1
36826 _ACEOF
36827
36828 else
36829 cat >>confdefs.h <<\_ACEOF
36830 #define wxWCHAR_T_IS_REAL_TYPE 0
36831 _ACEOF
36832
36833 fi
36834
36835 ac_ext=c
36836 ac_cpp='$CPP $CPPFLAGS'
36837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36840
36841
36842 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36843 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36844 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36846 else
36847
36848 cat >conftest.$ac_ext <<_ACEOF
36849 /* confdefs.h. */
36850 _ACEOF
36851 cat confdefs.h >>conftest.$ac_ext
36852 cat >>conftest.$ac_ext <<_ACEOF
36853 /* end confdefs.h. */
36854 #include <pwd.h>
36855 int
36856 main ()
36857 {
36858
36859 char *p;
36860 struct passwd *pw;
36861 p = pw->pw_gecos;
36862
36863 ;
36864 return 0;
36865 }
36866 _ACEOF
36867 rm -f conftest.$ac_objext
36868 if { (ac_try="$ac_compile"
36869 case "(($ac_try" in
36870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36871 *) ac_try_echo=$ac_try;;
36872 esac
36873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36874 (eval "$ac_compile") 2>conftest.er1
36875 ac_status=$?
36876 grep -v '^ *+' conftest.er1 >conftest.err
36877 rm -f conftest.er1
36878 cat conftest.err >&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); } && {
36881 test -z "$ac_c_werror_flag" ||
36882 test ! -s conftest.err
36883 } && test -s conftest.$ac_objext; then
36884
36885 wx_cv_struct_pw_gecos=yes
36886
36887 else
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.$ac_ext >&5
36890
36891
36892 wx_cv_struct_pw_gecos=no
36893
36894
36895 fi
36896
36897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36898
36899
36900 fi
36901 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36902 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36903
36904 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36905 cat >>confdefs.h <<\_ACEOF
36906 #define HAVE_PW_GECOS 1
36907 _ACEOF
36908
36909 fi
36910
36911
36912 if test "$wxUSE_WCHAR_T" = "yes"; then
36913 cat >>confdefs.h <<\_ACEOF
36914 #define wxUSE_WCHAR_T 1
36915 _ACEOF
36916
36917
36918 WCSLEN_FOUND=0
36919 WCHAR_LINK=
36920
36921 for ac_func in wcslen
36922 do
36923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 else
36929 cat >conftest.$ac_ext <<_ACEOF
36930 /* confdefs.h. */
36931 _ACEOF
36932 cat confdefs.h >>conftest.$ac_ext
36933 cat >>conftest.$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36937 #define $ac_func innocuous_$ac_func
36938
36939 /* System header to define __stub macros and hopefully few prototypes,
36940 which can conflict with char $ac_func (); below.
36941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36942 <limits.h> exists even on freestanding compilers. */
36943
36944 #ifdef __STDC__
36945 # include <limits.h>
36946 #else
36947 # include <assert.h>
36948 #endif
36949
36950 #undef $ac_func
36951
36952 /* Override any GCC internal prototype to avoid an error.
36953 Use char because int might match the return type of a GCC
36954 builtin and then its argument prototype would still apply. */
36955 #ifdef __cplusplus
36956 extern "C"
36957 #endif
36958 char $ac_func ();
36959 /* The GNU C library defines this for functions which it implements
36960 to always fail with ENOSYS. Some functions are actually named
36961 something starting with __ and the normal name is an alias. */
36962 #if defined __stub_$ac_func || defined __stub___$ac_func
36963 choke me
36964 #endif
36965
36966 int
36967 main ()
36968 {
36969 return $ac_func ();
36970 ;
36971 return 0;
36972 }
36973 _ACEOF
36974 rm -f conftest.$ac_objext conftest$ac_exeext
36975 if { (ac_try="$ac_link"
36976 case "(($ac_try" in
36977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36978 *) ac_try_echo=$ac_try;;
36979 esac
36980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36981 (eval "$ac_link") 2>conftest.er1
36982 ac_status=$?
36983 grep -v '^ *+' conftest.er1 >conftest.err
36984 rm -f conftest.er1
36985 cat conftest.err >&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } && {
36988 test -z "$ac_c_werror_flag" ||
36989 test ! -s conftest.err
36990 } && test -s conftest$ac_exeext &&
36991 $as_test_x conftest$ac_exeext; then
36992 eval "$as_ac_var=yes"
36993 else
36994 echo "$as_me: failed program was:" >&5
36995 sed 's/^/| /' conftest.$ac_ext >&5
36996
36997 eval "$as_ac_var=no"
36998 fi
36999
37000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37001 conftest$ac_exeext conftest.$ac_ext
37002 fi
37003 ac_res=`eval echo '${'$as_ac_var'}'`
37004 { echo "$as_me:$LINENO: result: $ac_res" >&5
37005 echo "${ECHO_T}$ac_res" >&6; }
37006 if test `eval echo '${'$as_ac_var'}'` = yes; then
37007 cat >>confdefs.h <<_ACEOF
37008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37009 _ACEOF
37010 WCSLEN_FOUND=1
37011 fi
37012 done
37013
37014
37015 if test "$WCSLEN_FOUND" = 0; then
37016 if test "$TOOLKIT" = "MSW"; then
37017 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37018 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37019 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37020 echo $ECHO_N "(cached) $ECHO_C" >&6
37021 else
37022 ac_check_lib_save_LIBS=$LIBS
37023 LIBS="-lmsvcrt $LIBS"
37024 cat >conftest.$ac_ext <<_ACEOF
37025 /* confdefs.h. */
37026 _ACEOF
37027 cat confdefs.h >>conftest.$ac_ext
37028 cat >>conftest.$ac_ext <<_ACEOF
37029 /* end confdefs.h. */
37030
37031 /* Override any GCC internal prototype to avoid an error.
37032 Use char because int might match the return type of a GCC
37033 builtin and then its argument prototype would still apply. */
37034 #ifdef __cplusplus
37035 extern "C"
37036 #endif
37037 char wcslen ();
37038 int
37039 main ()
37040 {
37041 return wcslen ();
37042 ;
37043 return 0;
37044 }
37045 _ACEOF
37046 rm -f conftest.$ac_objext conftest$ac_exeext
37047 if { (ac_try="$ac_link"
37048 case "(($ac_try" in
37049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37051 esac
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_link") 2>conftest.er1
37054 ac_status=$?
37055 grep -v '^ *+' conftest.er1 >conftest.err
37056 rm -f conftest.er1
37057 cat conftest.err >&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } && {
37060 test -z "$ac_c_werror_flag" ||
37061 test ! -s conftest.err
37062 } && test -s conftest$ac_exeext &&
37063 $as_test_x conftest$ac_exeext; then
37064 ac_cv_lib_msvcrt_wcslen=yes
37065 else
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.$ac_ext >&5
37068
37069 ac_cv_lib_msvcrt_wcslen=no
37070 fi
37071
37072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37073 conftest$ac_exeext conftest.$ac_ext
37074 LIBS=$ac_check_lib_save_LIBS
37075 fi
37076 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37077 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37078 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37079 WCHAR_OK=1
37080 fi
37081
37082 else
37083 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37084 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37085 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37086 echo $ECHO_N "(cached) $ECHO_C" >&6
37087 else
37088 ac_check_lib_save_LIBS=$LIBS
37089 LIBS="-lw $LIBS"
37090 cat >conftest.$ac_ext <<_ACEOF
37091 /* confdefs.h. */
37092 _ACEOF
37093 cat confdefs.h >>conftest.$ac_ext
37094 cat >>conftest.$ac_ext <<_ACEOF
37095 /* end confdefs.h. */
37096
37097 /* Override any GCC internal prototype to avoid an error.
37098 Use char because int might match the return type of a GCC
37099 builtin and then its argument prototype would still apply. */
37100 #ifdef __cplusplus
37101 extern "C"
37102 #endif
37103 char wcslen ();
37104 int
37105 main ()
37106 {
37107 return wcslen ();
37108 ;
37109 return 0;
37110 }
37111 _ACEOF
37112 rm -f conftest.$ac_objext conftest$ac_exeext
37113 if { (ac_try="$ac_link"
37114 case "(($ac_try" in
37115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37116 *) ac_try_echo=$ac_try;;
37117 esac
37118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37119 (eval "$ac_link") 2>conftest.er1
37120 ac_status=$?
37121 grep -v '^ *+' conftest.er1 >conftest.err
37122 rm -f conftest.er1
37123 cat conftest.err >&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); } && {
37126 test -z "$ac_c_werror_flag" ||
37127 test ! -s conftest.err
37128 } && test -s conftest$ac_exeext &&
37129 $as_test_x conftest$ac_exeext; then
37130 ac_cv_lib_w_wcslen=yes
37131 else
37132 echo "$as_me: failed program was:" >&5
37133 sed 's/^/| /' conftest.$ac_ext >&5
37134
37135 ac_cv_lib_w_wcslen=no
37136 fi
37137
37138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37139 conftest$ac_exeext conftest.$ac_ext
37140 LIBS=$ac_check_lib_save_LIBS
37141 fi
37142 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37143 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37144 if test $ac_cv_lib_w_wcslen = yes; then
37145
37146 WCHAR_LINK=" -lw"
37147 WCSLEN_FOUND=1
37148
37149 fi
37150
37151 fi
37152 fi
37153
37154 if test "$WCSLEN_FOUND" = 1; then
37155 cat >>confdefs.h <<\_ACEOF
37156 #define HAVE_WCSLEN 1
37157 _ACEOF
37158
37159 fi
37160
37161
37162 for ac_func in wcsdup
37163 do
37164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37168 echo $ECHO_N "(cached) $ECHO_C" >&6
37169 else
37170 cat >conftest.$ac_ext <<_ACEOF
37171 /* confdefs.h. */
37172 _ACEOF
37173 cat confdefs.h >>conftest.$ac_ext
37174 cat >>conftest.$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37178 #define $ac_func innocuous_$ac_func
37179
37180 /* System header to define __stub macros and hopefully few prototypes,
37181 which can conflict with char $ac_func (); below.
37182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37183 <limits.h> exists even on freestanding compilers. */
37184
37185 #ifdef __STDC__
37186 # include <limits.h>
37187 #else
37188 # include <assert.h>
37189 #endif
37190
37191 #undef $ac_func
37192
37193 /* Override any GCC internal prototype to avoid an error.
37194 Use char because int might match the return type of a GCC
37195 builtin and then its argument prototype would still apply. */
37196 #ifdef __cplusplus
37197 extern "C"
37198 #endif
37199 char $ac_func ();
37200 /* The GNU C library defines this for functions which it implements
37201 to always fail with ENOSYS. Some functions are actually named
37202 something starting with __ and the normal name is an alias. */
37203 #if defined __stub_$ac_func || defined __stub___$ac_func
37204 choke me
37205 #endif
37206
37207 int
37208 main ()
37209 {
37210 return $ac_func ();
37211 ;
37212 return 0;
37213 }
37214 _ACEOF
37215 rm -f conftest.$ac_objext conftest$ac_exeext
37216 if { (ac_try="$ac_link"
37217 case "(($ac_try" in
37218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37219 *) ac_try_echo=$ac_try;;
37220 esac
37221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37222 (eval "$ac_link") 2>conftest.er1
37223 ac_status=$?
37224 grep -v '^ *+' conftest.er1 >conftest.err
37225 rm -f conftest.er1
37226 cat conftest.err >&5
37227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228 (exit $ac_status); } && {
37229 test -z "$ac_c_werror_flag" ||
37230 test ! -s conftest.err
37231 } && test -s conftest$ac_exeext &&
37232 $as_test_x conftest$ac_exeext; then
37233 eval "$as_ac_var=yes"
37234 else
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37237
37238 eval "$as_ac_var=no"
37239 fi
37240
37241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37242 conftest$ac_exeext conftest.$ac_ext
37243 fi
37244 ac_res=`eval echo '${'$as_ac_var'}'`
37245 { echo "$as_me:$LINENO: result: $ac_res" >&5
37246 echo "${ECHO_T}$ac_res" >&6; }
37247 if test `eval echo '${'$as_ac_var'}'` = yes; then
37248 cat >>confdefs.h <<_ACEOF
37249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37250 _ACEOF
37251
37252 fi
37253 done
37254
37255
37256 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37257 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37258 fi
37259
37260 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37261 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37262 if test "${ac_cv_type_mbstate_t+set}" = set; then
37263 echo $ECHO_N "(cached) $ECHO_C" >&6
37264 else
37265 cat >conftest.$ac_ext <<_ACEOF
37266 /* confdefs.h. */
37267 _ACEOF
37268 cat confdefs.h >>conftest.$ac_ext
37269 cat >>conftest.$ac_ext <<_ACEOF
37270 /* end confdefs.h. */
37271 #include <wchar.h>
37272
37273 typedef mbstate_t ac__type_new_;
37274 int
37275 main ()
37276 {
37277 if ((ac__type_new_ *) 0)
37278 return 0;
37279 if (sizeof (ac__type_new_))
37280 return 0;
37281 ;
37282 return 0;
37283 }
37284 _ACEOF
37285 rm -f conftest.$ac_objext
37286 if { (ac_try="$ac_compile"
37287 case "(($ac_try" in
37288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37289 *) ac_try_echo=$ac_try;;
37290 esac
37291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37292 (eval "$ac_compile") 2>conftest.er1
37293 ac_status=$?
37294 grep -v '^ *+' conftest.er1 >conftest.err
37295 rm -f conftest.er1
37296 cat conftest.err >&5
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); } && {
37299 test -z "$ac_c_werror_flag" ||
37300 test ! -s conftest.err
37301 } && test -s conftest.$ac_objext; then
37302 ac_cv_type_mbstate_t=yes
37303 else
37304 echo "$as_me: failed program was:" >&5
37305 sed 's/^/| /' conftest.$ac_ext >&5
37306
37307 ac_cv_type_mbstate_t=no
37308 fi
37309
37310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37311 fi
37312 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37313 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37314 if test $ac_cv_type_mbstate_t = yes; then
37315
37316 cat >>confdefs.h <<_ACEOF
37317 #define HAVE_MBSTATE_T 1
37318 _ACEOF
37319
37320
37321 for ac_func in wcsrtombs
37322 do
37323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37327 echo $ECHO_N "(cached) $ECHO_C" >&6
37328 else
37329 cat >conftest.$ac_ext <<_ACEOF
37330 /* confdefs.h. */
37331 _ACEOF
37332 cat confdefs.h >>conftest.$ac_ext
37333 cat >>conftest.$ac_ext <<_ACEOF
37334 /* end confdefs.h. */
37335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37337 #define $ac_func innocuous_$ac_func
37338
37339 /* System header to define __stub macros and hopefully few prototypes,
37340 which can conflict with char $ac_func (); below.
37341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37342 <limits.h> exists even on freestanding compilers. */
37343
37344 #ifdef __STDC__
37345 # include <limits.h>
37346 #else
37347 # include <assert.h>
37348 #endif
37349
37350 #undef $ac_func
37351
37352 /* Override any GCC internal prototype to avoid an error.
37353 Use char because int might match the return type of a GCC
37354 builtin and then its argument prototype would still apply. */
37355 #ifdef __cplusplus
37356 extern "C"
37357 #endif
37358 char $ac_func ();
37359 /* The GNU C library defines this for functions which it implements
37360 to always fail with ENOSYS. Some functions are actually named
37361 something starting with __ and the normal name is an alias. */
37362 #if defined __stub_$ac_func || defined __stub___$ac_func
37363 choke me
37364 #endif
37365
37366 int
37367 main ()
37368 {
37369 return $ac_func ();
37370 ;
37371 return 0;
37372 }
37373 _ACEOF
37374 rm -f conftest.$ac_objext conftest$ac_exeext
37375 if { (ac_try="$ac_link"
37376 case "(($ac_try" in
37377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37378 *) ac_try_echo=$ac_try;;
37379 esac
37380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37381 (eval "$ac_link") 2>conftest.er1
37382 ac_status=$?
37383 grep -v '^ *+' conftest.er1 >conftest.err
37384 rm -f conftest.er1
37385 cat conftest.err >&5
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); } && {
37388 test -z "$ac_c_werror_flag" ||
37389 test ! -s conftest.err
37390 } && test -s conftest$ac_exeext &&
37391 $as_test_x conftest$ac_exeext; then
37392 eval "$as_ac_var=yes"
37393 else
37394 echo "$as_me: failed program was:" >&5
37395 sed 's/^/| /' conftest.$ac_ext >&5
37396
37397 eval "$as_ac_var=no"
37398 fi
37399
37400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37401 conftest$ac_exeext conftest.$ac_ext
37402 fi
37403 ac_res=`eval echo '${'$as_ac_var'}'`
37404 { echo "$as_me:$LINENO: result: $ac_res" >&5
37405 echo "${ECHO_T}$ac_res" >&6; }
37406 if test `eval echo '${'$as_ac_var'}'` = yes; then
37407 cat >>confdefs.h <<_ACEOF
37408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37409 _ACEOF
37410
37411 fi
37412 done
37413
37414 fi
37415
37416 else
37417 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37418 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37419 fi
37420
37421
37422
37423 for ac_func in snprintf vsnprintf
37424 do
37425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37429 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 else
37431 cat >conftest.$ac_ext <<_ACEOF
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37439 #define $ac_func innocuous_$ac_func
37440
37441 /* System header to define __stub macros and hopefully few prototypes,
37442 which can conflict with char $ac_func (); below.
37443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37444 <limits.h> exists even on freestanding compilers. */
37445
37446 #ifdef __STDC__
37447 # include <limits.h>
37448 #else
37449 # include <assert.h>
37450 #endif
37451
37452 #undef $ac_func
37453
37454 /* Override any GCC internal prototype to avoid an error.
37455 Use char because int might match the return type of a GCC
37456 builtin and then its argument prototype would still apply. */
37457 #ifdef __cplusplus
37458 extern "C"
37459 #endif
37460 char $ac_func ();
37461 /* The GNU C library defines this for functions which it implements
37462 to always fail with ENOSYS. Some functions are actually named
37463 something starting with __ and the normal name is an alias. */
37464 #if defined __stub_$ac_func || defined __stub___$ac_func
37465 choke me
37466 #endif
37467
37468 int
37469 main ()
37470 {
37471 return $ac_func ();
37472 ;
37473 return 0;
37474 }
37475 _ACEOF
37476 rm -f conftest.$ac_objext conftest$ac_exeext
37477 if { (ac_try="$ac_link"
37478 case "(($ac_try" in
37479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37480 *) ac_try_echo=$ac_try;;
37481 esac
37482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37483 (eval "$ac_link") 2>conftest.er1
37484 ac_status=$?
37485 grep -v '^ *+' conftest.er1 >conftest.err
37486 rm -f conftest.er1
37487 cat conftest.err >&5
37488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37489 (exit $ac_status); } && {
37490 test -z "$ac_c_werror_flag" ||
37491 test ! -s conftest.err
37492 } && test -s conftest$ac_exeext &&
37493 $as_test_x conftest$ac_exeext; then
37494 eval "$as_ac_var=yes"
37495 else
37496 echo "$as_me: failed program was:" >&5
37497 sed 's/^/| /' conftest.$ac_ext >&5
37498
37499 eval "$as_ac_var=no"
37500 fi
37501
37502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37503 conftest$ac_exeext conftest.$ac_ext
37504 fi
37505 ac_res=`eval echo '${'$as_ac_var'}'`
37506 { echo "$as_me:$LINENO: result: $ac_res" >&5
37507 echo "${ECHO_T}$ac_res" >&6; }
37508 if test `eval echo '${'$as_ac_var'}'` = yes; then
37509 cat >>confdefs.h <<_ACEOF
37510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37511 _ACEOF
37512
37513 fi
37514 done
37515
37516
37517 if test "$ac_cv_func_vsnprintf" = "yes"; then
37518 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37519 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37520 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37522 else
37523
37524 cat >conftest.$ac_ext <<_ACEOF
37525 /* confdefs.h. */
37526 _ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530
37531 #include <stdio.h>
37532 #include <stdarg.h>
37533 #ifdef __MSL__
37534 #if __MSL__ >= 0x6000
37535 namespace std {}
37536 using namespace std;
37537 #endif
37538 #endif
37539
37540 int
37541 main ()
37542 {
37543
37544 char *buf;
37545 va_list ap;
37546 vsnprintf(buf, 10u, "%s", ap);
37547
37548 ;
37549 return 0;
37550 }
37551 _ACEOF
37552 rm -f conftest.$ac_objext
37553 if { (ac_try="$ac_compile"
37554 case "(($ac_try" in
37555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37556 *) ac_try_echo=$ac_try;;
37557 esac
37558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37559 (eval "$ac_compile") 2>conftest.er1
37560 ac_status=$?
37561 grep -v '^ *+' conftest.er1 >conftest.err
37562 rm -f conftest.er1
37563 cat conftest.err >&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } && {
37566 test -z "$ac_c_werror_flag" ||
37567 test ! -s conftest.err
37568 } && test -s conftest.$ac_objext; then
37569 wx_cv_func_vsnprintf_decl=yes
37570 else
37571 echo "$as_me: failed program was:" >&5
37572 sed 's/^/| /' conftest.$ac_ext >&5
37573
37574 wx_cv_func_vsnprintf_decl=no
37575
37576 fi
37577
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579
37580
37581 fi
37582 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37583 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37584
37585 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37586 cat >>confdefs.h <<\_ACEOF
37587 #define HAVE_VSNPRINTF_DECL 1
37588 _ACEOF
37589
37590
37591 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37592 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37593 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37595 else
37596
37597 cat >conftest.$ac_ext <<_ACEOF
37598 /* confdefs.h. */
37599 _ACEOF
37600 cat confdefs.h >>conftest.$ac_ext
37601 cat >>conftest.$ac_ext <<_ACEOF
37602 /* end confdefs.h. */
37603
37604 #include <stdio.h>
37605 #include <stdarg.h>
37606 #ifdef __MSL__
37607 #if __MSL__ >= 0x6000
37608 namespace std {}
37609 using namespace std;
37610 #endif
37611 #endif
37612
37613 int
37614 main ()
37615 {
37616
37617 char *buf;
37618 va_list ap;
37619 const char *fmt = "%s";
37620 vsnprintf(buf, 10u, fmt, ap);
37621
37622 ;
37623 return 0;
37624 }
37625 _ACEOF
37626 rm -f conftest.$ac_objext
37627 if { (ac_try="$ac_compile"
37628 case "(($ac_try" in
37629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37630 *) ac_try_echo=$ac_try;;
37631 esac
37632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37633 (eval "$ac_compile") 2>conftest.er1
37634 ac_status=$?
37635 grep -v '^ *+' conftest.er1 >conftest.err
37636 rm -f conftest.er1
37637 cat conftest.err >&5
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); } && {
37640 test -z "$ac_c_werror_flag" ||
37641 test ! -s conftest.err
37642 } && test -s conftest.$ac_objext; then
37643 wx_cv_func_broken_vsnprintf_decl=no
37644 else
37645 echo "$as_me: failed program was:" >&5
37646 sed 's/^/| /' conftest.$ac_ext >&5
37647
37648 wx_cv_func_broken_vsnprintf_decl=yes
37649
37650 fi
37651
37652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37653
37654
37655 fi
37656 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37657 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37658
37659 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37660 cat >>confdefs.h <<\_ACEOF
37661 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37662 _ACEOF
37663
37664 fi
37665 fi
37666 fi
37667
37668 if test "$ac_cv_func_snprintf" = "yes"; then
37669 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37670 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37671 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37672 echo $ECHO_N "(cached) $ECHO_C" >&6
37673 else
37674
37675 cat >conftest.$ac_ext <<_ACEOF
37676 /* confdefs.h. */
37677 _ACEOF
37678 cat confdefs.h >>conftest.$ac_ext
37679 cat >>conftest.$ac_ext <<_ACEOF
37680 /* end confdefs.h. */
37681
37682 #include <stdio.h>
37683 #include <stdarg.h>
37684 #ifdef __MSL__
37685 #if __MSL__ >= 0x6000
37686 namespace std {}
37687 using namespace std;
37688 #endif
37689 #endif
37690
37691 int
37692 main ()
37693 {
37694
37695 char *buf;
37696 snprintf(buf, 10u, "%s", "wx");
37697
37698 ;
37699 return 0;
37700 }
37701 _ACEOF
37702 rm -f conftest.$ac_objext
37703 if { (ac_try="$ac_compile"
37704 case "(($ac_try" in
37705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37706 *) ac_try_echo=$ac_try;;
37707 esac
37708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37709 (eval "$ac_compile") 2>conftest.er1
37710 ac_status=$?
37711 grep -v '^ *+' conftest.er1 >conftest.err
37712 rm -f conftest.er1
37713 cat conftest.err >&5
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); } && {
37716 test -z "$ac_c_werror_flag" ||
37717 test ! -s conftest.err
37718 } && test -s conftest.$ac_objext; then
37719 wx_cv_func_snprintf_decl=yes
37720 else
37721 echo "$as_me: failed program was:" >&5
37722 sed 's/^/| /' conftest.$ac_ext >&5
37723
37724 wx_cv_func_snprintf_decl=no
37725
37726 fi
37727
37728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37729
37730
37731 fi
37732 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37733 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37734
37735 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37736 cat >>confdefs.h <<\_ACEOF
37737 #define HAVE_SNPRINTF_DECL 1
37738 _ACEOF
37739
37740
37741 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37742 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37743 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37744 echo $ECHO_N "(cached) $ECHO_C" >&6
37745 else
37746
37747 cat >conftest.$ac_ext <<_ACEOF
37748 /* confdefs.h. */
37749 _ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h. */
37753
37754 #include <stdio.h>
37755 #include <stdarg.h>
37756 #ifdef __MSL__
37757 #if __MSL__ >= 0x6000
37758 namespace std {}
37759 using namespace std;
37760 #endif
37761 #endif
37762
37763 int
37764 main ()
37765 {
37766
37767 char *buf;
37768 const char *fmt = "%s";
37769 snprintf(buf, 10u, fmt, "wx");
37770
37771 ;
37772 return 0;
37773 }
37774 _ACEOF
37775 rm -f conftest.$ac_objext
37776 if { (ac_try="$ac_compile"
37777 case "(($ac_try" in
37778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37779 *) ac_try_echo=$ac_try;;
37780 esac
37781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37782 (eval "$ac_compile") 2>conftest.er1
37783 ac_status=$?
37784 grep -v '^ *+' conftest.er1 >conftest.err
37785 rm -f conftest.er1
37786 cat conftest.err >&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); } && {
37789 test -z "$ac_c_werror_flag" ||
37790 test ! -s conftest.err
37791 } && test -s conftest.$ac_objext; then
37792 wx_cv_func_broken_snprintf_decl=no
37793 else
37794 echo "$as_me: failed program was:" >&5
37795 sed 's/^/| /' conftest.$ac_ext >&5
37796
37797 wx_cv_func_broken_snprintf_decl=yes
37798
37799 fi
37800
37801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37802
37803
37804 fi
37805 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37806 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37807
37808 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37809 cat >>confdefs.h <<\_ACEOF
37810 #define HAVE_BROKEN_SNPRINTF_DECL 1
37811 _ACEOF
37812
37813 fi
37814 fi
37815
37816 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37817
37818 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37819 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37820 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37821 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 else
37823
37824 if test "$cross_compiling" = yes; then
37825
37826 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37827 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37828 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37829 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37830 wx_cv_func_snprintf_pos_params=no
37831
37832
37833 else
37834 cat >conftest.$ac_ext <<_ACEOF
37835 /* confdefs.h. */
37836 _ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840
37841 #include <stdio.h>
37842
37843 int main (void)
37844 {
37845 char buffer[128];
37846 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37847 if (strcmp ("2 3 1", buffer) == 0)
37848 exit (0);
37849 exit (1);
37850 }
37851
37852 _ACEOF
37853 rm -f conftest$ac_exeext
37854 if { (ac_try="$ac_link"
37855 case "(($ac_try" in
37856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37857 *) ac_try_echo=$ac_try;;
37858 esac
37859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37860 (eval "$ac_link") 2>&5
37861 ac_status=$?
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37864 { (case "(($ac_try" in
37865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37866 *) ac_try_echo=$ac_try;;
37867 esac
37868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37869 (eval "$ac_try") 2>&5
37870 ac_status=$?
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; }; then
37873 wx_cv_func_snprintf_pos_params=no
37874 else
37875 echo "$as_me: program exited with status $ac_status" >&5
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37878
37879 ( exit $ac_status )
37880 wx_cv_func_snprintf_pos_params=yes
37881 fi
37882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37883 fi
37884
37885
37886
37887
37888 fi
37889 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37890 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37891
37892 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37893 cat >>confdefs.h <<\_ACEOF
37894 #define HAVE_UNIX98_PRINTF 1
37895 _ACEOF
37896
37897 fi
37898 fi
37899 fi
37900
37901 if test "$wxUSE_UNICODE" = yes; then
37902
37903
37904 for ac_func in swprintf
37905 do
37906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37907 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37909 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37910 echo $ECHO_N "(cached) $ECHO_C" >&6
37911 else
37912 cat >conftest.$ac_ext <<_ACEOF
37913 /* confdefs.h. */
37914 _ACEOF
37915 cat confdefs.h >>conftest.$ac_ext
37916 cat >>conftest.$ac_ext <<_ACEOF
37917 /* end confdefs.h. */
37918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37920 #define $ac_func innocuous_$ac_func
37921
37922 /* System header to define __stub macros and hopefully few prototypes,
37923 which can conflict with char $ac_func (); below.
37924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37925 <limits.h> exists even on freestanding compilers. */
37926
37927 #ifdef __STDC__
37928 # include <limits.h>
37929 #else
37930 # include <assert.h>
37931 #endif
37932
37933 #undef $ac_func
37934
37935 /* Override any GCC internal prototype to avoid an error.
37936 Use char because int might match the return type of a GCC
37937 builtin and then its argument prototype would still apply. */
37938 #ifdef __cplusplus
37939 extern "C"
37940 #endif
37941 char $ac_func ();
37942 /* The GNU C library defines this for functions which it implements
37943 to always fail with ENOSYS. Some functions are actually named
37944 something starting with __ and the normal name is an alias. */
37945 #if defined __stub_$ac_func || defined __stub___$ac_func
37946 choke me
37947 #endif
37948
37949 int
37950 main ()
37951 {
37952 return $ac_func ();
37953 ;
37954 return 0;
37955 }
37956 _ACEOF
37957 rm -f conftest.$ac_objext conftest$ac_exeext
37958 if { (ac_try="$ac_link"
37959 case "(($ac_try" in
37960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37961 *) ac_try_echo=$ac_try;;
37962 esac
37963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37964 (eval "$ac_link") 2>conftest.er1
37965 ac_status=$?
37966 grep -v '^ *+' conftest.er1 >conftest.err
37967 rm -f conftest.er1
37968 cat conftest.err >&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } && {
37971 test -z "$ac_c_werror_flag" ||
37972 test ! -s conftest.err
37973 } && test -s conftest$ac_exeext &&
37974 $as_test_x conftest$ac_exeext; then
37975 eval "$as_ac_var=yes"
37976 else
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.$ac_ext >&5
37979
37980 eval "$as_ac_var=no"
37981 fi
37982
37983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37984 conftest$ac_exeext conftest.$ac_ext
37985 fi
37986 ac_res=`eval echo '${'$as_ac_var'}'`
37987 { echo "$as_me:$LINENO: result: $ac_res" >&5
37988 echo "${ECHO_T}$ac_res" >&6; }
37989 if test `eval echo '${'$as_ac_var'}'` = yes; then
37990 cat >>confdefs.h <<_ACEOF
37991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37992 _ACEOF
37993
37994 fi
37995 done
37996
37997
37998 if test "$ac_cv_func_swprintf" = "yes"; then
37999 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38000 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38001 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38003 else
38004
38005 cat >conftest.$ac_ext <<_ACEOF
38006 /* confdefs.h. */
38007 _ACEOF
38008 cat confdefs.h >>conftest.$ac_ext
38009 cat >>conftest.$ac_ext <<_ACEOF
38010 /* end confdefs.h. */
38011
38012 #include <stdio.h>
38013 #include <stdarg.h>
38014 #include <wchar.h>
38015
38016 int
38017 main ()
38018 {
38019
38020 wchar_t *buf;
38021 const wchar_t *fmt = L"test";
38022 swprintf(buf, 10u, fmt);
38023
38024 ;
38025 return 0;
38026 }
38027 _ACEOF
38028 rm -f conftest.$ac_objext
38029 if { (ac_try="$ac_compile"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38033 esac
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_compile") 2>conftest.er1
38036 ac_status=$?
38037 grep -v '^ *+' conftest.er1 >conftest.err
38038 rm -f conftest.er1
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } && {
38042 test -z "$ac_c_werror_flag" ||
38043 test ! -s conftest.err
38044 } && test -s conftest.$ac_objext; then
38045 wx_cv_func_broken_swprintf_decl=no
38046 else
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38049
38050 wx_cv_func_broken_swprintf_decl=yes
38051
38052 fi
38053
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055
38056
38057 fi
38058 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38059 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38060
38061 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38062 cat >>confdefs.h <<\_ACEOF
38063 #define HAVE_BROKEN_SWPRINTF_DECL 1
38064 _ACEOF
38065
38066 fi
38067 fi
38068
38069 wchar_headers="#include <stdio.h>
38070 #include <wchar.h>"
38071 case "${host}" in
38072 *-*-solaris2* )
38073 { echo "$as_me:$LINENO: checking for widec.h" >&5
38074 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38075 if test "${ac_cv_header_widec_h+set}" = set; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 else
38078 cat >conftest.$ac_ext <<_ACEOF
38079 /* confdefs.h. */
38080 _ACEOF
38081 cat confdefs.h >>conftest.$ac_ext
38082 cat >>conftest.$ac_ext <<_ACEOF
38083 /* end confdefs.h. */
38084 $ac_includes_default
38085
38086 #include <widec.h>
38087 _ACEOF
38088 rm -f conftest.$ac_objext
38089 if { (ac_try="$ac_compile"
38090 case "(($ac_try" in
38091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38092 *) ac_try_echo=$ac_try;;
38093 esac
38094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38095 (eval "$ac_compile") 2>conftest.er1
38096 ac_status=$?
38097 grep -v '^ *+' conftest.er1 >conftest.err
38098 rm -f conftest.er1
38099 cat conftest.err >&5
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); } && {
38102 test -z "$ac_c_werror_flag" ||
38103 test ! -s conftest.err
38104 } && test -s conftest.$ac_objext; then
38105 ac_cv_header_widec_h=yes
38106 else
38107 echo "$as_me: failed program was:" >&5
38108 sed 's/^/| /' conftest.$ac_ext >&5
38109
38110 ac_cv_header_widec_h=no
38111 fi
38112
38113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38114 fi
38115 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38116 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38117
38118
38119 if test "$ac_cv_header_widec_h" = "yes"; then
38120 wchar_headers="$wchar_headers
38121 #include <widec.h>"
38122 fi
38123 esac
38124
38125
38126 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38127 do
38128 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38129 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38130 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 else
38133
38134 cat >conftest.$ac_ext <<_ACEOF
38135
38136 /* confdefs.h. */
38137 _ACEOF
38138 cat confdefs.h >>conftest.$ac_ext
38139 cat >>conftest.$ac_ext <<_ACEOF
38140 /* end confdefs.h. */
38141
38142 $wchar_headers
38143 $ac_includes_default
38144
38145 int
38146 main ()
38147 {
38148
38149 #ifndef $wx_func
38150 &$wx_func;
38151 #endif
38152
38153
38154 ;
38155 return 0;
38156 }
38157
38158 _ACEOF
38159 rm -f conftest.$ac_objext conftest$ac_exeext
38160 if { (ac_try="$ac_link"
38161 case "(($ac_try" in
38162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38163 *) ac_try_echo=$ac_try;;
38164 esac
38165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38166 (eval "$ac_link") 2>conftest.er1
38167 ac_status=$?
38168 grep -v '^ *+' conftest.er1 >conftest.err
38169 rm -f conftest.er1
38170 cat conftest.err >&5
38171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38172 (exit $ac_status); } && {
38173 test -z "$ac_c_werror_flag" ||
38174 test ! -s conftest.err
38175 } && test -s conftest$ac_exeext &&
38176 $as_test_x conftest$ac_exeext; then
38177 eval wx_cv_func_$wx_func=yes
38178 else
38179 echo "$as_me: failed program was:" >&5
38180 sed 's/^/| /' conftest.$ac_ext >&5
38181
38182 eval wx_cv_func_$wx_func=no
38183 fi
38184
38185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38186 conftest$ac_exeext conftest.$ac_ext
38187
38188 fi
38189 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38190 { echo "$as_me:$LINENO: result: $ac_res" >&5
38191 echo "${ECHO_T}$ac_res" >&6; }
38192
38193 if eval test \$wx_cv_func_$wx_func = yes
38194 then
38195 cat >>confdefs.h <<_ACEOF
38196 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38197 _ACEOF
38198
38199
38200 else
38201 :
38202
38203 fi
38204 done
38205
38206
38207 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38208 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38209 cat >conftest.$ac_ext <<_ACEOF
38210 /* confdefs.h. */
38211 _ACEOF
38212 cat confdefs.h >>conftest.$ac_ext
38213 cat >>conftest.$ac_ext <<_ACEOF
38214 /* end confdefs.h. */
38215 #include <wchar.h>
38216 int
38217 main ()
38218 {
38219 &_vsnwprintf;
38220 ;
38221 return 0;
38222 }
38223 _ACEOF
38224 rm -f conftest.$ac_objext
38225 if { (ac_try="$ac_compile"
38226 case "(($ac_try" in
38227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38228 *) ac_try_echo=$ac_try;;
38229 esac
38230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38231 (eval "$ac_compile") 2>conftest.er1
38232 ac_status=$?
38233 grep -v '^ *+' conftest.er1 >conftest.err
38234 rm -f conftest.er1
38235 cat conftest.err >&5
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); } && {
38238 test -z "$ac_c_werror_flag" ||
38239 test ! -s conftest.err
38240 } && test -s conftest.$ac_objext; then
38241 { echo "$as_me:$LINENO: result: yes" >&5
38242 echo "${ECHO_T}yes" >&6; }
38243 cat >>confdefs.h <<\_ACEOF
38244 #define HAVE__VSNWPRINTF 1
38245 _ACEOF
38246
38247 else
38248 echo "$as_me: failed program was:" >&5
38249 sed 's/^/| /' conftest.$ac_ext >&5
38250
38251 { echo "$as_me:$LINENO: result: no" >&5
38252 echo "${ECHO_T}no" >&6; }
38253 fi
38254
38255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38256 fi
38257
38258 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38259
38260 for wx_func in fnmatch
38261 do
38262 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38263 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38264 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38265 echo $ECHO_N "(cached) $ECHO_C" >&6
38266 else
38267
38268 cat >conftest.$ac_ext <<_ACEOF
38269
38270 /* confdefs.h. */
38271 _ACEOF
38272 cat confdefs.h >>conftest.$ac_ext
38273 cat >>conftest.$ac_ext <<_ACEOF
38274 /* end confdefs.h. */
38275
38276 #include <fnmatch.h>
38277 $ac_includes_default
38278
38279 int
38280 main ()
38281 {
38282
38283 #ifndef $wx_func
38284 &$wx_func;
38285 #endif
38286
38287
38288 ;
38289 return 0;
38290 }
38291
38292 _ACEOF
38293 rm -f conftest.$ac_objext conftest$ac_exeext
38294 if { (ac_try="$ac_link"
38295 case "(($ac_try" in
38296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38297 *) ac_try_echo=$ac_try;;
38298 esac
38299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38300 (eval "$ac_link") 2>conftest.er1
38301 ac_status=$?
38302 grep -v '^ *+' conftest.er1 >conftest.err
38303 rm -f conftest.er1
38304 cat conftest.err >&5
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); } && {
38307 test -z "$ac_c_werror_flag" ||
38308 test ! -s conftest.err
38309 } && test -s conftest$ac_exeext &&
38310 $as_test_x conftest$ac_exeext; then
38311 eval wx_cv_func_$wx_func=yes
38312 else
38313 echo "$as_me: failed program was:" >&5
38314 sed 's/^/| /' conftest.$ac_ext >&5
38315
38316 eval wx_cv_func_$wx_func=no
38317 fi
38318
38319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38320 conftest$ac_exeext conftest.$ac_ext
38321
38322 fi
38323 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38324 { echo "$as_me:$LINENO: result: $ac_res" >&5
38325 echo "${ECHO_T}$ac_res" >&6; }
38326
38327 if eval test \$wx_cv_func_$wx_func = yes
38328 then
38329 cat >>confdefs.h <<_ACEOF
38330 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38331 _ACEOF
38332
38333
38334 else
38335 :
38336
38337 fi
38338 done
38339
38340 fi
38341
38342 if test "$wxUSE_FILE" = "yes"; then
38343
38344 for wx_func in fsync
38345 do
38346 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38347 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38348 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38349 echo $ECHO_N "(cached) $ECHO_C" >&6
38350 else
38351
38352 cat >conftest.$ac_ext <<_ACEOF
38353
38354 /* confdefs.h. */
38355 _ACEOF
38356 cat confdefs.h >>conftest.$ac_ext
38357 cat >>conftest.$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359
38360
38361 $ac_includes_default
38362
38363 int
38364 main ()
38365 {
38366
38367 #ifndef $wx_func
38368 &$wx_func;
38369 #endif
38370
38371
38372 ;
38373 return 0;
38374 }
38375
38376 _ACEOF
38377 rm -f conftest.$ac_objext conftest$ac_exeext
38378 if { (ac_try="$ac_link"
38379 case "(($ac_try" in
38380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38381 *) ac_try_echo=$ac_try;;
38382 esac
38383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38384 (eval "$ac_link") 2>conftest.er1
38385 ac_status=$?
38386 grep -v '^ *+' conftest.er1 >conftest.err
38387 rm -f conftest.er1
38388 cat conftest.err >&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); } && {
38391 test -z "$ac_c_werror_flag" ||
38392 test ! -s conftest.err
38393 } && test -s conftest$ac_exeext &&
38394 $as_test_x conftest$ac_exeext; then
38395 eval wx_cv_func_$wx_func=yes
38396 else
38397 echo "$as_me: failed program was:" >&5
38398 sed 's/^/| /' conftest.$ac_ext >&5
38399
38400 eval wx_cv_func_$wx_func=no
38401 fi
38402
38403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38404 conftest$ac_exeext conftest.$ac_ext
38405
38406 fi
38407 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38408 { echo "$as_me:$LINENO: result: $ac_res" >&5
38409 echo "${ECHO_T}$ac_res" >&6; }
38410
38411 if eval test \$wx_cv_func_$wx_func = yes
38412 then
38413 cat >>confdefs.h <<_ACEOF
38414 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38415 _ACEOF
38416
38417
38418 else
38419 :
38420
38421 fi
38422 done
38423
38424 fi
38425
38426 ac_ext=cpp
38427 ac_cpp='$CXXCPP $CPPFLAGS'
38428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38431
38432
38433 for wx_func in round
38434 do
38435 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38436 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38437 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38438 echo $ECHO_N "(cached) $ECHO_C" >&6
38439 else
38440
38441 cat >conftest.$ac_ext <<_ACEOF
38442
38443 /* confdefs.h. */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448
38449 #include <math.h>
38450 $ac_includes_default
38451
38452 int
38453 main ()
38454 {
38455
38456 #ifndef $wx_func
38457 &$wx_func;
38458 #endif
38459
38460
38461 ;
38462 return 0;
38463 }
38464
38465 _ACEOF
38466 rm -f conftest.$ac_objext conftest$ac_exeext
38467 if { (ac_try="$ac_link"
38468 case "(($ac_try" in
38469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38470 *) ac_try_echo=$ac_try;;
38471 esac
38472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_link") 2>conftest.er1
38474 ac_status=$?
38475 grep -v '^ *+' conftest.er1 >conftest.err
38476 rm -f conftest.er1
38477 cat conftest.err >&5
38478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_cxx_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest$ac_exeext &&
38483 $as_test_x conftest$ac_exeext; then
38484 eval wx_cv_func_$wx_func=yes
38485 else
38486 echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.$ac_ext >&5
38488
38489 eval wx_cv_func_$wx_func=no
38490 fi
38491
38492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38493 conftest$ac_exeext conftest.$ac_ext
38494
38495 fi
38496 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38497 { echo "$as_me:$LINENO: result: $ac_res" >&5
38498 echo "${ECHO_T}$ac_res" >&6; }
38499
38500 if eval test \$wx_cv_func_$wx_func = yes
38501 then
38502 cat >>confdefs.h <<_ACEOF
38503 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38504 _ACEOF
38505
38506
38507 else
38508 :
38509
38510 fi
38511 done
38512
38513 ac_ext=c
38514 ac_cpp='$CPP $CPPFLAGS'
38515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38518
38519
38520 if test "$TOOLKIT" != "MSW"; then
38521
38522
38523
38524
38525
38526 # Check whether --with-libiconv-prefix was given.
38527 if test "${with_libiconv_prefix+set}" = set; then
38528 withval=$with_libiconv_prefix;
38529 for dir in `echo "$withval" | tr : ' '`; do
38530 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38531 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38532 done
38533
38534 fi
38535
38536
38537 { echo "$as_me:$LINENO: checking for iconv" >&5
38538 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38539 if test "${am_cv_func_iconv+set}" = set; then
38540 echo $ECHO_N "(cached) $ECHO_C" >&6
38541 else
38542
38543 am_cv_func_iconv="no, consider installing GNU libiconv"
38544 am_cv_lib_iconv=no
38545 cat >conftest.$ac_ext <<_ACEOF
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551 #include <stdlib.h>
38552 #include <iconv.h>
38553 int
38554 main ()
38555 {
38556 iconv_t cd = iconv_open("","");
38557 iconv(cd,NULL,NULL,NULL,NULL);
38558 iconv_close(cd);
38559 ;
38560 return 0;
38561 }
38562 _ACEOF
38563 rm -f conftest.$ac_objext conftest$ac_exeext
38564 if { (ac_try="$ac_link"
38565 case "(($ac_try" in
38566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38567 *) ac_try_echo=$ac_try;;
38568 esac
38569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38570 (eval "$ac_link") 2>conftest.er1
38571 ac_status=$?
38572 grep -v '^ *+' conftest.er1 >conftest.err
38573 rm -f conftest.er1
38574 cat conftest.err >&5
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); } && {
38577 test -z "$ac_c_werror_flag" ||
38578 test ! -s conftest.err
38579 } && test -s conftest$ac_exeext &&
38580 $as_test_x conftest$ac_exeext; then
38581 am_cv_func_iconv=yes
38582 else
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38585
38586
38587 fi
38588
38589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38590 conftest$ac_exeext conftest.$ac_ext
38591 if test "$am_cv_func_iconv" != yes; then
38592 am_save_LIBS="$LIBS"
38593 LIBS="$LIBS -liconv"
38594 cat >conftest.$ac_ext <<_ACEOF
38595 /* confdefs.h. */
38596 _ACEOF
38597 cat confdefs.h >>conftest.$ac_ext
38598 cat >>conftest.$ac_ext <<_ACEOF
38599 /* end confdefs.h. */
38600 #include <stdlib.h>
38601 #include <iconv.h>
38602 int
38603 main ()
38604 {
38605 iconv_t cd = iconv_open("","");
38606 iconv(cd,NULL,NULL,NULL,NULL);
38607 iconv_close(cd);
38608 ;
38609 return 0;
38610 }
38611 _ACEOF
38612 rm -f conftest.$ac_objext conftest$ac_exeext
38613 if { (ac_try="$ac_link"
38614 case "(($ac_try" in
38615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38616 *) ac_try_echo=$ac_try;;
38617 esac
38618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38619 (eval "$ac_link") 2>conftest.er1
38620 ac_status=$?
38621 grep -v '^ *+' conftest.er1 >conftest.err
38622 rm -f conftest.er1
38623 cat conftest.err >&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } && {
38626 test -z "$ac_c_werror_flag" ||
38627 test ! -s conftest.err
38628 } && test -s conftest$ac_exeext &&
38629 $as_test_x conftest$ac_exeext; then
38630 am_cv_lib_iconv=yes
38631 am_cv_func_iconv=yes
38632 else
38633 echo "$as_me: failed program was:" >&5
38634 sed 's/^/| /' conftest.$ac_ext >&5
38635
38636
38637 fi
38638
38639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38640 conftest$ac_exeext conftest.$ac_ext
38641 LIBS="$am_save_LIBS"
38642 fi
38643
38644 fi
38645 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38646 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38647 if test "$am_cv_func_iconv" = yes; then
38648
38649 cat >>confdefs.h <<\_ACEOF
38650 #define HAVE_ICONV 1
38651 _ACEOF
38652
38653 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38654 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38655 if test "${wx_cv_func_iconv_const+set}" = set; then
38656 echo $ECHO_N "(cached) $ECHO_C" >&6
38657 else
38658 cat >conftest.$ac_ext <<_ACEOF
38659 /* confdefs.h. */
38660 _ACEOF
38661 cat confdefs.h >>conftest.$ac_ext
38662 cat >>conftest.$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38664
38665 #include <stdlib.h>
38666 #include <iconv.h>
38667 extern
38668 #ifdef __cplusplus
38669 "C"
38670 #endif
38671 #if defined(__STDC__) || defined(__cplusplus)
38672 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38673 #else
38674 size_t iconv();
38675 #endif
38676
38677 int
38678 main ()
38679 {
38680
38681 ;
38682 return 0;
38683 }
38684 _ACEOF
38685 rm -f conftest.$ac_objext
38686 if { (ac_try="$ac_compile"
38687 case "(($ac_try" in
38688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38689 *) ac_try_echo=$ac_try;;
38690 esac
38691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38692 (eval "$ac_compile") 2>conftest.er1
38693 ac_status=$?
38694 grep -v '^ *+' conftest.er1 >conftest.err
38695 rm -f conftest.er1
38696 cat conftest.err >&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } && {
38699 test -z "$ac_c_werror_flag" ||
38700 test ! -s conftest.err
38701 } && test -s conftest.$ac_objext; then
38702 wx_cv_func_iconv_const="no"
38703 else
38704 echo "$as_me: failed program was:" >&5
38705 sed 's/^/| /' conftest.$ac_ext >&5
38706
38707 wx_cv_func_iconv_const="yes"
38708
38709 fi
38710
38711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38712
38713 fi
38714 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38715 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38716
38717 iconv_const=
38718 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38719 iconv_const="const"
38720 fi
38721
38722
38723 cat >>confdefs.h <<_ACEOF
38724 #define ICONV_CONST $iconv_const
38725 _ACEOF
38726
38727 fi
38728 LIBICONV=
38729 if test "$am_cv_lib_iconv" = yes; then
38730 LIBICONV="-liconv"
38731 fi
38732
38733
38734 LIBS="$LIBICONV $LIBS"
38735
38736 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38737
38738 for ac_func in sigaction
38739 do
38740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 else
38746 cat >conftest.$ac_ext <<_ACEOF
38747 /* confdefs.h. */
38748 _ACEOF
38749 cat confdefs.h >>conftest.$ac_ext
38750 cat >>conftest.$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38754 #define $ac_func innocuous_$ac_func
38755
38756 /* System header to define __stub macros and hopefully few prototypes,
38757 which can conflict with char $ac_func (); below.
38758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38759 <limits.h> exists even on freestanding compilers. */
38760
38761 #ifdef __STDC__
38762 # include <limits.h>
38763 #else
38764 # include <assert.h>
38765 #endif
38766
38767 #undef $ac_func
38768
38769 /* Override any GCC internal prototype to avoid an error.
38770 Use char because int might match the return type of a GCC
38771 builtin and then its argument prototype would still apply. */
38772 #ifdef __cplusplus
38773 extern "C"
38774 #endif
38775 char $ac_func ();
38776 /* The GNU C library defines this for functions which it implements
38777 to always fail with ENOSYS. Some functions are actually named
38778 something starting with __ and the normal name is an alias. */
38779 #if defined __stub_$ac_func || defined __stub___$ac_func
38780 choke me
38781 #endif
38782
38783 int
38784 main ()
38785 {
38786 return $ac_func ();
38787 ;
38788 return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext conftest$ac_exeext
38792 if { (ac_try="$ac_link"
38793 case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38795 *) ac_try_echo=$ac_try;;
38796 esac
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_link") 2>conftest.er1
38799 ac_status=$?
38800 grep -v '^ *+' conftest.er1 >conftest.err
38801 rm -f conftest.er1
38802 cat conftest.err >&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } && {
38805 test -z "$ac_c_werror_flag" ||
38806 test ! -s conftest.err
38807 } && test -s conftest$ac_exeext &&
38808 $as_test_x conftest$ac_exeext; then
38809 eval "$as_ac_var=yes"
38810 else
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38813
38814 eval "$as_ac_var=no"
38815 fi
38816
38817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38818 conftest$ac_exeext conftest.$ac_ext
38819 fi
38820 ac_res=`eval echo '${'$as_ac_var'}'`
38821 { echo "$as_me:$LINENO: result: $ac_res" >&5
38822 echo "${ECHO_T}$ac_res" >&6; }
38823 if test `eval echo '${'$as_ac_var'}'` = yes; then
38824 cat >>confdefs.h <<_ACEOF
38825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38826 _ACEOF
38827
38828 fi
38829 done
38830
38831
38832 if test "$ac_cv_func_sigaction" = "no"; then
38833 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38834 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38835 wxUSE_ON_FATAL_EXCEPTION=no
38836 fi
38837
38838 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38839 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38840 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38841 if test "${wx_cv_type_sa_handler+set}" = set; then
38842 echo $ECHO_N "(cached) $ECHO_C" >&6
38843 else
38844
38845 ac_ext=cpp
38846 ac_cpp='$CXXCPP $CPPFLAGS'
38847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38850
38851 cat >conftest.$ac_ext <<_ACEOF
38852 /* confdefs.h. */
38853 _ACEOF
38854 cat confdefs.h >>conftest.$ac_ext
38855 cat >>conftest.$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 #include <signal.h>
38858 int
38859 main ()
38860 {
38861
38862 extern void testSigHandler(int);
38863
38864 struct sigaction sa;
38865 sa.sa_handler = testSigHandler;
38866
38867 ;
38868 return 0;
38869 }
38870 _ACEOF
38871 rm -f conftest.$ac_objext
38872 if { (ac_try="$ac_compile"
38873 case "(($ac_try" in
38874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38875 *) ac_try_echo=$ac_try;;
38876 esac
38877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38878 (eval "$ac_compile") 2>conftest.er1
38879 ac_status=$?
38880 grep -v '^ *+' conftest.er1 >conftest.err
38881 rm -f conftest.er1
38882 cat conftest.err >&5
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); } && {
38885 test -z "$ac_cxx_werror_flag" ||
38886 test ! -s conftest.err
38887 } && test -s conftest.$ac_objext; then
38888
38889 wx_cv_type_sa_handler=int
38890
38891 else
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.$ac_ext >&5
38894
38895
38896 wx_cv_type_sa_handler=void
38897
38898 fi
38899
38900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38901 ac_ext=c
38902 ac_cpp='$CPP $CPPFLAGS'
38903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38906
38907
38908 fi
38909 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38910 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38911
38912 cat >>confdefs.h <<_ACEOF
38913 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38914 _ACEOF
38915
38916 fi
38917 fi
38918
38919 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38920 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38921 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38922 if test "${wx_cv_func_backtrace+set}" = set; then
38923 echo $ECHO_N "(cached) $ECHO_C" >&6
38924 else
38925
38926 ac_ext=cpp
38927 ac_cpp='$CXXCPP $CPPFLAGS'
38928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38931
38932 cat >conftest.$ac_ext <<_ACEOF
38933 /* confdefs.h. */
38934 _ACEOF
38935 cat confdefs.h >>conftest.$ac_ext
38936 cat >>conftest.$ac_ext <<_ACEOF
38937 /* end confdefs.h. */
38938 #include <execinfo.h>
38939 int
38940 main ()
38941 {
38942
38943 void *trace[1];
38944 char **messages;
38945
38946 backtrace(trace, 1);
38947 messages = backtrace_symbols(trace, 1);
38948
38949 ;
38950 return 0;
38951 }
38952 _ACEOF
38953 rm -f conftest.$ac_objext
38954 if { (ac_try="$ac_compile"
38955 case "(($ac_try" in
38956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38957 *) ac_try_echo=$ac_try;;
38958 esac
38959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38960 (eval "$ac_compile") 2>conftest.er1
38961 ac_status=$?
38962 grep -v '^ *+' conftest.er1 >conftest.err
38963 rm -f conftest.er1
38964 cat conftest.err >&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } && {
38967 test -z "$ac_cxx_werror_flag" ||
38968 test ! -s conftest.err
38969 } && test -s conftest.$ac_objext; then
38970 wx_cv_func_backtrace=yes
38971 else
38972 echo "$as_me: failed program was:" >&5
38973 sed 's/^/| /' conftest.$ac_ext >&5
38974
38975 wx_cv_func_backtrace=no
38976
38977 fi
38978
38979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38980 ac_ext=c
38981 ac_cpp='$CPP $CPPFLAGS'
38982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38985
38986
38987
38988 fi
38989 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38990 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38991
38992
38993 if test "$wx_cv_func_backtrace" = "no"; then
38994 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38995 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38996 wxUSE_STACKWALKER=no
38997 else
38998 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38999 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39000 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39001 echo $ECHO_N "(cached) $ECHO_C" >&6
39002 else
39003
39004 ac_ext=cpp
39005 ac_cpp='$CXXCPP $CPPFLAGS'
39006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39009
39010 cat >conftest.$ac_ext <<_ACEOF
39011 /* confdefs.h. */
39012 _ACEOF
39013 cat confdefs.h >>conftest.$ac_ext
39014 cat >>conftest.$ac_ext <<_ACEOF
39015 /* end confdefs.h. */
39016 #include <cxxabi.h>
39017 int
39018 main ()
39019 {
39020
39021 int rc;
39022 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39023
39024 ;
39025 return 0;
39026 }
39027 _ACEOF
39028 rm -f conftest.$ac_objext conftest$ac_exeext
39029 if { (ac_try="$ac_link"
39030 case "(($ac_try" in
39031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39032 *) ac_try_echo=$ac_try;;
39033 esac
39034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39035 (eval "$ac_link") 2>conftest.er1
39036 ac_status=$?
39037 grep -v '^ *+' conftest.er1 >conftest.err
39038 rm -f conftest.er1
39039 cat conftest.err >&5
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); } && {
39042 test -z "$ac_cxx_werror_flag" ||
39043 test ! -s conftest.err
39044 } && test -s conftest$ac_exeext &&
39045 $as_test_x conftest$ac_exeext; then
39046 wx_cv_func_cxa_demangle=yes
39047 else
39048 echo "$as_me: failed program was:" >&5
39049 sed 's/^/| /' conftest.$ac_ext >&5
39050
39051 wx_cv_func_cxa_demangle=no
39052
39053 fi
39054
39055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39056 conftest$ac_exeext conftest.$ac_ext
39057 ac_ext=c
39058 ac_cpp='$CPP $CPPFLAGS'
39059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39062
39063
39064
39065 fi
39066 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39067 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39068
39069 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39070 cat >>confdefs.h <<\_ACEOF
39071 #define HAVE_CXA_DEMANGLE 1
39072 _ACEOF
39073
39074 fi
39075 fi
39076 fi
39077
39078 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39079 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39080 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39081 wxUSE_STACKWALKER=no
39082 fi
39083
39084
39085
39086
39087 for ac_func in mkstemp mktemp
39088 do
39089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39090 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39093 echo $ECHO_N "(cached) $ECHO_C" >&6
39094 else
39095 cat >conftest.$ac_ext <<_ACEOF
39096 /* confdefs.h. */
39097 _ACEOF
39098 cat confdefs.h >>conftest.$ac_ext
39099 cat >>conftest.$ac_ext <<_ACEOF
39100 /* end confdefs.h. */
39101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39103 #define $ac_func innocuous_$ac_func
39104
39105 /* System header to define __stub macros and hopefully few prototypes,
39106 which can conflict with char $ac_func (); below.
39107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39108 <limits.h> exists even on freestanding compilers. */
39109
39110 #ifdef __STDC__
39111 # include <limits.h>
39112 #else
39113 # include <assert.h>
39114 #endif
39115
39116 #undef $ac_func
39117
39118 /* Override any GCC internal prototype to avoid an error.
39119 Use char because int might match the return type of a GCC
39120 builtin and then its argument prototype would still apply. */
39121 #ifdef __cplusplus
39122 extern "C"
39123 #endif
39124 char $ac_func ();
39125 /* The GNU C library defines this for functions which it implements
39126 to always fail with ENOSYS. Some functions are actually named
39127 something starting with __ and the normal name is an alias. */
39128 #if defined __stub_$ac_func || defined __stub___$ac_func
39129 choke me
39130 #endif
39131
39132 int
39133 main ()
39134 {
39135 return $ac_func ();
39136 ;
39137 return 0;
39138 }
39139 _ACEOF
39140 rm -f conftest.$ac_objext conftest$ac_exeext
39141 if { (ac_try="$ac_link"
39142 case "(($ac_try" in
39143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39144 *) ac_try_echo=$ac_try;;
39145 esac
39146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39147 (eval "$ac_link") 2>conftest.er1
39148 ac_status=$?
39149 grep -v '^ *+' conftest.er1 >conftest.err
39150 rm -f conftest.er1
39151 cat conftest.err >&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } && {
39154 test -z "$ac_c_werror_flag" ||
39155 test ! -s conftest.err
39156 } && test -s conftest$ac_exeext &&
39157 $as_test_x conftest$ac_exeext; then
39158 eval "$as_ac_var=yes"
39159 else
39160 echo "$as_me: failed program was:" >&5
39161 sed 's/^/| /' conftest.$ac_ext >&5
39162
39163 eval "$as_ac_var=no"
39164 fi
39165
39166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39167 conftest$ac_exeext conftest.$ac_ext
39168 fi
39169 ac_res=`eval echo '${'$as_ac_var'}'`
39170 { echo "$as_me:$LINENO: result: $ac_res" >&5
39171 echo "${ECHO_T}$ac_res" >&6; }
39172 if test `eval echo '${'$as_ac_var'}'` = yes; then
39173 cat >>confdefs.h <<_ACEOF
39174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39175 _ACEOF
39176 break
39177 fi
39178 done
39179
39180
39181 { echo "$as_me:$LINENO: checking for statfs" >&5
39182 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39183 if test "${wx_cv_func_statfs+set}" = set; then
39184 echo $ECHO_N "(cached) $ECHO_C" >&6
39185 else
39186 cat >conftest.$ac_ext <<_ACEOF
39187 /* confdefs.h. */
39188 _ACEOF
39189 cat confdefs.h >>conftest.$ac_ext
39190 cat >>conftest.$ac_ext <<_ACEOF
39191 /* end confdefs.h. */
39192
39193 #if defined(__BSD__)
39194 #include <sys/param.h>
39195 #include <sys/mount.h>
39196 #else
39197 #include <sys/vfs.h>
39198 #endif
39199
39200 int
39201 main ()
39202 {
39203
39204 long l;
39205 struct statfs fs;
39206 statfs("/", &fs);
39207 l = fs.f_bsize;
39208 l += fs.f_blocks;
39209 l += fs.f_bavail;
39210
39211 ;
39212 return 0;
39213 }
39214 _ACEOF
39215 rm -f conftest.$ac_objext
39216 if { (ac_try="$ac_compile"
39217 case "(($ac_try" in
39218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39219 *) ac_try_echo=$ac_try;;
39220 esac
39221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39222 (eval "$ac_compile") 2>conftest.er1
39223 ac_status=$?
39224 grep -v '^ *+' conftest.er1 >conftest.err
39225 rm -f conftest.er1
39226 cat conftest.err >&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); } && {
39229 test -z "$ac_c_werror_flag" ||
39230 test ! -s conftest.err
39231 } && test -s conftest.$ac_objext; then
39232 wx_cv_func_statfs=yes
39233 else
39234 echo "$as_me: failed program was:" >&5
39235 sed 's/^/| /' conftest.$ac_ext >&5
39236
39237 wx_cv_func_statfs=no
39238
39239 fi
39240
39241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39242
39243 fi
39244 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39245 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39246
39247 if test "$wx_cv_func_statfs" = "yes"; then
39248 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39249 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39250 if test "${wx_cv_func_statfs_decl+set}" = set; then
39251 echo $ECHO_N "(cached) $ECHO_C" >&6
39252 else
39253 ac_ext=cpp
39254 ac_cpp='$CXXCPP $CPPFLAGS'
39255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39258
39259 cat >conftest.$ac_ext <<_ACEOF
39260 /* confdefs.h. */
39261 _ACEOF
39262 cat confdefs.h >>conftest.$ac_ext
39263 cat >>conftest.$ac_ext <<_ACEOF
39264 /* end confdefs.h. */
39265
39266 #if defined(__BSD__)
39267 #include <sys/param.h>
39268 #include <sys/mount.h>
39269 #else
39270 #include <sys/vfs.h>
39271 #endif
39272
39273 int
39274 main ()
39275 {
39276
39277 struct statfs fs;
39278 statfs("", &fs);
39279
39280 ;
39281 return 0;
39282 }
39283 _ACEOF
39284 rm -f conftest.$ac_objext
39285 if { (ac_try="$ac_compile"
39286 case "(($ac_try" in
39287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39288 *) ac_try_echo=$ac_try;;
39289 esac
39290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39291 (eval "$ac_compile") 2>conftest.er1
39292 ac_status=$?
39293 grep -v '^ *+' conftest.er1 >conftest.err
39294 rm -f conftest.er1
39295 cat conftest.err >&5
39296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39297 (exit $ac_status); } && {
39298 test -z "$ac_cxx_werror_flag" ||
39299 test ! -s conftest.err
39300 } && test -s conftest.$ac_objext; then
39301 wx_cv_func_statfs_decl=yes
39302 else
39303 echo "$as_me: failed program was:" >&5
39304 sed 's/^/| /' conftest.$ac_ext >&5
39305
39306 wx_cv_func_statfs_decl=no
39307
39308 fi
39309
39310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39311 ac_ext=c
39312 ac_cpp='$CPP $CPPFLAGS'
39313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39316
39317
39318 fi
39319 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39320 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39321
39322 if test "$wx_cv_func_statfs_decl" = "yes"; then
39323 cat >>confdefs.h <<\_ACEOF
39324 #define HAVE_STATFS_DECL 1
39325 _ACEOF
39326
39327 fi
39328
39329 wx_cv_type_statvfs_t="struct statfs"
39330 cat >>confdefs.h <<\_ACEOF
39331 #define HAVE_STATFS 1
39332 _ACEOF
39333
39334 else
39335 { echo "$as_me:$LINENO: checking for statvfs" >&5
39336 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39337 if test "${wx_cv_func_statvfs+set}" = set; then
39338 echo $ECHO_N "(cached) $ECHO_C" >&6
39339 else
39340 cat >conftest.$ac_ext <<_ACEOF
39341 /* confdefs.h. */
39342 _ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39346
39347 #include <stddef.h>
39348 #include <sys/statvfs.h>
39349
39350 int
39351 main ()
39352 {
39353
39354 statvfs("/", NULL);
39355
39356 ;
39357 return 0;
39358 }
39359 _ACEOF
39360 rm -f conftest.$ac_objext
39361 if { (ac_try="$ac_compile"
39362 case "(($ac_try" in
39363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39364 *) ac_try_echo=$ac_try;;
39365 esac
39366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39367 (eval "$ac_compile") 2>conftest.er1
39368 ac_status=$?
39369 grep -v '^ *+' conftest.er1 >conftest.err
39370 rm -f conftest.er1
39371 cat conftest.err >&5
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); } && {
39374 test -z "$ac_c_werror_flag" ||
39375 test ! -s conftest.err
39376 } && test -s conftest.$ac_objext; then
39377 wx_cv_func_statvfs=yes
39378 else
39379 echo "$as_me: failed program was:" >&5
39380 sed 's/^/| /' conftest.$ac_ext >&5
39381
39382 wx_cv_func_statvfs=no
39383
39384 fi
39385
39386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39387
39388 fi
39389 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39390 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39391
39392 if test "$wx_cv_func_statvfs" = "yes"; then
39393 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39394 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39395 if test "${wx_cv_type_statvfs_t+set}" = set; then
39396 echo $ECHO_N "(cached) $ECHO_C" >&6
39397 else
39398 ac_ext=cpp
39399 ac_cpp='$CXXCPP $CPPFLAGS'
39400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39403
39404 cat >conftest.$ac_ext <<_ACEOF
39405 /* confdefs.h. */
39406 _ACEOF
39407 cat confdefs.h >>conftest.$ac_ext
39408 cat >>conftest.$ac_ext <<_ACEOF
39409 /* end confdefs.h. */
39410
39411 #include <sys/statvfs.h>
39412
39413 int
39414 main ()
39415 {
39416
39417 long l;
39418 statvfs_t fs;
39419 statvfs("/", &fs);
39420 l = fs.f_bsize;
39421 l += fs.f_blocks;
39422 l += fs.f_bavail;
39423
39424 ;
39425 return 0;
39426 }
39427 _ACEOF
39428 rm -f conftest.$ac_objext
39429 if { (ac_try="$ac_compile"
39430 case "(($ac_try" in
39431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39432 *) ac_try_echo=$ac_try;;
39433 esac
39434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39435 (eval "$ac_compile") 2>conftest.er1
39436 ac_status=$?
39437 grep -v '^ *+' conftest.er1 >conftest.err
39438 rm -f conftest.er1
39439 cat conftest.err >&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); } && {
39442 test -z "$ac_cxx_werror_flag" ||
39443 test ! -s conftest.err
39444 } && test -s conftest.$ac_objext; then
39445 wx_cv_type_statvfs_t=statvfs_t
39446 else
39447 echo "$as_me: failed program was:" >&5
39448 sed 's/^/| /' conftest.$ac_ext >&5
39449
39450
39451 cat >conftest.$ac_ext <<_ACEOF
39452 /* confdefs.h. */
39453 _ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39457
39458 #include <sys/statvfs.h>
39459
39460 int
39461 main ()
39462 {
39463
39464 long l;
39465 struct statvfs fs;
39466 statvfs("/", &fs);
39467 l = fs.f_bsize;
39468 l += fs.f_blocks;
39469 l += fs.f_bavail;
39470
39471 ;
39472 return 0;
39473 }
39474 _ACEOF
39475 rm -f conftest.$ac_objext
39476 if { (ac_try="$ac_compile"
39477 case "(($ac_try" in
39478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39479 *) ac_try_echo=$ac_try;;
39480 esac
39481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39482 (eval "$ac_compile") 2>conftest.er1
39483 ac_status=$?
39484 grep -v '^ *+' conftest.er1 >conftest.err
39485 rm -f conftest.er1
39486 cat conftest.err >&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); } && {
39489 test -z "$ac_cxx_werror_flag" ||
39490 test ! -s conftest.err
39491 } && test -s conftest.$ac_objext; then
39492 wx_cv_type_statvfs_t="struct statvfs"
39493 else
39494 echo "$as_me: failed program was:" >&5
39495 sed 's/^/| /' conftest.$ac_ext >&5
39496
39497 wx_cv_type_statvfs_t="unknown"
39498
39499 fi
39500
39501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39502
39503
39504 fi
39505
39506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39507 ac_ext=c
39508 ac_cpp='$CPP $CPPFLAGS'
39509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39512
39513
39514 fi
39515 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39516 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39517
39518 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39519 cat >>confdefs.h <<\_ACEOF
39520 #define HAVE_STATVFS 1
39521 _ACEOF
39522
39523 fi
39524 else
39525 wx_cv_type_statvfs_t="unknown"
39526 fi
39527 fi
39528
39529 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39530 cat >>confdefs.h <<_ACEOF
39531 #define WX_STATFS_T $wx_cv_type_statvfs_t
39532 _ACEOF
39533
39534 else
39535 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39536 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39537 fi
39538
39539 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39540
39541
39542 for ac_func in fcntl flock
39543 do
39544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39545 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39547 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39548 echo $ECHO_N "(cached) $ECHO_C" >&6
39549 else
39550 cat >conftest.$ac_ext <<_ACEOF
39551 /* confdefs.h. */
39552 _ACEOF
39553 cat confdefs.h >>conftest.$ac_ext
39554 cat >>conftest.$ac_ext <<_ACEOF
39555 /* end confdefs.h. */
39556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39558 #define $ac_func innocuous_$ac_func
39559
39560 /* System header to define __stub macros and hopefully few prototypes,
39561 which can conflict with char $ac_func (); below.
39562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39563 <limits.h> exists even on freestanding compilers. */
39564
39565 #ifdef __STDC__
39566 # include <limits.h>
39567 #else
39568 # include <assert.h>
39569 #endif
39570
39571 #undef $ac_func
39572
39573 /* Override any GCC internal prototype to avoid an error.
39574 Use char because int might match the return type of a GCC
39575 builtin and then its argument prototype would still apply. */
39576 #ifdef __cplusplus
39577 extern "C"
39578 #endif
39579 char $ac_func ();
39580 /* The GNU C library defines this for functions which it implements
39581 to always fail with ENOSYS. Some functions are actually named
39582 something starting with __ and the normal name is an alias. */
39583 #if defined __stub_$ac_func || defined __stub___$ac_func
39584 choke me
39585 #endif
39586
39587 int
39588 main ()
39589 {
39590 return $ac_func ();
39591 ;
39592 return 0;
39593 }
39594 _ACEOF
39595 rm -f conftest.$ac_objext conftest$ac_exeext
39596 if { (ac_try="$ac_link"
39597 case "(($ac_try" in
39598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39599 *) ac_try_echo=$ac_try;;
39600 esac
39601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39602 (eval "$ac_link") 2>conftest.er1
39603 ac_status=$?
39604 grep -v '^ *+' conftest.er1 >conftest.err
39605 rm -f conftest.er1
39606 cat conftest.err >&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); } && {
39609 test -z "$ac_c_werror_flag" ||
39610 test ! -s conftest.err
39611 } && test -s conftest$ac_exeext &&
39612 $as_test_x conftest$ac_exeext; then
39613 eval "$as_ac_var=yes"
39614 else
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39617
39618 eval "$as_ac_var=no"
39619 fi
39620
39621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39622 conftest$ac_exeext conftest.$ac_ext
39623 fi
39624 ac_res=`eval echo '${'$as_ac_var'}'`
39625 { echo "$as_me:$LINENO: result: $ac_res" >&5
39626 echo "${ECHO_T}$ac_res" >&6; }
39627 if test `eval echo '${'$as_ac_var'}'` = yes; then
39628 cat >>confdefs.h <<_ACEOF
39629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39630 _ACEOF
39631 break
39632 fi
39633 done
39634
39635
39636 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39637 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39638 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39639 wxUSE_SNGLINST_CHECKER=no
39640 fi
39641 fi
39642
39643
39644 for ac_func in timegm
39645 do
39646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39650 echo $ECHO_N "(cached) $ECHO_C" >&6
39651 else
39652 cat >conftest.$ac_ext <<_ACEOF
39653 /* confdefs.h. */
39654 _ACEOF
39655 cat confdefs.h >>conftest.$ac_ext
39656 cat >>conftest.$ac_ext <<_ACEOF
39657 /* end confdefs.h. */
39658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39660 #define $ac_func innocuous_$ac_func
39661
39662 /* System header to define __stub macros and hopefully few prototypes,
39663 which can conflict with char $ac_func (); below.
39664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39665 <limits.h> exists even on freestanding compilers. */
39666
39667 #ifdef __STDC__
39668 # include <limits.h>
39669 #else
39670 # include <assert.h>
39671 #endif
39672
39673 #undef $ac_func
39674
39675 /* Override any GCC internal prototype to avoid an error.
39676 Use char because int might match the return type of a GCC
39677 builtin and then its argument prototype would still apply. */
39678 #ifdef __cplusplus
39679 extern "C"
39680 #endif
39681 char $ac_func ();
39682 /* The GNU C library defines this for functions which it implements
39683 to always fail with ENOSYS. Some functions are actually named
39684 something starting with __ and the normal name is an alias. */
39685 #if defined __stub_$ac_func || defined __stub___$ac_func
39686 choke me
39687 #endif
39688
39689 int
39690 main ()
39691 {
39692 return $ac_func ();
39693 ;
39694 return 0;
39695 }
39696 _ACEOF
39697 rm -f conftest.$ac_objext conftest$ac_exeext
39698 if { (ac_try="$ac_link"
39699 case "(($ac_try" in
39700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39701 *) ac_try_echo=$ac_try;;
39702 esac
39703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39704 (eval "$ac_link") 2>conftest.er1
39705 ac_status=$?
39706 grep -v '^ *+' conftest.er1 >conftest.err
39707 rm -f conftest.er1
39708 cat conftest.err >&5
39709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39710 (exit $ac_status); } && {
39711 test -z "$ac_c_werror_flag" ||
39712 test ! -s conftest.err
39713 } && test -s conftest$ac_exeext &&
39714 $as_test_x conftest$ac_exeext; then
39715 eval "$as_ac_var=yes"
39716 else
39717 echo "$as_me: failed program was:" >&5
39718 sed 's/^/| /' conftest.$ac_ext >&5
39719
39720 eval "$as_ac_var=no"
39721 fi
39722
39723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39724 conftest$ac_exeext conftest.$ac_ext
39725 fi
39726 ac_res=`eval echo '${'$as_ac_var'}'`
39727 { echo "$as_me:$LINENO: result: $ac_res" >&5
39728 echo "${ECHO_T}$ac_res" >&6; }
39729 if test `eval echo '${'$as_ac_var'}'` = yes; then
39730 cat >>confdefs.h <<_ACEOF
39731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39732 _ACEOF
39733
39734 fi
39735 done
39736
39737
39738
39739
39740 for ac_func in putenv setenv
39741 do
39742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39747 else
39748 cat >conftest.$ac_ext <<_ACEOF
39749 /* confdefs.h. */
39750 _ACEOF
39751 cat confdefs.h >>conftest.$ac_ext
39752 cat >>conftest.$ac_ext <<_ACEOF
39753 /* end confdefs.h. */
39754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39756 #define $ac_func innocuous_$ac_func
39757
39758 /* System header to define __stub macros and hopefully few prototypes,
39759 which can conflict with char $ac_func (); below.
39760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39761 <limits.h> exists even on freestanding compilers. */
39762
39763 #ifdef __STDC__
39764 # include <limits.h>
39765 #else
39766 # include <assert.h>
39767 #endif
39768
39769 #undef $ac_func
39770
39771 /* Override any GCC internal prototype to avoid an error.
39772 Use char because int might match the return type of a GCC
39773 builtin and then its argument prototype would still apply. */
39774 #ifdef __cplusplus
39775 extern "C"
39776 #endif
39777 char $ac_func ();
39778 /* The GNU C library defines this for functions which it implements
39779 to always fail with ENOSYS. Some functions are actually named
39780 something starting with __ and the normal name is an alias. */
39781 #if defined __stub_$ac_func || defined __stub___$ac_func
39782 choke me
39783 #endif
39784
39785 int
39786 main ()
39787 {
39788 return $ac_func ();
39789 ;
39790 return 0;
39791 }
39792 _ACEOF
39793 rm -f conftest.$ac_objext conftest$ac_exeext
39794 if { (ac_try="$ac_link"
39795 case "(($ac_try" in
39796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39797 *) ac_try_echo=$ac_try;;
39798 esac
39799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39800 (eval "$ac_link") 2>conftest.er1
39801 ac_status=$?
39802 grep -v '^ *+' conftest.er1 >conftest.err
39803 rm -f conftest.er1
39804 cat conftest.err >&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); } && {
39807 test -z "$ac_c_werror_flag" ||
39808 test ! -s conftest.err
39809 } && test -s conftest$ac_exeext &&
39810 $as_test_x conftest$ac_exeext; then
39811 eval "$as_ac_var=yes"
39812 else
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39815
39816 eval "$as_ac_var=no"
39817 fi
39818
39819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39820 conftest$ac_exeext conftest.$ac_ext
39821 fi
39822 ac_res=`eval echo '${'$as_ac_var'}'`
39823 { echo "$as_me:$LINENO: result: $ac_res" >&5
39824 echo "${ECHO_T}$ac_res" >&6; }
39825 if test `eval echo '${'$as_ac_var'}'` = yes; then
39826 cat >>confdefs.h <<_ACEOF
39827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39828 _ACEOF
39829 break
39830 fi
39831 done
39832
39833
39834 HAVE_SOME_SLEEP_FUNC=0
39835 if test "$USE_BEOS" = 1; then
39836 cat >>confdefs.h <<\_ACEOF
39837 #define HAVE_SLEEP 1
39838 _ACEOF
39839
39840 HAVE_SOME_SLEEP_FUNC=1
39841 fi
39842
39843 if test "$USE_DARWIN" = 1; then
39844 cat >>confdefs.h <<\_ACEOF
39845 #define HAVE_USLEEP 1
39846 _ACEOF
39847
39848 HAVE_SOME_SLEEP_FUNC=1
39849 fi
39850
39851 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39852 POSIX4_LINK=
39853
39854 for ac_func in nanosleep
39855 do
39856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39857 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39859 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39860 echo $ECHO_N "(cached) $ECHO_C" >&6
39861 else
39862 cat >conftest.$ac_ext <<_ACEOF
39863 /* confdefs.h. */
39864 _ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39870 #define $ac_func innocuous_$ac_func
39871
39872 /* System header to define __stub macros and hopefully few prototypes,
39873 which can conflict with char $ac_func (); below.
39874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39875 <limits.h> exists even on freestanding compilers. */
39876
39877 #ifdef __STDC__
39878 # include <limits.h>
39879 #else
39880 # include <assert.h>
39881 #endif
39882
39883 #undef $ac_func
39884
39885 /* Override any GCC internal prototype to avoid an error.
39886 Use char because int might match the return type of a GCC
39887 builtin and then its argument prototype would still apply. */
39888 #ifdef __cplusplus
39889 extern "C"
39890 #endif
39891 char $ac_func ();
39892 /* The GNU C library defines this for functions which it implements
39893 to always fail with ENOSYS. Some functions are actually named
39894 something starting with __ and the normal name is an alias. */
39895 #if defined __stub_$ac_func || defined __stub___$ac_func
39896 choke me
39897 #endif
39898
39899 int
39900 main ()
39901 {
39902 return $ac_func ();
39903 ;
39904 return 0;
39905 }
39906 _ACEOF
39907 rm -f conftest.$ac_objext conftest$ac_exeext
39908 if { (ac_try="$ac_link"
39909 case "(($ac_try" in
39910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39911 *) ac_try_echo=$ac_try;;
39912 esac
39913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39914 (eval "$ac_link") 2>conftest.er1
39915 ac_status=$?
39916 grep -v '^ *+' conftest.er1 >conftest.err
39917 rm -f conftest.er1
39918 cat conftest.err >&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); } && {
39921 test -z "$ac_c_werror_flag" ||
39922 test ! -s conftest.err
39923 } && test -s conftest$ac_exeext &&
39924 $as_test_x conftest$ac_exeext; then
39925 eval "$as_ac_var=yes"
39926 else
39927 echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.$ac_ext >&5
39929
39930 eval "$as_ac_var=no"
39931 fi
39932
39933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39934 conftest$ac_exeext conftest.$ac_ext
39935 fi
39936 ac_res=`eval echo '${'$as_ac_var'}'`
39937 { echo "$as_me:$LINENO: result: $ac_res" >&5
39938 echo "${ECHO_T}$ac_res" >&6; }
39939 if test `eval echo '${'$as_ac_var'}'` = yes; then
39940 cat >>confdefs.h <<_ACEOF
39941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39942 _ACEOF
39943 cat >>confdefs.h <<\_ACEOF
39944 #define HAVE_NANOSLEEP 1
39945 _ACEOF
39946
39947 else
39948
39949 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39950 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39951 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39952 echo $ECHO_N "(cached) $ECHO_C" >&6
39953 else
39954 ac_check_lib_save_LIBS=$LIBS
39955 LIBS="-lposix4 $LIBS"
39956 cat >conftest.$ac_ext <<_ACEOF
39957 /* confdefs.h. */
39958 _ACEOF
39959 cat confdefs.h >>conftest.$ac_ext
39960 cat >>conftest.$ac_ext <<_ACEOF
39961 /* end confdefs.h. */
39962
39963 /* Override any GCC internal prototype to avoid an error.
39964 Use char because int might match the return type of a GCC
39965 builtin and then its argument prototype would still apply. */
39966 #ifdef __cplusplus
39967 extern "C"
39968 #endif
39969 char nanosleep ();
39970 int
39971 main ()
39972 {
39973 return nanosleep ();
39974 ;
39975 return 0;
39976 }
39977 _ACEOF
39978 rm -f conftest.$ac_objext conftest$ac_exeext
39979 if { (ac_try="$ac_link"
39980 case "(($ac_try" in
39981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39982 *) ac_try_echo=$ac_try;;
39983 esac
39984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39985 (eval "$ac_link") 2>conftest.er1
39986 ac_status=$?
39987 grep -v '^ *+' conftest.er1 >conftest.err
39988 rm -f conftest.er1
39989 cat conftest.err >&5
39990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39991 (exit $ac_status); } && {
39992 test -z "$ac_c_werror_flag" ||
39993 test ! -s conftest.err
39994 } && test -s conftest$ac_exeext &&
39995 $as_test_x conftest$ac_exeext; then
39996 ac_cv_lib_posix4_nanosleep=yes
39997 else
39998 echo "$as_me: failed program was:" >&5
39999 sed 's/^/| /' conftest.$ac_ext >&5
40000
40001 ac_cv_lib_posix4_nanosleep=no
40002 fi
40003
40004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40005 conftest$ac_exeext conftest.$ac_ext
40006 LIBS=$ac_check_lib_save_LIBS
40007 fi
40008 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40009 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40010 if test $ac_cv_lib_posix4_nanosleep = yes; then
40011
40012 cat >>confdefs.h <<\_ACEOF
40013 #define HAVE_NANOSLEEP 1
40014 _ACEOF
40015
40016 POSIX4_LINK=" -lposix4"
40017
40018 else
40019
40020
40021 for wx_func in usleep
40022 do
40023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40025 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40028
40029 cat >conftest.$ac_ext <<_ACEOF
40030
40031 /* confdefs.h. */
40032 _ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40036
40037
40038 $ac_includes_default
40039
40040 int
40041 main ()
40042 {
40043
40044 #ifndef $wx_func
40045 &$wx_func;
40046 #endif
40047
40048
40049 ;
40050 return 0;
40051 }
40052
40053 _ACEOF
40054 rm -f conftest.$ac_objext conftest$ac_exeext
40055 if { (ac_try="$ac_link"
40056 case "(($ac_try" in
40057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40058 *) ac_try_echo=$ac_try;;
40059 esac
40060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40061 (eval "$ac_link") 2>conftest.er1
40062 ac_status=$?
40063 grep -v '^ *+' conftest.er1 >conftest.err
40064 rm -f conftest.er1
40065 cat conftest.err >&5
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); } && {
40068 test -z "$ac_c_werror_flag" ||
40069 test ! -s conftest.err
40070 } && test -s conftest$ac_exeext &&
40071 $as_test_x conftest$ac_exeext; then
40072 eval wx_cv_func_$wx_func=yes
40073 else
40074 echo "$as_me: failed program was:" >&5
40075 sed 's/^/| /' conftest.$ac_ext >&5
40076
40077 eval wx_cv_func_$wx_func=no
40078 fi
40079
40080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40081 conftest$ac_exeext conftest.$ac_ext
40082
40083 fi
40084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40085 { echo "$as_me:$LINENO: result: $ac_res" >&5
40086 echo "${ECHO_T}$ac_res" >&6; }
40087
40088 if eval test \$wx_cv_func_$wx_func = yes
40089 then
40090 cat >>confdefs.h <<_ACEOF
40091 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40092 _ACEOF
40093
40094
40095 else
40096 :
40097 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40098 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40099
40100 fi
40101 done
40102
40103
40104
40105 fi
40106
40107
40108
40109 fi
40110 done
40111
40112 fi
40113
40114
40115 for wx_func in uname
40116 do
40117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40119 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40120 echo $ECHO_N "(cached) $ECHO_C" >&6
40121 else
40122
40123 cat >conftest.$ac_ext <<_ACEOF
40124
40125 /* confdefs.h. */
40126 _ACEOF
40127 cat confdefs.h >>conftest.$ac_ext
40128 cat >>conftest.$ac_ext <<_ACEOF
40129 /* end confdefs.h. */
40130
40131 #include <sys/utsname.h>
40132 $ac_includes_default
40133
40134 int
40135 main ()
40136 {
40137
40138 #ifndef $wx_func
40139 &$wx_func;
40140 #endif
40141
40142
40143 ;
40144 return 0;
40145 }
40146
40147 _ACEOF
40148 rm -f conftest.$ac_objext conftest$ac_exeext
40149 if { (ac_try="$ac_link"
40150 case "(($ac_try" in
40151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40152 *) ac_try_echo=$ac_try;;
40153 esac
40154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40155 (eval "$ac_link") 2>conftest.er1
40156 ac_status=$?
40157 grep -v '^ *+' conftest.er1 >conftest.err
40158 rm -f conftest.er1
40159 cat conftest.err >&5
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); } && {
40162 test -z "$ac_c_werror_flag" ||
40163 test ! -s conftest.err
40164 } && test -s conftest$ac_exeext &&
40165 $as_test_x conftest$ac_exeext; then
40166 eval wx_cv_func_$wx_func=yes
40167 else
40168 echo "$as_me: failed program was:" >&5
40169 sed 's/^/| /' conftest.$ac_ext >&5
40170
40171 eval wx_cv_func_$wx_func=no
40172 fi
40173
40174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40175 conftest$ac_exeext conftest.$ac_ext
40176
40177 fi
40178 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40179 { echo "$as_me:$LINENO: result: $ac_res" >&5
40180 echo "${ECHO_T}$ac_res" >&6; }
40181
40182 if eval test \$wx_cv_func_$wx_func = yes
40183 then
40184 cat >>confdefs.h <<_ACEOF
40185 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40186 _ACEOF
40187
40188
40189 else
40190 :
40191
40192 fi
40193 done
40194
40195 if test "$wx_cv_func_uname" != yes; then
40196
40197 for wx_func in gethostname
40198 do
40199 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40200 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40201 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40202 echo $ECHO_N "(cached) $ECHO_C" >&6
40203 else
40204
40205 cat >conftest.$ac_ext <<_ACEOF
40206
40207 /* confdefs.h. */
40208 _ACEOF
40209 cat confdefs.h >>conftest.$ac_ext
40210 cat >>conftest.$ac_ext <<_ACEOF
40211 /* end confdefs.h. */
40212
40213
40214 $ac_includes_default
40215
40216 int
40217 main ()
40218 {
40219
40220 #ifndef $wx_func
40221 &$wx_func;
40222 #endif
40223
40224
40225 ;
40226 return 0;
40227 }
40228
40229 _ACEOF
40230 rm -f conftest.$ac_objext conftest$ac_exeext
40231 if { (ac_try="$ac_link"
40232 case "(($ac_try" in
40233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40234 *) ac_try_echo=$ac_try;;
40235 esac
40236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40237 (eval "$ac_link") 2>conftest.er1
40238 ac_status=$?
40239 grep -v '^ *+' conftest.er1 >conftest.err
40240 rm -f conftest.er1
40241 cat conftest.err >&5
40242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243 (exit $ac_status); } && {
40244 test -z "$ac_c_werror_flag" ||
40245 test ! -s conftest.err
40246 } && test -s conftest$ac_exeext &&
40247 $as_test_x conftest$ac_exeext; then
40248 eval wx_cv_func_$wx_func=yes
40249 else
40250 echo "$as_me: failed program was:" >&5
40251 sed 's/^/| /' conftest.$ac_ext >&5
40252
40253 eval wx_cv_func_$wx_func=no
40254 fi
40255
40256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40257 conftest$ac_exeext conftest.$ac_ext
40258
40259 fi
40260 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40261 { echo "$as_me:$LINENO: result: $ac_res" >&5
40262 echo "${ECHO_T}$ac_res" >&6; }
40263
40264 if eval test \$wx_cv_func_$wx_func = yes
40265 then
40266 cat >>confdefs.h <<_ACEOF
40267 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40268 _ACEOF
40269
40270
40271 else
40272 :
40273
40274 fi
40275 done
40276
40277 fi
40278
40279
40280 for wx_func in strtok_r
40281 do
40282 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40283 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40284 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40285 echo $ECHO_N "(cached) $ECHO_C" >&6
40286 else
40287
40288 cat >conftest.$ac_ext <<_ACEOF
40289
40290 /* confdefs.h. */
40291 _ACEOF
40292 cat confdefs.h >>conftest.$ac_ext
40293 cat >>conftest.$ac_ext <<_ACEOF
40294 /* end confdefs.h. */
40295
40296 #define _REENTRANT
40297 $ac_includes_default
40298
40299 int
40300 main ()
40301 {
40302
40303 #ifndef $wx_func
40304 &$wx_func;
40305 #endif
40306
40307
40308 ;
40309 return 0;
40310 }
40311
40312 _ACEOF
40313 rm -f conftest.$ac_objext conftest$ac_exeext
40314 if { (ac_try="$ac_link"
40315 case "(($ac_try" in
40316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40317 *) ac_try_echo=$ac_try;;
40318 esac
40319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40320 (eval "$ac_link") 2>conftest.er1
40321 ac_status=$?
40322 grep -v '^ *+' conftest.er1 >conftest.err
40323 rm -f conftest.er1
40324 cat conftest.err >&5
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); } && {
40327 test -z "$ac_c_werror_flag" ||
40328 test ! -s conftest.err
40329 } && test -s conftest$ac_exeext &&
40330 $as_test_x conftest$ac_exeext; then
40331 eval wx_cv_func_$wx_func=yes
40332 else
40333 echo "$as_me: failed program was:" >&5
40334 sed 's/^/| /' conftest.$ac_ext >&5
40335
40336 eval wx_cv_func_$wx_func=no
40337 fi
40338
40339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40340 conftest$ac_exeext conftest.$ac_ext
40341
40342 fi
40343 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40344 { echo "$as_me:$LINENO: result: $ac_res" >&5
40345 echo "${ECHO_T}$ac_res" >&6; }
40346
40347 if eval test \$wx_cv_func_$wx_func = yes
40348 then
40349 cat >>confdefs.h <<_ACEOF
40350 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40351 _ACEOF
40352
40353
40354 else
40355 :
40356
40357 fi
40358 done
40359
40360
40361 INET_LINK=
40362
40363 for ac_func in inet_addr
40364 do
40365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40369 echo $ECHO_N "(cached) $ECHO_C" >&6
40370 else
40371 cat >conftest.$ac_ext <<_ACEOF
40372 /* confdefs.h. */
40373 _ACEOF
40374 cat confdefs.h >>conftest.$ac_ext
40375 cat >>conftest.$ac_ext <<_ACEOF
40376 /* end confdefs.h. */
40377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40379 #define $ac_func innocuous_$ac_func
40380
40381 /* System header to define __stub macros and hopefully few prototypes,
40382 which can conflict with char $ac_func (); below.
40383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40384 <limits.h> exists even on freestanding compilers. */
40385
40386 #ifdef __STDC__
40387 # include <limits.h>
40388 #else
40389 # include <assert.h>
40390 #endif
40391
40392 #undef $ac_func
40393
40394 /* Override any GCC internal prototype to avoid an error.
40395 Use char because int might match the return type of a GCC
40396 builtin and then its argument prototype would still apply. */
40397 #ifdef __cplusplus
40398 extern "C"
40399 #endif
40400 char $ac_func ();
40401 /* The GNU C library defines this for functions which it implements
40402 to always fail with ENOSYS. Some functions are actually named
40403 something starting with __ and the normal name is an alias. */
40404 #if defined __stub_$ac_func || defined __stub___$ac_func
40405 choke me
40406 #endif
40407
40408 int
40409 main ()
40410 {
40411 return $ac_func ();
40412 ;
40413 return 0;
40414 }
40415 _ACEOF
40416 rm -f conftest.$ac_objext conftest$ac_exeext
40417 if { (ac_try="$ac_link"
40418 case "(($ac_try" in
40419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40420 *) ac_try_echo=$ac_try;;
40421 esac
40422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40423 (eval "$ac_link") 2>conftest.er1
40424 ac_status=$?
40425 grep -v '^ *+' conftest.er1 >conftest.err
40426 rm -f conftest.er1
40427 cat conftest.err >&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } && {
40430 test -z "$ac_c_werror_flag" ||
40431 test ! -s conftest.err
40432 } && test -s conftest$ac_exeext &&
40433 $as_test_x conftest$ac_exeext; then
40434 eval "$as_ac_var=yes"
40435 else
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.$ac_ext >&5
40438
40439 eval "$as_ac_var=no"
40440 fi
40441
40442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40443 conftest$ac_exeext conftest.$ac_ext
40444 fi
40445 ac_res=`eval echo '${'$as_ac_var'}'`
40446 { echo "$as_me:$LINENO: result: $ac_res" >&5
40447 echo "${ECHO_T}$ac_res" >&6; }
40448 if test `eval echo '${'$as_ac_var'}'` = yes; then
40449 cat >>confdefs.h <<_ACEOF
40450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40451 _ACEOF
40452 cat >>confdefs.h <<\_ACEOF
40453 #define HAVE_INET_ADDR 1
40454 _ACEOF
40455
40456 else
40457
40458 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40459 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40460 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40461 echo $ECHO_N "(cached) $ECHO_C" >&6
40462 else
40463 ac_check_lib_save_LIBS=$LIBS
40464 LIBS="-lnsl $LIBS"
40465 cat >conftest.$ac_ext <<_ACEOF
40466 /* confdefs.h. */
40467 _ACEOF
40468 cat confdefs.h >>conftest.$ac_ext
40469 cat >>conftest.$ac_ext <<_ACEOF
40470 /* end confdefs.h. */
40471
40472 /* Override any GCC internal prototype to avoid an error.
40473 Use char because int might match the return type of a GCC
40474 builtin and then its argument prototype would still apply. */
40475 #ifdef __cplusplus
40476 extern "C"
40477 #endif
40478 char inet_addr ();
40479 int
40480 main ()
40481 {
40482 return inet_addr ();
40483 ;
40484 return 0;
40485 }
40486 _ACEOF
40487 rm -f conftest.$ac_objext conftest$ac_exeext
40488 if { (ac_try="$ac_link"
40489 case "(($ac_try" in
40490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40491 *) ac_try_echo=$ac_try;;
40492 esac
40493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40494 (eval "$ac_link") 2>conftest.er1
40495 ac_status=$?
40496 grep -v '^ *+' conftest.er1 >conftest.err
40497 rm -f conftest.er1
40498 cat conftest.err >&5
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); } && {
40501 test -z "$ac_c_werror_flag" ||
40502 test ! -s conftest.err
40503 } && test -s conftest$ac_exeext &&
40504 $as_test_x conftest$ac_exeext; then
40505 ac_cv_lib_nsl_inet_addr=yes
40506 else
40507 echo "$as_me: failed program was:" >&5
40508 sed 's/^/| /' conftest.$ac_ext >&5
40509
40510 ac_cv_lib_nsl_inet_addr=no
40511 fi
40512
40513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40514 conftest$ac_exeext conftest.$ac_ext
40515 LIBS=$ac_check_lib_save_LIBS
40516 fi
40517 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40518 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40519 if test $ac_cv_lib_nsl_inet_addr = yes; then
40520 INET_LINK="nsl"
40521 else
40522
40523 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40524 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40525 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40526 echo $ECHO_N "(cached) $ECHO_C" >&6
40527 else
40528 ac_check_lib_save_LIBS=$LIBS
40529 LIBS="-lresolv $LIBS"
40530 cat >conftest.$ac_ext <<_ACEOF
40531 /* confdefs.h. */
40532 _ACEOF
40533 cat confdefs.h >>conftest.$ac_ext
40534 cat >>conftest.$ac_ext <<_ACEOF
40535 /* end confdefs.h. */
40536
40537 /* Override any GCC internal prototype to avoid an error.
40538 Use char because int might match the return type of a GCC
40539 builtin and then its argument prototype would still apply. */
40540 #ifdef __cplusplus
40541 extern "C"
40542 #endif
40543 char inet_addr ();
40544 int
40545 main ()
40546 {
40547 return inet_addr ();
40548 ;
40549 return 0;
40550 }
40551 _ACEOF
40552 rm -f conftest.$ac_objext conftest$ac_exeext
40553 if { (ac_try="$ac_link"
40554 case "(($ac_try" in
40555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40556 *) ac_try_echo=$ac_try;;
40557 esac
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559 (eval "$ac_link") 2>conftest.er1
40560 ac_status=$?
40561 grep -v '^ *+' conftest.er1 >conftest.err
40562 rm -f conftest.er1
40563 cat conftest.err >&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } && {
40566 test -z "$ac_c_werror_flag" ||
40567 test ! -s conftest.err
40568 } && test -s conftest$ac_exeext &&
40569 $as_test_x conftest$ac_exeext; then
40570 ac_cv_lib_resolv_inet_addr=yes
40571 else
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40574
40575 ac_cv_lib_resolv_inet_addr=no
40576 fi
40577
40578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40579 conftest$ac_exeext conftest.$ac_ext
40580 LIBS=$ac_check_lib_save_LIBS
40581 fi
40582 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40583 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40584 if test $ac_cv_lib_resolv_inet_addr = yes; then
40585 INET_LINK="resolv"
40586 else
40587
40588 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40589 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40590 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40591 echo $ECHO_N "(cached) $ECHO_C" >&6
40592 else
40593 ac_check_lib_save_LIBS=$LIBS
40594 LIBS="-lsocket $LIBS"
40595 cat >conftest.$ac_ext <<_ACEOF
40596 /* confdefs.h. */
40597 _ACEOF
40598 cat confdefs.h >>conftest.$ac_ext
40599 cat >>conftest.$ac_ext <<_ACEOF
40600 /* end confdefs.h. */
40601
40602 /* Override any GCC internal prototype to avoid an error.
40603 Use char because int might match the return type of a GCC
40604 builtin and then its argument prototype would still apply. */
40605 #ifdef __cplusplus
40606 extern "C"
40607 #endif
40608 char inet_addr ();
40609 int
40610 main ()
40611 {
40612 return inet_addr ();
40613 ;
40614 return 0;
40615 }
40616 _ACEOF
40617 rm -f conftest.$ac_objext conftest$ac_exeext
40618 if { (ac_try="$ac_link"
40619 case "(($ac_try" in
40620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40621 *) ac_try_echo=$ac_try;;
40622 esac
40623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40624 (eval "$ac_link") 2>conftest.er1
40625 ac_status=$?
40626 grep -v '^ *+' conftest.er1 >conftest.err
40627 rm -f conftest.er1
40628 cat conftest.err >&5
40629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40630 (exit $ac_status); } && {
40631 test -z "$ac_c_werror_flag" ||
40632 test ! -s conftest.err
40633 } && test -s conftest$ac_exeext &&
40634 $as_test_x conftest$ac_exeext; then
40635 ac_cv_lib_socket_inet_addr=yes
40636 else
40637 echo "$as_me: failed program was:" >&5
40638 sed 's/^/| /' conftest.$ac_ext >&5
40639
40640 ac_cv_lib_socket_inet_addr=no
40641 fi
40642
40643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40644 conftest$ac_exeext conftest.$ac_ext
40645 LIBS=$ac_check_lib_save_LIBS
40646 fi
40647 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40648 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40649 if test $ac_cv_lib_socket_inet_addr = yes; then
40650 INET_LINK="socket"
40651
40652 fi
40653
40654
40655
40656 fi
40657
40658
40659
40660 fi
40661
40662
40663
40664 fi
40665 done
40666
40667
40668
40669 for ac_func in inet_aton
40670 do
40671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40675 echo $ECHO_N "(cached) $ECHO_C" >&6
40676 else
40677 cat >conftest.$ac_ext <<_ACEOF
40678 /* confdefs.h. */
40679 _ACEOF
40680 cat confdefs.h >>conftest.$ac_ext
40681 cat >>conftest.$ac_ext <<_ACEOF
40682 /* end confdefs.h. */
40683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40685 #define $ac_func innocuous_$ac_func
40686
40687 /* System header to define __stub macros and hopefully few prototypes,
40688 which can conflict with char $ac_func (); below.
40689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40690 <limits.h> exists even on freestanding compilers. */
40691
40692 #ifdef __STDC__
40693 # include <limits.h>
40694 #else
40695 # include <assert.h>
40696 #endif
40697
40698 #undef $ac_func
40699
40700 /* Override any GCC internal prototype to avoid an error.
40701 Use char because int might match the return type of a GCC
40702 builtin and then its argument prototype would still apply. */
40703 #ifdef __cplusplus
40704 extern "C"
40705 #endif
40706 char $ac_func ();
40707 /* The GNU C library defines this for functions which it implements
40708 to always fail with ENOSYS. Some functions are actually named
40709 something starting with __ and the normal name is an alias. */
40710 #if defined __stub_$ac_func || defined __stub___$ac_func
40711 choke me
40712 #endif
40713
40714 int
40715 main ()
40716 {
40717 return $ac_func ();
40718 ;
40719 return 0;
40720 }
40721 _ACEOF
40722 rm -f conftest.$ac_objext conftest$ac_exeext
40723 if { (ac_try="$ac_link"
40724 case "(($ac_try" in
40725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40726 *) ac_try_echo=$ac_try;;
40727 esac
40728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40729 (eval "$ac_link") 2>conftest.er1
40730 ac_status=$?
40731 grep -v '^ *+' conftest.er1 >conftest.err
40732 rm -f conftest.er1
40733 cat conftest.err >&5
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); } && {
40736 test -z "$ac_c_werror_flag" ||
40737 test ! -s conftest.err
40738 } && test -s conftest$ac_exeext &&
40739 $as_test_x conftest$ac_exeext; then
40740 eval "$as_ac_var=yes"
40741 else
40742 echo "$as_me: failed program was:" >&5
40743 sed 's/^/| /' conftest.$ac_ext >&5
40744
40745 eval "$as_ac_var=no"
40746 fi
40747
40748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40749 conftest$ac_exeext conftest.$ac_ext
40750 fi
40751 ac_res=`eval echo '${'$as_ac_var'}'`
40752 { echo "$as_me:$LINENO: result: $ac_res" >&5
40753 echo "${ECHO_T}$ac_res" >&6; }
40754 if test `eval echo '${'$as_ac_var'}'` = yes; then
40755 cat >>confdefs.h <<_ACEOF
40756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40757 _ACEOF
40758 cat >>confdefs.h <<\_ACEOF
40759 #define HAVE_INET_ATON 1
40760 _ACEOF
40761
40762 else
40763
40764 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40765 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40766 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40767 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40768 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 else
40770 ac_check_lib_save_LIBS=$LIBS
40771 LIBS="-l$INET_LINK $LIBS"
40772 cat >conftest.$ac_ext <<_ACEOF
40773 /* confdefs.h. */
40774 _ACEOF
40775 cat confdefs.h >>conftest.$ac_ext
40776 cat >>conftest.$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40778
40779 /* Override any GCC internal prototype to avoid an error.
40780 Use char because int might match the return type of a GCC
40781 builtin and then its argument prototype would still apply. */
40782 #ifdef __cplusplus
40783 extern "C"
40784 #endif
40785 char inet_aton ();
40786 int
40787 main ()
40788 {
40789 return inet_aton ();
40790 ;
40791 return 0;
40792 }
40793 _ACEOF
40794 rm -f conftest.$ac_objext conftest$ac_exeext
40795 if { (ac_try="$ac_link"
40796 case "(($ac_try" in
40797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40798 *) ac_try_echo=$ac_try;;
40799 esac
40800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40801 (eval "$ac_link") 2>conftest.er1
40802 ac_status=$?
40803 grep -v '^ *+' conftest.er1 >conftest.err
40804 rm -f conftest.er1
40805 cat conftest.err >&5
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); } && {
40808 test -z "$ac_c_werror_flag" ||
40809 test ! -s conftest.err
40810 } && test -s conftest$ac_exeext &&
40811 $as_test_x conftest$ac_exeext; then
40812 eval "$as_ac_Lib=yes"
40813 else
40814 echo "$as_me: failed program was:" >&5
40815 sed 's/^/| /' conftest.$ac_ext >&5
40816
40817 eval "$as_ac_Lib=no"
40818 fi
40819
40820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40821 conftest$ac_exeext conftest.$ac_ext
40822 LIBS=$ac_check_lib_save_LIBS
40823 fi
40824 ac_res=`eval echo '${'$as_ac_Lib'}'`
40825 { echo "$as_me:$LINENO: result: $ac_res" >&5
40826 echo "${ECHO_T}$ac_res" >&6; }
40827 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40828 cat >>confdefs.h <<\_ACEOF
40829 #define HAVE_INET_ATON 1
40830 _ACEOF
40831
40832 fi
40833
40834
40835 fi
40836 done
40837
40838
40839 if test "x$INET_LINK" != "x"; then
40840 cat >>confdefs.h <<\_ACEOF
40841 #define HAVE_INET_ADDR 1
40842 _ACEOF
40843
40844 INET_LINK=" -l$INET_LINK"
40845 fi
40846
40847
40848 for wx_func in fdopen
40849 do
40850 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40851 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40852 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40853 echo $ECHO_N "(cached) $ECHO_C" >&6
40854 else
40855
40856 cat >conftest.$ac_ext <<_ACEOF
40857
40858 /* confdefs.h. */
40859 _ACEOF
40860 cat confdefs.h >>conftest.$ac_ext
40861 cat >>conftest.$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40863
40864
40865 $ac_includes_default
40866
40867 int
40868 main ()
40869 {
40870
40871 #ifndef $wx_func
40872 &$wx_func;
40873 #endif
40874
40875
40876 ;
40877 return 0;
40878 }
40879
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (ac_try="$ac_link"
40883 case "(($ac_try" in
40884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40885 *) ac_try_echo=$ac_try;;
40886 esac
40887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40888 (eval "$ac_link") 2>conftest.er1
40889 ac_status=$?
40890 grep -v '^ *+' conftest.er1 >conftest.err
40891 rm -f conftest.er1
40892 cat conftest.err >&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } && {
40895 test -z "$ac_c_werror_flag" ||
40896 test ! -s conftest.err
40897 } && test -s conftest$ac_exeext &&
40898 $as_test_x conftest$ac_exeext; then
40899 eval wx_cv_func_$wx_func=yes
40900 else
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40903
40904 eval wx_cv_func_$wx_func=no
40905 fi
40906
40907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40908 conftest$ac_exeext conftest.$ac_ext
40909
40910 fi
40911 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40912 { echo "$as_me:$LINENO: result: $ac_res" >&5
40913 echo "${ECHO_T}$ac_res" >&6; }
40914
40915 if eval test \$wx_cv_func_$wx_func = yes
40916 then
40917 cat >>confdefs.h <<_ACEOF
40918 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40919 _ACEOF
40920
40921
40922 else
40923 :
40924
40925 fi
40926 done
40927
40928
40929 fi
40930
40931
40932
40933 cat >confcache <<\_ACEOF
40934 # This file is a shell script that caches the results of configure
40935 # tests run on this system so they can be shared between configure
40936 # scripts and configure runs, see configure's option --config-cache.
40937 # It is not useful on other systems. If it contains results you don't
40938 # want to keep, you may remove or edit it.
40939 #
40940 # config.status only pays attention to the cache file if you give it
40941 # the --recheck option to rerun configure.
40942 #
40943 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40944 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40945 # following values.
40946
40947 _ACEOF
40948
40949 # The following way of writing the cache mishandles newlines in values,
40950 # but we know of no workaround that is simple, portable, and efficient.
40951 # So, we kill variables containing newlines.
40952 # Ultrix sh set writes to stderr and can't be redirected directly,
40953 # and sets the high bit in the cache file unless we assign to the vars.
40954 (
40955 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40956 eval ac_val=\$$ac_var
40957 case $ac_val in #(
40958 *${as_nl}*)
40959 case $ac_var in #(
40960 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40961 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40962 esac
40963 case $ac_var in #(
40964 _ | IFS | as_nl) ;; #(
40965 *) $as_unset $ac_var ;;
40966 esac ;;
40967 esac
40968 done
40969
40970 (set) 2>&1 |
40971 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40972 *${as_nl}ac_space=\ *)
40973 # `set' does not quote correctly, so add quotes (double-quote
40974 # substitution turns \\\\ into \\, and sed turns \\ into \).
40975 sed -n \
40976 "s/'/'\\\\''/g;
40977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40978 ;; #(
40979 *)
40980 # `set' quotes correctly as required by POSIX, so do not add quotes.
40981 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40982 ;;
40983 esac |
40984 sort
40985 ) |
40986 sed '
40987 /^ac_cv_env_/b end
40988 t clear
40989 :clear
40990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40991 t end
40992 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40993 :end' >>confcache
40994 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40995 if test -w "$cache_file"; then
40996 test "x$cache_file" != "x/dev/null" &&
40997 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40998 echo "$as_me: updating cache $cache_file" >&6;}
40999 cat confcache >$cache_file
41000 else
41001 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41002 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41003 fi
41004 fi
41005 rm -f confcache
41006
41007
41008 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41009
41010
41011 THREADS_LINK=
41012 THREADS_CFLAGS=
41013
41014 if test "$wxUSE_THREADS" = "yes" ; then
41015 if test "$USE_BEOS" = 1; then
41016 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41017 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41018 wxUSE_THREADS="no"
41019 fi
41020 fi
41021
41022 if test "$wxUSE_THREADS" = "yes" ; then
41023
41024
41025 THREAD_OPTS="-pthread"
41026 if test "x$SUNCXX" = xyes; then
41027 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41028 fi
41029
41030 case "${host}" in
41031 *-*-solaris2* | *-*-sunos4* )
41032 if test "x$GCC" = "xyes"; then
41033 THREAD_OPTS="-pthreads $THREAD_OPTS"
41034 fi
41035 ;;
41036 *-*-freebsd*)
41037 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41038 ;;
41039 *-*-darwin* | *-*-cygwin* )
41040 THREAD_OPTS=""
41041 ;;
41042 *-*-aix*)
41043 THREAD_OPTS="pthreads"
41044 ;;
41045 *-hp-hpux* )
41046 if test "x$GCC" = "xyes"; then
41047 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41048 THREAD_OPTS=""
41049 else
41050 THREAD_OPTS="-mt"
41051 fi
41052 ;;
41053
41054 *-*-irix* )
41055 if test "x$GCC" = "xyes"; then
41056 THREAD_OPTS=""
41057 fi
41058 ;;
41059
41060 *-*-*UnixWare*)
41061 if test "x$GCC" != "xyes"; then
41062 THREAD_OPTS="-Ethread"
41063 fi
41064 ;;
41065 esac
41066
41067 THREAD_OPTS="$THREAD_OPTS pthread none"
41068
41069 THREADS_OK=no
41070 for flag in $THREAD_OPTS; do
41071 case $flag in
41072 none)
41073 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41074 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41075 ;;
41076
41077 -*)
41078 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41079 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41080 THREADS_CFLAGS="$flag"
41081 ;;
41082
41083 *)
41084 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41085 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41086 THREADS_LINK="-l$flag"
41087 ;;
41088 esac
41089
41090 save_LIBS="$LIBS"
41091 save_CFLAGS="$CFLAGS"
41092 LIBS="$THREADS_LINK $LIBS"
41093 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41094
41095 cat >conftest.$ac_ext <<_ACEOF
41096 /* confdefs.h. */
41097 _ACEOF
41098 cat confdefs.h >>conftest.$ac_ext
41099 cat >>conftest.$ac_ext <<_ACEOF
41100 /* end confdefs.h. */
41101 #include <pthread.h>
41102 int
41103 main ()
41104 {
41105 pthread_create(0,0,0,0);
41106 ;
41107 return 0;
41108 }
41109 _ACEOF
41110 rm -f conftest.$ac_objext conftest$ac_exeext
41111 if { (ac_try="$ac_link"
41112 case "(($ac_try" in
41113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41114 *) ac_try_echo=$ac_try;;
41115 esac
41116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41117 (eval "$ac_link") 2>conftest.er1
41118 ac_status=$?
41119 grep -v '^ *+' conftest.er1 >conftest.err
41120 rm -f conftest.er1
41121 cat conftest.err >&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); } && {
41124 test -z "$ac_c_werror_flag" ||
41125 test ! -s conftest.err
41126 } && test -s conftest$ac_exeext &&
41127 $as_test_x conftest$ac_exeext; then
41128 THREADS_OK=yes
41129 else
41130 echo "$as_me: failed program was:" >&5
41131 sed 's/^/| /' conftest.$ac_ext >&5
41132
41133
41134 fi
41135
41136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41137 conftest$ac_exeext conftest.$ac_ext
41138
41139 LIBS="$save_LIBS"
41140 CFLAGS="$save_CFLAGS"
41141
41142 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41143 echo "${ECHO_T}$THREADS_OK" >&6; }
41144 if test "x$THREADS_OK" = "xyes"; then
41145 break;
41146 fi
41147
41148 THREADS_LINK=""
41149 THREADS_CFLAGS=""
41150 done
41151
41152 if test "x$THREADS_OK" != "xyes"; then
41153 wxUSE_THREADS=no
41154 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41155 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41156 else
41157 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41158 LIBS="$THREADS_LINK $LIBS"
41159
41160 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41161 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41162 flag=no
41163 case "${host}" in
41164 *-aix*)
41165 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41166 flag="-D_THREAD_SAFE"
41167 ;;
41168 *-freebsd*)
41169 flag="-D_THREAD_SAFE"
41170 ;;
41171 *-hp-hpux* )
41172 flag="-D_REENTRANT"
41173 if test "x$GCC" != "xyes"; then
41174 flag="$flag -D_RWSTD_MULTI_THREAD"
41175 fi
41176 ;;
41177 *solaris* | alpha*-osf*)
41178 flag="-D_REENTRANT"
41179 ;;
41180 esac
41181 { echo "$as_me:$LINENO: result: ${flag}" >&5
41182 echo "${ECHO_T}${flag}" >&6; }
41183 if test "x$flag" != xno; then
41184 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41185 fi
41186
41187 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41188 fi
41189 fi
41190
41191 if test "$wxUSE_THREADS" = "yes" ; then
41192
41193 for ac_func in thr_setconcurrency
41194 do
41195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41196 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41198 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41199 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 else
41201 cat >conftest.$ac_ext <<_ACEOF
41202 /* confdefs.h. */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41209 #define $ac_func innocuous_$ac_func
41210
41211 /* System header to define __stub macros and hopefully few prototypes,
41212 which can conflict with char $ac_func (); below.
41213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41214 <limits.h> exists even on freestanding compilers. */
41215
41216 #ifdef __STDC__
41217 # include <limits.h>
41218 #else
41219 # include <assert.h>
41220 #endif
41221
41222 #undef $ac_func
41223
41224 /* Override any GCC internal prototype to avoid an error.
41225 Use char because int might match the return type of a GCC
41226 builtin and then its argument prototype would still apply. */
41227 #ifdef __cplusplus
41228 extern "C"
41229 #endif
41230 char $ac_func ();
41231 /* The GNU C library defines this for functions which it implements
41232 to always fail with ENOSYS. Some functions are actually named
41233 something starting with __ and the normal name is an alias. */
41234 #if defined __stub_$ac_func || defined __stub___$ac_func
41235 choke me
41236 #endif
41237
41238 int
41239 main ()
41240 {
41241 return $ac_func ();
41242 ;
41243 return 0;
41244 }
41245 _ACEOF
41246 rm -f conftest.$ac_objext conftest$ac_exeext
41247 if { (ac_try="$ac_link"
41248 case "(($ac_try" in
41249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41250 *) ac_try_echo=$ac_try;;
41251 esac
41252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41253 (eval "$ac_link") 2>conftest.er1
41254 ac_status=$?
41255 grep -v '^ *+' conftest.er1 >conftest.err
41256 rm -f conftest.er1
41257 cat conftest.err >&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); } && {
41260 test -z "$ac_c_werror_flag" ||
41261 test ! -s conftest.err
41262 } && test -s conftest$ac_exeext &&
41263 $as_test_x conftest$ac_exeext; then
41264 eval "$as_ac_var=yes"
41265 else
41266 echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.$ac_ext >&5
41268
41269 eval "$as_ac_var=no"
41270 fi
41271
41272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41273 conftest$ac_exeext conftest.$ac_ext
41274 fi
41275 ac_res=`eval echo '${'$as_ac_var'}'`
41276 { echo "$as_me:$LINENO: result: $ac_res" >&5
41277 echo "${ECHO_T}$ac_res" >&6; }
41278 if test `eval echo '${'$as_ac_var'}'` = yes; then
41279 cat >>confdefs.h <<_ACEOF
41280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41281 _ACEOF
41282
41283 fi
41284 done
41285
41286
41287 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41288 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41289 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41290 echo $ECHO_N "(cached) $ECHO_C" >&6
41291 else
41292
41293 ac_ext=cpp
41294 ac_cpp='$CXXCPP $CPPFLAGS'
41295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41298
41299 cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h. */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 #include <pthread.h>
41306 void ThreadCleanupFunc(void *p);
41307
41308 int
41309 main ()
41310 {
41311
41312 void *p;
41313 pthread_cleanup_push(ThreadCleanupFunc, p);
41314 pthread_cleanup_pop(0);
41315
41316 ;
41317 return 0;
41318 }
41319 _ACEOF
41320 rm -f conftest.$ac_objext
41321 if { (ac_try="$ac_compile"
41322 case "(($ac_try" in
41323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41324 *) ac_try_echo=$ac_try;;
41325 esac
41326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41327 (eval "$ac_compile") 2>conftest.er1
41328 ac_status=$?
41329 grep -v '^ *+' conftest.er1 >conftest.err
41330 rm -f conftest.er1
41331 cat conftest.err >&5
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); } && {
41334 test -z "$ac_cxx_werror_flag" ||
41335 test ! -s conftest.err
41336 } && test -s conftest.$ac_objext; then
41337
41338 wx_cv_func_pthread_cleanup=yes
41339
41340 else
41341 echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41343
41344
41345 wx_cv_func_pthread_cleanup=no
41346
41347
41348 fi
41349
41350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41351 ac_ext=c
41352 ac_cpp='$CPP $CPPFLAGS'
41353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41356
41357
41358 fi
41359 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41360 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41361 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41362 cat >>confdefs.h <<\_ACEOF
41363 #define wxHAVE_PTHREAD_CLEANUP 1
41364 _ACEOF
41365
41366 fi
41367
41368 { echo "$as_me:$LINENO: checking for sched.h" >&5
41369 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41370 if test "${ac_cv_header_sched_h+set}" = set; then
41371 echo $ECHO_N "(cached) $ECHO_C" >&6
41372 else
41373 cat >conftest.$ac_ext <<_ACEOF
41374 /* confdefs.h. */
41375 _ACEOF
41376 cat confdefs.h >>conftest.$ac_ext
41377 cat >>conftest.$ac_ext <<_ACEOF
41378 /* end confdefs.h. */
41379 $ac_includes_default
41380
41381 #include <sched.h>
41382 _ACEOF
41383 rm -f conftest.$ac_objext
41384 if { (ac_try="$ac_compile"
41385 case "(($ac_try" in
41386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41387 *) ac_try_echo=$ac_try;;
41388 esac
41389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41390 (eval "$ac_compile") 2>conftest.er1
41391 ac_status=$?
41392 grep -v '^ *+' conftest.er1 >conftest.err
41393 rm -f conftest.er1
41394 cat conftest.err >&5
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); } && {
41397 test -z "$ac_c_werror_flag" ||
41398 test ! -s conftest.err
41399 } && test -s conftest.$ac_objext; then
41400 ac_cv_header_sched_h=yes
41401 else
41402 echo "$as_me: failed program was:" >&5
41403 sed 's/^/| /' conftest.$ac_ext >&5
41404
41405 ac_cv_header_sched_h=no
41406 fi
41407
41408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41409 fi
41410 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41411 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41412
41413
41414 if test "$ac_cv_header_sched_h" = "yes"; then
41415 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41416 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41417 if test "${ac_cv_func_sched_yield+set}" = set; then
41418 echo $ECHO_N "(cached) $ECHO_C" >&6
41419 else
41420 cat >conftest.$ac_ext <<_ACEOF
41421 /* confdefs.h. */
41422 _ACEOF
41423 cat confdefs.h >>conftest.$ac_ext
41424 cat >>conftest.$ac_ext <<_ACEOF
41425 /* end confdefs.h. */
41426 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41428 #define sched_yield innocuous_sched_yield
41429
41430 /* System header to define __stub macros and hopefully few prototypes,
41431 which can conflict with char sched_yield (); below.
41432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41433 <limits.h> exists even on freestanding compilers. */
41434
41435 #ifdef __STDC__
41436 # include <limits.h>
41437 #else
41438 # include <assert.h>
41439 #endif
41440
41441 #undef sched_yield
41442
41443 /* Override any GCC internal prototype to avoid an error.
41444 Use char because int might match the return type of a GCC
41445 builtin and then its argument prototype would still apply. */
41446 #ifdef __cplusplus
41447 extern "C"
41448 #endif
41449 char sched_yield ();
41450 /* The GNU C library defines this for functions which it implements
41451 to always fail with ENOSYS. Some functions are actually named
41452 something starting with __ and the normal name is an alias. */
41453 #if defined __stub_sched_yield || defined __stub___sched_yield
41454 choke me
41455 #endif
41456
41457 int
41458 main ()
41459 {
41460 return sched_yield ();
41461 ;
41462 return 0;
41463 }
41464 _ACEOF
41465 rm -f conftest.$ac_objext conftest$ac_exeext
41466 if { (ac_try="$ac_link"
41467 case "(($ac_try" in
41468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41469 *) ac_try_echo=$ac_try;;
41470 esac
41471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41472 (eval "$ac_link") 2>conftest.er1
41473 ac_status=$?
41474 grep -v '^ *+' conftest.er1 >conftest.err
41475 rm -f conftest.er1
41476 cat conftest.err >&5
41477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41478 (exit $ac_status); } && {
41479 test -z "$ac_c_werror_flag" ||
41480 test ! -s conftest.err
41481 } && test -s conftest$ac_exeext &&
41482 $as_test_x conftest$ac_exeext; then
41483 ac_cv_func_sched_yield=yes
41484 else
41485 echo "$as_me: failed program was:" >&5
41486 sed 's/^/| /' conftest.$ac_ext >&5
41487
41488 ac_cv_func_sched_yield=no
41489 fi
41490
41491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41492 conftest$ac_exeext conftest.$ac_ext
41493 fi
41494 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41495 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41496 if test $ac_cv_func_sched_yield = yes; then
41497 cat >>confdefs.h <<\_ACEOF
41498 #define HAVE_SCHED_YIELD 1
41499 _ACEOF
41500
41501 else
41502
41503 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41504 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41505 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41506 echo $ECHO_N "(cached) $ECHO_C" >&6
41507 else
41508 ac_check_lib_save_LIBS=$LIBS
41509 LIBS="-lposix4 $LIBS"
41510 cat >conftest.$ac_ext <<_ACEOF
41511 /* confdefs.h. */
41512 _ACEOF
41513 cat confdefs.h >>conftest.$ac_ext
41514 cat >>conftest.$ac_ext <<_ACEOF
41515 /* end confdefs.h. */
41516
41517 /* Override any GCC internal prototype to avoid an error.
41518 Use char because int might match the return type of a GCC
41519 builtin and then its argument prototype would still apply. */
41520 #ifdef __cplusplus
41521 extern "C"
41522 #endif
41523 char sched_yield ();
41524 int
41525 main ()
41526 {
41527 return sched_yield ();
41528 ;
41529 return 0;
41530 }
41531 _ACEOF
41532 rm -f conftest.$ac_objext conftest$ac_exeext
41533 if { (ac_try="$ac_link"
41534 case "(($ac_try" in
41535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41536 *) ac_try_echo=$ac_try;;
41537 esac
41538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41539 (eval "$ac_link") 2>conftest.er1
41540 ac_status=$?
41541 grep -v '^ *+' conftest.er1 >conftest.err
41542 rm -f conftest.er1
41543 cat conftest.err >&5
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); } && {
41546 test -z "$ac_c_werror_flag" ||
41547 test ! -s conftest.err
41548 } && test -s conftest$ac_exeext &&
41549 $as_test_x conftest$ac_exeext; then
41550 ac_cv_lib_posix4_sched_yield=yes
41551 else
41552 echo "$as_me: failed program was:" >&5
41553 sed 's/^/| /' conftest.$ac_ext >&5
41554
41555 ac_cv_lib_posix4_sched_yield=no
41556 fi
41557
41558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41559 conftest$ac_exeext conftest.$ac_ext
41560 LIBS=$ac_check_lib_save_LIBS
41561 fi
41562 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41563 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41564 if test $ac_cv_lib_posix4_sched_yield = yes; then
41565 cat >>confdefs.h <<\_ACEOF
41566 #define HAVE_SCHED_YIELD 1
41567 _ACEOF
41568 POSIX4_LINK=" -lposix4"
41569 else
41570 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41571 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41572
41573 fi
41574
41575
41576
41577 fi
41578
41579 fi
41580
41581 HAVE_PRIOR_FUNCS=0
41582 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41583 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41584 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41585 echo $ECHO_N "(cached) $ECHO_C" >&6
41586 else
41587 cat >conftest.$ac_ext <<_ACEOF
41588 /* confdefs.h. */
41589 _ACEOF
41590 cat confdefs.h >>conftest.$ac_ext
41591 cat >>conftest.$ac_ext <<_ACEOF
41592 /* end confdefs.h. */
41593 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41595 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41596
41597 /* System header to define __stub macros and hopefully few prototypes,
41598 which can conflict with char pthread_attr_getschedpolicy (); below.
41599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41600 <limits.h> exists even on freestanding compilers. */
41601
41602 #ifdef __STDC__
41603 # include <limits.h>
41604 #else
41605 # include <assert.h>
41606 #endif
41607
41608 #undef pthread_attr_getschedpolicy
41609
41610 /* Override any GCC internal prototype to avoid an error.
41611 Use char because int might match the return type of a GCC
41612 builtin and then its argument prototype would still apply. */
41613 #ifdef __cplusplus
41614 extern "C"
41615 #endif
41616 char pthread_attr_getschedpolicy ();
41617 /* The GNU C library defines this for functions which it implements
41618 to always fail with ENOSYS. Some functions are actually named
41619 something starting with __ and the normal name is an alias. */
41620 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41621 choke me
41622 #endif
41623
41624 int
41625 main ()
41626 {
41627 return pthread_attr_getschedpolicy ();
41628 ;
41629 return 0;
41630 }
41631 _ACEOF
41632 rm -f conftest.$ac_objext conftest$ac_exeext
41633 if { (ac_try="$ac_link"
41634 case "(($ac_try" in
41635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41636 *) ac_try_echo=$ac_try;;
41637 esac
41638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41639 (eval "$ac_link") 2>conftest.er1
41640 ac_status=$?
41641 grep -v '^ *+' conftest.er1 >conftest.err
41642 rm -f conftest.er1
41643 cat conftest.err >&5
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); } && {
41646 test -z "$ac_c_werror_flag" ||
41647 test ! -s conftest.err
41648 } && test -s conftest$ac_exeext &&
41649 $as_test_x conftest$ac_exeext; then
41650 ac_cv_func_pthread_attr_getschedpolicy=yes
41651 else
41652 echo "$as_me: failed program was:" >&5
41653 sed 's/^/| /' conftest.$ac_ext >&5
41654
41655 ac_cv_func_pthread_attr_getschedpolicy=no
41656 fi
41657
41658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41659 conftest$ac_exeext conftest.$ac_ext
41660 fi
41661 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41662 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41663 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41664 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41665 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41666 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41667 echo $ECHO_N "(cached) $ECHO_C" >&6
41668 else
41669 cat >conftest.$ac_ext <<_ACEOF
41670 /* confdefs.h. */
41671 _ACEOF
41672 cat confdefs.h >>conftest.$ac_ext
41673 cat >>conftest.$ac_ext <<_ACEOF
41674 /* end confdefs.h. */
41675 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41677 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41678
41679 /* System header to define __stub macros and hopefully few prototypes,
41680 which can conflict with char pthread_attr_setschedparam (); below.
41681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41682 <limits.h> exists even on freestanding compilers. */
41683
41684 #ifdef __STDC__
41685 # include <limits.h>
41686 #else
41687 # include <assert.h>
41688 #endif
41689
41690 #undef pthread_attr_setschedparam
41691
41692 /* Override any GCC internal prototype to avoid an error.
41693 Use char because int might match the return type of a GCC
41694 builtin and then its argument prototype would still apply. */
41695 #ifdef __cplusplus
41696 extern "C"
41697 #endif
41698 char pthread_attr_setschedparam ();
41699 /* The GNU C library defines this for functions which it implements
41700 to always fail with ENOSYS. Some functions are actually named
41701 something starting with __ and the normal name is an alias. */
41702 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41703 choke me
41704 #endif
41705
41706 int
41707 main ()
41708 {
41709 return pthread_attr_setschedparam ();
41710 ;
41711 return 0;
41712 }
41713 _ACEOF
41714 rm -f conftest.$ac_objext conftest$ac_exeext
41715 if { (ac_try="$ac_link"
41716 case "(($ac_try" in
41717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41718 *) ac_try_echo=$ac_try;;
41719 esac
41720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41721 (eval "$ac_link") 2>conftest.er1
41722 ac_status=$?
41723 grep -v '^ *+' conftest.er1 >conftest.err
41724 rm -f conftest.er1
41725 cat conftest.err >&5
41726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41727 (exit $ac_status); } && {
41728 test -z "$ac_c_werror_flag" ||
41729 test ! -s conftest.err
41730 } && test -s conftest$ac_exeext &&
41731 $as_test_x conftest$ac_exeext; then
41732 ac_cv_func_pthread_attr_setschedparam=yes
41733 else
41734 echo "$as_me: failed program was:" >&5
41735 sed 's/^/| /' conftest.$ac_ext >&5
41736
41737 ac_cv_func_pthread_attr_setschedparam=no
41738 fi
41739
41740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41741 conftest$ac_exeext conftest.$ac_ext
41742 fi
41743 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41744 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41745 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41746 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41747 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41748 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41749 echo $ECHO_N "(cached) $ECHO_C" >&6
41750 else
41751 cat >conftest.$ac_ext <<_ACEOF
41752 /* confdefs.h. */
41753 _ACEOF
41754 cat confdefs.h >>conftest.$ac_ext
41755 cat >>conftest.$ac_ext <<_ACEOF
41756 /* end confdefs.h. */
41757 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41759 #define sched_get_priority_max innocuous_sched_get_priority_max
41760
41761 /* System header to define __stub macros and hopefully few prototypes,
41762 which can conflict with char sched_get_priority_max (); below.
41763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41764 <limits.h> exists even on freestanding compilers. */
41765
41766 #ifdef __STDC__
41767 # include <limits.h>
41768 #else
41769 # include <assert.h>
41770 #endif
41771
41772 #undef sched_get_priority_max
41773
41774 /* Override any GCC internal prototype to avoid an error.
41775 Use char because int might match the return type of a GCC
41776 builtin and then its argument prototype would still apply. */
41777 #ifdef __cplusplus
41778 extern "C"
41779 #endif
41780 char sched_get_priority_max ();
41781 /* The GNU C library defines this for functions which it implements
41782 to always fail with ENOSYS. Some functions are actually named
41783 something starting with __ and the normal name is an alias. */
41784 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41785 choke me
41786 #endif
41787
41788 int
41789 main ()
41790 {
41791 return sched_get_priority_max ();
41792 ;
41793 return 0;
41794 }
41795 _ACEOF
41796 rm -f conftest.$ac_objext conftest$ac_exeext
41797 if { (ac_try="$ac_link"
41798 case "(($ac_try" in
41799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41800 *) ac_try_echo=$ac_try;;
41801 esac
41802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41803 (eval "$ac_link") 2>conftest.er1
41804 ac_status=$?
41805 grep -v '^ *+' conftest.er1 >conftest.err
41806 rm -f conftest.er1
41807 cat conftest.err >&5
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); } && {
41810 test -z "$ac_c_werror_flag" ||
41811 test ! -s conftest.err
41812 } && test -s conftest$ac_exeext &&
41813 $as_test_x conftest$ac_exeext; then
41814 ac_cv_func_sched_get_priority_max=yes
41815 else
41816 echo "$as_me: failed program was:" >&5
41817 sed 's/^/| /' conftest.$ac_ext >&5
41818
41819 ac_cv_func_sched_get_priority_max=no
41820 fi
41821
41822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41823 conftest$ac_exeext conftest.$ac_ext
41824 fi
41825 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41826 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41827 if test $ac_cv_func_sched_get_priority_max = yes; then
41828 HAVE_PRIOR_FUNCS=1
41829 else
41830 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41831 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41832 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41833 echo $ECHO_N "(cached) $ECHO_C" >&6
41834 else
41835 ac_check_lib_save_LIBS=$LIBS
41836 LIBS="-lposix4 $LIBS"
41837 cat >conftest.$ac_ext <<_ACEOF
41838 /* confdefs.h. */
41839 _ACEOF
41840 cat confdefs.h >>conftest.$ac_ext
41841 cat >>conftest.$ac_ext <<_ACEOF
41842 /* end confdefs.h. */
41843
41844 /* Override any GCC internal prototype to avoid an error.
41845 Use char because int might match the return type of a GCC
41846 builtin and then its argument prototype would still apply. */
41847 #ifdef __cplusplus
41848 extern "C"
41849 #endif
41850 char sched_get_priority_max ();
41851 int
41852 main ()
41853 {
41854 return sched_get_priority_max ();
41855 ;
41856 return 0;
41857 }
41858 _ACEOF
41859 rm -f conftest.$ac_objext conftest$ac_exeext
41860 if { (ac_try="$ac_link"
41861 case "(($ac_try" in
41862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41863 *) ac_try_echo=$ac_try;;
41864 esac
41865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41866 (eval "$ac_link") 2>conftest.er1
41867 ac_status=$?
41868 grep -v '^ *+' conftest.er1 >conftest.err
41869 rm -f conftest.er1
41870 cat conftest.err >&5
41871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41872 (exit $ac_status); } && {
41873 test -z "$ac_c_werror_flag" ||
41874 test ! -s conftest.err
41875 } && test -s conftest$ac_exeext &&
41876 $as_test_x conftest$ac_exeext; then
41877 ac_cv_lib_posix4_sched_get_priority_max=yes
41878 else
41879 echo "$as_me: failed program was:" >&5
41880 sed 's/^/| /' conftest.$ac_ext >&5
41881
41882 ac_cv_lib_posix4_sched_get_priority_max=no
41883 fi
41884
41885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41886 conftest$ac_exeext conftest.$ac_ext
41887 LIBS=$ac_check_lib_save_LIBS
41888 fi
41889 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41890 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41891 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41892
41893 HAVE_PRIOR_FUNCS=1
41894 POSIX4_LINK=" -lposix4"
41895
41896 fi
41897
41898
41899 fi
41900
41901
41902 fi
41903
41904
41905 fi
41906
41907
41908 if test "$HAVE_PRIOR_FUNCS" = 1; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41911 _ACEOF
41912
41913 else
41914 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41915 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41916 fi
41917
41918 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41919 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41920 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41921 echo $ECHO_N "(cached) $ECHO_C" >&6
41922 else
41923 cat >conftest.$ac_ext <<_ACEOF
41924 /* confdefs.h. */
41925 _ACEOF
41926 cat confdefs.h >>conftest.$ac_ext
41927 cat >>conftest.$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41931 #define pthread_cancel innocuous_pthread_cancel
41932
41933 /* System header to define __stub macros and hopefully few prototypes,
41934 which can conflict with char pthread_cancel (); below.
41935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41936 <limits.h> exists even on freestanding compilers. */
41937
41938 #ifdef __STDC__
41939 # include <limits.h>
41940 #else
41941 # include <assert.h>
41942 #endif
41943
41944 #undef pthread_cancel
41945
41946 /* Override any GCC internal prototype to avoid an error.
41947 Use char because int might match the return type of a GCC
41948 builtin and then its argument prototype would still apply. */
41949 #ifdef __cplusplus
41950 extern "C"
41951 #endif
41952 char pthread_cancel ();
41953 /* The GNU C library defines this for functions which it implements
41954 to always fail with ENOSYS. Some functions are actually named
41955 something starting with __ and the normal name is an alias. */
41956 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41957 choke me
41958 #endif
41959
41960 int
41961 main ()
41962 {
41963 return pthread_cancel ();
41964 ;
41965 return 0;
41966 }
41967 _ACEOF
41968 rm -f conftest.$ac_objext conftest$ac_exeext
41969 if { (ac_try="$ac_link"
41970 case "(($ac_try" in
41971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41972 *) ac_try_echo=$ac_try;;
41973 esac
41974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41975 (eval "$ac_link") 2>conftest.er1
41976 ac_status=$?
41977 grep -v '^ *+' conftest.er1 >conftest.err
41978 rm -f conftest.er1
41979 cat conftest.err >&5
41980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981 (exit $ac_status); } && {
41982 test -z "$ac_c_werror_flag" ||
41983 test ! -s conftest.err
41984 } && test -s conftest$ac_exeext &&
41985 $as_test_x conftest$ac_exeext; then
41986 ac_cv_func_pthread_cancel=yes
41987 else
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.$ac_ext >&5
41990
41991 ac_cv_func_pthread_cancel=no
41992 fi
41993
41994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41995 conftest$ac_exeext conftest.$ac_ext
41996 fi
41997 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41998 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41999 if test $ac_cv_func_pthread_cancel = yes; then
42000 cat >>confdefs.h <<\_ACEOF
42001 #define HAVE_PTHREAD_CANCEL 1
42002 _ACEOF
42003
42004 else
42005 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42006 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42007 fi
42008
42009
42010 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42011 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42012 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42013 echo $ECHO_N "(cached) $ECHO_C" >&6
42014 else
42015 cat >conftest.$ac_ext <<_ACEOF
42016 /* confdefs.h. */
42017 _ACEOF
42018 cat confdefs.h >>conftest.$ac_ext
42019 cat >>conftest.$ac_ext <<_ACEOF
42020 /* end confdefs.h. */
42021 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42023 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42024
42025 /* System header to define __stub macros and hopefully few prototypes,
42026 which can conflict with char pthread_mutex_timedlock (); below.
42027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42028 <limits.h> exists even on freestanding compilers. */
42029
42030 #ifdef __STDC__
42031 # include <limits.h>
42032 #else
42033 # include <assert.h>
42034 #endif
42035
42036 #undef pthread_mutex_timedlock
42037
42038 /* Override any GCC internal prototype to avoid an error.
42039 Use char because int might match the return type of a GCC
42040 builtin and then its argument prototype would still apply. */
42041 #ifdef __cplusplus
42042 extern "C"
42043 #endif
42044 char pthread_mutex_timedlock ();
42045 /* The GNU C library defines this for functions which it implements
42046 to always fail with ENOSYS. Some functions are actually named
42047 something starting with __ and the normal name is an alias. */
42048 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42049 choke me
42050 #endif
42051
42052 int
42053 main ()
42054 {
42055 return pthread_mutex_timedlock ();
42056 ;
42057 return 0;
42058 }
42059 _ACEOF
42060 rm -f conftest.$ac_objext conftest$ac_exeext
42061 if { (ac_try="$ac_link"
42062 case "(($ac_try" in
42063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42064 *) ac_try_echo=$ac_try;;
42065 esac
42066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42067 (eval "$ac_link") 2>conftest.er1
42068 ac_status=$?
42069 grep -v '^ *+' conftest.er1 >conftest.err
42070 rm -f conftest.er1
42071 cat conftest.err >&5
42072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42073 (exit $ac_status); } && {
42074 test -z "$ac_c_werror_flag" ||
42075 test ! -s conftest.err
42076 } && test -s conftest$ac_exeext &&
42077 $as_test_x conftest$ac_exeext; then
42078 ac_cv_func_pthread_mutex_timedlock=yes
42079 else
42080 echo "$as_me: failed program was:" >&5
42081 sed 's/^/| /' conftest.$ac_ext >&5
42082
42083 ac_cv_func_pthread_mutex_timedlock=no
42084 fi
42085
42086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42087 conftest$ac_exeext conftest.$ac_ext
42088 fi
42089 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42090 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42091 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42092 cat >>confdefs.h <<\_ACEOF
42093 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42094 _ACEOF
42095
42096 else
42097 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42098 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42099 fi
42100
42101
42102 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42103 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42104 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42105 echo $ECHO_N "(cached) $ECHO_C" >&6
42106 else
42107 cat >conftest.$ac_ext <<_ACEOF
42108 /* confdefs.h. */
42109 _ACEOF
42110 cat confdefs.h >>conftest.$ac_ext
42111 cat >>conftest.$ac_ext <<_ACEOF
42112 /* end confdefs.h. */
42113 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42115 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42116
42117 /* System header to define __stub macros and hopefully few prototypes,
42118 which can conflict with char pthread_attr_setstacksize (); below.
42119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42120 <limits.h> exists even on freestanding compilers. */
42121
42122 #ifdef __STDC__
42123 # include <limits.h>
42124 #else
42125 # include <assert.h>
42126 #endif
42127
42128 #undef pthread_attr_setstacksize
42129
42130 /* Override any GCC internal prototype to avoid an error.
42131 Use char because int might match the return type of a GCC
42132 builtin and then its argument prototype would still apply. */
42133 #ifdef __cplusplus
42134 extern "C"
42135 #endif
42136 char pthread_attr_setstacksize ();
42137 /* The GNU C library defines this for functions which it implements
42138 to always fail with ENOSYS. Some functions are actually named
42139 something starting with __ and the normal name is an alias. */
42140 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42141 choke me
42142 #endif
42143
42144 int
42145 main ()
42146 {
42147 return pthread_attr_setstacksize ();
42148 ;
42149 return 0;
42150 }
42151 _ACEOF
42152 rm -f conftest.$ac_objext conftest$ac_exeext
42153 if { (ac_try="$ac_link"
42154 case "(($ac_try" in
42155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42156 *) ac_try_echo=$ac_try;;
42157 esac
42158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42159 (eval "$ac_link") 2>conftest.er1
42160 ac_status=$?
42161 grep -v '^ *+' conftest.er1 >conftest.err
42162 rm -f conftest.er1
42163 cat conftest.err >&5
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); } && {
42166 test -z "$ac_c_werror_flag" ||
42167 test ! -s conftest.err
42168 } && test -s conftest$ac_exeext &&
42169 $as_test_x conftest$ac_exeext; then
42170 ac_cv_func_pthread_attr_setstacksize=yes
42171 else
42172 echo "$as_me: failed program was:" >&5
42173 sed 's/^/| /' conftest.$ac_ext >&5
42174
42175 ac_cv_func_pthread_attr_setstacksize=no
42176 fi
42177
42178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42179 conftest$ac_exeext conftest.$ac_ext
42180 fi
42181 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42182 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42183 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42184 cat >>confdefs.h <<\_ACEOF
42185 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42186 _ACEOF
42187
42188 fi
42189
42190
42191
42192 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42193 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42194 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42195 echo $ECHO_N "(cached) $ECHO_C" >&6
42196 else
42197
42198 cat >conftest.$ac_ext <<_ACEOF
42199 /* confdefs.h. */
42200 _ACEOF
42201 cat confdefs.h >>conftest.$ac_ext
42202 cat >>conftest.$ac_ext <<_ACEOF
42203 /* end confdefs.h. */
42204 #include <pthread.h>
42205 int
42206 main ()
42207 {
42208
42209 pthread_mutexattr_t attr;
42210 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42211
42212 ;
42213 return 0;
42214 }
42215 _ACEOF
42216 rm -f conftest.$ac_objext
42217 if { (ac_try="$ac_compile"
42218 case "(($ac_try" in
42219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42220 *) ac_try_echo=$ac_try;;
42221 esac
42222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42223 (eval "$ac_compile") 2>conftest.er1
42224 ac_status=$?
42225 grep -v '^ *+' conftest.er1 >conftest.err
42226 rm -f conftest.er1
42227 cat conftest.err >&5
42228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42229 (exit $ac_status); } && {
42230 test -z "$ac_c_werror_flag" ||
42231 test ! -s conftest.err
42232 } && test -s conftest.$ac_objext; then
42233 wx_cv_type_pthread_mutexattr_t=yes
42234 else
42235 echo "$as_me: failed program was:" >&5
42236 sed 's/^/| /' conftest.$ac_ext >&5
42237
42238 wx_cv_type_pthread_mutexattr_t=no
42239
42240 fi
42241
42242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42243
42244 fi
42245 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42246 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42247
42248 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42249 cat >>confdefs.h <<\_ACEOF
42250 #define HAVE_PTHREAD_MUTEXATTR_T 1
42251 _ACEOF
42252
42253
42254 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42255 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42256 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42257 echo $ECHO_N "(cached) $ECHO_C" >&6
42258 else
42259
42260 cat >conftest.$ac_ext <<_ACEOF
42261 /* confdefs.h. */
42262 _ACEOF
42263 cat confdefs.h >>conftest.$ac_ext
42264 cat >>conftest.$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266 #include <pthread.h>
42267 int
42268 main ()
42269 {
42270
42271 pthread_mutexattr_t attr;
42272 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42273
42274 ;
42275 return 0;
42276 }
42277 _ACEOF
42278 rm -f conftest.$ac_objext
42279 if { (ac_try="$ac_compile"
42280 case "(($ac_try" in
42281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42282 *) ac_try_echo=$ac_try;;
42283 esac
42284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42285 (eval "$ac_compile") 2>conftest.er1
42286 ac_status=$?
42287 grep -v '^ *+' conftest.er1 >conftest.err
42288 rm -f conftest.er1
42289 cat conftest.err >&5
42290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42291 (exit $ac_status); } && {
42292 test -z "$ac_c_werror_flag" ||
42293 test ! -s conftest.err
42294 } && test -s conftest.$ac_objext; then
42295 wx_cv_func_pthread_mutexattr_settype_decl=yes
42296 else
42297 echo "$as_me: failed program was:" >&5
42298 sed 's/^/| /' conftest.$ac_ext >&5
42299
42300 wx_cv_func_pthread_mutexattr_settype_decl=no
42301
42302 fi
42303
42304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42305
42306 fi
42307 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42308 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42309 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42310 cat >>confdefs.h <<\_ACEOF
42311 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42312 _ACEOF
42313
42314 fi
42315 else
42316 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42317 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42318 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42319 echo $ECHO_N "(cached) $ECHO_C" >&6
42320 else
42321
42322 cat >conftest.$ac_ext <<_ACEOF
42323 /* confdefs.h. */
42324 _ACEOF
42325 cat confdefs.h >>conftest.$ac_ext
42326 cat >>conftest.$ac_ext <<_ACEOF
42327 /* end confdefs.h. */
42328 #include <pthread.h>
42329 int
42330 main ()
42331 {
42332
42333 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42334
42335 ;
42336 return 0;
42337 }
42338 _ACEOF
42339 rm -f conftest.$ac_objext
42340 if { (ac_try="$ac_compile"
42341 case "(($ac_try" in
42342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42343 *) ac_try_echo=$ac_try;;
42344 esac
42345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42346 (eval "$ac_compile") 2>conftest.er1
42347 ac_status=$?
42348 grep -v '^ *+' conftest.er1 >conftest.err
42349 rm -f conftest.er1
42350 cat conftest.err >&5
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); } && {
42353 test -z "$ac_c_werror_flag" ||
42354 test ! -s conftest.err
42355 } && test -s conftest.$ac_objext; then
42356
42357 wx_cv_type_pthread_rec_mutex_init=yes
42358
42359 else
42360 echo "$as_me: failed program was:" >&5
42361 sed 's/^/| /' conftest.$ac_ext >&5
42362
42363
42364 wx_cv_type_pthread_rec_mutex_init=no
42365
42366
42367 fi
42368
42369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42370
42371 fi
42372 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42373 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42374 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42375 cat >>confdefs.h <<\_ACEOF
42376 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42377 _ACEOF
42378
42379 else
42380 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42381 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42382 fi
42383 fi
42384 fi
42385
42386 else
42387 if test "$wxUSE_THREADS" = "yes" ; then
42388 case "${host}" in
42389 *-*-mingw32* )
42390 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42391 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42392 if test "${wx_cv_cflags_mthread+set}" = set; then
42393 echo $ECHO_N "(cached) $ECHO_C" >&6
42394 else
42395
42396 CFLAGS_OLD="$CFLAGS"
42397 CFLAGS="-mthreads $CFLAGS"
42398 cat >conftest.$ac_ext <<_ACEOF
42399 /* confdefs.h. */
42400 _ACEOF
42401 cat confdefs.h >>conftest.$ac_ext
42402 cat >>conftest.$ac_ext <<_ACEOF
42403 /* end confdefs.h. */
42404
42405 int
42406 main ()
42407 {
42408
42409 ;
42410 return 0;
42411 }
42412 _ACEOF
42413 rm -f conftest.$ac_objext
42414 if { (ac_try="$ac_compile"
42415 case "(($ac_try" in
42416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42417 *) ac_try_echo=$ac_try;;
42418 esac
42419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42420 (eval "$ac_compile") 2>conftest.er1
42421 ac_status=$?
42422 grep -v '^ *+' conftest.er1 >conftest.err
42423 rm -f conftest.er1
42424 cat conftest.err >&5
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); } && {
42427 test -z "$ac_c_werror_flag" ||
42428 test ! -s conftest.err
42429 } && test -s conftest.$ac_objext; then
42430 wx_cv_cflags_mthread=yes
42431 else
42432 echo "$as_me: failed program was:" >&5
42433 sed 's/^/| /' conftest.$ac_ext >&5
42434
42435 wx_cv_cflags_mthread=no
42436
42437 fi
42438
42439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42440
42441
42442 fi
42443 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42444 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42445
42446 if test "$wx_cv_cflags_mthread" = "yes"; then
42447 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42448 LDFLAGS="$LDFLAGS -mthreads"
42449 else
42450 CFLAGS="$CFLAGS_OLD"
42451 fi
42452 ;;
42453 *-pc-os2*emx )
42454 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42455 LDFLAGS="$LDFLAGS -Zmt"
42456 ;;
42457 esac
42458 fi
42459 fi
42460
42461 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42462 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42463 if test "${ac_cv_func_localtime_r+set}" = set; then
42464 echo $ECHO_N "(cached) $ECHO_C" >&6
42465 else
42466 cat >conftest.$ac_ext <<_ACEOF
42467 /* confdefs.h. */
42468 _ACEOF
42469 cat confdefs.h >>conftest.$ac_ext
42470 cat >>conftest.$ac_ext <<_ACEOF
42471 /* end confdefs.h. */
42472 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42474 #define localtime_r innocuous_localtime_r
42475
42476 /* System header to define __stub macros and hopefully few prototypes,
42477 which can conflict with char localtime_r (); below.
42478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42479 <limits.h> exists even on freestanding compilers. */
42480
42481 #ifdef __STDC__
42482 # include <limits.h>
42483 #else
42484 # include <assert.h>
42485 #endif
42486
42487 #undef localtime_r
42488
42489 /* Override any GCC internal prototype to avoid an error.
42490 Use char because int might match the return type of a GCC
42491 builtin and then its argument prototype would still apply. */
42492 #ifdef __cplusplus
42493 extern "C"
42494 #endif
42495 char localtime_r ();
42496 /* The GNU C library defines this for functions which it implements
42497 to always fail with ENOSYS. Some functions are actually named
42498 something starting with __ and the normal name is an alias. */
42499 #if defined __stub_localtime_r || defined __stub___localtime_r
42500 choke me
42501 #endif
42502
42503 int
42504 main ()
42505 {
42506 return localtime_r ();
42507 ;
42508 return 0;
42509 }
42510 _ACEOF
42511 rm -f conftest.$ac_objext conftest$ac_exeext
42512 if { (ac_try="$ac_link"
42513 case "(($ac_try" in
42514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42515 *) ac_try_echo=$ac_try;;
42516 esac
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_link") 2>conftest.er1
42519 ac_status=$?
42520 grep -v '^ *+' conftest.er1 >conftest.err
42521 rm -f conftest.er1
42522 cat conftest.err >&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); } && {
42525 test -z "$ac_c_werror_flag" ||
42526 test ! -s conftest.err
42527 } && test -s conftest$ac_exeext &&
42528 $as_test_x conftest$ac_exeext; then
42529 ac_cv_func_localtime_r=yes
42530 else
42531 echo "$as_me: failed program was:" >&5
42532 sed 's/^/| /' conftest.$ac_ext >&5
42533
42534 ac_cv_func_localtime_r=no
42535 fi
42536
42537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42538 conftest$ac_exeext conftest.$ac_ext
42539 fi
42540 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42541 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42542 if test $ac_cv_func_localtime_r = yes; then
42543 cat >>confdefs.h <<\_ACEOF
42544 #define HAVE_LOCALTIME_R 1
42545 _ACEOF
42546
42547 fi
42548
42549 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42550 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42551 if test "${ac_cv_func_gmtime_r+set}" = set; then
42552 echo $ECHO_N "(cached) $ECHO_C" >&6
42553 else
42554 cat >conftest.$ac_ext <<_ACEOF
42555 /* confdefs.h. */
42556 _ACEOF
42557 cat confdefs.h >>conftest.$ac_ext
42558 cat >>conftest.$ac_ext <<_ACEOF
42559 /* end confdefs.h. */
42560 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42562 #define gmtime_r innocuous_gmtime_r
42563
42564 /* System header to define __stub macros and hopefully few prototypes,
42565 which can conflict with char gmtime_r (); below.
42566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42567 <limits.h> exists even on freestanding compilers. */
42568
42569 #ifdef __STDC__
42570 # include <limits.h>
42571 #else
42572 # include <assert.h>
42573 #endif
42574
42575 #undef gmtime_r
42576
42577 /* Override any GCC internal prototype to avoid an error.
42578 Use char because int might match the return type of a GCC
42579 builtin and then its argument prototype would still apply. */
42580 #ifdef __cplusplus
42581 extern "C"
42582 #endif
42583 char gmtime_r ();
42584 /* The GNU C library defines this for functions which it implements
42585 to always fail with ENOSYS. Some functions are actually named
42586 something starting with __ and the normal name is an alias. */
42587 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42588 choke me
42589 #endif
42590
42591 int
42592 main ()
42593 {
42594 return gmtime_r ();
42595 ;
42596 return 0;
42597 }
42598 _ACEOF
42599 rm -f conftest.$ac_objext conftest$ac_exeext
42600 if { (ac_try="$ac_link"
42601 case "(($ac_try" in
42602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42603 *) ac_try_echo=$ac_try;;
42604 esac
42605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42606 (eval "$ac_link") 2>conftest.er1
42607 ac_status=$?
42608 grep -v '^ *+' conftest.er1 >conftest.err
42609 rm -f conftest.er1
42610 cat conftest.err >&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } && {
42613 test -z "$ac_c_werror_flag" ||
42614 test ! -s conftest.err
42615 } && test -s conftest$ac_exeext &&
42616 $as_test_x conftest$ac_exeext; then
42617 ac_cv_func_gmtime_r=yes
42618 else
42619 echo "$as_me: failed program was:" >&5
42620 sed 's/^/| /' conftest.$ac_ext >&5
42621
42622 ac_cv_func_gmtime_r=no
42623 fi
42624
42625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42626 conftest$ac_exeext conftest.$ac_ext
42627 fi
42628 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42629 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42630 if test $ac_cv_func_gmtime_r = yes; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define HAVE_GMTIME_R 1
42633 _ACEOF
42634
42635 fi
42636
42637 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42638 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42639 if test "${ac_cv_func_readdir_r+set}" = set; then
42640 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 else
42642 cat >conftest.$ac_ext <<_ACEOF
42643 /* confdefs.h. */
42644 _ACEOF
42645 cat confdefs.h >>conftest.$ac_ext
42646 cat >>conftest.$ac_ext <<_ACEOF
42647 /* end confdefs.h. */
42648 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42650 #define readdir_r innocuous_readdir_r
42651
42652 /* System header to define __stub macros and hopefully few prototypes,
42653 which can conflict with char readdir_r (); below.
42654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42655 <limits.h> exists even on freestanding compilers. */
42656
42657 #ifdef __STDC__
42658 # include <limits.h>
42659 #else
42660 # include <assert.h>
42661 #endif
42662
42663 #undef readdir_r
42664
42665 /* Override any GCC internal prototype to avoid an error.
42666 Use char because int might match the return type of a GCC
42667 builtin and then its argument prototype would still apply. */
42668 #ifdef __cplusplus
42669 extern "C"
42670 #endif
42671 char readdir_r ();
42672 /* The GNU C library defines this for functions which it implements
42673 to always fail with ENOSYS. Some functions are actually named
42674 something starting with __ and the normal name is an alias. */
42675 #if defined __stub_readdir_r || defined __stub___readdir_r
42676 choke me
42677 #endif
42678
42679 int
42680 main ()
42681 {
42682 return readdir_r ();
42683 ;
42684 return 0;
42685 }
42686 _ACEOF
42687 rm -f conftest.$ac_objext conftest$ac_exeext
42688 if { (ac_try="$ac_link"
42689 case "(($ac_try" in
42690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42691 *) ac_try_echo=$ac_try;;
42692 esac
42693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42694 (eval "$ac_link") 2>conftest.er1
42695 ac_status=$?
42696 grep -v '^ *+' conftest.er1 >conftest.err
42697 rm -f conftest.er1
42698 cat conftest.err >&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } && {
42701 test -z "$ac_c_werror_flag" ||
42702 test ! -s conftest.err
42703 } && test -s conftest$ac_exeext &&
42704 $as_test_x conftest$ac_exeext; then
42705 ac_cv_func_readdir_r=yes
42706 else
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.$ac_ext >&5
42709
42710 ac_cv_func_readdir_r=no
42711 fi
42712
42713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42714 conftest$ac_exeext conftest.$ac_ext
42715 fi
42716 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42717 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42718 if test $ac_cv_func_readdir_r = yes; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define HAVE_READDIR_R 1
42721 _ACEOF
42722
42723 fi
42724
42725
42726
42727
42728 ac_ext=c
42729 ac_cpp='$CPP $CPPFLAGS'
42730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42733
42734 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42735 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42736
42737 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42738 echo $ECHO_N "(cached) $ECHO_C" >&6
42739 else
42740
42741
42742 ################################################################
42743
42744 ac_cv_func_which_gethostbyname_r=unknown
42745
42746 #
42747 # ONE ARGUMENT (sanity check)
42748 #
42749
42750 # This should fail, as there is no variant of gethostbyname_r() that takes
42751 # a single argument. If it actually compiles, then we can assume that
42752 # netdb.h is not declaring the function, and the compiler is thereby
42753 # assuming an implicit prototype. In which case, we're out of luck.
42754 #
42755 cat >conftest.$ac_ext <<_ACEOF
42756 /* confdefs.h. */
42757 _ACEOF
42758 cat confdefs.h >>conftest.$ac_ext
42759 cat >>conftest.$ac_ext <<_ACEOF
42760 /* end confdefs.h. */
42761 #include <netdb.h>
42762 int
42763 main ()
42764 {
42765
42766 char *name = "www.gnu.org";
42767 (void)gethostbyname_r(name) /* ; */
42768
42769 ;
42770 return 0;
42771 }
42772 _ACEOF
42773 rm -f conftest.$ac_objext
42774 if { (ac_try="$ac_compile"
42775 case "(($ac_try" in
42776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42777 *) ac_try_echo=$ac_try;;
42778 esac
42779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42780 (eval "$ac_compile") 2>conftest.er1
42781 ac_status=$?
42782 grep -v '^ *+' conftest.er1 >conftest.err
42783 rm -f conftest.er1
42784 cat conftest.err >&5
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); } && {
42787 test -z "$ac_c_werror_flag" ||
42788 test ! -s conftest.err
42789 } && test -s conftest.$ac_objext; then
42790 ac_cv_func_which_gethostbyname_r=no
42791 else
42792 echo "$as_me: failed program was:" >&5
42793 sed 's/^/| /' conftest.$ac_ext >&5
42794
42795
42796 fi
42797
42798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42799
42800 #
42801 # SIX ARGUMENTS
42802 # (e.g. Linux)
42803 #
42804
42805 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42806
42807 cat >conftest.$ac_ext <<_ACEOF
42808 /* confdefs.h. */
42809 _ACEOF
42810 cat confdefs.h >>conftest.$ac_ext
42811 cat >>conftest.$ac_ext <<_ACEOF
42812 /* end confdefs.h. */
42813 #include <netdb.h>
42814 int
42815 main ()
42816 {
42817
42818 char *name = "www.gnu.org";
42819 struct hostent ret, *retp;
42820 char buf[1024];
42821 int buflen = 1024;
42822 int my_h_errno;
42823 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42824
42825 ;
42826 return 0;
42827 }
42828 _ACEOF
42829 rm -f conftest.$ac_objext
42830 if { (ac_try="$ac_compile"
42831 case "(($ac_try" in
42832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42833 *) ac_try_echo=$ac_try;;
42834 esac
42835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42836 (eval "$ac_compile") 2>conftest.er1
42837 ac_status=$?
42838 grep -v '^ *+' conftest.er1 >conftest.err
42839 rm -f conftest.er1
42840 cat conftest.err >&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); } && {
42843 test -z "$ac_c_werror_flag" ||
42844 test ! -s conftest.err
42845 } && test -s conftest.$ac_objext; then
42846 ac_cv_func_which_gethostbyname_r=six
42847 else
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.$ac_ext >&5
42850
42851
42852 fi
42853
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42855
42856 fi
42857
42858 #
42859 # FIVE ARGUMENTS
42860 # (e.g. Solaris)
42861 #
42862
42863 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42864
42865 cat >conftest.$ac_ext <<_ACEOF
42866 /* confdefs.h. */
42867 _ACEOF
42868 cat confdefs.h >>conftest.$ac_ext
42869 cat >>conftest.$ac_ext <<_ACEOF
42870 /* end confdefs.h. */
42871 #include <netdb.h>
42872 int
42873 main ()
42874 {
42875
42876 char *name = "www.gnu.org";
42877 struct hostent ret;
42878 char buf[1024];
42879 int buflen = 1024;
42880 int my_h_errno;
42881 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42882
42883 ;
42884 return 0;
42885 }
42886 _ACEOF
42887 rm -f conftest.$ac_objext
42888 if { (ac_try="$ac_compile"
42889 case "(($ac_try" in
42890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42891 *) ac_try_echo=$ac_try;;
42892 esac
42893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42894 (eval "$ac_compile") 2>conftest.er1
42895 ac_status=$?
42896 grep -v '^ *+' conftest.er1 >conftest.err
42897 rm -f conftest.er1
42898 cat conftest.err >&5
42899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42900 (exit $ac_status); } && {
42901 test -z "$ac_c_werror_flag" ||
42902 test ! -s conftest.err
42903 } && test -s conftest.$ac_objext; then
42904 ac_cv_func_which_gethostbyname_r=five
42905 else
42906 echo "$as_me: failed program was:" >&5
42907 sed 's/^/| /' conftest.$ac_ext >&5
42908
42909
42910 fi
42911
42912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42913
42914 fi
42915
42916 #
42917 # THREE ARGUMENTS
42918 # (e.g. AIX, HP-UX, Tru64)
42919 #
42920
42921 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42922
42923 cat >conftest.$ac_ext <<_ACEOF
42924 /* confdefs.h. */
42925 _ACEOF
42926 cat confdefs.h >>conftest.$ac_ext
42927 cat >>conftest.$ac_ext <<_ACEOF
42928 /* end confdefs.h. */
42929 #include <netdb.h>
42930 int
42931 main ()
42932 {
42933
42934 char *name = "www.gnu.org";
42935 struct hostent ret;
42936 struct hostent_data data;
42937 (void)gethostbyname_r(name, &ret, &data) /* ; */
42938
42939 ;
42940 return 0;
42941 }
42942 _ACEOF
42943 rm -f conftest.$ac_objext
42944 if { (ac_try="$ac_compile"
42945 case "(($ac_try" in
42946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42947 *) ac_try_echo=$ac_try;;
42948 esac
42949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42950 (eval "$ac_compile") 2>conftest.er1
42951 ac_status=$?
42952 grep -v '^ *+' conftest.er1 >conftest.err
42953 rm -f conftest.er1
42954 cat conftest.err >&5
42955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956 (exit $ac_status); } && {
42957 test -z "$ac_c_werror_flag" ||
42958 test ! -s conftest.err
42959 } && test -s conftest.$ac_objext; then
42960 ac_cv_func_which_gethostbyname_r=three
42961 else
42962 echo "$as_me: failed program was:" >&5
42963 sed 's/^/| /' conftest.$ac_ext >&5
42964
42965
42966 fi
42967
42968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42969
42970 fi
42971
42972 ################################################################
42973
42974
42975 fi
42976
42977 case "$ac_cv_func_which_gethostbyname_r" in
42978 three)
42979 { echo "$as_me:$LINENO: result: three" >&5
42980 echo "${ECHO_T}three" >&6; }
42981 cat >>confdefs.h <<\_ACEOF
42982 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42983 _ACEOF
42984
42985 ;;
42986
42987 five)
42988 { echo "$as_me:$LINENO: result: five" >&5
42989 echo "${ECHO_T}five" >&6; }
42990 cat >>confdefs.h <<\_ACEOF
42991 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42992 _ACEOF
42993
42994 ;;
42995
42996 six)
42997 { echo "$as_me:$LINENO: result: six" >&5
42998 echo "${ECHO_T}six" >&6; }
42999 cat >>confdefs.h <<\_ACEOF
43000 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43001 _ACEOF
43002
43003 ;;
43004
43005 no)
43006 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43007 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43008 ;;
43009
43010 unknown)
43011 { echo "$as_me:$LINENO: result: can't tell" >&5
43012 echo "${ECHO_T}can't tell" >&6; }
43013 ;;
43014
43015 *)
43016 { { echo "$as_me:$LINENO: error: internal error" >&5
43017 echo "$as_me: error: internal error" >&2;}
43018 { (exit 1); exit 1; }; }
43019 ;;
43020 esac
43021
43022 ac_ext=c
43023 ac_cpp='$CPP $CPPFLAGS'
43024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43027
43028
43029
43030 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43031 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43032 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43033 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43034 if test "${ac_cv_func_gethostbyname+set}" = set; then
43035 echo $ECHO_N "(cached) $ECHO_C" >&6
43036 else
43037 cat >conftest.$ac_ext <<_ACEOF
43038 /* confdefs.h. */
43039 _ACEOF
43040 cat confdefs.h >>conftest.$ac_ext
43041 cat >>conftest.$ac_ext <<_ACEOF
43042 /* end confdefs.h. */
43043 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43045 #define gethostbyname innocuous_gethostbyname
43046
43047 /* System header to define __stub macros and hopefully few prototypes,
43048 which can conflict with char gethostbyname (); below.
43049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43050 <limits.h> exists even on freestanding compilers. */
43051
43052 #ifdef __STDC__
43053 # include <limits.h>
43054 #else
43055 # include <assert.h>
43056 #endif
43057
43058 #undef gethostbyname
43059
43060 /* Override any GCC internal prototype to avoid an error.
43061 Use char because int might match the return type of a GCC
43062 builtin and then its argument prototype would still apply. */
43063 #ifdef __cplusplus
43064 extern "C"
43065 #endif
43066 char gethostbyname ();
43067 /* The GNU C library defines this for functions which it implements
43068 to always fail with ENOSYS. Some functions are actually named
43069 something starting with __ and the normal name is an alias. */
43070 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43071 choke me
43072 #endif
43073
43074 int
43075 main ()
43076 {
43077 return gethostbyname ();
43078 ;
43079 return 0;
43080 }
43081 _ACEOF
43082 rm -f conftest.$ac_objext conftest$ac_exeext
43083 if { (ac_try="$ac_link"
43084 case "(($ac_try" in
43085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43086 *) ac_try_echo=$ac_try;;
43087 esac
43088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43089 (eval "$ac_link") 2>conftest.er1
43090 ac_status=$?
43091 grep -v '^ *+' conftest.er1 >conftest.err
43092 rm -f conftest.er1
43093 cat conftest.err >&5
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); } && {
43096 test -z "$ac_c_werror_flag" ||
43097 test ! -s conftest.err
43098 } && test -s conftest$ac_exeext &&
43099 $as_test_x conftest$ac_exeext; then
43100 ac_cv_func_gethostbyname=yes
43101 else
43102 echo "$as_me: failed program was:" >&5
43103 sed 's/^/| /' conftest.$ac_ext >&5
43104
43105 ac_cv_func_gethostbyname=no
43106 fi
43107
43108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43109 conftest$ac_exeext conftest.$ac_ext
43110 fi
43111 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43112 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43113 if test $ac_cv_func_gethostbyname = yes; then
43114 cat >>confdefs.h <<\_ACEOF
43115 #define HAVE_GETHOSTBYNAME 1
43116 _ACEOF
43117
43118 fi
43119
43120 fi
43121
43122 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43123 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43124 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43125 echo $ECHO_N "(cached) $ECHO_C" >&6
43126 else
43127
43128 ac_ext=cpp
43129 ac_cpp='$CXXCPP $CPPFLAGS'
43130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43133
43134
43135 cat >conftest.$ac_ext <<_ACEOF
43136 /* confdefs.h. */
43137 _ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141 #include <netdb.h>
43142 int
43143 main ()
43144 {
43145
43146 char *name;
43147 char *proto;
43148 struct servent *se, *res;
43149 char buffer[2048];
43150 int buflen = 2048;
43151 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43152
43153 ;
43154 return 0;
43155 }
43156 _ACEOF
43157 rm -f conftest.$ac_objext
43158 if { (ac_try="$ac_compile"
43159 case "(($ac_try" in
43160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43161 *) ac_try_echo=$ac_try;;
43162 esac
43163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43164 (eval "$ac_compile") 2>conftest.er1
43165 ac_status=$?
43166 grep -v '^ *+' conftest.er1 >conftest.err
43167 rm -f conftest.er1
43168 cat conftest.err >&5
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); } && {
43171 test -z "$ac_cxx_werror_flag" ||
43172 test ! -s conftest.err
43173 } && test -s conftest.$ac_objext; then
43174 ac_cv_func_which_getservbyname_r=six
43175 else
43176 echo "$as_me: failed program was:" >&5
43177 sed 's/^/| /' conftest.$ac_ext >&5
43178
43179
43180 cat >conftest.$ac_ext <<_ACEOF
43181 /* confdefs.h. */
43182 _ACEOF
43183 cat confdefs.h >>conftest.$ac_ext
43184 cat >>conftest.$ac_ext <<_ACEOF
43185 /* end confdefs.h. */
43186 #include <netdb.h>
43187 int
43188 main ()
43189 {
43190
43191 char *name;
43192 char *proto;
43193 struct servent *se;
43194 char buffer[2048];
43195 int buflen = 2048;
43196 (void) getservbyname_r(name, proto, se, buffer, buflen)
43197
43198 ;
43199 return 0;
43200 }
43201 _ACEOF
43202 rm -f conftest.$ac_objext
43203 if { (ac_try="$ac_compile"
43204 case "(($ac_try" in
43205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43206 *) ac_try_echo=$ac_try;;
43207 esac
43208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43209 (eval "$ac_compile") 2>conftest.er1
43210 ac_status=$?
43211 grep -v '^ *+' conftest.er1 >conftest.err
43212 rm -f conftest.er1
43213 cat conftest.err >&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); } && {
43216 test -z "$ac_cxx_werror_flag" ||
43217 test ! -s conftest.err
43218 } && test -s conftest.$ac_objext; then
43219 ac_cv_func_which_getservbyname_r=five
43220 else
43221 echo "$as_me: failed program was:" >&5
43222 sed 's/^/| /' conftest.$ac_ext >&5
43223
43224
43225 cat >conftest.$ac_ext <<_ACEOF
43226 /* confdefs.h. */
43227 _ACEOF
43228 cat confdefs.h >>conftest.$ac_ext
43229 cat >>conftest.$ac_ext <<_ACEOF
43230 /* end confdefs.h. */
43231 #include <netdb.h>
43232 int
43233 main ()
43234 {
43235
43236 char *name;
43237 char *proto;
43238 struct servent *se;
43239 struct servent_data data;
43240 (void) getservbyname_r(name, proto, se, &data);
43241
43242 ;
43243 return 0;
43244 }
43245 _ACEOF
43246 rm -f conftest.$ac_objext
43247 if { (ac_try="$ac_compile"
43248 case "(($ac_try" in
43249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43250 *) ac_try_echo=$ac_try;;
43251 esac
43252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43253 (eval "$ac_compile") 2>conftest.er1
43254 ac_status=$?
43255 grep -v '^ *+' conftest.er1 >conftest.err
43256 rm -f conftest.er1
43257 cat conftest.err >&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); } && {
43260 test -z "$ac_cxx_werror_flag" ||
43261 test ! -s conftest.err
43262 } && test -s conftest.$ac_objext; then
43263 ac_cv_func_which_getservbyname_r=four
43264 else
43265 echo "$as_me: failed program was:" >&5
43266 sed 's/^/| /' conftest.$ac_ext >&5
43267
43268 ac_cv_func_which_getservbyname_r=no
43269
43270 fi
43271
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273
43274
43275 fi
43276
43277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43278
43279
43280 fi
43281
43282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43283 ac_ext=c
43284 ac_cpp='$CPP $CPPFLAGS'
43285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43288
43289
43290
43291 fi
43292 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43293 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43294
43295 if test $ac_cv_func_which_getservbyname_r = six; then
43296 cat >>confdefs.h <<\_ACEOF
43297 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43298 _ACEOF
43299
43300 elif test $ac_cv_func_which_getservbyname_r = five; then
43301 cat >>confdefs.h <<\_ACEOF
43302 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43303 _ACEOF
43304
43305 elif test $ac_cv_func_which_getservbyname_r = four; then
43306 cat >>confdefs.h <<\_ACEOF
43307 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43308 _ACEOF
43309
43310 fi
43311
43312
43313 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43314 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43315
43316 for ac_func in getservbyname
43317 do
43318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43322 echo $ECHO_N "(cached) $ECHO_C" >&6
43323 else
43324 cat >conftest.$ac_ext <<_ACEOF
43325 /* confdefs.h. */
43326 _ACEOF
43327 cat confdefs.h >>conftest.$ac_ext
43328 cat >>conftest.$ac_ext <<_ACEOF
43329 /* end confdefs.h. */
43330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43332 #define $ac_func innocuous_$ac_func
43333
43334 /* System header to define __stub macros and hopefully few prototypes,
43335 which can conflict with char $ac_func (); below.
43336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43337 <limits.h> exists even on freestanding compilers. */
43338
43339 #ifdef __STDC__
43340 # include <limits.h>
43341 #else
43342 # include <assert.h>
43343 #endif
43344
43345 #undef $ac_func
43346
43347 /* Override any GCC internal prototype to avoid an error.
43348 Use char because int might match the return type of a GCC
43349 builtin and then its argument prototype would still apply. */
43350 #ifdef __cplusplus
43351 extern "C"
43352 #endif
43353 char $ac_func ();
43354 /* The GNU C library defines this for functions which it implements
43355 to always fail with ENOSYS. Some functions are actually named
43356 something starting with __ and the normal name is an alias. */
43357 #if defined __stub_$ac_func || defined __stub___$ac_func
43358 choke me
43359 #endif
43360
43361 int
43362 main ()
43363 {
43364 return $ac_func ();
43365 ;
43366 return 0;
43367 }
43368 _ACEOF
43369 rm -f conftest.$ac_objext conftest$ac_exeext
43370 if { (ac_try="$ac_link"
43371 case "(($ac_try" in
43372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43373 *) ac_try_echo=$ac_try;;
43374 esac
43375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43376 (eval "$ac_link") 2>conftest.er1
43377 ac_status=$?
43378 grep -v '^ *+' conftest.er1 >conftest.err
43379 rm -f conftest.er1
43380 cat conftest.err >&5
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); } && {
43383 test -z "$ac_c_werror_flag" ||
43384 test ! -s conftest.err
43385 } && test -s conftest$ac_exeext &&
43386 $as_test_x conftest$ac_exeext; then
43387 eval "$as_ac_var=yes"
43388 else
43389 echo "$as_me: failed program was:" >&5
43390 sed 's/^/| /' conftest.$ac_ext >&5
43391
43392 eval "$as_ac_var=no"
43393 fi
43394
43395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43396 conftest$ac_exeext conftest.$ac_ext
43397 fi
43398 ac_res=`eval echo '${'$as_ac_var'}'`
43399 { echo "$as_me:$LINENO: result: $ac_res" >&5
43400 echo "${ECHO_T}$ac_res" >&6; }
43401 if test `eval echo '${'$as_ac_var'}'` = yes; then
43402 cat >>confdefs.h <<_ACEOF
43403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43404 _ACEOF
43405 cat >>confdefs.h <<\_ACEOF
43406 #define HAVE_GETSERVBYNAME 1
43407 _ACEOF
43408
43409 fi
43410 done
43411
43412 fi
43413
43414 if test "$wxUSE_THREADS" = "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_THREADS 1
43417 _ACEOF
43418
43419
43420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43421 else
43422 if test "$wx_cv_func_strtok_r" = "yes"; then
43423 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43424 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43425 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43426 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43427 { echo "$as_me:$LINENO: result: yes" >&5
43428 echo "${ECHO_T}yes" >&6; }
43429 else
43430 { echo "$as_me:$LINENO: result: no" >&5
43431 echo "${ECHO_T}no" >&6; }
43432 fi
43433 fi
43434 fi
43435
43436 if test "$WXGTK20" = 1 ; then
43437 cat >>confdefs.h <<_ACEOF
43438 #define __WXGTK20__ $WXGTK20
43439 _ACEOF
43440
43441 WXGTK12=1
43442 fi
43443
43444 if test "$WXGTK12" = 1 ; then
43445 cat >>confdefs.h <<_ACEOF
43446 #define __WXGTK12__ $WXGTK12
43447 _ACEOF
43448
43449 fi
43450
43451 if test "$WXGTK127" = 1 ; then
43452 cat >>confdefs.h <<_ACEOF
43453 #define __WXGTK127__ $WXGTK127
43454 _ACEOF
43455
43456 fi
43457
43458 if test "$WXGPE" = 1 ; then
43459 cat >>confdefs.h <<_ACEOF
43460 #define __WXGPE__ $WXGPE
43461 _ACEOF
43462
43463 fi
43464
43465 DEBUG_CFLAGS=
43466 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43467 DEBUG_CFLAGS="-g"
43468 wxUSE_OPTIMISE=no
43469 fi
43470
43471 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43472 wxUSE_DEBUG_INFO=yes
43473 if test "$GCC" = yes; then
43474 DEBUG_CFLAGS="-ggdb"
43475 fi
43476 fi
43477
43478 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43479 cat >>confdefs.h <<\_ACEOF
43480 #define WXDEBUG 1
43481 _ACEOF
43482
43483 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43484 else
43485 if test "$wxUSE_GTK" = 1 ; then
43486 if test "x$wxGTK_VERSION" = "x1" ; then
43487 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43488 fi
43489 fi
43490 fi
43491
43492 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43493 cat >>confdefs.h <<\_ACEOF
43494 #define wxUSE_MEMORY_TRACING 1
43495 _ACEOF
43496
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43499 _ACEOF
43500
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_DEBUG_NEW_ALWAYS 1
43503 _ACEOF
43504
43505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43506 fi
43507
43508 if test "$wxUSE_DMALLOC" = "yes" ; then
43509 DMALLOC_LIBS="-ldmallocthcxx"
43510 fi
43511
43512 PROFILE_FLAGS=
43513 if test "$wxUSE_PROFILE" = "yes" ; then
43514 PROFILE_FLAGS=" -pg"
43515 fi
43516
43517 if test "$GCC" = "yes" ; then
43518 if test "$wxUSE_NO_RTTI" = "yes" ; then
43519 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43520 fi
43521 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43522 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43523 fi
43524 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43525 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43526 fi
43527
43528 case "${host}" in
43529 powerpc*-*-aix* )
43530 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43531 ;;
43532 *-hppa* )
43533 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43534 ;;
43535 esac
43536 fi
43537
43538 OPTIMISE_CFLAGS=
43539 if test "$wxUSE_OPTIMISE" = "no" ; then
43540 if test "$GCC" = yes ; then
43541 OPTIMISE_CFLAGS="-O0"
43542 fi
43543 else
43544 if test "$GCC" = yes ; then
43545 case "${host}" in
43546 *-pc-os2_emx | *-pc-os2-emx )
43547 OPTIMISE_CFLAGS="-O2"
43548 ;;
43549 *)
43550 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43551 ;;
43552 esac
43553 else
43554 OPTIMISE_CFLAGS="-O"
43555 fi
43556 fi
43557
43558
43559 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43560 cat >>confdefs.h <<\_ACEOF
43561 #define WXWIN_COMPATIBILITY_2_6 1
43562 _ACEOF
43563
43564
43565 WXWIN_COMPATIBILITY_2_8="yes"
43566 fi
43567
43568 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43569 cat >>confdefs.h <<\_ACEOF
43570 #define WXWIN_COMPATIBILITY_2_8 1
43571 _ACEOF
43572
43573 fi
43574
43575
43576 if test "$wxUSE_GUI" = "yes"; then
43577 cat >>confdefs.h <<\_ACEOF
43578 #define wxUSE_GUI 1
43579 _ACEOF
43580
43581
43582 fi
43583
43584
43585 if test "$wxUSE_UNIX" = "yes"; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define wxUSE_UNIX 1
43588 _ACEOF
43589
43590 fi
43591
43592
43593 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43594
43595 HAVE_DL_FUNCS=0
43596 HAVE_SHL_FUNCS=0
43597 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43598 if test "$USE_DARWIN" = 1; then
43599 HAVE_DL_FUNCS=1
43600 elif test "$USE_DOS" = 1; then
43601 HAVE_DL_FUNCS=0
43602 else
43603
43604 for ac_func in dlopen
43605 do
43606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43610 echo $ECHO_N "(cached) $ECHO_C" >&6
43611 else
43612 cat >conftest.$ac_ext <<_ACEOF
43613 /* confdefs.h. */
43614 _ACEOF
43615 cat confdefs.h >>conftest.$ac_ext
43616 cat >>conftest.$ac_ext <<_ACEOF
43617 /* end confdefs.h. */
43618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43620 #define $ac_func innocuous_$ac_func
43621
43622 /* System header to define __stub macros and hopefully few prototypes,
43623 which can conflict with char $ac_func (); below.
43624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43625 <limits.h> exists even on freestanding compilers. */
43626
43627 #ifdef __STDC__
43628 # include <limits.h>
43629 #else
43630 # include <assert.h>
43631 #endif
43632
43633 #undef $ac_func
43634
43635 /* Override any GCC internal prototype to avoid an error.
43636 Use char because int might match the return type of a GCC
43637 builtin and then its argument prototype would still apply. */
43638 #ifdef __cplusplus
43639 extern "C"
43640 #endif
43641 char $ac_func ();
43642 /* The GNU C library defines this for functions which it implements
43643 to always fail with ENOSYS. Some functions are actually named
43644 something starting with __ and the normal name is an alias. */
43645 #if defined __stub_$ac_func || defined __stub___$ac_func
43646 choke me
43647 #endif
43648
43649 int
43650 main ()
43651 {
43652 return $ac_func ();
43653 ;
43654 return 0;
43655 }
43656 _ACEOF
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (ac_try="$ac_link"
43659 case "(($ac_try" in
43660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43661 *) ac_try_echo=$ac_try;;
43662 esac
43663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43664 (eval "$ac_link") 2>conftest.er1
43665 ac_status=$?
43666 grep -v '^ *+' conftest.er1 >conftest.err
43667 rm -f conftest.er1
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } && {
43671 test -z "$ac_c_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest$ac_exeext &&
43674 $as_test_x conftest$ac_exeext; then
43675 eval "$as_ac_var=yes"
43676 else
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43679
43680 eval "$as_ac_var=no"
43681 fi
43682
43683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43684 conftest$ac_exeext conftest.$ac_ext
43685 fi
43686 ac_res=`eval echo '${'$as_ac_var'}'`
43687 { echo "$as_me:$LINENO: result: $ac_res" >&5
43688 echo "${ECHO_T}$ac_res" >&6; }
43689 if test `eval echo '${'$as_ac_var'}'` = yes; then
43690 cat >>confdefs.h <<_ACEOF
43691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43692 _ACEOF
43693
43694 cat >>confdefs.h <<\_ACEOF
43695 #define HAVE_DLOPEN 1
43696 _ACEOF
43697
43698 HAVE_DL_FUNCS=1
43699
43700 else
43701
43702 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43703 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43704 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43705 echo $ECHO_N "(cached) $ECHO_C" >&6
43706 else
43707 ac_check_lib_save_LIBS=$LIBS
43708 LIBS="-ldl $LIBS"
43709 cat >conftest.$ac_ext <<_ACEOF
43710 /* confdefs.h. */
43711 _ACEOF
43712 cat confdefs.h >>conftest.$ac_ext
43713 cat >>conftest.$ac_ext <<_ACEOF
43714 /* end confdefs.h. */
43715
43716 /* Override any GCC internal prototype to avoid an error.
43717 Use char because int might match the return type of a GCC
43718 builtin and then its argument prototype would still apply. */
43719 #ifdef __cplusplus
43720 extern "C"
43721 #endif
43722 char dlopen ();
43723 int
43724 main ()
43725 {
43726 return dlopen ();
43727 ;
43728 return 0;
43729 }
43730 _ACEOF
43731 rm -f conftest.$ac_objext conftest$ac_exeext
43732 if { (ac_try="$ac_link"
43733 case "(($ac_try" in
43734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43735 *) ac_try_echo=$ac_try;;
43736 esac
43737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43738 (eval "$ac_link") 2>conftest.er1
43739 ac_status=$?
43740 grep -v '^ *+' conftest.er1 >conftest.err
43741 rm -f conftest.er1
43742 cat conftest.err >&5
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); } && {
43745 test -z "$ac_c_werror_flag" ||
43746 test ! -s conftest.err
43747 } && test -s conftest$ac_exeext &&
43748 $as_test_x conftest$ac_exeext; then
43749 ac_cv_lib_dl_dlopen=yes
43750 else
43751 echo "$as_me: failed program was:" >&5
43752 sed 's/^/| /' conftest.$ac_ext >&5
43753
43754 ac_cv_lib_dl_dlopen=no
43755 fi
43756
43757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43758 conftest$ac_exeext conftest.$ac_ext
43759 LIBS=$ac_check_lib_save_LIBS
43760 fi
43761 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43762 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43763 if test $ac_cv_lib_dl_dlopen = yes; then
43764
43765 cat >>confdefs.h <<\_ACEOF
43766 #define HAVE_DLOPEN 1
43767 _ACEOF
43768
43769 HAVE_DL_FUNCS=1
43770 DL_LINK=" -ldl$DL_LINK"
43771
43772 else
43773
43774
43775 for ac_func in shl_load
43776 do
43777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43781 echo $ECHO_N "(cached) $ECHO_C" >&6
43782 else
43783 cat >conftest.$ac_ext <<_ACEOF
43784 /* confdefs.h. */
43785 _ACEOF
43786 cat confdefs.h >>conftest.$ac_ext
43787 cat >>conftest.$ac_ext <<_ACEOF
43788 /* end confdefs.h. */
43789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43791 #define $ac_func innocuous_$ac_func
43792
43793 /* System header to define __stub macros and hopefully few prototypes,
43794 which can conflict with char $ac_func (); below.
43795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43796 <limits.h> exists even on freestanding compilers. */
43797
43798 #ifdef __STDC__
43799 # include <limits.h>
43800 #else
43801 # include <assert.h>
43802 #endif
43803
43804 #undef $ac_func
43805
43806 /* Override any GCC internal prototype to avoid an error.
43807 Use char because int might match the return type of a GCC
43808 builtin and then its argument prototype would still apply. */
43809 #ifdef __cplusplus
43810 extern "C"
43811 #endif
43812 char $ac_func ();
43813 /* The GNU C library defines this for functions which it implements
43814 to always fail with ENOSYS. Some functions are actually named
43815 something starting with __ and the normal name is an alias. */
43816 #if defined __stub_$ac_func || defined __stub___$ac_func
43817 choke me
43818 #endif
43819
43820 int
43821 main ()
43822 {
43823 return $ac_func ();
43824 ;
43825 return 0;
43826 }
43827 _ACEOF
43828 rm -f conftest.$ac_objext conftest$ac_exeext
43829 if { (ac_try="$ac_link"
43830 case "(($ac_try" in
43831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43832 *) ac_try_echo=$ac_try;;
43833 esac
43834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43835 (eval "$ac_link") 2>conftest.er1
43836 ac_status=$?
43837 grep -v '^ *+' conftest.er1 >conftest.err
43838 rm -f conftest.er1
43839 cat conftest.err >&5
43840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841 (exit $ac_status); } && {
43842 test -z "$ac_c_werror_flag" ||
43843 test ! -s conftest.err
43844 } && test -s conftest$ac_exeext &&
43845 $as_test_x conftest$ac_exeext; then
43846 eval "$as_ac_var=yes"
43847 else
43848 echo "$as_me: failed program was:" >&5
43849 sed 's/^/| /' conftest.$ac_ext >&5
43850
43851 eval "$as_ac_var=no"
43852 fi
43853
43854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43855 conftest$ac_exeext conftest.$ac_ext
43856 fi
43857 ac_res=`eval echo '${'$as_ac_var'}'`
43858 { echo "$as_me:$LINENO: result: $ac_res" >&5
43859 echo "${ECHO_T}$ac_res" >&6; }
43860 if test `eval echo '${'$as_ac_var'}'` = yes; then
43861 cat >>confdefs.h <<_ACEOF
43862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43863 _ACEOF
43864
43865 cat >>confdefs.h <<\_ACEOF
43866 #define HAVE_SHL_LOAD 1
43867 _ACEOF
43868
43869 HAVE_SHL_FUNCS=1
43870
43871 else
43872
43873 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43874 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43875 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43876 echo $ECHO_N "(cached) $ECHO_C" >&6
43877 else
43878 ac_check_lib_save_LIBS=$LIBS
43879 LIBS="-lshl_load $LIBS"
43880 cat >conftest.$ac_ext <<_ACEOF
43881 /* confdefs.h. */
43882 _ACEOF
43883 cat confdefs.h >>conftest.$ac_ext
43884 cat >>conftest.$ac_ext <<_ACEOF
43885 /* end confdefs.h. */
43886
43887 /* Override any GCC internal prototype to avoid an error.
43888 Use char because int might match the return type of a GCC
43889 builtin and then its argument prototype would still apply. */
43890 #ifdef __cplusplus
43891 extern "C"
43892 #endif
43893 char dld ();
43894 int
43895 main ()
43896 {
43897 return dld ();
43898 ;
43899 return 0;
43900 }
43901 _ACEOF
43902 rm -f conftest.$ac_objext conftest$ac_exeext
43903 if { (ac_try="$ac_link"
43904 case "(($ac_try" in
43905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43906 *) ac_try_echo=$ac_try;;
43907 esac
43908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43909 (eval "$ac_link") 2>conftest.er1
43910 ac_status=$?
43911 grep -v '^ *+' conftest.er1 >conftest.err
43912 rm -f conftest.er1
43913 cat conftest.err >&5
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); } && {
43916 test -z "$ac_c_werror_flag" ||
43917 test ! -s conftest.err
43918 } && test -s conftest$ac_exeext &&
43919 $as_test_x conftest$ac_exeext; then
43920 ac_cv_lib_shl_load_dld=yes
43921 else
43922 echo "$as_me: failed program was:" >&5
43923 sed 's/^/| /' conftest.$ac_ext >&5
43924
43925 ac_cv_lib_shl_load_dld=no
43926 fi
43927
43928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43929 conftest$ac_exeext conftest.$ac_ext
43930 LIBS=$ac_check_lib_save_LIBS
43931 fi
43932 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43933 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43934 if test $ac_cv_lib_shl_load_dld = yes; then
43935
43936 HAVE_SHL_FUNCS=1
43937 DL_LINK=" -ldld$DL_LINK"
43938
43939 fi
43940
43941
43942 fi
43943 done
43944
43945
43946 fi
43947
43948
43949 fi
43950 done
43951
43952
43953 if test "$HAVE_DL_FUNCS" = 1; then
43954
43955 for ac_func in dlerror
43956 do
43957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43958 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43960 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43961 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 else
43963 cat >conftest.$ac_ext <<_ACEOF
43964 /* confdefs.h. */
43965 _ACEOF
43966 cat confdefs.h >>conftest.$ac_ext
43967 cat >>conftest.$ac_ext <<_ACEOF
43968 /* end confdefs.h. */
43969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43971 #define $ac_func innocuous_$ac_func
43972
43973 /* System header to define __stub macros and hopefully few prototypes,
43974 which can conflict with char $ac_func (); below.
43975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43976 <limits.h> exists even on freestanding compilers. */
43977
43978 #ifdef __STDC__
43979 # include <limits.h>
43980 #else
43981 # include <assert.h>
43982 #endif
43983
43984 #undef $ac_func
43985
43986 /* Override any GCC internal prototype to avoid an error.
43987 Use char because int might match the return type of a GCC
43988 builtin and then its argument prototype would still apply. */
43989 #ifdef __cplusplus
43990 extern "C"
43991 #endif
43992 char $ac_func ();
43993 /* The GNU C library defines this for functions which it implements
43994 to always fail with ENOSYS. Some functions are actually named
43995 something starting with __ and the normal name is an alias. */
43996 #if defined __stub_$ac_func || defined __stub___$ac_func
43997 choke me
43998 #endif
43999
44000 int
44001 main ()
44002 {
44003 return $ac_func ();
44004 ;
44005 return 0;
44006 }
44007 _ACEOF
44008 rm -f conftest.$ac_objext conftest$ac_exeext
44009 if { (ac_try="$ac_link"
44010 case "(($ac_try" in
44011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44012 *) ac_try_echo=$ac_try;;
44013 esac
44014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44015 (eval "$ac_link") 2>conftest.er1
44016 ac_status=$?
44017 grep -v '^ *+' conftest.er1 >conftest.err
44018 rm -f conftest.er1
44019 cat conftest.err >&5
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); } && {
44022 test -z "$ac_c_werror_flag" ||
44023 test ! -s conftest.err
44024 } && test -s conftest$ac_exeext &&
44025 $as_test_x conftest$ac_exeext; then
44026 eval "$as_ac_var=yes"
44027 else
44028 echo "$as_me: failed program was:" >&5
44029 sed 's/^/| /' conftest.$ac_ext >&5
44030
44031 eval "$as_ac_var=no"
44032 fi
44033
44034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44035 conftest$ac_exeext conftest.$ac_ext
44036 fi
44037 ac_res=`eval echo '${'$as_ac_var'}'`
44038 { echo "$as_me:$LINENO: result: $ac_res" >&5
44039 echo "${ECHO_T}$ac_res" >&6; }
44040 if test `eval echo '${'$as_ac_var'}'` = yes; then
44041 cat >>confdefs.h <<_ACEOF
44042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44043 _ACEOF
44044 cat >>confdefs.h <<\_ACEOF
44045 #define HAVE_DLERROR 1
44046 _ACEOF
44047
44048 else
44049
44050 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44051 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44052 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44053 echo $ECHO_N "(cached) $ECHO_C" >&6
44054 else
44055 ac_check_lib_save_LIBS=$LIBS
44056 LIBS="-ldl $LIBS"
44057 cat >conftest.$ac_ext <<_ACEOF
44058 /* confdefs.h. */
44059 _ACEOF
44060 cat confdefs.h >>conftest.$ac_ext
44061 cat >>conftest.$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44063
44064 /* Override any GCC internal prototype to avoid an error.
44065 Use char because int might match the return type of a GCC
44066 builtin and then its argument prototype would still apply. */
44067 #ifdef __cplusplus
44068 extern "C"
44069 #endif
44070 char dlerror ();
44071 int
44072 main ()
44073 {
44074 return dlerror ();
44075 ;
44076 return 0;
44077 }
44078 _ACEOF
44079 rm -f conftest.$ac_objext conftest$ac_exeext
44080 if { (ac_try="$ac_link"
44081 case "(($ac_try" in
44082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44083 *) ac_try_echo=$ac_try;;
44084 esac
44085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44086 (eval "$ac_link") 2>conftest.er1
44087 ac_status=$?
44088 grep -v '^ *+' conftest.er1 >conftest.err
44089 rm -f conftest.er1
44090 cat conftest.err >&5
44091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44092 (exit $ac_status); } && {
44093 test -z "$ac_c_werror_flag" ||
44094 test ! -s conftest.err
44095 } && test -s conftest$ac_exeext &&
44096 $as_test_x conftest$ac_exeext; then
44097 ac_cv_lib_dl_dlerror=yes
44098 else
44099 echo "$as_me: failed program was:" >&5
44100 sed 's/^/| /' conftest.$ac_ext >&5
44101
44102 ac_cv_lib_dl_dlerror=no
44103 fi
44104
44105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44106 conftest$ac_exeext conftest.$ac_ext
44107 LIBS=$ac_check_lib_save_LIBS
44108 fi
44109 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44110 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44111 if test $ac_cv_lib_dl_dlerror = yes; then
44112 cat >>confdefs.h <<\_ACEOF
44113 #define HAVE_DLERROR 1
44114 _ACEOF
44115
44116 fi
44117
44118
44119
44120 fi
44121 done
44122
44123 fi
44124 fi
44125
44126 if test "$HAVE_DL_FUNCS" = 0; then
44127 if test "$HAVE_SHL_FUNCS" = 0; then
44128 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44129 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44130 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44131 wxUSE_DYNAMIC_LOADER=no
44132 wxUSE_DYNLIB_CLASS=no
44133 else
44134 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44135 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44136 fi
44137 fi
44138 fi
44139 fi
44140 fi
44141
44142 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44143 cat >>confdefs.h <<\_ACEOF
44144 #define wxUSE_DYNAMIC_LOADER 1
44145 _ACEOF
44146
44147 fi
44148 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44149 cat >>confdefs.h <<\_ACEOF
44150 #define wxUSE_DYNLIB_CLASS 1
44151 _ACEOF
44152
44153 fi
44154
44155
44156
44157 if test "$wxUSE_PLUGINS" = "yes" ; then
44158 if test "$wxUSE_SHARED" = "no" ; then
44159 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44160 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44161 wxUSE_PLUGINS=no
44162 fi
44163 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44164 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44165 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44166 wxUSE_PLUGINS=no
44167 fi
44168 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44169 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44170 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44171 wxUSE_PLUGINS=no
44172 fi
44173 if test "$wxUSE_PLUGINS" = "yes" ; then
44174 cat >>confdefs.h <<\_ACEOF
44175 #define wxUSE_PLUGINS 1
44176 _ACEOF
44177
44178 fi
44179 fi
44180
44181
44182 if test "$wxUSE_STL" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_STL 1
44185 _ACEOF
44186
44187 fi
44188
44189 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44190 cat >>confdefs.h <<\_ACEOF
44191 #define wxUSE_EXTENDED_RTTI 1
44192 _ACEOF
44193
44194 fi
44195
44196 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44197 cat >>confdefs.h <<\_ACEOF
44198 #define wxUSE_APPLE_IEEE 1
44199 _ACEOF
44200
44201 fi
44202
44203 if test "$wxUSE_TIMER" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_TIMER 1
44206 _ACEOF
44207
44208 fi
44209
44210 if test "$USE_UNIX" = "1" ; then
44211 if test "$wxUSE_MGL" != 1; then
44212 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44213 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44214 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44215 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 else
44217
44218 cat >conftest.$ac_ext <<_ACEOF
44219 /* confdefs.h. */
44220 _ACEOF
44221 cat confdefs.h >>conftest.$ac_ext
44222 cat >>conftest.$ac_ext <<_ACEOF
44223 /* end confdefs.h. */
44224
44225 #include <sys/ioctl.h>
44226 #include <sys/soundcard.h>
44227
44228 int
44229 main ()
44230 {
44231
44232 ioctl(0, SNDCTL_DSP_SPEED, 0);
44233
44234 ;
44235 return 0;
44236 }
44237 _ACEOF
44238 rm -f conftest.$ac_objext conftest$ac_exeext
44239 if { (ac_try="$ac_link"
44240 case "(($ac_try" in
44241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44242 *) ac_try_echo=$ac_try;;
44243 esac
44244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44245 (eval "$ac_link") 2>conftest.er1
44246 ac_status=$?
44247 grep -v '^ *+' conftest.er1 >conftest.err
44248 rm -f conftest.er1
44249 cat conftest.err >&5
44250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44251 (exit $ac_status); } && {
44252 test -z "$ac_c_werror_flag" ||
44253 test ! -s conftest.err
44254 } && test -s conftest$ac_exeext &&
44255 $as_test_x conftest$ac_exeext; then
44256 ac_cv_header_sys_soundcard=yes
44257 else
44258 echo "$as_me: failed program was:" >&5
44259 sed 's/^/| /' conftest.$ac_ext >&5
44260
44261
44262 saveLibs="$LIBS"
44263 LIBS="$saveLibs -lossaudio"
44264 cat >conftest.$ac_ext <<_ACEOF
44265 /* confdefs.h. */
44266 _ACEOF
44267 cat confdefs.h >>conftest.$ac_ext
44268 cat >>conftest.$ac_ext <<_ACEOF
44269 /* end confdefs.h. */
44270
44271 #include <sys/ioctl.h>
44272 #include <sys/soundcard.h>
44273
44274 int
44275 main ()
44276 {
44277
44278 ioctl(0, SNDCTL_DSP_SPEED, 0);
44279
44280 ;
44281 return 0;
44282 }
44283 _ACEOF
44284 rm -f conftest.$ac_objext conftest$ac_exeext
44285 if { (ac_try="$ac_link"
44286 case "(($ac_try" in
44287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44288 *) ac_try_echo=$ac_try;;
44289 esac
44290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44291 (eval "$ac_link") 2>conftest.er1
44292 ac_status=$?
44293 grep -v '^ *+' conftest.er1 >conftest.err
44294 rm -f conftest.er1
44295 cat conftest.err >&5
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); } && {
44298 test -z "$ac_c_werror_flag" ||
44299 test ! -s conftest.err
44300 } && test -s conftest$ac_exeext &&
44301 $as_test_x conftest$ac_exeext; then
44302 ac_cv_header_sys_soundcard=yes
44303 else
44304 echo "$as_me: failed program was:" >&5
44305 sed 's/^/| /' conftest.$ac_ext >&5
44306
44307
44308 LIBS="$saveLibs"
44309 ac_cv_header_sys_soundcard=no
44310
44311
44312 fi
44313
44314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44315 conftest$ac_exeext conftest.$ac_ext
44316
44317
44318 fi
44319
44320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44321 conftest$ac_exeext conftest.$ac_ext
44322
44323 fi
44324 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44325 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44326 fi
44327
44328 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44329 cat >>confdefs.h <<\_ACEOF
44330 #define HAVE_SYS_SOUNDCARD_H 1
44331 _ACEOF
44332
44333 fi
44334 fi
44335
44336 WITH_PLUGIN_SDL=0
44337 if test "$wxUSE_SOUND" = "yes"; then
44338 if test "$USE_UNIX" = "1" ; then
44339 if test "$wxUSE_LIBSDL" != "no"; then
44340
44341 # Check whether --with-sdl-prefix was given.
44342 if test "${with_sdl_prefix+set}" = set; then
44343 withval=$with_sdl_prefix; sdl_prefix="$withval"
44344 else
44345 sdl_prefix=""
44346 fi
44347
44348
44349 # Check whether --with-sdl-exec-prefix was given.
44350 if test "${with_sdl_exec_prefix+set}" = set; then
44351 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44352 else
44353 sdl_exec_prefix=""
44354 fi
44355
44356 # Check whether --enable-sdltest was given.
44357 if test "${enable_sdltest+set}" = set; then
44358 enableval=$enable_sdltest;
44359 else
44360 enable_sdltest=yes
44361 fi
44362
44363
44364 if test x$sdl_exec_prefix != x ; then
44365 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44366 if test x${SDL_CONFIG+set} != xset ; then
44367 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44368 fi
44369 fi
44370 if test x$sdl_prefix != x ; then
44371 sdl_args="$sdl_args --prefix=$sdl_prefix"
44372 if test x${SDL_CONFIG+set} != xset ; then
44373 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44374 fi
44375 fi
44376
44377 if test "x$prefix" != xNONE; then
44378 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44379 fi
44380 # Extract the first word of "sdl-config", so it can be a program name with args.
44381 set dummy sdl-config; ac_word=$2
44382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44384 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44385 echo $ECHO_N "(cached) $ECHO_C" >&6
44386 else
44387 case $SDL_CONFIG in
44388 [\\/]* | ?:[\\/]*)
44389 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44390 ;;
44391 *)
44392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44393 for as_dir in $PATH
44394 do
44395 IFS=$as_save_IFS
44396 test -z "$as_dir" && as_dir=.
44397 for ac_exec_ext in '' $ac_executable_extensions; do
44398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44399 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44401 break 2
44402 fi
44403 done
44404 done
44405 IFS=$as_save_IFS
44406
44407 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44408 ;;
44409 esac
44410 fi
44411 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44412 if test -n "$SDL_CONFIG"; then
44413 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44414 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44415 else
44416 { echo "$as_me:$LINENO: result: no" >&5
44417 echo "${ECHO_T}no" >&6; }
44418 fi
44419
44420
44421 min_sdl_version=1.2.0
44422 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44423 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44424 no_sdl=""
44425 if test "$SDL_CONFIG" = "no" ; then
44426 no_sdl=yes
44427 else
44428 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44429 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44430
44431 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44433 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44435 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44437 if test "x$enable_sdltest" = "xyes" ; then
44438 ac_save_CFLAGS="$CFLAGS"
44439 ac_save_CXXFLAGS="$CXXFLAGS"
44440 ac_save_LIBS="$LIBS"
44441 CFLAGS="$CFLAGS $SDL_CFLAGS"
44442 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44443 LIBS="$LIBS $SDL_LIBS"
44444 rm -f conf.sdltest
44445 if test "$cross_compiling" = yes; then
44446 echo $ac_n "cross compiling; assumed OK... $ac_c"
44447 else
44448 cat >conftest.$ac_ext <<_ACEOF
44449 /* confdefs.h. */
44450 _ACEOF
44451 cat confdefs.h >>conftest.$ac_ext
44452 cat >>conftest.$ac_ext <<_ACEOF
44453 /* end confdefs.h. */
44454
44455 #include <stdio.h>
44456 #include <stdlib.h>
44457 #include <string.h>
44458 #include "SDL.h"
44459
44460 char*
44461 my_strdup (char *str)
44462 {
44463 char *new_str;
44464
44465 if (str)
44466 {
44467 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44468 strcpy (new_str, str);
44469 }
44470 else
44471 new_str = NULL;
44472
44473 return new_str;
44474 }
44475
44476 int main (int argc, char *argv[])
44477 {
44478 int major, minor, micro;
44479 char *tmp_version;
44480
44481 /* This hangs on some systems (?)
44482 system ("touch conf.sdltest");
44483 */
44484 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44485
44486 /* HP/UX 9 (%@#!) writes to sscanf strings */
44487 tmp_version = my_strdup("$min_sdl_version");
44488 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44489 printf("%s, bad version string\n", "$min_sdl_version");
44490 exit(1);
44491 }
44492
44493 if (($sdl_major_version > major) ||
44494 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44495 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44496 {
44497 return 0;
44498 }
44499 else
44500 {
44501 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44502 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44503 printf("*** best to upgrade to the required version.\n");
44504 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44505 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44506 printf("*** config.cache before re-running configure\n");
44507 return 1;
44508 }
44509 }
44510
44511
44512 _ACEOF
44513 rm -f conftest$ac_exeext
44514 if { (ac_try="$ac_link"
44515 case "(($ac_try" in
44516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44517 *) ac_try_echo=$ac_try;;
44518 esac
44519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44520 (eval "$ac_link") 2>&5
44521 ac_status=$?
44522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44524 { (case "(($ac_try" in
44525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44526 *) ac_try_echo=$ac_try;;
44527 esac
44528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44529 (eval "$ac_try") 2>&5
44530 ac_status=$?
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); }; }; then
44533 :
44534 else
44535 echo "$as_me: program exited with status $ac_status" >&5
44536 echo "$as_me: failed program was:" >&5
44537 sed 's/^/| /' conftest.$ac_ext >&5
44538
44539 ( exit $ac_status )
44540 no_sdl=yes
44541 fi
44542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44543 fi
44544
44545
44546 CFLAGS="$ac_save_CFLAGS"
44547 CXXFLAGS="$ac_save_CXXFLAGS"
44548 LIBS="$ac_save_LIBS"
44549 fi
44550 fi
44551 if test "x$no_sdl" = x ; then
44552 { echo "$as_me:$LINENO: result: yes" >&5
44553 echo "${ECHO_T}yes" >&6; }
44554
44555 EXTRALIBS_SDL="$SDL_LIBS"
44556 CFLAGS="$SDL_CFLAGS $CFLAGS"
44557 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44558 cat >>confdefs.h <<\_ACEOF
44559 #define wxUSE_LIBSDL 1
44560 _ACEOF
44561
44562
44563 else
44564 { echo "$as_me:$LINENO: result: no" >&5
44565 echo "${ECHO_T}no" >&6; }
44566 if test "$SDL_CONFIG" = "no" ; then
44567 echo "*** The sdl-config script installed by SDL could not be found"
44568 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44569 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44570 echo "*** full path to sdl-config."
44571 else
44572 if test -f conf.sdltest ; then
44573 :
44574 else
44575 echo "*** Could not run SDL test program, checking why..."
44576 CFLAGS="$CFLAGS $SDL_CFLAGS"
44577 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44578 LIBS="$LIBS $SDL_LIBS"
44579 cat >conftest.$ac_ext <<_ACEOF
44580 /* confdefs.h. */
44581 _ACEOF
44582 cat confdefs.h >>conftest.$ac_ext
44583 cat >>conftest.$ac_ext <<_ACEOF
44584 /* end confdefs.h. */
44585
44586 #include <stdio.h>
44587 #include "SDL.h"
44588
44589 int main(int argc, char *argv[])
44590 { return 0; }
44591 #undef main
44592 #define main K_and_R_C_main
44593
44594 int
44595 main ()
44596 {
44597 return 0;
44598 ;
44599 return 0;
44600 }
44601 _ACEOF
44602 rm -f conftest.$ac_objext conftest$ac_exeext
44603 if { (ac_try="$ac_link"
44604 case "(($ac_try" in
44605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44606 *) ac_try_echo=$ac_try;;
44607 esac
44608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44609 (eval "$ac_link") 2>conftest.er1
44610 ac_status=$?
44611 grep -v '^ *+' conftest.er1 >conftest.err
44612 rm -f conftest.er1
44613 cat conftest.err >&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); } && {
44616 test -z "$ac_c_werror_flag" ||
44617 test ! -s conftest.err
44618 } && test -s conftest$ac_exeext &&
44619 $as_test_x conftest$ac_exeext; then
44620 echo "*** The test program compiled, but did not run. This usually means"
44621 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44622 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44623 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44624 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44625 echo "*** is required on your system"
44626 echo "***"
44627 echo "*** If you have an old version installed, it is best to remove it, although"
44628 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44629 else
44630 echo "$as_me: failed program was:" >&5
44631 sed 's/^/| /' conftest.$ac_ext >&5
44632
44633 echo "*** The test program failed to compile or link. See the file config.log for the"
44634 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44635 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44636 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44637 fi
44638
44639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44640 conftest$ac_exeext conftest.$ac_ext
44641 CFLAGS="$ac_save_CFLAGS"
44642 CXXFLAGS="$ac_save_CXXFLAGS"
44643 LIBS="$ac_save_LIBS"
44644 fi
44645 fi
44646 SDL_CFLAGS=""
44647 SDL_LIBS=""
44648 wxUSE_LIBSDL="no"
44649 fi
44650
44651
44652 rm -f conf.sdltest
44653
44654 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44655 WITH_PLUGIN_SDL=1
44656 fi
44657 fi
44658 else
44659 if test "$wxUSE_MGL" = 1; then
44660 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44661 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44662 wxUSE_SOUND="no"
44663 fi
44664 fi
44665 fi
44666
44667 if test "$wxUSE_SOUND" = "yes"; then
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_SOUND 1
44670 _ACEOF
44671
44672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44673 fi
44674
44675 if test "$WXGTK20" = 1; then
44676
44677
44678 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44679 if test -n "$ac_tool_prefix"; then
44680 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44681 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44684 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44685 echo $ECHO_N "(cached) $ECHO_C" >&6
44686 else
44687 case $PKG_CONFIG in
44688 [\\/]* | ?:[\\/]*)
44689 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44690 ;;
44691 *)
44692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44693 for as_dir in $PATH
44694 do
44695 IFS=$as_save_IFS
44696 test -z "$as_dir" && as_dir=.
44697 for ac_exec_ext in '' $ac_executable_extensions; do
44698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44699 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44701 break 2
44702 fi
44703 done
44704 done
44705 IFS=$as_save_IFS
44706
44707 ;;
44708 esac
44709 fi
44710 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44711 if test -n "$PKG_CONFIG"; then
44712 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44713 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44714 else
44715 { echo "$as_me:$LINENO: result: no" >&5
44716 echo "${ECHO_T}no" >&6; }
44717 fi
44718
44719
44720 fi
44721 if test -z "$ac_cv_path_PKG_CONFIG"; then
44722 ac_pt_PKG_CONFIG=$PKG_CONFIG
44723 # Extract the first word of "pkg-config", so it can be a program name with args.
44724 set dummy pkg-config; ac_word=$2
44725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44727 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44728 echo $ECHO_N "(cached) $ECHO_C" >&6
44729 else
44730 case $ac_pt_PKG_CONFIG in
44731 [\\/]* | ?:[\\/]*)
44732 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44733 ;;
44734 *)
44735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44736 for as_dir in $PATH
44737 do
44738 IFS=$as_save_IFS
44739 test -z "$as_dir" && as_dir=.
44740 for ac_exec_ext in '' $ac_executable_extensions; do
44741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44742 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44744 break 2
44745 fi
44746 done
44747 done
44748 IFS=$as_save_IFS
44749
44750 ;;
44751 esac
44752 fi
44753 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44754 if test -n "$ac_pt_PKG_CONFIG"; then
44755 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44756 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44757 else
44758 { echo "$as_me:$LINENO: result: no" >&5
44759 echo "${ECHO_T}no" >&6; }
44760 fi
44761
44762 if test "x$ac_pt_PKG_CONFIG" = x; then
44763 PKG_CONFIG=""
44764 else
44765 case $cross_compiling:$ac_tool_warned in
44766 yes:)
44767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44768 whose name does not start with the host triplet. If you think this
44769 configuration is useful to you, please write to autoconf@gnu.org." >&5
44770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44771 whose name does not start with the host triplet. If you think this
44772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44773 ac_tool_warned=yes ;;
44774 esac
44775 PKG_CONFIG=$ac_pt_PKG_CONFIG
44776 fi
44777 else
44778 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44779 fi
44780
44781 fi
44782 if test -n "$PKG_CONFIG"; then
44783 _pkg_min_version=0.9.0
44784 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44785 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44786 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44787 { echo "$as_me:$LINENO: result: yes" >&5
44788 echo "${ECHO_T}yes" >&6; }
44789 else
44790 { echo "$as_me:$LINENO: result: no" >&5
44791 echo "${ECHO_T}no" >&6; }
44792 PKG_CONFIG=""
44793 fi
44794
44795 fi
44796
44797 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44798 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44799
44800
44801 pkg_failed=no
44802 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44803 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44804
44805 if test -n "$PKG_CONFIG"; then
44806 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44807 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44808 else
44809 if test -n "$PKG_CONFIG" && \
44810 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44811 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44812 ac_status=$?
44813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44814 (exit $ac_status); }; then
44815 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44816 else
44817 pkg_failed=yes
44818 fi
44819 fi
44820 else
44821 pkg_failed=untried
44822 fi
44823 if test -n "$PKG_CONFIG"; then
44824 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44825 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44826 else
44827 if test -n "$PKG_CONFIG" && \
44828 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44829 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44830 ac_status=$?
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; then
44833 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44834 else
44835 pkg_failed=yes
44836 fi
44837 fi
44838 else
44839 pkg_failed=untried
44840 fi
44841
44842
44843
44844 if test $pkg_failed = yes; then
44845
44846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44847 _pkg_short_errors_supported=yes
44848 else
44849 _pkg_short_errors_supported=no
44850 fi
44851 if test $_pkg_short_errors_supported = yes; then
44852 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44853 else
44854 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44855 fi
44856 # Put the nasty error message in config.log where it belongs
44857 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44858
44859
44860 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44861 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44862 wxUSE_LIBGNOMEPRINT="no"
44863
44864
44865 elif test $pkg_failed = untried; then
44866
44867 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44868 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44869 wxUSE_LIBGNOMEPRINT="no"
44870
44871
44872 else
44873 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44874 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44875 { echo "$as_me:$LINENO: result: yes" >&5
44876 echo "${ECHO_T}yes" >&6; }
44877
44878 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44879 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44880 cat >>confdefs.h <<\_ACEOF
44881 #define wxUSE_LIBGNOMEPRINT 1
44882 _ACEOF
44883
44884
44885 fi
44886 fi
44887 fi
44888
44889 if test "$wxUSE_MIMETYPE" = "yes" ; then
44890 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44891
44892
44893 pkg_failed=no
44894 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44895 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44896
44897 if test -n "$PKG_CONFIG"; then
44898 if test -n "$GNOMEVFS_CFLAGS"; then
44899 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44900 else
44901 if test -n "$PKG_CONFIG" && \
44902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44903 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44904 ac_status=$?
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); }; then
44907 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44908 else
44909 pkg_failed=yes
44910 fi
44911 fi
44912 else
44913 pkg_failed=untried
44914 fi
44915 if test -n "$PKG_CONFIG"; then
44916 if test -n "$GNOMEVFS_LIBS"; then
44917 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44918 else
44919 if test -n "$PKG_CONFIG" && \
44920 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44921 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44922 ac_status=$?
44923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44924 (exit $ac_status); }; then
44925 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44926 else
44927 pkg_failed=yes
44928 fi
44929 fi
44930 else
44931 pkg_failed=untried
44932 fi
44933
44934
44935
44936 if test $pkg_failed = yes; then
44937
44938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44939 _pkg_short_errors_supported=yes
44940 else
44941 _pkg_short_errors_supported=no
44942 fi
44943 if test $_pkg_short_errors_supported = yes; then
44944 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44945 else
44946 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44947 fi
44948 # Put the nasty error message in config.log where it belongs
44949 echo "$GNOMEVFS_PKG_ERRORS" >&5
44950
44951
44952 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44953 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44954 wxUSE_LIBGNOMEVFS="no"
44955
44956
44957 elif test $pkg_failed = untried; then
44958
44959 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44960 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44961 wxUSE_LIBGNOMEVFS="no"
44962
44963
44964 else
44965 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44966 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44967 { echo "$as_me:$LINENO: result: yes" >&5
44968 echo "${ECHO_T}yes" >&6; }
44969
44970 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44971 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_LIBGNOMEVFS 1
44974 _ACEOF
44975
44976
44977 fi
44978 fi
44979 fi
44980
44981 if test "$wxUSE_LIBHILDON" = "yes" ; then
44982
44983 pkg_failed=no
44984 { echo "$as_me:$LINENO: checking for HILDON" >&5
44985 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44986
44987 if test -n "$PKG_CONFIG"; then
44988 if test -n "$HILDON_CFLAGS"; then
44989 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44990 else
44991 if test -n "$PKG_CONFIG" && \
44992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44993 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44994 ac_status=$?
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; then
44997 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44998 else
44999 pkg_failed=yes
45000 fi
45001 fi
45002 else
45003 pkg_failed=untried
45004 fi
45005 if test -n "$PKG_CONFIG"; then
45006 if test -n "$HILDON_LIBS"; then
45007 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45008 else
45009 if test -n "$PKG_CONFIG" && \
45010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45011 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45012 ac_status=$?
45013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45014 (exit $ac_status); }; then
45015 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45016 else
45017 pkg_failed=yes
45018 fi
45019 fi
45020 else
45021 pkg_failed=untried
45022 fi
45023
45024
45025
45026 if test $pkg_failed = yes; then
45027
45028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45029 _pkg_short_errors_supported=yes
45030 else
45031 _pkg_short_errors_supported=no
45032 fi
45033 if test $_pkg_short_errors_supported = yes; then
45034 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45035 else
45036 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45037 fi
45038 # Put the nasty error message in config.log where it belongs
45039 echo "$HILDON_PKG_ERRORS" >&5
45040
45041
45042 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45043 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45044 wxUSE_LIBHILDON="no"
45045
45046
45047 elif test $pkg_failed = untried; then
45048
45049 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45050 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45051 wxUSE_LIBHILDON="no"
45052
45053
45054 else
45055 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45056 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45057 { echo "$as_me:$LINENO: result: yes" >&5
45058 echo "${ECHO_T}yes" >&6; }
45059
45060 EXTRALIBS_HILDON="$HILDON_LIBS"
45061 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45062 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_LIBHILDON 1
45065 _ACEOF
45066
45067
45068 fi
45069 fi
45070 fi
45071
45072 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_CMDLINE_PARSER 1
45075 _ACEOF
45076
45077 fi
45078
45079 if test "$wxUSE_STOPWATCH" = "yes"; then
45080 cat >>confdefs.h <<\_ACEOF
45081 #define wxUSE_STOPWATCH 1
45082 _ACEOF
45083
45084 fi
45085
45086 if test "$wxUSE_DATETIME" = "yes"; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_DATETIME 1
45089 _ACEOF
45090
45091 fi
45092
45093 if test "$wxUSE_FILE" = "yes"; then
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_FILE 1
45096 _ACEOF
45097
45098 fi
45099
45100 if test "$wxUSE_FFILE" = "yes"; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_FFILE 1
45103 _ACEOF
45104
45105 fi
45106
45107 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45108 if test "$wxUSE_STREAMS" != yes; then
45109 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45110 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45111 wxUSE_ARCHIVE_STREAMS=no
45112 else
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_ARCHIVE_STREAMS 1
45115 _ACEOF
45116
45117 fi
45118 fi
45119
45120 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45121 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45122 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45123 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45124 elif test "$wxUSE_ZLIB" = "no"; then
45125 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45126 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45127 else
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_ZIPSTREAM 1
45130 _ACEOF
45131
45132 fi
45133 fi
45134
45135 if test "$wxUSE_TARSTREAM" = "yes"; then
45136 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45137 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45138 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45139 else
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_TARSTREAM 1
45142 _ACEOF
45143
45144 fi
45145 fi
45146
45147 if test "$wxUSE_FILESYSTEM" = "yes"; then
45148 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45149 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45150 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45151 wxUSE_FILESYSTEM=no
45152 else
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_FILESYSTEM 1
45155 _ACEOF
45156
45157 fi
45158 fi
45159
45160 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45161 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45162 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45163 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45164 else
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_FS_ARCHIVE 1
45167 _ACEOF
45168
45169 fi
45170 fi
45171
45172 if test "$wxUSE_FS_ZIP" = "yes"; then
45173 if test "$wxUSE_FS_ARCHIVE" != yes; then
45174 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45175 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45176 else
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_FS_ZIP 1
45179 _ACEOF
45180
45181 fi
45182 fi
45183
45184 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45185 if test "$USE_UNIX" != 1; then
45186 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45187 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45188 wxUSE_ON_FATAL_EXCEPTION=no
45189 else
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_ON_FATAL_EXCEPTION 1
45192 _ACEOF
45193
45194 fi
45195 fi
45196
45197 if test "$wxUSE_STACKWALKER" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_STACKWALKER 1
45200 _ACEOF
45201
45202 fi
45203
45204 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45205 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45206 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45207 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45208 wxUSE_DEBUGREPORT=no
45209 else
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_DEBUGREPORT 1
45212 _ACEOF
45213
45214 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45216 fi
45217 fi
45218 fi
45219
45220 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_SNGLINST_CHECKER 1
45223 _ACEOF
45224
45225 fi
45226
45227 if test "$wxUSE_BUSYINFO" = "yes"; then
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_BUSYINFO 1
45230 _ACEOF
45231
45232 fi
45233
45234 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_STD_IOSTREAM 1
45237 _ACEOF
45238
45239 fi
45240
45241 if test "$wxUSE_STD_STRING" = "yes"; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_STD_STRING 1
45244 _ACEOF
45245
45246 fi
45247
45248 if test "$wxUSE_STDPATHS" = "yes"; then
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_STDPATHS 1
45251 _ACEOF
45252
45253 fi
45254
45255 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_TEXTBUFFER 1
45258 _ACEOF
45259
45260 fi
45261
45262 if test "$wxUSE_TEXTFILE" = "yes"; then
45263 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45264 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45265 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45266 else
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_TEXTFILE 1
45269 _ACEOF
45270
45271 fi
45272 fi
45273
45274 if test "$wxUSE_CONFIG" = "yes" ; then
45275 if test "$wxUSE_TEXTFILE" != "yes"; then
45276 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45277 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45278 else
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_CONFIG 1
45281 _ACEOF
45282
45283 cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_CONFIG_NATIVE 1
45285 _ACEOF
45286
45287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45288 fi
45289 fi
45290
45291 if test "$wxUSE_INTL" = "yes" ; then
45292 if test "$wxUSE_FILE" != "yes"; then
45293 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45294 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45295 else
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_INTL 1
45298 _ACEOF
45299
45300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45301 GUIDIST="$GUIDIST INTL_DIST"
45302 fi
45303 fi
45304
45305 if test "$wxUSE_LOG" = "yes"; then
45306 cat >>confdefs.h <<\_ACEOF
45307 #define wxUSE_LOG 1
45308 _ACEOF
45309
45310
45311 if test "$wxUSE_LOGGUI" = "yes"; then
45312 cat >>confdefs.h <<\_ACEOF
45313 #define wxUSE_LOGGUI 1
45314 _ACEOF
45315
45316 fi
45317
45318 if test "$wxUSE_LOGWINDOW" = "yes"; then
45319 cat >>confdefs.h <<\_ACEOF
45320 #define wxUSE_LOGWINDOW 1
45321 _ACEOF
45322
45323 fi
45324
45325 if test "$wxUSE_LOGDIALOG" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_LOG_DIALOG 1
45328 _ACEOF
45329
45330 fi
45331
45332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45333 fi
45334
45335 if test "$wxUSE_LONGLONG" = "yes"; then
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_LONGLONG 1
45338 _ACEOF
45339
45340 fi
45341
45342 if test "$wxUSE_GEOMETRY" = "yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_GEOMETRY 1
45345 _ACEOF
45346
45347 fi
45348
45349 if test "$wxUSE_BASE64" = "yes"; then
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_BASE64 1
45352 _ACEOF
45353
45354 fi
45355
45356 if test "$wxUSE_STREAMS" = "yes" ; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_STREAMS 1
45359 _ACEOF
45360
45361 fi
45362
45363 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_PRINTF_POS_PARAMS 1
45366 _ACEOF
45367
45368 fi
45369
45370 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_OBJC_UNIQUIFYING 1
45373 _ACEOF
45374
45375 fi
45376
45377
45378 if test "$wxUSE_DATETIME" = "yes"; then
45379 { echo "$as_me:$LINENO: checking for strptime" >&5
45380 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45381 if test "${ac_cv_func_strptime+set}" = set; then
45382 echo $ECHO_N "(cached) $ECHO_C" >&6
45383 else
45384 cat >conftest.$ac_ext <<_ACEOF
45385 /* confdefs.h. */
45386 _ACEOF
45387 cat confdefs.h >>conftest.$ac_ext
45388 cat >>conftest.$ac_ext <<_ACEOF
45389 /* end confdefs.h. */
45390 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45392 #define strptime innocuous_strptime
45393
45394 /* System header to define __stub macros and hopefully few prototypes,
45395 which can conflict with char strptime (); below.
45396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45397 <limits.h> exists even on freestanding compilers. */
45398
45399 #ifdef __STDC__
45400 # include <limits.h>
45401 #else
45402 # include <assert.h>
45403 #endif
45404
45405 #undef strptime
45406
45407 /* Override any GCC internal prototype to avoid an error.
45408 Use char because int might match the return type of a GCC
45409 builtin and then its argument prototype would still apply. */
45410 #ifdef __cplusplus
45411 extern "C"
45412 #endif
45413 char strptime ();
45414 /* The GNU C library defines this for functions which it implements
45415 to always fail with ENOSYS. Some functions are actually named
45416 something starting with __ and the normal name is an alias. */
45417 #if defined __stub_strptime || defined __stub___strptime
45418 choke me
45419 #endif
45420
45421 int
45422 main ()
45423 {
45424 return strptime ();
45425 ;
45426 return 0;
45427 }
45428 _ACEOF
45429 rm -f conftest.$ac_objext conftest$ac_exeext
45430 if { (ac_try="$ac_link"
45431 case "(($ac_try" in
45432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45433 *) ac_try_echo=$ac_try;;
45434 esac
45435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45436 (eval "$ac_link") 2>conftest.er1
45437 ac_status=$?
45438 grep -v '^ *+' conftest.er1 >conftest.err
45439 rm -f conftest.er1
45440 cat conftest.err >&5
45441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442 (exit $ac_status); } && {
45443 test -z "$ac_c_werror_flag" ||
45444 test ! -s conftest.err
45445 } && test -s conftest$ac_exeext &&
45446 $as_test_x conftest$ac_exeext; then
45447 ac_cv_func_strptime=yes
45448 else
45449 echo "$as_me: failed program was:" >&5
45450 sed 's/^/| /' conftest.$ac_ext >&5
45451
45452 ac_cv_func_strptime=no
45453 fi
45454
45455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45456 conftest$ac_exeext conftest.$ac_ext
45457 fi
45458 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45459 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45460
45461 if test "$ac_cv_func_strptime" = "yes"; then
45462 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45463 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45464 if test "${wx_cv_func_strptime_decl+set}" = set; then
45465 echo $ECHO_N "(cached) $ECHO_C" >&6
45466 else
45467
45468 ac_ext=cpp
45469 ac_cpp='$CXXCPP $CPPFLAGS'
45470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45473
45474 cat >conftest.$ac_ext <<_ACEOF
45475 /* confdefs.h. */
45476 _ACEOF
45477 cat confdefs.h >>conftest.$ac_ext
45478 cat >>conftest.$ac_ext <<_ACEOF
45479 /* end confdefs.h. */
45480
45481 #include <time.h>
45482
45483 int
45484 main ()
45485 {
45486
45487 struct tm t;
45488 strptime("foo", "bar", &t);
45489
45490 ;
45491 return 0;
45492 }
45493 _ACEOF
45494 rm -f conftest.$ac_objext
45495 if { (ac_try="$ac_compile"
45496 case "(($ac_try" in
45497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45498 *) ac_try_echo=$ac_try;;
45499 esac
45500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45501 (eval "$ac_compile") 2>conftest.er1
45502 ac_status=$?
45503 grep -v '^ *+' conftest.er1 >conftest.err
45504 rm -f conftest.er1
45505 cat conftest.err >&5
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); } && {
45508 test -z "$ac_cxx_werror_flag" ||
45509 test ! -s conftest.err
45510 } && test -s conftest.$ac_objext; then
45511 wx_cv_func_strptime_decl=yes
45512 else
45513 echo "$as_me: failed program was:" >&5
45514 sed 's/^/| /' conftest.$ac_ext >&5
45515
45516 wx_cv_func_strptime_decl=no
45517
45518 fi
45519
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 ac_ext=c
45522 ac_cpp='$CPP $CPPFLAGS'
45523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45526
45527
45528
45529 fi
45530 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45531 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45532 fi
45533 if test "$wx_cv_func_strptime_decl" = "yes"; then
45534 cat >>confdefs.h <<\_ACEOF
45535 #define HAVE_STRPTIME_DECL 1
45536 _ACEOF
45537
45538 else
45539 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45540 fi
45541 if test "$ac_cv_func_strptime" = "yes"; then
45542 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45543 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45544 if test "${wx_cv_func_strptime_ok+set}" = set; then
45545 echo $ECHO_N "(cached) $ECHO_C" >&6
45546 else
45547 if test "$cross_compiling" = yes; then
45548 wx_cv_func_strptime_ok=no
45549
45550 else
45551 cat >conftest.$ac_ext <<_ACEOF
45552
45553 #include <stdlib.h>
45554 #include <time.h>
45555 #include "confdefs.h"
45556
45557 $wx_strptime_decl
45558
45559 int main()
45560 {
45561 struct tm t;
45562 return !!strptime("", "%x", &t);
45563 }
45564
45565 _ACEOF
45566 rm -f conftest$ac_exeext
45567 if { (ac_try="$ac_link"
45568 case "(($ac_try" in
45569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45570 *) ac_try_echo=$ac_try;;
45571 esac
45572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45573 (eval "$ac_link") 2>&5
45574 ac_status=$?
45575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45577 { (case "(($ac_try" in
45578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45579 *) ac_try_echo=$ac_try;;
45580 esac
45581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45582 (eval "$ac_try") 2>&5
45583 ac_status=$?
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); }; }; then
45586 wx_cv_func_strptime_ok=yes
45587 else
45588 echo "$as_me: program exited with status $ac_status" >&5
45589 echo "$as_me: failed program was:" >&5
45590 sed 's/^/| /' conftest.$ac_ext >&5
45591
45592 ( exit $ac_status )
45593 wx_cv_func_strptime_ok=no
45594 fi
45595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45596 fi
45597
45598
45599
45600 fi
45601 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45602 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
45603
45604 if test "$wx_cv_func_strptime_ok" = "yes"; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define HAVE_STRPTIME 1
45607 _ACEOF
45608
45609 fi
45610 fi
45611
45612 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45613 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45614 if test "${wx_cv_var_timezone+set}" = set; then
45615 echo $ECHO_N "(cached) $ECHO_C" >&6
45616 else
45617
45618 ac_ext=cpp
45619 ac_cpp='$CXXCPP $CPPFLAGS'
45620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45623
45624 cat >conftest.$ac_ext <<_ACEOF
45625 /* confdefs.h. */
45626 _ACEOF
45627 cat confdefs.h >>conftest.$ac_ext
45628 cat >>conftest.$ac_ext <<_ACEOF
45629 /* end confdefs.h. */
45630
45631 #include <time.h>
45632
45633 int
45634 main ()
45635 {
45636
45637 int tz;
45638 tz = timezone;
45639
45640 ;
45641 return 0;
45642 }
45643 _ACEOF
45644 rm -f conftest.$ac_objext
45645 if { (ac_try="$ac_compile"
45646 case "(($ac_try" in
45647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45648 *) ac_try_echo=$ac_try;;
45649 esac
45650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45651 (eval "$ac_compile") 2>conftest.er1
45652 ac_status=$?
45653 grep -v '^ *+' conftest.er1 >conftest.err
45654 rm -f conftest.er1
45655 cat conftest.err >&5
45656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657 (exit $ac_status); } && {
45658 test -z "$ac_cxx_werror_flag" ||
45659 test ! -s conftest.err
45660 } && test -s conftest.$ac_objext; then
45661
45662 wx_cv_var_timezone=timezone
45663
45664 else
45665 echo "$as_me: failed program was:" >&5
45666 sed 's/^/| /' conftest.$ac_ext >&5
45667
45668
45669 cat >conftest.$ac_ext <<_ACEOF
45670 /* confdefs.h. */
45671 _ACEOF
45672 cat confdefs.h >>conftest.$ac_ext
45673 cat >>conftest.$ac_ext <<_ACEOF
45674 /* end confdefs.h. */
45675
45676 #include <time.h>
45677
45678 int
45679 main ()
45680 {
45681
45682 int tz;
45683 tz = _timezone;
45684
45685 ;
45686 return 0;
45687 }
45688 _ACEOF
45689 rm -f conftest.$ac_objext
45690 if { (ac_try="$ac_compile"
45691 case "(($ac_try" in
45692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45693 *) ac_try_echo=$ac_try;;
45694 esac
45695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45696 (eval "$ac_compile") 2>conftest.er1
45697 ac_status=$?
45698 grep -v '^ *+' conftest.er1 >conftest.err
45699 rm -f conftest.er1
45700 cat conftest.err >&5
45701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45702 (exit $ac_status); } && {
45703 test -z "$ac_cxx_werror_flag" ||
45704 test ! -s conftest.err
45705 } && test -s conftest.$ac_objext; then
45706
45707 wx_cv_var_timezone=_timezone
45708
45709 else
45710 echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45712
45713
45714 cat >conftest.$ac_ext <<_ACEOF
45715 /* confdefs.h. */
45716 _ACEOF
45717 cat confdefs.h >>conftest.$ac_ext
45718 cat >>conftest.$ac_ext <<_ACEOF
45719 /* end confdefs.h. */
45720
45721 #include <time.h>
45722
45723 int
45724 main ()
45725 {
45726
45727 int tz;
45728 tz = __timezone;
45729
45730 ;
45731 return 0;
45732 }
45733 _ACEOF
45734 rm -f conftest.$ac_objext
45735 if { (ac_try="$ac_compile"
45736 case "(($ac_try" in
45737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45738 *) ac_try_echo=$ac_try;;
45739 esac
45740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45741 (eval "$ac_compile") 2>conftest.er1
45742 ac_status=$?
45743 grep -v '^ *+' conftest.er1 >conftest.err
45744 rm -f conftest.er1
45745 cat conftest.err >&5
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); } && {
45748 test -z "$ac_cxx_werror_flag" ||
45749 test ! -s conftest.err
45750 } && test -s conftest.$ac_objext; then
45751
45752 wx_cv_var_timezone=__timezone
45753
45754 else
45755 echo "$as_me: failed program was:" >&5
45756 sed 's/^/| /' conftest.$ac_ext >&5
45757
45758
45759 if test "$USE_DOS" = 0 ; then
45760 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45761 echo "$as_me: WARNING: no timezone variable" >&2;}
45762 fi
45763
45764
45765 fi
45766
45767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45768
45769
45770 fi
45771
45772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45773
45774
45775 fi
45776
45777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45778 ac_ext=c
45779 ac_cpp='$CPP $CPPFLAGS'
45780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45783
45784
45785
45786 fi
45787 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45788 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45789
45790 if test "x$wx_cv_var_timezone" != x ; then
45791 cat >>confdefs.h <<_ACEOF
45792 #define WX_TIMEZONE $wx_cv_var_timezone
45793 _ACEOF
45794
45795 fi
45796
45797
45798 for ac_func in localtime
45799 do
45800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45804 echo $ECHO_N "(cached) $ECHO_C" >&6
45805 else
45806 cat >conftest.$ac_ext <<_ACEOF
45807 /* confdefs.h. */
45808 _ACEOF
45809 cat confdefs.h >>conftest.$ac_ext
45810 cat >>conftest.$ac_ext <<_ACEOF
45811 /* end confdefs.h. */
45812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45814 #define $ac_func innocuous_$ac_func
45815
45816 /* System header to define __stub macros and hopefully few prototypes,
45817 which can conflict with char $ac_func (); below.
45818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45819 <limits.h> exists even on freestanding compilers. */
45820
45821 #ifdef __STDC__
45822 # include <limits.h>
45823 #else
45824 # include <assert.h>
45825 #endif
45826
45827 #undef $ac_func
45828
45829 /* Override any GCC internal prototype to avoid an error.
45830 Use char because int might match the return type of a GCC
45831 builtin and then its argument prototype would still apply. */
45832 #ifdef __cplusplus
45833 extern "C"
45834 #endif
45835 char $ac_func ();
45836 /* The GNU C library defines this for functions which it implements
45837 to always fail with ENOSYS. Some functions are actually named
45838 something starting with __ and the normal name is an alias. */
45839 #if defined __stub_$ac_func || defined __stub___$ac_func
45840 choke me
45841 #endif
45842
45843 int
45844 main ()
45845 {
45846 return $ac_func ();
45847 ;
45848 return 0;
45849 }
45850 _ACEOF
45851 rm -f conftest.$ac_objext conftest$ac_exeext
45852 if { (ac_try="$ac_link"
45853 case "(($ac_try" in
45854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45855 *) ac_try_echo=$ac_try;;
45856 esac
45857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45858 (eval "$ac_link") 2>conftest.er1
45859 ac_status=$?
45860 grep -v '^ *+' conftest.er1 >conftest.err
45861 rm -f conftest.er1
45862 cat conftest.err >&5
45863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45864 (exit $ac_status); } && {
45865 test -z "$ac_c_werror_flag" ||
45866 test ! -s conftest.err
45867 } && test -s conftest$ac_exeext &&
45868 $as_test_x conftest$ac_exeext; then
45869 eval "$as_ac_var=yes"
45870 else
45871 echo "$as_me: failed program was:" >&5
45872 sed 's/^/| /' conftest.$ac_ext >&5
45873
45874 eval "$as_ac_var=no"
45875 fi
45876
45877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45878 conftest$ac_exeext conftest.$ac_ext
45879 fi
45880 ac_res=`eval echo '${'$as_ac_var'}'`
45881 { echo "$as_me:$LINENO: result: $ac_res" >&5
45882 echo "${ECHO_T}$ac_res" >&6; }
45883 if test `eval echo '${'$as_ac_var'}'` = yes; then
45884 cat >>confdefs.h <<_ACEOF
45885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45886 _ACEOF
45887
45888 fi
45889 done
45890
45891
45892 if test "$ac_cv_func_localtime" = "yes"; then
45893 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45894 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45895 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45896 echo $ECHO_N "(cached) $ECHO_C" >&6
45897 else
45898
45899 cat >conftest.$ac_ext <<_ACEOF
45900 /* confdefs.h. */
45901 _ACEOF
45902 cat confdefs.h >>conftest.$ac_ext
45903 cat >>conftest.$ac_ext <<_ACEOF
45904 /* end confdefs.h. */
45905
45906 #include <time.h>
45907
45908 int
45909 main ()
45910 {
45911
45912 struct tm tm;
45913 tm.tm_gmtoff++;
45914
45915 ;
45916 return 0;
45917 }
45918 _ACEOF
45919 rm -f conftest.$ac_objext
45920 if { (ac_try="$ac_compile"
45921 case "(($ac_try" in
45922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45923 *) ac_try_echo=$ac_try;;
45924 esac
45925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45926 (eval "$ac_compile") 2>conftest.er1
45927 ac_status=$?
45928 grep -v '^ *+' conftest.er1 >conftest.err
45929 rm -f conftest.er1
45930 cat conftest.err >&5
45931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932 (exit $ac_status); } && {
45933 test -z "$ac_c_werror_flag" ||
45934 test ! -s conftest.err
45935 } && test -s conftest.$ac_objext; then
45936
45937 wx_cv_struct_tm_has_gmtoff=yes
45938
45939 else
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45942
45943 wx_cv_struct_tm_has_gmtoff=no
45944
45945 fi
45946
45947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45948
45949 fi
45950 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45951 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45952 fi
45953
45954 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define WX_GMTOFF_IN_TM 1
45957 _ACEOF
45958
45959 fi
45960
45961
45962
45963 for ac_func in gettimeofday ftime
45964 do
45965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45969 echo $ECHO_N "(cached) $ECHO_C" >&6
45970 else
45971 cat >conftest.$ac_ext <<_ACEOF
45972 /* confdefs.h. */
45973 _ACEOF
45974 cat confdefs.h >>conftest.$ac_ext
45975 cat >>conftest.$ac_ext <<_ACEOF
45976 /* end confdefs.h. */
45977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45979 #define $ac_func innocuous_$ac_func
45980
45981 /* System header to define __stub macros and hopefully few prototypes,
45982 which can conflict with char $ac_func (); below.
45983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45984 <limits.h> exists even on freestanding compilers. */
45985
45986 #ifdef __STDC__
45987 # include <limits.h>
45988 #else
45989 # include <assert.h>
45990 #endif
45991
45992 #undef $ac_func
45993
45994 /* Override any GCC internal prototype to avoid an error.
45995 Use char because int might match the return type of a GCC
45996 builtin and then its argument prototype would still apply. */
45997 #ifdef __cplusplus
45998 extern "C"
45999 #endif
46000 char $ac_func ();
46001 /* The GNU C library defines this for functions which it implements
46002 to always fail with ENOSYS. Some functions are actually named
46003 something starting with __ and the normal name is an alias. */
46004 #if defined __stub_$ac_func || defined __stub___$ac_func
46005 choke me
46006 #endif
46007
46008 int
46009 main ()
46010 {
46011 return $ac_func ();
46012 ;
46013 return 0;
46014 }
46015 _ACEOF
46016 rm -f conftest.$ac_objext conftest$ac_exeext
46017 if { (ac_try="$ac_link"
46018 case "(($ac_try" in
46019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46020 *) ac_try_echo=$ac_try;;
46021 esac
46022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46023 (eval "$ac_link") 2>conftest.er1
46024 ac_status=$?
46025 grep -v '^ *+' conftest.er1 >conftest.err
46026 rm -f conftest.er1
46027 cat conftest.err >&5
46028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029 (exit $ac_status); } && {
46030 test -z "$ac_c_werror_flag" ||
46031 test ! -s conftest.err
46032 } && test -s conftest$ac_exeext &&
46033 $as_test_x conftest$ac_exeext; then
46034 eval "$as_ac_var=yes"
46035 else
46036 echo "$as_me: failed program was:" >&5
46037 sed 's/^/| /' conftest.$ac_ext >&5
46038
46039 eval "$as_ac_var=no"
46040 fi
46041
46042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46043 conftest$ac_exeext conftest.$ac_ext
46044 fi
46045 ac_res=`eval echo '${'$as_ac_var'}'`
46046 { echo "$as_me:$LINENO: result: $ac_res" >&5
46047 echo "${ECHO_T}$ac_res" >&6; }
46048 if test `eval echo '${'$as_ac_var'}'` = yes; then
46049 cat >>confdefs.h <<_ACEOF
46050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46051 _ACEOF
46052 break
46053 fi
46054 done
46055
46056
46057 if test "$ac_cv_func_gettimeofday" = "yes"; then
46058 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46059 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46060 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46061 echo $ECHO_N "(cached) $ECHO_C" >&6
46062 else
46063
46064 cat >conftest.$ac_ext <<_ACEOF
46065 /* confdefs.h. */
46066 _ACEOF
46067 cat confdefs.h >>conftest.$ac_ext
46068 cat >>conftest.$ac_ext <<_ACEOF
46069 /* end confdefs.h. */
46070
46071 #include <sys/time.h>
46072 #include <unistd.h>
46073
46074 int
46075 main ()
46076 {
46077
46078 struct timeval tv;
46079 gettimeofday(&tv, NULL);
46080
46081 ;
46082 return 0;
46083 }
46084 _ACEOF
46085 rm -f conftest.$ac_objext
46086 if { (ac_try="$ac_compile"
46087 case "(($ac_try" in
46088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46089 *) ac_try_echo=$ac_try;;
46090 esac
46091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46092 (eval "$ac_compile") 2>conftest.er1
46093 ac_status=$?
46094 grep -v '^ *+' conftest.er1 >conftest.err
46095 rm -f conftest.er1
46096 cat conftest.err >&5
46097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46098 (exit $ac_status); } && {
46099 test -z "$ac_c_werror_flag" ||
46100 test ! -s conftest.err
46101 } && test -s conftest.$ac_objext; then
46102 wx_cv_func_gettimeofday_has_2_args=yes
46103 else
46104 echo "$as_me: failed program was:" >&5
46105 sed 's/^/| /' conftest.$ac_ext >&5
46106
46107 cat >conftest.$ac_ext <<_ACEOF
46108 /* confdefs.h. */
46109 _ACEOF
46110 cat confdefs.h >>conftest.$ac_ext
46111 cat >>conftest.$ac_ext <<_ACEOF
46112 /* end confdefs.h. */
46113
46114 #include <sys/time.h>
46115 #include <unistd.h>
46116
46117 int
46118 main ()
46119 {
46120
46121 struct timeval tv;
46122 gettimeofday(&tv);
46123
46124 ;
46125 return 0;
46126 }
46127 _ACEOF
46128 rm -f conftest.$ac_objext
46129 if { (ac_try="$ac_compile"
46130 case "(($ac_try" in
46131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46132 *) ac_try_echo=$ac_try;;
46133 esac
46134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46135 (eval "$ac_compile") 2>conftest.er1
46136 ac_status=$?
46137 grep -v '^ *+' conftest.er1 >conftest.err
46138 rm -f conftest.er1
46139 cat conftest.err >&5
46140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46141 (exit $ac_status); } && {
46142 test -z "$ac_c_werror_flag" ||
46143 test ! -s conftest.err
46144 } && test -s conftest.$ac_objext; then
46145 wx_cv_func_gettimeofday_has_2_args=no
46146 else
46147 echo "$as_me: failed program was:" >&5
46148 sed 's/^/| /' conftest.$ac_ext >&5
46149
46150
46151 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46152 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46153 wx_cv_func_gettimeofday_has_2_args=unknown
46154
46155
46156 fi
46157
46158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46159
46160 fi
46161
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163
46164 fi
46165 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46166 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46167
46168 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46169 cat >>confdefs.h <<\_ACEOF
46170 #define WX_GETTIMEOFDAY_NO_TZ 1
46171 _ACEOF
46172
46173 fi
46174 fi
46175
46176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46177 fi
46178
46179
46180 if test "$wxUSE_SOCKETS" = "yes"; then
46181 if test "$wxUSE_MGL" = "1"; then
46182 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46183 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46184 wxUSE_SOCKETS="no"
46185 fi
46186 fi
46187
46188 if test "$wxUSE_SOCKETS" = "yes"; then
46189 if test "$TOOLKIT" != "MSW"; then
46190 { echo "$as_me:$LINENO: checking for socket" >&5
46191 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46192 if test "${ac_cv_func_socket+set}" = set; then
46193 echo $ECHO_N "(cached) $ECHO_C" >&6
46194 else
46195 cat >conftest.$ac_ext <<_ACEOF
46196 /* confdefs.h. */
46197 _ACEOF
46198 cat confdefs.h >>conftest.$ac_ext
46199 cat >>conftest.$ac_ext <<_ACEOF
46200 /* end confdefs.h. */
46201 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46203 #define socket innocuous_socket
46204
46205 /* System header to define __stub macros and hopefully few prototypes,
46206 which can conflict with char socket (); below.
46207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46208 <limits.h> exists even on freestanding compilers. */
46209
46210 #ifdef __STDC__
46211 # include <limits.h>
46212 #else
46213 # include <assert.h>
46214 #endif
46215
46216 #undef socket
46217
46218 /* Override any GCC internal prototype to avoid an error.
46219 Use char because int might match the return type of a GCC
46220 builtin and then its argument prototype would still apply. */
46221 #ifdef __cplusplus
46222 extern "C"
46223 #endif
46224 char socket ();
46225 /* The GNU C library defines this for functions which it implements
46226 to always fail with ENOSYS. Some functions are actually named
46227 something starting with __ and the normal name is an alias. */
46228 #if defined __stub_socket || defined __stub___socket
46229 choke me
46230 #endif
46231
46232 int
46233 main ()
46234 {
46235 return socket ();
46236 ;
46237 return 0;
46238 }
46239 _ACEOF
46240 rm -f conftest.$ac_objext conftest$ac_exeext
46241 if { (ac_try="$ac_link"
46242 case "(($ac_try" in
46243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46244 *) ac_try_echo=$ac_try;;
46245 esac
46246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46247 (eval "$ac_link") 2>conftest.er1
46248 ac_status=$?
46249 grep -v '^ *+' conftest.er1 >conftest.err
46250 rm -f conftest.er1
46251 cat conftest.err >&5
46252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253 (exit $ac_status); } && {
46254 test -z "$ac_c_werror_flag" ||
46255 test ! -s conftest.err
46256 } && test -s conftest$ac_exeext &&
46257 $as_test_x conftest$ac_exeext; then
46258 ac_cv_func_socket=yes
46259 else
46260 echo "$as_me: failed program was:" >&5
46261 sed 's/^/| /' conftest.$ac_ext >&5
46262
46263 ac_cv_func_socket=no
46264 fi
46265
46266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46267 conftest$ac_exeext conftest.$ac_ext
46268 fi
46269 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46270 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46271 if test $ac_cv_func_socket = yes; then
46272 :
46273 else
46274
46275 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46276 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46277 if test "${ac_cv_lib_socket_socket+set}" = set; then
46278 echo $ECHO_N "(cached) $ECHO_C" >&6
46279 else
46280 ac_check_lib_save_LIBS=$LIBS
46281 LIBS="-lsocket $LIBS"
46282 cat >conftest.$ac_ext <<_ACEOF
46283 /* confdefs.h. */
46284 _ACEOF
46285 cat confdefs.h >>conftest.$ac_ext
46286 cat >>conftest.$ac_ext <<_ACEOF
46287 /* end confdefs.h. */
46288
46289 /* Override any GCC internal prototype to avoid an error.
46290 Use char because int might match the return type of a GCC
46291 builtin and then its argument prototype would still apply. */
46292 #ifdef __cplusplus
46293 extern "C"
46294 #endif
46295 char socket ();
46296 int
46297 main ()
46298 {
46299 return socket ();
46300 ;
46301 return 0;
46302 }
46303 _ACEOF
46304 rm -f conftest.$ac_objext conftest$ac_exeext
46305 if { (ac_try="$ac_link"
46306 case "(($ac_try" in
46307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46308 *) ac_try_echo=$ac_try;;
46309 esac
46310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46311 (eval "$ac_link") 2>conftest.er1
46312 ac_status=$?
46313 grep -v '^ *+' conftest.er1 >conftest.err
46314 rm -f conftest.er1
46315 cat conftest.err >&5
46316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46317 (exit $ac_status); } && {
46318 test -z "$ac_c_werror_flag" ||
46319 test ! -s conftest.err
46320 } && test -s conftest$ac_exeext &&
46321 $as_test_x conftest$ac_exeext; then
46322 ac_cv_lib_socket_socket=yes
46323 else
46324 echo "$as_me: failed program was:" >&5
46325 sed 's/^/| /' conftest.$ac_ext >&5
46326
46327 ac_cv_lib_socket_socket=no
46328 fi
46329
46330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46331 conftest$ac_exeext conftest.$ac_ext
46332 LIBS=$ac_check_lib_save_LIBS
46333 fi
46334 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46335 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46336 if test $ac_cv_lib_socket_socket = yes; then
46337 if test "$INET_LINK" != " -lsocket"; then
46338 INET_LINK="$INET_LINK -lsocket"
46339 fi
46340 else
46341
46342 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46343 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46344 wxUSE_SOCKETS=no
46345
46346
46347 fi
46348
46349
46350
46351 fi
46352
46353 fi
46354 fi
46355
46356 if test "$wxUSE_SOCKETS" = "yes" ; then
46357 if test "$TOOLKIT" != "MSW"; then
46358 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46359 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46360 if test "${wx_cv_type_getsockname3+set}" = set; then
46361 echo $ECHO_N "(cached) $ECHO_C" >&6
46362 else
46363
46364 ac_ext=cpp
46365 ac_cpp='$CXXCPP $CPPFLAGS'
46366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46369
46370 cat >conftest.$ac_ext <<_ACEOF
46371 /* confdefs.h. */
46372 _ACEOF
46373 cat confdefs.h >>conftest.$ac_ext
46374 cat >>conftest.$ac_ext <<_ACEOF
46375 /* end confdefs.h. */
46376
46377 #include <sys/types.h>
46378 #include <sys/socket.h>
46379
46380 int
46381 main ()
46382 {
46383
46384 socklen_t len;
46385 getsockname(0, 0, &len);
46386
46387 ;
46388 return 0;
46389 }
46390 _ACEOF
46391 rm -f conftest.$ac_objext
46392 if { (ac_try="$ac_compile"
46393 case "(($ac_try" in
46394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46395 *) ac_try_echo=$ac_try;;
46396 esac
46397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46398 (eval "$ac_compile") 2>conftest.er1
46399 ac_status=$?
46400 grep -v '^ *+' conftest.er1 >conftest.err
46401 rm -f conftest.er1
46402 cat conftest.err >&5
46403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46404 (exit $ac_status); } && {
46405 test -z "$ac_cxx_werror_flag" ||
46406 test ! -s conftest.err
46407 } && test -s conftest.$ac_objext; then
46408 wx_cv_type_getsockname3=socklen_t
46409 else
46410 echo "$as_me: failed program was:" >&5
46411 sed 's/^/| /' conftest.$ac_ext >&5
46412
46413
46414 CFLAGS_OLD="$CFLAGS"
46415 if test "$GCC" = yes ; then
46416 CFLAGS="-Werror $CFLAGS"
46417 fi
46418
46419 cat >conftest.$ac_ext <<_ACEOF
46420 /* confdefs.h. */
46421 _ACEOF
46422 cat confdefs.h >>conftest.$ac_ext
46423 cat >>conftest.$ac_ext <<_ACEOF
46424 /* end confdefs.h. */
46425
46426 #include <sys/types.h>
46427 #include <sys/socket.h>
46428
46429 int
46430 main ()
46431 {
46432
46433 size_t len;
46434 getsockname(0, 0, &len);
46435
46436 ;
46437 return 0;
46438 }
46439 _ACEOF
46440 rm -f conftest.$ac_objext
46441 if { (ac_try="$ac_compile"
46442 case "(($ac_try" in
46443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46444 *) ac_try_echo=$ac_try;;
46445 esac
46446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46447 (eval "$ac_compile") 2>conftest.er1
46448 ac_status=$?
46449 grep -v '^ *+' conftest.er1 >conftest.err
46450 rm -f conftest.er1
46451 cat conftest.err >&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } && {
46454 test -z "$ac_cxx_werror_flag" ||
46455 test ! -s conftest.err
46456 } && test -s conftest.$ac_objext; then
46457 wx_cv_type_getsockname3=size_t
46458 else
46459 echo "$as_me: failed program was:" >&5
46460 sed 's/^/| /' conftest.$ac_ext >&5
46461
46462 cat >conftest.$ac_ext <<_ACEOF
46463 /* confdefs.h. */
46464 _ACEOF
46465 cat confdefs.h >>conftest.$ac_ext
46466 cat >>conftest.$ac_ext <<_ACEOF
46467 /* end confdefs.h. */
46468
46469 #include <sys/types.h>
46470 #include <sys/socket.h>
46471
46472 int
46473 main ()
46474 {
46475
46476 int len;
46477 getsockname(0, 0, &len);
46478
46479 ;
46480 return 0;
46481 }
46482 _ACEOF
46483 rm -f conftest.$ac_objext
46484 if { (ac_try="$ac_compile"
46485 case "(($ac_try" in
46486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46487 *) ac_try_echo=$ac_try;;
46488 esac
46489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46490 (eval "$ac_compile") 2>conftest.er1
46491 ac_status=$?
46492 grep -v '^ *+' conftest.er1 >conftest.err
46493 rm -f conftest.er1
46494 cat conftest.err >&5
46495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46496 (exit $ac_status); } && {
46497 test -z "$ac_cxx_werror_flag" ||
46498 test ! -s conftest.err
46499 } && test -s conftest.$ac_objext; then
46500 wx_cv_type_getsockname3=int
46501 else
46502 echo "$as_me: failed program was:" >&5
46503 sed 's/^/| /' conftest.$ac_ext >&5
46504
46505 wx_cv_type_getsockname3=unknown
46506
46507 fi
46508
46509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46510
46511 fi
46512
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514
46515 CFLAGS="$CFLAGS_OLD"
46516
46517
46518 fi
46519
46520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46521 ac_ext=c
46522 ac_cpp='$CPP $CPPFLAGS'
46523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46526
46527
46528 fi
46529 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46530 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46531
46532 if test "$wx_cv_type_getsockname3" = "unknown"; then
46533 wxUSE_SOCKETS=no
46534 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46535 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46536 else
46537 cat >>confdefs.h <<_ACEOF
46538 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46539 _ACEOF
46540
46541 fi
46542 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46543 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46544 if test "${wx_cv_type_getsockopt5+set}" = set; then
46545 echo $ECHO_N "(cached) $ECHO_C" >&6
46546 else
46547
46548 ac_ext=cpp
46549 ac_cpp='$CXXCPP $CPPFLAGS'
46550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46553
46554 cat >conftest.$ac_ext <<_ACEOF
46555 /* confdefs.h. */
46556 _ACEOF
46557 cat confdefs.h >>conftest.$ac_ext
46558 cat >>conftest.$ac_ext <<_ACEOF
46559 /* end confdefs.h. */
46560
46561 #include <sys/types.h>
46562 #include <sys/socket.h>
46563
46564 int
46565 main ()
46566 {
46567
46568 socklen_t len;
46569 getsockopt(0, 0, 0, 0, &len);
46570
46571 ;
46572 return 0;
46573 }
46574 _ACEOF
46575 rm -f conftest.$ac_objext
46576 if { (ac_try="$ac_compile"
46577 case "(($ac_try" in
46578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46579 *) ac_try_echo=$ac_try;;
46580 esac
46581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46582 (eval "$ac_compile") 2>conftest.er1
46583 ac_status=$?
46584 grep -v '^ *+' conftest.er1 >conftest.err
46585 rm -f conftest.er1
46586 cat conftest.err >&5
46587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46588 (exit $ac_status); } && {
46589 test -z "$ac_cxx_werror_flag" ||
46590 test ! -s conftest.err
46591 } && test -s conftest.$ac_objext; then
46592 wx_cv_type_getsockopt5=socklen_t
46593 else
46594 echo "$as_me: failed program was:" >&5
46595 sed 's/^/| /' conftest.$ac_ext >&5
46596
46597
46598 cat >conftest.$ac_ext <<_ACEOF
46599 /* confdefs.h. */
46600 _ACEOF
46601 cat confdefs.h >>conftest.$ac_ext
46602 cat >>conftest.$ac_ext <<_ACEOF
46603 /* end confdefs.h. */
46604
46605 #include <sys/types.h>
46606 #include <sys/socket.h>
46607
46608 int
46609 main ()
46610 {
46611
46612 size_t len;
46613 getsockopt(0, 0, 0, 0, &len);
46614
46615 ;
46616 return 0;
46617 }
46618 _ACEOF
46619 rm -f conftest.$ac_objext
46620 if { (ac_try="$ac_compile"
46621 case "(($ac_try" in
46622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46623 *) ac_try_echo=$ac_try;;
46624 esac
46625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46626 (eval "$ac_compile") 2>conftest.er1
46627 ac_status=$?
46628 grep -v '^ *+' conftest.er1 >conftest.err
46629 rm -f conftest.er1
46630 cat conftest.err >&5
46631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46632 (exit $ac_status); } && {
46633 test -z "$ac_cxx_werror_flag" ||
46634 test ! -s conftest.err
46635 } && test -s conftest.$ac_objext; then
46636 wx_cv_type_getsockopt5=size_t
46637 else
46638 echo "$as_me: failed program was:" >&5
46639 sed 's/^/| /' conftest.$ac_ext >&5
46640
46641 cat >conftest.$ac_ext <<_ACEOF
46642 /* confdefs.h. */
46643 _ACEOF
46644 cat confdefs.h >>conftest.$ac_ext
46645 cat >>conftest.$ac_ext <<_ACEOF
46646 /* end confdefs.h. */
46647
46648 #include <sys/types.h>
46649 #include <sys/socket.h>
46650
46651 int
46652 main ()
46653 {
46654
46655 int len;
46656 getsockopt(0, 0, 0, 0, &len);
46657
46658 ;
46659 return 0;
46660 }
46661 _ACEOF
46662 rm -f conftest.$ac_objext
46663 if { (ac_try="$ac_compile"
46664 case "(($ac_try" in
46665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46666 *) ac_try_echo=$ac_try;;
46667 esac
46668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46669 (eval "$ac_compile") 2>conftest.er1
46670 ac_status=$?
46671 grep -v '^ *+' conftest.er1 >conftest.err
46672 rm -f conftest.er1
46673 cat conftest.err >&5
46674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46675 (exit $ac_status); } && {
46676 test -z "$ac_cxx_werror_flag" ||
46677 test ! -s conftest.err
46678 } && test -s conftest.$ac_objext; then
46679 wx_cv_type_getsockopt5=int
46680 else
46681 echo "$as_me: failed program was:" >&5
46682 sed 's/^/| /' conftest.$ac_ext >&5
46683
46684 wx_cv_type_getsockopt5=unknown
46685
46686 fi
46687
46688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46689
46690 fi
46691
46692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46693
46694
46695 fi
46696
46697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46698 ac_ext=c
46699 ac_cpp='$CPP $CPPFLAGS'
46700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46703
46704
46705 fi
46706 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46707 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46708
46709 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46710 wxUSE_SOCKETS=no
46711 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46712 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46713 else
46714 cat >>confdefs.h <<_ACEOF
46715 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46716 _ACEOF
46717
46718 fi
46719 fi
46720 fi
46721
46722 if test "$wxUSE_SOCKETS" = "yes" ; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_SOCKETS 1
46725 _ACEOF
46726
46727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46728 fi
46729
46730 if test "$wxUSE_PROTOCOL" = "yes"; then
46731 if test "$wxUSE_SOCKETS" != "yes"; then
46732 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46733 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46734 wxUSE_PROTOCOL=no
46735 fi
46736 fi
46737
46738 if test "$wxUSE_PROTOCOL" = "yes"; then
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_PROTOCOL 1
46741 _ACEOF
46742
46743
46744 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_PROTOCOL_HTTP 1
46747 _ACEOF
46748
46749 fi
46750 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46751 cat >>confdefs.h <<\_ACEOF
46752 #define wxUSE_PROTOCOL_FTP 1
46753 _ACEOF
46754
46755 fi
46756 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_PROTOCOL_FILE 1
46759 _ACEOF
46760
46761 fi
46762 else
46763 if test "$wxUSE_FS_INET" = "yes"; then
46764 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46765 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46766 wxUSE_FS_INET="no"
46767 fi
46768 fi
46769
46770 if test "$wxUSE_URL" = "yes"; then
46771 if test "$wxUSE_PROTOCOL" != "yes"; then
46772 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46773 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46774 wxUSE_URL=no
46775 fi
46776 if test "$wxUSE_URL" = "yes"; then
46777 cat >>confdefs.h <<\_ACEOF
46778 #define wxUSE_URL 1
46779 _ACEOF
46780
46781 fi
46782 fi
46783
46784 if test "$wxUSE_VARIANT" = "yes"; then
46785 cat >>confdefs.h <<\_ACEOF
46786 #define wxUSE_VARIANT 1
46787 _ACEOF
46788
46789 fi
46790
46791 if test "$wxUSE_FS_INET" = "yes"; then
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_FS_INET 1
46794 _ACEOF
46795
46796 fi
46797
46798
46799 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46800 wxUSE_JOYSTICK=no
46801
46802 if test "$TOOLKIT" = "MSW"; then
46803 wxUSE_JOYSTICK=yes
46804
46805 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46806 if test "$USE_DARWIN" = 1; then
46807 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46808 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46809 ac_ext=cpp
46810 ac_cpp='$CXXCPP $CPPFLAGS'
46811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46814
46815 cat >conftest.$ac_ext <<_ACEOF
46816 /* confdefs.h. */
46817 _ACEOF
46818 cat confdefs.h >>conftest.$ac_ext
46819 cat >>conftest.$ac_ext <<_ACEOF
46820 /* end confdefs.h. */
46821 #include <IOKit/hid/IOHIDLib.h>
46822 int
46823 main ()
46824 {
46825 IOHIDQueueInterface *qi = NULL;
46826 IOHIDCallbackFunction cb = NULL;
46827 qi->setEventCallout(NULL, cb, NULL, NULL);
46828 ;
46829 return 0;
46830 }
46831 _ACEOF
46832 rm -f conftest.$ac_objext
46833 if { (ac_try="$ac_compile"
46834 case "(($ac_try" in
46835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46836 *) ac_try_echo=$ac_try;;
46837 esac
46838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46839 (eval "$ac_compile") 2>conftest.er1
46840 ac_status=$?
46841 grep -v '^ *+' conftest.er1 >conftest.err
46842 rm -f conftest.er1
46843 cat conftest.err >&5
46844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46845 (exit $ac_status); } && {
46846 test -z "$ac_cxx_werror_flag" ||
46847 test ! -s conftest.err
46848 } && test -s conftest.$ac_objext; then
46849 wxUSE_JOYSTICK=yes
46850
46851 else
46852 echo "$as_me: failed program was:" >&5
46853 sed 's/^/| /' conftest.$ac_ext >&5
46854
46855
46856 fi
46857
46858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46859 ac_ext=c
46860 ac_cpp='$CPP $CPPFLAGS'
46861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46864
46865 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46866 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46867 fi
46868
46869 else
46870 if test "$wxUSE_MGL" != "1"; then
46871 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46872 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
46873 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46874 echo $ECHO_N "(cached) $ECHO_C" >&6
46875 else
46876 cat >conftest.$ac_ext <<_ACEOF
46877 /* confdefs.h. */
46878 _ACEOF
46879 cat confdefs.h >>conftest.$ac_ext
46880 cat >>conftest.$ac_ext <<_ACEOF
46881 /* end confdefs.h. */
46882 $ac_includes_default
46883
46884 #include <linux/joystick.h>
46885 _ACEOF
46886 rm -f conftest.$ac_objext
46887 if { (ac_try="$ac_compile"
46888 case "(($ac_try" in
46889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46890 *) ac_try_echo=$ac_try;;
46891 esac
46892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46893 (eval "$ac_compile") 2>conftest.er1
46894 ac_status=$?
46895 grep -v '^ *+' conftest.er1 >conftest.err
46896 rm -f conftest.er1
46897 cat conftest.err >&5
46898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899 (exit $ac_status); } && {
46900 test -z "$ac_c_werror_flag" ||
46901 test ! -s conftest.err
46902 } && test -s conftest.$ac_objext; then
46903 ac_cv_header_linux_joystick_h=yes
46904 else
46905 echo "$as_me: failed program was:" >&5
46906 sed 's/^/| /' conftest.$ac_ext >&5
46907
46908 ac_cv_header_linux_joystick_h=no
46909 fi
46910
46911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46912 fi
46913 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46914 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
46915 if test $ac_cv_header_linux_joystick_h = yes; then
46916 wxUSE_JOYSTICK=yes
46917 fi
46918
46919
46920 fi
46921 fi
46922
46923 if test "$wxUSE_JOYSTICK" = "yes"; then
46924 cat >>confdefs.h <<\_ACEOF
46925 #define wxUSE_JOYSTICK 1
46926 _ACEOF
46927
46928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46929 else
46930 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46931 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46932 fi
46933 fi
46934
46935
46936
46937 if test "$wxUSE_FONTMAP" = "yes" ; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_FONTMAP 1
46940 _ACEOF
46941
46942 fi
46943
46944 if test "$wxUSE_UNICODE" = "yes" ; then
46945 cat >>confdefs.h <<\_ACEOF
46946 #define wxUSE_UNICODE 1
46947 _ACEOF
46948
46949
46950 if test "$USE_WIN32" != 1; then
46951 wxUSE_UNICODE_MSLU=no
46952 fi
46953
46954 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46955 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46956 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46957 if test "${ac_cv_lib_unicows_main+set}" = set; then
46958 echo $ECHO_N "(cached) $ECHO_C" >&6
46959 else
46960 ac_check_lib_save_LIBS=$LIBS
46961 LIBS="-lunicows $LIBS"
46962 cat >conftest.$ac_ext <<_ACEOF
46963 /* confdefs.h. */
46964 _ACEOF
46965 cat confdefs.h >>conftest.$ac_ext
46966 cat >>conftest.$ac_ext <<_ACEOF
46967 /* end confdefs.h. */
46968
46969
46970 int
46971 main ()
46972 {
46973 return main ();
46974 ;
46975 return 0;
46976 }
46977 _ACEOF
46978 rm -f conftest.$ac_objext conftest$ac_exeext
46979 if { (ac_try="$ac_link"
46980 case "(($ac_try" in
46981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46982 *) ac_try_echo=$ac_try;;
46983 esac
46984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46985 (eval "$ac_link") 2>conftest.er1
46986 ac_status=$?
46987 grep -v '^ *+' conftest.er1 >conftest.err
46988 rm -f conftest.er1
46989 cat conftest.err >&5
46990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46991 (exit $ac_status); } && {
46992 test -z "$ac_c_werror_flag" ||
46993 test ! -s conftest.err
46994 } && test -s conftest$ac_exeext &&
46995 $as_test_x conftest$ac_exeext; then
46996 ac_cv_lib_unicows_main=yes
46997 else
46998 echo "$as_me: failed program was:" >&5
46999 sed 's/^/| /' conftest.$ac_ext >&5
47000
47001 ac_cv_lib_unicows_main=no
47002 fi
47003
47004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47005 conftest$ac_exeext conftest.$ac_ext
47006 LIBS=$ac_check_lib_save_LIBS
47007 fi
47008 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47009 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47010 if test $ac_cv_lib_unicows_main = yes; then
47011
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_UNICODE_MSLU 1
47014 _ACEOF
47015
47016
47017 else
47018
47019 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47020 Applications will only run on Windows NT/2000/XP!" >&5
47021 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47022 Applications will only run on Windows NT/2000/XP!" >&2;}
47023 wxUSE_UNICODE_MSLU=no
47024
47025 fi
47026
47027 fi
47028 fi
47029
47030 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47031 cat >>confdefs.h <<\_ACEOF
47032 #define wxUSE_UNICODE_UTF8 1
47033 _ACEOF
47034
47035
47036 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_UTF8_LOCALE_ONLY 1
47039 _ACEOF
47040
47041 fi
47042 fi
47043
47044 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_EXPERIMENTAL_PRINTF 1
47047 _ACEOF
47048
47049 fi
47050
47051
47052 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_CONSTRAINTS 1
47055 _ACEOF
47056
47057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47058 fi
47059
47060 if test "$wxUSE_MDI" = "yes"; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_MDI 1
47063 _ACEOF
47064
47065
47066 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_MDI_ARCHITECTURE 1
47069 _ACEOF
47070
47071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47072 fi
47073 fi
47074
47075 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47076 cat >>confdefs.h <<\_ACEOF
47077 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47078 _ACEOF
47079
47080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47081 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47083 fi
47084 fi
47085
47086 if test "$wxUSE_HELP" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_HELP 1
47089 _ACEOF
47090
47091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47092
47093 if test "$wxUSE_MSW" = 1; then
47094 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_MS_HTML_HELP 1
47097 _ACEOF
47098
47099 fi
47100 fi
47101
47102 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47103 if test "$wxUSE_HTML" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_WXHTML_HELP 1
47106 _ACEOF
47107
47108 else
47109 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47110 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47111 wxUSE_WXHTML_HELP=no
47112 fi
47113 fi
47114 fi
47115
47116 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47117 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47118 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47119 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47120 else
47121 cat >>confdefs.h <<\_ACEOF
47122 #define wxUSE_PRINTING_ARCHITECTURE 1
47123 _ACEOF
47124
47125 fi
47126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47127 fi
47128
47129 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_POSTSCRIPT 1
47132 _ACEOF
47133
47134 fi
47135
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47138 _ACEOF
47139
47140
47141 cat >>confdefs.h <<\_ACEOF
47142 #define wxUSE_NORMALIZED_PS_FONTS 1
47143 _ACEOF
47144
47145
47146 if test "$wxUSE_SVG" = "yes"; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_SVG 1
47149 _ACEOF
47150
47151 fi
47152
47153
47154 if test "$wxUSE_METAFILE" = "yes"; then
47155 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47156 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47157 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47158 wxUSE_METAFILE=no
47159 fi
47160 fi
47161
47162
47163 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47164 -o "$wxUSE_CLIPBOARD" = "yes" \
47165 -o "$wxUSE_OLE" = "yes" \
47166 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47167 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47168 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47169 if test "${ac_cv_header_ole2_h+set}" = set; then
47170 echo $ECHO_N "(cached) $ECHO_C" >&6
47171 else
47172 cat >conftest.$ac_ext <<_ACEOF
47173 /* confdefs.h. */
47174 _ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h. */
47178
47179
47180 #include <ole2.h>
47181 _ACEOF
47182 rm -f conftest.$ac_objext
47183 if { (ac_try="$ac_compile"
47184 case "(($ac_try" in
47185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47186 *) ac_try_echo=$ac_try;;
47187 esac
47188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47189 (eval "$ac_compile") 2>conftest.er1
47190 ac_status=$?
47191 grep -v '^ *+' conftest.er1 >conftest.err
47192 rm -f conftest.er1
47193 cat conftest.err >&5
47194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47195 (exit $ac_status); } && {
47196 test -z "$ac_c_werror_flag" ||
47197 test ! -s conftest.err
47198 } && test -s conftest.$ac_objext; then
47199 ac_cv_header_ole2_h=yes
47200 else
47201 echo "$as_me: failed program was:" >&5
47202 sed 's/^/| /' conftest.$ac_ext >&5
47203
47204 ac_cv_header_ole2_h=no
47205 fi
47206
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47208 fi
47209 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47210 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47211
47212
47213
47214 if test "$ac_cv_header_ole2_h" = "yes" ; then
47215 if test "$GCC" = yes ; then
47216 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47217 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47218 cat >conftest.$ac_ext <<_ACEOF
47219 /* confdefs.h. */
47220 _ACEOF
47221 cat confdefs.h >>conftest.$ac_ext
47222 cat >>conftest.$ac_ext <<_ACEOF
47223 /* end confdefs.h. */
47224 #include <windows.h>
47225 #include <ole2.h>
47226 int
47227 main ()
47228 {
47229
47230 ;
47231 return 0;
47232 }
47233 _ACEOF
47234 rm -f conftest.$ac_objext
47235 if { (ac_try="$ac_compile"
47236 case "(($ac_try" in
47237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47238 *) ac_try_echo=$ac_try;;
47239 esac
47240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47241 (eval "$ac_compile") 2>conftest.er1
47242 ac_status=$?
47243 grep -v '^ *+' conftest.er1 >conftest.err
47244 rm -f conftest.er1
47245 cat conftest.err >&5
47246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47247 (exit $ac_status); } && {
47248 test -z "$ac_c_werror_flag" ||
47249 test ! -s conftest.err
47250 } && test -s conftest.$ac_objext; then
47251 { echo "$as_me:$LINENO: result: no" >&5
47252 echo "${ECHO_T}no" >&6; }
47253 else
47254 echo "$as_me: failed program was:" >&5
47255 sed 's/^/| /' conftest.$ac_ext >&5
47256
47257 { echo "$as_me:$LINENO: result: yes" >&5
47258 echo "${ECHO_T}yes" >&6; }
47259 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47260 fi
47261
47262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47263 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47264 if test "$wxUSE_OLE" = "yes" ; then
47265 cat >>confdefs.h <<\_ACEOF
47266 #define wxUSE_OLE 1
47267 _ACEOF
47268
47269 cat >>confdefs.h <<\_ACEOF
47270 #define wxUSE_OLE_AUTOMATION 1
47271 _ACEOF
47272
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_ACTIVEX 1
47275 _ACEOF
47276
47277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47278 fi
47279 fi
47280
47281 if test "$wxUSE_DATAOBJ" = "yes" ; then
47282 cat >>confdefs.h <<\_ACEOF
47283 #define wxUSE_DATAOBJ 1
47284 _ACEOF
47285
47286 fi
47287 else
47288 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47289 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47290
47291 wxUSE_CLIPBOARD=no
47292 wxUSE_DRAG_AND_DROP=no
47293 wxUSE_DATAOBJ=no
47294 wxUSE_OLE=no
47295 fi
47296
47297 if test "$wxUSE_METAFILE" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_METAFILE 1
47300 _ACEOF
47301
47302
47303 cat >>confdefs.h <<\_ACEOF
47304 #define wxUSE_ENH_METAFILE 1
47305 _ACEOF
47306
47307 fi
47308 fi
47309
47310 if test "$wxUSE_IPC" = "yes"; then
47311 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47312 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47313 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47314 wxUSE_IPC=no
47315 fi
47316
47317 if test "$wxUSE_IPC" = "yes"; then
47318 cat >>confdefs.h <<\_ACEOF
47319 #define wxUSE_IPC 1
47320 _ACEOF
47321
47322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47323 fi
47324 fi
47325
47326 if test "$wxUSE_DATAOBJ" = "yes"; then
47327 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47328 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47329 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47330 wxUSE_DATAOBJ=no
47331 else
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_DATAOBJ 1
47334 _ACEOF
47335
47336 fi
47337 else
47338 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47339 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47340 wxUSE_CLIPBOARD=no
47341 wxUSE_DRAG_AND_DROP=no
47342 fi
47343
47344 if test "$wxUSE_CLIPBOARD" = "yes"; then
47345 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47346 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47347 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47348 wxUSE_CLIPBOARD=no
47349 fi
47350
47351 if test "$wxUSE_CLIPBOARD" = "yes"; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_CLIPBOARD 1
47354 _ACEOF
47355
47356 fi
47357 fi
47358
47359 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47360 if test "$wxUSE_GTK" = 1; then
47361 if test "$WXGTK12" != 1; then
47362 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47363 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47364 wxUSE_DRAG_AND_DROP=no
47365 fi
47366 fi
47367
47368 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47369 "$wxUSE_DFB" = 1; then
47370 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47371 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47372 wxUSE_DRAG_AND_DROP=no
47373 fi
47374
47375 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_DRAG_AND_DROP 1
47378 _ACEOF
47379
47380 fi
47381
47382 fi
47383
47384 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47386 fi
47387
47388 if test "$wxUSE_SPLINES" = "yes" ; then
47389 cat >>confdefs.h <<\_ACEOF
47390 #define wxUSE_SPLINES 1
47391 _ACEOF
47392
47393 fi
47394
47395 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_MOUSEWHEEL 1
47398 _ACEOF
47399
47400 fi
47401
47402
47403 USES_CONTROLS=0
47404 if test "$wxUSE_CONTROLS" = "yes"; then
47405 USES_CONTROLS=1
47406 fi
47407
47408 if test "$wxUSE_ACCEL" = "yes"; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_ACCEL 1
47411 _ACEOF
47412
47413 USES_CONTROLS=1
47414 fi
47415
47416 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_ANIMATIONCTRL 1
47419 _ACEOF
47420
47421 USES_CONTROLS=1
47422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47423 fi
47424
47425 if test "$wxUSE_BUTTON" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_BUTTON 1
47428 _ACEOF
47429
47430 USES_CONTROLS=1
47431 fi
47432
47433 if test "$wxUSE_BMPBUTTON" = "yes"; then
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_BMPBUTTON 1
47436 _ACEOF
47437
47438 USES_CONTROLS=1
47439 fi
47440
47441 if test "$wxUSE_CALCTRL" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_CALENDARCTRL 1
47444 _ACEOF
47445
47446 USES_CONTROLS=1
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47448 fi
47449
47450 if test "$wxUSE_CARET" = "yes"; then
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_CARET 1
47453 _ACEOF
47454
47455 USES_CONTROLS=1
47456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47457 fi
47458
47459 if test "$wxUSE_COLLPANE" = "yes"; then
47460 cat >>confdefs.h <<\_ACEOF
47461 #define wxUSE_COLLPANE 1
47462 _ACEOF
47463
47464 USES_CONTROLS=1
47465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47466 fi
47467
47468 if test "$wxUSE_COMBOBOX" = "yes"; then
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_COMBOBOX 1
47471 _ACEOF
47472
47473 USES_CONTROLS=1
47474 fi
47475
47476 if test "$wxUSE_COMBOCTRL" = "yes"; then
47477 cat >>confdefs.h <<\_ACEOF
47478 #define wxUSE_COMBOCTRL 1
47479 _ACEOF
47480
47481 USES_CONTROLS=1
47482 fi
47483
47484 if test "$wxUSE_CHOICE" = "yes"; then
47485 cat >>confdefs.h <<\_ACEOF
47486 #define wxUSE_CHOICE 1
47487 _ACEOF
47488
47489 USES_CONTROLS=1
47490 fi
47491
47492 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47493 cat >>confdefs.h <<\_ACEOF
47494 #define wxUSE_CHOICEBOOK 1
47495 _ACEOF
47496
47497 USES_CONTROLS=1
47498 fi
47499
47500 if test "$wxUSE_CHECKBOX" = "yes"; then
47501 cat >>confdefs.h <<\_ACEOF
47502 #define wxUSE_CHECKBOX 1
47503 _ACEOF
47504
47505 USES_CONTROLS=1
47506 fi
47507
47508 if test "$wxUSE_CHECKLST" = "yes"; then
47509 cat >>confdefs.h <<\_ACEOF
47510 #define wxUSE_CHECKLISTBOX 1
47511 _ACEOF
47512
47513 USES_CONTROLS=1
47514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47515 fi
47516
47517 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47518 cat >>confdefs.h <<\_ACEOF
47519 #define wxUSE_COLOURPICKERCTRL 1
47520 _ACEOF
47521
47522 USES_CONTROLS=1
47523 fi
47524
47525 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_DATEPICKCTRL 1
47528 _ACEOF
47529
47530 USES_CONTROLS=1
47531 fi
47532
47533 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_DIRPICKERCTRL 1
47536 _ACEOF
47537
47538 USES_CONTROLS=1
47539 fi
47540
47541 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47542 cat >>confdefs.h <<\_ACEOF
47543 #define wxUSE_FILEPICKERCTRL 1
47544 _ACEOF
47545
47546 USES_CONTROLS=1
47547 fi
47548
47549 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_FONTPICKERCTRL 1
47552 _ACEOF
47553
47554 USES_CONTROLS=1
47555 fi
47556
47557 if test "$wxUSE_DISPLAY" = "yes"; then
47558 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47559 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47560 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47561 wxUSE_DISPLAY=no
47562 else
47563 cat >>confdefs.h <<\_ACEOF
47564 #define wxUSE_DISPLAY 1
47565 _ACEOF
47566
47567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47568 fi
47569 fi
47570
47571 if test "$wxUSE_DETECT_SM" = "yes"; then
47572 cat >>confdefs.h <<\_ACEOF
47573 #define wxUSE_DETECT_SM 1
47574 _ACEOF
47575
47576 fi
47577
47578 if test "$wxUSE_GAUGE" = "yes"; then
47579 cat >>confdefs.h <<\_ACEOF
47580 #define wxUSE_GAUGE 1
47581 _ACEOF
47582
47583 USES_CONTROLS=1
47584 fi
47585
47586 if test "$wxUSE_GRID" = "yes"; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_GRID 1
47589 _ACEOF
47590
47591 USES_CONTROLS=1
47592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47593 fi
47594
47595 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_HYPERLINKCTRL 1
47598 _ACEOF
47599
47600 USES_CONTROLS=1
47601 fi
47602
47603 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_BITMAPCOMBOBOX 1
47606 _ACEOF
47607
47608 USES_CONTROLS=1
47609 fi
47610
47611 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47612 cat >>confdefs.h <<\_ACEOF
47613 #define wxUSE_DATAVIEWCTRL 1
47614 _ACEOF
47615
47616 USES_CONTROLS=1
47617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47618 fi
47619
47620 if test "$wxUSE_IMAGLIST" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_IMAGLIST 1
47623 _ACEOF
47624
47625 fi
47626
47627 if test "$wxUSE_LISTBOOK" = "yes"; then
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_LISTBOOK 1
47630 _ACEOF
47631
47632 USES_CONTROLS=1
47633 fi
47634
47635 if test "$wxUSE_LISTBOX" = "yes"; then
47636 cat >>confdefs.h <<\_ACEOF
47637 #define wxUSE_LISTBOX 1
47638 _ACEOF
47639
47640 USES_CONTROLS=1
47641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47642 fi
47643
47644 if test "$wxUSE_LISTCTRL" = "yes"; then
47645 if test "$wxUSE_IMAGLIST" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_LISTCTRL 1
47648 _ACEOF
47649
47650 USES_CONTROLS=1
47651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47652 else
47653 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47654 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47655 fi
47656 fi
47657
47658 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_EDITABLELISTBOX 1
47661 _ACEOF
47662
47663 USES_CONTROLS=1
47664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47665 fi
47666
47667 if test "$wxUSE_NOTEBOOK" = "yes"; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_NOTEBOOK 1
47670 _ACEOF
47671
47672 USES_CONTROLS=1
47673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47674 fi
47675
47676 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_ODCOMBOBOX 1
47679 _ACEOF
47680
47681 USES_CONTROLS=1
47682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47683 fi
47684
47685
47686 if test "$wxUSE_RADIOBOX" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_RADIOBOX 1
47689 _ACEOF
47690
47691 USES_CONTROLS=1
47692 fi
47693
47694 if test "$wxUSE_RADIOBTN" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_RADIOBTN 1
47697 _ACEOF
47698
47699 USES_CONTROLS=1
47700 fi
47701
47702 if test "$wxUSE_SASH" = "yes"; then
47703 cat >>confdefs.h <<\_ACEOF
47704 #define wxUSE_SASH 1
47705 _ACEOF
47706
47707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47708 fi
47709
47710 if test "$wxUSE_SCROLLBAR" = "yes"; then
47711 cat >>confdefs.h <<\_ACEOF
47712 #define wxUSE_SCROLLBAR 1
47713 _ACEOF
47714
47715 USES_CONTROLS=1
47716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47717 fi
47718
47719 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_SEARCHCTRL 1
47722 _ACEOF
47723
47724 USES_CONTROLS=1
47725 fi
47726
47727 if test "$wxUSE_SLIDER" = "yes"; then
47728 cat >>confdefs.h <<\_ACEOF
47729 #define wxUSE_SLIDER 1
47730 _ACEOF
47731
47732 USES_CONTROLS=1
47733 fi
47734
47735 if test "$wxUSE_SPINBTN" = "yes"; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_SPINBTN 1
47738 _ACEOF
47739
47740 USES_CONTROLS=1
47741 fi
47742
47743 if test "$wxUSE_SPINCTRL" = "yes"; then
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_SPINCTRL 1
47746 _ACEOF
47747
47748 USES_CONTROLS=1
47749 fi
47750
47751 if test "$wxUSE_SPLITTER" = "yes"; then
47752 cat >>confdefs.h <<\_ACEOF
47753 #define wxUSE_SPLITTER 1
47754 _ACEOF
47755
47756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47757 fi
47758
47759 if test "$wxUSE_STATBMP" = "yes"; then
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_STATBMP 1
47762 _ACEOF
47763
47764 USES_CONTROLS=1
47765 fi
47766
47767 if test "$wxUSE_STATBOX" = "yes"; then
47768 cat >>confdefs.h <<\_ACEOF
47769 #define wxUSE_STATBOX 1
47770 _ACEOF
47771
47772 USES_CONTROLS=1
47773 fi
47774
47775 if test "$wxUSE_STATTEXT" = "yes"; then
47776 cat >>confdefs.h <<\_ACEOF
47777 #define wxUSE_STATTEXT 1
47778 _ACEOF
47779
47780 USES_CONTROLS=1
47781 fi
47782
47783 if test "$wxUSE_STATLINE" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_STATLINE 1
47786 _ACEOF
47787
47788 USES_CONTROLS=1
47789 fi
47790
47791 if test "$wxUSE_STATUSBAR" = "yes"; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_NATIVE_STATUSBAR 1
47794 _ACEOF
47795
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_STATUSBAR 1
47798 _ACEOF
47799
47800 USES_CONTROLS=1
47801
47802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47803 fi
47804
47805 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_TAB_DIALOG 1
47808 _ACEOF
47809
47810 fi
47811
47812 if test "$wxUSE_TEXTCTRL" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_TEXTCTRL 1
47815 _ACEOF
47816
47817 USES_CONTROLS=1
47818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47819 fi
47820
47821 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47822 if test "$wxUSE_COCOA" = 1 ; then
47823 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47824 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47825 wxUSE_TOGGLEBTN=no
47826 fi
47827
47828 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_TOGGLEBTN 1
47831 _ACEOF
47832
47833 USES_CONTROLS=1
47834 fi
47835 fi
47836
47837 if test "$wxUSE_TOOLBAR" = "yes"; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_TOOLBAR 1
47840 _ACEOF
47841
47842 USES_CONTROLS=1
47843
47844 if test "$wxUSE_UNIVERSAL" = "yes"; then
47845 wxUSE_TOOLBAR_NATIVE="no"
47846 else
47847 wxUSE_TOOLBAR_NATIVE="yes"
47848 cat >>confdefs.h <<\_ACEOF
47849 #define wxUSE_TOOLBAR_NATIVE 1
47850 _ACEOF
47851
47852 fi
47853
47854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47855 fi
47856
47857 if test "$wxUSE_TOOLTIPS" = "yes"; then
47858 if test "$wxUSE_MOTIF" = 1; then
47859 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47860 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47861 else
47862 if test "$wxUSE_UNIVERSAL" = "yes"; then
47863 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47864 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47865 else
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_TOOLTIPS 1
47868 _ACEOF
47869
47870 fi
47871 fi
47872 fi
47873
47874 if test "$wxUSE_TREEBOOK" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_TREEBOOK 1
47877 _ACEOF
47878
47879 USES_CONTROLS=1
47880 fi
47881
47882 if test "$wxUSE_TOOLBOOK" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_TOOLBOOK 1
47885 _ACEOF
47886
47887 USES_CONTROLS=1
47888 fi
47889
47890 if test "$wxUSE_TREECTRL" = "yes"; then
47891 if test "$wxUSE_IMAGLIST" = "yes"; then
47892 cat >>confdefs.h <<\_ACEOF
47893 #define wxUSE_TREECTRL 1
47894 _ACEOF
47895
47896 USES_CONTROLS=1
47897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47898 else
47899 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47900 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47901 fi
47902 fi
47903
47904 if test "$wxUSE_POPUPWIN" = "yes"; then
47905 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47906 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47907 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47908 else
47909 if test "$wxUSE_PM" = 1; then
47910 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47911 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47912 else
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_POPUPWIN 1
47915 _ACEOF
47916
47917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47918
47919 USES_CONTROLS=1
47920 fi
47921 fi
47922 fi
47923
47924 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47925 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47926 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47927 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47928 else
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_DIALUP_MANAGER 1
47931 _ACEOF
47932
47933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47934 fi
47935 fi
47936
47937 if test "$wxUSE_TIPWINDOW" = "yes"; then
47938 if test "$wxUSE_PM" = 1; then
47939 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47940 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47941 else
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_TIPWINDOW 1
47944 _ACEOF
47945
47946 fi
47947 fi
47948
47949 if test "$USES_CONTROLS" = 1; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_CONTROLS 1
47952 _ACEOF
47953
47954 fi
47955
47956
47957 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_ACCESSIBILITY 1
47960 _ACEOF
47961
47962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47963 fi
47964
47965 if test "$wxUSE_DC_CACHEING" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_DC_CACHEING 1
47968 _ACEOF
47969
47970 fi
47971
47972 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47973 cat >>confdefs.h <<\_ACEOF
47974 #define wxUSE_DRAGIMAGE 1
47975 _ACEOF
47976
47977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47978 fi
47979
47980 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47981 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47982 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47983 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47984 else
47985 cat >>confdefs.h <<\_ACEOF
47986 #define wxUSE_EXCEPTIONS 1
47987 _ACEOF
47988
47989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47990 fi
47991 fi
47992
47993 USE_HTML=0
47994 if test "$wxUSE_HTML" = "yes"; then
47995 cat >>confdefs.h <<\_ACEOF
47996 #define wxUSE_HTML 1
47997 _ACEOF
47998
47999 USE_HTML=1
48000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48001 if test "$wxUSE_MAC" = 1; then
48002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48003 fi
48004 fi
48005 if test "$wxUSE_WEBKIT" = "yes"; then
48006 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48007 old_CPPFLAGS="$CPPFLAGS"
48008 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48009 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48010 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48011 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48012 echo $ECHO_N "(cached) $ECHO_C" >&6
48013 else
48014 cat >conftest.$ac_ext <<_ACEOF
48015 /* confdefs.h. */
48016 _ACEOF
48017 cat confdefs.h >>conftest.$ac_ext
48018 cat >>conftest.$ac_ext <<_ACEOF
48019 /* end confdefs.h. */
48020
48021 #include <Carbon/Carbon.h>
48022 #include <WebKit/WebKit.h>
48023
48024
48025 #include <WebKit/HIWebView.h>
48026 _ACEOF
48027 rm -f conftest.$ac_objext
48028 if { (ac_try="$ac_compile"
48029 case "(($ac_try" in
48030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48031 *) ac_try_echo=$ac_try;;
48032 esac
48033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48034 (eval "$ac_compile") 2>conftest.er1
48035 ac_status=$?
48036 grep -v '^ *+' conftest.er1 >conftest.err
48037 rm -f conftest.er1
48038 cat conftest.err >&5
48039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48040 (exit $ac_status); } && {
48041 test -z "$ac_c_werror_flag" ||
48042 test ! -s conftest.err
48043 } && test -s conftest.$ac_objext; then
48044 ac_cv_header_WebKit_HIWebView_h=yes
48045 else
48046 echo "$as_me: failed program was:" >&5
48047 sed 's/^/| /' conftest.$ac_ext >&5
48048
48049 ac_cv_header_WebKit_HIWebView_h=no
48050 fi
48051
48052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48053 fi
48054 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48055 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48056 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48057
48058 cat >>confdefs.h <<\_ACEOF
48059 #define wxUSE_WEBKIT 1
48060 _ACEOF
48061
48062 WEBKIT_LINK="-framework WebKit"
48063
48064 else
48065
48066 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48067 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48068 wxUSE_WEBKIT=no
48069
48070 fi
48071
48072
48073 CPPFLAGS="$old_CPPFLAGS"
48074 elif test "$wxUSE_COCOA" = 1; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_WEBKIT 1
48077 _ACEOF
48078
48079 else
48080 wxUSE_WEBKIT=no
48081 fi
48082 fi
48083
48084 USE_XRC=0
48085 if test "$wxUSE_XRC" = "yes"; then
48086 if test "$wxUSE_XML" != "yes"; then
48087 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48088 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48089 wxUSE_XRC=no
48090 else
48091 cat >>confdefs.h <<\_ACEOF
48092 #define wxUSE_XRC 1
48093 _ACEOF
48094
48095 USE_XRC=1
48096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48097 fi
48098 fi
48099
48100 USE_AUI=0
48101 if test "$wxUSE_AUI" = "yes"; then
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_AUI 1
48104 _ACEOF
48105
48106 USE_AUI=1
48107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48108 fi
48109
48110 USE_STC=0
48111 if test "$wxUSE_STC" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_STC 1
48114 _ACEOF
48115
48116 USE_STC=1
48117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48118 fi
48119
48120 if test "$wxUSE_MENUS" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_MENUS 1
48123 _ACEOF
48124
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48126 fi
48127
48128 if test "$wxUSE_METAFILE" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_METAFILE 1
48131 _ACEOF
48132
48133 fi
48134
48135 if test "$wxUSE_MIMETYPE" = "yes"; then
48136 cat >>confdefs.h <<\_ACEOF
48137 #define wxUSE_MIMETYPE 1
48138 _ACEOF
48139
48140 fi
48141
48142 if test "$wxUSE_MINIFRAME" = "yes"; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_MINIFRAME 1
48145 _ACEOF
48146
48147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48148 fi
48149
48150 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48151 cat >>confdefs.h <<\_ACEOF
48152 #define wxUSE_SYSTEM_OPTIONS 1
48153 _ACEOF
48154
48155 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
48156 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
48157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48158 fi
48159 fi
48160
48161
48162 if test "$wxUSE_VALIDATORS" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_VALIDATORS 1
48165 _ACEOF
48166
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48168 fi
48169
48170 if test "$wxUSE_PALETTE" = "yes" ; then
48171 if test "$wxUSE_DFB" = 1; then
48172 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48173 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48174 wxUSE_PALETTE=no
48175 else
48176 cat >>confdefs.h <<\_ACEOF
48177 #define wxUSE_PALETTE 1
48178 _ACEOF
48179
48180 fi
48181 fi
48182
48183 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48184 LIBS=" -lunicows $LIBS"
48185 fi
48186
48187 USE_RICHTEXT=0
48188 if test "$wxUSE_RICHTEXT" = "yes"; then
48189 cat >>confdefs.h <<\_ACEOF
48190 #define wxUSE_RICHTEXT 1
48191 _ACEOF
48192
48193 USE_RICHTEXT=1
48194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48195 fi
48196
48197
48198 if test "$wxUSE_IMAGE" = "yes" ; then
48199 cat >>confdefs.h <<\_ACEOF
48200 #define wxUSE_IMAGE 1
48201 _ACEOF
48202
48203
48204 if test "$wxUSE_GIF" = "yes" ; then
48205 cat >>confdefs.h <<\_ACEOF
48206 #define wxUSE_GIF 1
48207 _ACEOF
48208
48209 fi
48210
48211 if test "$wxUSE_PCX" = "yes" ; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_PCX 1
48214 _ACEOF
48215
48216 fi
48217
48218 if test "$wxUSE_TGA" = "yes" ; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_TGA 1
48221 _ACEOF
48222
48223 fi
48224
48225 if test "$wxUSE_IFF" = "yes" ; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_IFF 1
48228 _ACEOF
48229
48230 fi
48231
48232 if test "$wxUSE_PNM" = "yes" ; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_PNM 1
48235 _ACEOF
48236
48237 fi
48238
48239 if test "$wxUSE_XPM" = "yes" ; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_XPM 1
48242 _ACEOF
48243
48244 fi
48245
48246 if test "$wxUSE_ICO_CUR" = "yes" ; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_ICO_CUR 1
48249 _ACEOF
48250
48251 fi
48252 fi
48253
48254
48255 if test "$wxUSE_ABOUTDLG" = "yes"; then
48256 cat >>confdefs.h <<\_ACEOF
48257 #define wxUSE_ABOUTDLG 1
48258 _ACEOF
48259
48260 fi
48261
48262 if test "$wxUSE_CHOICEDLG" = "yes"; then
48263 cat >>confdefs.h <<\_ACEOF
48264 #define wxUSE_CHOICEDLG 1
48265 _ACEOF
48266
48267 fi
48268
48269 if test "$wxUSE_COLOURDLG" = "yes"; then
48270 cat >>confdefs.h <<\_ACEOF
48271 #define wxUSE_COLOURDLG 1
48272 _ACEOF
48273
48274 fi
48275
48276 if test "$wxUSE_FILEDLG" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_FILEDLG 1
48279 _ACEOF
48280
48281 fi
48282
48283 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_FINDREPLDLG 1
48286 _ACEOF
48287
48288 fi
48289
48290 if test "$wxUSE_FONTDLG" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_FONTDLG 1
48293 _ACEOF
48294
48295 fi
48296
48297 if test "$wxUSE_DIRDLG" = "yes"; then
48298 if test "$wxUSE_TREECTRL" != "yes"; then
48299 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48300 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48301 else
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_DIRDLG 1
48304 _ACEOF
48305
48306 fi
48307 fi
48308
48309 if test "$wxUSE_MSGDLG" = "yes"; then
48310 cat >>confdefs.h <<\_ACEOF
48311 #define wxUSE_MSGDLG 1
48312 _ACEOF
48313
48314 fi
48315
48316 if test "$wxUSE_NUMBERDLG" = "yes"; then
48317 cat >>confdefs.h <<\_ACEOF
48318 #define wxUSE_NUMBERDLG 1
48319 _ACEOF
48320
48321 fi
48322
48323 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48324 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48325 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48326 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48327 else
48328 cat >>confdefs.h <<\_ACEOF
48329 #define wxUSE_PROGRESSDLG 1
48330 _ACEOF
48331
48332 fi
48333 fi
48334
48335 if test "$wxUSE_SPLASH" = "yes"; then
48336 cat >>confdefs.h <<\_ACEOF
48337 #define wxUSE_SPLASH 1
48338 _ACEOF
48339
48340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48341 fi
48342
48343 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48344 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48345 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48346 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48347 else
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_STARTUP_TIPS 1
48350 _ACEOF
48351
48352 fi
48353 fi
48354
48355 if test "$wxUSE_TEXTDLG" = "yes"; then
48356 cat >>confdefs.h <<\_ACEOF
48357 #define wxUSE_TEXTDLG 1
48358 _ACEOF
48359
48360 fi
48361
48362 if test "$wxUSE_WIZARDDLG" = "yes"; then
48363 cat >>confdefs.h <<\_ACEOF
48364 #define wxUSE_WIZARDDLG 1
48365 _ACEOF
48366
48367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48368 fi
48369
48370
48371 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48372 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48373 cat >>confdefs.h <<\_ACEOF
48374 #define wxUSE_GRAPHICS_CONTEXT 1
48375 _ACEOF
48376
48377 elif test "$wxUSE_GTK" != 1; then
48378 cat >>confdefs.h <<\_ACEOF
48379 #define wxUSE_GRAPHICS_CONTEXT 1
48380 _ACEOF
48381
48382 else
48383
48384 pkg_failed=no
48385 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48386 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48387
48388 if test -n "$PKG_CONFIG"; then
48389 if test -n "$CAIRO_CFLAGS"; then
48390 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48391 else
48392 if test -n "$PKG_CONFIG" && \
48393 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48394 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48395 ac_status=$?
48396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48397 (exit $ac_status); }; then
48398 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48399 else
48400 pkg_failed=yes
48401 fi
48402 fi
48403 else
48404 pkg_failed=untried
48405 fi
48406 if test -n "$PKG_CONFIG"; then
48407 if test -n "$CAIRO_LIBS"; then
48408 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48409 else
48410 if test -n "$PKG_CONFIG" && \
48411 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48412 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48413 ac_status=$?
48414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48415 (exit $ac_status); }; then
48416 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48417 else
48418 pkg_failed=yes
48419 fi
48420 fi
48421 else
48422 pkg_failed=untried
48423 fi
48424
48425
48426
48427 if test $pkg_failed = yes; then
48428
48429 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48430 _pkg_short_errors_supported=yes
48431 else
48432 _pkg_short_errors_supported=no
48433 fi
48434 if test $_pkg_short_errors_supported = yes; then
48435 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48436 else
48437 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48438 fi
48439 # Put the nasty error message in config.log where it belongs
48440 echo "$CAIRO_PKG_ERRORS" >&5
48441
48442 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48443 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48444
48445 elif test $pkg_failed = untried; then
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 else
48450 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48451 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48452 { echo "$as_me:$LINENO: result: yes" >&5
48453 echo "${ECHO_T}yes" >&6; }
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_GRAPHICS_CONTEXT 1
48456 _ACEOF
48457
48458 fi
48459 fi
48460 fi
48461
48462
48463 USE_MEDIA=0
48464
48465 if test "$wxUSE_MEDIACTRL" = "yes"; then
48466 USE_MEDIA=1
48467
48468 if test "$wxUSE_GTK" = 1; then
48469 wxUSE_GSTREAMER="no"
48470
48471 GST_VERSION_MAJOR=0
48472 GST_VERSION_MINOR=10
48473 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48474
48475 if test "$wxUSE_GSTREAMER8" = "no"; then
48476
48477 pkg_failed=no
48478 { echo "$as_me:$LINENO: checking for GST" >&5
48479 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48480
48481 if test -n "$PKG_CONFIG"; then
48482 if test -n "$GST_CFLAGS"; then
48483 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48484 else
48485 if test -n "$PKG_CONFIG" && \
48486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48487 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48488 ac_status=$?
48489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48490 (exit $ac_status); }; then
48491 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48492 else
48493 pkg_failed=yes
48494 fi
48495 fi
48496 else
48497 pkg_failed=untried
48498 fi
48499 if test -n "$PKG_CONFIG"; then
48500 if test -n "$GST_LIBS"; then
48501 pkg_cv_GST_LIBS="$GST_LIBS"
48502 else
48503 if test -n "$PKG_CONFIG" && \
48504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48505 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48506 ac_status=$?
48507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48508 (exit $ac_status); }; then
48509 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48510 else
48511 pkg_failed=yes
48512 fi
48513 fi
48514 else
48515 pkg_failed=untried
48516 fi
48517
48518
48519
48520 if test $pkg_failed = yes; then
48521
48522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48523 _pkg_short_errors_supported=yes
48524 else
48525 _pkg_short_errors_supported=no
48526 fi
48527 if test $_pkg_short_errors_supported = yes; then
48528 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48529 else
48530 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48531 fi
48532 # Put the nasty error message in config.log where it belongs
48533 echo "$GST_PKG_ERRORS" >&5
48534
48535
48536 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48537 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48538 GST_VERSION_MINOR=8
48539
48540
48541 elif test $pkg_failed = untried; then
48542
48543 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48544 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48545 GST_VERSION_MINOR=8
48546
48547
48548 else
48549 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48550 GST_LIBS=$pkg_cv_GST_LIBS
48551 { echo "$as_me:$LINENO: result: yes" >&5
48552 echo "${ECHO_T}yes" >&6; }
48553
48554 wxUSE_GSTREAMER="yes"
48555 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48556
48557 fi
48558 else
48559 GST_VERSION_MINOR=8
48560 fi
48561
48562 if test $GST_VERSION_MINOR = "8"; then
48563 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48564
48565 pkg_failed=no
48566 { echo "$as_me:$LINENO: checking for GST" >&5
48567 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48568
48569 if test -n "$PKG_CONFIG"; then
48570 if test -n "$GST_CFLAGS"; then
48571 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48572 else
48573 if test -n "$PKG_CONFIG" && \
48574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48575 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48576 ac_status=$?
48577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48578 (exit $ac_status); }; then
48579 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48580 else
48581 pkg_failed=yes
48582 fi
48583 fi
48584 else
48585 pkg_failed=untried
48586 fi
48587 if test -n "$PKG_CONFIG"; then
48588 if test -n "$GST_LIBS"; then
48589 pkg_cv_GST_LIBS="$GST_LIBS"
48590 else
48591 if test -n "$PKG_CONFIG" && \
48592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48593 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48594 ac_status=$?
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; then
48597 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48598 else
48599 pkg_failed=yes
48600 fi
48601 fi
48602 else
48603 pkg_failed=untried
48604 fi
48605
48606
48607
48608 if test $pkg_failed = yes; then
48609
48610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48611 _pkg_short_errors_supported=yes
48612 else
48613 _pkg_short_errors_supported=no
48614 fi
48615 if test $_pkg_short_errors_supported = yes; then
48616 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48617 else
48618 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48619 fi
48620 # Put the nasty error message in config.log where it belongs
48621 echo "$GST_PKG_ERRORS" >&5
48622
48623
48624 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48625 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48626
48627 elif test $pkg_failed = untried; then
48628
48629 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48630 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48631
48632 else
48633 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48634 GST_LIBS=$pkg_cv_GST_LIBS
48635 { echo "$as_me:$LINENO: result: yes" >&5
48636 echo "${ECHO_T}yes" >&6; }
48637 wxUSE_GSTREAMER="yes"
48638 fi
48639 fi
48640
48641
48642 if test "$wxUSE_GSTREAMER" = "yes"; then
48643 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48644 LIBS="$GST_LIBS $LIBS"
48645
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_GSTREAMER 1
48648 _ACEOF
48649
48650 else
48651 USE_MEDIA=0
48652 fi
48653 fi
48654
48655 if test $USE_MEDIA = 1; then
48656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48657 cat >>confdefs.h <<\_ACEOF
48658 #define wxUSE_MEDIACTRL 1
48659 _ACEOF
48660
48661 fi
48662 fi
48663
48664
48665 if test "$cross_compiling" = "yes"; then
48666 OSINFO="\"$host\""
48667 else
48668 OSINFO=`uname -s -r -m`
48669 OSINFO="\"$OSINFO\""
48670 fi
48671
48672 cat >>confdefs.h <<_ACEOF
48673 #define WXWIN_OS_DESCRIPTION $OSINFO
48674 _ACEOF
48675
48676
48677
48678 if test "x$prefix" != "xNONE"; then
48679 wxPREFIX=$prefix
48680 else
48681 wxPREFIX=$ac_default_prefix
48682 fi
48683
48684 cat >>confdefs.h <<_ACEOF
48685 #define wxINSTALL_PREFIX "$wxPREFIX"
48686 _ACEOF
48687
48688
48689
48690
48691 STD_BASE_LIBS="base"
48692 STD_GUI_LIBS=""
48693 BUILT_WX_LIBS="base"
48694 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48695
48696 if test "$wxUSE_SOCKETS" = "yes" ; then
48697 STD_BASE_LIBS="net $STD_BASE_LIBS"
48698 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48699 fi
48700 if test "$wxUSE_ODBC" != "no" ; then
48701 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48702 fi
48703 if test "$wxUSE_XML" = "yes" ; then
48704 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48705 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48706 fi
48707
48708 if test "$wxUSE_GUI" = "yes"; then
48709 STD_GUI_LIBS="adv core"
48710 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48711
48712 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48713 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48714 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48715 fi
48716 if test "$wxUSE_ODBC" != "no" ; then
48717 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48718 fi
48719 if test "$wxUSE_HTML" = "yes" ; then
48720 STD_GUI_LIBS="html $STD_GUI_LIBS"
48721 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48722 fi
48723 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48724 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48725 fi
48726 if test "$wxUSE_OPENGL" = "yes" ; then
48727 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48728 fi
48729 if test "$wxUSE_AUI" = "yes" ; then
48730 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48731 fi
48732 if test "$wxUSE_STC" = "yes" ; then
48733 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48734 fi
48735 if test "$wxUSE_XRC" = "yes" ; then
48736 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48737 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48738 fi
48739 fi
48740
48741
48742
48743
48744
48745
48746
48747
48748 if test "$wxUSE_MAC" = 1 ; then
48749 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48750 if test "$USE_DARWIN" = 1; then
48751 LDFLAGS="$LDFLAGS -framework QuickTime"
48752 else
48753 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48754 fi
48755 fi
48756 if test "$USE_DARWIN" = 1; then
48757 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48758 else
48759 LDFLAGS="$LDFLAGS -lCarbonLib"
48760 fi
48761 fi
48762 if test "$wxUSE_COCOA" = 1 ; then
48763 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48764 if test "$wxUSE_MEDIACTRL" = "yes"; then
48765 LDFLAGS="$LDFLAGS -framework QuickTime"
48766 fi
48767 fi
48768 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48769 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48770 fi
48771
48772 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48773
48774 if test "$wxUSE_GUI" = "yes"; then
48775
48776
48777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48778 dynamic erase event exec font image minimal mobile \
48779 mobile/wxedit mobile/styles propsize render \
48780 rotate shaped svg taborder vscroll widgets"
48781
48782 if test "$wxUSE_MONOLITHIC" != "yes"; then
48783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48784 fi
48785 if test "$TOOLKIT" = "MSW"; then
48786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48787 if test "$wxUSE_UNIVERSAL" != "yes"; then
48788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48789 fi
48790 fi
48791 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48793 fi
48794 else
48795 SAMPLES_SUBDIRS="console"
48796 fi
48797
48798
48799 if test "x$INTELCC" = "xyes" ; then
48800 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48801 elif test "$GCC" = yes ; then
48802 CWARNINGS="-Wall -Wundef"
48803 fi
48804
48805 if test "x$INTELCXX" = "xyes" ; then
48806 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48807 elif test "$GXX" = yes ; then
48808 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48809 fi
48810
48811
48812 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48813 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48814
48815
48816 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48817 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48818 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48819 $CPPFLAGS `
48820
48821 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48822 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48823 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48824
48825 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48826
48827
48828 if test "x$MWCC" = "xyes"; then
48829
48830 CC="$CC -cwd source -I-"
48831 CXX="$CXX -cwd source -I-"
48832 fi
48833
48834
48835 LIBS=`echo $LIBS`
48836 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48837 EXTRALIBS_XML="$EXPAT_LINK"
48838 EXTRALIBS_HTML="$MSPACK_LINK"
48839 EXTRALIBS_ODBC="$ODBC_LINK"
48840 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48841 if test "$wxUSE_GUI" = "yes"; then
48842 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48843 fi
48844 if test "$wxUSE_OPENGL" = "yes"; then
48845 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48846 fi
48847
48848 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48849
48850 WXCONFIG_LIBS="$LIBS"
48851
48852 if test "$wxUSE_REGEX" = "builtin" ; then
48853 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48854 fi
48855 if test "$wxUSE_EXPAT" = "builtin" ; then
48856 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48857 fi
48858 if test "$wxUSE_ODBC" = "builtin" ; then
48859 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48860 fi
48861 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48862 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48863 fi
48864 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48865 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48866 fi
48867 if test "$wxUSE_LIBPNG" = "builtin" ; then
48868 wxconfig_3rdparty="png $wxconfig_3rdparty"
48869 fi
48870 if test "$wxUSE_ZLIB" = "builtin" ; then
48871 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48872 fi
48873
48874 for i in $wxconfig_3rdparty ; do
48875 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48876 done
48877
48878
48879 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48880 WXUNIV=1
48881
48882 case "$wxUNIV_THEMES" in
48883 ''|all)
48884 cat >>confdefs.h <<\_ACEOF
48885 #define wxUSE_ALL_THEMES 1
48886 _ACEOF
48887
48888 ;;
48889
48890 *)
48891 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48892 cat >>confdefs.h <<_ACEOF
48893 #define wxUSE_THEME_$t 1
48894 _ACEOF
48895
48896 done
48897 esac
48898 else
48899 WXUNIV=0
48900 fi
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910 if test $wxUSE_MONOLITHIC = "yes" ; then
48911 MONOLITHIC=1
48912 else
48913 MONOLITHIC=0
48914 fi
48915
48916 if test $wxUSE_PLUGINS = "yes" ; then
48917 USE_PLUGINS=1
48918 else
48919 USE_PLUGINS=0
48920 fi
48921
48922 if test $wxUSE_ODBC != "no" ; then
48923 USE_ODBC=1
48924 else
48925 USE_ODBC=0
48926 fi
48927
48928 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48929 USE_QA=1
48930 else
48931 USE_QA=0
48932 fi
48933
48934 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48935 OFFICIAL_BUILD=1
48936 else
48937 OFFICIAL_BUILD=0
48938 fi
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48966
48967
48968
48969
48970
48971
48972
48973
48974 case "$TOOLKIT" in
48975 GTK)
48976 TOOLKIT_DESC="GTK+"
48977 if test "$WXGTK20" = 1; then
48978 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48979 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48980 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48981 fi
48982 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48983 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48984 fi
48985 if test "$wxUSE_LIBHILDON" = "yes"; then
48986 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48987 fi
48988
48989 if test "$TOOLKIT_EXTRA" != ""; then
48990 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48991 fi
48992 fi
48993 ;;
48994
48995 ?*)
48996 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48997 ;;
48998
48999 *)
49000 TOOLKIT_DESC="base only"
49001 ;;
49002 esac
49003
49004 if test "$wxUSE_WINE" = "yes"; then
49005 BAKEFILE_FORCE_PLATFORM=win32
49006 fi
49007
49008 if test "$wxUSE_MAC" = 1 ; then
49009 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49010 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49011 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49012 else
49013 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49014 fi
49015 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49016 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49017 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49018 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49019 bk_use_pch=no
49020 fi
49021 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49022 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49023 fi
49024
49025 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49026 then
49027 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49028 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49029 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49030 echo $ECHO_N "(cached) $ECHO_C" >&6
49031 else
49032
49033 echo '#include <stdio.h>
49034 const wchar_t test_var[] = L"awidetest";' > conftest.h
49035
49036 echo '#include "conftest.h"
49037 int main()
49038 {
49039 printf("%ls", test_var);
49040 return 0;
49041 }' > conftest.cpp
49042
49043 wx_cv_gcc_pch_bug="pch not supported"
49044
49045 if $CXX conftest.h >/dev/null 2>&1
49046 then
49047 wx_cv_gcc_pch_bug=
49048
49049 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49050 then
49051 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49052 grep awidetest >/dev/null
49053 then
49054 wx_cv_gcc_pch_bug=no
49055 else
49056 wx_cv_gcc_pch_bug=yes
49057 fi
49058 fi
49059 fi
49060
49061 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49062
49063 fi
49064 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49065 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49066
49067 if test "$wx_cv_gcc_pch_bug" = yes; then
49068 bk_use_pch=no
49069 fi
49070 fi
49071
49072
49073
49074
49075 if test "x$BAKEFILE_HOST" = "x"; then
49076 if test "x${host}" = "x" ; then
49077 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49078 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49079 { (exit 1); exit 1; }; }
49080 fi
49081
49082 BAKEFILE_HOST="${host}"
49083 fi
49084
49085 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49086
49087 if test -n "$ac_tool_prefix"; then
49088 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49089 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49092 if test "${ac_cv_prog_RANLIB+set}" = set; then
49093 echo $ECHO_N "(cached) $ECHO_C" >&6
49094 else
49095 if test -n "$RANLIB"; then
49096 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49097 else
49098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49099 for as_dir in $PATH
49100 do
49101 IFS=$as_save_IFS
49102 test -z "$as_dir" && as_dir=.
49103 for ac_exec_ext in '' $ac_executable_extensions; do
49104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49105 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49107 break 2
49108 fi
49109 done
49110 done
49111 IFS=$as_save_IFS
49112
49113 fi
49114 fi
49115 RANLIB=$ac_cv_prog_RANLIB
49116 if test -n "$RANLIB"; then
49117 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49118 echo "${ECHO_T}$RANLIB" >&6; }
49119 else
49120 { echo "$as_me:$LINENO: result: no" >&5
49121 echo "${ECHO_T}no" >&6; }
49122 fi
49123
49124
49125 fi
49126 if test -z "$ac_cv_prog_RANLIB"; then
49127 ac_ct_RANLIB=$RANLIB
49128 # Extract the first word of "ranlib", so it can be a program name with args.
49129 set dummy ranlib; ac_word=$2
49130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49132 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49133 echo $ECHO_N "(cached) $ECHO_C" >&6
49134 else
49135 if test -n "$ac_ct_RANLIB"; then
49136 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49137 else
49138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49139 for as_dir in $PATH
49140 do
49141 IFS=$as_save_IFS
49142 test -z "$as_dir" && as_dir=.
49143 for ac_exec_ext in '' $ac_executable_extensions; do
49144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49145 ac_cv_prog_ac_ct_RANLIB="ranlib"
49146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49147 break 2
49148 fi
49149 done
49150 done
49151 IFS=$as_save_IFS
49152
49153 fi
49154 fi
49155 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49156 if test -n "$ac_ct_RANLIB"; then
49157 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49158 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49159 else
49160 { echo "$as_me:$LINENO: result: no" >&5
49161 echo "${ECHO_T}no" >&6; }
49162 fi
49163
49164 if test "x$ac_ct_RANLIB" = x; then
49165 RANLIB=":"
49166 else
49167 case $cross_compiling:$ac_tool_warned in
49168 yes:)
49169 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49170 whose name does not start with the host triplet. If you think this
49171 configuration is useful to you, please write to autoconf@gnu.org." >&5
49172 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49173 whose name does not start with the host triplet. If you think this
49174 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49175 ac_tool_warned=yes ;;
49176 esac
49177 RANLIB=$ac_ct_RANLIB
49178 fi
49179 else
49180 RANLIB="$ac_cv_prog_RANLIB"
49181 fi
49182
49183 # Find a good install program. We prefer a C program (faster),
49184 # so one script is as good as another. But avoid the broken or
49185 # incompatible versions:
49186 # SysV /etc/install, /usr/sbin/install
49187 # SunOS /usr/etc/install
49188 # IRIX /sbin/install
49189 # AIX /bin/install
49190 # AmigaOS /C/install, which installs bootblocks on floppy discs
49191 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49192 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49193 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49194 # OS/2's system install, which has a completely different semantic
49195 # ./install, which can be erroneously created by make from ./install.sh.
49196 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49197 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49198 if test -z "$INSTALL"; then
49199 if test "${ac_cv_path_install+set}" = set; then
49200 echo $ECHO_N "(cached) $ECHO_C" >&6
49201 else
49202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49203 for as_dir in $PATH
49204 do
49205 IFS=$as_save_IFS
49206 test -z "$as_dir" && as_dir=.
49207 # Account for people who put trailing slashes in PATH elements.
49208 case $as_dir/ in
49209 ./ | .// | /cC/* | \
49210 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49211 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49212 /usr/ucb/* ) ;;
49213 *)
49214 # OSF1 and SCO ODT 3.0 have their own names for install.
49215 # Don't use installbsd from OSF since it installs stuff as root
49216 # by default.
49217 for ac_prog in ginstall scoinst install; do
49218 for ac_exec_ext in '' $ac_executable_extensions; do
49219 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49220 if test $ac_prog = install &&
49221 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49222 # AIX install. It has an incompatible calling convention.
49223 :
49224 elif test $ac_prog = install &&
49225 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49226 # program-specific install script used by HP pwplus--don't use.
49227 :
49228 else
49229 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49230 break 3
49231 fi
49232 fi
49233 done
49234 done
49235 ;;
49236 esac
49237 done
49238 IFS=$as_save_IFS
49239
49240
49241 fi
49242 if test "${ac_cv_path_install+set}" = set; then
49243 INSTALL=$ac_cv_path_install
49244 else
49245 # As a last resort, use the slow shell script. Don't cache a
49246 # value for INSTALL within a source directory, because that will
49247 # break other packages using the cache if that directory is
49248 # removed, or if the value is a relative name.
49249 INSTALL=$ac_install_sh
49250 fi
49251 fi
49252 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49253 echo "${ECHO_T}$INSTALL" >&6; }
49254
49255 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49256 # It thinks the first close brace ends the variable substitution.
49257 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49258
49259 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49260
49261 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49262
49263 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49264 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49265 LN_S=$as_ln_s
49266 if test "$LN_S" = "ln -s"; then
49267 { echo "$as_me:$LINENO: result: yes" >&5
49268 echo "${ECHO_T}yes" >&6; }
49269 else
49270 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49271 echo "${ECHO_T}no, using $LN_S" >&6; }
49272 fi
49273
49274
49275 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49276 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49277 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49278 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49279 echo $ECHO_N "(cached) $ECHO_C" >&6
49280 else
49281 cat >conftest.make <<\_ACEOF
49282 SHELL = /bin/sh
49283 all:
49284 @echo '@@@%%%=$(MAKE)=@@@%%%'
49285 _ACEOF
49286 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49287 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49288 *@@@%%%=?*=@@@%%%*)
49289 eval ac_cv_prog_make_${ac_make}_set=yes;;
49290 *)
49291 eval ac_cv_prog_make_${ac_make}_set=no;;
49292 esac
49293 rm -f conftest.make
49294 fi
49295 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49296 { echo "$as_me:$LINENO: result: yes" >&5
49297 echo "${ECHO_T}yes" >&6; }
49298 SET_MAKE=
49299 else
49300 { echo "$as_me:$LINENO: result: no" >&5
49301 echo "${ECHO_T}no" >&6; }
49302 SET_MAKE="MAKE=${MAKE-make}"
49303 fi
49304
49305
49306
49307 if test "x$SUNCXX" = "xyes"; then
49308 AR=$CXX
49309 AROPTIONS="-xar -o"
49310
49311 elif test "x$SGICC" = "xyes"; then
49312 AR=$CXX
49313 AROPTIONS="-ar -o"
49314
49315 else
49316 if test -n "$ac_tool_prefix"; then
49317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49318 set dummy ${ac_tool_prefix}ar; ac_word=$2
49319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49321 if test "${ac_cv_prog_AR+set}" = set; then
49322 echo $ECHO_N "(cached) $ECHO_C" >&6
49323 else
49324 if test -n "$AR"; then
49325 ac_cv_prog_AR="$AR" # Let the user override the test.
49326 else
49327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49328 for as_dir in $PATH
49329 do
49330 IFS=$as_save_IFS
49331 test -z "$as_dir" && as_dir=.
49332 for ac_exec_ext in '' $ac_executable_extensions; do
49333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49334 ac_cv_prog_AR="${ac_tool_prefix}ar"
49335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49336 break 2
49337 fi
49338 done
49339 done
49340 IFS=$as_save_IFS
49341
49342 fi
49343 fi
49344 AR=$ac_cv_prog_AR
49345 if test -n "$AR"; then
49346 { echo "$as_me:$LINENO: result: $AR" >&5
49347 echo "${ECHO_T}$AR" >&6; }
49348 else
49349 { echo "$as_me:$LINENO: result: no" >&5
49350 echo "${ECHO_T}no" >&6; }
49351 fi
49352
49353
49354 fi
49355 if test -z "$ac_cv_prog_AR"; then
49356 ac_ct_AR=$AR
49357 # Extract the first word of "ar", so it can be a program name with args.
49358 set dummy ar; ac_word=$2
49359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49362 echo $ECHO_N "(cached) $ECHO_C" >&6
49363 else
49364 if test -n "$ac_ct_AR"; then
49365 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49366 else
49367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49368 for as_dir in $PATH
49369 do
49370 IFS=$as_save_IFS
49371 test -z "$as_dir" && as_dir=.
49372 for ac_exec_ext in '' $ac_executable_extensions; do
49373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49374 ac_cv_prog_ac_ct_AR="ar"
49375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49376 break 2
49377 fi
49378 done
49379 done
49380 IFS=$as_save_IFS
49381
49382 fi
49383 fi
49384 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49385 if test -n "$ac_ct_AR"; then
49386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49387 echo "${ECHO_T}$ac_ct_AR" >&6; }
49388 else
49389 { echo "$as_me:$LINENO: result: no" >&5
49390 echo "${ECHO_T}no" >&6; }
49391 fi
49392
49393 if test "x$ac_ct_AR" = x; then
49394 AR="ar"
49395 else
49396 case $cross_compiling:$ac_tool_warned in
49397 yes:)
49398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49399 whose name does not start with the host triplet. If you think this
49400 configuration is useful to you, please write to autoconf@gnu.org." >&5
49401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49402 whose name does not start with the host triplet. If you think this
49403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49404 ac_tool_warned=yes ;;
49405 esac
49406 AR=$ac_ct_AR
49407 fi
49408 else
49409 AR="$ac_cv_prog_AR"
49410 fi
49411
49412 AROPTIONS=rcu
49413 fi
49414
49415
49416 if test -n "$ac_tool_prefix"; then
49417 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49418 set dummy ${ac_tool_prefix}strip; ac_word=$2
49419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49421 if test "${ac_cv_prog_STRIP+set}" = set; then
49422 echo $ECHO_N "(cached) $ECHO_C" >&6
49423 else
49424 if test -n "$STRIP"; then
49425 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49426 else
49427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49428 for as_dir in $PATH
49429 do
49430 IFS=$as_save_IFS
49431 test -z "$as_dir" && as_dir=.
49432 for ac_exec_ext in '' $ac_executable_extensions; do
49433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49434 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49436 break 2
49437 fi
49438 done
49439 done
49440 IFS=$as_save_IFS
49441
49442 fi
49443 fi
49444 STRIP=$ac_cv_prog_STRIP
49445 if test -n "$STRIP"; then
49446 { echo "$as_me:$LINENO: result: $STRIP" >&5
49447 echo "${ECHO_T}$STRIP" >&6; }
49448 else
49449 { echo "$as_me:$LINENO: result: no" >&5
49450 echo "${ECHO_T}no" >&6; }
49451 fi
49452
49453
49454 fi
49455 if test -z "$ac_cv_prog_STRIP"; then
49456 ac_ct_STRIP=$STRIP
49457 # Extract the first word of "strip", so it can be a program name with args.
49458 set dummy strip; ac_word=$2
49459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49461 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49462 echo $ECHO_N "(cached) $ECHO_C" >&6
49463 else
49464 if test -n "$ac_ct_STRIP"; then
49465 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49466 else
49467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49468 for as_dir in $PATH
49469 do
49470 IFS=$as_save_IFS
49471 test -z "$as_dir" && as_dir=.
49472 for ac_exec_ext in '' $ac_executable_extensions; do
49473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49474 ac_cv_prog_ac_ct_STRIP="strip"
49475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49476 break 2
49477 fi
49478 done
49479 done
49480 IFS=$as_save_IFS
49481
49482 fi
49483 fi
49484 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49485 if test -n "$ac_ct_STRIP"; then
49486 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49487 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49488 else
49489 { echo "$as_me:$LINENO: result: no" >&5
49490 echo "${ECHO_T}no" >&6; }
49491 fi
49492
49493 if test "x$ac_ct_STRIP" = x; then
49494 STRIP=":"
49495 else
49496 case $cross_compiling:$ac_tool_warned in
49497 yes:)
49498 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49499 whose name does not start with the host triplet. If you think this
49500 configuration is useful to you, please write to autoconf@gnu.org." >&5
49501 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49502 whose name does not start with the host triplet. If you think this
49503 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49504 ac_tool_warned=yes ;;
49505 esac
49506 STRIP=$ac_ct_STRIP
49507 fi
49508 else
49509 STRIP="$ac_cv_prog_STRIP"
49510 fi
49511
49512 if test -n "$ac_tool_prefix"; then
49513 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49514 set dummy ${ac_tool_prefix}nm; ac_word=$2
49515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49517 if test "${ac_cv_prog_NM+set}" = set; then
49518 echo $ECHO_N "(cached) $ECHO_C" >&6
49519 else
49520 if test -n "$NM"; then
49521 ac_cv_prog_NM="$NM" # Let the user override the test.
49522 else
49523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49524 for as_dir in $PATH
49525 do
49526 IFS=$as_save_IFS
49527 test -z "$as_dir" && as_dir=.
49528 for ac_exec_ext in '' $ac_executable_extensions; do
49529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49530 ac_cv_prog_NM="${ac_tool_prefix}nm"
49531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49532 break 2
49533 fi
49534 done
49535 done
49536 IFS=$as_save_IFS
49537
49538 fi
49539 fi
49540 NM=$ac_cv_prog_NM
49541 if test -n "$NM"; then
49542 { echo "$as_me:$LINENO: result: $NM" >&5
49543 echo "${ECHO_T}$NM" >&6; }
49544 else
49545 { echo "$as_me:$LINENO: result: no" >&5
49546 echo "${ECHO_T}no" >&6; }
49547 fi
49548
49549
49550 fi
49551 if test -z "$ac_cv_prog_NM"; then
49552 ac_ct_NM=$NM
49553 # Extract the first word of "nm", so it can be a program name with args.
49554 set dummy nm; ac_word=$2
49555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49557 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49558 echo $ECHO_N "(cached) $ECHO_C" >&6
49559 else
49560 if test -n "$ac_ct_NM"; then
49561 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49562 else
49563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49564 for as_dir in $PATH
49565 do
49566 IFS=$as_save_IFS
49567 test -z "$as_dir" && as_dir=.
49568 for ac_exec_ext in '' $ac_executable_extensions; do
49569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49570 ac_cv_prog_ac_ct_NM="nm"
49571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49572 break 2
49573 fi
49574 done
49575 done
49576 IFS=$as_save_IFS
49577
49578 fi
49579 fi
49580 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49581 if test -n "$ac_ct_NM"; then
49582 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49583 echo "${ECHO_T}$ac_ct_NM" >&6; }
49584 else
49585 { echo "$as_me:$LINENO: result: no" >&5
49586 echo "${ECHO_T}no" >&6; }
49587 fi
49588
49589 if test "x$ac_ct_NM" = x; then
49590 NM=":"
49591 else
49592 case $cross_compiling:$ac_tool_warned in
49593 yes:)
49594 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49595 whose name does not start with the host triplet. If you think this
49596 configuration is useful to you, please write to autoconf@gnu.org." >&5
49597 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49598 whose name does not start with the host triplet. If you think this
49599 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49600 ac_tool_warned=yes ;;
49601 esac
49602 NM=$ac_ct_NM
49603 fi
49604 else
49605 NM="$ac_cv_prog_NM"
49606 fi
49607
49608
49609 case ${BAKEFILE_HOST} in
49610 *-hp-hpux* )
49611 INSTALL_DIR="mkdir -p"
49612 ;;
49613 * )
49614 INSTALL_DIR='$(INSTALL) -d'
49615 ;;
49616 esac
49617
49618
49619 LDFLAGS_GUI=
49620 case ${BAKEFILE_HOST} in
49621 *-*-cygwin* | *-*-mingw32* )
49622 LDFLAGS_GUI="-mwindows"
49623 esac
49624
49625
49626 fi
49627
49628 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49629 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49630 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49631 echo $ECHO_N "(cached) $ECHO_C" >&6
49632 else
49633
49634 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49635 egrep -s GNU > /dev/null); then
49636 bakefile_cv_prog_makeisgnu="yes"
49637 else
49638 bakefile_cv_prog_makeisgnu="no"
49639 fi
49640
49641 fi
49642 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49643 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49644
49645 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49646 IF_GNU_MAKE=""
49647 else
49648 IF_GNU_MAKE="#"
49649 fi
49650
49651
49652
49653 PLATFORM_UNIX=0
49654 PLATFORM_WIN32=0
49655 PLATFORM_MSDOS=0
49656 PLATFORM_MAC=0
49657 PLATFORM_MACOS=0
49658 PLATFORM_MACOSX=0
49659 PLATFORM_OS2=0
49660 PLATFORM_BEOS=0
49661
49662 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49663 case "${BAKEFILE_HOST}" in
49664 *-*-mingw32* )
49665 PLATFORM_WIN32=1
49666 ;;
49667 *-pc-msdosdjgpp )
49668 PLATFORM_MSDOS=1
49669 ;;
49670 *-pc-os2_emx | *-pc-os2-emx )
49671 PLATFORM_OS2=1
49672 ;;
49673 *-*-darwin* )
49674 PLATFORM_MAC=1
49675 PLATFORM_MACOSX=1
49676 ;;
49677 *-*-beos* )
49678 PLATFORM_BEOS=1
49679 ;;
49680 powerpc-apple-macos* )
49681 PLATFORM_MAC=1
49682 PLATFORM_MACOS=1
49683 ;;
49684 * )
49685 PLATFORM_UNIX=1
49686 ;;
49687 esac
49688 else
49689 case "$BAKEFILE_FORCE_PLATFORM" in
49690 win32 )
49691 PLATFORM_WIN32=1
49692 ;;
49693 msdos )
49694 PLATFORM_MSDOS=1
49695 ;;
49696 os2 )
49697 PLATFORM_OS2=1
49698 ;;
49699 darwin )
49700 PLATFORM_MAC=1
49701 PLATFORM_MACOSX=1
49702 ;;
49703 unix )
49704 PLATFORM_UNIX=1
49705 ;;
49706 beos )
49707 PLATFORM_BEOS=1
49708 ;;
49709 * )
49710 ;;
49711 esac
49712 fi
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724 # Check whether --enable-omf was given.
49725 if test "${enable_omf+set}" = set; then
49726 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49727 fi
49728
49729
49730 case "${BAKEFILE_HOST}" in
49731 *-*-darwin* )
49732 if test "x$GCC" = "xyes"; then
49733 CFLAGS="$CFLAGS -fno-common"
49734 CXXFLAGS="$CXXFLAGS -fno-common"
49735 fi
49736 if test "x$XLCC" = "xyes"; then
49737 CFLAGS="$CFLAGS -qnocommon"
49738 CXXFLAGS="$CXXFLAGS -qnocommon"
49739 fi
49740 ;;
49741
49742 *-pc-os2_emx | *-pc-os2-emx )
49743 if test "x$bk_os2_use_omf" = "xyes" ; then
49744 AR=emxomfar
49745 RANLIB=:
49746 LDFLAGS="-Zomf $LDFLAGS"
49747 CFLAGS="-Zomf $CFLAGS"
49748 CXXFLAGS="-Zomf $CXXFLAGS"
49749 OS2_LIBEXT="lib"
49750 else
49751 OS2_LIBEXT="a"
49752 fi
49753 ;;
49754
49755 i*86-*-beos* )
49756 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49757 ;;
49758 esac
49759
49760
49761 SO_SUFFIX="so"
49762 SO_SUFFIX_MODULE="so"
49763 EXEEXT=""
49764 LIBPREFIX="lib"
49765 LIBEXT=".a"
49766 DLLPREFIX="lib"
49767 DLLPREFIX_MODULE=""
49768 DLLIMP_SUFFIX=""
49769 dlldir="$libdir"
49770
49771 case "${BAKEFILE_HOST}" in
49772 *-hp-hpux* )
49773 SO_SUFFIX="sl"
49774 SO_SUFFIX_MODULE="sl"
49775 ;;
49776 *-*-aix* )
49777 SO_SUFFIX="a"
49778 SO_SUFFIX_MODULE="a"
49779 ;;
49780 *-*-cygwin* )
49781 SO_SUFFIX="dll"
49782 SO_SUFFIX_MODULE="dll"
49783 DLLIMP_SUFFIX="dll.a"
49784 EXEEXT=".exe"
49785 DLLPREFIX="cyg"
49786 dlldir="$bindir"
49787 ;;
49788 *-*-mingw32* )
49789 SO_SUFFIX="dll"
49790 SO_SUFFIX_MODULE="dll"
49791 DLLIMP_SUFFIX="dll.a"
49792 EXEEXT=".exe"
49793 DLLPREFIX=""
49794 dlldir="$bindir"
49795 ;;
49796 *-pc-msdosdjgpp )
49797 EXEEXT=".exe"
49798 DLLPREFIX=""
49799 dlldir="$bindir"
49800 ;;
49801 *-pc-os2_emx | *-pc-os2-emx )
49802 SO_SUFFIX="dll"
49803 SO_SUFFIX_MODULE="dll"
49804 DLLIMP_SUFFIX=$OS2_LIBEXT
49805 EXEEXT=".exe"
49806 DLLPREFIX=""
49807 LIBPREFIX=""
49808 LIBEXT=".$OS2_LIBEXT"
49809 dlldir="$bindir"
49810 ;;
49811 *-*-darwin* )
49812 SO_SUFFIX="dylib"
49813 SO_SUFFIX_MODULE="bundle"
49814 ;;
49815 esac
49816
49817 if test "x$DLLIMP_SUFFIX" = "x" ; then
49818 DLLIMP_SUFFIX="$SO_SUFFIX"
49819 fi
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832 PIC_FLAG=""
49833 if test "x$GCC" = "xyes"; then
49834 PIC_FLAG="-fPIC"
49835 fi
49836
49837 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49838 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49839 WINDOWS_IMPLIB=0
49840
49841 case "${BAKEFILE_HOST}" in
49842 *-hp-hpux* )
49843 if test "x$GCC" != "xyes"; then
49844 LDFLAGS="$LDFLAGS -L/usr/lib"
49845
49846 SHARED_LD_CC="${CC} -b -o"
49847 SHARED_LD_CXX="${CXX} -b -o"
49848 PIC_FLAG="+Z"
49849 fi
49850 ;;
49851
49852 *-*-linux* )
49853 if test "$INTELCC" = "yes"; then
49854 PIC_FLAG="-KPIC"
49855 elif test "x$SUNCXX" = "xyes"; then
49856 SHARED_LD_CC="${CC} -G -o"
49857 SHARED_LD_CXX="${CXX} -G -o"
49858 PIC_FLAG="-KPIC"
49859 fi
49860 ;;
49861
49862 *-*-solaris2* )
49863 if test "x$SUNCXX" = xyes ; then
49864 SHARED_LD_CC="${CC} -G -o"
49865 SHARED_LD_CXX="${CXX} -G -o"
49866 PIC_FLAG="-KPIC"
49867 fi
49868 ;;
49869
49870 *-*-darwin* )
49871
49872 D='$'
49873 cat <<EOF >shared-ld-sh
49874 #!/bin/sh
49875 #-----------------------------------------------------------------------------
49876 #-- Name: distrib/mac/shared-ld-sh
49877 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49878 #-- Author: Gilles Depeyrot
49879 #-- Copyright: (c) 2002 Gilles Depeyrot
49880 #-- Licence: any use permitted
49881 #-----------------------------------------------------------------------------
49882
49883 verbose=0
49884 args=""
49885 objects=""
49886 linking_flag="-dynamiclib"
49887 ldargs="-r -keep_private_externs -nostdlib"
49888
49889 while test ${D}# -gt 0; do
49890 case ${D}1 in
49891
49892 -v)
49893 verbose=1
49894 ;;
49895
49896 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49897 # collect these options and values
49898 args="${D}{args} ${D}1 ${D}2"
49899 shift
49900 ;;
49901
49902 -s|-Wl,*)
49903 # collect these load args
49904 ldargs="${D}{ldargs} ${D}1"
49905 ;;
49906
49907 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49908 # collect these options
49909 args="${D}{args} ${D}1"
49910 ;;
49911
49912 -dynamiclib|-bundle)
49913 linking_flag="${D}1"
49914 ;;
49915
49916 -*)
49917 echo "shared-ld: unhandled option '${D}1'"
49918 exit 1
49919 ;;
49920
49921 *.o | *.a | *.dylib)
49922 # collect object files
49923 objects="${D}{objects} ${D}1"
49924 ;;
49925
49926 *)
49927 echo "shared-ld: unhandled argument '${D}1'"
49928 exit 1
49929 ;;
49930
49931 esac
49932 shift
49933 done
49934
49935 status=0
49936
49937 #
49938 # Link one module containing all the others
49939 #
49940 if test ${D}{verbose} = 1; then
49941 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49942 fi
49943 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49944 status=${D}?
49945
49946 #
49947 # Link the shared library from the single module created, but only if the
49948 # previous command didn't fail:
49949 #
49950 if test ${D}{status} = 0; then
49951 if test ${D}{verbose} = 1; then
49952 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49953 fi
49954 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49955 status=${D}?
49956 fi
49957
49958 #
49959 # Remove intermediate module
49960 #
49961 rm -f master.${D}${D}.o
49962
49963 exit ${D}status
49964 EOF
49965
49966 chmod +x shared-ld-sh
49967
49968 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49969 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49970
49971
49972 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49973 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49974 if test "${bakefile_cv_gcc31+set}" = set; then
49975 echo $ECHO_N "(cached) $ECHO_C" >&6
49976 else
49977
49978 cat >conftest.$ac_ext <<_ACEOF
49979 /* confdefs.h. */
49980 _ACEOF
49981 cat confdefs.h >>conftest.$ac_ext
49982 cat >>conftest.$ac_ext <<_ACEOF
49983 /* end confdefs.h. */
49984
49985 int
49986 main ()
49987 {
49988
49989 #if (__GNUC__ < 3) || \
49990 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49991 This is old gcc
49992 #endif
49993
49994 ;
49995 return 0;
49996 }
49997 _ACEOF
49998 rm -f conftest.$ac_objext
49999 if { (ac_try="$ac_compile"
50000 case "(($ac_try" in
50001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50002 *) ac_try_echo=$ac_try;;
50003 esac
50004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50005 (eval "$ac_compile") 2>conftest.er1
50006 ac_status=$?
50007 grep -v '^ *+' conftest.er1 >conftest.err
50008 rm -f conftest.er1
50009 cat conftest.err >&5
50010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50011 (exit $ac_status); } && {
50012 test -z "$ac_c_werror_flag" ||
50013 test ! -s conftest.err
50014 } && test -s conftest.$ac_objext; then
50015
50016 bakefile_cv_gcc31=yes
50017
50018 else
50019 echo "$as_me: failed program was:" >&5
50020 sed 's/^/| /' conftest.$ac_ext >&5
50021
50022
50023 bakefile_cv_gcc31=no
50024
50025
50026 fi
50027
50028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029
50030 fi
50031 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50032 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50033 if test "$bakefile_cv_gcc31" = "no"; then
50034 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50035 SHARED_LD_CXX="$SHARED_LD_CC"
50036 else
50037 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50038 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50039 fi
50040
50041 if test "x$GCC" == "xyes"; then
50042 PIC_FLAG="-dynamic -fPIC"
50043 fi
50044 if test "x$XLCC" = "xyes"; then
50045 PIC_FLAG="-dynamic -DPIC"
50046 fi
50047 ;;
50048
50049 *-*-aix* )
50050 if test "x$GCC" = "xyes"; then
50051 PIC_FLAG=""
50052
50053 case "${BAKEFILE_HOST}" in
50054 *-*-aix5* )
50055 LD_EXPFULL="-Wl,-bexpfull"
50056 ;;
50057 esac
50058
50059 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50060 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50061 else
50062 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50063 set dummy makeC++SharedLib; ac_word=$2
50064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50066 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50067 echo $ECHO_N "(cached) $ECHO_C" >&6
50068 else
50069 if test -n "$AIX_CXX_LD"; then
50070 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50071 else
50072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50073 for as_dir in $PATH
50074 do
50075 IFS=$as_save_IFS
50076 test -z "$as_dir" && as_dir=.
50077 for ac_exec_ext in '' $ac_executable_extensions; do
50078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50079 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50081 break 2
50082 fi
50083 done
50084 done
50085 IFS=$as_save_IFS
50086
50087 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50088 fi
50089 fi
50090 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50091 if test -n "$AIX_CXX_LD"; then
50092 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50093 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50094 else
50095 { echo "$as_me:$LINENO: result: no" >&5
50096 echo "${ECHO_T}no" >&6; }
50097 fi
50098
50099
50100 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50101 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50102 fi
50103 ;;
50104
50105 *-*-beos* )
50106 SHARED_LD_CC="${LD} -nostart -o"
50107 SHARED_LD_CXX="${LD} -nostart -o"
50108 ;;
50109
50110 *-*-irix* )
50111 if test "x$GCC" != "xyes"; then
50112 PIC_FLAG="-KPIC"
50113 fi
50114 ;;
50115
50116 *-*-cygwin* | *-*-mingw32* )
50117 PIC_FLAG=""
50118 SHARED_LD_CC="\$(CC) -shared -o"
50119 SHARED_LD_CXX="\$(CXX) -shared -o"
50120 WINDOWS_IMPLIB=1
50121 ;;
50122
50123 *-pc-os2_emx | *-pc-os2-emx )
50124 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50125 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50126 PIC_FLAG=""
50127
50128 D='$'
50129 cat <<EOF >dllar.sh
50130 #!/bin/sh
50131 #
50132 # dllar - a tool to build both a .dll and an .a file
50133 # from a set of object (.o) files for EMX/OS2.
50134 #
50135 # Written by Andrew Zabolotny, bit@freya.etu.ru
50136 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50137 #
50138 # This script will accept a set of files on the command line.
50139 # All the public symbols from the .o files will be exported into
50140 # a .DEF file, then linker will be run (through gcc) against them to
50141 # build a shared library consisting of all given .o files. All libraries
50142 # (.a) will be first decompressed into component .o files then act as
50143 # described above. You can optionally give a description (-d "description")
50144 # which will be put into .DLL. To see the list of accepted options (as well
50145 # as command-line format) simply run this program without options. The .DLL
50146 # is built to be imported by name (there is no guarantee that new versions
50147 # of the library you build will have same ordinals for same symbols).
50148 #
50149 # dllar is free software; you can redistribute it and/or modify
50150 # it under the terms of the GNU General Public License as published by
50151 # the Free Software Foundation; either version 2, or (at your option)
50152 # any later version.
50153 #
50154 # dllar is distributed in the hope that it will be useful,
50155 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50156 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50157 # GNU General Public License for more details.
50158 #
50159 # You should have received a copy of the GNU General Public License
50160 # along with dllar; see the file COPYING. If not, write to the Free
50161 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50162 # 02111-1307, USA.
50163
50164 # To successfuly run this program you will need:
50165 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50166 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50167 # - gcc
50168 # (used to build the .dll)
50169 # - emxexp
50170 # (used to create .def file from .o files)
50171 # - emximp
50172 # (used to create .a file from .def file)
50173 # - GNU text utilites (cat, sort, uniq)
50174 # used to process emxexp output
50175 # - GNU file utilities (mv, rm)
50176 # - GNU sed
50177 # - lxlite (optional, see flag below)
50178 # (used for general .dll cleanup)
50179 #
50180
50181 flag_USE_LXLITE=1;
50182
50183 #
50184 # helper functions
50185 # basnam, variant of basename, which does _not_ remove the path, _iff_
50186 # second argument (suffix to remove) is given
50187 basnam(){
50188 case ${D}# in
50189 1)
50190 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50191 ;;
50192 2)
50193 echo ${D}1 | sed 's/'${D}2'${D}//'
50194 ;;
50195 *)
50196 echo "error in basnam ${D}*"
50197 exit 8
50198 ;;
50199 esac
50200 }
50201
50202 # Cleanup temporary files and output
50203 CleanUp() {
50204 cd ${D}curDir
50205 for i in ${D}inputFiles ; do
50206 case ${D}i in
50207 *!)
50208 rm -rf \`basnam ${D}i !\`
50209 ;;
50210 *)
50211 ;;
50212 esac
50213 done
50214
50215 # Kill result in case of failure as there is just to many stupid make/nmake
50216 # things out there which doesn't do this.
50217 if [ ${D}# -eq 0 ]; then
50218 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50219 fi
50220 }
50221
50222 # Print usage and exit script with rc=1.
50223 PrintHelp() {
50224 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50225 echo ' [-name-mangler-script script.sh]'
50226 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50227 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50228 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50229 echo ' [*.o] [*.a]'
50230 echo '*> "output_file" should have no extension.'
50231 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50232 echo ' The import library name is derived from this and is set to "name".a,'
50233 echo ' unless overridden by -import'
50234 echo '*> "importlib_name" should have no extension.'
50235 echo ' If it has the .o, or .a extension, it is automatically removed.'
50236 echo ' This name is used as the import library name and may be longer and'
50237 echo ' more descriptive than the DLL name which has to follow the old '
50238 echo ' 8.3 convention of FAT.'
50239 echo '*> "script.sh may be given to override the output_file name by a'
50240 echo ' different name. It is mainly useful if the regular make process'
50241 echo ' of some package does not take into account OS/2 restriction of'
50242 echo ' DLL name lengths. It takes the importlib name as input and is'
50243 echo ' supposed to procude a shorter name as output. The script should'
50244 echo ' expect to get importlib_name without extension and should produce'
50245 echo ' a (max.) 8 letter name without extension.'
50246 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50247 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50248 echo ' These flags will be put at the start of GCC command line.'
50249 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50250 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50251 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50252 echo ' If the last character of a symbol is "*", all symbols beginning'
50253 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50254 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50255 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50256 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50257 echo ' C runtime DLLs.'
50258 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50259 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50260 echo ' unchanged to GCC at the end of command line.'
50261 echo '*> If you create a DLL from a library and you do not specify -o,'
50262 echo ' the basename for DLL and import library will be set to library name,'
50263 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50264 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50265 echo ' library will be renamed into gcc_s.a.'
50266 echo '--------'
50267 echo 'Example:'
50268 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50269 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50270 CleanUp
50271 exit 1
50272 }
50273
50274 # Execute a command.
50275 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50276 # @Uses Whatever CleanUp() uses.
50277 doCommand() {
50278 echo "${D}*"
50279 eval ${D}*
50280 rcCmd=${D}?
50281
50282 if [ ${D}rcCmd -ne 0 ]; then
50283 echo "command failed, exit code="${D}rcCmd
50284 CleanUp
50285 exit ${D}rcCmd
50286 fi
50287 }
50288
50289 # main routine
50290 # setup globals
50291 cmdLine=${D}*
50292 outFile=""
50293 outimpFile=""
50294 inputFiles=""
50295 renameScript=""
50296 description=""
50297 CC=gcc.exe
50298 CFLAGS="-s -Zcrtdll"
50299 EXTRA_CFLAGS=""
50300 EXPORT_BY_ORDINALS=0
50301 exclude_symbols=""
50302 library_flags=""
50303 curDir=\`pwd\`
50304 curDirS=curDir
50305 case ${D}curDirS in
50306 */)
50307 ;;
50308 *)
50309 curDirS=${D}{curDirS}"/"
50310 ;;
50311 esac
50312 # Parse commandline
50313 libsToLink=0
50314 omfLinking=0
50315 while [ ${D}1 ]; do
50316 case ${D}1 in
50317 -ord*)
50318 EXPORT_BY_ORDINALS=1;
50319 ;;
50320 -o*)
50321 shift
50322 outFile=${D}1
50323 ;;
50324 -i*)
50325 shift
50326 outimpFile=${D}1
50327 ;;
50328 -name-mangler-script)
50329 shift
50330 renameScript=${D}1
50331 ;;
50332 -d*)
50333 shift
50334 description=${D}1
50335 ;;
50336 -f*)
50337 shift
50338 CFLAGS=${D}1
50339 ;;
50340 -c*)
50341 shift
50342 CC=${D}1
50343 ;;
50344 -h*)
50345 PrintHelp
50346 ;;
50347 -ex*)
50348 shift
50349 exclude_symbols=${D}{exclude_symbols}${D}1" "
50350 ;;
50351 -libf*)
50352 shift
50353 library_flags=${D}{library_flags}${D}1" "
50354 ;;
50355 -nocrt*)
50356 CFLAGS="-s"
50357 ;;
50358 -nolxl*)
50359 flag_USE_LXLITE=0
50360 ;;
50361 -* | /*)
50362 case ${D}1 in
50363 -L* | -l*)
50364 libsToLink=1
50365 ;;
50366 -Zomf)
50367 omfLinking=1
50368 ;;
50369 *)
50370 ;;
50371 esac
50372 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50373 ;;
50374 *.dll)
50375 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50376 if [ ${D}omfLinking -eq 1 ]; then
50377 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50378 else
50379 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50380 fi
50381 ;;
50382 *)
50383 found=0;
50384 if [ ${D}libsToLink -ne 0 ]; then
50385 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50386 else
50387 for file in ${D}1 ; do
50388 if [ -f ${D}file ]; then
50389 inputFiles="${D}{inputFiles} ${D}file"
50390 found=1
50391 fi
50392 done
50393 if [ ${D}found -eq 0 ]; then
50394 echo "ERROR: No file(s) found: "${D}1
50395 exit 8
50396 fi
50397 fi
50398 ;;
50399 esac
50400 shift
50401 done # iterate cmdline words
50402
50403 #
50404 if [ -z "${D}inputFiles" ]; then
50405 echo "dllar: no input files"
50406 PrintHelp
50407 fi
50408
50409 # Now extract all .o files from .a files
50410 newInputFiles=""
50411 for file in ${D}inputFiles ; do
50412 case ${D}file in
50413 *.a | *.lib)
50414 case ${D}file in
50415 *.a)
50416 suffix=".a"
50417 AR="ar"
50418 ;;
50419 *.lib)
50420 suffix=".lib"
50421 AR="emxomfar"
50422 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50423 ;;
50424 *)
50425 ;;
50426 esac
50427 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50428 mkdir ${D}dirname
50429 if [ ${D}? -ne 0 ]; then
50430 echo "Failed to create subdirectory ./${D}dirname"
50431 CleanUp
50432 exit 8;
50433 fi
50434 # Append '!' to indicate archive
50435 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50436 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50437 cd ${D}curDir
50438 found=0;
50439 for subfile in ${D}dirname/*.o* ; do
50440 if [ -f ${D}subfile ]; then
50441 found=1
50442 if [ -s ${D}subfile ]; then
50443 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50444 newInputFiles="${D}newInputFiles ${D}subfile"
50445 fi
50446 fi
50447 done
50448 if [ ${D}found -eq 0 ]; then
50449 echo "WARNING: there are no files in archive \\'${D}file\\'"
50450 fi
50451 ;;
50452 *)
50453 newInputFiles="${D}{newInputFiles} ${D}file"
50454 ;;
50455 esac
50456 done
50457 inputFiles="${D}newInputFiles"
50458
50459 # Output filename(s).
50460 do_backup=0;
50461 if [ -z ${D}outFile ]; then
50462 do_backup=1;
50463 set outFile ${D}inputFiles; outFile=${D}2
50464 fi
50465
50466 # If it is an archive, remove the '!' and the '_%' suffixes
50467 case ${D}outFile in
50468 *_%!)
50469 outFile=\`basnam ${D}outFile _%!\`
50470 ;;
50471 *)
50472 ;;
50473 esac
50474 case ${D}outFile in
50475 *.dll)
50476 outFile=\`basnam ${D}outFile .dll\`
50477 ;;
50478 *.DLL)
50479 outFile=\`basnam ${D}outFile .DLL\`
50480 ;;
50481 *.o)
50482 outFile=\`basnam ${D}outFile .o\`
50483 ;;
50484 *.obj)
50485 outFile=\`basnam ${D}outFile .obj\`
50486 ;;
50487 *.a)
50488 outFile=\`basnam ${D}outFile .a\`
50489 ;;
50490 *.lib)
50491 outFile=\`basnam ${D}outFile .lib\`
50492 ;;
50493 *)
50494 ;;
50495 esac
50496 case ${D}outimpFile in
50497 *.a)
50498 outimpFile=\`basnam ${D}outimpFile .a\`
50499 ;;
50500 *.lib)
50501 outimpFile=\`basnam ${D}outimpFile .lib\`
50502 ;;
50503 *)
50504 ;;
50505 esac
50506 if [ -z ${D}outimpFile ]; then
50507 outimpFile=${D}outFile
50508 fi
50509 defFile="${D}{outFile}.def"
50510 arcFile="${D}{outimpFile}.a"
50511 arcFile2="${D}{outimpFile}.lib"
50512
50513 #create ${D}dllFile as something matching 8.3 restrictions,
50514 if [ -z ${D}renameScript ] ; then
50515 dllFile="${D}outFile"
50516 else
50517 dllFile=\`${D}renameScript ${D}outimpFile\`
50518 fi
50519
50520 if [ ${D}do_backup -ne 0 ] ; then
50521 if [ -f ${D}arcFile ] ; then
50522 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50523 fi
50524 if [ -f ${D}arcFile2 ] ; then
50525 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50526 fi
50527 fi
50528
50529 # Extract public symbols from all the object files.
50530 tmpdefFile=${D}{defFile}_%
50531 rm -f ${D}tmpdefFile
50532 for file in ${D}inputFiles ; do
50533 case ${D}file in
50534 *!)
50535 ;;
50536 *)
50537 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50538 ;;
50539 esac
50540 done
50541
50542 # Create the def file.
50543 rm -f ${D}defFile
50544 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50545 dllFile="${D}{dllFile}.dll"
50546 if [ ! -z ${D}description ]; then
50547 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50548 fi
50549 echo "EXPORTS" >> ${D}defFile
50550
50551 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50552 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50553
50554 # Checks if the export is ok or not.
50555 for word in ${D}exclude_symbols; do
50556 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50557 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50558 done
50559
50560
50561 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50562 sed "=" < ${D}tmpdefFile | \\
50563 sed '
50564 N
50565 : loop
50566 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50567 t loop
50568 ' > ${D}{tmpdefFile}%
50569 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50570 else
50571 rm -f ${D}{tmpdefFile}%
50572 fi
50573 cat ${D}tmpdefFile >> ${D}defFile
50574 rm -f ${D}tmpdefFile
50575
50576 # Do linking, create implib, and apply lxlite.
50577 gccCmdl="";
50578 for file in ${D}inputFiles ; do
50579 case ${D}file in
50580 *!)
50581 ;;
50582 *)
50583 gccCmdl="${D}gccCmdl ${D}file"
50584 ;;
50585 esac
50586 done
50587 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50588 touch "${D}{outFile}.dll"
50589
50590 doCommand "emximp -o ${D}arcFile ${D}defFile"
50591 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50592 add_flags="";
50593 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50594 add_flags="-ynd"
50595 fi
50596 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50597 fi
50598 doCommand "emxomf -s -l ${D}arcFile"
50599
50600 # Successful exit.
50601 CleanUp 1
50602 exit 0
50603 EOF
50604
50605 chmod +x dllar.sh
50606 ;;
50607
50608 powerpc-apple-macos* | \
50609 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50610 *-*-mirbsd* | \
50611 *-*-sunos4* | \
50612 *-*-osf* | \
50613 *-*-dgux5* | \
50614 *-*-sysv5* | \
50615 *-pc-msdosdjgpp )
50616 ;;
50617
50618 *)
50619 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50620 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50621 { (exit 1); exit 1; }; }
50622 esac
50623
50624 if test "x$PIC_FLAG" != "x" ; then
50625 PIC_FLAG="$PIC_FLAG -DPIC"
50626 fi
50627
50628 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50629 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50630 fi
50631 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50632 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50633 fi
50634
50635
50636
50637
50638
50639
50640
50641
50642
50643 USE_SOVERSION=0
50644 USE_SOVERLINUX=0
50645 USE_SOVERSOLARIS=0
50646 USE_SOVERCYGWIN=0
50647 USE_SOSYMLINKS=0
50648 USE_MACVERSION=0
50649 SONAME_FLAG=
50650
50651 case "${BAKEFILE_HOST}" in
50652 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50653 if test "x$SUNCXX" = "xyes"; then
50654 SONAME_FLAG="-h "
50655 else
50656 SONAME_FLAG="-Wl,-soname,"
50657 fi
50658 USE_SOVERSION=1
50659 USE_SOVERLINUX=1
50660 USE_SOSYMLINKS=1
50661 ;;
50662
50663 *-*-solaris2* )
50664 SONAME_FLAG="-h "
50665 USE_SOVERSION=1
50666 USE_SOVERSOLARIS=1
50667 USE_SOSYMLINKS=1
50668 ;;
50669
50670 *-*-darwin* )
50671 USE_MACVERSION=1
50672 USE_SOVERSION=1
50673 USE_SOSYMLINKS=1
50674 ;;
50675
50676 *-*-cygwin* )
50677 USE_SOVERSION=1
50678 USE_SOVERCYGWIN=1
50679 ;;
50680 esac
50681
50682
50683
50684
50685
50686
50687
50688
50689
50690
50691 # Check whether --enable-dependency-tracking was given.
50692 if test "${enable_dependency_tracking+set}" = set; then
50693 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50694 fi
50695
50696
50697 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50698 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50699
50700 BK_DEPS=""
50701 if test "x$bk_use_trackdeps" = "xno" ; then
50702 DEPS_TRACKING=0
50703 { echo "$as_me:$LINENO: result: disabled" >&5
50704 echo "${ECHO_T}disabled" >&6; }
50705 else
50706 DEPS_TRACKING=1
50707
50708 if test "x$GCC" = "xyes"; then
50709 DEPSMODE=gcc
50710 case "${BAKEFILE_HOST}" in
50711 *-*-darwin* )
50712 DEPSFLAG="-no-cpp-precomp -MMD"
50713 ;;
50714 * )
50715 DEPSFLAG="-MMD"
50716 ;;
50717 esac
50718 { echo "$as_me:$LINENO: result: gcc" >&5
50719 echo "${ECHO_T}gcc" >&6; }
50720 elif test "x$MWCC" = "xyes"; then
50721 DEPSMODE=mwcc
50722 DEPSFLAG="-MM"
50723 { echo "$as_me:$LINENO: result: mwcc" >&5
50724 echo "${ECHO_T}mwcc" >&6; }
50725 elif test "x$SUNCC" = "xyes"; then
50726 DEPSMODE=unixcc
50727 DEPSFLAG="-xM1"
50728 { echo "$as_me:$LINENO: result: Sun cc" >&5
50729 echo "${ECHO_T}Sun cc" >&6; }
50730 elif test "x$SGICC" = "xyes"; then
50731 DEPSMODE=unixcc
50732 DEPSFLAG="-M"
50733 { echo "$as_me:$LINENO: result: SGI cc" >&5
50734 echo "${ECHO_T}SGI cc" >&6; }
50735 elif test "x$HPCC" = "xyes"; then
50736 DEPSMODE=unixcc
50737 DEPSFLAG="+make"
50738 { echo "$as_me:$LINENO: result: HP cc" >&5
50739 echo "${ECHO_T}HP cc" >&6; }
50740 elif test "x$COMPAQCC" = "xyes"; then
50741 DEPSMODE=gcc
50742 DEPSFLAG="-MD"
50743 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50744 echo "${ECHO_T}Compaq cc" >&6; }
50745 else
50746 DEPS_TRACKING=0
50747 { echo "$as_me:$LINENO: result: none" >&5
50748 echo "${ECHO_T}none" >&6; }
50749 fi
50750
50751 if test $DEPS_TRACKING = 1 ; then
50752
50753 D='$'
50754 cat <<EOF >bk-deps
50755 #!/bin/sh
50756
50757 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50758 # script. It is used to track C/C++ files dependencies in portable way.
50759 #
50760 # Permission is given to use this file in any way.
50761
50762 DEPSMODE=${DEPSMODE}
50763 DEPSDIR=.deps
50764 DEPSFLAG="${DEPSFLAG}"
50765
50766 mkdir -p ${D}DEPSDIR
50767
50768 if test ${D}DEPSMODE = gcc ; then
50769 ${D}* ${D}{DEPSFLAG}
50770 status=${D}?
50771 if test ${D}{status} != 0 ; then
50772 exit ${D}{status}
50773 fi
50774 # move created file to the location we want it in:
50775 while test ${D}# -gt 0; do
50776 case "${D}1" in
50777 -o )
50778 shift
50779 objfile=${D}1
50780 ;;
50781 -* )
50782 ;;
50783 * )
50784 srcfile=${D}1
50785 ;;
50786 esac
50787 shift
50788 done
50789 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50790 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50791 if test -f ${D}depfile ; then
50792 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50793 rm -f ${D}depfile
50794 else
50795 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50796 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50797 if test ! -f ${D}depfile ; then
50798 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50799 depfile="${D}objfile.d"
50800 fi
50801 if test -f ${D}depfile ; then
50802 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50803 rm -f ${D}depfile
50804 fi
50805 fi
50806 exit 0
50807 elif test ${D}DEPSMODE = mwcc ; then
50808 ${D}* || exit ${D}?
50809 # Run mwcc again with -MM and redirect into the dep file we want
50810 # NOTE: We can't use shift here because we need ${D}* to be valid
50811 prevarg=
50812 for arg in ${D}* ; do
50813 if test "${D}prevarg" = "-o"; then
50814 objfile=${D}arg
50815 else
50816 case "${D}arg" in
50817 -* )
50818 ;;
50819 * )
50820 srcfile=${D}arg
50821 ;;
50822 esac
50823 fi
50824 prevarg="${D}arg"
50825 done
50826 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50827 exit 0
50828 elif test ${D}DEPSMODE = unixcc; then
50829 ${D}* || exit ${D}?
50830 # Run compiler again with deps flag and redirect into the dep file.
50831 # It doesn't work if the '-o FILE' option is used, but without it the
50832 # dependency file will contain the wrong name for the object. So it is
50833 # removed from the command line, and the dep file is fixed with sed.
50834 cmd=""
50835 while test ${D}# -gt 0; do
50836 case "${D}1" in
50837 -o )
50838 shift
50839 objfile=${D}1
50840 ;;
50841 * )
50842 eval arg${D}#=\\${D}1
50843 cmd="${D}cmd \\${D}arg${D}#"
50844 ;;
50845 esac
50846 shift
50847 done
50848 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50849 exit 0
50850 else
50851 ${D}*
50852 exit ${D}?
50853 fi
50854 EOF
50855
50856 chmod +x bk-deps
50857 BK_DEPS="`pwd`/bk-deps"
50858 fi
50859 fi
50860
50861
50862
50863
50864
50865 case ${BAKEFILE_HOST} in
50866 *-*-cygwin* | *-*-mingw32* )
50867 if test -n "$ac_tool_prefix"; then
50868 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50869 set dummy ${ac_tool_prefix}windres; ac_word=$2
50870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50872 if test "${ac_cv_prog_WINDRES+set}" = set; then
50873 echo $ECHO_N "(cached) $ECHO_C" >&6
50874 else
50875 if test -n "$WINDRES"; then
50876 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50877 else
50878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50879 for as_dir in $PATH
50880 do
50881 IFS=$as_save_IFS
50882 test -z "$as_dir" && as_dir=.
50883 for ac_exec_ext in '' $ac_executable_extensions; do
50884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50885 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50887 break 2
50888 fi
50889 done
50890 done
50891 IFS=$as_save_IFS
50892
50893 fi
50894 fi
50895 WINDRES=$ac_cv_prog_WINDRES
50896 if test -n "$WINDRES"; then
50897 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50898 echo "${ECHO_T}$WINDRES" >&6; }
50899 else
50900 { echo "$as_me:$LINENO: result: no" >&5
50901 echo "${ECHO_T}no" >&6; }
50902 fi
50903
50904
50905 fi
50906 if test -z "$ac_cv_prog_WINDRES"; then
50907 ac_ct_WINDRES=$WINDRES
50908 # Extract the first word of "windres", so it can be a program name with args.
50909 set dummy windres; ac_word=$2
50910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50912 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50913 echo $ECHO_N "(cached) $ECHO_C" >&6
50914 else
50915 if test -n "$ac_ct_WINDRES"; then
50916 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50917 else
50918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50919 for as_dir in $PATH
50920 do
50921 IFS=$as_save_IFS
50922 test -z "$as_dir" && as_dir=.
50923 for ac_exec_ext in '' $ac_executable_extensions; do
50924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50925 ac_cv_prog_ac_ct_WINDRES="windres"
50926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50927 break 2
50928 fi
50929 done
50930 done
50931 IFS=$as_save_IFS
50932
50933 fi
50934 fi
50935 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50936 if test -n "$ac_ct_WINDRES"; then
50937 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50938 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50939 else
50940 { echo "$as_me:$LINENO: result: no" >&5
50941 echo "${ECHO_T}no" >&6; }
50942 fi
50943
50944 if test "x$ac_ct_WINDRES" = x; then
50945 WINDRES=""
50946 else
50947 case $cross_compiling:$ac_tool_warned in
50948 yes:)
50949 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50950 whose name does not start with the host triplet. If you think this
50951 configuration is useful to you, please write to autoconf@gnu.org." >&5
50952 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50953 whose name does not start with the host triplet. If you think this
50954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50955 ac_tool_warned=yes ;;
50956 esac
50957 WINDRES=$ac_ct_WINDRES
50958 fi
50959 else
50960 WINDRES="$ac_cv_prog_WINDRES"
50961 fi
50962
50963 ;;
50964
50965 *-*-darwin* | powerpc-apple-macos* )
50966 # Extract the first word of "Rez", so it can be a program name with args.
50967 set dummy Rez; ac_word=$2
50968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50970 if test "${ac_cv_prog_REZ+set}" = set; then
50971 echo $ECHO_N "(cached) $ECHO_C" >&6
50972 else
50973 if test -n "$REZ"; then
50974 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50975 else
50976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50977 for as_dir in $PATH
50978 do
50979 IFS=$as_save_IFS
50980 test -z "$as_dir" && as_dir=.
50981 for ac_exec_ext in '' $ac_executable_extensions; do
50982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50983 ac_cv_prog_REZ="Rez"
50984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50985 break 2
50986 fi
50987 done
50988 done
50989 IFS=$as_save_IFS
50990
50991 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50992 fi
50993 fi
50994 REZ=$ac_cv_prog_REZ
50995 if test -n "$REZ"; then
50996 { echo "$as_me:$LINENO: result: $REZ" >&5
50997 echo "${ECHO_T}$REZ" >&6; }
50998 else
50999 { echo "$as_me:$LINENO: result: no" >&5
51000 echo "${ECHO_T}no" >&6; }
51001 fi
51002
51003
51004 # Extract the first word of "SetFile", so it can be a program name with args.
51005 set dummy SetFile; ac_word=$2
51006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51008 if test "${ac_cv_prog_SETFILE+set}" = set; then
51009 echo $ECHO_N "(cached) $ECHO_C" >&6
51010 else
51011 if test -n "$SETFILE"; then
51012 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51013 else
51014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51015 for as_dir in $PATH
51016 do
51017 IFS=$as_save_IFS
51018 test -z "$as_dir" && as_dir=.
51019 for ac_exec_ext in '' $ac_executable_extensions; do
51020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51021 ac_cv_prog_SETFILE="SetFile"
51022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51023 break 2
51024 fi
51025 done
51026 done
51027 IFS=$as_save_IFS
51028
51029 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51030 fi
51031 fi
51032 SETFILE=$ac_cv_prog_SETFILE
51033 if test -n "$SETFILE"; then
51034 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51035 echo "${ECHO_T}$SETFILE" >&6; }
51036 else
51037 { echo "$as_me:$LINENO: result: no" >&5
51038 echo "${ECHO_T}no" >&6; }
51039 fi
51040
51041
51042 ;;
51043 esac
51044
51045
51046
51047
51048
51049
51050 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51051
51052
51053 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51054
51055
51056
51057 # Check whether --enable-precomp-headers was given.
51058 if test "${enable_precomp_headers+set}" = set; then
51059 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51060 fi
51061
51062
51063 GCC_PCH=0
51064 ICC_PCH=0
51065 USE_PCH=0
51066 BK_MAKE_PCH=""
51067
51068 case ${BAKEFILE_HOST} in
51069 *-*-cygwin* )
51070 bk_use_pch="no"
51071 ;;
51072 esac
51073
51074 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51075 if test "x$GCC" = "xyes"; then
51076 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51077 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51078 cat >conftest.$ac_ext <<_ACEOF
51079 /* confdefs.h. */
51080 _ACEOF
51081 cat confdefs.h >>conftest.$ac_ext
51082 cat >>conftest.$ac_ext <<_ACEOF
51083 /* end confdefs.h. */
51084
51085 int
51086 main ()
51087 {
51088
51089 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51090 There is no PCH support
51091 #endif
51092 #if (__GNUC__ < 3)
51093 There is no PCH support
51094 #endif
51095 #if (__GNUC__ == 3) && \
51096 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51097 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51098 ( defined(__INTEL_COMPILER) )
51099 There is no PCH support
51100 #endif
51101
51102 ;
51103 return 0;
51104 }
51105 _ACEOF
51106 rm -f conftest.$ac_objext
51107 if { (ac_try="$ac_compile"
51108 case "(($ac_try" in
51109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51110 *) ac_try_echo=$ac_try;;
51111 esac
51112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51113 (eval "$ac_compile") 2>conftest.er1
51114 ac_status=$?
51115 grep -v '^ *+' conftest.er1 >conftest.err
51116 rm -f conftest.er1
51117 cat conftest.err >&5
51118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51119 (exit $ac_status); } && {
51120 test -z "$ac_c_werror_flag" ||
51121 test ! -s conftest.err
51122 } && test -s conftest.$ac_objext; then
51123
51124 { echo "$as_me:$LINENO: result: yes" >&5
51125 echo "${ECHO_T}yes" >&6; }
51126 GCC_PCH=1
51127
51128 else
51129 echo "$as_me: failed program was:" >&5
51130 sed 's/^/| /' conftest.$ac_ext >&5
51131
51132
51133 cat >conftest.$ac_ext <<_ACEOF
51134 /* confdefs.h. */
51135 _ACEOF
51136 cat confdefs.h >>conftest.$ac_ext
51137 cat >>conftest.$ac_ext <<_ACEOF
51138 /* end confdefs.h. */
51139
51140 int
51141 main ()
51142 {
51143
51144 #if !defined(__INTEL_COMPILER) || \
51145 (__INTEL_COMPILER < 800)
51146 There is no PCH support
51147 #endif
51148
51149 ;
51150 return 0;
51151 }
51152 _ACEOF
51153 rm -f conftest.$ac_objext
51154 if { (ac_try="$ac_compile"
51155 case "(($ac_try" in
51156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51157 *) ac_try_echo=$ac_try;;
51158 esac
51159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51160 (eval "$ac_compile") 2>conftest.er1
51161 ac_status=$?
51162 grep -v '^ *+' conftest.er1 >conftest.err
51163 rm -f conftest.er1
51164 cat conftest.err >&5
51165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51166 (exit $ac_status); } && {
51167 test -z "$ac_c_werror_flag" ||
51168 test ! -s conftest.err
51169 } && test -s conftest.$ac_objext; then
51170
51171 { echo "$as_me:$LINENO: result: yes" >&5
51172 echo "${ECHO_T}yes" >&6; }
51173 ICC_PCH=1
51174
51175 else
51176 echo "$as_me: failed program was:" >&5
51177 sed 's/^/| /' conftest.$ac_ext >&5
51178
51179
51180 { echo "$as_me:$LINENO: result: no" >&5
51181 echo "${ECHO_T}no" >&6; }
51182
51183 fi
51184
51185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51186
51187 fi
51188
51189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51190 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51191 USE_PCH=1
51192
51193 D='$'
51194 cat <<EOF >bk-make-pch
51195 #!/bin/sh
51196
51197 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51198 # script. It is used to generated precompiled headers.
51199 #
51200 # Permission is given to use this file in any way.
51201
51202 outfile="${D}{1}"
51203 header="${D}{2}"
51204 shift
51205 shift
51206
51207 compiler=""
51208 headerfile=""
51209
51210 while test ${D}{#} -gt 0; do
51211 add_to_cmdline=1
51212 case "${D}{1}" in
51213 -I* )
51214 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51215 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51216 headerfile="${D}{incdir}/${D}{header}"
51217 fi
51218 ;;
51219 -use-pch|-use_pch )
51220 shift
51221 add_to_cmdline=0
51222 ;;
51223 esac
51224 if test ${D}add_to_cmdline = 1 ; then
51225 compiler="${D}{compiler} ${D}{1}"
51226 fi
51227 shift
51228 done
51229
51230 if test "x${D}{headerfile}" = "x" ; then
51231 echo "error: can't find header ${D}{header} in include paths" >&2
51232 else
51233 if test -f ${D}{outfile} ; then
51234 rm -f ${D}{outfile}
51235 else
51236 mkdir -p \`dirname ${D}{outfile}\`
51237 fi
51238 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51239 mkdir -p .deps
51240 if test "x${GCC_PCH}" = "x1" ; then
51241 # can do this because gcc is >= 3.4:
51242 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51243 elif test "x${ICC_PCH}" = "x1" ; then
51244 filename=pch_gen-${D}${D}
51245 file=${D}{filename}.c
51246 dfile=${D}{filename}.d
51247 cat > ${D}file <<EOT
51248 #include "${D}header"
51249 EOT
51250 # using -MF icc complains about differing command lines in creation/use
51251 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51252 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51253 rm -f ${D}file ${D}dfile ${D}{filename}.o
51254 fi
51255 exit ${D}{?}
51256 fi
51257 EOF
51258
51259 chmod +x bk-make-pch
51260 BK_MAKE_PCH="`pwd`/bk-make-pch"
51261 fi
51262 fi
51263 fi
51264
51265
51266
51267
51268
51269 COND_BUILD_DEBUG="#"
51270 if test "x$BUILD" = "xdebug" ; then
51271 COND_BUILD_DEBUG=""
51272 fi
51273
51274 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51275 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51276 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51277 fi
51278
51279 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51280 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51281 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51282 fi
51283
51284 COND_BUILD_DEBUG_UNICODE_0="#"
51285 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51286 COND_BUILD_DEBUG_UNICODE_0=""
51287 fi
51288
51289 COND_BUILD_DEBUG_UNICODE_1="#"
51290 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51291 COND_BUILD_DEBUG_UNICODE_1=""
51292 fi
51293
51294 COND_BUILD_RELEASE="#"
51295 if test "x$BUILD" = "xrelease" ; then
51296 COND_BUILD_RELEASE=""
51297 fi
51298
51299 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51300 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51301 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51302 fi
51303
51304 COND_BUILD_RELEASE_UNICODE_0="#"
51305 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51306 COND_BUILD_RELEASE_UNICODE_0=""
51307 fi
51308
51309 COND_BUILD_RELEASE_UNICODE_1="#"
51310 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51311 COND_BUILD_RELEASE_UNICODE_1=""
51312 fi
51313
51314 COND_DEBUG_FLAG_1="#"
51315 if test "x$DEBUG_FLAG" = "x1" ; then
51316 COND_DEBUG_FLAG_1=""
51317 fi
51318
51319 COND_DEBUG_INFO_0="#"
51320 if test "x$DEBUG_INFO" = "x0" ; then
51321 COND_DEBUG_INFO_0=""
51322 fi
51323
51324 COND_DEBUG_INFO_1="#"
51325 if test "x$DEBUG_INFO" = "x1" ; then
51326 COND_DEBUG_INFO_1=""
51327 fi
51328
51329 COND_DEPS_TRACKING_0="#"
51330 if test "x$DEPS_TRACKING" = "x0" ; then
51331 COND_DEPS_TRACKING_0=""
51332 fi
51333
51334 COND_DEPS_TRACKING_1="#"
51335 if test "x$DEPS_TRACKING" = "x1" ; then
51336 COND_DEPS_TRACKING_1=""
51337 fi
51338
51339 COND_GCC_PCH_1="#"
51340 if test "x$GCC_PCH" = "x1" ; then
51341 COND_GCC_PCH_1=""
51342 fi
51343
51344 COND_ICC_PCH_1="#"
51345 if test "x$ICC_PCH" = "x1" ; then
51346 COND_ICC_PCH_1=""
51347 fi
51348
51349 COND_MONOLITHIC_0="#"
51350 if test "x$MONOLITHIC" = "x0" ; then
51351 COND_MONOLITHIC_0=""
51352 fi
51353
51354 COND_MONOLITHIC_0_SHARED_0="#"
51355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51356 COND_MONOLITHIC_0_SHARED_0=""
51357 fi
51358
51359 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51361 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51362 fi
51363
51364 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51366 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51367 fi
51368
51369 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51371 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51372 fi
51373
51374 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51376 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51377 fi
51378
51379 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51381 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51382 fi
51383
51384 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51386 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51387 fi
51388
51389 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51391 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51392 fi
51393
51394 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51396 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51397 fi
51398
51399 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51401 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51402 fi
51403
51404 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51406 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51407 fi
51408
51409 COND_MONOLITHIC_0_SHARED_1="#"
51410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51411 COND_MONOLITHIC_0_SHARED_1=""
51412 fi
51413
51414 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51416 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51417 fi
51418
51419 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51421 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51422 fi
51423
51424 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51426 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51427 fi
51428
51429 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51431 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51432 fi
51433
51434 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51436 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51437 fi
51438
51439 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51441 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51442 fi
51443
51444 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51446 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51447 fi
51448
51449 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51451 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51452 fi
51453
51454 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51456 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51457 fi
51458
51459 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51461 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51462 fi
51463
51464 COND_MONOLITHIC_0_USE_AUI_1="#"
51465 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51466 COND_MONOLITHIC_0_USE_AUI_1=""
51467 fi
51468
51469 COND_MONOLITHIC_0_USE_GUI_1="#"
51470 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51471 COND_MONOLITHIC_0_USE_GUI_1=""
51472 fi
51473
51474 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51475 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51476 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51477 fi
51478
51479 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51480 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51481 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51482 fi
51483
51484 COND_MONOLITHIC_0_USE_HTML_1="#"
51485 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51486 COND_MONOLITHIC_0_USE_HTML_1=""
51487 fi
51488
51489 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51490 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51491 COND_MONOLITHIC_0_USE_MEDIA_1=""
51492 fi
51493
51494 COND_MONOLITHIC_0_USE_ODBC_1="#"
51495 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51496 COND_MONOLITHIC_0_USE_ODBC_1=""
51497 fi
51498
51499 COND_MONOLITHIC_0_USE_QA_1="#"
51500 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51501 COND_MONOLITHIC_0_USE_QA_1=""
51502 fi
51503
51504 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51505 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51506 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51507 fi
51508
51509 COND_MONOLITHIC_0_USE_STC_1="#"
51510 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51511 COND_MONOLITHIC_0_USE_STC_1=""
51512 fi
51513
51514 COND_MONOLITHIC_0_USE_XRC_1="#"
51515 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51516 COND_MONOLITHIC_0_USE_XRC_1=""
51517 fi
51518
51519 COND_MONOLITHIC_1="#"
51520 if test "x$MONOLITHIC" = "x1" ; then
51521 COND_MONOLITHIC_1=""
51522 fi
51523
51524 COND_MONOLITHIC_1_SHARED_0="#"
51525 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51526 COND_MONOLITHIC_1_SHARED_0=""
51527 fi
51528
51529 COND_MONOLITHIC_1_SHARED_1="#"
51530 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51531 COND_MONOLITHIC_1_SHARED_1=""
51532 fi
51533
51534 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51535 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51536 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51537 fi
51538
51539 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51540 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51541 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51542 fi
51543
51544 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51545 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51546 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51547 fi
51548
51549 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51550 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51551 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51552 fi
51553
51554 COND_PLATFORM_MACOSX_1="#"
51555 if test "x$PLATFORM_MACOSX" = "x1" ; then
51556 COND_PLATFORM_MACOSX_1=""
51557 fi
51558
51559 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51561 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51562 fi
51563
51564 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51566 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51567 fi
51568
51569 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51571 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51572 fi
51573
51574 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51576 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51577 fi
51578
51579 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51581 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51582 fi
51583
51584 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51586 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51587 fi
51588
51589 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51591 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51592 fi
51593
51594 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51595 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51596 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51597 fi
51598
51599 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51600 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51601 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51602 fi
51603
51604 COND_PLATFORM_MACOS_1="#"
51605 if test "x$PLATFORM_MACOS" = "x1" ; then
51606 COND_PLATFORM_MACOS_1=""
51607 fi
51608
51609 COND_PLATFORM_MAC_1="#"
51610 if test "x$PLATFORM_MAC" = "x1" ; then
51611 COND_PLATFORM_MAC_1=""
51612 fi
51613
51614 COND_PLATFORM_MSDOS_0="#"
51615 if test "x$PLATFORM_MSDOS" = "x0" ; then
51616 COND_PLATFORM_MSDOS_0=""
51617 fi
51618
51619 COND_PLATFORM_MSDOS_1="#"
51620 if test "x$PLATFORM_MSDOS" = "x1" ; then
51621 COND_PLATFORM_MSDOS_1=""
51622 fi
51623
51624 COND_PLATFORM_OS2_1="#"
51625 if test "x$PLATFORM_OS2" = "x1" ; then
51626 COND_PLATFORM_OS2_1=""
51627 fi
51628
51629 COND_PLATFORM_UNIX_0="#"
51630 if test "x$PLATFORM_UNIX" = "x0" ; then
51631 COND_PLATFORM_UNIX_0=""
51632 fi
51633
51634 COND_PLATFORM_UNIX_1="#"
51635 if test "x$PLATFORM_UNIX" = "x1" ; then
51636 COND_PLATFORM_UNIX_1=""
51637 fi
51638
51639 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51640 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51641 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51642 fi
51643
51644 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51645 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51646 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51647 fi
51648
51649 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51650 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51651 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51652 fi
51653
51654 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51655 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51656 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51657 fi
51658
51659 COND_PLATFORM_WIN32_0="#"
51660 if test "x$PLATFORM_WIN32" = "x0" ; then
51661 COND_PLATFORM_WIN32_0=""
51662 fi
51663
51664 COND_PLATFORM_WIN32_1="#"
51665 if test "x$PLATFORM_WIN32" = "x1" ; then
51666 COND_PLATFORM_WIN32_1=""
51667 fi
51668
51669 COND_SHARED_0="#"
51670 if test "x$SHARED" = "x0" ; then
51671 COND_SHARED_0=""
51672 fi
51673
51674 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51675 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51676 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51677 fi
51678
51679 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51680 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51681 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51682 fi
51683
51684 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51685 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51686 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51687 fi
51688
51689 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51690 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51691 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51692 fi
51693
51694 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51695 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51697 fi
51698
51699 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51702 fi
51703
51704 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51705 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51706 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51707 fi
51708
51709 COND_SHARED_0_USE_STC_1="#"
51710 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51711 COND_SHARED_0_USE_STC_1=""
51712 fi
51713
51714 COND_SHARED_0_USE_XRC_1="#"
51715 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51716 COND_SHARED_0_USE_XRC_1=""
51717 fi
51718
51719 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51720 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51721 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51722 fi
51723
51724 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51725 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51726 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51727 fi
51728
51729 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51730 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51731 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51732 fi
51733
51734 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51735 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51736 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51737 fi
51738
51739 COND_SHARED_1="#"
51740 if test "x$SHARED" = "x1" ; then
51741 COND_SHARED_1=""
51742 fi
51743
51744 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51745 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51746 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51747 fi
51748
51749 COND_SHARED_1_USE_XRC_1="#"
51750 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51751 COND_SHARED_1_USE_XRC_1=""
51752 fi
51753
51754 COND_TOOLKIT_="#"
51755 if test "x$TOOLKIT" = "x" ; then
51756 COND_TOOLKIT_=""
51757 fi
51758
51759 COND_TOOLKIT_COCOA="#"
51760 if test "x$TOOLKIT" = "xCOCOA" ; then
51761 COND_TOOLKIT_COCOA=""
51762 fi
51763
51764 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51765 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51766 COND_TOOLKIT_COCOA_USE_GUI_1=""
51767 fi
51768
51769 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51770 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51771 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51772 fi
51773
51774 COND_TOOLKIT_DFB="#"
51775 if test "x$TOOLKIT" = "xDFB" ; then
51776 COND_TOOLKIT_DFB=""
51777 fi
51778
51779 COND_TOOLKIT_DFB_USE_GUI_1="#"
51780 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51781 COND_TOOLKIT_DFB_USE_GUI_1=""
51782 fi
51783
51784 COND_TOOLKIT_GTK="#"
51785 if test "x$TOOLKIT" = "xGTK" ; then
51786 COND_TOOLKIT_GTK=""
51787 fi
51788
51789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51790 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51792 fi
51793
51794 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51795 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51797 fi
51798
51799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51800 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51802 fi
51803
51804 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51805 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51806 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51807 fi
51808
51809 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51810 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51811 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51812 fi
51813
51814 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51815 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51816 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51817 fi
51818
51819 COND_TOOLKIT_GTK_USE_GUI_1="#"
51820 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51821 COND_TOOLKIT_GTK_USE_GUI_1=""
51822 fi
51823
51824 COND_TOOLKIT_MAC="#"
51825 if test "x$TOOLKIT" = "xMAC" ; then
51826 COND_TOOLKIT_MAC=""
51827 fi
51828
51829 COND_TOOLKIT_MAC_USE_GUI_1="#"
51830 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51831 COND_TOOLKIT_MAC_USE_GUI_1=""
51832 fi
51833
51834 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51835 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51836 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51837 fi
51838
51839 COND_TOOLKIT_MGL="#"
51840 if test "x$TOOLKIT" = "xMGL" ; then
51841 COND_TOOLKIT_MGL=""
51842 fi
51843
51844 COND_TOOLKIT_MGL_USE_GUI_1="#"
51845 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51846 COND_TOOLKIT_MGL_USE_GUI_1=""
51847 fi
51848
51849 COND_TOOLKIT_MOTIF="#"
51850 if test "x$TOOLKIT" = "xMOTIF" ; then
51851 COND_TOOLKIT_MOTIF=""
51852 fi
51853
51854 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51855 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51856 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51857 fi
51858
51859 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51860 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51861 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51862 fi
51863
51864 COND_TOOLKIT_MSW="#"
51865 if test "x$TOOLKIT" = "xMSW" ; then
51866 COND_TOOLKIT_MSW=""
51867 fi
51868
51869 COND_TOOLKIT_MSW_USE_GUI_1="#"
51870 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51871 COND_TOOLKIT_MSW_USE_GUI_1=""
51872 fi
51873
51874 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51875 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51876 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51877 fi
51878
51879 COND_TOOLKIT_MSW_WXUNIV_0="#"
51880 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51881 COND_TOOLKIT_MSW_WXUNIV_0=""
51882 fi
51883
51884 COND_TOOLKIT_PM="#"
51885 if test "x$TOOLKIT" = "xPM" ; then
51886 COND_TOOLKIT_PM=""
51887 fi
51888
51889 COND_TOOLKIT_PM_USE_GUI_1="#"
51890 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51891 COND_TOOLKIT_PM_USE_GUI_1=""
51892 fi
51893
51894 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51895 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51896 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51897 fi
51898
51899 COND_TOOLKIT_WINCE="#"
51900 if test "x$TOOLKIT" = "xWINCE" ; then
51901 COND_TOOLKIT_WINCE=""
51902 fi
51903
51904 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51905 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51906 COND_TOOLKIT_WINCE_USE_GUI_1=""
51907 fi
51908
51909 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51910 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51911 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51912 fi
51913
51914 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51915 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51916 COND_TOOLKIT_WINCE_WXUNIV_0=""
51917 fi
51918
51919 COND_TOOLKIT_X11="#"
51920 if test "x$TOOLKIT" = "xX11" ; then
51921 COND_TOOLKIT_X11=""
51922 fi
51923
51924 COND_TOOLKIT_X11_USE_GUI_1="#"
51925 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51926 COND_TOOLKIT_X11_USE_GUI_1=""
51927 fi
51928
51929 COND_UNICODE_1="#"
51930 if test "x$UNICODE" = "x1" ; then
51931 COND_UNICODE_1=""
51932 fi
51933
51934 COND_USE_EXCEPTIONS_0="#"
51935 if test "x$USE_EXCEPTIONS" = "x0" ; then
51936 COND_USE_EXCEPTIONS_0=""
51937 fi
51938
51939 COND_USE_EXCEPTIONS_1="#"
51940 if test "x$USE_EXCEPTIONS" = "x1" ; then
51941 COND_USE_EXCEPTIONS_1=""
51942 fi
51943
51944 COND_USE_GUI_0="#"
51945 if test "x$USE_GUI" = "x0" ; then
51946 COND_USE_GUI_0=""
51947 fi
51948
51949 COND_USE_GUI_1="#"
51950 if test "x$USE_GUI" = "x1" ; then
51951 COND_USE_GUI_1=""
51952 fi
51953
51954 COND_USE_GUI_1_USE_OPENGL_1="#"
51955 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51956 COND_USE_GUI_1_USE_OPENGL_1=""
51957 fi
51958
51959 COND_USE_GUI_1_WXUNIV_0="#"
51960 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51961 COND_USE_GUI_1_WXUNIV_0=""
51962 fi
51963
51964 COND_USE_GUI_1_WXUNIV_1="#"
51965 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51966 COND_USE_GUI_1_WXUNIV_1=""
51967 fi
51968
51969 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51970 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51972 fi
51973
51974 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51975 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51976 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51977 fi
51978
51979 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51980 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51981 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51982 fi
51983
51984 COND_USE_ODBC_1="#"
51985 if test "x$USE_ODBC" = "x1" ; then
51986 COND_USE_ODBC_1=""
51987 fi
51988
51989 COND_USE_OPENGL_1="#"
51990 if test "x$USE_OPENGL" = "x1" ; then
51991 COND_USE_OPENGL_1=""
51992 fi
51993
51994 COND_USE_PCH_1="#"
51995 if test "x$USE_PCH" = "x1" ; then
51996 COND_USE_PCH_1=""
51997 fi
51998
51999 COND_USE_PLUGINS_0="#"
52000 if test "x$USE_PLUGINS" = "x0" ; then
52001 COND_USE_PLUGINS_0=""
52002 fi
52003
52004 COND_USE_RTTI_0="#"
52005 if test "x$USE_RTTI" = "x0" ; then
52006 COND_USE_RTTI_0=""
52007 fi
52008
52009 COND_USE_RTTI_1="#"
52010 if test "x$USE_RTTI" = "x1" ; then
52011 COND_USE_RTTI_1=""
52012 fi
52013
52014 COND_USE_SOSYMLINKS_1="#"
52015 if test "x$USE_SOSYMLINKS" = "x1" ; then
52016 COND_USE_SOSYMLINKS_1=""
52017 fi
52018
52019 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52020 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52021 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52022 fi
52023
52024 COND_USE_SOVERLINUX_1="#"
52025 if test "x$USE_SOVERLINUX" = "x1" ; then
52026 COND_USE_SOVERLINUX_1=""
52027 fi
52028
52029 COND_USE_SOVERSION_0="#"
52030 if test "x$USE_SOVERSION" = "x0" ; then
52031 COND_USE_SOVERSION_0=""
52032 fi
52033
52034 COND_USE_SOVERSOLARIS_1="#"
52035 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52036 COND_USE_SOVERSOLARIS_1=""
52037 fi
52038
52039 COND_USE_STC_1="#"
52040 if test "x$USE_STC" = "x1" ; then
52041 COND_USE_STC_1=""
52042 fi
52043
52044 COND_USE_THREADS_0="#"
52045 if test "x$USE_THREADS" = "x0" ; then
52046 COND_USE_THREADS_0=""
52047 fi
52048
52049 COND_USE_THREADS_1="#"
52050 if test "x$USE_THREADS" = "x1" ; then
52051 COND_USE_THREADS_1=""
52052 fi
52053
52054 COND_USE_XRC_1="#"
52055 if test "x$USE_XRC" = "x1" ; then
52056 COND_USE_XRC_1=""
52057 fi
52058
52059 COND_WINDOWS_IMPLIB_1="#"
52060 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52061 COND_WINDOWS_IMPLIB_1=""
52062 fi
52063
52064 COND_WITH_PLUGIN_SDL_1="#"
52065 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52066 COND_WITH_PLUGIN_SDL_1=""
52067 fi
52068
52069 COND_WXUNIV_0="#"
52070 if test "x$WXUNIV" = "x0" ; then
52071 COND_WXUNIV_0=""
52072 fi
52073
52074 COND_WXUNIV_1="#"
52075 if test "x$WXUNIV" = "x1" ; then
52076 COND_WXUNIV_1=""
52077 fi
52078
52079 COND_WXUSE_EXPAT_BUILTIN="#"
52080 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52081 COND_WXUSE_EXPAT_BUILTIN=""
52082 fi
52083
52084 COND_WXUSE_LIBJPEG_BUILTIN="#"
52085 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52086 COND_WXUSE_LIBJPEG_BUILTIN=""
52087 fi
52088
52089 COND_WXUSE_LIBPNG_BUILTIN="#"
52090 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52091 COND_WXUSE_LIBPNG_BUILTIN=""
52092 fi
52093
52094 COND_WXUSE_LIBTIFF_BUILTIN="#"
52095 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52096 COND_WXUSE_LIBTIFF_BUILTIN=""
52097 fi
52098
52099 COND_WXUSE_ODBC_BUILTIN="#"
52100 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52101 COND_WXUSE_ODBC_BUILTIN=""
52102 fi
52103
52104 COND_WXUSE_REGEX_BUILTIN="#"
52105 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52106 COND_WXUSE_REGEX_BUILTIN=""
52107 fi
52108
52109 COND_WXUSE_ZLIB_BUILTIN="#"
52110 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52111 COND_WXUSE_ZLIB_BUILTIN=""
52112 fi
52113
52114
52115
52116 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52117 { { 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
52118 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;}
52119 { (exit 1); exit 1; }; }
52120 fi
52121
52122 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52123 { { 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
52124 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;}
52125 { (exit 1); exit 1; }; }
52126 fi
52127
52128
52129 if test $GCC_PCH = 1
52130 then
52131 if test "$wx_cv_gcc_pch_bug" = yes; then
52132 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52133 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52134 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52135 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52136 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52137 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52138 fi
52139
52140 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52141 fi
52142
52143
52144 if test "$wxUSE_MAC" = 1 ; then
52145 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52146 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52147 mv temp bk-deps
52148 chmod +x bk-deps
52149 fi
52150 fi
52151
52152 if test "$wxUSE_SHARED" = "yes"; then
52153
52154 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52155 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52156
52157 case "${host}" in
52158 *-pc-os2_emx | *-pc-os2-emx )
52159 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52160 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52161 cp -p ${srcdir}/src/os2/dllnames.sh .
52162 cp -p ${srcdir}/src/os2/dllar.sh .
52163 ;;
52164 esac
52165 else
52166
52167 EXE_LINKER="$CXX -o"
52168
52169 fi
52170 if test "$wxUSE_OMF" = "yes"; then
52171 case "${host}" in
52172 *-pc-os2_emx | *-pc-os2-emx )
52173 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52174 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52175 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52176 ;;
52177 esac
52178 fi
52179
52180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52181
52182
52183 case "${host}" in
52184 *-*-solaris2* )
52185 if "$GCC" = yes; then
52186 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52187 LIBS=`echo $LIBS | sed 's/-mt//'`
52188 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52189 fi
52190 ;;
52191
52192 *-*-linux* )
52193 if test "x$SUNCXX" = xyes; then
52194 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52195 LIBS=`echo $LIBS | sed 's/-pthread//'`
52196 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52197 fi
52198 ;;
52199 esac
52200
52201 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52202 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52203
52204 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52205
52206
52207
52208
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52267 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52268 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52269 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52270 echo $ECHO_N "(cached) $ECHO_C" >&6
52271 else
52272 cat >conftest.make <<\_ACEOF
52273 SHELL = /bin/sh
52274 all:
52275 @echo '@@@%%%=$(MAKE)=@@@%%%'
52276 _ACEOF
52277 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52278 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52279 *@@@%%%=?*=@@@%%%*)
52280 eval ac_cv_prog_make_${ac_make}_set=yes;;
52281 *)
52282 eval ac_cv_prog_make_${ac_make}_set=no;;
52283 esac
52284 rm -f conftest.make
52285 fi
52286 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52287 { echo "$as_me:$LINENO: result: yes" >&5
52288 echo "${ECHO_T}yes" >&6; }
52289 SET_MAKE=
52290 else
52291 { echo "$as_me:$LINENO: result: no" >&5
52292 echo "${ECHO_T}no" >&6; }
52293 SET_MAKE="MAKE=${MAKE-make}"
52294 fi
52295
52296
52297
52298 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52299
52300
52301 if test "$USE_WIN32" = 1; then
52302 ac_config_commands="$ac_config_commands
52303 rcdefs.h
52304 "
52305
52306 fi
52307
52308 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52309
52310
52311 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52312
52313
52314 if test "$wx_cv_version_script" = "yes"; then
52315 ac_config_files="$ac_config_files version-script"
52316
52317 fi
52318 ac_config_files="$ac_config_files Makefile"
52319
52320
52321 ac_config_commands="$ac_config_commands wx-config"
52322
52323
52324
52325 if test "$wxWITH_SUBDIRS" != "no"; then
52326 if test "$wxUSE_GUI" = "yes"; then
52327 SUBDIRS="samples demos utils"
52328 else SUBDIRS="samples utils"
52329 fi
52330
52331
52332
52333 # Check whether --with-cppunit-prefix was given.
52334 if test "${with_cppunit_prefix+set}" = set; then
52335 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52336 else
52337 cppunit_config_prefix=""
52338 fi
52339
52340
52341 # Check whether --with-cppunit-exec-prefix was given.
52342 if test "${with_cppunit_exec_prefix+set}" = set; then
52343 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52344 else
52345 cppunit_config_exec_prefix=""
52346 fi
52347
52348
52349 if test x$cppunit_config_exec_prefix != x ; then
52350 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52351 if test x${CPPUNIT_CONFIG+set} != xset ; then
52352 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52353 fi
52354 fi
52355 if test x$cppunit_config_prefix != x ; then
52356 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52357 if test x${CPPUNIT_CONFIG+set} != xset ; then
52358 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52359 fi
52360 fi
52361
52362 # Extract the first word of "cppunit-config", so it can be a program name with args.
52363 set dummy cppunit-config; ac_word=$2
52364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52366 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52367 echo $ECHO_N "(cached) $ECHO_C" >&6
52368 else
52369 case $CPPUNIT_CONFIG in
52370 [\\/]* | ?:[\\/]*)
52371 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52372 ;;
52373 *)
52374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52375 for as_dir in $PATH
52376 do
52377 IFS=$as_save_IFS
52378 test -z "$as_dir" && as_dir=.
52379 for ac_exec_ext in '' $ac_executable_extensions; do
52380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52381 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52383 break 2
52384 fi
52385 done
52386 done
52387 IFS=$as_save_IFS
52388
52389 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52390 ;;
52391 esac
52392 fi
52393 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52394 if test -n "$CPPUNIT_CONFIG"; then
52395 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52396 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52397 else
52398 { echo "$as_me:$LINENO: result: no" >&5
52399 echo "${ECHO_T}no" >&6; }
52400 fi
52401
52402
52403 cppunit_version_min=1.8.0
52404
52405 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52406 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52407 no_cppunit=""
52408 if test "$CPPUNIT_CONFIG" = "no" ; then
52409 { echo "$as_me:$LINENO: result: no" >&5
52410 echo "${ECHO_T}no" >&6; }
52411 no_cppunit=yes
52412 else
52413 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52414 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52415 cppunit_version=`$CPPUNIT_CONFIG --version`
52416
52417 cppunit_major_version=`echo $cppunit_version | \
52418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52419 cppunit_minor_version=`echo $cppunit_version | \
52420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52421 cppunit_micro_version=`echo $cppunit_version | \
52422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52423
52424 cppunit_major_min=`echo $cppunit_version_min | \
52425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52426 cppunit_minor_min=`echo $cppunit_version_min | \
52427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52428 cppunit_micro_min=`echo $cppunit_version_min | \
52429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52430
52431 cppunit_version_proper=`expr \
52432 $cppunit_major_version \> $cppunit_major_min \| \
52433 $cppunit_major_version \= $cppunit_major_min \& \
52434 $cppunit_minor_version \> $cppunit_minor_min \| \
52435 $cppunit_major_version \= $cppunit_major_min \& \
52436 $cppunit_minor_version \= $cppunit_minor_min \& \
52437 $cppunit_micro_version \>= $cppunit_micro_min `
52438
52439 if test "$cppunit_version_proper" = "1" ; then
52440 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52441 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52442 else
52443 { echo "$as_me:$LINENO: result: no" >&5
52444 echo "${ECHO_T}no" >&6; }
52445 no_cppunit=yes
52446 fi
52447 fi
52448
52449 if test "x$no_cppunit" = x ; then
52450 SUBDIRS="$SUBDIRS tests"
52451 else
52452 CPPUNIT_CFLAGS=""
52453 CPPUNIT_LIBS=""
52454 :
52455 fi
52456
52457
52458
52459
52460
52461 for subdir in `echo $SUBDIRS`; do
52462 if test -d ${srcdir}/${subdir} ; then
52463 if test "$wxUSE_GUI" = "yes"; then
52464 if test ${subdir} = "samples"; then
52465 makefiles="samples/Makefile.in $makefiles"
52466 for sample in `echo $SAMPLES_SUBDIRS`; do
52467 if test -d $srcdir/samples/$sample; then
52468 makefiles="samples/$sample/Makefile.in $makefiles"
52469 fi
52470 done
52471 else
52472 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52473 eval "disabled=\$$disabled_var"
52474 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52475 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52476 fi
52477 else if test ${subdir} = "samples"; then
52478 makefiles="samples/Makefile.in samples/console/Makefile.in"
52479 elif test ${subdir} = "utils"; then
52480 makefiles=""
52481 for util in HelpGen tex2rtf ; do
52482 if test -d $srcdir/utils/$util ; then
52483 makefiles="utils/$util/Makefile.in \
52484 utils/$util/src/Makefile.in \
52485 $makefiles"
52486 fi
52487 done
52488 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52489 fi
52490 fi
52491
52492 for mkin in $makefiles ; do
52493 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52494 ac_config_files="$ac_config_files $mk"
52495
52496 done
52497 fi
52498 done
52499 fi
52500 cat >confcache <<\_ACEOF
52501 # This file is a shell script that caches the results of configure
52502 # tests run on this system so they can be shared between configure
52503 # scripts and configure runs, see configure's option --config-cache.
52504 # It is not useful on other systems. If it contains results you don't
52505 # want to keep, you may remove or edit it.
52506 #
52507 # config.status only pays attention to the cache file if you give it
52508 # the --recheck option to rerun configure.
52509 #
52510 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52511 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52512 # following values.
52513
52514 _ACEOF
52515
52516 # The following way of writing the cache mishandles newlines in values,
52517 # but we know of no workaround that is simple, portable, and efficient.
52518 # So, we kill variables containing newlines.
52519 # Ultrix sh set writes to stderr and can't be redirected directly,
52520 # and sets the high bit in the cache file unless we assign to the vars.
52521 (
52522 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52523 eval ac_val=\$$ac_var
52524 case $ac_val in #(
52525 *${as_nl}*)
52526 case $ac_var in #(
52527 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52528 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52529 esac
52530 case $ac_var in #(
52531 _ | IFS | as_nl) ;; #(
52532 *) $as_unset $ac_var ;;
52533 esac ;;
52534 esac
52535 done
52536
52537 (set) 2>&1 |
52538 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52539 *${as_nl}ac_space=\ *)
52540 # `set' does not quote correctly, so add quotes (double-quote
52541 # substitution turns \\\\ into \\, and sed turns \\ into \).
52542 sed -n \
52543 "s/'/'\\\\''/g;
52544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52545 ;; #(
52546 *)
52547 # `set' quotes correctly as required by POSIX, so do not add quotes.
52548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52549 ;;
52550 esac |
52551 sort
52552 ) |
52553 sed '
52554 /^ac_cv_env_/b end
52555 t clear
52556 :clear
52557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52558 t end
52559 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52560 :end' >>confcache
52561 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52562 if test -w "$cache_file"; then
52563 test "x$cache_file" != "x/dev/null" &&
52564 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52565 echo "$as_me: updating cache $cache_file" >&6;}
52566 cat confcache >$cache_file
52567 else
52568 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52569 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52570 fi
52571 fi
52572 rm -f confcache
52573
52574 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52575 # Let make expand exec_prefix.
52576 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52577
52578 DEFS=-DHAVE_CONFIG_H
52579
52580 ac_libobjs=
52581 ac_ltlibobjs=
52582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52583 # 1. Remove the extension, and $U if already installed.
52584 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52585 ac_i=`echo "$ac_i" | sed "$ac_script"`
52586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52587 # will be set to the directory where LIBOBJS objects are built.
52588 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52589 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52590 done
52591 LIBOBJS=$ac_libobjs
52592
52593 LTLIBOBJS=$ac_ltlibobjs
52594
52595
52596
52597 : ${CONFIG_STATUS=./config.status}
52598 ac_clean_files_save=$ac_clean_files
52599 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52600 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52601 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52602 cat >$CONFIG_STATUS <<_ACEOF
52603 #! $SHELL
52604 # Generated by $as_me.
52605 # Run this file to recreate the current configuration.
52606 # Compiler output produced by configure, useful for debugging
52607 # configure, is in config.log if it exists.
52608
52609 debug=false
52610 ac_cs_recheck=false
52611 ac_cs_silent=false
52612 SHELL=\${CONFIG_SHELL-$SHELL}
52613 _ACEOF
52614
52615 cat >>$CONFIG_STATUS <<\_ACEOF
52616 ## --------------------- ##
52617 ## M4sh Initialization. ##
52618 ## --------------------- ##
52619
52620 # Be more Bourne compatible
52621 DUALCASE=1; export DUALCASE # for MKS sh
52622 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52623 emulate sh
52624 NULLCMD=:
52625 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52626 # is contrary to our usage. Disable this feature.
52627 alias -g '${1+"$@"}'='"$@"'
52628 setopt NO_GLOB_SUBST
52629 else
52630 case `(set -o) 2>/dev/null` in
52631 *posix*) set -o posix ;;
52632 esac
52633
52634 fi
52635
52636
52637
52638
52639 # PATH needs CR
52640 # Avoid depending upon Character Ranges.
52641 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52642 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52643 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52644 as_cr_digits='0123456789'
52645 as_cr_alnum=$as_cr_Letters$as_cr_digits
52646
52647 # The user is always right.
52648 if test "${PATH_SEPARATOR+set}" != set; then
52649 echo "#! /bin/sh" >conf$$.sh
52650 echo "exit 0" >>conf$$.sh
52651 chmod +x conf$$.sh
52652 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52653 PATH_SEPARATOR=';'
52654 else
52655 PATH_SEPARATOR=:
52656 fi
52657 rm -f conf$$.sh
52658 fi
52659
52660 # Support unset when possible.
52661 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52662 as_unset=unset
52663 else
52664 as_unset=false
52665 fi
52666
52667
52668 # IFS
52669 # We need space, tab and new line, in precisely that order. Quoting is
52670 # there to prevent editors from complaining about space-tab.
52671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52672 # splitting by setting IFS to empty value.)
52673 as_nl='
52674 '
52675 IFS=" "" $as_nl"
52676
52677 # Find who we are. Look in the path if we contain no directory separator.
52678 case $0 in
52679 *[\\/]* ) as_myself=$0 ;;
52680 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52681 for as_dir in $PATH
52682 do
52683 IFS=$as_save_IFS
52684 test -z "$as_dir" && as_dir=.
52685 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52686 done
52687 IFS=$as_save_IFS
52688
52689 ;;
52690 esac
52691 # We did not find ourselves, most probably we were run as `sh COMMAND'
52692 # in which case we are not to be found in the path.
52693 if test "x$as_myself" = x; then
52694 as_myself=$0
52695 fi
52696 if test ! -f "$as_myself"; then
52697 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52698 { (exit 1); exit 1; }
52699 fi
52700
52701 # Work around bugs in pre-3.0 UWIN ksh.
52702 for as_var in ENV MAIL MAILPATH
52703 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52704 done
52705 PS1='$ '
52706 PS2='> '
52707 PS4='+ '
52708
52709 # NLS nuisances.
52710 for as_var in \
52711 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52712 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52713 LC_TELEPHONE LC_TIME
52714 do
52715 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52716 eval $as_var=C; export $as_var
52717 else
52718 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52719 fi
52720 done
52721
52722 # Required to use basename.
52723 if expr a : '\(a\)' >/dev/null 2>&1 &&
52724 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52725 as_expr=expr
52726 else
52727 as_expr=false
52728 fi
52729
52730 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52731 as_basename=basename
52732 else
52733 as_basename=false
52734 fi
52735
52736
52737 # Name of the executable.
52738 as_me=`$as_basename -- "$0" ||
52739 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52740 X"$0" : 'X\(//\)$' \| \
52741 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52742 echo X/"$0" |
52743 sed '/^.*\/\([^/][^/]*\)\/*$/{
52744 s//\1/
52745 q
52746 }
52747 /^X\/\(\/\/\)$/{
52748 s//\1/
52749 q
52750 }
52751 /^X\/\(\/\).*/{
52752 s//\1/
52753 q
52754 }
52755 s/.*/./; q'`
52756
52757 # CDPATH.
52758 $as_unset CDPATH
52759
52760
52761
52762 as_lineno_1=$LINENO
52763 as_lineno_2=$LINENO
52764 test "x$as_lineno_1" != "x$as_lineno_2" &&
52765 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52766
52767 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52768 # uniformly replaced by the line number. The first 'sed' inserts a
52769 # line-number line after each line using $LINENO; the second 'sed'
52770 # does the real work. The second script uses 'N' to pair each
52771 # line-number line with the line containing $LINENO, and appends
52772 # trailing '-' during substitution so that $LINENO is not a special
52773 # case at line end.
52774 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52775 # scripts with optimization help from Paolo Bonzini. Blame Lee
52776 # E. McMahon (1931-1989) for sed's syntax. :-)
52777 sed -n '
52778 p
52779 /[$]LINENO/=
52780 ' <$as_myself |
52781 sed '
52782 s/[$]LINENO.*/&-/
52783 t lineno
52784 b
52785 :lineno
52786 N
52787 :loop
52788 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52789 t loop
52790 s/-\n.*//
52791 ' >$as_me.lineno &&
52792 chmod +x "$as_me.lineno" ||
52793 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52794 { (exit 1); exit 1; }; }
52795
52796 # Don't try to exec as it changes $[0], causing all sort of problems
52797 # (the dirname of $[0] is not the place where we might find the
52798 # original and so on. Autoconf is especially sensitive to this).
52799 . "./$as_me.lineno"
52800 # Exit status is that of the last command.
52801 exit
52802 }
52803
52804
52805 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52806 as_dirname=dirname
52807 else
52808 as_dirname=false
52809 fi
52810
52811 ECHO_C= ECHO_N= ECHO_T=
52812 case `echo -n x` in
52813 -n*)
52814 case `echo 'x\c'` in
52815 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52816 *) ECHO_C='\c';;
52817 esac;;
52818 *)
52819 ECHO_N='-n';;
52820 esac
52821
52822 if expr a : '\(a\)' >/dev/null 2>&1 &&
52823 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52824 as_expr=expr
52825 else
52826 as_expr=false
52827 fi
52828
52829 rm -f conf$$ conf$$.exe conf$$.file
52830 if test -d conf$$.dir; then
52831 rm -f conf$$.dir/conf$$.file
52832 else
52833 rm -f conf$$.dir
52834 mkdir conf$$.dir
52835 fi
52836 echo >conf$$.file
52837 if ln -s conf$$.file conf$$ 2>/dev/null; then
52838 as_ln_s='ln -s'
52839 # ... but there are two gotchas:
52840 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52841 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52842 # In both cases, we have to default to `cp -p'.
52843 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52844 as_ln_s='cp -p'
52845 elif ln conf$$.file conf$$ 2>/dev/null; then
52846 as_ln_s=ln
52847 else
52848 as_ln_s='cp -p'
52849 fi
52850 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52851 rmdir conf$$.dir 2>/dev/null
52852
52853 if mkdir -p . 2>/dev/null; then
52854 as_mkdir_p=:
52855 else
52856 test -d ./-p && rmdir ./-p
52857 as_mkdir_p=false
52858 fi
52859
52860 if test -x / >/dev/null 2>&1; then
52861 as_test_x='test -x'
52862 else
52863 if ls -dL / >/dev/null 2>&1; then
52864 as_ls_L_option=L
52865 else
52866 as_ls_L_option=
52867 fi
52868 as_test_x='
52869 eval sh -c '\''
52870 if test -d "$1"; then
52871 test -d "$1/.";
52872 else
52873 case $1 in
52874 -*)set "./$1";;
52875 esac;
52876 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52877 ???[sx]*):;;*)false;;esac;fi
52878 '\'' sh
52879 '
52880 fi
52881 as_executable_p=$as_test_x
52882
52883 # Sed expression to map a string onto a valid CPP name.
52884 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52885
52886 # Sed expression to map a string onto a valid variable name.
52887 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52888
52889
52890 exec 6>&1
52891
52892 # Save the log message, to keep $[0] and so on meaningful, and to
52893 # report actual input values of CONFIG_FILES etc. instead of their
52894 # values after options handling.
52895 ac_log="
52896 This file was extended by wxWidgets $as_me 2.9.0, which was
52897 generated by GNU Autoconf 2.61. Invocation command line was
52898
52899 CONFIG_FILES = $CONFIG_FILES
52900 CONFIG_HEADERS = $CONFIG_HEADERS
52901 CONFIG_LINKS = $CONFIG_LINKS
52902 CONFIG_COMMANDS = $CONFIG_COMMANDS
52903 $ $0 $@
52904
52905 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52906 "
52907
52908 _ACEOF
52909
52910 cat >>$CONFIG_STATUS <<_ACEOF
52911 # Files that config.status was made for.
52912 config_files="$ac_config_files"
52913 config_headers="$ac_config_headers"
52914 config_commands="$ac_config_commands"
52915
52916 _ACEOF
52917
52918 cat >>$CONFIG_STATUS <<\_ACEOF
52919 ac_cs_usage="\
52920 \`$as_me' instantiates files from templates according to the
52921 current configuration.
52922
52923 Usage: $0 [OPTIONS] [FILE]...
52924
52925 -h, --help print this help, then exit
52926 -V, --version print version number and configuration settings, then exit
52927 -q, --quiet do not print progress messages
52928 -d, --debug don't remove temporary files
52929 --recheck update $as_me by reconfiguring in the same conditions
52930 --file=FILE[:TEMPLATE]
52931 instantiate the configuration file FILE
52932 --header=FILE[:TEMPLATE]
52933 instantiate the configuration header FILE
52934
52935 Configuration files:
52936 $config_files
52937
52938 Configuration headers:
52939 $config_headers
52940
52941 Configuration commands:
52942 $config_commands
52943
52944 Report bugs to <bug-autoconf@gnu.org>."
52945
52946 _ACEOF
52947 cat >>$CONFIG_STATUS <<_ACEOF
52948 ac_cs_version="\\
52949 wxWidgets config.status 2.9.0
52950 configured by $0, generated by GNU Autoconf 2.61,
52951 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52952
52953 Copyright (C) 2006 Free Software Foundation, Inc.
52954 This config.status script is free software; the Free Software Foundation
52955 gives unlimited permission to copy, distribute and modify it."
52956
52957 ac_pwd='$ac_pwd'
52958 srcdir='$srcdir'
52959 INSTALL='$INSTALL'
52960 _ACEOF
52961
52962 cat >>$CONFIG_STATUS <<\_ACEOF
52963 # If no file are specified by the user, then we need to provide default
52964 # value. By we need to know if files were specified by the user.
52965 ac_need_defaults=:
52966 while test $# != 0
52967 do
52968 case $1 in
52969 --*=*)
52970 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52971 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52972 ac_shift=:
52973 ;;
52974 *)
52975 ac_option=$1
52976 ac_optarg=$2
52977 ac_shift=shift
52978 ;;
52979 esac
52980
52981 case $ac_option in
52982 # Handling of the options.
52983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52984 ac_cs_recheck=: ;;
52985 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52986 echo "$ac_cs_version"; exit ;;
52987 --debug | --debu | --deb | --de | --d | -d )
52988 debug=: ;;
52989 --file | --fil | --fi | --f )
52990 $ac_shift
52991 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52992 ac_need_defaults=false;;
52993 --header | --heade | --head | --hea )
52994 $ac_shift
52995 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52996 ac_need_defaults=false;;
52997 --he | --h)
52998 # Conflict between --help and --header
52999 { echo "$as_me: error: ambiguous option: $1
53000 Try \`$0 --help' for more information." >&2
53001 { (exit 1); exit 1; }; };;
53002 --help | --hel | -h )
53003 echo "$ac_cs_usage"; exit ;;
53004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53005 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53006 ac_cs_silent=: ;;
53007
53008 # This is an error.
53009 -*) { echo "$as_me: error: unrecognized option: $1
53010 Try \`$0 --help' for more information." >&2
53011 { (exit 1); exit 1; }; } ;;
53012
53013 *) ac_config_targets="$ac_config_targets $1"
53014 ac_need_defaults=false ;;
53015
53016 esac
53017 shift
53018 done
53019
53020 ac_configure_extra_args=
53021
53022 if $ac_cs_silent; then
53023 exec 6>/dev/null
53024 ac_configure_extra_args="$ac_configure_extra_args --silent"
53025 fi
53026
53027 _ACEOF
53028 cat >>$CONFIG_STATUS <<_ACEOF
53029 if \$ac_cs_recheck; then
53030 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53031 CONFIG_SHELL=$SHELL
53032 export CONFIG_SHELL
53033 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53034 fi
53035
53036 _ACEOF
53037 cat >>$CONFIG_STATUS <<\_ACEOF
53038 exec 5>>config.log
53039 {
53040 echo
53041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53042 ## Running $as_me. ##
53043 _ASBOX
53044 echo "$ac_log"
53045 } >&5
53046
53047 _ACEOF
53048 cat >>$CONFIG_STATUS <<_ACEOF
53049 #
53050 # INIT-COMMANDS
53051 #
53052
53053 CPP="$CPP"
53054 infile="$srcdir/include/wx/msw/genrcdefs.h"
53055 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53056
53057
53058 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53059 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53060 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53061 LN_S="${LN_S}"
53062
53063
53064 _ACEOF
53065
53066 cat >>$CONFIG_STATUS <<\_ACEOF
53067
53068 # Handling of arguments.
53069 for ac_config_target in $ac_config_targets
53070 do
53071 case $ac_config_target in
53072 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53073 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53074 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53075 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53076 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53077 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53078 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53079 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53080
53081 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53082 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53083 { (exit 1); exit 1; }; };;
53084 esac
53085 done
53086
53087
53088 # If the user did not use the arguments to specify the items to instantiate,
53089 # then the envvar interface is used. Set only those that are not.
53090 # We use the long form for the default assignment because of an extremely
53091 # bizarre bug on SunOS 4.1.3.
53092 if $ac_need_defaults; then
53093 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53094 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53095 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53096 fi
53097
53098 # Have a temporary directory for convenience. Make it in the build tree
53099 # simply because there is no reason against having it here, and in addition,
53100 # creating and moving files from /tmp can sometimes cause problems.
53101 # Hook for its removal unless debugging.
53102 # Note that there is a small window in which the directory will not be cleaned:
53103 # after its creation but before its name has been assigned to `$tmp'.
53104 $debug ||
53105 {
53106 tmp=
53107 trap 'exit_status=$?
53108 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53109 ' 0
53110 trap '{ (exit 1); exit 1; }' 1 2 13 15
53111 }
53112 # Create a (secure) tmp directory for tmp files.
53113
53114 {
53115 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53116 test -n "$tmp" && test -d "$tmp"
53117 } ||
53118 {
53119 tmp=./conf$$-$RANDOM
53120 (umask 077 && mkdir "$tmp")
53121 } ||
53122 {
53123 echo "$me: cannot create a temporary directory in ." >&2
53124 { (exit 1); exit 1; }
53125 }
53126
53127 #
53128 # Set up the sed scripts for CONFIG_FILES section.
53129 #
53130
53131 # No need to generate the scripts if there are no CONFIG_FILES.
53132 # This happens for instance when ./config.status config.h
53133 if test -n "$CONFIG_FILES"; then
53134
53135 _ACEOF
53136
53137
53138
53139 ac_delim='%!_!# '
53140 for ac_last_try in false false false false false :; do
53141 cat >conf$$subs.sed <<_ACEOF
53142 SHELL!$SHELL$ac_delim
53143 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53144 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53145 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53146 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53147 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53148 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53149 exec_prefix!$exec_prefix$ac_delim
53150 prefix!$prefix$ac_delim
53151 program_transform_name!$program_transform_name$ac_delim
53152 bindir!$bindir$ac_delim
53153 sbindir!$sbindir$ac_delim
53154 libexecdir!$libexecdir$ac_delim
53155 datarootdir!$datarootdir$ac_delim
53156 datadir!$datadir$ac_delim
53157 sysconfdir!$sysconfdir$ac_delim
53158 sharedstatedir!$sharedstatedir$ac_delim
53159 localstatedir!$localstatedir$ac_delim
53160 includedir!$includedir$ac_delim
53161 oldincludedir!$oldincludedir$ac_delim
53162 docdir!$docdir$ac_delim
53163 infodir!$infodir$ac_delim
53164 htmldir!$htmldir$ac_delim
53165 dvidir!$dvidir$ac_delim
53166 pdfdir!$pdfdir$ac_delim
53167 psdir!$psdir$ac_delim
53168 libdir!$libdir$ac_delim
53169 localedir!$localedir$ac_delim
53170 mandir!$mandir$ac_delim
53171 DEFS!$DEFS$ac_delim
53172 ECHO_C!$ECHO_C$ac_delim
53173 ECHO_N!$ECHO_N$ac_delim
53174 ECHO_T!$ECHO_T$ac_delim
53175 LIBS!$LIBS$ac_delim
53176 build_alias!$build_alias$ac_delim
53177 host_alias!$host_alias$ac_delim
53178 target_alias!$target_alias$ac_delim
53179 build!$build$ac_delim
53180 build_cpu!$build_cpu$ac_delim
53181 build_vendor!$build_vendor$ac_delim
53182 build_os!$build_os$ac_delim
53183 host!$host$ac_delim
53184 host_cpu!$host_cpu$ac_delim
53185 host_vendor!$host_vendor$ac_delim
53186 host_os!$host_os$ac_delim
53187 target!$target$ac_delim
53188 target_cpu!$target_cpu$ac_delim
53189 target_vendor!$target_vendor$ac_delim
53190 target_os!$target_os$ac_delim
53191 wx_top_builddir!$wx_top_builddir$ac_delim
53192 CC!$CC$ac_delim
53193 CFLAGS!$CFLAGS$ac_delim
53194 LDFLAGS!$LDFLAGS$ac_delim
53195 CPPFLAGS!$CPPFLAGS$ac_delim
53196 ac_ct_CC!$ac_ct_CC$ac_delim
53197 EXEEXT!$EXEEXT$ac_delim
53198 OBJEXT!$OBJEXT$ac_delim
53199 CPP!$CPP$ac_delim
53200 GREP!$GREP$ac_delim
53201 EGREP!$EGREP$ac_delim
53202 CXX!$CXX$ac_delim
53203 CXXFLAGS!$CXXFLAGS$ac_delim
53204 ac_ct_CXX!$ac_ct_CXX$ac_delim
53205 RANLIB!$RANLIB$ac_delim
53206 AR!$AR$ac_delim
53207 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53208 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53209 INSTALL_DATA!$INSTALL_DATA$ac_delim
53210 STRIP!$STRIP$ac_delim
53211 WINDRES!$WINDRES$ac_delim
53212 DLLTOOL!$DLLTOOL$ac_delim
53213 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53214 LN_S!$LN_S$ac_delim
53215 subdirs!$subdirs$ac_delim
53216 PKG_CONFIG!$PKG_CONFIG$ac_delim
53217 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53218 GTK_LIBS!$GTK_LIBS$ac_delim
53219 GTK_CONFIG!$GTK_CONFIG$ac_delim
53220 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53221 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53222 XMKMF!$XMKMF$ac_delim
53223 X_CFLAGS!$X_CFLAGS$ac_delim
53224 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53225 X_LIBS!$X_LIBS$ac_delim
53226 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53227 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53228 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53229 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53230 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53231 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53232 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53233 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53234 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53235 REZ!$REZ$ac_delim
53236 DEREZ!$DEREZ$ac_delim
53237 SETFILE!$SETFILE$ac_delim
53238 LIBICONV!$LIBICONV$ac_delim
53239 _ACEOF
53240
53241 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53242 break
53243 elif $ac_last_try; then
53244 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53245 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53246 { (exit 1); exit 1; }; }
53247 else
53248 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53249 fi
53250 done
53251
53252 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53253 if test -n "$ac_eof"; then
53254 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53255 ac_eof=`expr $ac_eof + 1`
53256 fi
53257
53258 cat >>$CONFIG_STATUS <<_ACEOF
53259 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53260 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53261 _ACEOF
53262 sed '
53263 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53264 s/^/s,@/; s/!/@,|#_!!_#|/
53265 :n
53266 t n
53267 s/'"$ac_delim"'$/,g/; t
53268 s/$/\\/; p
53269 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53270 ' >>$CONFIG_STATUS <conf$$subs.sed
53271 rm -f conf$$subs.sed
53272 cat >>$CONFIG_STATUS <<_ACEOF
53273 CEOF$ac_eof
53274 _ACEOF
53275
53276
53277 ac_delim='%!_!# '
53278 for ac_last_try in false false false false false :; do
53279 cat >conf$$subs.sed <<_ACEOF
53280 SDL_CONFIG!$SDL_CONFIG$ac_delim
53281 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53282 SDL_LIBS!$SDL_LIBS$ac_delim
53283 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53284 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53285 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53286 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53287 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53288 HILDON_LIBS!$HILDON_LIBS$ac_delim
53289 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53290 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53291 GST_CFLAGS!$GST_CFLAGS$ac_delim
53292 GST_LIBS!$GST_LIBS$ac_delim
53293 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53294 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53295 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53296 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53297 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53298 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53299 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53300 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53301 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53302 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53303 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53304 VENDOR!$VENDOR$ac_delim
53305 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53306 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53307 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53308 WXUNIV!$WXUNIV$ac_delim
53309 MONOLITHIC!$MONOLITHIC$ac_delim
53310 USE_PLUGINS!$USE_PLUGINS$ac_delim
53311 CXXWARNINGS!$CXXWARNINGS$ac_delim
53312 EXTRALIBS!$EXTRALIBS$ac_delim
53313 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53314 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53315 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53316 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53317 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53318 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53319 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53320 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53321 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53322 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53323 UNICODE!$UNICODE$ac_delim
53324 BUILD!$BUILD$ac_delim
53325 DEBUG_INFO!$DEBUG_INFO$ac_delim
53326 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53327 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53328 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53329 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53330 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53331 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53332 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53333 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53334 SET_MAKE!$SET_MAKE$ac_delim
53335 MAKE_SET!$MAKE_SET$ac_delim
53336 AROPTIONS!$AROPTIONS$ac_delim
53337 NM!$NM$ac_delim
53338 INSTALL_DIR!$INSTALL_DIR$ac_delim
53339 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53340 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53341 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53342 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53343 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53344 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53345 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53346 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53347 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53348 SO_SUFFIX!$SO_SUFFIX$ac_delim
53349 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53350 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53351 LIBPREFIX!$LIBPREFIX$ac_delim
53352 LIBEXT!$LIBEXT$ac_delim
53353 DLLPREFIX!$DLLPREFIX$ac_delim
53354 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53355 dlldir!$dlldir$ac_delim
53356 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53357 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53358 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53359 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53360 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53361 PIC_FLAG!$PIC_FLAG$ac_delim
53362 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53363 USE_SOVERSION!$USE_SOVERSION$ac_delim
53364 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53365 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53366 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53367 USE_MACVERSION!$USE_MACVERSION$ac_delim
53368 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53369 SONAME_FLAG!$SONAME_FLAG$ac_delim
53370 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53371 BK_DEPS!$BK_DEPS$ac_delim
53372 GCC_PCH!$GCC_PCH$ac_delim
53373 ICC_PCH!$ICC_PCH$ac_delim
53374 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53375 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53376 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53377 _ACEOF
53378
53379 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53380 break
53381 elif $ac_last_try; then
53382 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53383 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53384 { (exit 1); exit 1; }; }
53385 else
53386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53387 fi
53388 done
53389
53390 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53391 if test -n "$ac_eof"; then
53392 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53393 ac_eof=`expr $ac_eof + 1`
53394 fi
53395
53396 cat >>$CONFIG_STATUS <<_ACEOF
53397 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53399 _ACEOF
53400 sed '
53401 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53402 s/^/s,@/; s/!/@,|#_!!_#|/
53403 :n
53404 t n
53405 s/'"$ac_delim"'$/,g/; t
53406 s/$/\\/; p
53407 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53408 ' >>$CONFIG_STATUS <conf$$subs.sed
53409 rm -f conf$$subs.sed
53410 cat >>$CONFIG_STATUS <<_ACEOF
53411 CEOF$ac_eof
53412 _ACEOF
53413
53414
53415 ac_delim='%!_!# '
53416 for ac_last_try in false false false false false :; do
53417 cat >conf$$subs.sed <<_ACEOF
53418 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53419 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53420 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53421 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53422 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53423 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53424 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53425 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53426 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53427 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53428 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53429 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53430 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53431 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53432 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53433 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53434 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53435 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53437 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53438 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53439 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53440 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53441 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53442 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53443 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53444 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53445 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53446 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53447 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53448 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53449 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53450 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53451 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53452 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53453 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53454 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53455 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53456 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53457 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53458 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53459 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53460 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53461 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53462 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53463 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53464 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53465 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53466 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53467 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53468 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53469 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53470 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53471 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53472 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53473 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53474 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53475 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53476 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53477 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53478 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53479 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53480 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53481 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53482 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53483 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53484 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53485 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53486 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53487 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53488 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53489 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53490 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53491 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53492 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53493 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53494 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53495 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53496 COND_SHARED_0!$COND_SHARED_0$ac_delim
53497 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53498 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53499 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53500 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53501 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53502 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53503 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53504 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53505 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53506 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53507 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53508 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53509 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53510 COND_SHARED_1!$COND_SHARED_1$ac_delim
53511 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53512 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53513 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53514 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53515 _ACEOF
53516
53517 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53518 break
53519 elif $ac_last_try; then
53520 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53521 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53522 { (exit 1); exit 1; }; }
53523 else
53524 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53525 fi
53526 done
53527
53528 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53529 if test -n "$ac_eof"; then
53530 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53531 ac_eof=`expr $ac_eof + 1`
53532 fi
53533
53534 cat >>$CONFIG_STATUS <<_ACEOF
53535 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53537 _ACEOF
53538 sed '
53539 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53540 s/^/s,@/; s/!/@,|#_!!_#|/
53541 :n
53542 t n
53543 s/'"$ac_delim"'$/,g/; t
53544 s/$/\\/; p
53545 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53546 ' >>$CONFIG_STATUS <conf$$subs.sed
53547 rm -f conf$$subs.sed
53548 cat >>$CONFIG_STATUS <<_ACEOF
53549 CEOF$ac_eof
53550 _ACEOF
53551
53552
53553 ac_delim='%!_!# '
53554 for ac_last_try in false false false false false :; do
53555 cat >conf$$subs.sed <<_ACEOF
53556 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53557 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53558 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53559 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53560 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53561 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53562 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53563 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53564 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53565 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53566 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53567 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53568 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53569 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53570 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53571 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53572 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53573 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53574 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53575 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53576 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53577 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53578 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53579 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53580 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53581 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53582 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53583 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53584 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53585 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53586 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53587 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53588 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53589 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53590 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53591 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53592 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53593 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53594 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53595 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53596 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53597 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53598 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53599 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53600 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53601 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53602 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53603 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53604 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53605 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53606 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53607 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53608 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53609 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53610 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53611 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53612 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53613 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53614 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53615 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53616 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53617 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53618 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53619 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53620 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53621 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53622 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53623 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53624 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53625 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53626 SHARED!$SHARED$ac_delim
53627 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53628 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53629 USE_GUI!$USE_GUI$ac_delim
53630 AFMINSTALL!$AFMINSTALL$ac_delim
53631 WIN32INSTALL!$WIN32INSTALL$ac_delim
53632 TOOLKIT!$TOOLKIT$ac_delim
53633 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53634 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53635 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53636 cross_compiling!$cross_compiling$ac_delim
53637 WIDGET_SET!$WIDGET_SET$ac_delim
53638 WX_RELEASE!$WX_RELEASE$ac_delim
53639 WX_VERSION!$WX_VERSION$ac_delim
53640 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53641 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53642 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53643 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53644 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53645 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53646 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53647 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53648 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53649 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53650 EXE_LINKER!$EXE_LINKER$ac_delim
53651 GUIDIST!$GUIDIST$ac_delim
53652 DISTDIR!$DISTDIR$ac_delim
53653 _ACEOF
53654
53655 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53656 break
53657 elif $ac_last_try; then
53658 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53659 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53660 { (exit 1); exit 1; }; }
53661 else
53662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53663 fi
53664 done
53665
53666 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53667 if test -n "$ac_eof"; then
53668 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53669 ac_eof=`expr $ac_eof + 1`
53670 fi
53671
53672 cat >>$CONFIG_STATUS <<_ACEOF
53673 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53674 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53675 _ACEOF
53676 sed '
53677 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53678 s/^/s,@/; s/!/@,|#_!!_#|/
53679 :n
53680 t n
53681 s/'"$ac_delim"'$/,g/; t
53682 s/$/\\/; p
53683 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53684 ' >>$CONFIG_STATUS <conf$$subs.sed
53685 rm -f conf$$subs.sed
53686 cat >>$CONFIG_STATUS <<_ACEOF
53687 CEOF$ac_eof
53688 _ACEOF
53689
53690
53691 ac_delim='%!_!# '
53692 for ac_last_try in false false false false false :; do
53693 cat >conf$$subs.sed <<_ACEOF
53694 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53695 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53696 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53697 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53698 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53699 RESCOMP!$RESCOMP$ac_delim
53700 RESFLAGS!$RESFLAGS$ac_delim
53701 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53702 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53703 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53704 LIBWXMACRES!$LIBWXMACRES$ac_delim
53705 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53706 MACSETFILE!$MACSETFILE$ac_delim
53707 GCC!$GCC$ac_delim
53708 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53709 LIBOBJS!$LIBOBJS$ac_delim
53710 LTLIBOBJS!$LTLIBOBJS$ac_delim
53711 _ACEOF
53712
53713 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53714 break
53715 elif $ac_last_try; then
53716 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53717 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53718 { (exit 1); exit 1; }; }
53719 else
53720 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53721 fi
53722 done
53723
53724 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53725 if test -n "$ac_eof"; then
53726 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53727 ac_eof=`expr $ac_eof + 1`
53728 fi
53729
53730 cat >>$CONFIG_STATUS <<_ACEOF
53731 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53732 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53733 _ACEOF
53734 sed '
53735 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53736 s/^/s,@/; s/!/@,|#_!!_#|/
53737 :n
53738 t n
53739 s/'"$ac_delim"'$/,g/; t
53740 s/$/\\/; p
53741 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53742 ' >>$CONFIG_STATUS <conf$$subs.sed
53743 rm -f conf$$subs.sed
53744 cat >>$CONFIG_STATUS <<_ACEOF
53745 :end
53746 s/|#_!!_#|//g
53747 CEOF$ac_eof
53748 _ACEOF
53749
53750
53751 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53752 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53753 # trailing colons and then remove the whole line if VPATH becomes empty
53754 # (actually we leave an empty line to preserve line numbers).
53755 if test "x$srcdir" = x.; then
53756 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53757 s/:*\$(srcdir):*/:/
53758 s/:*\${srcdir}:*/:/
53759 s/:*@srcdir@:*/:/
53760 s/^\([^=]*=[ ]*\):*/\1/
53761 s/:*$//
53762 s/^[^=]*=[ ]*$//
53763 }'
53764 fi
53765
53766 cat >>$CONFIG_STATUS <<\_ACEOF
53767 fi # test -n "$CONFIG_FILES"
53768
53769
53770 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53771 do
53772 case $ac_tag in
53773 :[FHLC]) ac_mode=$ac_tag; continue;;
53774 esac
53775 case $ac_mode$ac_tag in
53776 :[FHL]*:*);;
53777 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53778 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53779 { (exit 1); exit 1; }; };;
53780 :[FH]-) ac_tag=-:-;;
53781 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53782 esac
53783 ac_save_IFS=$IFS
53784 IFS=:
53785 set x $ac_tag
53786 IFS=$ac_save_IFS
53787 shift
53788 ac_file=$1
53789 shift
53790
53791 case $ac_mode in
53792 :L) ac_source=$1;;
53793 :[FH])
53794 ac_file_inputs=
53795 for ac_f
53796 do
53797 case $ac_f in
53798 -) ac_f="$tmp/stdin";;
53799 *) # Look for the file first in the build tree, then in the source tree
53800 # (if the path is not absolute). The absolute path cannot be DOS-style,
53801 # because $ac_f cannot contain `:'.
53802 test -f "$ac_f" ||
53803 case $ac_f in
53804 [\\/$]*) false;;
53805 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53806 esac ||
53807 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53808 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53809 { (exit 1); exit 1; }; };;
53810 esac
53811 ac_file_inputs="$ac_file_inputs $ac_f"
53812 done
53813
53814 # Let's still pretend it is `configure' which instantiates (i.e., don't
53815 # use $as_me), people would be surprised to read:
53816 # /* config.h. Generated by config.status. */
53817 configure_input="Generated from "`IFS=:
53818 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53819 if test x"$ac_file" != x-; then
53820 configure_input="$ac_file. $configure_input"
53821 { echo "$as_me:$LINENO: creating $ac_file" >&5
53822 echo "$as_me: creating $ac_file" >&6;}
53823 fi
53824
53825 case $ac_tag in
53826 *:-:* | *:-) cat >"$tmp/stdin";;
53827 esac
53828 ;;
53829 esac
53830
53831 ac_dir=`$as_dirname -- "$ac_file" ||
53832 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53833 X"$ac_file" : 'X\(//\)[^/]' \| \
53834 X"$ac_file" : 'X\(//\)$' \| \
53835 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53836 echo X"$ac_file" |
53837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53838 s//\1/
53839 q
53840 }
53841 /^X\(\/\/\)[^/].*/{
53842 s//\1/
53843 q
53844 }
53845 /^X\(\/\/\)$/{
53846 s//\1/
53847 q
53848 }
53849 /^X\(\/\).*/{
53850 s//\1/
53851 q
53852 }
53853 s/.*/./; q'`
53854 { as_dir="$ac_dir"
53855 case $as_dir in #(
53856 -*) as_dir=./$as_dir;;
53857 esac
53858 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53859 as_dirs=
53860 while :; do
53861 case $as_dir in #(
53862 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53863 *) as_qdir=$as_dir;;
53864 esac
53865 as_dirs="'$as_qdir' $as_dirs"
53866 as_dir=`$as_dirname -- "$as_dir" ||
53867 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53868 X"$as_dir" : 'X\(//\)[^/]' \| \
53869 X"$as_dir" : 'X\(//\)$' \| \
53870 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53871 echo X"$as_dir" |
53872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53873 s//\1/
53874 q
53875 }
53876 /^X\(\/\/\)[^/].*/{
53877 s//\1/
53878 q
53879 }
53880 /^X\(\/\/\)$/{
53881 s//\1/
53882 q
53883 }
53884 /^X\(\/\).*/{
53885 s//\1/
53886 q
53887 }
53888 s/.*/./; q'`
53889 test -d "$as_dir" && break
53890 done
53891 test -z "$as_dirs" || eval "mkdir $as_dirs"
53892 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53893 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53894 { (exit 1); exit 1; }; }; }
53895 ac_builddir=.
53896
53897 case "$ac_dir" in
53898 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53899 *)
53900 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53901 # A ".." for each directory in $ac_dir_suffix.
53902 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53903 case $ac_top_builddir_sub in
53904 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53905 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53906 esac ;;
53907 esac
53908 ac_abs_top_builddir=$ac_pwd
53909 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53910 # for backward compatibility:
53911 ac_top_builddir=$ac_top_build_prefix
53912
53913 case $srcdir in
53914 .) # We are building in place.
53915 ac_srcdir=.
53916 ac_top_srcdir=$ac_top_builddir_sub
53917 ac_abs_top_srcdir=$ac_pwd ;;
53918 [\\/]* | ?:[\\/]* ) # Absolute name.
53919 ac_srcdir=$srcdir$ac_dir_suffix;
53920 ac_top_srcdir=$srcdir
53921 ac_abs_top_srcdir=$srcdir ;;
53922 *) # Relative name.
53923 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53924 ac_top_srcdir=$ac_top_build_prefix$srcdir
53925 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53926 esac
53927 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53928
53929
53930 case $ac_mode in
53931 :F)
53932 #
53933 # CONFIG_FILE
53934 #
53935
53936 case $INSTALL in
53937 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53938 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53939 esac
53940 _ACEOF
53941
53942 cat >>$CONFIG_STATUS <<\_ACEOF
53943 # If the template does not know about datarootdir, expand it.
53944 # FIXME: This hack should be removed a few years after 2.60.
53945 ac_datarootdir_hack=; ac_datarootdir_seen=
53946
53947 case `sed -n '/datarootdir/ {
53948 p
53949 q
53950 }
53951 /@datadir@/p
53952 /@docdir@/p
53953 /@infodir@/p
53954 /@localedir@/p
53955 /@mandir@/p
53956 ' $ac_file_inputs` in
53957 *datarootdir*) ac_datarootdir_seen=yes;;
53958 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53959 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53960 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53961 _ACEOF
53962 cat >>$CONFIG_STATUS <<_ACEOF
53963 ac_datarootdir_hack='
53964 s&@datadir@&$datadir&g
53965 s&@docdir@&$docdir&g
53966 s&@infodir@&$infodir&g
53967 s&@localedir@&$localedir&g
53968 s&@mandir@&$mandir&g
53969 s&\\\${datarootdir}&$datarootdir&g' ;;
53970 esac
53971 _ACEOF
53972
53973 # Neutralize VPATH when `$srcdir' = `.'.
53974 # Shell code in configure.ac might set extrasub.
53975 # FIXME: do we really want to maintain this feature?
53976 cat >>$CONFIG_STATUS <<_ACEOF
53977 sed "$ac_vpsub
53978 $extrasub
53979 _ACEOF
53980 cat >>$CONFIG_STATUS <<\_ACEOF
53981 :t
53982 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53983 s&@configure_input@&$configure_input&;t t
53984 s&@top_builddir@&$ac_top_builddir_sub&;t t
53985 s&@srcdir@&$ac_srcdir&;t t
53986 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53987 s&@top_srcdir@&$ac_top_srcdir&;t t
53988 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53989 s&@builddir@&$ac_builddir&;t t
53990 s&@abs_builddir@&$ac_abs_builddir&;t t
53991 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53992 s&@INSTALL@&$ac_INSTALL&;t t
53993 $ac_datarootdir_hack
53994 " $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
53995
53996 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53997 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53998 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53999 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54000 which seems to be undefined. Please make sure it is defined." >&5
54001 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54002 which seems to be undefined. Please make sure it is defined." >&2;}
54003
54004 rm -f "$tmp/stdin"
54005 case $ac_file in
54006 -) cat "$tmp/out"; rm -f "$tmp/out";;
54007 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54008 esac
54009 ;;
54010 :H)
54011 #
54012 # CONFIG_HEADER
54013 #
54014 _ACEOF
54015
54016 # Transform confdefs.h into a sed script `conftest.defines', that
54017 # substitutes the proper values into config.h.in to produce config.h.
54018 rm -f conftest.defines conftest.tail
54019 # First, append a space to every undef/define line, to ease matching.
54020 echo 's/$/ /' >conftest.defines
54021 # Then, protect against being on the right side of a sed subst, or in
54022 # an unquoted here document, in config.status. If some macros were
54023 # called several times there might be several #defines for the same
54024 # symbol, which is useless. But do not sort them, since the last
54025 # AC_DEFINE must be honored.
54026 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54027 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54028 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54029 # PARAMS is the parameter list in the macro definition--in most cases, it's
54030 # just an empty string.
54031 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54032 ac_dB='\\)[ (].*,\\1define\\2'
54033 ac_dC=' '
54034 ac_dD=' ,'
54035
54036 uniq confdefs.h |
54037 sed -n '
54038 t rset
54039 :rset
54040 s/^[ ]*#[ ]*define[ ][ ]*//
54041 t ok
54042 d
54043 :ok
54044 s/[\\&,]/\\&/g
54045 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54046 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54047 ' >>conftest.defines
54048
54049 # Remove the space that was appended to ease matching.
54050 # Then replace #undef with comments. This is necessary, for
54051 # example, in the case of _POSIX_SOURCE, which is predefined and required
54052 # on some systems where configure will not decide to define it.
54053 # (The regexp can be short, since the line contains either #define or #undef.)
54054 echo 's/ $//
54055 s,^[ #]*u.*,/* & */,' >>conftest.defines
54056
54057 # Break up conftest.defines:
54058 ac_max_sed_lines=50
54059
54060 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54061 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54062 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54063 # et cetera.
54064 ac_in='$ac_file_inputs'
54065 ac_out='"$tmp/out1"'
54066 ac_nxt='"$tmp/out2"'
54067
54068 while :
54069 do
54070 # Write a here document:
54071 cat >>$CONFIG_STATUS <<_ACEOF
54072 # First, check the format of the line:
54073 cat >"\$tmp/defines.sed" <<\\CEOF
54074 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54075 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54076 b
54077 :def
54078 _ACEOF
54079 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54080 echo 'CEOF
54081 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54082 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54083 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54084 grep . conftest.tail >/dev/null || break
54085 rm -f conftest.defines
54086 mv conftest.tail conftest.defines
54087 done
54088 rm -f conftest.defines conftest.tail
54089
54090 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54091 cat >>$CONFIG_STATUS <<\_ACEOF
54092 if test x"$ac_file" != x-; then
54093 echo "/* $configure_input */" >"$tmp/config.h"
54094 cat "$ac_result" >>"$tmp/config.h"
54095 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54096 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54097 echo "$as_me: $ac_file is unchanged" >&6;}
54098 else
54099 rm -f $ac_file
54100 mv "$tmp/config.h" $ac_file
54101 fi
54102 else
54103 echo "/* $configure_input */"
54104 cat "$ac_result"
54105 fi
54106 rm -f "$tmp/out12"
54107 ;;
54108
54109 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54110 echo "$as_me: executing $ac_file commands" >&6;}
54111 ;;
54112 esac
54113
54114
54115 case $ac_file$ac_mode in
54116 "rcdefs.h":C)
54117 mkdir -p $outdir &&
54118 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54119 ;;
54120 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54121 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54122 "wx-config":C) rm -f wx-config
54123 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54124 ;;
54125
54126 esac
54127 done # for ac_tag
54128
54129
54130 { (exit 0); exit 0; }
54131 _ACEOF
54132 chmod +x $CONFIG_STATUS
54133 ac_clean_files=$ac_clean_files_save
54134
54135
54136 # configure is writing to config.log, and then calls config.status.
54137 # config.status does its own redirection, appending to config.log.
54138 # Unfortunately, on DOS this fails, as config.log is still kept open
54139 # by configure, so config.status won't be able to write to it; its
54140 # output is simply discarded. So we exec the FD to /dev/null,
54141 # effectively closing config.log, so it can be properly (re)opened and
54142 # appended to by config.status. When coming back to configure, we
54143 # need to make the FD available again.
54144 if test "$no_create" != yes; then
54145 ac_cs_success=:
54146 ac_config_status_args=
54147 test "$silent" = yes &&
54148 ac_config_status_args="$ac_config_status_args --quiet"
54149 exec 5>/dev/null
54150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54151 exec 5>>config.log
54152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54153 # would make configure fail if this is the last instruction.
54154 $ac_cs_success || { (exit 1); exit 1; }
54155 fi
54156
54157 #
54158 # CONFIG_SUBDIRS section.
54159 #
54160 if test "$no_recursion" != yes; then
54161
54162 # Remove --cache-file and --srcdir arguments so they do not pile up.
54163 ac_sub_configure_args=
54164 ac_prev=
54165 eval "set x $ac_configure_args"
54166 shift
54167 for ac_arg
54168 do
54169 if test -n "$ac_prev"; then
54170 ac_prev=
54171 continue
54172 fi
54173 case $ac_arg in
54174 -cache-file | --cache-file | --cache-fil | --cache-fi \
54175 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54176 ac_prev=cache_file ;;
54177 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54178 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54179 | --c=*)
54180 ;;
54181 --config-cache | -C)
54182 ;;
54183 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54184 ac_prev=srcdir ;;
54185 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54186 ;;
54187 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54188 ac_prev=prefix ;;
54189 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54190 ;;
54191 *)
54192 case $ac_arg in
54193 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54194 esac
54195 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54196 esac
54197 done
54198
54199 # Always prepend --prefix to ensure using the same prefix
54200 # in subdir configurations.
54201 ac_arg="--prefix=$prefix"
54202 case $ac_arg in
54203 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54204 esac
54205 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54206
54207 # Pass --silent
54208 if test "$silent" = yes; then
54209 ac_sub_configure_args="--silent $ac_sub_configure_args"
54210 fi
54211
54212 ac_popdir=`pwd`
54213 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54214
54215 # Do not complain, so a configure script can configure whichever
54216 # parts of a large source tree are present.
54217 test -d "$srcdir/$ac_dir" || continue
54218
54219 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54220 echo "$as_me:$LINENO: $ac_msg" >&5
54221 echo "$ac_msg" >&6
54222 { as_dir="$ac_dir"
54223 case $as_dir in #(
54224 -*) as_dir=./$as_dir;;
54225 esac
54226 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54227 as_dirs=
54228 while :; do
54229 case $as_dir in #(
54230 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54231 *) as_qdir=$as_dir;;
54232 esac
54233 as_dirs="'$as_qdir' $as_dirs"
54234 as_dir=`$as_dirname -- "$as_dir" ||
54235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54236 X"$as_dir" : 'X\(//\)[^/]' \| \
54237 X"$as_dir" : 'X\(//\)$' \| \
54238 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54239 echo X"$as_dir" |
54240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54241 s//\1/
54242 q
54243 }
54244 /^X\(\/\/\)[^/].*/{
54245 s//\1/
54246 q
54247 }
54248 /^X\(\/\/\)$/{
54249 s//\1/
54250 q
54251 }
54252 /^X\(\/\).*/{
54253 s//\1/
54254 q
54255 }
54256 s/.*/./; q'`
54257 test -d "$as_dir" && break
54258 done
54259 test -z "$as_dirs" || eval "mkdir $as_dirs"
54260 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54261 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54262 { (exit 1); exit 1; }; }; }
54263 ac_builddir=.
54264
54265 case "$ac_dir" in
54266 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54267 *)
54268 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54269 # A ".." for each directory in $ac_dir_suffix.
54270 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54271 case $ac_top_builddir_sub in
54272 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54273 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54274 esac ;;
54275 esac
54276 ac_abs_top_builddir=$ac_pwd
54277 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54278 # for backward compatibility:
54279 ac_top_builddir=$ac_top_build_prefix
54280
54281 case $srcdir in
54282 .) # We are building in place.
54283 ac_srcdir=.
54284 ac_top_srcdir=$ac_top_builddir_sub
54285 ac_abs_top_srcdir=$ac_pwd ;;
54286 [\\/]* | ?:[\\/]* ) # Absolute name.
54287 ac_srcdir=$srcdir$ac_dir_suffix;
54288 ac_top_srcdir=$srcdir
54289 ac_abs_top_srcdir=$srcdir ;;
54290 *) # Relative name.
54291 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54292 ac_top_srcdir=$ac_top_build_prefix$srcdir
54293 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54294 esac
54295 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54296
54297
54298 cd "$ac_dir"
54299
54300 # Check for guested configure; otherwise get Cygnus style configure.
54301 if test -f "$ac_srcdir/configure.gnu"; then
54302 ac_sub_configure=$ac_srcdir/configure.gnu
54303 elif test -f "$ac_srcdir/configure"; then
54304 ac_sub_configure=$ac_srcdir/configure
54305 elif test -f "$ac_srcdir/configure.in"; then
54306 # This should be Cygnus configure.
54307 ac_sub_configure=$ac_aux_dir/configure
54308 else
54309 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54310 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54311 ac_sub_configure=
54312 fi
54313
54314 # The recursion is here.
54315 if test -n "$ac_sub_configure"; then
54316 # Make the cache file name correct relative to the subdirectory.
54317 case $cache_file in
54318 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54319 *) # Relative name.
54320 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54321 esac
54322
54323 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54324 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54325 # The eval makes quoting arguments work.
54326 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54327 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54328 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54329 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54330 { (exit 1); exit 1; }; }
54331 fi
54332
54333 cd "$ac_popdir"
54334 done
54335 fi
54336
54337
54338 echo
54339 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54340 echo ""
54341 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54342 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54343
54344 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54345 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54346 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54347 if test "$wxUSE_UNICODE" = "yes"; then
54348 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54349 echo " (using UTF-8)"
54350 else
54351 echo " (using wchar_t)"
54352 fi
54353 else
54354 echo
54355 fi
54356
54357 echo " What level of wxWidgets compatibility should be enabled?"
54358 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54359 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54360
54361 echo " Which libraries should wxWidgets use?"
54362 echo " jpeg ${wxUSE_LIBJPEG-none}"
54363 echo " png ${wxUSE_LIBPNG-none}"
54364 echo " regex ${wxUSE_REGEX}"
54365 echo " tiff ${wxUSE_LIBTIFF-none}"
54366 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54367 echo " xpm ${wxUSE_LIBXPM-none}"
54368 fi
54369 echo " zlib ${wxUSE_ZLIB}"
54370 echo " odbc ${wxUSE_ODBC}"
54371 echo " expat ${wxUSE_EXPAT}"
54372 echo " libmspack ${wxUSE_LIBMSPACK}"
54373 echo " sdl ${wxUSE_LIBSDL}"
54374
54375 echo ""
54376