]> git.saurik.com Git - wxWidgets.git/blob - configure
Fixed URL saving/loading
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 48336 2007-08-22 15:11:12Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 CAIRO_CFLAGS
714 CAIRO_LIBS
715 GST_CFLAGS
716 GST_LIBS
717 ALL_WX_LIBS
718 BUILT_WX_LIBS
719 STD_BASE_LIBS
720 STD_GUI_LIBS
721 wxUSE_ZLIB
722 wxUSE_REGEX
723 wxUSE_EXPAT
724 wxUSE_ODBC
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_ODBC
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 WITH_PLUGIN_SDL
744 EXTRALIBS_GNOMEPRINT
745 EXTRALIBS_GNOMEVFS
746 EXTRALIBS_HILDON
747 UNICODE
748 BUILD
749 DEBUG_INFO
750 DEBUG_FLAG
751 TOOLKIT_LOWERCASE
752 TOOLKIT_VERSION
753 SAMPLES_RPATH_FLAG
754 SAMPLES_RPATH_POSTLINK
755 HOST_SUFFIX
756 CPPUNIT_CFLAGS
757 CPPUNIT_LIBS
758 RANLIB
759 INSTALL_PROGRAM
760 INSTALL_SCRIPT
761 INSTALL_DATA
762 LN_S
763 SET_MAKE
764 MAKE_SET
765 AROPTIONS
766 STRIP
767 NM
768 INSTALL_DIR
769 LDFLAGS_GUI
770 IF_GNU_MAKE
771 PLATFORM_UNIX
772 PLATFORM_WIN32
773 PLATFORM_MSDOS
774 PLATFORM_MAC
775 PLATFORM_MACOS
776 PLATFORM_MACOSX
777 PLATFORM_OS2
778 PLATFORM_BEOS
779 SO_SUFFIX
780 SO_SUFFIX_MODULE
781 DLLIMP_SUFFIX
782 LIBPREFIX
783 LIBEXT
784 DLLPREFIX
785 DLLPREFIX_MODULE
786 dlldir
787 AIX_CXX_LD
788 SHARED_LD_CC
789 SHARED_LD_CXX
790 SHARED_LD_MODULE_CC
791 SHARED_LD_MODULE_CXX
792 PIC_FLAG
793 WINDOWS_IMPLIB
794 USE_SOVERSION
795 USE_SOVERLINUX
796 USE_SOVERSOLARIS
797 USE_SOVERCYGWIN
798 USE_MACVERSION
799 USE_SOSYMLINKS
800 SONAME_FLAG
801 DEPS_TRACKING
802 BK_DEPS
803 WINDRES
804 REZ
805 SETFILE
806 GCC_PCH
807 ICC_PCH
808 BK_MAKE_PCH
809 COND_BUILD_DEBUG
810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
811 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
812 COND_BUILD_DEBUG_UNICODE_0
813 COND_BUILD_DEBUG_UNICODE_1
814 COND_BUILD_RELEASE
815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
816 COND_BUILD_RELEASE_UNICODE_0
817 COND_BUILD_RELEASE_UNICODE_1
818 COND_DEBUG_FLAG_1
819 COND_DEBUG_INFO_0
820 COND_DEBUG_INFO_1
821 COND_DEPS_TRACKING_0
822 COND_DEPS_TRACKING_1
823 COND_GCC_PCH_1
824 COND_ICC_PCH_1
825 COND_MONOLITHIC_0
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
848 COND_MONOLITHIC_0_USE_AUI_1
849 COND_MONOLITHIC_0_USE_GUI_1
850 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
859 COND_MONOLITHIC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_
868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
874 COND_PLATFORM_MACOSX_1_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
877 COND_PLATFORM_MAC_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_OS2_1
881 COND_PLATFORM_UNIX_0
882 COND_PLATFORM_UNIX_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
889 COND_SHARED_0
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_USE_XRC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_ODBC_BUILTIN
901 COND_SHARED_0_WXUSE_REGEX_BUILTIN
902 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
903 COND_SHARED_1
904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_1_USE_XRC_1
906 COND_TOOLKIT_
907 COND_TOOLKIT_COCOA
908 COND_TOOLKIT_COCOA_USE_GUI_1
909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_DFB
911 COND_TOOLKIT_DFB_USE_GUI_1
912 COND_TOOLKIT_GTK
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_USE_GUI_1
920 COND_TOOLKIT_MAC
921 COND_TOOLKIT_MAC_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MGL
924 COND_TOOLKIT_MGL_USE_GUI_1
925 COND_TOOLKIT_MOTIF
926 COND_TOOLKIT_MOTIF_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW
929 COND_TOOLKIT_MSW_USE_GUI_1
930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_WXUNIV_0
932 COND_TOOLKIT_PM
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
939 COND_TOOLKIT_X11
940 COND_TOOLKIT_X11_USE_GUI_1
941 COND_UNICODE_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_0
945 COND_USE_GUI_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
952 COND_USE_ODBC_1
953 COND_USE_OPENGL_1
954 COND_USE_PCH_1
955 COND_USE_PLUGINS_0
956 COND_USE_RTTI_0
957 COND_USE_RTTI_1
958 COND_USE_SOSYMLINKS_1
959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
960 COND_USE_SOVERLINUX_1
961 COND_USE_SOVERSION_0
962 COND_USE_SOVERSOLARIS_1
963 COND_USE_STC_1
964 COND_USE_THREADS_0
965 COND_USE_THREADS_1
966 COND_USE_XRC_1
967 COND_WINDOWS_IMPLIB_1
968 COND_WITH_PLUGIN_SDL_1
969 COND_WXUNIV_0
970 COND_WXUNIV_1
971 COND_WXUSE_EXPAT_BUILTIN
972 COND_WXUSE_LIBJPEG_BUILTIN
973 COND_WXUSE_LIBPNG_BUILTIN
974 COND_WXUSE_LIBTIFF_BUILTIN
975 COND_WXUSE_ODBC_BUILTIN
976 COND_WXUSE_REGEX_BUILTIN
977 COND_WXUSE_ZLIB_BUILTIN
978 DEREZ
979 SHARED
980 WX_LIBRARY_BASENAME_NOGUI
981 WX_LIBRARY_BASENAME_GUI
982 USE_GUI
983 AFMINSTALL
984 WIN32INSTALL
985 TOOLKIT
986 TOOLKIT_DIR
987 TOOLCHAIN_NAME
988 TOOLCHAIN_FULLNAME
989 cross_compiling
990 WIDGET_SET
991 WX_RELEASE
992 WX_VERSION
993 WX_SUBVERSION
994 WX_CHARTYPE
995 WX_DEBUGTYPE
996 WXCONFIG_CPPFLAGS
997 WXCONFIG_CFLAGS
998 WXCONFIG_CXXFLAGS
999 WXCONFIG_LIBS
1000 WXCONFIG_RPATH
1001 WXCONFIG_LDFLAGS_GUI
1002 WXCONFIG_RESFLAGS
1003 EXE_LINKER
1004 GUIDIST
1005 DISTDIR
1006 SAMPLES_SUBDIRS
1007 LDFLAGS_GL
1008 OPENGL_LIBS
1009 DMALLOC_LIBS
1010 WX_VERSION_TAG
1011 RESCOMP
1012 RESFLAGS
1013 RESPROGRAMOBJ
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1016 LIBWXMACRES
1017 POSTLINK_COMMAND
1018 MACSETFILE
1019 GCC
1020 DLLTOOL
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 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 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 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-iniconf use wxIniConfig (Win32 only)
1734 --enable-regkey use wxRegKey class (Win32 only)
1735 --enable-docview use document view architecture
1736 --enable-help use help subsystem
1737 --enable-mshtmlhelp use MS HTML Help (win32)
1738 --enable-html use wxHTML sub-library
1739 --enable-htmlhelp use wxHTML-based help
1740 --enable-xrc use XRC resources sub-library
1741 --enable-aui use AUI docking library
1742 --enable-stc use wxStyledTextCtrl library
1743 --enable-constraints use layout-constraints system
1744 --enable-printarch use printing architecture
1745 --enable-mdi use multiple document interface architecture
1746 --enable-mdidoc use docview architecture with MDI
1747 --enable-loggui use standard GUI logger
1748 --enable-logwin use wxLogWindow
1749 --enable-logdialog use wxLogDialog
1750 --enable-webkit use wxWebKitCtrl (Mac)
1751 --enable-richtext use wxRichTextCtrl
1752 --enable-graphics_ctx use graphics context 2D drawing API
1753 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1754 --enable-svg use wxSVGFileDC device context
1755 --enable-clipboard use wxClipboard class
1756 --enable-dnd use Drag'n'Drop classes
1757 --enable-metafile use win32 metafiles
1758 --disable-controls disable compilation of all standard controls
1759 --enable-accel use accelerators
1760 --enable-animatectrl use wxAnimationCtrl class
1761 --enable-button use wxButton class
1762 --enable-bmpbutton use wxBitmapButton class
1763 --enable-bmpcombobox use wxBitmapComboBox class
1764 --enable-calendar use wxCalendarCtrl class
1765 --enable-caret use wxCaret class
1766 --enable-checkbox use wxCheckBox class
1767 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1768 --enable-choice use wxChoice class
1769 --enable-choicebook use wxChoicebook class
1770 --enable-collpane use wxCollapsiblePane class
1771 --enable-colourpicker use wxColourPickerCtrl class
1772 --enable-combobox use wxComboBox class
1773 --enable-comboctrl use wxComboCtrl class
1774 --enable-datepick use wxDatePickerCtrl class
1775 --enable-dirpicker use wxDirPickerCtrl class
1776 --enable-display use wxDisplay class
1777 --enable-detect_sm use code to detect X11 session manager
1778 --enable-editablebox use wxEditableListBox class
1779 --enable-filepicker use wxFilePickerCtrl class
1780 --enable-fontpicker use wxFontPickerCtrl class
1781 --enable-gauge use wxGauge class
1782 --enable-grid use wxGrid class
1783 --enable-dataviewctrl use wxDataViewCtrl class
1784 --enable-hyperlink use wxHyperlinkCtrl class
1785 --enable-imaglist use wxImageList class
1786 --enable-listbook use wxListbook class
1787 --enable-listbox use wxListBox class
1788 --enable-listctrl use wxListCtrl class
1789 --enable-notebook use wxNotebook class
1790 --enable-odcombobox use wxOwnerDrawnComboBox class
1791 --enable-radiobox use wxRadioBox class
1792 --enable-radiobtn use wxRadioButton class
1793 --enable-sash use wxSashWindow class
1794 --enable-scrollbar use wxScrollBar class and scrollable windows
1795 --enable-searchctrl use wxSearchCtrl class
1796 --enable-slider use wxSlider class
1797 --enable-spinbtn use wxSpinButton class
1798 --enable-spinctrl use wxSpinCtrl class
1799 --enable-splitter use wxSplitterWindow class
1800 --enable-statbmp use wxStaticBitmap class
1801 --enable-statbox use wxStaticBox class
1802 --enable-statline use wxStaticLine class
1803 --enable-stattext use wxStaticText class
1804 --enable-statusbar use wxStatusBar class
1805 --enable-tabdialog use wxTabControl class
1806 --enable-taskbaricon use wxTaskBarIcon class
1807 --enable-textctrl use wxTextCtrl class
1808 --enable-togglebtn use wxToggleButton class
1809 --enable-toolbar use wxToolBar class
1810 --enable-tbarnative use native wxToolBar class
1811 --enable-treebook use wxTreebook class
1812 --enable-toolbook use wxToolbook class
1813 --enable-treectrl use wxTreeCtrl class
1814 --enable-tipwindow use wxTipWindow class
1815 --enable-popupwin use wxPopUpWindow class
1816 --enable-commondlg use all common dialogs
1817 --enable-aboutdlg use wxAboutBox
1818 --enable-choicedlg use wxChoiceDialog
1819 --enable-coldlg use wxColourDialog
1820 --enable-filedlg use wxFileDialog
1821 --enable-finddlg use wxFindReplaceDialog
1822 --enable-fontdlg use wxFontDialog
1823 --enable-dirdlg use wxDirDialog
1824 --enable-msgdlg use wxMessageDialog
1825 --enable-numberdlg use wxNumberEntryDialog
1826 --enable-splash use wxSplashScreen
1827 --enable-textdlg use wxTextDialog
1828 --enable-tipdlg use startup tips
1829 --enable-progressdlg use wxProgressDialog
1830 --enable-wizarddlg use wxWizard
1831 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1832 --enable-miniframe use wxMiniFrame class
1833 --enable-tooltips use wxToolTip class
1834 --enable-splines use spline drawing code
1835 --enable-mousewheel use mousewheel
1836 --enable-validators use wxValidator and derived classes
1837 --enable-busyinfo use wxBusyInfo
1838 --enable-joystick use wxJoystick
1839 --enable-metafiles use wxMetaFile (Win32 only)
1840 --enable-dragimage use wxDragImage
1841 --enable-accessibility enable accessibility support
1842 --enable-palette use wxPalette class
1843 --enable-image use wxImage class
1844 --enable-gif use gif images (GIF file format)
1845 --enable-pcx use pcx images (PCX file format)
1846 --enable-tga use tga images (TGA file format)
1847 --enable-iff use iff images (IFF file format)
1848 --enable-pnm use pnm images (PNM file format)
1849 --enable-xpm use xpm images (XPM file format)
1850 --enable-icocur use Windows ICO and CUR formats
1851 --enable-dccache cache temporary wxDC objects (Win32 only)
1852 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1853 --enable-ownerdrawn use owner drawn controls (Win32 only)
1854 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1855 --enable-wxdib use wxDIB class (Win32 only)
1856 --disable-largefile omit support for large files
1857 --disable-gtktest do not try to compile and run a test GTK+ program
1858 --disable-gtktest Do not try to compile and run a test GTK program
1859 --disable-sdltest Do not try to compile and run a test SDL program
1860 --enable-omf use OMF object format (OS/2)
1861 --disable-dependency-tracking
1862 don't use dependency tracking even if the compiler
1863 can
1864 --disable-precomp-headers
1865 don't use precompiled headers even if compiler can
1866
1867 Optional Packages:
1868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1870 --without-subdirs don't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1883 --with-x11 use X11
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gnomeprint don't use GNOME printing libraries
1890 --with-gnomevfs use GNOME VFS for associating MIME types
1891 --with-hildon use Hildon framework for Nokia 770
1892 --with-opengl use OpenGL (or Mesa)
1893 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1894 --with-sdl use SDL for audio on Unix
1895 --with-regex enable support for wxRegEx class
1896 --with-zlib use zlib for LZW compression
1897 --with-odbc use the IODBC and wxODBC classes
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK at PATH
1900 --with-macosx-version-min=VER build binaries which require at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1909
1910 Some influential environment variables:
1911 CC C compiler command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1914 nonstandard directory <lib dir>
1915 LIBS libraries to pass to the linker, e.g. -l<library>
1916 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1917 you have headers in a nonstandard directory <include dir>
1918 CPP C preprocessor
1919 CXX C++ compiler command
1920 CXXFLAGS C++ compiler flags
1921 PKG_CONFIG path to pkg-config utility
1922 DIRECTFB_CFLAGS
1923 C compiler flags for DIRECTFB, overriding pkg-config
1924 DIRECTFB_LIBS
1925 linker flags for DIRECTFB, overriding pkg-config
1926 XMKMF Path to xmkmf, Makefile generator for X Window System
1927 PANGOX_CFLAGS
1928 C compiler flags for PANGOX, overriding pkg-config
1929 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1930 PANGOFT2_CFLAGS
1931 C compiler flags for PANGOFT2, overriding pkg-config
1932 PANGOFT2_LIBS
1933 linker flags for PANGOFT2, overriding pkg-config
1934 PANGOXFT_CFLAGS
1935 C compiler flags for PANGOXFT, overriding pkg-config
1936 PANGOXFT_LIBS
1937 linker flags for PANGOXFT, overriding pkg-config
1938 LIBGNOMEPRINTUI_CFLAGS
1939 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 LIBGNOMEPRINTUI_LIBS
1941 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 GNOMEVFS_CFLAGS
1943 C compiler flags for GNOMEVFS, overriding pkg-config
1944 GNOMEVFS_LIBS
1945 linker flags for GNOMEVFS, overriding pkg-config
1946 HILDON_CFLAGS
1947 C compiler flags for HILDON, overriding pkg-config
1948 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 CAIRO_CFLAGS
1950 C compiler flags for CAIRO, overriding pkg-config
1951 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1952 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1953 GST_LIBS linker flags for GST, overriding pkg-config
1954
1955 Use these variables to override the choices made by `configure' or to help
1956 it to find libraries and programs with nonstandard names/locations.
1957
1958 Report bugs to <wx-dev@lists.wxwidgets.org>.
1959 _ACEOF
1960 ac_status=$?
1961 fi
1962
1963 if test "$ac_init_help" = "recursive"; then
1964 # If there are subdirs, report their specific --help.
1965 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1966 test -d "$ac_dir" || continue
1967 ac_builddir=.
1968
1969 case "$ac_dir" in
1970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1971 *)
1972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1973 # A ".." for each directory in $ac_dir_suffix.
1974 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1975 case $ac_top_builddir_sub in
1976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1978 esac ;;
1979 esac
1980 ac_abs_top_builddir=$ac_pwd
1981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1982 # for backward compatibility:
1983 ac_top_builddir=$ac_top_build_prefix
1984
1985 case $srcdir in
1986 .) # We are building in place.
1987 ac_srcdir=.
1988 ac_top_srcdir=$ac_top_builddir_sub
1989 ac_abs_top_srcdir=$ac_pwd ;;
1990 [\\/]* | ?:[\\/]* ) # Absolute name.
1991 ac_srcdir=$srcdir$ac_dir_suffix;
1992 ac_top_srcdir=$srcdir
1993 ac_abs_top_srcdir=$srcdir ;;
1994 *) # Relative name.
1995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1996 ac_top_srcdir=$ac_top_build_prefix$srcdir
1997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1998 esac
1999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2000
2001 cd "$ac_dir" || { ac_status=$?; continue; }
2002 # Check for guested configure.
2003 if test -f "$ac_srcdir/configure.gnu"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2006 elif test -f "$ac_srcdir/configure"; then
2007 echo &&
2008 $SHELL "$ac_srcdir/configure" --help=recursive
2009 else
2010 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 fi || ac_status=$?
2012 cd "$ac_pwd" || { ac_status=$?; break; }
2013 done
2014 fi
2015
2016 test -n "$ac_init_help" && exit $ac_status
2017 if $ac_init_version; then
2018 cat <<\_ACEOF
2019 wxWidgets configure 2.9.0
2020 generated by GNU Autoconf 2.61
2021
2022 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2023 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2024 This configure script is free software; the Free Software Foundation
2025 gives unlimited permission to copy, distribute and modify it.
2026 _ACEOF
2027 exit
2028 fi
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2032
2033 It was created by wxWidgets $as_me 2.9.0, which was
2034 generated by GNU Autoconf 2.61. Invocation command line was
2035
2036 $ $0 $@
2037
2038 _ACEOF
2039 exec 5>>config.log
2040 {
2041 cat <<_ASUNAME
2042 ## --------- ##
2043 ## Platform. ##
2044 ## --------- ##
2045
2046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051
2052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054
2055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2058 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2062
2063 _ASUNAME
2064
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 for as_dir in $PATH
2067 do
2068 IFS=$as_save_IFS
2069 test -z "$as_dir" && as_dir=.
2070 echo "PATH: $as_dir"
2071 done
2072 IFS=$as_save_IFS
2073
2074 } >&5
2075
2076 cat >&5 <<_ACEOF
2077
2078
2079 ## ----------- ##
2080 ## Core tests. ##
2081 ## ----------- ##
2082
2083 _ACEOF
2084
2085
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_configure_args=
2092 ac_configure_args0=
2093 ac_configure_args1=
2094 ac_must_keep_next=false
2095 for ac_pass in 1 2
2096 do
2097 for ac_arg
2098 do
2099 case $ac_arg in
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2103 continue ;;
2104 *\'*)
2105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2106 esac
2107 case $ac_pass in
2108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2109 2)
2110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2113 else
2114 case $ac_arg in
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2121 esac
2122 ;;
2123 -* ) ac_must_keep_next=true ;;
2124 esac
2125 fi
2126 ac_configure_args="$ac_configure_args '$ac_arg'"
2127 ;;
2128 esac
2129 done
2130 done
2131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2133
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2141 {
2142 echo
2143
2144 cat <<\_ASBOX
2145 ## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##
2148 _ASBOX
2149 echo
2150 # The following way of writing the cache mishandles newlines in values,
2151 (
2152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153 eval ac_val=\$$ac_var
2154 case $ac_val in #(
2155 *${as_nl}*)
2156 case $ac_var in #(
2157 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2158 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2159 esac
2160 case $ac_var in #(
2161 _ | IFS | as_nl) ;; #(
2162 *) $as_unset $ac_var ;;
2163 esac ;;
2164 esac
2165 done
2166 (set) 2>&1 |
2167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2169 sed -n \
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2172 ;; #(
2173 *)
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2175 ;;
2176 esac |
2177 sort
2178 )
2179 echo
2180
2181 cat <<\_ASBOX
2182 ## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##
2185 _ASBOX
2186 echo
2187 for ac_var in $ac_subst_vars
2188 do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in
2191 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 esac
2193 echo "$ac_var='\''$ac_val'\''"
2194 done | sort
2195 echo
2196
2197 if test -n "$ac_subst_files"; then
2198 cat <<\_ASBOX
2199 ## ------------------- ##
2200 ## File substitutions. ##
2201 ## ------------------- ##
2202 _ASBOX
2203 echo
2204 for ac_var in $ac_subst_files
2205 do
2206 eval ac_val=\$$ac_var
2207 case $ac_val in
2208 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 esac
2210 echo "$ac_var='\''$ac_val'\''"
2211 done | sort
2212 echo
2213 fi
2214
2215 if test -s confdefs.h; then
2216 cat <<\_ASBOX
2217 ## ----------- ##
2218 ## confdefs.h. ##
2219 ## ----------- ##
2220 _ASBOX
2221 echo
2222 cat confdefs.h
2223 echo
2224 fi
2225 test "$ac_signal" != 0 &&
2226 echo "$as_me: caught signal $ac_signal"
2227 echo "$as_me: exit $exit_status"
2228 } >&5
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2231 exit $exit_status
2232 ' 0
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2235 done
2236 ac_signal=0
2237
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2240
2241 # Predefined preprocessor variables.
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 _ACEOF
2246
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2250 _ACEOF
2251
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2260 _ACEOF
2261
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 _ACEOF
2266
2267
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 set x "$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2274 else
2275 set x "$ac_default_prefix/share/config.site" \
2276 "$ac_default_prefix/etc/config.site"
2277 fi
2278 shift
2279 for ac_site_file
2280 do
2281 if test -r "$ac_site_file"; then
2282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2283 echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2285 . "$ac_site_file"
2286 fi
2287 done
2288
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special
2291 # files actually), so we avoid doing that.
2292 if test -f "$cache_file"; then
2293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2294 echo "$as_me: loading cache $cache_file" >&6;}
2295 case $cache_file in
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2298 esac
2299 fi
2300 else
2301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2302 echo "$as_me: creating cache $cache_file" >&6;}
2303 >$cache_file
2304 fi
2305
2306 # Check that the precious variables saved in the cache have kept the same
2307 # value.
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2315 set,)
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2319 ,set)
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2321 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2323 ,);;
2324 *)
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2327 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2328 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2329 echo "$as_me: former value: $ac_old_val" >&2;}
2330 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2331 echo "$as_me: current value: $ac_new_val" >&2;}
2332 ac_cache_corrupted=:
2333 fi;;
2334 esac
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2337 case $ac_new_val in
2338 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2340 esac
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2344 esac
2345 fi
2346 done
2347 if $ac_cache_corrupted; then
2348 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2349 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2351 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2352 { (exit 1); exit 1; }; }
2353 fi
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379 ac_ext=c
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384
2385
2386
2387
2388
2389 ac_aux_dir=
2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2391 if test -f "$ac_dir/install-sh"; then
2392 ac_aux_dir=$ac_dir
2393 ac_install_sh="$ac_aux_dir/install-sh -c"
2394 break
2395 elif test -f "$ac_dir/install.sh"; then
2396 ac_aux_dir=$ac_dir
2397 ac_install_sh="$ac_aux_dir/install.sh -c"
2398 break
2399 elif test -f "$ac_dir/shtool"; then
2400 ac_aux_dir=$ac_dir
2401 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 break
2403 fi
2404 done
2405 if test -z "$ac_aux_dir"; then
2406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2407 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2408 { (exit 1); exit 1; }; }
2409 fi
2410
2411 # These three variables are undocumented and unsupported,
2412 # and are intended to be withdrawn in a future Autoconf release.
2413 # They can cause serious problems if a builder's source tree is in a directory
2414 # whose full name contains unusual characters.
2415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2418
2419
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2425
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 else
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2442
2443 fi
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2447 *-*-*) ;;
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2451 esac
2452 build=$ac_cv_build
2453 ac_save_IFS=$IFS; IFS='-'
2454 set x $ac_cv_build
2455 shift
2456 build_cpu=$1
2457 build_vendor=$2
2458 shift; shift
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2461 build_os=$*
2462 IFS=$ac_save_IFS
2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2464
2465
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 else
2471 if test "x$host_alias" = x; then
2472 ac_cv_host=$ac_cv_build
2473 else
2474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478 fi
2479
2480 fi
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2483 case $ac_cv_host in
2484 *-*-*) ;;
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2488 esac
2489 host=$ac_cv_host
2490 ac_save_IFS=$IFS; IFS='-'
2491 set x $ac_cv_host
2492 shift
2493 host_cpu=$1
2494 host_vendor=$2
2495 shift; shift
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2498 host_os=$*
2499 IFS=$ac_save_IFS
2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2501
2502
2503 { echo "$as_me:$LINENO: checking target system type" >&5
2504 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_target+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 if test "x$target_alias" = x; then
2509 ac_cv_target=$ac_cv_host
2510 else
2511 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2515 fi
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2519 echo "${ECHO_T}$ac_cv_target" >&6; }
2520 case $ac_cv_target in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2523 echo "$as_me: error: invalid value of canonical target" >&2;}
2524 { (exit 1); exit 1; }; };;
2525 esac
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_target
2529 shift
2530 target_cpu=$1
2531 target_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 target_os=$*
2536 IFS=$ac_save_IFS
2537 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2544 NONENONEs,x,x, &&
2545 program_prefix=${target_alias}-
2546
2547
2548
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2551 wx_release_number=0
2552 wx_subrelease_number=0
2553
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559
2560
2561 wx_top_builddir="`pwd`"
2562
2563
2564
2565
2566 USE_UNIX=1
2567 USE_OS2=0
2568 USE_WIN32=0
2569 USE_DOS=0
2570 USE_BEOS=0
2571 USE_MAC=0
2572
2573 USE_AIX=
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_GNU= USE_HPUX=
2576 USE_LINUX=
2577 USE_NETBSD=
2578 USE_OPENBSD=
2579 USE_OSF= USE_SGI=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 USE_ULTRIX=
2582 USE_UNIXWARE=
2583
2584 USE_ALPHA=
2585
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587
2588 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589
2590 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_GTK=0
2592 DEFAULT_wxUSE_MAC=0
2593 DEFAULT_wxUSE_MGL=0
2594 DEFAULT_wxUSE_MICROWIN=0
2595 DEFAULT_wxUSE_MOTIF=0
2596 DEFAULT_wxUSE_MSW=0
2597 DEFAULT_wxUSE_PM=0
2598 DEFAULT_wxUSE_X11=0
2599 DEFAULT_wxUSE_DFB=0
2600
2601 DEFAULT_DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_DEFAULT_wxUSE_GTK=0
2603 DEFAULT_DEFAULT_wxUSE_MAC=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2611
2612 PROGRAM_EXT=
2613 SO_SUFFIX=so
2614 SAMPLES_RPATH_FLAG=
2615 SAMPLES_RPATH_POSTLINK=
2616
2617 DEFAULT_STD_FLAG=yes
2618
2619 case "${host}" in
2620 *-hp-hpux* )
2621 USE_HPUX=1
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2624 SO_SUFFIX=sl
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __HPUX__ 1
2627 _ACEOF
2628
2629
2630 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2631 ;;
2632 *-*-linux* )
2633 USE_LINUX=1
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __LINUX__ 1
2636 _ACEOF
2637
2638 TMP=`uname -m`
2639 if test "x$TMP" = "xalpha"; then
2640 USE_ALPHA=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __ALPHA__ 1
2643 _ACEOF
2644
2645 fi
2646 DEFAULT_DEFAULT_wxUSE_GTK=1
2647 ;;
2648 *-*-gnu* | *-*-k*bsd*-gnu )
2649 USE_GNU=1
2650 TMP=`uname -m`
2651 if test "x$TMP" = "xalpha"; then
2652 USE_ALPHA=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __ALPHA__ 1
2655 _ACEOF
2656
2657 fi
2658 DEFAULT_DEFAULT_wxUSE_GTK=1
2659 ;;
2660 *-*-irix5* | *-*-irix6* )
2661 USE_SGI=1
2662 USE_SVR4=1
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SGI__ 1
2665 _ACEOF
2666
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SVR4__ 1
2669 _ACEOF
2670
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2672 ;;
2673 *-*-solaris2* )
2674 USE_SUN=1
2675 USE_SOLARIS=1
2676 USE_SVR4=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SUN__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SOLARIS__ 1
2683 _ACEOF
2684
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SVR4__ 1
2687 _ACEOF
2688
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2691 ;;
2692 *-*-sunos4* )
2693 USE_SUN=1
2694 USE_SUNOS=1
2695 USE_BSD=1
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __SUN__ 1
2698 _ACEOF
2699
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SUNOS__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __BSD__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-freebsd*)
2711 USE_BSD=1
2712 USE_FREEBSD=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __FREEBSD__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __BSD__ 1
2719 _ACEOF
2720
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2722 ;;
2723 *-*-openbsd*|*-*-mirbsd*)
2724 USE_BSD=1
2725 USE_OPENBSD=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __OPENBSD__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __BSD__ 1
2732 _ACEOF
2733
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2735 ;;
2736 *-*-netbsd*)
2737 USE_BSD=1
2738 USE_NETBSD=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __NETBSD__ 1
2741 _ACEOF
2742
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __BSD__ 1
2745 _ACEOF
2746
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2749
2750 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2751 ;;
2752 *-*-osf* )
2753 USE_ALPHA=1
2754 USE_OSF=1
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __ALPHA__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __OSF__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2765 ;;
2766 *-*-dgux5* )
2767 USE_ALPHA=1
2768 USE_SVR4=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __ALPHA__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SVR4__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 ;;
2779 *-*-sysv5* )
2780 USE_SYSV=1
2781 USE_SVR4=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SYSV__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SVR4__ 1
2788 _ACEOF
2789
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2791 ;;
2792 *-*-aix* )
2793 USE_AIX=1
2794 USE_SYSV=1
2795 USE_SVR4=1
2796 SO_SUFFIX=a
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __AIX__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SYSV__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SVR4__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 ;;
2811
2812 *-*-*UnixWare*)
2813 USE_SYSV=1
2814 USE_SVR4=1
2815 USE_UNIXWARE=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2818 _ACEOF
2819
2820 ;;
2821
2822 *-*-cygwin* | *-*-mingw32* )
2823 SO_SUFFIX=dll
2824 PROGRAM_EXT=".exe"
2825 DEFAULT_DEFAULT_wxUSE_MSW=1
2826 ;;
2827
2828 *-pc-msdosdjgpp )
2829 USE_UNIX=0
2830 USE_DOS=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __DOS__ 1
2833 _ACEOF
2834
2835 PROGRAM_EXT=".exe"
2836 DEFAULT_DEFAULT_wxUSE_MGL=1
2837 ;;
2838
2839 *-pc-os2_emx | *-pc-os2-emx )
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __EMX__ 1
2842 _ACEOF
2843
2844 USE_OS2=1
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __OS2__ 1
2847 _ACEOF
2848
2849 PROGRAM_EXT=".exe"
2850 DEFAULT_DEFAULT_wxUSE_PM=1
2851 CXX=gcc
2852 LDFLAGS="$LDFLAGS -Zcrtdll"
2853 ac_executable_extensions=".exe"
2854 export ac_executable_extensions
2855 ac_save_IFS="$IFS"
2856 IFS='\\'
2857 ac_TEMP_PATH=
2858 for ac_dir in $PATH; do
2859 IFS=$ac_save_IFS
2860 if test -z "$ac_TEMP_PATH"; then
2861 ac_TEMP_PATH="$ac_dir"
2862 else
2863 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2864 fi
2865 done
2866 export PATH="$ac_TEMP_PATH"
2867 unset ac_TEMP_PATH
2868 DEFAULT_STD_FLAG=no
2869 ;;
2870
2871 *-*-darwin* )
2872 USE_BSD=1
2873 USE_DARWIN=1
2874 SO_SUFFIX=dylib
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __BSD__ 1
2877 _ACEOF
2878
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DARWIN__ 1
2881 _ACEOF
2882
2883 cat >>confdefs.h <<\_ACEOF
2884 #define TARGET_CARBON 1
2885 _ACEOF
2886
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2888 DEFAULT_STD_FLAG=no
2889 ;;
2890 powerpc-apple-macos* )
2891 USE_UNIX=0
2892 ac_cv_c_bigendian=yes
2893 SO_SUFFIX=shlib
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2895 DEFAULT_STD_FLAG=no
2896 ;;
2897
2898 *-*-beos* )
2899 USE_BEOS=1
2900 cat >>confdefs.h <<\_ACEOF
2901 #define __BEOS__ 1
2902 _ACEOF
2903
2904 ;;
2905
2906 *)
2907 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2908 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2910 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911
2912 DEFAULT_DEFAULT_wxUSE_X11=1
2913 DEFAULT_wxUSE_SHARED=no
2914 esac
2915
2916
2917
2918
2919 wx_arg_cache_file="configarg.cache"
2920 echo "loading argument cache $wx_arg_cache_file"
2921 rm -f ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}.tmp
2923 touch ${wx_arg_cache_file}
2924
2925
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2927
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2930
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2938
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_DATAVIEWCTRL=no
2941 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2944
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951
2952 DEFAULT_wxUSE_GTK2=yes
2953
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2955
2956
2957 for toolkit in `echo $ALL_TOOLKITS`; do
2958 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 has_toolkit_in_cache=1
2961 eval "DEFAULT_$LINE"
2962 eval "CACHE_$toolkit=1"
2963
2964 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2965 if test "x$LINE" != "x" ; then
2966 eval "DEFAULT_$LINE"
2967 fi
2968 fi
2969 done
2970
2971
2972
2973
2974
2975 enablestring=disable
2976 defaultval=
2977 if test -z "$defaultval"; then
2978 if test x"$enablestring" = xdisable; then
2979 defaultval=yes
2980 else
2981 defaultval=no
2982 fi
2983 fi
2984
2985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2986 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2987 # Check whether --enable-gui was given.
2988 if test "${enable_gui+set}" = set; then
2989 enableval=$enable_gui;
2990 if test "$enableval" = yes; then
2991 wx_cv_use_gui='wxUSE_GUI=yes'
2992 else
2993 wx_cv_use_gui='wxUSE_GUI=no'
2994 fi
2995 cache=yes
2996
2997 else
2998
2999 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3002 cache=yes
3003 else
3004 cache=no
3005 fi
3006
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008
3009 fi
3010
3011
3012 eval "$wx_cv_use_gui"
3013 if test "x$cache" = xyes; then
3014 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3015 fi
3016
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_GUI = yes; then
3019 result=no
3020 else
3021 result=yes
3022 fi
3023 else
3024 result=$wxUSE_GUI
3025 fi
3026
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3029
3030
3031 enablestring=
3032 defaultval=
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3035 defaultval=yes
3036 else
3037 defaultval=no
3038 fi
3039 fi
3040
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3043 # Check whether --enable-monolithic was given.
3044 if test "${enable_monolithic+set}" = set; then
3045 enableval=$enable_monolithic;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3048 else
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3050 fi
3051 cache=yes
3052
3053 else
3054
3055 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3058 cache=yes
3059 else
3060 cache=no
3061 fi
3062
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3064
3065 fi
3066
3067
3068 eval "$wx_cv_use_monolithic"
3069 if test "x$cache" = xyes; then
3070 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test x"$enablestring" = xdisable; then
3074 if test $wxUSE_MONOLITHIC = yes; then
3075 result=no
3076 else
3077 result=yes
3078 fi
3079 else
3080 result=$wxUSE_MONOLITHIC
3081 fi
3082
3083 { echo "$as_me:$LINENO: result: $result" >&5
3084 echo "${ECHO_T}$result" >&6; }
3085
3086
3087 enablestring=
3088 defaultval=
3089 if test -z "$defaultval"; then
3090 if test x"$enablestring" = xdisable; then
3091 defaultval=yes
3092 else
3093 defaultval=no
3094 fi
3095 fi
3096
3097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3099 # Check whether --enable-plugins was given.
3100 if test "${enable_plugins+set}" = set; then
3101 enableval=$enable_plugins;
3102 if test "$enableval" = yes; then
3103 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3104 else
3105 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3106 fi
3107 cache=yes
3108
3109 else
3110
3111 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3114 cache=yes
3115 else
3116 cache=no
3117 fi
3118
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3120
3121 fi
3122
3123
3124 eval "$wx_cv_use_plugins"
3125 if test "x$cache" = xyes; then
3126 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3127 fi
3128
3129 if test x"$enablestring" = xdisable; then
3130 if test $wxUSE_PLUGINS = yes; then
3131 result=no
3132 else
3133 result=yes
3134 fi
3135 else
3136 result=$wxUSE_PLUGINS
3137 fi
3138
3139 { echo "$as_me:$LINENO: result: $result" >&5
3140 echo "${ECHO_T}$result" >&6; }
3141
3142
3143 withstring=without
3144 defaultval=$wxUSE_ALL_FEATURES
3145 if test -z "$defaultval"; then
3146 if test x"$withstring" = xwithout; then
3147 defaultval=yes
3148 else
3149 defaultval=no
3150 fi
3151 fi
3152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3153 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3154
3155 # Check whether --with-subdirs was given.
3156 if test "${with_subdirs+set}" = set; then
3157 withval=$with_subdirs;
3158 if test "$withval" = yes; then
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3160 else
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3162 fi
3163 cache=yes
3164
3165 else
3166
3167 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3170 cache=yes
3171 else
3172 cache=no
3173 fi
3174
3175 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3176
3177 fi
3178
3179
3180 eval "$wx_cv_use_subdirs"
3181 if test "x$cache" = xyes; then
3182 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3183 fi
3184
3185 if test x"$withstring" = xwithout; then
3186 if test $wxWITH_SUBDIRS = yes; then
3187 result=no
3188 else
3189 result=yes
3190 fi
3191 else
3192 result=$wxWITH_SUBDIRS
3193 fi
3194
3195 { echo "$as_me:$LINENO: result: $result" >&5
3196 echo "${ECHO_T}$result" >&6; }
3197
3198
3199 # Check whether --with-flavour was given.
3200 if test "${with_flavour+set}" = set; then
3201 withval=$with_flavour; WX_FLAVOUR="$withval"
3202 fi
3203
3204
3205 enablestring=
3206 defaultval=
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3209 defaultval=yes
3210 else
3211 defaultval=no
3212 fi
3213 fi
3214
3215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3216 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3217 # Check whether --enable-official_build was given.
3218 if test "${enable_official_build+set}" = set; then
3219 enableval=$enable_official_build;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3222 else
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3224 fi
3225 cache=yes
3226
3227 else
3228
3229 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 cache=yes
3233 else
3234 cache=no
3235 fi
3236
3237 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3238
3239 fi
3240
3241
3242 eval "$wx_cv_use_official_build"
3243 if test "x$cache" = xyes; then
3244 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3245 fi
3246
3247 if test x"$enablestring" = xdisable; then
3248 if test $wxUSE_OFFICIAL_BUILD = yes; then
3249 result=no
3250 else
3251 result=yes
3252 fi
3253 else
3254 result=$wxUSE_OFFICIAL_BUILD
3255 fi
3256
3257 { echo "$as_me:$LINENO: result: $result" >&5
3258 echo "${ECHO_T}$result" >&6; }
3259
3260 # Check whether --enable-vendor was given.
3261 if test "${enable_vendor+set}" = set; then
3262 enableval=$enable_vendor; VENDOR="$enableval"
3263 fi
3264
3265 if test "x$VENDOR" = "x"; then
3266 VENDOR="custom"
3267 fi
3268
3269
3270 enablestring=disable
3271 defaultval=
3272 if test -z "$defaultval"; then
3273 if test x"$enablestring" = xdisable; then
3274 defaultval=yes
3275 else
3276 defaultval=no
3277 fi
3278 fi
3279
3280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3281 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3282 # Check whether --enable-all-features was given.
3283 if test "${enable_all_features+set}" = set; then
3284 enableval=$enable_all_features;
3285 if test "$enableval" = yes; then
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3287 else
3288 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3289 fi
3290 cache=yes
3291
3292 else
3293
3294 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 cache=yes
3298 else
3299 cache=no
3300 fi
3301
3302 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3303
3304 fi
3305
3306
3307 eval "$wx_cv_use_all_features"
3308 if test "x$cache" = xyes; then
3309 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3310 fi
3311
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_ALL_FEATURES = yes; then
3314 result=no
3315 else
3316 result=yes
3317 fi
3318 else
3319 result=$wxUSE_ALL_FEATURES
3320 fi
3321
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3324
3325
3326
3327 if test "$wxUSE_GUI" = "yes"; then
3328
3329
3330 enablestring=
3331 defaultval=
3332 if test -z "$defaultval"; then
3333 if test x"$enablestring" = xdisable; then
3334 defaultval=yes
3335 else
3336 defaultval=no
3337 fi
3338 fi
3339
3340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3342 # Check whether --enable-universal was given.
3343 if test "${enable_universal+set}" = set; then
3344 enableval=$enable_universal;
3345 if test "$enableval" = yes; then
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3347 else
3348 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3349 fi
3350 cache=yes
3351
3352 else
3353
3354 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 cache=yes
3358 else
3359 cache=no
3360 fi
3361
3362 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3363
3364 fi
3365
3366
3367 eval "$wx_cv_use_universal"
3368 if test "x$cache" = xyes; then
3369 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test x"$enablestring" = xdisable; then
3373 if test $wxUSE_UNIVERSAL = yes; then
3374 result=no
3375 else
3376 result=yes
3377 fi
3378 else
3379 result=$wxUSE_UNIVERSAL
3380 fi
3381
3382 { echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6; }
3384
3385 if test "$wxUSE_UNIVERSAL" = "yes"; then
3386
3387 # Check whether --with-themes was given.
3388 if test "${with_themes+set}" = set; then
3389 withval=$with_themes; wxUNIV_THEMES="$withval"
3390 fi
3391
3392 fi
3393
3394
3395 # Check whether --with-gtk was given.
3396 if test "${with_gtk+set}" = set; then
3397 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-motif was given.
3402 if test "${with_motif+set}" = set; then
3403 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-cocoa was given.
3414 if test "${with_cocoa+set}" = set; then
3415 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3422 fi
3423
3424
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 enablestring=
3462 defaultval=
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3465 defaultval=yes
3466 else
3467 defaultval=no
3468 fi
3469 fi
3470
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3478 else
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3480 fi
3481 cache=yes
3482
3483 else
3484
3485 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3488 cache=yes
3489 else
3490 cache=no
3491 fi
3492
3493 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3494
3495 fi
3496
3497
3498 eval "$wx_cv_use_nanox"
3499 if test "x$cache" = xyes; then
3500 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test x"$enablestring" = xdisable; then
3504 if test $wxUSE_NANOX = yes; then
3505 result=no
3506 else
3507 result=yes
3508 fi
3509 else
3510 result=$wxUSE_NANOX
3511 fi
3512
3513 { echo "$as_me:$LINENO: result: $result" >&5
3514 echo "${ECHO_T}$result" >&6; }
3515
3516
3517 # Check whether --enable-gtk2 was given.
3518 if test "${enable_gtk2+set}" = set; then
3519 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3520 fi
3521
3522
3523 enablestring=
3524 defaultval=
3525 if test -z "$defaultval"; then
3526 if test x"$enablestring" = xdisable; then
3527 defaultval=yes
3528 else
3529 defaultval=no
3530 fi
3531 fi
3532
3533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3535 # Check whether --enable-gpe was given.
3536 if test "${enable_gpe+set}" = set; then
3537 enableval=$enable_gpe;
3538 if test "$enableval" = yes; then
3539 wx_cv_use_gpe='wxUSE_GPE=yes'
3540 else
3541 wx_cv_use_gpe='wxUSE_GPE=no'
3542 fi
3543 cache=yes
3544
3545 else
3546
3547 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3550 cache=yes
3551 else
3552 cache=no
3553 fi
3554
3555 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3556
3557 fi
3558
3559
3560 eval "$wx_cv_use_gpe"
3561 if test "x$cache" = xyes; then
3562 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test x"$enablestring" = xdisable; then
3566 if test $wxUSE_GPE = yes; then
3567 result=no
3568 else
3569 result=yes
3570 fi
3571 else
3572 result=$wxUSE_GPE
3573 fi
3574
3575 { echo "$as_me:$LINENO: result: $result" >&5
3576 echo "${ECHO_T}$result" >&6; }
3577
3578
3579
3580
3581 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3583
3584 # Check whether --with-libpng was given.
3585 if test "${with_libpng+set}" = set; then
3586 withval=$with_libpng;
3587 if test "$withval" = yes; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3589 elif test "$withval" = no; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3591 elif test "$withval" = sys; then
3592 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3593 elif test "$withval" = builtin; then
3594 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3595 else
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3599 fi
3600 cache=yes
3601
3602 else
3603
3604 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3607 cache=yes
3608 else
3609 cache=no
3610 fi
3611
3612 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3613
3614 fi
3615
3616
3617 eval "$wx_cv_use_libpng"
3618 if test "x$cache" = xyes; then
3619 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_LIBPNG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBPNG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBPNG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBPNG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3634 else
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3638 fi
3639
3640
3641 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3643
3644 # Check whether --with-libjpeg was given.
3645 if test "${with_libjpeg+set}" = set; then
3646 withval=$with_libjpeg;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660 cache=yes
3661
3662 else
3663
3664 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 cache=yes
3668 else
3669 cache=no
3670 fi
3671
3672 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3673
3674 fi
3675
3676
3677 eval "$wx_cv_use_libjpeg"
3678 if test "x$cache" = xyes; then
3679 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3680 fi
3681
3682 if test "$wxUSE_LIBJPEG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBJPEG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBJPEG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700
3701 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3703
3704 # Check whether --with-libtiff was given.
3705 if test "${with_libtiff+set}" = set; then
3706 withval=$with_libtiff;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3715 else
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3719 fi
3720 cache=yes
3721
3722 else
3723
3724 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 cache=yes
3728 else
3729 cache=no
3730 fi
3731
3732 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3733
3734 fi
3735
3736
3737 eval "$wx_cv_use_libtiff"
3738 if test "x$cache" = xyes; then
3739 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3740 fi
3741
3742 if test "$wxUSE_LIBTIFF" = yes; then
3743 { echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = no; then
3746 { echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6; }
3748 elif test "$wxUSE_LIBTIFF" = sys; then
3749 { echo "$as_me:$LINENO: result: system version" >&5
3750 echo "${ECHO_T}system version" >&6; }
3751 elif test "$wxUSE_LIBTIFF" = builtin; then
3752 { echo "$as_me:$LINENO: result: builtin version" >&5
3753 echo "${ECHO_T}builtin version" >&6; }
3754 else
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3758 fi
3759
3760
3761 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3762 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3763
3764 # Check whether --with-libxpm was given.
3765 if test "${with_libxpm+set}" = set; then
3766 withval=$with_libxpm;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3769 elif test "$withval" = no; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3771 elif test "$withval" = sys; then
3772 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3773 elif test "$withval" = builtin; then
3774 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3775 else
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3779 fi
3780 cache=yes
3781
3782 else
3783
3784 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x ; then
3786 eval "DEFAULT_$LINE"
3787 cache=yes
3788 else
3789 cache=no
3790 fi
3791
3792 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3793
3794 fi
3795
3796
3797 eval "$wx_cv_use_libxpm"
3798 if test "x$cache" = xyes; then
3799 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3800 fi
3801
3802 if test "$wxUSE_LIBXPM" = yes; then
3803 { echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6; }
3805 elif test "$wxUSE_LIBXPM" = no; then
3806 { echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6; }
3808 elif test "$wxUSE_LIBXPM" = sys; then
3809 { echo "$as_me:$LINENO: result: system version" >&5
3810 echo "${ECHO_T}system version" >&6; }
3811 elif test "$wxUSE_LIBXPM" = builtin; then
3812 { echo "$as_me:$LINENO: result: builtin version" >&5
3813 echo "${ECHO_T}builtin version" >&6; }
3814 else
3815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3816 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3817 { (exit 1); exit 1; }; }
3818 fi
3819
3820
3821 withstring=
3822 defaultval=$wxUSE_ALL_FEATURES
3823 if test -z "$defaultval"; then
3824 if test x"$withstring" = xwithout; then
3825 defaultval=yes
3826 else
3827 defaultval=no
3828 fi
3829 fi
3830 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3831 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3832
3833 # Check whether --with-libmspack was given.
3834 if test "${with_libmspack+set}" = set; then
3835 withval=$with_libmspack;
3836 if test "$withval" = yes; then
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3838 else
3839 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3840 fi
3841 cache=yes
3842
3843 else
3844
3845 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3848 cache=yes
3849 else
3850 cache=no
3851 fi
3852
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3854
3855 fi
3856
3857
3858 eval "$wx_cv_use_libmspack"
3859 if test "x$cache" = xyes; then
3860 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3861 fi
3862
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBMSPACK = yes; then
3865 result=no
3866 else
3867 result=yes
3868 fi
3869 else
3870 result=$wxUSE_LIBMSPACK
3871 fi
3872
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3875
3876
3877 withstring=without
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3881 defaultval=yes
3882 else
3883 defaultval=no
3884 fi
3885 fi
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3888
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3894 else
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3896 fi
3897 cache=yes
3898
3899 else
3900
3901 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 cache=yes
3905 else
3906 cache=no
3907 fi
3908
3909 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3910
3911 fi
3912
3913
3914 eval "$wx_cv_use_gnomeprint"
3915 if test "x$cache" = xyes; then
3916 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3917 fi
3918
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBGNOMEPRINT = yes; then
3921 result=no
3922 else
3923 result=yes
3924 fi
3925 else
3926 result=$wxUSE_LIBGNOMEPRINT
3927 fi
3928
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3931
3932
3933 withstring=
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3937 defaultval=yes
3938 else
3939 defaultval=no
3940 fi
3941 fi
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3944
3945 # Check whether --with-gnomevfs was given.
3946 if test "${with_gnomevfs+set}" = set; then
3947 withval=$with_gnomevfs;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3950 else
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3952 fi
3953 cache=yes
3954
3955 else
3956
3957 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3960 cache=yes
3961 else
3962 cache=no
3963 fi
3964
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_gnomevfs"
3971 if test "x$cache" = xyes; then
3972 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3973 fi
3974
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBGNOMEVFS = yes; then
3977 result=no
3978 else
3979 result=yes
3980 fi
3981 else
3982 result=$wxUSE_LIBGNOMEVFS
3983 fi
3984
3985 { echo "$as_me:$LINENO: result: $result" >&5
3986 echo "${ECHO_T}$result" >&6; }
3987
3988
3989 withstring=
3990 defaultval=$wxUSE_ALL_FEATURES
3991 if test -z "$defaultval"; then
3992 if test x"$withstring" = xwithout; then
3993 defaultval=yes
3994 else
3995 defaultval=no
3996 fi
3997 fi
3998 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4000
4001 # Check whether --with-hildon was given.
4002 if test "${with_hildon+set}" = set; then
4003 withval=$with_hildon;
4004 if test "$withval" = yes; then
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4006 else
4007 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4008 fi
4009 cache=yes
4010
4011 else
4012
4013 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4016 cache=yes
4017 else
4018 cache=no
4019 fi
4020
4021 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4022
4023 fi
4024
4025
4026 eval "$wx_cv_use_hildon"
4027 if test "x$cache" = xyes; then
4028 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test x"$withstring" = xwithout; then
4032 if test $wxUSE_LIBHILDON = yes; then
4033 result=no
4034 else
4035 result=yes
4036 fi
4037 else
4038 result=$wxUSE_LIBHILDON
4039 fi
4040
4041 { echo "$as_me:$LINENO: result: $result" >&5
4042 echo "${ECHO_T}$result" >&6; }
4043
4044
4045 withstring=
4046 defaultval=$wxUSE_ALL_FEATURES
4047 if test -z "$defaultval"; then
4048 if test x"$withstring" = xwithout; then
4049 defaultval=yes
4050 else
4051 defaultval=no
4052 fi
4053 fi
4054 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4056
4057 # Check whether --with-opengl was given.
4058 if test "${with_opengl+set}" = set; then
4059 withval=$with_opengl;
4060 if test "$withval" = yes; then
4061 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4062 else
4063 wx_cv_use_opengl='wxUSE_OPENGL=no'
4064 fi
4065 cache=yes
4066
4067 else
4068
4069 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4072 cache=yes
4073 else
4074 cache=no
4075 fi
4076
4077 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4078
4079 fi
4080
4081
4082 eval "$wx_cv_use_opengl"
4083 if test "x$cache" = xyes; then
4084 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test x"$withstring" = xwithout; then
4088 if test $wxUSE_OPENGL = yes; then
4089 result=no
4090 else
4091 result=yes
4092 fi
4093 else
4094 result=$wxUSE_OPENGL
4095 fi
4096
4097 { echo "$as_me:$LINENO: result: $result" >&5
4098 echo "${ECHO_T}$result" >&6; }
4099
4100
4101 fi
4102
4103
4104 withstring=
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4108 defaultval=yes
4109 else
4110 defaultval=no
4111 fi
4112 fi
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4115
4116 # Check whether --with-dmalloc was given.
4117 if test "${with_dmalloc+set}" = set; then
4118 withval=$with_dmalloc;
4119 if test "$withval" = yes; then
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4121 else
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4123 fi
4124 cache=yes
4125
4126 else
4127
4128 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4129 if test "x$LINE" != x ; then
4130 eval "DEFAULT_$LINE"
4131 cache=yes
4132 else
4133 cache=no
4134 fi
4135
4136 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4137
4138 fi
4139
4140
4141 eval "$wx_cv_use_dmalloc"
4142 if test "x$cache" = xyes; then
4143 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test x"$withstring" = xwithout; then
4147 if test $wxUSE_DMALLOC = yes; then
4148 result=no
4149 else
4150 result=yes
4151 fi
4152 else
4153 result=$wxUSE_DMALLOC
4154 fi
4155
4156 { echo "$as_me:$LINENO: result: $result" >&5
4157 echo "${ECHO_T}$result" >&6; }
4158
4159
4160 withstring=
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4164 defaultval=yes
4165 else
4166 defaultval=no
4167 fi
4168 fi
4169 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4170 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4171
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then
4174 withval=$with_sdl;
4175 if test "$withval" = yes; then
4176 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4177 else
4178 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4179 fi
4180 cache=yes
4181
4182 else
4183
4184 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4187 cache=yes
4188 else
4189 cache=no
4190 fi
4191
4192 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4193
4194 fi
4195
4196
4197 eval "$wx_cv_use_sdl"
4198 if test "x$cache" = xyes; then
4199 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test x"$withstring" = xwithout; then
4203 if test $wxUSE_LIBSDL = yes; then
4204 result=no
4205 else
4206 result=yes
4207 fi
4208 else
4209 result=$wxUSE_LIBSDL
4210 fi
4211
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4214
4215
4216 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4217 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4218
4219 # Check whether --with-regex was given.
4220 if test "${with_regex+set}" = set; then
4221 withval=$with_regex;
4222 if test "$withval" = yes; then
4223 wx_cv_use_regex='wxUSE_REGEX=yes'
4224 elif test "$withval" = no; then
4225 wx_cv_use_regex='wxUSE_REGEX=no'
4226 elif test "$withval" = sys; then
4227 wx_cv_use_regex='wxUSE_REGEX=sys'
4228 elif test "$withval" = builtin; then
4229 wx_cv_use_regex='wxUSE_REGEX=builtin'
4230 else
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4234 fi
4235 cache=yes
4236
4237 else
4238
4239 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 cache=yes
4243 else
4244 cache=no
4245 fi
4246
4247 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4248
4249 fi
4250
4251
4252 eval "$wx_cv_use_regex"
4253 if test "x$cache" = xyes; then
4254 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4255 fi
4256
4257 if test "$wxUSE_REGEX" = yes; then
4258 { echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6; }
4260 elif test "$wxUSE_REGEX" = no; then
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4263 elif test "$wxUSE_REGEX" = sys; then
4264 { echo "$as_me:$LINENO: result: system version" >&5
4265 echo "${ECHO_T}system version" >&6; }
4266 elif test "$wxUSE_REGEX" = builtin; then
4267 { echo "$as_me:$LINENO: result: builtin version" >&5
4268 echo "${ECHO_T}builtin version" >&6; }
4269 else
4270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4272 { (exit 1); exit 1; }; }
4273 fi
4274
4275
4276 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4277 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4278
4279 # Check whether --with-zlib was given.
4280 if test "${with_zlib+set}" = set; then
4281 withval=$with_zlib;
4282 if test "$withval" = yes; then
4283 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4284 elif test "$withval" = no; then
4285 wx_cv_use_zlib='wxUSE_ZLIB=no'
4286 elif test "$withval" = sys; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4288 elif test "$withval" = builtin; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4290 else
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4294 fi
4295 cache=yes
4296
4297 else
4298
4299 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4302 cache=yes
4303 else
4304 cache=no
4305 fi
4306
4307 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4308
4309 fi
4310
4311
4312 eval "$wx_cv_use_zlib"
4313 if test "x$cache" = xyes; then
4314 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4315 fi
4316
4317 if test "$wxUSE_ZLIB" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_ZLIB" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_ZLIB" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_ZLIB" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4329 else
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4333 fi
4334
4335
4336 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4338
4339 # Check whether --with-odbc was given.
4340 if test "${with_odbc+set}" = set; then
4341 withval=$with_odbc;
4342 if test "$withval" = yes; then
4343 wx_cv_use_odbc='wxUSE_ODBC=yes'
4344 elif test "$withval" = no; then
4345 wx_cv_use_odbc='wxUSE_ODBC=no'
4346 elif test "$withval" = sys; then
4347 wx_cv_use_odbc='wxUSE_ODBC=sys'
4348 elif test "$withval" = builtin; then
4349 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4350 else
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4354 fi
4355 cache=yes
4356
4357 else
4358
4359 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4362 cache=yes
4363 else
4364 cache=no
4365 fi
4366
4367 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4368
4369 fi
4370
4371
4372 eval "$wx_cv_use_odbc"
4373 if test "x$cache" = xyes; then
4374 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4375 fi
4376
4377 if test "$wxUSE_ODBC" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_ODBC" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_ODBC" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_ODBC" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4389 else
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4393 fi
4394
4395
4396 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4397 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4398
4399 # Check whether --with-expat was given.
4400 if test "${with_expat+set}" = set; then
4401 withval=$with_expat;
4402 if test "$withval" = yes; then
4403 wx_cv_use_expat='wxUSE_EXPAT=yes'
4404 elif test "$withval" = no; then
4405 wx_cv_use_expat='wxUSE_EXPAT=no'
4406 elif test "$withval" = sys; then
4407 wx_cv_use_expat='wxUSE_EXPAT=sys'
4408 elif test "$withval" = builtin; then
4409 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4410 else
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4414 fi
4415 cache=yes
4416
4417 else
4418
4419 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4422 cache=yes
4423 else
4424 cache=no
4425 fi
4426
4427 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4428
4429 fi
4430
4431
4432 eval "$wx_cv_use_expat"
4433 if test "x$cache" = xyes; then
4434 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4435 fi
4436
4437 if test "$wxUSE_EXPAT" = yes; then
4438 { echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6; }
4440 elif test "$wxUSE_EXPAT" = no; then
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4443 elif test "$wxUSE_EXPAT" = sys; then
4444 { echo "$as_me:$LINENO: result: system version" >&5
4445 echo "${ECHO_T}system version" >&6; }
4446 elif test "$wxUSE_EXPAT" = builtin; then
4447 { echo "$as_me:$LINENO: result: builtin version" >&5
4448 echo "${ECHO_T}builtin version" >&6; }
4449 else
4450 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4451 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4452 { (exit 1); exit 1; }; }
4453 fi
4454
4455
4456 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4457 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4458
4459 # Check whether --with-macosx-sdk was given.
4460 if test "${with_macosx_sdk+set}" = set; then
4461 withval=$with_macosx_sdk;
4462 wxUSE_MACOSX_SDK=$withval
4463 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4464 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4465
4466 else
4467
4468 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4469 # will override --enable-universal_binary's automatic SDK usage.
4470 wxUSE_MACOSX_SDK=
4471 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4473 eval "$LINE"
4474 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4475 fi
4476
4477 fi
4478
4479 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4480 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4481
4482 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4483 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4484
4485 # Check whether --with-macosx-version-min was given.
4486 if test "${with_macosx_version_min+set}" = set; then
4487 withval=$with_macosx_version_min;
4488 wxUSE_MACOSX_VERSION_MIN=$withval
4489 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4490 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4491
4492 else
4493
4494 # default "yes" because when not using an SDK it means the same as no
4495 # but when using an SDK it means to use the SDK version
4496 wxUSE_MACOSX_VERSION_MIN=yes
4497 # See if there is a value in the cache
4498 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "$LINE"
4501 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4502 fi
4503
4504 fi
4505
4506 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4507 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4508
4509
4510
4511 enablestring=disable
4512 defaultval=
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4515 defaultval=yes
4516 else
4517 defaultval=no
4518 fi
4519 fi
4520
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4523 # Check whether --enable-shared was given.
4524 if test "${enable_shared+set}" = set; then
4525 enableval=$enable_shared;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_shared='wxUSE_SHARED=yes'
4528 else
4529 wx_cv_use_shared='wxUSE_SHARED=no'
4530 fi
4531 cache=yes
4532
4533 else
4534
4535 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4538 cache=yes
4539 else
4540 cache=no
4541 fi
4542
4543 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4544
4545 fi
4546
4547
4548 eval "$wx_cv_use_shared"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_SHARED = yes; then
4555 result=no
4556 else
4557 result=yes
4558 fi
4559 else
4560 result=$wxUSE_SHARED
4561 fi
4562
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4565
4566
4567 enablestring=disable
4568 defaultval=
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4571 defaultval=yes
4572 else
4573 defaultval=no
4574 fi
4575 fi
4576
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4579 # Check whether --enable-optimise was given.
4580 if test "${enable_optimise+set}" = set; then
4581 enableval=$enable_optimise;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4584 else
4585 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4586 fi
4587 cache=yes
4588
4589 else
4590
4591 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4594 cache=yes
4595 else
4596 cache=no
4597 fi
4598
4599 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4600
4601 fi
4602
4603
4604 eval "$wx_cv_use_optimise"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_OPTIMISE = yes; then
4611 result=no
4612 else
4613 result=yes
4614 fi
4615 else
4616 result=$wxUSE_OPTIMISE
4617 fi
4618
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4635 # Check whether --enable-debug was given.
4636 if test "${enable_debug+set}" = set; then
4637 enableval=$enable_debug;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_debug='wxUSE_DEBUG=yes'
4640 else
4641 wx_cv_use_debug='wxUSE_DEBUG=no'
4642 fi
4643 cache=yes
4644
4645 else
4646
4647 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4650 cache=yes
4651 else
4652 cache=no
4653 fi
4654
4655 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4656
4657 fi
4658
4659
4660 eval "$wx_cv_use_debug"
4661 if test "x$cache" = xyes; then
4662 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4663 fi
4664
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_DEBUG = yes; then
4667 result=no
4668 else
4669 result=yes
4670 fi
4671 else
4672 result=$wxUSE_DEBUG
4673 fi
4674
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4677
4678
4679 enablestring=
4680 defaultval=
4681 if test -z "$defaultval"; then
4682 if test x"$enablestring" = xdisable; then
4683 defaultval=yes
4684 else
4685 defaultval=no
4686 fi
4687 fi
4688
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4691 # Check whether --enable-stl was given.
4692 if test "${enable_stl+set}" = set; then
4693 enableval=$enable_stl;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_stl='wxUSE_STL=yes'
4696 else
4697 wx_cv_use_stl='wxUSE_STL=no'
4698 fi
4699 cache=yes
4700
4701 else
4702
4703 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4706 cache=yes
4707 else
4708 cache=no
4709 fi
4710
4711 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_stl"
4717 if test "x$cache" = xyes; then
4718 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4719 fi
4720
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_STL = yes; then
4723 result=no
4724 else
4725 result=yes
4726 fi
4727 else
4728 result=$wxUSE_STL
4729 fi
4730
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4733
4734
4735 enablestring=
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4747 # Check whether --enable-std_iostreams was given.
4748 if test "${enable_std_iostreams+set}" = set; then
4749 enableval=$enable_std_iostreams;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4752 else
4753 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4754 fi
4755 cache=yes
4756
4757 else
4758
4759 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4762 cache=yes
4763 else
4764 cache=no
4765 fi
4766
4767 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4768
4769 fi
4770
4771
4772 eval "$wx_cv_use_std_iostreams"
4773 if test "x$cache" = xyes; then
4774 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4775 fi
4776
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_STD_IOSTREAM = yes; then
4779 result=no
4780 else
4781 result=yes
4782 fi
4783 else
4784 result=$wxUSE_STD_IOSTREAM
4785 fi
4786
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4789
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4803 # Check whether --enable-std_string was given.
4804 if test "${enable_std_string+set}" = set; then
4805 enableval=$enable_std_string;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4808 else
4809 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4810 fi
4811 cache=yes
4812
4813 else
4814
4815 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4818 cache=yes
4819 else
4820 cache=no
4821 fi
4822
4823 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4824
4825 fi
4826
4827
4828 eval "$wx_cv_use_std_string"
4829 if test "x$cache" = xyes; then
4830 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test x"$enablestring" = xdisable; then
4834 if test $wxUSE_STD_STRING = yes; then
4835 result=no
4836 else
4837 result=yes
4838 fi
4839 else
4840 result=$wxUSE_STD_STRING
4841 fi
4842
4843 { echo "$as_me:$LINENO: result: $result" >&5
4844 echo "${ECHO_T}$result" >&6; }
4845
4846
4847 enablestring=disable
4848 defaultval=
4849 if test -z "$defaultval"; then
4850 if test x"$enablestring" = xdisable; then
4851 defaultval=yes
4852 else
4853 defaultval=no
4854 fi
4855 fi
4856
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4859 # Check whether --enable-unicode was given.
4860 if test "${enable_unicode+set}" = set; then
4861 enableval=$enable_unicode;
4862 if test "$enableval" = yes; then
4863 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4864 else
4865 wx_cv_use_unicode='wxUSE_UNICODE=no'
4866 fi
4867 cache=yes
4868
4869 else
4870
4871 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4874 cache=yes
4875 else
4876 cache=no
4877 fi
4878
4879 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4880
4881 fi
4882
4883
4884 eval "$wx_cv_use_unicode"
4885 if test "x$cache" = xyes; then
4886 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = yes; then
4891 result=no
4892 else
4893 result=yes
4894 fi
4895 else
4896 result=$wxUSE_UNICODE
4897 fi
4898
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4901
4902
4903 enablestring=
4904 defaultval=
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4907 defaultval=yes
4908 else
4909 defaultval=no
4910 fi
4911 fi
4912
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4920 else
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4922 fi
4923 cache=yes
4924
4925 else
4926
4927 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4928 if test "x$LINE" != x ; then
4929 eval "DEFAULT_$LINE"
4930 cache=yes
4931 else
4932 cache=no
4933 fi
4934
4935 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4936
4937 fi
4938
4939
4940 eval "$wx_cv_use_mslu"
4941 if test "x$cache" = xyes; then
4942 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test x"$enablestring" = xdisable; then
4946 if test $wxUSE_UNICODE_MSLU = yes; then
4947 result=no
4948 else
4949 result=yes
4950 fi
4951 else
4952 result=$wxUSE_UNICODE_MSLU
4953 fi
4954
4955 { echo "$as_me:$LINENO: result: $result" >&5
4956 echo "${ECHO_T}$result" >&6; }
4957
4958
4959 enablestring=
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4962 # Check whether --enable-utf8 was given.
4963 if test "${enable_utf8+set}" = set; then
4964 enableval=$enable_utf8;
4965 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4966 cache=yes
4967
4968 else
4969
4970 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 cache=yes
4974 else
4975 cache=no
4976 fi
4977
4978 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4979
4980 fi
4981
4982
4983 eval "$wx_cv_use_utf8"
4984 if test "x$cache" = xyes; then
4985 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4989 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4990
4991
4992 enablestring=
4993 defaultval=
4994 if test -z "$defaultval"; then
4995 if test x"$enablestring" = xdisable; then
4996 defaultval=yes
4997 else
4998 defaultval=no
4999 fi
5000 fi
5001
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5004 # Check whether --enable-utf8only was given.
5005 if test "${enable_utf8only+set}" = set; then
5006 enableval=$enable_utf8only;
5007 if test "$enableval" = yes; then
5008 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5009 else
5010 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5011 fi
5012 cache=yes
5013
5014 else
5015
5016 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5019 cache=yes
5020 else
5021 cache=no
5022 fi
5023
5024 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5025
5026 fi
5027
5028
5029 eval "$wx_cv_use_utf8only"
5030 if test "x$cache" = xyes; then
5031 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5032 fi
5033
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5036 result=no
5037 else
5038 result=yes
5039 fi
5040 else
5041 result=$wxUSE_UNICODE_UTF8_LOCALE
5042 fi
5043
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5046
5047
5048 enablestring=
5049 defaultval=
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5052 defaultval=yes
5053 else
5054 defaultval=no
5055 fi
5056 fi
5057
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5060 # Check whether --enable-extended_rtti was given.
5061 if test "${enable_extended_rtti+set}" = set; then
5062 enableval=$enable_extended_rtti;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5065 else
5066 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5067 fi
5068 cache=yes
5069
5070 else
5071
5072 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5075 cache=yes
5076 else
5077 cache=no
5078 fi
5079
5080 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5081
5082 fi
5083
5084
5085 eval "$wx_cv_use_extended_rtti"
5086 if test "x$cache" = xyes; then
5087 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5088 fi
5089
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_EXTENDED_RTTI = yes; then
5092 result=no
5093 else
5094 result=yes
5095 fi
5096 else
5097 result=$wxUSE_EXTENDED_RTTI
5098 fi
5099
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5102
5103 if test "$USE_OS2" = "1"; then
5104 DEFAULT_wxUSE_OMF=no
5105
5106 enablestring=
5107 defaultval=
5108 if test -z "$defaultval"; then
5109 if test x"$enablestring" = xdisable; then
5110 defaultval=yes
5111 else
5112 defaultval=no
5113 fi
5114 fi
5115
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5118 # Check whether --enable-omf was given.
5119 if test "${enable_omf+set}" = set; then
5120 enableval=$enable_omf;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_omf='wxUSE_OMF=yes'
5123 else
5124 wx_cv_use_omf='wxUSE_OMF=no'
5125 fi
5126 cache=yes
5127
5128 else
5129
5130 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5133 cache=yes
5134 else
5135 cache=no
5136 fi
5137
5138 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5139
5140 fi
5141
5142
5143 eval "$wx_cv_use_omf"
5144 if test "x$cache" = xyes; then
5145 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_OMF = yes; then
5150 result=no
5151 else
5152 result=yes
5153 fi
5154 else
5155 result=$wxUSE_OMF
5156 fi
5157
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5160
5161 fi
5162
5163 if test "$wxUSE_DEBUG" = "yes"; then
5164 DEFAULT_wxUSE_DEBUG_FLAG=yes
5165 DEFAULT_wxUSE_DEBUG_INFO=yes
5166 BUILD=debug
5167 elif test "$wxUSE_DEBUG" = "no"; then
5168 DEFAULT_wxUSE_DEBUG_FLAG=no
5169 DEFAULT_wxUSE_DEBUG_INFO=no
5170 BUILD=release
5171 fi
5172
5173
5174 enablestring=
5175 defaultval=
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5178 defaultval=yes
5179 else
5180 defaultval=no
5181 fi
5182 fi
5183
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5186 # Check whether --enable-debug_flag was given.
5187 if test "${enable_debug_flag+set}" = set; then
5188 enableval=$enable_debug_flag;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5191 else
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5193 fi
5194 cache=yes
5195
5196 else
5197
5198 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5201 cache=yes
5202 else
5203 cache=no
5204 fi
5205
5206 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5207
5208 fi
5209
5210
5211 eval "$wx_cv_use_debug_flag"
5212 if test "x$cache" = xyes; then
5213 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5214 fi
5215
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_DEBUG_FLAG = yes; then
5218 result=no
5219 else
5220 result=yes
5221 fi
5222 else
5223 result=$wxUSE_DEBUG_FLAG
5224 fi
5225
5226 { echo "$as_me:$LINENO: result: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5228
5229
5230 enablestring=
5231 defaultval=
5232 if test -z "$defaultval"; then
5233 if test x"$enablestring" = xdisable; then
5234 defaultval=yes
5235 else
5236 defaultval=no
5237 fi
5238 fi
5239
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5242 # Check whether --enable-debug_info was given.
5243 if test "${enable_debug_info+set}" = set; then
5244 enableval=$enable_debug_info;
5245 if test "$enableval" = yes; then
5246 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5247 else
5248 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5249 fi
5250 cache=yes
5251
5252 else
5253
5254 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5257 cache=yes
5258 else
5259 cache=no
5260 fi
5261
5262 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_debug_info"
5268 if test "x$cache" = xyes; then
5269 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_DEBUG_INFO = yes; then
5274 result=no
5275 else
5276 result=yes
5277 fi
5278 else
5279 result=$wxUSE_DEBUG_INFO
5280 fi
5281
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5284
5285
5286 enablestring=
5287 defaultval=
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5290 defaultval=yes
5291 else
5292 defaultval=no
5293 fi
5294 fi
5295
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5298 # Check whether --enable-debug_gdb was given.
5299 if test "${enable_debug_gdb+set}" = set; then
5300 enableval=$enable_debug_gdb;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5303 else
5304 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5305 fi
5306 cache=yes
5307
5308 else
5309
5310 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 cache=yes
5314 else
5315 cache=no
5316 fi
5317
5318 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5319
5320 fi
5321
5322
5323 eval "$wx_cv_use_debug_gdb"
5324 if test "x$cache" = xyes; then
5325 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5326 fi
5327
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_DEBUG_GDB = yes; then
5330 result=no
5331 else
5332 result=yes
5333 fi
5334 else
5335 result=$wxUSE_DEBUG_GDB
5336 fi
5337
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5340
5341
5342 enablestring=
5343 defaultval=
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5346 defaultval=yes
5347 else
5348 defaultval=no
5349 fi
5350 fi
5351
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5354 # Check whether --enable-debug_cntxt was given.
5355 if test "${enable_debug_cntxt+set}" = set; then
5356 enableval=$enable_debug_cntxt;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5359 else
5360 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5361 fi
5362 cache=yes
5363
5364 else
5365
5366 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5369 cache=yes
5370 else
5371 cache=no
5372 fi
5373
5374 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5375
5376 fi
5377
5378
5379 eval "$wx_cv_use_debug_cntxt"
5380 if test "x$cache" = xyes; then
5381 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test x"$enablestring" = xdisable; then
5385 if test $wxUSE_DEBUG_CONTEXT = yes; then
5386 result=no
5387 else
5388 result=yes
5389 fi
5390 else
5391 result=$wxUSE_DEBUG_CONTEXT
5392 fi
5393
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5396
5397
5398 enablestring=
5399 defaultval=
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5402 defaultval=yes
5403 else
5404 defaultval=no
5405 fi
5406 fi
5407
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5410 # Check whether --enable-mem_tracing was given.
5411 if test "${enable_mem_tracing+set}" = set; then
5412 enableval=$enable_mem_tracing;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5415 else
5416 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5417 fi
5418 cache=yes
5419
5420 else
5421
5422 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x ; then
5424 eval "DEFAULT_$LINE"
5425 cache=yes
5426 else
5427 cache=no
5428 fi
5429
5430 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5431
5432 fi
5433
5434
5435 eval "$wx_cv_use_mem_tracing"
5436 if test "x$cache" = xyes; then
5437 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5438 fi
5439
5440 if test x"$enablestring" = xdisable; then
5441 if test $wxUSE_MEM_TRACING = yes; then
5442 result=no
5443 else
5444 result=yes
5445 fi
5446 else
5447 result=$wxUSE_MEM_TRACING
5448 fi
5449
5450 { echo "$as_me:$LINENO: result: $result" >&5
5451 echo "${ECHO_T}$result" >&6; }
5452
5453
5454 enablestring=
5455 defaultval=
5456 if test -z "$defaultval"; then
5457 if test x"$enablestring" = xdisable; then
5458 defaultval=yes
5459 else
5460 defaultval=no
5461 fi
5462 fi
5463
5464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5466 # Check whether --enable-profile was given.
5467 if test "${enable_profile+set}" = set; then
5468 enableval=$enable_profile;
5469 if test "$enableval" = yes; then
5470 wx_cv_use_profile='wxUSE_PROFILE=yes'
5471 else
5472 wx_cv_use_profile='wxUSE_PROFILE=no'
5473 fi
5474 cache=yes
5475
5476 else
5477
5478 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5481 cache=yes
5482 else
5483 cache=no
5484 fi
5485
5486 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5487
5488 fi
5489
5490
5491 eval "$wx_cv_use_profile"
5492 if test "x$cache" = xyes; then
5493 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5494 fi
5495
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_PROFILE = yes; then
5498 result=no
5499 else
5500 result=yes
5501 fi
5502 else
5503 result=$wxUSE_PROFILE
5504 fi
5505
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5508
5509
5510 enablestring=
5511 defaultval=
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5514 defaultval=yes
5515 else
5516 defaultval=no
5517 fi
5518 fi
5519
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5522 # Check whether --enable-no_rtti was given.
5523 if test "${enable_no_rtti+set}" = set; then
5524 enableval=$enable_no_rtti;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5527 else
5528 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5529 fi
5530 cache=yes
5531
5532 else
5533
5534 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5537 cache=yes
5538 else
5539 cache=no
5540 fi
5541
5542 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5543
5544 fi
5545
5546
5547 eval "$wx_cv_use_no_rtti"
5548 if test "x$cache" = xyes; then
5549 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_NO_RTTI = yes; then
5554 result=no
5555 else
5556 result=yes
5557 fi
5558 else
5559 result=$wxUSE_NO_RTTI
5560 fi
5561
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5564
5565
5566 enablestring=
5567 defaultval=
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5570 defaultval=yes
5571 else
5572 defaultval=no
5573 fi
5574 fi
5575
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5578 # Check whether --enable-no_exceptions was given.
5579 if test "${enable_no_exceptions+set}" = set; then
5580 enableval=$enable_no_exceptions;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5583 else
5584 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5585 fi
5586 cache=yes
5587
5588 else
5589
5590 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5593 cache=yes
5594 else
5595 cache=no
5596 fi
5597
5598 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5599
5600 fi
5601
5602
5603 eval "$wx_cv_use_no_exceptions"
5604 if test "x$cache" = xyes; then
5605 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5606 fi
5607
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_NO_EXCEPTIONS = yes; then
5610 result=no
5611 else
5612 result=yes
5613 fi
5614 else
5615 result=$wxUSE_NO_EXCEPTIONS
5616 fi
5617
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5620
5621
5622 enablestring=
5623 defaultval=
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5626 defaultval=yes
5627 else
5628 defaultval=no
5629 fi
5630 fi
5631
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5634 # Check whether --enable-permissive was given.
5635 if test "${enable_permissive+set}" = set; then
5636 enableval=$enable_permissive;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5639 else
5640 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5641 fi
5642 cache=yes
5643
5644 else
5645
5646 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5649 cache=yes
5650 else
5651 cache=no
5652 fi
5653
5654 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5655
5656 fi
5657
5658
5659 eval "$wx_cv_use_permissive"
5660 if test "x$cache" = xyes; then
5661 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5662 fi
5663
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_PERMISSIVE = yes; then
5666 result=no
5667 else
5668 result=yes
5669 fi
5670 else
5671 result=$wxUSE_PERMISSIVE
5672 fi
5673
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5676
5677
5678 enablestring=
5679 defaultval=
5680 if test -z "$defaultval"; then
5681 if test x"$enablestring" = xdisable; then
5682 defaultval=yes
5683 else
5684 defaultval=no
5685 fi
5686 fi
5687
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5690 # Check whether --enable-no_deps was given.
5691 if test "${enable_no_deps+set}" = set; then
5692 enableval=$enable_no_deps;
5693 if test "$enableval" = yes; then
5694 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5695 else
5696 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5697 fi
5698 cache=yes
5699
5700 else
5701
5702 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 cache=yes
5706 else
5707 cache=no
5708 fi
5709
5710 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5711
5712 fi
5713
5714
5715 eval "$wx_cv_use_no_deps"
5716 if test "x$cache" = xyes; then
5717 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5718 fi
5719
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_NO_DEPS = yes; then
5722 result=no
5723 else
5724 result=yes
5725 fi
5726 else
5727 result=$wxUSE_NO_DEPS
5728 fi
5729
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5732
5733
5734 enablestring=disable
5735 defaultval=
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5738 defaultval=yes
5739 else
5740 defaultval=no
5741 fi
5742 fi
5743
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5746 # Check whether --enable-vararg_macros was given.
5747 if test "${enable_vararg_macros+set}" = set; then
5748 enableval=$enable_vararg_macros;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5751 else
5752 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5753 fi
5754 cache=yes
5755
5756 else
5757
5758 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5761 cache=yes
5762 else
5763 cache=no
5764 fi
5765
5766 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_vararg_macros"
5772 if test "x$cache" = xyes; then
5773 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5774 fi
5775
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_VARARG_MACROS = yes; then
5778 result=no
5779 else
5780 result=yes
5781 fi
5782 else
5783 result=$wxUSE_VARARG_MACROS
5784 fi
5785
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5788
5789
5790 enablestring=
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5793 # Check whether --enable-universal_binary was given.
5794 if test "${enable_universal_binary+set}" = set; then
5795 enableval=$enable_universal_binary;
5796 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5797 cache=yes
5798
5799 else
5800
5801 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5804 cache=yes
5805 else
5806 cache=no
5807 fi
5808
5809 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5810
5811 fi
5812
5813
5814 eval "$wx_cv_use_universal_binary"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5817 fi
5818
5819 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5820 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5821
5822
5823
5824 enablestring=
5825 defaultval=
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5828 defaultval=yes
5829 else
5830 defaultval=no
5831 fi
5832 fi
5833
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5836 # Check whether --enable-compat26 was given.
5837 if test "${enable_compat26+set}" = set; then
5838 enableval=$enable_compat26;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5841 else
5842 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5843 fi
5844 cache=yes
5845
5846 else
5847
5848 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 cache=yes
5852 else
5853 cache=no
5854 fi
5855
5856 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5857
5858 fi
5859
5860
5861 eval "$wx_cv_use_compat26"
5862 if test "x$cache" = xyes; then
5863 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test x"$enablestring" = xdisable; then
5867 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5868 result=no
5869 else
5870 result=yes
5871 fi
5872 else
5873 result=$WXWIN_COMPATIBILITY_2_6
5874 fi
5875
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5878
5879
5880 enablestring=disable
5881 defaultval=
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5884 defaultval=yes
5885 else
5886 defaultval=no
5887 fi
5888 fi
5889
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5892 # Check whether --enable-compat28 was given.
5893 if test "${enable_compat28+set}" = set; then
5894 enableval=$enable_compat28;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5897 else
5898 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5899 fi
5900 cache=yes
5901
5902 else
5903
5904 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5907 cache=yes
5908 else
5909 cache=no
5910 fi
5911
5912 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_compat28"
5918 if test "x$cache" = xyes; then
5919 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5924 result=no
5925 else
5926 result=yes
5927 fi
5928 else
5929 result=$WXWIN_COMPATIBILITY_2_8
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936
5937 enablestring=disable
5938 defaultval=
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5941 defaultval=yes
5942 else
5943 defaultval=no
5944 fi
5945 fi
5946
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5949 # Check whether --enable-rpath was given.
5950 if test "${enable_rpath+set}" = set; then
5951 enableval=$enable_rpath;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_rpath='wxUSE_RPATH=yes'
5954 else
5955 wx_cv_use_rpath='wxUSE_RPATH=no'
5956 fi
5957 cache=yes
5958
5959 else
5960
5961 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5964 cache=yes
5965 else
5966 cache=no
5967 fi
5968
5969 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5970
5971 fi
5972
5973
5974 eval "$wx_cv_use_rpath"
5975 if test "x$cache" = xyes; then
5976 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5977 fi
5978
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_RPATH = yes; then
5981 result=no
5982 else
5983 result=yes
5984 fi
5985 else
5986 result=$wxUSE_RPATH
5987 fi
5988
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5991
5992
5993
5994 enablestring=
5995 defaultval=
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
5998 defaultval=yes
5999 else
6000 defaultval=no
6001 fi
6002 fi
6003
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6006 # Check whether --enable-objc_uniquifying was given.
6007 if test "${enable_objc_uniquifying+set}" = set; then
6008 enableval=$enable_objc_uniquifying;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6011 else
6012 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6013 fi
6014 cache=yes
6015
6016 else
6017
6018 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 cache=yes
6022 else
6023 cache=no
6024 fi
6025
6026 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6027
6028 fi
6029
6030
6031 eval "$wx_cv_use_objc_uniquifying"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6034 fi
6035
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6038 result=no
6039 else
6040 result=yes
6041 fi
6042 else
6043 result=$wxUSE_OBJC_UNIQUIFYING
6044 fi
6045
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6048
6049
6050
6051 enablestring=disable
6052 defaultval=
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6055 defaultval=yes
6056 else
6057 defaultval=no
6058 fi
6059 fi
6060
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6063 # Check whether --enable-visibility was given.
6064 if test "${enable_visibility+set}" = set; then
6065 enableval=$enable_visibility;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6068 else
6069 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6070 fi
6071 cache=yes
6072
6073 else
6074
6075 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 cache=yes
6079 else
6080 cache=no
6081 fi
6082
6083 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_visibility"
6089 if test "x$cache" = xyes; then
6090 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_VISIBILITY = yes; then
6095 result=no
6096 else
6097 result=yes
6098 fi
6099 else
6100 result=$wxUSE_VISIBILITY
6101 fi
6102
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6105
6106
6107
6108
6109 enablestring=
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6113 defaultval=yes
6114 else
6115 defaultval=no
6116 fi
6117 fi
6118
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6121 # Check whether --enable-intl was given.
6122 if test "${enable_intl+set}" = set; then
6123 enableval=$enable_intl;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_intl='wxUSE_INTL=yes'
6126 else
6127 wx_cv_use_intl='wxUSE_INTL=no'
6128 fi
6129 cache=yes
6130
6131 else
6132
6133 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6136 cache=yes
6137 else
6138 cache=no
6139 fi
6140
6141 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6142
6143 fi
6144
6145
6146 eval "$wx_cv_use_intl"
6147 if test "x$cache" = xyes; then
6148 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6149 fi
6150
6151 if test x"$enablestring" = xdisable; then
6152 if test $wxUSE_INTL = yes; then
6153 result=no
6154 else
6155 result=yes
6156 fi
6157 else
6158 result=$wxUSE_INTL
6159 fi
6160
6161 { echo "$as_me:$LINENO: result: $result" >&5
6162 echo "${ECHO_T}$result" >&6; }
6163
6164
6165 enablestring=
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6169 defaultval=yes
6170 else
6171 defaultval=no
6172 fi
6173 fi
6174
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6177 # Check whether --enable-config was given.
6178 if test "${enable_config+set}" = set; then
6179 enableval=$enable_config;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_config='wxUSE_CONFIG=yes'
6182 else
6183 wx_cv_use_config='wxUSE_CONFIG=no'
6184 fi
6185 cache=yes
6186
6187 else
6188
6189 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6192 cache=yes
6193 else
6194 cache=no
6195 fi
6196
6197 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6198
6199 fi
6200
6201
6202 eval "$wx_cv_use_config"
6203 if test "x$cache" = xyes; then
6204 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_CONFIG = yes; then
6209 result=no
6210 else
6211 result=yes
6212 fi
6213 else
6214 result=$wxUSE_CONFIG
6215 fi
6216
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6219
6220
6221
6222 enablestring=
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6226 defaultval=yes
6227 else
6228 defaultval=no
6229 fi
6230 fi
6231
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6234 # Check whether --enable-protocols was given.
6235 if test "${enable_protocols+set}" = set; then
6236 enableval=$enable_protocols;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6239 else
6240 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6241 fi
6242 cache=yes
6243
6244 else
6245
6246 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6249 cache=yes
6250 else
6251 cache=no
6252 fi
6253
6254 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_protocols"
6260 if test "x$cache" = xyes; then
6261 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6262 fi
6263
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_PROTOCOL = yes; then
6266 result=no
6267 else
6268 result=yes
6269 fi
6270 else
6271 result=$wxUSE_PROTOCOL
6272 fi
6273
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6276
6277
6278 enablestring=
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6282 defaultval=yes
6283 else
6284 defaultval=no
6285 fi
6286 fi
6287
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6290 # Check whether --enable-ftp was given.
6291 if test "${enable_ftp+set}" = set; then
6292 enableval=$enable_ftp;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6295 else
6296 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6297 fi
6298 cache=yes
6299
6300 else
6301
6302 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x ; then
6304 eval "DEFAULT_$LINE"
6305 cache=yes
6306 else
6307 cache=no
6308 fi
6309
6310 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6311
6312 fi
6313
6314
6315 eval "$wx_cv_use_ftp"
6316 if test "x$cache" = xyes; then
6317 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6318 fi
6319
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_PROTOCOL_FTP = yes; then
6322 result=no
6323 else
6324 result=yes
6325 fi
6326 else
6327 result=$wxUSE_PROTOCOL_FTP
6328 fi
6329
6330 { echo "$as_me:$LINENO: result: $result" >&5
6331 echo "${ECHO_T}$result" >&6; }
6332
6333
6334 enablestring=
6335 defaultval=$wxUSE_ALL_FEATURES
6336 if test -z "$defaultval"; then
6337 if test x"$enablestring" = xdisable; then
6338 defaultval=yes
6339 else
6340 defaultval=no
6341 fi
6342 fi
6343
6344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6346 # Check whether --enable-http was given.
6347 if test "${enable_http+set}" = set; then
6348 enableval=$enable_http;
6349 if test "$enableval" = yes; then
6350 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6351 else
6352 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6353 fi
6354 cache=yes
6355
6356 else
6357
6358 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 cache=yes
6362 else
6363 cache=no
6364 fi
6365
6366 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6367
6368 fi
6369
6370
6371 eval "$wx_cv_use_http"
6372 if test "x$cache" = xyes; then
6373 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6374 fi
6375
6376 if test x"$enablestring" = xdisable; then
6377 if test $wxUSE_PROTOCOL_HTTP = yes; then
6378 result=no
6379 else
6380 result=yes
6381 fi
6382 else
6383 result=$wxUSE_PROTOCOL_HTTP
6384 fi
6385
6386 { echo "$as_me:$LINENO: result: $result" >&5
6387 echo "${ECHO_T}$result" >&6; }
6388
6389
6390 enablestring=
6391 defaultval=$wxUSE_ALL_FEATURES
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6394 defaultval=yes
6395 else
6396 defaultval=no
6397 fi
6398 fi
6399
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6402 # Check whether --enable-fileproto was given.
6403 if test "${enable_fileproto+set}" = set; then
6404 enableval=$enable_fileproto;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6407 else
6408 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6409 fi
6410 cache=yes
6411
6412 else
6413
6414 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6417 cache=yes
6418 else
6419 cache=no
6420 fi
6421
6422 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_fileproto"
6428 if test "x$cache" = xyes; then
6429 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6430 fi
6431
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_PROTOCOL_FILE = yes; then
6434 result=no
6435 else
6436 result=yes
6437 fi
6438 else
6439 result=$wxUSE_PROTOCOL_FILE
6440 fi
6441
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6444
6445
6446 enablestring=
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6450 defaultval=yes
6451 else
6452 defaultval=no
6453 fi
6454 fi
6455
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6458 # Check whether --enable-sockets was given.
6459 if test "${enable_sockets+set}" = set; then
6460 enableval=$enable_sockets;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6463 else
6464 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6465 fi
6466 cache=yes
6467
6468 else
6469
6470 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 cache=yes
6474 else
6475 cache=no
6476 fi
6477
6478 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6479
6480 fi
6481
6482
6483 eval "$wx_cv_use_sockets"
6484 if test "x$cache" = xyes; then
6485 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6486 fi
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_SOCKETS = yes; then
6490 result=no
6491 else
6492 result=yes
6493 fi
6494 else
6495 result=$wxUSE_SOCKETS
6496 fi
6497
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6514 # Check whether --enable-ole was given.
6515 if test "${enable_ole+set}" = set; then
6516 enableval=$enable_ole;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_ole='wxUSE_OLE=yes'
6519 else
6520 wx_cv_use_ole='wxUSE_OLE=no'
6521 fi
6522 cache=yes
6523
6524 else
6525
6526 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 cache=yes
6530 else
6531 cache=no
6532 fi
6533
6534 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6535
6536 fi
6537
6538
6539 eval "$wx_cv_use_ole"
6540 if test "x$cache" = xyes; then
6541 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test x"$enablestring" = xdisable; then
6545 if test $wxUSE_OLE = yes; then
6546 result=no
6547 else
6548 result=yes
6549 fi
6550 else
6551 result=$wxUSE_OLE
6552 fi
6553
6554 { echo "$as_me:$LINENO: result: $result" >&5
6555 echo "${ECHO_T}$result" >&6; }
6556
6557
6558 enablestring=
6559 defaultval=$wxUSE_ALL_FEATURES
6560 if test -z "$defaultval"; then
6561 if test x"$enablestring" = xdisable; then
6562 defaultval=yes
6563 else
6564 defaultval=no
6565 fi
6566 fi
6567
6568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6570 # Check whether --enable-dataobj was given.
6571 if test "${enable_dataobj+set}" = set; then
6572 enableval=$enable_dataobj;
6573 if test "$enableval" = yes; then
6574 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6575 else
6576 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6577 fi
6578 cache=yes
6579
6580 else
6581
6582 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6585 cache=yes
6586 else
6587 cache=no
6588 fi
6589
6590 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6591
6592 fi
6593
6594
6595 eval "$wx_cv_use_dataobj"
6596 if test "x$cache" = xyes; then
6597 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6598 fi
6599
6600 if test x"$enablestring" = xdisable; then
6601 if test $wxUSE_DATAOBJ = yes; then
6602 result=no
6603 else
6604 result=yes
6605 fi
6606 else
6607 result=$wxUSE_DATAOBJ
6608 fi
6609
6610 { echo "$as_me:$LINENO: result: $result" >&5
6611 echo "${ECHO_T}$result" >&6; }
6612
6613
6614
6615 enablestring=
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z "$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6619 defaultval=yes
6620 else
6621 defaultval=no
6622 fi
6623 fi
6624
6625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6627 # Check whether --enable-ipc was given.
6628 if test "${enable_ipc+set}" = set; then
6629 enableval=$enable_ipc;
6630 if test "$enableval" = yes; then
6631 wx_cv_use_ipc='wxUSE_IPC=yes'
6632 else
6633 wx_cv_use_ipc='wxUSE_IPC=no'
6634 fi
6635 cache=yes
6636
6637 else
6638
6639 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6642 cache=yes
6643 else
6644 cache=no
6645 fi
6646
6647 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6648
6649 fi
6650
6651
6652 eval "$wx_cv_use_ipc"
6653 if test "x$cache" = xyes; then
6654 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6655 fi
6656
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_IPC = yes; then
6659 result=no
6660 else
6661 result=yes
6662 fi
6663 else
6664 result=$wxUSE_IPC
6665 fi
6666
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6669
6670
6671
6672 enablestring=
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6676 defaultval=yes
6677 else
6678 defaultval=no
6679 fi
6680 fi
6681
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6684 # Check whether --enable-baseevtloop was given.
6685 if test "${enable_baseevtloop+set}" = set; then
6686 enableval=$enable_baseevtloop;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6689 else
6690 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6691 fi
6692 cache=yes
6693
6694 else
6695
6696 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 cache=yes
6700 else
6701 cache=no
6702 fi
6703
6704 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6705
6706 fi
6707
6708
6709 eval "$wx_cv_use_baseevtloop"
6710 if test "x$cache" = xyes; then
6711 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6712 fi
6713
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6716 result=no
6717 else
6718 result=yes
6719 fi
6720 else
6721 result=$wxUSE_CONSOLE_EVENTLOOP
6722 fi
6723
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6726
6727
6728 enablestring=
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6732 defaultval=yes
6733 else
6734 defaultval=no
6735 fi
6736 fi
6737
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6740 # Check whether --enable-epoolloop was given.
6741 if test "${enable_epoolloop+set}" = set; then
6742 enableval=$enable_epoolloop;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6745 else
6746 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6747 fi
6748 cache=yes
6749
6750 else
6751
6752 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6755 cache=yes
6756 else
6757 cache=no
6758 fi
6759
6760 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6761
6762 fi
6763
6764
6765 eval "$wx_cv_use_epoolloop"
6766 if test "x$cache" = xyes; then
6767 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6768 fi
6769
6770 if test x"$enablestring" = xdisable; then
6771 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6772 result=no
6773 else
6774 result=yes
6775 fi
6776 else
6777 result=$wxUSE_EPOLL_DISPATCHER
6778 fi
6779
6780 { echo "$as_me:$LINENO: result: $result" >&5
6781 echo "${ECHO_T}$result" >&6; }
6782
6783
6784 enablestring=
6785 defaultval=$wxUSE_ALL_FEATURES
6786 if test -z "$defaultval"; then
6787 if test x"$enablestring" = xdisable; then
6788 defaultval=yes
6789 else
6790 defaultval=no
6791 fi
6792 fi
6793
6794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6796 # Check whether --enable-selectloop was given.
6797 if test "${enable_selectloop+set}" = set; then
6798 enableval=$enable_selectloop;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6801 else
6802 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6803 fi
6804 cache=yes
6805
6806 else
6807
6808 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6811 cache=yes
6812 else
6813 cache=no
6814 fi
6815
6816 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6817
6818 fi
6819
6820
6821 eval "$wx_cv_use_selectloop"
6822 if test "x$cache" = xyes; then
6823 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_SELECT_DISPATCHER = yes; then
6828 result=no
6829 else
6830 result=yes
6831 fi
6832 else
6833 result=$wxUSE_SELECT_DISPATCHER
6834 fi
6835
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6838
6839
6840
6841 enablestring=
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6845 defaultval=yes
6846 else
6847 defaultval=no
6848 fi
6849 fi
6850
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6853 # Check whether --enable-apple_ieee was given.
6854 if test "${enable_apple_ieee+set}" = set; then
6855 enableval=$enable_apple_ieee;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6858 else
6859 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6860 fi
6861 cache=yes
6862
6863 else
6864
6865 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6868 cache=yes
6869 else
6870 cache=no
6871 fi
6872
6873 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_apple_ieee"
6879 if test "x$cache" = xyes; then
6880 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6881 fi
6882
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_APPLE_IEEE = yes; then
6885 result=no
6886 else
6887 result=yes
6888 fi
6889 else
6890 result=$wxUSE_APPLE_IEEE
6891 fi
6892
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6895
6896
6897 enablestring=
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6901 defaultval=yes
6902 else
6903 defaultval=no
6904 fi
6905 fi
6906
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6909 # Check whether --enable-arcstream was given.
6910 if test "${enable_arcstream+set}" = set; then
6911 enableval=$enable_arcstream;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6914 else
6915 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6916 fi
6917 cache=yes
6918
6919 else
6920
6921 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6924 cache=yes
6925 else
6926 cache=no
6927 fi
6928
6929 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6930
6931 fi
6932
6933
6934 eval "$wx_cv_use_arcstream"
6935 if test "x$cache" = xyes; then
6936 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6937 fi
6938
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6941 result=no
6942 else
6943 result=yes
6944 fi
6945 else
6946 result=$wxUSE_ARCHIVE_STREAMS
6947 fi
6948
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6951
6952
6953 enablestring=
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6957 defaultval=yes
6958 else
6959 defaultval=no
6960 fi
6961 fi
6962
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6965 # Check whether --enable-base64 was given.
6966 if test "${enable_base64+set}" = set; then
6967 enableval=$enable_base64;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_base64='wxUSE_BASE64=yes'
6970 else
6971 wx_cv_use_base64='wxUSE_BASE64=no'
6972 fi
6973 cache=yes
6974
6975 else
6976
6977 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 cache=yes
6981 else
6982 cache=no
6983 fi
6984
6985 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6986
6987 fi
6988
6989
6990 eval "$wx_cv_use_base64"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6993 fi
6994
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_BASE64 = yes; then
6997 result=no
6998 else
6999 result=yes
7000 fi
7001 else
7002 result=$wxUSE_BASE64
7003 fi
7004
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7007
7008
7009 enablestring=
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7013 defaultval=yes
7014 else
7015 defaultval=no
7016 fi
7017 fi
7018
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7021 # Check whether --enable-backtrace was given.
7022 if test "${enable_backtrace+set}" = set; then
7023 enableval=$enable_backtrace;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7026 else
7027 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7028 fi
7029 cache=yes
7030
7031 else
7032
7033 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7036 cache=yes
7037 else
7038 cache=no
7039 fi
7040
7041 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7042
7043 fi
7044
7045
7046 eval "$wx_cv_use_backtrace"
7047 if test "x$cache" = xyes; then
7048 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7049 fi
7050
7051 if test x"$enablestring" = xdisable; then
7052 if test $wxUSE_STACKWALKER = yes; then
7053 result=no
7054 else
7055 result=yes
7056 fi
7057 else
7058 result=$wxUSE_STACKWALKER
7059 fi
7060
7061 { echo "$as_me:$LINENO: result: $result" >&5
7062 echo "${ECHO_T}$result" >&6; }
7063
7064
7065 enablestring=
7066 defaultval=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x"$enablestring" = xdisable; then
7069 defaultval=yes
7070 else
7071 defaultval=no
7072 fi
7073 fi
7074
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7077 # Check whether --enable-catch_segvs was given.
7078 if test "${enable_catch_segvs+set}" = set; then
7079 enableval=$enable_catch_segvs;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7082 else
7083 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7084 fi
7085 cache=yes
7086
7087 else
7088
7089 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 cache=yes
7093 else
7094 cache=no
7095 fi
7096
7097 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7098
7099 fi
7100
7101
7102 eval "$wx_cv_use_catch_segvs"
7103 if test "x$cache" = xyes; then
7104 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7105 fi
7106
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7109 result=no
7110 else
7111 result=yes
7112 fi
7113 else
7114 result=$wxUSE_ON_FATAL_EXCEPTION
7115 fi
7116
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7119
7120
7121 enablestring=
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7125 defaultval=yes
7126 else
7127 defaultval=no
7128 fi
7129 fi
7130
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7133 # Check whether --enable-cmdline was given.
7134 if test "${enable_cmdline+set}" = set; then
7135 enableval=$enable_cmdline;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7138 else
7139 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7140 fi
7141 cache=yes
7142
7143 else
7144
7145 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 cache=yes
7149 else
7150 cache=no
7151 fi
7152
7153 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7154
7155 fi
7156
7157
7158 eval "$wx_cv_use_cmdline"
7159 if test "x$cache" = xyes; then
7160 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_CMDLINE_PARSER = yes; then
7165 result=no
7166 else
7167 result=yes
7168 fi
7169 else
7170 result=$wxUSE_CMDLINE_PARSER
7171 fi
7172
7173 { echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6; }
7175
7176
7177 enablestring=
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7181 defaultval=yes
7182 else
7183 defaultval=no
7184 fi
7185 fi
7186
7187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7189 # Check whether --enable-datetime was given.
7190 if test "${enable_datetime+set}" = set; then
7191 enableval=$enable_datetime;
7192 if test "$enableval" = yes; then
7193 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7194 else
7195 wx_cv_use_datetime='wxUSE_DATETIME=no'
7196 fi
7197 cache=yes
7198
7199 else
7200
7201 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7204 cache=yes
7205 else
7206 cache=no
7207 fi
7208
7209 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7210
7211 fi
7212
7213
7214 eval "$wx_cv_use_datetime"
7215 if test "x$cache" = xyes; then
7216 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7217 fi
7218
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_DATETIME = yes; then
7221 result=no
7222 else
7223 result=yes
7224 fi
7225 else
7226 result=$wxUSE_DATETIME
7227 fi
7228
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7231
7232
7233 enablestring=
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7237 defaultval=yes
7238 else
7239 defaultval=no
7240 fi
7241 fi
7242
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7245 # Check whether --enable-debugreport was given.
7246 if test "${enable_debugreport+set}" = set; then
7247 enableval=$enable_debugreport;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7250 else
7251 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7252 fi
7253 cache=yes
7254
7255 else
7256
7257 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7260 cache=yes
7261 else
7262 cache=no
7263 fi
7264
7265 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7266
7267 fi
7268
7269
7270 eval "$wx_cv_use_debugreport"
7271 if test "x$cache" = xyes; then
7272 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7273 fi
7274
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_DEBUGREPORT = yes; then
7277 result=no
7278 else
7279 result=yes
7280 fi
7281 else
7282 result=$wxUSE_DEBUGREPORT
7283 fi
7284
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7287
7288
7289 enablestring=
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7293 defaultval=yes
7294 else
7295 defaultval=no
7296 fi
7297 fi
7298
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7301 # Check whether --enable-dialupman was given.
7302 if test "${enable_dialupman+set}" = set; then
7303 enableval=$enable_dialupman;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7306 else
7307 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7308 fi
7309 cache=yes
7310
7311 else
7312
7313 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7316 cache=yes
7317 else
7318 cache=no
7319 fi
7320
7321 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7322
7323 fi
7324
7325
7326 eval "$wx_cv_use_dialupman"
7327 if test "x$cache" = xyes; then
7328 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7329 fi
7330
7331 if test x"$enablestring" = xdisable; then
7332 if test $wxUSE_DIALUP_MANAGER = yes; then
7333 result=no
7334 else
7335 result=yes
7336 fi
7337 else
7338 result=$wxUSE_DIALUP_MANAGER
7339 fi
7340
7341 { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7343
7344
7345 enablestring=
7346 defaultval=$wxUSE_ALL_FEATURES
7347 if test -z "$defaultval"; then
7348 if test x"$enablestring" = xdisable; then
7349 defaultval=yes
7350 else
7351 defaultval=no
7352 fi
7353 fi
7354
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7357 # Check whether --enable-dynlib was given.
7358 if test "${enable_dynlib+set}" = set; then
7359 enableval=$enable_dynlib;
7360 if test "$enableval" = yes; then
7361 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7362 else
7363 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7364 fi
7365 cache=yes
7366
7367 else
7368
7369 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7372 cache=yes
7373 else
7374 cache=no
7375 fi
7376
7377 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7378
7379 fi
7380
7381
7382 eval "$wx_cv_use_dynlib"
7383 if test "x$cache" = xyes; then
7384 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7385 fi
7386
7387 if test x"$enablestring" = xdisable; then
7388 if test $wxUSE_DYNLIB_CLASS = yes; then
7389 result=no
7390 else
7391 result=yes
7392 fi
7393 else
7394 result=$wxUSE_DYNLIB_CLASS
7395 fi
7396
7397 { echo "$as_me:$LINENO: result: $result" >&5
7398 echo "${ECHO_T}$result" >&6; }
7399
7400
7401 enablestring=
7402 defaultval=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x"$enablestring" = xdisable; then
7405 defaultval=yes
7406 else
7407 defaultval=no
7408 fi
7409 fi
7410
7411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7413 # Check whether --enable-dynamicloader was given.
7414 if test "${enable_dynamicloader+set}" = set; then
7415 enableval=$enable_dynamicloader;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7418 else
7419 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7420 fi
7421 cache=yes
7422
7423 else
7424
7425 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7426 if test "x$LINE" != x ; then
7427 eval "DEFAULT_$LINE"
7428 cache=yes
7429 else
7430 cache=no
7431 fi
7432
7433 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7434
7435 fi
7436
7437
7438 eval "$wx_cv_use_dynamicloader"
7439 if test "x$cache" = xyes; then
7440 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_DYNAMIC_LOADER = yes; then
7445 result=no
7446 else
7447 result=yes
7448 fi
7449 else
7450 result=$wxUSE_DYNAMIC_LOADER
7451 fi
7452
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7455
7456
7457 enablestring=
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7461 defaultval=yes
7462 else
7463 defaultval=no
7464 fi
7465 fi
7466
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7469 # Check whether --enable-exceptions was given.
7470 if test "${enable_exceptions+set}" = set; then
7471 enableval=$enable_exceptions;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7474 else
7475 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7476 fi
7477 cache=yes
7478
7479 else
7480
7481 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 cache=yes
7485 else
7486 cache=no
7487 fi
7488
7489 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_exceptions"
7495 if test "x$cache" = xyes; then
7496 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7497 fi
7498
7499 if test x"$enablestring" = xdisable; then
7500 if test $wxUSE_EXCEPTIONS = yes; then
7501 result=no
7502 else
7503 result=yes
7504 fi
7505 else
7506 result=$wxUSE_EXCEPTIONS
7507 fi
7508
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7511
7512
7513 enablestring=
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7517 defaultval=yes
7518 else
7519 defaultval=no
7520 fi
7521 fi
7522
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7525 # Check whether --enable-ffile was given.
7526 if test "${enable_ffile+set}" = set; then
7527 enableval=$enable_ffile;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_ffile='wxUSE_FFILE=yes'
7530 else
7531 wx_cv_use_ffile='wxUSE_FFILE=no'
7532 fi
7533 cache=yes
7534
7535 else
7536
7537 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7540 cache=yes
7541 else
7542 cache=no
7543 fi
7544
7545 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7546
7547 fi
7548
7549
7550 eval "$wx_cv_use_ffile"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7553 fi
7554
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FFILE = yes; then
7557 result=no
7558 else
7559 result=yes
7560 fi
7561 else
7562 result=$wxUSE_FFILE
7563 fi
7564
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7567
7568
7569 enablestring=
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7573 defaultval=yes
7574 else
7575 defaultval=no
7576 fi
7577 fi
7578
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7581 # Check whether --enable-file was given.
7582 if test "${enable_file+set}" = set; then
7583 enableval=$enable_file;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_file='wxUSE_FILE=yes'
7586 else
7587 wx_cv_use_file='wxUSE_FILE=no'
7588 fi
7589 cache=yes
7590
7591 else
7592
7593 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 cache=yes
7597 else
7598 cache=no
7599 fi
7600
7601 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7602
7603 fi
7604
7605
7606 eval "$wx_cv_use_file"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7609 fi
7610
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FILE = yes; then
7613 result=no
7614 else
7615 result=yes
7616 fi
7617 else
7618 result=$wxUSE_FILE
7619 fi
7620
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7623
7624
7625 enablestring=
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7629 defaultval=yes
7630 else
7631 defaultval=no
7632 fi
7633 fi
7634
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7637 # Check whether --enable-filesystem was given.
7638 if test "${enable_filesystem+set}" = set; then
7639 enableval=$enable_filesystem;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7642 else
7643 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7644 fi
7645 cache=yes
7646
7647 else
7648
7649 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7652 cache=yes
7653 else
7654 cache=no
7655 fi
7656
7657 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7658
7659 fi
7660
7661
7662 eval "$wx_cv_use_filesystem"
7663 if test "x$cache" = xyes; then
7664 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test x"$enablestring" = xdisable; then
7668 if test $wxUSE_FILESYSTEM = yes; then
7669 result=no
7670 else
7671 result=yes
7672 fi
7673 else
7674 result=$wxUSE_FILESYSTEM
7675 fi
7676
7677 { echo "$as_me:$LINENO: result: $result" >&5
7678 echo "${ECHO_T}$result" >&6; }
7679
7680
7681 enablestring=
7682 defaultval=$wxUSE_ALL_FEATURES
7683 if test -z "$defaultval"; then
7684 if test x"$enablestring" = xdisable; then
7685 defaultval=yes
7686 else
7687 defaultval=no
7688 fi
7689 fi
7690
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7693 # Check whether --enable-fontenum was given.
7694 if test "${enable_fontenum+set}" = set; then
7695 enableval=$enable_fontenum;
7696 if test "$enableval" = yes; then
7697 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7698 else
7699 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7700 fi
7701 cache=yes
7702
7703 else
7704
7705 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 cache=yes
7709 else
7710 cache=no
7711 fi
7712
7713 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7714
7715 fi
7716
7717
7718 eval "$wx_cv_use_fontenum"
7719 if test "x$cache" = xyes; then
7720 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7721 fi
7722
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_FONTENUM = yes; then
7725 result=no
7726 else
7727 result=yes
7728 fi
7729 else
7730 result=$wxUSE_FONTENUM
7731 fi
7732
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7735
7736
7737 enablestring=
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7741 defaultval=yes
7742 else
7743 defaultval=no
7744 fi
7745 fi
7746
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7749 # Check whether --enable-fontmap was given.
7750 if test "${enable_fontmap+set}" = set; then
7751 enableval=$enable_fontmap;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7754 else
7755 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7756 fi
7757 cache=yes
7758
7759 else
7760
7761 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x ; then
7763 eval "DEFAULT_$LINE"
7764 cache=yes
7765 else
7766 cache=no
7767 fi
7768
7769 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7770
7771 fi
7772
7773
7774 eval "$wx_cv_use_fontmap"
7775 if test "x$cache" = xyes; then
7776 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7777 fi
7778
7779 if test x"$enablestring" = xdisable; then
7780 if test $wxUSE_FONTMAP = yes; then
7781 result=no
7782 else
7783 result=yes
7784 fi
7785 else
7786 result=$wxUSE_FONTMAP
7787 fi
7788
7789 { echo "$as_me:$LINENO: result: $result" >&5
7790 echo "${ECHO_T}$result" >&6; }
7791
7792
7793 enablestring=
7794 defaultval=$wxUSE_ALL_FEATURES
7795 if test -z "$defaultval"; then
7796 if test x"$enablestring" = xdisable; then
7797 defaultval=yes
7798 else
7799 defaultval=no
7800 fi
7801 fi
7802
7803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7805 # Check whether --enable-fs_archive was given.
7806 if test "${enable_fs_archive+set}" = set; then
7807 enableval=$enable_fs_archive;
7808 if test "$enableval" = yes; then
7809 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7810 else
7811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7812 fi
7813 cache=yes
7814
7815 else
7816
7817 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7820 cache=yes
7821 else
7822 cache=no
7823 fi
7824
7825 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7826
7827 fi
7828
7829
7830 eval "$wx_cv_use_fs_archive"
7831 if test "x$cache" = xyes; then
7832 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7833 fi
7834
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_FS_ARCHIVE = yes; then
7837 result=no
7838 else
7839 result=yes
7840 fi
7841 else
7842 result=$wxUSE_FS_ARCHIVE
7843 fi
7844
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7847
7848
7849 enablestring=
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7853 defaultval=yes
7854 else
7855 defaultval=no
7856 fi
7857 fi
7858
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7861 # Check whether --enable-fs_inet was given.
7862 if test "${enable_fs_inet+set}" = set; then
7863 enableval=$enable_fs_inet;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7866 else
7867 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7868 fi
7869 cache=yes
7870
7871 else
7872
7873 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7874 if test "x$LINE" != x ; then
7875 eval "DEFAULT_$LINE"
7876 cache=yes
7877 else
7878 cache=no
7879 fi
7880
7881 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7882
7883 fi
7884
7885
7886 eval "$wx_cv_use_fs_inet"
7887 if test "x$cache" = xyes; then
7888 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7889 fi
7890
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_FS_INET = yes; then
7893 result=no
7894 else
7895 result=yes
7896 fi
7897 else
7898 result=$wxUSE_FS_INET
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}-fs_zip" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7917 # Check whether --enable-fs_zip was given.
7918 if test "${enable_fs_zip+set}" = set; then
7919 enableval=$enable_fs_zip;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7922 else
7923 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7924 fi
7925 cache=yes
7926
7927 else
7928
7929 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 cache=yes
7933 else
7934 cache=no
7935 fi
7936
7937 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7938
7939 fi
7940
7941
7942 eval "$wx_cv_use_fs_zip"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7945 fi
7946
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_FS_ZIP = yes; then
7949 result=no
7950 else
7951 result=yes
7952 fi
7953 else
7954 result=$wxUSE_FS_ZIP
7955 fi
7956
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7973 # Check whether --enable-geometry was given.
7974 if test "${enable_geometry+set}" = set; then
7975 enableval=$enable_geometry;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7978 else
7979 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7980 fi
7981 cache=yes
7982
7983 else
7984
7985 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7988 cache=yes
7989 else
7990 cache=no
7991 fi
7992
7993 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7994
7995 fi
7996
7997
7998 eval "$wx_cv_use_geometry"
7999 if test "x$cache" = xyes; then
8000 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_GEOMETRY = yes; then
8005 result=no
8006 else
8007 result=yes
8008 fi
8009 else
8010 result=$wxUSE_GEOMETRY
8011 fi
8012
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8015
8016
8017 enablestring=
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8021 defaultval=yes
8022 else
8023 defaultval=no
8024 fi
8025 fi
8026
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8029 # Check whether --enable-log was given.
8030 if test "${enable_log+set}" = set; then
8031 enableval=$enable_log;
8032 if test "$enableval" = yes; then
8033 wx_cv_use_log='wxUSE_LOG=yes'
8034 else
8035 wx_cv_use_log='wxUSE_LOG=no'
8036 fi
8037 cache=yes
8038
8039 else
8040
8041 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8044 cache=yes
8045 else
8046 cache=no
8047 fi
8048
8049 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8050
8051 fi
8052
8053
8054 eval "$wx_cv_use_log"
8055 if test "x$cache" = xyes; then
8056 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_LOG = yes; then
8061 result=no
8062 else
8063 result=yes
8064 fi
8065 else
8066 result=$wxUSE_LOG
8067 fi
8068
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8071
8072
8073 enablestring=
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8077 defaultval=yes
8078 else
8079 defaultval=no
8080 fi
8081 fi
8082
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8085 # Check whether --enable-longlong was given.
8086 if test "${enable_longlong+set}" = set; then
8087 enableval=$enable_longlong;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8090 else
8091 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8092 fi
8093 cache=yes
8094
8095 else
8096
8097 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8100 cache=yes
8101 else
8102 cache=no
8103 fi
8104
8105 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_longlong"
8111 if test "x$cache" = xyes; then
8112 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8113 fi
8114
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_LONGLONG = yes; then
8117 result=no
8118 else
8119 result=yes
8120 fi
8121 else
8122 result=$wxUSE_LONGLONG
8123 fi
8124
8125 { echo "$as_me:$LINENO: result: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8127
8128
8129 enablestring=
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8141 # Check whether --enable-mimetype was given.
8142 if test "${enable_mimetype+set}" = set; then
8143 enableval=$enable_mimetype;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8146 else
8147 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8148 fi
8149 cache=yes
8150
8151 else
8152
8153 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8156 cache=yes
8157 else
8158 cache=no
8159 fi
8160
8161 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8162
8163 fi
8164
8165
8166 eval "$wx_cv_use_mimetype"
8167 if test "x$cache" = xyes; then
8168 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_MIMETYPE = yes; then
8173 result=no
8174 else
8175 result=yes
8176 fi
8177 else
8178 result=$wxUSE_MIMETYPE
8179 fi
8180
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8183
8184
8185 enablestring=
8186 defaultval=$wxUSE_ALL_FEATURES
8187 if test -z "$defaultval"; then
8188 if test x"$enablestring" = xdisable; then
8189 defaultval=yes
8190 else
8191 defaultval=no
8192 fi
8193 fi
8194
8195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8197 # Check whether --enable-snglinst was given.
8198 if test "${enable_snglinst+set}" = set; then
8199 enableval=$enable_snglinst;
8200 if test "$enableval" = yes; then
8201 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8202 else
8203 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8204 fi
8205 cache=yes
8206
8207 else
8208
8209 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 cache=yes
8213 else
8214 cache=no
8215 fi
8216
8217 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8218
8219 fi
8220
8221
8222 eval "$wx_cv_use_snglinst"
8223 if test "x$cache" = xyes; then
8224 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8225 fi
8226
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_SNGLINST_CHECKER = yes; then
8229 result=no
8230 else
8231 result=yes
8232 fi
8233 else
8234 result=$wxUSE_SNGLINST_CHECKER
8235 fi
8236
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8239
8240
8241 enablestring=
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8245 defaultval=yes
8246 else
8247 defaultval=no
8248 fi
8249 fi
8250
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8253 # Check whether --enable-stdpaths was given.
8254 if test "${enable_stdpaths+set}" = set; then
8255 enableval=$enable_stdpaths;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8258 else
8259 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8260 fi
8261 cache=yes
8262
8263 else
8264
8265 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 cache=yes
8269 else
8270 cache=no
8271 fi
8272
8273 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8274
8275 fi
8276
8277
8278 eval "$wx_cv_use_stdpaths"
8279 if test "x$cache" = xyes; then
8280 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8281 fi
8282
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_STDPATHS = yes; then
8285 result=no
8286 else
8287 result=yes
8288 fi
8289 else
8290 result=$wxUSE_STDPATHS
8291 fi
8292
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8295
8296
8297 enablestring=
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8301 defaultval=yes
8302 else
8303 defaultval=no
8304 fi
8305 fi
8306
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8309 # Check whether --enable-stopwatch was given.
8310 if test "${enable_stopwatch+set}" = set; then
8311 enableval=$enable_stopwatch;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8314 else
8315 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8316 fi
8317 cache=yes
8318
8319 else
8320
8321 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8324 cache=yes
8325 else
8326 cache=no
8327 fi
8328
8329 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8330
8331 fi
8332
8333
8334 eval "$wx_cv_use_stopwatch"
8335 if test "x$cache" = xyes; then
8336 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8337 fi
8338
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_STOPWATCH = yes; then
8341 result=no
8342 else
8343 result=yes
8344 fi
8345 else
8346 result=$wxUSE_STOPWATCH
8347 fi
8348
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8351
8352
8353 enablestring=
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8357 defaultval=yes
8358 else
8359 defaultval=no
8360 fi
8361 fi
8362
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8365 # Check whether --enable-streams was given.
8366 if test "${enable_streams+set}" = set; then
8367 enableval=$enable_streams;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_streams='wxUSE_STREAMS=yes'
8370 else
8371 wx_cv_use_streams='wxUSE_STREAMS=no'
8372 fi
8373 cache=yes
8374
8375 else
8376
8377 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8380 cache=yes
8381 else
8382 cache=no
8383 fi
8384
8385 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8386
8387 fi
8388
8389
8390 eval "$wx_cv_use_streams"
8391 if test "x$cache" = xyes; then
8392 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8393 fi
8394
8395 if test x"$enablestring" = xdisable; then
8396 if test $wxUSE_STREAMS = yes; then
8397 result=no
8398 else
8399 result=yes
8400 fi
8401 else
8402 result=$wxUSE_STREAMS
8403 fi
8404
8405 { echo "$as_me:$LINENO: result: $result" >&5
8406 echo "${ECHO_T}$result" >&6; }
8407
8408
8409 enablestring=
8410 defaultval=$wxUSE_ALL_FEATURES
8411 if test -z "$defaultval"; then
8412 if test x"$enablestring" = xdisable; then
8413 defaultval=yes
8414 else
8415 defaultval=no
8416 fi
8417 fi
8418
8419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8421 # Check whether --enable-system_options was given.
8422 if test "${enable_system_options+set}" = set; then
8423 enableval=$enable_system_options;
8424 if test "$enableval" = yes; then
8425 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8426 else
8427 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8428 fi
8429 cache=yes
8430
8431 else
8432
8433 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8436 cache=yes
8437 else
8438 cache=no
8439 fi
8440
8441 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8442
8443 fi
8444
8445
8446 eval "$wx_cv_use_system_options"
8447 if test "x$cache" = xyes; then
8448 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8449 fi
8450
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8453 result=no
8454 else
8455 result=yes
8456 fi
8457 else
8458 result=$wxUSE_SYSTEM_OPTIONS
8459 fi
8460
8461 { echo "$as_me:$LINENO: result: $result" >&5
8462 echo "${ECHO_T}$result" >&6; }
8463
8464
8465 enablestring=
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8469 defaultval=yes
8470 else
8471 defaultval=no
8472 fi
8473 fi
8474
8475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8477 # Check whether --enable-tarstream was given.
8478 if test "${enable_tarstream+set}" = set; then
8479 enableval=$enable_tarstream;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8482 else
8483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8484 fi
8485 cache=yes
8486
8487 else
8488
8489 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8492 cache=yes
8493 else
8494 cache=no
8495 fi
8496
8497 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8498
8499 fi
8500
8501
8502 eval "$wx_cv_use_tarstream"
8503 if test "x$cache" = xyes; then
8504 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8505 fi
8506
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_TARSTREAM = yes; then
8509 result=no
8510 else
8511 result=yes
8512 fi
8513 else
8514 result=$wxUSE_TARSTREAM
8515 fi
8516
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8519
8520
8521 enablestring=
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8525 defaultval=yes
8526 else
8527 defaultval=no
8528 fi
8529 fi
8530
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8533 # Check whether --enable-textbuf was given.
8534 if test "${enable_textbuf+set}" = set; then
8535 enableval=$enable_textbuf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8538 else
8539 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8540 fi
8541 cache=yes
8542
8543 else
8544
8545 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 cache=yes
8549 else
8550 cache=no
8551 fi
8552
8553 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8554
8555 fi
8556
8557
8558 eval "$wx_cv_use_textbuf"
8559 if test "x$cache" = xyes; then
8560 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8561 fi
8562
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_TEXTBUFFER = yes; then
8565 result=no
8566 else
8567 result=yes
8568 fi
8569 else
8570 result=$wxUSE_TEXTBUFFER
8571 fi
8572
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8575
8576
8577 enablestring=
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8581 defaultval=yes
8582 else
8583 defaultval=no
8584 fi
8585 fi
8586
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8589 # Check whether --enable-textfile was given.
8590 if test "${enable_textfile+set}" = set; then
8591 enableval=$enable_textfile;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8594 else
8595 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8596 fi
8597 cache=yes
8598
8599 else
8600
8601 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8604 cache=yes
8605 else
8606 cache=no
8607 fi
8608
8609 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_textfile"
8615 if test "x$cache" = xyes; then
8616 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8617 fi
8618
8619 if test x"$enablestring" = xdisable; then
8620 if test $wxUSE_TEXTFILE = yes; then
8621 result=no
8622 else
8623 result=yes
8624 fi
8625 else
8626 result=$wxUSE_TEXTFILE
8627 fi
8628
8629 { echo "$as_me:$LINENO: result: $result" >&5
8630 echo "${ECHO_T}$result" >&6; }
8631
8632
8633 enablestring=
8634 defaultval=$wxUSE_ALL_FEATURES
8635 if test -z "$defaultval"; then
8636 if test x"$enablestring" = xdisable; then
8637 defaultval=yes
8638 else
8639 defaultval=no
8640 fi
8641 fi
8642
8643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8645 # Check whether --enable-timer was given.
8646 if test "${enable_timer+set}" = set; then
8647 enableval=$enable_timer;
8648 if test "$enableval" = yes; then
8649 wx_cv_use_timer='wxUSE_TIMER=yes'
8650 else
8651 wx_cv_use_timer='wxUSE_TIMER=no'
8652 fi
8653 cache=yes
8654
8655 else
8656
8657 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8660 cache=yes
8661 else
8662 cache=no
8663 fi
8664
8665 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8666
8667 fi
8668
8669
8670 eval "$wx_cv_use_timer"
8671 if test "x$cache" = xyes; then
8672 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8673 fi
8674
8675 if test x"$enablestring" = xdisable; then
8676 if test $wxUSE_TIMER = yes; then
8677 result=no
8678 else
8679 result=yes
8680 fi
8681 else
8682 result=$wxUSE_TIMER
8683 fi
8684
8685 { echo "$as_me:$LINENO: result: $result" >&5
8686 echo "${ECHO_T}$result" >&6; }
8687
8688
8689 enablestring=
8690 defaultval=$wxUSE_ALL_FEATURES
8691 if test -z "$defaultval"; then
8692 if test x"$enablestring" = xdisable; then
8693 defaultval=yes
8694 else
8695 defaultval=no
8696 fi
8697 fi
8698
8699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8700 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8701 # Check whether --enable-sound was given.
8702 if test "${enable_sound+set}" = set; then
8703 enableval=$enable_sound;
8704 if test "$enableval" = yes; then
8705 wx_cv_use_sound='wxUSE_SOUND=yes'
8706 else
8707 wx_cv_use_sound='wxUSE_SOUND=no'
8708 fi
8709 cache=yes
8710
8711 else
8712
8713 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 cache=yes
8717 else
8718 cache=no
8719 fi
8720
8721 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8722
8723 fi
8724
8725
8726 eval "$wx_cv_use_sound"
8727 if test "x$cache" = xyes; then
8728 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8729 fi
8730
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_SOUND = yes; then
8733 result=no
8734 else
8735 result=yes
8736 fi
8737 else
8738 result=$wxUSE_SOUND
8739 fi
8740
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8743
8744
8745 enablestring=
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8749 defaultval=yes
8750 else
8751 defaultval=no
8752 fi
8753 fi
8754
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8757 # Check whether --enable-mediactrl was given.
8758 if test "${enable_mediactrl+set}" = set; then
8759 enableval=$enable_mediactrl;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8762 else
8763 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8764 fi
8765 cache=yes
8766
8767 else
8768
8769 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8772 cache=yes
8773 else
8774 cache=no
8775 fi
8776
8777 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8778
8779 fi
8780
8781
8782 eval "$wx_cv_use_mediactrl"
8783 if test "x$cache" = xyes; then
8784 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8785 fi
8786
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MEDIACTRL = yes; then
8789 result=no
8790 else
8791 result=yes
8792 fi
8793 else
8794 result=$wxUSE_MEDIACTRL
8795 fi
8796
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8799
8800
8801 enablestring=
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8805 defaultval=yes
8806 else
8807 defaultval=no
8808 fi
8809 fi
8810
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8813 # Check whether --enable-gstreamer8 was given.
8814 if test "${enable_gstreamer8+set}" = set; then
8815 enableval=$enable_gstreamer8;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8818 else
8819 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8820 fi
8821 cache=yes
8822
8823 else
8824
8825 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 cache=yes
8829 else
8830 cache=no
8831 fi
8832
8833 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8834
8835 fi
8836
8837
8838 eval "$wx_cv_use_gstreamer8"
8839 if test "x$cache" = xyes; then
8840 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_GSTREAMER8 = yes; then
8845 result=no
8846 else
8847 result=yes
8848 fi
8849 else
8850 result=$wxUSE_GSTREAMER8
8851 fi
8852
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8855
8856
8857 enablestring=
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8861 defaultval=yes
8862 else
8863 defaultval=no
8864 fi
8865 fi
8866
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8869 # Check whether --enable-printfposparam was given.
8870 if test "${enable_printfposparam+set}" = set; then
8871 enableval=$enable_printfposparam;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8874 else
8875 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8876 fi
8877 cache=yes
8878
8879 else
8880
8881 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8884 cache=yes
8885 else
8886 cache=no
8887 fi
8888
8889 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8890
8891 fi
8892
8893
8894 eval "$wx_cv_use_printfposparam"
8895 if test "x$cache" = xyes; then
8896 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8897 fi
8898
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8901 result=no
8902 else
8903 result=yes
8904 fi
8905 else
8906 result=$wxUSE_PRINTF_POS_PARAMS
8907 fi
8908
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8911
8912
8913 enablestring=
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8917 defaultval=yes
8918 else
8919 defaultval=no
8920 fi
8921 fi
8922
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8925 # Check whether --enable-zipstream was given.
8926 if test "${enable_zipstream+set}" = set; then
8927 enableval=$enable_zipstream;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8930 else
8931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8932 fi
8933 cache=yes
8934
8935 else
8936
8937 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8940 cache=yes
8941 else
8942 cache=no
8943 fi
8944
8945 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8946
8947 fi
8948
8949
8950 eval "$wx_cv_use_zipstream"
8951 if test "x$cache" = xyes; then
8952 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_ZIPSTREAM = yes; then
8957 result=no
8958 else
8959 result=yes
8960 fi
8961 else
8962 result=$wxUSE_ZIPSTREAM
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969
8970 enablestring=
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8974 defaultval=yes
8975 else
8976 defaultval=no
8977 fi
8978 fi
8979
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8982 # Check whether --enable-url was given.
8983 if test "${enable_url+set}" = set; then
8984 enableval=$enable_url;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_url='wxUSE_URL=yes'
8987 else
8988 wx_cv_use_url='wxUSE_URL=no'
8989 fi
8990 cache=yes
8991
8992 else
8993
8994 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 cache=yes
8998 else
8999 cache=no
9000 fi
9001
9002 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9003
9004 fi
9005
9006
9007 eval "$wx_cv_use_url"
9008 if test "x$cache" = xyes; then
9009 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_URL = yes; then
9014 result=no
9015 else
9016 result=yes
9017 fi
9018 else
9019 result=$wxUSE_URL
9020 fi
9021
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9038 # Check whether --enable-variant was given.
9039 if test "${enable_variant+set}" = set; then
9040 enableval=$enable_variant;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_variant='wxUSE_VARIANT=yes'
9043 else
9044 wx_cv_use_variant='wxUSE_VARIANT=no'
9045 fi
9046 cache=yes
9047
9048 else
9049
9050 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9053 cache=yes
9054 else
9055 cache=no
9056 fi
9057
9058 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9059
9060 fi
9061
9062
9063 eval "$wx_cv_use_variant"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9066 fi
9067
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_VARIANT = yes; then
9070 result=no
9071 else
9072 result=yes
9073 fi
9074 else
9075 result=$wxUSE_VARIANT
9076 fi
9077
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9080
9081
9082 enablestring=
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9086 defaultval=yes
9087 else
9088 defaultval=no
9089 fi
9090 fi
9091
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9094 # Check whether --enable-protocol was given.
9095 if test "${enable_protocol+set}" = set; then
9096 enableval=$enable_protocol;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9099 else
9100 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9101 fi
9102 cache=yes
9103
9104 else
9105
9106 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9109 cache=yes
9110 else
9111 cache=no
9112 fi
9113
9114 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9115
9116 fi
9117
9118
9119 eval "$wx_cv_use_protocol"
9120 if test "x$cache" = xyes; then
9121 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9122 fi
9123
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_PROTOCOL = yes; then
9126 result=no
9127 else
9128 result=yes
9129 fi
9130 else
9131 result=$wxUSE_PROTOCOL
9132 fi
9133
9134 { echo "$as_me:$LINENO: result: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9136
9137
9138 enablestring=
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9142 defaultval=yes
9143 else
9144 defaultval=no
9145 fi
9146 fi
9147
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9150 # Check whether --enable-protocol_http was given.
9151 if test "${enable_protocol_http+set}" = set; then
9152 enableval=$enable_protocol_http;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9155 else
9156 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9157 fi
9158 cache=yes
9159
9160 else
9161
9162 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 cache=yes
9166 else
9167 cache=no
9168 fi
9169
9170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9171
9172 fi
9173
9174
9175 eval "$wx_cv_use_protocol_http"
9176 if test "x$cache" = xyes; then
9177 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9178 fi
9179
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_PROTOCOL_HTTP = yes; then
9182 result=no
9183 else
9184 result=yes
9185 fi
9186 else
9187 result=$wxUSE_PROTOCOL_HTTP
9188 fi
9189
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9192
9193
9194 enablestring=
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9198 defaultval=yes
9199 else
9200 defaultval=no
9201 fi
9202 fi
9203
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9206 # Check whether --enable-protocol_ftp was given.
9207 if test "${enable_protocol_ftp+set}" = set; then
9208 enableval=$enable_protocol_ftp;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9211 else
9212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9213 fi
9214 cache=yes
9215
9216 else
9217
9218 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9221 cache=yes
9222 else
9223 cache=no
9224 fi
9225
9226 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9227
9228 fi
9229
9230
9231 eval "$wx_cv_use_protocol_ftp"
9232 if test "x$cache" = xyes; then
9233 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9234 fi
9235
9236 if test x"$enablestring" = xdisable; then
9237 if test $wxUSE_PROTOCOL_FTP = yes; then
9238 result=no
9239 else
9240 result=yes
9241 fi
9242 else
9243 result=$wxUSE_PROTOCOL_FTP
9244 fi
9245
9246 { echo "$as_me:$LINENO: result: $result" >&5
9247 echo "${ECHO_T}$result" >&6; }
9248
9249
9250 enablestring=
9251 defaultval=$wxUSE_ALL_FEATURES
9252 if test -z "$defaultval"; then
9253 if test x"$enablestring" = xdisable; then
9254 defaultval=yes
9255 else
9256 defaultval=no
9257 fi
9258 fi
9259
9260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9262 # Check whether --enable-protocol_file was given.
9263 if test "${enable_protocol_file+set}" = set; then
9264 enableval=$enable_protocol_file;
9265 if test "$enableval" = yes; then
9266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9267 else
9268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9269 fi
9270 cache=yes
9271
9272 else
9273
9274 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9277 cache=yes
9278 else
9279 cache=no
9280 fi
9281
9282 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9283
9284 fi
9285
9286
9287 eval "$wx_cv_use_protocol_file"
9288 if test "x$cache" = xyes; then
9289 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9290 fi
9291
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_PROTOCOL_FILE = yes; then
9294 result=no
9295 else
9296 result=yes
9297 fi
9298 else
9299 result=$wxUSE_PROTOCOL_FILE
9300 fi
9301
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9304
9305
9306
9307 enablestring=
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9311 defaultval=yes
9312 else
9313 defaultval=no
9314 fi
9315 fi
9316
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9319 # Check whether --enable-threads was given.
9320 if test "${enable_threads+set}" = set; then
9321 enableval=$enable_threads;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_threads='wxUSE_THREADS=yes'
9324 else
9325 wx_cv_use_threads='wxUSE_THREADS=no'
9326 fi
9327 cache=yes
9328
9329 else
9330
9331 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9334 cache=yes
9335 else
9336 cache=no
9337 fi
9338
9339 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9340
9341 fi
9342
9343
9344 eval "$wx_cv_use_threads"
9345 if test "x$cache" = xyes; then
9346 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9347 fi
9348
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_THREADS = yes; then
9351 result=no
9352 else
9353 result=yes
9354 fi
9355 else
9356 result=$wxUSE_THREADS
9357 fi
9358
9359 { echo "$as_me:$LINENO: result: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9361
9362
9363
9364 enablestring=
9365 defaultval=
9366 if test -z "$defaultval"; then
9367 if test x"$enablestring" = xdisable; then
9368 defaultval=yes
9369 else
9370 defaultval=no
9371 fi
9372 fi
9373
9374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9376 # Check whether --enable-iniconf was given.
9377 if test "${enable_iniconf+set}" = set; then
9378 enableval=$enable_iniconf;
9379 if test "$enableval" = yes; then
9380 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9381 else
9382 wx_cv_use_iniconf='wxUSE_INICONF=no'
9383 fi
9384 cache=yes
9385
9386 else
9387
9388 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9391 cache=yes
9392 else
9393 cache=no
9394 fi
9395
9396 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9397
9398 fi
9399
9400
9401 eval "$wx_cv_use_iniconf"
9402 if test "x$cache" = xyes; then
9403 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9404 fi
9405
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_INICONF = yes; then
9408 result=no
9409 else
9410 result=yes
9411 fi
9412 else
9413 result=$wxUSE_INICONF
9414 fi
9415
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9418
9419
9420 enablestring=
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9424 defaultval=yes
9425 else
9426 defaultval=no
9427 fi
9428 fi
9429
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9432 # Check whether --enable-regkey was given.
9433 if test "${enable_regkey+set}" = set; then
9434 enableval=$enable_regkey;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9437 else
9438 wx_cv_use_regkey='wxUSE_REGKEY=no'
9439 fi
9440 cache=yes
9441
9442 else
9443
9444 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 cache=yes
9448 else
9449 cache=no
9450 fi
9451
9452 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9453
9454 fi
9455
9456
9457 eval "$wx_cv_use_regkey"
9458 if test "x$cache" = xyes; then
9459 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9460 fi
9461
9462 if test x"$enablestring" = xdisable; then
9463 if test $wxUSE_REGKEY = yes; then
9464 result=no
9465 else
9466 result=yes
9467 fi
9468 else
9469 result=$wxUSE_REGKEY
9470 fi
9471
9472 { echo "$as_me:$LINENO: result: $result" >&5
9473 echo "${ECHO_T}$result" >&6; }
9474
9475
9476 if test "$wxUSE_GUI" = "yes"; then
9477
9478
9479
9480 enablestring=
9481 defaultval=$wxUSE_ALL_FEATURES
9482 if test -z "$defaultval"; then
9483 if test x"$enablestring" = xdisable; then
9484 defaultval=yes
9485 else
9486 defaultval=no
9487 fi
9488 fi
9489
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9492 # Check whether --enable-docview was given.
9493 if test "${enable_docview+set}" = set; then
9494 enableval=$enable_docview;
9495 if test "$enableval" = yes; then
9496 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9497 else
9498 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9499 fi
9500 cache=yes
9501
9502 else
9503
9504 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 cache=yes
9508 else
9509 cache=no
9510 fi
9511
9512 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9513
9514 fi
9515
9516
9517 eval "$wx_cv_use_docview"
9518 if test "x$cache" = xyes; then
9519 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9520 fi
9521
9522 if test x"$enablestring" = xdisable; then
9523 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9524 result=no
9525 else
9526 result=yes
9527 fi
9528 else
9529 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9530 fi
9531
9532 { echo "$as_me:$LINENO: result: $result" >&5
9533 echo "${ECHO_T}$result" >&6; }
9534
9535
9536 enablestring=
9537 defaultval=$wxUSE_ALL_FEATURES
9538 if test -z "$defaultval"; then
9539 if test x"$enablestring" = xdisable; then
9540 defaultval=yes
9541 else
9542 defaultval=no
9543 fi
9544 fi
9545
9546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9547 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9548 # Check whether --enable-help was given.
9549 if test "${enable_help+set}" = set; then
9550 enableval=$enable_help;
9551 if test "$enableval" = yes; then
9552 wx_cv_use_help='wxUSE_HELP=yes'
9553 else
9554 wx_cv_use_help='wxUSE_HELP=no'
9555 fi
9556 cache=yes
9557
9558 else
9559
9560 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9561 if test "x$LINE" != x ; then
9562 eval "DEFAULT_$LINE"
9563 cache=yes
9564 else
9565 cache=no
9566 fi
9567
9568 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9569
9570 fi
9571
9572
9573 eval "$wx_cv_use_help"
9574 if test "x$cache" = xyes; then
9575 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_HELP = yes; then
9580 result=no
9581 else
9582 result=yes
9583 fi
9584 else
9585 result=$wxUSE_HELP
9586 fi
9587
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9590
9591
9592 enablestring=
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9596 defaultval=yes
9597 else
9598 defaultval=no
9599 fi
9600 fi
9601
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9604 # Check whether --enable-mshtmlhelp was given.
9605 if test "${enable_mshtmlhelp+set}" = set; then
9606 enableval=$enable_mshtmlhelp;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9609 else
9610 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9611 fi
9612 cache=yes
9613
9614 else
9615
9616 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 cache=yes
9620 else
9621 cache=no
9622 fi
9623
9624 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9625
9626 fi
9627
9628
9629 eval "$wx_cv_use_mshtmlhelp"
9630 if test "x$cache" = xyes; then
9631 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9632 fi
9633
9634 if test x"$enablestring" = xdisable; then
9635 if test $wxUSE_MS_HTML_HELP = yes; then
9636 result=no
9637 else
9638 result=yes
9639 fi
9640 else
9641 result=$wxUSE_MS_HTML_HELP
9642 fi
9643
9644 { echo "$as_me:$LINENO: result: $result" >&5
9645 echo "${ECHO_T}$result" >&6; }
9646
9647
9648 enablestring=
9649 defaultval=$wxUSE_ALL_FEATURES
9650 if test -z "$defaultval"; then
9651 if test x"$enablestring" = xdisable; then
9652 defaultval=yes
9653 else
9654 defaultval=no
9655 fi
9656 fi
9657
9658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9659 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9660 # Check whether --enable-html was given.
9661 if test "${enable_html+set}" = set; then
9662 enableval=$enable_html;
9663 if test "$enableval" = yes; then
9664 wx_cv_use_html='wxUSE_HTML=yes'
9665 else
9666 wx_cv_use_html='wxUSE_HTML=no'
9667 fi
9668 cache=yes
9669
9670 else
9671
9672 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9673 if test "x$LINE" != x ; then
9674 eval "DEFAULT_$LINE"
9675 cache=yes
9676 else
9677 cache=no
9678 fi
9679
9680 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9681
9682 fi
9683
9684
9685 eval "$wx_cv_use_html"
9686 if test "x$cache" = xyes; then
9687 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_HTML = yes; then
9692 result=no
9693 else
9694 result=yes
9695 fi
9696 else
9697 result=$wxUSE_HTML
9698 fi
9699
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9702
9703
9704 enablestring=
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9708 defaultval=yes
9709 else
9710 defaultval=no
9711 fi
9712 fi
9713
9714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9716 # Check whether --enable-htmlhelp was given.
9717 if test "${enable_htmlhelp+set}" = set; then
9718 enableval=$enable_htmlhelp;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9721 else
9722 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9723 fi
9724 cache=yes
9725
9726 else
9727
9728 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x ; then
9730 eval "DEFAULT_$LINE"
9731 cache=yes
9732 else
9733 cache=no
9734 fi
9735
9736 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9737
9738 fi
9739
9740
9741 eval "$wx_cv_use_htmlhelp"
9742 if test "x$cache" = xyes; then
9743 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9744 fi
9745
9746 if test x"$enablestring" = xdisable; then
9747 if test $wxUSE_WXHTML_HELP = yes; then
9748 result=no
9749 else
9750 result=yes
9751 fi
9752 else
9753 result=$wxUSE_WXHTML_HELP
9754 fi
9755
9756 { echo "$as_me:$LINENO: result: $result" >&5
9757 echo "${ECHO_T}$result" >&6; }
9758
9759
9760 enablestring=
9761 defaultval=$wxUSE_ALL_FEATURES
9762 if test -z "$defaultval"; then
9763 if test x"$enablestring" = xdisable; then
9764 defaultval=yes
9765 else
9766 defaultval=no
9767 fi
9768 fi
9769
9770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9772 # Check whether --enable-xrc was given.
9773 if test "${enable_xrc+set}" = set; then
9774 enableval=$enable_xrc;
9775 if test "$enableval" = yes; then
9776 wx_cv_use_xrc='wxUSE_XRC=yes'
9777 else
9778 wx_cv_use_xrc='wxUSE_XRC=no'
9779 fi
9780 cache=yes
9781
9782 else
9783
9784 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9785 if test "x$LINE" != x ; then
9786 eval "DEFAULT_$LINE"
9787 cache=yes
9788 else
9789 cache=no
9790 fi
9791
9792 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9793
9794 fi
9795
9796
9797 eval "$wx_cv_use_xrc"
9798 if test "x$cache" = xyes; then
9799 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9800 fi
9801
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_XRC = yes; then
9804 result=no
9805 else
9806 result=yes
9807 fi
9808 else
9809 result=$wxUSE_XRC
9810 fi
9811
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9814
9815
9816 enablestring=
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9820 defaultval=yes
9821 else
9822 defaultval=no
9823 fi
9824 fi
9825
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9828 # Check whether --enable-aui was given.
9829 if test "${enable_aui+set}" = set; then
9830 enableval=$enable_aui;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_aui='wxUSE_AUI=yes'
9833 else
9834 wx_cv_use_aui='wxUSE_AUI=no'
9835 fi
9836 cache=yes
9837
9838 else
9839
9840 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 cache=yes
9844 else
9845 cache=no
9846 fi
9847
9848 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9849
9850 fi
9851
9852
9853 eval "$wx_cv_use_aui"
9854 if test "x$cache" = xyes; then
9855 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9856 fi
9857
9858 if test x"$enablestring" = xdisable; then
9859 if test $wxUSE_AUI = yes; then
9860 result=no
9861 else
9862 result=yes
9863 fi
9864 else
9865 result=$wxUSE_AUI
9866 fi
9867
9868 { echo "$as_me:$LINENO: result: $result" >&5
9869 echo "${ECHO_T}$result" >&6; }
9870
9871
9872 enablestring=
9873 defaultval=$wxUSE_ALL_FEATURES
9874 if test -z "$defaultval"; then
9875 if test x"$enablestring" = xdisable; then
9876 defaultval=yes
9877 else
9878 defaultval=no
9879 fi
9880 fi
9881
9882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9884 # Check whether --enable-stc was given.
9885 if test "${enable_stc+set}" = set; then
9886 enableval=$enable_stc;
9887 if test "$enableval" = yes; then
9888 wx_cv_use_stc='wxUSE_STC=yes'
9889 else
9890 wx_cv_use_stc='wxUSE_STC=no'
9891 fi
9892 cache=yes
9893
9894 else
9895
9896 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9897 if test "x$LINE" != x ; then
9898 eval "DEFAULT_$LINE"
9899 cache=yes
9900 else
9901 cache=no
9902 fi
9903
9904 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_stc"
9910 if test "x$cache" = xyes; then
9911 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9912 fi
9913
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_STC = yes; then
9916 result=no
9917 else
9918 result=yes
9919 fi
9920 else
9921 result=$wxUSE_STC
9922 fi
9923
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9926
9927
9928 enablestring=
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9932 defaultval=yes
9933 else
9934 defaultval=no
9935 fi
9936 fi
9937
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9940 # Check whether --enable-constraints was given.
9941 if test "${enable_constraints+set}" = set; then
9942 enableval=$enable_constraints;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9945 else
9946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9947 fi
9948 cache=yes
9949
9950 else
9951
9952 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9955 cache=yes
9956 else
9957 cache=no
9958 fi
9959
9960 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9961
9962 fi
9963
9964
9965 eval "$wx_cv_use_constraints"
9966 if test "x$cache" = xyes; then
9967 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9968 fi
9969
9970 if test x"$enablestring" = xdisable; then
9971 if test $wxUSE_CONSTRAINTS = yes; then
9972 result=no
9973 else
9974 result=yes
9975 fi
9976 else
9977 result=$wxUSE_CONSTRAINTS
9978 fi
9979
9980 { echo "$as_me:$LINENO: result: $result" >&5
9981 echo "${ECHO_T}$result" >&6; }
9982
9983
9984 enablestring=
9985 defaultval=$wxUSE_ALL_FEATURES
9986 if test -z "$defaultval"; then
9987 if test x"$enablestring" = xdisable; then
9988 defaultval=yes
9989 else
9990 defaultval=no
9991 fi
9992 fi
9993
9994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9995 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9996 # Check whether --enable-printarch was given.
9997 if test "${enable_printarch+set}" = set; then
9998 enableval=$enable_printarch;
9999 if test "$enableval" = yes; then
10000 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10001 else
10002 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10003 fi
10004 cache=yes
10005
10006 else
10007
10008 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10009 if test "x$LINE" != x ; then
10010 eval "DEFAULT_$LINE"
10011 cache=yes
10012 else
10013 cache=no
10014 fi
10015
10016 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10017
10018 fi
10019
10020
10021 eval "$wx_cv_use_printarch"
10022 if test "x$cache" = xyes; then
10023 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10024 fi
10025
10026 if test x"$enablestring" = xdisable; then
10027 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10028 result=no
10029 else
10030 result=yes
10031 fi
10032 else
10033 result=$wxUSE_PRINTING_ARCHITECTURE
10034 fi
10035
10036 { echo "$as_me:$LINENO: result: $result" >&5
10037 echo "${ECHO_T}$result" >&6; }
10038
10039
10040 enablestring=
10041 defaultval=$wxUSE_ALL_FEATURES
10042 if test -z "$defaultval"; then
10043 if test x"$enablestring" = xdisable; then
10044 defaultval=yes
10045 else
10046 defaultval=no
10047 fi
10048 fi
10049
10050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10052 # Check whether --enable-mdi was given.
10053 if test "${enable_mdi+set}" = set; then
10054 enableval=$enable_mdi;
10055 if test "$enableval" = yes; then
10056 wx_cv_use_mdi='wxUSE_MDI=yes'
10057 else
10058 wx_cv_use_mdi='wxUSE_MDI=no'
10059 fi
10060 cache=yes
10061
10062 else
10063
10064 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10065 if test "x$LINE" != x ; then
10066 eval "DEFAULT_$LINE"
10067 cache=yes
10068 else
10069 cache=no
10070 fi
10071
10072 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10073
10074 fi
10075
10076
10077 eval "$wx_cv_use_mdi"
10078 if test "x$cache" = xyes; then
10079 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10080 fi
10081
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_MDI = yes; then
10084 result=no
10085 else
10086 result=yes
10087 fi
10088 else
10089 result=$wxUSE_MDI
10090 fi
10091
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10094
10095
10096 enablestring=
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10100 defaultval=yes
10101 else
10102 defaultval=no
10103 fi
10104 fi
10105
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10108 # Check whether --enable-mdidoc was given.
10109 if test "${enable_mdidoc+set}" = set; then
10110 enableval=$enable_mdidoc;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10113 else
10114 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10115 fi
10116 cache=yes
10117
10118 else
10119
10120 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10121 if test "x$LINE" != x ; then
10122 eval "DEFAULT_$LINE"
10123 cache=yes
10124 else
10125 cache=no
10126 fi
10127
10128 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10129
10130 fi
10131
10132
10133 eval "$wx_cv_use_mdidoc"
10134 if test "x$cache" = xyes; then
10135 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10136 fi
10137
10138 if test x"$enablestring" = xdisable; then
10139 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10140 result=no
10141 else
10142 result=yes
10143 fi
10144 else
10145 result=$wxUSE_MDI_ARCHITECTURE
10146 fi
10147
10148 { echo "$as_me:$LINENO: result: $result" >&5
10149 echo "${ECHO_T}$result" >&6; }
10150
10151
10152 enablestring=
10153 defaultval=$wxUSE_ALL_FEATURES
10154 if test -z "$defaultval"; then
10155 if test x"$enablestring" = xdisable; then
10156 defaultval=yes
10157 else
10158 defaultval=no
10159 fi
10160 fi
10161
10162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10164 # Check whether --enable-loggui was given.
10165 if test "${enable_loggui+set}" = set; then
10166 enableval=$enable_loggui;
10167 if test "$enableval" = yes; then
10168 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10169 else
10170 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10171 fi
10172 cache=yes
10173
10174 else
10175
10176 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10177 if test "x$LINE" != x ; then
10178 eval "DEFAULT_$LINE"
10179 cache=yes
10180 else
10181 cache=no
10182 fi
10183
10184 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10185
10186 fi
10187
10188
10189 eval "$wx_cv_use_loggui"
10190 if test "x$cache" = xyes; then
10191 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10192 fi
10193
10194 if test x"$enablestring" = xdisable; then
10195 if test $wxUSE_LOGGUI = yes; then
10196 result=no
10197 else
10198 result=yes
10199 fi
10200 else
10201 result=$wxUSE_LOGGUI
10202 fi
10203
10204 { echo "$as_me:$LINENO: result: $result" >&5
10205 echo "${ECHO_T}$result" >&6; }
10206
10207
10208 enablestring=
10209 defaultval=$wxUSE_ALL_FEATURES
10210 if test -z "$defaultval"; then
10211 if test x"$enablestring" = xdisable; then
10212 defaultval=yes
10213 else
10214 defaultval=no
10215 fi
10216 fi
10217
10218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10220 # Check whether --enable-logwin was given.
10221 if test "${enable_logwin+set}" = set; then
10222 enableval=$enable_logwin;
10223 if test "$enableval" = yes; then
10224 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10225 else
10226 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10227 fi
10228 cache=yes
10229
10230 else
10231
10232 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10235 cache=yes
10236 else
10237 cache=no
10238 fi
10239
10240 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10241
10242 fi
10243
10244
10245 eval "$wx_cv_use_logwin"
10246 if test "x$cache" = xyes; then
10247 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10248 fi
10249
10250 if test x"$enablestring" = xdisable; then
10251 if test $wxUSE_LOGWINDOW = yes; then
10252 result=no
10253 else
10254 result=yes
10255 fi
10256 else
10257 result=$wxUSE_LOGWINDOW
10258 fi
10259
10260 { echo "$as_me:$LINENO: result: $result" >&5
10261 echo "${ECHO_T}$result" >&6; }
10262
10263
10264 enablestring=
10265 defaultval=$wxUSE_ALL_FEATURES
10266 if test -z "$defaultval"; then
10267 if test x"$enablestring" = xdisable; then
10268 defaultval=yes
10269 else
10270 defaultval=no
10271 fi
10272 fi
10273
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10276 # Check whether --enable-logdialog was given.
10277 if test "${enable_logdialog+set}" = set; then
10278 enableval=$enable_logdialog;
10279 if test "$enableval" = yes; then
10280 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10281 else
10282 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10283 fi
10284 cache=yes
10285
10286 else
10287
10288 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10291 cache=yes
10292 else
10293 cache=no
10294 fi
10295
10296 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10297
10298 fi
10299
10300
10301 eval "$wx_cv_use_logdialog"
10302 if test "x$cache" = xyes; then
10303 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10304 fi
10305
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_LOGDIALOG = yes; then
10308 result=no
10309 else
10310 result=yes
10311 fi
10312 else
10313 result=$wxUSE_LOGDIALOG
10314 fi
10315
10316 { echo "$as_me:$LINENO: result: $result" >&5
10317 echo "${ECHO_T}$result" >&6; }
10318
10319
10320 enablestring=
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10324 defaultval=yes
10325 else
10326 defaultval=no
10327 fi
10328 fi
10329
10330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10332 # Check whether --enable-webkit was given.
10333 if test "${enable_webkit+set}" = set; then
10334 enableval=$enable_webkit;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10337 else
10338 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10339 fi
10340 cache=yes
10341
10342 else
10343
10344 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10345 if test "x$LINE" != x ; then
10346 eval "DEFAULT_$LINE"
10347 cache=yes
10348 else
10349 cache=no
10350 fi
10351
10352 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10353
10354 fi
10355
10356
10357 eval "$wx_cv_use_webkit"
10358 if test "x$cache" = xyes; then
10359 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test x"$enablestring" = xdisable; then
10363 if test $wxUSE_WEBKIT = yes; then
10364 result=no
10365 else
10366 result=yes
10367 fi
10368 else
10369 result=$wxUSE_WEBKIT
10370 fi
10371
10372 { echo "$as_me:$LINENO: result: $result" >&5
10373 echo "${ECHO_T}$result" >&6; }
10374
10375
10376 enablestring=
10377 defaultval=$wxUSE_ALL_FEATURES
10378 if test -z "$defaultval"; then
10379 if test x"$enablestring" = xdisable; then
10380 defaultval=yes
10381 else
10382 defaultval=no
10383 fi
10384 fi
10385
10386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10388 # Check whether --enable-richtext was given.
10389 if test "${enable_richtext+set}" = set; then
10390 enableval=$enable_richtext;
10391 if test "$enableval" = yes; then
10392 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10393 else
10394 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10395 fi
10396 cache=yes
10397
10398 else
10399
10400 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10401 if test "x$LINE" != x ; then
10402 eval "DEFAULT_$LINE"
10403 cache=yes
10404 else
10405 cache=no
10406 fi
10407
10408 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10409
10410 fi
10411
10412
10413 eval "$wx_cv_use_richtext"
10414 if test "x$cache" = xyes; then
10415 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10416 fi
10417
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_RICHTEXT = yes; then
10420 result=no
10421 else
10422 result=yes
10423 fi
10424 else
10425 result=$wxUSE_RICHTEXT
10426 fi
10427
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10430
10431
10432 enablestring=
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10436 defaultval=yes
10437 else
10438 defaultval=no
10439 fi
10440 fi
10441
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10444 # Check whether --enable-graphics_ctx was given.
10445 if test "${enable_graphics_ctx+set}" = set; then
10446 enableval=$enable_graphics_ctx;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10449 else
10450 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10451 fi
10452 cache=yes
10453
10454 else
10455
10456 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x ; then
10458 eval "DEFAULT_$LINE"
10459 cache=yes
10460 else
10461 cache=no
10462 fi
10463
10464 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10465
10466 fi
10467
10468
10469 eval "$wx_cv_use_graphics_ctx"
10470 if test "x$cache" = xyes; then
10471 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10472 fi
10473
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10476 result=no
10477 else
10478 result=yes
10479 fi
10480 else
10481 result=$wxUSE_GRAPHICS_CONTEXT
10482 fi
10483
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10486
10487
10488 enablestring=
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10492 defaultval=yes
10493 else
10494 defaultval=no
10495 fi
10496 fi
10497
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10500 # Check whether --enable-postscript was given.
10501 if test "${enable_postscript+set}" = set; then
10502 enableval=$enable_postscript;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10505 else
10506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10507 fi
10508 cache=yes
10509
10510 else
10511
10512 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x ; then
10514 eval "DEFAULT_$LINE"
10515 cache=yes
10516 else
10517 cache=no
10518 fi
10519
10520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_postscript"
10526 if test "x$cache" = xyes; then
10527 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10528 fi
10529
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_POSTSCRIPT = yes; then
10532 result=no
10533 else
10534 result=yes
10535 fi
10536 else
10537 result=$wxUSE_POSTSCRIPT
10538 fi
10539
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10542
10543
10544 enablestring=
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10548 defaultval=yes
10549 else
10550 defaultval=no
10551 fi
10552 fi
10553
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10556 # Check whether --enable-svg was given.
10557 if test "${enable_svg+set}" = set; then
10558 enableval=$enable_svg;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_svg='wxUSE_SVG=yes'
10561 else
10562 wx_cv_use_svg='wxUSE_SVG=no'
10563 fi
10564 cache=yes
10565
10566 else
10567
10568 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10569 if test "x$LINE" != x ; then
10570 eval "DEFAULT_$LINE"
10571 cache=yes
10572 else
10573 cache=no
10574 fi
10575
10576 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10577
10578 fi
10579
10580
10581 eval "$wx_cv_use_svg"
10582 if test "x$cache" = xyes; then
10583 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10584 fi
10585
10586 if test x"$enablestring" = xdisable; then
10587 if test $wxUSE_SVG = yes; then
10588 result=no
10589 else
10590 result=yes
10591 fi
10592 else
10593 result=$wxUSE_SVG
10594 fi
10595
10596 { echo "$as_me:$LINENO: result: $result" >&5
10597 echo "${ECHO_T}$result" >&6; }
10598
10599
10600
10601
10602 enablestring=
10603 defaultval=$wxUSE_ALL_FEATURES
10604 if test -z "$defaultval"; then
10605 if test x"$enablestring" = xdisable; then
10606 defaultval=yes
10607 else
10608 defaultval=no
10609 fi
10610 fi
10611
10612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10614 # Check whether --enable-clipboard was given.
10615 if test "${enable_clipboard+set}" = set; then
10616 enableval=$enable_clipboard;
10617 if test "$enableval" = yes; then
10618 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10619 else
10620 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10621 fi
10622 cache=yes
10623
10624 else
10625
10626 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10627 if test "x$LINE" != x ; then
10628 eval "DEFAULT_$LINE"
10629 cache=yes
10630 else
10631 cache=no
10632 fi
10633
10634 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10635
10636 fi
10637
10638
10639 eval "$wx_cv_use_clipboard"
10640 if test "x$cache" = xyes; then
10641 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10642 fi
10643
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_CLIPBOARD = yes; then
10646 result=no
10647 else
10648 result=yes
10649 fi
10650 else
10651 result=$wxUSE_CLIPBOARD
10652 fi
10653
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10656
10657
10658 enablestring=
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10662 defaultval=yes
10663 else
10664 defaultval=no
10665 fi
10666 fi
10667
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10670 # Check whether --enable-dnd was given.
10671 if test "${enable_dnd+set}" = set; then
10672 enableval=$enable_dnd;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10675 else
10676 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10677 fi
10678 cache=yes
10679
10680 else
10681
10682 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10683 if test "x$LINE" != x ; then
10684 eval "DEFAULT_$LINE"
10685 cache=yes
10686 else
10687 cache=no
10688 fi
10689
10690 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10691
10692 fi
10693
10694
10695 eval "$wx_cv_use_dnd"
10696 if test "x$cache" = xyes; then
10697 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10698 fi
10699
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_DRAG_AND_DROP = yes; then
10702 result=no
10703 else
10704 result=yes
10705 fi
10706 else
10707 result=$wxUSE_DRAG_AND_DROP
10708 fi
10709
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10712
10713
10714 enablestring=
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10718 defaultval=yes
10719 else
10720 defaultval=no
10721 fi
10722 fi
10723
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10726 # Check whether --enable-metafile was given.
10727 if test "${enable_metafile+set}" = set; then
10728 enableval=$enable_metafile;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10731 else
10732 wx_cv_use_metafile='wxUSE_METAFILE=no'
10733 fi
10734 cache=yes
10735
10736 else
10737
10738 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10741 cache=yes
10742 else
10743 cache=no
10744 fi
10745
10746 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10747
10748 fi
10749
10750
10751 eval "$wx_cv_use_metafile"
10752 if test "x$cache" = xyes; then
10753 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test x"$enablestring" = xdisable; then
10757 if test $wxUSE_METAFILE = yes; then
10758 result=no
10759 else
10760 result=yes
10761 fi
10762 else
10763 result=$wxUSE_METAFILE
10764 fi
10765
10766 { echo "$as_me:$LINENO: result: $result" >&5
10767 echo "${ECHO_T}$result" >&6; }
10768
10769
10770
10771 DEFAULT_wxUSE_CONTROLS=none
10772
10773 enablestring=disable
10774 defaultval=
10775 if test -z "$defaultval"; then
10776 if test x"$enablestring" = xdisable; then
10777 defaultval=yes
10778 else
10779 defaultval=no
10780 fi
10781 fi
10782
10783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10785 # Check whether --enable-controls was given.
10786 if test "${enable_controls+set}" = set; then
10787 enableval=$enable_controls;
10788 if test "$enableval" = yes; then
10789 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10790 else
10791 wx_cv_use_controls='wxUSE_CONTROLS=no'
10792 fi
10793 cache=yes
10794
10795 else
10796
10797 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10800 cache=yes
10801 else
10802 cache=no
10803 fi
10804
10805 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10806
10807 fi
10808
10809
10810 eval "$wx_cv_use_controls"
10811 if test "x$cache" = xyes; then
10812 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10813 fi
10814
10815 if test x"$enablestring" = xdisable; then
10816 if test $wxUSE_CONTROLS = yes; then
10817 result=no
10818 else
10819 result=yes
10820 fi
10821 else
10822 result=$wxUSE_CONTROLS
10823 fi
10824
10825 { echo "$as_me:$LINENO: result: $result" >&5
10826 echo "${ECHO_T}$result" >&6; }
10827
10828
10829 if test "$wxUSE_CONTROLS" = "yes"; then
10830 DEFAULT_wxUSE_ACCEL=yes
10831 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10832 DEFAULT_wxUSE_BMPBUTTON=yes
10833 DEFAULT_wxUSE_BUTTON=yes
10834 DEFAULT_wxUSE_CALCTRL=yes
10835 DEFAULT_wxUSE_CARET=yes
10836 DEFAULT_wxUSE_COMBOBOX=yes
10837 DEFAULT_wxUSE_CHECKBOX=yes
10838 DEFAULT_wxUSE_CHECKLISTBOX=yes
10839 DEFAULT_wxUSE_CHOICE=yes
10840 DEFAULT_wxUSE_CHOICEBOOK=yes
10841 DEFAULT_wxUSE_COLLPANE=yes
10842 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10843 DEFAULT_wxUSE_COMBOBOX=yes
10844 DEFAULT_wxUSE_DATEPICKCTRL=yes
10845 DEFAULT_wxUSE_DISPLAY=yes
10846 DEFAULT_wxUSE_DETECT_SM=yes
10847 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10848 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10849 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10850 DEFAULT_wxUSE_GAUGE=yes
10851 DEFAULT_wxUSE_GRID=yes
10852 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10853 DEFAULT_wxUSE_DATAVIEWCTRL=no
10854 DEFAULT_wxUSE_IMAGLIST=yes
10855 DEFAULT_wxUSE_LISTBOOK=yes
10856 DEFAULT_wxUSE_LISTBOX=yes
10857 DEFAULT_wxUSE_LISTCTRL=yes
10858 DEFAULT_wxUSE_NOTEBOOK=yes
10859 DEFAULT_wxUSE_RADIOBOX=yes
10860 DEFAULT_wxUSE_RADIOBTN=yes
10861 DEFAULT_wxUSE_SASH=yes
10862 DEFAULT_wxUSE_SCROLLBAR=yes
10863 DEFAULT_wxUSE_SEARCHCTRL=yes
10864 DEFAULT_wxUSE_SLIDER=yes
10865 DEFAULT_wxUSE_SPINBTN=yes
10866 DEFAULT_wxUSE_SPINCTRL=yes
10867 DEFAULT_wxUSE_SPLITTER=yes
10868 DEFAULT_wxUSE_STATBMP=yes
10869 DEFAULT_wxUSE_STATBOX=yes
10870 DEFAULT_wxUSE_STATLINE=yes
10871 DEFAULT_wxUSE_STATUSBAR=yes
10872 DEFAULT_wxUSE_TAB_DIALOG=yes
10873 DEFAULT_wxUSE_TOGGLEBTN=yes
10874 DEFAULT_wxUSE_TOOLBAR=yes
10875 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10876 DEFAULT_wxUSE_TOOLTIPS=yes
10877 DEFAULT_wxUSE_TREEBOOK=yes
10878 DEFAULT_wxUSE_TOOLBOOK=yes
10879 DEFAULT_wxUSE_TREECTRL=yes
10880 DEFAULT_wxUSE_POPUPWIN=yes
10881 DEFAULT_wxUSE_TIPWINDOW=yes
10882 elif test "$wxUSE_CONTROLS" = "no"; then
10883 DEFAULT_wxUSE_ACCEL=no
10884 DEFAULT_wxUSE_ANIMATIONCTRL=no
10885 DEFAULT_wxUSE_BMPBUTTON=no
10886 DEFAULT_wxUSE_BUTTON=no
10887 DEFAULT_wxUSE_CALCTRL=no
10888 DEFAULT_wxUSE_CARET=no
10889 DEFAULT_wxUSE_COLLPANE=no
10890 DEFAULT_wxUSE_COMBOBOX=no
10891 DEFAULT_wxUSE_CHECKBOX=no
10892 DEFAULT_wxUSE_CHECKLISTBOX=no
10893 DEFAULT_wxUSE_CHOICE=no
10894 DEFAULT_wxUSE_CHOICEBOOK=no
10895 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10896 DEFAULT_wxUSE_COMBOBOX=no
10897 DEFAULT_wxUSE_DATEPICKCTRL=no
10898 DEFAULT_wxUSE_DISPLAY=no
10899 DEFAULT_wxUSE_DETECT_SM=no
10900 DEFAULT_wxUSE_DIRPICKERCTRL=no
10901 DEFAULT_wxUSE_FILEPICKERCTRL=no
10902 DEFAULT_wxUSE_FONTPICKERCTRL=no
10903 DEFAULT_wxUSE_GAUGE=no
10904 DEFAULT_wxUSE_GRID=no
10905 DEFAULT_wxUSE_HYPERLINKCTRL=no
10906 DEFAULT_wxUSE_DATAVIEWCTRL=no
10907 DEFAULT_wxUSE_IMAGLIST=no
10908 DEFAULT_wxUSE_LISTBOOK=no
10909 DEFAULT_wxUSE_LISTBOX=no
10910 DEFAULT_wxUSE_LISTCTRL=no
10911 DEFAULT_wxUSE_NOTEBOOK=no
10912 DEFAULT_wxUSE_RADIOBOX=no
10913 DEFAULT_wxUSE_RADIOBTN=no
10914 DEFAULT_wxUSE_SASH=no
10915 DEFAULT_wxUSE_SCROLLBAR=no
10916 DEFAULT_wxUSE_SEARCHCTRL=no
10917 DEFAULT_wxUSE_SLIDER=no
10918 DEFAULT_wxUSE_SPINBTN=no
10919 DEFAULT_wxUSE_SPINCTRL=no
10920 DEFAULT_wxUSE_SPLITTER=no
10921 DEFAULT_wxUSE_STATBMP=no
10922 DEFAULT_wxUSE_STATBOX=no
10923 DEFAULT_wxUSE_STATLINE=no
10924 DEFAULT_wxUSE_STATUSBAR=no
10925 DEFAULT_wxUSE_TAB_DIALOG=no
10926 DEFAULT_wxUSE_TOGGLEBTN=no
10927 DEFAULT_wxUSE_TOOLBAR=no
10928 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10929 DEFAULT_wxUSE_TOOLTIPS=no
10930 DEFAULT_wxUSE_TREEBOOK=no
10931 DEFAULT_wxUSE_TOOLBOOK=no
10932 DEFAULT_wxUSE_TREECTRL=no
10933 DEFAULT_wxUSE_POPUPWIN=no
10934 DEFAULT_wxUSE_TIPWINDOW=no
10935 fi
10936
10937
10938 enablestring=
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10942 defaultval=yes
10943 else
10944 defaultval=no
10945 fi
10946 fi
10947
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10950 # Check whether --enable-accel was given.
10951 if test "${enable_accel+set}" = set; then
10952 enableval=$enable_accel;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_accel='wxUSE_ACCEL=yes'
10955 else
10956 wx_cv_use_accel='wxUSE_ACCEL=no'
10957 fi
10958 cache=yes
10959
10960 else
10961
10962 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10963 if test "x$LINE" != x ; then
10964 eval "DEFAULT_$LINE"
10965 cache=yes
10966 else
10967 cache=no
10968 fi
10969
10970 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10971
10972 fi
10973
10974
10975 eval "$wx_cv_use_accel"
10976 if test "x$cache" = xyes; then
10977 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10978 fi
10979
10980 if test x"$enablestring" = xdisable; then
10981 if test $wxUSE_ACCEL = yes; then
10982 result=no
10983 else
10984 result=yes
10985 fi
10986 else
10987 result=$wxUSE_ACCEL
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}-animatectrl" >&5
11005 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11006 # Check whether --enable-animatectrl was given.
11007 if test "${enable_animatectrl+set}" = set; then
11008 enableval=$enable_animatectrl;
11009 if test "$enableval" = yes; then
11010 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11011 else
11012 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11013 fi
11014 cache=yes
11015
11016 else
11017
11018 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11019 if test "x$LINE" != x ; then
11020 eval "DEFAULT_$LINE"
11021 cache=yes
11022 else
11023 cache=no
11024 fi
11025
11026 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11027
11028 fi
11029
11030
11031 eval "$wx_cv_use_animatectrl"
11032 if test "x$cache" = xyes; then
11033 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11034 fi
11035
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_ANIMATIONCTRL = yes; then
11038 result=no
11039 else
11040 result=yes
11041 fi
11042 else
11043 result=$wxUSE_ANIMATIONCTRL
11044 fi
11045
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11048
11049
11050 enablestring=
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11054 defaultval=yes
11055 else
11056 defaultval=no
11057 fi
11058 fi
11059
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11062 # Check whether --enable-button was given.
11063 if test "${enable_button+set}" = set; then
11064 enableval=$enable_button;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_button='wxUSE_BUTTON=yes'
11067 else
11068 wx_cv_use_button='wxUSE_BUTTON=no'
11069 fi
11070 cache=yes
11071
11072 else
11073
11074 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x ; then
11076 eval "DEFAULT_$LINE"
11077 cache=yes
11078 else
11079 cache=no
11080 fi
11081
11082 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11083
11084 fi
11085
11086
11087 eval "$wx_cv_use_button"
11088 if test "x$cache" = xyes; then
11089 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11090 fi
11091
11092 if test x"$enablestring" = xdisable; then
11093 if test $wxUSE_BUTTON = yes; then
11094 result=no
11095 else
11096 result=yes
11097 fi
11098 else
11099 result=$wxUSE_BUTTON
11100 fi
11101
11102 { echo "$as_me:$LINENO: result: $result" >&5
11103 echo "${ECHO_T}$result" >&6; }
11104
11105
11106 enablestring=
11107 defaultval=$wxUSE_ALL_FEATURES
11108 if test -z "$defaultval"; then
11109 if test x"$enablestring" = xdisable; then
11110 defaultval=yes
11111 else
11112 defaultval=no
11113 fi
11114 fi
11115
11116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11118 # Check whether --enable-bmpbutton was given.
11119 if test "${enable_bmpbutton+set}" = set; then
11120 enableval=$enable_bmpbutton;
11121 if test "$enableval" = yes; then
11122 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11123 else
11124 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11125 fi
11126 cache=yes
11127
11128 else
11129
11130 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11131 if test "x$LINE" != x ; then
11132 eval "DEFAULT_$LINE"
11133 cache=yes
11134 else
11135 cache=no
11136 fi
11137
11138 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11139
11140 fi
11141
11142
11143 eval "$wx_cv_use_bmpbutton"
11144 if test "x$cache" = xyes; then
11145 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11146 fi
11147
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_BMPBUTTON = yes; then
11150 result=no
11151 else
11152 result=yes
11153 fi
11154 else
11155 result=$wxUSE_BMPBUTTON
11156 fi
11157
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11160
11161
11162 enablestring=
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11166 defaultval=yes
11167 else
11168 defaultval=no
11169 fi
11170 fi
11171
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11174 # Check whether --enable-bmpcombobox was given.
11175 if test "${enable_bmpcombobox+set}" = set; then
11176 enableval=$enable_bmpcombobox;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11179 else
11180 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11181 fi
11182 cache=yes
11183
11184 else
11185
11186 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11187 if test "x$LINE" != x ; then
11188 eval "DEFAULT_$LINE"
11189 cache=yes
11190 else
11191 cache=no
11192 fi
11193
11194 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11195
11196 fi
11197
11198
11199 eval "$wx_cv_use_bmpcombobox"
11200 if test "x$cache" = xyes; then
11201 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11202 fi
11203
11204 if test x"$enablestring" = xdisable; then
11205 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11206 result=no
11207 else
11208 result=yes
11209 fi
11210 else
11211 result=$wxUSE_BITMAPCOMBOBOX
11212 fi
11213
11214 { echo "$as_me:$LINENO: result: $result" >&5
11215 echo "${ECHO_T}$result" >&6; }
11216
11217
11218 enablestring=
11219 defaultval=$wxUSE_ALL_FEATURES
11220 if test -z "$defaultval"; then
11221 if test x"$enablestring" = xdisable; then
11222 defaultval=yes
11223 else
11224 defaultval=no
11225 fi
11226 fi
11227
11228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11229 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11230 # Check whether --enable-calendar was given.
11231 if test "${enable_calendar+set}" = set; then
11232 enableval=$enable_calendar;
11233 if test "$enableval" = yes; then
11234 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11235 else
11236 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11237 fi
11238 cache=yes
11239
11240 else
11241
11242 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11243 if test "x$LINE" != x ; then
11244 eval "DEFAULT_$LINE"
11245 cache=yes
11246 else
11247 cache=no
11248 fi
11249
11250 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11251
11252 fi
11253
11254
11255 eval "$wx_cv_use_calendar"
11256 if test "x$cache" = xyes; then
11257 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11258 fi
11259
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_CALCTRL = yes; then
11262 result=no
11263 else
11264 result=yes
11265 fi
11266 else
11267 result=$wxUSE_CALCTRL
11268 fi
11269
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11272
11273
11274 enablestring=
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11278 defaultval=yes
11279 else
11280 defaultval=no
11281 fi
11282 fi
11283
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11286 # Check whether --enable-caret was given.
11287 if test "${enable_caret+set}" = set; then
11288 enableval=$enable_caret;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_caret='wxUSE_CARET=yes'
11291 else
11292 wx_cv_use_caret='wxUSE_CARET=no'
11293 fi
11294 cache=yes
11295
11296 else
11297
11298 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11301 cache=yes
11302 else
11303 cache=no
11304 fi
11305
11306 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11307
11308 fi
11309
11310
11311 eval "$wx_cv_use_caret"
11312 if test "x$cache" = xyes; then
11313 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11314 fi
11315
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_CARET = yes; then
11318 result=no
11319 else
11320 result=yes
11321 fi
11322 else
11323 result=$wxUSE_CARET
11324 fi
11325
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11328
11329
11330 enablestring=
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11334 defaultval=yes
11335 else
11336 defaultval=no
11337 fi
11338 fi
11339
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11342 # Check whether --enable-checkbox was given.
11343 if test "${enable_checkbox+set}" = set; then
11344 enableval=$enable_checkbox;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11347 else
11348 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11349 fi
11350 cache=yes
11351
11352 else
11353
11354 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11355 if test "x$LINE" != x ; then
11356 eval "DEFAULT_$LINE"
11357 cache=yes
11358 else
11359 cache=no
11360 fi
11361
11362 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11363
11364 fi
11365
11366
11367 eval "$wx_cv_use_checkbox"
11368 if test "x$cache" = xyes; then
11369 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11370 fi
11371
11372 if test x"$enablestring" = xdisable; then
11373 if test $wxUSE_CHECKBOX = yes; then
11374 result=no
11375 else
11376 result=yes
11377 fi
11378 else
11379 result=$wxUSE_CHECKBOX
11380 fi
11381
11382 { echo "$as_me:$LINENO: result: $result" >&5
11383 echo "${ECHO_T}$result" >&6; }
11384
11385
11386 enablestring=
11387 defaultval=$wxUSE_ALL_FEATURES
11388 if test -z "$defaultval"; then
11389 if test x"$enablestring" = xdisable; then
11390 defaultval=yes
11391 else
11392 defaultval=no
11393 fi
11394 fi
11395
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11398 # Check whether --enable-checklst was given.
11399 if test "${enable_checklst+set}" = set; then
11400 enableval=$enable_checklst;
11401 if test "$enableval" = yes; then
11402 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11403 else
11404 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11405 fi
11406 cache=yes
11407
11408 else
11409
11410 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11413 cache=yes
11414 else
11415 cache=no
11416 fi
11417
11418 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11419
11420 fi
11421
11422
11423 eval "$wx_cv_use_checklst"
11424 if test "x$cache" = xyes; then
11425 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11426 fi
11427
11428 if test x"$enablestring" = xdisable; then
11429 if test $wxUSE_CHECKLST = yes; then
11430 result=no
11431 else
11432 result=yes
11433 fi
11434 else
11435 result=$wxUSE_CHECKLST
11436 fi
11437
11438 { echo "$as_me:$LINENO: result: $result" >&5
11439 echo "${ECHO_T}$result" >&6; }
11440
11441
11442 enablestring=
11443 defaultval=$wxUSE_ALL_FEATURES
11444 if test -z "$defaultval"; then
11445 if test x"$enablestring" = xdisable; then
11446 defaultval=yes
11447 else
11448 defaultval=no
11449 fi
11450 fi
11451
11452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11454 # Check whether --enable-choice was given.
11455 if test "${enable_choice+set}" = set; then
11456 enableval=$enable_choice;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_choice='wxUSE_CHOICE=yes'
11459 else
11460 wx_cv_use_choice='wxUSE_CHOICE=no'
11461 fi
11462 cache=yes
11463
11464 else
11465
11466 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11467 if test "x$LINE" != x ; then
11468 eval "DEFAULT_$LINE"
11469 cache=yes
11470 else
11471 cache=no
11472 fi
11473
11474 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11475
11476 fi
11477
11478
11479 eval "$wx_cv_use_choice"
11480 if test "x$cache" = xyes; then
11481 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11482 fi
11483
11484 if test x"$enablestring" = xdisable; then
11485 if test $wxUSE_CHOICE = yes; then
11486 result=no
11487 else
11488 result=yes
11489 fi
11490 else
11491 result=$wxUSE_CHOICE
11492 fi
11493
11494 { echo "$as_me:$LINENO: result: $result" >&5
11495 echo "${ECHO_T}$result" >&6; }
11496
11497
11498 enablestring=
11499 defaultval=$wxUSE_ALL_FEATURES
11500 if test -z "$defaultval"; then
11501 if test x"$enablestring" = xdisable; then
11502 defaultval=yes
11503 else
11504 defaultval=no
11505 fi
11506 fi
11507
11508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11509 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11510 # Check whether --enable-choicebook was given.
11511 if test "${enable_choicebook+set}" = set; then
11512 enableval=$enable_choicebook;
11513 if test "$enableval" = yes; then
11514 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11515 else
11516 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11517 fi
11518 cache=yes
11519
11520 else
11521
11522 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11523 if test "x$LINE" != x ; then
11524 eval "DEFAULT_$LINE"
11525 cache=yes
11526 else
11527 cache=no
11528 fi
11529
11530 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11531
11532 fi
11533
11534
11535 eval "$wx_cv_use_choicebook"
11536 if test "x$cache" = xyes; then
11537 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11538 fi
11539
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_CHOICEBOOK = yes; then
11542 result=no
11543 else
11544 result=yes
11545 fi
11546 else
11547 result=$wxUSE_CHOICEBOOK
11548 fi
11549
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11552
11553
11554 enablestring=
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11558 defaultval=yes
11559 else
11560 defaultval=no
11561 fi
11562 fi
11563
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11566 # Check whether --enable-collpane was given.
11567 if test "${enable_collpane+set}" = set; then
11568 enableval=$enable_collpane;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11571 else
11572 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11573 fi
11574 cache=yes
11575
11576 else
11577
11578 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11579 if test "x$LINE" != x ; then
11580 eval "DEFAULT_$LINE"
11581 cache=yes
11582 else
11583 cache=no
11584 fi
11585
11586 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11587
11588 fi
11589
11590
11591 eval "$wx_cv_use_collpane"
11592 if test "x$cache" = xyes; then
11593 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test x"$enablestring" = xdisable; then
11597 if test $wxUSE_COLLPANE = yes; then
11598 result=no
11599 else
11600 result=yes
11601 fi
11602 else
11603 result=$wxUSE_COLLPANE
11604 fi
11605
11606 { echo "$as_me:$LINENO: result: $result" >&5
11607 echo "${ECHO_T}$result" >&6; }
11608
11609
11610 enablestring=
11611 defaultval=$wxUSE_ALL_FEATURES
11612 if test -z "$defaultval"; then
11613 if test x"$enablestring" = xdisable; then
11614 defaultval=yes
11615 else
11616 defaultval=no
11617 fi
11618 fi
11619
11620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11621 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11622 # Check whether --enable-colourpicker was given.
11623 if test "${enable_colourpicker+set}" = set; then
11624 enableval=$enable_colourpicker;
11625 if test "$enableval" = yes; then
11626 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11627 else
11628 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11629 fi
11630 cache=yes
11631
11632 else
11633
11634 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11635 if test "x$LINE" != x ; then
11636 eval "DEFAULT_$LINE"
11637 cache=yes
11638 else
11639 cache=no
11640 fi
11641
11642 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11643
11644 fi
11645
11646
11647 eval "$wx_cv_use_colourpicker"
11648 if test "x$cache" = xyes; then
11649 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11650 fi
11651
11652 if test x"$enablestring" = xdisable; then
11653 if test $wxUSE_COLOURPICKERCTRL = yes; then
11654 result=no
11655 else
11656 result=yes
11657 fi
11658 else
11659 result=$wxUSE_COLOURPICKERCTRL
11660 fi
11661
11662 { echo "$as_me:$LINENO: result: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11664
11665
11666 enablestring=
11667 defaultval=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x"$enablestring" = xdisable; then
11670 defaultval=yes
11671 else
11672 defaultval=no
11673 fi
11674 fi
11675
11676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11677 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11678 # Check whether --enable-combobox was given.
11679 if test "${enable_combobox+set}" = set; then
11680 enableval=$enable_combobox;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11683 else
11684 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11685 fi
11686 cache=yes
11687
11688 else
11689
11690 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11691 if test "x$LINE" != x ; then
11692 eval "DEFAULT_$LINE"
11693 cache=yes
11694 else
11695 cache=no
11696 fi
11697
11698 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11699
11700 fi
11701
11702
11703 eval "$wx_cv_use_combobox"
11704 if test "x$cache" = xyes; then
11705 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11706 fi
11707
11708 if test x"$enablestring" = xdisable; then
11709 if test $wxUSE_COMBOBOX = yes; then
11710 result=no
11711 else
11712 result=yes
11713 fi
11714 else
11715 result=$wxUSE_COMBOBOX
11716 fi
11717
11718 { echo "$as_me:$LINENO: result: $result" >&5
11719 echo "${ECHO_T}$result" >&6; }
11720
11721
11722 enablestring=
11723 defaultval=$wxUSE_ALL_FEATURES
11724 if test -z "$defaultval"; then
11725 if test x"$enablestring" = xdisable; then
11726 defaultval=yes
11727 else
11728 defaultval=no
11729 fi
11730 fi
11731
11732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11734 # Check whether --enable-comboctrl was given.
11735 if test "${enable_comboctrl+set}" = set; then
11736 enableval=$enable_comboctrl;
11737 if test "$enableval" = yes; then
11738 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11739 else
11740 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11741 fi
11742 cache=yes
11743
11744 else
11745
11746 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11747 if test "x$LINE" != x ; then
11748 eval "DEFAULT_$LINE"
11749 cache=yes
11750 else
11751 cache=no
11752 fi
11753
11754 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11755
11756 fi
11757
11758
11759 eval "$wx_cv_use_comboctrl"
11760 if test "x$cache" = xyes; then
11761 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11762 fi
11763
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_COMBOCTRL = yes; then
11766 result=no
11767 else
11768 result=yes
11769 fi
11770 else
11771 result=$wxUSE_COMBOCTRL
11772 fi
11773
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11776
11777
11778 enablestring=
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11782 defaultval=yes
11783 else
11784 defaultval=no
11785 fi
11786 fi
11787
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11790 # Check whether --enable-datepick was given.
11791 if test "${enable_datepick+set}" = set; then
11792 enableval=$enable_datepick;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11795 else
11796 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11797 fi
11798 cache=yes
11799
11800 else
11801
11802 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11803 if test "x$LINE" != x ; then
11804 eval "DEFAULT_$LINE"
11805 cache=yes
11806 else
11807 cache=no
11808 fi
11809
11810 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11811
11812 fi
11813
11814
11815 eval "$wx_cv_use_datepick"
11816 if test "x$cache" = xyes; then
11817 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11818 fi
11819
11820 if test x"$enablestring" = xdisable; then
11821 if test $wxUSE_DATEPICKCTRL = yes; then
11822 result=no
11823 else
11824 result=yes
11825 fi
11826 else
11827 result=$wxUSE_DATEPICKCTRL
11828 fi
11829
11830 { echo "$as_me:$LINENO: result: $result" >&5
11831 echo "${ECHO_T}$result" >&6; }
11832
11833
11834 enablestring=
11835 defaultval=$wxUSE_ALL_FEATURES
11836 if test -z "$defaultval"; then
11837 if test x"$enablestring" = xdisable; then
11838 defaultval=yes
11839 else
11840 defaultval=no
11841 fi
11842 fi
11843
11844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11845 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11846 # Check whether --enable-dirpicker was given.
11847 if test "${enable_dirpicker+set}" = set; then
11848 enableval=$enable_dirpicker;
11849 if test "$enableval" = yes; then
11850 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11851 else
11852 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11853 fi
11854 cache=yes
11855
11856 else
11857
11858 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11859 if test "x$LINE" != x ; then
11860 eval "DEFAULT_$LINE"
11861 cache=yes
11862 else
11863 cache=no
11864 fi
11865
11866 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11867
11868 fi
11869
11870
11871 eval "$wx_cv_use_dirpicker"
11872 if test "x$cache" = xyes; then
11873 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11874 fi
11875
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_DIRPICKERCTRL = yes; then
11878 result=no
11879 else
11880 result=yes
11881 fi
11882 else
11883 result=$wxUSE_DIRPICKERCTRL
11884 fi
11885
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11888
11889
11890 enablestring=
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11894 defaultval=yes
11895 else
11896 defaultval=no
11897 fi
11898 fi
11899
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11902 # Check whether --enable-display was given.
11903 if test "${enable_display+set}" = set; then
11904 enableval=$enable_display;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_display='wxUSE_DISPLAY=yes'
11907 else
11908 wx_cv_use_display='wxUSE_DISPLAY=no'
11909 fi
11910 cache=yes
11911
11912 else
11913
11914 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11915 if test "x$LINE" != x ; then
11916 eval "DEFAULT_$LINE"
11917 cache=yes
11918 else
11919 cache=no
11920 fi
11921
11922 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11923
11924 fi
11925
11926
11927 eval "$wx_cv_use_display"
11928 if test "x$cache" = xyes; then
11929 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11930 fi
11931
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_DISPLAY = yes; then
11934 result=no
11935 else
11936 result=yes
11937 fi
11938 else
11939 result=$wxUSE_DISPLAY
11940 fi
11941
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11944
11945
11946 enablestring=
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11950 defaultval=yes
11951 else
11952 defaultval=no
11953 fi
11954 fi
11955
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11958 # Check whether --enable-detect_sm was given.
11959 if test "${enable_detect_sm+set}" = set; then
11960 enableval=$enable_detect_sm;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11963 else
11964 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11965 fi
11966 cache=yes
11967
11968 else
11969
11970 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11971 if test "x$LINE" != x ; then
11972 eval "DEFAULT_$LINE"
11973 cache=yes
11974 else
11975 cache=no
11976 fi
11977
11978 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11979
11980 fi
11981
11982
11983 eval "$wx_cv_use_detect_sm"
11984 if test "x$cache" = xyes; then
11985 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11986 fi
11987
11988 if test x"$enablestring" = xdisable; then
11989 if test $wxUSE_DETECT_SM = yes; then
11990 result=no
11991 else
11992 result=yes
11993 fi
11994 else
11995 result=$wxUSE_DETECT_SM
11996 fi
11997
11998 { echo "$as_me:$LINENO: result: $result" >&5
11999 echo "${ECHO_T}$result" >&6; }
12000
12001
12002 enablestring=
12003 defaultval=$wxUSE_ALL_FEATURES
12004 if test -z "$defaultval"; then
12005 if test x"$enablestring" = xdisable; then
12006 defaultval=yes
12007 else
12008 defaultval=no
12009 fi
12010 fi
12011
12012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12013 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12014 # Check whether --enable-editablebox was given.
12015 if test "${enable_editablebox+set}" = set; then
12016 enableval=$enable_editablebox;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12019 else
12020 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12021 fi
12022 cache=yes
12023
12024 else
12025
12026 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12027 if test "x$LINE" != x ; then
12028 eval "DEFAULT_$LINE"
12029 cache=yes
12030 else
12031 cache=no
12032 fi
12033
12034 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12035
12036 fi
12037
12038
12039 eval "$wx_cv_use_editablebox"
12040 if test "x$cache" = xyes; then
12041 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12042 fi
12043
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_EDITABLELISTBOX = yes; then
12046 result=no
12047 else
12048 result=yes
12049 fi
12050 else
12051 result=$wxUSE_EDITABLELISTBOX
12052 fi
12053
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12056
12057
12058 enablestring=
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12062 defaultval=yes
12063 else
12064 defaultval=no
12065 fi
12066 fi
12067
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12070 # Check whether --enable-filepicker was given.
12071 if test "${enable_filepicker+set}" = set; then
12072 enableval=$enable_filepicker;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12075 else
12076 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12077 fi
12078 cache=yes
12079
12080 else
12081
12082 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12085 cache=yes
12086 else
12087 cache=no
12088 fi
12089
12090 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12091
12092 fi
12093
12094
12095 eval "$wx_cv_use_filepicker"
12096 if test "x$cache" = xyes; then
12097 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12098 fi
12099
12100 if test x"$enablestring" = xdisable; then
12101 if test $wxUSE_FILEPICKERCTRL = yes; then
12102 result=no
12103 else
12104 result=yes
12105 fi
12106 else
12107 result=$wxUSE_FILEPICKERCTRL
12108 fi
12109
12110 { echo "$as_me:$LINENO: result: $result" >&5
12111 echo "${ECHO_T}$result" >&6; }
12112
12113
12114 enablestring=
12115 defaultval=$wxUSE_ALL_FEATURES
12116 if test -z "$defaultval"; then
12117 if test x"$enablestring" = xdisable; then
12118 defaultval=yes
12119 else
12120 defaultval=no
12121 fi
12122 fi
12123
12124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12125 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12126 # Check whether --enable-fontpicker was given.
12127 if test "${enable_fontpicker+set}" = set; then
12128 enableval=$enable_fontpicker;
12129 if test "$enableval" = yes; then
12130 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12131 else
12132 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12133 fi
12134 cache=yes
12135
12136 else
12137
12138 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12139 if test "x$LINE" != x ; then
12140 eval "DEFAULT_$LINE"
12141 cache=yes
12142 else
12143 cache=no
12144 fi
12145
12146 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12147
12148 fi
12149
12150
12151 eval "$wx_cv_use_fontpicker"
12152 if test "x$cache" = xyes; then
12153 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12154 fi
12155
12156 if test x"$enablestring" = xdisable; then
12157 if test $wxUSE_FONTPICKERCTRL = yes; then
12158 result=no
12159 else
12160 result=yes
12161 fi
12162 else
12163 result=$wxUSE_FONTPICKERCTRL
12164 fi
12165
12166 { echo "$as_me:$LINENO: result: $result" >&5
12167 echo "${ECHO_T}$result" >&6; }
12168
12169
12170 enablestring=
12171 defaultval=$wxUSE_ALL_FEATURES
12172 if test -z "$defaultval"; then
12173 if test x"$enablestring" = xdisable; then
12174 defaultval=yes
12175 else
12176 defaultval=no
12177 fi
12178 fi
12179
12180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12181 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12182 # Check whether --enable-gauge was given.
12183 if test "${enable_gauge+set}" = set; then
12184 enableval=$enable_gauge;
12185 if test "$enableval" = yes; then
12186 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12187 else
12188 wx_cv_use_gauge='wxUSE_GAUGE=no'
12189 fi
12190 cache=yes
12191
12192 else
12193
12194 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12195 if test "x$LINE" != x ; then
12196 eval "DEFAULT_$LINE"
12197 cache=yes
12198 else
12199 cache=no
12200 fi
12201
12202 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12203
12204 fi
12205
12206
12207 eval "$wx_cv_use_gauge"
12208 if test "x$cache" = xyes; then
12209 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12210 fi
12211
12212 if test x"$enablestring" = xdisable; then
12213 if test $wxUSE_GAUGE = yes; then
12214 result=no
12215 else
12216 result=yes
12217 fi
12218 else
12219 result=$wxUSE_GAUGE
12220 fi
12221
12222 { echo "$as_me:$LINENO: result: $result" >&5
12223 echo "${ECHO_T}$result" >&6; }
12224
12225
12226 enablestring=
12227 defaultval=$wxUSE_ALL_FEATURES
12228 if test -z "$defaultval"; then
12229 if test x"$enablestring" = xdisable; then
12230 defaultval=yes
12231 else
12232 defaultval=no
12233 fi
12234 fi
12235
12236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12237 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12238 # Check whether --enable-grid was given.
12239 if test "${enable_grid+set}" = set; then
12240 enableval=$enable_grid;
12241 if test "$enableval" = yes; then
12242 wx_cv_use_grid='wxUSE_GRID=yes'
12243 else
12244 wx_cv_use_grid='wxUSE_GRID=no'
12245 fi
12246 cache=yes
12247
12248 else
12249
12250 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12251 if test "x$LINE" != x ; then
12252 eval "DEFAULT_$LINE"
12253 cache=yes
12254 else
12255 cache=no
12256 fi
12257
12258 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12259
12260 fi
12261
12262
12263 eval "$wx_cv_use_grid"
12264 if test "x$cache" = xyes; then
12265 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12266 fi
12267
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_GRID = yes; then
12270 result=no
12271 else
12272 result=yes
12273 fi
12274 else
12275 result=$wxUSE_GRID
12276 fi
12277
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12280
12281
12282 enablestring=
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12286 defaultval=yes
12287 else
12288 defaultval=no
12289 fi
12290 fi
12291
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12294 # Check whether --enable-dataviewctrl was given.
12295 if test "${enable_dataviewctrl+set}" = set; then
12296 enableval=$enable_dataviewctrl;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12299 else
12300 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12301 fi
12302 cache=yes
12303
12304 else
12305
12306 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 cache=yes
12310 else
12311 cache=no
12312 fi
12313
12314 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12315
12316 fi
12317
12318
12319 eval "$wx_cv_use_dataviewctrl"
12320 if test "x$cache" = xyes; then
12321 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12322 fi
12323
12324 if test x"$enablestring" = xdisable; then
12325 if test $wxUSE_DATAVIEWCTRL = yes; then
12326 result=no
12327 else
12328 result=yes
12329 fi
12330 else
12331 result=$wxUSE_DATAVIEWCTRL
12332 fi
12333
12334 { echo "$as_me:$LINENO: result: $result" >&5
12335 echo "${ECHO_T}$result" >&6; }
12336
12337
12338 enablestring=
12339 defaultval=$wxUSE_ALL_FEATURES
12340 if test -z "$defaultval"; then
12341 if test x"$enablestring" = xdisable; then
12342 defaultval=yes
12343 else
12344 defaultval=no
12345 fi
12346 fi
12347
12348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12349 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12350 # Check whether --enable-hyperlink was given.
12351 if test "${enable_hyperlink+set}" = set; then
12352 enableval=$enable_hyperlink;
12353 if test "$enableval" = yes; then
12354 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12355 else
12356 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12357 fi
12358 cache=yes
12359
12360 else
12361
12362 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12363 if test "x$LINE" != x ; then
12364 eval "DEFAULT_$LINE"
12365 cache=yes
12366 else
12367 cache=no
12368 fi
12369
12370 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_hyperlink"
12376 if test "x$cache" = xyes; then
12377 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12378 fi
12379
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_HYPERLINKCTRL = yes; then
12382 result=no
12383 else
12384 result=yes
12385 fi
12386 else
12387 result=$wxUSE_HYPERLINKCTRL
12388 fi
12389
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12392
12393
12394 enablestring=
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12398 defaultval=yes
12399 else
12400 defaultval=no
12401 fi
12402 fi
12403
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12406 # Check whether --enable-imaglist was given.
12407 if test "${enable_imaglist+set}" = set; then
12408 enableval=$enable_imaglist;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12411 else
12412 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12413 fi
12414 cache=yes
12415
12416 else
12417
12418 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12419 if test "x$LINE" != x ; then
12420 eval "DEFAULT_$LINE"
12421 cache=yes
12422 else
12423 cache=no
12424 fi
12425
12426 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12427
12428 fi
12429
12430
12431 eval "$wx_cv_use_imaglist"
12432 if test "x$cache" = xyes; then
12433 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12434 fi
12435
12436 if test x"$enablestring" = xdisable; then
12437 if test $wxUSE_IMAGLIST = yes; then
12438 result=no
12439 else
12440 result=yes
12441 fi
12442 else
12443 result=$wxUSE_IMAGLIST
12444 fi
12445
12446 { echo "$as_me:$LINENO: result: $result" >&5
12447 echo "${ECHO_T}$result" >&6; }
12448
12449
12450 enablestring=
12451 defaultval=$wxUSE_ALL_FEATURES
12452 if test -z "$defaultval"; then
12453 if test x"$enablestring" = xdisable; then
12454 defaultval=yes
12455 else
12456 defaultval=no
12457 fi
12458 fi
12459
12460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12461 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12462 # Check whether --enable-listbook was given.
12463 if test "${enable_listbook+set}" = set; then
12464 enableval=$enable_listbook;
12465 if test "$enableval" = yes; then
12466 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12467 else
12468 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12469 fi
12470 cache=yes
12471
12472 else
12473
12474 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12475 if test "x$LINE" != x ; then
12476 eval "DEFAULT_$LINE"
12477 cache=yes
12478 else
12479 cache=no
12480 fi
12481
12482 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12483
12484 fi
12485
12486
12487 eval "$wx_cv_use_listbook"
12488 if test "x$cache" = xyes; then
12489 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12490 fi
12491
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_LISTBOOK = yes; then
12494 result=no
12495 else
12496 result=yes
12497 fi
12498 else
12499 result=$wxUSE_LISTBOOK
12500 fi
12501
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12504
12505
12506 enablestring=
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12510 defaultval=yes
12511 else
12512 defaultval=no
12513 fi
12514 fi
12515
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12518 # Check whether --enable-listbox was given.
12519 if test "${enable_listbox+set}" = set; then
12520 enableval=$enable_listbox;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12523 else
12524 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12525 fi
12526 cache=yes
12527
12528 else
12529
12530 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12531 if test "x$LINE" != x ; then
12532 eval "DEFAULT_$LINE"
12533 cache=yes
12534 else
12535 cache=no
12536 fi
12537
12538 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12539
12540 fi
12541
12542
12543 eval "$wx_cv_use_listbox"
12544 if test "x$cache" = xyes; then
12545 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12546 fi
12547
12548 if test x"$enablestring" = xdisable; then
12549 if test $wxUSE_LISTBOX = yes; then
12550 result=no
12551 else
12552 result=yes
12553 fi
12554 else
12555 result=$wxUSE_LISTBOX
12556 fi
12557
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12560
12561
12562 enablestring=
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12566 defaultval=yes
12567 else
12568 defaultval=no
12569 fi
12570 fi
12571
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12574 # Check whether --enable-listctrl was given.
12575 if test "${enable_listctrl+set}" = set; then
12576 enableval=$enable_listctrl;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12579 else
12580 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12581 fi
12582 cache=yes
12583
12584 else
12585
12586 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12587 if test "x$LINE" != x ; then
12588 eval "DEFAULT_$LINE"
12589 cache=yes
12590 else
12591 cache=no
12592 fi
12593
12594 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12595
12596 fi
12597
12598
12599 eval "$wx_cv_use_listctrl"
12600 if test "x$cache" = xyes; then
12601 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12602 fi
12603
12604 if test x"$enablestring" = xdisable; then
12605 if test $wxUSE_LISTCTRL = yes; then
12606 result=no
12607 else
12608 result=yes
12609 fi
12610 else
12611 result=$wxUSE_LISTCTRL
12612 fi
12613
12614 { echo "$as_me:$LINENO: result: $result" >&5
12615 echo "${ECHO_T}$result" >&6; }
12616
12617
12618 enablestring=
12619 defaultval=$wxUSE_ALL_FEATURES
12620 if test -z "$defaultval"; then
12621 if test x"$enablestring" = xdisable; then
12622 defaultval=yes
12623 else
12624 defaultval=no
12625 fi
12626 fi
12627
12628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12629 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12630 # Check whether --enable-notebook was given.
12631 if test "${enable_notebook+set}" = set; then
12632 enableval=$enable_notebook;
12633 if test "$enableval" = yes; then
12634 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12635 else
12636 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12637 fi
12638 cache=yes
12639
12640 else
12641
12642 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12643 if test "x$LINE" != x ; then
12644 eval "DEFAULT_$LINE"
12645 cache=yes
12646 else
12647 cache=no
12648 fi
12649
12650 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12651
12652 fi
12653
12654
12655 eval "$wx_cv_use_notebook"
12656 if test "x$cache" = xyes; then
12657 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12658 fi
12659
12660 if test x"$enablestring" = xdisable; then
12661 if test $wxUSE_NOTEBOOK = yes; then
12662 result=no
12663 else
12664 result=yes
12665 fi
12666 else
12667 result=$wxUSE_NOTEBOOK
12668 fi
12669
12670 { echo "$as_me:$LINENO: result: $result" >&5
12671 echo "${ECHO_T}$result" >&6; }
12672
12673
12674 enablestring=
12675 defaultval=$wxUSE_ALL_FEATURES
12676 if test -z "$defaultval"; then
12677 if test x"$enablestring" = xdisable; then
12678 defaultval=yes
12679 else
12680 defaultval=no
12681 fi
12682 fi
12683
12684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12685 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12686 # Check whether --enable-odcombobox was given.
12687 if test "${enable_odcombobox+set}" = set; then
12688 enableval=$enable_odcombobox;
12689 if test "$enableval" = yes; then
12690 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12691 else
12692 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12693 fi
12694 cache=yes
12695
12696 else
12697
12698 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12699 if test "x$LINE" != x ; then
12700 eval "DEFAULT_$LINE"
12701 cache=yes
12702 else
12703 cache=no
12704 fi
12705
12706 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12707
12708 fi
12709
12710
12711 eval "$wx_cv_use_odcombobox"
12712 if test "x$cache" = xyes; then
12713 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12714 fi
12715
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_ODCOMBOBOX = yes; then
12718 result=no
12719 else
12720 result=yes
12721 fi
12722 else
12723 result=$wxUSE_ODCOMBOBOX
12724 fi
12725
12726 { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12728
12729
12730 enablestring=
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12734 defaultval=yes
12735 else
12736 defaultval=no
12737 fi
12738 fi
12739
12740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12742 # Check whether --enable-radiobox was given.
12743 if test "${enable_radiobox+set}" = set; then
12744 enableval=$enable_radiobox;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12747 else
12748 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12749 fi
12750 cache=yes
12751
12752 else
12753
12754 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12755 if test "x$LINE" != x ; then
12756 eval "DEFAULT_$LINE"
12757 cache=yes
12758 else
12759 cache=no
12760 fi
12761
12762 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12763
12764 fi
12765
12766
12767 eval "$wx_cv_use_radiobox"
12768 if test "x$cache" = xyes; then
12769 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12770 fi
12771
12772 if test x"$enablestring" = xdisable; then
12773 if test $wxUSE_RADIOBOX = yes; then
12774 result=no
12775 else
12776 result=yes
12777 fi
12778 else
12779 result=$wxUSE_RADIOBOX
12780 fi
12781
12782 { echo "$as_me:$LINENO: result: $result" >&5
12783 echo "${ECHO_T}$result" >&6; }
12784
12785
12786 enablestring=
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12790 defaultval=yes
12791 else
12792 defaultval=no
12793 fi
12794 fi
12795
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12798 # Check whether --enable-radiobtn was given.
12799 if test "${enable_radiobtn+set}" = set; then
12800 enableval=$enable_radiobtn;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12803 else
12804 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12805 fi
12806 cache=yes
12807
12808 else
12809
12810 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12811 if test "x$LINE" != x ; then
12812 eval "DEFAULT_$LINE"
12813 cache=yes
12814 else
12815 cache=no
12816 fi
12817
12818 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12819
12820 fi
12821
12822
12823 eval "$wx_cv_use_radiobtn"
12824 if test "x$cache" = xyes; then
12825 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12826 fi
12827
12828 if test x"$enablestring" = xdisable; then
12829 if test $wxUSE_RADIOBTN = yes; then
12830 result=no
12831 else
12832 result=yes
12833 fi
12834 else
12835 result=$wxUSE_RADIOBTN
12836 fi
12837
12838 { echo "$as_me:$LINENO: result: $result" >&5
12839 echo "${ECHO_T}$result" >&6; }
12840
12841
12842 enablestring=
12843 defaultval=$wxUSE_ALL_FEATURES
12844 if test -z "$defaultval"; then
12845 if test x"$enablestring" = xdisable; then
12846 defaultval=yes
12847 else
12848 defaultval=no
12849 fi
12850 fi
12851
12852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12853 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12854 # Check whether --enable-sash was given.
12855 if test "${enable_sash+set}" = set; then
12856 enableval=$enable_sash;
12857 if test "$enableval" = yes; then
12858 wx_cv_use_sash='wxUSE_SASH=yes'
12859 else
12860 wx_cv_use_sash='wxUSE_SASH=no'
12861 fi
12862 cache=yes
12863
12864 else
12865
12866 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12867 if test "x$LINE" != x ; then
12868 eval "DEFAULT_$LINE"
12869 cache=yes
12870 else
12871 cache=no
12872 fi
12873
12874 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12875
12876 fi
12877
12878
12879 eval "$wx_cv_use_sash"
12880 if test "x$cache" = xyes; then
12881 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12882 fi
12883
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_SASH = yes; then
12886 result=no
12887 else
12888 result=yes
12889 fi
12890 else
12891 result=$wxUSE_SASH
12892 fi
12893
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12896
12897
12898 enablestring=
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12902 defaultval=yes
12903 else
12904 defaultval=no
12905 fi
12906 fi
12907
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12910 # Check whether --enable-scrollbar was given.
12911 if test "${enable_scrollbar+set}" = set; then
12912 enableval=$enable_scrollbar;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12915 else
12916 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12917 fi
12918 cache=yes
12919
12920 else
12921
12922 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12923 if test "x$LINE" != x ; then
12924 eval "DEFAULT_$LINE"
12925 cache=yes
12926 else
12927 cache=no
12928 fi
12929
12930 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12931
12932 fi
12933
12934
12935 eval "$wx_cv_use_scrollbar"
12936 if test "x$cache" = xyes; then
12937 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12938 fi
12939
12940 if test x"$enablestring" = xdisable; then
12941 if test $wxUSE_SCROLLBAR = yes; then
12942 result=no
12943 else
12944 result=yes
12945 fi
12946 else
12947 result=$wxUSE_SCROLLBAR
12948 fi
12949
12950 { echo "$as_me:$LINENO: result: $result" >&5
12951 echo "${ECHO_T}$result" >&6; }
12952
12953
12954 enablestring=
12955 defaultval=$wxUSE_ALL_FEATURES
12956 if test -z "$defaultval"; then
12957 if test x"$enablestring" = xdisable; then
12958 defaultval=yes
12959 else
12960 defaultval=no
12961 fi
12962 fi
12963
12964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12965 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12966 # Check whether --enable-searchctrl was given.
12967 if test "${enable_searchctrl+set}" = set; then
12968 enableval=$enable_searchctrl;
12969 if test "$enableval" = yes; then
12970 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12971 else
12972 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12973 fi
12974 cache=yes
12975
12976 else
12977
12978 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12979 if test "x$LINE" != x ; then
12980 eval "DEFAULT_$LINE"
12981 cache=yes
12982 else
12983 cache=no
12984 fi
12985
12986 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12987
12988 fi
12989
12990
12991 eval "$wx_cv_use_searchctrl"
12992 if test "x$cache" = xyes; then
12993 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12994 fi
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_SEARCHCTRL = yes; then
12998 result=no
12999 else
13000 result=yes
13001 fi
13002 else
13003 result=$wxUSE_SEARCHCTRL
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13022 # Check whether --enable-slider was given.
13023 if test "${enable_slider+set}" = set; then
13024 enableval=$enable_slider;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_slider='wxUSE_SLIDER=yes'
13027 else
13028 wx_cv_use_slider='wxUSE_SLIDER=no'
13029 fi
13030 cache=yes
13031
13032 else
13033
13034 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13035 if test "x$LINE" != x ; then
13036 eval "DEFAULT_$LINE"
13037 cache=yes
13038 else
13039 cache=no
13040 fi
13041
13042 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13043
13044 fi
13045
13046
13047 eval "$wx_cv_use_slider"
13048 if test "x$cache" = xyes; then
13049 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13050 fi
13051
13052 if test x"$enablestring" = xdisable; then
13053 if test $wxUSE_SLIDER = yes; then
13054 result=no
13055 else
13056 result=yes
13057 fi
13058 else
13059 result=$wxUSE_SLIDER
13060 fi
13061
13062 { echo "$as_me:$LINENO: result: $result" >&5
13063 echo "${ECHO_T}$result" >&6; }
13064
13065
13066 enablestring=
13067 defaultval=$wxUSE_ALL_FEATURES
13068 if test -z "$defaultval"; then
13069 if test x"$enablestring" = xdisable; then
13070 defaultval=yes
13071 else
13072 defaultval=no
13073 fi
13074 fi
13075
13076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13077 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13078 # Check whether --enable-spinbtn was given.
13079 if test "${enable_spinbtn+set}" = set; then
13080 enableval=$enable_spinbtn;
13081 if test "$enableval" = yes; then
13082 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13083 else
13084 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13085 fi
13086 cache=yes
13087
13088 else
13089
13090 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13091 if test "x$LINE" != x ; then
13092 eval "DEFAULT_$LINE"
13093 cache=yes
13094 else
13095 cache=no
13096 fi
13097
13098 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13099
13100 fi
13101
13102
13103 eval "$wx_cv_use_spinbtn"
13104 if test "x$cache" = xyes; then
13105 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13106 fi
13107
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_SPINBTN = yes; then
13110 result=no
13111 else
13112 result=yes
13113 fi
13114 else
13115 result=$wxUSE_SPINBTN
13116 fi
13117
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13120
13121
13122 enablestring=
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13126 defaultval=yes
13127 else
13128 defaultval=no
13129 fi
13130 fi
13131
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13134 # Check whether --enable-spinctrl was given.
13135 if test "${enable_spinctrl+set}" = set; then
13136 enableval=$enable_spinctrl;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13139 else
13140 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13141 fi
13142 cache=yes
13143
13144 else
13145
13146 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13147 if test "x$LINE" != x ; then
13148 eval "DEFAULT_$LINE"
13149 cache=yes
13150 else
13151 cache=no
13152 fi
13153
13154 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13155
13156 fi
13157
13158
13159 eval "$wx_cv_use_spinctrl"
13160 if test "x$cache" = xyes; then
13161 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13162 fi
13163
13164 if test x"$enablestring" = xdisable; then
13165 if test $wxUSE_SPINCTRL = yes; then
13166 result=no
13167 else
13168 result=yes
13169 fi
13170 else
13171 result=$wxUSE_SPINCTRL
13172 fi
13173
13174 { echo "$as_me:$LINENO: result: $result" >&5
13175 echo "${ECHO_T}$result" >&6; }
13176
13177
13178 enablestring=
13179 defaultval=$wxUSE_ALL_FEATURES
13180 if test -z "$defaultval"; then
13181 if test x"$enablestring" = xdisable; then
13182 defaultval=yes
13183 else
13184 defaultval=no
13185 fi
13186 fi
13187
13188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13189 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13190 # Check whether --enable-splitter was given.
13191 if test "${enable_splitter+set}" = set; then
13192 enableval=$enable_splitter;
13193 if test "$enableval" = yes; then
13194 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13195 else
13196 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13197 fi
13198 cache=yes
13199
13200 else
13201
13202 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13203 if test "x$LINE" != x ; then
13204 eval "DEFAULT_$LINE"
13205 cache=yes
13206 else
13207 cache=no
13208 fi
13209
13210 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13211
13212 fi
13213
13214
13215 eval "$wx_cv_use_splitter"
13216 if test "x$cache" = xyes; then
13217 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13218 fi
13219
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_SPLITTER = yes; then
13222 result=no
13223 else
13224 result=yes
13225 fi
13226 else
13227 result=$wxUSE_SPLITTER
13228 fi
13229
13230 { echo "$as_me:$LINENO: result: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13232
13233
13234 enablestring=
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13238 defaultval=yes
13239 else
13240 defaultval=no
13241 fi
13242 fi
13243
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13246 # Check whether --enable-statbmp was given.
13247 if test "${enable_statbmp+set}" = set; then
13248 enableval=$enable_statbmp;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13251 else
13252 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13253 fi
13254 cache=yes
13255
13256 else
13257
13258 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13259 if test "x$LINE" != x ; then
13260 eval "DEFAULT_$LINE"
13261 cache=yes
13262 else
13263 cache=no
13264 fi
13265
13266 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13267
13268 fi
13269
13270
13271 eval "$wx_cv_use_statbmp"
13272 if test "x$cache" = xyes; then
13273 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13274 fi
13275
13276 if test x"$enablestring" = xdisable; then
13277 if test $wxUSE_STATBMP = yes; then
13278 result=no
13279 else
13280 result=yes
13281 fi
13282 else
13283 result=$wxUSE_STATBMP
13284 fi
13285
13286 { echo "$as_me:$LINENO: result: $result" >&5
13287 echo "${ECHO_T}$result" >&6; }
13288
13289
13290 enablestring=
13291 defaultval=$wxUSE_ALL_FEATURES
13292 if test -z "$defaultval"; then
13293 if test x"$enablestring" = xdisable; then
13294 defaultval=yes
13295 else
13296 defaultval=no
13297 fi
13298 fi
13299
13300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13301 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13302 # Check whether --enable-statbox was given.
13303 if test "${enable_statbox+set}" = set; then
13304 enableval=$enable_statbox;
13305 if test "$enableval" = yes; then
13306 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13307 else
13308 wx_cv_use_statbox='wxUSE_STATBOX=no'
13309 fi
13310 cache=yes
13311
13312 else
13313
13314 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13315 if test "x$LINE" != x ; then
13316 eval "DEFAULT_$LINE"
13317 cache=yes
13318 else
13319 cache=no
13320 fi
13321
13322 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13323
13324 fi
13325
13326
13327 eval "$wx_cv_use_statbox"
13328 if test "x$cache" = xyes; then
13329 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13330 fi
13331
13332 if test x"$enablestring" = xdisable; then
13333 if test $wxUSE_STATBOX = yes; then
13334 result=no
13335 else
13336 result=yes
13337 fi
13338 else
13339 result=$wxUSE_STATBOX
13340 fi
13341
13342 { echo "$as_me:$LINENO: result: $result" >&5
13343 echo "${ECHO_T}$result" >&6; }
13344
13345
13346 enablestring=
13347 defaultval=$wxUSE_ALL_FEATURES
13348 if test -z "$defaultval"; then
13349 if test x"$enablestring" = xdisable; then
13350 defaultval=yes
13351 else
13352 defaultval=no
13353 fi
13354 fi
13355
13356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13357 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13358 # Check whether --enable-statline was given.
13359 if test "${enable_statline+set}" = set; then
13360 enableval=$enable_statline;
13361 if test "$enableval" = yes; then
13362 wx_cv_use_statline='wxUSE_STATLINE=yes'
13363 else
13364 wx_cv_use_statline='wxUSE_STATLINE=no'
13365 fi
13366 cache=yes
13367
13368 else
13369
13370 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13371 if test "x$LINE" != x ; then
13372 eval "DEFAULT_$LINE"
13373 cache=yes
13374 else
13375 cache=no
13376 fi
13377
13378 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_statline"
13384 if test "x$cache" = xyes; then
13385 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13386 fi
13387
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_STATLINE = yes; then
13390 result=no
13391 else
13392 result=yes
13393 fi
13394 else
13395 result=$wxUSE_STATLINE
13396 fi
13397
13398 { echo "$as_me:$LINENO: result: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13400
13401
13402 enablestring=
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13406 defaultval=yes
13407 else
13408 defaultval=no
13409 fi
13410 fi
13411
13412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13413 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13414 # Check whether --enable-stattext was given.
13415 if test "${enable_stattext+set}" = set; then
13416 enableval=$enable_stattext;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13419 else
13420 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13421 fi
13422 cache=yes
13423
13424 else
13425
13426 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13427 if test "x$LINE" != x ; then
13428 eval "DEFAULT_$LINE"
13429 cache=yes
13430 else
13431 cache=no
13432 fi
13433
13434 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13435
13436 fi
13437
13438
13439 eval "$wx_cv_use_stattext"
13440 if test "x$cache" = xyes; then
13441 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13442 fi
13443
13444 if test x"$enablestring" = xdisable; then
13445 if test $wxUSE_STATTEXT = yes; then
13446 result=no
13447 else
13448 result=yes
13449 fi
13450 else
13451 result=$wxUSE_STATTEXT
13452 fi
13453
13454 { echo "$as_me:$LINENO: result: $result" >&5
13455 echo "${ECHO_T}$result" >&6; }
13456
13457
13458 enablestring=
13459 defaultval=$wxUSE_ALL_FEATURES
13460 if test -z "$defaultval"; then
13461 if test x"$enablestring" = xdisable; then
13462 defaultval=yes
13463 else
13464 defaultval=no
13465 fi
13466 fi
13467
13468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13469 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13470 # Check whether --enable-statusbar was given.
13471 if test "${enable_statusbar+set}" = set; then
13472 enableval=$enable_statusbar;
13473 if test "$enableval" = yes; then
13474 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13475 else
13476 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13477 fi
13478 cache=yes
13479
13480 else
13481
13482 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13483 if test "x$LINE" != x ; then
13484 eval "DEFAULT_$LINE"
13485 cache=yes
13486 else
13487 cache=no
13488 fi
13489
13490 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13491
13492 fi
13493
13494
13495 eval "$wx_cv_use_statusbar"
13496 if test "x$cache" = xyes; then
13497 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13498 fi
13499
13500 if test x"$enablestring" = xdisable; then
13501 if test $wxUSE_STATUSBAR = yes; then
13502 result=no
13503 else
13504 result=yes
13505 fi
13506 else
13507 result=$wxUSE_STATUSBAR
13508 fi
13509
13510 { echo "$as_me:$LINENO: result: $result" >&5
13511 echo "${ECHO_T}$result" >&6; }
13512
13513
13514 enablestring=
13515 defaultval=$wxUSE_ALL_FEATURES
13516 if test -z "$defaultval"; then
13517 if test x"$enablestring" = xdisable; then
13518 defaultval=yes
13519 else
13520 defaultval=no
13521 fi
13522 fi
13523
13524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13525 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13526 # Check whether --enable-tabdialog was given.
13527 if test "${enable_tabdialog+set}" = set; then
13528 enableval=$enable_tabdialog;
13529 if test "$enableval" = yes; then
13530 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13531 else
13532 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13533 fi
13534 cache=yes
13535
13536 else
13537
13538 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13539 if test "x$LINE" != x ; then
13540 eval "DEFAULT_$LINE"
13541 cache=yes
13542 else
13543 cache=no
13544 fi
13545
13546 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13547
13548 fi
13549
13550
13551 eval "$wx_cv_use_tabdialog"
13552 if test "x$cache" = xyes; then
13553 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13554 fi
13555
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_TAB_DIALOG = yes; then
13558 result=no
13559 else
13560 result=yes
13561 fi
13562 else
13563 result=$wxUSE_TAB_DIALOG
13564 fi
13565
13566 { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13568
13569
13570 enablestring=
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13574 defaultval=yes
13575 else
13576 defaultval=no
13577 fi
13578 fi
13579
13580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13582 # Check whether --enable-taskbaricon was given.
13583 if test "${enable_taskbaricon+set}" = set; then
13584 enableval=$enable_taskbaricon;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13587 else
13588 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13589 fi
13590 cache=yes
13591
13592 else
13593
13594 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13595 if test "x$LINE" != x ; then
13596 eval "DEFAULT_$LINE"
13597 cache=yes
13598 else
13599 cache=no
13600 fi
13601
13602 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13603
13604 fi
13605
13606
13607 eval "$wx_cv_use_taskbaricon"
13608 if test "x$cache" = xyes; then
13609 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13610 fi
13611
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_TASKBARICON = yes; then
13614 result=no
13615 else
13616 result=yes
13617 fi
13618 else
13619 result=$wxUSE_TASKBARICON
13620 fi
13621
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13624
13625
13626 enablestring=
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13630 defaultval=yes
13631 else
13632 defaultval=no
13633 fi
13634 fi
13635
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13638 # Check whether --enable-textctrl was given.
13639 if test "${enable_textctrl+set}" = set; then
13640 enableval=$enable_textctrl;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13643 else
13644 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13645 fi
13646 cache=yes
13647
13648 else
13649
13650 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13651 if test "x$LINE" != x ; then
13652 eval "DEFAULT_$LINE"
13653 cache=yes
13654 else
13655 cache=no
13656 fi
13657
13658 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13659
13660 fi
13661
13662
13663 eval "$wx_cv_use_textctrl"
13664 if test "x$cache" = xyes; then
13665 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13666 fi
13667
13668 if test x"$enablestring" = xdisable; then
13669 if test $wxUSE_TEXTCTRL = yes; then
13670 result=no
13671 else
13672 result=yes
13673 fi
13674 else
13675 result=$wxUSE_TEXTCTRL
13676 fi
13677
13678 { echo "$as_me:$LINENO: result: $result" >&5
13679 echo "${ECHO_T}$result" >&6; }
13680
13681
13682 enablestring=
13683 defaultval=$wxUSE_ALL_FEATURES
13684 if test -z "$defaultval"; then
13685 if test x"$enablestring" = xdisable; then
13686 defaultval=yes
13687 else
13688 defaultval=no
13689 fi
13690 fi
13691
13692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13693 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13694 # Check whether --enable-togglebtn was given.
13695 if test "${enable_togglebtn+set}" = set; then
13696 enableval=$enable_togglebtn;
13697 if test "$enableval" = yes; then
13698 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13699 else
13700 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13701 fi
13702 cache=yes
13703
13704 else
13705
13706 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13707 if test "x$LINE" != x ; then
13708 eval "DEFAULT_$LINE"
13709 cache=yes
13710 else
13711 cache=no
13712 fi
13713
13714 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13715
13716 fi
13717
13718
13719 eval "$wx_cv_use_togglebtn"
13720 if test "x$cache" = xyes; then
13721 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13722 fi
13723
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_TOGGLEBTN = yes; then
13726 result=no
13727 else
13728 result=yes
13729 fi
13730 else
13731 result=$wxUSE_TOGGLEBTN
13732 fi
13733
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13736
13737
13738 enablestring=
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13742 defaultval=yes
13743 else
13744 defaultval=no
13745 fi
13746 fi
13747
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13750 # Check whether --enable-toolbar was given.
13751 if test "${enable_toolbar+set}" = set; then
13752 enableval=$enable_toolbar;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13755 else
13756 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13757 fi
13758 cache=yes
13759
13760 else
13761
13762 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13763 if test "x$LINE" != x ; then
13764 eval "DEFAULT_$LINE"
13765 cache=yes
13766 else
13767 cache=no
13768 fi
13769
13770 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13771
13772 fi
13773
13774
13775 eval "$wx_cv_use_toolbar"
13776 if test "x$cache" = xyes; then
13777 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13778 fi
13779
13780 if test x"$enablestring" = xdisable; then
13781 if test $wxUSE_TOOLBAR = yes; then
13782 result=no
13783 else
13784 result=yes
13785 fi
13786 else
13787 result=$wxUSE_TOOLBAR
13788 fi
13789
13790 { echo "$as_me:$LINENO: result: $result" >&5
13791 echo "${ECHO_T}$result" >&6; }
13792
13793
13794 enablestring=
13795 defaultval=$wxUSE_ALL_FEATURES
13796 if test -z "$defaultval"; then
13797 if test x"$enablestring" = xdisable; then
13798 defaultval=yes
13799 else
13800 defaultval=no
13801 fi
13802 fi
13803
13804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13805 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13806 # Check whether --enable-tbarnative was given.
13807 if test "${enable_tbarnative+set}" = set; then
13808 enableval=$enable_tbarnative;
13809 if test "$enableval" = yes; then
13810 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13811 else
13812 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13813 fi
13814 cache=yes
13815
13816 else
13817
13818 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13819 if test "x$LINE" != x ; then
13820 eval "DEFAULT_$LINE"
13821 cache=yes
13822 else
13823 cache=no
13824 fi
13825
13826 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13827
13828 fi
13829
13830
13831 eval "$wx_cv_use_tbarnative"
13832 if test "x$cache" = xyes; then
13833 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13834 fi
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13838 result=no
13839 else
13840 result=yes
13841 fi
13842 else
13843 result=$wxUSE_TOOLBAR_NATIVE
13844 fi
13845
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13862 # Check whether --enable-treebook was given.
13863 if test "${enable_treebook+set}" = set; then
13864 enableval=$enable_treebook;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13867 else
13868 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13869 fi
13870 cache=yes
13871
13872 else
13873
13874 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13875 if test "x$LINE" != x ; then
13876 eval "DEFAULT_$LINE"
13877 cache=yes
13878 else
13879 cache=no
13880 fi
13881
13882 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13883
13884 fi
13885
13886
13887 eval "$wx_cv_use_treebook"
13888 if test "x$cache" = xyes; then
13889 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13890 fi
13891
13892 if test x"$enablestring" = xdisable; then
13893 if test $wxUSE_TREEBOOK = yes; then
13894 result=no
13895 else
13896 result=yes
13897 fi
13898 else
13899 result=$wxUSE_TREEBOOK
13900 fi
13901
13902 { echo "$as_me:$LINENO: result: $result" >&5
13903 echo "${ECHO_T}$result" >&6; }
13904
13905
13906 enablestring=
13907 defaultval=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x"$enablestring" = xdisable; then
13910 defaultval=yes
13911 else
13912 defaultval=no
13913 fi
13914 fi
13915
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13918 # Check whether --enable-toolbook was given.
13919 if test "${enable_toolbook+set}" = set; then
13920 enableval=$enable_toolbook;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13923 else
13924 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13925 fi
13926 cache=yes
13927
13928 else
13929
13930 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13931 if test "x$LINE" != x ; then
13932 eval "DEFAULT_$LINE"
13933 cache=yes
13934 else
13935 cache=no
13936 fi
13937
13938 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13939
13940 fi
13941
13942
13943 eval "$wx_cv_use_toolbook"
13944 if test "x$cache" = xyes; then
13945 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13946 fi
13947
13948 if test x"$enablestring" = xdisable; then
13949 if test $wxUSE_TOOLBOOK = yes; then
13950 result=no
13951 else
13952 result=yes
13953 fi
13954 else
13955 result=$wxUSE_TOOLBOOK
13956 fi
13957
13958 { echo "$as_me:$LINENO: result: $result" >&5
13959 echo "${ECHO_T}$result" >&6; }
13960
13961
13962 enablestring=
13963 defaultval=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x"$enablestring" = xdisable; then
13966 defaultval=yes
13967 else
13968 defaultval=no
13969 fi
13970 fi
13971
13972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13973 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13974 # Check whether --enable-treectrl was given.
13975 if test "${enable_treectrl+set}" = set; then
13976 enableval=$enable_treectrl;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13979 else
13980 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13981 fi
13982 cache=yes
13983
13984 else
13985
13986 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13987 if test "x$LINE" != x ; then
13988 eval "DEFAULT_$LINE"
13989 cache=yes
13990 else
13991 cache=no
13992 fi
13993
13994 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13995
13996 fi
13997
13998
13999 eval "$wx_cv_use_treectrl"
14000 if test "x$cache" = xyes; then
14001 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14002 fi
14003
14004 if test x"$enablestring" = xdisable; then
14005 if test $wxUSE_TREECTRL = yes; then
14006 result=no
14007 else
14008 result=yes
14009 fi
14010 else
14011 result=$wxUSE_TREECTRL
14012 fi
14013
14014 { echo "$as_me:$LINENO: result: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14016
14017
14018 enablestring=
14019 defaultval=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x"$enablestring" = xdisable; then
14022 defaultval=yes
14023 else
14024 defaultval=no
14025 fi
14026 fi
14027
14028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14029 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14030 # Check whether --enable-tipwindow was given.
14031 if test "${enable_tipwindow+set}" = set; then
14032 enableval=$enable_tipwindow;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14035 else
14036 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14037 fi
14038 cache=yes
14039
14040 else
14041
14042 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14043 if test "x$LINE" != x ; then
14044 eval "DEFAULT_$LINE"
14045 cache=yes
14046 else
14047 cache=no
14048 fi
14049
14050 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14051
14052 fi
14053
14054
14055 eval "$wx_cv_use_tipwindow"
14056 if test "x$cache" = xyes; then
14057 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14058 fi
14059
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_TIPWINDOW = yes; then
14062 result=no
14063 else
14064 result=yes
14065 fi
14066 else
14067 result=$wxUSE_TIPWINDOW
14068 fi
14069
14070 { echo "$as_me:$LINENO: result: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14072
14073
14074 enablestring=
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14078 defaultval=yes
14079 else
14080 defaultval=no
14081 fi
14082 fi
14083
14084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14085 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14086 # Check whether --enable-popupwin was given.
14087 if test "${enable_popupwin+set}" = set; then
14088 enableval=$enable_popupwin;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14091 else
14092 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14093 fi
14094 cache=yes
14095
14096 else
14097
14098 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14099 if test "x$LINE" != x ; then
14100 eval "DEFAULT_$LINE"
14101 cache=yes
14102 else
14103 cache=no
14104 fi
14105
14106 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14107
14108 fi
14109
14110
14111 eval "$wx_cv_use_popupwin"
14112 if test "x$cache" = xyes; then
14113 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14114 fi
14115
14116 if test x"$enablestring" = xdisable; then
14117 if test $wxUSE_POPUPWIN = yes; then
14118 result=no
14119 else
14120 result=yes
14121 fi
14122 else
14123 result=$wxUSE_POPUPWIN
14124 fi
14125
14126 { echo "$as_me:$LINENO: result: $result" >&5
14127 echo "${ECHO_T}$result" >&6; }
14128
14129
14130
14131
14132 enablestring=
14133 defaultval=$wxUSE_ALL_FEATURES
14134 if test -z "$defaultval"; then
14135 if test x"$enablestring" = xdisable; then
14136 defaultval=yes
14137 else
14138 defaultval=no
14139 fi
14140 fi
14141
14142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14143 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14144 # Check whether --enable-commondlg was given.
14145 if test "${enable_commondlg+set}" = set; then
14146 enableval=$enable_commondlg;
14147 if test "$enableval" = yes; then
14148 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14149 else
14150 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14151 fi
14152 cache=yes
14153
14154 else
14155
14156 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14157 if test "x$LINE" != x ; then
14158 eval "DEFAULT_$LINE"
14159 cache=yes
14160 else
14161 cache=no
14162 fi
14163
14164 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14165
14166 fi
14167
14168
14169 eval "$wx_cv_use_commondlg"
14170 if test "x$cache" = xyes; then
14171 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14172 fi
14173
14174 if test x"$enablestring" = xdisable; then
14175 if test $wxUSE_COMMONDLGS = yes; then
14176 result=no
14177 else
14178 result=yes
14179 fi
14180 else
14181 result=$wxUSE_COMMONDLGS
14182 fi
14183
14184 { echo "$as_me:$LINENO: result: $result" >&5
14185 echo "${ECHO_T}$result" >&6; }
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}-aboutdlg" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14200 # Check whether --enable-aboutdlg was given.
14201 if test "${enable_aboutdlg+set}" = set; then
14202 enableval=$enable_aboutdlg;
14203 if test "$enableval" = yes; then
14204 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14205 else
14206 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14207 fi
14208 cache=yes
14209
14210 else
14211
14212 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14213 if test "x$LINE" != x ; then
14214 eval "DEFAULT_$LINE"
14215 cache=yes
14216 else
14217 cache=no
14218 fi
14219
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14221
14222 fi
14223
14224
14225 eval "$wx_cv_use_aboutdlg"
14226 if test "x$cache" = xyes; then
14227 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14228 fi
14229
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_ABOUTDLG = yes; then
14232 result=no
14233 else
14234 result=yes
14235 fi
14236 else
14237 result=$wxUSE_ABOUTDLG
14238 fi
14239
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14242
14243
14244 enablestring=
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14248 defaultval=yes
14249 else
14250 defaultval=no
14251 fi
14252 fi
14253
14254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14255 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14256 # Check whether --enable-choicedlg was given.
14257 if test "${enable_choicedlg+set}" = set; then
14258 enableval=$enable_choicedlg;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14261 else
14262 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14263 fi
14264 cache=yes
14265
14266 else
14267
14268 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14269 if test "x$LINE" != x ; then
14270 eval "DEFAULT_$LINE"
14271 cache=yes
14272 else
14273 cache=no
14274 fi
14275
14276 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14277
14278 fi
14279
14280
14281 eval "$wx_cv_use_choicedlg"
14282 if test "x$cache" = xyes; then
14283 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14284 fi
14285
14286 if test x"$enablestring" = xdisable; then
14287 if test $wxUSE_CHOICEDLG = yes; then
14288 result=no
14289 else
14290 result=yes
14291 fi
14292 else
14293 result=$wxUSE_CHOICEDLG
14294 fi
14295
14296 { echo "$as_me:$LINENO: result: $result" >&5
14297 echo "${ECHO_T}$result" >&6; }
14298
14299
14300 enablestring=
14301 defaultval=$wxUSE_ALL_FEATURES
14302 if test -z "$defaultval"; then
14303 if test x"$enablestring" = xdisable; then
14304 defaultval=yes
14305 else
14306 defaultval=no
14307 fi
14308 fi
14309
14310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14311 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14312 # Check whether --enable-coldlg was given.
14313 if test "${enable_coldlg+set}" = set; then
14314 enableval=$enable_coldlg;
14315 if test "$enableval" = yes; then
14316 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14317 else
14318 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14319 fi
14320 cache=yes
14321
14322 else
14323
14324 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14325 if test "x$LINE" != x ; then
14326 eval "DEFAULT_$LINE"
14327 cache=yes
14328 else
14329 cache=no
14330 fi
14331
14332 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14333
14334 fi
14335
14336
14337 eval "$wx_cv_use_coldlg"
14338 if test "x$cache" = xyes; then
14339 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14340 fi
14341
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_COLOURDLG = yes; then
14344 result=no
14345 else
14346 result=yes
14347 fi
14348 else
14349 result=$wxUSE_COLOURDLG
14350 fi
14351
14352 { echo "$as_me:$LINENO: result: $result" >&5
14353 echo "${ECHO_T}$result" >&6; }
14354
14355
14356 enablestring=
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14360 defaultval=yes
14361 else
14362 defaultval=no
14363 fi
14364 fi
14365
14366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14367 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14368 # Check whether --enable-filedlg was given.
14369 if test "${enable_filedlg+set}" = set; then
14370 enableval=$enable_filedlg;
14371 if test "$enableval" = yes; then
14372 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14373 else
14374 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14375 fi
14376 cache=yes
14377
14378 else
14379
14380 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14381 if test "x$LINE" != x ; then
14382 eval "DEFAULT_$LINE"
14383 cache=yes
14384 else
14385 cache=no
14386 fi
14387
14388 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14389
14390 fi
14391
14392
14393 eval "$wx_cv_use_filedlg"
14394 if test "x$cache" = xyes; then
14395 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14396 fi
14397
14398 if test x"$enablestring" = xdisable; then
14399 if test $wxUSE_FILEDLG = yes; then
14400 result=no
14401 else
14402 result=yes
14403 fi
14404 else
14405 result=$wxUSE_FILEDLG
14406 fi
14407
14408 { echo "$as_me:$LINENO: result: $result" >&5
14409 echo "${ECHO_T}$result" >&6; }
14410
14411
14412 enablestring=
14413 defaultval=$wxUSE_ALL_FEATURES
14414 if test -z "$defaultval"; then
14415 if test x"$enablestring" = xdisable; then
14416 defaultval=yes
14417 else
14418 defaultval=no
14419 fi
14420 fi
14421
14422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14423 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14424 # Check whether --enable-finddlg was given.
14425 if test "${enable_finddlg+set}" = set; then
14426 enableval=$enable_finddlg;
14427 if test "$enableval" = yes; then
14428 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14429 else
14430 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14431 fi
14432 cache=yes
14433
14434 else
14435
14436 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14437 if test "x$LINE" != x ; then
14438 eval "DEFAULT_$LINE"
14439 cache=yes
14440 else
14441 cache=no
14442 fi
14443
14444 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14445
14446 fi
14447
14448
14449 eval "$wx_cv_use_finddlg"
14450 if test "x$cache" = xyes; then
14451 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14452 fi
14453
14454 if test x"$enablestring" = xdisable; then
14455 if test $wxUSE_FINDREPLDLG = yes; then
14456 result=no
14457 else
14458 result=yes
14459 fi
14460 else
14461 result=$wxUSE_FINDREPLDLG
14462 fi
14463
14464 { echo "$as_me:$LINENO: result: $result" >&5
14465 echo "${ECHO_T}$result" >&6; }
14466
14467
14468 enablestring=
14469 defaultval=$wxUSE_ALL_FEATURES
14470 if test -z "$defaultval"; then
14471 if test x"$enablestring" = xdisable; then
14472 defaultval=yes
14473 else
14474 defaultval=no
14475 fi
14476 fi
14477
14478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14479 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14480 # Check whether --enable-fontdlg was given.
14481 if test "${enable_fontdlg+set}" = set; then
14482 enableval=$enable_fontdlg;
14483 if test "$enableval" = yes; then
14484 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14485 else
14486 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14487 fi
14488 cache=yes
14489
14490 else
14491
14492 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14493 if test "x$LINE" != x ; then
14494 eval "DEFAULT_$LINE"
14495 cache=yes
14496 else
14497 cache=no
14498 fi
14499
14500 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14501
14502 fi
14503
14504
14505 eval "$wx_cv_use_fontdlg"
14506 if test "x$cache" = xyes; then
14507 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14508 fi
14509
14510 if test x"$enablestring" = xdisable; then
14511 if test $wxUSE_FONTDLG = yes; then
14512 result=no
14513 else
14514 result=yes
14515 fi
14516 else
14517 result=$wxUSE_FONTDLG
14518 fi
14519
14520 { echo "$as_me:$LINENO: result: $result" >&5
14521 echo "${ECHO_T}$result" >&6; }
14522
14523
14524 enablestring=
14525 defaultval=$wxUSE_ALL_FEATURES
14526 if test -z "$defaultval"; then
14527 if test x"$enablestring" = xdisable; then
14528 defaultval=yes
14529 else
14530 defaultval=no
14531 fi
14532 fi
14533
14534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14535 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14536 # Check whether --enable-dirdlg was given.
14537 if test "${enable_dirdlg+set}" = set; then
14538 enableval=$enable_dirdlg;
14539 if test "$enableval" = yes; then
14540 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14541 else
14542 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14543 fi
14544 cache=yes
14545
14546 else
14547
14548 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14549 if test "x$LINE" != x ; then
14550 eval "DEFAULT_$LINE"
14551 cache=yes
14552 else
14553 cache=no
14554 fi
14555
14556 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14557
14558 fi
14559
14560
14561 eval "$wx_cv_use_dirdlg"
14562 if test "x$cache" = xyes; then
14563 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14564 fi
14565
14566 if test x"$enablestring" = xdisable; then
14567 if test $wxUSE_DIRDLG = yes; then
14568 result=no
14569 else
14570 result=yes
14571 fi
14572 else
14573 result=$wxUSE_DIRDLG
14574 fi
14575
14576 { echo "$as_me:$LINENO: result: $result" >&5
14577 echo "${ECHO_T}$result" >&6; }
14578
14579
14580 enablestring=
14581 defaultval=$wxUSE_ALL_FEATURES
14582 if test -z "$defaultval"; then
14583 if test x"$enablestring" = xdisable; then
14584 defaultval=yes
14585 else
14586 defaultval=no
14587 fi
14588 fi
14589
14590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14591 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14592 # Check whether --enable-msgdlg was given.
14593 if test "${enable_msgdlg+set}" = set; then
14594 enableval=$enable_msgdlg;
14595 if test "$enableval" = yes; then
14596 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14597 else
14598 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14599 fi
14600 cache=yes
14601
14602 else
14603
14604 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14605 if test "x$LINE" != x ; then
14606 eval "DEFAULT_$LINE"
14607 cache=yes
14608 else
14609 cache=no
14610 fi
14611
14612 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14613
14614 fi
14615
14616
14617 eval "$wx_cv_use_msgdlg"
14618 if test "x$cache" = xyes; then
14619 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14620 fi
14621
14622 if test x"$enablestring" = xdisable; then
14623 if test $wxUSE_MSGDLG = yes; then
14624 result=no
14625 else
14626 result=yes
14627 fi
14628 else
14629 result=$wxUSE_MSGDLG
14630 fi
14631
14632 { echo "$as_me:$LINENO: result: $result" >&5
14633 echo "${ECHO_T}$result" >&6; }
14634
14635
14636 enablestring=
14637 defaultval=$wxUSE_ALL_FEATURES
14638 if test -z "$defaultval"; then
14639 if test x"$enablestring" = xdisable; then
14640 defaultval=yes
14641 else
14642 defaultval=no
14643 fi
14644 fi
14645
14646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14647 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14648 # Check whether --enable-numberdlg was given.
14649 if test "${enable_numberdlg+set}" = set; then
14650 enableval=$enable_numberdlg;
14651 if test "$enableval" = yes; then
14652 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14653 else
14654 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14655 fi
14656 cache=yes
14657
14658 else
14659
14660 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14661 if test "x$LINE" != x ; then
14662 eval "DEFAULT_$LINE"
14663 cache=yes
14664 else
14665 cache=no
14666 fi
14667
14668 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14669
14670 fi
14671
14672
14673 eval "$wx_cv_use_numberdlg"
14674 if test "x$cache" = xyes; then
14675 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14676 fi
14677
14678 if test x"$enablestring" = xdisable; then
14679 if test $wxUSE_NUMBERDLG = yes; then
14680 result=no
14681 else
14682 result=yes
14683 fi
14684 else
14685 result=$wxUSE_NUMBERDLG
14686 fi
14687
14688 { echo "$as_me:$LINENO: result: $result" >&5
14689 echo "${ECHO_T}$result" >&6; }
14690
14691
14692 enablestring=
14693 defaultval=$wxUSE_ALL_FEATURES
14694 if test -z "$defaultval"; then
14695 if test x"$enablestring" = xdisable; then
14696 defaultval=yes
14697 else
14698 defaultval=no
14699 fi
14700 fi
14701
14702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14703 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14704 # Check whether --enable-splash was given.
14705 if test "${enable_splash+set}" = set; then
14706 enableval=$enable_splash;
14707 if test "$enableval" = yes; then
14708 wx_cv_use_splash='wxUSE_SPLASH=yes'
14709 else
14710 wx_cv_use_splash='wxUSE_SPLASH=no'
14711 fi
14712 cache=yes
14713
14714 else
14715
14716 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14717 if test "x$LINE" != x ; then
14718 eval "DEFAULT_$LINE"
14719 cache=yes
14720 else
14721 cache=no
14722 fi
14723
14724 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14725
14726 fi
14727
14728
14729 eval "$wx_cv_use_splash"
14730 if test "x$cache" = xyes; then
14731 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14732 fi
14733
14734 if test x"$enablestring" = xdisable; then
14735 if test $wxUSE_SPLASH = yes; then
14736 result=no
14737 else
14738 result=yes
14739 fi
14740 else
14741 result=$wxUSE_SPLASH
14742 fi
14743
14744 { echo "$as_me:$LINENO: result: $result" >&5
14745 echo "${ECHO_T}$result" >&6; }
14746
14747
14748 enablestring=
14749 defaultval=$wxUSE_ALL_FEATURES
14750 if test -z "$defaultval"; then
14751 if test x"$enablestring" = xdisable; then
14752 defaultval=yes
14753 else
14754 defaultval=no
14755 fi
14756 fi
14757
14758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14759 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14760 # Check whether --enable-textdlg was given.
14761 if test "${enable_textdlg+set}" = set; then
14762 enableval=$enable_textdlg;
14763 if test "$enableval" = yes; then
14764 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14765 else
14766 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14767 fi
14768 cache=yes
14769
14770 else
14771
14772 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14773 if test "x$LINE" != x ; then
14774 eval "DEFAULT_$LINE"
14775 cache=yes
14776 else
14777 cache=no
14778 fi
14779
14780 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14781
14782 fi
14783
14784
14785 eval "$wx_cv_use_textdlg"
14786 if test "x$cache" = xyes; then
14787 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14788 fi
14789
14790 if test x"$enablestring" = xdisable; then
14791 if test $wxUSE_TEXTDLG = yes; then
14792 result=no
14793 else
14794 result=yes
14795 fi
14796 else
14797 result=$wxUSE_TEXTDLG
14798 fi
14799
14800 { echo "$as_me:$LINENO: result: $result" >&5
14801 echo "${ECHO_T}$result" >&6; }
14802
14803
14804 enablestring=
14805 defaultval=$wxUSE_ALL_FEATURES
14806 if test -z "$defaultval"; then
14807 if test x"$enablestring" = xdisable; then
14808 defaultval=yes
14809 else
14810 defaultval=no
14811 fi
14812 fi
14813
14814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14815 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14816 # Check whether --enable-tipdlg was given.
14817 if test "${enable_tipdlg+set}" = set; then
14818 enableval=$enable_tipdlg;
14819 if test "$enableval" = yes; then
14820 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14821 else
14822 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14823 fi
14824 cache=yes
14825
14826 else
14827
14828 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14829 if test "x$LINE" != x ; then
14830 eval "DEFAULT_$LINE"
14831 cache=yes
14832 else
14833 cache=no
14834 fi
14835
14836 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14837
14838 fi
14839
14840
14841 eval "$wx_cv_use_tipdlg"
14842 if test "x$cache" = xyes; then
14843 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14844 fi
14845
14846 if test x"$enablestring" = xdisable; then
14847 if test $wxUSE_STARTUP_TIPS = yes; then
14848 result=no
14849 else
14850 result=yes
14851 fi
14852 else
14853 result=$wxUSE_STARTUP_TIPS
14854 fi
14855
14856 { echo "$as_me:$LINENO: result: $result" >&5
14857 echo "${ECHO_T}$result" >&6; }
14858
14859
14860 enablestring=
14861 defaultval=$wxUSE_ALL_FEATURES
14862 if test -z "$defaultval"; then
14863 if test x"$enablestring" = xdisable; then
14864 defaultval=yes
14865 else
14866 defaultval=no
14867 fi
14868 fi
14869
14870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14871 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14872 # Check whether --enable-progressdlg was given.
14873 if test "${enable_progressdlg+set}" = set; then
14874 enableval=$enable_progressdlg;
14875 if test "$enableval" = yes; then
14876 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14877 else
14878 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14879 fi
14880 cache=yes
14881
14882 else
14883
14884 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14885 if test "x$LINE" != x ; then
14886 eval "DEFAULT_$LINE"
14887 cache=yes
14888 else
14889 cache=no
14890 fi
14891
14892 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14893
14894 fi
14895
14896
14897 eval "$wx_cv_use_progressdlg"
14898 if test "x$cache" = xyes; then
14899 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14900 fi
14901
14902 if test x"$enablestring" = xdisable; then
14903 if test $wxUSE_PROGRESSDLG = yes; then
14904 result=no
14905 else
14906 result=yes
14907 fi
14908 else
14909 result=$wxUSE_PROGRESSDLG
14910 fi
14911
14912 { echo "$as_me:$LINENO: result: $result" >&5
14913 echo "${ECHO_T}$result" >&6; }
14914
14915
14916 enablestring=
14917 defaultval=$wxUSE_ALL_FEATURES
14918 if test -z "$defaultval"; then
14919 if test x"$enablestring" = xdisable; then
14920 defaultval=yes
14921 else
14922 defaultval=no
14923 fi
14924 fi
14925
14926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14927 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14928 # Check whether --enable-wizarddlg was given.
14929 if test "${enable_wizarddlg+set}" = set; then
14930 enableval=$enable_wizarddlg;
14931 if test "$enableval" = yes; then
14932 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14933 else
14934 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14935 fi
14936 cache=yes
14937
14938 else
14939
14940 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14941 if test "x$LINE" != x ; then
14942 eval "DEFAULT_$LINE"
14943 cache=yes
14944 else
14945 cache=no
14946 fi
14947
14948 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14949
14950 fi
14951
14952
14953 eval "$wx_cv_use_wizarddlg"
14954 if test "x$cache" = xyes; then
14955 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14956 fi
14957
14958 if test x"$enablestring" = xdisable; then
14959 if test $wxUSE_WIZARDDLG = yes; then
14960 result=no
14961 else
14962 result=yes
14963 fi
14964 else
14965 result=$wxUSE_WIZARDDLG
14966 fi
14967
14968 { echo "$as_me:$LINENO: result: $result" >&5
14969 echo "${ECHO_T}$result" >&6; }
14970
14971
14972
14973
14974 enablestring=
14975 defaultval=$wxUSE_ALL_FEATURES
14976 if test -z "$defaultval"; then
14977 if test x"$enablestring" = xdisable; then
14978 defaultval=yes
14979 else
14980 defaultval=no
14981 fi
14982 fi
14983
14984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14985 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14986 # Check whether --enable-menus was given.
14987 if test "${enable_menus+set}" = set; then
14988 enableval=$enable_menus;
14989 if test "$enableval" = yes; then
14990 wx_cv_use_menus='wxUSE_MENUS=yes'
14991 else
14992 wx_cv_use_menus='wxUSE_MENUS=no'
14993 fi
14994 cache=yes
14995
14996 else
14997
14998 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14999 if test "x$LINE" != x ; then
15000 eval "DEFAULT_$LINE"
15001 cache=yes
15002 else
15003 cache=no
15004 fi
15005
15006 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15007
15008 fi
15009
15010
15011 eval "$wx_cv_use_menus"
15012 if test "x$cache" = xyes; then
15013 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15014 fi
15015
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_MENUS = yes; then
15018 result=no
15019 else
15020 result=yes
15021 fi
15022 else
15023 result=$wxUSE_MENUS
15024 fi
15025
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15028
15029
15030 enablestring=
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15034 defaultval=yes
15035 else
15036 defaultval=no
15037 fi
15038 fi
15039
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15042 # Check whether --enable-miniframe was given.
15043 if test "${enable_miniframe+set}" = set; then
15044 enableval=$enable_miniframe;
15045 if test "$enableval" = yes; then
15046 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15047 else
15048 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15049 fi
15050 cache=yes
15051
15052 else
15053
15054 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15057 cache=yes
15058 else
15059 cache=no
15060 fi
15061
15062 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15063
15064 fi
15065
15066
15067 eval "$wx_cv_use_miniframe"
15068 if test "x$cache" = xyes; then
15069 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15070 fi
15071
15072 if test x"$enablestring" = xdisable; then
15073 if test $wxUSE_MINIFRAME = yes; then
15074 result=no
15075 else
15076 result=yes
15077 fi
15078 else
15079 result=$wxUSE_MINIFRAME
15080 fi
15081
15082 { echo "$as_me:$LINENO: result: $result" >&5
15083 echo "${ECHO_T}$result" >&6; }
15084
15085
15086 enablestring=
15087 defaultval=$wxUSE_ALL_FEATURES
15088 if test -z "$defaultval"; then
15089 if test x"$enablestring" = xdisable; then
15090 defaultval=yes
15091 else
15092 defaultval=no
15093 fi
15094 fi
15095
15096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15097 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15098 # Check whether --enable-tooltips was given.
15099 if test "${enable_tooltips+set}" = set; then
15100 enableval=$enable_tooltips;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15103 else
15104 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15105 fi
15106 cache=yes
15107
15108 else
15109
15110 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15111 if test "x$LINE" != x ; then
15112 eval "DEFAULT_$LINE"
15113 cache=yes
15114 else
15115 cache=no
15116 fi
15117
15118 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15119
15120 fi
15121
15122
15123 eval "$wx_cv_use_tooltips"
15124 if test "x$cache" = xyes; then
15125 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15126 fi
15127
15128 if test x"$enablestring" = xdisable; then
15129 if test $wxUSE_TOOLTIPS = yes; then
15130 result=no
15131 else
15132 result=yes
15133 fi
15134 else
15135 result=$wxUSE_TOOLTIPS
15136 fi
15137
15138 { echo "$as_me:$LINENO: result: $result" >&5
15139 echo "${ECHO_T}$result" >&6; }
15140
15141
15142 enablestring=
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15146 defaultval=yes
15147 else
15148 defaultval=no
15149 fi
15150 fi
15151
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15154 # Check whether --enable-splines was given.
15155 if test "${enable_splines+set}" = set; then
15156 enableval=$enable_splines;
15157 if test "$enableval" = yes; then
15158 wx_cv_use_splines='wxUSE_SPLINES=yes'
15159 else
15160 wx_cv_use_splines='wxUSE_SPLINES=no'
15161 fi
15162 cache=yes
15163
15164 else
15165
15166 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15169 cache=yes
15170 else
15171 cache=no
15172 fi
15173
15174 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15175
15176 fi
15177
15178
15179 eval "$wx_cv_use_splines"
15180 if test "x$cache" = xyes; then
15181 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15182 fi
15183
15184 if test x"$enablestring" = xdisable; then
15185 if test $wxUSE_SPLINES = yes; then
15186 result=no
15187 else
15188 result=yes
15189 fi
15190 else
15191 result=$wxUSE_SPLINES
15192 fi
15193
15194 { echo "$as_me:$LINENO: result: $result" >&5
15195 echo "${ECHO_T}$result" >&6; }
15196
15197
15198 enablestring=
15199 defaultval=$wxUSE_ALL_FEATURES
15200 if test -z "$defaultval"; then
15201 if test x"$enablestring" = xdisable; then
15202 defaultval=yes
15203 else
15204 defaultval=no
15205 fi
15206 fi
15207
15208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15209 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15210 # Check whether --enable-mousewheel was given.
15211 if test "${enable_mousewheel+set}" = set; then
15212 enableval=$enable_mousewheel;
15213 if test "$enableval" = yes; then
15214 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15215 else
15216 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15217 fi
15218 cache=yes
15219
15220 else
15221
15222 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15223 if test "x$LINE" != x ; then
15224 eval "DEFAULT_$LINE"
15225 cache=yes
15226 else
15227 cache=no
15228 fi
15229
15230 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15231
15232 fi
15233
15234
15235 eval "$wx_cv_use_mousewheel"
15236 if test "x$cache" = xyes; then
15237 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15238 fi
15239
15240 if test x"$enablestring" = xdisable; then
15241 if test $wxUSE_MOUSEWHEEL = yes; then
15242 result=no
15243 else
15244 result=yes
15245 fi
15246 else
15247 result=$wxUSE_MOUSEWHEEL
15248 fi
15249
15250 { echo "$as_me:$LINENO: result: $result" >&5
15251 echo "${ECHO_T}$result" >&6; }
15252
15253
15254 enablestring=
15255 defaultval=$wxUSE_ALL_FEATURES
15256 if test -z "$defaultval"; then
15257 if test x"$enablestring" = xdisable; then
15258 defaultval=yes
15259 else
15260 defaultval=no
15261 fi
15262 fi
15263
15264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15265 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15266 # Check whether --enable-validators was given.
15267 if test "${enable_validators+set}" = set; then
15268 enableval=$enable_validators;
15269 if test "$enableval" = yes; then
15270 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15271 else
15272 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15273 fi
15274 cache=yes
15275
15276 else
15277
15278 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15279 if test "x$LINE" != x ; then
15280 eval "DEFAULT_$LINE"
15281 cache=yes
15282 else
15283 cache=no
15284 fi
15285
15286 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15287
15288 fi
15289
15290
15291 eval "$wx_cv_use_validators"
15292 if test "x$cache" = xyes; then
15293 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15294 fi
15295
15296 if test x"$enablestring" = xdisable; then
15297 if test $wxUSE_VALIDATORS = yes; then
15298 result=no
15299 else
15300 result=yes
15301 fi
15302 else
15303 result=$wxUSE_VALIDATORS
15304 fi
15305
15306 { echo "$as_me:$LINENO: result: $result" >&5
15307 echo "${ECHO_T}$result" >&6; }
15308
15309
15310 enablestring=
15311 defaultval=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x"$enablestring" = xdisable; then
15314 defaultval=yes
15315 else
15316 defaultval=no
15317 fi
15318 fi
15319
15320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15321 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15322 # Check whether --enable-busyinfo was given.
15323 if test "${enable_busyinfo+set}" = set; then
15324 enableval=$enable_busyinfo;
15325 if test "$enableval" = yes; then
15326 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15327 else
15328 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15329 fi
15330 cache=yes
15331
15332 else
15333
15334 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15337 cache=yes
15338 else
15339 cache=no
15340 fi
15341
15342 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15343
15344 fi
15345
15346
15347 eval "$wx_cv_use_busyinfo"
15348 if test "x$cache" = xyes; then
15349 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15350 fi
15351
15352 if test x"$enablestring" = xdisable; then
15353 if test $wxUSE_BUSYINFO = yes; then
15354 result=no
15355 else
15356 result=yes
15357 fi
15358 else
15359 result=$wxUSE_BUSYINFO
15360 fi
15361
15362 { echo "$as_me:$LINENO: result: $result" >&5
15363 echo "${ECHO_T}$result" >&6; }
15364
15365
15366 enablestring=
15367 defaultval=$wxUSE_ALL_FEATURES
15368 if test -z "$defaultval"; then
15369 if test x"$enablestring" = xdisable; then
15370 defaultval=yes
15371 else
15372 defaultval=no
15373 fi
15374 fi
15375
15376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15377 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15378 # Check whether --enable-joystick was given.
15379 if test "${enable_joystick+set}" = set; then
15380 enableval=$enable_joystick;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15383 else
15384 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15385 fi
15386 cache=yes
15387
15388 else
15389
15390 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15391 if test "x$LINE" != x ; then
15392 eval "DEFAULT_$LINE"
15393 cache=yes
15394 else
15395 cache=no
15396 fi
15397
15398 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15399
15400 fi
15401
15402
15403 eval "$wx_cv_use_joystick"
15404 if test "x$cache" = xyes; then
15405 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15406 fi
15407
15408 if test x"$enablestring" = xdisable; then
15409 if test $wxUSE_JOYSTICK = yes; then
15410 result=no
15411 else
15412 result=yes
15413 fi
15414 else
15415 result=$wxUSE_JOYSTICK
15416 fi
15417
15418 { echo "$as_me:$LINENO: result: $result" >&5
15419 echo "${ECHO_T}$result" >&6; }
15420
15421
15422 enablestring=
15423 defaultval=$wxUSE_ALL_FEATURES
15424 if test -z "$defaultval"; then
15425 if test x"$enablestring" = xdisable; then
15426 defaultval=yes
15427 else
15428 defaultval=no
15429 fi
15430 fi
15431
15432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15433 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15434 # Check whether --enable-metafile was given.
15435 if test "${enable_metafile+set}" = set; then
15436 enableval=$enable_metafile;
15437 if test "$enableval" = yes; then
15438 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15439 else
15440 wx_cv_use_metafile='wxUSE_METAFILE=no'
15441 fi
15442 cache=yes
15443
15444 else
15445
15446 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15447 if test "x$LINE" != x ; then
15448 eval "DEFAULT_$LINE"
15449 cache=yes
15450 else
15451 cache=no
15452 fi
15453
15454 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15455
15456 fi
15457
15458
15459 eval "$wx_cv_use_metafile"
15460 if test "x$cache" = xyes; then
15461 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15462 fi
15463
15464 if test x"$enablestring" = xdisable; then
15465 if test $wxUSE_METAFILE = yes; then
15466 result=no
15467 else
15468 result=yes
15469 fi
15470 else
15471 result=$wxUSE_METAFILE
15472 fi
15473
15474 { echo "$as_me:$LINENO: result: $result" >&5
15475 echo "${ECHO_T}$result" >&6; }
15476
15477
15478 enablestring=
15479 defaultval=$wxUSE_ALL_FEATURES
15480 if test -z "$defaultval"; then
15481 if test x"$enablestring" = xdisable; then
15482 defaultval=yes
15483 else
15484 defaultval=no
15485 fi
15486 fi
15487
15488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15489 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15490 # Check whether --enable-dragimage was given.
15491 if test "${enable_dragimage+set}" = set; then
15492 enableval=$enable_dragimage;
15493 if test "$enableval" = yes; then
15494 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15495 else
15496 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15497 fi
15498 cache=yes
15499
15500 else
15501
15502 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15503 if test "x$LINE" != x ; then
15504 eval "DEFAULT_$LINE"
15505 cache=yes
15506 else
15507 cache=no
15508 fi
15509
15510 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15511
15512 fi
15513
15514
15515 eval "$wx_cv_use_dragimage"
15516 if test "x$cache" = xyes; then
15517 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15518 fi
15519
15520 if test x"$enablestring" = xdisable; then
15521 if test $wxUSE_DRAGIMAGE = yes; then
15522 result=no
15523 else
15524 result=yes
15525 fi
15526 else
15527 result=$wxUSE_DRAGIMAGE
15528 fi
15529
15530 { echo "$as_me:$LINENO: result: $result" >&5
15531 echo "${ECHO_T}$result" >&6; }
15532
15533
15534 enablestring=
15535 defaultval=$wxUSE_ALL_FEATURES
15536 if test -z "$defaultval"; then
15537 if test x"$enablestring" = xdisable; then
15538 defaultval=yes
15539 else
15540 defaultval=no
15541 fi
15542 fi
15543
15544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15545 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15546 # Check whether --enable-accessibility was given.
15547 if test "${enable_accessibility+set}" = set; then
15548 enableval=$enable_accessibility;
15549 if test "$enableval" = yes; then
15550 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15551 else
15552 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15553 fi
15554 cache=yes
15555
15556 else
15557
15558 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15559 if test "x$LINE" != x ; then
15560 eval "DEFAULT_$LINE"
15561 cache=yes
15562 else
15563 cache=no
15564 fi
15565
15566 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15567
15568 fi
15569
15570
15571 eval "$wx_cv_use_accessibility"
15572 if test "x$cache" = xyes; then
15573 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15574 fi
15575
15576 if test x"$enablestring" = xdisable; then
15577 if test $wxUSE_ACCESSIBILITY = yes; then
15578 result=no
15579 else
15580 result=yes
15581 fi
15582 else
15583 result=$wxUSE_ACCESSIBILITY
15584 fi
15585
15586 { echo "$as_me:$LINENO: result: $result" >&5
15587 echo "${ECHO_T}$result" >&6; }
15588
15589
15590
15591
15592 enablestring=
15593 defaultval=$wxUSE_ALL_FEATURES
15594 if test -z "$defaultval"; then
15595 if test x"$enablestring" = xdisable; then
15596 defaultval=yes
15597 else
15598 defaultval=no
15599 fi
15600 fi
15601
15602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15603 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15604 # Check whether --enable-palette was given.
15605 if test "${enable_palette+set}" = set; then
15606 enableval=$enable_palette;
15607 if test "$enableval" = yes; then
15608 wx_cv_use_palette='wxUSE_PALETTE=yes'
15609 else
15610 wx_cv_use_palette='wxUSE_PALETTE=no'
15611 fi
15612 cache=yes
15613
15614 else
15615
15616 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15617 if test "x$LINE" != x ; then
15618 eval "DEFAULT_$LINE"
15619 cache=yes
15620 else
15621 cache=no
15622 fi
15623
15624 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15625
15626 fi
15627
15628
15629 eval "$wx_cv_use_palette"
15630 if test "x$cache" = xyes; then
15631 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15632 fi
15633
15634 if test x"$enablestring" = xdisable; then
15635 if test $wxUSE_PALETTE = yes; then
15636 result=no
15637 else
15638 result=yes
15639 fi
15640 else
15641 result=$wxUSE_PALETTE
15642 fi
15643
15644 { echo "$as_me:$LINENO: result: $result" >&5
15645 echo "${ECHO_T}$result" >&6; }
15646
15647
15648 enablestring=
15649 defaultval=$wxUSE_ALL_FEATURES
15650 if test -z "$defaultval"; then
15651 if test x"$enablestring" = xdisable; then
15652 defaultval=yes
15653 else
15654 defaultval=no
15655 fi
15656 fi
15657
15658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15659 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15660 # Check whether --enable-image was given.
15661 if test "${enable_image+set}" = set; then
15662 enableval=$enable_image;
15663 if test "$enableval" = yes; then
15664 wx_cv_use_image='wxUSE_IMAGE=yes'
15665 else
15666 wx_cv_use_image='wxUSE_IMAGE=no'
15667 fi
15668 cache=yes
15669
15670 else
15671
15672 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15673 if test "x$LINE" != x ; then
15674 eval "DEFAULT_$LINE"
15675 cache=yes
15676 else
15677 cache=no
15678 fi
15679
15680 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15681
15682 fi
15683
15684
15685 eval "$wx_cv_use_image"
15686 if test "x$cache" = xyes; then
15687 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15688 fi
15689
15690 if test x"$enablestring" = xdisable; then
15691 if test $wxUSE_IMAGE = yes; then
15692 result=no
15693 else
15694 result=yes
15695 fi
15696 else
15697 result=$wxUSE_IMAGE
15698 fi
15699
15700 { echo "$as_me:$LINENO: result: $result" >&5
15701 echo "${ECHO_T}$result" >&6; }
15702
15703
15704 enablestring=
15705 defaultval=$wxUSE_ALL_FEATURES
15706 if test -z "$defaultval"; then
15707 if test x"$enablestring" = xdisable; then
15708 defaultval=yes
15709 else
15710 defaultval=no
15711 fi
15712 fi
15713
15714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15715 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15716 # Check whether --enable-gif was given.
15717 if test "${enable_gif+set}" = set; then
15718 enableval=$enable_gif;
15719 if test "$enableval" = yes; then
15720 wx_cv_use_gif='wxUSE_GIF=yes'
15721 else
15722 wx_cv_use_gif='wxUSE_GIF=no'
15723 fi
15724 cache=yes
15725
15726 else
15727
15728 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15729 if test "x$LINE" != x ; then
15730 eval "DEFAULT_$LINE"
15731 cache=yes
15732 else
15733 cache=no
15734 fi
15735
15736 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15737
15738 fi
15739
15740
15741 eval "$wx_cv_use_gif"
15742 if test "x$cache" = xyes; then
15743 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15744 fi
15745
15746 if test x"$enablestring" = xdisable; then
15747 if test $wxUSE_GIF = yes; then
15748 result=no
15749 else
15750 result=yes
15751 fi
15752 else
15753 result=$wxUSE_GIF
15754 fi
15755
15756 { echo "$as_me:$LINENO: result: $result" >&5
15757 echo "${ECHO_T}$result" >&6; }
15758
15759
15760 enablestring=
15761 defaultval=$wxUSE_ALL_FEATURES
15762 if test -z "$defaultval"; then
15763 if test x"$enablestring" = xdisable; then
15764 defaultval=yes
15765 else
15766 defaultval=no
15767 fi
15768 fi
15769
15770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15771 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15772 # Check whether --enable-pcx was given.
15773 if test "${enable_pcx+set}" = set; then
15774 enableval=$enable_pcx;
15775 if test "$enableval" = yes; then
15776 wx_cv_use_pcx='wxUSE_PCX=yes'
15777 else
15778 wx_cv_use_pcx='wxUSE_PCX=no'
15779 fi
15780 cache=yes
15781
15782 else
15783
15784 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15785 if test "x$LINE" != x ; then
15786 eval "DEFAULT_$LINE"
15787 cache=yes
15788 else
15789 cache=no
15790 fi
15791
15792 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15793
15794 fi
15795
15796
15797 eval "$wx_cv_use_pcx"
15798 if test "x$cache" = xyes; then
15799 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15800 fi
15801
15802 if test x"$enablestring" = xdisable; then
15803 if test $wxUSE_PCX = yes; then
15804 result=no
15805 else
15806 result=yes
15807 fi
15808 else
15809 result=$wxUSE_PCX
15810 fi
15811
15812 { echo "$as_me:$LINENO: result: $result" >&5
15813 echo "${ECHO_T}$result" >&6; }
15814
15815
15816 enablestring=
15817 defaultval=$wxUSE_ALL_FEATURES
15818 if test -z "$defaultval"; then
15819 if test x"$enablestring" = xdisable; then
15820 defaultval=yes
15821 else
15822 defaultval=no
15823 fi
15824 fi
15825
15826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15827 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15828 # Check whether --enable-tga was given.
15829 if test "${enable_tga+set}" = set; then
15830 enableval=$enable_tga;
15831 if test "$enableval" = yes; then
15832 wx_cv_use_tga='wxUSE_TGA=yes'
15833 else
15834 wx_cv_use_tga='wxUSE_TGA=no'
15835 fi
15836 cache=yes
15837
15838 else
15839
15840 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15841 if test "x$LINE" != x ; then
15842 eval "DEFAULT_$LINE"
15843 cache=yes
15844 else
15845 cache=no
15846 fi
15847
15848 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15849
15850 fi
15851
15852
15853 eval "$wx_cv_use_tga"
15854 if test "x$cache" = xyes; then
15855 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15856 fi
15857
15858 if test x"$enablestring" = xdisable; then
15859 if test $wxUSE_TGA = yes; then
15860 result=no
15861 else
15862 result=yes
15863 fi
15864 else
15865 result=$wxUSE_TGA
15866 fi
15867
15868 { echo "$as_me:$LINENO: result: $result" >&5
15869 echo "${ECHO_T}$result" >&6; }
15870
15871
15872 enablestring=
15873 defaultval=$wxUSE_ALL_FEATURES
15874 if test -z "$defaultval"; then
15875 if test x"$enablestring" = xdisable; then
15876 defaultval=yes
15877 else
15878 defaultval=no
15879 fi
15880 fi
15881
15882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15883 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15884 # Check whether --enable-iff was given.
15885 if test "${enable_iff+set}" = set; then
15886 enableval=$enable_iff;
15887 if test "$enableval" = yes; then
15888 wx_cv_use_iff='wxUSE_IFF=yes'
15889 else
15890 wx_cv_use_iff='wxUSE_IFF=no'
15891 fi
15892 cache=yes
15893
15894 else
15895
15896 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15897 if test "x$LINE" != x ; then
15898 eval "DEFAULT_$LINE"
15899 cache=yes
15900 else
15901 cache=no
15902 fi
15903
15904 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15905
15906 fi
15907
15908
15909 eval "$wx_cv_use_iff"
15910 if test "x$cache" = xyes; then
15911 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15912 fi
15913
15914 if test x"$enablestring" = xdisable; then
15915 if test $wxUSE_IFF = yes; then
15916 result=no
15917 else
15918 result=yes
15919 fi
15920 else
15921 result=$wxUSE_IFF
15922 fi
15923
15924 { echo "$as_me:$LINENO: result: $result" >&5
15925 echo "${ECHO_T}$result" >&6; }
15926
15927
15928 enablestring=
15929 defaultval=$wxUSE_ALL_FEATURES
15930 if test -z "$defaultval"; then
15931 if test x"$enablestring" = xdisable; then
15932 defaultval=yes
15933 else
15934 defaultval=no
15935 fi
15936 fi
15937
15938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15939 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15940 # Check whether --enable-pnm was given.
15941 if test "${enable_pnm+set}" = set; then
15942 enableval=$enable_pnm;
15943 if test "$enableval" = yes; then
15944 wx_cv_use_pnm='wxUSE_PNM=yes'
15945 else
15946 wx_cv_use_pnm='wxUSE_PNM=no'
15947 fi
15948 cache=yes
15949
15950 else
15951
15952 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15953 if test "x$LINE" != x ; then
15954 eval "DEFAULT_$LINE"
15955 cache=yes
15956 else
15957 cache=no
15958 fi
15959
15960 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15961
15962 fi
15963
15964
15965 eval "$wx_cv_use_pnm"
15966 if test "x$cache" = xyes; then
15967 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15968 fi
15969
15970 if test x"$enablestring" = xdisable; then
15971 if test $wxUSE_PNM = yes; then
15972 result=no
15973 else
15974 result=yes
15975 fi
15976 else
15977 result=$wxUSE_PNM
15978 fi
15979
15980 { echo "$as_me:$LINENO: result: $result" >&5
15981 echo "${ECHO_T}$result" >&6; }
15982
15983
15984 enablestring=
15985 defaultval=$wxUSE_ALL_FEATURES
15986 if test -z "$defaultval"; then
15987 if test x"$enablestring" = xdisable; then
15988 defaultval=yes
15989 else
15990 defaultval=no
15991 fi
15992 fi
15993
15994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15995 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15996 # Check whether --enable-xpm was given.
15997 if test "${enable_xpm+set}" = set; then
15998 enableval=$enable_xpm;
15999 if test "$enableval" = yes; then
16000 wx_cv_use_xpm='wxUSE_XPM=yes'
16001 else
16002 wx_cv_use_xpm='wxUSE_XPM=no'
16003 fi
16004 cache=yes
16005
16006 else
16007
16008 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16009 if test "x$LINE" != x ; then
16010 eval "DEFAULT_$LINE"
16011 cache=yes
16012 else
16013 cache=no
16014 fi
16015
16016 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16017
16018 fi
16019
16020
16021 eval "$wx_cv_use_xpm"
16022 if test "x$cache" = xyes; then
16023 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16024 fi
16025
16026 if test x"$enablestring" = xdisable; then
16027 if test $wxUSE_XPM = yes; then
16028 result=no
16029 else
16030 result=yes
16031 fi
16032 else
16033 result=$wxUSE_XPM
16034 fi
16035
16036 { echo "$as_me:$LINENO: result: $result" >&5
16037 echo "${ECHO_T}$result" >&6; }
16038
16039
16040 enablestring=
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16044 defaultval=yes
16045 else
16046 defaultval=no
16047 fi
16048 fi
16049
16050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16051 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16052 # Check whether --enable-ico_cur was given.
16053 if test "${enable_ico_cur+set}" = set; then
16054 enableval=$enable_ico_cur;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16057 else
16058 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16059 fi
16060 cache=yes
16061
16062 else
16063
16064 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16065 if test "x$LINE" != x ; then
16066 eval "DEFAULT_$LINE"
16067 cache=yes
16068 else
16069 cache=no
16070 fi
16071
16072 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16073
16074 fi
16075
16076
16077 eval "$wx_cv_use_ico_cur"
16078 if test "x$cache" = xyes; then
16079 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16080 fi
16081
16082 if test x"$enablestring" = xdisable; then
16083 if test $wxUSE_ICO_CUR = yes; then
16084 result=no
16085 else
16086 result=yes
16087 fi
16088 else
16089 result=$wxUSE_ICO_CUR
16090 fi
16091
16092 { echo "$as_me:$LINENO: result: $result" >&5
16093 echo "${ECHO_T}$result" >&6; }
16094
16095
16096
16097
16098 enablestring=
16099 defaultval=$wxUSE_ALL_FEATURES
16100 if test -z "$defaultval"; then
16101 if test x"$enablestring" = xdisable; then
16102 defaultval=yes
16103 else
16104 defaultval=no
16105 fi
16106 fi
16107
16108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16109 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16110 # Check whether --enable-dccache was given.
16111 if test "${enable_dccache+set}" = set; then
16112 enableval=$enable_dccache;
16113 if test "$enableval" = yes; then
16114 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16115 else
16116 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16117 fi
16118 cache=yes
16119
16120 else
16121
16122 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16123 if test "x$LINE" != x ; then
16124 eval "DEFAULT_$LINE"
16125 cache=yes
16126 else
16127 cache=no
16128 fi
16129
16130 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16131
16132 fi
16133
16134
16135 eval "$wx_cv_use_dccache"
16136 if test "x$cache" = xyes; then
16137 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16138 fi
16139
16140 if test x"$enablestring" = xdisable; then
16141 if test $wxUSE_DC_CACHEING = yes; then
16142 result=no
16143 else
16144 result=yes
16145 fi
16146 else
16147 result=$wxUSE_DC_CACHEING
16148 fi
16149
16150 { echo "$as_me:$LINENO: result: $result" >&5
16151 echo "${ECHO_T}$result" >&6; }
16152
16153
16154 enablestring=
16155 defaultval=$wxUSE_ALL_FEATURES
16156 if test -z "$defaultval"; then
16157 if test x"$enablestring" = xdisable; then
16158 defaultval=yes
16159 else
16160 defaultval=no
16161 fi
16162 fi
16163
16164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16165 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16166 # Check whether --enable-ps-in-msw was given.
16167 if test "${enable_ps_in_msw+set}" = set; then
16168 enableval=$enable_ps_in_msw;
16169 if test "$enableval" = yes; then
16170 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16171 else
16172 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16173 fi
16174 cache=yes
16175
16176 else
16177
16178 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16179 if test "x$LINE" != x ; then
16180 eval "DEFAULT_$LINE"
16181 cache=yes
16182 else
16183 cache=no
16184 fi
16185
16186 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16187
16188 fi
16189
16190
16191 eval "$wx_cv_use_ps_in_msw"
16192 if test "x$cache" = xyes; then
16193 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16194 fi
16195
16196 if test x"$enablestring" = xdisable; then
16197 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16198 result=no
16199 else
16200 result=yes
16201 fi
16202 else
16203 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16204 fi
16205
16206 { echo "$as_me:$LINENO: result: $result" >&5
16207 echo "${ECHO_T}$result" >&6; }
16208
16209
16210 enablestring=
16211 defaultval=$wxUSE_ALL_FEATURES
16212 if test -z "$defaultval"; then
16213 if test x"$enablestring" = xdisable; then
16214 defaultval=yes
16215 else
16216 defaultval=no
16217 fi
16218 fi
16219
16220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16221 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16222 # Check whether --enable-ownerdrawn was given.
16223 if test "${enable_ownerdrawn+set}" = set; then
16224 enableval=$enable_ownerdrawn;
16225 if test "$enableval" = yes; then
16226 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16227 else
16228 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16229 fi
16230 cache=yes
16231
16232 else
16233
16234 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16235 if test "x$LINE" != x ; then
16236 eval "DEFAULT_$LINE"
16237 cache=yes
16238 else
16239 cache=no
16240 fi
16241
16242 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16243
16244 fi
16245
16246
16247 eval "$wx_cv_use_ownerdrawn"
16248 if test "x$cache" = xyes; then
16249 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16250 fi
16251
16252 if test x"$enablestring" = xdisable; then
16253 if test $wxUSE_OWNER_DRAWN = yes; then
16254 result=no
16255 else
16256 result=yes
16257 fi
16258 else
16259 result=$wxUSE_OWNER_DRAWN
16260 fi
16261
16262 { echo "$as_me:$LINENO: result: $result" >&5
16263 echo "${ECHO_T}$result" >&6; }
16264
16265
16266 enablestring=
16267 defaultval=$wxUSE_ALL_FEATURES
16268 if test -z "$defaultval"; then
16269 if test x"$enablestring" = xdisable; then
16270 defaultval=yes
16271 else
16272 defaultval=no
16273 fi
16274 fi
16275
16276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16277 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16278 # Check whether --enable-uxtheme was given.
16279 if test "${enable_uxtheme+set}" = set; then
16280 enableval=$enable_uxtheme;
16281 if test "$enableval" = yes; then
16282 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16283 else
16284 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16285 fi
16286 cache=yes
16287
16288 else
16289
16290 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16291 if test "x$LINE" != x ; then
16292 eval "DEFAULT_$LINE"
16293 cache=yes
16294 else
16295 cache=no
16296 fi
16297
16298 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16299
16300 fi
16301
16302
16303 eval "$wx_cv_use_uxtheme"
16304 if test "x$cache" = xyes; then
16305 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16306 fi
16307
16308 if test x"$enablestring" = xdisable; then
16309 if test $wxUSE_UXTHEME = yes; then
16310 result=no
16311 else
16312 result=yes
16313 fi
16314 else
16315 result=$wxUSE_UXTHEME
16316 fi
16317
16318 { echo "$as_me:$LINENO: result: $result" >&5
16319 echo "${ECHO_T}$result" >&6; }
16320
16321
16322 enablestring=
16323 defaultval=$wxUSE_ALL_FEATURES
16324 if test -z "$defaultval"; then
16325 if test x"$enablestring" = xdisable; then
16326 defaultval=yes
16327 else
16328 defaultval=no
16329 fi
16330 fi
16331
16332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16333 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16334 # Check whether --enable-wxdib was given.
16335 if test "${enable_wxdib+set}" = set; then
16336 enableval=$enable_wxdib;
16337 if test "$enableval" = yes; then
16338 wx_cv_use_wxdib='wxUSE_DIB=yes'
16339 else
16340 wx_cv_use_wxdib='wxUSE_DIB=no'
16341 fi
16342 cache=yes
16343
16344 else
16345
16346 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16347 if test "x$LINE" != x ; then
16348 eval "DEFAULT_$LINE"
16349 cache=yes
16350 else
16351 cache=no
16352 fi
16353
16354 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16355
16356 fi
16357
16358
16359 eval "$wx_cv_use_wxdib"
16360 if test "x$cache" = xyes; then
16361 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16362 fi
16363
16364 if test x"$enablestring" = xdisable; then
16365 if test $wxUSE_DIB = yes; then
16366 result=no
16367 else
16368 result=yes
16369 fi
16370 else
16371 result=$wxUSE_DIB
16372 fi
16373
16374 { echo "$as_me:$LINENO: result: $result" >&5
16375 echo "${ECHO_T}$result" >&6; }
16376
16377
16378 fi
16379
16380
16381 echo "saving argument cache $wx_arg_cache_file"
16382 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16383
16384
16385
16386 { echo "$as_me:$LINENO: checking for toolkit" >&5
16387 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16388
16389 # In Wine, we need to default to MSW, not GTK or MOTIF
16390 if test "$wxUSE_WINE" = "yes"; then
16391 DEFAULT_DEFAULT_wxUSE_GTK=0
16392 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16393 DEFAULT_DEFAULT_wxUSE_MSW=1
16394 wxUSE_SHARED=no
16395 CC=${CC:-winegcc}
16396 CXX=${CXX:-wineg++}
16397 fi
16398
16399
16400 if test "$wxUSE_GUI" = "yes"; then
16401
16402 if test "$USE_BEOS" = 1; then
16403 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16404 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16405 { (exit 1); exit 1; }; }
16406 fi
16407
16408 if test "$TOOLKIT_GIVEN" = 1; then
16409 for toolkit in `echo $ALL_TOOLKITS`; do
16410 var=wxUSE_$toolkit
16411 eval "value=\$${var}"
16412 if test "x$value" = "xno"; then
16413 eval "$var=0"
16414 elif test "x$value" != "x"; then
16415 eval "$var=1"
16416 fi
16417
16418 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16419 eval "wx${toolkit}_VERSION=$value"
16420 fi
16421 done
16422 else
16423 for toolkit in `echo $ALL_TOOLKITS`; do
16424 if test "$has_toolkit_in_cache" != 1; then
16425 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16426 else
16427 var=DEFAULT_wxUSE_$toolkit
16428
16429 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16430 if test "x$version" != "x"; then
16431 eval "wx${toolkit}_VERSION=$version"
16432 fi
16433 fi
16434 eval "wxUSE_$toolkit=\$${var}"
16435 done
16436 fi
16437
16438 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16439 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16440 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16441
16442 case "${host}" in
16443 *-pc-os2_emx | *-pc-os2-emx )
16444 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16445 esac
16446
16447 case "$NUM_TOOLKITS" in
16448 1)
16449 ;;
16450 0)
16451 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16452 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16453 { (exit 1); exit 1; }; }
16454 ;;
16455 *)
16456 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16457 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16458 { (exit 1); exit 1; }; }
16459 esac
16460
16461 # to be removed when --disable-gtk2 isn't needed
16462 if test "x$wxUSE_GTK2" = "xyes"; then
16463 wxGTK_VERSION=2
16464 elif test "x$wxUSE_GTK2" = "xno"; then
16465 wxGTK_VERSION=1
16466 fi
16467
16468 for toolkit in `echo $ALL_TOOLKITS`; do
16469 var=wxUSE_$toolkit
16470 eval "value=\$${var}"
16471 if test "x$value" != x; then
16472 cache_var=CACHE_$toolkit
16473 eval "cache=\$${cache_var}"
16474 if test "$cache" = 1; then
16475 echo "$var=$value" >> ${wx_arg_cache_file}
16476 eval "version=\$wx${toolkit}_VERSION"
16477 if test "x$version" != "x"; then
16478 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16479 fi
16480 fi
16481 if test "$value" = 1; then
16482 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16483 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16484 echo "${ECHO_T}$toolkit_echo" >&6; }
16485 fi
16486 fi
16487 done
16488 else
16489 if test "x$host_alias" != "x"; then
16490 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16491 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16492 else
16493 { echo "$as_me:$LINENO: result: base only" >&5
16494 echo "${ECHO_T}base only" >&6; }
16495 fi
16496 fi
16497
16498
16499 cat >confcache <<\_ACEOF
16500 # This file is a shell script that caches the results of configure
16501 # tests run on this system so they can be shared between configure
16502 # scripts and configure runs, see configure's option --config-cache.
16503 # It is not useful on other systems. If it contains results you don't
16504 # want to keep, you may remove or edit it.
16505 #
16506 # config.status only pays attention to the cache file if you give it
16507 # the --recheck option to rerun configure.
16508 #
16509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16511 # following values.
16512
16513 _ACEOF
16514
16515 # The following way of writing the cache mishandles newlines in values,
16516 # but we know of no workaround that is simple, portable, and efficient.
16517 # So, we kill variables containing newlines.
16518 # Ultrix sh set writes to stderr and can't be redirected directly,
16519 # and sets the high bit in the cache file unless we assign to the vars.
16520 (
16521 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16522 eval ac_val=\$$ac_var
16523 case $ac_val in #(
16524 *${as_nl}*)
16525 case $ac_var in #(
16526 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16528 esac
16529 case $ac_var in #(
16530 _ | IFS | as_nl) ;; #(
16531 *) $as_unset $ac_var ;;
16532 esac ;;
16533 esac
16534 done
16535
16536 (set) 2>&1 |
16537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16538 *${as_nl}ac_space=\ *)
16539 # `set' does not quote correctly, so add quotes (double-quote
16540 # substitution turns \\\\ into \\, and sed turns \\ into \).
16541 sed -n \
16542 "s/'/'\\\\''/g;
16543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16544 ;; #(
16545 *)
16546 # `set' quotes correctly as required by POSIX, so do not add quotes.
16547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16548 ;;
16549 esac |
16550 sort
16551 ) |
16552 sed '
16553 /^ac_cv_env_/b end
16554 t clear
16555 :clear
16556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16557 t end
16558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16559 :end' >>confcache
16560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16561 if test -w "$cache_file"; then
16562 test "x$cache_file" != "x/dev/null" &&
16563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16564 echo "$as_me: updating cache $cache_file" >&6;}
16565 cat confcache >$cache_file
16566 else
16567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16568 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16569 fi
16570 fi
16571 rm -f confcache
16572
16573 CFLAGS=${CFLAGS:=}
16574
16575
16576
16577 ac_ext=c
16578 ac_cpp='$CPP $CPPFLAGS'
16579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_CC+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 if test -n "$CC"; then
16591 ac_cv_prog_CC="$CC" # Let the user override the test.
16592 else
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16595 do
16596 IFS=$as_save_IFS
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16602 break 2
16603 fi
16604 done
16605 done
16606 IFS=$as_save_IFS
16607
16608 fi
16609 fi
16610 CC=$ac_cv_prog_CC
16611 if test -n "$CC"; then
16612 { echo "$as_me:$LINENO: result: $CC" >&5
16613 echo "${ECHO_T}$CC" >&6; }
16614 else
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16617 fi
16618
16619
16620 fi
16621 if test -z "$ac_cv_prog_CC"; then
16622 ac_ct_CC=$CC
16623 # Extract the first word of "gcc", so it can be a program name with args.
16624 set dummy gcc; ac_word=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 else
16630 if test -n "$ac_ct_CC"; then
16631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16632 else
16633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16634 for as_dir in $PATH
16635 do
16636 IFS=$as_save_IFS
16637 test -z "$as_dir" && as_dir=.
16638 for ac_exec_ext in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_CC="gcc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16642 break 2
16643 fi
16644 done
16645 done
16646 IFS=$as_save_IFS
16647
16648 fi
16649 fi
16650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16651 if test -n "$ac_ct_CC"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16653 echo "${ECHO_T}$ac_ct_CC" >&6; }
16654 else
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16657 fi
16658
16659 if test "x$ac_ct_CC" = x; then
16660 CC=""
16661 else
16662 case $cross_compiling:$ac_tool_warned in
16663 yes:)
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned=yes ;;
16671 esac
16672 CC=$ac_ct_CC
16673 fi
16674 else
16675 CC="$ac_cv_prog_CC"
16676 fi
16677
16678 if test -z "$CC"; then
16679 if test -n "$ac_tool_prefix"; then
16680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16681 set dummy ${ac_tool_prefix}cc; ac_word=$2
16682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16684 if test "${ac_cv_prog_CC+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687 if test -n "$CC"; then
16688 ac_cv_prog_CC="$CC" # Let the user override the test.
16689 else
16690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16692 do
16693 IFS=$as_save_IFS
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16697 ac_cv_prog_CC="${ac_tool_prefix}cc"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16699 break 2
16700 fi
16701 done
16702 done
16703 IFS=$as_save_IFS
16704
16705 fi
16706 fi
16707 CC=$ac_cv_prog_CC
16708 if test -n "$CC"; then
16709 { echo "$as_me:$LINENO: result: $CC" >&5
16710 echo "${ECHO_T}$CC" >&6; }
16711 else
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16714 fi
16715
16716
16717 fi
16718 fi
16719 if test -z "$CC"; then
16720 # Extract the first word of "cc", so it can be a program name with args.
16721 set dummy cc; ac_word=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_CC+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 if test -n "$CC"; then
16728 ac_cv_prog_CC="$CC" # Let the user override the test.
16729 else
16730 ac_prog_rejected=no
16731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16732 for as_dir in $PATH
16733 do
16734 IFS=$as_save_IFS
16735 test -z "$as_dir" && as_dir=.
16736 for ac_exec_ext in '' $ac_executable_extensions; do
16737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16739 ac_prog_rejected=yes
16740 continue
16741 fi
16742 ac_cv_prog_CC="cc"
16743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16744 break 2
16745 fi
16746 done
16747 done
16748 IFS=$as_save_IFS
16749
16750 if test $ac_prog_rejected = yes; then
16751 # We found a bogon in the path, so make sure we never use it.
16752 set dummy $ac_cv_prog_CC
16753 shift
16754 if test $# != 0; then
16755 # We chose a different compiler from the bogus one.
16756 # However, it has the same basename, so the bogon will be chosen
16757 # first if we set CC to just the basename; use the full file name.
16758 shift
16759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16760 fi
16761 fi
16762 fi
16763 fi
16764 CC=$ac_cv_prog_CC
16765 if test -n "$CC"; then
16766 { echo "$as_me:$LINENO: result: $CC" >&5
16767 echo "${ECHO_T}$CC" >&6; }
16768 else
16769 { echo "$as_me:$LINENO: result: no" >&5
16770 echo "${ECHO_T}no" >&6; }
16771 fi
16772
16773
16774 fi
16775 if test -z "$CC"; then
16776 if test -n "$ac_tool_prefix"; then
16777 for ac_prog in cl.exe
16778 do
16779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16783 if test "${ac_cv_prog_CC+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 else
16786 if test -n "$CC"; then
16787 ac_cv_prog_CC="$CC" # Let the user override the test.
16788 else
16789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16790 for as_dir in $PATH
16791 do
16792 IFS=$as_save_IFS
16793 test -z "$as_dir" && as_dir=.
16794 for ac_exec_ext in '' $ac_executable_extensions; do
16795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16796 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16798 break 2
16799 fi
16800 done
16801 done
16802 IFS=$as_save_IFS
16803
16804 fi
16805 fi
16806 CC=$ac_cv_prog_CC
16807 if test -n "$CC"; then
16808 { echo "$as_me:$LINENO: result: $CC" >&5
16809 echo "${ECHO_T}$CC" >&6; }
16810 else
16811 { echo "$as_me:$LINENO: result: no" >&5
16812 echo "${ECHO_T}no" >&6; }
16813 fi
16814
16815
16816 test -n "$CC" && break
16817 done
16818 fi
16819 if test -z "$CC"; then
16820 ac_ct_CC=$CC
16821 for ac_prog in cl.exe
16822 do
16823 # Extract the first word of "$ac_prog", so it can be a program name with args.
16824 set dummy $ac_prog; ac_word=$2
16825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 if test -n "$ac_ct_CC"; then
16831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16832 else
16833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16834 for as_dir in $PATH
16835 do
16836 IFS=$as_save_IFS
16837 test -z "$as_dir" && as_dir=.
16838 for ac_exec_ext in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_ac_ct_CC="$ac_prog"
16841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16842 break 2
16843 fi
16844 done
16845 done
16846 IFS=$as_save_IFS
16847
16848 fi
16849 fi
16850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16851 if test -n "$ac_ct_CC"; then
16852 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16853 echo "${ECHO_T}$ac_ct_CC" >&6; }
16854 else
16855 { echo "$as_me:$LINENO: result: no" >&5
16856 echo "${ECHO_T}no" >&6; }
16857 fi
16858
16859
16860 test -n "$ac_ct_CC" && break
16861 done
16862
16863 if test "x$ac_ct_CC" = x; then
16864 CC=""
16865 else
16866 case $cross_compiling:$ac_tool_warned in
16867 yes:)
16868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16869 whose name does not start with the host triplet. If you think this
16870 configuration is useful to you, please write to autoconf@gnu.org." >&5
16871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16872 whose name does not start with the host triplet. If you think this
16873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16874 ac_tool_warned=yes ;;
16875 esac
16876 CC=$ac_ct_CC
16877 fi
16878 fi
16879
16880 fi
16881
16882
16883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16884 See \`config.log' for more details." >&5
16885 echo "$as_me: error: no acceptable C compiler found in \$PATH
16886 See \`config.log' for more details." >&2;}
16887 { (exit 1); exit 1; }; }
16888
16889 # Provide some information about the compiler.
16890 echo "$as_me:$LINENO: checking for C compiler version" >&5
16891 ac_compiler=`set X $ac_compile; echo $2`
16892 { (ac_try="$ac_compiler --version >&5"
16893 case "(($ac_try" in
16894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16895 *) ac_try_echo=$ac_try;;
16896 esac
16897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16898 (eval "$ac_compiler --version >&5") 2>&5
16899 ac_status=$?
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }
16902 { (ac_try="$ac_compiler -v >&5"
16903 case "(($ac_try" in
16904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16905 *) ac_try_echo=$ac_try;;
16906 esac
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_compiler -v >&5") 2>&5
16909 ac_status=$?
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }
16912 { (ac_try="$ac_compiler -V >&5"
16913 case "(($ac_try" in
16914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16916 esac
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_compiler -V >&5") 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }
16922
16923 cat >conftest.$ac_ext <<_ACEOF
16924 /* confdefs.h. */
16925 _ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929
16930 int
16931 main ()
16932 {
16933
16934 ;
16935 return 0;
16936 }
16937 _ACEOF
16938 ac_clean_files_save=$ac_clean_files
16939 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16940 # Try to create an executable without -o first, disregard a.out.
16941 # It will help us diagnose broken compilers, and finding out an intuition
16942 # of exeext.
16943 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16944 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16945 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16946 #
16947 # List of possible output files, starting from the most likely.
16948 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16949 # only as a last resort. b.out is created by i960 compilers.
16950 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16951 #
16952 # The IRIX 6 linker writes into existing files which may not be
16953 # executable, retaining their permissions. Remove them first so a
16954 # subsequent execution test works.
16955 ac_rmfiles=
16956 for ac_file in $ac_files
16957 do
16958 case $ac_file in
16959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16960 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16961 esac
16962 done
16963 rm -f $ac_rmfiles
16964
16965 if { (ac_try="$ac_link_default"
16966 case "(($ac_try" in
16967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16968 *) ac_try_echo=$ac_try;;
16969 esac
16970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16971 (eval "$ac_link_default") 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; then
16975 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16977 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16978 # so that the user can short-circuit this test for compilers unknown to
16979 # Autoconf.
16980 for ac_file in $ac_files ''
16981 do
16982 test -f "$ac_file" || continue
16983 case $ac_file in
16984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16985 ;;
16986 [ab].out )
16987 # We found the default executable, but exeext='' is most
16988 # certainly right.
16989 break;;
16990 *.* )
16991 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16992 then :; else
16993 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16994 fi
16995 # We set ac_cv_exeext here because the later test for it is not
16996 # safe: cross compilers may not add the suffix if given an `-o'
16997 # argument, so we may need to know it at that point already.
16998 # Even if this section looks crufty: it has the advantage of
16999 # actually working.
17000 break;;
17001 * )
17002 break;;
17003 esac
17004 done
17005 test "$ac_cv_exeext" = no && ac_cv_exeext=
17006
17007 else
17008 ac_file=''
17009 fi
17010
17011 { echo "$as_me:$LINENO: result: $ac_file" >&5
17012 echo "${ECHO_T}$ac_file" >&6; }
17013 if test -z "$ac_file"; then
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17016
17017 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17018 See \`config.log' for more details." >&5
17019 echo "$as_me: error: C compiler cannot create executables
17020 See \`config.log' for more details." >&2;}
17021 { (exit 77); exit 77; }; }
17022 fi
17023
17024 ac_exeext=$ac_cv_exeext
17025
17026 # Check that the compiler produces executables we can run. If not, either
17027 # the compiler is broken, or we cross compile.
17028 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17029 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17030 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17031 # If not cross compiling, check that we can run a simple program.
17032 if test "$cross_compiling" != yes; then
17033 if { ac_try='./$ac_file'
17034 { (case "(($ac_try" in
17035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17036 *) ac_try_echo=$ac_try;;
17037 esac
17038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17039 (eval "$ac_try") 2>&5
17040 ac_status=$?
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; }; then
17043 cross_compiling=no
17044 else
17045 if test "$cross_compiling" = maybe; then
17046 cross_compiling=yes
17047 else
17048 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17049 If you meant to cross compile, use \`--host'.
17050 See \`config.log' for more details." >&5
17051 echo "$as_me: error: cannot run C compiled programs.
17052 If you meant to cross compile, use \`--host'.
17053 See \`config.log' for more details." >&2;}
17054 { (exit 1); exit 1; }; }
17055 fi
17056 fi
17057 fi
17058 { echo "$as_me:$LINENO: result: yes" >&5
17059 echo "${ECHO_T}yes" >&6; }
17060
17061 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17062 ac_clean_files=$ac_clean_files_save
17063 # Check that the compiler produces executables we can run. If not, either
17064 # the compiler is broken, or we cross compile.
17065 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17066 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17067 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17068 echo "${ECHO_T}$cross_compiling" >&6; }
17069
17070 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17071 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17072 if { (ac_try="$ac_link"
17073 case "(($ac_try" in
17074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17075 *) ac_try_echo=$ac_try;;
17076 esac
17077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078 (eval "$ac_link") 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; then
17082 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17083 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17084 # work properly (i.e., refer to `conftest.exe'), while it won't with
17085 # `rm'.
17086 for ac_file in conftest.exe conftest conftest.*; do
17087 test -f "$ac_file" || continue
17088 case $ac_file in
17089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17090 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17091 break;;
17092 * ) break;;
17093 esac
17094 done
17095 else
17096 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17097 See \`config.log' for more details." >&5
17098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17099 See \`config.log' for more details." >&2;}
17100 { (exit 1); exit 1; }; }
17101 fi
17102
17103 rm -f conftest$ac_cv_exeext
17104 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17105 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17106
17107 rm -f conftest.$ac_ext
17108 EXEEXT=$ac_cv_exeext
17109 ac_exeext=$EXEEXT
17110 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17112 if test "${ac_cv_objext+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 else
17115 cat >conftest.$ac_ext <<_ACEOF
17116 /* confdefs.h. */
17117 _ACEOF
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121
17122 int
17123 main ()
17124 {
17125
17126 ;
17127 return 0;
17128 }
17129 _ACEOF
17130 rm -f conftest.o conftest.obj
17131 if { (ac_try="$ac_compile"
17132 case "(($ac_try" in
17133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17134 *) ac_try_echo=$ac_try;;
17135 esac
17136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17137 (eval "$ac_compile") 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; then
17141 for ac_file in conftest.o conftest.obj conftest.*; do
17142 test -f "$ac_file" || continue;
17143 case $ac_file in
17144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17145 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17146 break;;
17147 esac
17148 done
17149 else
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17154 See \`config.log' for more details." >&5
17155 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17156 See \`config.log' for more details." >&2;}
17157 { (exit 1); exit 1; }; }
17158 fi
17159
17160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17161 fi
17162 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17163 echo "${ECHO_T}$ac_cv_objext" >&6; }
17164 OBJEXT=$ac_cv_objext
17165 ac_objext=$OBJEXT
17166 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17167 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 else
17171 cat >conftest.$ac_ext <<_ACEOF
17172 /* confdefs.h. */
17173 _ACEOF
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177
17178 int
17179 main ()
17180 {
17181 #ifndef __GNUC__
17182 choke me
17183 #endif
17184
17185 ;
17186 return 0;
17187 }
17188 _ACEOF
17189 rm -f conftest.$ac_objext
17190 if { (ac_try="$ac_compile"
17191 case "(($ac_try" in
17192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17194 esac
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_compile") 2>conftest.er1
17197 ac_status=$?
17198 grep -v '^ *+' conftest.er1 >conftest.err
17199 rm -f conftest.er1
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } && {
17203 test -z "$ac_c_werror_flag" ||
17204 test ! -s conftest.err
17205 } && test -s conftest.$ac_objext; then
17206 ac_compiler_gnu=yes
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17210
17211 ac_compiler_gnu=no
17212 fi
17213
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17216
17217 fi
17218 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17219 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17220 GCC=`test $ac_compiler_gnu = yes && echo yes`
17221 ac_test_CFLAGS=${CFLAGS+set}
17222 ac_save_CFLAGS=$CFLAGS
17223 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17224 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17225 if test "${ac_cv_prog_cc_g+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 ac_save_c_werror_flag=$ac_c_werror_flag
17229 ac_c_werror_flag=yes
17230 ac_cv_prog_cc_g=no
17231 CFLAGS="-g"
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238
17239 int
17240 main ()
17241 {
17242
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17252 esac
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 ac_cv_prog_cc_g=yes
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 CFLAGS=""
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276
17277 int
17278 main ()
17279 {
17280
17281 ;
17282 return 0;
17283 }
17284 _ACEOF
17285 rm -f conftest.$ac_objext
17286 if { (ac_try="$ac_compile"
17287 case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17290 esac
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_compile") 2>conftest.er1
17293 ac_status=$?
17294 grep -v '^ *+' conftest.er1 >conftest.err
17295 rm -f conftest.er1
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && {
17299 test -z "$ac_c_werror_flag" ||
17300 test ! -s conftest.err
17301 } && test -s conftest.$ac_objext; then
17302 :
17303 else
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17306
17307 ac_c_werror_flag=$ac_save_c_werror_flag
17308 CFLAGS="-g"
17309 cat >conftest.$ac_ext <<_ACEOF
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315
17316 int
17317 main ()
17318 {
17319
17320 ;
17321 return 0;
17322 }
17323 _ACEOF
17324 rm -f conftest.$ac_objext
17325 if { (ac_try="$ac_compile"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17329 esac
17330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_compile") 2>conftest.er1
17332 ac_status=$?
17333 grep -v '^ *+' conftest.er1 >conftest.err
17334 rm -f conftest.er1
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest.$ac_objext; then
17341 ac_cv_prog_cc_g=yes
17342 else
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17345
17346
17347 fi
17348
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 fi
17351
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17353 fi
17354
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 ac_c_werror_flag=$ac_save_c_werror_flag
17357 fi
17358 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17360 if test "$ac_test_CFLAGS" = set; then
17361 CFLAGS=$ac_save_CFLAGS
17362 elif test $ac_cv_prog_cc_g = yes; then
17363 if test "$GCC" = yes; then
17364 CFLAGS="-g -O2"
17365 else
17366 CFLAGS="-g"
17367 fi
17368 else
17369 if test "$GCC" = yes; then
17370 CFLAGS="-O2"
17371 else
17372 CFLAGS=
17373 fi
17374 fi
17375 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17376 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_cc_c89+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17379 else
17380 ac_cv_prog_cc_c89=no
17381 ac_save_CC=$CC
17382 cat >conftest.$ac_ext <<_ACEOF
17383 /* confdefs.h. */
17384 _ACEOF
17385 cat confdefs.h >>conftest.$ac_ext
17386 cat >>conftest.$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17388 #include <stdarg.h>
17389 #include <stdio.h>
17390 #include <sys/types.h>
17391 #include <sys/stat.h>
17392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17393 struct buf { int x; };
17394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17395 static char *e (p, i)
17396 char **p;
17397 int i;
17398 {
17399 return p[i];
17400 }
17401 static char *f (char * (*g) (char **, int), char **p, ...)
17402 {
17403 char *s;
17404 va_list v;
17405 va_start (v,p);
17406 s = g (p, va_arg (v,int));
17407 va_end (v);
17408 return s;
17409 }
17410
17411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17412 function prototypes and stuff, but not '\xHH' hex character constants.
17413 These don't provoke an error unfortunately, instead are silently treated
17414 as 'x'. The following induces an error, until -std is added to get
17415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17416 array size at least. It's necessary to write '\x00'==0 to get something
17417 that's true only with -std. */
17418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17419
17420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17421 inside strings and character constants. */
17422 #define FOO(x) 'x'
17423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17424
17425 int test (int i, double x);
17426 struct s1 {int (*f) (int a);};
17427 struct s2 {int (*f) (double a);};
17428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17429 int argc;
17430 char **argv;
17431 int
17432 main ()
17433 {
17434 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17435 ;
17436 return 0;
17437 }
17438 _ACEOF
17439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17440 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17441 do
17442 CC="$ac_save_CC $ac_arg"
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17448 esac
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_c_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 ac_cv_prog_cc_c89=$ac_arg
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465
17466 fi
17467
17468 rm -f core conftest.err conftest.$ac_objext
17469 test "x$ac_cv_prog_cc_c89" != "xno" && break
17470 done
17471 rm -f conftest.$ac_ext
17472 CC=$ac_save_CC
17473
17474 fi
17475 # AC_CACHE_VAL
17476 case "x$ac_cv_prog_cc_c89" in
17477 x)
17478 { echo "$as_me:$LINENO: result: none needed" >&5
17479 echo "${ECHO_T}none needed" >&6; } ;;
17480 xno)
17481 { echo "$as_me:$LINENO: result: unsupported" >&5
17482 echo "${ECHO_T}unsupported" >&6; } ;;
17483 *)
17484 CC="$CC $ac_cv_prog_cc_c89"
17485 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17486 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17487 esac
17488
17489
17490 ac_ext=c
17491 ac_cpp='$CPP $CPPFLAGS'
17492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17495
17496
17497
17498
17499 ac_ext=c
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504
17505 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17506 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17507 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 else
17510 cat >conftest.$ac_ext <<_ACEOF
17511 /* confdefs.h. */
17512 _ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516
17517 int
17518 main ()
17519 {
17520
17521 #ifndef __INTEL_COMPILER
17522 choke me
17523 #endif
17524
17525 ;
17526 return 0;
17527 }
17528 _ACEOF
17529 rm -f conftest.$ac_objext
17530 if { (ac_try="$ac_compile"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17533 *) ac_try_echo=$ac_try;;
17534 esac
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_compile") 2>conftest.er1
17537 ac_status=$?
17538 grep -v '^ *+' conftest.er1 >conftest.err
17539 rm -f conftest.er1
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_c_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest.$ac_objext; then
17546 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17547 else
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17550
17551 bakefile_cv_c_compiler___INTEL_COMPILER=no
17552
17553 fi
17554
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556
17557
17558 fi
17559 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17560 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17561 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17562 :; INTELCC=yes
17563 else
17564 :;
17565 fi
17566 ac_ext=c
17567 ac_cpp='$CPP $CPPFLAGS'
17568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17571
17572
17573
17574
17575 if test "x$GCC" != "xyes"; then
17576 if test "xCC" = "xC"; then
17577 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17578 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17579 if test "${bakefile_cv_c_exto+set}" = set; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 else
17582 cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588
17589 int
17590 main ()
17591 {
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext conftest.$ac_ext.o
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; then
17603 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17604 case $ac_file in
17605 conftest.$ac_ext.o)
17606 bakefile_cv_c_exto="-ext o"
17607 ;;
17608 *)
17609 ;;
17610 esac
17611 done
17612 else
17613 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17614 See \`config.log' for more details." >&5
17615 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17616 See \`config.log' for more details." >&2;}
17617 { (exit 1); exit 1; }; }
17618
17619 fi
17620
17621 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17622
17623 fi
17624 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17625 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17627 if test "c" = "c"; then
17628 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17629 fi
17630 if test "c" = "cxx"; then
17631 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17632 fi
17633 fi
17634
17635 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17636 unset ac_cv_prog_cc_g
17637 ac_test_CFLAGS=${CFLAGS+set}
17638 ac_save_CFLAGS=$CFLAGS
17639 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17640 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17641 if test "${ac_cv_prog_cc_g+set}" = set; then
17642 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 else
17644 ac_save_c_werror_flag=$ac_c_werror_flag
17645 ac_c_werror_flag=yes
17646 ac_cv_prog_cc_g=no
17647 CFLAGS="-g"
17648 cat >conftest.$ac_ext <<_ACEOF
17649 /* confdefs.h. */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654
17655 int
17656 main ()
17657 {
17658
17659 ;
17660 return 0;
17661 }
17662 _ACEOF
17663 rm -f conftest.$ac_objext
17664 if { (ac_try="$ac_compile"
17665 case "(($ac_try" in
17666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17667 *) ac_try_echo=$ac_try;;
17668 esac
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_compile") 2>conftest.er1
17671 ac_status=$?
17672 grep -v '^ *+' conftest.er1 >conftest.err
17673 rm -f conftest.er1
17674 cat conftest.err >&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && {
17677 test -z "$ac_c_werror_flag" ||
17678 test ! -s conftest.err
17679 } && test -s conftest.$ac_objext; then
17680 ac_cv_prog_cc_g=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 CFLAGS=""
17686 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */
17688 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17692
17693 int
17694 main ()
17695 {
17696
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17718 :
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 ac_c_werror_flag=$ac_save_c_werror_flag
17724 CFLAGS="-g"
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731
17732 int
17733 main ()
17734 {
17735
17736 ;
17737 return 0;
17738 }
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (ac_try="$ac_compile"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17745 esac
17746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_compile") 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest.$ac_objext; then
17757 ac_cv_prog_cc_g=yes
17758 else
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5
17761
17762
17763 fi
17764
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17766 fi
17767
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769 fi
17770
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 ac_c_werror_flag=$ac_save_c_werror_flag
17773 fi
17774 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17775 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17776 if test "$ac_test_CFLAGS" = set; then
17777 CFLAGS=$ac_save_CFLAGS
17778 elif test $ac_cv_prog_cc_g = yes; then
17779 if test "$GCC" = yes; then
17780 CFLAGS="-g -O2"
17781 else
17782 CFLAGS="-g"
17783 fi
17784 else
17785 if test "$GCC" = yes; then
17786 CFLAGS="-O2"
17787 else
17788 CFLAGS=
17789 fi
17790 fi
17791 fi
17792 fi
17793
17794 case `uname -s` in
17795 AIX*)
17796
17797
17798 ac_ext=c
17799 ac_cpp='$CPP $CPPFLAGS'
17800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17803
17804 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17805 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17806 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17808 else
17809 cat >conftest.$ac_ext <<_ACEOF
17810 /* confdefs.h. */
17811 _ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815
17816 int
17817 main ()
17818 {
17819
17820 #ifndef __xlC__
17821 choke me
17822 #endif
17823
17824 ;
17825 return 0;
17826 }
17827 _ACEOF
17828 rm -f conftest.$ac_objext
17829 if { (ac_try="$ac_compile"
17830 case "(($ac_try" in
17831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17832 *) ac_try_echo=$ac_try;;
17833 esac
17834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17836 ac_status=$?
17837 grep -v '^ *+' conftest.er1 >conftest.err
17838 rm -f conftest.er1
17839 cat conftest.err >&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_c_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.$ac_objext; then
17845 bakefile_cv_c_compiler___xlC__=yes
17846 else
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17849
17850 bakefile_cv_c_compiler___xlC__=no
17851
17852 fi
17853
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17855
17856
17857 fi
17858 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17859 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17860 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17861 :; XLCC=yes
17862 else
17863 :;
17864 fi
17865 ac_ext=c
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870
17871
17872
17873 ;;
17874
17875 Darwin)
17876
17877
17878 ac_ext=c
17879 ac_cpp='$CPP $CPPFLAGS'
17880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17883
17884 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17885 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17886 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 else
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895
17896 int
17897 main ()
17898 {
17899
17900 #ifndef __MWERKS__
17901 choke me
17902 #endif
17903
17904 ;
17905 return 0;
17906 }
17907 _ACEOF
17908 rm -f conftest.$ac_objext
17909 if { (ac_try="$ac_compile"
17910 case "(($ac_try" in
17911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17913 esac
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_compile") 2>conftest.er1
17916 ac_status=$?
17917 grep -v '^ *+' conftest.er1 >conftest.err
17918 rm -f conftest.er1
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } && {
17922 test -z "$ac_c_werror_flag" ||
17923 test ! -s conftest.err
17924 } && test -s conftest.$ac_objext; then
17925 bakefile_cv_c_compiler___MWERKS__=yes
17926 else
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17929
17930 bakefile_cv_c_compiler___MWERKS__=no
17931
17932 fi
17933
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935
17936
17937 fi
17938 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17939 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17940 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17941 :; MWCC=yes
17942 else
17943 :;
17944 fi
17945 ac_ext=c
17946 ac_cpp='$CPP $CPPFLAGS'
17947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17950
17951
17952
17953
17954
17955 ac_ext=c
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960
17961 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17962 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17963 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 else
17966 cat >conftest.$ac_ext <<_ACEOF
17967 /* confdefs.h. */
17968 _ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17972
17973 int
17974 main ()
17975 {
17976
17977 #ifndef __xlC__
17978 choke me
17979 #endif
17980
17981 ;
17982 return 0;
17983 }
17984 _ACEOF
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17990 esac
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17993 ac_status=$?
17994 grep -v '^ *+' conftest.er1 >conftest.err
17995 rm -f conftest.er1
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 bakefile_cv_c_compiler___xlC__=yes
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18006
18007 bakefile_cv_c_compiler___xlC__=no
18008
18009 fi
18010
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012
18013
18014 fi
18015 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18016 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18017 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18018 :; XLCC=yes
18019 else
18020 :;
18021 fi
18022 ac_ext=c
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18027
18028
18029
18030 ;;
18031
18032 IRIX*)
18033
18034
18035 ac_ext=c
18036 ac_cpp='$CPP $CPPFLAGS'
18037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18040
18041 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18042 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18043 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18044 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 else
18046 cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h. */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052
18053 int
18054 main ()
18055 {
18056
18057 #ifndef _SGI_COMPILER_VERSION
18058 choke me
18059 #endif
18060
18061 ;
18062 return 0;
18063 }
18064 _ACEOF
18065 rm -f conftest.$ac_objext
18066 if { (ac_try="$ac_compile"
18067 case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18070 esac
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_compile") 2>conftest.er1
18073 ac_status=$?
18074 grep -v '^ *+' conftest.er1 >conftest.err
18075 rm -f conftest.er1
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest.$ac_objext; then
18082 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18083 else
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.$ac_ext >&5
18086
18087 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18088
18089 fi
18090
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092
18093
18094 fi
18095 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18096 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18097 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18098 :; SGICC=yes
18099 else
18100 :;
18101 fi
18102 ac_ext=c
18103 ac_cpp='$CPP $CPPFLAGS'
18104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18107
18108
18109
18110 ;;
18111
18112 Linux*)
18113
18114
18115 ac_ext=c
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120
18121 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18122 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 cat >conftest.$ac_ext <<_ACEOF
18127 /* confdefs.h. */
18128 _ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132
18133 int
18134 main ()
18135 {
18136
18137 #ifndef __SUNPRO_C
18138 choke me
18139 #endif
18140
18141 ;
18142 return 0;
18143 }
18144 _ACEOF
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18150 esac
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_c_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 bakefile_cv_c_compiler___SUNPRO_C=yes
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18166
18167 bakefile_cv_c_compiler___SUNPRO_C=no
18168
18169 fi
18170
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172
18173
18174 fi
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18176 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18177 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18178 :; SUNCC=yes
18179 else
18180 :;
18181 fi
18182 ac_ext=c
18183 ac_cpp='$CPP $CPPFLAGS'
18184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18187
18188
18189
18190 ;;
18191
18192 HP-UX*)
18193
18194
18195 ac_ext=c
18196 ac_cpp='$CPP $CPPFLAGS'
18197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18200
18201 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18202 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 else
18206 cat >conftest.$ac_ext <<_ACEOF
18207 /* confdefs.h. */
18208 _ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18212
18213 int
18214 main ()
18215 {
18216
18217 #ifndef __HP_cc
18218 choke me
18219 #endif
18220
18221 ;
18222 return 0;
18223 }
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18230 esac
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18233 ac_status=$?
18234 grep -v '^ *+' conftest.er1 >conftest.err
18235 rm -f conftest.er1
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_c_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 bakefile_cv_c_compiler___HP_cc=yes
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18246
18247 bakefile_cv_c_compiler___HP_cc=no
18248
18249 fi
18250
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252
18253
18254 fi
18255 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18256 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18257 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18258 :; HPCC=yes
18259 else
18260 :;
18261 fi
18262 ac_ext=c
18263 ac_cpp='$CPP $CPPFLAGS'
18264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18267
18268
18269
18270 ;;
18271
18272 OSF1)
18273
18274
18275 ac_ext=c
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18280
18281 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 else
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292
18293 int
18294 main ()
18295 {
18296
18297 #ifndef __DECC
18298 choke me
18299 #endif
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18313 ac_status=$?
18314 grep -v '^ *+' conftest.er1 >conftest.err
18315 rm -f conftest.er1
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_c_compiler___DECC=yes
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18326
18327 bakefile_cv_c_compiler___DECC=no
18328
18329 fi
18330
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332
18333
18334 fi
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18336 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18337 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18338 :; COMPAQCC=yes
18339 else
18340 :;
18341 fi
18342 ac_ext=c
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347
18348
18349
18350 ;;
18351
18352 SunOS)
18353
18354
18355 ac_ext=c
18356 ac_cpp='$CPP $CPPFLAGS'
18357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18360
18361 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18362 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18363 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 cat >conftest.$ac_ext <<_ACEOF
18367 /* confdefs.h. */
18368 _ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18372
18373 int
18374 main ()
18375 {
18376
18377 #ifndef __SUNPRO_C
18378 choke me
18379 #endif
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 bakefile_cv_c_compiler___SUNPRO_C=yes
18403 else
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 bakefile_cv_c_compiler___SUNPRO_C=no
18408
18409 fi
18410
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412
18413
18414 fi
18415 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18416 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18417 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18418 :; SUNCC=yes
18419 else
18420 :;
18421 fi
18422 ac_ext=c
18423 ac_cpp='$CPP $CPPFLAGS'
18424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18427
18428
18429
18430 ;;
18431 esac
18432 fi
18433
18434
18435
18436 ac_ext=c
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18441 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18442 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18443 # On Suns, sometimes $CPP names a directory.
18444 if test -n "$CPP" && test -d "$CPP"; then
18445 CPP=
18446 fi
18447 if test -z "$CPP"; then
18448 if test "${ac_cv_prog_CPP+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 else
18451 # Double quotes because CPP needs to be expanded
18452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18453 do
18454 ac_preproc_ok=false
18455 for ac_c_preproc_warn_flag in '' yes
18456 do
18457 # Use a header file that comes with gcc, so configuring glibc
18458 # with a fresh cross-compiler works.
18459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18460 # <limits.h> exists even on freestanding compilers.
18461 # On the NeXT, cc -E runs the code through the compiler's parser,
18462 # not just through cpp. "Syntax error" is here to catch this case.
18463 cat >conftest.$ac_ext <<_ACEOF
18464 /* confdefs.h. */
18465 _ACEOF
18466 cat confdefs.h >>conftest.$ac_ext
18467 cat >>conftest.$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18469 #ifdef __STDC__
18470 # include <limits.h>
18471 #else
18472 # include <assert.h>
18473 #endif
18474 Syntax error
18475 _ACEOF
18476 if { (ac_try="$ac_cpp conftest.$ac_ext"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480 esac
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } >/dev/null && {
18489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18491 }; then
18492 :
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 # Broken: fails on valid input.
18498 continue
18499 fi
18500
18501 rm -f conftest.err conftest.$ac_ext
18502
18503 # OK, works on sane cases. Now check whether nonexistent headers
18504 # can be detected and how.
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #include <ac_nonexistent.h>
18512 _ACEOF
18513 if { (ac_try="$ac_cpp conftest.$ac_ext"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18517 esac
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } >/dev/null && {
18526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18528 }; then
18529 # Broken: success on invalid input.
18530 continue
18531 else
18532 echo "$as_me: failed program was:" >&5
18533 sed 's/^/| /' conftest.$ac_ext >&5
18534
18535 # Passes both tests.
18536 ac_preproc_ok=:
18537 break
18538 fi
18539
18540 rm -f conftest.err conftest.$ac_ext
18541
18542 done
18543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18544 rm -f conftest.err conftest.$ac_ext
18545 if $ac_preproc_ok; then
18546 break
18547 fi
18548
18549 done
18550 ac_cv_prog_CPP=$CPP
18551
18552 fi
18553 CPP=$ac_cv_prog_CPP
18554 else
18555 ac_cv_prog_CPP=$CPP
18556 fi
18557 { echo "$as_me:$LINENO: result: $CPP" >&5
18558 echo "${ECHO_T}$CPP" >&6; }
18559 ac_preproc_ok=false
18560 for ac_c_preproc_warn_flag in '' yes
18561 do
18562 # Use a header file that comes with gcc, so configuring glibc
18563 # with a fresh cross-compiler works.
18564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18565 # <limits.h> exists even on freestanding compilers.
18566 # On the NeXT, cc -E runs the code through the compiler's parser,
18567 # not just through cpp. "Syntax error" is here to catch this case.
18568 cat >conftest.$ac_ext <<_ACEOF
18569 /* confdefs.h. */
18570 _ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 #ifdef __STDC__
18575 # include <limits.h>
18576 #else
18577 # include <assert.h>
18578 #endif
18579 Syntax error
18580 _ACEOF
18581 if { (ac_try="$ac_cpp conftest.$ac_ext"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18588 ac_status=$?
18589 grep -v '^ *+' conftest.er1 >conftest.err
18590 rm -f conftest.er1
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } >/dev/null && {
18594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18596 }; then
18597 :
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18601
18602 # Broken: fails on valid input.
18603 continue
18604 fi
18605
18606 rm -f conftest.err conftest.$ac_ext
18607
18608 # OK, works on sane cases. Now check whether nonexistent headers
18609 # can be detected and how.
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <ac_nonexistent.h>
18617 _ACEOF
18618 if { (ac_try="$ac_cpp conftest.$ac_ext"
18619 case "(($ac_try" in
18620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18621 *) ac_try_echo=$ac_try;;
18622 esac
18623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18625 ac_status=$?
18626 grep -v '^ *+' conftest.er1 >conftest.err
18627 rm -f conftest.er1
18628 cat conftest.err >&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } >/dev/null && {
18631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18632 test ! -s conftest.err
18633 }; then
18634 # Broken: success on invalid input.
18635 continue
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18639
18640 # Passes both tests.
18641 ac_preproc_ok=:
18642 break
18643 fi
18644
18645 rm -f conftest.err conftest.$ac_ext
18646
18647 done
18648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18649 rm -f conftest.err conftest.$ac_ext
18650 if $ac_preproc_ok; then
18651 :
18652 else
18653 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18654 See \`config.log' for more details." >&5
18655 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18656 See \`config.log' for more details." >&2;}
18657 { (exit 1); exit 1; }; }
18658 fi
18659
18660 ac_ext=c
18661 ac_cpp='$CPP $CPPFLAGS'
18662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18665
18666
18667 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18668 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18669 if test "${ac_cv_path_GREP+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18671 else
18672 # Extract the first word of "grep ggrep" to use in msg output
18673 if test -z "$GREP"; then
18674 set dummy grep ggrep; ac_prog_name=$2
18675 if test "${ac_cv_path_GREP+set}" = set; then
18676 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 else
18678 ac_path_GREP_found=false
18679 # Loop through the user's path and test for each of PROGNAME-LIST
18680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18682 do
18683 IFS=$as_save_IFS
18684 test -z "$as_dir" && as_dir=.
18685 for ac_prog in grep ggrep; do
18686 for ac_exec_ext in '' $ac_executable_extensions; do
18687 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18688 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18689 # Check for GNU ac_path_GREP and select it if it is found.
18690 # Check for GNU $ac_path_GREP
18691 case `"$ac_path_GREP" --version 2>&1` in
18692 *GNU*)
18693 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18694 *)
18695 ac_count=0
18696 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18697 while :
18698 do
18699 cat "conftest.in" "conftest.in" >"conftest.tmp"
18700 mv "conftest.tmp" "conftest.in"
18701 cp "conftest.in" "conftest.nl"
18702 echo 'GREP' >> "conftest.nl"
18703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18705 ac_count=`expr $ac_count + 1`
18706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18707 # Best one so far, save it but keep looking for a better one
18708 ac_cv_path_GREP="$ac_path_GREP"
18709 ac_path_GREP_max=$ac_count
18710 fi
18711 # 10*(2^10) chars as input seems more than enough
18712 test $ac_count -gt 10 && break
18713 done
18714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18715 esac
18716
18717
18718 $ac_path_GREP_found && break 3
18719 done
18720 done
18721
18722 done
18723 IFS=$as_save_IFS
18724
18725
18726 fi
18727
18728 GREP="$ac_cv_path_GREP"
18729 if test -z "$GREP"; then
18730 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18731 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18732 { (exit 1); exit 1; }; }
18733 fi
18734
18735 else
18736 ac_cv_path_GREP=$GREP
18737 fi
18738
18739
18740 fi
18741 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18742 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18743 GREP="$ac_cv_path_GREP"
18744
18745
18746 { echo "$as_me:$LINENO: checking for egrep" >&5
18747 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18748 if test "${ac_cv_path_EGREP+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 else
18751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18752 then ac_cv_path_EGREP="$GREP -E"
18753 else
18754 # Extract the first word of "egrep" to use in msg output
18755 if test -z "$EGREP"; then
18756 set dummy egrep; ac_prog_name=$2
18757 if test "${ac_cv_path_EGREP+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 else
18760 ac_path_EGREP_found=false
18761 # Loop through the user's path and test for each of PROGNAME-LIST
18762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18764 do
18765 IFS=$as_save_IFS
18766 test -z "$as_dir" && as_dir=.
18767 for ac_prog in egrep; do
18768 for ac_exec_ext in '' $ac_executable_extensions; do
18769 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18770 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18771 # Check for GNU ac_path_EGREP and select it if it is found.
18772 # Check for GNU $ac_path_EGREP
18773 case `"$ac_path_EGREP" --version 2>&1` in
18774 *GNU*)
18775 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18776 *)
18777 ac_count=0
18778 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18779 while :
18780 do
18781 cat "conftest.in" "conftest.in" >"conftest.tmp"
18782 mv "conftest.tmp" "conftest.in"
18783 cp "conftest.in" "conftest.nl"
18784 echo 'EGREP' >> "conftest.nl"
18785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18787 ac_count=`expr $ac_count + 1`
18788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18789 # Best one so far, save it but keep looking for a better one
18790 ac_cv_path_EGREP="$ac_path_EGREP"
18791 ac_path_EGREP_max=$ac_count
18792 fi
18793 # 10*(2^10) chars as input seems more than enough
18794 test $ac_count -gt 10 && break
18795 done
18796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18797 esac
18798
18799
18800 $ac_path_EGREP_found && break 3
18801 done
18802 done
18803
18804 done
18805 IFS=$as_save_IFS
18806
18807
18808 fi
18809
18810 EGREP="$ac_cv_path_EGREP"
18811 if test -z "$EGREP"; then
18812 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18813 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18814 { (exit 1); exit 1; }; }
18815 fi
18816
18817 else
18818 ac_cv_path_EGREP=$EGREP
18819 fi
18820
18821
18822 fi
18823 fi
18824 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18825 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18826 EGREP="$ac_cv_path_EGREP"
18827
18828
18829 if test $ac_cv_c_compiler_gnu = yes; then
18830 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18831 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18832 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18835 ac_pattern="Autoconf.*'x'"
18836 cat >conftest.$ac_ext <<_ACEOF
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 #include <sgtty.h>
18843 Autoconf TIOCGETP
18844 _ACEOF
18845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18846 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18847 ac_cv_prog_gcc_traditional=yes
18848 else
18849 ac_cv_prog_gcc_traditional=no
18850 fi
18851 rm -f conftest*
18852
18853
18854 if test $ac_cv_prog_gcc_traditional = no; then
18855 cat >conftest.$ac_ext <<_ACEOF
18856 /* confdefs.h. */
18857 _ACEOF
18858 cat confdefs.h >>conftest.$ac_ext
18859 cat >>conftest.$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 #include <termio.h>
18862 Autoconf TCGETA
18863 _ACEOF
18864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18865 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18866 ac_cv_prog_gcc_traditional=yes
18867 fi
18868 rm -f conftest*
18869
18870 fi
18871 fi
18872 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18873 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18874 if test $ac_cv_prog_gcc_traditional = yes; then
18875 CC="$CC -traditional"
18876 fi
18877 fi
18878
18879
18880 CXXFLAGS=${CXXFLAGS:=}
18881
18882
18883
18884 ac_ext=cpp
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889 if test -z "$CXX"; then
18890 if test -n "$CCC"; then
18891 CXX=$CCC
18892 else
18893 if test -n "$ac_tool_prefix"; then
18894 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18895 do
18896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18900 if test "${ac_cv_prog_CXX+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 else
18903 if test -n "$CXX"; then
18904 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18905 else
18906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18907 for as_dir in $PATH
18908 do
18909 IFS=$as_save_IFS
18910 test -z "$as_dir" && as_dir=.
18911 for ac_exec_ext in '' $ac_executable_extensions; do
18912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18913 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18915 break 2
18916 fi
18917 done
18918 done
18919 IFS=$as_save_IFS
18920
18921 fi
18922 fi
18923 CXX=$ac_cv_prog_CXX
18924 if test -n "$CXX"; then
18925 { echo "$as_me:$LINENO: result: $CXX" >&5
18926 echo "${ECHO_T}$CXX" >&6; }
18927 else
18928 { echo "$as_me:$LINENO: result: no" >&5
18929 echo "${ECHO_T}no" >&6; }
18930 fi
18931
18932
18933 test -n "$CXX" && break
18934 done
18935 fi
18936 if test -z "$CXX"; then
18937 ac_ct_CXX=$CXX
18938 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18939 do
18940 # Extract the first word of "$ac_prog", so it can be a program name with args.
18941 set dummy $ac_prog; ac_word=$2
18942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 else
18947 if test -n "$ac_ct_CXX"; then
18948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18949 else
18950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18951 for as_dir in $PATH
18952 do
18953 IFS=$as_save_IFS
18954 test -z "$as_dir" && as_dir=.
18955 for ac_exec_ext in '' $ac_executable_extensions; do
18956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18957 ac_cv_prog_ac_ct_CXX="$ac_prog"
18958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18959 break 2
18960 fi
18961 done
18962 done
18963 IFS=$as_save_IFS
18964
18965 fi
18966 fi
18967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18968 if test -n "$ac_ct_CXX"; then
18969 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18970 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18971 else
18972 { echo "$as_me:$LINENO: result: no" >&5
18973 echo "${ECHO_T}no" >&6; }
18974 fi
18975
18976
18977 test -n "$ac_ct_CXX" && break
18978 done
18979
18980 if test "x$ac_ct_CXX" = x; then
18981 CXX="g++"
18982 else
18983 case $cross_compiling:$ac_tool_warned in
18984 yes:)
18985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18986 whose name does not start with the host triplet. If you think this
18987 configuration is useful to you, please write to autoconf@gnu.org." >&5
18988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18989 whose name does not start with the host triplet. If you think this
18990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18991 ac_tool_warned=yes ;;
18992 esac
18993 CXX=$ac_ct_CXX
18994 fi
18995 fi
18996
18997 fi
18998 fi
18999 # Provide some information about the compiler.
19000 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19001 ac_compiler=`set X $ac_compile; echo $2`
19002 { (ac_try="$ac_compiler --version >&5"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19006 esac
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compiler --version >&5") 2>&5
19009 ac_status=$?
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }
19012 { (ac_try="$ac_compiler -v >&5"
19013 case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19016 esac
19017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_compiler -v >&5") 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }
19022 { (ac_try="$ac_compiler -V >&5"
19023 case "(($ac_try" in
19024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 *) ac_try_echo=$ac_try;;
19026 esac
19027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028 (eval "$ac_compiler -V >&5") 2>&5
19029 ac_status=$?
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }
19032
19033 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19034 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19035 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 else
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044
19045 int
19046 main ()
19047 {
19048 #ifndef __GNUC__
19049 choke me
19050 #endif
19051
19052 ;
19053 return 0;
19054 }
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19061 esac
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_cxx_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 ac_compiler_gnu=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19077
19078 ac_compiler_gnu=no
19079 fi
19080
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19083
19084 fi
19085 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19086 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19087 GXX=`test $ac_compiler_gnu = yes && echo yes`
19088 ac_test_CXXFLAGS=${CXXFLAGS+set}
19089 ac_save_CXXFLAGS=$CXXFLAGS
19090 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19091 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19092 if test "${ac_cv_prog_cxx_g+set}" = set; then
19093 echo $ECHO_N "(cached) $ECHO_C" >&6
19094 else
19095 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19096 ac_cxx_werror_flag=yes
19097 ac_cv_prog_cxx_g=no
19098 CXXFLAGS="-g"
19099 cat >conftest.$ac_ext <<_ACEOF
19100 /* confdefs.h. */
19101 _ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105
19106 int
19107 main ()
19108 {
19109
19110 ;
19111 return 0;
19112 }
19113 _ACEOF
19114 rm -f conftest.$ac_objext
19115 if { (ac_try="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19119 esac
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_cxx_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 ac_cv_prog_cxx_g=yes
19132 else
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19135
19136 CXXFLAGS=""
19137 cat >conftest.$ac_ext <<_ACEOF
19138 /* confdefs.h. */
19139 _ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19143
19144 int
19145 main ()
19146 {
19147
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_cxx_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 :
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19175 CXXFLAGS="-g"
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182
19183 int
19184 main ()
19185 {
19186
19187 ;
19188 return 0;
19189 }
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19196 esac
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19199 ac_status=$?
19200 grep -v '^ *+' conftest.er1 >conftest.err
19201 rm -f conftest.er1
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_cxx_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 ac_cv_prog_cxx_g=yes
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19212
19213
19214 fi
19215
19216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 fi
19218
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 fi
19221
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19224 fi
19225 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19226 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19227 if test "$ac_test_CXXFLAGS" = set; then
19228 CXXFLAGS=$ac_save_CXXFLAGS
19229 elif test $ac_cv_prog_cxx_g = yes; then
19230 if test "$GXX" = yes; then
19231 CXXFLAGS="-g -O2"
19232 else
19233 CXXFLAGS="-g"
19234 fi
19235 else
19236 if test "$GXX" = yes; then
19237 CXXFLAGS="-O2"
19238 else
19239 CXXFLAGS=
19240 fi
19241 fi
19242 ac_ext=c
19243 ac_cpp='$CPP $CPPFLAGS'
19244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19247
19248
19249
19250
19251 ac_ext=cpp
19252 ac_cpp='$CXXCPP $CPPFLAGS'
19253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19256
19257 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19258 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19259 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 else
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268
19269 int
19270 main ()
19271 {
19272
19273 #ifndef __INTEL_COMPILER
19274 choke me
19275 #endif
19276
19277 ;
19278 return 0;
19279 }
19280 _ACEOF
19281 rm -f conftest.$ac_objext
19282 if { (ac_try="$ac_compile"
19283 case "(($ac_try" in
19284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19285 *) ac_try_echo=$ac_try;;
19286 esac
19287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19288 (eval "$ac_compile") 2>conftest.er1
19289 ac_status=$?
19290 grep -v '^ *+' conftest.er1 >conftest.err
19291 rm -f conftest.er1
19292 cat conftest.err >&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } && {
19295 test -z "$ac_cxx_werror_flag" ||
19296 test ! -s conftest.err
19297 } && test -s conftest.$ac_objext; then
19298 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19299 else
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19302
19303 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19304
19305 fi
19306
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308
19309
19310 fi
19311 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19312 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19313 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19314 :; INTELCXX=yes
19315 else
19316 :;
19317 fi
19318 ac_ext=c
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19323
19324
19325
19326
19327 if test "x$GCXX" != "xyes"; then
19328 if test "xCXX" = "xC"; then
19329 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19330 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19331 if test "${bakefile_cv_c_exto+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334 cat >conftest.$ac_ext <<_ACEOF
19335 /* confdefs.h. */
19336 _ACEOF
19337 cat confdefs.h >>conftest.$ac_ext
19338 cat >>conftest.$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340
19341 int
19342 main ()
19343 {
19344
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 rm -f conftest.$ac_objext conftest.$ac_ext.o
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; then
19355 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19356 case $ac_file in
19357 conftest.$ac_ext.o)
19358 bakefile_cv_c_exto="-ext o"
19359 ;;
19360 *)
19361 ;;
19362 esac
19363 done
19364 else
19365 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19366 See \`config.log' for more details." >&5
19367 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19368 See \`config.log' for more details." >&2;}
19369 { (exit 1); exit 1; }; }
19370
19371 fi
19372
19373 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19374
19375 fi
19376 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19377 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19378 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19379 if test "c" = "c"; then
19380 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19381 fi
19382 if test "c" = "cxx"; then
19383 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19384 fi
19385 fi
19386
19387 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19388 unset ac_cv_prog_cc_g
19389 ac_test_CFLAGS=${CFLAGS+set}
19390 ac_save_CFLAGS=$CFLAGS
19391 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19392 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19393 if test "${ac_cv_prog_cc_g+set}" = set; then
19394 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 else
19396 ac_save_c_werror_flag=$ac_c_werror_flag
19397 ac_c_werror_flag=yes
19398 ac_cv_prog_cc_g=no
19399 CFLAGS="-g"
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406
19407 int
19408 main ()
19409 {
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19420 esac
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19423 ac_status=$?
19424 grep -v '^ *+' conftest.er1 >conftest.err
19425 rm -f conftest.er1
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_prog_cc_g=yes
19433 else
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19436
19437 CFLAGS=""
19438 cat >conftest.$ac_ext <<_ACEOF
19439 /* confdefs.h. */
19440 _ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19444
19445 int
19446 main ()
19447 {
19448
19449 ;
19450 return 0;
19451 }
19452 _ACEOF
19453 rm -f conftest.$ac_objext
19454 if { (ac_try="$ac_compile"
19455 case "(($ac_try" in
19456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19457 *) ac_try_echo=$ac_try;;
19458 esac
19459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19460 (eval "$ac_compile") 2>conftest.er1
19461 ac_status=$?
19462 grep -v '^ *+' conftest.er1 >conftest.err
19463 rm -f conftest.er1
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } && {
19467 test -z "$ac_c_werror_flag" ||
19468 test ! -s conftest.err
19469 } && test -s conftest.$ac_objext; then
19470 :
19471 else
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.$ac_ext >&5
19474
19475 ac_c_werror_flag=$ac_save_c_werror_flag
19476 CFLAGS="-g"
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483
19484 int
19485 main ()
19486 {
19487
19488 ;
19489 return 0;
19490 }
19491 _ACEOF
19492 rm -f conftest.$ac_objext
19493 if { (ac_try="$ac_compile"
19494 case "(($ac_try" in
19495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19496 *) ac_try_echo=$ac_try;;
19497 esac
19498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19499 (eval "$ac_compile") 2>conftest.er1
19500 ac_status=$?
19501 grep -v '^ *+' conftest.er1 >conftest.err
19502 rm -f conftest.er1
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } && {
19506 test -z "$ac_c_werror_flag" ||
19507 test ! -s conftest.err
19508 } && test -s conftest.$ac_objext; then
19509 ac_cv_prog_cc_g=yes
19510 else
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19513
19514
19515 fi
19516
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19518 fi
19519
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521 fi
19522
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 ac_c_werror_flag=$ac_save_c_werror_flag
19525 fi
19526 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19527 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19528 if test "$ac_test_CFLAGS" = set; then
19529 CFLAGS=$ac_save_CFLAGS
19530 elif test $ac_cv_prog_cc_g = yes; then
19531 if test "$GCC" = yes; then
19532 CFLAGS="-g -O2"
19533 else
19534 CFLAGS="-g"
19535 fi
19536 else
19537 if test "$GCC" = yes; then
19538 CFLAGS="-O2"
19539 else
19540 CFLAGS=
19541 fi
19542 fi
19543 fi
19544 fi
19545
19546 case `uname -s` in
19547 AIX*)
19548
19549
19550 ac_ext=cpp
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555
19556 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19557 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19558 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 else
19561 cat >conftest.$ac_ext <<_ACEOF
19562 /* confdefs.h. */
19563 _ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567
19568 int
19569 main ()
19570 {
19571
19572 #ifndef __xlC__
19573 choke me
19574 #endif
19575
19576 ;
19577 return 0;
19578 }
19579 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19585 esac
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19588 ac_status=$?
19589 grep -v '^ *+' conftest.er1 >conftest.err
19590 rm -f conftest.er1
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_cxx_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 bakefile_cv_cxx_compiler___xlC__=yes
19598 else
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19601
19602 bakefile_cv_cxx_compiler___xlC__=no
19603
19604 fi
19605
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19607
19608
19609 fi
19610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19611 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19612 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19613 :; XLCXX=yes
19614 else
19615 :;
19616 fi
19617 ac_ext=c
19618 ac_cpp='$CPP $CPPFLAGS'
19619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19622
19623
19624
19625 ;;
19626
19627 Darwin)
19628
19629
19630 ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635
19636 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19637 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19638 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 else
19641 cat >conftest.$ac_ext <<_ACEOF
19642 /* confdefs.h. */
19643 _ACEOF
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647
19648 int
19649 main ()
19650 {
19651
19652 #ifndef __MWERKS__
19653 choke me
19654 #endif
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19665 esac
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19668 ac_status=$?
19669 grep -v '^ *+' conftest.er1 >conftest.err
19670 rm -f conftest.er1
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_cxx_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 bakefile_cv_cxx_compiler___MWERKS__=yes
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 bakefile_cv_cxx_compiler___MWERKS__=no
19683
19684 fi
19685
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687
19688
19689 fi
19690 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19691 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19692 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19693 :; MWCXX=yes
19694 else
19695 :;
19696 fi
19697 ac_ext=c
19698 ac_cpp='$CPP $CPPFLAGS'
19699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19702
19703
19704
19705
19706
19707 ac_ext=cpp
19708 ac_cpp='$CXXCPP $CPPFLAGS'
19709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19712
19713 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19714 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19715 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 else
19718 cat >conftest.$ac_ext <<_ACEOF
19719 /* confdefs.h. */
19720 _ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724
19725 int
19726 main ()
19727 {
19728
19729 #ifndef __xlC__
19730 choke me
19731 #endif
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19742 esac
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19745 ac_status=$?
19746 grep -v '^ *+' conftest.er1 >conftest.err
19747 rm -f conftest.er1
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_cxx_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.$ac_objext; then
19754 bakefile_cv_cxx_compiler___xlC__=yes
19755 else
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19758
19759 bakefile_cv_cxx_compiler___xlC__=no
19760
19761 fi
19762
19763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764
19765
19766 fi
19767 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19768 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19769 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19770 :; XLCXX=yes
19771 else
19772 :;
19773 fi
19774 ac_ext=c
19775 ac_cpp='$CPP $CPPFLAGS'
19776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19779
19780
19781
19782 ;;
19783
19784 IRIX*)
19785
19786
19787 ac_ext=cpp
19788 ac_cpp='$CXXCPP $CPPFLAGS'
19789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19792
19793 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19794 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19795 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 else
19798 cat >conftest.$ac_ext <<_ACEOF
19799 /* confdefs.h. */
19800 _ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804
19805 int
19806 main ()
19807 {
19808
19809 #ifndef _SGI_COMPILER_VERSION
19810 choke me
19811 #endif
19812
19813 ;
19814 return 0;
19815 }
19816 _ACEOF
19817 rm -f conftest.$ac_objext
19818 if { (ac_try="$ac_compile"
19819 case "(($ac_try" in
19820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19821 *) ac_try_echo=$ac_try;;
19822 esac
19823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19824 (eval "$ac_compile") 2>conftest.er1
19825 ac_status=$?
19826 grep -v '^ *+' conftest.er1 >conftest.err
19827 rm -f conftest.er1
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } && {
19831 test -z "$ac_cxx_werror_flag" ||
19832 test ! -s conftest.err
19833 } && test -s conftest.$ac_objext; then
19834 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19835 else
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19838
19839 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19840
19841 fi
19842
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19844
19845
19846 fi
19847 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19848 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19849 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19850 :; SGICXX=yes
19851 else
19852 :;
19853 fi
19854 ac_ext=c
19855 ac_cpp='$CPP $CPPFLAGS'
19856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19859
19860
19861
19862 ;;
19863
19864 Linux*)
19865
19866
19867 ac_ext=cpp
19868 ac_cpp='$CXXCPP $CPPFLAGS'
19869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19872
19873 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19874 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19875 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 else
19878 cat >conftest.$ac_ext <<_ACEOF
19879 /* confdefs.h. */
19880 _ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884
19885 int
19886 main ()
19887 {
19888
19889 #ifndef __SUNPRO_CC
19890 choke me
19891 #endif
19892
19893 ;
19894 return 0;
19895 }
19896 _ACEOF
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19902 esac
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19905 ac_status=$?
19906 grep -v '^ *+' conftest.er1 >conftest.err
19907 rm -f conftest.er1
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_cxx_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19914 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19915 else
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19918
19919 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19920
19921 fi
19922
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19924
19925
19926 fi
19927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19929 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19930 :; SUNCXX=yes
19931 else
19932 :;
19933 fi
19934 ac_ext=c
19935 ac_cpp='$CPP $CPPFLAGS'
19936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19939
19940
19941
19942 ;;
19943
19944 HP-UX*)
19945
19946
19947 ac_ext=cpp
19948 ac_cpp='$CXXCPP $CPPFLAGS'
19949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19952
19953 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19954 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19955 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 else
19958 cat >conftest.$ac_ext <<_ACEOF
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964
19965 int
19966 main ()
19967 {
19968
19969 #ifndef __HP_aCC
19970 choke me
19971 #endif
19972
19973 ;
19974 return 0;
19975 }
19976 _ACEOF
19977 rm -f conftest.$ac_objext
19978 if { (ac_try="$ac_compile"
19979 case "(($ac_try" in
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19982 esac
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_compile") 2>conftest.er1
19985 ac_status=$?
19986 grep -v '^ *+' conftest.er1 >conftest.err
19987 rm -f conftest.er1
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } && {
19991 test -z "$ac_cxx_werror_flag" ||
19992 test ! -s conftest.err
19993 } && test -s conftest.$ac_objext; then
19994 bakefile_cv_cxx_compiler___HP_aCC=yes
19995 else
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
19998
19999 bakefile_cv_cxx_compiler___HP_aCC=no
20000
20001 fi
20002
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004
20005
20006 fi
20007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20009 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20010 :; HPCXX=yes
20011 else
20012 :;
20013 fi
20014 ac_ext=c
20015 ac_cpp='$CPP $CPPFLAGS'
20016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20019
20020
20021
20022 ;;
20023
20024 OSF1)
20025
20026
20027 ac_ext=cpp
20028 ac_cpp='$CXXCPP $CPPFLAGS'
20029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20032
20033 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20034 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20035 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 else
20038 cat >conftest.$ac_ext <<_ACEOF
20039 /* confdefs.h. */
20040 _ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20044
20045 int
20046 main ()
20047 {
20048
20049 #ifndef __DECCXX
20050 choke me
20051 #endif
20052
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20062 esac
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_cxx_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 bakefile_cv_cxx_compiler___DECCXX=yes
20075 else
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20078
20079 bakefile_cv_cxx_compiler___DECCXX=no
20080
20081 fi
20082
20083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20084
20085
20086 fi
20087 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20088 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20089 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20090 :; COMPAQCXX=yes
20091 else
20092 :;
20093 fi
20094 ac_ext=c
20095 ac_cpp='$CPP $CPPFLAGS'
20096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20099
20100
20101
20102 ;;
20103
20104 SunOS)
20105
20106
20107 ac_ext=cpp
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20112
20113 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20114 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20115 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 else
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124
20125 int
20126 main ()
20127 {
20128
20129 #ifndef __SUNPRO_CC
20130 choke me
20131 #endif
20132
20133 ;
20134 return 0;
20135 }
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20142 esac
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_cxx_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20155 else
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20158
20159 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20160
20161 fi
20162
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164
20165
20166 fi
20167 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20168 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20169 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20170 :; SUNCXX=yes
20171 else
20172 :;
20173 fi
20174 ac_ext=c
20175 ac_cpp='$CPP $CPPFLAGS'
20176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20179
20180
20181
20182 ;;
20183 esac
20184 fi
20185
20186
20187
20188 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20189 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20190 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20191 { (exit 1); exit 1; }; }
20192 fi
20193
20194 if test "x$SUNCXX" != xyes; then
20195 if test -n "$ac_tool_prefix"; then
20196 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20197 set dummy ${ac_tool_prefix}ar; ac_word=$2
20198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20200 if test "${ac_cv_prog_AR+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 else
20203 if test -n "$AR"; then
20204 ac_cv_prog_AR="$AR" # Let the user override the test.
20205 else
20206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20207 for as_dir in $PATH
20208 do
20209 IFS=$as_save_IFS
20210 test -z "$as_dir" && as_dir=.
20211 for ac_exec_ext in '' $ac_executable_extensions; do
20212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20213 ac_cv_prog_AR="${ac_tool_prefix}ar"
20214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20215 break 2
20216 fi
20217 done
20218 done
20219 IFS=$as_save_IFS
20220
20221 fi
20222 fi
20223 AR=$ac_cv_prog_AR
20224 if test -n "$AR"; then
20225 { echo "$as_me:$LINENO: result: $AR" >&5
20226 echo "${ECHO_T}$AR" >&6; }
20227 else
20228 { echo "$as_me:$LINENO: result: no" >&5
20229 echo "${ECHO_T}no" >&6; }
20230 fi
20231
20232
20233 fi
20234 if test -z "$ac_cv_prog_AR"; then
20235 ac_ct_AR=$AR
20236 # Extract the first word of "ar", so it can be a program name with args.
20237 set dummy ar; ac_word=$2
20238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20240 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 else
20243 if test -n "$ac_ct_AR"; then
20244 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20245 else
20246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20247 for as_dir in $PATH
20248 do
20249 IFS=$as_save_IFS
20250 test -z "$as_dir" && as_dir=.
20251 for ac_exec_ext in '' $ac_executable_extensions; do
20252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20253 ac_cv_prog_ac_ct_AR="ar"
20254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20255 break 2
20256 fi
20257 done
20258 done
20259 IFS=$as_save_IFS
20260
20261 fi
20262 fi
20263 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20264 if test -n "$ac_ct_AR"; then
20265 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20266 echo "${ECHO_T}$ac_ct_AR" >&6; }
20267 else
20268 { echo "$as_me:$LINENO: result: no" >&5
20269 echo "${ECHO_T}no" >&6; }
20270 fi
20271
20272 if test "x$ac_ct_AR" = x; then
20273 AR=""
20274 else
20275 case $cross_compiling:$ac_tool_warned in
20276 yes:)
20277 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20278 whose name does not start with the host triplet. If you think this
20279 configuration is useful to you, please write to autoconf@gnu.org." >&5
20280 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20281 whose name does not start with the host triplet. If you think this
20282 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20283 ac_tool_warned=yes ;;
20284 esac
20285 AR=$ac_ct_AR
20286 fi
20287 else
20288 AR="$ac_cv_prog_AR"
20289 fi
20290
20291 if test "x$AR" = "x" ; then
20292 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20293 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20294 { (exit 1); exit 1; }; }
20295 fi
20296 fi
20297
20298 retest_macosx_linking=no
20299
20300 #if test "$wxUSE_MAC" = 1; then
20301 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20302 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20303 # Implicitly turn on the new --with-macosx-sdk using the default
20304 # SDK which provides the behavior this option has always had.
20305 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20306 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20307 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20308 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20309 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20310 wxUSE_MACOSX_SDK=yes
20311 fi
20312 else
20313 # Complain to user if he specified an argument to --enable-universal_binary
20314 # and also 1) specified --with-macosx-sdk using the default (yes) or
20315 # 2) specified --with-macosx-sdk using a path or 3) specified
20316 # --without-macosx-sdk (no).
20317 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20318 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20319 See \`config.log' for more details." >&5
20320 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20321 See \`config.log' for more details." >&2;}
20322 { (exit 1); exit 1; }; }
20323 else
20324 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20325 # special-case the empty string because the below test simply
20326 # converts "no" to the empty string anyway.
20327 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20328 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20329 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20330 fi
20331 fi
20332 OSX_UNIV_OPTS="-arch ppc -arch i386"
20333 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20334 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20335 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20336 retest_macosx_linking=yes
20337
20338 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20339 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20340 bk_use_pch=no
20341 fi
20342 #fi
20343
20344 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20345 wxUSE_MACOSX_SDK=
20346 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20347 # TODO: Search for most recent SDK and use it.
20348 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20349 fi
20350
20351
20352 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20353 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20354 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20355 if ! test -d "$wxUSE_MACOSX_SDK"; then
20356 { { echo "$as_me:$LINENO: error: not found
20357 See \`config.log' for more details." >&5
20358 echo "$as_me: error: not found
20359 See \`config.log' for more details." >&2;}
20360 { (exit 1); exit 1; }; }
20361 else
20362 { echo "$as_me:$LINENO: result: exists" >&5
20363 echo "${ECHO_T}exists" >&6; }
20364 fi
20365 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20366 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20367 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20368 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20369 retest_macosx_linking=yes
20370 fi
20371
20372 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20373 wxUSE_MACOSX_VERSION_MIN=
20374 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20375 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20376 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20377 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20378
20379 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20380
20381 # If that failed, try again with the new key
20382 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20383
20384 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20385
20386 fi
20387
20388 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20389 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20390 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20391 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20392 else
20393 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20394 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20395 wxUSE_MACOSX_VERSION_MIN=
20396 fi
20397 else
20398 wxUSE_MACOSX_VERSION_MIN=
20399 fi
20400 fi
20401
20402 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20403 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20404 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20405 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20406 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20407 retest_macosx_linking=yes
20408 fi
20409
20410 if test "x$retest_macosx_linking" = "xyes"; then
20411 ac_ext=c
20412 ac_cpp='$CPP $CPPFLAGS'
20413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20416
20417 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20418 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20419 cat >conftest.$ac_ext <<_ACEOF
20420 /* confdefs.h. */
20421 _ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425
20426 int
20427 main ()
20428 {
20429
20430 ;
20431 return 0;
20432 }
20433 _ACEOF
20434 rm -f conftest.$ac_objext conftest$ac_exeext
20435 if { (ac_try="$ac_link"
20436 case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_link") 2>conftest.er1
20442 ac_status=$?
20443 grep -v '^ *+' conftest.er1 >conftest.err
20444 rm -f conftest.er1
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest$ac_exeext &&
20451 $as_test_x conftest$ac_exeext; then
20452 { echo "$as_me:$LINENO: result: yes" >&5
20453 echo "${ECHO_T}yes" >&6; }
20454 else
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20457
20458 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20459 See \`config.log' for more details." >&5
20460 echo "$as_me: error: no. Try a different SDK
20461 See \`config.log' for more details." >&2;}
20462 { (exit 1); exit 1; }; }; exit 1
20463 fi
20464
20465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20466 conftest$ac_exeext conftest.$ac_ext
20467 ac_ext=c
20468 ac_cpp='$CPP $CPPFLAGS'
20469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20472
20473
20474 ac_ext=cpp
20475 ac_cpp='$CXXCPP $CPPFLAGS'
20476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20479
20480 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20481 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
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 int
20490 main ()
20491 {
20492
20493 ;
20494 return 0;
20495 }
20496 _ACEOF
20497 rm -f conftest.$ac_objext conftest$ac_exeext
20498 if { (ac_try="$ac_link"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20502 esac
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_link") 2>conftest.er1
20505 ac_status=$?
20506 grep -v '^ *+' conftest.er1 >conftest.err
20507 rm -f conftest.er1
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_cxx_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest$ac_exeext &&
20514 $as_test_x conftest$ac_exeext; then
20515 { echo "$as_me:$LINENO: result: yes" >&5
20516 echo "${ECHO_T}yes" >&6; }
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20520
20521 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20522 See \`config.log' for more details." >&5
20523 echo "$as_me: error: no. Try a different SDK
20524 See \`config.log' for more details." >&2;}
20525 { (exit 1); exit 1; }; }; exit 1
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20529 conftest$ac_exeext conftest.$ac_ext
20530 ac_ext=c
20531 ac_cpp='$CPP $CPPFLAGS'
20532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20535
20536 fi
20537
20538
20539 case "${host}" in
20540
20541 *-*-darwin* )
20542 INSTALL_PROGRAM="cp -fp"
20543 INSTALL_DATA="cp -fp"
20544 ;;
20545 *)
20546 ;;
20547 esac
20548
20549
20550 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20551 CXXFLAGS="-qunique $CXXFLAGS"
20552 fi
20553
20554 case "${host}" in
20555 powerpc-*-darwin* )
20556 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20557 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20558 cat >conftest.$ac_ext <<_ACEOF
20559 /* confdefs.h. */
20560 _ACEOF
20561 cat confdefs.h >>conftest.$ac_ext
20562 cat >>conftest.$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20564
20565 int
20566 main ()
20567 {
20568 #ifndef __POWERPC__
20569 choke me for lack of PowerPC
20570 #endif
20571
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest.$ac_objext
20577 if { (ac_try="$ac_compile"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20581 esac
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_compile") 2>conftest.er1
20584 ac_status=$?
20585 grep -v '^ *+' conftest.er1 >conftest.err
20586 rm -f conftest.er1
20587 cat conftest.err >&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); } && {
20590 test -z "$ac_c_werror_flag" ||
20591 test ! -s conftest.err
20592 } && test -s conftest.$ac_objext; then
20593 { echo "$as_me:$LINENO: result: yes" >&5
20594 echo "${ECHO_T}yes" >&6; }
20595 else
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.$ac_ext >&5
20598
20599 { echo "$as_me:$LINENO: result: no" >&5
20600 echo "${ECHO_T}no" >&6; }
20601 cat >>confdefs.h <<\_ACEOF
20602 #define __POWERPC__ 1
20603 _ACEOF
20604
20605
20606 fi
20607
20608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20609 ;;
20610 esac
20611
20612 case "${host}" in
20613 *-*-darwin* )
20614 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20615 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 #include <CoreFoundation/CFBase.h>
20623
20624 int
20625 main ()
20626 {
20627
20628 ;
20629 return 0;
20630 }
20631 _ACEOF
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20637 esac
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20640 ac_status=$?
20641 grep -v '^ *+' conftest.er1 >conftest.err
20642 rm -f conftest.er1
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20649 { echo "$as_me:$LINENO: result: yes" >&5
20650 echo "${ECHO_T}yes" >&6; }
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 { echo "$as_me:$LINENO: result: no" >&5
20656 echo "${ECHO_T}no" >&6; }
20657 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20658 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 #define __CF_USE_FRAMEWORK_INCLUDES__
20666 #include <CoreFoundation/CFBase.h>
20667
20668 int
20669 main ()
20670 {
20671
20672 ;
20673 return 0;
20674 }
20675 _ACEOF
20676 rm -f conftest.$ac_objext
20677 if { (ac_try="$ac_compile"
20678 case "(($ac_try" in
20679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20680 *) ac_try_echo=$ac_try;;
20681 esac
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_compile") 2>conftest.er1
20684 ac_status=$?
20685 grep -v '^ *+' conftest.er1 >conftest.err
20686 rm -f conftest.er1
20687 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } && {
20690 test -z "$ac_c_werror_flag" ||
20691 test ! -s conftest.err
20692 } && test -s conftest.$ac_objext; then
20693 { echo "$as_me:$LINENO: result: yes" >&5
20694 echo "${ECHO_T}yes" >&6; }
20695 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20701 See \`config.log' for more details." >&5
20702 echo "$as_me: error: no. CoreFoundation not available.
20703 See \`config.log' for more details." >&2;}
20704 { (exit 1); exit 1; }; }
20705
20706 fi
20707
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20709
20710
20711 fi
20712
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20714 ;;
20715 esac
20716
20717 wants_win32=0
20718 doesnt_want_win32=0
20719 case "${host}" in
20720 *-*-cygwin*)
20721 if test "$wxUSE_MSW" = 1 ; then
20722 wants_win32=1
20723 else
20724 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20725 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20726 if test "${wx_cv_nocygwin+set}" = set; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20728 else
20729
20730 cat >conftest.$ac_ext <<_ACEOF
20731 /* confdefs.h. */
20732 _ACEOF
20733 cat confdefs.h >>conftest.$ac_ext
20734 cat >>conftest.$ac_ext <<_ACEOF
20735 /* end confdefs.h. */
20736
20737 int
20738 main ()
20739 {
20740
20741 #ifdef __MINGW32__
20742 choke me
20743 #endif
20744
20745 ;
20746 return 0;
20747 }
20748 _ACEOF
20749 rm -f conftest.$ac_objext
20750 if { (ac_try="$ac_compile"
20751 case "(($ac_try" in
20752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20753 *) ac_try_echo=$ac_try;;
20754 esac
20755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20756 (eval "$ac_compile") 2>conftest.er1
20757 ac_status=$?
20758 grep -v '^ *+' conftest.er1 >conftest.err
20759 rm -f conftest.er1
20760 cat conftest.err >&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); } && {
20763 test -z "$ac_c_werror_flag" ||
20764 test ! -s conftest.err
20765 } && test -s conftest.$ac_objext; then
20766 wx_cv_nocygwin=no
20767 else
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20770
20771 wx_cv_nocygwin=yes
20772
20773 fi
20774
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20776
20777
20778 fi
20779 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20780 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20781
20782 if test "$wx_cv_nocygwin" = "yes"; then
20783 wants_win32=1
20784 else
20785 doesnt_want_win32=1
20786 fi
20787 fi
20788 if test "$wants_win32" = 1 ; then
20789 BAKEFILE_FORCE_PLATFORM=win32
20790 fi
20791 ;;
20792 *-*-mingw*)
20793 wants_win32=1
20794 ;;
20795 esac
20796
20797 if test "$wxUSE_WINE" = "yes"; then
20798 wants_win32=1
20799 LDFLAGS_GUI="-mwindows"
20800 fi
20801
20802 if test "$wants_win32" = 1 ; then
20803 USE_UNIX=0
20804 USE_WIN32=1
20805 cat >>confdefs.h <<\_ACEOF
20806 #define __WIN32__ 1
20807 _ACEOF
20808
20809 cat >>confdefs.h <<\_ACEOF
20810 #define __WIN95__ 1
20811 _ACEOF
20812
20813 cat >>confdefs.h <<\_ACEOF
20814 #define __WINDOWS__ 1
20815 _ACEOF
20816
20817 cat >>confdefs.h <<\_ACEOF
20818 #define __GNUWIN32__ 1
20819 _ACEOF
20820
20821 cat >>confdefs.h <<\_ACEOF
20822 #define STRICT 1
20823 _ACEOF
20824
20825 fi
20826 if test "$doesnt_want_win32" = 1 ; then
20827 USE_UNIX=1
20828 USE_WIN32=0
20829 fi
20830
20831 if test "$USE_UNIX" = 1 ; then
20832 wxUSE_UNIX=yes
20833 cat >>confdefs.h <<\_ACEOF
20834 #define __UNIX__ 1
20835 _ACEOF
20836
20837 fi
20838
20839 case "${host}" in
20840 *-pc-os2_emx | *-pc-os2-emx )
20841 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20842 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20843 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20844 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20845 echo $ECHO_N "(cached) $ECHO_C" >&6
20846 else
20847 ac_check_lib_save_LIBS=$LIBS
20848 LIBS="-lcExt $LIBS"
20849 cat >conftest.$ac_ext <<_ACEOF
20850 /* confdefs.h. */
20851 _ACEOF
20852 cat confdefs.h >>conftest.$ac_ext
20853 cat >>conftest.$ac_ext <<_ACEOF
20854 /* end confdefs.h. */
20855
20856 /* Override any GCC internal prototype to avoid an error.
20857 Use char because int might match the return type of a GCC
20858 builtin and then its argument prototype would still apply. */
20859 #ifdef __cplusplus
20860 extern "C"
20861 #endif
20862 char drand48 ();
20863 int
20864 main ()
20865 {
20866 return drand48 ();
20867 ;
20868 return 0;
20869 }
20870 _ACEOF
20871 rm -f conftest.$ac_objext conftest$ac_exeext
20872 if { (ac_try="$ac_link"
20873 case "(($ac_try" in
20874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20875 *) ac_try_echo=$ac_try;;
20876 esac
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_link") 2>conftest.er1
20879 ac_status=$?
20880 grep -v '^ *+' conftest.er1 >conftest.err
20881 rm -f conftest.er1
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } && {
20885 test -z "$ac_c_werror_flag" ||
20886 test ! -s conftest.err
20887 } && test -s conftest$ac_exeext &&
20888 $as_test_x conftest$ac_exeext; then
20889 ac_cv_lib_cExt_drand48=yes
20890 else
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20893
20894 ac_cv_lib_cExt_drand48=no
20895 fi
20896
20897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20898 conftest$ac_exeext conftest.$ac_ext
20899 LIBS=$ac_check_lib_save_LIBS
20900 fi
20901 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20902 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20903 if test $ac_cv_lib_cExt_drand48 = yes; then
20904 LIBS="$LIBS -lcExt"
20905 fi
20906
20907 else
20908 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20909 fi
20910 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20911 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20912 if test "${wx_cv_gccversion+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20914 else
20915
20916 if test "$cross_compiling" = yes; then
20917 wx_cv_gccversion="EMX2"
20918
20919 else
20920 cat >conftest.$ac_ext <<_ACEOF
20921 /* confdefs.h. */
20922 _ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926
20927 #include <stdio.h>
20928
20929 int main()
20930 {
20931 FILE *f=fopen("conftestval", "w");
20932 if (!f) exit(1);
20933 fprintf(f,
20934 #if (__GNUC__ < 3)
20935 "EMX2"
20936 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20937 "EMX3"
20938 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20939 "Innotek5"
20940 #else
20941 "Innotek6"
20942 #endif
20943 );
20944 exit(0);
20945 }
20946
20947 _ACEOF
20948 rm -f conftest$ac_exeext
20949 if { (ac_try="$ac_link"
20950 case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20953 esac
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_link") 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20959 { (case "(($ac_try" in
20960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20961 *) ac_try_echo=$ac_try;;
20962 esac
20963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20964 (eval "$ac_try") 2>&5
20965 ac_status=$?
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 wx_cv_gccversion=`cat conftestval`
20969 else
20970 echo "$as_me: program exited with status $ac_status" >&5
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20973
20974 ( exit $ac_status )
20975 wx_cv_gccversion="EMX2"
20976 fi
20977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20978 fi
20979
20980
20981
20982 fi
20983 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20984 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20985 if test "$wx_cv_gccversion" = "EMX2"; then
20986 LIBS="$LIBS -lstdcpp"
20987 LDFLAGS="$LDFLAGS -Zsysv-signals"
20988 else
20989 if test "$wx_cv_gccversion" = "EMX3"; then
20990 LIBS="$LIBS -lstdcxx -lgcc"
20991 LDFLAGS="$LDFLAGS -Zsysv-signals"
20992 else
20993 LIBS="$LIBS -lstdc++"
20994 fi
20995 fi
20996 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20997 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20998 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20999 wxUSE_OMF=yes
21000 enable_omf=yes
21001 fi
21002 ;;
21003 *)
21004
21005 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21006 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21007 if test "${ac_cv_string_strcasecmp+set}" = set; then
21008 echo $ECHO_N "(cached) $ECHO_C" >&6
21009 else
21010
21011 cat >conftest.$ac_ext <<_ACEOF
21012 /* confdefs.h. */
21013 _ACEOF
21014 cat confdefs.h >>conftest.$ac_ext
21015 cat >>conftest.$ac_ext <<_ACEOF
21016 /* end confdefs.h. */
21017
21018 #include <string.h>
21019
21020 int
21021 main ()
21022 {
21023
21024 strcasecmp("foo", "bar");
21025
21026 ;
21027 return 0;
21028 }
21029 _ACEOF
21030 rm -f conftest.$ac_objext conftest$ac_exeext
21031 if { (ac_try="$ac_link"
21032 case "(($ac_try" in
21033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21035 esac
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_link") 2>conftest.er1
21038 ac_status=$?
21039 grep -v '^ *+' conftest.er1 >conftest.err
21040 rm -f conftest.er1
21041 cat conftest.err >&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } && {
21044 test -z "$ac_c_werror_flag" ||
21045 test ! -s conftest.err
21046 } && test -s conftest$ac_exeext &&
21047 $as_test_x conftest$ac_exeext; then
21048 ac_cv_string_strcasecmp=yes
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 ac_cv_string_strcasecmp=no
21054
21055 fi
21056
21057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21058 conftest$ac_exeext conftest.$ac_ext
21059
21060 fi
21061 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21062 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21063
21064 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21065 cat >>confdefs.h <<\_ACEOF
21066 #define HAVE_STRCASECMP_IN_STRING_H 1
21067 _ACEOF
21068
21069 else
21070 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21071 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21072 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 else
21075
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082
21083 #include <strings.h>
21084
21085 int
21086 main ()
21087 {
21088
21089 strcasecmp("foo", "bar");
21090
21091 ;
21092 return 0;
21093 }
21094 _ACEOF
21095 rm -f conftest.$ac_objext conftest$ac_exeext
21096 if { (ac_try="$ac_link"
21097 case "(($ac_try" in
21098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21099 *) ac_try_echo=$ac_try;;
21100 esac
21101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21102 (eval "$ac_link") 2>conftest.er1
21103 ac_status=$?
21104 grep -v '^ *+' conftest.er1 >conftest.err
21105 rm -f conftest.er1
21106 cat conftest.err >&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); } && {
21109 test -z "$ac_c_werror_flag" ||
21110 test ! -s conftest.err
21111 } && test -s conftest$ac_exeext &&
21112 $as_test_x conftest$ac_exeext; then
21113 ac_cv_strings_strcasecmp=yes
21114 else
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21117
21118 ac_cv_strings_strcasecmp=no
21119
21120 fi
21121
21122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21123 conftest$ac_exeext conftest.$ac_ext
21124
21125 fi
21126 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21127 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21128
21129 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21130 cat >>confdefs.h <<\_ACEOF
21131 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21132 _ACEOF
21133
21134 else
21135 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21136 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21137 { (exit 1); exit 1; }; }
21138 fi
21139 fi
21140
21141 ;;
21142 esac
21143
21144
21145 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21147 if test "${ac_cv_header_stdc+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 #include <stdlib.h>
21157 #include <stdarg.h>
21158 #include <string.h>
21159 #include <float.h>
21160
21161 int
21162 main ()
21163 {
21164
21165 ;
21166 return 0;
21167 }
21168 _ACEOF
21169 rm -f conftest.$ac_objext
21170 if { (ac_try="$ac_compile"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21174 esac
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_compile") 2>conftest.er1
21177 ac_status=$?
21178 grep -v '^ *+' conftest.er1 >conftest.err
21179 rm -f conftest.er1
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest.$ac_objext; then
21186 ac_cv_header_stdc=yes
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 ac_cv_header_stdc=no
21192 fi
21193
21194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195
21196 if test $ac_cv_header_stdc = yes; then
21197 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 #include <string.h>
21205
21206 _ACEOF
21207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21208 $EGREP "memchr" >/dev/null 2>&1; then
21209 :
21210 else
21211 ac_cv_header_stdc=no
21212 fi
21213 rm -f conftest*
21214
21215 fi
21216
21217 if test $ac_cv_header_stdc = yes; then
21218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21219 cat >conftest.$ac_ext <<_ACEOF
21220 /* confdefs.h. */
21221 _ACEOF
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 #include <stdlib.h>
21226
21227 _ACEOF
21228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21229 $EGREP "free" >/dev/null 2>&1; then
21230 :
21231 else
21232 ac_cv_header_stdc=no
21233 fi
21234 rm -f conftest*
21235
21236 fi
21237
21238 if test $ac_cv_header_stdc = yes; then
21239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21240 if test "$cross_compiling" = yes; then
21241 :
21242 else
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 #include <ctype.h>
21250 #include <stdlib.h>
21251 #if ((' ' & 0x0FF) == 0x020)
21252 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21253 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21254 #else
21255 # define ISLOWER(c) \
21256 (('a' <= (c) && (c) <= 'i') \
21257 || ('j' <= (c) && (c) <= 'r') \
21258 || ('s' <= (c) && (c) <= 'z'))
21259 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21260 #endif
21261
21262 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21263 int
21264 main ()
21265 {
21266 int i;
21267 for (i = 0; i < 256; i++)
21268 if (XOR (islower (i), ISLOWER (i))
21269 || toupper (i) != TOUPPER (i))
21270 return 2;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest$ac_exeext
21275 if { (ac_try="$ac_link"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21279 esac
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_link") 2>&5
21282 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21285 { (case "(($ac_try" in
21286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21287 *) ac_try_echo=$ac_try;;
21288 esac
21289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21290 (eval "$ac_try") 2>&5
21291 ac_status=$?
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 :
21295 else
21296 echo "$as_me: program exited with status $ac_status" >&5
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 ( exit $ac_status )
21301 ac_cv_header_stdc=no
21302 fi
21303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21304 fi
21305
21306
21307 fi
21308 fi
21309 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21310 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21311 if test $ac_cv_header_stdc = yes; then
21312
21313 cat >>confdefs.h <<\_ACEOF
21314 #define STDC_HEADERS 1
21315 _ACEOF
21316
21317 fi
21318
21319 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21330 inttypes.h stdint.h unistd.h
21331 do
21332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 else
21338 cat >conftest.$ac_ext <<_ACEOF
21339 /* confdefs.h. */
21340 _ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345
21346 #include <$ac_header>
21347 _ACEOF
21348 rm -f conftest.$ac_objext
21349 if { (ac_try="$ac_compile"
21350 case "(($ac_try" in
21351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352 *) ac_try_echo=$ac_try;;
21353 esac
21354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21355 (eval "$ac_compile") 2>conftest.er1
21356 ac_status=$?
21357 grep -v '^ *+' conftest.er1 >conftest.err
21358 rm -f conftest.er1
21359 cat conftest.err >&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); } && {
21362 test -z "$ac_c_werror_flag" ||
21363 test ! -s conftest.err
21364 } && test -s conftest.$ac_objext; then
21365 eval "$as_ac_Header=yes"
21366 else
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21369
21370 eval "$as_ac_Header=no"
21371 fi
21372
21373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21374 fi
21375 ac_res=`eval echo '${'$as_ac_Header'}'`
21376 { echo "$as_me:$LINENO: result: $ac_res" >&5
21377 echo "${ECHO_T}$ac_res" >&6; }
21378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21379 cat >>confdefs.h <<_ACEOF
21380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21381 _ACEOF
21382
21383 fi
21384
21385 done
21386
21387
21388
21389
21390
21391
21392
21393
21394 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21395 do
21396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 else
21402 cat >conftest.$ac_ext <<_ACEOF
21403 /* confdefs.h. */
21404 _ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21409
21410 #include <$ac_header>
21411 _ACEOF
21412 rm -f conftest.$ac_objext
21413 if { (ac_try="$ac_compile"
21414 case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21416 *) ac_try_echo=$ac_try;;
21417 esac
21418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
21420 ac_status=$?
21421 grep -v '^ *+' conftest.er1 >conftest.err
21422 rm -f conftest.er1
21423 cat conftest.err >&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.$ac_objext; then
21429 eval "$as_ac_Header=yes"
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 eval "$as_ac_Header=no"
21435 fi
21436
21437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21438 fi
21439 ac_res=`eval echo '${'$as_ac_Header'}'`
21440 { echo "$as_me:$LINENO: result: $ac_res" >&5
21441 echo "${ECHO_T}$ac_res" >&6; }
21442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21443 cat >>confdefs.h <<_ACEOF
21444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21445 _ACEOF
21446
21447 fi
21448
21449 done
21450
21451
21452 if test "$ac_cv_header_wchar_h" != "yes"; then
21453
21454 for ac_header in wcstr.h
21455 do
21456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 else
21462 cat >conftest.$ac_ext <<_ACEOF
21463 /* confdefs.h. */
21464 _ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 $ac_includes_default
21469
21470 #include <$ac_header>
21471 _ACEOF
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21477 esac
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21489 eval "$as_ac_Header=yes"
21490 else
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21493
21494 eval "$as_ac_Header=no"
21495 fi
21496
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 fi
21499 ac_res=`eval echo '${'$as_ac_Header'}'`
21500 { echo "$as_me:$LINENO: result: $ac_res" >&5
21501 echo "${ECHO_T}$ac_res" >&6; }
21502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21503 cat >>confdefs.h <<_ACEOF
21504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21505 _ACEOF
21506
21507 fi
21508
21509 done
21510
21511 fi
21512
21513 case "${host}" in
21514 *-pc-os2_emx | *-pc-os2-emx )
21515 if test $ac_cv_header_langinfo_h = "yes" \
21516 -a \( "$wx_cv_gccversion" = "EMX2" \
21517 -o "$wx_cv_gccversion" = "EMX3" \
21518 -o "$wx_cv_gccversion" = "Innotek5" \); then
21519 LIBS="$LIBS -lintl"
21520 fi
21521 ;;
21522 esac
21523
21524 if test "$USE_UNIX" = 1 ; then
21525
21526 for ac_header in sys/select.h
21527 do
21528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21533 else
21534 cat >conftest.$ac_ext <<_ACEOF
21535 /* confdefs.h. */
21536 _ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540 $ac_includes_default
21541
21542 #include <$ac_header>
21543 _ACEOF
21544 rm -f conftest.$ac_objext
21545 if { (ac_try="$ac_compile"
21546 case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21549 esac
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_compile") 2>conftest.er1
21552 ac_status=$?
21553 grep -v '^ *+' conftest.er1 >conftest.err
21554 rm -f conftest.er1
21555 cat conftest.err >&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } && {
21558 test -z "$ac_c_werror_flag" ||
21559 test ! -s conftest.err
21560 } && test -s conftest.$ac_objext; then
21561 eval "$as_ac_Header=yes"
21562 else
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21565
21566 eval "$as_ac_Header=no"
21567 fi
21568
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570 fi
21571 ac_res=`eval echo '${'$as_ac_Header'}'`
21572 { echo "$as_me:$LINENO: result: $ac_res" >&5
21573 echo "${ECHO_T}$ac_res" >&6; }
21574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21575 cat >>confdefs.h <<_ACEOF
21576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21577 _ACEOF
21578
21579 fi
21580
21581 done
21582
21583 fi
21584
21585
21586 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21587 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21588 if test "${ac_cv_c_const+set}" = set; then
21589 echo $ECHO_N "(cached) $ECHO_C" >&6
21590 else
21591 cat >conftest.$ac_ext <<_ACEOF
21592 /* confdefs.h. */
21593 _ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597
21598 int
21599 main ()
21600 {
21601 /* FIXME: Include the comments suggested by Paul. */
21602 #ifndef __cplusplus
21603 /* Ultrix mips cc rejects this. */
21604 typedef int charset[2];
21605 const charset cs;
21606 /* SunOS 4.1.1 cc rejects this. */
21607 char const *const *pcpcc;
21608 char **ppc;
21609 /* NEC SVR4.0.2 mips cc rejects this. */
21610 struct point {int x, y;};
21611 static struct point const zero = {0,0};
21612 /* AIX XL C 1.02.0.0 rejects this.
21613 It does not let you subtract one const X* pointer from another in
21614 an arm of an if-expression whose if-part is not a constant
21615 expression */
21616 const char *g = "string";
21617 pcpcc = &g + (g ? g-g : 0);
21618 /* HPUX 7.0 cc rejects these. */
21619 ++pcpcc;
21620 ppc = (char**) pcpcc;
21621 pcpcc = (char const *const *) ppc;
21622 { /* SCO 3.2v4 cc rejects this. */
21623 char *t;
21624 char const *s = 0 ? (char *) 0 : (char const *) 0;
21625
21626 *t++ = 0;
21627 if (s) return 0;
21628 }
21629 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21630 int x[] = {25, 17};
21631 const int *foo = &x[0];
21632 ++foo;
21633 }
21634 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21635 typedef const int *iptr;
21636 iptr p = 0;
21637 ++p;
21638 }
21639 { /* AIX XL C 1.02.0.0 rejects this saying
21640 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21641 struct s { int j; const int *ap[3]; };
21642 struct s *b; b->j = 5;
21643 }
21644 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21645 const int foo = 10;
21646 if (!foo) return 0;
21647 }
21648 return !cs[0] && !zero.x;
21649 #endif
21650
21651 ;
21652 return 0;
21653 }
21654 _ACEOF
21655 rm -f conftest.$ac_objext
21656 if { (ac_try="$ac_compile"
21657 case "(($ac_try" in
21658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21659 *) ac_try_echo=$ac_try;;
21660 esac
21661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21662 (eval "$ac_compile") 2>conftest.er1
21663 ac_status=$?
21664 grep -v '^ *+' conftest.er1 >conftest.err
21665 rm -f conftest.er1
21666 cat conftest.err >&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } && {
21669 test -z "$ac_c_werror_flag" ||
21670 test ! -s conftest.err
21671 } && test -s conftest.$ac_objext; then
21672 ac_cv_c_const=yes
21673 else
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.$ac_ext >&5
21676
21677 ac_cv_c_const=no
21678 fi
21679
21680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21681 fi
21682 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21683 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21684 if test $ac_cv_c_const = no; then
21685
21686 cat >>confdefs.h <<\_ACEOF
21687 #define const
21688 _ACEOF
21689
21690 fi
21691
21692 { echo "$as_me:$LINENO: checking for inline" >&5
21693 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21694 if test "${ac_cv_c_inline+set}" = set; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21696 else
21697 ac_cv_c_inline=no
21698 for ac_kw in inline __inline__ __inline; do
21699 cat >conftest.$ac_ext <<_ACEOF
21700 /* confdefs.h. */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 #ifndef __cplusplus
21706 typedef int foo_t;
21707 static $ac_kw foo_t static_foo () {return 0; }
21708 $ac_kw foo_t foo () {return 0; }
21709 #endif
21710
21711 _ACEOF
21712 rm -f conftest.$ac_objext
21713 if { (ac_try="$ac_compile"
21714 case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21717 esac
21718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_compile") 2>conftest.er1
21720 ac_status=$?
21721 grep -v '^ *+' conftest.er1 >conftest.err
21722 rm -f conftest.er1
21723 cat conftest.err >&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } && {
21726 test -z "$ac_c_werror_flag" ||
21727 test ! -s conftest.err
21728 } && test -s conftest.$ac_objext; then
21729 ac_cv_c_inline=$ac_kw
21730 else
21731 echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21733
21734
21735 fi
21736
21737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21738 test "$ac_cv_c_inline" != no && break
21739 done
21740
21741 fi
21742 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21743 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21744
21745
21746 case $ac_cv_c_inline in
21747 inline | yes) ;;
21748 *)
21749 case $ac_cv_c_inline in
21750 no) ac_val=;;
21751 *) ac_val=$ac_cv_c_inline;;
21752 esac
21753 cat >>confdefs.h <<_ACEOF
21754 #ifndef __cplusplus
21755 #define inline $ac_val
21756 #endif
21757 _ACEOF
21758 ;;
21759 esac
21760
21761
21762 { echo "$as_me:$LINENO: checking for short" >&5
21763 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21764 if test "${ac_cv_type_short+set}" = set; then
21765 echo $ECHO_N "(cached) $ECHO_C" >&6
21766 else
21767 cat >conftest.$ac_ext <<_ACEOF
21768 /* confdefs.h. */
21769 _ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773 $ac_includes_default
21774 typedef short ac__type_new_;
21775 int
21776 main ()
21777 {
21778 if ((ac__type_new_ *) 0)
21779 return 0;
21780 if (sizeof (ac__type_new_))
21781 return 0;
21782 ;
21783 return 0;
21784 }
21785 _ACEOF
21786 rm -f conftest.$ac_objext
21787 if { (ac_try="$ac_compile"
21788 case "(($ac_try" in
21789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21790 *) ac_try_echo=$ac_try;;
21791 esac
21792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21793 (eval "$ac_compile") 2>conftest.er1
21794 ac_status=$?
21795 grep -v '^ *+' conftest.er1 >conftest.err
21796 rm -f conftest.er1
21797 cat conftest.err >&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); } && {
21800 test -z "$ac_c_werror_flag" ||
21801 test ! -s conftest.err
21802 } && test -s conftest.$ac_objext; then
21803 ac_cv_type_short=yes
21804 else
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21807
21808 ac_cv_type_short=no
21809 fi
21810
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812 fi
21813 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21814 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21815
21816 # The cast to long int works around a bug in the HP C Compiler
21817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21819 # This bug is HP SR number 8606223364.
21820 { echo "$as_me:$LINENO: checking size of short" >&5
21821 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21822 if test "${ac_cv_sizeof_short+set}" = set; then
21823 echo $ECHO_N "(cached) $ECHO_C" >&6
21824 else
21825 if test "$cross_compiling" = yes; then
21826 # Depending upon the size, compute the lo and hi bounds.
21827 cat >conftest.$ac_ext <<_ACEOF
21828 /* confdefs.h. */
21829 _ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21833 $ac_includes_default
21834 typedef short ac__type_sizeof_;
21835 int
21836 main ()
21837 {
21838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21839 test_array [0] = 0
21840
21841 ;
21842 return 0;
21843 }
21844 _ACEOF
21845 rm -f conftest.$ac_objext
21846 if { (ac_try="$ac_compile"
21847 case "(($ac_try" in
21848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21849 *) ac_try_echo=$ac_try;;
21850 esac
21851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21852 (eval "$ac_compile") 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } && {
21859 test -z "$ac_c_werror_flag" ||
21860 test ! -s conftest.err
21861 } && test -s conftest.$ac_objext; then
21862 ac_lo=0 ac_mid=0
21863 while :; do
21864 cat >conftest.$ac_ext <<_ACEOF
21865 /* confdefs.h. */
21866 _ACEOF
21867 cat confdefs.h >>conftest.$ac_ext
21868 cat >>conftest.$ac_ext <<_ACEOF
21869 /* end confdefs.h. */
21870 $ac_includes_default
21871 typedef short ac__type_sizeof_;
21872 int
21873 main ()
21874 {
21875 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21876 test_array [0] = 0
21877
21878 ;
21879 return 0;
21880 }
21881 _ACEOF
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21887 esac
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_hi=$ac_mid; break
21900 else
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.$ac_ext >&5
21903
21904 ac_lo=`expr $ac_mid + 1`
21905 if test $ac_lo -le $ac_mid; then
21906 ac_lo= ac_hi=
21907 break
21908 fi
21909 ac_mid=`expr 2 '*' $ac_mid + 1`
21910 fi
21911
21912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21913 done
21914 else
21915 echo "$as_me: failed program was:" >&5
21916 sed 's/^/| /' conftest.$ac_ext >&5
21917
21918 cat >conftest.$ac_ext <<_ACEOF
21919 /* confdefs.h. */
21920 _ACEOF
21921 cat confdefs.h >>conftest.$ac_ext
21922 cat >>conftest.$ac_ext <<_ACEOF
21923 /* end confdefs.h. */
21924 $ac_includes_default
21925 typedef short ac__type_sizeof_;
21926 int
21927 main ()
21928 {
21929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21930 test_array [0] = 0
21931
21932 ;
21933 return 0;
21934 }
21935 _ACEOF
21936 rm -f conftest.$ac_objext
21937 if { (ac_try="$ac_compile"
21938 case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21941 esac
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_compile") 2>conftest.er1
21944 ac_status=$?
21945 grep -v '^ *+' conftest.er1 >conftest.err
21946 rm -f conftest.er1
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest.$ac_objext; then
21953 ac_hi=-1 ac_mid=-1
21954 while :; do
21955 cat >conftest.$ac_ext <<_ACEOF
21956 /* confdefs.h. */
21957 _ACEOF
21958 cat confdefs.h >>conftest.$ac_ext
21959 cat >>conftest.$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21961 $ac_includes_default
21962 typedef short ac__type_sizeof_;
21963 int
21964 main ()
21965 {
21966 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21967 test_array [0] = 0
21968
21969 ;
21970 return 0;
21971 }
21972 _ACEOF
21973 rm -f conftest.$ac_objext
21974 if { (ac_try="$ac_compile"
21975 case "(($ac_try" in
21976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21977 *) ac_try_echo=$ac_try;;
21978 esac
21979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21980 (eval "$ac_compile") 2>conftest.er1
21981 ac_status=$?
21982 grep -v '^ *+' conftest.er1 >conftest.err
21983 rm -f conftest.er1
21984 cat conftest.err >&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); } && {
21987 test -z "$ac_c_werror_flag" ||
21988 test ! -s conftest.err
21989 } && test -s conftest.$ac_objext; then
21990 ac_lo=$ac_mid; break
21991 else
21992 echo "$as_me: failed program was:" >&5
21993 sed 's/^/| /' conftest.$ac_ext >&5
21994
21995 ac_hi=`expr '(' $ac_mid ')' - 1`
21996 if test $ac_mid -le $ac_hi; then
21997 ac_lo= ac_hi=
21998 break
21999 fi
22000 ac_mid=`expr 2 '*' $ac_mid`
22001 fi
22002
22003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22004 done
22005 else
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22008
22009 ac_lo= ac_hi=
22010 fi
22011
22012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22013 fi
22014
22015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22016 # Binary search between lo and hi bounds.
22017 while test "x$ac_lo" != "x$ac_hi"; do
22018 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22019 cat >conftest.$ac_ext <<_ACEOF
22020 /* confdefs.h. */
22021 _ACEOF
22022 cat confdefs.h >>conftest.$ac_ext
22023 cat >>conftest.$ac_ext <<_ACEOF
22024 /* end confdefs.h. */
22025 $ac_includes_default
22026 typedef short ac__type_sizeof_;
22027 int
22028 main ()
22029 {
22030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22031 test_array [0] = 0
22032
22033 ;
22034 return 0;
22035 }
22036 _ACEOF
22037 rm -f conftest.$ac_objext
22038 if { (ac_try="$ac_compile"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22042 esac
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_compile") 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } && {
22051 test -z "$ac_c_werror_flag" ||
22052 test ! -s conftest.err
22053 } && test -s conftest.$ac_objext; then
22054 ac_hi=$ac_mid
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_lo=`expr '(' $ac_mid ')' + 1`
22060 fi
22061
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 done
22064 case $ac_lo in
22065 ?*) ac_cv_sizeof_short=$ac_lo;;
22066 '') if test "$ac_cv_type_short" = yes; then
22067 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22068 See \`config.log' for more details." >&5
22069 echo "$as_me: error: cannot compute sizeof (short)
22070 See \`config.log' for more details." >&2;}
22071 { (exit 77); exit 77; }; }
22072 else
22073 ac_cv_sizeof_short=0
22074 fi ;;
22075 esac
22076 else
22077 cat >conftest.$ac_ext <<_ACEOF
22078 /* confdefs.h. */
22079 _ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef short ac__type_sizeof_;
22085 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22086 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22087 #include <stdio.h>
22088 #include <stdlib.h>
22089 int
22090 main ()
22091 {
22092
22093 FILE *f = fopen ("conftest.val", "w");
22094 if (! f)
22095 return 1;
22096 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22097 {
22098 long int i = longval ();
22099 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22100 return 1;
22101 fprintf (f, "%ld\n", i);
22102 }
22103 else
22104 {
22105 unsigned long int i = ulongval ();
22106 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22107 return 1;
22108 fprintf (f, "%lu\n", i);
22109 }
22110 return ferror (f) || fclose (f) != 0;
22111
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest$ac_exeext
22117 if { (ac_try="$ac_link"
22118 case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22121 esac
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_link") 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22127 { (case "(($ac_try" in
22128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22129 *) ac_try_echo=$ac_try;;
22130 esac
22131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22132 (eval "$ac_try") 2>&5
22133 ac_status=$?
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; }; then
22136 ac_cv_sizeof_short=`cat conftest.val`
22137 else
22138 echo "$as_me: program exited with status $ac_status" >&5
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22141
22142 ( exit $ac_status )
22143 if test "$ac_cv_type_short" = yes; then
22144 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22145 See \`config.log' for more details." >&5
22146 echo "$as_me: error: cannot compute sizeof (short)
22147 See \`config.log' for more details." >&2;}
22148 { (exit 77); exit 77; }; }
22149 else
22150 ac_cv_sizeof_short=0
22151 fi
22152 fi
22153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22154 fi
22155 rm -f conftest.val
22156 fi
22157 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22158 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22159
22160
22161
22162 cat >>confdefs.h <<_ACEOF
22163 #define SIZEOF_SHORT $ac_cv_sizeof_short
22164 _ACEOF
22165
22166
22167 { echo "$as_me:$LINENO: checking for void *" >&5
22168 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22169 if test "${ac_cv_type_void_p+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22171 else
22172 cat >conftest.$ac_ext <<_ACEOF
22173 /* confdefs.h. */
22174 _ACEOF
22175 cat confdefs.h >>conftest.$ac_ext
22176 cat >>conftest.$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178 $ac_includes_default
22179 typedef void * ac__type_new_;
22180 int
22181 main ()
22182 {
22183 if ((ac__type_new_ *) 0)
22184 return 0;
22185 if (sizeof (ac__type_new_))
22186 return 0;
22187 ;
22188 return 0;
22189 }
22190 _ACEOF
22191 rm -f conftest.$ac_objext
22192 if { (ac_try="$ac_compile"
22193 case "(($ac_try" in
22194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22195 *) ac_try_echo=$ac_try;;
22196 esac
22197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22198 (eval "$ac_compile") 2>conftest.er1
22199 ac_status=$?
22200 grep -v '^ *+' conftest.er1 >conftest.err
22201 rm -f conftest.er1
22202 cat conftest.err >&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } && {
22205 test -z "$ac_c_werror_flag" ||
22206 test ! -s conftest.err
22207 } && test -s conftest.$ac_objext; then
22208 ac_cv_type_void_p=yes
22209 else
22210 echo "$as_me: failed program was:" >&5
22211 sed 's/^/| /' conftest.$ac_ext >&5
22212
22213 ac_cv_type_void_p=no
22214 fi
22215
22216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 fi
22218 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22219 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22220
22221 # The cast to long int works around a bug in the HP C Compiler
22222 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22223 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22224 # This bug is HP SR number 8606223364.
22225 { echo "$as_me:$LINENO: checking size of void *" >&5
22226 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22227 if test "${ac_cv_sizeof_void_p+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22229 else
22230 if test "$cross_compiling" = yes; then
22231 # Depending upon the size, compute the lo and hi bounds.
22232 cat >conftest.$ac_ext <<_ACEOF
22233 /* confdefs.h. */
22234 _ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef void * ac__type_sizeof_;
22240 int
22241 main ()
22242 {
22243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22244 test_array [0] = 0
22245
22246 ;
22247 return 0;
22248 }
22249 _ACEOF
22250 rm -f conftest.$ac_objext
22251 if { (ac_try="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22255 esac
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22258 ac_status=$?
22259 grep -v '^ *+' conftest.er1 >conftest.err
22260 rm -f conftest.er1
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } && {
22264 test -z "$ac_c_werror_flag" ||
22265 test ! -s conftest.err
22266 } && test -s conftest.$ac_objext; then
22267 ac_lo=0 ac_mid=0
22268 while :; do
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef void * ac__type_sizeof_;
22277 int
22278 main ()
22279 {
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22281 test_array [0] = 0
22282
22283 ;
22284 return 0;
22285 }
22286 _ACEOF
22287 rm -f conftest.$ac_objext
22288 if { (ac_try="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22291 *) ac_try_echo=$ac_try;;
22292 esac
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22295 ac_status=$?
22296 grep -v '^ *+' conftest.er1 >conftest.err
22297 rm -f conftest.er1
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.$ac_objext; then
22304 ac_hi=$ac_mid; break
22305 else
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22308
22309 ac_lo=`expr $ac_mid + 1`
22310 if test $ac_lo -le $ac_mid; then
22311 ac_lo= ac_hi=
22312 break
22313 fi
22314 ac_mid=`expr 2 '*' $ac_mid + 1`
22315 fi
22316
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 done
22319 else
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22322
22323 cat >conftest.$ac_ext <<_ACEOF
22324 /* confdefs.h. */
22325 _ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 $ac_includes_default
22330 typedef void * ac__type_sizeof_;
22331 int
22332 main ()
22333 {
22334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22335 test_array [0] = 0
22336
22337 ;
22338 return 0;
22339 }
22340 _ACEOF
22341 rm -f conftest.$ac_objext
22342 if { (ac_try="$ac_compile"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22346 esac
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_compile") 2>conftest.er1
22349 ac_status=$?
22350 grep -v '^ *+' conftest.er1 >conftest.err
22351 rm -f conftest.er1
22352 cat conftest.err >&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } && {
22355 test -z "$ac_c_werror_flag" ||
22356 test ! -s conftest.err
22357 } && test -s conftest.$ac_objext; then
22358 ac_hi=-1 ac_mid=-1
22359 while :; do
22360 cat >conftest.$ac_ext <<_ACEOF
22361 /* confdefs.h. */
22362 _ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 $ac_includes_default
22367 typedef void * ac__type_sizeof_;
22368 int
22369 main ()
22370 {
22371 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22372 test_array [0] = 0
22373
22374 ;
22375 return 0;
22376 }
22377 _ACEOF
22378 rm -f conftest.$ac_objext
22379 if { (ac_try="$ac_compile"
22380 case "(($ac_try" in
22381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22382 *) ac_try_echo=$ac_try;;
22383 esac
22384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22385 (eval "$ac_compile") 2>conftest.er1
22386 ac_status=$?
22387 grep -v '^ *+' conftest.er1 >conftest.err
22388 rm -f conftest.er1
22389 cat conftest.err >&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } && {
22392 test -z "$ac_c_werror_flag" ||
22393 test ! -s conftest.err
22394 } && test -s conftest.$ac_objext; then
22395 ac_lo=$ac_mid; break
22396 else
22397 echo "$as_me: failed program was:" >&5
22398 sed 's/^/| /' conftest.$ac_ext >&5
22399
22400 ac_hi=`expr '(' $ac_mid ')' - 1`
22401 if test $ac_mid -le $ac_hi; then
22402 ac_lo= ac_hi=
22403 break
22404 fi
22405 ac_mid=`expr 2 '*' $ac_mid`
22406 fi
22407
22408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22409 done
22410 else
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22413
22414 ac_lo= ac_hi=
22415 fi
22416
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 fi
22419
22420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22421 # Binary search between lo and hi bounds.
22422 while test "x$ac_lo" != "x$ac_hi"; do
22423 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22424 cat >conftest.$ac_ext <<_ACEOF
22425 /* confdefs.h. */
22426 _ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 $ac_includes_default
22431 typedef void * ac__type_sizeof_;
22432 int
22433 main ()
22434 {
22435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22436 test_array [0] = 0
22437
22438 ;
22439 return 0;
22440 }
22441 _ACEOF
22442 rm -f conftest.$ac_objext
22443 if { (ac_try="$ac_compile"
22444 case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22447 esac
22448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_compile") 2>conftest.er1
22450 ac_status=$?
22451 grep -v '^ *+' conftest.er1 >conftest.err
22452 rm -f conftest.er1
22453 cat conftest.err >&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } && {
22456 test -z "$ac_c_werror_flag" ||
22457 test ! -s conftest.err
22458 } && test -s conftest.$ac_objext; then
22459 ac_hi=$ac_mid
22460 else
22461 echo "$as_me: failed program was:" >&5
22462 sed 's/^/| /' conftest.$ac_ext >&5
22463
22464 ac_lo=`expr '(' $ac_mid ')' + 1`
22465 fi
22466
22467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22468 done
22469 case $ac_lo in
22470 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22471 '') if test "$ac_cv_type_void_p" = yes; then
22472 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22473 See \`config.log' for more details." >&5
22474 echo "$as_me: error: cannot compute sizeof (void *)
22475 See \`config.log' for more details." >&2;}
22476 { (exit 77); exit 77; }; }
22477 else
22478 ac_cv_sizeof_void_p=0
22479 fi ;;
22480 esac
22481 else
22482 cat >conftest.$ac_ext <<_ACEOF
22483 /* confdefs.h. */
22484 _ACEOF
22485 cat confdefs.h >>conftest.$ac_ext
22486 cat >>conftest.$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 $ac_includes_default
22489 typedef void * ac__type_sizeof_;
22490 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22491 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22492 #include <stdio.h>
22493 #include <stdlib.h>
22494 int
22495 main ()
22496 {
22497
22498 FILE *f = fopen ("conftest.val", "w");
22499 if (! f)
22500 return 1;
22501 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22502 {
22503 long int i = longval ();
22504 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22505 return 1;
22506 fprintf (f, "%ld\n", i);
22507 }
22508 else
22509 {
22510 unsigned long int i = ulongval ();
22511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22512 return 1;
22513 fprintf (f, "%lu\n", i);
22514 }
22515 return ferror (f) || fclose (f) != 0;
22516
22517 ;
22518 return 0;
22519 }
22520 _ACEOF
22521 rm -f conftest$ac_exeext
22522 if { (ac_try="$ac_link"
22523 case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22525 *) ac_try_echo=$ac_try;;
22526 esac
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_link") 2>&5
22529 ac_status=$?
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22532 { (case "(($ac_try" in
22533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22534 *) ac_try_echo=$ac_try;;
22535 esac
22536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22537 (eval "$ac_try") 2>&5
22538 ac_status=$?
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_cv_sizeof_void_p=`cat conftest.val`
22542 else
22543 echo "$as_me: program exited with status $ac_status" >&5
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22546
22547 ( exit $ac_status )
22548 if test "$ac_cv_type_void_p" = yes; then
22549 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22550 See \`config.log' for more details." >&5
22551 echo "$as_me: error: cannot compute sizeof (void *)
22552 See \`config.log' for more details." >&2;}
22553 { (exit 77); exit 77; }; }
22554 else
22555 ac_cv_sizeof_void_p=0
22556 fi
22557 fi
22558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22559 fi
22560 rm -f conftest.val
22561 fi
22562 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22563 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22564
22565
22566
22567 cat >>confdefs.h <<_ACEOF
22568 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22569 _ACEOF
22570
22571
22572 { echo "$as_me:$LINENO: checking for int" >&5
22573 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22574 if test "${ac_cv_type_int+set}" = set; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22576 else
22577 cat >conftest.$ac_ext <<_ACEOF
22578 /* confdefs.h. */
22579 _ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22583 $ac_includes_default
22584 typedef int ac__type_new_;
22585 int
22586 main ()
22587 {
22588 if ((ac__type_new_ *) 0)
22589 return 0;
22590 if (sizeof (ac__type_new_))
22591 return 0;
22592 ;
22593 return 0;
22594 }
22595 _ACEOF
22596 rm -f conftest.$ac_objext
22597 if { (ac_try="$ac_compile"
22598 case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22601 esac
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_compile") 2>conftest.er1
22604 ac_status=$?
22605 grep -v '^ *+' conftest.er1 >conftest.err
22606 rm -f conftest.er1
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } && {
22610 test -z "$ac_c_werror_flag" ||
22611 test ! -s conftest.err
22612 } && test -s conftest.$ac_objext; then
22613 ac_cv_type_int=yes
22614 else
22615 echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.$ac_ext >&5
22617
22618 ac_cv_type_int=no
22619 fi
22620
22621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22622 fi
22623 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22624 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22625
22626 # The cast to long int works around a bug in the HP C Compiler
22627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22629 # This bug is HP SR number 8606223364.
22630 { echo "$as_me:$LINENO: checking size of int" >&5
22631 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22632 if test "${ac_cv_sizeof_int+set}" = set; then
22633 echo $ECHO_N "(cached) $ECHO_C" >&6
22634 else
22635 if test "$cross_compiling" = yes; then
22636 # Depending upon the size, compute the lo and hi bounds.
22637 cat >conftest.$ac_ext <<_ACEOF
22638 /* confdefs.h. */
22639 _ACEOF
22640 cat confdefs.h >>conftest.$ac_ext
22641 cat >>conftest.$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 $ac_includes_default
22644 typedef int ac__type_sizeof_;
22645 int
22646 main ()
22647 {
22648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22649 test_array [0] = 0
22650
22651 ;
22652 return 0;
22653 }
22654 _ACEOF
22655 rm -f conftest.$ac_objext
22656 if { (ac_try="$ac_compile"
22657 case "(($ac_try" in
22658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22659 *) ac_try_echo=$ac_try;;
22660 esac
22661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22662 (eval "$ac_compile") 2>conftest.er1
22663 ac_status=$?
22664 grep -v '^ *+' conftest.er1 >conftest.err
22665 rm -f conftest.er1
22666 cat conftest.err >&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); } && {
22669 test -z "$ac_c_werror_flag" ||
22670 test ! -s conftest.err
22671 } && test -s conftest.$ac_objext; then
22672 ac_lo=0 ac_mid=0
22673 while :; do
22674 cat >conftest.$ac_ext <<_ACEOF
22675 /* confdefs.h. */
22676 _ACEOF
22677 cat confdefs.h >>conftest.$ac_ext
22678 cat >>conftest.$ac_ext <<_ACEOF
22679 /* end confdefs.h. */
22680 $ac_includes_default
22681 typedef int ac__type_sizeof_;
22682 int
22683 main ()
22684 {
22685 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22686 test_array [0] = 0
22687
22688 ;
22689 return 0;
22690 }
22691 _ACEOF
22692 rm -f conftest.$ac_objext
22693 if { (ac_try="$ac_compile"
22694 case "(($ac_try" in
22695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696 *) ac_try_echo=$ac_try;;
22697 esac
22698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_compile") 2>conftest.er1
22700 ac_status=$?
22701 grep -v '^ *+' conftest.er1 >conftest.err
22702 rm -f conftest.er1
22703 cat conftest.err >&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } && {
22706 test -z "$ac_c_werror_flag" ||
22707 test ! -s conftest.err
22708 } && test -s conftest.$ac_objext; then
22709 ac_hi=$ac_mid; break
22710 else
22711 echo "$as_me: failed program was:" >&5
22712 sed 's/^/| /' conftest.$ac_ext >&5
22713
22714 ac_lo=`expr $ac_mid + 1`
22715 if test $ac_lo -le $ac_mid; then
22716 ac_lo= ac_hi=
22717 break
22718 fi
22719 ac_mid=`expr 2 '*' $ac_mid + 1`
22720 fi
22721
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22723 done
22724 else
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22727
22728 cat >conftest.$ac_ext <<_ACEOF
22729 /* confdefs.h. */
22730 _ACEOF
22731 cat confdefs.h >>conftest.$ac_ext
22732 cat >>conftest.$ac_ext <<_ACEOF
22733 /* end confdefs.h. */
22734 $ac_includes_default
22735 typedef int ac__type_sizeof_;
22736 int
22737 main ()
22738 {
22739 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22740 test_array [0] = 0
22741
22742 ;
22743 return 0;
22744 }
22745 _ACEOF
22746 rm -f conftest.$ac_objext
22747 if { (ac_try="$ac_compile"
22748 case "(($ac_try" in
22749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22750 *) ac_try_echo=$ac_try;;
22751 esac
22752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22753 (eval "$ac_compile") 2>conftest.er1
22754 ac_status=$?
22755 grep -v '^ *+' conftest.er1 >conftest.err
22756 rm -f conftest.er1
22757 cat conftest.err >&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } && {
22760 test -z "$ac_c_werror_flag" ||
22761 test ! -s conftest.err
22762 } && test -s conftest.$ac_objext; then
22763 ac_hi=-1 ac_mid=-1
22764 while :; do
22765 cat >conftest.$ac_ext <<_ACEOF
22766 /* confdefs.h. */
22767 _ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771 $ac_includes_default
22772 typedef int ac__type_sizeof_;
22773 int
22774 main ()
22775 {
22776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22777 test_array [0] = 0
22778
22779 ;
22780 return 0;
22781 }
22782 _ACEOF
22783 rm -f conftest.$ac_objext
22784 if { (ac_try="$ac_compile"
22785 case "(($ac_try" in
22786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22787 *) ac_try_echo=$ac_try;;
22788 esac
22789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22790 (eval "$ac_compile") 2>conftest.er1
22791 ac_status=$?
22792 grep -v '^ *+' conftest.er1 >conftest.err
22793 rm -f conftest.er1
22794 cat conftest.err >&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); } && {
22797 test -z "$ac_c_werror_flag" ||
22798 test ! -s conftest.err
22799 } && test -s conftest.$ac_objext; then
22800 ac_lo=$ac_mid; break
22801 else
22802 echo "$as_me: failed program was:" >&5
22803 sed 's/^/| /' conftest.$ac_ext >&5
22804
22805 ac_hi=`expr '(' $ac_mid ')' - 1`
22806 if test $ac_mid -le $ac_hi; then
22807 ac_lo= ac_hi=
22808 break
22809 fi
22810 ac_mid=`expr 2 '*' $ac_mid`
22811 fi
22812
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814 done
22815 else
22816 echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22818
22819 ac_lo= ac_hi=
22820 fi
22821
22822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22823 fi
22824
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 # Binary search between lo and hi bounds.
22827 while test "x$ac_lo" != "x$ac_hi"; do
22828 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h. */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 $ac_includes_default
22836 typedef int ac__type_sizeof_;
22837 int
22838 main ()
22839 {
22840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22841 test_array [0] = 0
22842
22843 ;
22844 return 0;
22845 }
22846 _ACEOF
22847 rm -f conftest.$ac_objext
22848 if { (ac_try="$ac_compile"
22849 case "(($ac_try" in
22850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22851 *) ac_try_echo=$ac_try;;
22852 esac
22853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22854 (eval "$ac_compile") 2>conftest.er1
22855 ac_status=$?
22856 grep -v '^ *+' conftest.er1 >conftest.err
22857 rm -f conftest.er1
22858 cat conftest.err >&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } && {
22861 test -z "$ac_c_werror_flag" ||
22862 test ! -s conftest.err
22863 } && test -s conftest.$ac_objext; then
22864 ac_hi=$ac_mid
22865 else
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.$ac_ext >&5
22868
22869 ac_lo=`expr '(' $ac_mid ')' + 1`
22870 fi
22871
22872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22873 done
22874 case $ac_lo in
22875 ?*) ac_cv_sizeof_int=$ac_lo;;
22876 '') if test "$ac_cv_type_int" = yes; then
22877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22878 See \`config.log' for more details." >&5
22879 echo "$as_me: error: cannot compute sizeof (int)
22880 See \`config.log' for more details." >&2;}
22881 { (exit 77); exit 77; }; }
22882 else
22883 ac_cv_sizeof_int=0
22884 fi ;;
22885 esac
22886 else
22887 cat >conftest.$ac_ext <<_ACEOF
22888 /* confdefs.h. */
22889 _ACEOF
22890 cat confdefs.h >>conftest.$ac_ext
22891 cat >>conftest.$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 $ac_includes_default
22894 typedef int ac__type_sizeof_;
22895 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22896 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22897 #include <stdio.h>
22898 #include <stdlib.h>
22899 int
22900 main ()
22901 {
22902
22903 FILE *f = fopen ("conftest.val", "w");
22904 if (! f)
22905 return 1;
22906 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22907 {
22908 long int i = longval ();
22909 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22910 return 1;
22911 fprintf (f, "%ld\n", i);
22912 }
22913 else
22914 {
22915 unsigned long int i = ulongval ();
22916 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22917 return 1;
22918 fprintf (f, "%lu\n", i);
22919 }
22920 return ferror (f) || fclose (f) != 0;
22921
22922 ;
22923 return 0;
22924 }
22925 _ACEOF
22926 rm -f conftest$ac_exeext
22927 if { (ac_try="$ac_link"
22928 case "(($ac_try" in
22929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22930 *) ac_try_echo=$ac_try;;
22931 esac
22932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22933 (eval "$ac_link") 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22937 { (case "(($ac_try" in
22938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939 *) ac_try_echo=$ac_try;;
22940 esac
22941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_try") 2>&5
22943 ac_status=$?
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 ac_cv_sizeof_int=`cat conftest.val`
22947 else
22948 echo "$as_me: program exited with status $ac_status" >&5
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22951
22952 ( exit $ac_status )
22953 if test "$ac_cv_type_int" = yes; then
22954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22955 See \`config.log' for more details." >&5
22956 echo "$as_me: error: cannot compute sizeof (int)
22957 See \`config.log' for more details." >&2;}
22958 { (exit 77); exit 77; }; }
22959 else
22960 ac_cv_sizeof_int=0
22961 fi
22962 fi
22963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22964 fi
22965 rm -f conftest.val
22966 fi
22967 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22968 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22969
22970
22971
22972 cat >>confdefs.h <<_ACEOF
22973 #define SIZEOF_INT $ac_cv_sizeof_int
22974 _ACEOF
22975
22976
22977 { echo "$as_me:$LINENO: checking for long" >&5
22978 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22979 if test "${ac_cv_type_long+set}" = set; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22981 else
22982 cat >conftest.$ac_ext <<_ACEOF
22983 /* confdefs.h. */
22984 _ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988 $ac_includes_default
22989 typedef long ac__type_new_;
22990 int
22991 main ()
22992 {
22993 if ((ac__type_new_ *) 0)
22994 return 0;
22995 if (sizeof (ac__type_new_))
22996 return 0;
22997 ;
22998 return 0;
22999 }
23000 _ACEOF
23001 rm -f conftest.$ac_objext
23002 if { (ac_try="$ac_compile"
23003 case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23006 esac
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_compile") 2>conftest.er1
23009 ac_status=$?
23010 grep -v '^ *+' conftest.er1 >conftest.err
23011 rm -f conftest.er1
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } && {
23015 test -z "$ac_c_werror_flag" ||
23016 test ! -s conftest.err
23017 } && test -s conftest.$ac_objext; then
23018 ac_cv_type_long=yes
23019 else
23020 echo "$as_me: failed program was:" >&5
23021 sed 's/^/| /' conftest.$ac_ext >&5
23022
23023 ac_cv_type_long=no
23024 fi
23025
23026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23027 fi
23028 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23029 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23030
23031 # The cast to long int works around a bug in the HP C Compiler
23032 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23033 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23034 # This bug is HP SR number 8606223364.
23035 { echo "$as_me:$LINENO: checking size of long" >&5
23036 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23037 if test "${ac_cv_sizeof_long+set}" = set; then
23038 echo $ECHO_N "(cached) $ECHO_C" >&6
23039 else
23040 if test "$cross_compiling" = yes; then
23041 # Depending upon the size, compute the lo and hi bounds.
23042 cat >conftest.$ac_ext <<_ACEOF
23043 /* confdefs.h. */
23044 _ACEOF
23045 cat confdefs.h >>conftest.$ac_ext
23046 cat >>conftest.$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23048 $ac_includes_default
23049 typedef long ac__type_sizeof_;
23050 int
23051 main ()
23052 {
23053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23054 test_array [0] = 0
23055
23056 ;
23057 return 0;
23058 }
23059 _ACEOF
23060 rm -f conftest.$ac_objext
23061 if { (ac_try="$ac_compile"
23062 case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23064 *) ac_try_echo=$ac_try;;
23065 esac
23066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_compile") 2>conftest.er1
23068 ac_status=$?
23069 grep -v '^ *+' conftest.er1 >conftest.err
23070 rm -f conftest.er1
23071 cat conftest.err >&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } && {
23074 test -z "$ac_c_werror_flag" ||
23075 test ! -s conftest.err
23076 } && test -s conftest.$ac_objext; then
23077 ac_lo=0 ac_mid=0
23078 while :; do
23079 cat >conftest.$ac_ext <<_ACEOF
23080 /* confdefs.h. */
23081 _ACEOF
23082 cat confdefs.h >>conftest.$ac_ext
23083 cat >>conftest.$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085 $ac_includes_default
23086 typedef long ac__type_sizeof_;
23087 int
23088 main ()
23089 {
23090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23091 test_array [0] = 0
23092
23093 ;
23094 return 0;
23095 }
23096 _ACEOF
23097 rm -f conftest.$ac_objext
23098 if { (ac_try="$ac_compile"
23099 case "(($ac_try" in
23100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23101 *) ac_try_echo=$ac_try;;
23102 esac
23103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23104 (eval "$ac_compile") 2>conftest.er1
23105 ac_status=$?
23106 grep -v '^ *+' conftest.er1 >conftest.err
23107 rm -f conftest.er1
23108 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } && {
23111 test -z "$ac_c_werror_flag" ||
23112 test ! -s conftest.err
23113 } && test -s conftest.$ac_objext; then
23114 ac_hi=$ac_mid; break
23115 else
23116 echo "$as_me: failed program was:" >&5
23117 sed 's/^/| /' conftest.$ac_ext >&5
23118
23119 ac_lo=`expr $ac_mid + 1`
23120 if test $ac_lo -le $ac_mid; then
23121 ac_lo= ac_hi=
23122 break
23123 fi
23124 ac_mid=`expr 2 '*' $ac_mid + 1`
23125 fi
23126
23127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23128 done
23129 else
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23132
23133 cat >conftest.$ac_ext <<_ACEOF
23134 /* confdefs.h. */
23135 _ACEOF
23136 cat confdefs.h >>conftest.$ac_ext
23137 cat >>conftest.$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139 $ac_includes_default
23140 typedef long ac__type_sizeof_;
23141 int
23142 main ()
23143 {
23144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23145 test_array [0] = 0
23146
23147 ;
23148 return 0;
23149 }
23150 _ACEOF
23151 rm -f conftest.$ac_objext
23152 if { (ac_try="$ac_compile"
23153 case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23156 esac
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_compile") 2>conftest.er1
23159 ac_status=$?
23160 grep -v '^ *+' conftest.er1 >conftest.err
23161 rm -f conftest.er1
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } && {
23165 test -z "$ac_c_werror_flag" ||
23166 test ! -s conftest.err
23167 } && test -s conftest.$ac_objext; then
23168 ac_hi=-1 ac_mid=-1
23169 while :; do
23170 cat >conftest.$ac_ext <<_ACEOF
23171 /* confdefs.h. */
23172 _ACEOF
23173 cat confdefs.h >>conftest.$ac_ext
23174 cat >>conftest.$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23176 $ac_includes_default
23177 typedef long ac__type_sizeof_;
23178 int
23179 main ()
23180 {
23181 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23182 test_array [0] = 0
23183
23184 ;
23185 return 0;
23186 }
23187 _ACEOF
23188 rm -f conftest.$ac_objext
23189 if { (ac_try="$ac_compile"
23190 case "(($ac_try" in
23191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23192 *) ac_try_echo=$ac_try;;
23193 esac
23194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23195 (eval "$ac_compile") 2>conftest.er1
23196 ac_status=$?
23197 grep -v '^ *+' conftest.er1 >conftest.err
23198 rm -f conftest.er1
23199 cat conftest.err >&5
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); } && {
23202 test -z "$ac_c_werror_flag" ||
23203 test ! -s conftest.err
23204 } && test -s conftest.$ac_objext; then
23205 ac_lo=$ac_mid; break
23206 else
23207 echo "$as_me: failed program was:" >&5
23208 sed 's/^/| /' conftest.$ac_ext >&5
23209
23210 ac_hi=`expr '(' $ac_mid ')' - 1`
23211 if test $ac_mid -le $ac_hi; then
23212 ac_lo= ac_hi=
23213 break
23214 fi
23215 ac_mid=`expr 2 '*' $ac_mid`
23216 fi
23217
23218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23219 done
23220 else
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23223
23224 ac_lo= ac_hi=
23225 fi
23226
23227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23228 fi
23229
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 # Binary search between lo and hi bounds.
23232 while test "x$ac_lo" != "x$ac_hi"; do
23233 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23234 cat >conftest.$ac_ext <<_ACEOF
23235 /* confdefs.h. */
23236 _ACEOF
23237 cat confdefs.h >>conftest.$ac_ext
23238 cat >>conftest.$ac_ext <<_ACEOF
23239 /* end confdefs.h. */
23240 $ac_includes_default
23241 typedef long ac__type_sizeof_;
23242 int
23243 main ()
23244 {
23245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23246 test_array [0] = 0
23247
23248 ;
23249 return 0;
23250 }
23251 _ACEOF
23252 rm -f conftest.$ac_objext
23253 if { (ac_try="$ac_compile"
23254 case "(($ac_try" in
23255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23256 *) ac_try_echo=$ac_try;;
23257 esac
23258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23259 (eval "$ac_compile") 2>conftest.er1
23260 ac_status=$?
23261 grep -v '^ *+' conftest.er1 >conftest.err
23262 rm -f conftest.er1
23263 cat conftest.err >&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } && {
23266 test -z "$ac_c_werror_flag" ||
23267 test ! -s conftest.err
23268 } && test -s conftest.$ac_objext; then
23269 ac_hi=$ac_mid
23270 else
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.$ac_ext >&5
23273
23274 ac_lo=`expr '(' $ac_mid ')' + 1`
23275 fi
23276
23277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23278 done
23279 case $ac_lo in
23280 ?*) ac_cv_sizeof_long=$ac_lo;;
23281 '') if test "$ac_cv_type_long" = yes; then
23282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23283 See \`config.log' for more details." >&5
23284 echo "$as_me: error: cannot compute sizeof (long)
23285 See \`config.log' for more details." >&2;}
23286 { (exit 77); exit 77; }; }
23287 else
23288 ac_cv_sizeof_long=0
23289 fi ;;
23290 esac
23291 else
23292 cat >conftest.$ac_ext <<_ACEOF
23293 /* confdefs.h. */
23294 _ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 $ac_includes_default
23299 typedef long ac__type_sizeof_;
23300 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23301 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23302 #include <stdio.h>
23303 #include <stdlib.h>
23304 int
23305 main ()
23306 {
23307
23308 FILE *f = fopen ("conftest.val", "w");
23309 if (! f)
23310 return 1;
23311 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23312 {
23313 long int i = longval ();
23314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23315 return 1;
23316 fprintf (f, "%ld\n", i);
23317 }
23318 else
23319 {
23320 unsigned long int i = ulongval ();
23321 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23322 return 1;
23323 fprintf (f, "%lu\n", i);
23324 }
23325 return ferror (f) || fclose (f) != 0;
23326
23327 ;
23328 return 0;
23329 }
23330 _ACEOF
23331 rm -f conftest$ac_exeext
23332 if { (ac_try="$ac_link"
23333 case "(($ac_try" in
23334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23335 *) ac_try_echo=$ac_try;;
23336 esac
23337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23338 (eval "$ac_link") 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23342 { (case "(($ac_try" in
23343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23344 *) ac_try_echo=$ac_try;;
23345 esac
23346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23347 (eval "$ac_try") 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; }; then
23351 ac_cv_sizeof_long=`cat conftest.val`
23352 else
23353 echo "$as_me: program exited with status $ac_status" >&5
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23356
23357 ( exit $ac_status )
23358 if test "$ac_cv_type_long" = yes; then
23359 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23360 See \`config.log' for more details." >&5
23361 echo "$as_me: error: cannot compute sizeof (long)
23362 See \`config.log' for more details." >&2;}
23363 { (exit 77); exit 77; }; }
23364 else
23365 ac_cv_sizeof_long=0
23366 fi
23367 fi
23368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23369 fi
23370 rm -f conftest.val
23371 fi
23372 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23373 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23374
23375
23376
23377 cat >>confdefs.h <<_ACEOF
23378 #define SIZEOF_LONG $ac_cv_sizeof_long
23379 _ACEOF
23380
23381
23382 { echo "$as_me:$LINENO: checking for size_t" >&5
23383 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23384 if test "${ac_cv_type_size_t+set}" = set; then
23385 echo $ECHO_N "(cached) $ECHO_C" >&6
23386 else
23387 cat >conftest.$ac_ext <<_ACEOF
23388 /* confdefs.h. */
23389 _ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef size_t ac__type_new_;
23395 int
23396 main ()
23397 {
23398 if ((ac__type_new_ *) 0)
23399 return 0;
23400 if (sizeof (ac__type_new_))
23401 return 0;
23402 ;
23403 return 0;
23404 }
23405 _ACEOF
23406 rm -f conftest.$ac_objext
23407 if { (ac_try="$ac_compile"
23408 case "(($ac_try" in
23409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23410 *) ac_try_echo=$ac_try;;
23411 esac
23412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23413 (eval "$ac_compile") 2>conftest.er1
23414 ac_status=$?
23415 grep -v '^ *+' conftest.er1 >conftest.err
23416 rm -f conftest.er1
23417 cat conftest.err >&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } && {
23420 test -z "$ac_c_werror_flag" ||
23421 test ! -s conftest.err
23422 } && test -s conftest.$ac_objext; then
23423 ac_cv_type_size_t=yes
23424 else
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23427
23428 ac_cv_type_size_t=no
23429 fi
23430
23431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23432 fi
23433 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23434 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23435
23436 # The cast to long int works around a bug in the HP C Compiler
23437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23439 # This bug is HP SR number 8606223364.
23440 { echo "$as_me:$LINENO: checking size of size_t" >&5
23441 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23442 if test "${ac_cv_sizeof_size_t+set}" = set; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 else
23445 if test "$cross_compiling" = yes; then
23446 # Depending upon the size, compute the lo and hi bounds.
23447 cat >conftest.$ac_ext <<_ACEOF
23448 /* confdefs.h. */
23449 _ACEOF
23450 cat confdefs.h >>conftest.$ac_ext
23451 cat >>conftest.$ac_ext <<_ACEOF
23452 /* end confdefs.h. */
23453 $ac_includes_default
23454 typedef size_t ac__type_sizeof_;
23455 int
23456 main ()
23457 {
23458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23459 test_array [0] = 0
23460
23461 ;
23462 return 0;
23463 }
23464 _ACEOF
23465 rm -f conftest.$ac_objext
23466 if { (ac_try="$ac_compile"
23467 case "(($ac_try" in
23468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469 *) ac_try_echo=$ac_try;;
23470 esac
23471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23472 (eval "$ac_compile") 2>conftest.er1
23473 ac_status=$?
23474 grep -v '^ *+' conftest.er1 >conftest.err
23475 rm -f conftest.er1
23476 cat conftest.err >&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } && {
23479 test -z "$ac_c_werror_flag" ||
23480 test ! -s conftest.err
23481 } && test -s conftest.$ac_objext; then
23482 ac_lo=0 ac_mid=0
23483 while :; do
23484 cat >conftest.$ac_ext <<_ACEOF
23485 /* confdefs.h. */
23486 _ACEOF
23487 cat confdefs.h >>conftest.$ac_ext
23488 cat >>conftest.$ac_ext <<_ACEOF
23489 /* end confdefs.h. */
23490 $ac_includes_default
23491 typedef size_t ac__type_sizeof_;
23492 int
23493 main ()
23494 {
23495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23496 test_array [0] = 0
23497
23498 ;
23499 return 0;
23500 }
23501 _ACEOF
23502 rm -f conftest.$ac_objext
23503 if { (ac_try="$ac_compile"
23504 case "(($ac_try" in
23505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23506 *) ac_try_echo=$ac_try;;
23507 esac
23508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23509 (eval "$ac_compile") 2>conftest.er1
23510 ac_status=$?
23511 grep -v '^ *+' conftest.er1 >conftest.err
23512 rm -f conftest.er1
23513 cat conftest.err >&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } && {
23516 test -z "$ac_c_werror_flag" ||
23517 test ! -s conftest.err
23518 } && test -s conftest.$ac_objext; then
23519 ac_hi=$ac_mid; break
23520 else
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23523
23524 ac_lo=`expr $ac_mid + 1`
23525 if test $ac_lo -le $ac_mid; then
23526 ac_lo= ac_hi=
23527 break
23528 fi
23529 ac_mid=`expr 2 '*' $ac_mid + 1`
23530 fi
23531
23532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23533 done
23534 else
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538 cat >conftest.$ac_ext <<_ACEOF
23539 /* confdefs.h. */
23540 _ACEOF
23541 cat confdefs.h >>conftest.$ac_ext
23542 cat >>conftest.$ac_ext <<_ACEOF
23543 /* end confdefs.h. */
23544 $ac_includes_default
23545 typedef size_t ac__type_sizeof_;
23546 int
23547 main ()
23548 {
23549 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23550 test_array [0] = 0
23551
23552 ;
23553 return 0;
23554 }
23555 _ACEOF
23556 rm -f conftest.$ac_objext
23557 if { (ac_try="$ac_compile"
23558 case "(($ac_try" in
23559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23560 *) ac_try_echo=$ac_try;;
23561 esac
23562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23563 (eval "$ac_compile") 2>conftest.er1
23564 ac_status=$?
23565 grep -v '^ *+' conftest.er1 >conftest.err
23566 rm -f conftest.er1
23567 cat conftest.err >&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); } && {
23570 test -z "$ac_c_werror_flag" ||
23571 test ! -s conftest.err
23572 } && test -s conftest.$ac_objext; then
23573 ac_hi=-1 ac_mid=-1
23574 while :; do
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 size_t 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_lo=$ac_mid; break
23611 else
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23614
23615 ac_hi=`expr '(' $ac_mid ')' - 1`
23616 if test $ac_mid -le $ac_hi; then
23617 ac_lo= ac_hi=
23618 break
23619 fi
23620 ac_mid=`expr 2 '*' $ac_mid`
23621 fi
23622
23623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23624 done
23625 else
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.$ac_ext >&5
23628
23629 ac_lo= ac_hi=
23630 fi
23631
23632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23633 fi
23634
23635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23636 # Binary search between lo and hi bounds.
23637 while test "x$ac_lo" != "x$ac_hi"; do
23638 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23639 cat >conftest.$ac_ext <<_ACEOF
23640 /* confdefs.h. */
23641 _ACEOF
23642 cat confdefs.h >>conftest.$ac_ext
23643 cat >>conftest.$ac_ext <<_ACEOF
23644 /* end confdefs.h. */
23645 $ac_includes_default
23646 typedef size_t ac__type_sizeof_;
23647 int
23648 main ()
23649 {
23650 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23651 test_array [0] = 0
23652
23653 ;
23654 return 0;
23655 }
23656 _ACEOF
23657 rm -f conftest.$ac_objext
23658 if { (ac_try="$ac_compile"
23659 case "(($ac_try" in
23660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23661 *) ac_try_echo=$ac_try;;
23662 esac
23663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23664 (eval "$ac_compile") 2>conftest.er1
23665 ac_status=$?
23666 grep -v '^ *+' conftest.er1 >conftest.err
23667 rm -f conftest.er1
23668 cat conftest.err >&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } && {
23671 test -z "$ac_c_werror_flag" ||
23672 test ! -s conftest.err
23673 } && test -s conftest.$ac_objext; then
23674 ac_hi=$ac_mid
23675 else
23676 echo "$as_me: failed program was:" >&5
23677 sed 's/^/| /' conftest.$ac_ext >&5
23678
23679 ac_lo=`expr '(' $ac_mid ')' + 1`
23680 fi
23681
23682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 done
23684 case $ac_lo in
23685 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23686 '') if test "$ac_cv_type_size_t" = yes; then
23687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23688 See \`config.log' for more details." >&5
23689 echo "$as_me: error: cannot compute sizeof (size_t)
23690 See \`config.log' for more details." >&2;}
23691 { (exit 77); exit 77; }; }
23692 else
23693 ac_cv_sizeof_size_t=0
23694 fi ;;
23695 esac
23696 else
23697 cat >conftest.$ac_ext <<_ACEOF
23698 /* confdefs.h. */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 $ac_includes_default
23704 typedef size_t ac__type_sizeof_;
23705 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23706 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23707 #include <stdio.h>
23708 #include <stdlib.h>
23709 int
23710 main ()
23711 {
23712
23713 FILE *f = fopen ("conftest.val", "w");
23714 if (! f)
23715 return 1;
23716 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23717 {
23718 long int i = longval ();
23719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23720 return 1;
23721 fprintf (f, "%ld\n", i);
23722 }
23723 else
23724 {
23725 unsigned long int i = ulongval ();
23726 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23727 return 1;
23728 fprintf (f, "%lu\n", i);
23729 }
23730 return ferror (f) || fclose (f) != 0;
23731
23732 ;
23733 return 0;
23734 }
23735 _ACEOF
23736 rm -f conftest$ac_exeext
23737 if { (ac_try="$ac_link"
23738 case "(($ac_try" in
23739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23740 *) ac_try_echo=$ac_try;;
23741 esac
23742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23743 (eval "$ac_link") 2>&5
23744 ac_status=$?
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23747 { (case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;;
23750 esac
23751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23752 (eval "$ac_try") 2>&5
23753 ac_status=$?
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; }; then
23756 ac_cv_sizeof_size_t=`cat conftest.val`
23757 else
23758 echo "$as_me: program exited with status $ac_status" >&5
23759 echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.$ac_ext >&5
23761
23762 ( exit $ac_status )
23763 if test "$ac_cv_type_size_t" = yes; then
23764 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23765 See \`config.log' for more details." >&5
23766 echo "$as_me: error: cannot compute sizeof (size_t)
23767 See \`config.log' for more details." >&2;}
23768 { (exit 77); exit 77; }; }
23769 else
23770 ac_cv_sizeof_size_t=0
23771 fi
23772 fi
23773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23774 fi
23775 rm -f conftest.val
23776 fi
23777 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23778 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23779
23780
23781
23782 cat >>confdefs.h <<_ACEOF
23783 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23784 _ACEOF
23785
23786
23787
23788 case "${host}" in
23789 arm-*-linux* )
23790 { echo "$as_me:$LINENO: checking for long long" >&5
23791 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23792 if test "${ac_cv_type_long_long+set}" = set; then
23793 echo $ECHO_N "(cached) $ECHO_C" >&6
23794 else
23795 cat >conftest.$ac_ext <<_ACEOF
23796 /* confdefs.h. */
23797 _ACEOF
23798 cat confdefs.h >>conftest.$ac_ext
23799 cat >>conftest.$ac_ext <<_ACEOF
23800 /* end confdefs.h. */
23801 $ac_includes_default
23802 typedef long long ac__type_new_;
23803 int
23804 main ()
23805 {
23806 if ((ac__type_new_ *) 0)
23807 return 0;
23808 if (sizeof (ac__type_new_))
23809 return 0;
23810 ;
23811 return 0;
23812 }
23813 _ACEOF
23814 rm -f conftest.$ac_objext
23815 if { (ac_try="$ac_compile"
23816 case "(($ac_try" in
23817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23818 *) ac_try_echo=$ac_try;;
23819 esac
23820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23821 (eval "$ac_compile") 2>conftest.er1
23822 ac_status=$?
23823 grep -v '^ *+' conftest.er1 >conftest.err
23824 rm -f conftest.er1
23825 cat conftest.err >&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } && {
23828 test -z "$ac_c_werror_flag" ||
23829 test ! -s conftest.err
23830 } && test -s conftest.$ac_objext; then
23831 ac_cv_type_long_long=yes
23832 else
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23835
23836 ac_cv_type_long_long=no
23837 fi
23838
23839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23840 fi
23841 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23842 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23843
23844 # The cast to long int works around a bug in the HP C Compiler
23845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23847 # This bug is HP SR number 8606223364.
23848 { echo "$as_me:$LINENO: checking size of long long" >&5
23849 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23850 if test "${ac_cv_sizeof_long_long+set}" = set; then
23851 echo $ECHO_N "(cached) $ECHO_C" >&6
23852 else
23853 if test "$cross_compiling" = yes; then
23854 # Depending upon the size, compute the lo and hi bounds.
23855 cat >conftest.$ac_ext <<_ACEOF
23856 /* confdefs.h. */
23857 _ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 $ac_includes_default
23862 typedef long long ac__type_sizeof_;
23863 int
23864 main ()
23865 {
23866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23867 test_array [0] = 0
23868
23869 ;
23870 return 0;
23871 }
23872 _ACEOF
23873 rm -f conftest.$ac_objext
23874 if { (ac_try="$ac_compile"
23875 case "(($ac_try" in
23876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23877 *) ac_try_echo=$ac_try;;
23878 esac
23879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23880 (eval "$ac_compile") 2>conftest.er1
23881 ac_status=$?
23882 grep -v '^ *+' conftest.er1 >conftest.err
23883 rm -f conftest.er1
23884 cat conftest.err >&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); } && {
23887 test -z "$ac_c_werror_flag" ||
23888 test ! -s conftest.err
23889 } && test -s conftest.$ac_objext; then
23890 ac_lo=0 ac_mid=0
23891 while :; do
23892 cat >conftest.$ac_ext <<_ACEOF
23893 /* confdefs.h. */
23894 _ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 $ac_includes_default
23899 typedef long long ac__type_sizeof_;
23900 int
23901 main ()
23902 {
23903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23904 test_array [0] = 0
23905
23906 ;
23907 return 0;
23908 }
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23915 esac
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_c_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23927 ac_hi=$ac_mid; break
23928 else
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23931
23932 ac_lo=`expr $ac_mid + 1`
23933 if test $ac_lo -le $ac_mid; then
23934 ac_lo= ac_hi=
23935 break
23936 fi
23937 ac_mid=`expr 2 '*' $ac_mid + 1`
23938 fi
23939
23940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23941 done
23942 else
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23945
23946 cat >conftest.$ac_ext <<_ACEOF
23947 /* confdefs.h. */
23948 _ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 $ac_includes_default
23953 typedef long long ac__type_sizeof_;
23954 int
23955 main ()
23956 {
23957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23958 test_array [0] = 0
23959
23960 ;
23961 return 0;
23962 }
23963 _ACEOF
23964 rm -f conftest.$ac_objext
23965 if { (ac_try="$ac_compile"
23966 case "(($ac_try" in
23967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23968 *) ac_try_echo=$ac_try;;
23969 esac
23970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23971 (eval "$ac_compile") 2>conftest.er1
23972 ac_status=$?
23973 grep -v '^ *+' conftest.er1 >conftest.err
23974 rm -f conftest.er1
23975 cat conftest.err >&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); } && {
23978 test -z "$ac_c_werror_flag" ||
23979 test ! -s conftest.err
23980 } && test -s conftest.$ac_objext; then
23981 ac_hi=-1 ac_mid=-1
23982 while :; do
23983 cat >conftest.$ac_ext <<_ACEOF
23984 /* confdefs.h. */
23985 _ACEOF
23986 cat confdefs.h >>conftest.$ac_ext
23987 cat >>conftest.$ac_ext <<_ACEOF
23988 /* end confdefs.h. */
23989 $ac_includes_default
23990 typedef long long ac__type_sizeof_;
23991 int
23992 main ()
23993 {
23994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23995 test_array [0] = 0
23996
23997 ;
23998 return 0;
23999 }
24000 _ACEOF
24001 rm -f conftest.$ac_objext
24002 if { (ac_try="$ac_compile"
24003 case "(($ac_try" in
24004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24005 *) ac_try_echo=$ac_try;;
24006 esac
24007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24008 (eval "$ac_compile") 2>conftest.er1
24009 ac_status=$?
24010 grep -v '^ *+' conftest.er1 >conftest.err
24011 rm -f conftest.er1
24012 cat conftest.err >&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); } && {
24015 test -z "$ac_c_werror_flag" ||
24016 test ! -s conftest.err
24017 } && test -s conftest.$ac_objext; then
24018 ac_lo=$ac_mid; break
24019 else
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24022
24023 ac_hi=`expr '(' $ac_mid ')' - 1`
24024 if test $ac_mid -le $ac_hi; then
24025 ac_lo= ac_hi=
24026 break
24027 fi
24028 ac_mid=`expr 2 '*' $ac_mid`
24029 fi
24030
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24032 done
24033 else
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.$ac_ext >&5
24036
24037 ac_lo= ac_hi=
24038 fi
24039
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 fi
24042
24043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24044 # Binary search between lo and hi bounds.
24045 while test "x$ac_lo" != "x$ac_hi"; do
24046 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24047 cat >conftest.$ac_ext <<_ACEOF
24048 /* confdefs.h. */
24049 _ACEOF
24050 cat confdefs.h >>conftest.$ac_ext
24051 cat >>conftest.$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 $ac_includes_default
24054 typedef long long ac__type_sizeof_;
24055 int
24056 main ()
24057 {
24058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24059 test_array [0] = 0
24060
24061 ;
24062 return 0;
24063 }
24064 _ACEOF
24065 rm -f conftest.$ac_objext
24066 if { (ac_try="$ac_compile"
24067 case "(($ac_try" in
24068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24069 *) ac_try_echo=$ac_try;;
24070 esac
24071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24072 (eval "$ac_compile") 2>conftest.er1
24073 ac_status=$?
24074 grep -v '^ *+' conftest.er1 >conftest.err
24075 rm -f conftest.er1
24076 cat conftest.err >&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); } && {
24079 test -z "$ac_c_werror_flag" ||
24080 test ! -s conftest.err
24081 } && test -s conftest.$ac_objext; then
24082 ac_hi=$ac_mid
24083 else
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.$ac_ext >&5
24086
24087 ac_lo=`expr '(' $ac_mid ')' + 1`
24088 fi
24089
24090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24091 done
24092 case $ac_lo in
24093 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24094 '') if test "$ac_cv_type_long_long" = yes; then
24095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24096 See \`config.log' for more details." >&5
24097 echo "$as_me: error: cannot compute sizeof (long long)
24098 See \`config.log' for more details." >&2;}
24099 { (exit 77); exit 77; }; }
24100 else
24101 ac_cv_sizeof_long_long=0
24102 fi ;;
24103 esac
24104 else
24105 cat >conftest.$ac_ext <<_ACEOF
24106 /* confdefs.h. */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 $ac_includes_default
24112 typedef long long ac__type_sizeof_;
24113 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24114 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24115 #include <stdio.h>
24116 #include <stdlib.h>
24117 int
24118 main ()
24119 {
24120
24121 FILE *f = fopen ("conftest.val", "w");
24122 if (! f)
24123 return 1;
24124 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24125 {
24126 long int i = longval ();
24127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24128 return 1;
24129 fprintf (f, "%ld\n", i);
24130 }
24131 else
24132 {
24133 unsigned long int i = ulongval ();
24134 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24135 return 1;
24136 fprintf (f, "%lu\n", i);
24137 }
24138 return ferror (f) || fclose (f) != 0;
24139
24140 ;
24141 return 0;
24142 }
24143 _ACEOF
24144 rm -f conftest$ac_exeext
24145 if { (ac_try="$ac_link"
24146 case "(($ac_try" in
24147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24148 *) ac_try_echo=$ac_try;;
24149 esac
24150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24151 (eval "$ac_link") 2>&5
24152 ac_status=$?
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24155 { (case "(($ac_try" in
24156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24157 *) ac_try_echo=$ac_try;;
24158 esac
24159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24160 (eval "$ac_try") 2>&5
24161 ac_status=$?
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; }; then
24164 ac_cv_sizeof_long_long=`cat conftest.val`
24165 else
24166 echo "$as_me: program exited with status $ac_status" >&5
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.$ac_ext >&5
24169
24170 ( exit $ac_status )
24171 if test "$ac_cv_type_long_long" = yes; then
24172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24173 See \`config.log' for more details." >&5
24174 echo "$as_me: error: cannot compute sizeof (long long)
24175 See \`config.log' for more details." >&2;}
24176 { (exit 77); exit 77; }; }
24177 else
24178 ac_cv_sizeof_long_long=0
24179 fi
24180 fi
24181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24182 fi
24183 rm -f conftest.val
24184 fi
24185 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24186 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24187
24188
24189
24190 cat >>confdefs.h <<_ACEOF
24191 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24192 _ACEOF
24193
24194
24195 ;;
24196 *-hp-hpux* )
24197 { echo "$as_me:$LINENO: checking for long long" >&5
24198 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24199 if test "${ac_cv_type_long_long+set}" = set; then
24200 echo $ECHO_N "(cached) $ECHO_C" >&6
24201 else
24202 cat >conftest.$ac_ext <<_ACEOF
24203 /* confdefs.h. */
24204 _ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24208 $ac_includes_default
24209 typedef long long ac__type_new_;
24210 int
24211 main ()
24212 {
24213 if ((ac__type_new_ *) 0)
24214 return 0;
24215 if (sizeof (ac__type_new_))
24216 return 0;
24217 ;
24218 return 0;
24219 }
24220 _ACEOF
24221 rm -f conftest.$ac_objext
24222 if { (ac_try="$ac_compile"
24223 case "(($ac_try" in
24224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24225 *) ac_try_echo=$ac_try;;
24226 esac
24227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24228 (eval "$ac_compile") 2>conftest.er1
24229 ac_status=$?
24230 grep -v '^ *+' conftest.er1 >conftest.err
24231 rm -f conftest.er1
24232 cat conftest.err >&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } && {
24235 test -z "$ac_c_werror_flag" ||
24236 test ! -s conftest.err
24237 } && test -s conftest.$ac_objext; then
24238 ac_cv_type_long_long=yes
24239 else
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24242
24243 ac_cv_type_long_long=no
24244 fi
24245
24246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247 fi
24248 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24249 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24250
24251 # The cast to long int works around a bug in the HP C Compiler
24252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24254 # This bug is HP SR number 8606223364.
24255 { echo "$as_me:$LINENO: checking size of long long" >&5
24256 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24257 if test "${ac_cv_sizeof_long_long+set}" = set; then
24258 echo $ECHO_N "(cached) $ECHO_C" >&6
24259 else
24260 if test "$cross_compiling" = yes; then
24261 # Depending upon the size, compute the lo and hi bounds.
24262 cat >conftest.$ac_ext <<_ACEOF
24263 /* confdefs.h. */
24264 _ACEOF
24265 cat confdefs.h >>conftest.$ac_ext
24266 cat >>conftest.$ac_ext <<_ACEOF
24267 /* end confdefs.h. */
24268 $ac_includes_default
24269 typedef long long ac__type_sizeof_;
24270 int
24271 main ()
24272 {
24273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24274 test_array [0] = 0
24275
24276 ;
24277 return 0;
24278 }
24279 _ACEOF
24280 rm -f conftest.$ac_objext
24281 if { (ac_try="$ac_compile"
24282 case "(($ac_try" in
24283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24285 esac
24286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_compile") 2>conftest.er1
24288 ac_status=$?
24289 grep -v '^ *+' conftest.er1 >conftest.err
24290 rm -f conftest.er1
24291 cat conftest.err >&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } && {
24294 test -z "$ac_c_werror_flag" ||
24295 test ! -s conftest.err
24296 } && test -s conftest.$ac_objext; then
24297 ac_lo=0 ac_mid=0
24298 while :; do
24299 cat >conftest.$ac_ext <<_ACEOF
24300 /* confdefs.h. */
24301 _ACEOF
24302 cat confdefs.h >>conftest.$ac_ext
24303 cat >>conftest.$ac_ext <<_ACEOF
24304 /* end confdefs.h. */
24305 $ac_includes_default
24306 typedef long long ac__type_sizeof_;
24307 int
24308 main ()
24309 {
24310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24311 test_array [0] = 0
24312
24313 ;
24314 return 0;
24315 }
24316 _ACEOF
24317 rm -f conftest.$ac_objext
24318 if { (ac_try="$ac_compile"
24319 case "(($ac_try" in
24320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24321 *) ac_try_echo=$ac_try;;
24322 esac
24323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24324 (eval "$ac_compile") 2>conftest.er1
24325 ac_status=$?
24326 grep -v '^ *+' conftest.er1 >conftest.err
24327 rm -f conftest.er1
24328 cat conftest.err >&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } && {
24331 test -z "$ac_c_werror_flag" ||
24332 test ! -s conftest.err
24333 } && test -s conftest.$ac_objext; then
24334 ac_hi=$ac_mid; break
24335 else
24336 echo "$as_me: failed program was:" >&5
24337 sed 's/^/| /' conftest.$ac_ext >&5
24338
24339 ac_lo=`expr $ac_mid + 1`
24340 if test $ac_lo -le $ac_mid; then
24341 ac_lo= ac_hi=
24342 break
24343 fi
24344 ac_mid=`expr 2 '*' $ac_mid + 1`
24345 fi
24346
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 done
24349 else
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.$ac_ext >&5
24352
24353 cat >conftest.$ac_ext <<_ACEOF
24354 /* confdefs.h. */
24355 _ACEOF
24356 cat confdefs.h >>conftest.$ac_ext
24357 cat >>conftest.$ac_ext <<_ACEOF
24358 /* end confdefs.h. */
24359 $ac_includes_default
24360 typedef long long ac__type_sizeof_;
24361 int
24362 main ()
24363 {
24364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24365 test_array [0] = 0
24366
24367 ;
24368 return 0;
24369 }
24370 _ACEOF
24371 rm -f conftest.$ac_objext
24372 if { (ac_try="$ac_compile"
24373 case "(($ac_try" in
24374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24375 *) ac_try_echo=$ac_try;;
24376 esac
24377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24378 (eval "$ac_compile") 2>conftest.er1
24379 ac_status=$?
24380 grep -v '^ *+' conftest.er1 >conftest.err
24381 rm -f conftest.er1
24382 cat conftest.err >&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); } && {
24385 test -z "$ac_c_werror_flag" ||
24386 test ! -s conftest.err
24387 } && test -s conftest.$ac_objext; then
24388 ac_hi=-1 ac_mid=-1
24389 while :; do
24390 cat >conftest.$ac_ext <<_ACEOF
24391 /* confdefs.h. */
24392 _ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24396 $ac_includes_default
24397 typedef long long ac__type_sizeof_;
24398 int
24399 main ()
24400 {
24401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24402 test_array [0] = 0
24403
24404 ;
24405 return 0;
24406 }
24407 _ACEOF
24408 rm -f conftest.$ac_objext
24409 if { (ac_try="$ac_compile"
24410 case "(($ac_try" in
24411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24412 *) ac_try_echo=$ac_try;;
24413 esac
24414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24415 (eval "$ac_compile") 2>conftest.er1
24416 ac_status=$?
24417 grep -v '^ *+' conftest.er1 >conftest.err
24418 rm -f conftest.er1
24419 cat conftest.err >&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } && {
24422 test -z "$ac_c_werror_flag" ||
24423 test ! -s conftest.err
24424 } && test -s conftest.$ac_objext; then
24425 ac_lo=$ac_mid; break
24426 else
24427 echo "$as_me: failed program was:" >&5
24428 sed 's/^/| /' conftest.$ac_ext >&5
24429
24430 ac_hi=`expr '(' $ac_mid ')' - 1`
24431 if test $ac_mid -le $ac_hi; then
24432 ac_lo= ac_hi=
24433 break
24434 fi
24435 ac_mid=`expr 2 '*' $ac_mid`
24436 fi
24437
24438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24439 done
24440 else
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24443
24444 ac_lo= ac_hi=
24445 fi
24446
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 fi
24449
24450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24451 # Binary search between lo and hi bounds.
24452 while test "x$ac_lo" != "x$ac_hi"; do
24453 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24454 cat >conftest.$ac_ext <<_ACEOF
24455 /* confdefs.h. */
24456 _ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24460 $ac_includes_default
24461 typedef long long ac__type_sizeof_;
24462 int
24463 main ()
24464 {
24465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24466 test_array [0] = 0
24467
24468 ;
24469 return 0;
24470 }
24471 _ACEOF
24472 rm -f conftest.$ac_objext
24473 if { (ac_try="$ac_compile"
24474 case "(($ac_try" in
24475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24476 *) ac_try_echo=$ac_try;;
24477 esac
24478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24479 (eval "$ac_compile") 2>conftest.er1
24480 ac_status=$?
24481 grep -v '^ *+' conftest.er1 >conftest.err
24482 rm -f conftest.er1
24483 cat conftest.err >&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } && {
24486 test -z "$ac_c_werror_flag" ||
24487 test ! -s conftest.err
24488 } && test -s conftest.$ac_objext; then
24489 ac_hi=$ac_mid
24490 else
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.$ac_ext >&5
24493
24494 ac_lo=`expr '(' $ac_mid ')' + 1`
24495 fi
24496
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24498 done
24499 case $ac_lo in
24500 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24501 '') if test "$ac_cv_type_long_long" = yes; then
24502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24503 See \`config.log' for more details." >&5
24504 echo "$as_me: error: cannot compute sizeof (long long)
24505 See \`config.log' for more details." >&2;}
24506 { (exit 77); exit 77; }; }
24507 else
24508 ac_cv_sizeof_long_long=0
24509 fi ;;
24510 esac
24511 else
24512 cat >conftest.$ac_ext <<_ACEOF
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 $ac_includes_default
24519 typedef long long ac__type_sizeof_;
24520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24522 #include <stdio.h>
24523 #include <stdlib.h>
24524 int
24525 main ()
24526 {
24527
24528 FILE *f = fopen ("conftest.val", "w");
24529 if (! f)
24530 return 1;
24531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24532 {
24533 long int i = longval ();
24534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24535 return 1;
24536 fprintf (f, "%ld\n", i);
24537 }
24538 else
24539 {
24540 unsigned long int i = ulongval ();
24541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24542 return 1;
24543 fprintf (f, "%lu\n", i);
24544 }
24545 return ferror (f) || fclose (f) != 0;
24546
24547 ;
24548 return 0;
24549 }
24550 _ACEOF
24551 rm -f conftest$ac_exeext
24552 if { (ac_try="$ac_link"
24553 case "(($ac_try" in
24554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24555 *) ac_try_echo=$ac_try;;
24556 esac
24557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24558 (eval "$ac_link") 2>&5
24559 ac_status=$?
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24562 { (case "(($ac_try" in
24563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24564 *) ac_try_echo=$ac_try;;
24565 esac
24566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24567 (eval "$ac_try") 2>&5
24568 ac_status=$?
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24571 ac_cv_sizeof_long_long=`cat conftest.val`
24572 else
24573 echo "$as_me: program exited with status $ac_status" >&5
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.$ac_ext >&5
24576
24577 ( exit $ac_status )
24578 if test "$ac_cv_type_long_long" = yes; then
24579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24580 See \`config.log' for more details." >&5
24581 echo "$as_me: error: cannot compute sizeof (long long)
24582 See \`config.log' for more details." >&2;}
24583 { (exit 77); exit 77; }; }
24584 else
24585 ac_cv_sizeof_long_long=0
24586 fi
24587 fi
24588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24589 fi
24590 rm -f conftest.val
24591 fi
24592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24593 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24594
24595
24596
24597 cat >>confdefs.h <<_ACEOF
24598 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24599 _ACEOF
24600
24601
24602 if test "$ac_cv_sizeof_long_long" != "0"; then
24603 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24604 fi
24605 ;;
24606 * )
24607 { echo "$as_me:$LINENO: checking for long long" >&5
24608 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24609 if test "${ac_cv_type_long_long+set}" = set; then
24610 echo $ECHO_N "(cached) $ECHO_C" >&6
24611 else
24612 cat >conftest.$ac_ext <<_ACEOF
24613 /* confdefs.h. */
24614 _ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24618 $ac_includes_default
24619 typedef long long ac__type_new_;
24620 int
24621 main ()
24622 {
24623 if ((ac__type_new_ *) 0)
24624 return 0;
24625 if (sizeof (ac__type_new_))
24626 return 0;
24627 ;
24628 return 0;
24629 }
24630 _ACEOF
24631 rm -f conftest.$ac_objext
24632 if { (ac_try="$ac_compile"
24633 case "(($ac_try" in
24634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24635 *) ac_try_echo=$ac_try;;
24636 esac
24637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24638 (eval "$ac_compile") 2>conftest.er1
24639 ac_status=$?
24640 grep -v '^ *+' conftest.er1 >conftest.err
24641 rm -f conftest.er1
24642 cat conftest.err >&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } && {
24645 test -z "$ac_c_werror_flag" ||
24646 test ! -s conftest.err
24647 } && test -s conftest.$ac_objext; then
24648 ac_cv_type_long_long=yes
24649 else
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24652
24653 ac_cv_type_long_long=no
24654 fi
24655
24656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24657 fi
24658 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24659 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24660
24661 # The cast to long int works around a bug in the HP C Compiler
24662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24664 # This bug is HP SR number 8606223364.
24665 { echo "$as_me:$LINENO: checking size of long long" >&5
24666 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24667 if test "${ac_cv_sizeof_long_long+set}" = set; then
24668 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 else
24670 if test "$cross_compiling" = yes; then
24671 # Depending upon the size, compute the lo and hi bounds.
24672 cat >conftest.$ac_ext <<_ACEOF
24673 /* confdefs.h. */
24674 _ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 $ac_includes_default
24679 typedef long long ac__type_sizeof_;
24680 int
24681 main ()
24682 {
24683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24684 test_array [0] = 0
24685
24686 ;
24687 return 0;
24688 }
24689 _ACEOF
24690 rm -f conftest.$ac_objext
24691 if { (ac_try="$ac_compile"
24692 case "(($ac_try" in
24693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24694 *) ac_try_echo=$ac_try;;
24695 esac
24696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24697 (eval "$ac_compile") 2>conftest.er1
24698 ac_status=$?
24699 grep -v '^ *+' conftest.er1 >conftest.err
24700 rm -f conftest.er1
24701 cat conftest.err >&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } && {
24704 test -z "$ac_c_werror_flag" ||
24705 test ! -s conftest.err
24706 } && test -s conftest.$ac_objext; then
24707 ac_lo=0 ac_mid=0
24708 while :; do
24709 cat >conftest.$ac_ext <<_ACEOF
24710 /* confdefs.h. */
24711 _ACEOF
24712 cat confdefs.h >>conftest.$ac_ext
24713 cat >>conftest.$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24715 $ac_includes_default
24716 typedef long long ac__type_sizeof_;
24717 int
24718 main ()
24719 {
24720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24721 test_array [0] = 0
24722
24723 ;
24724 return 0;
24725 }
24726 _ACEOF
24727 rm -f conftest.$ac_objext
24728 if { (ac_try="$ac_compile"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24732 esac
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_compile") 2>conftest.er1
24735 ac_status=$?
24736 grep -v '^ *+' conftest.er1 >conftest.err
24737 rm -f conftest.er1
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_c_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest.$ac_objext; then
24744 ac_hi=$ac_mid; break
24745 else
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24748
24749 ac_lo=`expr $ac_mid + 1`
24750 if test $ac_lo -le $ac_mid; then
24751 ac_lo= ac_hi=
24752 break
24753 fi
24754 ac_mid=`expr 2 '*' $ac_mid + 1`
24755 fi
24756
24757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24758 done
24759 else
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24762
24763 cat >conftest.$ac_ext <<_ACEOF
24764 /* confdefs.h. */
24765 _ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24769 $ac_includes_default
24770 typedef long long ac__type_sizeof_;
24771 int
24772 main ()
24773 {
24774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24775 test_array [0] = 0
24776
24777 ;
24778 return 0;
24779 }
24780 _ACEOF
24781 rm -f conftest.$ac_objext
24782 if { (ac_try="$ac_compile"
24783 case "(($ac_try" in
24784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24785 *) ac_try_echo=$ac_try;;
24786 esac
24787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24788 (eval "$ac_compile") 2>conftest.er1
24789 ac_status=$?
24790 grep -v '^ *+' conftest.er1 >conftest.err
24791 rm -f conftest.er1
24792 cat conftest.err >&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } && {
24795 test -z "$ac_c_werror_flag" ||
24796 test ! -s conftest.err
24797 } && test -s conftest.$ac_objext; then
24798 ac_hi=-1 ac_mid=-1
24799 while :; do
24800 cat >conftest.$ac_ext <<_ACEOF
24801 /* confdefs.h. */
24802 _ACEOF
24803 cat confdefs.h >>conftest.$ac_ext
24804 cat >>conftest.$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24806 $ac_includes_default
24807 typedef long long ac__type_sizeof_;
24808 int
24809 main ()
24810 {
24811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24812 test_array [0] = 0
24813
24814 ;
24815 return 0;
24816 }
24817 _ACEOF
24818 rm -f conftest.$ac_objext
24819 if { (ac_try="$ac_compile"
24820 case "(($ac_try" in
24821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822 *) ac_try_echo=$ac_try;;
24823 esac
24824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825 (eval "$ac_compile") 2>conftest.er1
24826 ac_status=$?
24827 grep -v '^ *+' conftest.er1 >conftest.err
24828 rm -f conftest.er1
24829 cat conftest.err >&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); } && {
24832 test -z "$ac_c_werror_flag" ||
24833 test ! -s conftest.err
24834 } && test -s conftest.$ac_objext; then
24835 ac_lo=$ac_mid; break
24836 else
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24839
24840 ac_hi=`expr '(' $ac_mid ')' - 1`
24841 if test $ac_mid -le $ac_hi; then
24842 ac_lo= ac_hi=
24843 break
24844 fi
24845 ac_mid=`expr 2 '*' $ac_mid`
24846 fi
24847
24848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24849 done
24850 else
24851 echo "$as_me: failed program was:" >&5
24852 sed 's/^/| /' conftest.$ac_ext >&5
24853
24854 ac_lo= ac_hi=
24855 fi
24856
24857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24858 fi
24859
24860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24861 # Binary search between lo and hi bounds.
24862 while test "x$ac_lo" != "x$ac_hi"; do
24863 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24864 cat >conftest.$ac_ext <<_ACEOF
24865 /* confdefs.h. */
24866 _ACEOF
24867 cat confdefs.h >>conftest.$ac_ext
24868 cat >>conftest.$ac_ext <<_ACEOF
24869 /* end confdefs.h. */
24870 $ac_includes_default
24871 typedef long long ac__type_sizeof_;
24872 int
24873 main ()
24874 {
24875 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24876 test_array [0] = 0
24877
24878 ;
24879 return 0;
24880 }
24881 _ACEOF
24882 rm -f conftest.$ac_objext
24883 if { (ac_try="$ac_compile"
24884 case "(($ac_try" in
24885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24886 *) ac_try_echo=$ac_try;;
24887 esac
24888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24889 (eval "$ac_compile") 2>conftest.er1
24890 ac_status=$?
24891 grep -v '^ *+' conftest.er1 >conftest.err
24892 rm -f conftest.er1
24893 cat conftest.err >&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); } && {
24896 test -z "$ac_c_werror_flag" ||
24897 test ! -s conftest.err
24898 } && test -s conftest.$ac_objext; then
24899 ac_hi=$ac_mid
24900 else
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24903
24904 ac_lo=`expr '(' $ac_mid ')' + 1`
24905 fi
24906
24907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24908 done
24909 case $ac_lo in
24910 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24911 '') if test "$ac_cv_type_long_long" = yes; then
24912 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24913 See \`config.log' for more details." >&5
24914 echo "$as_me: error: cannot compute sizeof (long long)
24915 See \`config.log' for more details." >&2;}
24916 { (exit 77); exit 77; }; }
24917 else
24918 ac_cv_sizeof_long_long=0
24919 fi ;;
24920 esac
24921 else
24922 cat >conftest.$ac_ext <<_ACEOF
24923 /* confdefs.h. */
24924 _ACEOF
24925 cat confdefs.h >>conftest.$ac_ext
24926 cat >>conftest.$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24928 $ac_includes_default
24929 typedef long long ac__type_sizeof_;
24930 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24931 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24932 #include <stdio.h>
24933 #include <stdlib.h>
24934 int
24935 main ()
24936 {
24937
24938 FILE *f = fopen ("conftest.val", "w");
24939 if (! f)
24940 return 1;
24941 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24942 {
24943 long int i = longval ();
24944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24945 return 1;
24946 fprintf (f, "%ld\n", i);
24947 }
24948 else
24949 {
24950 unsigned long int i = ulongval ();
24951 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24952 return 1;
24953 fprintf (f, "%lu\n", i);
24954 }
24955 return ferror (f) || fclose (f) != 0;
24956
24957 ;
24958 return 0;
24959 }
24960 _ACEOF
24961 rm -f conftest$ac_exeext
24962 if { (ac_try="$ac_link"
24963 case "(($ac_try" in
24964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24965 *) ac_try_echo=$ac_try;;
24966 esac
24967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24968 (eval "$ac_link") 2>&5
24969 ac_status=$?
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24972 { (case "(($ac_try" in
24973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24974 *) ac_try_echo=$ac_try;;
24975 esac
24976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24977 (eval "$ac_try") 2>&5
24978 ac_status=$?
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24981 ac_cv_sizeof_long_long=`cat conftest.val`
24982 else
24983 echo "$as_me: program exited with status $ac_status" >&5
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.$ac_ext >&5
24986
24987 ( exit $ac_status )
24988 if test "$ac_cv_type_long_long" = yes; then
24989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24990 See \`config.log' for more details." >&5
24991 echo "$as_me: error: cannot compute sizeof (long long)
24992 See \`config.log' for more details." >&2;}
24993 { (exit 77); exit 77; }; }
24994 else
24995 ac_cv_sizeof_long_long=0
24996 fi
24997 fi
24998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24999 fi
25000 rm -f conftest.val
25001 fi
25002 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25003 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25004
25005
25006
25007 cat >>confdefs.h <<_ACEOF
25008 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25009 _ACEOF
25010
25011
25012 esac
25013
25014 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25015 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25016 if test "${ac_cv_type_wchar_t+set}" = set; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 else
25019 cat >conftest.$ac_ext <<_ACEOF
25020 /* confdefs.h. */
25021 _ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025
25026 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25027 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25028 # error "fake wchar_t"
25029 #endif
25030 #ifdef HAVE_WCHAR_H
25031 # ifdef __CYGWIN__
25032 # include <stddef.h>
25033 # endif
25034 # include <wchar.h>
25035 #endif
25036 #ifdef HAVE_STDLIB_H
25037 # include <stdlib.h>
25038 #endif
25039 #include <stdio.h>
25040
25041
25042
25043 typedef wchar_t ac__type_new_;
25044 int
25045 main ()
25046 {
25047 if ((ac__type_new_ *) 0)
25048 return 0;
25049 if (sizeof (ac__type_new_))
25050 return 0;
25051 ;
25052 return 0;
25053 }
25054 _ACEOF
25055 rm -f conftest.$ac_objext
25056 if { (ac_try="$ac_compile"
25057 case "(($ac_try" in
25058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25059 *) ac_try_echo=$ac_try;;
25060 esac
25061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25062 (eval "$ac_compile") 2>conftest.er1
25063 ac_status=$?
25064 grep -v '^ *+' conftest.er1 >conftest.err
25065 rm -f conftest.er1
25066 cat conftest.err >&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); } && {
25069 test -z "$ac_c_werror_flag" ||
25070 test ! -s conftest.err
25071 } && test -s conftest.$ac_objext; then
25072 ac_cv_type_wchar_t=yes
25073 else
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.$ac_ext >&5
25076
25077 ac_cv_type_wchar_t=no
25078 fi
25079
25080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25081 fi
25082 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25083 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25084
25085 # The cast to long int works around a bug in the HP C Compiler
25086 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25087 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25088 # This bug is HP SR number 8606223364.
25089 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25090 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25091 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25092 echo $ECHO_N "(cached) $ECHO_C" >&6
25093 else
25094 if test "$cross_compiling" = yes; then
25095 # Depending upon the size, compute the lo and hi bounds.
25096 cat >conftest.$ac_ext <<_ACEOF
25097 /* confdefs.h. */
25098 _ACEOF
25099 cat confdefs.h >>conftest.$ac_ext
25100 cat >>conftest.$ac_ext <<_ACEOF
25101 /* end confdefs.h. */
25102
25103 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25104 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25105 # error "fake wchar_t"
25106 #endif
25107 #ifdef HAVE_WCHAR_H
25108 # ifdef __CYGWIN__
25109 # include <stddef.h>
25110 # endif
25111 # include <wchar.h>
25112 #endif
25113 #ifdef HAVE_STDLIB_H
25114 # include <stdlib.h>
25115 #endif
25116 #include <stdio.h>
25117
25118
25119
25120 typedef wchar_t ac__type_sizeof_;
25121 int
25122 main ()
25123 {
25124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25125 test_array [0] = 0
25126
25127 ;
25128 return 0;
25129 }
25130 _ACEOF
25131 rm -f conftest.$ac_objext
25132 if { (ac_try="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25136 esac
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25139 ac_status=$?
25140 grep -v '^ *+' conftest.er1 >conftest.err
25141 rm -f conftest.er1
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_c_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25148 ac_lo=0 ac_mid=0
25149 while :; do
25150 cat >conftest.$ac_ext <<_ACEOF
25151 /* confdefs.h. */
25152 _ACEOF
25153 cat confdefs.h >>conftest.$ac_ext
25154 cat >>conftest.$ac_ext <<_ACEOF
25155 /* end confdefs.h. */
25156
25157 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25158 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25159 # error "fake wchar_t"
25160 #endif
25161 #ifdef HAVE_WCHAR_H
25162 # ifdef __CYGWIN__
25163 # include <stddef.h>
25164 # endif
25165 # include <wchar.h>
25166 #endif
25167 #ifdef HAVE_STDLIB_H
25168 # include <stdlib.h>
25169 #endif
25170 #include <stdio.h>
25171
25172
25173
25174 typedef wchar_t ac__type_sizeof_;
25175 int
25176 main ()
25177 {
25178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25179 test_array [0] = 0
25180
25181 ;
25182 return 0;
25183 }
25184 _ACEOF
25185 rm -f conftest.$ac_objext
25186 if { (ac_try="$ac_compile"
25187 case "(($ac_try" in
25188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25189 *) ac_try_echo=$ac_try;;
25190 esac
25191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25192 (eval "$ac_compile") 2>conftest.er1
25193 ac_status=$?
25194 grep -v '^ *+' conftest.er1 >conftest.err
25195 rm -f conftest.er1
25196 cat conftest.err >&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); } && {
25199 test -z "$ac_c_werror_flag" ||
25200 test ! -s conftest.err
25201 } && test -s conftest.$ac_objext; then
25202 ac_hi=$ac_mid; break
25203 else
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.$ac_ext >&5
25206
25207 ac_lo=`expr $ac_mid + 1`
25208 if test $ac_lo -le $ac_mid; then
25209 ac_lo= ac_hi=
25210 break
25211 fi
25212 ac_mid=`expr 2 '*' $ac_mid + 1`
25213 fi
25214
25215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25216 done
25217 else
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.$ac_ext >&5
25220
25221 cat >conftest.$ac_ext <<_ACEOF
25222 /* confdefs.h. */
25223 _ACEOF
25224 cat confdefs.h >>conftest.$ac_ext
25225 cat >>conftest.$ac_ext <<_ACEOF
25226 /* end confdefs.h. */
25227
25228 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25229 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25230 # error "fake wchar_t"
25231 #endif
25232 #ifdef HAVE_WCHAR_H
25233 # ifdef __CYGWIN__
25234 # include <stddef.h>
25235 # endif
25236 # include <wchar.h>
25237 #endif
25238 #ifdef HAVE_STDLIB_H
25239 # include <stdlib.h>
25240 #endif
25241 #include <stdio.h>
25242
25243
25244
25245 typedef wchar_t ac__type_sizeof_;
25246 int
25247 main ()
25248 {
25249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25250 test_array [0] = 0
25251
25252 ;
25253 return 0;
25254 }
25255 _ACEOF
25256 rm -f conftest.$ac_objext
25257 if { (ac_try="$ac_compile"
25258 case "(($ac_try" in
25259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25260 *) ac_try_echo=$ac_try;;
25261 esac
25262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25263 (eval "$ac_compile") 2>conftest.er1
25264 ac_status=$?
25265 grep -v '^ *+' conftest.er1 >conftest.err
25266 rm -f conftest.er1
25267 cat conftest.err >&5
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); } && {
25270 test -z "$ac_c_werror_flag" ||
25271 test ! -s conftest.err
25272 } && test -s conftest.$ac_objext; then
25273 ac_hi=-1 ac_mid=-1
25274 while :; do
25275 cat >conftest.$ac_ext <<_ACEOF
25276 /* confdefs.h. */
25277 _ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25281
25282 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25283 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25284 # error "fake wchar_t"
25285 #endif
25286 #ifdef HAVE_WCHAR_H
25287 # ifdef __CYGWIN__
25288 # include <stddef.h>
25289 # endif
25290 # include <wchar.h>
25291 #endif
25292 #ifdef HAVE_STDLIB_H
25293 # include <stdlib.h>
25294 #endif
25295 #include <stdio.h>
25296
25297
25298
25299 typedef wchar_t ac__type_sizeof_;
25300 int
25301 main ()
25302 {
25303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25304 test_array [0] = 0
25305
25306 ;
25307 return 0;
25308 }
25309 _ACEOF
25310 rm -f conftest.$ac_objext
25311 if { (ac_try="$ac_compile"
25312 case "(($ac_try" in
25313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25314 *) ac_try_echo=$ac_try;;
25315 esac
25316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25317 (eval "$ac_compile") 2>conftest.er1
25318 ac_status=$?
25319 grep -v '^ *+' conftest.er1 >conftest.err
25320 rm -f conftest.er1
25321 cat conftest.err >&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } && {
25324 test -z "$ac_c_werror_flag" ||
25325 test ! -s conftest.err
25326 } && test -s conftest.$ac_objext; then
25327 ac_lo=$ac_mid; break
25328 else
25329 echo "$as_me: failed program was:" >&5
25330 sed 's/^/| /' conftest.$ac_ext >&5
25331
25332 ac_hi=`expr '(' $ac_mid ')' - 1`
25333 if test $ac_mid -le $ac_hi; then
25334 ac_lo= ac_hi=
25335 break
25336 fi
25337 ac_mid=`expr 2 '*' $ac_mid`
25338 fi
25339
25340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25341 done
25342 else
25343 echo "$as_me: failed program was:" >&5
25344 sed 's/^/| /' conftest.$ac_ext >&5
25345
25346 ac_lo= ac_hi=
25347 fi
25348
25349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25350 fi
25351
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 # Binary search between lo and hi bounds.
25354 while test "x$ac_lo" != "x$ac_hi"; do
25355 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25356 cat >conftest.$ac_ext <<_ACEOF
25357 /* confdefs.h. */
25358 _ACEOF
25359 cat confdefs.h >>conftest.$ac_ext
25360 cat >>conftest.$ac_ext <<_ACEOF
25361 /* end confdefs.h. */
25362
25363 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25364 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25365 # error "fake wchar_t"
25366 #endif
25367 #ifdef HAVE_WCHAR_H
25368 # ifdef __CYGWIN__
25369 # include <stddef.h>
25370 # endif
25371 # include <wchar.h>
25372 #endif
25373 #ifdef HAVE_STDLIB_H
25374 # include <stdlib.h>
25375 #endif
25376 #include <stdio.h>
25377
25378
25379
25380 typedef wchar_t ac__type_sizeof_;
25381 int
25382 main ()
25383 {
25384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25385 test_array [0] = 0
25386
25387 ;
25388 return 0;
25389 }
25390 _ACEOF
25391 rm -f conftest.$ac_objext
25392 if { (ac_try="$ac_compile"
25393 case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25396 esac
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_compile") 2>conftest.er1
25399 ac_status=$?
25400 grep -v '^ *+' conftest.er1 >conftest.err
25401 rm -f conftest.er1
25402 cat conftest.err >&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } && {
25405 test -z "$ac_c_werror_flag" ||
25406 test ! -s conftest.err
25407 } && test -s conftest.$ac_objext; then
25408 ac_hi=$ac_mid
25409 else
25410 echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.$ac_ext >&5
25412
25413 ac_lo=`expr '(' $ac_mid ')' + 1`
25414 fi
25415
25416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25417 done
25418 case $ac_lo in
25419 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25420 '') if test "$ac_cv_type_wchar_t" = yes; then
25421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25422 See \`config.log' for more details." >&5
25423 echo "$as_me: error: cannot compute sizeof (wchar_t)
25424 See \`config.log' for more details." >&2;}
25425 { (exit 77); exit 77; }; }
25426 else
25427 ac_cv_sizeof_wchar_t=0
25428 fi ;;
25429 esac
25430 else
25431 cat >conftest.$ac_ext <<_ACEOF
25432 /* confdefs.h. */
25433 _ACEOF
25434 cat confdefs.h >>conftest.$ac_ext
25435 cat >>conftest.$ac_ext <<_ACEOF
25436 /* end confdefs.h. */
25437
25438 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25439 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25440 # error "fake wchar_t"
25441 #endif
25442 #ifdef HAVE_WCHAR_H
25443 # ifdef __CYGWIN__
25444 # include <stddef.h>
25445 # endif
25446 # include <wchar.h>
25447 #endif
25448 #ifdef HAVE_STDLIB_H
25449 # include <stdlib.h>
25450 #endif
25451 #include <stdio.h>
25452
25453
25454
25455 typedef wchar_t ac__type_sizeof_;
25456 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25457 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25458 #include <stdio.h>
25459 #include <stdlib.h>
25460 int
25461 main ()
25462 {
25463
25464 FILE *f = fopen ("conftest.val", "w");
25465 if (! f)
25466 return 1;
25467 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25468 {
25469 long int i = longval ();
25470 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25471 return 1;
25472 fprintf (f, "%ld\n", i);
25473 }
25474 else
25475 {
25476 unsigned long int i = ulongval ();
25477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25478 return 1;
25479 fprintf (f, "%lu\n", i);
25480 }
25481 return ferror (f) || fclose (f) != 0;
25482
25483 ;
25484 return 0;
25485 }
25486 _ACEOF
25487 rm -f conftest$ac_exeext
25488 if { (ac_try="$ac_link"
25489 case "(($ac_try" in
25490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25491 *) ac_try_echo=$ac_try;;
25492 esac
25493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25494 (eval "$ac_link") 2>&5
25495 ac_status=$?
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25498 { (case "(($ac_try" in
25499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25500 *) ac_try_echo=$ac_try;;
25501 esac
25502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25503 (eval "$ac_try") 2>&5
25504 ac_status=$?
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); }; }; then
25507 ac_cv_sizeof_wchar_t=`cat conftest.val`
25508 else
25509 echo "$as_me: program exited with status $ac_status" >&5
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.$ac_ext >&5
25512
25513 ( exit $ac_status )
25514 if test "$ac_cv_type_wchar_t" = yes; then
25515 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25516 See \`config.log' for more details." >&5
25517 echo "$as_me: error: cannot compute sizeof (wchar_t)
25518 See \`config.log' for more details." >&2;}
25519 { (exit 77); exit 77; }; }
25520 else
25521 ac_cv_sizeof_wchar_t=0
25522 fi
25523 fi
25524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25525 fi
25526 rm -f conftest.val
25527 fi
25528 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25529 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25530
25531
25532
25533 cat >>confdefs.h <<_ACEOF
25534 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25535 _ACEOF
25536
25537
25538 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25539 wxUSE_WCHAR_T=yes
25540 else
25541 wxUSE_WCHAR_T=no
25542 fi
25543
25544 { echo "$as_me:$LINENO: checking for va_copy" >&5
25545 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25546 if test "${wx_cv_func_va_copy+set}" = set; then
25547 echo $ECHO_N "(cached) $ECHO_C" >&6
25548 else
25549
25550 ac_ext=cpp
25551 ac_cpp='$CXXCPP $CPPFLAGS'
25552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25555
25556 cat >conftest.$ac_ext <<_ACEOF
25557
25558 #include <stdarg.h>
25559 void foo(char *f, ...)
25560 {
25561 va_list ap1, ap2;
25562 va_start(ap1, f);
25563 va_copy(ap2, ap1);
25564 va_end(ap2);
25565 va_end(ap1);
25566 }
25567 int main()
25568 {
25569 foo("hi", 17);
25570 return 0;
25571 }
25572 _ACEOF
25573 rm -f conftest.$ac_objext conftest$ac_exeext
25574 if { (ac_try="$ac_link"
25575 case "(($ac_try" in
25576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25577 *) ac_try_echo=$ac_try;;
25578 esac
25579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25580 (eval "$ac_link") 2>conftest.er1
25581 ac_status=$?
25582 grep -v '^ *+' conftest.er1 >conftest.err
25583 rm -f conftest.er1
25584 cat conftest.err >&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } && {
25587 test -z "$ac_cxx_werror_flag" ||
25588 test ! -s conftest.err
25589 } && test -s conftest$ac_exeext &&
25590 $as_test_x conftest$ac_exeext; then
25591 wx_cv_func_va_copy=yes
25592 else
25593 echo "$as_me: failed program was:" >&5
25594 sed 's/^/| /' conftest.$ac_ext >&5
25595
25596 wx_cv_func_va_copy=no
25597
25598 fi
25599
25600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25601 conftest$ac_exeext conftest.$ac_ext
25602 ac_ext=c
25603 ac_cpp='$CPP $CPPFLAGS'
25604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25607
25608
25609
25610 fi
25611 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25612 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25613
25614 if test $wx_cv_func_va_copy = "yes"; then
25615 cat >>confdefs.h <<\_ACEOF
25616 #define HAVE_VA_COPY 1
25617 _ACEOF
25618
25619 else
25620 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25621 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25622 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25625
25626 if test "$cross_compiling" = yes; then
25627 wx_cv_type_va_list_lvalue=yes
25628
25629 else
25630 cat >conftest.$ac_ext <<_ACEOF
25631
25632 #include <stdarg.h>
25633 int foo(char *f, ...)
25634 {
25635 va_list ap1, ap2;
25636 va_start(ap1, f);
25637 ap2 = ap1;
25638 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25639 return 1;
25640 va_end(ap2);
25641 va_end(ap1);
25642 return 0;
25643 }
25644 int main()
25645 {
25646 return foo("hi", 17);
25647 }
25648 _ACEOF
25649 rm -f conftest$ac_exeext
25650 if { (ac_try="$ac_link"
25651 case "(($ac_try" in
25652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25653 *) ac_try_echo=$ac_try;;
25654 esac
25655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25656 (eval "$ac_link") 2>&5
25657 ac_status=$?
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25660 { (case "(($ac_try" in
25661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25662 *) ac_try_echo=$ac_try;;
25663 esac
25664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25665 (eval "$ac_try") 2>&5
25666 ac_status=$?
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; }; then
25669 wx_cv_type_va_list_lvalue=yes
25670 else
25671 echo "$as_me: program exited with status $ac_status" >&5
25672 echo "$as_me: failed program was:" >&5
25673 sed 's/^/| /' conftest.$ac_ext >&5
25674
25675 ( exit $ac_status )
25676 wx_cv_type_va_list_lvalue=no
25677 fi
25678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25679 fi
25680
25681
25682
25683
25684 fi
25685 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25686 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25687
25688 if test $wx_cv_type_va_list_lvalue != "yes"; then
25689 cat >>confdefs.h <<\_ACEOF
25690 #define VA_LIST_IS_ARRAY 1
25691 _ACEOF
25692
25693 fi
25694 fi
25695
25696 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25697
25698 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25699 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25700 if test "${wx_cv_have_variadic_macros+set}" = set; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 else
25703
25704 ac_ext=cpp
25705 ac_cpp='$CXXCPP $CPPFLAGS'
25706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25709
25710 cat >conftest.$ac_ext <<_ACEOF
25711 /* confdefs.h. */
25712 _ACEOF
25713 cat confdefs.h >>conftest.$ac_ext
25714 cat >>conftest.$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25716
25717 #include <stdio.h>
25718 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25719
25720 int
25721 main ()
25722 {
25723
25724 test("%s %d %p", "test", 1, 0);
25725
25726
25727 ;
25728 return 0;
25729 }
25730 _ACEOF
25731 rm -f conftest.$ac_objext
25732 if { (ac_try="$ac_compile"
25733 case "(($ac_try" in
25734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25735 *) ac_try_echo=$ac_try;;
25736 esac
25737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25738 (eval "$ac_compile") 2>conftest.er1
25739 ac_status=$?
25740 grep -v '^ *+' conftest.er1 >conftest.err
25741 rm -f conftest.er1
25742 cat conftest.err >&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); } && {
25745 test -z "$ac_cxx_werror_flag" ||
25746 test ! -s conftest.err
25747 } && test -s conftest.$ac_objext; then
25748 wx_cv_have_variadic_macros=yes
25749 else
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.$ac_ext >&5
25752
25753 wx_cv_have_variadic_macros=no
25754
25755 fi
25756
25757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25758 ac_ext=c
25759 ac_cpp='$CPP $CPPFLAGS'
25760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25763
25764
25765
25766 fi
25767 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25768 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25769
25770 if test $wx_cv_have_variadic_macros = "yes"; then
25771 cat >>confdefs.h <<\_ACEOF
25772 #define HAVE_VARIADIC_MACROS 1
25773 _ACEOF
25774
25775 fi
25776
25777 fi
25778 # Check whether --enable-largefile was given.
25779 if test "${enable_largefile+set}" = set; then
25780 enableval=$enable_largefile;
25781 fi
25782
25783 if test "$enable_largefile" != no; then
25784 wx_largefile=no
25785
25786 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25787 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25788 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25789 echo $ECHO_N "(cached) $ECHO_C" >&6
25790 else
25791
25792 cat >conftest.$ac_ext <<_ACEOF
25793 /* confdefs.h. */
25794 _ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 #define _FILE_OFFSET_BITS 64
25799 #include <sys/types.h>
25800 int
25801 main ()
25802 {
25803 typedef struct {
25804 unsigned int field: sizeof(off_t) == 8;
25805 } wxlf;
25806
25807 ;
25808 return 0;
25809 }
25810 _ACEOF
25811 rm -f conftest.$ac_objext
25812 if { (ac_try="$ac_compile"
25813 case "(($ac_try" in
25814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25815 *) ac_try_echo=$ac_try;;
25816 esac
25817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25818 (eval "$ac_compile") 2>conftest.er1
25819 ac_status=$?
25820 grep -v '^ *+' conftest.er1 >conftest.err
25821 rm -f conftest.er1
25822 cat conftest.err >&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); } && {
25825 test -z "$ac_c_werror_flag" ||
25826 test ! -s conftest.err
25827 } && test -s conftest.$ac_objext; then
25828 ac_cv_sys_file_offset_bits=64
25829 else
25830 echo "$as_me: failed program was:" >&5
25831 sed 's/^/| /' conftest.$ac_ext >&5
25832
25833 ac_cv_sys_file_offset_bits=no
25834 fi
25835
25836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837
25838
25839 fi
25840 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25841 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25842
25843 if test "$ac_cv_sys_file_offset_bits" != no; then
25844 wx_largefile=yes
25845 cat >>confdefs.h <<_ACEOF
25846 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25847 _ACEOF
25848
25849 fi
25850
25851 if test "x$wx_largefile" != "xyes"; then
25852
25853 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25854 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25855 if test "${ac_cv_sys_large_files+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 else
25858
25859 cat >conftest.$ac_ext <<_ACEOF
25860 /* confdefs.h. */
25861 _ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 #define _LARGE_FILES 1
25866 #include <sys/types.h>
25867 int
25868 main ()
25869 {
25870 typedef struct {
25871 unsigned int field: sizeof(off_t) == 8;
25872 } wxlf;
25873
25874 ;
25875 return 0;
25876 }
25877 _ACEOF
25878 rm -f conftest.$ac_objext
25879 if { (ac_try="$ac_compile"
25880 case "(($ac_try" in
25881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25882 *) ac_try_echo=$ac_try;;
25883 esac
25884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25885 (eval "$ac_compile") 2>conftest.er1
25886 ac_status=$?
25887 grep -v '^ *+' conftest.er1 >conftest.err
25888 rm -f conftest.er1
25889 cat conftest.err >&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } && {
25892 test -z "$ac_c_werror_flag" ||
25893 test ! -s conftest.err
25894 } && test -s conftest.$ac_objext; then
25895 ac_cv_sys_large_files=1
25896 else
25897 echo "$as_me: failed program was:" >&5
25898 sed 's/^/| /' conftest.$ac_ext >&5
25899
25900 ac_cv_sys_large_files=no
25901 fi
25902
25903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25904
25905
25906 fi
25907 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25908 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25909
25910 if test "$ac_cv_sys_large_files" != no; then
25911 wx_largefile=yes
25912 cat >>confdefs.h <<_ACEOF
25913 #define _LARGE_FILES $ac_cv_sys_large_files
25914 _ACEOF
25915
25916 fi
25917
25918 fi
25919
25920 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25921 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25922 if test "x$wx_largefile" = "xyes"; then
25923 cat >>confdefs.h <<\_ACEOF
25924 #define HAVE_LARGEFILE_SUPPORT 1
25925 _ACEOF
25926
25927 fi
25928 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25929 echo "${ECHO_T}$wx_largefile" >&6; }
25930 fi
25931
25932
25933 if test "x$wx_largefile" = "xyes"; then
25934 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25935 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25936
25937 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25938 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25939 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25940 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25942 else
25943
25944 ac_ext=cpp
25945 ac_cpp='$CXXCPP $CPPFLAGS'
25946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25949
25950 cat >conftest.$ac_ext <<_ACEOF
25951 /* confdefs.h. */
25952 _ACEOF
25953 cat confdefs.h >>conftest.$ac_ext
25954 cat >>conftest.$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25956
25957 int
25958 main ()
25959 {
25960
25961 #ifndef __STDC_EXT__
25962 choke me
25963 #endif
25964
25965 ;
25966 return 0;
25967 }
25968 _ACEOF
25969 rm -f conftest.$ac_objext
25970 if { (ac_try="$ac_compile"
25971 case "(($ac_try" in
25972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25973 *) ac_try_echo=$ac_try;;
25974 esac
25975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25976 (eval "$ac_compile") 2>conftest.er1
25977 ac_status=$?
25978 grep -v '^ *+' conftest.er1 >conftest.err
25979 rm -f conftest.er1
25980 cat conftest.err >&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } && {
25983 test -z "$ac_cxx_werror_flag" ||
25984 test ! -s conftest.err
25985 } && test -s conftest.$ac_objext; then
25986 wx_cv_STDC_EXT_required=no
25987 else
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.$ac_ext >&5
25990
25991 wx_cv_STDC_EXT_required=yes
25992
25993 fi
25994
25995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25996 ac_ext=c
25997 ac_cpp='$CPP $CPPFLAGS'
25998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26001
26002
26003
26004 fi
26005 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26006 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26007 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26008 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26009 fi
26010 fi
26011 else
26012 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26013 fi
26014 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26015 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26016 if test "${ac_cv_sys_largefile_source+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26018 else
26019 while :; do
26020 cat >conftest.$ac_ext <<_ACEOF
26021 /* confdefs.h. */
26022 _ACEOF
26023 cat confdefs.h >>conftest.$ac_ext
26024 cat >>conftest.$ac_ext <<_ACEOF
26025 /* end confdefs.h. */
26026 #include <sys/types.h> /* for off_t */
26027 #include <stdio.h>
26028 int
26029 main ()
26030 {
26031 int (*fp) (FILE *, off_t, int) = fseeko;
26032 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26033 ;
26034 return 0;
26035 }
26036 _ACEOF
26037 rm -f conftest.$ac_objext conftest$ac_exeext
26038 if { (ac_try="$ac_link"
26039 case "(($ac_try" in
26040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26041 *) ac_try_echo=$ac_try;;
26042 esac
26043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26044 (eval "$ac_link") 2>conftest.er1
26045 ac_status=$?
26046 grep -v '^ *+' conftest.er1 >conftest.err
26047 rm -f conftest.er1
26048 cat conftest.err >&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); } && {
26051 test -z "$ac_c_werror_flag" ||
26052 test ! -s conftest.err
26053 } && test -s conftest$ac_exeext &&
26054 $as_test_x conftest$ac_exeext; then
26055 ac_cv_sys_largefile_source=no; break
26056 else
26057 echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.$ac_ext >&5
26059
26060
26061 fi
26062
26063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26064 conftest$ac_exeext conftest.$ac_ext
26065 cat >conftest.$ac_ext <<_ACEOF
26066 /* confdefs.h. */
26067 _ACEOF
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26071 #define _LARGEFILE_SOURCE 1
26072 #include <sys/types.h> /* for off_t */
26073 #include <stdio.h>
26074 int
26075 main ()
26076 {
26077 int (*fp) (FILE *, off_t, int) = fseeko;
26078 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26079 ;
26080 return 0;
26081 }
26082 _ACEOF
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (ac_try="$ac_link"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26088 esac
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_link") 2>conftest.er1
26091 ac_status=$?
26092 grep -v '^ *+' conftest.er1 >conftest.err
26093 rm -f conftest.er1
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } && {
26097 test -z "$ac_c_werror_flag" ||
26098 test ! -s conftest.err
26099 } && test -s conftest$ac_exeext &&
26100 $as_test_x conftest$ac_exeext; then
26101 ac_cv_sys_largefile_source=1; break
26102 else
26103 echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.$ac_ext >&5
26105
26106
26107 fi
26108
26109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26110 conftest$ac_exeext conftest.$ac_ext
26111 ac_cv_sys_largefile_source=unknown
26112 break
26113 done
26114 fi
26115 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26116 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26117 case $ac_cv_sys_largefile_source in #(
26118 no | unknown) ;;
26119 *)
26120 cat >>confdefs.h <<_ACEOF
26121 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26122 _ACEOF
26123 ;;
26124 esac
26125 rm -f conftest*
26126
26127 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26128 # in glibc 2.1.3, but that breaks too many other things.
26129 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26130 if test $ac_cv_sys_largefile_source != unknown; then
26131
26132 cat >>confdefs.h <<\_ACEOF
26133 #define HAVE_FSEEKO 1
26134 _ACEOF
26135
26136 fi
26137
26138 if test "$ac_cv_sys_largefile_source" != no; then
26139 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26140 fi
26141 fi
26142
26143 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26144 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26145 if test "${ac_cv_c_bigendian+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 else
26148 ac_cv_c_bigendian=unknown
26149 # See if sys/param.h defines the BYTE_ORDER macro.
26150 cat >conftest.$ac_ext <<_ACEOF
26151 /* confdefs.h. */
26152 _ACEOF
26153 cat confdefs.h >>conftest.$ac_ext
26154 cat >>conftest.$ac_ext <<_ACEOF
26155 /* end confdefs.h. */
26156 #include <sys/types.h>
26157 #include <sys/param.h>
26158 int
26159 main ()
26160 {
26161
26162 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26163 bogus endian macros
26164 #endif
26165 ;
26166 return 0;
26167 }
26168 _ACEOF
26169 rm -f conftest.$ac_objext
26170 if { (ac_try="$ac_compile"
26171 case "(($ac_try" in
26172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26174 esac
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_compile") 2>conftest.er1
26177 ac_status=$?
26178 grep -v '^ *+' conftest.er1 >conftest.err
26179 rm -f conftest.er1
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } && {
26183 test -z "$ac_c_werror_flag" ||
26184 test ! -s conftest.err
26185 } && test -s conftest.$ac_objext; then
26186 # It does; now see whether it defined to BIG_ENDIAN or not.
26187 cat >conftest.$ac_ext <<_ACEOF
26188 /* confdefs.h. */
26189 _ACEOF
26190 cat confdefs.h >>conftest.$ac_ext
26191 cat >>conftest.$ac_ext <<_ACEOF
26192 /* end confdefs.h. */
26193 #include <sys/types.h>
26194 #include <sys/param.h>
26195 int
26196 main ()
26197 {
26198
26199 #if BYTE_ORDER != BIG_ENDIAN
26200 not big endian
26201 #endif
26202 ;
26203 return 0;
26204 }
26205 _ACEOF
26206 rm -f conftest.$ac_objext
26207 if { (ac_try="$ac_compile"
26208 case "(($ac_try" in
26209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26210 *) ac_try_echo=$ac_try;;
26211 esac
26212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26213 (eval "$ac_compile") 2>conftest.er1
26214 ac_status=$?
26215 grep -v '^ *+' conftest.er1 >conftest.err
26216 rm -f conftest.er1
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } && {
26220 test -z "$ac_c_werror_flag" ||
26221 test ! -s conftest.err
26222 } && test -s conftest.$ac_objext; then
26223 ac_cv_c_bigendian=yes
26224 else
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26227
26228 ac_cv_c_bigendian=no
26229 fi
26230
26231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232 else
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.$ac_ext >&5
26235
26236
26237 fi
26238
26239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26240 if test $ac_cv_c_bigendian = unknown; then
26241 if test "$cross_compiling" = yes; then
26242 ac_cv_c_bigendian=unknown
26243 else
26244 cat >conftest.$ac_ext <<_ACEOF
26245 /* confdefs.h. */
26246 _ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26250 main () {
26251 /* Are we little or big endian? From Harbison&Steele. */
26252 union
26253 {
26254 long l;
26255 char c[sizeof (long)];
26256 } u;
26257 u.l = 1;
26258 exit (u.c[sizeof (long) - 1] == 1);
26259 }
26260 _ACEOF
26261 rm -f conftest$ac_exeext
26262 if { (ac_try="$ac_link"
26263 case "(($ac_try" in
26264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26265 *) ac_try_echo=$ac_try;;
26266 esac
26267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26268 (eval "$ac_link") 2>&5
26269 ac_status=$?
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26272 { (case "(($ac_try" in
26273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26275 esac
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_try") 2>&5
26278 ac_status=$?
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); }; }; then
26281 ac_cv_c_bigendian=no
26282 else
26283 echo "$as_me: program exited with status $ac_status" >&5
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26286
26287 ( exit $ac_status )
26288 ac_cv_c_bigendian=yes
26289 fi
26290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26291 fi
26292
26293
26294 fi
26295 fi
26296 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26297 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26298 if test $ac_cv_c_bigendian = unknown; then
26299 { 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
26300 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;}
26301 fi
26302 if test $ac_cv_c_bigendian = yes; then
26303 cat >>confdefs.h <<\_ACEOF
26304 #define WORDS_BIGENDIAN 1
26305 _ACEOF
26306
26307 fi
26308
26309
26310
26311
26312 ac_ext=cpp
26313 ac_cpp='$CXXCPP $CPPFLAGS'
26314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26317
26318
26319
26320 for ac_header in iostream
26321 do
26322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26323 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26326 echo $ECHO_N "(cached) $ECHO_C" >&6
26327 else
26328 cat >conftest.$ac_ext <<_ACEOF
26329 /* confdefs.h. */
26330 _ACEOF
26331 cat confdefs.h >>conftest.$ac_ext
26332 cat >>conftest.$ac_ext <<_ACEOF
26333 /* end confdefs.h. */
26334
26335
26336 #include <$ac_header>
26337 _ACEOF
26338 rm -f conftest.$ac_objext
26339 if { (ac_try="$ac_compile"
26340 case "(($ac_try" in
26341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26342 *) ac_try_echo=$ac_try;;
26343 esac
26344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26345 (eval "$ac_compile") 2>conftest.er1
26346 ac_status=$?
26347 grep -v '^ *+' conftest.er1 >conftest.err
26348 rm -f conftest.er1
26349 cat conftest.err >&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); } && {
26352 test -z "$ac_cxx_werror_flag" ||
26353 test ! -s conftest.err
26354 } && test -s conftest.$ac_objext; then
26355 eval "$as_ac_Header=yes"
26356 else
26357 echo "$as_me: failed program was:" >&5
26358 sed 's/^/| /' conftest.$ac_ext >&5
26359
26360 eval "$as_ac_Header=no"
26361 fi
26362
26363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26364 fi
26365 ac_res=`eval echo '${'$as_ac_Header'}'`
26366 { echo "$as_me:$LINENO: result: $ac_res" >&5
26367 echo "${ECHO_T}$ac_res" >&6; }
26368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26369 cat >>confdefs.h <<_ACEOF
26370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26371 _ACEOF
26372
26373 fi
26374
26375 done
26376
26377
26378 if test "$ac_cv_header_iostream" = "yes" ; then
26379 :
26380 else
26381 cat >>confdefs.h <<\_ACEOF
26382 #define wxUSE_IOSTREAMH 1
26383 _ACEOF
26384
26385 fi
26386
26387 ac_ext=c
26388 ac_cpp='$CPP $CPPFLAGS'
26389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26392
26393
26394
26395
26396 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26397 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26398 if test "${wx_cv_cpp_bool+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26400 else
26401
26402
26403 ac_ext=cpp
26404 ac_cpp='$CXXCPP $CPPFLAGS'
26405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26408
26409
26410 cat >conftest.$ac_ext <<_ACEOF
26411 /* confdefs.h. */
26412 _ACEOF
26413 cat confdefs.h >>conftest.$ac_ext
26414 cat >>conftest.$ac_ext <<_ACEOF
26415 /* end confdefs.h. */
26416
26417
26418 int
26419 main ()
26420 {
26421
26422 bool b = true;
26423
26424 return 0;
26425
26426 ;
26427 return 0;
26428 }
26429 _ACEOF
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26435 esac
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26438 ac_status=$?
26439 grep -v '^ *+' conftest.er1 >conftest.err
26440 rm -f conftest.er1
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_cxx_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest.$ac_objext; then
26447
26448 wx_cv_cpp_bool=yes
26449
26450 else
26451 echo "$as_me: failed program was:" >&5
26452 sed 's/^/| /' conftest.$ac_ext >&5
26453
26454
26455 wx_cv_cpp_bool=no
26456
26457
26458 fi
26459
26460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26461
26462 ac_ext=c
26463 ac_cpp='$CPP $CPPFLAGS'
26464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26467
26468
26469 fi
26470 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26471 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26472
26473 if test "$wx_cv_cpp_bool" = "yes"; then
26474 cat >>confdefs.h <<\_ACEOF
26475 #define HAVE_BOOL 1
26476 _ACEOF
26477
26478 fi
26479
26480
26481
26482 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26483 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26484 if test "${wx_cv_explicit+set}" = set; then
26485 echo $ECHO_N "(cached) $ECHO_C" >&6
26486 else
26487
26488
26489 ac_ext=cpp
26490 ac_cpp='$CXXCPP $CPPFLAGS'
26491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26494
26495
26496 cat >conftest.$ac_ext <<_ACEOF
26497 /* confdefs.h. */
26498 _ACEOF
26499 cat confdefs.h >>conftest.$ac_ext
26500 cat >>conftest.$ac_ext <<_ACEOF
26501 /* end confdefs.h. */
26502
26503 class Foo { public: explicit Foo(int) {} };
26504
26505 int
26506 main ()
26507 {
26508
26509 return 0;
26510
26511 ;
26512 return 0;
26513 }
26514 _ACEOF
26515 rm -f conftest.$ac_objext
26516 if { (ac_try="$ac_compile"
26517 case "(($ac_try" in
26518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26519 *) ac_try_echo=$ac_try;;
26520 esac
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_compile") 2>conftest.er1
26523 ac_status=$?
26524 grep -v '^ *+' conftest.er1 >conftest.err
26525 rm -f conftest.er1
26526 cat conftest.err >&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } && {
26529 test -z "$ac_cxx_werror_flag" ||
26530 test ! -s conftest.err
26531 } && test -s conftest.$ac_objext; then
26532
26533 cat >conftest.$ac_ext <<_ACEOF
26534 /* confdefs.h. */
26535 _ACEOF
26536 cat confdefs.h >>conftest.$ac_ext
26537 cat >>conftest.$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26539
26540 class Foo { public: explicit Foo(int) {} };
26541 static void TakeFoo(const Foo& foo) { }
26542
26543 int
26544 main ()
26545 {
26546
26547 TakeFoo(17);
26548 return 0;
26549
26550 ;
26551 return 0;
26552 }
26553 _ACEOF
26554 rm -f conftest.$ac_objext
26555 if { (ac_try="$ac_compile"
26556 case "(($ac_try" in
26557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26558 *) ac_try_echo=$ac_try;;
26559 esac
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561 (eval "$ac_compile") 2>conftest.er1
26562 ac_status=$?
26563 grep -v '^ *+' conftest.er1 >conftest.err
26564 rm -f conftest.er1
26565 cat conftest.err >&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); } && {
26568 test -z "$ac_cxx_werror_flag" ||
26569 test ! -s conftest.err
26570 } && test -s conftest.$ac_objext; then
26571 wx_cv_explicit=no
26572 else
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.$ac_ext >&5
26575
26576 wx_cv_explicit=yes
26577
26578 fi
26579
26580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26581
26582 else
26583 echo "$as_me: failed program was:" >&5
26584 sed 's/^/| /' conftest.$ac_ext >&5
26585
26586 wx_cv_explicit=no
26587
26588 fi
26589
26590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26591
26592 ac_ext=c
26593 ac_cpp='$CPP $CPPFLAGS'
26594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26597
26598
26599 fi
26600 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26601 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26602
26603 if test "$wx_cv_explicit" = "yes"; then
26604 cat >>confdefs.h <<\_ACEOF
26605 #define HAVE_EXPLICIT 1
26606 _ACEOF
26607
26608 fi
26609
26610
26611 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26612 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26613 if test "${ac_cv_cxx_const_cast+set}" = set; then
26614 echo $ECHO_N "(cached) $ECHO_C" >&6
26615 else
26616
26617 ac_ext=cpp
26618 ac_cpp='$CXXCPP $CPPFLAGS'
26619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26622
26623 cat >conftest.$ac_ext <<_ACEOF
26624 /* confdefs.h. */
26625 _ACEOF
26626 cat confdefs.h >>conftest.$ac_ext
26627 cat >>conftest.$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26629
26630 int
26631 main ()
26632 {
26633 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26634 ;
26635 return 0;
26636 }
26637 _ACEOF
26638 rm -f conftest.$ac_objext
26639 if { (ac_try="$ac_compile"
26640 case "(($ac_try" in
26641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26642 *) ac_try_echo=$ac_try;;
26643 esac
26644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26645 (eval "$ac_compile") 2>conftest.er1
26646 ac_status=$?
26647 grep -v '^ *+' conftest.er1 >conftest.err
26648 rm -f conftest.er1
26649 cat conftest.err >&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } && {
26652 test -z "$ac_cxx_werror_flag" ||
26653 test ! -s conftest.err
26654 } && test -s conftest.$ac_objext; then
26655 ac_cv_cxx_const_cast=yes
26656 else
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.$ac_ext >&5
26659
26660 ac_cv_cxx_const_cast=no
26661 fi
26662
26663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26664 ac_ext=c
26665 ac_cpp='$CPP $CPPFLAGS'
26666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26669
26670
26671 fi
26672 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26673 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26674 if test "$ac_cv_cxx_const_cast" = yes; then
26675
26676 cat >>confdefs.h <<\_ACEOF
26677 #define HAVE_CONST_CAST
26678 _ACEOF
26679
26680 fi
26681
26682 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26683 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26684 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26685 echo $ECHO_N "(cached) $ECHO_C" >&6
26686 else
26687
26688 ac_ext=cpp
26689 ac_cpp='$CXXCPP $CPPFLAGS'
26690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26693
26694 cat >conftest.$ac_ext <<_ACEOF
26695 /* confdefs.h. */
26696 _ACEOF
26697 cat confdefs.h >>conftest.$ac_ext
26698 cat >>conftest.$ac_ext <<_ACEOF
26699 /* end confdefs.h. */
26700 #include <typeinfo>
26701 class Base { public : Base () {} virtual void f () = 0;};
26702 class Derived : public Base { public : Derived () {} virtual void f () {} };
26703 class Unrelated { public : Unrelated () {} };
26704 int g (Unrelated&) { return 0; }
26705 int
26706 main ()
26707 {
26708
26709 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26710 ;
26711 return 0;
26712 }
26713 _ACEOF
26714 rm -f conftest.$ac_objext
26715 if { (ac_try="$ac_compile"
26716 case "(($ac_try" in
26717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26718 *) ac_try_echo=$ac_try;;
26719 esac
26720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26721 (eval "$ac_compile") 2>conftest.er1
26722 ac_status=$?
26723 grep -v '^ *+' conftest.er1 >conftest.err
26724 rm -f conftest.er1
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && {
26728 test -z "$ac_cxx_werror_flag" ||
26729 test ! -s conftest.err
26730 } && test -s conftest.$ac_objext; then
26731 ac_cv_cxx_reinterpret_cast=yes
26732 else
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.$ac_ext >&5
26735
26736 ac_cv_cxx_reinterpret_cast=no
26737 fi
26738
26739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26740 ac_ext=c
26741 ac_cpp='$CPP $CPPFLAGS'
26742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26745
26746
26747 fi
26748 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26749 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26750 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26751
26752 cat >>confdefs.h <<\_ACEOF
26753 #define HAVE_REINTERPRET_CAST
26754 _ACEOF
26755
26756 fi
26757
26758 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26759 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26760 if test "${ac_cv_cxx_static_cast+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 else
26763
26764 ac_ext=cpp
26765 ac_cpp='$CXXCPP $CPPFLAGS'
26766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26769
26770 cat >conftest.$ac_ext <<_ACEOF
26771 /* confdefs.h. */
26772 _ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776 #include <typeinfo>
26777 class Base { public : Base () {} virtual void f () = 0; };
26778 class Derived : public Base { public : Derived () {} virtual void f () {} };
26779 int g (Derived&) { return 0; }
26780 int
26781 main ()
26782 {
26783
26784 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26785 ;
26786 return 0;
26787 }
26788 _ACEOF
26789 rm -f conftest.$ac_objext
26790 if { (ac_try="$ac_compile"
26791 case "(($ac_try" in
26792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26793 *) ac_try_echo=$ac_try;;
26794 esac
26795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26796 (eval "$ac_compile") 2>conftest.er1
26797 ac_status=$?
26798 grep -v '^ *+' conftest.er1 >conftest.err
26799 rm -f conftest.er1
26800 cat conftest.err >&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } && {
26803 test -z "$ac_cxx_werror_flag" ||
26804 test ! -s conftest.err
26805 } && test -s conftest.$ac_objext; then
26806 ac_cv_cxx_static_cast=yes
26807 else
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26810
26811 ac_cv_cxx_static_cast=no
26812 fi
26813
26814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26815 ac_ext=c
26816 ac_cpp='$CPP $CPPFLAGS'
26817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26820
26821
26822 fi
26823 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26824 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26825 if test "$ac_cv_cxx_static_cast" = yes; then
26826
26827 cat >>confdefs.h <<\_ACEOF
26828 #define HAVE_STATIC_CAST
26829 _ACEOF
26830
26831 fi
26832
26833
26834 if test "x$SUNCXX" = xyes; then
26835 CXXFLAGS="-features=tmplife $CXXFLAGS"
26836 fi
26837
26838 if test "x$SUNCC" = xyes; then
26839 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26840 fi
26841
26842 if test "x$SGICC" = "xyes"; then
26843 CFLAGS="-woff 3970 $CFLAGS"
26844 fi
26845 if test "x$SGICXX" = "xyes"; then
26846 CXXFLAGS="-woff 3970 $CXXFLAGS"
26847 fi
26848
26849 if test "x$HPCC" = "xyes"; then
26850 CFLAGS="+W 2011,2450 $CFLAGS"
26851 fi
26852 if test "x$HPCXX" = "xyes"; then
26853 CXXFLAGS="+W 2340 $CXXFLAGS"
26854 fi
26855
26856 if test "x$COMPAQCXX" = "xyes"; then
26857 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26858 fi
26859
26860 ac_ext=cpp
26861 ac_cpp='$CXXCPP $CPPFLAGS'
26862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26865
26866
26867 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26868 if test "$wxUSE_UNICODE" = "yes"; then
26869 std_string="std::wstring"
26870 char_type="wchar_t"
26871 else
26872 std_string="std::string"
26873 char_type="char"
26874 fi
26875
26876 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26877 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26878 if test "${wx_cv_class_stdstring+set}" = set; then
26879 echo $ECHO_N "(cached) $ECHO_C" >&6
26880 else
26881
26882 cat >conftest.$ac_ext <<_ACEOF
26883 /* confdefs.h. */
26884 _ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26888 #include <string>
26889 int
26890 main ()
26891 {
26892 $std_string foo;
26893 ;
26894 return 0;
26895 }
26896 _ACEOF
26897 rm -f conftest.$ac_objext
26898 if { (ac_try="$ac_compile"
26899 case "(($ac_try" in
26900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26901 *) ac_try_echo=$ac_try;;
26902 esac
26903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26904 (eval "$ac_compile") 2>conftest.er1
26905 ac_status=$?
26906 grep -v '^ *+' conftest.er1 >conftest.err
26907 rm -f conftest.er1
26908 cat conftest.err >&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); } && {
26911 test -z "$ac_cxx_werror_flag" ||
26912 test ! -s conftest.err
26913 } && test -s conftest.$ac_objext; then
26914 wx_cv_class_stdstring=yes
26915 else
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26918
26919 wx_cv_class_stdstring=no
26920
26921 fi
26922
26923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26924
26925
26926 fi
26927 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26928 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26929
26930 if test "$wx_cv_class_stdstring" = yes; then
26931 if test "$wxUSE_UNICODE" = "yes"; then
26932 cat >>confdefs.h <<\_ACEOF
26933 #define HAVE_STD_WSTRING 1
26934 _ACEOF
26935
26936 fi
26937 else
26938 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26939 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26940 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26943
26944 cat >conftest.$ac_ext <<_ACEOF
26945 /* confdefs.h. */
26946 _ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26950
26951 #ifdef HAVE_WCHAR_H
26952 # ifdef __CYGWIN__
26953 # include <stddef.h>
26954 # endif
26955 # include <wchar.h>
26956 #endif
26957 #ifdef HAVE_STDLIB_H
26958 # include <stdlib.h>
26959 #endif
26960 #include <stdio.h>
26961 #include <string>
26962
26963 int
26964 main ()
26965 {
26966 std::basic_string<$char_type> foo;
26967 const $char_type* dummy = foo.c_str();
26968 ;
26969 return 0;
26970 }
26971 _ACEOF
26972 rm -f conftest.$ac_objext
26973 if { (ac_try="$ac_compile"
26974 case "(($ac_try" in
26975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26976 *) ac_try_echo=$ac_try;;
26977 esac
26978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26979 (eval "$ac_compile") 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } && {
26986 test -z "$ac_cxx_werror_flag" ||
26987 test ! -s conftest.err
26988 } && test -s conftest.$ac_objext; then
26989 wx_cv_class_stdbasicstring=yes
26990 else
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26993
26994 wx_cv_class_stdbasicstring=no
26995
26996 fi
26997
26998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26999
27000
27001 fi
27002 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27003 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27004
27005 if test "$wx_cv_class_stdbasicstring" != yes; then
27006 if test "$wxUSE_STL" = "yes"; then
27007 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27008 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27009 { (exit 1); exit 1; }; }
27010 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27011 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27012 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27013 { (exit 1); exit 1; }; }
27014 else
27015 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27016 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27017 wxUSE_STD_STRING=no
27018 fi
27019 fi
27020 fi
27021 fi
27022
27023 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27024 { echo "$as_me:$LINENO: checking for std::istream" >&5
27025 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27026 if test "${ac_cv_type_std__istream+set}" = set; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 else
27029 cat >conftest.$ac_ext <<_ACEOF
27030 /* confdefs.h. */
27031 _ACEOF
27032 cat confdefs.h >>conftest.$ac_ext
27033 cat >>conftest.$ac_ext <<_ACEOF
27034 /* end confdefs.h. */
27035 #include <iostream>
27036
27037 typedef std::istream ac__type_new_;
27038 int
27039 main ()
27040 {
27041 if ((ac__type_new_ *) 0)
27042 return 0;
27043 if (sizeof (ac__type_new_))
27044 return 0;
27045 ;
27046 return 0;
27047 }
27048 _ACEOF
27049 rm -f conftest.$ac_objext
27050 if { (ac_try="$ac_compile"
27051 case "(($ac_try" in
27052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27053 *) ac_try_echo=$ac_try;;
27054 esac
27055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27056 (eval "$ac_compile") 2>conftest.er1
27057 ac_status=$?
27058 grep -v '^ *+' conftest.er1 >conftest.err
27059 rm -f conftest.er1
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } && {
27063 test -z "$ac_cxx_werror_flag" ||
27064 test ! -s conftest.err
27065 } && test -s conftest.$ac_objext; then
27066 ac_cv_type_std__istream=yes
27067 else
27068 echo "$as_me: failed program was:" >&5
27069 sed 's/^/| /' conftest.$ac_ext >&5
27070
27071 ac_cv_type_std__istream=no
27072 fi
27073
27074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27075 fi
27076 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27077 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27078 if test $ac_cv_type_std__istream = yes; then
27079
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE_STD__ISTREAM 1
27082 _ACEOF
27083
27084
27085 else
27086 wxUSE_STD_IOSTREAM=no
27087 fi
27088 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27089 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27090 if test "${ac_cv_type_std__ostream+set}" = set; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 else
27093 cat >conftest.$ac_ext <<_ACEOF
27094 /* confdefs.h. */
27095 _ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099 #include <iostream>
27100
27101 typedef std::ostream ac__type_new_;
27102 int
27103 main ()
27104 {
27105 if ((ac__type_new_ *) 0)
27106 return 0;
27107 if (sizeof (ac__type_new_))
27108 return 0;
27109 ;
27110 return 0;
27111 }
27112 _ACEOF
27113 rm -f conftest.$ac_objext
27114 if { (ac_try="$ac_compile"
27115 case "(($ac_try" in
27116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27117 *) ac_try_echo=$ac_try;;
27118 esac
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_compile") 2>conftest.er1
27121 ac_status=$?
27122 grep -v '^ *+' conftest.er1 >conftest.err
27123 rm -f conftest.er1
27124 cat conftest.err >&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } && {
27127 test -z "$ac_cxx_werror_flag" ||
27128 test ! -s conftest.err
27129 } && test -s conftest.$ac_objext; then
27130 ac_cv_type_std__ostream=yes
27131 else
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27134
27135 ac_cv_type_std__ostream=no
27136 fi
27137
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27139 fi
27140 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27141 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27142 if test $ac_cv_type_std__ostream = yes; then
27143
27144 cat >>confdefs.h <<_ACEOF
27145 #define HAVE_STD__OSTREAM 1
27146 _ACEOF
27147
27148
27149 else
27150 wxUSE_STD_IOSTREAM=no
27151 fi
27152
27153
27154 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27155 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27156 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27157 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27158 { (exit 1); exit 1; }; }
27159 else
27160 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27161 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27162 fi
27163 fi
27164 fi
27165
27166 if test "$wxUSE_STL" = "yes"; then
27167 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27168 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27169 if test "${wx_cv_lib_stl+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 else
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178 #include <string>
27179 #include <functional>
27180 #include <algorithm>
27181 #include <vector>
27182 #include <list>
27183 int
27184 main ()
27185 {
27186 std::vector<int> moo;
27187 std::list<int> foo;
27188 std::vector<int>::iterator it =
27189 std::find_if(moo.begin(), moo.end(),
27190 std::bind2nd(std::less<int>(), 3));
27191 ;
27192 return 0;
27193 }
27194 _ACEOF
27195 rm -f conftest.$ac_objext
27196 if { (ac_try="$ac_compile"
27197 case "(($ac_try" in
27198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27200 esac
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_compile") 2>conftest.er1
27203 ac_status=$?
27204 grep -v '^ *+' conftest.er1 >conftest.err
27205 rm -f conftest.er1
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } && {
27209 test -z "$ac_cxx_werror_flag" ||
27210 test ! -s conftest.err
27211 } && test -s conftest.$ac_objext; then
27212 wx_cv_lib_stl=yes
27213 else
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.$ac_ext >&5
27216
27217 wx_cv_lib_stl=no
27218
27219 fi
27220
27221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27222
27223 fi
27224 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27225 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27226
27227 if test "$wx_cv_lib_stl" != yes; then
27228 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27229 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27230 { (exit 1); exit 1; }; }
27231 fi
27232
27233 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27234 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27235 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 else
27238 cat >conftest.$ac_ext <<_ACEOF
27239 /* confdefs.h. */
27240 _ACEOF
27241 cat confdefs.h >>conftest.$ac_ext
27242 cat >>conftest.$ac_ext <<_ACEOF
27243 /* end confdefs.h. */
27244 #include <string>
27245 int
27246 main ()
27247 {
27248 std::string foo, bar;
27249 foo.compare(bar);
27250 foo.compare(1, 1, bar);
27251 foo.compare(1, 1, bar, 1, 1);
27252 foo.compare("");
27253 foo.compare(1, 1, "");
27254 foo.compare(1, 1, "", 2);
27255 ;
27256 return 0;
27257 }
27258 _ACEOF
27259 rm -f conftest.$ac_objext
27260 if { (ac_try="$ac_compile"
27261 case "(($ac_try" in
27262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27263 *) ac_try_echo=$ac_try;;
27264 esac
27265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27266 (eval "$ac_compile") 2>conftest.er1
27267 ac_status=$?
27268 grep -v '^ *+' conftest.er1 >conftest.err
27269 rm -f conftest.er1
27270 cat conftest.err >&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } && {
27273 test -z "$ac_cxx_werror_flag" ||
27274 test ! -s conftest.err
27275 } && test -s conftest.$ac_objext; then
27276 wx_cv_func_stdstring_compare=yes
27277 else
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27280
27281 wx_cv_func_stdstring_compare=no
27282
27283 fi
27284
27285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27286
27287 fi
27288 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27289 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27290
27291 if test "$wx_cv_func_stdstring_compare" = yes; then
27292 cat >>confdefs.h <<\_ACEOF
27293 #define HAVE_STD_STRING_COMPARE 1
27294 _ACEOF
27295
27296 fi
27297
27298 { echo "$as_me:$LINENO: checking for hash_map" >&5
27299 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27300 if test "${ac_cv_header_hash_map+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 else
27303 cat >conftest.$ac_ext <<_ACEOF
27304 /* confdefs.h. */
27305 _ACEOF
27306 cat confdefs.h >>conftest.$ac_ext
27307 cat >>conftest.$ac_ext <<_ACEOF
27308 /* end confdefs.h. */
27309
27310
27311
27312 #include <hash_map>
27313 _ACEOF
27314 rm -f conftest.$ac_objext
27315 if { (ac_try="$ac_compile"
27316 case "(($ac_try" in
27317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27318 *) ac_try_echo=$ac_try;;
27319 esac
27320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27321 (eval "$ac_compile") 2>conftest.er1
27322 ac_status=$?
27323 grep -v '^ *+' conftest.er1 >conftest.err
27324 rm -f conftest.er1
27325 cat conftest.err >&5
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } && {
27328 test -z "$ac_cxx_werror_flag" ||
27329 test ! -s conftest.err
27330 } && test -s conftest.$ac_objext; then
27331 ac_cv_header_hash_map=yes
27332 else
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.$ac_ext >&5
27335
27336 ac_cv_header_hash_map=no
27337 fi
27338
27339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27340 fi
27341 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27342 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27343 if test $ac_cv_header_hash_map = yes; then
27344 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27345 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27346 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27347 echo $ECHO_N "(cached) $ECHO_C" >&6
27348 else
27349 cat >conftest.$ac_ext <<_ACEOF
27350 /* confdefs.h. */
27351 _ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355 #include <hash_map>
27356 #include <hash_set>
27357 int
27358 main ()
27359 {
27360 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27361 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27362 ;
27363 return 0;
27364 }
27365 _ACEOF
27366 rm -f conftest.$ac_objext
27367 if { (ac_try="$ac_compile"
27368 case "(($ac_try" in
27369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27370 *) ac_try_echo=$ac_try;;
27371 esac
27372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27373 (eval "$ac_compile") 2>conftest.er1
27374 ac_status=$?
27375 grep -v '^ *+' conftest.er1 >conftest.err
27376 rm -f conftest.er1
27377 cat conftest.err >&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); } && {
27380 test -z "$ac_cxx_werror_flag" ||
27381 test ! -s conftest.err
27382 } && test -s conftest.$ac_objext; then
27383 wx_cv_class_stdhashmapset=yes
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388 wx_cv_class_stdhashmapset=no
27389 fi
27390
27391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27392
27393
27394 fi
27395 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27396 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27397 fi
27398
27399
27400
27401 if test "$wx_cv_class_stdhashmapset" = yes; then
27402 cat >>confdefs.h <<\_ACEOF
27403 #define HAVE_HASH_MAP 1
27404 _ACEOF
27405
27406 cat >>confdefs.h <<\_ACEOF
27407 #define HAVE_STD_HASH_MAP 1
27408 _ACEOF
27409
27410 fi
27411
27412 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27413 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27414 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27415 echo $ECHO_N "(cached) $ECHO_C" >&6
27416 else
27417 cat >conftest.$ac_ext <<_ACEOF
27418 /* confdefs.h. */
27419 _ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27423
27424
27425
27426 #include <ext/hash_map>
27427 _ACEOF
27428 rm -f conftest.$ac_objext
27429 if { (ac_try="$ac_compile"
27430 case "(($ac_try" in
27431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27432 *) ac_try_echo=$ac_try;;
27433 esac
27434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435 (eval "$ac_compile") 2>conftest.er1
27436 ac_status=$?
27437 grep -v '^ *+' conftest.er1 >conftest.err
27438 rm -f conftest.er1
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } && {
27442 test -z "$ac_cxx_werror_flag" ||
27443 test ! -s conftest.err
27444 } && test -s conftest.$ac_objext; then
27445 ac_cv_header_ext_hash_map=yes
27446 else
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27449
27450 ac_cv_header_ext_hash_map=no
27451 fi
27452
27453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27454 fi
27455 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27456 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27457 if test $ac_cv_header_ext_hash_map = yes; then
27458 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27459 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27460 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27462 else
27463 cat >conftest.$ac_ext <<_ACEOF
27464 /* confdefs.h. */
27465 _ACEOF
27466 cat confdefs.h >>conftest.$ac_ext
27467 cat >>conftest.$ac_ext <<_ACEOF
27468 /* end confdefs.h. */
27469 #include <ext/hash_map>
27470 #include <ext/hash_set>
27471 int
27472 main ()
27473 {
27474 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27475 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27476 ;
27477 return 0;
27478 }
27479 _ACEOF
27480 rm -f conftest.$ac_objext
27481 if { (ac_try="$ac_compile"
27482 case "(($ac_try" in
27483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27484 *) ac_try_echo=$ac_try;;
27485 esac
27486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27487 (eval "$ac_compile") 2>conftest.er1
27488 ac_status=$?
27489 grep -v '^ *+' conftest.er1 >conftest.err
27490 rm -f conftest.er1
27491 cat conftest.err >&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); } && {
27494 test -z "$ac_cxx_werror_flag" ||
27495 test ! -s conftest.err
27496 } && test -s conftest.$ac_objext; then
27497 wx_cv_class_gnuhashmapset=yes
27498 else
27499 echo "$as_me: failed program was:" >&5
27500 sed 's/^/| /' conftest.$ac_ext >&5
27501
27502 wx_cv_class_gnuhashmapset=no
27503 fi
27504
27505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27506
27507
27508 fi
27509 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27510 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27511 fi
27512
27513
27514
27515 if test "$wx_cv_class_gnuhashmapset" = yes; then
27516 cat >>confdefs.h <<\_ACEOF
27517 #define HAVE_EXT_HASH_MAP 1
27518 _ACEOF
27519
27520 cat >>confdefs.h <<\_ACEOF
27521 #define HAVE_GNU_CXX_HASH_MAP 1
27522 _ACEOF
27523
27524 fi
27525 fi
27526
27527 ac_ext=c
27528 ac_cpp='$CPP $CPPFLAGS'
27529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27532
27533
27534
27535 SEARCH_INCLUDE="\
27536 /usr/local/include \
27537 \
27538 /usr/Motif-2.1/include \
27539 /usr/Motif-1.2/include \
27540 /usr/include/Motif1.2 \
27541 \
27542 /usr/dt/include \
27543 /usr/openwin/include \
27544 \
27545 /usr/include/Xm \
27546 \
27547 /usr/X11R6/include \
27548 /usr/X11R6.4/include \
27549 /usr/X11R5/include \
27550 /usr/X11R4/include \
27551 \
27552 /usr/include/X11R6 \
27553 /usr/include/X11R5 \
27554 /usr/include/X11R4 \
27555 \
27556 /usr/local/X11R6/include \
27557 /usr/local/X11R5/include \
27558 /usr/local/X11R4/include \
27559 \
27560 /usr/local/include/X11R6 \
27561 /usr/local/include/X11R5 \
27562 /usr/local/include/X11R4 \
27563 \
27564 /usr/X11/include \
27565 /usr/include/X11 \
27566 /usr/local/X11/include \
27567 /usr/local/include/X11 \
27568 \
27569 /usr/XFree86/include/X11 \
27570 /usr/pkg/include \
27571 \
27572 /usr/openwin/share/include"
27573
27574 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27575 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27576
27577 case "${host}" in
27578 *-*-irix6* )
27579 if test "${wx_cv_std_libpath+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 else
27582
27583 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27584 for e in a so sl dylib dll.a; do
27585 libc="$d/libc.$e"
27586 if test -f $libc; then
27587 save_LIBS="$LIBS"
27588 LIBS="$libc"
27589 cat >conftest.$ac_ext <<_ACEOF
27590 int main() { return 0; }
27591 _ACEOF
27592 rm -f conftest.$ac_objext conftest$ac_exeext
27593 if { (ac_try="$ac_link"
27594 case "(($ac_try" in
27595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27596 *) ac_try_echo=$ac_try;;
27597 esac
27598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27599 (eval "$ac_link") 2>conftest.er1
27600 ac_status=$?
27601 grep -v '^ *+' conftest.er1 >conftest.err
27602 rm -f conftest.er1
27603 cat conftest.err >&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); } && {
27606 test -z "$ac_c_werror_flag" ||
27607 test ! -s conftest.err
27608 } && test -s conftest$ac_exeext &&
27609 $as_test_x conftest$ac_exeext; then
27610 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27611 else
27612 echo "$as_me: failed program was:" >&5
27613 sed 's/^/| /' conftest.$ac_ext >&5
27614
27615
27616 fi
27617
27618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27619 conftest$ac_exeext conftest.$ac_ext
27620 LIBS="$save_LIBS"
27621 if test "x$wx_cv_std_libpath" != "x"; then
27622 break 2
27623 fi
27624 fi
27625 done
27626 done
27627 if test "x$wx_cv_std_libpath" = "x"; then
27628 wx_cv_std_libpath="lib"
27629 fi
27630
27631
27632 fi
27633
27634 ;;
27635
27636 *-*-solaris2* )
27637 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27638 wx_cv_std_libpath="lib/64"
27639 else
27640 wx_cv_std_libpath="lib"
27641 fi
27642 ;;
27643
27644 *-*-linux* )
27645 if test "$ac_cv_sizeof_void_p" = 8 -a \
27646 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27647 wx_cv_std_libpath="lib64"
27648 else
27649 wx_cv_std_libpath="lib"
27650 fi
27651 ;;
27652
27653 *)
27654 wx_cv_std_libpath="lib";
27655 ;;
27656 esac
27657
27658 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27659 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27660
27661 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27662
27663 if test "$build" != "$host" -a "$GCC" = yes; then
27664 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27665 cross_root=`dirname $cross_root`
27666 cross_root=`dirname $cross_root`
27667
27668 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27669 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27670 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27671
27672 if test -z "$PKG_CONFIG_PATH"; then
27673 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27674 export PKG_CONFIG_PATH
27675 fi
27676
27677 if test -z "$x_includes" -o "$x_includes" = NONE; then
27678
27679 ac_find_includes=
27680 for ac_dir in $SEARCH_INCLUDE /usr/include;
27681 do
27682 if test -f "$ac_dir/X11/Intrinsic.h"; then
27683 ac_find_includes=$ac_dir
27684 break
27685 fi
27686 done
27687
27688 x_includes=$ac_find_includes
27689 fi
27690 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27691
27692 ac_find_libraries=
27693 for ac_dir in $SEARCH_LIB;
27694 do
27695 for ac_extension in a so sl dylib dll.a; do
27696 if test -f "$ac_dir/libXt.$ac_extension"; then
27697 ac_find_libraries=$ac_dir
27698 break 2
27699 fi
27700 done
27701 done
27702
27703 x_libraries=$ac_find_libraries
27704 fi
27705 fi
27706 fi
27707
27708
27709 cat >confcache <<\_ACEOF
27710 # This file is a shell script that caches the results of configure
27711 # tests run on this system so they can be shared between configure
27712 # scripts and configure runs, see configure's option --config-cache.
27713 # It is not useful on other systems. If it contains results you don't
27714 # want to keep, you may remove or edit it.
27715 #
27716 # config.status only pays attention to the cache file if you give it
27717 # the --recheck option to rerun configure.
27718 #
27719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27721 # following values.
27722
27723 _ACEOF
27724
27725 # The following way of writing the cache mishandles newlines in values,
27726 # but we know of no workaround that is simple, portable, and efficient.
27727 # So, we kill variables containing newlines.
27728 # Ultrix sh set writes to stderr and can't be redirected directly,
27729 # and sets the high bit in the cache file unless we assign to the vars.
27730 (
27731 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27732 eval ac_val=\$$ac_var
27733 case $ac_val in #(
27734 *${as_nl}*)
27735 case $ac_var in #(
27736 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27737 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27738 esac
27739 case $ac_var in #(
27740 _ | IFS | as_nl) ;; #(
27741 *) $as_unset $ac_var ;;
27742 esac ;;
27743 esac
27744 done
27745
27746 (set) 2>&1 |
27747 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27748 *${as_nl}ac_space=\ *)
27749 # `set' does not quote correctly, so add quotes (double-quote
27750 # substitution turns \\\\ into \\, and sed turns \\ into \).
27751 sed -n \
27752 "s/'/'\\\\''/g;
27753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27754 ;; #(
27755 *)
27756 # `set' quotes correctly as required by POSIX, so do not add quotes.
27757 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27758 ;;
27759 esac |
27760 sort
27761 ) |
27762 sed '
27763 /^ac_cv_env_/b end
27764 t clear
27765 :clear
27766 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27767 t end
27768 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27769 :end' >>confcache
27770 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27771 if test -w "$cache_file"; then
27772 test "x$cache_file" != "x/dev/null" &&
27773 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27774 echo "$as_me: updating cache $cache_file" >&6;}
27775 cat confcache >$cache_file
27776 else
27777 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27778 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27779 fi
27780 fi
27781 rm -f confcache
27782
27783 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27784 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27785 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27786 if test "${wx_cv_lib_glibc21+set}" = set; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
27788 else
27789
27790 cat >conftest.$ac_ext <<_ACEOF
27791 /* confdefs.h. */
27792 _ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796 #include <features.h>
27797 int
27798 main ()
27799 {
27800
27801 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27802 not glibc 2.1
27803 #endif
27804
27805 ;
27806 return 0;
27807 }
27808 _ACEOF
27809 rm -f conftest.$ac_objext
27810 if { (ac_try="$ac_compile"
27811 case "(($ac_try" in
27812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27813 *) ac_try_echo=$ac_try;;
27814 esac
27815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27816 (eval "$ac_compile") 2>conftest.er1
27817 ac_status=$?
27818 grep -v '^ *+' conftest.er1 >conftest.err
27819 rm -f conftest.er1
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } && {
27823 test -z "$ac_c_werror_flag" ||
27824 test ! -s conftest.err
27825 } && test -s conftest.$ac_objext; then
27826
27827 wx_cv_lib_glibc21=yes
27828
27829 else
27830 echo "$as_me: failed program was:" >&5
27831 sed 's/^/| /' conftest.$ac_ext >&5
27832
27833
27834 wx_cv_lib_glibc21=no
27835
27836
27837 fi
27838
27839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27840
27841 fi
27842 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27843 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27844 if test "$wx_cv_lib_glibc21" = "yes"; then
27845 cat >>confdefs.h <<\_ACEOF
27846 #define wxHAVE_GLIBC2 1
27847 _ACEOF
27848
27849 fi
27850 fi
27851
27852 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27853 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27854 cat >>confdefs.h <<\_ACEOF
27855 #define _GNU_SOURCE 1
27856 _ACEOF
27857
27858 fi
27859 fi
27860
27861 have_cos=0
27862 have_floor=0
27863
27864 for ac_func in cos
27865 do
27866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27867 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 else
27872 cat >conftest.$ac_ext <<_ACEOF
27873 /* confdefs.h. */
27874 _ACEOF
27875 cat confdefs.h >>conftest.$ac_ext
27876 cat >>conftest.$ac_ext <<_ACEOF
27877 /* end confdefs.h. */
27878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27880 #define $ac_func innocuous_$ac_func
27881
27882 /* System header to define __stub macros and hopefully few prototypes,
27883 which can conflict with char $ac_func (); below.
27884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27885 <limits.h> exists even on freestanding compilers. */
27886
27887 #ifdef __STDC__
27888 # include <limits.h>
27889 #else
27890 # include <assert.h>
27891 #endif
27892
27893 #undef $ac_func
27894
27895 /* Override any GCC internal prototype to avoid an error.
27896 Use char because int might match the return type of a GCC
27897 builtin and then its argument prototype would still apply. */
27898 #ifdef __cplusplus
27899 extern "C"
27900 #endif
27901 char $ac_func ();
27902 /* The GNU C library defines this for functions which it implements
27903 to always fail with ENOSYS. Some functions are actually named
27904 something starting with __ and the normal name is an alias. */
27905 #if defined __stub_$ac_func || defined __stub___$ac_func
27906 choke me
27907 #endif
27908
27909 int
27910 main ()
27911 {
27912 return $ac_func ();
27913 ;
27914 return 0;
27915 }
27916 _ACEOF
27917 rm -f conftest.$ac_objext conftest$ac_exeext
27918 if { (ac_try="$ac_link"
27919 case "(($ac_try" in
27920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27921 *) ac_try_echo=$ac_try;;
27922 esac
27923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27924 (eval "$ac_link") 2>conftest.er1
27925 ac_status=$?
27926 grep -v '^ *+' conftest.er1 >conftest.err
27927 rm -f conftest.er1
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } && {
27931 test -z "$ac_c_werror_flag" ||
27932 test ! -s conftest.err
27933 } && test -s conftest$ac_exeext &&
27934 $as_test_x conftest$ac_exeext; then
27935 eval "$as_ac_var=yes"
27936 else
27937 echo "$as_me: failed program was:" >&5
27938 sed 's/^/| /' conftest.$ac_ext >&5
27939
27940 eval "$as_ac_var=no"
27941 fi
27942
27943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27944 conftest$ac_exeext conftest.$ac_ext
27945 fi
27946 ac_res=`eval echo '${'$as_ac_var'}'`
27947 { echo "$as_me:$LINENO: result: $ac_res" >&5
27948 echo "${ECHO_T}$ac_res" >&6; }
27949 if test `eval echo '${'$as_ac_var'}'` = yes; then
27950 cat >>confdefs.h <<_ACEOF
27951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27952 _ACEOF
27953 have_cos=1
27954 fi
27955 done
27956
27957
27958 for ac_func in floor
27959 do
27960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27961 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27963 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27964 echo $ECHO_N "(cached) $ECHO_C" >&6
27965 else
27966 cat >conftest.$ac_ext <<_ACEOF
27967 /* confdefs.h. */
27968 _ACEOF
27969 cat confdefs.h >>conftest.$ac_ext
27970 cat >>conftest.$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27974 #define $ac_func innocuous_$ac_func
27975
27976 /* System header to define __stub macros and hopefully few prototypes,
27977 which can conflict with char $ac_func (); below.
27978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27979 <limits.h> exists even on freestanding compilers. */
27980
27981 #ifdef __STDC__
27982 # include <limits.h>
27983 #else
27984 # include <assert.h>
27985 #endif
27986
27987 #undef $ac_func
27988
27989 /* Override any GCC internal prototype to avoid an error.
27990 Use char because int might match the return type of a GCC
27991 builtin and then its argument prototype would still apply. */
27992 #ifdef __cplusplus
27993 extern "C"
27994 #endif
27995 char $ac_func ();
27996 /* The GNU C library defines this for functions which it implements
27997 to always fail with ENOSYS. Some functions are actually named
27998 something starting with __ and the normal name is an alias. */
27999 #if defined __stub_$ac_func || defined __stub___$ac_func
28000 choke me
28001 #endif
28002
28003 int
28004 main ()
28005 {
28006 return $ac_func ();
28007 ;
28008 return 0;
28009 }
28010 _ACEOF
28011 rm -f conftest.$ac_objext conftest$ac_exeext
28012 if { (ac_try="$ac_link"
28013 case "(($ac_try" in
28014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28015 *) ac_try_echo=$ac_try;;
28016 esac
28017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28018 (eval "$ac_link") 2>conftest.er1
28019 ac_status=$?
28020 grep -v '^ *+' conftest.er1 >conftest.err
28021 rm -f conftest.er1
28022 cat conftest.err >&5
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); } && {
28025 test -z "$ac_c_werror_flag" ||
28026 test ! -s conftest.err
28027 } && test -s conftest$ac_exeext &&
28028 $as_test_x conftest$ac_exeext; then
28029 eval "$as_ac_var=yes"
28030 else
28031 echo "$as_me: failed program was:" >&5
28032 sed 's/^/| /' conftest.$ac_ext >&5
28033
28034 eval "$as_ac_var=no"
28035 fi
28036
28037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28038 conftest$ac_exeext conftest.$ac_ext
28039 fi
28040 ac_res=`eval echo '${'$as_ac_var'}'`
28041 { echo "$as_me:$LINENO: result: $ac_res" >&5
28042 echo "${ECHO_T}$ac_res" >&6; }
28043 if test `eval echo '${'$as_ac_var'}'` = yes; then
28044 cat >>confdefs.h <<_ACEOF
28045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28046 _ACEOF
28047 have_floor=1
28048 fi
28049 done
28050
28051 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28052 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28053 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28054 { echo "$as_me:$LINENO: result: yes" >&5
28055 echo "${ECHO_T}yes" >&6; }
28056 else
28057 { echo "$as_me:$LINENO: result: no" >&5
28058 echo "${ECHO_T}no" >&6; }
28059 LIBS="$LIBS -lm"
28060 # use different functions to avoid configure caching
28061 have_sin=0
28062 have_ceil=0
28063
28064 for ac_func in sin
28065 do
28066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28067 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28069 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 else
28072 cat >conftest.$ac_ext <<_ACEOF
28073 /* confdefs.h. */
28074 _ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28080 #define $ac_func innocuous_$ac_func
28081
28082 /* System header to define __stub macros and hopefully few prototypes,
28083 which can conflict with char $ac_func (); below.
28084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28085 <limits.h> exists even on freestanding compilers. */
28086
28087 #ifdef __STDC__
28088 # include <limits.h>
28089 #else
28090 # include <assert.h>
28091 #endif
28092
28093 #undef $ac_func
28094
28095 /* Override any GCC internal prototype to avoid an error.
28096 Use char because int might match the return type of a GCC
28097 builtin and then its argument prototype would still apply. */
28098 #ifdef __cplusplus
28099 extern "C"
28100 #endif
28101 char $ac_func ();
28102 /* The GNU C library defines this for functions which it implements
28103 to always fail with ENOSYS. Some functions are actually named
28104 something starting with __ and the normal name is an alias. */
28105 #if defined __stub_$ac_func || defined __stub___$ac_func
28106 choke me
28107 #endif
28108
28109 int
28110 main ()
28111 {
28112 return $ac_func ();
28113 ;
28114 return 0;
28115 }
28116 _ACEOF
28117 rm -f conftest.$ac_objext conftest$ac_exeext
28118 if { (ac_try="$ac_link"
28119 case "(($ac_try" in
28120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28121 *) ac_try_echo=$ac_try;;
28122 esac
28123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28124 (eval "$ac_link") 2>conftest.er1
28125 ac_status=$?
28126 grep -v '^ *+' conftest.er1 >conftest.err
28127 rm -f conftest.er1
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } && {
28131 test -z "$ac_c_werror_flag" ||
28132 test ! -s conftest.err
28133 } && test -s conftest$ac_exeext &&
28134 $as_test_x conftest$ac_exeext; then
28135 eval "$as_ac_var=yes"
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140 eval "$as_ac_var=no"
28141 fi
28142
28143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28144 conftest$ac_exeext conftest.$ac_ext
28145 fi
28146 ac_res=`eval echo '${'$as_ac_var'}'`
28147 { echo "$as_me:$LINENO: result: $ac_res" >&5
28148 echo "${ECHO_T}$ac_res" >&6; }
28149 if test `eval echo '${'$as_ac_var'}'` = yes; then
28150 cat >>confdefs.h <<_ACEOF
28151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28152 _ACEOF
28153 have_sin=1
28154 fi
28155 done
28156
28157
28158 for ac_func in ceil
28159 do
28160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 else
28166 cat >conftest.$ac_ext <<_ACEOF
28167 /* confdefs.h. */
28168 _ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28174 #define $ac_func innocuous_$ac_func
28175
28176 /* System header to define __stub macros and hopefully few prototypes,
28177 which can conflict with char $ac_func (); below.
28178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28179 <limits.h> exists even on freestanding compilers. */
28180
28181 #ifdef __STDC__
28182 # include <limits.h>
28183 #else
28184 # include <assert.h>
28185 #endif
28186
28187 #undef $ac_func
28188
28189 /* Override any GCC internal prototype to avoid an error.
28190 Use char because int might match the return type of a GCC
28191 builtin and then its argument prototype would still apply. */
28192 #ifdef __cplusplus
28193 extern "C"
28194 #endif
28195 char $ac_func ();
28196 /* The GNU C library defines this for functions which it implements
28197 to always fail with ENOSYS. Some functions are actually named
28198 something starting with __ and the normal name is an alias. */
28199 #if defined __stub_$ac_func || defined __stub___$ac_func
28200 choke me
28201 #endif
28202
28203 int
28204 main ()
28205 {
28206 return $ac_func ();
28207 ;
28208 return 0;
28209 }
28210 _ACEOF
28211 rm -f conftest.$ac_objext conftest$ac_exeext
28212 if { (ac_try="$ac_link"
28213 case "(($ac_try" in
28214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28215 *) ac_try_echo=$ac_try;;
28216 esac
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_link") 2>conftest.er1
28219 ac_status=$?
28220 grep -v '^ *+' conftest.er1 >conftest.err
28221 rm -f conftest.er1
28222 cat conftest.err >&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } && {
28225 test -z "$ac_c_werror_flag" ||
28226 test ! -s conftest.err
28227 } && test -s conftest$ac_exeext &&
28228 $as_test_x conftest$ac_exeext; then
28229 eval "$as_ac_var=yes"
28230 else
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28233
28234 eval "$as_ac_var=no"
28235 fi
28236
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28239 fi
28240 ac_res=`eval echo '${'$as_ac_var'}'`
28241 { echo "$as_me:$LINENO: result: $ac_res" >&5
28242 echo "${ECHO_T}$ac_res" >&6; }
28243 if test `eval echo '${'$as_ac_var'}'` = yes; then
28244 cat >>confdefs.h <<_ACEOF
28245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28246 _ACEOF
28247 have_ceil=1
28248 fi
28249 done
28250
28251 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28252 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28253 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28254 { echo "$as_me:$LINENO: result: yes" >&5
28255 echo "${ECHO_T}yes" >&6; }
28256 else
28257 { echo "$as_me:$LINENO: result: no" >&5
28258 echo "${ECHO_T}no" >&6; }
28259 # not sure we should warn the user, crash, etc.
28260 fi
28261 fi
28262
28263 ac_ext=cpp
28264 ac_cpp='$CXXCPP $CPPFLAGS'
28265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28268
28269 if test "wxUSE_UNICODE" = "yes"; then
28270
28271 for wx_func in wcstoull
28272 do
28273 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28274 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28275 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 else
28278
28279 cat >conftest.$ac_ext <<_ACEOF
28280
28281 /* confdefs.h. */
28282 _ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28286
28287
28288 $ac_includes_default
28289
28290 int
28291 main ()
28292 {
28293
28294 #ifndef $wx_func
28295 &$wx_func;
28296 #endif
28297
28298
28299 ;
28300 return 0;
28301 }
28302
28303 _ACEOF
28304 rm -f conftest.$ac_objext conftest$ac_exeext
28305 if { (ac_try="$ac_link"
28306 case "(($ac_try" in
28307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28308 *) ac_try_echo=$ac_try;;
28309 esac
28310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28311 (eval "$ac_link") 2>conftest.er1
28312 ac_status=$?
28313 grep -v '^ *+' conftest.er1 >conftest.err
28314 rm -f conftest.er1
28315 cat conftest.err >&5
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); } && {
28318 test -z "$ac_cxx_werror_flag" ||
28319 test ! -s conftest.err
28320 } && test -s conftest$ac_exeext &&
28321 $as_test_x conftest$ac_exeext; then
28322 eval wx_cv_func_$wx_func=yes
28323 else
28324 echo "$as_me: failed program was:" >&5
28325 sed 's/^/| /' conftest.$ac_ext >&5
28326
28327 eval wx_cv_func_$wx_func=no
28328 fi
28329
28330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28331 conftest$ac_exeext conftest.$ac_ext
28332
28333 fi
28334 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28335 { echo "$as_me:$LINENO: result: $ac_res" >&5
28336 echo "${ECHO_T}$ac_res" >&6; }
28337
28338 if eval test \$wx_cv_func_$wx_func = yes
28339 then
28340 cat >>confdefs.h <<_ACEOF
28341 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28342 _ACEOF
28343
28344
28345 else
28346 :
28347
28348 fi
28349 done
28350
28351 else
28352
28353 for wx_func in strtoull
28354 do
28355 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28356 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28357 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28358 echo $ECHO_N "(cached) $ECHO_C" >&6
28359 else
28360
28361 cat >conftest.$ac_ext <<_ACEOF
28362
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368
28369
28370 $ac_includes_default
28371
28372 int
28373 main ()
28374 {
28375
28376 #ifndef $wx_func
28377 &$wx_func;
28378 #endif
28379
28380
28381 ;
28382 return 0;
28383 }
28384
28385 _ACEOF
28386 rm -f conftest.$ac_objext conftest$ac_exeext
28387 if { (ac_try="$ac_link"
28388 case "(($ac_try" in
28389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28390 *) ac_try_echo=$ac_try;;
28391 esac
28392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28393 (eval "$ac_link") 2>conftest.er1
28394 ac_status=$?
28395 grep -v '^ *+' conftest.er1 >conftest.err
28396 rm -f conftest.er1
28397 cat conftest.err >&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } && {
28400 test -z "$ac_cxx_werror_flag" ||
28401 test ! -s conftest.err
28402 } && test -s conftest$ac_exeext &&
28403 $as_test_x conftest$ac_exeext; then
28404 eval wx_cv_func_$wx_func=yes
28405 else
28406 echo "$as_me: failed program was:" >&5
28407 sed 's/^/| /' conftest.$ac_ext >&5
28408
28409 eval wx_cv_func_$wx_func=no
28410 fi
28411
28412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28413 conftest$ac_exeext conftest.$ac_ext
28414
28415 fi
28416 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28417 { echo "$as_me:$LINENO: result: $ac_res" >&5
28418 echo "${ECHO_T}$ac_res" >&6; }
28419
28420 if eval test \$wx_cv_func_$wx_func = yes
28421 then
28422 cat >>confdefs.h <<_ACEOF
28423 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28424 _ACEOF
28425
28426
28427 else
28428 :
28429
28430 fi
28431 done
28432
28433 fi
28434 ac_ext=c
28435 ac_cpp='$CPP $CPPFLAGS'
28436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28439
28440
28441
28442
28443 if test "$wxUSE_REGEX" != "no"; then
28444 cat >>confdefs.h <<\_ACEOF
28445 #define wxUSE_REGEX 1
28446 _ACEOF
28447
28448
28449 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28450 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28451 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28452 wxUSE_REGEX=builtin
28453 fi
28454
28455 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28456 { echo "$as_me:$LINENO: checking for regex.h" >&5
28457 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28458 if test "${ac_cv_header_regex_h+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 else
28461 cat >conftest.$ac_ext <<_ACEOF
28462 /* confdefs.h. */
28463 _ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28467
28468
28469 #include <regex.h>
28470 _ACEOF
28471 rm -f conftest.$ac_objext
28472 if { (ac_try="$ac_compile"
28473 case "(($ac_try" in
28474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28475 *) ac_try_echo=$ac_try;;
28476 esac
28477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28478 (eval "$ac_compile") 2>conftest.er1
28479 ac_status=$?
28480 grep -v '^ *+' conftest.er1 >conftest.err
28481 rm -f conftest.er1
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } && {
28485 test -z "$ac_c_werror_flag" ||
28486 test ! -s conftest.err
28487 } && test -s conftest.$ac_objext; then
28488 ac_cv_header_regex_h=yes
28489 else
28490 echo "$as_me: failed program was:" >&5
28491 sed 's/^/| /' conftest.$ac_ext >&5
28492
28493 ac_cv_header_regex_h=no
28494 fi
28495
28496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28497 fi
28498 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28499 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28500 if test $ac_cv_header_regex_h = yes; then
28501
28502
28503 for ac_func in regcomp re_search
28504 do
28505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28508 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28509 echo $ECHO_N "(cached) $ECHO_C" >&6
28510 else
28511 cat >conftest.$ac_ext <<_ACEOF
28512 /* confdefs.h. */
28513 _ACEOF
28514 cat confdefs.h >>conftest.$ac_ext
28515 cat >>conftest.$ac_ext <<_ACEOF
28516 /* end confdefs.h. */
28517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28519 #define $ac_func innocuous_$ac_func
28520
28521 /* System header to define __stub macros and hopefully few prototypes,
28522 which can conflict with char $ac_func (); below.
28523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28524 <limits.h> exists even on freestanding compilers. */
28525
28526 #ifdef __STDC__
28527 # include <limits.h>
28528 #else
28529 # include <assert.h>
28530 #endif
28531
28532 #undef $ac_func
28533
28534 /* Override any GCC internal prototype to avoid an error.
28535 Use char because int might match the return type of a GCC
28536 builtin and then its argument prototype would still apply. */
28537 #ifdef __cplusplus
28538 extern "C"
28539 #endif
28540 char $ac_func ();
28541 /* The GNU C library defines this for functions which it implements
28542 to always fail with ENOSYS. Some functions are actually named
28543 something starting with __ and the normal name is an alias. */
28544 #if defined __stub_$ac_func || defined __stub___$ac_func
28545 choke me
28546 #endif
28547
28548 int
28549 main ()
28550 {
28551 return $ac_func ();
28552 ;
28553 return 0;
28554 }
28555 _ACEOF
28556 rm -f conftest.$ac_objext conftest$ac_exeext
28557 if { (ac_try="$ac_link"
28558 case "(($ac_try" in
28559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28560 *) ac_try_echo=$ac_try;;
28561 esac
28562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28563 (eval "$ac_link") 2>conftest.er1
28564 ac_status=$?
28565 grep -v '^ *+' conftest.er1 >conftest.err
28566 rm -f conftest.er1
28567 cat conftest.err >&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); } && {
28570 test -z "$ac_c_werror_flag" ||
28571 test ! -s conftest.err
28572 } && test -s conftest$ac_exeext &&
28573 $as_test_x conftest$ac_exeext; then
28574 eval "$as_ac_var=yes"
28575 else
28576 echo "$as_me: failed program was:" >&5
28577 sed 's/^/| /' conftest.$ac_ext >&5
28578
28579 eval "$as_ac_var=no"
28580 fi
28581
28582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28583 conftest$ac_exeext conftest.$ac_ext
28584 fi
28585 ac_res=`eval echo '${'$as_ac_var'}'`
28586 { echo "$as_me:$LINENO: result: $ac_res" >&5
28587 echo "${ECHO_T}$ac_res" >&6; }
28588 if test `eval echo '${'$as_ac_var'}'` = yes; then
28589 cat >>confdefs.h <<_ACEOF
28590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28591 _ACEOF
28592
28593 fi
28594 done
28595
28596 fi
28597
28598
28599
28600 if test "x$ac_cv_func_regcomp" != "xyes"; then
28601 if test "$wxUSE_REGEX" = "sys" ; then
28602 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28603 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28604 { (exit 1); exit 1; }; }
28605 else
28606 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28607 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28608 wxUSE_REGEX=builtin
28609 fi
28610 else
28611 wxUSE_REGEX=sys
28612 cat >>confdefs.h <<\_ACEOF
28613 #define WX_NO_REGEX_ADVANCED 1
28614 _ACEOF
28615
28616 fi
28617 fi
28618 fi
28619
28620
28621 ZLIB_LINK=
28622 if test "$wxUSE_ZLIB" != "no" ; then
28623 cat >>confdefs.h <<\_ACEOF
28624 #define wxUSE_ZLIB 1
28625 _ACEOF
28626
28627
28628 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28629 if test "$USE_DARWIN" = 1; then
28630 system_zlib_h_ok="yes"
28631 else
28632 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28633 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28634 if test "${ac_cv_header_zlib_h+set}" = set; then
28635 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 else
28637 if test "$cross_compiling" = yes; then
28638 unset ac_cv_header_zlib_h
28639
28640 else
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h. */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28647
28648 #include <zlib.h>
28649 #include <stdio.h>
28650
28651 int main()
28652 {
28653 FILE *f=fopen("conftestval", "w");
28654 if (!f) exit(1);
28655 fprintf(f, "%s",
28656 ZLIB_VERSION[0] == '1' &&
28657 (ZLIB_VERSION[2] > '1' ||
28658 (ZLIB_VERSION[2] == '1' &&
28659 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28660 exit(0);
28661 }
28662
28663 _ACEOF
28664 rm -f conftest$ac_exeext
28665 if { (ac_try="$ac_link"
28666 case "(($ac_try" in
28667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28668 *) ac_try_echo=$ac_try;;
28669 esac
28670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28671 (eval "$ac_link") 2>&5
28672 ac_status=$?
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28681 ac_status=$?
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 ac_cv_header_zlib_h=`cat conftestval`
28685 else
28686 echo "$as_me: program exited with status $ac_status" >&5
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28689
28690 ( exit $ac_status )
28691 ac_cv_header_zlib_h=no
28692 fi
28693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28694 fi
28695
28696
28697
28698 fi
28699 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28700 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28701 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28702 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28703 if test "${ac_cv_header_zlib_h+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28705 else
28706 cat >conftest.$ac_ext <<_ACEOF
28707 /* confdefs.h. */
28708 _ACEOF
28709 cat confdefs.h >>conftest.$ac_ext
28710 cat >>conftest.$ac_ext <<_ACEOF
28711 /* end confdefs.h. */
28712
28713
28714 #include <zlib.h>
28715 _ACEOF
28716 rm -f conftest.$ac_objext
28717 if { (ac_try="$ac_compile"
28718 case "(($ac_try" in
28719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28720 *) ac_try_echo=$ac_try;;
28721 esac
28722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28723 (eval "$ac_compile") 2>conftest.er1
28724 ac_status=$?
28725 grep -v '^ *+' conftest.er1 >conftest.err
28726 rm -f conftest.er1
28727 cat conftest.err >&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); } && {
28730 test -z "$ac_c_werror_flag" ||
28731 test ! -s conftest.err
28732 } && test -s conftest.$ac_objext; then
28733 ac_cv_header_zlib_h=yes
28734 else
28735 echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.$ac_ext >&5
28737
28738 ac_cv_header_zlib_h=no
28739 fi
28740
28741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28742 fi
28743 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28744 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28745
28746
28747
28748 system_zlib_h_ok=$ac_cv_header_zlib_h
28749 fi
28750
28751 if test "$system_zlib_h_ok" = "yes"; then
28752 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28753 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28754 if test "${ac_cv_lib_z_deflate+set}" = set; then
28755 echo $ECHO_N "(cached) $ECHO_C" >&6
28756 else
28757 ac_check_lib_save_LIBS=$LIBS
28758 LIBS="-lz $LIBS"
28759 cat >conftest.$ac_ext <<_ACEOF
28760 /* confdefs.h. */
28761 _ACEOF
28762 cat confdefs.h >>conftest.$ac_ext
28763 cat >>conftest.$ac_ext <<_ACEOF
28764 /* end confdefs.h. */
28765
28766 /* Override any GCC internal prototype to avoid an error.
28767 Use char because int might match the return type of a GCC
28768 builtin and then its argument prototype would still apply. */
28769 #ifdef __cplusplus
28770 extern "C"
28771 #endif
28772 char deflate ();
28773 int
28774 main ()
28775 {
28776 return deflate ();
28777 ;
28778 return 0;
28779 }
28780 _ACEOF
28781 rm -f conftest.$ac_objext conftest$ac_exeext
28782 if { (ac_try="$ac_link"
28783 case "(($ac_try" in
28784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28785 *) ac_try_echo=$ac_try;;
28786 esac
28787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28788 (eval "$ac_link") 2>conftest.er1
28789 ac_status=$?
28790 grep -v '^ *+' conftest.er1 >conftest.err
28791 rm -f conftest.er1
28792 cat conftest.err >&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); } && {
28795 test -z "$ac_c_werror_flag" ||
28796 test ! -s conftest.err
28797 } && test -s conftest$ac_exeext &&
28798 $as_test_x conftest$ac_exeext; then
28799 ac_cv_lib_z_deflate=yes
28800 else
28801 echo "$as_me: failed program was:" >&5
28802 sed 's/^/| /' conftest.$ac_ext >&5
28803
28804 ac_cv_lib_z_deflate=no
28805 fi
28806
28807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28808 conftest$ac_exeext conftest.$ac_ext
28809 LIBS=$ac_check_lib_save_LIBS
28810 fi
28811 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28812 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28813 if test $ac_cv_lib_z_deflate = yes; then
28814 ZLIB_LINK=" -lz"
28815 fi
28816
28817 fi
28818
28819 if test "x$ZLIB_LINK" = "x" ; then
28820 if test "$wxUSE_ZLIB" = "sys" ; then
28821 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28822 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28823 { (exit 1); exit 1; }; }
28824 else
28825 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28826 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28827 wxUSE_ZLIB=builtin
28828 fi
28829 else
28830 wxUSE_ZLIB=sys
28831 fi
28832 fi
28833 fi
28834
28835
28836 PNG_LINK=
28837 if test "$wxUSE_LIBPNG" != "no" ; then
28838 cat >>confdefs.h <<\_ACEOF
28839 #define wxUSE_LIBPNG 1
28840 _ACEOF
28841
28842
28843 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28844 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28845 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28846 wxUSE_LIBPNG=sys
28847 fi
28848
28849 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28850 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28851 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28852 wxUSE_LIBPNG=builtin
28853 fi
28854
28855 if test "$wxUSE_MGL" != 1 ; then
28856 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28857 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28858 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28859 if test "${ac_cv_header_png_h+set}" = set; then
28860 echo $ECHO_N "(cached) $ECHO_C" >&6
28861 else
28862 if test "$cross_compiling" = yes; then
28863 unset ac_cv_header_png_h
28864
28865 else
28866 cat >conftest.$ac_ext <<_ACEOF
28867 /* confdefs.h. */
28868 _ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28872
28873 #include <png.h>
28874 #include <stdio.h>
28875
28876 int main()
28877 {
28878 FILE *f=fopen("conftestval", "w");
28879 if (!f) exit(1);
28880 fprintf(f, "%s",
28881 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28882 exit(0);
28883 }
28884
28885 _ACEOF
28886 rm -f conftest$ac_exeext
28887 if { (ac_try="$ac_link"
28888 case "(($ac_try" in
28889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28890 *) ac_try_echo=$ac_try;;
28891 esac
28892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28893 (eval "$ac_link") 2>&5
28894 ac_status=$?
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28897 { (case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28900 esac
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_try") 2>&5
28903 ac_status=$?
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); }; }; then
28906 ac_cv_header_png_h=`cat conftestval`
28907 else
28908 echo "$as_me: program exited with status $ac_status" >&5
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28911
28912 ( exit $ac_status )
28913 ac_cv_header_png_h=no
28914 fi
28915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28916 fi
28917
28918
28919
28920 fi
28921 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28922 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28923 { echo "$as_me:$LINENO: checking for png.h" >&5
28924 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28925 if test "${ac_cv_header_png_h+set}" = set; then
28926 echo $ECHO_N "(cached) $ECHO_C" >&6
28927 else
28928 cat >conftest.$ac_ext <<_ACEOF
28929 /* confdefs.h. */
28930 _ACEOF
28931 cat confdefs.h >>conftest.$ac_ext
28932 cat >>conftest.$ac_ext <<_ACEOF
28933 /* end confdefs.h. */
28934
28935
28936 #include <png.h>
28937 _ACEOF
28938 rm -f conftest.$ac_objext
28939 if { (ac_try="$ac_compile"
28940 case "(($ac_try" in
28941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28942 *) ac_try_echo=$ac_try;;
28943 esac
28944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28945 (eval "$ac_compile") 2>conftest.er1
28946 ac_status=$?
28947 grep -v '^ *+' conftest.er1 >conftest.err
28948 rm -f conftest.er1
28949 cat conftest.err >&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } && {
28952 test -z "$ac_c_werror_flag" ||
28953 test ! -s conftest.err
28954 } && test -s conftest.$ac_objext; then
28955 ac_cv_header_png_h=yes
28956 else
28957 echo "$as_me: failed program was:" >&5
28958 sed 's/^/| /' conftest.$ac_ext >&5
28959
28960 ac_cv_header_png_h=no
28961 fi
28962
28963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28964 fi
28965 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28966 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28967
28968
28969
28970 if test "$ac_cv_header_png_h" = "yes"; then
28971 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28972 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28973 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28975 else
28976 ac_check_lib_save_LIBS=$LIBS
28977 LIBS="-lpng -lz -lm $LIBS"
28978 cat >conftest.$ac_ext <<_ACEOF
28979 /* confdefs.h. */
28980 _ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28984
28985 /* Override any GCC internal prototype to avoid an error.
28986 Use char because int might match the return type of a GCC
28987 builtin and then its argument prototype would still apply. */
28988 #ifdef __cplusplus
28989 extern "C"
28990 #endif
28991 char png_check_sig ();
28992 int
28993 main ()
28994 {
28995 return png_check_sig ();
28996 ;
28997 return 0;
28998 }
28999 _ACEOF
29000 rm -f conftest.$ac_objext conftest$ac_exeext
29001 if { (ac_try="$ac_link"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29004 *) ac_try_echo=$ac_try;;
29005 esac
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_link") 2>conftest.er1
29008 ac_status=$?
29009 grep -v '^ *+' conftest.er1 >conftest.err
29010 rm -f conftest.er1
29011 cat conftest.err >&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } && {
29014 test -z "$ac_c_werror_flag" ||
29015 test ! -s conftest.err
29016 } && test -s conftest$ac_exeext &&
29017 $as_test_x conftest$ac_exeext; then
29018 ac_cv_lib_png_png_check_sig=yes
29019 else
29020 echo "$as_me: failed program was:" >&5
29021 sed 's/^/| /' conftest.$ac_ext >&5
29022
29023 ac_cv_lib_png_png_check_sig=no
29024 fi
29025
29026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29027 conftest$ac_exeext conftest.$ac_ext
29028 LIBS=$ac_check_lib_save_LIBS
29029 fi
29030 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29031 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29032 if test $ac_cv_lib_png_png_check_sig = yes; then
29033 PNG_LINK=" -lpng -lz"
29034 fi
29035
29036 fi
29037
29038 if test "x$PNG_LINK" = "x" ; then
29039 if test "$wxUSE_LIBPNG" = "sys" ; then
29040 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29041 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29042 { (exit 1); exit 1; }; }
29043 else
29044 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29045 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29046 wxUSE_LIBPNG=builtin
29047 fi
29048 else
29049 wxUSE_LIBPNG=sys
29050 fi
29051 fi
29052 fi
29053 fi
29054
29055
29056 JPEG_LINK=
29057 if test "$wxUSE_LIBJPEG" != "no" ; then
29058 cat >>confdefs.h <<\_ACEOF
29059 #define wxUSE_LIBJPEG 1
29060 _ACEOF
29061
29062
29063 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29064 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29065 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29066 wxUSE_LIBJPEG=sys
29067 fi
29068
29069 if test "$wxUSE_MGL" != 1 ; then
29070 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29071 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29072 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29073 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29074 echo $ECHO_N "(cached) $ECHO_C" >&6
29075 else
29076 cat >conftest.$ac_ext <<_ACEOF
29077 /* confdefs.h. */
29078 _ACEOF
29079 cat confdefs.h >>conftest.$ac_ext
29080 cat >>conftest.$ac_ext <<_ACEOF
29081 /* end confdefs.h. */
29082
29083 #undef HAVE_STDLIB_H
29084 #include <stdio.h>
29085 #include <jpeglib.h>
29086
29087 int
29088 main ()
29089 {
29090
29091
29092 ;
29093 return 0;
29094 }
29095 _ACEOF
29096 rm -f conftest.$ac_objext
29097 if { (ac_try="$ac_compile"
29098 case "(($ac_try" in
29099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29100 *) ac_try_echo=$ac_try;;
29101 esac
29102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29103 (eval "$ac_compile") 2>conftest.er1
29104 ac_status=$?
29105 grep -v '^ *+' conftest.er1 >conftest.err
29106 rm -f conftest.er1
29107 cat conftest.err >&5
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); } && {
29110 test -z "$ac_c_werror_flag" ||
29111 test ! -s conftest.err
29112 } && test -s conftest.$ac_objext; then
29113 ac_cv_header_jpeglib_h=yes
29114 else
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29117
29118 ac_cv_header_jpeglib_h=no
29119
29120 fi
29121
29122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29123
29124 fi
29125
29126 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29127 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29128
29129 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29130 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29131 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29132 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29133 echo $ECHO_N "(cached) $ECHO_C" >&6
29134 else
29135 ac_check_lib_save_LIBS=$LIBS
29136 LIBS="-ljpeg $LIBS"
29137 cat >conftest.$ac_ext <<_ACEOF
29138 /* confdefs.h. */
29139 _ACEOF
29140 cat confdefs.h >>conftest.$ac_ext
29141 cat >>conftest.$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29143
29144 /* Override any GCC internal prototype to avoid an error.
29145 Use char because int might match the return type of a GCC
29146 builtin and then its argument prototype would still apply. */
29147 #ifdef __cplusplus
29148 extern "C"
29149 #endif
29150 char jpeg_read_header ();
29151 int
29152 main ()
29153 {
29154 return jpeg_read_header ();
29155 ;
29156 return 0;
29157 }
29158 _ACEOF
29159 rm -f conftest.$ac_objext conftest$ac_exeext
29160 if { (ac_try="$ac_link"
29161 case "(($ac_try" in
29162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29163 *) ac_try_echo=$ac_try;;
29164 esac
29165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29166 (eval "$ac_link") 2>conftest.er1
29167 ac_status=$?
29168 grep -v '^ *+' conftest.er1 >conftest.err
29169 rm -f conftest.er1
29170 cat conftest.err >&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } && {
29173 test -z "$ac_c_werror_flag" ||
29174 test ! -s conftest.err
29175 } && test -s conftest$ac_exeext &&
29176 $as_test_x conftest$ac_exeext; then
29177 ac_cv_lib_jpeg_jpeg_read_header=yes
29178 else
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29181
29182 ac_cv_lib_jpeg_jpeg_read_header=no
29183 fi
29184
29185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29186 conftest$ac_exeext conftest.$ac_ext
29187 LIBS=$ac_check_lib_save_LIBS
29188 fi
29189 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29190 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29191 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29192 JPEG_LINK=" -ljpeg"
29193 fi
29194
29195 fi
29196
29197 if test "x$JPEG_LINK" = "x" ; then
29198 if test "$wxUSE_LIBJPEG" = "sys" ; then
29199 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29200 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29201 { (exit 1); exit 1; }; }
29202 else
29203 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29204 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29205 wxUSE_LIBJPEG=builtin
29206 fi
29207 else
29208 wxUSE_LIBJPEG=sys
29209
29210 if test "$wxUSE_MSW" = 1; then
29211 { echo "$as_me:$LINENO: checking for boolean" >&5
29212 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29213 if test "${ac_cv_type_boolean+set}" = set; then
29214 echo $ECHO_N "(cached) $ECHO_C" >&6
29215 else
29216 cat >conftest.$ac_ext <<_ACEOF
29217 /* confdefs.h. */
29218 _ACEOF
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29222 #include <windows.h>
29223
29224 typedef boolean ac__type_new_;
29225 int
29226 main ()
29227 {
29228 if ((ac__type_new_ *) 0)
29229 return 0;
29230 if (sizeof (ac__type_new_))
29231 return 0;
29232 ;
29233 return 0;
29234 }
29235 _ACEOF
29236 rm -f conftest.$ac_objext
29237 if { (ac_try="$ac_compile"
29238 case "(($ac_try" in
29239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29240 *) ac_try_echo=$ac_try;;
29241 esac
29242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29243 (eval "$ac_compile") 2>conftest.er1
29244 ac_status=$?
29245 grep -v '^ *+' conftest.er1 >conftest.err
29246 rm -f conftest.er1
29247 cat conftest.err >&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } && {
29250 test -z "$ac_c_werror_flag" ||
29251 test ! -s conftest.err
29252 } && test -s conftest.$ac_objext; then
29253 ac_cv_type_boolean=yes
29254 else
29255 echo "$as_me: failed program was:" >&5
29256 sed 's/^/| /' conftest.$ac_ext >&5
29257
29258 ac_cv_type_boolean=no
29259 fi
29260
29261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29262 fi
29263 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29264 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29265 if test $ac_cv_type_boolean = yes; then
29266
29267 cat >>confdefs.h <<_ACEOF
29268 #define HAVE_BOOLEAN 1
29269 _ACEOF
29270
29271
29272 { echo "$as_me:$LINENO: checking for boolean" >&5
29273 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29274 if test "${ac_cv_type_boolean+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29276 else
29277 cat >conftest.$ac_ext <<_ACEOF
29278 /* confdefs.h. */
29279 _ACEOF
29280 cat confdefs.h >>conftest.$ac_ext
29281 cat >>conftest.$ac_ext <<_ACEOF
29282 /* end confdefs.h. */
29283
29284 #undef HAVE_BOOLEAN
29285 #include <stdio.h>
29286 #include <jpeglib.h>
29287
29288
29289 typedef boolean ac__type_new_;
29290 int
29291 main ()
29292 {
29293 if ((ac__type_new_ *) 0)
29294 return 0;
29295 if (sizeof (ac__type_new_))
29296 return 0;
29297 ;
29298 return 0;
29299 }
29300 _ACEOF
29301 rm -f conftest.$ac_objext
29302 if { (ac_try="$ac_compile"
29303 case "(($ac_try" in
29304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29305 *) ac_try_echo=$ac_try;;
29306 esac
29307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_compile") 2>conftest.er1
29309 ac_status=$?
29310 grep -v '^ *+' conftest.er1 >conftest.err
29311 rm -f conftest.er1
29312 cat conftest.err >&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } && {
29315 test -z "$ac_c_werror_flag" ||
29316 test ! -s conftest.err
29317 } && test -s conftest.$ac_objext; then
29318 ac_cv_type_boolean=yes
29319 else
29320 echo "$as_me: failed program was:" >&5
29321 sed 's/^/| /' conftest.$ac_ext >&5
29322
29323 ac_cv_type_boolean=no
29324 fi
29325
29326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29327 fi
29328 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29329 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29330
29331 # The cast to long int works around a bug in the HP C Compiler
29332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29334 # This bug is HP SR number 8606223364.
29335 { echo "$as_me:$LINENO: checking size of boolean" >&5
29336 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29337 if test "${ac_cv_sizeof_boolean+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 else
29340 if test "$cross_compiling" = yes; then
29341 # Depending upon the size, compute the lo and hi bounds.
29342 cat >conftest.$ac_ext <<_ACEOF
29343 /* confdefs.h. */
29344 _ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29348
29349 #undef HAVE_BOOLEAN
29350 #include <stdio.h>
29351 #include <jpeglib.h>
29352
29353
29354 typedef boolean ac__type_sizeof_;
29355 int
29356 main ()
29357 {
29358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29359 test_array [0] = 0
29360
29361 ;
29362 return 0;
29363 }
29364 _ACEOF
29365 rm -f conftest.$ac_objext
29366 if { (ac_try="$ac_compile"
29367 case "(($ac_try" in
29368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29369 *) ac_try_echo=$ac_try;;
29370 esac
29371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29372 (eval "$ac_compile") 2>conftest.er1
29373 ac_status=$?
29374 grep -v '^ *+' conftest.er1 >conftest.err
29375 rm -f conftest.er1
29376 cat conftest.err >&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } && {
29379 test -z "$ac_c_werror_flag" ||
29380 test ! -s conftest.err
29381 } && test -s conftest.$ac_objext; then
29382 ac_lo=0 ac_mid=0
29383 while :; do
29384 cat >conftest.$ac_ext <<_ACEOF
29385 /* confdefs.h. */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390
29391 #undef HAVE_BOOLEAN
29392 #include <stdio.h>
29393 #include <jpeglib.h>
29394
29395
29396 typedef boolean ac__type_sizeof_;
29397 int
29398 main ()
29399 {
29400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29401 test_array [0] = 0
29402
29403 ;
29404 return 0;
29405 }
29406 _ACEOF
29407 rm -f conftest.$ac_objext
29408 if { (ac_try="$ac_compile"
29409 case "(($ac_try" in
29410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29411 *) ac_try_echo=$ac_try;;
29412 esac
29413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29414 (eval "$ac_compile") 2>conftest.er1
29415 ac_status=$?
29416 grep -v '^ *+' conftest.er1 >conftest.err
29417 rm -f conftest.er1
29418 cat conftest.err >&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); } && {
29421 test -z "$ac_c_werror_flag" ||
29422 test ! -s conftest.err
29423 } && test -s conftest.$ac_objext; then
29424 ac_hi=$ac_mid; break
29425 else
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29428
29429 ac_lo=`expr $ac_mid + 1`
29430 if test $ac_lo -le $ac_mid; then
29431 ac_lo= ac_hi=
29432 break
29433 fi
29434 ac_mid=`expr 2 '*' $ac_mid + 1`
29435 fi
29436
29437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29438 done
29439 else
29440 echo "$as_me: failed program was:" >&5
29441 sed 's/^/| /' conftest.$ac_ext >&5
29442
29443 cat >conftest.$ac_ext <<_ACEOF
29444 /* confdefs.h. */
29445 _ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29449
29450 #undef HAVE_BOOLEAN
29451 #include <stdio.h>
29452 #include <jpeglib.h>
29453
29454
29455 typedef boolean ac__type_sizeof_;
29456 int
29457 main ()
29458 {
29459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29460 test_array [0] = 0
29461
29462 ;
29463 return 0;
29464 }
29465 _ACEOF
29466 rm -f conftest.$ac_objext
29467 if { (ac_try="$ac_compile"
29468 case "(($ac_try" in
29469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29470 *) ac_try_echo=$ac_try;;
29471 esac
29472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29473 (eval "$ac_compile") 2>conftest.er1
29474 ac_status=$?
29475 grep -v '^ *+' conftest.er1 >conftest.err
29476 rm -f conftest.er1
29477 cat conftest.err >&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } && {
29480 test -z "$ac_c_werror_flag" ||
29481 test ! -s conftest.err
29482 } && test -s conftest.$ac_objext; then
29483 ac_hi=-1 ac_mid=-1
29484 while :; do
29485 cat >conftest.$ac_ext <<_ACEOF
29486 /* confdefs.h. */
29487 _ACEOF
29488 cat confdefs.h >>conftest.$ac_ext
29489 cat >>conftest.$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29491
29492 #undef HAVE_BOOLEAN
29493 #include <stdio.h>
29494 #include <jpeglib.h>
29495
29496
29497 typedef boolean ac__type_sizeof_;
29498 int
29499 main ()
29500 {
29501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29502 test_array [0] = 0
29503
29504 ;
29505 return 0;
29506 }
29507 _ACEOF
29508 rm -f conftest.$ac_objext
29509 if { (ac_try="$ac_compile"
29510 case "(($ac_try" in
29511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29512 *) ac_try_echo=$ac_try;;
29513 esac
29514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29515 (eval "$ac_compile") 2>conftest.er1
29516 ac_status=$?
29517 grep -v '^ *+' conftest.er1 >conftest.err
29518 rm -f conftest.er1
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } && {
29522 test -z "$ac_c_werror_flag" ||
29523 test ! -s conftest.err
29524 } && test -s conftest.$ac_objext; then
29525 ac_lo=$ac_mid; break
29526 else
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29529
29530 ac_hi=`expr '(' $ac_mid ')' - 1`
29531 if test $ac_mid -le $ac_hi; then
29532 ac_lo= ac_hi=
29533 break
29534 fi
29535 ac_mid=`expr 2 '*' $ac_mid`
29536 fi
29537
29538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29539 done
29540 else
29541 echo "$as_me: failed program was:" >&5
29542 sed 's/^/| /' conftest.$ac_ext >&5
29543
29544 ac_lo= ac_hi=
29545 fi
29546
29547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29548 fi
29549
29550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29551 # Binary search between lo and hi bounds.
29552 while test "x$ac_lo" != "x$ac_hi"; do
29553 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29554 cat >conftest.$ac_ext <<_ACEOF
29555 /* confdefs.h. */
29556 _ACEOF
29557 cat confdefs.h >>conftest.$ac_ext
29558 cat >>conftest.$ac_ext <<_ACEOF
29559 /* end confdefs.h. */
29560
29561 #undef HAVE_BOOLEAN
29562 #include <stdio.h>
29563 #include <jpeglib.h>
29564
29565
29566 typedef boolean ac__type_sizeof_;
29567 int
29568 main ()
29569 {
29570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29571 test_array [0] = 0
29572
29573 ;
29574 return 0;
29575 }
29576 _ACEOF
29577 rm -f conftest.$ac_objext
29578 if { (ac_try="$ac_compile"
29579 case "(($ac_try" in
29580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29581 *) ac_try_echo=$ac_try;;
29582 esac
29583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29584 (eval "$ac_compile") 2>conftest.er1
29585 ac_status=$?
29586 grep -v '^ *+' conftest.er1 >conftest.err
29587 rm -f conftest.er1
29588 cat conftest.err >&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); } && {
29591 test -z "$ac_c_werror_flag" ||
29592 test ! -s conftest.err
29593 } && test -s conftest.$ac_objext; then
29594 ac_hi=$ac_mid
29595 else
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29598
29599 ac_lo=`expr '(' $ac_mid ')' + 1`
29600 fi
29601
29602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29603 done
29604 case $ac_lo in
29605 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29606 '') if test "$ac_cv_type_boolean" = yes; then
29607 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29608 See \`config.log' for more details." >&5
29609 echo "$as_me: error: cannot compute sizeof (boolean)
29610 See \`config.log' for more details." >&2;}
29611 { (exit 77); exit 77; }; }
29612 else
29613 ac_cv_sizeof_boolean=0
29614 fi ;;
29615 esac
29616 else
29617 cat >conftest.$ac_ext <<_ACEOF
29618 /* confdefs.h. */
29619 _ACEOF
29620 cat confdefs.h >>conftest.$ac_ext
29621 cat >>conftest.$ac_ext <<_ACEOF
29622 /* end confdefs.h. */
29623
29624 #undef HAVE_BOOLEAN
29625 #include <stdio.h>
29626 #include <jpeglib.h>
29627
29628
29629 typedef boolean ac__type_sizeof_;
29630 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29631 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29632 #include <stdio.h>
29633 #include <stdlib.h>
29634 int
29635 main ()
29636 {
29637
29638 FILE *f = fopen ("conftest.val", "w");
29639 if (! f)
29640 return 1;
29641 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29642 {
29643 long int i = longval ();
29644 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29645 return 1;
29646 fprintf (f, "%ld\n", i);
29647 }
29648 else
29649 {
29650 unsigned long int i = ulongval ();
29651 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29652 return 1;
29653 fprintf (f, "%lu\n", i);
29654 }
29655 return ferror (f) || fclose (f) != 0;
29656
29657 ;
29658 return 0;
29659 }
29660 _ACEOF
29661 rm -f conftest$ac_exeext
29662 if { (ac_try="$ac_link"
29663 case "(($ac_try" in
29664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29665 *) ac_try_echo=$ac_try;;
29666 esac
29667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29668 (eval "$ac_link") 2>&5
29669 ac_status=$?
29670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29672 { (case "(($ac_try" in
29673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29674 *) ac_try_echo=$ac_try;;
29675 esac
29676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29677 (eval "$ac_try") 2>&5
29678 ac_status=$?
29679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29680 (exit $ac_status); }; }; then
29681 ac_cv_sizeof_boolean=`cat conftest.val`
29682 else
29683 echo "$as_me: program exited with status $ac_status" >&5
29684 echo "$as_me: failed program was:" >&5
29685 sed 's/^/| /' conftest.$ac_ext >&5
29686
29687 ( exit $ac_status )
29688 if test "$ac_cv_type_boolean" = yes; then
29689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29690 See \`config.log' for more details." >&5
29691 echo "$as_me: error: cannot compute sizeof (boolean)
29692 See \`config.log' for more details." >&2;}
29693 { (exit 77); exit 77; }; }
29694 else
29695 ac_cv_sizeof_boolean=0
29696 fi
29697 fi
29698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29699 fi
29700 rm -f conftest.val
29701 fi
29702 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29703 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29704
29705
29706
29707 cat >>confdefs.h <<_ACEOF
29708 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29709 _ACEOF
29710
29711
29712 cat >>confdefs.h <<_ACEOF
29713 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29714 _ACEOF
29715
29716
29717 fi
29718
29719 fi
29720 fi
29721 fi
29722 fi
29723 fi
29724
29725
29726 TIFF_LINK=
29727 TIFF_PREREQ_LINKS=-lm
29728 if test "$wxUSE_LIBTIFF" != "no" ; then
29729 cat >>confdefs.h <<\_ACEOF
29730 #define wxUSE_LIBTIFF 1
29731 _ACEOF
29732
29733
29734 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29735 if test "$wxUSE_LIBJPEG" = "sys"; then
29736 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29737 fi
29738 if test "$wxUSE_ZLIB" = "sys"; then
29739 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29740 fi
29741 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29742 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29743 if test "${ac_cv_header_tiffio_h+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29746 cat >conftest.$ac_ext <<_ACEOF
29747 /* confdefs.h. */
29748 _ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h. */
29752
29753
29754
29755 #include <tiffio.h>
29756 _ACEOF
29757 rm -f conftest.$ac_objext
29758 if { (ac_try="$ac_compile"
29759 case "(($ac_try" in
29760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29761 *) ac_try_echo=$ac_try;;
29762 esac
29763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29764 (eval "$ac_compile") 2>conftest.er1
29765 ac_status=$?
29766 grep -v '^ *+' conftest.er1 >conftest.err
29767 rm -f conftest.er1
29768 cat conftest.err >&5
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); } && {
29771 test -z "$ac_c_werror_flag" ||
29772 test ! -s conftest.err
29773 } && test -s conftest.$ac_objext; then
29774 ac_cv_header_tiffio_h=yes
29775 else
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.$ac_ext >&5
29778
29779 ac_cv_header_tiffio_h=no
29780 fi
29781
29782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29783 fi
29784 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29785 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29786 if test $ac_cv_header_tiffio_h = yes; then
29787
29788 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29789 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29790 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29791 echo $ECHO_N "(cached) $ECHO_C" >&6
29792 else
29793 ac_check_lib_save_LIBS=$LIBS
29794 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29795 cat >conftest.$ac_ext <<_ACEOF
29796 /* confdefs.h. */
29797 _ACEOF
29798 cat confdefs.h >>conftest.$ac_ext
29799 cat >>conftest.$ac_ext <<_ACEOF
29800 /* end confdefs.h. */
29801
29802 /* Override any GCC internal prototype to avoid an error.
29803 Use char because int might match the return type of a GCC
29804 builtin and then its argument prototype would still apply. */
29805 #ifdef __cplusplus
29806 extern "C"
29807 #endif
29808 char TIFFError ();
29809 int
29810 main ()
29811 {
29812 return TIFFError ();
29813 ;
29814 return 0;
29815 }
29816 _ACEOF
29817 rm -f conftest.$ac_objext conftest$ac_exeext
29818 if { (ac_try="$ac_link"
29819 case "(($ac_try" in
29820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29821 *) ac_try_echo=$ac_try;;
29822 esac
29823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29824 (eval "$ac_link") 2>conftest.er1
29825 ac_status=$?
29826 grep -v '^ *+' conftest.er1 >conftest.err
29827 rm -f conftest.er1
29828 cat conftest.err >&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } && {
29831 test -z "$ac_c_werror_flag" ||
29832 test ! -s conftest.err
29833 } && test -s conftest$ac_exeext &&
29834 $as_test_x conftest$ac_exeext; then
29835 ac_cv_lib_tiff_TIFFError=yes
29836 else
29837 echo "$as_me: failed program was:" >&5
29838 sed 's/^/| /' conftest.$ac_ext >&5
29839
29840 ac_cv_lib_tiff_TIFFError=no
29841 fi
29842
29843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29844 conftest$ac_exeext conftest.$ac_ext
29845 LIBS=$ac_check_lib_save_LIBS
29846 fi
29847 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29848 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29849 if test $ac_cv_lib_tiff_TIFFError = yes; then
29850 TIFF_LINK=" -ltiff"
29851 fi
29852
29853
29854 fi
29855
29856
29857
29858 if test "x$TIFF_LINK" = "x" ; then
29859 if test "$wxUSE_LIBTIFF" = "sys" ; then
29860 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29861 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29862 { (exit 1); exit 1; }; }
29863 else
29864 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29865 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29866 wxUSE_LIBTIFF=builtin
29867 fi
29868 else
29869 wxUSE_LIBTIFF=sys
29870 fi
29871 fi
29872 fi
29873
29874
29875 if test "$wxUSE_WCHAR_T" != "yes"; then
29876 if test "$wxUSE_EXPAT" != "no"; then
29877 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29878 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29879 wxUSE_EXPAT=no
29880 fi
29881 if test "$wxUSE_XML" != "no"; then
29882 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29883 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29884 wxUSE_XML=no
29885 fi
29886 fi
29887
29888 if test "$wxUSE_EXPAT" != "no"; then
29889 wxUSE_XML=yes
29890 cat >>confdefs.h <<\_ACEOF
29891 #define wxUSE_EXPAT 1
29892 _ACEOF
29893
29894 cat >>confdefs.h <<\_ACEOF
29895 #define wxUSE_XML 1
29896 _ACEOF
29897
29898
29899 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29900 { echo "$as_me:$LINENO: checking for expat.h" >&5
29901 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29902 if test "${ac_cv_header_expat_h+set}" = set; then
29903 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 else
29905 cat >conftest.$ac_ext <<_ACEOF
29906 /* confdefs.h. */
29907 _ACEOF
29908 cat confdefs.h >>conftest.$ac_ext
29909 cat >>conftest.$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29911
29912
29913 #include <expat.h>
29914 _ACEOF
29915 rm -f conftest.$ac_objext
29916 if { (ac_try="$ac_compile"
29917 case "(($ac_try" in
29918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29919 *) ac_try_echo=$ac_try;;
29920 esac
29921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29922 (eval "$ac_compile") 2>conftest.er1
29923 ac_status=$?
29924 grep -v '^ *+' conftest.er1 >conftest.err
29925 rm -f conftest.er1
29926 cat conftest.err >&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); } && {
29929 test -z "$ac_c_werror_flag" ||
29930 test ! -s conftest.err
29931 } && test -s conftest.$ac_objext; then
29932 ac_cv_header_expat_h=yes
29933 else
29934 echo "$as_me: failed program was:" >&5
29935 sed 's/^/| /' conftest.$ac_ext >&5
29936
29937 ac_cv_header_expat_h=no
29938 fi
29939
29940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29941 fi
29942 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29943 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29944 if test $ac_cv_header_expat_h = yes; then
29945 found_expat_h=1
29946 fi
29947
29948
29949 if test "x$found_expat_h" = "x1"; then
29950 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29951 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29952 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29953 echo $ECHO_N "(cached) $ECHO_C" >&6
29954 else
29955
29956 ac_ext=cpp
29957 ac_cpp='$CXXCPP $CPPFLAGS'
29958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29961
29962 cat >conftest.$ac_ext <<_ACEOF
29963 /* confdefs.h. */
29964 _ACEOF
29965 cat confdefs.h >>conftest.$ac_ext
29966 cat >>conftest.$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29968 #include <expat.h>
29969 int
29970 main ()
29971 {
29972
29973 ;
29974 return 0;
29975 }
29976 _ACEOF
29977 rm -f conftest.$ac_objext
29978 if { (ac_try="$ac_compile"
29979 case "(($ac_try" in
29980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29981 *) ac_try_echo=$ac_try;;
29982 esac
29983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29984 (eval "$ac_compile") 2>conftest.er1
29985 ac_status=$?
29986 grep -v '^ *+' conftest.er1 >conftest.err
29987 rm -f conftest.er1
29988 cat conftest.err >&5
29989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29990 (exit $ac_status); } && {
29991 test -z "$ac_cxx_werror_flag" ||
29992 test ! -s conftest.err
29993 } && test -s conftest.$ac_objext; then
29994 wx_cv_expat_is_not_broken=yes
29995 else
29996 echo "$as_me: failed program was:" >&5
29997 sed 's/^/| /' conftest.$ac_ext >&5
29998
29999 wx_cv_expat_is_not_broken=no
30000
30001 fi
30002
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30004 ac_ext=c
30005 ac_cpp='$CPP $CPPFLAGS'
30006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30009
30010
30011
30012 fi
30013 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30014 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30015 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30016 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30017 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30018 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30019 echo $ECHO_N "(cached) $ECHO_C" >&6
30020 else
30021 ac_check_lib_save_LIBS=$LIBS
30022 LIBS="-lexpat $LIBS"
30023 cat >conftest.$ac_ext <<_ACEOF
30024 /* confdefs.h. */
30025 _ACEOF
30026 cat confdefs.h >>conftest.$ac_ext
30027 cat >>conftest.$ac_ext <<_ACEOF
30028 /* end confdefs.h. */
30029
30030 /* Override any GCC internal prototype to avoid an error.
30031 Use char because int might match the return type of a GCC
30032 builtin and then its argument prototype would still apply. */
30033 #ifdef __cplusplus
30034 extern "C"
30035 #endif
30036 char XML_ParserCreate ();
30037 int
30038 main ()
30039 {
30040 return XML_ParserCreate ();
30041 ;
30042 return 0;
30043 }
30044 _ACEOF
30045 rm -f conftest.$ac_objext conftest$ac_exeext
30046 if { (ac_try="$ac_link"
30047 case "(($ac_try" in
30048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30049 *) ac_try_echo=$ac_try;;
30050 esac
30051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30052 (eval "$ac_link") 2>conftest.er1
30053 ac_status=$?
30054 grep -v '^ *+' conftest.er1 >conftest.err
30055 rm -f conftest.er1
30056 cat conftest.err >&5
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); } && {
30059 test -z "$ac_c_werror_flag" ||
30060 test ! -s conftest.err
30061 } && test -s conftest$ac_exeext &&
30062 $as_test_x conftest$ac_exeext; then
30063 ac_cv_lib_expat_XML_ParserCreate=yes
30064 else
30065 echo "$as_me: failed program was:" >&5
30066 sed 's/^/| /' conftest.$ac_ext >&5
30067
30068 ac_cv_lib_expat_XML_ParserCreate=no
30069 fi
30070
30071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30072 conftest$ac_exeext conftest.$ac_ext
30073 LIBS=$ac_check_lib_save_LIBS
30074 fi
30075 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30076 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30077 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30078 EXPAT_LINK=" -lexpat"
30079 fi
30080
30081 fi
30082 fi
30083 if test "x$EXPAT_LINK" = "x" ; then
30084 if test "$wxUSE_EXPAT" = "sys" ; then
30085 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30086 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30087 { (exit 1); exit 1; }; }
30088 else
30089 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30090 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30091 wxUSE_EXPAT=builtin
30092 fi
30093 else
30094 wxUSE_EXPAT=sys
30095 fi
30096 fi
30097 if test "$wxUSE_EXPAT" = "builtin" ; then
30098 subdirs="$subdirs src/expat"
30099
30100 fi
30101 fi
30102
30103
30104
30105 if test "$wxUSE_LIBMSPACK" != "no"; then
30106 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30107 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30108 if test "${ac_cv_header_mspack_h+set}" = set; then
30109 echo $ECHO_N "(cached) $ECHO_C" >&6
30110 else
30111 cat >conftest.$ac_ext <<_ACEOF
30112 /* confdefs.h. */
30113 _ACEOF
30114 cat confdefs.h >>conftest.$ac_ext
30115 cat >>conftest.$ac_ext <<_ACEOF
30116 /* end confdefs.h. */
30117
30118
30119 #include <mspack.h>
30120 _ACEOF
30121 rm -f conftest.$ac_objext
30122 if { (ac_try="$ac_compile"
30123 case "(($ac_try" in
30124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30125 *) ac_try_echo=$ac_try;;
30126 esac
30127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30128 (eval "$ac_compile") 2>conftest.er1
30129 ac_status=$?
30130 grep -v '^ *+' conftest.er1 >conftest.err
30131 rm -f conftest.er1
30132 cat conftest.err >&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); } && {
30135 test -z "$ac_c_werror_flag" ||
30136 test ! -s conftest.err
30137 } && test -s conftest.$ac_objext; then
30138 ac_cv_header_mspack_h=yes
30139 else
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.$ac_ext >&5
30142
30143 ac_cv_header_mspack_h=no
30144 fi
30145
30146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30147 fi
30148 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30149 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30150 if test $ac_cv_header_mspack_h = yes; then
30151 found_mspack_h=1
30152 fi
30153
30154
30155 if test "x$found_mspack_h" = "x1"; then
30156 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30157 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30158 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30159 echo $ECHO_N "(cached) $ECHO_C" >&6
30160 else
30161 ac_check_lib_save_LIBS=$LIBS
30162 LIBS="-lmspack $LIBS"
30163 cat >conftest.$ac_ext <<_ACEOF
30164 /* confdefs.h. */
30165 _ACEOF
30166 cat confdefs.h >>conftest.$ac_ext
30167 cat >>conftest.$ac_ext <<_ACEOF
30168 /* end confdefs.h. */
30169
30170 /* Override any GCC internal prototype to avoid an error.
30171 Use char because int might match the return type of a GCC
30172 builtin and then its argument prototype would still apply. */
30173 #ifdef __cplusplus
30174 extern "C"
30175 #endif
30176 char mspack_create_chm_decompressor ();
30177 int
30178 main ()
30179 {
30180 return mspack_create_chm_decompressor ();
30181 ;
30182 return 0;
30183 }
30184 _ACEOF
30185 rm -f conftest.$ac_objext conftest$ac_exeext
30186 if { (ac_try="$ac_link"
30187 case "(($ac_try" in
30188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30189 *) ac_try_echo=$ac_try;;
30190 esac
30191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30192 (eval "$ac_link") 2>conftest.er1
30193 ac_status=$?
30194 grep -v '^ *+' conftest.er1 >conftest.err
30195 rm -f conftest.er1
30196 cat conftest.err >&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } && {
30199 test -z "$ac_c_werror_flag" ||
30200 test ! -s conftest.err
30201 } && test -s conftest$ac_exeext &&
30202 $as_test_x conftest$ac_exeext; then
30203 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30204 else
30205 echo "$as_me: failed program was:" >&5
30206 sed 's/^/| /' conftest.$ac_ext >&5
30207
30208 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30209 fi
30210
30211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30212 conftest$ac_exeext conftest.$ac_ext
30213 LIBS=$ac_check_lib_save_LIBS
30214 fi
30215 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30216 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30217 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30218 MSPACK_LINK=" -lmspack"
30219 fi
30220
30221 fi
30222 if test "x$MSPACK_LINK" = "x" ; then
30223 wxUSE_LIBMSPACK=no
30224 fi
30225 fi
30226
30227 if test "$wxUSE_LIBMSPACK" != "no"; then
30228 cat >>confdefs.h <<\_ACEOF
30229 #define wxUSE_LIBMSPACK 1
30230 _ACEOF
30231
30232 fi
30233
30234
30235
30236 AFMINSTALL=
30237 WIN32INSTALL=
30238
30239 TOOLKIT=
30240 TOOLKIT_INCLUDE=
30241 WIDGET_SET=
30242
30243 if test "$USE_WIN32" = 1 ; then
30244
30245 for ac_header in w32api.h
30246 do
30247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30248 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30251 echo $ECHO_N "(cached) $ECHO_C" >&6
30252 else
30253 cat >conftest.$ac_ext <<_ACEOF
30254 /* confdefs.h. */
30255 _ACEOF
30256 cat confdefs.h >>conftest.$ac_ext
30257 cat >>conftest.$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30259
30260
30261 #include <$ac_header>
30262 _ACEOF
30263 rm -f conftest.$ac_objext
30264 if { (ac_try="$ac_compile"
30265 case "(($ac_try" in
30266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30267 *) ac_try_echo=$ac_try;;
30268 esac
30269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30270 (eval "$ac_compile") 2>conftest.er1
30271 ac_status=$?
30272 grep -v '^ *+' conftest.er1 >conftest.err
30273 rm -f conftest.er1
30274 cat conftest.err >&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); } && {
30277 test -z "$ac_c_werror_flag" ||
30278 test ! -s conftest.err
30279 } && test -s conftest.$ac_objext; then
30280 eval "$as_ac_Header=yes"
30281 else
30282 echo "$as_me: failed program was:" >&5
30283 sed 's/^/| /' conftest.$ac_ext >&5
30284
30285 eval "$as_ac_Header=no"
30286 fi
30287
30288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30289 fi
30290 ac_res=`eval echo '${'$as_ac_Header'}'`
30291 { echo "$as_me:$LINENO: result: $ac_res" >&5
30292 echo "${ECHO_T}$ac_res" >&6; }
30293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30294 cat >>confdefs.h <<_ACEOF
30295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30296 _ACEOF
30297
30298 fi
30299
30300 done
30301
30302 { echo "$as_me:$LINENO: checking for windows.h" >&5
30303 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30304 if test "${ac_cv_header_windows_h+set}" = set; then
30305 echo $ECHO_N "(cached) $ECHO_C" >&6
30306 else
30307 cat >conftest.$ac_ext <<_ACEOF
30308 /* confdefs.h. */
30309 _ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313
30314
30315 #include <windows.h>
30316 _ACEOF
30317 rm -f conftest.$ac_objext
30318 if { (ac_try="$ac_compile"
30319 case "(($ac_try" in
30320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30321 *) ac_try_echo=$ac_try;;
30322 esac
30323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30324 (eval "$ac_compile") 2>conftest.er1
30325 ac_status=$?
30326 grep -v '^ *+' conftest.er1 >conftest.err
30327 rm -f conftest.er1
30328 cat conftest.err >&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); } && {
30331 test -z "$ac_c_werror_flag" ||
30332 test ! -s conftest.err
30333 } && test -s conftest.$ac_objext; then
30334 ac_cv_header_windows_h=yes
30335 else
30336 echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.$ac_ext >&5
30338
30339 ac_cv_header_windows_h=no
30340 fi
30341
30342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30343 fi
30344 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30345 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30346 if test $ac_cv_header_windows_h = yes; then
30347 :
30348 else
30349
30350 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30351 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30352 { (exit 1); exit 1; }; }
30353
30354 fi
30355
30356
30357
30358 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30359
30360 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30361 LIBS="$LIBS -loleacc"
30362 fi
30363
30364 case "${host}" in
30365 *-*-cygwin* )
30366 LIBS="$LIBS -lkernel32 -luser32"
30367 esac
30368
30369 if test "$wxUSE_ODBC" = "sys" ; then
30370 wxUSE_ODBC = "yes"
30371 fi
30372 if test "$wxUSE_ODBC" = "yes" ; then
30373 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30374 cat >>confdefs.h <<\_ACEOF
30375 #define wxUSE_ODBC 1
30376 _ACEOF
30377
30378 fi
30379
30380 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30381 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30382
30383 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30384
30385 WIN32INSTALL=win32install
30386
30387 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30388 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30389 if test "${ac_cv_header_pbt_h+set}" = set; then
30390 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 else
30392 cat >conftest.$ac_ext <<_ACEOF
30393 /* confdefs.h. */
30394 _ACEOF
30395 cat confdefs.h >>conftest.$ac_ext
30396 cat >>conftest.$ac_ext <<_ACEOF
30397 /* end confdefs.h. */
30398
30399
30400 #include <pbt.h>
30401 _ACEOF
30402 rm -f conftest.$ac_objext
30403 if { (ac_try="$ac_compile"
30404 case "(($ac_try" in
30405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30406 *) ac_try_echo=$ac_try;;
30407 esac
30408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30409 (eval "$ac_compile") 2>conftest.er1
30410 ac_status=$?
30411 grep -v '^ *+' conftest.er1 >conftest.err
30412 rm -f conftest.er1
30413 cat conftest.err >&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); } && {
30416 test -z "$ac_c_werror_flag" ||
30417 test ! -s conftest.err
30418 } && test -s conftest.$ac_objext; then
30419 ac_cv_header_pbt_h=yes
30420 else
30421 echo "$as_me: failed program was:" >&5
30422 sed 's/^/| /' conftest.$ac_ext >&5
30423
30424 ac_cv_header_pbt_h=no
30425 fi
30426
30427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30428 fi
30429 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30430 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30431 if test $ac_cv_header_pbt_h = yes; then
30432 :
30433 else
30434 cat >>confdefs.h <<\_ACEOF
30435 #define NEED_PBT_H 1
30436 _ACEOF
30437
30438 fi
30439
30440
30441 fi
30442
30443 if test "$wxUSE_GUI" = "yes"; then
30444 USE_GUI=1
30445
30446 GUI_TK_LIBRARY=
30447
30448 WXGTK12=
30449 WXGTK127=
30450 WXGTK20=
30451 WXGPE=
30452
30453 if test "$wxUSE_COCOA" = 1 ; then
30454 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30455 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30456 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30457 wxUSE_PRINTING_ARCHITECTURE=no
30458 fi
30459 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30460 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30461 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30462 wxUSE_DRAG_AND_DROP=no
30463 fi
30464 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30465 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30466 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30467 wxUSE_DRAGIMAGE=no
30468 fi
30469 fi
30470
30471 if test "$wxUSE_MSW" = 1 ; then
30472 TOOLKIT=MSW
30473 GUIDIST=MSW_DIST
30474
30475 case "${host}" in
30476 *-*-mingw32* )
30477 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30478 esac
30479 fi
30480
30481 if test "$wxUSE_GTK" = 1; then
30482 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30483 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30484
30485 gtk_version_cached=1
30486 if test "${wx_cv_lib_gtk+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 else
30489
30490 gtk_version_cached=0
30491 { echo "$as_me:$LINENO: result: " >&5
30492 echo "${ECHO_T}" >&6; }
30493
30494 GTK_MODULES=
30495 if test "$wxUSE_THREADS" = "yes"; then
30496 GTK_MODULES=gthread
30497 fi
30498
30499 wx_cv_lib_gtk=
30500 if test "x$wxGTK_VERSION" != "x1"
30501 then
30502 case "${host}" in
30503 *-*-solaris2* )
30504 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30505 enable_gtktest=no
30506 fi
30507 esac
30508
30509 # Check whether --enable-gtktest was given.
30510 if test "${enable_gtktest+set}" = set; then
30511 enableval=$enable_gtktest;
30512 else
30513 enable_gtktest=yes
30514 fi
30515
30516
30517 pkg_config_args=gtk+-2.0
30518 for module in . $GTK_MODULES
30519 do
30520 case "$module" in
30521 gthread)
30522 pkg_config_args="$pkg_config_args gthread-2.0"
30523 ;;
30524 esac
30525 done
30526
30527 no_gtk=""
30528
30529 # Extract the first word of "pkg-config", so it can be a program name with args.
30530 set dummy pkg-config; ac_word=$2
30531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30535 else
30536 case $PKG_CONFIG in
30537 [\\/]* | ?:[\\/]*)
30538 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30539 ;;
30540 *)
30541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30542 for as_dir in $PATH
30543 do
30544 IFS=$as_save_IFS
30545 test -z "$as_dir" && as_dir=.
30546 for ac_exec_ext in '' $ac_executable_extensions; do
30547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30548 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30550 break 2
30551 fi
30552 done
30553 done
30554 IFS=$as_save_IFS
30555
30556 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30557 ;;
30558 esac
30559 fi
30560 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30561 if test -n "$PKG_CONFIG"; then
30562 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30563 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30564 else
30565 { echo "$as_me:$LINENO: result: no" >&5
30566 echo "${ECHO_T}no" >&6; }
30567 fi
30568
30569
30570
30571 if test x$PKG_CONFIG != xno ; then
30572 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30573 :
30574 else
30575 echo "*** pkg-config too old; version 0.7 or better required."
30576 no_gtk=yes
30577 PKG_CONFIG=no
30578 fi
30579 else
30580 no_gtk=yes
30581 fi
30582
30583 min_gtk_version=2.0.0
30584 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30585 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30586
30587 if test x$PKG_CONFIG != xno ; then
30588 ## don't try to run the test against uninstalled libtool libs
30589 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30590 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30591 enable_gtktest=no
30592 fi
30593
30594 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30595 :
30596 else
30597 no_gtk=yes
30598 fi
30599 fi
30600
30601 if test x"$no_gtk" = x ; then
30602 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30603 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30604 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30606 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30608 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30610 if test "x$enable_gtktest" = "xyes" ; then
30611 ac_save_CFLAGS="$CFLAGS"
30612 ac_save_LIBS="$LIBS"
30613 CFLAGS="$CFLAGS $GTK_CFLAGS"
30614 LIBS="$GTK_LIBS $LIBS"
30615 rm -f conf.gtktest
30616 if test "$cross_compiling" = yes; then
30617 echo $ac_n "cross compiling; assumed OK... $ac_c"
30618 else
30619 cat >conftest.$ac_ext <<_ACEOF
30620 /* confdefs.h. */
30621 _ACEOF
30622 cat confdefs.h >>conftest.$ac_ext
30623 cat >>conftest.$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30625
30626 #include <gtk/gtk.h>
30627 #include <stdio.h>
30628 #include <stdlib.h>
30629
30630 int
30631 main ()
30632 {
30633 int major, minor, micro;
30634 char *tmp_version;
30635
30636 system ("touch conf.gtktest");
30637
30638 /* HP/UX 9 (%@#!) writes to sscanf strings */
30639 tmp_version = g_strdup("$min_gtk_version");
30640 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30641 printf("%s, bad version string\n", "$min_gtk_version");
30642 exit(1);
30643 }
30644
30645 if ((gtk_major_version != $gtk_config_major_version) ||
30646 (gtk_minor_version != $gtk_config_minor_version) ||
30647 (gtk_micro_version != $gtk_config_micro_version))
30648 {
30649 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30650 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30651 gtk_major_version, gtk_minor_version, gtk_micro_version);
30652 printf ("*** was found! If pkg-config was correct, then it is best\n");
30653 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30654 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30655 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30656 printf("*** required on your system.\n");
30657 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30658 printf("*** to point to the correct configuration files\n");
30659 }
30660 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30661 (gtk_minor_version != GTK_MINOR_VERSION) ||
30662 (gtk_micro_version != GTK_MICRO_VERSION))
30663 {
30664 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30665 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30666 printf("*** library (version %d.%d.%d)\n",
30667 gtk_major_version, gtk_minor_version, gtk_micro_version);
30668 }
30669 else
30670 {
30671 if ((gtk_major_version > major) ||
30672 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30673 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30674 {
30675 return 0;
30676 }
30677 else
30678 {
30679 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30680 gtk_major_version, gtk_minor_version, gtk_micro_version);
30681 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30682 major, minor, micro);
30683 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30684 printf("***\n");
30685 printf("*** If you have already installed a sufficiently new version, this error\n");
30686 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30687 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30688 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30689 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30690 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30691 printf("*** so that the correct libraries are found at run-time))\n");
30692 }
30693 }
30694 return 1;
30695 }
30696
30697 _ACEOF
30698 rm -f conftest$ac_exeext
30699 if { (ac_try="$ac_link"
30700 case "(($ac_try" in
30701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30702 *) ac_try_echo=$ac_try;;
30703 esac
30704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30705 (eval "$ac_link") 2>&5
30706 ac_status=$?
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30709 { (case "(($ac_try" in
30710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30711 *) ac_try_echo=$ac_try;;
30712 esac
30713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30714 (eval "$ac_try") 2>&5
30715 ac_status=$?
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); }; }; then
30718 :
30719 else
30720 echo "$as_me: program exited with status $ac_status" >&5
30721 echo "$as_me: failed program was:" >&5
30722 sed 's/^/| /' conftest.$ac_ext >&5
30723
30724 ( exit $ac_status )
30725 no_gtk=yes
30726 fi
30727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30728 fi
30729
30730
30731 CFLAGS="$ac_save_CFLAGS"
30732 LIBS="$ac_save_LIBS"
30733 fi
30734 fi
30735 if test "x$no_gtk" = x ; then
30736 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30737 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30738 wx_cv_lib_gtk=2.0
30739 else
30740 { echo "$as_me:$LINENO: result: no" >&5
30741 echo "${ECHO_T}no" >&6; }
30742 if test "$PKG_CONFIG" = "no" ; then
30743 echo "*** A new enough version of pkg-config was not found."
30744 echo "*** See http://pkgconfig.sourceforge.net"
30745 else
30746 if test -f conf.gtktest ; then
30747 :
30748 else
30749 echo "*** Could not run GTK+ test program, checking why..."
30750 ac_save_CFLAGS="$CFLAGS"
30751 ac_save_LIBS="$LIBS"
30752 CFLAGS="$CFLAGS $GTK_CFLAGS"
30753 LIBS="$LIBS $GTK_LIBS"
30754 cat >conftest.$ac_ext <<_ACEOF
30755 /* confdefs.h. */
30756 _ACEOF
30757 cat confdefs.h >>conftest.$ac_ext
30758 cat >>conftest.$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30760
30761 #include <gtk/gtk.h>
30762 #include <stdio.h>
30763
30764 int
30765 main ()
30766 {
30767 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30768 ;
30769 return 0;
30770 }
30771 _ACEOF
30772 rm -f conftest.$ac_objext conftest$ac_exeext
30773 if { (ac_try="$ac_link"
30774 case "(($ac_try" in
30775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30776 *) ac_try_echo=$ac_try;;
30777 esac
30778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30779 (eval "$ac_link") 2>conftest.er1
30780 ac_status=$?
30781 grep -v '^ *+' conftest.er1 >conftest.err
30782 rm -f conftest.er1
30783 cat conftest.err >&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); } && {
30786 test -z "$ac_c_werror_flag" ||
30787 test ! -s conftest.err
30788 } && test -s conftest$ac_exeext &&
30789 $as_test_x conftest$ac_exeext; then
30790 echo "*** The test program compiled, but did not run. This usually means"
30791 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30792 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30793 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30794 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30795 echo "*** is required on your system"
30796 echo "***"
30797 echo "*** If you have an old version installed, it is best to remove it, although"
30798 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30799 else
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30802
30803 echo "*** The test program failed to compile or link. See the file config.log for the"
30804 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30805 fi
30806
30807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30808 conftest$ac_exeext conftest.$ac_ext
30809 CFLAGS="$ac_save_CFLAGS"
30810 LIBS="$ac_save_LIBS"
30811 fi
30812 fi
30813 GTK_CFLAGS=""
30814 GTK_LIBS=""
30815 :
30816 fi
30817
30818
30819 rm -f conf.gtktest
30820
30821
30822 case "${host}" in
30823 *-*-solaris2* )
30824 if test "$wxUSE_SHARED" != "yes"; then
30825 GTK_LIBS="$GTK_LIBS -lX11"
30826 fi
30827 esac
30828 fi
30829
30830 if test -z "$wx_cv_lib_gtk"; then
30831 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30832
30833 # Check whether --with-gtk-prefix was given.
30834 if test "${with_gtk_prefix+set}" = set; then
30835 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30836 else
30837 gtk_config_prefix=""
30838 fi
30839
30840
30841 # Check whether --with-gtk-exec-prefix was given.
30842 if test "${with_gtk_exec_prefix+set}" = set; then
30843 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30844 else
30845 gtk_config_exec_prefix=""
30846 fi
30847
30848 # Check whether --enable-gtktest was given.
30849 if test "${enable_gtktest+set}" = set; then
30850 enableval=$enable_gtktest;
30851 else
30852 enable_gtktest=yes
30853 fi
30854
30855
30856 for module in . $GTK_MODULES
30857 do
30858 case "$module" in
30859 gthread)
30860 gtk_config_args="$gtk_config_args gthread"
30861 ;;
30862 esac
30863 done
30864
30865 if test x$gtk_config_exec_prefix != x ; then
30866 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30867 if test x${GTK_CONFIG+set} != xset ; then
30868 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30869 fi
30870 fi
30871 if test x$gtk_config_prefix != x ; then
30872 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30873 if test x${GTK_CONFIG+set} != xset ; then
30874 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30875 fi
30876 fi
30877
30878 # Extract the first word of "gtk-config", so it can be a program name with args.
30879 set dummy gtk-config; ac_word=$2
30880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30882 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30883 echo $ECHO_N "(cached) $ECHO_C" >&6
30884 else
30885 case $GTK_CONFIG in
30886 [\\/]* | ?:[\\/]*)
30887 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30888 ;;
30889 *)
30890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30891 for as_dir in $PATH
30892 do
30893 IFS=$as_save_IFS
30894 test -z "$as_dir" && as_dir=.
30895 for ac_exec_ext in '' $ac_executable_extensions; do
30896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30897 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30899 break 2
30900 fi
30901 done
30902 done
30903 IFS=$as_save_IFS
30904
30905 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30906 ;;
30907 esac
30908 fi
30909 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30910 if test -n "$GTK_CONFIG"; then
30911 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30912 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30913 else
30914 { echo "$as_me:$LINENO: result: no" >&5
30915 echo "${ECHO_T}no" >&6; }
30916 fi
30917
30918
30919 min_gtk_version=1.2.7
30920 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30921 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30922 no_gtk=""
30923 if test "$GTK_CONFIG" = "no" ; then
30924 no_gtk=yes
30925 else
30926 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30927 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30928 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30930 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30932 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30934 if test "x$enable_gtktest" = "xyes" ; then
30935 ac_save_CFLAGS="$CFLAGS"
30936 ac_save_LIBS="$LIBS"
30937 CFLAGS="$CFLAGS $GTK_CFLAGS"
30938 LIBS="$GTK_LIBS $LIBS"
30939 rm -f conf.gtktest
30940 if test "$cross_compiling" = yes; then
30941 echo $ac_n "cross compiling; assumed OK... $ac_c"
30942 else
30943 cat >conftest.$ac_ext <<_ACEOF
30944 /* confdefs.h. */
30945 _ACEOF
30946 cat confdefs.h >>conftest.$ac_ext
30947 cat >>conftest.$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30949
30950 #include <gtk/gtk.h>
30951 #include <stdio.h>
30952 #include <stdlib.h>
30953
30954 int
30955 main ()
30956 {
30957 int major, minor, micro;
30958 char *tmp_version;
30959
30960 system ("touch conf.gtktest");
30961
30962 /* HP/UX 9 (%@#!) writes to sscanf strings */
30963 tmp_version = g_strdup("$min_gtk_version");
30964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30965 printf("%s, bad version string\n", "$min_gtk_version");
30966 exit(1);
30967 }
30968
30969 if ((gtk_major_version != $gtk_config_major_version) ||
30970 (gtk_minor_version != $gtk_config_minor_version) ||
30971 (gtk_micro_version != $gtk_config_micro_version))
30972 {
30973 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30974 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30975 gtk_major_version, gtk_minor_version, gtk_micro_version);
30976 printf ("*** was found! If gtk-config was correct, then it is best\n");
30977 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30978 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30979 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30980 printf("*** required on your system.\n");
30981 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30982 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30983 printf("*** before re-running configure\n");
30984 }
30985 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30986 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30987 (gtk_minor_version != GTK_MINOR_VERSION) ||
30988 (gtk_micro_version != GTK_MICRO_VERSION))
30989 {
30990 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30991 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30992 printf("*** library (version %d.%d.%d)\n",
30993 gtk_major_version, gtk_minor_version, gtk_micro_version);
30994 }
30995 #endif /* defined (GTK_MAJOR_VERSION) ... */
30996 else
30997 {
30998 if ((gtk_major_version > major) ||
30999 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31000 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31001 {
31002 return 0;
31003 }
31004 else
31005 {
31006 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31007 gtk_major_version, gtk_minor_version, gtk_micro_version);
31008 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31009 major, minor, micro);
31010 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31011 printf("***\n");
31012 printf("*** If you have already installed a sufficiently new version, this error\n");
31013 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31014 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31015 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31016 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31017 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31018 printf("*** so that the correct libraries are found at run-time))\n");
31019 }
31020 }
31021 return 1;
31022 }
31023
31024 _ACEOF
31025 rm -f conftest$ac_exeext
31026 if { (ac_try="$ac_link"
31027 case "(($ac_try" in
31028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31029 *) ac_try_echo=$ac_try;;
31030 esac
31031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31032 (eval "$ac_link") 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31036 { (case "(($ac_try" in
31037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31038 *) ac_try_echo=$ac_try;;
31039 esac
31040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31041 (eval "$ac_try") 2>&5
31042 ac_status=$?
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 :
31046 else
31047 echo "$as_me: program exited with status $ac_status" >&5
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.$ac_ext >&5
31050
31051 ( exit $ac_status )
31052 no_gtk=yes
31053 fi
31054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31055 fi
31056
31057
31058 CFLAGS="$ac_save_CFLAGS"
31059 LIBS="$ac_save_LIBS"
31060 fi
31061 fi
31062 if test "x$no_gtk" = x ; then
31063 { echo "$as_me:$LINENO: result: yes" >&5
31064 echo "${ECHO_T}yes" >&6; }
31065 wx_cv_lib_gtk=1.2.7
31066 else
31067 { echo "$as_me:$LINENO: result: no" >&5
31068 echo "${ECHO_T}no" >&6; }
31069 if test "$GTK_CONFIG" = "no" ; then
31070 echo "*** The gtk-config script installed by GTK could not be found"
31071 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31072 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31073 echo "*** full path to gtk-config."
31074 else
31075 if test -f conf.gtktest ; then
31076 :
31077 else
31078 echo "*** Could not run GTK test program, checking why..."
31079 CFLAGS="$CFLAGS $GTK_CFLAGS"
31080 LIBS="$LIBS $GTK_LIBS"
31081 cat >conftest.$ac_ext <<_ACEOF
31082 /* confdefs.h. */
31083 _ACEOF
31084 cat confdefs.h >>conftest.$ac_ext
31085 cat >>conftest.$ac_ext <<_ACEOF
31086 /* end confdefs.h. */
31087
31088 #include <gtk/gtk.h>
31089 #include <stdio.h>
31090
31091 int
31092 main ()
31093 {
31094 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31095 ;
31096 return 0;
31097 }
31098 _ACEOF
31099 rm -f conftest.$ac_objext conftest$ac_exeext
31100 if { (ac_try="$ac_link"
31101 case "(($ac_try" in
31102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31103 *) ac_try_echo=$ac_try;;
31104 esac
31105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31106 (eval "$ac_link") 2>conftest.er1
31107 ac_status=$?
31108 grep -v '^ *+' conftest.er1 >conftest.err
31109 rm -f conftest.er1
31110 cat conftest.err >&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } && {
31113 test -z "$ac_c_werror_flag" ||
31114 test ! -s conftest.err
31115 } && test -s conftest$ac_exeext &&
31116 $as_test_x conftest$ac_exeext; then
31117 echo "*** The test program compiled, but did not run. This usually means"
31118 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31119 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31120 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31121 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31122 echo "*** is required on your system"
31123 echo "***"
31124 echo "*** If you have an old version installed, it is best to remove it, although"
31125 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31126 echo "***"
31127 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31128 echo "*** came with the system with the command"
31129 echo "***"
31130 echo "*** rpm --erase --nodeps gtk gtk-devel"
31131 else
31132 echo "$as_me: failed program was:" >&5
31133 sed 's/^/| /' conftest.$ac_ext >&5
31134
31135 echo "*** The test program failed to compile or link. See the file config.log for the"
31136 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31137 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31138 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31139 fi
31140
31141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31142 conftest$ac_exeext conftest.$ac_ext
31143 CFLAGS="$ac_save_CFLAGS"
31144 LIBS="$ac_save_LIBS"
31145 fi
31146 fi
31147 GTK_CFLAGS=""
31148 GTK_LIBS=""
31149 :
31150 fi
31151
31152
31153 rm -f conf.gtktest
31154
31155
31156 if test -z "$wx_cv_lib_gtk"; then
31157
31158 # Check whether --with-gtk-prefix was given.
31159 if test "${with_gtk_prefix+set}" = set; then
31160 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31161 else
31162 gtk_config_prefix=""
31163 fi
31164
31165
31166 # Check whether --with-gtk-exec-prefix was given.
31167 if test "${with_gtk_exec_prefix+set}" = set; then
31168 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31169 else
31170 gtk_config_exec_prefix=""
31171 fi
31172
31173 # Check whether --enable-gtktest was given.
31174 if test "${enable_gtktest+set}" = set; then
31175 enableval=$enable_gtktest;
31176 else
31177 enable_gtktest=yes
31178 fi
31179
31180
31181 for module in . $GTK_MODULES
31182 do
31183 case "$module" in
31184 gthread)
31185 gtk_config_args="$gtk_config_args gthread"
31186 ;;
31187 esac
31188 done
31189
31190 if test x$gtk_config_exec_prefix != x ; then
31191 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31192 if test x${GTK_CONFIG+set} != xset ; then
31193 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31194 fi
31195 fi
31196 if test x$gtk_config_prefix != x ; then
31197 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31198 if test x${GTK_CONFIG+set} != xset ; then
31199 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31200 fi
31201 fi
31202
31203 # Extract the first word of "gtk-config", so it can be a program name with args.
31204 set dummy gtk-config; ac_word=$2
31205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31207 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31209 else
31210 case $GTK_CONFIG in
31211 [\\/]* | ?:[\\/]*)
31212 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31213 ;;
31214 *)
31215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31216 for as_dir in $PATH
31217 do
31218 IFS=$as_save_IFS
31219 test -z "$as_dir" && as_dir=.
31220 for ac_exec_ext in '' $ac_executable_extensions; do
31221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31222 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31224 break 2
31225 fi
31226 done
31227 done
31228 IFS=$as_save_IFS
31229
31230 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31231 ;;
31232 esac
31233 fi
31234 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31235 if test -n "$GTK_CONFIG"; then
31236 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31237 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31238 else
31239 { echo "$as_me:$LINENO: result: no" >&5
31240 echo "${ECHO_T}no" >&6; }
31241 fi
31242
31243
31244 min_gtk_version=1.2.3
31245 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31246 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31247 no_gtk=""
31248 if test "$GTK_CONFIG" = "no" ; then
31249 no_gtk=yes
31250 else
31251 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31252 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31253 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31255 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31257 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31259 if test "x$enable_gtktest" = "xyes" ; then
31260 ac_save_CFLAGS="$CFLAGS"
31261 ac_save_LIBS="$LIBS"
31262 CFLAGS="$CFLAGS $GTK_CFLAGS"
31263 LIBS="$GTK_LIBS $LIBS"
31264 rm -f conf.gtktest
31265 if test "$cross_compiling" = yes; then
31266 echo $ac_n "cross compiling; assumed OK... $ac_c"
31267 else
31268 cat >conftest.$ac_ext <<_ACEOF
31269 /* confdefs.h. */
31270 _ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274
31275 #include <gtk/gtk.h>
31276 #include <stdio.h>
31277 #include <stdlib.h>
31278
31279 int
31280 main ()
31281 {
31282 int major, minor, micro;
31283 char *tmp_version;
31284
31285 system ("touch conf.gtktest");
31286
31287 /* HP/UX 9 (%@#!) writes to sscanf strings */
31288 tmp_version = g_strdup("$min_gtk_version");
31289 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31290 printf("%s, bad version string\n", "$min_gtk_version");
31291 exit(1);
31292 }
31293
31294 if ((gtk_major_version != $gtk_config_major_version) ||
31295 (gtk_minor_version != $gtk_config_minor_version) ||
31296 (gtk_micro_version != $gtk_config_micro_version))
31297 {
31298 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31299 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31300 gtk_major_version, gtk_minor_version, gtk_micro_version);
31301 printf ("*** was found! If gtk-config was correct, then it is best\n");
31302 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31303 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31304 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31305 printf("*** required on your system.\n");
31306 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31307 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31308 printf("*** before re-running configure\n");
31309 }
31310 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31311 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31312 (gtk_minor_version != GTK_MINOR_VERSION) ||
31313 (gtk_micro_version != GTK_MICRO_VERSION))
31314 {
31315 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31316 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31317 printf("*** library (version %d.%d.%d)\n",
31318 gtk_major_version, gtk_minor_version, gtk_micro_version);
31319 }
31320 #endif /* defined (GTK_MAJOR_VERSION) ... */
31321 else
31322 {
31323 if ((gtk_major_version > major) ||
31324 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31325 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31326 {
31327 return 0;
31328 }
31329 else
31330 {
31331 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31332 gtk_major_version, gtk_minor_version, gtk_micro_version);
31333 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31334 major, minor, micro);
31335 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31336 printf("***\n");
31337 printf("*** If you have already installed a sufficiently new version, this error\n");
31338 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31339 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31340 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31341 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31342 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31343 printf("*** so that the correct libraries are found at run-time))\n");
31344 }
31345 }
31346 return 1;
31347 }
31348
31349 _ACEOF
31350 rm -f conftest$ac_exeext
31351 if { (ac_try="$ac_link"
31352 case "(($ac_try" in
31353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31354 *) ac_try_echo=$ac_try;;
31355 esac
31356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31357 (eval "$ac_link") 2>&5
31358 ac_status=$?
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31361 { (case "(($ac_try" in
31362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31363 *) ac_try_echo=$ac_try;;
31364 esac
31365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31366 (eval "$ac_try") 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; }; then
31370 :
31371 else
31372 echo "$as_me: program exited with status $ac_status" >&5
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31375
31376 ( exit $ac_status )
31377 no_gtk=yes
31378 fi
31379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31380 fi
31381
31382
31383 CFLAGS="$ac_save_CFLAGS"
31384 LIBS="$ac_save_LIBS"
31385 fi
31386 fi
31387 if test "x$no_gtk" = x ; then
31388 { echo "$as_me:$LINENO: result: yes" >&5
31389 echo "${ECHO_T}yes" >&6; }
31390 wx_cv_lib_gtk=1.2.3
31391 else
31392 { echo "$as_me:$LINENO: result: no" >&5
31393 echo "${ECHO_T}no" >&6; }
31394 if test "$GTK_CONFIG" = "no" ; then
31395 echo "*** The gtk-config script installed by GTK could not be found"
31396 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31397 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31398 echo "*** full path to gtk-config."
31399 else
31400 if test -f conf.gtktest ; then
31401 :
31402 else
31403 echo "*** Could not run GTK test program, checking why..."
31404 CFLAGS="$CFLAGS $GTK_CFLAGS"
31405 LIBS="$LIBS $GTK_LIBS"
31406 cat >conftest.$ac_ext <<_ACEOF
31407 /* confdefs.h. */
31408 _ACEOF
31409 cat confdefs.h >>conftest.$ac_ext
31410 cat >>conftest.$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31412
31413 #include <gtk/gtk.h>
31414 #include <stdio.h>
31415
31416 int
31417 main ()
31418 {
31419 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31420 ;
31421 return 0;
31422 }
31423 _ACEOF
31424 rm -f conftest.$ac_objext conftest$ac_exeext
31425 if { (ac_try="$ac_link"
31426 case "(($ac_try" in
31427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31428 *) ac_try_echo=$ac_try;;
31429 esac
31430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31431 (eval "$ac_link") 2>conftest.er1
31432 ac_status=$?
31433 grep -v '^ *+' conftest.er1 >conftest.err
31434 rm -f conftest.er1
31435 cat conftest.err >&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); } && {
31438 test -z "$ac_c_werror_flag" ||
31439 test ! -s conftest.err
31440 } && test -s conftest$ac_exeext &&
31441 $as_test_x conftest$ac_exeext; then
31442 echo "*** The test program compiled, but did not run. This usually means"
31443 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31444 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31445 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31446 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31447 echo "*** is required on your system"
31448 echo "***"
31449 echo "*** If you have an old version installed, it is best to remove it, although"
31450 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31451 echo "***"
31452 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31453 echo "*** came with the system with the command"
31454 echo "***"
31455 echo "*** rpm --erase --nodeps gtk gtk-devel"
31456 else
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31459
31460 echo "*** The test program failed to compile or link. See the file config.log for the"
31461 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31462 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31463 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31464 fi
31465
31466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31467 conftest$ac_exeext conftest.$ac_ext
31468 CFLAGS="$ac_save_CFLAGS"
31469 LIBS="$ac_save_LIBS"
31470 fi
31471 fi
31472 GTK_CFLAGS=""
31473 GTK_LIBS=""
31474 :
31475 fi
31476
31477
31478 rm -f conf.gtktest
31479
31480 fi
31481 fi
31482 fi
31483
31484 if test -z "$wx_cv_lib_gtk"; then
31485 wx_cv_lib_gtk=none
31486 else
31487 wx_cv_cflags_gtk=$GTK_CFLAGS
31488 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31489 fi
31490
31491
31492 fi
31493
31494
31495 if test "$gtk_version_cached" = 1; then
31496 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31497 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31498 fi
31499
31500 case "$wx_cv_lib_gtk" in
31501 2.0) WXGTK20=1
31502 TOOLKIT_VERSION=2
31503 ;;
31504 1.2.7) WXGTK127=1
31505 WXGTK12=1
31506 ;;
31507 1.2.3) WXGTK12=1
31508 ;;
31509 *) { { echo "$as_me:$LINENO: error:
31510 The development files for GTK+ were not found. For GTK+ 2, please
31511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31513 and that the version is 1.2.3 or above. Also check that the
31514 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31515 --libs' are in the LD_LIBRARY_PATH or equivalent.
31516 " >&5
31517 echo "$as_me: error:
31518 The development files for GTK+ were not found. For GTK+ 2, please
31519 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31520 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31521 and that the version is 1.2.3 or above. Also check that the
31522 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31523 --libs' are in the LD_LIBRARY_PATH or equivalent.
31524 " >&2;}
31525 { (exit 1); exit 1; }; }
31526 ;;
31527 esac
31528
31529 if test "$WXGTK20" = 1; then
31530 save_CFLAGS="$CFLAGS"
31531 save_LIBS="$LIBS"
31532 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31533 LIBS="$LIBS $wx_cv_libs_gtk"
31534
31535 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31536 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31537 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31538 echo $ECHO_N "(cached) $ECHO_C" >&6
31539 else
31540 cat >conftest.$ac_ext <<_ACEOF
31541 /* confdefs.h. */
31542 _ACEOF
31543 cat confdefs.h >>conftest.$ac_ext
31544 cat >>conftest.$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31546 #include <gtk/gtk.h>
31547
31548 int
31549 main ()
31550 {
31551 #ifndef gtk_icon_size_lookup
31552 (void) gtk_icon_size_lookup;
31553 #endif
31554
31555 ;
31556 return 0;
31557 }
31558 _ACEOF
31559 rm -f conftest.$ac_objext
31560 if { (ac_try="$ac_compile"
31561 case "(($ac_try" in
31562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31563 *) ac_try_echo=$ac_try;;
31564 esac
31565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31566 (eval "$ac_compile") 2>conftest.er1
31567 ac_status=$?
31568 grep -v '^ *+' conftest.er1 >conftest.err
31569 rm -f conftest.er1
31570 cat conftest.err >&5
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); } && {
31573 test -z "$ac_c_werror_flag" ||
31574 test ! -s conftest.err
31575 } && test -s conftest.$ac_objext; then
31576 ac_cv_have_decl_gtk_icon_size_lookup=yes
31577 else
31578 echo "$as_me: failed program was:" >&5
31579 sed 's/^/| /' conftest.$ac_ext >&5
31580
31581 ac_cv_have_decl_gtk_icon_size_lookup=no
31582 fi
31583
31584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31585 fi
31586 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31587 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31588 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31589
31590 cat >>confdefs.h <<_ACEOF
31591 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31592 _ACEOF
31593
31594
31595 else
31596 cat >>confdefs.h <<_ACEOF
31597 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31598 _ACEOF
31599
31600 cat >>confdefs.h <<\_ACEOF
31601 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31602 _ACEOF
31603
31604 fi
31605
31606
31607
31608
31609 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31610 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31611 cat >conftest.$ac_ext <<_ACEOF
31612 /* confdefs.h. */
31613 _ACEOF
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31617
31618 #include <gtk/gtk.h>
31619
31620 int
31621 main ()
31622 {
31623
31624 #if !GTK_CHECK_VERSION(2,10,0)
31625 Not GTK+ 2.10
31626 #endif
31627
31628 ;
31629 return 0;
31630 }
31631 _ACEOF
31632 rm -f conftest.$ac_objext
31633 if { (ac_try="$ac_compile"
31634 case "(($ac_try" in
31635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31636 *) ac_try_echo=$ac_try;;
31637 esac
31638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31639 (eval "$ac_compile") 2>conftest.er1
31640 ac_status=$?
31641 grep -v '^ *+' conftest.er1 >conftest.err
31642 rm -f conftest.er1
31643 cat conftest.err >&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); } && {
31646 test -z "$ac_c_werror_flag" ||
31647 test ! -s conftest.err
31648 } && test -s conftest.$ac_objext; then
31649
31650 cat >>confdefs.h <<\_ACEOF
31651 #define __WXGTK210__ 1
31652 _ACEOF
31653
31654 cat >>confdefs.h <<\_ACEOF
31655 #define __WXGTK26__ 1
31656 _ACEOF
31657
31658 cat >>confdefs.h <<\_ACEOF
31659 #define __WXGTK24__ 1
31660 _ACEOF
31661
31662 { echo "$as_me:$LINENO: result: yes" >&5
31663 echo "${ECHO_T}yes" >&6; }
31664 ac_wxgtk210=1
31665
31666 else
31667 echo "$as_me: failed program was:" >&5
31668 sed 's/^/| /' conftest.$ac_ext >&5
31669
31670
31671 { echo "$as_me:$LINENO: result: no" >&5
31672 echo "${ECHO_T}no" >&6; }
31673 ac_wxgtk210=0
31674
31675 fi
31676
31677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31678
31679 if test "$ac_wxgtk210" = 0; then
31680 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31681 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31682 cat >conftest.$ac_ext <<_ACEOF
31683 /* confdefs.h. */
31684 _ACEOF
31685 cat confdefs.h >>conftest.$ac_ext
31686 cat >>conftest.$ac_ext <<_ACEOF
31687 /* end confdefs.h. */
31688
31689 #include <gtk/gtk.h>
31690
31691 int
31692 main ()
31693 {
31694
31695 #if !GTK_CHECK_VERSION(2,6,0)
31696 Not GTK+ 2.6
31697 #endif
31698
31699 ;
31700 return 0;
31701 }
31702 _ACEOF
31703 rm -f conftest.$ac_objext
31704 if { (ac_try="$ac_compile"
31705 case "(($ac_try" in
31706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31707 *) ac_try_echo=$ac_try;;
31708 esac
31709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31710 (eval "$ac_compile") 2>conftest.er1
31711 ac_status=$?
31712 grep -v '^ *+' conftest.er1 >conftest.err
31713 rm -f conftest.er1
31714 cat conftest.err >&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); } && {
31717 test -z "$ac_c_werror_flag" ||
31718 test ! -s conftest.err
31719 } && test -s conftest.$ac_objext; then
31720
31721 cat >>confdefs.h <<\_ACEOF
31722 #define __WXGTK26__ 1
31723 _ACEOF
31724
31725 cat >>confdefs.h <<\_ACEOF
31726 #define __WXGTK24__ 1
31727 _ACEOF
31728
31729 { echo "$as_me:$LINENO: result: yes" >&5
31730 echo "${ECHO_T}yes" >&6; }
31731 ac_wxgtk26=1
31732
31733 else
31734 echo "$as_me: failed program was:" >&5
31735 sed 's/^/| /' conftest.$ac_ext >&5
31736
31737
31738 { echo "$as_me:$LINENO: result: no" >&5
31739 echo "${ECHO_T}no" >&6; }
31740 ac_wxgtk26=0
31741
31742 fi
31743
31744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31745 fi
31746
31747 if test "$ac_wxgtk26" = 0; then
31748 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31749 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31750 cat >conftest.$ac_ext <<_ACEOF
31751 /* confdefs.h. */
31752 _ACEOF
31753 cat confdefs.h >>conftest.$ac_ext
31754 cat >>conftest.$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31756
31757 #include <gtk/gtk.h>
31758
31759 int
31760 main ()
31761 {
31762
31763 #if !GTK_CHECK_VERSION(2,4,0)
31764 Not GTK+ 2.4
31765 #endif
31766
31767 ;
31768 return 0;
31769 }
31770 _ACEOF
31771 rm -f conftest.$ac_objext
31772 if { (ac_try="$ac_compile"
31773 case "(($ac_try" in
31774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31775 *) ac_try_echo=$ac_try;;
31776 esac
31777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31778 (eval "$ac_compile") 2>conftest.er1
31779 ac_status=$?
31780 grep -v '^ *+' conftest.er1 >conftest.err
31781 rm -f conftest.er1
31782 cat conftest.err >&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); } && {
31785 test -z "$ac_c_werror_flag" ||
31786 test ! -s conftest.err
31787 } && test -s conftest.$ac_objext; then
31788
31789 cat >>confdefs.h <<\_ACEOF
31790 #define __WXGTK24__ 1
31791 _ACEOF
31792
31793 { echo "$as_me:$LINENO: result: yes" >&5
31794 echo "${ECHO_T}yes" >&6; }
31795
31796 else
31797 echo "$as_me: failed program was:" >&5
31798 sed 's/^/| /' conftest.$ac_ext >&5
31799
31800
31801 { echo "$as_me:$LINENO: result: no" >&5
31802 echo "${ECHO_T}no" >&6; }
31803
31804 fi
31805
31806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31807 fi
31808
31809 CFLAGS="$save_CFLAGS"
31810 LIBS="$save_LIBS"
31811 else
31812 if test "$wxUSE_UNICODE" = "yes"; then
31813 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31814 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31815 wxUSE_UNICODE=no
31816 fi
31817
31818 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31819 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31820 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31822 else
31823 ac_check_lib_save_LIBS=$LIBS
31824 LIBS="-lgdk $LIBS"
31825 cat >conftest.$ac_ext <<_ACEOF
31826 /* confdefs.h. */
31827 _ACEOF
31828 cat confdefs.h >>conftest.$ac_ext
31829 cat >>conftest.$ac_ext <<_ACEOF
31830 /* end confdefs.h. */
31831
31832 /* Override any GCC internal prototype to avoid an error.
31833 Use char because int might match the return type of a GCC
31834 builtin and then its argument prototype would still apply. */
31835 #ifdef __cplusplus
31836 extern "C"
31837 #endif
31838 char gdk_im_open ();
31839 int
31840 main ()
31841 {
31842 return gdk_im_open ();
31843 ;
31844 return 0;
31845 }
31846 _ACEOF
31847 rm -f conftest.$ac_objext conftest$ac_exeext
31848 if { (ac_try="$ac_link"
31849 case "(($ac_try" in
31850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31851 *) ac_try_echo=$ac_try;;
31852 esac
31853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31854 (eval "$ac_link") 2>conftest.er1
31855 ac_status=$?
31856 grep -v '^ *+' conftest.er1 >conftest.err
31857 rm -f conftest.er1
31858 cat conftest.err >&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } && {
31861 test -z "$ac_c_werror_flag" ||
31862 test ! -s conftest.err
31863 } && test -s conftest$ac_exeext &&
31864 $as_test_x conftest$ac_exeext; then
31865 ac_cv_lib_gdk_gdk_im_open=yes
31866 else
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.$ac_ext >&5
31869
31870 ac_cv_lib_gdk_gdk_im_open=no
31871 fi
31872
31873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31874 conftest$ac_exeext conftest.$ac_ext
31875 LIBS=$ac_check_lib_save_LIBS
31876 fi
31877 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31878 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31879 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31880 cat >>confdefs.h <<\_ACEOF
31881 #define HAVE_XIM 1
31882 _ACEOF
31883
31884 fi
31885
31886
31887 if test "$USE_DARWIN" != 1; then
31888
31889 for ac_func in poll
31890 do
31891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31895 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 else
31897 cat >conftest.$ac_ext <<_ACEOF
31898 /* confdefs.h. */
31899 _ACEOF
31900 cat confdefs.h >>conftest.$ac_ext
31901 cat >>conftest.$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31905 #define $ac_func innocuous_$ac_func
31906
31907 /* System header to define __stub macros and hopefully few prototypes,
31908 which can conflict with char $ac_func (); below.
31909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31910 <limits.h> exists even on freestanding compilers. */
31911
31912 #ifdef __STDC__
31913 # include <limits.h>
31914 #else
31915 # include <assert.h>
31916 #endif
31917
31918 #undef $ac_func
31919
31920 /* Override any GCC internal prototype to avoid an error.
31921 Use char because int might match the return type of a GCC
31922 builtin and then its argument prototype would still apply. */
31923 #ifdef __cplusplus
31924 extern "C"
31925 #endif
31926 char $ac_func ();
31927 /* The GNU C library defines this for functions which it implements
31928 to always fail with ENOSYS. Some functions are actually named
31929 something starting with __ and the normal name is an alias. */
31930 #if defined __stub_$ac_func || defined __stub___$ac_func
31931 choke me
31932 #endif
31933
31934 int
31935 main ()
31936 {
31937 return $ac_func ();
31938 ;
31939 return 0;
31940 }
31941 _ACEOF
31942 rm -f conftest.$ac_objext conftest$ac_exeext
31943 if { (ac_try="$ac_link"
31944 case "(($ac_try" in
31945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31946 *) ac_try_echo=$ac_try;;
31947 esac
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_link") 2>conftest.er1
31950 ac_status=$?
31951 grep -v '^ *+' conftest.er1 >conftest.err
31952 rm -f conftest.er1
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest$ac_exeext &&
31959 $as_test_x conftest$ac_exeext; then
31960 eval "$as_ac_var=yes"
31961 else
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.$ac_ext >&5
31964
31965 eval "$as_ac_var=no"
31966 fi
31967
31968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31969 conftest$ac_exeext conftest.$ac_ext
31970 fi
31971 ac_res=`eval echo '${'$as_ac_var'}'`
31972 { echo "$as_me:$LINENO: result: $ac_res" >&5
31973 echo "${ECHO_T}$ac_res" >&6; }
31974 if test `eval echo '${'$as_ac_var'}'` = yes; then
31975 cat >>confdefs.h <<_ACEOF
31976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31977 _ACEOF
31978
31979 fi
31980 done
31981
31982 fi
31983 fi
31984
31985 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31986 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31987
31988 AFMINSTALL=afminstall
31989 TOOLKIT=GTK
31990 GUIDIST=GTK_DIST
31991
31992 if test "$wxUSE_GPE" = "yes"; then
31993 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31994 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31995
31996 ac_find_libraries=
31997 for ac_dir in $SEARCH_LIB;
31998 do
31999 for ac_extension in a so sl dylib dll.a; do
32000 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32001 ac_find_libraries=$ac_dir
32002 break 2
32003 fi
32004 done
32005 done
32006
32007 if test "$ac_find_libraries" != "" ; then
32008
32009 if test "$ac_find_libraries" = "default location"; then
32010 ac_path_to_link=""
32011 else
32012 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32013 result=$?
32014 if test $result = 0; then
32015 ac_path_to_link=""
32016 else
32017 ac_path_to_link=" -L$ac_find_libraries"
32018 fi
32019 fi
32020
32021 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32022 WXGPE=1
32023 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32024 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32025 else
32026 { echo "$as_me:$LINENO: result: not found" >&5
32027 echo "${ECHO_T}not found" >&6; }
32028 fi
32029
32030 fi
32031 fi
32032
32033 if test "$wxUSE_MGL" = 1; then
32034 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32035 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32036 if test "x$MGL_ROOT" = x ; then
32037 { echo "$as_me:$LINENO: result: not found" >&5
32038 echo "${ECHO_T}not found" >&6; }
32039 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32040 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32041 { (exit 1); exit 1; }; }
32042 else
32043 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32044 echo "${ECHO_T}$MGL_ROOT" >&6; }
32045 fi
32046
32047 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32048 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32049 case "${host}" in
32050 *-*-linux* )
32051 if test "x$wxUSE_SHARED" = xyes ; then
32052 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32053 else
32054 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32055 fi
32056 ;;
32057 *-pc-msdosdjgpp )
32058 mgl_os_candidates="dos32/dj2"
32059 ;;
32060 *)
32061 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32062 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32063 { (exit 1); exit 1; }; }
32064 esac
32065
32066 mgl_lib_type=""
32067 mgl_os=""
32068
32069 for mgl_os_i in $mgl_os_candidates ; do
32070 if test "x$mgl_os" = x ; then
32071 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32072 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32073 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32074 mgl_lib_type=debug
32075 mgl_os=$mgl_os_i
32076 fi
32077 fi
32078 if test "x$mgl_lib_type" = x ; then
32079 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32080 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32081 mgl_lib_type=release
32082 mgl_os=$mgl_os_i
32083 fi
32084 fi
32085 fi
32086 done
32087
32088 if test "x$mgl_os" = x ; then
32089 { echo "$as_me:$LINENO: result: not found" >&5
32090 echo "${ECHO_T}not found" >&6; }
32091 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32092 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32093 { (exit 1); exit 1; }; }
32094 fi
32095 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32096 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32097
32098 wxUSE_UNIVERSAL="yes"
32099
32100 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32101 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32102
32103 AFMINSTALL=afminstall
32104 TOOLKIT=MGL
32105 GUIDIST=MGL_DIST
32106 fi
32107
32108 if test "$wxUSE_DFB" = 1; then
32109
32110
32111 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32112 if test -n "$ac_tool_prefix"; then
32113 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32114 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32117 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 else
32120 case $PKG_CONFIG in
32121 [\\/]* | ?:[\\/]*)
32122 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32123 ;;
32124 *)
32125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32126 for as_dir in $PATH
32127 do
32128 IFS=$as_save_IFS
32129 test -z "$as_dir" && as_dir=.
32130 for ac_exec_ext in '' $ac_executable_extensions; do
32131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32132 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32134 break 2
32135 fi
32136 done
32137 done
32138 IFS=$as_save_IFS
32139
32140 ;;
32141 esac
32142 fi
32143 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32144 if test -n "$PKG_CONFIG"; then
32145 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32146 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32147 else
32148 { echo "$as_me:$LINENO: result: no" >&5
32149 echo "${ECHO_T}no" >&6; }
32150 fi
32151
32152
32153 fi
32154 if test -z "$ac_cv_path_PKG_CONFIG"; then
32155 ac_pt_PKG_CONFIG=$PKG_CONFIG
32156 # Extract the first word of "pkg-config", so it can be a program name with args.
32157 set dummy pkg-config; ac_word=$2
32158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32160 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32162 else
32163 case $ac_pt_PKG_CONFIG in
32164 [\\/]* | ?:[\\/]*)
32165 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32166 ;;
32167 *)
32168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32169 for as_dir in $PATH
32170 do
32171 IFS=$as_save_IFS
32172 test -z "$as_dir" && as_dir=.
32173 for ac_exec_ext in '' $ac_executable_extensions; do
32174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32175 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32177 break 2
32178 fi
32179 done
32180 done
32181 IFS=$as_save_IFS
32182
32183 ;;
32184 esac
32185 fi
32186 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32187 if test -n "$ac_pt_PKG_CONFIG"; then
32188 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32189 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32190 else
32191 { echo "$as_me:$LINENO: result: no" >&5
32192 echo "${ECHO_T}no" >&6; }
32193 fi
32194
32195 if test "x$ac_pt_PKG_CONFIG" = x; then
32196 PKG_CONFIG=""
32197 else
32198 case $cross_compiling:$ac_tool_warned in
32199 yes:)
32200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32201 whose name does not start with the host triplet. If you think this
32202 configuration is useful to you, please write to autoconf@gnu.org." >&5
32203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32204 whose name does not start with the host triplet. If you think this
32205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32206 ac_tool_warned=yes ;;
32207 esac
32208 PKG_CONFIG=$ac_pt_PKG_CONFIG
32209 fi
32210 else
32211 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32212 fi
32213
32214 fi
32215 if test -n "$PKG_CONFIG"; then
32216 _pkg_min_version=0.9.0
32217 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32218 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32219 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32220 { echo "$as_me:$LINENO: result: yes" >&5
32221 echo "${ECHO_T}yes" >&6; }
32222 else
32223 { echo "$as_me:$LINENO: result: no" >&5
32224 echo "${ECHO_T}no" >&6; }
32225 PKG_CONFIG=""
32226 fi
32227
32228 fi
32229
32230
32231 pkg_failed=no
32232 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32233 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32234
32235 if test -n "$PKG_CONFIG"; then
32236 if test -n "$DIRECTFB_CFLAGS"; then
32237 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32238 else
32239 if test -n "$PKG_CONFIG" && \
32240 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32241 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32242 ac_status=$?
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; then
32245 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32246 else
32247 pkg_failed=yes
32248 fi
32249 fi
32250 else
32251 pkg_failed=untried
32252 fi
32253 if test -n "$PKG_CONFIG"; then
32254 if test -n "$DIRECTFB_LIBS"; then
32255 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32256 else
32257 if test -n "$PKG_CONFIG" && \
32258 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32259 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32260 ac_status=$?
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; then
32263 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32264 else
32265 pkg_failed=yes
32266 fi
32267 fi
32268 else
32269 pkg_failed=untried
32270 fi
32271
32272
32273
32274 if test $pkg_failed = yes; then
32275
32276 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32277 _pkg_short_errors_supported=yes
32278 else
32279 _pkg_short_errors_supported=no
32280 fi
32281 if test $_pkg_short_errors_supported = yes; then
32282 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32283 else
32284 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32285 fi
32286 # Put the nasty error message in config.log where it belongs
32287 echo "$DIRECTFB_PKG_ERRORS" >&5
32288
32289
32290 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32291 echo "$as_me: error: DirectFB not found." >&2;}
32292 { (exit 1); exit 1; }; }
32293
32294
32295 elif test $pkg_failed = untried; then
32296
32297 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32298 echo "$as_me: error: DirectFB not found." >&2;}
32299 { (exit 1); exit 1; }; }
32300
32301
32302 else
32303 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32304 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32305 { echo "$as_me:$LINENO: result: yes" >&5
32306 echo "${ECHO_T}yes" >&6; }
32307
32308 wxUSE_UNIVERSAL="yes"
32309 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32310 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32311 TOOLKIT=DFB
32312 GUIDIST=DFB_DIST
32313
32314 fi
32315 fi
32316
32317 if test "$wxUSE_MICROWIN" = 1; then
32318 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32319 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32320 if test "x$MICROWINDOWS" = x ; then
32321 { echo "$as_me:$LINENO: result: not found" >&5
32322 echo "${ECHO_T}not found" >&6; }
32323 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32324 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32325 { (exit 1); exit 1; }; }
32326 else
32327 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32328 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32329 fi
32330
32331 if test -f $MICROWINDOWS/lib/libmwin.a; then
32332 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32333 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32334 else
32335 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32336 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32337 { (exit 1); exit 1; }; }
32338 fi
32339
32340 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32341 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32342
32343 wxUSE_UNIVERSAL="yes"
32344
32345 AFMINSTALL=afminstall
32346 TOOLKIT=MICROWIN
32347 GUIDIST=MICROWIN_DIST
32348
32349 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32350 fi
32351
32352 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32353 { echo "$as_me:$LINENO: checking for X" >&5
32354 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32355
32356
32357 # Check whether --with-x was given.
32358 if test "${with_x+set}" = set; then
32359 withval=$with_x;
32360 fi
32361
32362 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32363 if test "x$with_x" = xno; then
32364 # The user explicitly disabled X.
32365 have_x=disabled
32366 else
32367 case $x_includes,$x_libraries in #(
32368 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32369 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32370 { (exit 1); exit 1; }; };; #(
32371 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32373 else
32374 # One or both of the vars are not set, and there is no cached value.
32375 ac_x_includes=no ac_x_libraries=no
32376 rm -f -r conftest.dir
32377 if mkdir conftest.dir; then
32378 cd conftest.dir
32379 cat >Imakefile <<'_ACEOF'
32380 incroot:
32381 @echo incroot='${INCROOT}'
32382 usrlibdir:
32383 @echo usrlibdir='${USRLIBDIR}'
32384 libdir:
32385 @echo libdir='${LIBDIR}'
32386 _ACEOF
32387 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32388 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32389 for ac_var in incroot usrlibdir libdir; do
32390 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32391 done
32392 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32393 for ac_extension in a so sl; do
32394 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32395 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32396 ac_im_usrlibdir=$ac_im_libdir; break
32397 fi
32398 done
32399 # Screen out bogus values from the imake configuration. They are
32400 # bogus both because they are the default anyway, and because
32401 # using them would break gcc on systems where it needs fixed includes.
32402 case $ac_im_incroot in
32403 /usr/include) ac_x_includes= ;;
32404 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32405 esac
32406 case $ac_im_usrlibdir in
32407 /usr/lib | /lib) ;;
32408 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32409 esac
32410 fi
32411 cd ..
32412 rm -f -r conftest.dir
32413 fi
32414
32415 # Standard set of common directories for X headers.
32416 # Check X11 before X11Rn because it is often a symlink to the current release.
32417 ac_x_header_dirs='
32418 /usr/X11/include
32419 /usr/X11R6/include
32420 /usr/X11R5/include
32421 /usr/X11R4/include
32422
32423 /usr/include/X11
32424 /usr/include/X11R6
32425 /usr/include/X11R5
32426 /usr/include/X11R4
32427
32428 /usr/local/X11/include
32429 /usr/local/X11R6/include
32430 /usr/local/X11R5/include
32431 /usr/local/X11R4/include
32432
32433 /usr/local/include/X11
32434 /usr/local/include/X11R6
32435 /usr/local/include/X11R5
32436 /usr/local/include/X11R4
32437
32438 /usr/X386/include
32439 /usr/x386/include
32440 /usr/XFree86/include/X11
32441
32442 /usr/include
32443 /usr/local/include
32444 /usr/unsupported/include
32445 /usr/athena/include
32446 /usr/local/x11r5/include
32447 /usr/lpp/Xamples/include
32448
32449 /usr/openwin/include
32450 /usr/openwin/share/include'
32451
32452 if test "$ac_x_includes" = no; then
32453 # Guess where to find include files, by looking for Xlib.h.
32454 # First, try using that file with no special directory specified.
32455 cat >conftest.$ac_ext <<_ACEOF
32456 /* confdefs.h. */
32457 _ACEOF
32458 cat confdefs.h >>conftest.$ac_ext
32459 cat >>conftest.$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32461 #include <X11/Xlib.h>
32462 _ACEOF
32463 if { (ac_try="$ac_cpp conftest.$ac_ext"
32464 case "(($ac_try" in
32465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32466 *) ac_try_echo=$ac_try;;
32467 esac
32468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32470 ac_status=$?
32471 grep -v '^ *+' conftest.er1 >conftest.err
32472 rm -f conftest.er1
32473 cat conftest.err >&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } >/dev/null && {
32476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32477 test ! -s conftest.err
32478 }; then
32479 # We can compile using X headers with no special include directory.
32480 ac_x_includes=
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32484
32485 for ac_dir in $ac_x_header_dirs; do
32486 if test -r "$ac_dir/X11/Xlib.h"; then
32487 ac_x_includes=$ac_dir
32488 break
32489 fi
32490 done
32491 fi
32492
32493 rm -f conftest.err conftest.$ac_ext
32494 fi # $ac_x_includes = no
32495
32496 if test "$ac_x_libraries" = no; then
32497 # Check for the libraries.
32498 # See if we find them without any special options.
32499 # Don't add to $LIBS permanently.
32500 ac_save_LIBS=$LIBS
32501 LIBS="-lX11 $LIBS"
32502 cat >conftest.$ac_ext <<_ACEOF
32503 /* confdefs.h. */
32504 _ACEOF
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32508 #include <X11/Xlib.h>
32509 int
32510 main ()
32511 {
32512 XrmInitialize ()
32513 ;
32514 return 0;
32515 }
32516 _ACEOF
32517 rm -f conftest.$ac_objext conftest$ac_exeext
32518 if { (ac_try="$ac_link"
32519 case "(($ac_try" in
32520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32521 *) ac_try_echo=$ac_try;;
32522 esac
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_link") 2>conftest.er1
32525 ac_status=$?
32526 grep -v '^ *+' conftest.er1 >conftest.err
32527 rm -f conftest.er1
32528 cat conftest.err >&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } && {
32531 test -z "$ac_c_werror_flag" ||
32532 test ! -s conftest.err
32533 } && test -s conftest$ac_exeext &&
32534 $as_test_x conftest$ac_exeext; then
32535 LIBS=$ac_save_LIBS
32536 # We can link X programs with no special library path.
32537 ac_x_libraries=
32538 else
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.$ac_ext >&5
32541
32542 LIBS=$ac_save_LIBS
32543 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32544 do
32545 # Don't even attempt the hair of trying to link an X program!
32546 for ac_extension in a so sl; do
32547 if test -r "$ac_dir/libX11.$ac_extension"; then
32548 ac_x_libraries=$ac_dir
32549 break 2
32550 fi
32551 done
32552 done
32553 fi
32554
32555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32556 conftest$ac_exeext conftest.$ac_ext
32557 fi # $ac_x_libraries = no
32558
32559 case $ac_x_includes,$ac_x_libraries in #(
32560 no,* | *,no | *\'*)
32561 # Didn't find X, or a directory has "'" in its name.
32562 ac_cv_have_x="have_x=no";; #(
32563 *)
32564 # Record where we found X for the cache.
32565 ac_cv_have_x="have_x=yes\
32566 ac_x_includes='$ac_x_includes'\
32567 ac_x_libraries='$ac_x_libraries'"
32568 esac
32569 fi
32570 ;; #(
32571 *) have_x=yes;;
32572 esac
32573 eval "$ac_cv_have_x"
32574 fi # $with_x != no
32575
32576 if test "$have_x" != yes; then
32577 { echo "$as_me:$LINENO: result: $have_x" >&5
32578 echo "${ECHO_T}$have_x" >&6; }
32579 no_x=yes
32580 else
32581 # If each of the values was on the command line, it overrides each guess.
32582 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32583 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32584 # Update the cache value to reflect the command line values.
32585 ac_cv_have_x="have_x=yes\
32586 ac_x_includes='$x_includes'\
32587 ac_x_libraries='$x_libraries'"
32588 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32589 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32590 fi
32591
32592 if test "$no_x" = yes; then
32593 # Not all programs may use this symbol, but it does not hurt to define it.
32594
32595 cat >>confdefs.h <<\_ACEOF
32596 #define X_DISPLAY_MISSING 1
32597 _ACEOF
32598
32599 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32600 else
32601 if test -n "$x_includes"; then
32602 X_CFLAGS="$X_CFLAGS -I$x_includes"
32603 fi
32604
32605 # It would also be nice to do this for all -L options, not just this one.
32606 if test -n "$x_libraries"; then
32607 X_LIBS="$X_LIBS -L$x_libraries"
32608 # For Solaris; some versions of Sun CC require a space after -R and
32609 # others require no space. Words are not sufficient . . . .
32610 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32611 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32612 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32613 ac_xsave_c_werror_flag=$ac_c_werror_flag
32614 ac_c_werror_flag=yes
32615 cat >conftest.$ac_ext <<_ACEOF
32616 /* confdefs.h. */
32617 _ACEOF
32618 cat confdefs.h >>conftest.$ac_ext
32619 cat >>conftest.$ac_ext <<_ACEOF
32620 /* end confdefs.h. */
32621
32622 int
32623 main ()
32624 {
32625
32626 ;
32627 return 0;
32628 }
32629 _ACEOF
32630 rm -f conftest.$ac_objext conftest$ac_exeext
32631 if { (ac_try="$ac_link"
32632 case "(($ac_try" in
32633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32634 *) ac_try_echo=$ac_try;;
32635 esac
32636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32637 (eval "$ac_link") 2>conftest.er1
32638 ac_status=$?
32639 grep -v '^ *+' conftest.er1 >conftest.err
32640 rm -f conftest.er1
32641 cat conftest.err >&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } && {
32644 test -z "$ac_c_werror_flag" ||
32645 test ! -s conftest.err
32646 } && test -s conftest$ac_exeext &&
32647 $as_test_x conftest$ac_exeext; then
32648 { echo "$as_me:$LINENO: result: no" >&5
32649 echo "${ECHO_T}no" >&6; }
32650 X_LIBS="$X_LIBS -R$x_libraries"
32651 else
32652 echo "$as_me: failed program was:" >&5
32653 sed 's/^/| /' conftest.$ac_ext >&5
32654
32655 LIBS="$ac_xsave_LIBS -R $x_libraries"
32656 cat >conftest.$ac_ext <<_ACEOF
32657 /* confdefs.h. */
32658 _ACEOF
32659 cat confdefs.h >>conftest.$ac_ext
32660 cat >>conftest.$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32662
32663 int
32664 main ()
32665 {
32666
32667 ;
32668 return 0;
32669 }
32670 _ACEOF
32671 rm -f conftest.$ac_objext conftest$ac_exeext
32672 if { (ac_try="$ac_link"
32673 case "(($ac_try" in
32674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32675 *) ac_try_echo=$ac_try;;
32676 esac
32677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32678 (eval "$ac_link") 2>conftest.er1
32679 ac_status=$?
32680 grep -v '^ *+' conftest.er1 >conftest.err
32681 rm -f conftest.er1
32682 cat conftest.err >&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); } && {
32685 test -z "$ac_c_werror_flag" ||
32686 test ! -s conftest.err
32687 } && test -s conftest$ac_exeext &&
32688 $as_test_x conftest$ac_exeext; then
32689 { echo "$as_me:$LINENO: result: yes" >&5
32690 echo "${ECHO_T}yes" >&6; }
32691 X_LIBS="$X_LIBS -R $x_libraries"
32692 else
32693 echo "$as_me: failed program was:" >&5
32694 sed 's/^/| /' conftest.$ac_ext >&5
32695
32696 { echo "$as_me:$LINENO: result: neither works" >&5
32697 echo "${ECHO_T}neither works" >&6; }
32698 fi
32699
32700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32701 conftest$ac_exeext conftest.$ac_ext
32702 fi
32703
32704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32705 conftest$ac_exeext conftest.$ac_ext
32706 ac_c_werror_flag=$ac_xsave_c_werror_flag
32707 LIBS=$ac_xsave_LIBS
32708 fi
32709
32710 # Check for system-dependent libraries X programs must link with.
32711 # Do this before checking for the system-independent R6 libraries
32712 # (-lICE), since we may need -lsocket or whatever for X linking.
32713
32714 if test "$ISC" = yes; then
32715 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32716 else
32717 # Martyn Johnson says this is needed for Ultrix, if the X
32718 # libraries were built with DECnet support. And Karl Berry says
32719 # the Alpha needs dnet_stub (dnet does not exist).
32720 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32721 cat >conftest.$ac_ext <<_ACEOF
32722 /* confdefs.h. */
32723 _ACEOF
32724 cat confdefs.h >>conftest.$ac_ext
32725 cat >>conftest.$ac_ext <<_ACEOF
32726 /* end confdefs.h. */
32727
32728 /* Override any GCC internal prototype to avoid an error.
32729 Use char because int might match the return type of a GCC
32730 builtin and then its argument prototype would still apply. */
32731 #ifdef __cplusplus
32732 extern "C"
32733 #endif
32734 char XOpenDisplay ();
32735 int
32736 main ()
32737 {
32738 return XOpenDisplay ();
32739 ;
32740 return 0;
32741 }
32742 _ACEOF
32743 rm -f conftest.$ac_objext conftest$ac_exeext
32744 if { (ac_try="$ac_link"
32745 case "(($ac_try" in
32746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32747 *) ac_try_echo=$ac_try;;
32748 esac
32749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32750 (eval "$ac_link") 2>conftest.er1
32751 ac_status=$?
32752 grep -v '^ *+' conftest.er1 >conftest.err
32753 rm -f conftest.er1
32754 cat conftest.err >&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); } && {
32757 test -z "$ac_c_werror_flag" ||
32758 test ! -s conftest.err
32759 } && test -s conftest$ac_exeext &&
32760 $as_test_x conftest$ac_exeext; then
32761 :
32762 else
32763 echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32765
32766 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32767 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32768 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32769 echo $ECHO_N "(cached) $ECHO_C" >&6
32770 else
32771 ac_check_lib_save_LIBS=$LIBS
32772 LIBS="-ldnet $LIBS"
32773 cat >conftest.$ac_ext <<_ACEOF
32774 /* confdefs.h. */
32775 _ACEOF
32776 cat confdefs.h >>conftest.$ac_ext
32777 cat >>conftest.$ac_ext <<_ACEOF
32778 /* end confdefs.h. */
32779
32780 /* Override any GCC internal prototype to avoid an error.
32781 Use char because int might match the return type of a GCC
32782 builtin and then its argument prototype would still apply. */
32783 #ifdef __cplusplus
32784 extern "C"
32785 #endif
32786 char dnet_ntoa ();
32787 int
32788 main ()
32789 {
32790 return dnet_ntoa ();
32791 ;
32792 return 0;
32793 }
32794 _ACEOF
32795 rm -f conftest.$ac_objext conftest$ac_exeext
32796 if { (ac_try="$ac_link"
32797 case "(($ac_try" in
32798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32799 *) ac_try_echo=$ac_try;;
32800 esac
32801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32802 (eval "$ac_link") 2>conftest.er1
32803 ac_status=$?
32804 grep -v '^ *+' conftest.er1 >conftest.err
32805 rm -f conftest.er1
32806 cat conftest.err >&5
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); } && {
32809 test -z "$ac_c_werror_flag" ||
32810 test ! -s conftest.err
32811 } && test -s conftest$ac_exeext &&
32812 $as_test_x conftest$ac_exeext; then
32813 ac_cv_lib_dnet_dnet_ntoa=yes
32814 else
32815 echo "$as_me: failed program was:" >&5
32816 sed 's/^/| /' conftest.$ac_ext >&5
32817
32818 ac_cv_lib_dnet_dnet_ntoa=no
32819 fi
32820
32821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32822 conftest$ac_exeext conftest.$ac_ext
32823 LIBS=$ac_check_lib_save_LIBS
32824 fi
32825 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32826 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32827 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32828 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32829 fi
32830
32831 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32832 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32833 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32834 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32836 else
32837 ac_check_lib_save_LIBS=$LIBS
32838 LIBS="-ldnet_stub $LIBS"
32839 cat >conftest.$ac_ext <<_ACEOF
32840 /* confdefs.h. */
32841 _ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845
32846 /* Override any GCC internal prototype to avoid an error.
32847 Use char because int might match the return type of a GCC
32848 builtin and then its argument prototype would still apply. */
32849 #ifdef __cplusplus
32850 extern "C"
32851 #endif
32852 char dnet_ntoa ();
32853 int
32854 main ()
32855 {
32856 return dnet_ntoa ();
32857 ;
32858 return 0;
32859 }
32860 _ACEOF
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (ac_try="$ac_link"
32863 case "(($ac_try" in
32864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32865 *) ac_try_echo=$ac_try;;
32866 esac
32867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32868 (eval "$ac_link") 2>conftest.er1
32869 ac_status=$?
32870 grep -v '^ *+' conftest.er1 >conftest.err
32871 rm -f conftest.er1
32872 cat conftest.err >&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } && {
32875 test -z "$ac_c_werror_flag" ||
32876 test ! -s conftest.err
32877 } && test -s conftest$ac_exeext &&
32878 $as_test_x conftest$ac_exeext; then
32879 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32880 else
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32883
32884 ac_cv_lib_dnet_stub_dnet_ntoa=no
32885 fi
32886
32887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32888 conftest$ac_exeext conftest.$ac_ext
32889 LIBS=$ac_check_lib_save_LIBS
32890 fi
32891 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32892 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32893 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32894 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32895 fi
32896
32897 fi
32898 fi
32899
32900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32901 conftest$ac_exeext conftest.$ac_ext
32902 LIBS="$ac_xsave_LIBS"
32903
32904 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32905 # to get the SysV transport functions.
32906 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32907 # needs -lnsl.
32908 # The nsl library prevents programs from opening the X display
32909 # on Irix 5.2, according to T.E. Dickey.
32910 # The functions gethostbyname, getservbyname, and inet_addr are
32911 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32912 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32913 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32914 if test "${ac_cv_func_gethostbyname+set}" = set; then
32915 echo $ECHO_N "(cached) $ECHO_C" >&6
32916 else
32917 cat >conftest.$ac_ext <<_ACEOF
32918 /* confdefs.h. */
32919 _ACEOF
32920 cat confdefs.h >>conftest.$ac_ext
32921 cat >>conftest.$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32923 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32925 #define gethostbyname innocuous_gethostbyname
32926
32927 /* System header to define __stub macros and hopefully few prototypes,
32928 which can conflict with char gethostbyname (); below.
32929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32930 <limits.h> exists even on freestanding compilers. */
32931
32932 #ifdef __STDC__
32933 # include <limits.h>
32934 #else
32935 # include <assert.h>
32936 #endif
32937
32938 #undef gethostbyname
32939
32940 /* Override any GCC internal prototype to avoid an error.
32941 Use char because int might match the return type of a GCC
32942 builtin and then its argument prototype would still apply. */
32943 #ifdef __cplusplus
32944 extern "C"
32945 #endif
32946 char gethostbyname ();
32947 /* The GNU C library defines this for functions which it implements
32948 to always fail with ENOSYS. Some functions are actually named
32949 something starting with __ and the normal name is an alias. */
32950 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32951 choke me
32952 #endif
32953
32954 int
32955 main ()
32956 {
32957 return gethostbyname ();
32958 ;
32959 return 0;
32960 }
32961 _ACEOF
32962 rm -f conftest.$ac_objext conftest$ac_exeext
32963 if { (ac_try="$ac_link"
32964 case "(($ac_try" in
32965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32966 *) ac_try_echo=$ac_try;;
32967 esac
32968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32969 (eval "$ac_link") 2>conftest.er1
32970 ac_status=$?
32971 grep -v '^ *+' conftest.er1 >conftest.err
32972 rm -f conftest.er1
32973 cat conftest.err >&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); } && {
32976 test -z "$ac_c_werror_flag" ||
32977 test ! -s conftest.err
32978 } && test -s conftest$ac_exeext &&
32979 $as_test_x conftest$ac_exeext; then
32980 ac_cv_func_gethostbyname=yes
32981 else
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.$ac_ext >&5
32984
32985 ac_cv_func_gethostbyname=no
32986 fi
32987
32988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32989 conftest$ac_exeext conftest.$ac_ext
32990 fi
32991 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32992 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32993
32994 if test $ac_cv_func_gethostbyname = no; then
32995 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32996 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32997 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 else
33000 ac_check_lib_save_LIBS=$LIBS
33001 LIBS="-lnsl $LIBS"
33002 cat >conftest.$ac_ext <<_ACEOF
33003 /* confdefs.h. */
33004 _ACEOF
33005 cat confdefs.h >>conftest.$ac_ext
33006 cat >>conftest.$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33008
33009 /* Override any GCC internal prototype to avoid an error.
33010 Use char because int might match the return type of a GCC
33011 builtin and then its argument prototype would still apply. */
33012 #ifdef __cplusplus
33013 extern "C"
33014 #endif
33015 char gethostbyname ();
33016 int
33017 main ()
33018 {
33019 return gethostbyname ();
33020 ;
33021 return 0;
33022 }
33023 _ACEOF
33024 rm -f conftest.$ac_objext conftest$ac_exeext
33025 if { (ac_try="$ac_link"
33026 case "(($ac_try" in
33027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33028 *) ac_try_echo=$ac_try;;
33029 esac
33030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33031 (eval "$ac_link") 2>conftest.er1
33032 ac_status=$?
33033 grep -v '^ *+' conftest.er1 >conftest.err
33034 rm -f conftest.er1
33035 cat conftest.err >&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); } && {
33038 test -z "$ac_c_werror_flag" ||
33039 test ! -s conftest.err
33040 } && test -s conftest$ac_exeext &&
33041 $as_test_x conftest$ac_exeext; then
33042 ac_cv_lib_nsl_gethostbyname=yes
33043 else
33044 echo "$as_me: failed program was:" >&5
33045 sed 's/^/| /' conftest.$ac_ext >&5
33046
33047 ac_cv_lib_nsl_gethostbyname=no
33048 fi
33049
33050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33051 conftest$ac_exeext conftest.$ac_ext
33052 LIBS=$ac_check_lib_save_LIBS
33053 fi
33054 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33055 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33056 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33058 fi
33059
33060 if test $ac_cv_lib_nsl_gethostbyname = no; then
33061 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33062 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33063 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33064 echo $ECHO_N "(cached) $ECHO_C" >&6
33065 else
33066 ac_check_lib_save_LIBS=$LIBS
33067 LIBS="-lbsd $LIBS"
33068 cat >conftest.$ac_ext <<_ACEOF
33069 /* confdefs.h. */
33070 _ACEOF
33071 cat confdefs.h >>conftest.$ac_ext
33072 cat >>conftest.$ac_ext <<_ACEOF
33073 /* end confdefs.h. */
33074
33075 /* Override any GCC internal prototype to avoid an error.
33076 Use char because int might match the return type of a GCC
33077 builtin and then its argument prototype would still apply. */
33078 #ifdef __cplusplus
33079 extern "C"
33080 #endif
33081 char gethostbyname ();
33082 int
33083 main ()
33084 {
33085 return gethostbyname ();
33086 ;
33087 return 0;
33088 }
33089 _ACEOF
33090 rm -f conftest.$ac_objext conftest$ac_exeext
33091 if { (ac_try="$ac_link"
33092 case "(($ac_try" in
33093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33094 *) ac_try_echo=$ac_try;;
33095 esac
33096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33097 (eval "$ac_link") 2>conftest.er1
33098 ac_status=$?
33099 grep -v '^ *+' conftest.er1 >conftest.err
33100 rm -f conftest.er1
33101 cat conftest.err >&5
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); } && {
33104 test -z "$ac_c_werror_flag" ||
33105 test ! -s conftest.err
33106 } && test -s conftest$ac_exeext &&
33107 $as_test_x conftest$ac_exeext; then
33108 ac_cv_lib_bsd_gethostbyname=yes
33109 else
33110 echo "$as_me: failed program was:" >&5
33111 sed 's/^/| /' conftest.$ac_ext >&5
33112
33113 ac_cv_lib_bsd_gethostbyname=no
33114 fi
33115
33116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33117 conftest$ac_exeext conftest.$ac_ext
33118 LIBS=$ac_check_lib_save_LIBS
33119 fi
33120 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33121 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33122 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33124 fi
33125
33126 fi
33127 fi
33128
33129 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33130 # socket/setsockopt and other routines are undefined under SCO ODT
33131 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33132 # on later versions), says Simon Leinen: it contains gethostby*
33133 # variants that don't use the name server (or something). -lsocket
33134 # must be given before -lnsl if both are needed. We assume that
33135 # if connect needs -lnsl, so does gethostbyname.
33136 { echo "$as_me:$LINENO: checking for connect" >&5
33137 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33138 if test "${ac_cv_func_connect+set}" = set; then
33139 echo $ECHO_N "(cached) $ECHO_C" >&6
33140 else
33141 cat >conftest.$ac_ext <<_ACEOF
33142 /* confdefs.h. */
33143 _ACEOF
33144 cat confdefs.h >>conftest.$ac_ext
33145 cat >>conftest.$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33147 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33149 #define connect innocuous_connect
33150
33151 /* System header to define __stub macros and hopefully few prototypes,
33152 which can conflict with char connect (); below.
33153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33154 <limits.h> exists even on freestanding compilers. */
33155
33156 #ifdef __STDC__
33157 # include <limits.h>
33158 #else
33159 # include <assert.h>
33160 #endif
33161
33162 #undef connect
33163
33164 /* Override any GCC internal prototype to avoid an error.
33165 Use char because int might match the return type of a GCC
33166 builtin and then its argument prototype would still apply. */
33167 #ifdef __cplusplus
33168 extern "C"
33169 #endif
33170 char connect ();
33171 /* The GNU C library defines this for functions which it implements
33172 to always fail with ENOSYS. Some functions are actually named
33173 something starting with __ and the normal name is an alias. */
33174 #if defined __stub_connect || defined __stub___connect
33175 choke me
33176 #endif
33177
33178 int
33179 main ()
33180 {
33181 return connect ();
33182 ;
33183 return 0;
33184 }
33185 _ACEOF
33186 rm -f conftest.$ac_objext conftest$ac_exeext
33187 if { (ac_try="$ac_link"
33188 case "(($ac_try" in
33189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 *) ac_try_echo=$ac_try;;
33191 esac
33192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 (eval "$ac_link") 2>conftest.er1
33194 ac_status=$?
33195 grep -v '^ *+' conftest.er1 >conftest.err
33196 rm -f conftest.er1
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } && {
33200 test -z "$ac_c_werror_flag" ||
33201 test ! -s conftest.err
33202 } && test -s conftest$ac_exeext &&
33203 $as_test_x conftest$ac_exeext; then
33204 ac_cv_func_connect=yes
33205 else
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33208
33209 ac_cv_func_connect=no
33210 fi
33211
33212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33213 conftest$ac_exeext conftest.$ac_ext
33214 fi
33215 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33216 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33217
33218 if test $ac_cv_func_connect = no; then
33219 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33220 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33221 if test "${ac_cv_lib_socket_connect+set}" = set; then
33222 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 else
33224 ac_check_lib_save_LIBS=$LIBS
33225 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33226 cat >conftest.$ac_ext <<_ACEOF
33227 /* confdefs.h. */
33228 _ACEOF
33229 cat confdefs.h >>conftest.$ac_ext
33230 cat >>conftest.$ac_ext <<_ACEOF
33231 /* end confdefs.h. */
33232
33233 /* Override any GCC internal prototype to avoid an error.
33234 Use char because int might match the return type of a GCC
33235 builtin and then its argument prototype would still apply. */
33236 #ifdef __cplusplus
33237 extern "C"
33238 #endif
33239 char connect ();
33240 int
33241 main ()
33242 {
33243 return connect ();
33244 ;
33245 return 0;
33246 }
33247 _ACEOF
33248 rm -f conftest.$ac_objext conftest$ac_exeext
33249 if { (ac_try="$ac_link"
33250 case "(($ac_try" in
33251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33252 *) ac_try_echo=$ac_try;;
33253 esac
33254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33255 (eval "$ac_link") 2>conftest.er1
33256 ac_status=$?
33257 grep -v '^ *+' conftest.er1 >conftest.err
33258 rm -f conftest.er1
33259 cat conftest.err >&5
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); } && {
33262 test -z "$ac_c_werror_flag" ||
33263 test ! -s conftest.err
33264 } && test -s conftest$ac_exeext &&
33265 $as_test_x conftest$ac_exeext; then
33266 ac_cv_lib_socket_connect=yes
33267 else
33268 echo "$as_me: failed program was:" >&5
33269 sed 's/^/| /' conftest.$ac_ext >&5
33270
33271 ac_cv_lib_socket_connect=no
33272 fi
33273
33274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33275 conftest$ac_exeext conftest.$ac_ext
33276 LIBS=$ac_check_lib_save_LIBS
33277 fi
33278 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33279 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33280 if test $ac_cv_lib_socket_connect = yes; then
33281 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33282 fi
33283
33284 fi
33285
33286 # Guillermo Gomez says -lposix is necessary on A/UX.
33287 { echo "$as_me:$LINENO: checking for remove" >&5
33288 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33289 if test "${ac_cv_func_remove+set}" = set; then
33290 echo $ECHO_N "(cached) $ECHO_C" >&6
33291 else
33292 cat >conftest.$ac_ext <<_ACEOF
33293 /* confdefs.h. */
33294 _ACEOF
33295 cat confdefs.h >>conftest.$ac_ext
33296 cat >>conftest.$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33298 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33300 #define remove innocuous_remove
33301
33302 /* System header to define __stub macros and hopefully few prototypes,
33303 which can conflict with char remove (); below.
33304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33305 <limits.h> exists even on freestanding compilers. */
33306
33307 #ifdef __STDC__
33308 # include <limits.h>
33309 #else
33310 # include <assert.h>
33311 #endif
33312
33313 #undef remove
33314
33315 /* Override any GCC internal prototype to avoid an error.
33316 Use char because int might match the return type of a GCC
33317 builtin and then its argument prototype would still apply. */
33318 #ifdef __cplusplus
33319 extern "C"
33320 #endif
33321 char remove ();
33322 /* The GNU C library defines this for functions which it implements
33323 to always fail with ENOSYS. Some functions are actually named
33324 something starting with __ and the normal name is an alias. */
33325 #if defined __stub_remove || defined __stub___remove
33326 choke me
33327 #endif
33328
33329 int
33330 main ()
33331 {
33332 return remove ();
33333 ;
33334 return 0;
33335 }
33336 _ACEOF
33337 rm -f conftest.$ac_objext conftest$ac_exeext
33338 if { (ac_try="$ac_link"
33339 case "(($ac_try" in
33340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33341 *) ac_try_echo=$ac_try;;
33342 esac
33343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33344 (eval "$ac_link") 2>conftest.er1
33345 ac_status=$?
33346 grep -v '^ *+' conftest.er1 >conftest.err
33347 rm -f conftest.er1
33348 cat conftest.err >&5
33349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350 (exit $ac_status); } && {
33351 test -z "$ac_c_werror_flag" ||
33352 test ! -s conftest.err
33353 } && test -s conftest$ac_exeext &&
33354 $as_test_x conftest$ac_exeext; then
33355 ac_cv_func_remove=yes
33356 else
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.$ac_ext >&5
33359
33360 ac_cv_func_remove=no
33361 fi
33362
33363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33364 conftest$ac_exeext conftest.$ac_ext
33365 fi
33366 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33367 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33368
33369 if test $ac_cv_func_remove = no; then
33370 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33371 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33372 if test "${ac_cv_lib_posix_remove+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 else
33375 ac_check_lib_save_LIBS=$LIBS
33376 LIBS="-lposix $LIBS"
33377 cat >conftest.$ac_ext <<_ACEOF
33378 /* confdefs.h. */
33379 _ACEOF
33380 cat confdefs.h >>conftest.$ac_ext
33381 cat >>conftest.$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33383
33384 /* Override any GCC internal prototype to avoid an error.
33385 Use char because int might match the return type of a GCC
33386 builtin and then its argument prototype would still apply. */
33387 #ifdef __cplusplus
33388 extern "C"
33389 #endif
33390 char remove ();
33391 int
33392 main ()
33393 {
33394 return remove ();
33395 ;
33396 return 0;
33397 }
33398 _ACEOF
33399 rm -f conftest.$ac_objext conftest$ac_exeext
33400 if { (ac_try="$ac_link"
33401 case "(($ac_try" in
33402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33403 *) ac_try_echo=$ac_try;;
33404 esac
33405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33406 (eval "$ac_link") 2>conftest.er1
33407 ac_status=$?
33408 grep -v '^ *+' conftest.er1 >conftest.err
33409 rm -f conftest.er1
33410 cat conftest.err >&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); } && {
33413 test -z "$ac_c_werror_flag" ||
33414 test ! -s conftest.err
33415 } && test -s conftest$ac_exeext &&
33416 $as_test_x conftest$ac_exeext; then
33417 ac_cv_lib_posix_remove=yes
33418 else
33419 echo "$as_me: failed program was:" >&5
33420 sed 's/^/| /' conftest.$ac_ext >&5
33421
33422 ac_cv_lib_posix_remove=no
33423 fi
33424
33425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33426 conftest$ac_exeext conftest.$ac_ext
33427 LIBS=$ac_check_lib_save_LIBS
33428 fi
33429 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33430 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33431 if test $ac_cv_lib_posix_remove = yes; then
33432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33433 fi
33434
33435 fi
33436
33437 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33438 { echo "$as_me:$LINENO: checking for shmat" >&5
33439 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33440 if test "${ac_cv_func_shmat+set}" = set; then
33441 echo $ECHO_N "(cached) $ECHO_C" >&6
33442 else
33443 cat >conftest.$ac_ext <<_ACEOF
33444 /* confdefs.h. */
33445 _ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33451 #define shmat innocuous_shmat
33452
33453 /* System header to define __stub macros and hopefully few prototypes,
33454 which can conflict with char shmat (); below.
33455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33456 <limits.h> exists even on freestanding compilers. */
33457
33458 #ifdef __STDC__
33459 # include <limits.h>
33460 #else
33461 # include <assert.h>
33462 #endif
33463
33464 #undef shmat
33465
33466 /* Override any GCC internal prototype to avoid an error.
33467 Use char because int might match the return type of a GCC
33468 builtin and then its argument prototype would still apply. */
33469 #ifdef __cplusplus
33470 extern "C"
33471 #endif
33472 char shmat ();
33473 /* The GNU C library defines this for functions which it implements
33474 to always fail with ENOSYS. Some functions are actually named
33475 something starting with __ and the normal name is an alias. */
33476 #if defined __stub_shmat || defined __stub___shmat
33477 choke me
33478 #endif
33479
33480 int
33481 main ()
33482 {
33483 return shmat ();
33484 ;
33485 return 0;
33486 }
33487 _ACEOF
33488 rm -f conftest.$ac_objext conftest$ac_exeext
33489 if { (ac_try="$ac_link"
33490 case "(($ac_try" in
33491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33492 *) ac_try_echo=$ac_try;;
33493 esac
33494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33495 (eval "$ac_link") 2>conftest.er1
33496 ac_status=$?
33497 grep -v '^ *+' conftest.er1 >conftest.err
33498 rm -f conftest.er1
33499 cat conftest.err >&5
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); } && {
33502 test -z "$ac_c_werror_flag" ||
33503 test ! -s conftest.err
33504 } && test -s conftest$ac_exeext &&
33505 $as_test_x conftest$ac_exeext; then
33506 ac_cv_func_shmat=yes
33507 else
33508 echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33510
33511 ac_cv_func_shmat=no
33512 fi
33513
33514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33515 conftest$ac_exeext conftest.$ac_ext
33516 fi
33517 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33518 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33519
33520 if test $ac_cv_func_shmat = no; then
33521 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33522 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33523 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33524 echo $ECHO_N "(cached) $ECHO_C" >&6
33525 else
33526 ac_check_lib_save_LIBS=$LIBS
33527 LIBS="-lipc $LIBS"
33528 cat >conftest.$ac_ext <<_ACEOF
33529 /* confdefs.h. */
33530 _ACEOF
33531 cat confdefs.h >>conftest.$ac_ext
33532 cat >>conftest.$ac_ext <<_ACEOF
33533 /* end confdefs.h. */
33534
33535 /* Override any GCC internal prototype to avoid an error.
33536 Use char because int might match the return type of a GCC
33537 builtin and then its argument prototype would still apply. */
33538 #ifdef __cplusplus
33539 extern "C"
33540 #endif
33541 char shmat ();
33542 int
33543 main ()
33544 {
33545 return shmat ();
33546 ;
33547 return 0;
33548 }
33549 _ACEOF
33550 rm -f conftest.$ac_objext conftest$ac_exeext
33551 if { (ac_try="$ac_link"
33552 case "(($ac_try" in
33553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33554 *) ac_try_echo=$ac_try;;
33555 esac
33556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33557 (eval "$ac_link") 2>conftest.er1
33558 ac_status=$?
33559 grep -v '^ *+' conftest.er1 >conftest.err
33560 rm -f conftest.er1
33561 cat conftest.err >&5
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); } && {
33564 test -z "$ac_c_werror_flag" ||
33565 test ! -s conftest.err
33566 } && test -s conftest$ac_exeext &&
33567 $as_test_x conftest$ac_exeext; then
33568 ac_cv_lib_ipc_shmat=yes
33569 else
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.$ac_ext >&5
33572
33573 ac_cv_lib_ipc_shmat=no
33574 fi
33575
33576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33577 conftest$ac_exeext conftest.$ac_ext
33578 LIBS=$ac_check_lib_save_LIBS
33579 fi
33580 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33581 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33582 if test $ac_cv_lib_ipc_shmat = yes; then
33583 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33584 fi
33585
33586 fi
33587 fi
33588
33589 # Check for libraries that X11R6 Xt/Xaw programs need.
33590 ac_save_LDFLAGS=$LDFLAGS
33591 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33592 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33593 # check for ICE first), but we must link in the order -lSM -lICE or
33594 # we get undefined symbols. So assume we have SM if we have ICE.
33595 # These have to be linked with before -lX11, unlike the other
33596 # libraries we check for below, so use a different variable.
33597 # John Interrante, Karl Berry
33598 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33599 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33600 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603 ac_check_lib_save_LIBS=$LIBS
33604 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33605 cat >conftest.$ac_ext <<_ACEOF
33606 /* confdefs.h. */
33607 _ACEOF
33608 cat confdefs.h >>conftest.$ac_ext
33609 cat >>conftest.$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33611
33612 /* Override any GCC internal prototype to avoid an error.
33613 Use char because int might match the return type of a GCC
33614 builtin and then its argument prototype would still apply. */
33615 #ifdef __cplusplus
33616 extern "C"
33617 #endif
33618 char IceConnectionNumber ();
33619 int
33620 main ()
33621 {
33622 return IceConnectionNumber ();
33623 ;
33624 return 0;
33625 }
33626 _ACEOF
33627 rm -f conftest.$ac_objext conftest$ac_exeext
33628 if { (ac_try="$ac_link"
33629 case "(($ac_try" in
33630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33631 *) ac_try_echo=$ac_try;;
33632 esac
33633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33634 (eval "$ac_link") 2>conftest.er1
33635 ac_status=$?
33636 grep -v '^ *+' conftest.er1 >conftest.err
33637 rm -f conftest.er1
33638 cat conftest.err >&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); } && {
33641 test -z "$ac_c_werror_flag" ||
33642 test ! -s conftest.err
33643 } && test -s conftest$ac_exeext &&
33644 $as_test_x conftest$ac_exeext; then
33645 ac_cv_lib_ICE_IceConnectionNumber=yes
33646 else
33647 echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.$ac_ext >&5
33649
33650 ac_cv_lib_ICE_IceConnectionNumber=no
33651 fi
33652
33653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33654 conftest$ac_exeext conftest.$ac_ext
33655 LIBS=$ac_check_lib_save_LIBS
33656 fi
33657 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33658 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33659 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33660 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33661 fi
33662
33663 LDFLAGS=$ac_save_LDFLAGS
33664
33665 fi
33666
33667
33668 if test "$no_x" = "yes"; then
33669 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33670 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33671 { (exit 1); exit 1; }; }
33672 fi
33673
33674 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33675 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33676 AFMINSTALL=afminstall
33677 COMPILED_X_PROGRAM=0
33678
33679 fi
33680
33681 if test "$wxUSE_X11" = 1; then
33682 if test "$wxUSE_NANOX" = "yes"; then
33683 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33684 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33685 if test "x$MICROWIN" = x ; then
33686 { echo "$as_me:$LINENO: result: not found" >&5
33687 echo "${ECHO_T}not found" >&6; }
33688 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33689 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33690 { (exit 1); exit 1; }; }
33691 else
33692 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33693 echo "${ECHO_T}$MICROWIN" >&6; }
33694 cat >>confdefs.h <<\_ACEOF
33695 #define wxUSE_NANOX 1
33696 _ACEOF
33697
33698 fi
33699 fi
33700
33701 if test "$wxUSE_UNICODE" = "yes"; then
33702
33703
33704 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33705 if test -n "$ac_tool_prefix"; then
33706 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33707 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33710 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33711 echo $ECHO_N "(cached) $ECHO_C" >&6
33712 else
33713 case $PKG_CONFIG in
33714 [\\/]* | ?:[\\/]*)
33715 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33716 ;;
33717 *)
33718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33719 for as_dir in $PATH
33720 do
33721 IFS=$as_save_IFS
33722 test -z "$as_dir" && as_dir=.
33723 for ac_exec_ext in '' $ac_executable_extensions; do
33724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33725 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33727 break 2
33728 fi
33729 done
33730 done
33731 IFS=$as_save_IFS
33732
33733 ;;
33734 esac
33735 fi
33736 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33737 if test -n "$PKG_CONFIG"; then
33738 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33739 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33740 else
33741 { echo "$as_me:$LINENO: result: no" >&5
33742 echo "${ECHO_T}no" >&6; }
33743 fi
33744
33745
33746 fi
33747 if test -z "$ac_cv_path_PKG_CONFIG"; then
33748 ac_pt_PKG_CONFIG=$PKG_CONFIG
33749 # Extract the first word of "pkg-config", so it can be a program name with args.
33750 set dummy pkg-config; ac_word=$2
33751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33753 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 else
33756 case $ac_pt_PKG_CONFIG in
33757 [\\/]* | ?:[\\/]*)
33758 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33759 ;;
33760 *)
33761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33762 for as_dir in $PATH
33763 do
33764 IFS=$as_save_IFS
33765 test -z "$as_dir" && as_dir=.
33766 for ac_exec_ext in '' $ac_executable_extensions; do
33767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33768 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33770 break 2
33771 fi
33772 done
33773 done
33774 IFS=$as_save_IFS
33775
33776 ;;
33777 esac
33778 fi
33779 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33780 if test -n "$ac_pt_PKG_CONFIG"; then
33781 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33782 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33783 else
33784 { echo "$as_me:$LINENO: result: no" >&5
33785 echo "${ECHO_T}no" >&6; }
33786 fi
33787
33788 if test "x$ac_pt_PKG_CONFIG" = x; then
33789 PKG_CONFIG=""
33790 else
33791 case $cross_compiling:$ac_tool_warned in
33792 yes:)
33793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33794 whose name does not start with the host triplet. If you think this
33795 configuration is useful to you, please write to autoconf@gnu.org." >&5
33796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33797 whose name does not start with the host triplet. If you think this
33798 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33799 ac_tool_warned=yes ;;
33800 esac
33801 PKG_CONFIG=$ac_pt_PKG_CONFIG
33802 fi
33803 else
33804 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33805 fi
33806
33807 fi
33808 if test -n "$PKG_CONFIG"; then
33809 _pkg_min_version=0.9.0
33810 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33811 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33812 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33813 { echo "$as_me:$LINENO: result: yes" >&5
33814 echo "${ECHO_T}yes" >&6; }
33815 else
33816 { echo "$as_me:$LINENO: result: no" >&5
33817 echo "${ECHO_T}no" >&6; }
33818 PKG_CONFIG=""
33819 fi
33820
33821 fi
33822
33823
33824 pkg_failed=no
33825 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33826 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33827
33828 if test -n "$PKG_CONFIG"; then
33829 if test -n "$PANGOX_CFLAGS"; then
33830 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33831 else
33832 if test -n "$PKG_CONFIG" && \
33833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33834 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33835 ac_status=$?
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); }; then
33838 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33839 else
33840 pkg_failed=yes
33841 fi
33842 fi
33843 else
33844 pkg_failed=untried
33845 fi
33846 if test -n "$PKG_CONFIG"; then
33847 if test -n "$PANGOX_LIBS"; then
33848 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33849 else
33850 if test -n "$PKG_CONFIG" && \
33851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33852 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33853 ac_status=$?
33854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33855 (exit $ac_status); }; then
33856 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33857 else
33858 pkg_failed=yes
33859 fi
33860 fi
33861 else
33862 pkg_failed=untried
33863 fi
33864
33865
33866
33867 if test $pkg_failed = yes; then
33868
33869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33870 _pkg_short_errors_supported=yes
33871 else
33872 _pkg_short_errors_supported=no
33873 fi
33874 if test $_pkg_short_errors_supported = yes; then
33875 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33876 else
33877 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33878 fi
33879 # Put the nasty error message in config.log where it belongs
33880 echo "$PANGOX_PKG_ERRORS" >&5
33881
33882
33883 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33884 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33885 { (exit 1); exit 1; }; }
33886
33887
33888 elif test $pkg_failed = untried; then
33889
33890 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33891 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33892 { (exit 1); exit 1; }; }
33893
33894
33895 else
33896 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33897 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33898 { echo "$as_me:$LINENO: result: yes" >&5
33899 echo "${ECHO_T}yes" >&6; }
33900
33901 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33902 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33904
33905 fi
33906
33907 pkg_failed=no
33908 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33909 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33910
33911 if test -n "$PKG_CONFIG"; then
33912 if test -n "$PANGOFT2_CFLAGS"; then
33913 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33914 else
33915 if test -n "$PKG_CONFIG" && \
33916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33917 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33918 ac_status=$?
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); }; then
33921 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33922 else
33923 pkg_failed=yes
33924 fi
33925 fi
33926 else
33927 pkg_failed=untried
33928 fi
33929 if test -n "$PKG_CONFIG"; then
33930 if test -n "$PANGOFT2_LIBS"; then
33931 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33932 else
33933 if test -n "$PKG_CONFIG" && \
33934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33935 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33936 ac_status=$?
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; then
33939 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33940 else
33941 pkg_failed=yes
33942 fi
33943 fi
33944 else
33945 pkg_failed=untried
33946 fi
33947
33948
33949
33950 if test $pkg_failed = yes; then
33951
33952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33953 _pkg_short_errors_supported=yes
33954 else
33955 _pkg_short_errors_supported=no
33956 fi
33957 if test $_pkg_short_errors_supported = yes; then
33958 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33959 else
33960 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33961 fi
33962 # Put the nasty error message in config.log where it belongs
33963 echo "$PANGOFT2_PKG_ERRORS" >&5
33964
33965
33966 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33967 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33968 wxUSE_PRINTING_ARCHITECTURE="no"
33969
33970
33971 elif test $pkg_failed = untried; then
33972
33973 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33974 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33975 wxUSE_PRINTING_ARCHITECTURE="no"
33976
33977
33978 else
33979 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33980 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33981 { echo "$as_me:$LINENO: result: yes" >&5
33982 echo "${ECHO_T}yes" >&6; }
33983
33984 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33985 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33986 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33987
33988 fi
33989
33990 pkg_failed=no
33991 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33992 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33993
33994 if test -n "$PKG_CONFIG"; then
33995 if test -n "$PANGOXFT_CFLAGS"; then
33996 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33997 else
33998 if test -n "$PKG_CONFIG" && \
33999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34000 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34001 ac_status=$?
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); }; then
34004 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34005 else
34006 pkg_failed=yes
34007 fi
34008 fi
34009 else
34010 pkg_failed=untried
34011 fi
34012 if test -n "$PKG_CONFIG"; then
34013 if test -n "$PANGOXFT_LIBS"; then
34014 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34015 else
34016 if test -n "$PKG_CONFIG" && \
34017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34018 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34019 ac_status=$?
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; then
34022 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34023 else
34024 pkg_failed=yes
34025 fi
34026 fi
34027 else
34028 pkg_failed=untried
34029 fi
34030
34031
34032
34033 if test $pkg_failed = yes; then
34034
34035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34036 _pkg_short_errors_supported=yes
34037 else
34038 _pkg_short_errors_supported=no
34039 fi
34040 if test $_pkg_short_errors_supported = yes; then
34041 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34042 else
34043 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34044 fi
34045 # Put the nasty error message in config.log where it belongs
34046 echo "$PANGOXFT_PKG_ERRORS" >&5
34047
34048
34049 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34050 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34051
34052
34053 elif test $pkg_failed = untried; then
34054
34055 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34056 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34057
34058
34059 else
34060 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34061 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34062 { echo "$as_me:$LINENO: result: yes" >&5
34063 echo "${ECHO_T}yes" >&6; }
34064
34065 cat >>confdefs.h <<\_ACEOF
34066 #define HAVE_PANGO_XFT 1
34067 _ACEOF
34068
34069 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34070 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34071 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34072
34073 fi
34074 save_LIBS="$LIBS"
34075 LIBS="$LIBS $PANGOX_LIBS"
34076
34077 for ac_func in pango_font_family_is_monospace
34078 do
34079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34083 echo $ECHO_N "(cached) $ECHO_C" >&6
34084 else
34085 cat >conftest.$ac_ext <<_ACEOF
34086 /* confdefs.h. */
34087 _ACEOF
34088 cat confdefs.h >>conftest.$ac_ext
34089 cat >>conftest.$ac_ext <<_ACEOF
34090 /* end confdefs.h. */
34091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34093 #define $ac_func innocuous_$ac_func
34094
34095 /* System header to define __stub macros and hopefully few prototypes,
34096 which can conflict with char $ac_func (); below.
34097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34098 <limits.h> exists even on freestanding compilers. */
34099
34100 #ifdef __STDC__
34101 # include <limits.h>
34102 #else
34103 # include <assert.h>
34104 #endif
34105
34106 #undef $ac_func
34107
34108 /* Override any GCC internal prototype to avoid an error.
34109 Use char because int might match the return type of a GCC
34110 builtin and then its argument prototype would still apply. */
34111 #ifdef __cplusplus
34112 extern "C"
34113 #endif
34114 char $ac_func ();
34115 /* The GNU C library defines this for functions which it implements
34116 to always fail with ENOSYS. Some functions are actually named
34117 something starting with __ and the normal name is an alias. */
34118 #if defined __stub_$ac_func || defined __stub___$ac_func
34119 choke me
34120 #endif
34121
34122 int
34123 main ()
34124 {
34125 return $ac_func ();
34126 ;
34127 return 0;
34128 }
34129 _ACEOF
34130 rm -f conftest.$ac_objext conftest$ac_exeext
34131 if { (ac_try="$ac_link"
34132 case "(($ac_try" in
34133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34134 *) ac_try_echo=$ac_try;;
34135 esac
34136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34137 (eval "$ac_link") 2>conftest.er1
34138 ac_status=$?
34139 grep -v '^ *+' conftest.er1 >conftest.err
34140 rm -f conftest.er1
34141 cat conftest.err >&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); } && {
34144 test -z "$ac_c_werror_flag" ||
34145 test ! -s conftest.err
34146 } && test -s conftest$ac_exeext &&
34147 $as_test_x conftest$ac_exeext; then
34148 eval "$as_ac_var=yes"
34149 else
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 eval "$as_ac_var=no"
34154 fi
34155
34156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34157 conftest$ac_exeext conftest.$ac_ext
34158 fi
34159 ac_res=`eval echo '${'$as_ac_var'}'`
34160 { echo "$as_me:$LINENO: result: $ac_res" >&5
34161 echo "${ECHO_T}$ac_res" >&6; }
34162 if test `eval echo '${'$as_ac_var'}'` = yes; then
34163 cat >>confdefs.h <<_ACEOF
34164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34165 _ACEOF
34166
34167 fi
34168 done
34169
34170 LIBS="$save_LIBS"
34171 fi
34172
34173 wxUSE_UNIVERSAL="yes"
34174
34175 if test "$wxUSE_NANOX" = "yes"; then
34176 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34177 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"
34178 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34179 else
34180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34181 fi
34182
34183 TOOLKIT=X11
34184 GUIDIST=X11_DIST
34185 fi
34186
34187 if test "$wxUSE_MOTIF" = 1; then
34188 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34189 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34190
34191 ac_find_includes=
34192 for ac_dir in $SEARCH_INCLUDE /usr/include;
34193 do
34194 if test -f "$ac_dir/Xm/Xm.h"; then
34195 ac_find_includes=$ac_dir
34196 break
34197 fi
34198 done
34199
34200 if test "$ac_find_includes" != "" ; then
34201 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34202 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34203
34204 if test "x$ac_find_includes" = "x/usr/include"; then
34205 ac_path_to_include=""
34206 else
34207 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34208 result=$?
34209 if test $result = 0; then
34210 ac_path_to_include=""
34211 else
34212 ac_path_to_include=" -I$ac_find_includes"
34213 fi
34214 fi
34215
34216 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34217 else
34218 save_CFLAGS=$CFLAGS
34219 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34220
34221 cat >conftest.$ac_ext <<_ACEOF
34222 /* confdefs.h. */
34223 _ACEOF
34224 cat confdefs.h >>conftest.$ac_ext
34225 cat >>conftest.$ac_ext <<_ACEOF
34226 /* end confdefs.h. */
34227
34228 #include <Xm/Xm.h>
34229
34230 int
34231 main ()
34232 {
34233
34234 int version;
34235 version = xmUseVersion;
34236
34237 ;
34238 return 0;
34239 }
34240 _ACEOF
34241 rm -f conftest.$ac_objext
34242 if { (ac_try="$ac_compile"
34243 case "(($ac_try" in
34244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34245 *) ac_try_echo=$ac_try;;
34246 esac
34247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34248 (eval "$ac_compile") 2>conftest.er1
34249 ac_status=$?
34250 grep -v '^ *+' conftest.er1 >conftest.err
34251 rm -f conftest.er1
34252 cat conftest.err >&5
34253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254 (exit $ac_status); } && {
34255 test -z "$ac_c_werror_flag" ||
34256 test ! -s conftest.err
34257 } && test -s conftest.$ac_objext; then
34258
34259 { echo "$as_me:$LINENO: result: found in default search path" >&5
34260 echo "${ECHO_T}found in default search path" >&6; }
34261 COMPILED_X_PROGRAM=1
34262
34263 else
34264 echo "$as_me: failed program was:" >&5
34265 sed 's/^/| /' conftest.$ac_ext >&5
34266
34267
34268 { echo "$as_me:$LINENO: result: no" >&5
34269 echo "${ECHO_T}no" >&6; }
34270 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34271 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34272 { (exit 1); exit 1; }; }
34273
34274
34275 fi
34276
34277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34278
34279 CFLAGS=$save_CFLAGS
34280 fi
34281
34282
34283 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34284 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34285
34286 ac_find_libraries=
34287 for ac_dir in $SEARCH_LIB;
34288 do
34289 for ac_extension in a so sl dylib dll.a; do
34290 if test -f "$ac_dir/libXm.$ac_extension"; then
34291 ac_find_libraries=$ac_dir
34292 break 2
34293 fi
34294 done
34295 done
34296
34297
34298 if test "x$ac_find_libraries" != "x" ; then
34299 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34300 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34301
34302
34303 if test "$ac_find_libraries" = "default location"; then
34304 ac_path_to_link=""
34305 else
34306 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34307 result=$?
34308 if test $result = 0; then
34309 ac_path_to_link=""
34310 else
34311 ac_path_to_link=" -L$ac_find_libraries"
34312 fi
34313 fi
34314
34315 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34316 else
34317 save_CFLAGS=$CFLAGS
34318 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34319 save_LIBS="$LIBS"
34320 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34321
34322 cat >conftest.$ac_ext <<_ACEOF
34323 /* confdefs.h. */
34324 _ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34328
34329 #include <Xm/Xm.h>
34330
34331 int
34332 main ()
34333 {
34334
34335 int version;
34336 version = xmUseVersion;
34337
34338 ;
34339 return 0;
34340 }
34341 _ACEOF
34342 rm -f conftest.$ac_objext conftest$ac_exeext
34343 if { (ac_try="$ac_link"
34344 case "(($ac_try" in
34345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34346 *) ac_try_echo=$ac_try;;
34347 esac
34348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34349 (eval "$ac_link") 2>conftest.er1
34350 ac_status=$?
34351 grep -v '^ *+' conftest.er1 >conftest.err
34352 rm -f conftest.er1
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } && {
34356 test -z "$ac_c_werror_flag" ||
34357 test ! -s conftest.err
34358 } && test -s conftest$ac_exeext &&
34359 $as_test_x conftest$ac_exeext; then
34360
34361 { echo "$as_me:$LINENO: result: found in default search path" >&5
34362 echo "${ECHO_T}found in default search path" >&6; }
34363 COMPILED_X_PROGRAM=1
34364
34365 else
34366 echo "$as_me: failed program was:" >&5
34367 sed 's/^/| /' conftest.$ac_ext >&5
34368
34369
34370 { echo "$as_me:$LINENO: result: no" >&5
34371 echo "${ECHO_T}no" >&6; }
34372 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34373 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34374 { (exit 1); exit 1; }; }
34375
34376
34377 fi
34378
34379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34380 conftest$ac_exeext conftest.$ac_ext
34381
34382 CFLAGS=$save_CFLAGS
34383 LIBS="$save_LIBS"
34384 fi
34385
34386 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34387 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34388 libp_link=""
34389 libsm_ice_link=""
34390 libs_found=0
34391 for libp in "" " -lXp"; do
34392 if test "$libs_found" = "0"; then
34393 for libsm_ice in "" " -lSM -lICE"; do
34394 if test "$libs_found" = "0"; then
34395 save_LIBS="$LIBS"
34396 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34397 save_CFLAGS=$CFLAGS
34398 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34399
34400 cat >conftest.$ac_ext <<_ACEOF
34401 /* confdefs.h. */
34402 _ACEOF
34403 cat confdefs.h >>conftest.$ac_ext
34404 cat >>conftest.$ac_ext <<_ACEOF
34405 /* end confdefs.h. */
34406
34407 #include <Xm/Xm.h>
34408 #include <Xm/List.h>
34409
34410 int
34411 main ()
34412 {
34413
34414 XmString string = NULL;
34415 Widget w = NULL;
34416 int position = 0;
34417 XmListAddItem(w, string, position);
34418
34419 ;
34420 return 0;
34421 }
34422 _ACEOF
34423 rm -f conftest.$ac_objext conftest$ac_exeext
34424 if { (ac_try="$ac_link"
34425 case "(($ac_try" in
34426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34427 *) ac_try_echo=$ac_try;;
34428 esac
34429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34430 (eval "$ac_link") 2>conftest.er1
34431 ac_status=$?
34432 grep -v '^ *+' conftest.er1 >conftest.err
34433 rm -f conftest.er1
34434 cat conftest.err >&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); } && {
34437 test -z "$ac_c_werror_flag" ||
34438 test ! -s conftest.err
34439 } && test -s conftest$ac_exeext &&
34440 $as_test_x conftest$ac_exeext; then
34441
34442 libp_link="$libp"
34443 libsm_ice_link="$libsm_ice"
34444 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34445 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34446 libs_found=1
34447
34448 else
34449 echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.$ac_ext >&5
34451
34452
34453
34454 fi
34455
34456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34457 conftest$ac_exeext conftest.$ac_ext
34458
34459 LIBS="$save_LIBS"
34460 CFLAGS=$save_CFLAGS
34461 fi
34462 done
34463 fi
34464 done
34465
34466 if test "$libs_found" = "0"; then
34467 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34468 echo "${ECHO_T}can't find the right libraries" >&6; }
34469 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34470 echo "$as_me: error: can't link a simple motif program" >&2;}
34471 { (exit 1); exit 1; }; }
34472 fi
34473
34474 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34475 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34476 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34477 echo $ECHO_N "(cached) $ECHO_C" >&6
34478 else
34479 ac_check_lib_save_LIBS=$LIBS
34480 LIBS="-lSgm $LIBS"
34481 cat >conftest.$ac_ext <<_ACEOF
34482 /* confdefs.h. */
34483 _ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34487
34488 /* Override any GCC internal prototype to avoid an error.
34489 Use char because int might match the return type of a GCC
34490 builtin and then its argument prototype would still apply. */
34491 #ifdef __cplusplus
34492 extern "C"
34493 #endif
34494 char SgCreateList ();
34495 int
34496 main ()
34497 {
34498 return SgCreateList ();
34499 ;
34500 return 0;
34501 }
34502 _ACEOF
34503 rm -f conftest.$ac_objext conftest$ac_exeext
34504 if { (ac_try="$ac_link"
34505 case "(($ac_try" in
34506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34507 *) ac_try_echo=$ac_try;;
34508 esac
34509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34510 (eval "$ac_link") 2>conftest.er1
34511 ac_status=$?
34512 grep -v '^ *+' conftest.er1 >conftest.err
34513 rm -f conftest.er1
34514 cat conftest.err >&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } && {
34517 test -z "$ac_c_werror_flag" ||
34518 test ! -s conftest.err
34519 } && test -s conftest$ac_exeext &&
34520 $as_test_x conftest$ac_exeext; then
34521 ac_cv_lib_Sgm_SgCreateList=yes
34522 else
34523 echo "$as_me: failed program was:" >&5
34524 sed 's/^/| /' conftest.$ac_ext >&5
34525
34526 ac_cv_lib_Sgm_SgCreateList=no
34527 fi
34528
34529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34530 conftest$ac_exeext conftest.$ac_ext
34531 LIBS=$ac_check_lib_save_LIBS
34532 fi
34533 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34534 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34535 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34536 libsgm_link=" -lSgm"
34537 fi
34538
34539
34540 save_CFLAGS=$CFLAGS
34541 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34542
34543 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34544 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34545 if test "${wx_cv_lib_motif2+set}" = set; then
34546 echo $ECHO_N "(cached) $ECHO_C" >&6
34547 else
34548 cat >conftest.$ac_ext <<_ACEOF
34549 /* confdefs.h. */
34550 _ACEOF
34551 cat confdefs.h >>conftest.$ac_ext
34552 cat >>conftest.$ac_ext <<_ACEOF
34553 /* end confdefs.h. */
34554
34555 #include <Xm/Xm.h>
34556
34557 int
34558 main ()
34559 {
34560
34561 #if XmVersion < 2000
34562 Not Motif 2
34563 #endif
34564
34565 ;
34566 return 0;
34567 }
34568 _ACEOF
34569 rm -f conftest.$ac_objext
34570 if { (ac_try="$ac_compile"
34571 case "(($ac_try" in
34572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34573 *) ac_try_echo=$ac_try;;
34574 esac
34575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34576 (eval "$ac_compile") 2>conftest.er1
34577 ac_status=$?
34578 grep -v '^ *+' conftest.er1 >conftest.err
34579 rm -f conftest.er1
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } && {
34583 test -z "$ac_c_werror_flag" ||
34584 test ! -s conftest.err
34585 } && test -s conftest.$ac_objext; then
34586 wx_cv_lib_motif2="yes"
34587 else
34588 echo "$as_me: failed program was:" >&5
34589 sed 's/^/| /' conftest.$ac_ext >&5
34590
34591 wx_cv_lib_motif2="no"
34592 fi
34593
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34595 fi
34596 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34597 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34598 if test "$wx_cv_lib_motif2" = "yes"; then
34599 cat >>confdefs.h <<\_ACEOF
34600 #define __WXMOTIF20__ 1
34601 _ACEOF
34602
34603 else
34604 cat >>confdefs.h <<\_ACEOF
34605 #define __WXMOTIF20__ 0
34606 _ACEOF
34607
34608 fi
34609
34610 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34611 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34612 if test "${wx_cv_lib_lesstif+set}" = set; then
34613 echo $ECHO_N "(cached) $ECHO_C" >&6
34614 else
34615 cat >conftest.$ac_ext <<_ACEOF
34616 /* confdefs.h. */
34617 _ACEOF
34618 cat confdefs.h >>conftest.$ac_ext
34619 cat >>conftest.$ac_ext <<_ACEOF
34620 /* end confdefs.h. */
34621
34622 #include <Xm/Xm.h>
34623
34624 int
34625 main ()
34626 {
34627
34628 #if !defined(LesstifVersion) || LesstifVersion <= 0
34629 Not Lesstif
34630 #endif
34631
34632 ;
34633 return 0;
34634 }
34635 _ACEOF
34636 rm -f conftest.$ac_objext
34637 if { (ac_try="$ac_compile"
34638 case "(($ac_try" in
34639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34640 *) ac_try_echo=$ac_try;;
34641 esac
34642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34643 (eval "$ac_compile") 2>conftest.er1
34644 ac_status=$?
34645 grep -v '^ *+' conftest.er1 >conftest.err
34646 rm -f conftest.er1
34647 cat conftest.err >&5
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); } && {
34650 test -z "$ac_c_werror_flag" ||
34651 test ! -s conftest.err
34652 } && test -s conftest.$ac_objext; then
34653 wx_cv_lib_lesstif="yes"
34654 else
34655 echo "$as_me: failed program was:" >&5
34656 sed 's/^/| /' conftest.$ac_ext >&5
34657
34658 wx_cv_lib_lesstif="no"
34659 fi
34660
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662
34663 fi
34664 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34665 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34666 if test "$wx_cv_lib_lesstif" = "yes"; then
34667 cat >>confdefs.h <<\_ACEOF
34668 #define __WXLESSTIF__ 1
34669 _ACEOF
34670
34671 else
34672 cat >>confdefs.h <<\_ACEOF
34673 #define __WXLESSTIF__ 0
34674 _ACEOF
34675
34676 fi
34677
34678 CFLAGS=$save_CFLAGS
34679
34680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34681 TOOLKIT=MOTIF
34682 GUIDIST=MOTIF_DIST
34683 fi
34684
34685 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34686 if test "$wxUSE_LIBXPM" = "sys"; then
34687 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34688 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34689
34690 ac_find_libraries=
34691 for ac_dir in $SEARCH_LIB;
34692 do
34693 for ac_extension in a so sl dylib dll.a; do
34694 if test -f "$ac_dir/libXpm.$ac_extension"; then
34695 ac_find_libraries=$ac_dir
34696 break 2
34697 fi
34698 done
34699 done
34700
34701 if test "$ac_find_libraries" != "" ; then
34702
34703 if test "$ac_find_libraries" = "default location"; then
34704 ac_path_to_link=""
34705 else
34706 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34707 result=$?
34708 if test $result = 0; then
34709 ac_path_to_link=""
34710 else
34711 ac_path_to_link=" -L$ac_find_libraries"
34712 fi
34713 fi
34714
34715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34716 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34717 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34718
34719 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34720 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34721 if test "${wx_cv_x11_xpm_h+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724
34725 save_CFLAGS=$CFLAGS
34726 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34727
34728 cat >conftest.$ac_ext <<_ACEOF
34729 /* confdefs.h. */
34730 _ACEOF
34731 cat confdefs.h >>conftest.$ac_ext
34732 cat >>conftest.$ac_ext <<_ACEOF
34733 /* end confdefs.h. */
34734
34735 #include <X11/xpm.h>
34736
34737 int
34738 main ()
34739 {
34740
34741 int version;
34742 version = XpmLibraryVersion();
34743
34744 ;
34745 return 0;
34746 }
34747 _ACEOF
34748 rm -f conftest.$ac_objext
34749 if { (ac_try="$ac_compile"
34750 case "(($ac_try" in
34751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34752 *) ac_try_echo=$ac_try;;
34753 esac
34754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34755 (eval "$ac_compile") 2>conftest.er1
34756 ac_status=$?
34757 grep -v '^ *+' conftest.er1 >conftest.err
34758 rm -f conftest.er1
34759 cat conftest.err >&5
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); } && {
34762 test -z "$ac_c_werror_flag" ||
34763 test ! -s conftest.err
34764 } && test -s conftest.$ac_objext; then
34765 wx_cv_x11_xpm_h=yes
34766 else
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.$ac_ext >&5
34769
34770 wx_cv_x11_xpm_h=no
34771
34772 fi
34773
34774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34775
34776 CFLAGS=$save_CFLAGS
34777
34778
34779 fi
34780 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34781 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34782
34783 if test $wx_cv_x11_xpm_h = "yes"; then
34784 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34785 cat >>confdefs.h <<\_ACEOF
34786 #define wxHAVE_LIB_XPM 1
34787 _ACEOF
34788
34789 else
34790 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34791 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34792 fi
34793 fi
34794
34795 fi
34796
34797 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34798 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34799 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34801 else
34802 ac_check_lib_save_LIBS=$LIBS
34803 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34804 cat >conftest.$ac_ext <<_ACEOF
34805 /* confdefs.h. */
34806 _ACEOF
34807 cat confdefs.h >>conftest.$ac_ext
34808 cat >>conftest.$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34810
34811 /* Override any GCC internal prototype to avoid an error.
34812 Use char because int might match the return type of a GCC
34813 builtin and then its argument prototype would still apply. */
34814 #ifdef __cplusplus
34815 extern "C"
34816 #endif
34817 char XShapeQueryExtension ();
34818 int
34819 main ()
34820 {
34821 return XShapeQueryExtension ();
34822 ;
34823 return 0;
34824 }
34825 _ACEOF
34826 rm -f conftest.$ac_objext conftest$ac_exeext
34827 if { (ac_try="$ac_link"
34828 case "(($ac_try" in
34829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34830 *) ac_try_echo=$ac_try;;
34831 esac
34832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34833 (eval "$ac_link") 2>conftest.er1
34834 ac_status=$?
34835 grep -v '^ *+' conftest.er1 >conftest.err
34836 rm -f conftest.er1
34837 cat conftest.err >&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); } && {
34840 test -z "$ac_c_werror_flag" ||
34841 test ! -s conftest.err
34842 } && test -s conftest$ac_exeext &&
34843 $as_test_x conftest$ac_exeext; then
34844 ac_cv_lib_Xext_XShapeQueryExtension=yes
34845 else
34846 echo "$as_me: failed program was:" >&5
34847 sed 's/^/| /' conftest.$ac_ext >&5
34848
34849 ac_cv_lib_Xext_XShapeQueryExtension=no
34850 fi
34851
34852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34853 conftest$ac_exeext conftest.$ac_ext
34854 LIBS=$ac_check_lib_save_LIBS
34855 fi
34856 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34857 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34858 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34859
34860 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34861 wxHAVE_XEXT_LIB=1
34862
34863 fi
34864
34865
34866 if test "$wxHAVE_XEXT_LIB" = 1; then
34867 save_CFLAGS="$CFLAGS"
34868 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34869
34870 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34871 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34872 cat >conftest.$ac_ext <<_ACEOF
34873 /* confdefs.h. */
34874 _ACEOF
34875 cat confdefs.h >>conftest.$ac_ext
34876 cat >>conftest.$ac_ext <<_ACEOF
34877 /* end confdefs.h. */
34878
34879 #include <X11/Xlib.h>
34880 #include <X11/extensions/shape.h>
34881
34882 int
34883 main ()
34884 {
34885
34886 int dummy1, dummy2;
34887 XShapeQueryExtension((Display*)NULL,
34888 (int*)NULL, (int*)NULL);
34889
34890 ;
34891 return 0;
34892 }
34893 _ACEOF
34894 rm -f conftest.$ac_objext
34895 if { (ac_try="$ac_compile"
34896 case "(($ac_try" in
34897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34898 *) ac_try_echo=$ac_try;;
34899 esac
34900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34901 (eval "$ac_compile") 2>conftest.er1
34902 ac_status=$?
34903 grep -v '^ *+' conftest.er1 >conftest.err
34904 rm -f conftest.er1
34905 cat conftest.err >&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } && {
34908 test -z "$ac_c_werror_flag" ||
34909 test ! -s conftest.err
34910 } && test -s conftest.$ac_objext; then
34911
34912 cat >>confdefs.h <<\_ACEOF
34913 #define HAVE_XSHAPE 1
34914 _ACEOF
34915
34916 { echo "$as_me:$LINENO: result: found" >&5
34917 echo "${ECHO_T}found" >&6; }
34918
34919 else
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.$ac_ext >&5
34922
34923
34924 { echo "$as_me:$LINENO: result: not found" >&5
34925 echo "${ECHO_T}not found" >&6; }
34926
34927 fi
34928
34929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34930 CFLAGS="$save_CFLAGS"
34931
34932 fi
34933 fi
34934
34935 if test "$wxUSE_MAC" = 1; then
34936 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34937 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34938 if test "$GCC" = yes; then
34939 { echo "$as_me:$LINENO: result: gcc" >&5
34940 echo "${ECHO_T}gcc" >&6; }
34941 CPPFLAGS_PASCAL="-fpascal-strings"
34942 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34943 { echo "$as_me:$LINENO: result: xlc" >&5
34944 echo "${ECHO_T}xlc" >&6; }
34945 CPPFLAGS_PASCAL="-qmacpstr"
34946 else
34947 { echo "$as_me:$LINENO: result: none" >&5
34948 echo "${ECHO_T}none" >&6; }
34949 fi
34950
34951 if test "x$wxUSE_UNIX" = "xyes"; then
34952 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34953 else
34954 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34955 fi
34956
34957 TOOLKIT=MAC
34958 GUIDIST=MACX_DIST
34959 WXBASEPORT="_carbon"
34960 fi
34961
34962 if test "$wxUSE_COCOA" = 1; then
34963 TOOLKIT=COCOA
34964 GUIDIST=COCOA_DIST
34965 fi
34966
34967 if test "$wxUSE_PM" = 1; then
34968 TOOLKIT=PM
34969 GUIDIST=PM_DIST
34970 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34971 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34972 if test "${wx_cv_spbcdata+set}" = set; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 else
34975
34976 cat >conftest.$ac_ext <<_ACEOF
34977 /* confdefs.h. */
34978 _ACEOF
34979 cat confdefs.h >>conftest.$ac_ext
34980 cat >>conftest.$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34982
34983 #define INCL_PM
34984 #include <os2.h>
34985
34986 int
34987 main ()
34988 {
34989
34990 SPBCDATA test;
34991
34992 ;
34993 return 0;
34994 }
34995 _ACEOF
34996 rm -f conftest.$ac_objext
34997 if { (ac_try="$ac_compile"
34998 case "(($ac_try" in
34999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35000 *) ac_try_echo=$ac_try;;
35001 esac
35002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35003 (eval "$ac_compile") 2>conftest.er1
35004 ac_status=$?
35005 grep -v '^ *+' conftest.er1 >conftest.err
35006 rm -f conftest.er1
35007 cat conftest.err >&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } && {
35010 test -z "$ac_c_werror_flag" ||
35011 test ! -s conftest.err
35012 } && test -s conftest.$ac_objext; then
35013 wx_cv_spbcdata=yes
35014 else
35015 echo "$as_me: failed program was:" >&5
35016 sed 's/^/| /' conftest.$ac_ext >&5
35017
35018 wx_cv_spbcdata=no
35019
35020 fi
35021
35022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35023
35024
35025 fi
35026 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35027 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35028
35029 if test $wx_cv_spbcdata = "yes"; then
35030 cat >>confdefs.h <<\_ACEOF
35031 #define HAVE_SPBCDATA 1
35032 _ACEOF
35033
35034 fi
35035 fi
35036
35037 if test "$TOOLKIT" = "PM" ; then
35038 TOOLKIT_DIR="os2"
35039 else
35040 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35041 fi
35042
35043 if test "$wxUSE_UNIVERSAL" = "yes"; then
35044 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35045 WIDGET_SET=univ
35046 fi
35047
35048 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35049 DISTDIR="wx\$(TOOLKIT)"
35050 else
35051 USE_GUI=0
35052
35053 TOOLKIT_DIR="base"
35054
35055 if test "$USE_WIN32" = 1 ; then
35056 TOOLKIT="MSW"
35057 fi
35058
35059 GUIDIST="BASE_DIST"
35060 DISTDIR="wxBase"
35061 fi
35062
35063
35064
35065 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35066 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35067 wxUSE_UNICODE_UTF8=yes
35068 elif test "$USE_OS2" = "1" ; then
35069 wxUSE_UNICODE_UTF8=yes
35070 else
35071 wxUSE_UNICODE_UTF8=no
35072 fi
35073 fi
35074
35075
35076 if test "$wxUSE_GUI" = "yes"; then
35077 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35078
35079 for ac_header in X11/Xlib.h
35080 do
35081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35082 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35087 cat >conftest.$ac_ext <<_ACEOF
35088 /* confdefs.h. */
35089 _ACEOF
35090 cat confdefs.h >>conftest.$ac_ext
35091 cat >>conftest.$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35093
35094
35095 #include <$ac_header>
35096 _ACEOF
35097 rm -f conftest.$ac_objext
35098 if { (ac_try="$ac_compile"
35099 case "(($ac_try" in
35100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35101 *) ac_try_echo=$ac_try;;
35102 esac
35103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35104 (eval "$ac_compile") 2>conftest.er1
35105 ac_status=$?
35106 grep -v '^ *+' conftest.er1 >conftest.err
35107 rm -f conftest.er1
35108 cat conftest.err >&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } && {
35111 test -z "$ac_c_werror_flag" ||
35112 test ! -s conftest.err
35113 } && test -s conftest.$ac_objext; then
35114 eval "$as_ac_Header=yes"
35115 else
35116 echo "$as_me: failed program was:" >&5
35117 sed 's/^/| /' conftest.$ac_ext >&5
35118
35119 eval "$as_ac_Header=no"
35120 fi
35121
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35123 fi
35124 ac_res=`eval echo '${'$as_ac_Header'}'`
35125 { echo "$as_me:$LINENO: result: $ac_res" >&5
35126 echo "${ECHO_T}$ac_res" >&6; }
35127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35128 cat >>confdefs.h <<_ACEOF
35129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35130 _ACEOF
35131
35132 fi
35133
35134 done
35135
35136
35137 for ac_header in X11/XKBlib.h
35138 do
35139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35143 echo $ECHO_N "(cached) $ECHO_C" >&6
35144 else
35145 cat >conftest.$ac_ext <<_ACEOF
35146 /* confdefs.h. */
35147 _ACEOF
35148 cat confdefs.h >>conftest.$ac_ext
35149 cat >>conftest.$ac_ext <<_ACEOF
35150 /* end confdefs.h. */
35151
35152 #if HAVE_X11_XLIB_H
35153 #include <X11/Xlib.h>
35154 #endif
35155
35156
35157 #include <$ac_header>
35158 _ACEOF
35159 rm -f conftest.$ac_objext
35160 if { (ac_try="$ac_compile"
35161 case "(($ac_try" in
35162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35163 *) ac_try_echo=$ac_try;;
35164 esac
35165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35166 (eval "$ac_compile") 2>conftest.er1
35167 ac_status=$?
35168 grep -v '^ *+' conftest.er1 >conftest.err
35169 rm -f conftest.er1
35170 cat conftest.err >&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } && {
35173 test -z "$ac_c_werror_flag" ||
35174 test ! -s conftest.err
35175 } && test -s conftest.$ac_objext; then
35176 eval "$as_ac_Header=yes"
35177 else
35178 echo "$as_me: failed program was:" >&5
35179 sed 's/^/| /' conftest.$ac_ext >&5
35180
35181 eval "$as_ac_Header=no"
35182 fi
35183
35184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35185 fi
35186 ac_res=`eval echo '${'$as_ac_Header'}'`
35187 { echo "$as_me:$LINENO: result: $ac_res" >&5
35188 echo "${ECHO_T}$ac_res" >&6; }
35189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35190 cat >>confdefs.h <<_ACEOF
35191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35192 _ACEOF
35193
35194 fi
35195
35196 done
35197
35198 fi
35199 fi
35200
35201
35202
35203 IODBC_C_SRC=""
35204
35205
35206 if test "$TOOLKIT" != "MSW" ; then
35207
35208 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35209
35210 { echo "$as_me:$LINENO: checking for sql.h" >&5
35211 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35212 if test "${ac_cv_header_sql_h+set}" = set; then
35213 echo $ECHO_N "(cached) $ECHO_C" >&6
35214 else
35215 cat >conftest.$ac_ext <<_ACEOF
35216 /* confdefs.h. */
35217 _ACEOF
35218 cat confdefs.h >>conftest.$ac_ext
35219 cat >>conftest.$ac_ext <<_ACEOF
35220 /* end confdefs.h. */
35221
35222
35223 #include <sql.h>
35224 _ACEOF
35225 rm -f conftest.$ac_objext
35226 if { (ac_try="$ac_compile"
35227 case "(($ac_try" in
35228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35229 *) ac_try_echo=$ac_try;;
35230 esac
35231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35232 (eval "$ac_compile") 2>conftest.er1
35233 ac_status=$?
35234 grep -v '^ *+' conftest.er1 >conftest.err
35235 rm -f conftest.er1
35236 cat conftest.err >&5
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); } && {
35239 test -z "$ac_c_werror_flag" ||
35240 test ! -s conftest.err
35241 } && test -s conftest.$ac_objext; then
35242 ac_cv_header_sql_h=yes
35243 else
35244 echo "$as_me: failed program was:" >&5
35245 sed 's/^/| /' conftest.$ac_ext >&5
35246
35247 ac_cv_header_sql_h=no
35248 fi
35249
35250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35251 fi
35252 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35253 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35254 if test $ac_cv_header_sql_h = yes; then
35255 found_sql_h=1
35256 fi
35257
35258
35259 if test "x$found_sql_h" = "x1" ; then
35260 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35261 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35262 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35263 echo $ECHO_N "(cached) $ECHO_C" >&6
35264 else
35265 ac_check_lib_save_LIBS=$LIBS
35266 LIBS="-liodbc $LIBS"
35267 cat >conftest.$ac_ext <<_ACEOF
35268 /* confdefs.h. */
35269 _ACEOF
35270 cat confdefs.h >>conftest.$ac_ext
35271 cat >>conftest.$ac_ext <<_ACEOF
35272 /* end confdefs.h. */
35273
35274 /* Override any GCC internal prototype to avoid an error.
35275 Use char because int might match the return type of a GCC
35276 builtin and then its argument prototype would still apply. */
35277 #ifdef __cplusplus
35278 extern "C"
35279 #endif
35280 char SQLAllocEnv ();
35281 int
35282 main ()
35283 {
35284 return SQLAllocEnv ();
35285 ;
35286 return 0;
35287 }
35288 _ACEOF
35289 rm -f conftest.$ac_objext conftest$ac_exeext
35290 if { (ac_try="$ac_link"
35291 case "(($ac_try" in
35292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35293 *) ac_try_echo=$ac_try;;
35294 esac
35295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35296 (eval "$ac_link") 2>conftest.er1
35297 ac_status=$?
35298 grep -v '^ *+' conftest.er1 >conftest.err
35299 rm -f conftest.er1
35300 cat conftest.err >&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); } && {
35303 test -z "$ac_c_werror_flag" ||
35304 test ! -s conftest.err
35305 } && test -s conftest$ac_exeext &&
35306 $as_test_x conftest$ac_exeext; then
35307 ac_cv_lib_iodbc_SQLAllocEnv=yes
35308 else
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35311
35312 ac_cv_lib_iodbc_SQLAllocEnv=no
35313 fi
35314
35315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35316 conftest$ac_exeext conftest.$ac_ext
35317 LIBS=$ac_check_lib_save_LIBS
35318 fi
35319 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35320 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35321 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35322 ODBC_LINK=" -liodbc"
35323 else
35324
35325 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35326 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35327 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35328 echo $ECHO_N "(cached) $ECHO_C" >&6
35329 else
35330 ac_check_lib_save_LIBS=$LIBS
35331 LIBS="-lunixodbc $LIBS"
35332 cat >conftest.$ac_ext <<_ACEOF
35333 /* confdefs.h. */
35334 _ACEOF
35335 cat confdefs.h >>conftest.$ac_ext
35336 cat >>conftest.$ac_ext <<_ACEOF
35337 /* end confdefs.h. */
35338
35339 /* Override any GCC internal prototype to avoid an error.
35340 Use char because int might match the return type of a GCC
35341 builtin and then its argument prototype would still apply. */
35342 #ifdef __cplusplus
35343 extern "C"
35344 #endif
35345 char SQLAllocEnv ();
35346 int
35347 main ()
35348 {
35349 return SQLAllocEnv ();
35350 ;
35351 return 0;
35352 }
35353 _ACEOF
35354 rm -f conftest.$ac_objext conftest$ac_exeext
35355 if { (ac_try="$ac_link"
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_link") 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); } && {
35368 test -z "$ac_c_werror_flag" ||
35369 test ! -s conftest.err
35370 } && test -s conftest$ac_exeext &&
35371 $as_test_x conftest$ac_exeext; then
35372 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35373 else
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.$ac_ext >&5
35376
35377 ac_cv_lib_unixodbc_SQLAllocEnv=no
35378 fi
35379
35380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35381 conftest$ac_exeext conftest.$ac_ext
35382 LIBS=$ac_check_lib_save_LIBS
35383 fi
35384 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35385 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35386 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35387 ODBC_LINK=" -lunixodbc"
35388 else
35389
35390 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35391 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35392 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35394 else
35395 ac_check_lib_save_LIBS=$LIBS
35396 LIBS="-lodbc $LIBS"
35397 cat >conftest.$ac_ext <<_ACEOF
35398 /* confdefs.h. */
35399 _ACEOF
35400 cat confdefs.h >>conftest.$ac_ext
35401 cat >>conftest.$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35403
35404 /* Override any GCC internal prototype to avoid an error.
35405 Use char because int might match the return type of a GCC
35406 builtin and then its argument prototype would still apply. */
35407 #ifdef __cplusplus
35408 extern "C"
35409 #endif
35410 char SQLAllocEnv ();
35411 int
35412 main ()
35413 {
35414 return SQLAllocEnv ();
35415 ;
35416 return 0;
35417 }
35418 _ACEOF
35419 rm -f conftest.$ac_objext conftest$ac_exeext
35420 if { (ac_try="$ac_link"
35421 case "(($ac_try" in
35422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35423 *) ac_try_echo=$ac_try;;
35424 esac
35425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35426 (eval "$ac_link") 2>conftest.er1
35427 ac_status=$?
35428 grep -v '^ *+' conftest.er1 >conftest.err
35429 rm -f conftest.er1
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } && {
35433 test -z "$ac_c_werror_flag" ||
35434 test ! -s conftest.err
35435 } && test -s conftest$ac_exeext &&
35436 $as_test_x conftest$ac_exeext; then
35437 ac_cv_lib_odbc_SQLAllocEnv=yes
35438 else
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35441
35442 ac_cv_lib_odbc_SQLAllocEnv=no
35443 fi
35444
35445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35446 conftest$ac_exeext conftest.$ac_ext
35447 LIBS=$ac_check_lib_save_LIBS
35448 fi
35449 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35450 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35451 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35452 ODBC_LINK=" -lodbc"
35453 fi
35454
35455
35456 fi
35457
35458
35459 fi
35460
35461 fi
35462 if test "x$ODBC_LINK" = "x" ; then
35463 if test "$wxUSE_ODBC" = "sys" ; then
35464 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35465 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35466 { (exit 1); exit 1; }; }
35467 else
35468 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35469 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35470 wxUSE_ODBC=builtin
35471 fi
35472 else
35473 wxUSE_ODBC=sys
35474 fi
35475 fi
35476
35477 if test "$wxUSE_ODBC" = "builtin" ; then
35478 cat >>confdefs.h <<\_ACEOF
35479 #define wxUSE_BUILTIN_IODBC 1
35480 _ACEOF
35481
35482 fi
35483 fi
35484
35485 if test "$wxUSE_ODBC" != "no" ; then
35486 cat >>confdefs.h <<\_ACEOF
35487 #define wxUSE_ODBC 1
35488 _ACEOF
35489
35490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35491
35492 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35493 fi
35494
35495
35496 if test "$wxUSE_DISPLAY" = "yes"; then
35497 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35498 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35499 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35500
35501 ac_find_libraries=
35502 for ac_dir in $SEARCH_LIB;
35503 do
35504 for ac_extension in a so sl dylib dll.a; do
35505 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35506 ac_find_libraries=$ac_dir
35507 break 2
35508 fi
35509 done
35510 done
35511
35512 if test "$ac_find_libraries" != "" ; then
35513
35514 if test "$ac_find_libraries" = "default location"; then
35515 ac_path_to_link=""
35516 else
35517 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35518 result=$?
35519 if test $result = 0; then
35520 ac_path_to_link=""
35521 else
35522 ac_path_to_link=" -L$ac_find_libraries"
35523 fi
35524 fi
35525
35526 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35527 LDFLAGS="$LDFLAGS $ac_path_to_link"
35528 fi
35529 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35530 { echo "$as_me:$LINENO: result: yes" >&5
35531 echo "${ECHO_T}yes" >&6; }
35532
35533 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35534 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35535
35536 ac_find_libraries=
35537 for ac_dir in $SEARCH_LIB;
35538 do
35539 for ac_extension in a so sl dylib dll.a; do
35540 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35541 ac_find_libraries=$ac_dir
35542 break 2
35543 fi
35544 done
35545 done
35546
35547 if test "$ac_find_libraries" != "" ; then
35548 { echo "$as_me:$LINENO: result: yes" >&5
35549 echo "${ECHO_T}yes" >&6; }
35550
35551 for ac_header in X11/extensions/xf86vmode.h
35552 do
35553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35557 echo $ECHO_N "(cached) $ECHO_C" >&6
35558 else
35559 cat >conftest.$ac_ext <<_ACEOF
35560 /* confdefs.h. */
35561 _ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35565
35566 #if HAVE_X11_XLIB_H
35567 #include <X11/Xlib.h>
35568 #endif
35569
35570
35571 #include <$ac_header>
35572 _ACEOF
35573 rm -f conftest.$ac_objext
35574 if { (ac_try="$ac_compile"
35575 case "(($ac_try" in
35576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35577 *) ac_try_echo=$ac_try;;
35578 esac
35579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35580 (eval "$ac_compile") 2>conftest.er1
35581 ac_status=$?
35582 grep -v '^ *+' conftest.er1 >conftest.err
35583 rm -f conftest.er1
35584 cat conftest.err >&5
35585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586 (exit $ac_status); } && {
35587 test -z "$ac_c_werror_flag" ||
35588 test ! -s conftest.err
35589 } && test -s conftest.$ac_objext; then
35590 eval "$as_ac_Header=yes"
35591 else
35592 echo "$as_me: failed program was:" >&5
35593 sed 's/^/| /' conftest.$ac_ext >&5
35594
35595 eval "$as_ac_Header=no"
35596 fi
35597
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35599 fi
35600 ac_res=`eval echo '${'$as_ac_Header'}'`
35601 { echo "$as_me:$LINENO: result: $ac_res" >&5
35602 echo "${ECHO_T}$ac_res" >&6; }
35603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35604 cat >>confdefs.h <<_ACEOF
35605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35606 _ACEOF
35607
35608 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35609
35610 fi
35611
35612 done
35613
35614 else
35615 { echo "$as_me:$LINENO: result: no" >&5
35616 echo "${ECHO_T}no" >&6; }
35617 fi
35618
35619 else
35620 { echo "$as_me:$LINENO: result: no" >&5
35621 echo "${ECHO_T}no" >&6; }
35622 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35623 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35624 wxUSE_DISPLAY="no"
35625 fi
35626 elif test "$wxUSE_MSW" = 1; then
35627 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35628 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35629 if test "${ac_cv_header_ddraw_h+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35631 else
35632 cat >conftest.$ac_ext <<_ACEOF
35633 /* confdefs.h. */
35634 _ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 #include <windows.h>
35639
35640 #include <ddraw.h>
35641 _ACEOF
35642 rm -f conftest.$ac_objext
35643 if { (ac_try="$ac_compile"
35644 case "(($ac_try" in
35645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35646 *) ac_try_echo=$ac_try;;
35647 esac
35648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35649 (eval "$ac_compile") 2>conftest.er1
35650 ac_status=$?
35651 grep -v '^ *+' conftest.er1 >conftest.err
35652 rm -f conftest.er1
35653 cat conftest.err >&5
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); } && {
35656 test -z "$ac_c_werror_flag" ||
35657 test ! -s conftest.err
35658 } && test -s conftest.$ac_objext; then
35659 ac_cv_header_ddraw_h=yes
35660 else
35661 echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.$ac_ext >&5
35663
35664 ac_cv_header_ddraw_h=no
35665 fi
35666
35667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35668 fi
35669 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35670 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35671
35672
35673 fi
35674 fi
35675
35676 if test "$wxUSE_DETECT_SM" = "yes"; then
35677 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35678 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35679 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35680
35681 ac_find_libraries=
35682 for ac_dir in $SEARCH_LIB;
35683 do
35684 for ac_extension in a so sl dylib dll.a; do
35685 if test -f "$ac_dir/libSM.$ac_extension"; then
35686 ac_find_libraries=$ac_dir
35687 break 2
35688 fi
35689 done
35690 done
35691
35692 if test "$ac_find_libraries" != "" ; then
35693
35694 if test "$ac_find_libraries" = "default location"; then
35695 ac_path_to_link=""
35696 else
35697 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35698 result=$?
35699 if test $result = 0; then
35700 ac_path_to_link=""
35701 else
35702 ac_path_to_link=" -L$ac_find_libraries"
35703 fi
35704 fi
35705
35706 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35707 LDFLAGS="$LDFLAGS $ac_path_to_link"
35708 fi
35709 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35710 { echo "$as_me:$LINENO: result: yes" >&5
35711 echo "${ECHO_T}yes" >&6; }
35712 else
35713 { echo "$as_me:$LINENO: result: no" >&5
35714 echo "${ECHO_T}no" >&6; }
35715 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35716 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35717 wxUSE_DETECT_SM="no"
35718 fi
35719 else
35720 wxUSE_DETECT_SM="no"
35721 fi
35722 fi
35723
35724
35725
35726 USE_OPENGL=0
35727 if test "$wxUSE_OPENGL" = "yes"; then
35728 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35729 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35730 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35731 wxUSE_OPENGL="no"
35732 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35733 OPENGL_LIBS="-framework OpenGL -framework AGL"
35734 elif test "$wxUSE_MSW" = 1; then
35735 OPENGL_LIBS="-lopengl32 -lglu32"
35736 else
35737 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35738 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35739
35740 ac_find_includes=
35741 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35742 do
35743 if test -f "$ac_dir/GL/gl.h"; then
35744 ac_find_includes=$ac_dir
35745 break
35746 fi
35747 done
35748
35749 if test "$ac_find_includes" != "" ; then
35750 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35751 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35752
35753 if test "x$ac_find_includes" = "x/usr/include"; then
35754 ac_path_to_include=""
35755 else
35756 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35757 result=$?
35758 if test $result = 0; then
35759 ac_path_to_include=""
35760 else
35761 ac_path_to_include=" -I$ac_find_includes"
35762 fi
35763 fi
35764
35765 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35766 else
35767 { echo "$as_me:$LINENO: result: not found" >&5
35768 echo "${ECHO_T}not found" >&6; }
35769 fi
35770
35771 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35772 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35773 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35774 echo $ECHO_N "(cached) $ECHO_C" >&6
35775 else
35776 cat >conftest.$ac_ext <<_ACEOF
35777 /* confdefs.h. */
35778 _ACEOF
35779 cat confdefs.h >>conftest.$ac_ext
35780 cat >>conftest.$ac_ext <<_ACEOF
35781 /* end confdefs.h. */
35782
35783
35784 #include <GL/gl.h>
35785 _ACEOF
35786 rm -f conftest.$ac_objext
35787 if { (ac_try="$ac_compile"
35788 case "(($ac_try" in
35789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35790 *) ac_try_echo=$ac_try;;
35791 esac
35792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35793 (eval "$ac_compile") 2>conftest.er1
35794 ac_status=$?
35795 grep -v '^ *+' conftest.er1 >conftest.err
35796 rm -f conftest.er1
35797 cat conftest.err >&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && {
35800 test -z "$ac_c_werror_flag" ||
35801 test ! -s conftest.err
35802 } && test -s conftest.$ac_objext; then
35803 ac_cv_header_GL_gl_h=yes
35804 else
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35807
35808 ac_cv_header_GL_gl_h=no
35809 fi
35810
35811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35812 fi
35813 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35814 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35815 if test $ac_cv_header_GL_gl_h = yes; then
35816
35817 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35818 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35819 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35820 echo $ECHO_N "(cached) $ECHO_C" >&6
35821 else
35822 cat >conftest.$ac_ext <<_ACEOF
35823 /* confdefs.h. */
35824 _ACEOF
35825 cat confdefs.h >>conftest.$ac_ext
35826 cat >>conftest.$ac_ext <<_ACEOF
35827 /* end confdefs.h. */
35828
35829
35830 #include <GL/glu.h>
35831 _ACEOF
35832 rm -f conftest.$ac_objext
35833 if { (ac_try="$ac_compile"
35834 case "(($ac_try" in
35835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35836 *) ac_try_echo=$ac_try;;
35837 esac
35838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35839 (eval "$ac_compile") 2>conftest.er1
35840 ac_status=$?
35841 grep -v '^ *+' conftest.er1 >conftest.err
35842 rm -f conftest.er1
35843 cat conftest.err >&5
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); } && {
35846 test -z "$ac_c_werror_flag" ||
35847 test ! -s conftest.err
35848 } && test -s conftest.$ac_objext; then
35849 ac_cv_header_GL_glu_h=yes
35850 else
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35853
35854 ac_cv_header_GL_glu_h=no
35855 fi
35856
35857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35858 fi
35859 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35860 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35861 if test $ac_cv_header_GL_glu_h = yes; then
35862
35863 found_gl=0
35864
35865 { echo "$as_me:$LINENO: checking for -lGL" >&5
35866 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35867
35868 ac_find_libraries=
35869 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35870 do
35871 for ac_extension in a so sl dylib dll.a; do
35872 if test -f "$ac_dir/libGL.$ac_extension"; then
35873 ac_find_libraries=$ac_dir
35874 break 2
35875 fi
35876 done
35877 done
35878
35879 if test "$ac_find_libraries" != "" ; then
35880 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35881 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35882
35883
35884 if test "$ac_find_libraries" = "default location"; then
35885 ac_path_to_link=""
35886 else
35887 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35888 result=$?
35889 if test $result = 0; then
35890 ac_path_to_link=""
35891 else
35892 ac_path_to_link=" -L$ac_find_libraries"
35893 fi
35894 fi
35895
35896 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35897 LDFLAGS_GL="$ac_path_to_link"
35898 fi
35899
35900 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35901 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35902
35903 ac_find_libraries=
35904 for ac_dir in $SEARCH_LIB;
35905 do
35906 for ac_extension in a so sl dylib dll.a; do
35907 if test -f "$ac_dir/libGLU.$ac_extension"; then
35908 ac_find_libraries=$ac_dir
35909 break 2
35910 fi
35911 done
35912 done
35913
35914 if test "$ac_find_libraries" != "" ; then
35915
35916 if test "$ac_find_libraries" = "default location"; then
35917 ac_path_to_link=""
35918 else
35919 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35920 result=$?
35921 if test $result = 0; then
35922 ac_path_to_link=""
35923 else
35924 ac_path_to_link=" -L$ac_find_libraries"
35925 fi
35926 fi
35927
35928 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35929 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35930 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35931 fi
35932
35933 found_gl=1
35934 OPENGL_LIBS="-lGL -lGLU"
35935 { echo "$as_me:$LINENO: result: yes" >&5
35936 echo "${ECHO_T}yes" >&6; }
35937 else
35938 { echo "$as_me:$LINENO: result: no" >&5
35939 echo "${ECHO_T}no" >&6; }
35940 fi
35941 else
35942 { echo "$as_me:$LINENO: result: no" >&5
35943 echo "${ECHO_T}no" >&6; }
35944 fi
35945
35946 if test "$found_gl" != 1; then
35947 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35948 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35949
35950 ac_find_libraries=
35951 for ac_dir in $SEARCH_LIB;
35952 do
35953 for ac_extension in a so sl dylib dll.a; do
35954 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35955 ac_find_libraries=$ac_dir
35956 break 2
35957 fi
35958 done
35959 done
35960
35961 if test "$ac_find_libraries" != "" ; then
35962
35963 if test "$ac_find_libraries" = "default location"; then
35964 ac_path_to_link=""
35965 else
35966 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35967 result=$?
35968 if test $result = 0; then
35969 ac_path_to_link=""
35970 else
35971 ac_path_to_link=" -L$ac_find_libraries"
35972 fi
35973 fi
35974
35975 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35976 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35977 { echo "$as_me:$LINENO: result: yes" >&5
35978 echo "${ECHO_T}yes" >&6; }
35979 else
35980 { echo "$as_me:$LINENO: result: no" >&5
35981 echo "${ECHO_T}no" >&6; }
35982 fi
35983 fi
35984
35985 fi
35986
35987
35988
35989 fi
35990
35991
35992
35993 if test "x$OPENGL_LIBS" = "x"; then
35994 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35995 echo "$as_me: error: OpenGL libraries not available" >&2;}
35996 { (exit 1); exit 1; }; }
35997 fi
35998 fi
35999
36000 if test "$wxUSE_OPENGL" = "yes"; then
36001 USE_OPENGL=1
36002 cat >>confdefs.h <<\_ACEOF
36003 #define wxUSE_OPENGL 1
36004 _ACEOF
36005
36006 cat >>confdefs.h <<\_ACEOF
36007 #define wxUSE_GLCANVAS 1
36008 _ACEOF
36009
36010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36011 fi
36012 fi
36013
36014
36015 if test -n "$TOOLKIT" ; then
36016 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36017 fi
36018
36019
36020
36021 if test "$wxUSE_SHARED" = "yes"; then
36022 case "${host}" in
36023 *-pc-msdosdjgpp )
36024 wxUSE_SHARED=no
36025 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36026 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36027 ;;
36028 esac
36029 fi
36030
36031 if test "$wxUSE_SHARED" = "yes"; then
36032
36033
36034 case "${host}" in
36035 *-*-cygwin* | *-*-mingw* )
36036 wx_cv_version_script=no
36037 ;;
36038
36039 *)
36040 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36041 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36042 if test "${wx_cv_version_script+set}" = set; then
36043 echo $ECHO_N "(cached) $ECHO_C" >&6
36044 else
36045
36046 echo "VER_1 { *; };" >conftest.sym
36047 echo "int main() { return 0; }" >conftest.cpp
36048
36049 if { ac_try='
36050 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36051 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36054 ac_status=$?
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; } ; then
36057 if test -s conftest.stderr ; then
36058 wx_cv_version_script=no
36059 else
36060 wx_cv_version_script=yes
36061 fi
36062 else
36063 wx_cv_version_script=no
36064 fi
36065
36066 if test $wx_cv_version_script = yes
36067 then
36068 echo "struct B { virtual ~B() { } }; \
36069 struct D : public B { }; \
36070 void F() { D d; }" > conftest.cpp
36071
36072 if { ac_try='
36073 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36074 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36076 (eval $ac_try) 2>&5
36077 ac_status=$?
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); }; } &&
36080 { ac_try='
36081 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36082 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36084 (eval $ac_try) 2>&5
36085 ac_status=$?
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); }; }
36088 then
36089 if { ac_try='
36090 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36091 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36094 ac_status=$?
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }
36097 then
36098 wx_cv_version_script=yes
36099 else
36100 wx_cv_version_script=no
36101 fi
36102 fi
36103 fi
36104
36105 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36106 rm -f conftest1.output conftest2.output conftest3.output
36107
36108 fi
36109 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36110 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36111
36112 if test $wx_cv_version_script = yes ; then
36113 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36114 fi
36115 ;;
36116 esac
36117
36118
36119 if test "$wxUSE_VISIBILITY" != "no"; then
36120
36121
36122 if test -n "$GCC"; then
36123 CFLAGS_VISIBILITY="-fvisibility=hidden"
36124 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36125 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36126 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36127 if test "${wx_cv_cc_visibility+set}" = set; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 else
36130
36131 wx_save_CXXFLAGS="$CXXFLAGS"
36132 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36133 ac_ext=cpp
36134 ac_cpp='$CXXCPP $CPPFLAGS'
36135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36138
36139 cat >conftest.$ac_ext <<_ACEOF
36140 /* confdefs.h. */
36141 _ACEOF
36142 cat confdefs.h >>conftest.$ac_ext
36143 cat >>conftest.$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36145
36146 /* we need gcc >= 4.0, older versions with visibility support
36147 didn't have class visibility: */
36148 #if defined(__GNUC__) && __GNUC__ < 4
36149 error this gcc is too old;
36150 #endif
36151
36152 /* visibility only makes sense for ELF shared libs: */
36153 #if !defined(__ELF__) && !defined(__APPLE__)
36154 error this platform has no visibility;
36155 #endif
36156
36157 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36158 extern __attribute__((__visibility__("default"))) int exportedvar;
36159 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36160 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36161 class __attribute__((__visibility__("default"))) Foo {
36162 Foo() {}
36163 };
36164
36165 int
36166 main ()
36167 {
36168
36169 ;
36170 return 0;
36171 }
36172 _ACEOF
36173 rm -f conftest.$ac_objext
36174 if { (ac_try="$ac_compile"
36175 case "(($ac_try" in
36176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36177 *) ac_try_echo=$ac_try;;
36178 esac
36179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36180 (eval "$ac_compile") 2>conftest.er1
36181 ac_status=$?
36182 grep -v '^ *+' conftest.er1 >conftest.err
36183 rm -f conftest.er1
36184 cat conftest.err >&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } && {
36187 test -z "$ac_cxx_werror_flag" ||
36188 test ! -s conftest.err
36189 } && test -s conftest.$ac_objext; then
36190 wx_cv_cc_visibility=yes
36191 else
36192 echo "$as_me: failed program was:" >&5
36193 sed 's/^/| /' conftest.$ac_ext >&5
36194
36195 wx_cv_cc_visibility=no
36196 fi
36197
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36199 ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36204
36205 CXXFLAGS="$wx_save_CXXFLAGS"
36206 fi
36207
36208 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36209 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36210 if test $wx_cv_cc_visibility = yes; then
36211 cat >>confdefs.h <<\_ACEOF
36212 #define HAVE_VISIBILITY 1
36213 _ACEOF
36214
36215
36216 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36217 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36218 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36219 echo $ECHO_N "(cached) $ECHO_C" >&6
36220 else
36221
36222 wx_save_CXXFLAGS="$CXXFLAGS"
36223 wx_save_LDFLAGS="$LDFLAGS"
36224 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36225 LDFLAGS="$LDFLAGS -shared -fPIC"
36226 ac_ext=cpp
36227 ac_cpp='$CXXCPP $CPPFLAGS'
36228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36231
36232 cat >conftest.$ac_ext <<_ACEOF
36233 /* confdefs.h. */
36234 _ACEOF
36235 cat confdefs.h >>conftest.$ac_ext
36236 cat >>conftest.$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36238
36239 #include <string>
36240
36241 int
36242 main ()
36243 {
36244
36245 std::string s("hello");
36246 return s.length();
36247
36248 ;
36249 return 0;
36250 }
36251 _ACEOF
36252 rm -f conftest.$ac_objext conftest$ac_exeext
36253 if { (ac_try="$ac_link"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36256 *) ac_try_echo=$ac_try;;
36257 esac
36258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_link") 2>conftest.er1
36260 ac_status=$?
36261 grep -v '^ *+' conftest.er1 >conftest.err
36262 rm -f conftest.er1
36263 cat conftest.err >&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_cxx_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest$ac_exeext &&
36269 $as_test_x conftest$ac_exeext; then
36270 wx_cv_cc_broken_libstdcxx_visibility=no
36271 else
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36274
36275 wx_cv_cc_broken_libstdcxx_visibility=yes
36276 fi
36277
36278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36279 conftest$ac_exeext conftest.$ac_ext
36280 ac_ext=c
36281 ac_cpp='$CPP $CPPFLAGS'
36282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36285
36286 CXXFLAGS="$wx_save_CXXFLAGS"
36287 LDFLAGS="$wx_save_LDFLAGS"
36288 fi
36289
36290 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36291 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36292 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36293 cat >>confdefs.h <<\_ACEOF
36294 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36295 _ACEOF
36296
36297 fi
36298
36299 else
36300 CFLAGS_VISIBILITY=""
36301 CXXFLAGS_VISIBILITY=""
36302 fi
36303
36304
36305 fi
36306
36307 fi
36308
36309 if test "x$SUNCXX" = xyes; then
36310 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36311 WXCONFIG_RPATH="-R\$libdir"
36312 else
36313 case "${host}" in
36314 *-*-linux* | *-*-gnu* )
36315 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36316 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36317 ;;
36318
36319 *-*-solaris2* )
36320
36321 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36322
36323 saveLdflags="$LDFLAGS"
36324 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36325 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36326 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36327 cat >conftest.$ac_ext <<_ACEOF
36328 /* confdefs.h. */
36329 _ACEOF
36330 cat confdefs.h >>conftest.$ac_ext
36331 cat >>conftest.$ac_ext <<_ACEOF
36332 /* end confdefs.h. */
36333
36334 int
36335 main ()
36336 {
36337
36338 ;
36339 return 0;
36340 }
36341 _ACEOF
36342 rm -f conftest.$ac_objext conftest$ac_exeext
36343 if { (ac_try="$ac_link"
36344 case "(($ac_try" in
36345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36346 *) ac_try_echo=$ac_try;;
36347 esac
36348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36349 (eval "$ac_link") 2>conftest.er1
36350 ac_status=$?
36351 grep -v '^ *+' conftest.er1 >conftest.err
36352 rm -f conftest.er1
36353 cat conftest.err >&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); } && {
36356 test -z "$ac_c_werror_flag" ||
36357 test ! -s conftest.err
36358 } && test -s conftest$ac_exeext &&
36359 $as_test_x conftest$ac_exeext; then
36360
36361 { echo "$as_me:$LINENO: result: yes" >&5
36362 echo "${ECHO_T}yes" >&6; }
36363 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36364 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36365
36366 else
36367 echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.$ac_ext >&5
36369
36370
36371 { echo "$as_me:$LINENO: result: no" >&5
36372 echo "${ECHO_T}no" >&6; }
36373 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36374 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36375 LDFLAGS="$saveLdflags -Wl,-R,/"
36376 cat >conftest.$ac_ext <<_ACEOF
36377 /* confdefs.h. */
36378 _ACEOF
36379 cat confdefs.h >>conftest.$ac_ext
36380 cat >>conftest.$ac_ext <<_ACEOF
36381 /* end confdefs.h. */
36382
36383 int
36384 main ()
36385 {
36386
36387 ;
36388 return 0;
36389 }
36390 _ACEOF
36391 rm -f conftest.$ac_objext conftest$ac_exeext
36392 if { (ac_try="$ac_link"
36393 case "(($ac_try" in
36394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36395 *) ac_try_echo=$ac_try;;
36396 esac
36397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36398 (eval "$ac_link") 2>conftest.er1
36399 ac_status=$?
36400 grep -v '^ *+' conftest.er1 >conftest.err
36401 rm -f conftest.er1
36402 cat conftest.err >&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); } && {
36405 test -z "$ac_c_werror_flag" ||
36406 test ! -s conftest.err
36407 } && test -s conftest$ac_exeext &&
36408 $as_test_x conftest$ac_exeext; then
36409
36410 { echo "$as_me:$LINENO: result: yes" >&5
36411 echo "${ECHO_T}yes" >&6; }
36412 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36413 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36414
36415 else
36416 echo "$as_me: failed program was:" >&5
36417 sed 's/^/| /' conftest.$ac_ext >&5
36418
36419
36420 { echo "$as_me:$LINENO: result: no" >&5
36421 echo "${ECHO_T}no" >&6; }
36422
36423 fi
36424
36425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36426 conftest$ac_exeext conftest.$ac_ext
36427
36428 fi
36429
36430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36431 conftest$ac_exeext conftest.$ac_ext
36432 LDFLAGS="$saveLdflags"
36433 ;;
36434
36435 *-*-darwin* )
36436 install_name_tool=`which install_name_tool`
36437 if test "$install_name_tool" -a -x "$install_name_tool"; then
36438 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36439 cat <<EOF >change-install-names
36440 #!/bin/sh
36441 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36442 inst_cmd="install_name_tool "
36443 for i in \${libnames} ; do
36444 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36445 done
36446 \${inst_cmd} \${3}
36447 EOF
36448 chmod +x change-install-names
36449 fi
36450 ;;
36451
36452 *-*-cygwin* | *-*-mingw32* )
36453 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36454 ;;
36455
36456 *-*-hpux* )
36457 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36458 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36459 ;;
36460
36461 esac
36462 fi
36463
36464 if test $wxUSE_RPATH = "no"; then
36465 SAMPLES_RPATH_FLAG=''
36466 SAMPLES_RPATH_POSTLINK=''
36467 WXCONFIG_RPATH=''
36468 fi
36469
36470 SHARED=1
36471
36472 else
36473
36474 config_linkage_component="-static"
36475 SHARED=0
36476
36477 fi
36478
36479
36480 UNICODE=0
36481 lib_unicode_suffix=
36482 WX_CHARTYPE="ansi"
36483 if test "$wxUSE_UNICODE" = "yes"; then
36484 lib_unicode_suffix=u
36485 WX_CHARTYPE="unicode"
36486 UNICODE=1
36487 fi
36488
36489 lib_debug_suffix=
36490 WX_DEBUGTYPE="release"
36491 DEBUG_FLAG=0
36492 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36493 lib_debug_suffix=d
36494 WX_DEBUGTYPE="debug"
36495 DEBUG_FLAG=1
36496 fi
36497
36498 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36499 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36500
36501 DEBUG_INFO=0
36502 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36503 DEBUG_INFO=1
36504 fi
36505
36506 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36507
36508 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36509
36510 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36511
36512 if test "$cross_compiling" = "yes"; then
36513 HOST_SUFFIX="-$host_alias"
36514 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36515 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36516 fi
36517
36518 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36519 if test "${TOOLKIT_DIR}" = "os2"; then
36520 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36521 else
36522 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36523 fi
36524
36525
36526
36527 if test "$wxUSE_COCOA" = 1; then
36528
36529 ac_ext=c
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534
36535 ac_ext=m
36536
36537 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36538 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36539 cat >conftest.$ac_ext <<_ACEOF
36540 /* confdefs.h. */
36541 _ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545 #include <AppKit/NSEvent.h>
36546 #include <CoreFoundation/CoreFoundation.h>
36547
36548 int
36549 main ()
36550 {
36551
36552 ;
36553 return 0;
36554 }
36555 _ACEOF
36556 rm -f conftest.$ac_objext
36557 if { (ac_try="$ac_compile"
36558 case "(($ac_try" in
36559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36560 *) ac_try_echo=$ac_try;;
36561 esac
36562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36563 (eval "$ac_compile") 2>conftest.er1
36564 ac_status=$?
36565 grep -v '^ *+' conftest.er1 >conftest.err
36566 rm -f conftest.er1
36567 cat conftest.err >&5
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); } && {
36570 test -z "$ac_c_werror_flag" ||
36571 test ! -s conftest.err
36572 } && test -s conftest.$ac_objext; then
36573 { echo "$as_me:$LINENO: result: no" >&5
36574 echo "${ECHO_T}no" >&6; }
36575 else
36576 echo "$as_me: failed program was:" >&5
36577 sed 's/^/| /' conftest.$ac_ext >&5
36578
36579 { echo "$as_me:$LINENO: result: yes" >&5
36580 echo "${ECHO_T}yes" >&6; }
36581 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36582 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36583 cat >conftest.$ac_ext <<_ACEOF
36584 /* confdefs.h. */
36585 _ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 #define __Point__ 1
36590 #include <AppKit/NSEvent.h>
36591 #include <CoreFoundation/CoreFoundation.h>
36592
36593 int
36594 main ()
36595 {
36596
36597 ;
36598 return 0;
36599 }
36600 _ACEOF
36601 rm -f conftest.$ac_objext
36602 if { (ac_try="$ac_compile"
36603 case "(($ac_try" in
36604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36605 *) ac_try_echo=$ac_try;;
36606 esac
36607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36608 (eval "$ac_compile") 2>conftest.er1
36609 ac_status=$?
36610 grep -v '^ *+' conftest.er1 >conftest.err
36611 rm -f conftest.er1
36612 cat conftest.err >&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } && {
36615 test -z "$ac_c_werror_flag" ||
36616 test ! -s conftest.err
36617 } && test -s conftest.$ac_objext; then
36618 { echo "$as_me:$LINENO: result: yes" >&5
36619 echo "${ECHO_T}yes" >&6; }
36620 cat >>confdefs.h <<\_ACEOF
36621 #define __Point__ 1
36622 _ACEOF
36623
36624
36625 else
36626 echo "$as_me: failed program was:" >&5
36627 sed 's/^/| /' conftest.$ac_ext >&5
36628
36629 { { echo "$as_me:$LINENO: error: no
36630 See \`config.log' for more details." >&5
36631 echo "$as_me: error: no
36632 See \`config.log' for more details." >&2;}
36633 { (exit 1); exit 1; }; }
36634
36635 fi
36636
36637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36638
36639 fi
36640
36641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36642 ac_ext=c
36643 ac_cpp='$CPP $CPPFLAGS'
36644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36647
36648 fi
36649
36650
36651 { echo "$as_me:$LINENO: checking for mode_t" >&5
36652 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36653 if test "${ac_cv_type_mode_t+set}" = set; then
36654 echo $ECHO_N "(cached) $ECHO_C" >&6
36655 else
36656 cat >conftest.$ac_ext <<_ACEOF
36657 /* confdefs.h. */
36658 _ACEOF
36659 cat confdefs.h >>conftest.$ac_ext
36660 cat >>conftest.$ac_ext <<_ACEOF
36661 /* end confdefs.h. */
36662 $ac_includes_default
36663 typedef mode_t ac__type_new_;
36664 int
36665 main ()
36666 {
36667 if ((ac__type_new_ *) 0)
36668 return 0;
36669 if (sizeof (ac__type_new_))
36670 return 0;
36671 ;
36672 return 0;
36673 }
36674 _ACEOF
36675 rm -f conftest.$ac_objext
36676 if { (ac_try="$ac_compile"
36677 case "(($ac_try" in
36678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36679 *) ac_try_echo=$ac_try;;
36680 esac
36681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36682 (eval "$ac_compile") 2>conftest.er1
36683 ac_status=$?
36684 grep -v '^ *+' conftest.er1 >conftest.err
36685 rm -f conftest.er1
36686 cat conftest.err >&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); } && {
36689 test -z "$ac_c_werror_flag" ||
36690 test ! -s conftest.err
36691 } && test -s conftest.$ac_objext; then
36692 ac_cv_type_mode_t=yes
36693 else
36694 echo "$as_me: failed program was:" >&5
36695 sed 's/^/| /' conftest.$ac_ext >&5
36696
36697 ac_cv_type_mode_t=no
36698 fi
36699
36700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36701 fi
36702 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36703 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36704 if test $ac_cv_type_mode_t = yes; then
36705 :
36706 else
36707
36708 cat >>confdefs.h <<_ACEOF
36709 #define mode_t int
36710 _ACEOF
36711
36712 fi
36713
36714 { echo "$as_me:$LINENO: checking for off_t" >&5
36715 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36716 if test "${ac_cv_type_off_t+set}" = set; then
36717 echo $ECHO_N "(cached) $ECHO_C" >&6
36718 else
36719 cat >conftest.$ac_ext <<_ACEOF
36720 /* confdefs.h. */
36721 _ACEOF
36722 cat confdefs.h >>conftest.$ac_ext
36723 cat >>conftest.$ac_ext <<_ACEOF
36724 /* end confdefs.h. */
36725 $ac_includes_default
36726 typedef off_t ac__type_new_;
36727 int
36728 main ()
36729 {
36730 if ((ac__type_new_ *) 0)
36731 return 0;
36732 if (sizeof (ac__type_new_))
36733 return 0;
36734 ;
36735 return 0;
36736 }
36737 _ACEOF
36738 rm -f conftest.$ac_objext
36739 if { (ac_try="$ac_compile"
36740 case "(($ac_try" in
36741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36742 *) ac_try_echo=$ac_try;;
36743 esac
36744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36745 (eval "$ac_compile") 2>conftest.er1
36746 ac_status=$?
36747 grep -v '^ *+' conftest.er1 >conftest.err
36748 rm -f conftest.er1
36749 cat conftest.err >&5
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); } && {
36752 test -z "$ac_c_werror_flag" ||
36753 test ! -s conftest.err
36754 } && test -s conftest.$ac_objext; then
36755 ac_cv_type_off_t=yes
36756 else
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36759
36760 ac_cv_type_off_t=no
36761 fi
36762
36763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764 fi
36765 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36766 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36767 if test $ac_cv_type_off_t = yes; then
36768 :
36769 else
36770
36771 cat >>confdefs.h <<_ACEOF
36772 #define off_t long int
36773 _ACEOF
36774
36775 fi
36776
36777 { echo "$as_me:$LINENO: checking for pid_t" >&5
36778 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36779 if test "${ac_cv_type_pid_t+set}" = set; then
36780 echo $ECHO_N "(cached) $ECHO_C" >&6
36781 else
36782 cat >conftest.$ac_ext <<_ACEOF
36783 /* confdefs.h. */
36784 _ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788 $ac_includes_default
36789 typedef pid_t ac__type_new_;
36790 int
36791 main ()
36792 {
36793 if ((ac__type_new_ *) 0)
36794 return 0;
36795 if (sizeof (ac__type_new_))
36796 return 0;
36797 ;
36798 return 0;
36799 }
36800 _ACEOF
36801 rm -f conftest.$ac_objext
36802 if { (ac_try="$ac_compile"
36803 case "(($ac_try" in
36804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36805 *) ac_try_echo=$ac_try;;
36806 esac
36807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36808 (eval "$ac_compile") 2>conftest.er1
36809 ac_status=$?
36810 grep -v '^ *+' conftest.er1 >conftest.err
36811 rm -f conftest.er1
36812 cat conftest.err >&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } && {
36815 test -z "$ac_c_werror_flag" ||
36816 test ! -s conftest.err
36817 } && test -s conftest.$ac_objext; then
36818 ac_cv_type_pid_t=yes
36819 else
36820 echo "$as_me: failed program was:" >&5
36821 sed 's/^/| /' conftest.$ac_ext >&5
36822
36823 ac_cv_type_pid_t=no
36824 fi
36825
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827 fi
36828 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36829 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36830 if test $ac_cv_type_pid_t = yes; then
36831 :
36832 else
36833
36834 cat >>confdefs.h <<_ACEOF
36835 #define pid_t int
36836 _ACEOF
36837
36838 fi
36839
36840 { echo "$as_me:$LINENO: checking for size_t" >&5
36841 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36842 if test "${ac_cv_type_size_t+set}" = set; then
36843 echo $ECHO_N "(cached) $ECHO_C" >&6
36844 else
36845 cat >conftest.$ac_ext <<_ACEOF
36846 /* confdefs.h. */
36847 _ACEOF
36848 cat confdefs.h >>conftest.$ac_ext
36849 cat >>conftest.$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 $ac_includes_default
36852 typedef size_t ac__type_new_;
36853 int
36854 main ()
36855 {
36856 if ((ac__type_new_ *) 0)
36857 return 0;
36858 if (sizeof (ac__type_new_))
36859 return 0;
36860 ;
36861 return 0;
36862 }
36863 _ACEOF
36864 rm -f conftest.$ac_objext
36865 if { (ac_try="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36869 esac
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36872 ac_status=$?
36873 grep -v '^ *+' conftest.er1 >conftest.err
36874 rm -f conftest.er1
36875 cat conftest.err >&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_c_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 ac_cv_type_size_t=yes
36882 else
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36885
36886 ac_cv_type_size_t=no
36887 fi
36888
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890 fi
36891 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36892 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36893 if test $ac_cv_type_size_t = yes; then
36894 :
36895 else
36896
36897 cat >>confdefs.h <<_ACEOF
36898 #define size_t unsigned int
36899 _ACEOF
36900
36901 fi
36902
36903 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36904 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36905 if test "${ac_cv_type_uid_t+set}" = set; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36907 else
36908 cat >conftest.$ac_ext <<_ACEOF
36909 /* confdefs.h. */
36910 _ACEOF
36911 cat confdefs.h >>conftest.$ac_ext
36912 cat >>conftest.$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 #include <sys/types.h>
36915
36916 _ACEOF
36917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36918 $EGREP "uid_t" >/dev/null 2>&1; then
36919 ac_cv_type_uid_t=yes
36920 else
36921 ac_cv_type_uid_t=no
36922 fi
36923 rm -f conftest*
36924
36925 fi
36926 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36927 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36928 if test $ac_cv_type_uid_t = no; then
36929
36930 cat >>confdefs.h <<\_ACEOF
36931 #define uid_t int
36932 _ACEOF
36933
36934
36935 cat >>confdefs.h <<\_ACEOF
36936 #define gid_t int
36937 _ACEOF
36938
36939 fi
36940
36941
36942 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36943 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36944 if test "${ac_cv_type_ssize_t+set}" = set; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36946 else
36947 cat >conftest.$ac_ext <<_ACEOF
36948 /* confdefs.h. */
36949 _ACEOF
36950 cat confdefs.h >>conftest.$ac_ext
36951 cat >>conftest.$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36953 $ac_includes_default
36954 typedef ssize_t ac__type_new_;
36955 int
36956 main ()
36957 {
36958 if ((ac__type_new_ *) 0)
36959 return 0;
36960 if (sizeof (ac__type_new_))
36961 return 0;
36962 ;
36963 return 0;
36964 }
36965 _ACEOF
36966 rm -f conftest.$ac_objext
36967 if { (ac_try="$ac_compile"
36968 case "(($ac_try" in
36969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36970 *) ac_try_echo=$ac_try;;
36971 esac
36972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36973 (eval "$ac_compile") 2>conftest.er1
36974 ac_status=$?
36975 grep -v '^ *+' conftest.er1 >conftest.err
36976 rm -f conftest.er1
36977 cat conftest.err >&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } && {
36980 test -z "$ac_c_werror_flag" ||
36981 test ! -s conftest.err
36982 } && test -s conftest.$ac_objext; then
36983 ac_cv_type_ssize_t=yes
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988 ac_cv_type_ssize_t=no
36989 fi
36990
36991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36992 fi
36993 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36994 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36995 if test $ac_cv_type_ssize_t = yes; then
36996
36997 cat >>confdefs.h <<_ACEOF
36998 #define HAVE_SSIZE_T 1
36999 _ACEOF
37000
37001
37002 fi
37003
37004
37005 ac_ext=cpp
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37010 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37011 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37012 if test "${wx_cv_size_t_is_uint+set}" = set; then
37013 echo $ECHO_N "(cached) $ECHO_C" >&6
37014 else
37015
37016 cat >conftest.$ac_ext <<_ACEOF
37017 /* confdefs.h. */
37018 _ACEOF
37019 cat confdefs.h >>conftest.$ac_ext
37020 cat >>conftest.$ac_ext <<_ACEOF
37021 /* end confdefs.h. */
37022 #include <stddef.h>
37023 int
37024 main ()
37025 {
37026
37027 return 0; }
37028
37029 struct Foo { void foo(size_t); void foo(unsigned int); };
37030
37031 int bar() {
37032
37033 ;
37034 return 0;
37035 }
37036 _ACEOF
37037 rm -f conftest.$ac_objext
37038 if { (ac_try="$ac_compile"
37039 case "(($ac_try" in
37040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37041 *) ac_try_echo=$ac_try;;
37042 esac
37043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37044 (eval "$ac_compile") 2>conftest.er1
37045 ac_status=$?
37046 grep -v '^ *+' conftest.er1 >conftest.err
37047 rm -f conftest.er1
37048 cat conftest.err >&5
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); } && {
37051 test -z "$ac_cxx_werror_flag" ||
37052 test ! -s conftest.err
37053 } && test -s conftest.$ac_objext; then
37054 wx_cv_size_t_is_uint=no
37055 else
37056 echo "$as_me: failed program was:" >&5
37057 sed 's/^/| /' conftest.$ac_ext >&5
37058
37059 wx_cv_size_t_is_uint=yes
37060
37061 fi
37062
37063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37064
37065
37066 fi
37067 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37068 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37069
37070 if test "$wx_cv_size_t_is_uint" = "yes"; then
37071 cat >>confdefs.h <<\_ACEOF
37072 #define wxSIZE_T_IS_UINT 1
37073 _ACEOF
37074
37075 else
37076 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37077 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37078 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 else
37081 cat >conftest.$ac_ext <<_ACEOF
37082 /* confdefs.h. */
37083 _ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087 #include <stddef.h>
37088 int
37089 main ()
37090 {
37091
37092 return 0; }
37093
37094 struct Foo { void foo(size_t); void foo(unsigned long); };
37095
37096 int bar() {
37097
37098 ;
37099 return 0;
37100 }
37101 _ACEOF
37102 rm -f conftest.$ac_objext
37103 if { (ac_try="$ac_compile"
37104 case "(($ac_try" in
37105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37106 *) ac_try_echo=$ac_try;;
37107 esac
37108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37109 (eval "$ac_compile") 2>conftest.er1
37110 ac_status=$?
37111 grep -v '^ *+' conftest.er1 >conftest.err
37112 rm -f conftest.er1
37113 cat conftest.err >&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); } && {
37116 test -z "$ac_cxx_werror_flag" ||
37117 test ! -s conftest.err
37118 } && test -s conftest.$ac_objext; then
37119 wx_cv_size_t_is_ulong=no
37120 else
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.$ac_ext >&5
37123
37124 wx_cv_size_t_is_ulong=yes
37125
37126 fi
37127
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37129
37130 fi
37131 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37132 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37133
37134 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37135 cat >>confdefs.h <<\_ACEOF
37136 #define wxSIZE_T_IS_ULONG 1
37137 _ACEOF
37138
37139 fi
37140 fi
37141
37142 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37143 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37144 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37145 echo $ECHO_N "(cached) $ECHO_C" >&6
37146 else
37147 cat >conftest.$ac_ext <<_ACEOF
37148 /* confdefs.h. */
37149 _ACEOF
37150 cat confdefs.h >>conftest.$ac_ext
37151 cat >>conftest.$ac_ext <<_ACEOF
37152 /* end confdefs.h. */
37153 #include <wchar.h>
37154 int
37155 main ()
37156 {
37157
37158 return 0; }
37159
37160 struct Foo { void foo(wchar_t);
37161 void foo(unsigned short);
37162 void foo(unsigned int);
37163 void foo(unsigned long); };
37164
37165 int bar() {
37166
37167 ;
37168 return 0;
37169 }
37170 _ACEOF
37171 rm -f conftest.$ac_objext
37172 if { (ac_try="$ac_compile"
37173 case "(($ac_try" in
37174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37175 *) ac_try_echo=$ac_try;;
37176 esac
37177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37178 (eval "$ac_compile") 2>conftest.er1
37179 ac_status=$?
37180 grep -v '^ *+' conftest.er1 >conftest.err
37181 rm -f conftest.er1
37182 cat conftest.err >&5
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); } && {
37185 test -z "$ac_cxx_werror_flag" ||
37186 test ! -s conftest.err
37187 } && test -s conftest.$ac_objext; then
37188 wx_cv_wchar_t_is_separate_type=yes
37189 else
37190 echo "$as_me: failed program was:" >&5
37191 sed 's/^/| /' conftest.$ac_ext >&5
37192
37193 wx_cv_wchar_t_is_separate_type=no
37194
37195 fi
37196
37197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37198
37199 fi
37200 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37201 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37202
37203 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37204 cat >>confdefs.h <<\_ACEOF
37205 #define wxWCHAR_T_IS_REAL_TYPE 1
37206 _ACEOF
37207
37208 else
37209 cat >>confdefs.h <<\_ACEOF
37210 #define wxWCHAR_T_IS_REAL_TYPE 0
37211 _ACEOF
37212
37213 fi
37214
37215 ac_ext=c
37216 ac_cpp='$CPP $CPPFLAGS'
37217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37220
37221
37222 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37223 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37224 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37225 echo $ECHO_N "(cached) $ECHO_C" >&6
37226 else
37227
37228 cat >conftest.$ac_ext <<_ACEOF
37229 /* confdefs.h. */
37230 _ACEOF
37231 cat confdefs.h >>conftest.$ac_ext
37232 cat >>conftest.$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37234 #include <pwd.h>
37235 int
37236 main ()
37237 {
37238
37239 char *p;
37240 struct passwd *pw;
37241 p = pw->pw_gecos;
37242
37243 ;
37244 return 0;
37245 }
37246 _ACEOF
37247 rm -f conftest.$ac_objext
37248 if { (ac_try="$ac_compile"
37249 case "(($ac_try" in
37250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37251 *) ac_try_echo=$ac_try;;
37252 esac
37253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37254 (eval "$ac_compile") 2>conftest.er1
37255 ac_status=$?
37256 grep -v '^ *+' conftest.er1 >conftest.err
37257 rm -f conftest.er1
37258 cat conftest.err >&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); } && {
37261 test -z "$ac_c_werror_flag" ||
37262 test ! -s conftest.err
37263 } && test -s conftest.$ac_objext; then
37264
37265 wx_cv_struct_pw_gecos=yes
37266
37267 else
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.$ac_ext >&5
37270
37271
37272 wx_cv_struct_pw_gecos=no
37273
37274
37275 fi
37276
37277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37278
37279
37280 fi
37281 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37282 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37283
37284 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37285 cat >>confdefs.h <<\_ACEOF
37286 #define HAVE_PW_GECOS 1
37287 _ACEOF
37288
37289 fi
37290
37291
37292 if test "$wxUSE_WCHAR_T" = "yes"; then
37293 cat >>confdefs.h <<\_ACEOF
37294 #define wxUSE_WCHAR_T 1
37295 _ACEOF
37296
37297
37298 WCSLEN_FOUND=0
37299 WCHAR_LINK=
37300
37301 for ac_func in wcslen
37302 do
37303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 else
37309 cat >conftest.$ac_ext <<_ACEOF
37310 /* confdefs.h. */
37311 _ACEOF
37312 cat confdefs.h >>conftest.$ac_ext
37313 cat >>conftest.$ac_ext <<_ACEOF
37314 /* end confdefs.h. */
37315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37317 #define $ac_func innocuous_$ac_func
37318
37319 /* System header to define __stub macros and hopefully few prototypes,
37320 which can conflict with char $ac_func (); below.
37321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37322 <limits.h> exists even on freestanding compilers. */
37323
37324 #ifdef __STDC__
37325 # include <limits.h>
37326 #else
37327 # include <assert.h>
37328 #endif
37329
37330 #undef $ac_func
37331
37332 /* Override any GCC internal prototype to avoid an error.
37333 Use char because int might match the return type of a GCC
37334 builtin and then its argument prototype would still apply. */
37335 #ifdef __cplusplus
37336 extern "C"
37337 #endif
37338 char $ac_func ();
37339 /* The GNU C library defines this for functions which it implements
37340 to always fail with ENOSYS. Some functions are actually named
37341 something starting with __ and the normal name is an alias. */
37342 #if defined __stub_$ac_func || defined __stub___$ac_func
37343 choke me
37344 #endif
37345
37346 int
37347 main ()
37348 {
37349 return $ac_func ();
37350 ;
37351 return 0;
37352 }
37353 _ACEOF
37354 rm -f conftest.$ac_objext conftest$ac_exeext
37355 if { (ac_try="$ac_link"
37356 case "(($ac_try" in
37357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37358 *) ac_try_echo=$ac_try;;
37359 esac
37360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37361 (eval "$ac_link") 2>conftest.er1
37362 ac_status=$?
37363 grep -v '^ *+' conftest.er1 >conftest.err
37364 rm -f conftest.er1
37365 cat conftest.err >&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); } && {
37368 test -z "$ac_c_werror_flag" ||
37369 test ! -s conftest.err
37370 } && test -s conftest$ac_exeext &&
37371 $as_test_x conftest$ac_exeext; then
37372 eval "$as_ac_var=yes"
37373 else
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.$ac_ext >&5
37376
37377 eval "$as_ac_var=no"
37378 fi
37379
37380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37381 conftest$ac_exeext conftest.$ac_ext
37382 fi
37383 ac_res=`eval echo '${'$as_ac_var'}'`
37384 { echo "$as_me:$LINENO: result: $ac_res" >&5
37385 echo "${ECHO_T}$ac_res" >&6; }
37386 if test `eval echo '${'$as_ac_var'}'` = yes; then
37387 cat >>confdefs.h <<_ACEOF
37388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37389 _ACEOF
37390 WCSLEN_FOUND=1
37391 fi
37392 done
37393
37394
37395 if test "$WCSLEN_FOUND" = 0; then
37396 if test "$TOOLKIT" = "MSW"; then
37397 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37398 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37399 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37401 else
37402 ac_check_lib_save_LIBS=$LIBS
37403 LIBS="-lmsvcrt $LIBS"
37404 cat >conftest.$ac_ext <<_ACEOF
37405 /* confdefs.h. */
37406 _ACEOF
37407 cat confdefs.h >>conftest.$ac_ext
37408 cat >>conftest.$ac_ext <<_ACEOF
37409 /* end confdefs.h. */
37410
37411 /* Override any GCC internal prototype to avoid an error.
37412 Use char because int might match the return type of a GCC
37413 builtin and then its argument prototype would still apply. */
37414 #ifdef __cplusplus
37415 extern "C"
37416 #endif
37417 char wcslen ();
37418 int
37419 main ()
37420 {
37421 return wcslen ();
37422 ;
37423 return 0;
37424 }
37425 _ACEOF
37426 rm -f conftest.$ac_objext conftest$ac_exeext
37427 if { (ac_try="$ac_link"
37428 case "(($ac_try" in
37429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37430 *) ac_try_echo=$ac_try;;
37431 esac
37432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37433 (eval "$ac_link") 2>conftest.er1
37434 ac_status=$?
37435 grep -v '^ *+' conftest.er1 >conftest.err
37436 rm -f conftest.er1
37437 cat conftest.err >&5
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); } && {
37440 test -z "$ac_c_werror_flag" ||
37441 test ! -s conftest.err
37442 } && test -s conftest$ac_exeext &&
37443 $as_test_x conftest$ac_exeext; then
37444 ac_cv_lib_msvcrt_wcslen=yes
37445 else
37446 echo "$as_me: failed program was:" >&5
37447 sed 's/^/| /' conftest.$ac_ext >&5
37448
37449 ac_cv_lib_msvcrt_wcslen=no
37450 fi
37451
37452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37453 conftest$ac_exeext conftest.$ac_ext
37454 LIBS=$ac_check_lib_save_LIBS
37455 fi
37456 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37457 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37458 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37459 WCHAR_OK=1
37460 fi
37461
37462 else
37463 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37464 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37465 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37467 else
37468 ac_check_lib_save_LIBS=$LIBS
37469 LIBS="-lw $LIBS"
37470 cat >conftest.$ac_ext <<_ACEOF
37471 /* confdefs.h. */
37472 _ACEOF
37473 cat confdefs.h >>conftest.$ac_ext
37474 cat >>conftest.$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37476
37477 /* Override any GCC internal prototype to avoid an error.
37478 Use char because int might match the return type of a GCC
37479 builtin and then its argument prototype would still apply. */
37480 #ifdef __cplusplus
37481 extern "C"
37482 #endif
37483 char wcslen ();
37484 int
37485 main ()
37486 {
37487 return wcslen ();
37488 ;
37489 return 0;
37490 }
37491 _ACEOF
37492 rm -f conftest.$ac_objext conftest$ac_exeext
37493 if { (ac_try="$ac_link"
37494 case "(($ac_try" in
37495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37496 *) ac_try_echo=$ac_try;;
37497 esac
37498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37499 (eval "$ac_link") 2>conftest.er1
37500 ac_status=$?
37501 grep -v '^ *+' conftest.er1 >conftest.err
37502 rm -f conftest.er1
37503 cat conftest.err >&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); } && {
37506 test -z "$ac_c_werror_flag" ||
37507 test ! -s conftest.err
37508 } && test -s conftest$ac_exeext &&
37509 $as_test_x conftest$ac_exeext; then
37510 ac_cv_lib_w_wcslen=yes
37511 else
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37514
37515 ac_cv_lib_w_wcslen=no
37516 fi
37517
37518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37519 conftest$ac_exeext conftest.$ac_ext
37520 LIBS=$ac_check_lib_save_LIBS
37521 fi
37522 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37523 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37524 if test $ac_cv_lib_w_wcslen = yes; then
37525
37526 WCHAR_LINK=" -lw"
37527 WCSLEN_FOUND=1
37528
37529 fi
37530
37531 fi
37532 fi
37533
37534 if test "$WCSLEN_FOUND" = 1; then
37535 cat >>confdefs.h <<\_ACEOF
37536 #define HAVE_WCSLEN 1
37537 _ACEOF
37538
37539 fi
37540
37541
37542 for ac_func in wcsdup
37543 do
37544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37545 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37547 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37548 echo $ECHO_N "(cached) $ECHO_C" >&6
37549 else
37550 cat >conftest.$ac_ext <<_ACEOF
37551 /* confdefs.h. */
37552 _ACEOF
37553 cat confdefs.h >>conftest.$ac_ext
37554 cat >>conftest.$ac_ext <<_ACEOF
37555 /* end confdefs.h. */
37556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37558 #define $ac_func innocuous_$ac_func
37559
37560 /* System header to define __stub macros and hopefully few prototypes,
37561 which can conflict with char $ac_func (); below.
37562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37563 <limits.h> exists even on freestanding compilers. */
37564
37565 #ifdef __STDC__
37566 # include <limits.h>
37567 #else
37568 # include <assert.h>
37569 #endif
37570
37571 #undef $ac_func
37572
37573 /* Override any GCC internal prototype to avoid an error.
37574 Use char because int might match the return type of a GCC
37575 builtin and then its argument prototype would still apply. */
37576 #ifdef __cplusplus
37577 extern "C"
37578 #endif
37579 char $ac_func ();
37580 /* The GNU C library defines this for functions which it implements
37581 to always fail with ENOSYS. Some functions are actually named
37582 something starting with __ and the normal name is an alias. */
37583 #if defined __stub_$ac_func || defined __stub___$ac_func
37584 choke me
37585 #endif
37586
37587 int
37588 main ()
37589 {
37590 return $ac_func ();
37591 ;
37592 return 0;
37593 }
37594 _ACEOF
37595 rm -f conftest.$ac_objext conftest$ac_exeext
37596 if { (ac_try="$ac_link"
37597 case "(($ac_try" in
37598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37599 *) ac_try_echo=$ac_try;;
37600 esac
37601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37602 (eval "$ac_link") 2>conftest.er1
37603 ac_status=$?
37604 grep -v '^ *+' conftest.er1 >conftest.err
37605 rm -f conftest.er1
37606 cat conftest.err >&5
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); } && {
37609 test -z "$ac_c_werror_flag" ||
37610 test ! -s conftest.err
37611 } && test -s conftest$ac_exeext &&
37612 $as_test_x conftest$ac_exeext; then
37613 eval "$as_ac_var=yes"
37614 else
37615 echo "$as_me: failed program was:" >&5
37616 sed 's/^/| /' conftest.$ac_ext >&5
37617
37618 eval "$as_ac_var=no"
37619 fi
37620
37621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37622 conftest$ac_exeext conftest.$ac_ext
37623 fi
37624 ac_res=`eval echo '${'$as_ac_var'}'`
37625 { echo "$as_me:$LINENO: result: $ac_res" >&5
37626 echo "${ECHO_T}$ac_res" >&6; }
37627 if test `eval echo '${'$as_ac_var'}'` = yes; then
37628 cat >>confdefs.h <<_ACEOF
37629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37630 _ACEOF
37631
37632 fi
37633 done
37634
37635
37636 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37637 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37638 fi
37639
37640 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37641 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37642 if test "${ac_cv_type_mbstate_t+set}" = set; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37645 cat >conftest.$ac_ext <<_ACEOF
37646 /* confdefs.h. */
37647 _ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37651 #include <wchar.h>
37652
37653 typedef mbstate_t ac__type_new_;
37654 int
37655 main ()
37656 {
37657 if ((ac__type_new_ *) 0)
37658 return 0;
37659 if (sizeof (ac__type_new_))
37660 return 0;
37661 ;
37662 return 0;
37663 }
37664 _ACEOF
37665 rm -f conftest.$ac_objext
37666 if { (ac_try="$ac_compile"
37667 case "(($ac_try" in
37668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37669 *) ac_try_echo=$ac_try;;
37670 esac
37671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37672 (eval "$ac_compile") 2>conftest.er1
37673 ac_status=$?
37674 grep -v '^ *+' conftest.er1 >conftest.err
37675 rm -f conftest.er1
37676 cat conftest.err >&5
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); } && {
37679 test -z "$ac_c_werror_flag" ||
37680 test ! -s conftest.err
37681 } && test -s conftest.$ac_objext; then
37682 ac_cv_type_mbstate_t=yes
37683 else
37684 echo "$as_me: failed program was:" >&5
37685 sed 's/^/| /' conftest.$ac_ext >&5
37686
37687 ac_cv_type_mbstate_t=no
37688 fi
37689
37690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37691 fi
37692 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37693 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37694 if test $ac_cv_type_mbstate_t = yes; then
37695
37696 cat >>confdefs.h <<_ACEOF
37697 #define HAVE_MBSTATE_T 1
37698 _ACEOF
37699
37700
37701 for ac_func in wcsrtombs
37702 do
37703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37706 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37707 echo $ECHO_N "(cached) $ECHO_C" >&6
37708 else
37709 cat >conftest.$ac_ext <<_ACEOF
37710 /* confdefs.h. */
37711 _ACEOF
37712 cat confdefs.h >>conftest.$ac_ext
37713 cat >>conftest.$ac_ext <<_ACEOF
37714 /* end confdefs.h. */
37715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37717 #define $ac_func innocuous_$ac_func
37718
37719 /* System header to define __stub macros and hopefully few prototypes,
37720 which can conflict with char $ac_func (); below.
37721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37722 <limits.h> exists even on freestanding compilers. */
37723
37724 #ifdef __STDC__
37725 # include <limits.h>
37726 #else
37727 # include <assert.h>
37728 #endif
37729
37730 #undef $ac_func
37731
37732 /* Override any GCC internal prototype to avoid an error.
37733 Use char because int might match the return type of a GCC
37734 builtin and then its argument prototype would still apply. */
37735 #ifdef __cplusplus
37736 extern "C"
37737 #endif
37738 char $ac_func ();
37739 /* The GNU C library defines this for functions which it implements
37740 to always fail with ENOSYS. Some functions are actually named
37741 something starting with __ and the normal name is an alias. */
37742 #if defined __stub_$ac_func || defined __stub___$ac_func
37743 choke me
37744 #endif
37745
37746 int
37747 main ()
37748 {
37749 return $ac_func ();
37750 ;
37751 return 0;
37752 }
37753 _ACEOF
37754 rm -f conftest.$ac_objext conftest$ac_exeext
37755 if { (ac_try="$ac_link"
37756 case "(($ac_try" in
37757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37758 *) ac_try_echo=$ac_try;;
37759 esac
37760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37761 (eval "$ac_link") 2>conftest.er1
37762 ac_status=$?
37763 grep -v '^ *+' conftest.er1 >conftest.err
37764 rm -f conftest.er1
37765 cat conftest.err >&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); } && {
37768 test -z "$ac_c_werror_flag" ||
37769 test ! -s conftest.err
37770 } && test -s conftest$ac_exeext &&
37771 $as_test_x conftest$ac_exeext; then
37772 eval "$as_ac_var=yes"
37773 else
37774 echo "$as_me: failed program was:" >&5
37775 sed 's/^/| /' conftest.$ac_ext >&5
37776
37777 eval "$as_ac_var=no"
37778 fi
37779
37780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37781 conftest$ac_exeext conftest.$ac_ext
37782 fi
37783 ac_res=`eval echo '${'$as_ac_var'}'`
37784 { echo "$as_me:$LINENO: result: $ac_res" >&5
37785 echo "${ECHO_T}$ac_res" >&6; }
37786 if test `eval echo '${'$as_ac_var'}'` = yes; then
37787 cat >>confdefs.h <<_ACEOF
37788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37789 _ACEOF
37790
37791 fi
37792 done
37793
37794 fi
37795
37796 else
37797 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37798 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37799 fi
37800
37801
37802
37803 for ac_func in snprintf vsnprintf
37804 do
37805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37810 else
37811 cat >conftest.$ac_ext <<_ACEOF
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37819 #define $ac_func innocuous_$ac_func
37820
37821 /* System header to define __stub macros and hopefully few prototypes,
37822 which can conflict with char $ac_func (); below.
37823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37824 <limits.h> exists even on freestanding compilers. */
37825
37826 #ifdef __STDC__
37827 # include <limits.h>
37828 #else
37829 # include <assert.h>
37830 #endif
37831
37832 #undef $ac_func
37833
37834 /* Override any GCC internal prototype to avoid an error.
37835 Use char because int might match the return type of a GCC
37836 builtin and then its argument prototype would still apply. */
37837 #ifdef __cplusplus
37838 extern "C"
37839 #endif
37840 char $ac_func ();
37841 /* The GNU C library defines this for functions which it implements
37842 to always fail with ENOSYS. Some functions are actually named
37843 something starting with __ and the normal name is an alias. */
37844 #if defined __stub_$ac_func || defined __stub___$ac_func
37845 choke me
37846 #endif
37847
37848 int
37849 main ()
37850 {
37851 return $ac_func ();
37852 ;
37853 return 0;
37854 }
37855 _ACEOF
37856 rm -f conftest.$ac_objext conftest$ac_exeext
37857 if { (ac_try="$ac_link"
37858 case "(($ac_try" in
37859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37860 *) ac_try_echo=$ac_try;;
37861 esac
37862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37863 (eval "$ac_link") 2>conftest.er1
37864 ac_status=$?
37865 grep -v '^ *+' conftest.er1 >conftest.err
37866 rm -f conftest.er1
37867 cat conftest.err >&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } && {
37870 test -z "$ac_c_werror_flag" ||
37871 test ! -s conftest.err
37872 } && test -s conftest$ac_exeext &&
37873 $as_test_x conftest$ac_exeext; then
37874 eval "$as_ac_var=yes"
37875 else
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37878
37879 eval "$as_ac_var=no"
37880 fi
37881
37882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37883 conftest$ac_exeext conftest.$ac_ext
37884 fi
37885 ac_res=`eval echo '${'$as_ac_var'}'`
37886 { echo "$as_me:$LINENO: result: $ac_res" >&5
37887 echo "${ECHO_T}$ac_res" >&6; }
37888 if test `eval echo '${'$as_ac_var'}'` = yes; then
37889 cat >>confdefs.h <<_ACEOF
37890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37891 _ACEOF
37892
37893 fi
37894 done
37895
37896
37897 if test "$ac_cv_func_vsnprintf" = "yes"; then
37898 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37899 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37900 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37901 echo $ECHO_N "(cached) $ECHO_C" >&6
37902 else
37903
37904 cat >conftest.$ac_ext <<_ACEOF
37905 /* confdefs.h. */
37906 _ACEOF
37907 cat confdefs.h >>conftest.$ac_ext
37908 cat >>conftest.$ac_ext <<_ACEOF
37909 /* end confdefs.h. */
37910
37911 #include <stdio.h>
37912 #include <stdarg.h>
37913 #ifdef __MSL__
37914 #if __MSL__ >= 0x6000
37915 namespace std {}
37916 using namespace std;
37917 #endif
37918 #endif
37919
37920 int
37921 main ()
37922 {
37923
37924 char *buf;
37925 va_list ap;
37926 vsnprintf(buf, 10u, "%s", ap);
37927
37928 ;
37929 return 0;
37930 }
37931 _ACEOF
37932 rm -f conftest.$ac_objext
37933 if { (ac_try="$ac_compile"
37934 case "(($ac_try" in
37935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37936 *) ac_try_echo=$ac_try;;
37937 esac
37938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37939 (eval "$ac_compile") 2>conftest.er1
37940 ac_status=$?
37941 grep -v '^ *+' conftest.er1 >conftest.err
37942 rm -f conftest.er1
37943 cat conftest.err >&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); } && {
37946 test -z "$ac_c_werror_flag" ||
37947 test ! -s conftest.err
37948 } && test -s conftest.$ac_objext; then
37949 wx_cv_func_vsnprintf_decl=yes
37950 else
37951 echo "$as_me: failed program was:" >&5
37952 sed 's/^/| /' conftest.$ac_ext >&5
37953
37954 wx_cv_func_vsnprintf_decl=no
37955
37956 fi
37957
37958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37959
37960
37961 fi
37962 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37963 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37964
37965 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37966 cat >>confdefs.h <<\_ACEOF
37967 #define HAVE_VSNPRINTF_DECL 1
37968 _ACEOF
37969
37970
37971 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37972 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37973 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 else
37976
37977 cat >conftest.$ac_ext <<_ACEOF
37978 /* confdefs.h. */
37979 _ACEOF
37980 cat confdefs.h >>conftest.$ac_ext
37981 cat >>conftest.$ac_ext <<_ACEOF
37982 /* end confdefs.h. */
37983
37984 #include <stdio.h>
37985 #include <stdarg.h>
37986 #ifdef __MSL__
37987 #if __MSL__ >= 0x6000
37988 namespace std {}
37989 using namespace std;
37990 #endif
37991 #endif
37992
37993 int
37994 main ()
37995 {
37996
37997 char *buf;
37998 va_list ap;
37999 const char *fmt = "%s";
38000 vsnprintf(buf, 10u, fmt, ap);
38001
38002 ;
38003 return 0;
38004 }
38005 _ACEOF
38006 rm -f conftest.$ac_objext
38007 if { (ac_try="$ac_compile"
38008 case "(($ac_try" in
38009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38010 *) ac_try_echo=$ac_try;;
38011 esac
38012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38013 (eval "$ac_compile") 2>conftest.er1
38014 ac_status=$?
38015 grep -v '^ *+' conftest.er1 >conftest.err
38016 rm -f conftest.er1
38017 cat conftest.err >&5
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); } && {
38020 test -z "$ac_c_werror_flag" ||
38021 test ! -s conftest.err
38022 } && test -s conftest.$ac_objext; then
38023 wx_cv_func_broken_vsnprintf_decl=no
38024 else
38025 echo "$as_me: failed program was:" >&5
38026 sed 's/^/| /' conftest.$ac_ext >&5
38027
38028 wx_cv_func_broken_vsnprintf_decl=yes
38029
38030 fi
38031
38032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38033
38034
38035 fi
38036 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38037 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38038
38039 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38040 cat >>confdefs.h <<\_ACEOF
38041 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38042 _ACEOF
38043
38044 fi
38045 fi
38046 fi
38047
38048 if test "$ac_cv_func_snprintf" = "yes"; then
38049 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38050 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38051 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38052 echo $ECHO_N "(cached) $ECHO_C" >&6
38053 else
38054
38055 cat >conftest.$ac_ext <<_ACEOF
38056 /* confdefs.h. */
38057 _ACEOF
38058 cat confdefs.h >>conftest.$ac_ext
38059 cat >>conftest.$ac_ext <<_ACEOF
38060 /* end confdefs.h. */
38061
38062 #include <stdio.h>
38063 #include <stdarg.h>
38064 #ifdef __MSL__
38065 #if __MSL__ >= 0x6000
38066 namespace std {}
38067 using namespace std;
38068 #endif
38069 #endif
38070
38071 int
38072 main ()
38073 {
38074
38075 char *buf;
38076 snprintf(buf, 10u, "%s", "wx");
38077
38078 ;
38079 return 0;
38080 }
38081 _ACEOF
38082 rm -f conftest.$ac_objext
38083 if { (ac_try="$ac_compile"
38084 case "(($ac_try" in
38085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38086 *) ac_try_echo=$ac_try;;
38087 esac
38088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38089 (eval "$ac_compile") 2>conftest.er1
38090 ac_status=$?
38091 grep -v '^ *+' conftest.er1 >conftest.err
38092 rm -f conftest.er1
38093 cat conftest.err >&5
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); } && {
38096 test -z "$ac_c_werror_flag" ||
38097 test ! -s conftest.err
38098 } && test -s conftest.$ac_objext; then
38099 wx_cv_func_snprintf_decl=yes
38100 else
38101 echo "$as_me: failed program was:" >&5
38102 sed 's/^/| /' conftest.$ac_ext >&5
38103
38104 wx_cv_func_snprintf_decl=no
38105
38106 fi
38107
38108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38109
38110
38111 fi
38112 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38113 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38114
38115 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38116 cat >>confdefs.h <<\_ACEOF
38117 #define HAVE_SNPRINTF_DECL 1
38118 _ACEOF
38119
38120
38121 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38122 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38123 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38124 echo $ECHO_N "(cached) $ECHO_C" >&6
38125 else
38126
38127 cat >conftest.$ac_ext <<_ACEOF
38128 /* confdefs.h. */
38129 _ACEOF
38130 cat confdefs.h >>conftest.$ac_ext
38131 cat >>conftest.$ac_ext <<_ACEOF
38132 /* end confdefs.h. */
38133
38134 #include <stdio.h>
38135 #include <stdarg.h>
38136 #ifdef __MSL__
38137 #if __MSL__ >= 0x6000
38138 namespace std {}
38139 using namespace std;
38140 #endif
38141 #endif
38142
38143 int
38144 main ()
38145 {
38146
38147 char *buf;
38148 const char *fmt = "%s";
38149 snprintf(buf, 10u, fmt, "wx");
38150
38151 ;
38152 return 0;
38153 }
38154 _ACEOF
38155 rm -f conftest.$ac_objext
38156 if { (ac_try="$ac_compile"
38157 case "(($ac_try" in
38158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38159 *) ac_try_echo=$ac_try;;
38160 esac
38161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38162 (eval "$ac_compile") 2>conftest.er1
38163 ac_status=$?
38164 grep -v '^ *+' conftest.er1 >conftest.err
38165 rm -f conftest.er1
38166 cat conftest.err >&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } && {
38169 test -z "$ac_c_werror_flag" ||
38170 test ! -s conftest.err
38171 } && test -s conftest.$ac_objext; then
38172 wx_cv_func_broken_snprintf_decl=no
38173 else
38174 echo "$as_me: failed program was:" >&5
38175 sed 's/^/| /' conftest.$ac_ext >&5
38176
38177 wx_cv_func_broken_snprintf_decl=yes
38178
38179 fi
38180
38181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38182
38183
38184 fi
38185 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38186 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38187
38188 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38189 cat >>confdefs.h <<\_ACEOF
38190 #define HAVE_BROKEN_SNPRINTF_DECL 1
38191 _ACEOF
38192
38193 fi
38194 fi
38195
38196 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38197
38198 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38199 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38200 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38202 else
38203
38204 if test "$cross_compiling" = yes; then
38205
38206 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38207 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38208 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38209 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38210 wx_cv_func_snprintf_pos_params=no
38211
38212
38213 else
38214 cat >conftest.$ac_ext <<_ACEOF
38215 /* confdefs.h. */
38216 _ACEOF
38217 cat confdefs.h >>conftest.$ac_ext
38218 cat >>conftest.$ac_ext <<_ACEOF
38219 /* end confdefs.h. */
38220
38221 #include <stdio.h>
38222
38223 int main (void)
38224 {
38225 char buffer[128];
38226 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38227 if (strcmp ("2 3 1", buffer) == 0)
38228 exit (0);
38229 exit (1);
38230 }
38231
38232 _ACEOF
38233 rm -f conftest$ac_exeext
38234 if { (ac_try="$ac_link"
38235 case "(($ac_try" in
38236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38237 *) ac_try_echo=$ac_try;;
38238 esac
38239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38240 (eval "$ac_link") 2>&5
38241 ac_status=$?
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38244 { (case "(($ac_try" in
38245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38246 *) ac_try_echo=$ac_try;;
38247 esac
38248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38249 (eval "$ac_try") 2>&5
38250 ac_status=$?
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); }; }; then
38253 wx_cv_func_snprintf_pos_params=no
38254 else
38255 echo "$as_me: program exited with status $ac_status" >&5
38256 echo "$as_me: failed program was:" >&5
38257 sed 's/^/| /' conftest.$ac_ext >&5
38258
38259 ( exit $ac_status )
38260 wx_cv_func_snprintf_pos_params=yes
38261 fi
38262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38263 fi
38264
38265
38266
38267
38268 fi
38269 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38270 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38271
38272 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38273 cat >>confdefs.h <<\_ACEOF
38274 #define HAVE_UNIX98_PRINTF 1
38275 _ACEOF
38276
38277 fi
38278 fi
38279 fi
38280
38281 if test "$wxUSE_UNICODE" = yes; then
38282
38283
38284 for ac_func in swprintf
38285 do
38286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38291 else
38292 cat >conftest.$ac_ext <<_ACEOF
38293 /* confdefs.h. */
38294 _ACEOF
38295 cat confdefs.h >>conftest.$ac_ext
38296 cat >>conftest.$ac_ext <<_ACEOF
38297 /* end confdefs.h. */
38298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38300 #define $ac_func innocuous_$ac_func
38301
38302 /* System header to define __stub macros and hopefully few prototypes,
38303 which can conflict with char $ac_func (); below.
38304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38305 <limits.h> exists even on freestanding compilers. */
38306
38307 #ifdef __STDC__
38308 # include <limits.h>
38309 #else
38310 # include <assert.h>
38311 #endif
38312
38313 #undef $ac_func
38314
38315 /* Override any GCC internal prototype to avoid an error.
38316 Use char because int might match the return type of a GCC
38317 builtin and then its argument prototype would still apply. */
38318 #ifdef __cplusplus
38319 extern "C"
38320 #endif
38321 char $ac_func ();
38322 /* The GNU C library defines this for functions which it implements
38323 to always fail with ENOSYS. Some functions are actually named
38324 something starting with __ and the normal name is an alias. */
38325 #if defined __stub_$ac_func || defined __stub___$ac_func
38326 choke me
38327 #endif
38328
38329 int
38330 main ()
38331 {
38332 return $ac_func ();
38333 ;
38334 return 0;
38335 }
38336 _ACEOF
38337 rm -f conftest.$ac_objext conftest$ac_exeext
38338 if { (ac_try="$ac_link"
38339 case "(($ac_try" in
38340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38341 *) ac_try_echo=$ac_try;;
38342 esac
38343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38344 (eval "$ac_link") 2>conftest.er1
38345 ac_status=$?
38346 grep -v '^ *+' conftest.er1 >conftest.err
38347 rm -f conftest.er1
38348 cat conftest.err >&5
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); } && {
38351 test -z "$ac_c_werror_flag" ||
38352 test ! -s conftest.err
38353 } && test -s conftest$ac_exeext &&
38354 $as_test_x conftest$ac_exeext; then
38355 eval "$as_ac_var=yes"
38356 else
38357 echo "$as_me: failed program was:" >&5
38358 sed 's/^/| /' conftest.$ac_ext >&5
38359
38360 eval "$as_ac_var=no"
38361 fi
38362
38363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38364 conftest$ac_exeext conftest.$ac_ext
38365 fi
38366 ac_res=`eval echo '${'$as_ac_var'}'`
38367 { echo "$as_me:$LINENO: result: $ac_res" >&5
38368 echo "${ECHO_T}$ac_res" >&6; }
38369 if test `eval echo '${'$as_ac_var'}'` = yes; then
38370 cat >>confdefs.h <<_ACEOF
38371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38372 _ACEOF
38373
38374 fi
38375 done
38376
38377
38378 if test "$ac_cv_func_swprintf" = "yes"; then
38379 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38380 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38381 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38382 echo $ECHO_N "(cached) $ECHO_C" >&6
38383 else
38384
38385 cat >conftest.$ac_ext <<_ACEOF
38386 /* confdefs.h. */
38387 _ACEOF
38388 cat confdefs.h >>conftest.$ac_ext
38389 cat >>conftest.$ac_ext <<_ACEOF
38390 /* end confdefs.h. */
38391
38392 #include <stdio.h>
38393 #include <stdarg.h>
38394 #include <wchar.h>
38395
38396 int
38397 main ()
38398 {
38399
38400 wchar_t *buf;
38401 const wchar_t *fmt = L"test";
38402 swprintf(buf, 10u, fmt);
38403
38404 ;
38405 return 0;
38406 }
38407 _ACEOF
38408 rm -f conftest.$ac_objext
38409 if { (ac_try="$ac_compile"
38410 case "(($ac_try" in
38411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38412 *) ac_try_echo=$ac_try;;
38413 esac
38414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38415 (eval "$ac_compile") 2>conftest.er1
38416 ac_status=$?
38417 grep -v '^ *+' conftest.er1 >conftest.err
38418 rm -f conftest.er1
38419 cat conftest.err >&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); } && {
38422 test -z "$ac_c_werror_flag" ||
38423 test ! -s conftest.err
38424 } && test -s conftest.$ac_objext; then
38425 wx_cv_func_broken_swprintf_decl=no
38426 else
38427 echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.$ac_ext >&5
38429
38430 wx_cv_func_broken_swprintf_decl=yes
38431
38432 fi
38433
38434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38435
38436
38437 fi
38438 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38439 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38440
38441 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38442 cat >>confdefs.h <<\_ACEOF
38443 #define HAVE_BROKEN_SWPRINTF_DECL 1
38444 _ACEOF
38445
38446 fi
38447 fi
38448
38449 wchar_headers="#include <stdio.h>
38450 #include <wchar.h>"
38451 case "${host}" in
38452 *-*-solaris2* )
38453
38454 for ac_header in widec.h
38455 do
38456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38460 echo $ECHO_N "(cached) $ECHO_C" >&6
38461 else
38462 cat >conftest.$ac_ext <<_ACEOF
38463 /* confdefs.h. */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468 $ac_includes_default
38469
38470 #include <$ac_header>
38471 _ACEOF
38472 rm -f conftest.$ac_objext
38473 if { (ac_try="$ac_compile"
38474 case "(($ac_try" in
38475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38476 *) ac_try_echo=$ac_try;;
38477 esac
38478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38479 (eval "$ac_compile") 2>conftest.er1
38480 ac_status=$?
38481 grep -v '^ *+' conftest.er1 >conftest.err
38482 rm -f conftest.er1
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } && {
38486 test -z "$ac_c_werror_flag" ||
38487 test ! -s conftest.err
38488 } && test -s conftest.$ac_objext; then
38489 eval "$as_ac_Header=yes"
38490 else
38491 echo "$as_me: failed program was:" >&5
38492 sed 's/^/| /' conftest.$ac_ext >&5
38493
38494 eval "$as_ac_Header=no"
38495 fi
38496
38497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38498 fi
38499 ac_res=`eval echo '${'$as_ac_Header'}'`
38500 { echo "$as_me:$LINENO: result: $ac_res" >&5
38501 echo "${ECHO_T}$ac_res" >&6; }
38502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38503 cat >>confdefs.h <<_ACEOF
38504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38505 _ACEOF
38506
38507 fi
38508
38509 done
38510
38511 if test "$ac_cv_header_widec_h" = "yes"; then
38512 wchar_headers="$wchar_headers
38513 #include <widec.h>"
38514 fi
38515 esac
38516
38517
38518 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38519 do
38520 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38521 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38522 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38523 echo $ECHO_N "(cached) $ECHO_C" >&6
38524 else
38525
38526 cat >conftest.$ac_ext <<_ACEOF
38527
38528 /* confdefs.h. */
38529 _ACEOF
38530 cat confdefs.h >>conftest.$ac_ext
38531 cat >>conftest.$ac_ext <<_ACEOF
38532 /* end confdefs.h. */
38533
38534 $wchar_headers
38535 $ac_includes_default
38536
38537 int
38538 main ()
38539 {
38540
38541 #ifndef $wx_func
38542 &$wx_func;
38543 #endif
38544
38545
38546 ;
38547 return 0;
38548 }
38549
38550 _ACEOF
38551 rm -f conftest.$ac_objext conftest$ac_exeext
38552 if { (ac_try="$ac_link"
38553 case "(($ac_try" in
38554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38555 *) ac_try_echo=$ac_try;;
38556 esac
38557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38558 (eval "$ac_link") 2>conftest.er1
38559 ac_status=$?
38560 grep -v '^ *+' conftest.er1 >conftest.err
38561 rm -f conftest.er1
38562 cat conftest.err >&5
38563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38564 (exit $ac_status); } && {
38565 test -z "$ac_c_werror_flag" ||
38566 test ! -s conftest.err
38567 } && test -s conftest$ac_exeext &&
38568 $as_test_x conftest$ac_exeext; then
38569 eval wx_cv_func_$wx_func=yes
38570 else
38571 echo "$as_me: failed program was:" >&5
38572 sed 's/^/| /' conftest.$ac_ext >&5
38573
38574 eval wx_cv_func_$wx_func=no
38575 fi
38576
38577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38578 conftest$ac_exeext conftest.$ac_ext
38579
38580 fi
38581 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38582 { echo "$as_me:$LINENO: result: $ac_res" >&5
38583 echo "${ECHO_T}$ac_res" >&6; }
38584
38585 if eval test \$wx_cv_func_$wx_func = yes
38586 then
38587 cat >>confdefs.h <<_ACEOF
38588 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38589 _ACEOF
38590
38591
38592 else
38593 :
38594
38595 fi
38596 done
38597
38598
38599 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38600 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38601 cat >conftest.$ac_ext <<_ACEOF
38602 /* confdefs.h. */
38603 _ACEOF
38604 cat confdefs.h >>conftest.$ac_ext
38605 cat >>conftest.$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38607 #include <wchar.h>
38608 int
38609 main ()
38610 {
38611 &_vsnwprintf;
38612 ;
38613 return 0;
38614 }
38615 _ACEOF
38616 rm -f conftest.$ac_objext
38617 if { (ac_try="$ac_compile"
38618 case "(($ac_try" in
38619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38620 *) ac_try_echo=$ac_try;;
38621 esac
38622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38623 (eval "$ac_compile") 2>conftest.er1
38624 ac_status=$?
38625 grep -v '^ *+' conftest.er1 >conftest.err
38626 rm -f conftest.er1
38627 cat conftest.err >&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); } && {
38630 test -z "$ac_c_werror_flag" ||
38631 test ! -s conftest.err
38632 } && test -s conftest.$ac_objext; then
38633 { echo "$as_me:$LINENO: result: yes" >&5
38634 echo "${ECHO_T}yes" >&6; }
38635 cat >>confdefs.h <<\_ACEOF
38636 #define HAVE__VSNWPRINTF 1
38637 _ACEOF
38638
38639 else
38640 echo "$as_me: failed program was:" >&5
38641 sed 's/^/| /' conftest.$ac_ext >&5
38642
38643 { echo "$as_me:$LINENO: result: no" >&5
38644 echo "${ECHO_T}no" >&6; }
38645 fi
38646
38647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38648 fi
38649
38650 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38651
38652 for wx_func in fnmatch
38653 do
38654 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38655 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38656 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38657 echo $ECHO_N "(cached) $ECHO_C" >&6
38658 else
38659
38660 cat >conftest.$ac_ext <<_ACEOF
38661
38662 /* confdefs.h. */
38663 _ACEOF
38664 cat confdefs.h >>conftest.$ac_ext
38665 cat >>conftest.$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667
38668 #include <fnmatch.h>
38669 $ac_includes_default
38670
38671 int
38672 main ()
38673 {
38674
38675 #ifndef $wx_func
38676 &$wx_func;
38677 #endif
38678
38679
38680 ;
38681 return 0;
38682 }
38683
38684 _ACEOF
38685 rm -f conftest.$ac_objext conftest$ac_exeext
38686 if { (ac_try="$ac_link"
38687 case "(($ac_try" in
38688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38689 *) ac_try_echo=$ac_try;;
38690 esac
38691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38692 (eval "$ac_link") 2>conftest.er1
38693 ac_status=$?
38694 grep -v '^ *+' conftest.er1 >conftest.err
38695 rm -f conftest.er1
38696 cat conftest.err >&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } && {
38699 test -z "$ac_c_werror_flag" ||
38700 test ! -s conftest.err
38701 } && test -s conftest$ac_exeext &&
38702 $as_test_x conftest$ac_exeext; then
38703 eval wx_cv_func_$wx_func=yes
38704 else
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.$ac_ext >&5
38707
38708 eval wx_cv_func_$wx_func=no
38709 fi
38710
38711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38712 conftest$ac_exeext conftest.$ac_ext
38713
38714 fi
38715 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38716 { echo "$as_me:$LINENO: result: $ac_res" >&5
38717 echo "${ECHO_T}$ac_res" >&6; }
38718
38719 if eval test \$wx_cv_func_$wx_func = yes
38720 then
38721 cat >>confdefs.h <<_ACEOF
38722 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38723 _ACEOF
38724
38725
38726 else
38727 :
38728
38729 fi
38730 done
38731
38732 fi
38733
38734 if test "$wxUSE_FILE" = "yes"; then
38735
38736 for wx_func in fsync
38737 do
38738 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38740 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38742 else
38743
38744 cat >conftest.$ac_ext <<_ACEOF
38745
38746 /* confdefs.h. */
38747 _ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38751
38752
38753 $ac_includes_default
38754
38755 int
38756 main ()
38757 {
38758
38759 #ifndef $wx_func
38760 &$wx_func;
38761 #endif
38762
38763
38764 ;
38765 return 0;
38766 }
38767
38768 _ACEOF
38769 rm -f conftest.$ac_objext conftest$ac_exeext
38770 if { (ac_try="$ac_link"
38771 case "(($ac_try" in
38772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38773 *) ac_try_echo=$ac_try;;
38774 esac
38775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38776 (eval "$ac_link") 2>conftest.er1
38777 ac_status=$?
38778 grep -v '^ *+' conftest.er1 >conftest.err
38779 rm -f conftest.er1
38780 cat conftest.err >&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } && {
38783 test -z "$ac_c_werror_flag" ||
38784 test ! -s conftest.err
38785 } && test -s conftest$ac_exeext &&
38786 $as_test_x conftest$ac_exeext; then
38787 eval wx_cv_func_$wx_func=yes
38788 else
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38791
38792 eval wx_cv_func_$wx_func=no
38793 fi
38794
38795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38796 conftest$ac_exeext conftest.$ac_ext
38797
38798 fi
38799 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38800 { echo "$as_me:$LINENO: result: $ac_res" >&5
38801 echo "${ECHO_T}$ac_res" >&6; }
38802
38803 if eval test \$wx_cv_func_$wx_func = yes
38804 then
38805 cat >>confdefs.h <<_ACEOF
38806 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38807 _ACEOF
38808
38809
38810 else
38811 :
38812
38813 fi
38814 done
38815
38816 fi
38817
38818 ac_ext=cpp
38819 ac_cpp='$CXXCPP $CPPFLAGS'
38820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38823
38824
38825 for wx_func in round
38826 do
38827 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38829 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38831 else
38832
38833 cat >conftest.$ac_ext <<_ACEOF
38834
38835 /* confdefs.h. */
38836 _ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840
38841 #include <math.h>
38842 $ac_includes_default
38843
38844 int
38845 main ()
38846 {
38847
38848 #ifndef $wx_func
38849 &$wx_func;
38850 #endif
38851
38852
38853 ;
38854 return 0;
38855 }
38856
38857 _ACEOF
38858 rm -f conftest.$ac_objext conftest$ac_exeext
38859 if { (ac_try="$ac_link"
38860 case "(($ac_try" in
38861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38862 *) ac_try_echo=$ac_try;;
38863 esac
38864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38865 (eval "$ac_link") 2>conftest.er1
38866 ac_status=$?
38867 grep -v '^ *+' conftest.er1 >conftest.err
38868 rm -f conftest.er1
38869 cat conftest.err >&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } && {
38872 test -z "$ac_cxx_werror_flag" ||
38873 test ! -s conftest.err
38874 } && test -s conftest$ac_exeext &&
38875 $as_test_x conftest$ac_exeext; then
38876 eval wx_cv_func_$wx_func=yes
38877 else
38878 echo "$as_me: failed program was:" >&5
38879 sed 's/^/| /' conftest.$ac_ext >&5
38880
38881 eval wx_cv_func_$wx_func=no
38882 fi
38883
38884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38885 conftest$ac_exeext conftest.$ac_ext
38886
38887 fi
38888 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38889 { echo "$as_me:$LINENO: result: $ac_res" >&5
38890 echo "${ECHO_T}$ac_res" >&6; }
38891
38892 if eval test \$wx_cv_func_$wx_func = yes
38893 then
38894 cat >>confdefs.h <<_ACEOF
38895 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38896 _ACEOF
38897
38898
38899 else
38900 :
38901
38902 fi
38903 done
38904
38905 ac_ext=c
38906 ac_cpp='$CPP $CPPFLAGS'
38907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38910
38911
38912 if test "$TOOLKIT" != "MSW"; then
38913
38914
38915
38916
38917
38918 # Check whether --with-libiconv-prefix was given.
38919 if test "${with_libiconv_prefix+set}" = set; then
38920 withval=$with_libiconv_prefix;
38921 for dir in `echo "$withval" | tr : ' '`; do
38922 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38923 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38924 done
38925
38926 fi
38927
38928
38929 { echo "$as_me:$LINENO: checking for iconv" >&5
38930 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38931 if test "${am_cv_func_iconv+set}" = set; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 else
38934
38935 am_cv_func_iconv="no, consider installing GNU libiconv"
38936 am_cv_lib_iconv=no
38937 cat >conftest.$ac_ext <<_ACEOF
38938 /* confdefs.h. */
38939 _ACEOF
38940 cat confdefs.h >>conftest.$ac_ext
38941 cat >>conftest.$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 #include <stdlib.h>
38944 #include <iconv.h>
38945 int
38946 main ()
38947 {
38948 iconv_t cd = iconv_open("","");
38949 iconv(cd,NULL,NULL,NULL,NULL);
38950 iconv_close(cd);
38951 ;
38952 return 0;
38953 }
38954 _ACEOF
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (ac_try="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38960 esac
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38963 ac_status=$?
38964 grep -v '^ *+' conftest.er1 >conftest.err
38965 rm -f conftest.er1
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38973 am_cv_func_iconv=yes
38974 else
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38977
38978
38979 fi
38980
38981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38982 conftest$ac_exeext conftest.$ac_ext
38983 if test "$am_cv_func_iconv" != yes; then
38984 am_save_LIBS="$LIBS"
38985 LIBS="$LIBS -liconv"
38986 cat >conftest.$ac_ext <<_ACEOF
38987 /* confdefs.h. */
38988 _ACEOF
38989 cat confdefs.h >>conftest.$ac_ext
38990 cat >>conftest.$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38992 #include <stdlib.h>
38993 #include <iconv.h>
38994 int
38995 main ()
38996 {
38997 iconv_t cd = iconv_open("","");
38998 iconv(cd,NULL,NULL,NULL,NULL);
38999 iconv_close(cd);
39000 ;
39001 return 0;
39002 }
39003 _ACEOF
39004 rm -f conftest.$ac_objext conftest$ac_exeext
39005 if { (ac_try="$ac_link"
39006 case "(($ac_try" in
39007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39008 *) ac_try_echo=$ac_try;;
39009 esac
39010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39011 (eval "$ac_link") 2>conftest.er1
39012 ac_status=$?
39013 grep -v '^ *+' conftest.er1 >conftest.err
39014 rm -f conftest.er1
39015 cat conftest.err >&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } && {
39018 test -z "$ac_c_werror_flag" ||
39019 test ! -s conftest.err
39020 } && test -s conftest$ac_exeext &&
39021 $as_test_x conftest$ac_exeext; then
39022 am_cv_lib_iconv=yes
39023 am_cv_func_iconv=yes
39024 else
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.$ac_ext >&5
39027
39028
39029 fi
39030
39031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39032 conftest$ac_exeext conftest.$ac_ext
39033 LIBS="$am_save_LIBS"
39034 fi
39035
39036 fi
39037 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39038 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39039 if test "$am_cv_func_iconv" = yes; then
39040
39041 cat >>confdefs.h <<\_ACEOF
39042 #define HAVE_ICONV 1
39043 _ACEOF
39044
39045 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39046 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39047 if test "${wx_cv_func_iconv_const+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 else
39050 cat >conftest.$ac_ext <<_ACEOF
39051 /* confdefs.h. */
39052 _ACEOF
39053 cat confdefs.h >>conftest.$ac_ext
39054 cat >>conftest.$ac_ext <<_ACEOF
39055 /* end confdefs.h. */
39056
39057 #include <stdlib.h>
39058 #include <iconv.h>
39059 extern
39060 #ifdef __cplusplus
39061 "C"
39062 #endif
39063 #if defined(__STDC__) || defined(__cplusplus)
39064 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39065 #else
39066 size_t iconv();
39067 #endif
39068
39069 int
39070 main ()
39071 {
39072
39073 ;
39074 return 0;
39075 }
39076 _ACEOF
39077 rm -f conftest.$ac_objext
39078 if { (ac_try="$ac_compile"
39079 case "(($ac_try" in
39080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39081 *) ac_try_echo=$ac_try;;
39082 esac
39083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39084 (eval "$ac_compile") 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } && {
39091 test -z "$ac_c_werror_flag" ||
39092 test ! -s conftest.err
39093 } && test -s conftest.$ac_objext; then
39094 wx_cv_func_iconv_const="no"
39095 else
39096 echo "$as_me: failed program was:" >&5
39097 sed 's/^/| /' conftest.$ac_ext >&5
39098
39099 wx_cv_func_iconv_const="yes"
39100
39101 fi
39102
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104
39105 fi
39106 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39107 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39108
39109 iconv_const=
39110 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39111 iconv_const="const"
39112 fi
39113
39114
39115 cat >>confdefs.h <<_ACEOF
39116 #define ICONV_CONST $iconv_const
39117 _ACEOF
39118
39119 fi
39120 LIBICONV=
39121 if test "$am_cv_lib_iconv" = yes; then
39122 LIBICONV="-liconv"
39123 fi
39124
39125
39126 LIBS="$LIBICONV $LIBS"
39127
39128 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39129
39130 for ac_func in sigaction
39131 do
39132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39137 else
39138 cat >conftest.$ac_ext <<_ACEOF
39139 /* confdefs.h. */
39140 _ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39146 #define $ac_func innocuous_$ac_func
39147
39148 /* System header to define __stub macros and hopefully few prototypes,
39149 which can conflict with char $ac_func (); below.
39150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39151 <limits.h> exists even on freestanding compilers. */
39152
39153 #ifdef __STDC__
39154 # include <limits.h>
39155 #else
39156 # include <assert.h>
39157 #endif
39158
39159 #undef $ac_func
39160
39161 /* Override any GCC internal prototype to avoid an error.
39162 Use char because int might match the return type of a GCC
39163 builtin and then its argument prototype would still apply. */
39164 #ifdef __cplusplus
39165 extern "C"
39166 #endif
39167 char $ac_func ();
39168 /* The GNU C library defines this for functions which it implements
39169 to always fail with ENOSYS. Some functions are actually named
39170 something starting with __ and the normal name is an alias. */
39171 #if defined __stub_$ac_func || defined __stub___$ac_func
39172 choke me
39173 #endif
39174
39175 int
39176 main ()
39177 {
39178 return $ac_func ();
39179 ;
39180 return 0;
39181 }
39182 _ACEOF
39183 rm -f conftest.$ac_objext conftest$ac_exeext
39184 if { (ac_try="$ac_link"
39185 case "(($ac_try" in
39186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39187 *) ac_try_echo=$ac_try;;
39188 esac
39189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39190 (eval "$ac_link") 2>conftest.er1
39191 ac_status=$?
39192 grep -v '^ *+' conftest.er1 >conftest.err
39193 rm -f conftest.er1
39194 cat conftest.err >&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); } && {
39197 test -z "$ac_c_werror_flag" ||
39198 test ! -s conftest.err
39199 } && test -s conftest$ac_exeext &&
39200 $as_test_x conftest$ac_exeext; then
39201 eval "$as_ac_var=yes"
39202 else
39203 echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39205
39206 eval "$as_ac_var=no"
39207 fi
39208
39209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39210 conftest$ac_exeext conftest.$ac_ext
39211 fi
39212 ac_res=`eval echo '${'$as_ac_var'}'`
39213 { echo "$as_me:$LINENO: result: $ac_res" >&5
39214 echo "${ECHO_T}$ac_res" >&6; }
39215 if test `eval echo '${'$as_ac_var'}'` = yes; then
39216 cat >>confdefs.h <<_ACEOF
39217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39218 _ACEOF
39219
39220 fi
39221 done
39222
39223
39224 if test "$ac_cv_func_sigaction" = "no"; then
39225 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39226 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39227 wxUSE_ON_FATAL_EXCEPTION=no
39228 fi
39229
39230 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39231 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39232 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39233 if test "${wx_cv_type_sa_handler+set}" = set; then
39234 echo $ECHO_N "(cached) $ECHO_C" >&6
39235 else
39236
39237 ac_ext=cpp
39238 ac_cpp='$CXXCPP $CPPFLAGS'
39239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39242
39243 cat >conftest.$ac_ext <<_ACEOF
39244 /* confdefs.h. */
39245 _ACEOF
39246 cat confdefs.h >>conftest.$ac_ext
39247 cat >>conftest.$ac_ext <<_ACEOF
39248 /* end confdefs.h. */
39249 #include <signal.h>
39250 int
39251 main ()
39252 {
39253
39254 extern void testSigHandler(int);
39255
39256 struct sigaction sa;
39257 sa.sa_handler = testSigHandler;
39258
39259 ;
39260 return 0;
39261 }
39262 _ACEOF
39263 rm -f conftest.$ac_objext
39264 if { (ac_try="$ac_compile"
39265 case "(($ac_try" in
39266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39267 *) ac_try_echo=$ac_try;;
39268 esac
39269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39270 (eval "$ac_compile") 2>conftest.er1
39271 ac_status=$?
39272 grep -v '^ *+' conftest.er1 >conftest.err
39273 rm -f conftest.er1
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } && {
39277 test -z "$ac_cxx_werror_flag" ||
39278 test ! -s conftest.err
39279 } && test -s conftest.$ac_objext; then
39280
39281 wx_cv_type_sa_handler=int
39282
39283 else
39284 echo "$as_me: failed program was:" >&5
39285 sed 's/^/| /' conftest.$ac_ext >&5
39286
39287
39288 wx_cv_type_sa_handler=void
39289
39290 fi
39291
39292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39293 ac_ext=c
39294 ac_cpp='$CPP $CPPFLAGS'
39295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39298
39299
39300 fi
39301 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39302 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39303
39304 cat >>confdefs.h <<_ACEOF
39305 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39306 _ACEOF
39307
39308 fi
39309 fi
39310
39311 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39312 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39313 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39314 if test "${wx_cv_func_backtrace+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317
39318 ac_ext=cpp
39319 ac_cpp='$CXXCPP $CPPFLAGS'
39320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39323
39324 cat >conftest.$ac_ext <<_ACEOF
39325 /* confdefs.h. */
39326 _ACEOF
39327 cat confdefs.h >>conftest.$ac_ext
39328 cat >>conftest.$ac_ext <<_ACEOF
39329 /* end confdefs.h. */
39330 #include <execinfo.h>
39331 int
39332 main ()
39333 {
39334
39335 void *trace[1];
39336 char **messages;
39337
39338 backtrace(trace, 1);
39339 messages = backtrace_symbols(trace, 1);
39340
39341 ;
39342 return 0;
39343 }
39344 _ACEOF
39345 rm -f conftest.$ac_objext
39346 if { (ac_try="$ac_compile"
39347 case "(($ac_try" in
39348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39349 *) ac_try_echo=$ac_try;;
39350 esac
39351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39352 (eval "$ac_compile") 2>conftest.er1
39353 ac_status=$?
39354 grep -v '^ *+' conftest.er1 >conftest.err
39355 rm -f conftest.er1
39356 cat conftest.err >&5
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); } && {
39359 test -z "$ac_cxx_werror_flag" ||
39360 test ! -s conftest.err
39361 } && test -s conftest.$ac_objext; then
39362 wx_cv_func_backtrace=yes
39363 else
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39366
39367 wx_cv_func_backtrace=no
39368
39369 fi
39370
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39377
39378
39379
39380 fi
39381 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39382 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39383
39384
39385 if test "$wx_cv_func_backtrace" = "no"; then
39386 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39387 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39388 wxUSE_STACKWALKER=no
39389 else
39390 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39391 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39392 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39394 else
39395
39396 ac_ext=cpp
39397 ac_cpp='$CXXCPP $CPPFLAGS'
39398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39401
39402 cat >conftest.$ac_ext <<_ACEOF
39403 /* confdefs.h. */
39404 _ACEOF
39405 cat confdefs.h >>conftest.$ac_ext
39406 cat >>conftest.$ac_ext <<_ACEOF
39407 /* end confdefs.h. */
39408 #include <cxxabi.h>
39409 int
39410 main ()
39411 {
39412
39413 int rc;
39414 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39415
39416 ;
39417 return 0;
39418 }
39419 _ACEOF
39420 rm -f conftest.$ac_objext conftest$ac_exeext
39421 if { (ac_try="$ac_link"
39422 case "(($ac_try" in
39423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39424 *) ac_try_echo=$ac_try;;
39425 esac
39426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39427 (eval "$ac_link") 2>conftest.er1
39428 ac_status=$?
39429 grep -v '^ *+' conftest.er1 >conftest.err
39430 rm -f conftest.er1
39431 cat conftest.err >&5
39432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39433 (exit $ac_status); } && {
39434 test -z "$ac_cxx_werror_flag" ||
39435 test ! -s conftest.err
39436 } && test -s conftest$ac_exeext &&
39437 $as_test_x conftest$ac_exeext; then
39438 wx_cv_func_cxa_demangle=yes
39439 else
39440 echo "$as_me: failed program was:" >&5
39441 sed 's/^/| /' conftest.$ac_ext >&5
39442
39443 wx_cv_func_cxa_demangle=no
39444
39445 fi
39446
39447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39448 conftest$ac_exeext conftest.$ac_ext
39449 ac_ext=c
39450 ac_cpp='$CPP $CPPFLAGS'
39451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39454
39455
39456
39457 fi
39458 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39459 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39460
39461 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39462 cat >>confdefs.h <<\_ACEOF
39463 #define HAVE_CXA_DEMANGLE 1
39464 _ACEOF
39465
39466 fi
39467 fi
39468 fi
39469
39470 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39471 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39472 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39473 wxUSE_STACKWALKER=no
39474 fi
39475
39476
39477
39478
39479 for ac_func in mkstemp mktemp
39480 do
39481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39486 else
39487 cat >conftest.$ac_ext <<_ACEOF
39488 /* confdefs.h. */
39489 _ACEOF
39490 cat confdefs.h >>conftest.$ac_ext
39491 cat >>conftest.$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39495 #define $ac_func innocuous_$ac_func
39496
39497 /* System header to define __stub macros and hopefully few prototypes,
39498 which can conflict with char $ac_func (); below.
39499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39500 <limits.h> exists even on freestanding compilers. */
39501
39502 #ifdef __STDC__
39503 # include <limits.h>
39504 #else
39505 # include <assert.h>
39506 #endif
39507
39508 #undef $ac_func
39509
39510 /* Override any GCC internal prototype to avoid an error.
39511 Use char because int might match the return type of a GCC
39512 builtin and then its argument prototype would still apply. */
39513 #ifdef __cplusplus
39514 extern "C"
39515 #endif
39516 char $ac_func ();
39517 /* The GNU C library defines this for functions which it implements
39518 to always fail with ENOSYS. Some functions are actually named
39519 something starting with __ and the normal name is an alias. */
39520 #if defined __stub_$ac_func || defined __stub___$ac_func
39521 choke me
39522 #endif
39523
39524 int
39525 main ()
39526 {
39527 return $ac_func ();
39528 ;
39529 return 0;
39530 }
39531 _ACEOF
39532 rm -f conftest.$ac_objext conftest$ac_exeext
39533 if { (ac_try="$ac_link"
39534 case "(($ac_try" in
39535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39536 *) ac_try_echo=$ac_try;;
39537 esac
39538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39539 (eval "$ac_link") 2>conftest.er1
39540 ac_status=$?
39541 grep -v '^ *+' conftest.er1 >conftest.err
39542 rm -f conftest.er1
39543 cat conftest.err >&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); } && {
39546 test -z "$ac_c_werror_flag" ||
39547 test ! -s conftest.err
39548 } && test -s conftest$ac_exeext &&
39549 $as_test_x conftest$ac_exeext; then
39550 eval "$as_ac_var=yes"
39551 else
39552 echo "$as_me: failed program was:" >&5
39553 sed 's/^/| /' conftest.$ac_ext >&5
39554
39555 eval "$as_ac_var=no"
39556 fi
39557
39558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39559 conftest$ac_exeext conftest.$ac_ext
39560 fi
39561 ac_res=`eval echo '${'$as_ac_var'}'`
39562 { echo "$as_me:$LINENO: result: $ac_res" >&5
39563 echo "${ECHO_T}$ac_res" >&6; }
39564 if test `eval echo '${'$as_ac_var'}'` = yes; then
39565 cat >>confdefs.h <<_ACEOF
39566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39567 _ACEOF
39568 break
39569 fi
39570 done
39571
39572
39573 { echo "$as_me:$LINENO: checking for statfs" >&5
39574 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39575 if test "${wx_cv_func_statfs+set}" = set; then
39576 echo $ECHO_N "(cached) $ECHO_C" >&6
39577 else
39578 cat >conftest.$ac_ext <<_ACEOF
39579 /* confdefs.h. */
39580 _ACEOF
39581 cat confdefs.h >>conftest.$ac_ext
39582 cat >>conftest.$ac_ext <<_ACEOF
39583 /* end confdefs.h. */
39584
39585 #if defined(__BSD__)
39586 #include <sys/param.h>
39587 #include <sys/mount.h>
39588 #else
39589 #include <sys/vfs.h>
39590 #endif
39591
39592 int
39593 main ()
39594 {
39595
39596 long l;
39597 struct statfs fs;
39598 statfs("/", &fs);
39599 l = fs.f_bsize;
39600 l += fs.f_blocks;
39601 l += fs.f_bavail;
39602
39603 ;
39604 return 0;
39605 }
39606 _ACEOF
39607 rm -f conftest.$ac_objext
39608 if { (ac_try="$ac_compile"
39609 case "(($ac_try" in
39610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39611 *) ac_try_echo=$ac_try;;
39612 esac
39613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39614 (eval "$ac_compile") 2>conftest.er1
39615 ac_status=$?
39616 grep -v '^ *+' conftest.er1 >conftest.err
39617 rm -f conftest.er1
39618 cat conftest.err >&5
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); } && {
39621 test -z "$ac_c_werror_flag" ||
39622 test ! -s conftest.err
39623 } && test -s conftest.$ac_objext; then
39624 wx_cv_func_statfs=yes
39625 else
39626 echo "$as_me: failed program was:" >&5
39627 sed 's/^/| /' conftest.$ac_ext >&5
39628
39629 wx_cv_func_statfs=no
39630
39631 fi
39632
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39634
39635 fi
39636 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39637 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39638
39639 if test "$wx_cv_func_statfs" = "yes"; then
39640 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39641 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39642 if test "${wx_cv_func_statfs_decl+set}" = set; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39644 else
39645 ac_ext=cpp
39646 ac_cpp='$CXXCPP $CPPFLAGS'
39647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39650
39651 cat >conftest.$ac_ext <<_ACEOF
39652 /* confdefs.h. */
39653 _ACEOF
39654 cat confdefs.h >>conftest.$ac_ext
39655 cat >>conftest.$ac_ext <<_ACEOF
39656 /* end confdefs.h. */
39657
39658 #if defined(__BSD__)
39659 #include <sys/param.h>
39660 #include <sys/mount.h>
39661 #else
39662 #include <sys/vfs.h>
39663 #endif
39664
39665 int
39666 main ()
39667 {
39668
39669 struct statfs fs;
39670 statfs("", &fs);
39671
39672 ;
39673 return 0;
39674 }
39675 _ACEOF
39676 rm -f conftest.$ac_objext
39677 if { (ac_try="$ac_compile"
39678 case "(($ac_try" in
39679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39680 *) ac_try_echo=$ac_try;;
39681 esac
39682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39683 (eval "$ac_compile") 2>conftest.er1
39684 ac_status=$?
39685 grep -v '^ *+' conftest.er1 >conftest.err
39686 rm -f conftest.er1
39687 cat conftest.err >&5
39688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689 (exit $ac_status); } && {
39690 test -z "$ac_cxx_werror_flag" ||
39691 test ! -s conftest.err
39692 } && test -s conftest.$ac_objext; then
39693 wx_cv_func_statfs_decl=yes
39694 else
39695 echo "$as_me: failed program was:" >&5
39696 sed 's/^/| /' conftest.$ac_ext >&5
39697
39698 wx_cv_func_statfs_decl=no
39699
39700 fi
39701
39702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39703 ac_ext=c
39704 ac_cpp='$CPP $CPPFLAGS'
39705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39708
39709
39710 fi
39711 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39712 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39713
39714 if test "$wx_cv_func_statfs_decl" = "yes"; then
39715 cat >>confdefs.h <<\_ACEOF
39716 #define HAVE_STATFS_DECL 1
39717 _ACEOF
39718
39719 fi
39720
39721 wx_cv_type_statvfs_t="struct statfs"
39722 cat >>confdefs.h <<\_ACEOF
39723 #define HAVE_STATFS 1
39724 _ACEOF
39725
39726 else
39727 { echo "$as_me:$LINENO: checking for statvfs" >&5
39728 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39729 if test "${wx_cv_func_statvfs+set}" = set; then
39730 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 else
39732 cat >conftest.$ac_ext <<_ACEOF
39733 /* confdefs.h. */
39734 _ACEOF
39735 cat confdefs.h >>conftest.$ac_ext
39736 cat >>conftest.$ac_ext <<_ACEOF
39737 /* end confdefs.h. */
39738
39739 #include <stddef.h>
39740 #include <sys/statvfs.h>
39741
39742 int
39743 main ()
39744 {
39745
39746 statvfs("/", NULL);
39747
39748 ;
39749 return 0;
39750 }
39751 _ACEOF
39752 rm -f conftest.$ac_objext
39753 if { (ac_try="$ac_compile"
39754 case "(($ac_try" in
39755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39756 *) ac_try_echo=$ac_try;;
39757 esac
39758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39759 (eval "$ac_compile") 2>conftest.er1
39760 ac_status=$?
39761 grep -v '^ *+' conftest.er1 >conftest.err
39762 rm -f conftest.er1
39763 cat conftest.err >&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } && {
39766 test -z "$ac_c_werror_flag" ||
39767 test ! -s conftest.err
39768 } && test -s conftest.$ac_objext; then
39769 wx_cv_func_statvfs=yes
39770 else
39771 echo "$as_me: failed program was:" >&5
39772 sed 's/^/| /' conftest.$ac_ext >&5
39773
39774 wx_cv_func_statvfs=no
39775
39776 fi
39777
39778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39779
39780 fi
39781 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39782 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39783
39784 if test "$wx_cv_func_statvfs" = "yes"; then
39785 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39786 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39787 if test "${wx_cv_type_statvfs_t+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39789 else
39790 ac_ext=cpp
39791 ac_cpp='$CXXCPP $CPPFLAGS'
39792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39795
39796 cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h. */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39802
39803 #include <sys/statvfs.h>
39804
39805 int
39806 main ()
39807 {
39808
39809 long l;
39810 statvfs_t fs;
39811 statvfs("/", &fs);
39812 l = fs.f_bsize;
39813 l += fs.f_blocks;
39814 l += fs.f_bavail;
39815
39816 ;
39817 return 0;
39818 }
39819 _ACEOF
39820 rm -f conftest.$ac_objext
39821 if { (ac_try="$ac_compile"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39825 esac
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_compile") 2>conftest.er1
39828 ac_status=$?
39829 grep -v '^ *+' conftest.er1 >conftest.err
39830 rm -f conftest.er1
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_cxx_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest.$ac_objext; then
39837 wx_cv_type_statvfs_t=statvfs_t
39838 else
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39841
39842
39843 cat >conftest.$ac_ext <<_ACEOF
39844 /* confdefs.h. */
39845 _ACEOF
39846 cat confdefs.h >>conftest.$ac_ext
39847 cat >>conftest.$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39849
39850 #include <sys/statvfs.h>
39851
39852 int
39853 main ()
39854 {
39855
39856 long l;
39857 struct statvfs fs;
39858 statvfs("/", &fs);
39859 l = fs.f_bsize;
39860 l += fs.f_blocks;
39861 l += fs.f_bavail;
39862
39863 ;
39864 return 0;
39865 }
39866 _ACEOF
39867 rm -f conftest.$ac_objext
39868 if { (ac_try="$ac_compile"
39869 case "(($ac_try" in
39870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39871 *) ac_try_echo=$ac_try;;
39872 esac
39873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39874 (eval "$ac_compile") 2>conftest.er1
39875 ac_status=$?
39876 grep -v '^ *+' conftest.er1 >conftest.err
39877 rm -f conftest.er1
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } && {
39881 test -z "$ac_cxx_werror_flag" ||
39882 test ! -s conftest.err
39883 } && test -s conftest.$ac_objext; then
39884 wx_cv_type_statvfs_t="struct statvfs"
39885 else
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39888
39889 wx_cv_type_statvfs_t="unknown"
39890
39891 fi
39892
39893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39894
39895
39896 fi
39897
39898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39899 ac_ext=c
39900 ac_cpp='$CPP $CPPFLAGS'
39901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39904
39905
39906 fi
39907 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39908 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39909
39910 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39911 cat >>confdefs.h <<\_ACEOF
39912 #define HAVE_STATVFS 1
39913 _ACEOF
39914
39915 fi
39916 else
39917 wx_cv_type_statvfs_t="unknown"
39918 fi
39919 fi
39920
39921 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39922 cat >>confdefs.h <<_ACEOF
39923 #define WX_STATFS_T $wx_cv_type_statvfs_t
39924 _ACEOF
39925
39926 else
39927 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39928 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39929 fi
39930
39931 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39932
39933
39934 for ac_func in fcntl flock
39935 do
39936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39940 echo $ECHO_N "(cached) $ECHO_C" >&6
39941 else
39942 cat >conftest.$ac_ext <<_ACEOF
39943 /* confdefs.h. */
39944 _ACEOF
39945 cat confdefs.h >>conftest.$ac_ext
39946 cat >>conftest.$ac_ext <<_ACEOF
39947 /* end confdefs.h. */
39948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39950 #define $ac_func innocuous_$ac_func
39951
39952 /* System header to define __stub macros and hopefully few prototypes,
39953 which can conflict with char $ac_func (); below.
39954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39955 <limits.h> exists even on freestanding compilers. */
39956
39957 #ifdef __STDC__
39958 # include <limits.h>
39959 #else
39960 # include <assert.h>
39961 #endif
39962
39963 #undef $ac_func
39964
39965 /* Override any GCC internal prototype to avoid an error.
39966 Use char because int might match the return type of a GCC
39967 builtin and then its argument prototype would still apply. */
39968 #ifdef __cplusplus
39969 extern "C"
39970 #endif
39971 char $ac_func ();
39972 /* The GNU C library defines this for functions which it implements
39973 to always fail with ENOSYS. Some functions are actually named
39974 something starting with __ and the normal name is an alias. */
39975 #if defined __stub_$ac_func || defined __stub___$ac_func
39976 choke me
39977 #endif
39978
39979 int
39980 main ()
39981 {
39982 return $ac_func ();
39983 ;
39984 return 0;
39985 }
39986 _ACEOF
39987 rm -f conftest.$ac_objext conftest$ac_exeext
39988 if { (ac_try="$ac_link"
39989 case "(($ac_try" in
39990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39991 *) ac_try_echo=$ac_try;;
39992 esac
39993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39994 (eval "$ac_link") 2>conftest.er1
39995 ac_status=$?
39996 grep -v '^ *+' conftest.er1 >conftest.err
39997 rm -f conftest.er1
39998 cat conftest.err >&5
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); } && {
40001 test -z "$ac_c_werror_flag" ||
40002 test ! -s conftest.err
40003 } && test -s conftest$ac_exeext &&
40004 $as_test_x conftest$ac_exeext; then
40005 eval "$as_ac_var=yes"
40006 else
40007 echo "$as_me: failed program was:" >&5
40008 sed 's/^/| /' conftest.$ac_ext >&5
40009
40010 eval "$as_ac_var=no"
40011 fi
40012
40013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40014 conftest$ac_exeext conftest.$ac_ext
40015 fi
40016 ac_res=`eval echo '${'$as_ac_var'}'`
40017 { echo "$as_me:$LINENO: result: $ac_res" >&5
40018 echo "${ECHO_T}$ac_res" >&6; }
40019 if test `eval echo '${'$as_ac_var'}'` = yes; then
40020 cat >>confdefs.h <<_ACEOF
40021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40022 _ACEOF
40023 break
40024 fi
40025 done
40026
40027
40028 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40029 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40030 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40031 wxUSE_SNGLINST_CHECKER=no
40032 fi
40033 fi
40034
40035
40036 for ac_func in timegm
40037 do
40038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40042 echo $ECHO_N "(cached) $ECHO_C" >&6
40043 else
40044 cat >conftest.$ac_ext <<_ACEOF
40045 /* confdefs.h. */
40046 _ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40052 #define $ac_func innocuous_$ac_func
40053
40054 /* System header to define __stub macros and hopefully few prototypes,
40055 which can conflict with char $ac_func (); below.
40056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40057 <limits.h> exists even on freestanding compilers. */
40058
40059 #ifdef __STDC__
40060 # include <limits.h>
40061 #else
40062 # include <assert.h>
40063 #endif
40064
40065 #undef $ac_func
40066
40067 /* Override any GCC internal prototype to avoid an error.
40068 Use char because int might match the return type of a GCC
40069 builtin and then its argument prototype would still apply. */
40070 #ifdef __cplusplus
40071 extern "C"
40072 #endif
40073 char $ac_func ();
40074 /* The GNU C library defines this for functions which it implements
40075 to always fail with ENOSYS. Some functions are actually named
40076 something starting with __ and the normal name is an alias. */
40077 #if defined __stub_$ac_func || defined __stub___$ac_func
40078 choke me
40079 #endif
40080
40081 int
40082 main ()
40083 {
40084 return $ac_func ();
40085 ;
40086 return 0;
40087 }
40088 _ACEOF
40089 rm -f conftest.$ac_objext conftest$ac_exeext
40090 if { (ac_try="$ac_link"
40091 case "(($ac_try" in
40092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40093 *) ac_try_echo=$ac_try;;
40094 esac
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_link") 2>conftest.er1
40097 ac_status=$?
40098 grep -v '^ *+' conftest.er1 >conftest.err
40099 rm -f conftest.er1
40100 cat conftest.err >&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } && {
40103 test -z "$ac_c_werror_flag" ||
40104 test ! -s conftest.err
40105 } && test -s conftest$ac_exeext &&
40106 $as_test_x conftest$ac_exeext; then
40107 eval "$as_ac_var=yes"
40108 else
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40111
40112 eval "$as_ac_var=no"
40113 fi
40114
40115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40116 conftest$ac_exeext conftest.$ac_ext
40117 fi
40118 ac_res=`eval echo '${'$as_ac_var'}'`
40119 { echo "$as_me:$LINENO: result: $ac_res" >&5
40120 echo "${ECHO_T}$ac_res" >&6; }
40121 if test `eval echo '${'$as_ac_var'}'` = yes; then
40122 cat >>confdefs.h <<_ACEOF
40123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40124 _ACEOF
40125
40126 fi
40127 done
40128
40129
40130
40131
40132 for ac_func in setenv putenv
40133 do
40134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 else
40140 cat >conftest.$ac_ext <<_ACEOF
40141 /* confdefs.h. */
40142 _ACEOF
40143 cat confdefs.h >>conftest.$ac_ext
40144 cat >>conftest.$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40148 #define $ac_func innocuous_$ac_func
40149
40150 /* System header to define __stub macros and hopefully few prototypes,
40151 which can conflict with char $ac_func (); below.
40152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40153 <limits.h> exists even on freestanding compilers. */
40154
40155 #ifdef __STDC__
40156 # include <limits.h>
40157 #else
40158 # include <assert.h>
40159 #endif
40160
40161 #undef $ac_func
40162
40163 /* Override any GCC internal prototype to avoid an error.
40164 Use char because int might match the return type of a GCC
40165 builtin and then its argument prototype would still apply. */
40166 #ifdef __cplusplus
40167 extern "C"
40168 #endif
40169 char $ac_func ();
40170 /* The GNU C library defines this for functions which it implements
40171 to always fail with ENOSYS. Some functions are actually named
40172 something starting with __ and the normal name is an alias. */
40173 #if defined __stub_$ac_func || defined __stub___$ac_func
40174 choke me
40175 #endif
40176
40177 int
40178 main ()
40179 {
40180 return $ac_func ();
40181 ;
40182 return 0;
40183 }
40184 _ACEOF
40185 rm -f conftest.$ac_objext conftest$ac_exeext
40186 if { (ac_try="$ac_link"
40187 case "(($ac_try" in
40188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40189 *) ac_try_echo=$ac_try;;
40190 esac
40191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40192 (eval "$ac_link") 2>conftest.er1
40193 ac_status=$?
40194 grep -v '^ *+' conftest.er1 >conftest.err
40195 rm -f conftest.er1
40196 cat conftest.err >&5
40197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198 (exit $ac_status); } && {
40199 test -z "$ac_c_werror_flag" ||
40200 test ! -s conftest.err
40201 } && test -s conftest$ac_exeext &&
40202 $as_test_x conftest$ac_exeext; then
40203 eval "$as_ac_var=yes"
40204 else
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.$ac_ext >&5
40207
40208 eval "$as_ac_var=no"
40209 fi
40210
40211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40212 conftest$ac_exeext conftest.$ac_ext
40213 fi
40214 ac_res=`eval echo '${'$as_ac_var'}'`
40215 { echo "$as_me:$LINENO: result: $ac_res" >&5
40216 echo "${ECHO_T}$ac_res" >&6; }
40217 if test `eval echo '${'$as_ac_var'}'` = yes; then
40218 cat >>confdefs.h <<_ACEOF
40219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40220 _ACEOF
40221 break
40222 fi
40223 done
40224
40225 if test "$ac_cv_func_setenv" = "yes"; then
40226
40227 for ac_func in unsetenv
40228 do
40229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40233 echo $ECHO_N "(cached) $ECHO_C" >&6
40234 else
40235 cat >conftest.$ac_ext <<_ACEOF
40236 /* confdefs.h. */
40237 _ACEOF
40238 cat confdefs.h >>conftest.$ac_ext
40239 cat >>conftest.$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40243 #define $ac_func innocuous_$ac_func
40244
40245 /* System header to define __stub macros and hopefully few prototypes,
40246 which can conflict with char $ac_func (); below.
40247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40248 <limits.h> exists even on freestanding compilers. */
40249
40250 #ifdef __STDC__
40251 # include <limits.h>
40252 #else
40253 # include <assert.h>
40254 #endif
40255
40256 #undef $ac_func
40257
40258 /* Override any GCC internal prototype to avoid an error.
40259 Use char because int might match the return type of a GCC
40260 builtin and then its argument prototype would still apply. */
40261 #ifdef __cplusplus
40262 extern "C"
40263 #endif
40264 char $ac_func ();
40265 /* The GNU C library defines this for functions which it implements
40266 to always fail with ENOSYS. Some functions are actually named
40267 something starting with __ and the normal name is an alias. */
40268 #if defined __stub_$ac_func || defined __stub___$ac_func
40269 choke me
40270 #endif
40271
40272 int
40273 main ()
40274 {
40275 return $ac_func ();
40276 ;
40277 return 0;
40278 }
40279 _ACEOF
40280 rm -f conftest.$ac_objext conftest$ac_exeext
40281 if { (ac_try="$ac_link"
40282 case "(($ac_try" in
40283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40284 *) ac_try_echo=$ac_try;;
40285 esac
40286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40287 (eval "$ac_link") 2>conftest.er1
40288 ac_status=$?
40289 grep -v '^ *+' conftest.er1 >conftest.err
40290 rm -f conftest.er1
40291 cat conftest.err >&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); } && {
40294 test -z "$ac_c_werror_flag" ||
40295 test ! -s conftest.err
40296 } && test -s conftest$ac_exeext &&
40297 $as_test_x conftest$ac_exeext; then
40298 eval "$as_ac_var=yes"
40299 else
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.$ac_ext >&5
40302
40303 eval "$as_ac_var=no"
40304 fi
40305
40306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40307 conftest$ac_exeext conftest.$ac_ext
40308 fi
40309 ac_res=`eval echo '${'$as_ac_var'}'`
40310 { echo "$as_me:$LINENO: result: $ac_res" >&5
40311 echo "${ECHO_T}$ac_res" >&6; }
40312 if test `eval echo '${'$as_ac_var'}'` = yes; then
40313 cat >>confdefs.h <<_ACEOF
40314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40315 _ACEOF
40316
40317 fi
40318 done
40319
40320 fi
40321
40322 HAVE_SOME_SLEEP_FUNC=0
40323 if test "$USE_BEOS" = 1; then
40324 cat >>confdefs.h <<\_ACEOF
40325 #define HAVE_SLEEP 1
40326 _ACEOF
40327
40328 HAVE_SOME_SLEEP_FUNC=1
40329 fi
40330
40331 if test "$USE_DARWIN" = 1; then
40332 cat >>confdefs.h <<\_ACEOF
40333 #define HAVE_USLEEP 1
40334 _ACEOF
40335
40336 HAVE_SOME_SLEEP_FUNC=1
40337 fi
40338
40339 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40340 POSIX4_LINK=
40341
40342 for ac_func in nanosleep
40343 do
40344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40348 echo $ECHO_N "(cached) $ECHO_C" >&6
40349 else
40350 cat >conftest.$ac_ext <<_ACEOF
40351 /* confdefs.h. */
40352 _ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40358 #define $ac_func innocuous_$ac_func
40359
40360 /* System header to define __stub macros and hopefully few prototypes,
40361 which can conflict with char $ac_func (); below.
40362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40363 <limits.h> exists even on freestanding compilers. */
40364
40365 #ifdef __STDC__
40366 # include <limits.h>
40367 #else
40368 # include <assert.h>
40369 #endif
40370
40371 #undef $ac_func
40372
40373 /* Override any GCC internal prototype to avoid an error.
40374 Use char because int might match the return type of a GCC
40375 builtin and then its argument prototype would still apply. */
40376 #ifdef __cplusplus
40377 extern "C"
40378 #endif
40379 char $ac_func ();
40380 /* The GNU C library defines this for functions which it implements
40381 to always fail with ENOSYS. Some functions are actually named
40382 something starting with __ and the normal name is an alias. */
40383 #if defined __stub_$ac_func || defined __stub___$ac_func
40384 choke me
40385 #endif
40386
40387 int
40388 main ()
40389 {
40390 return $ac_func ();
40391 ;
40392 return 0;
40393 }
40394 _ACEOF
40395 rm -f conftest.$ac_objext conftest$ac_exeext
40396 if { (ac_try="$ac_link"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40399 *) ac_try_echo=$ac_try;;
40400 esac
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_link") 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_c_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest$ac_exeext &&
40412 $as_test_x conftest$ac_exeext; then
40413 eval "$as_ac_var=yes"
40414 else
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.$ac_ext >&5
40417
40418 eval "$as_ac_var=no"
40419 fi
40420
40421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40422 conftest$ac_exeext conftest.$ac_ext
40423 fi
40424 ac_res=`eval echo '${'$as_ac_var'}'`
40425 { echo "$as_me:$LINENO: result: $ac_res" >&5
40426 echo "${ECHO_T}$ac_res" >&6; }
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428 cat >>confdefs.h <<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40430 _ACEOF
40431 cat >>confdefs.h <<\_ACEOF
40432 #define HAVE_NANOSLEEP 1
40433 _ACEOF
40434
40435 else
40436
40437 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40438 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40439 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 else
40442 ac_check_lib_save_LIBS=$LIBS
40443 LIBS="-lposix4 $LIBS"
40444 cat >conftest.$ac_ext <<_ACEOF
40445 /* confdefs.h. */
40446 _ACEOF
40447 cat confdefs.h >>conftest.$ac_ext
40448 cat >>conftest.$ac_ext <<_ACEOF
40449 /* end confdefs.h. */
40450
40451 /* Override any GCC internal prototype to avoid an error.
40452 Use char because int might match the return type of a GCC
40453 builtin and then its argument prototype would still apply. */
40454 #ifdef __cplusplus
40455 extern "C"
40456 #endif
40457 char nanosleep ();
40458 int
40459 main ()
40460 {
40461 return nanosleep ();
40462 ;
40463 return 0;
40464 }
40465 _ACEOF
40466 rm -f conftest.$ac_objext conftest$ac_exeext
40467 if { (ac_try="$ac_link"
40468 case "(($ac_try" in
40469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40470 *) ac_try_echo=$ac_try;;
40471 esac
40472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40473 (eval "$ac_link") 2>conftest.er1
40474 ac_status=$?
40475 grep -v '^ *+' conftest.er1 >conftest.err
40476 rm -f conftest.er1
40477 cat conftest.err >&5
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); } && {
40480 test -z "$ac_c_werror_flag" ||
40481 test ! -s conftest.err
40482 } && test -s conftest$ac_exeext &&
40483 $as_test_x conftest$ac_exeext; then
40484 ac_cv_lib_posix4_nanosleep=yes
40485 else
40486 echo "$as_me: failed program was:" >&5
40487 sed 's/^/| /' conftest.$ac_ext >&5
40488
40489 ac_cv_lib_posix4_nanosleep=no
40490 fi
40491
40492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40493 conftest$ac_exeext conftest.$ac_ext
40494 LIBS=$ac_check_lib_save_LIBS
40495 fi
40496 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40497 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40498 if test $ac_cv_lib_posix4_nanosleep = yes; then
40499
40500 cat >>confdefs.h <<\_ACEOF
40501 #define HAVE_NANOSLEEP 1
40502 _ACEOF
40503
40504 POSIX4_LINK=" -lposix4"
40505
40506 else
40507
40508
40509 for wx_func in usleep
40510 do
40511 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40512 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40513 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40514 echo $ECHO_N "(cached) $ECHO_C" >&6
40515 else
40516
40517 cat >conftest.$ac_ext <<_ACEOF
40518
40519 /* confdefs.h. */
40520 _ACEOF
40521 cat confdefs.h >>conftest.$ac_ext
40522 cat >>conftest.$ac_ext <<_ACEOF
40523 /* end confdefs.h. */
40524
40525
40526 $ac_includes_default
40527
40528 int
40529 main ()
40530 {
40531
40532 #ifndef $wx_func
40533 &$wx_func;
40534 #endif
40535
40536
40537 ;
40538 return 0;
40539 }
40540
40541 _ACEOF
40542 rm -f conftest.$ac_objext conftest$ac_exeext
40543 if { (ac_try="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40547 esac
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40550 ac_status=$?
40551 grep -v '^ *+' conftest.er1 >conftest.err
40552 rm -f conftest.er1
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest$ac_exeext &&
40559 $as_test_x conftest$ac_exeext; then
40560 eval wx_cv_func_$wx_func=yes
40561 else
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40564
40565 eval wx_cv_func_$wx_func=no
40566 fi
40567
40568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40569 conftest$ac_exeext conftest.$ac_ext
40570
40571 fi
40572 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40573 { echo "$as_me:$LINENO: result: $ac_res" >&5
40574 echo "${ECHO_T}$ac_res" >&6; }
40575
40576 if eval test \$wx_cv_func_$wx_func = yes
40577 then
40578 cat >>confdefs.h <<_ACEOF
40579 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40580 _ACEOF
40581
40582
40583 else
40584 :
40585 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40586 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40587
40588 fi
40589 done
40590
40591
40592
40593 fi
40594
40595
40596
40597 fi
40598 done
40599
40600 fi
40601
40602
40603 for wx_func in uname
40604 do
40605 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40606 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40607 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40608 echo $ECHO_N "(cached) $ECHO_C" >&6
40609 else
40610
40611 cat >conftest.$ac_ext <<_ACEOF
40612
40613 /* confdefs.h. */
40614 _ACEOF
40615 cat confdefs.h >>conftest.$ac_ext
40616 cat >>conftest.$ac_ext <<_ACEOF
40617 /* end confdefs.h. */
40618
40619 #include <sys/utsname.h>
40620 $ac_includes_default
40621
40622 int
40623 main ()
40624 {
40625
40626 #ifndef $wx_func
40627 &$wx_func;
40628 #endif
40629
40630
40631 ;
40632 return 0;
40633 }
40634
40635 _ACEOF
40636 rm -f conftest.$ac_objext conftest$ac_exeext
40637 if { (ac_try="$ac_link"
40638 case "(($ac_try" in
40639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40640 *) ac_try_echo=$ac_try;;
40641 esac
40642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40643 (eval "$ac_link") 2>conftest.er1
40644 ac_status=$?
40645 grep -v '^ *+' conftest.er1 >conftest.err
40646 rm -f conftest.er1
40647 cat conftest.err >&5
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); } && {
40650 test -z "$ac_c_werror_flag" ||
40651 test ! -s conftest.err
40652 } && test -s conftest$ac_exeext &&
40653 $as_test_x conftest$ac_exeext; then
40654 eval wx_cv_func_$wx_func=yes
40655 else
40656 echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.$ac_ext >&5
40658
40659 eval wx_cv_func_$wx_func=no
40660 fi
40661
40662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40663 conftest$ac_exeext conftest.$ac_ext
40664
40665 fi
40666 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40667 { echo "$as_me:$LINENO: result: $ac_res" >&5
40668 echo "${ECHO_T}$ac_res" >&6; }
40669
40670 if eval test \$wx_cv_func_$wx_func = yes
40671 then
40672 cat >>confdefs.h <<_ACEOF
40673 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40674 _ACEOF
40675
40676
40677 else
40678 :
40679
40680 fi
40681 done
40682
40683 if test "$wx_cv_func_uname" != yes; then
40684
40685 for wx_func in gethostname
40686 do
40687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40689 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40691 else
40692
40693 cat >conftest.$ac_ext <<_ACEOF
40694
40695 /* confdefs.h. */
40696 _ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40700
40701
40702 $ac_includes_default
40703
40704 int
40705 main ()
40706 {
40707
40708 #ifndef $wx_func
40709 &$wx_func;
40710 #endif
40711
40712
40713 ;
40714 return 0;
40715 }
40716
40717 _ACEOF
40718 rm -f conftest.$ac_objext conftest$ac_exeext
40719 if { (ac_try="$ac_link"
40720 case "(($ac_try" in
40721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40722 *) ac_try_echo=$ac_try;;
40723 esac
40724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40725 (eval "$ac_link") 2>conftest.er1
40726 ac_status=$?
40727 grep -v '^ *+' conftest.er1 >conftest.err
40728 rm -f conftest.er1
40729 cat conftest.err >&5
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); } && {
40732 test -z "$ac_c_werror_flag" ||
40733 test ! -s conftest.err
40734 } && test -s conftest$ac_exeext &&
40735 $as_test_x conftest$ac_exeext; then
40736 eval wx_cv_func_$wx_func=yes
40737 else
40738 echo "$as_me: failed program was:" >&5
40739 sed 's/^/| /' conftest.$ac_ext >&5
40740
40741 eval wx_cv_func_$wx_func=no
40742 fi
40743
40744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40745 conftest$ac_exeext conftest.$ac_ext
40746
40747 fi
40748 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40749 { echo "$as_me:$LINENO: result: $ac_res" >&5
40750 echo "${ECHO_T}$ac_res" >&6; }
40751
40752 if eval test \$wx_cv_func_$wx_func = yes
40753 then
40754 cat >>confdefs.h <<_ACEOF
40755 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40756 _ACEOF
40757
40758
40759 else
40760 :
40761
40762 fi
40763 done
40764
40765 fi
40766
40767
40768 for wx_func in strtok_r
40769 do
40770 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40771 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40772 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 else
40775
40776 cat >conftest.$ac_ext <<_ACEOF
40777
40778 /* confdefs.h. */
40779 _ACEOF
40780 cat confdefs.h >>conftest.$ac_ext
40781 cat >>conftest.$ac_ext <<_ACEOF
40782 /* end confdefs.h. */
40783
40784 #define _REENTRANT
40785 $ac_includes_default
40786
40787 int
40788 main ()
40789 {
40790
40791 #ifndef $wx_func
40792 &$wx_func;
40793 #endif
40794
40795
40796 ;
40797 return 0;
40798 }
40799
40800 _ACEOF
40801 rm -f conftest.$ac_objext conftest$ac_exeext
40802 if { (ac_try="$ac_link"
40803 case "(($ac_try" in
40804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40805 *) ac_try_echo=$ac_try;;
40806 esac
40807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40808 (eval "$ac_link") 2>conftest.er1
40809 ac_status=$?
40810 grep -v '^ *+' conftest.er1 >conftest.err
40811 rm -f conftest.er1
40812 cat conftest.err >&5
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); } && {
40815 test -z "$ac_c_werror_flag" ||
40816 test ! -s conftest.err
40817 } && test -s conftest$ac_exeext &&
40818 $as_test_x conftest$ac_exeext; then
40819 eval wx_cv_func_$wx_func=yes
40820 else
40821 echo "$as_me: failed program was:" >&5
40822 sed 's/^/| /' conftest.$ac_ext >&5
40823
40824 eval wx_cv_func_$wx_func=no
40825 fi
40826
40827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40828 conftest$ac_exeext conftest.$ac_ext
40829
40830 fi
40831 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40832 { echo "$as_me:$LINENO: result: $ac_res" >&5
40833 echo "${ECHO_T}$ac_res" >&6; }
40834
40835 if eval test \$wx_cv_func_$wx_func = yes
40836 then
40837 cat >>confdefs.h <<_ACEOF
40838 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40839 _ACEOF
40840
40841
40842 else
40843 :
40844
40845 fi
40846 done
40847
40848
40849 INET_LINK=
40850
40851 for ac_func in inet_addr
40852 do
40853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40857 echo $ECHO_N "(cached) $ECHO_C" >&6
40858 else
40859 cat >conftest.$ac_ext <<_ACEOF
40860 /* confdefs.h. */
40861 _ACEOF
40862 cat confdefs.h >>conftest.$ac_ext
40863 cat >>conftest.$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40867 #define $ac_func innocuous_$ac_func
40868
40869 /* System header to define __stub macros and hopefully few prototypes,
40870 which can conflict with char $ac_func (); below.
40871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40872 <limits.h> exists even on freestanding compilers. */
40873
40874 #ifdef __STDC__
40875 # include <limits.h>
40876 #else
40877 # include <assert.h>
40878 #endif
40879
40880 #undef $ac_func
40881
40882 /* Override any GCC internal prototype to avoid an error.
40883 Use char because int might match the return type of a GCC
40884 builtin and then its argument prototype would still apply. */
40885 #ifdef __cplusplus
40886 extern "C"
40887 #endif
40888 char $ac_func ();
40889 /* The GNU C library defines this for functions which it implements
40890 to always fail with ENOSYS. Some functions are actually named
40891 something starting with __ and the normal name is an alias. */
40892 #if defined __stub_$ac_func || defined __stub___$ac_func
40893 choke me
40894 #endif
40895
40896 int
40897 main ()
40898 {
40899 return $ac_func ();
40900 ;
40901 return 0;
40902 }
40903 _ACEOF
40904 rm -f conftest.$ac_objext conftest$ac_exeext
40905 if { (ac_try="$ac_link"
40906 case "(($ac_try" in
40907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40908 *) ac_try_echo=$ac_try;;
40909 esac
40910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40911 (eval "$ac_link") 2>conftest.er1
40912 ac_status=$?
40913 grep -v '^ *+' conftest.er1 >conftest.err
40914 rm -f conftest.er1
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } && {
40918 test -z "$ac_c_werror_flag" ||
40919 test ! -s conftest.err
40920 } && test -s conftest$ac_exeext &&
40921 $as_test_x conftest$ac_exeext; then
40922 eval "$as_ac_var=yes"
40923 else
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40926
40927 eval "$as_ac_var=no"
40928 fi
40929
40930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40931 conftest$ac_exeext conftest.$ac_ext
40932 fi
40933 ac_res=`eval echo '${'$as_ac_var'}'`
40934 { echo "$as_me:$LINENO: result: $ac_res" >&5
40935 echo "${ECHO_T}$ac_res" >&6; }
40936 if test `eval echo '${'$as_ac_var'}'` = yes; then
40937 cat >>confdefs.h <<_ACEOF
40938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40939 _ACEOF
40940 cat >>confdefs.h <<\_ACEOF
40941 #define HAVE_INET_ADDR 1
40942 _ACEOF
40943
40944 else
40945
40946 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40947 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40948 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40949 echo $ECHO_N "(cached) $ECHO_C" >&6
40950 else
40951 ac_check_lib_save_LIBS=$LIBS
40952 LIBS="-lnsl $LIBS"
40953 cat >conftest.$ac_ext <<_ACEOF
40954 /* confdefs.h. */
40955 _ACEOF
40956 cat confdefs.h >>conftest.$ac_ext
40957 cat >>conftest.$ac_ext <<_ACEOF
40958 /* end confdefs.h. */
40959
40960 /* Override any GCC internal prototype to avoid an error.
40961 Use char because int might match the return type of a GCC
40962 builtin and then its argument prototype would still apply. */
40963 #ifdef __cplusplus
40964 extern "C"
40965 #endif
40966 char inet_addr ();
40967 int
40968 main ()
40969 {
40970 return inet_addr ();
40971 ;
40972 return 0;
40973 }
40974 _ACEOF
40975 rm -f conftest.$ac_objext conftest$ac_exeext
40976 if { (ac_try="$ac_link"
40977 case "(($ac_try" in
40978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40979 *) ac_try_echo=$ac_try;;
40980 esac
40981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40982 (eval "$ac_link") 2>conftest.er1
40983 ac_status=$?
40984 grep -v '^ *+' conftest.er1 >conftest.err
40985 rm -f conftest.er1
40986 cat conftest.err >&5
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); } && {
40989 test -z "$ac_c_werror_flag" ||
40990 test ! -s conftest.err
40991 } && test -s conftest$ac_exeext &&
40992 $as_test_x conftest$ac_exeext; then
40993 ac_cv_lib_nsl_inet_addr=yes
40994 else
40995 echo "$as_me: failed program was:" >&5
40996 sed 's/^/| /' conftest.$ac_ext >&5
40997
40998 ac_cv_lib_nsl_inet_addr=no
40999 fi
41000
41001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41002 conftest$ac_exeext conftest.$ac_ext
41003 LIBS=$ac_check_lib_save_LIBS
41004 fi
41005 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41006 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41007 if test $ac_cv_lib_nsl_inet_addr = yes; then
41008 INET_LINK="nsl"
41009 else
41010
41011 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41012 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41013 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41014 echo $ECHO_N "(cached) $ECHO_C" >&6
41015 else
41016 ac_check_lib_save_LIBS=$LIBS
41017 LIBS="-lresolv $LIBS"
41018 cat >conftest.$ac_ext <<_ACEOF
41019 /* confdefs.h. */
41020 _ACEOF
41021 cat confdefs.h >>conftest.$ac_ext
41022 cat >>conftest.$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024
41025 /* Override any GCC internal prototype to avoid an error.
41026 Use char because int might match the return type of a GCC
41027 builtin and then its argument prototype would still apply. */
41028 #ifdef __cplusplus
41029 extern "C"
41030 #endif
41031 char inet_addr ();
41032 int
41033 main ()
41034 {
41035 return inet_addr ();
41036 ;
41037 return 0;
41038 }
41039 _ACEOF
41040 rm -f conftest.$ac_objext conftest$ac_exeext
41041 if { (ac_try="$ac_link"
41042 case "(($ac_try" in
41043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41044 *) ac_try_echo=$ac_try;;
41045 esac
41046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41047 (eval "$ac_link") 2>conftest.er1
41048 ac_status=$?
41049 grep -v '^ *+' conftest.er1 >conftest.err
41050 rm -f conftest.er1
41051 cat conftest.err >&5
41052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41053 (exit $ac_status); } && {
41054 test -z "$ac_c_werror_flag" ||
41055 test ! -s conftest.err
41056 } && test -s conftest$ac_exeext &&
41057 $as_test_x conftest$ac_exeext; then
41058 ac_cv_lib_resolv_inet_addr=yes
41059 else
41060 echo "$as_me: failed program was:" >&5
41061 sed 's/^/| /' conftest.$ac_ext >&5
41062
41063 ac_cv_lib_resolv_inet_addr=no
41064 fi
41065
41066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41067 conftest$ac_exeext conftest.$ac_ext
41068 LIBS=$ac_check_lib_save_LIBS
41069 fi
41070 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41071 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41072 if test $ac_cv_lib_resolv_inet_addr = yes; then
41073 INET_LINK="resolv"
41074 else
41075
41076 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41077 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41078 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41079 echo $ECHO_N "(cached) $ECHO_C" >&6
41080 else
41081 ac_check_lib_save_LIBS=$LIBS
41082 LIBS="-lsocket $LIBS"
41083 cat >conftest.$ac_ext <<_ACEOF
41084 /* confdefs.h. */
41085 _ACEOF
41086 cat confdefs.h >>conftest.$ac_ext
41087 cat >>conftest.$ac_ext <<_ACEOF
41088 /* end confdefs.h. */
41089
41090 /* Override any GCC internal prototype to avoid an error.
41091 Use char because int might match the return type of a GCC
41092 builtin and then its argument prototype would still apply. */
41093 #ifdef __cplusplus
41094 extern "C"
41095 #endif
41096 char inet_addr ();
41097 int
41098 main ()
41099 {
41100 return inet_addr ();
41101 ;
41102 return 0;
41103 }
41104 _ACEOF
41105 rm -f conftest.$ac_objext conftest$ac_exeext
41106 if { (ac_try="$ac_link"
41107 case "(($ac_try" in
41108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41109 *) ac_try_echo=$ac_try;;
41110 esac
41111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41112 (eval "$ac_link") 2>conftest.er1
41113 ac_status=$?
41114 grep -v '^ *+' conftest.er1 >conftest.err
41115 rm -f conftest.er1
41116 cat conftest.err >&5
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } && {
41119 test -z "$ac_c_werror_flag" ||
41120 test ! -s conftest.err
41121 } && test -s conftest$ac_exeext &&
41122 $as_test_x conftest$ac_exeext; then
41123 ac_cv_lib_socket_inet_addr=yes
41124 else
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41127
41128 ac_cv_lib_socket_inet_addr=no
41129 fi
41130
41131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41132 conftest$ac_exeext conftest.$ac_ext
41133 LIBS=$ac_check_lib_save_LIBS
41134 fi
41135 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41136 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41137 if test $ac_cv_lib_socket_inet_addr = yes; then
41138 INET_LINK="socket"
41139
41140 fi
41141
41142
41143
41144 fi
41145
41146
41147
41148 fi
41149
41150
41151
41152 fi
41153 done
41154
41155
41156
41157 for ac_func in inet_aton
41158 do
41159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41163 echo $ECHO_N "(cached) $ECHO_C" >&6
41164 else
41165 cat >conftest.$ac_ext <<_ACEOF
41166 /* confdefs.h. */
41167 _ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41173 #define $ac_func innocuous_$ac_func
41174
41175 /* System header to define __stub macros and hopefully few prototypes,
41176 which can conflict with char $ac_func (); below.
41177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41178 <limits.h> exists even on freestanding compilers. */
41179
41180 #ifdef __STDC__
41181 # include <limits.h>
41182 #else
41183 # include <assert.h>
41184 #endif
41185
41186 #undef $ac_func
41187
41188 /* Override any GCC internal prototype to avoid an error.
41189 Use char because int might match the return type of a GCC
41190 builtin and then its argument prototype would still apply. */
41191 #ifdef __cplusplus
41192 extern "C"
41193 #endif
41194 char $ac_func ();
41195 /* The GNU C library defines this for functions which it implements
41196 to always fail with ENOSYS. Some functions are actually named
41197 something starting with __ and the normal name is an alias. */
41198 #if defined __stub_$ac_func || defined __stub___$ac_func
41199 choke me
41200 #endif
41201
41202 int
41203 main ()
41204 {
41205 return $ac_func ();
41206 ;
41207 return 0;
41208 }
41209 _ACEOF
41210 rm -f conftest.$ac_objext conftest$ac_exeext
41211 if { (ac_try="$ac_link"
41212 case "(($ac_try" in
41213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41214 *) ac_try_echo=$ac_try;;
41215 esac
41216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41217 (eval "$ac_link") 2>conftest.er1
41218 ac_status=$?
41219 grep -v '^ *+' conftest.er1 >conftest.err
41220 rm -f conftest.er1
41221 cat conftest.err >&5
41222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41223 (exit $ac_status); } && {
41224 test -z "$ac_c_werror_flag" ||
41225 test ! -s conftest.err
41226 } && test -s conftest$ac_exeext &&
41227 $as_test_x conftest$ac_exeext; then
41228 eval "$as_ac_var=yes"
41229 else
41230 echo "$as_me: failed program was:" >&5
41231 sed 's/^/| /' conftest.$ac_ext >&5
41232
41233 eval "$as_ac_var=no"
41234 fi
41235
41236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41237 conftest$ac_exeext conftest.$ac_ext
41238 fi
41239 ac_res=`eval echo '${'$as_ac_var'}'`
41240 { echo "$as_me:$LINENO: result: $ac_res" >&5
41241 echo "${ECHO_T}$ac_res" >&6; }
41242 if test `eval echo '${'$as_ac_var'}'` = yes; then
41243 cat >>confdefs.h <<_ACEOF
41244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41245 _ACEOF
41246 cat >>confdefs.h <<\_ACEOF
41247 #define HAVE_INET_ATON 1
41248 _ACEOF
41249
41250 else
41251
41252 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41253 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41254 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41255 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41256 echo $ECHO_N "(cached) $ECHO_C" >&6
41257 else
41258 ac_check_lib_save_LIBS=$LIBS
41259 LIBS="-l$INET_LINK $LIBS"
41260 cat >conftest.$ac_ext <<_ACEOF
41261 /* confdefs.h. */
41262 _ACEOF
41263 cat confdefs.h >>conftest.$ac_ext
41264 cat >>conftest.$ac_ext <<_ACEOF
41265 /* end confdefs.h. */
41266
41267 /* Override any GCC internal prototype to avoid an error.
41268 Use char because int might match the return type of a GCC
41269 builtin and then its argument prototype would still apply. */
41270 #ifdef __cplusplus
41271 extern "C"
41272 #endif
41273 char inet_aton ();
41274 int
41275 main ()
41276 {
41277 return inet_aton ();
41278 ;
41279 return 0;
41280 }
41281 _ACEOF
41282 rm -f conftest.$ac_objext conftest$ac_exeext
41283 if { (ac_try="$ac_link"
41284 case "(($ac_try" in
41285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41286 *) ac_try_echo=$ac_try;;
41287 esac
41288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41289 (eval "$ac_link") 2>conftest.er1
41290 ac_status=$?
41291 grep -v '^ *+' conftest.er1 >conftest.err
41292 rm -f conftest.er1
41293 cat conftest.err >&5
41294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295 (exit $ac_status); } && {
41296 test -z "$ac_c_werror_flag" ||
41297 test ! -s conftest.err
41298 } && test -s conftest$ac_exeext &&
41299 $as_test_x conftest$ac_exeext; then
41300 eval "$as_ac_Lib=yes"
41301 else
41302 echo "$as_me: failed program was:" >&5
41303 sed 's/^/| /' conftest.$ac_ext >&5
41304
41305 eval "$as_ac_Lib=no"
41306 fi
41307
41308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41309 conftest$ac_exeext conftest.$ac_ext
41310 LIBS=$ac_check_lib_save_LIBS
41311 fi
41312 ac_res=`eval echo '${'$as_ac_Lib'}'`
41313 { echo "$as_me:$LINENO: result: $ac_res" >&5
41314 echo "${ECHO_T}$ac_res" >&6; }
41315 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define HAVE_INET_ATON 1
41318 _ACEOF
41319
41320 fi
41321
41322
41323 fi
41324 done
41325
41326
41327 if test "x$INET_LINK" != "x"; then
41328 cat >>confdefs.h <<\_ACEOF
41329 #define HAVE_INET_ADDR 1
41330 _ACEOF
41331
41332 INET_LINK=" -l$INET_LINK"
41333 fi
41334
41335
41336 for wx_func in fdopen
41337 do
41338 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41339 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41340 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41341 echo $ECHO_N "(cached) $ECHO_C" >&6
41342 else
41343
41344 cat >conftest.$ac_ext <<_ACEOF
41345
41346 /* confdefs.h. */
41347 _ACEOF
41348 cat confdefs.h >>conftest.$ac_ext
41349 cat >>conftest.$ac_ext <<_ACEOF
41350 /* end confdefs.h. */
41351
41352
41353 $ac_includes_default
41354
41355 int
41356 main ()
41357 {
41358
41359 #ifndef $wx_func
41360 &$wx_func;
41361 #endif
41362
41363
41364 ;
41365 return 0;
41366 }
41367
41368 _ACEOF
41369 rm -f conftest.$ac_objext conftest$ac_exeext
41370 if { (ac_try="$ac_link"
41371 case "(($ac_try" in
41372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41373 *) ac_try_echo=$ac_try;;
41374 esac
41375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41376 (eval "$ac_link") 2>conftest.er1
41377 ac_status=$?
41378 grep -v '^ *+' conftest.er1 >conftest.err
41379 rm -f conftest.er1
41380 cat conftest.err >&5
41381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41382 (exit $ac_status); } && {
41383 test -z "$ac_c_werror_flag" ||
41384 test ! -s conftest.err
41385 } && test -s conftest$ac_exeext &&
41386 $as_test_x conftest$ac_exeext; then
41387 eval wx_cv_func_$wx_func=yes
41388 else
41389 echo "$as_me: failed program was:" >&5
41390 sed 's/^/| /' conftest.$ac_ext >&5
41391
41392 eval wx_cv_func_$wx_func=no
41393 fi
41394
41395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41396 conftest$ac_exeext conftest.$ac_ext
41397
41398 fi
41399 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41400 { echo "$as_me:$LINENO: result: $ac_res" >&5
41401 echo "${ECHO_T}$ac_res" >&6; }
41402
41403 if eval test \$wx_cv_func_$wx_func = yes
41404 then
41405 cat >>confdefs.h <<_ACEOF
41406 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41407 _ACEOF
41408
41409
41410 else
41411 :
41412
41413 fi
41414 done
41415
41416
41417 fi
41418
41419
41420
41421 cat >confcache <<\_ACEOF
41422 # This file is a shell script that caches the results of configure
41423 # tests run on this system so they can be shared between configure
41424 # scripts and configure runs, see configure's option --config-cache.
41425 # It is not useful on other systems. If it contains results you don't
41426 # want to keep, you may remove or edit it.
41427 #
41428 # config.status only pays attention to the cache file if you give it
41429 # the --recheck option to rerun configure.
41430 #
41431 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41432 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41433 # following values.
41434
41435 _ACEOF
41436
41437 # The following way of writing the cache mishandles newlines in values,
41438 # but we know of no workaround that is simple, portable, and efficient.
41439 # So, we kill variables containing newlines.
41440 # Ultrix sh set writes to stderr and can't be redirected directly,
41441 # and sets the high bit in the cache file unless we assign to the vars.
41442 (
41443 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41444 eval ac_val=\$$ac_var
41445 case $ac_val in #(
41446 *${as_nl}*)
41447 case $ac_var in #(
41448 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41449 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41450 esac
41451 case $ac_var in #(
41452 _ | IFS | as_nl) ;; #(
41453 *) $as_unset $ac_var ;;
41454 esac ;;
41455 esac
41456 done
41457
41458 (set) 2>&1 |
41459 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41460 *${as_nl}ac_space=\ *)
41461 # `set' does not quote correctly, so add quotes (double-quote
41462 # substitution turns \\\\ into \\, and sed turns \\ into \).
41463 sed -n \
41464 "s/'/'\\\\''/g;
41465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41466 ;; #(
41467 *)
41468 # `set' quotes correctly as required by POSIX, so do not add quotes.
41469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41470 ;;
41471 esac |
41472 sort
41473 ) |
41474 sed '
41475 /^ac_cv_env_/b end
41476 t clear
41477 :clear
41478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41479 t end
41480 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41481 :end' >>confcache
41482 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41483 if test -w "$cache_file"; then
41484 test "x$cache_file" != "x/dev/null" &&
41485 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41486 echo "$as_me: updating cache $cache_file" >&6;}
41487 cat confcache >$cache_file
41488 else
41489 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41490 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41491 fi
41492 fi
41493 rm -f confcache
41494
41495
41496 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41497
41498
41499 THREADS_LINK=
41500 THREADS_CFLAGS=
41501
41502 if test "$wxUSE_THREADS" = "yes" ; then
41503 if test "$USE_BEOS" = 1; then
41504 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41505 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41506 wxUSE_THREADS="no"
41507 fi
41508 fi
41509
41510 if test "$wxUSE_THREADS" = "yes" ; then
41511
41512
41513 THREAD_OPTS="-pthread"
41514 if test "x$SUNCXX" = xyes; then
41515 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41516 fi
41517
41518 case "${host}" in
41519 *-*-solaris2* | *-*-sunos4* )
41520 if test "x$GCC" = "xyes"; then
41521 THREAD_OPTS="-pthreads $THREAD_OPTS"
41522 fi
41523 ;;
41524 *-*-freebsd*)
41525 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41526 ;;
41527 *-*-darwin* | *-*-cygwin* )
41528 THREAD_OPTS=""
41529 ;;
41530 *-*-aix*)
41531 THREAD_OPTS="pthreads"
41532 ;;
41533 *-hp-hpux* )
41534 if test "x$GCC" = "xyes"; then
41535 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41536 THREAD_OPTS=""
41537 else
41538 THREAD_OPTS="-mt"
41539 fi
41540 ;;
41541
41542 *-*-irix* )
41543 if test "x$GCC" = "xyes"; then
41544 THREAD_OPTS=""
41545 fi
41546 ;;
41547
41548 *-*-*UnixWare*)
41549 if test "x$GCC" != "xyes"; then
41550 THREAD_OPTS="-Ethread"
41551 fi
41552 ;;
41553 esac
41554
41555 THREAD_OPTS="$THREAD_OPTS pthread none"
41556
41557 THREADS_OK=no
41558 for flag in $THREAD_OPTS; do
41559 case $flag in
41560 none)
41561 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41562 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41563 ;;
41564
41565 -*)
41566 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41567 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41568 THREADS_CFLAGS="$flag"
41569 ;;
41570
41571 *)
41572 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41573 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41574 THREADS_LINK="-l$flag"
41575 ;;
41576 esac
41577
41578 save_LIBS="$LIBS"
41579 save_CFLAGS="$CFLAGS"
41580 LIBS="$THREADS_LINK $LIBS"
41581 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41582
41583 cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h. */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589 #include <pthread.h>
41590 int
41591 main ()
41592 {
41593 pthread_create(0,0,0,0);
41594 ;
41595 return 0;
41596 }
41597 _ACEOF
41598 rm -f conftest.$ac_objext conftest$ac_exeext
41599 if { (ac_try="$ac_link"
41600 case "(($ac_try" in
41601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41602 *) ac_try_echo=$ac_try;;
41603 esac
41604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41605 (eval "$ac_link") 2>conftest.er1
41606 ac_status=$?
41607 grep -v '^ *+' conftest.er1 >conftest.err
41608 rm -f conftest.er1
41609 cat conftest.err >&5
41610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41611 (exit $ac_status); } && {
41612 test -z "$ac_c_werror_flag" ||
41613 test ! -s conftest.err
41614 } && test -s conftest$ac_exeext &&
41615 $as_test_x conftest$ac_exeext; then
41616 THREADS_OK=yes
41617 else
41618 echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.$ac_ext >&5
41620
41621
41622 fi
41623
41624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41625 conftest$ac_exeext conftest.$ac_ext
41626
41627 LIBS="$save_LIBS"
41628 CFLAGS="$save_CFLAGS"
41629
41630 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41631 echo "${ECHO_T}$THREADS_OK" >&6; }
41632 if test "x$THREADS_OK" = "xyes"; then
41633 break;
41634 fi
41635
41636 THREADS_LINK=""
41637 THREADS_CFLAGS=""
41638 done
41639
41640 if test "x$THREADS_OK" != "xyes"; then
41641 wxUSE_THREADS=no
41642 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41643 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41644 else
41645 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41646 LIBS="$THREADS_LINK $LIBS"
41647
41648 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41649 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41650 flag=no
41651 case "${host}" in
41652 *-aix*)
41653 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41654 flag="-D_THREAD_SAFE"
41655 ;;
41656 *-freebsd*)
41657 flag="-D_THREAD_SAFE"
41658 ;;
41659 *-hp-hpux* )
41660 flag="-D_REENTRANT"
41661 if test "x$GCC" != "xyes"; then
41662 flag="$flag -D_RWSTD_MULTI_THREAD"
41663 fi
41664 ;;
41665 *solaris* | alpha*-osf*)
41666 flag="-D_REENTRANT"
41667 ;;
41668 esac
41669 { echo "$as_me:$LINENO: result: ${flag}" >&5
41670 echo "${ECHO_T}${flag}" >&6; }
41671 if test "x$flag" != xno; then
41672 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41673 fi
41674
41675 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41676 fi
41677 fi
41678
41679 if test "$wxUSE_THREADS" = "yes" ; then
41680
41681 for ac_func in thr_setconcurrency
41682 do
41683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41688 else
41689 cat >conftest.$ac_ext <<_ACEOF
41690 /* confdefs.h. */
41691 _ACEOF
41692 cat confdefs.h >>conftest.$ac_ext
41693 cat >>conftest.$ac_ext <<_ACEOF
41694 /* end confdefs.h. */
41695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41697 #define $ac_func innocuous_$ac_func
41698
41699 /* System header to define __stub macros and hopefully few prototypes,
41700 which can conflict with char $ac_func (); below.
41701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41702 <limits.h> exists even on freestanding compilers. */
41703
41704 #ifdef __STDC__
41705 # include <limits.h>
41706 #else
41707 # include <assert.h>
41708 #endif
41709
41710 #undef $ac_func
41711
41712 /* Override any GCC internal prototype to avoid an error.
41713 Use char because int might match the return type of a GCC
41714 builtin and then its argument prototype would still apply. */
41715 #ifdef __cplusplus
41716 extern "C"
41717 #endif
41718 char $ac_func ();
41719 /* The GNU C library defines this for functions which it implements
41720 to always fail with ENOSYS. Some functions are actually named
41721 something starting with __ and the normal name is an alias. */
41722 #if defined __stub_$ac_func || defined __stub___$ac_func
41723 choke me
41724 #endif
41725
41726 int
41727 main ()
41728 {
41729 return $ac_func ();
41730 ;
41731 return 0;
41732 }
41733 _ACEOF
41734 rm -f conftest.$ac_objext conftest$ac_exeext
41735 if { (ac_try="$ac_link"
41736 case "(($ac_try" in
41737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41738 *) ac_try_echo=$ac_try;;
41739 esac
41740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41741 (eval "$ac_link") 2>conftest.er1
41742 ac_status=$?
41743 grep -v '^ *+' conftest.er1 >conftest.err
41744 rm -f conftest.er1
41745 cat conftest.err >&5
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); } && {
41748 test -z "$ac_c_werror_flag" ||
41749 test ! -s conftest.err
41750 } && test -s conftest$ac_exeext &&
41751 $as_test_x conftest$ac_exeext; then
41752 eval "$as_ac_var=yes"
41753 else
41754 echo "$as_me: failed program was:" >&5
41755 sed 's/^/| /' conftest.$ac_ext >&5
41756
41757 eval "$as_ac_var=no"
41758 fi
41759
41760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41761 conftest$ac_exeext conftest.$ac_ext
41762 fi
41763 ac_res=`eval echo '${'$as_ac_var'}'`
41764 { echo "$as_me:$LINENO: result: $ac_res" >&5
41765 echo "${ECHO_T}$ac_res" >&6; }
41766 if test `eval echo '${'$as_ac_var'}'` = yes; then
41767 cat >>confdefs.h <<_ACEOF
41768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41769 _ACEOF
41770
41771 fi
41772 done
41773
41774
41775 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41776 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41777 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41778 echo $ECHO_N "(cached) $ECHO_C" >&6
41779 else
41780
41781 ac_ext=cpp
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41786
41787 cat >conftest.$ac_ext <<_ACEOF
41788 /* confdefs.h. */
41789 _ACEOF
41790 cat confdefs.h >>conftest.$ac_ext
41791 cat >>conftest.$ac_ext <<_ACEOF
41792 /* end confdefs.h. */
41793 #include <pthread.h>
41794 void ThreadCleanupFunc(void *p);
41795
41796 int
41797 main ()
41798 {
41799
41800 void *p;
41801 pthread_cleanup_push(ThreadCleanupFunc, p);
41802 pthread_cleanup_pop(0);
41803
41804 ;
41805 return 0;
41806 }
41807 _ACEOF
41808 rm -f conftest.$ac_objext
41809 if { (ac_try="$ac_compile"
41810 case "(($ac_try" in
41811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41812 *) ac_try_echo=$ac_try;;
41813 esac
41814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41815 (eval "$ac_compile") 2>conftest.er1
41816 ac_status=$?
41817 grep -v '^ *+' conftest.er1 >conftest.err
41818 rm -f conftest.er1
41819 cat conftest.err >&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } && {
41822 test -z "$ac_cxx_werror_flag" ||
41823 test ! -s conftest.err
41824 } && test -s conftest.$ac_objext; then
41825
41826 wx_cv_func_pthread_cleanup=yes
41827
41828 else
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.$ac_ext >&5
41831
41832
41833 wx_cv_func_pthread_cleanup=no
41834
41835
41836 fi
41837
41838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41839 ac_ext=c
41840 ac_cpp='$CPP $CPPFLAGS'
41841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41844
41845
41846 fi
41847 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41848 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41849 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41850 cat >>confdefs.h <<\_ACEOF
41851 #define wxHAVE_PTHREAD_CLEANUP 1
41852 _ACEOF
41853
41854 fi
41855
41856
41857 for ac_header in sched.h
41858 do
41859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41860 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41863 echo $ECHO_N "(cached) $ECHO_C" >&6
41864 else
41865 cat >conftest.$ac_ext <<_ACEOF
41866 /* confdefs.h. */
41867 _ACEOF
41868 cat confdefs.h >>conftest.$ac_ext
41869 cat >>conftest.$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41871 $ac_includes_default
41872
41873 #include <$ac_header>
41874 _ACEOF
41875 rm -f conftest.$ac_objext
41876 if { (ac_try="$ac_compile"
41877 case "(($ac_try" in
41878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41879 *) ac_try_echo=$ac_try;;
41880 esac
41881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41882 (eval "$ac_compile") 2>conftest.er1
41883 ac_status=$?
41884 grep -v '^ *+' conftest.er1 >conftest.err
41885 rm -f conftest.er1
41886 cat conftest.err >&5
41887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41888 (exit $ac_status); } && {
41889 test -z "$ac_c_werror_flag" ||
41890 test ! -s conftest.err
41891 } && test -s conftest.$ac_objext; then
41892 eval "$as_ac_Header=yes"
41893 else
41894 echo "$as_me: failed program was:" >&5
41895 sed 's/^/| /' conftest.$ac_ext >&5
41896
41897 eval "$as_ac_Header=no"
41898 fi
41899
41900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41901 fi
41902 ac_res=`eval echo '${'$as_ac_Header'}'`
41903 { echo "$as_me:$LINENO: result: $ac_res" >&5
41904 echo "${ECHO_T}$ac_res" >&6; }
41905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41906 cat >>confdefs.h <<_ACEOF
41907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41908 _ACEOF
41909
41910 fi
41911
41912 done
41913
41914 if test "$ac_cv_header_sched_h" = "yes"; then
41915 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41916 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41917 if test "${ac_cv_func_sched_yield+set}" = set; then
41918 echo $ECHO_N "(cached) $ECHO_C" >&6
41919 else
41920 cat >conftest.$ac_ext <<_ACEOF
41921 /* confdefs.h. */
41922 _ACEOF
41923 cat confdefs.h >>conftest.$ac_ext
41924 cat >>conftest.$ac_ext <<_ACEOF
41925 /* end confdefs.h. */
41926 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41928 #define sched_yield innocuous_sched_yield
41929
41930 /* System header to define __stub macros and hopefully few prototypes,
41931 which can conflict with char sched_yield (); below.
41932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41933 <limits.h> exists even on freestanding compilers. */
41934
41935 #ifdef __STDC__
41936 # include <limits.h>
41937 #else
41938 # include <assert.h>
41939 #endif
41940
41941 #undef sched_yield
41942
41943 /* Override any GCC internal prototype to avoid an error.
41944 Use char because int might match the return type of a GCC
41945 builtin and then its argument prototype would still apply. */
41946 #ifdef __cplusplus
41947 extern "C"
41948 #endif
41949 char sched_yield ();
41950 /* The GNU C library defines this for functions which it implements
41951 to always fail with ENOSYS. Some functions are actually named
41952 something starting with __ and the normal name is an alias. */
41953 #if defined __stub_sched_yield || defined __stub___sched_yield
41954 choke me
41955 #endif
41956
41957 int
41958 main ()
41959 {
41960 return sched_yield ();
41961 ;
41962 return 0;
41963 }
41964 _ACEOF
41965 rm -f conftest.$ac_objext conftest$ac_exeext
41966 if { (ac_try="$ac_link"
41967 case "(($ac_try" in
41968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41969 *) ac_try_echo=$ac_try;;
41970 esac
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_link") 2>conftest.er1
41973 ac_status=$?
41974 grep -v '^ *+' conftest.er1 >conftest.err
41975 rm -f conftest.er1
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest$ac_exeext &&
41982 $as_test_x conftest$ac_exeext; then
41983 ac_cv_func_sched_yield=yes
41984 else
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41987
41988 ac_cv_func_sched_yield=no
41989 fi
41990
41991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41992 conftest$ac_exeext conftest.$ac_ext
41993 fi
41994 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41995 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41996 if test $ac_cv_func_sched_yield = yes; then
41997 cat >>confdefs.h <<\_ACEOF
41998 #define HAVE_SCHED_YIELD 1
41999 _ACEOF
42000
42001 else
42002
42003 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42004 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42005 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42006 echo $ECHO_N "(cached) $ECHO_C" >&6
42007 else
42008 ac_check_lib_save_LIBS=$LIBS
42009 LIBS="-lposix4 $LIBS"
42010 cat >conftest.$ac_ext <<_ACEOF
42011 /* confdefs.h. */
42012 _ACEOF
42013 cat confdefs.h >>conftest.$ac_ext
42014 cat >>conftest.$ac_ext <<_ACEOF
42015 /* end confdefs.h. */
42016
42017 /* Override any GCC internal prototype to avoid an error.
42018 Use char because int might match the return type of a GCC
42019 builtin and then its argument prototype would still apply. */
42020 #ifdef __cplusplus
42021 extern "C"
42022 #endif
42023 char sched_yield ();
42024 int
42025 main ()
42026 {
42027 return sched_yield ();
42028 ;
42029 return 0;
42030 }
42031 _ACEOF
42032 rm -f conftest.$ac_objext conftest$ac_exeext
42033 if { (ac_try="$ac_link"
42034 case "(($ac_try" in
42035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42036 *) ac_try_echo=$ac_try;;
42037 esac
42038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42039 (eval "$ac_link") 2>conftest.er1
42040 ac_status=$?
42041 grep -v '^ *+' conftest.er1 >conftest.err
42042 rm -f conftest.er1
42043 cat conftest.err >&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } && {
42046 test -z "$ac_c_werror_flag" ||
42047 test ! -s conftest.err
42048 } && test -s conftest$ac_exeext &&
42049 $as_test_x conftest$ac_exeext; then
42050 ac_cv_lib_posix4_sched_yield=yes
42051 else
42052 echo "$as_me: failed program was:" >&5
42053 sed 's/^/| /' conftest.$ac_ext >&5
42054
42055 ac_cv_lib_posix4_sched_yield=no
42056 fi
42057
42058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42059 conftest$ac_exeext conftest.$ac_ext
42060 LIBS=$ac_check_lib_save_LIBS
42061 fi
42062 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42063 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42064 if test $ac_cv_lib_posix4_sched_yield = yes; then
42065 cat >>confdefs.h <<\_ACEOF
42066 #define HAVE_SCHED_YIELD 1
42067 _ACEOF
42068 POSIX4_LINK=" -lposix4"
42069 else
42070 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42071 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42072
42073 fi
42074
42075
42076
42077 fi
42078
42079 fi
42080
42081 HAVE_PRIOR_FUNCS=0
42082 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42083 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42084 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42085 echo $ECHO_N "(cached) $ECHO_C" >&6
42086 else
42087 cat >conftest.$ac_ext <<_ACEOF
42088 /* confdefs.h. */
42089 _ACEOF
42090 cat confdefs.h >>conftest.$ac_ext
42091 cat >>conftest.$ac_ext <<_ACEOF
42092 /* end confdefs.h. */
42093 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42095 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42096
42097 /* System header to define __stub macros and hopefully few prototypes,
42098 which can conflict with char pthread_attr_getschedpolicy (); below.
42099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42100 <limits.h> exists even on freestanding compilers. */
42101
42102 #ifdef __STDC__
42103 # include <limits.h>
42104 #else
42105 # include <assert.h>
42106 #endif
42107
42108 #undef pthread_attr_getschedpolicy
42109
42110 /* Override any GCC internal prototype to avoid an error.
42111 Use char because int might match the return type of a GCC
42112 builtin and then its argument prototype would still apply. */
42113 #ifdef __cplusplus
42114 extern "C"
42115 #endif
42116 char pthread_attr_getschedpolicy ();
42117 /* The GNU C library defines this for functions which it implements
42118 to always fail with ENOSYS. Some functions are actually named
42119 something starting with __ and the normal name is an alias. */
42120 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42121 choke me
42122 #endif
42123
42124 int
42125 main ()
42126 {
42127 return pthread_attr_getschedpolicy ();
42128 ;
42129 return 0;
42130 }
42131 _ACEOF
42132 rm -f conftest.$ac_objext conftest$ac_exeext
42133 if { (ac_try="$ac_link"
42134 case "(($ac_try" in
42135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42136 *) ac_try_echo=$ac_try;;
42137 esac
42138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42139 (eval "$ac_link") 2>conftest.er1
42140 ac_status=$?
42141 grep -v '^ *+' conftest.er1 >conftest.err
42142 rm -f conftest.er1
42143 cat conftest.err >&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); } && {
42146 test -z "$ac_c_werror_flag" ||
42147 test ! -s conftest.err
42148 } && test -s conftest$ac_exeext &&
42149 $as_test_x conftest$ac_exeext; then
42150 ac_cv_func_pthread_attr_getschedpolicy=yes
42151 else
42152 echo "$as_me: failed program was:" >&5
42153 sed 's/^/| /' conftest.$ac_ext >&5
42154
42155 ac_cv_func_pthread_attr_getschedpolicy=no
42156 fi
42157
42158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42159 conftest$ac_exeext conftest.$ac_ext
42160 fi
42161 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42162 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42163 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42164 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42165 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42166 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42167 echo $ECHO_N "(cached) $ECHO_C" >&6
42168 else
42169 cat >conftest.$ac_ext <<_ACEOF
42170 /* confdefs.h. */
42171 _ACEOF
42172 cat confdefs.h >>conftest.$ac_ext
42173 cat >>conftest.$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42175 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42177 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42178
42179 /* System header to define __stub macros and hopefully few prototypes,
42180 which can conflict with char pthread_attr_setschedparam (); below.
42181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42182 <limits.h> exists even on freestanding compilers. */
42183
42184 #ifdef __STDC__
42185 # include <limits.h>
42186 #else
42187 # include <assert.h>
42188 #endif
42189
42190 #undef pthread_attr_setschedparam
42191
42192 /* Override any GCC internal prototype to avoid an error.
42193 Use char because int might match the return type of a GCC
42194 builtin and then its argument prototype would still apply. */
42195 #ifdef __cplusplus
42196 extern "C"
42197 #endif
42198 char pthread_attr_setschedparam ();
42199 /* The GNU C library defines this for functions which it implements
42200 to always fail with ENOSYS. Some functions are actually named
42201 something starting with __ and the normal name is an alias. */
42202 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42203 choke me
42204 #endif
42205
42206 int
42207 main ()
42208 {
42209 return pthread_attr_setschedparam ();
42210 ;
42211 return 0;
42212 }
42213 _ACEOF
42214 rm -f conftest.$ac_objext conftest$ac_exeext
42215 if { (ac_try="$ac_link"
42216 case "(($ac_try" in
42217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42218 *) ac_try_echo=$ac_try;;
42219 esac
42220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 (eval "$ac_link") 2>conftest.er1
42222 ac_status=$?
42223 grep -v '^ *+' conftest.er1 >conftest.err
42224 rm -f conftest.er1
42225 cat conftest.err >&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } && {
42228 test -z "$ac_c_werror_flag" ||
42229 test ! -s conftest.err
42230 } && test -s conftest$ac_exeext &&
42231 $as_test_x conftest$ac_exeext; then
42232 ac_cv_func_pthread_attr_setschedparam=yes
42233 else
42234 echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42236
42237 ac_cv_func_pthread_attr_setschedparam=no
42238 fi
42239
42240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42241 conftest$ac_exeext conftest.$ac_ext
42242 fi
42243 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42244 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42245 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42246 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42247 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42248 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42249 echo $ECHO_N "(cached) $ECHO_C" >&6
42250 else
42251 cat >conftest.$ac_ext <<_ACEOF
42252 /* confdefs.h. */
42253 _ACEOF
42254 cat confdefs.h >>conftest.$ac_ext
42255 cat >>conftest.$ac_ext <<_ACEOF
42256 /* end confdefs.h. */
42257 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42259 #define sched_get_priority_max innocuous_sched_get_priority_max
42260
42261 /* System header to define __stub macros and hopefully few prototypes,
42262 which can conflict with char sched_get_priority_max (); below.
42263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42264 <limits.h> exists even on freestanding compilers. */
42265
42266 #ifdef __STDC__
42267 # include <limits.h>
42268 #else
42269 # include <assert.h>
42270 #endif
42271
42272 #undef sched_get_priority_max
42273
42274 /* Override any GCC internal prototype to avoid an error.
42275 Use char because int might match the return type of a GCC
42276 builtin and then its argument prototype would still apply. */
42277 #ifdef __cplusplus
42278 extern "C"
42279 #endif
42280 char sched_get_priority_max ();
42281 /* The GNU C library defines this for functions which it implements
42282 to always fail with ENOSYS. Some functions are actually named
42283 something starting with __ and the normal name is an alias. */
42284 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42285 choke me
42286 #endif
42287
42288 int
42289 main ()
42290 {
42291 return sched_get_priority_max ();
42292 ;
42293 return 0;
42294 }
42295 _ACEOF
42296 rm -f conftest.$ac_objext conftest$ac_exeext
42297 if { (ac_try="$ac_link"
42298 case "(($ac_try" in
42299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42300 *) ac_try_echo=$ac_try;;
42301 esac
42302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42303 (eval "$ac_link") 2>conftest.er1
42304 ac_status=$?
42305 grep -v '^ *+' conftest.er1 >conftest.err
42306 rm -f conftest.er1
42307 cat conftest.err >&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); } && {
42310 test -z "$ac_c_werror_flag" ||
42311 test ! -s conftest.err
42312 } && test -s conftest$ac_exeext &&
42313 $as_test_x conftest$ac_exeext; then
42314 ac_cv_func_sched_get_priority_max=yes
42315 else
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42318
42319 ac_cv_func_sched_get_priority_max=no
42320 fi
42321
42322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42323 conftest$ac_exeext conftest.$ac_ext
42324 fi
42325 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42326 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42327 if test $ac_cv_func_sched_get_priority_max = yes; then
42328 HAVE_PRIOR_FUNCS=1
42329 else
42330 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42331 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42332 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42333 echo $ECHO_N "(cached) $ECHO_C" >&6
42334 else
42335 ac_check_lib_save_LIBS=$LIBS
42336 LIBS="-lposix4 $LIBS"
42337 cat >conftest.$ac_ext <<_ACEOF
42338 /* confdefs.h. */
42339 _ACEOF
42340 cat confdefs.h >>conftest.$ac_ext
42341 cat >>conftest.$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42343
42344 /* Override any GCC internal prototype to avoid an error.
42345 Use char because int might match the return type of a GCC
42346 builtin and then its argument prototype would still apply. */
42347 #ifdef __cplusplus
42348 extern "C"
42349 #endif
42350 char sched_get_priority_max ();
42351 int
42352 main ()
42353 {
42354 return sched_get_priority_max ();
42355 ;
42356 return 0;
42357 }
42358 _ACEOF
42359 rm -f conftest.$ac_objext conftest$ac_exeext
42360 if { (ac_try="$ac_link"
42361 case "(($ac_try" in
42362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42363 *) ac_try_echo=$ac_try;;
42364 esac
42365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42366 (eval "$ac_link") 2>conftest.er1
42367 ac_status=$?
42368 grep -v '^ *+' conftest.er1 >conftest.err
42369 rm -f conftest.er1
42370 cat conftest.err >&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); } && {
42373 test -z "$ac_c_werror_flag" ||
42374 test ! -s conftest.err
42375 } && test -s conftest$ac_exeext &&
42376 $as_test_x conftest$ac_exeext; then
42377 ac_cv_lib_posix4_sched_get_priority_max=yes
42378 else
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.$ac_ext >&5
42381
42382 ac_cv_lib_posix4_sched_get_priority_max=no
42383 fi
42384
42385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42386 conftest$ac_exeext conftest.$ac_ext
42387 LIBS=$ac_check_lib_save_LIBS
42388 fi
42389 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42390 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42391 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42392
42393 HAVE_PRIOR_FUNCS=1
42394 POSIX4_LINK=" -lposix4"
42395
42396 fi
42397
42398
42399 fi
42400
42401
42402 fi
42403
42404
42405 fi
42406
42407
42408 if test "$HAVE_PRIOR_FUNCS" = 1; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42411 _ACEOF
42412
42413 else
42414 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42415 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42416 fi
42417
42418 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42419 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42420 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42422 else
42423 cat >conftest.$ac_ext <<_ACEOF
42424 /* confdefs.h. */
42425 _ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42431 #define pthread_cancel innocuous_pthread_cancel
42432
42433 /* System header to define __stub macros and hopefully few prototypes,
42434 which can conflict with char pthread_cancel (); below.
42435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42436 <limits.h> exists even on freestanding compilers. */
42437
42438 #ifdef __STDC__
42439 # include <limits.h>
42440 #else
42441 # include <assert.h>
42442 #endif
42443
42444 #undef pthread_cancel
42445
42446 /* Override any GCC internal prototype to avoid an error.
42447 Use char because int might match the return type of a GCC
42448 builtin and then its argument prototype would still apply. */
42449 #ifdef __cplusplus
42450 extern "C"
42451 #endif
42452 char pthread_cancel ();
42453 /* The GNU C library defines this for functions which it implements
42454 to always fail with ENOSYS. Some functions are actually named
42455 something starting with __ and the normal name is an alias. */
42456 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42457 choke me
42458 #endif
42459
42460 int
42461 main ()
42462 {
42463 return pthread_cancel ();
42464 ;
42465 return 0;
42466 }
42467 _ACEOF
42468 rm -f conftest.$ac_objext conftest$ac_exeext
42469 if { (ac_try="$ac_link"
42470 case "(($ac_try" in
42471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42472 *) ac_try_echo=$ac_try;;
42473 esac
42474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42475 (eval "$ac_link") 2>conftest.er1
42476 ac_status=$?
42477 grep -v '^ *+' conftest.er1 >conftest.err
42478 rm -f conftest.er1
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } && {
42482 test -z "$ac_c_werror_flag" ||
42483 test ! -s conftest.err
42484 } && test -s conftest$ac_exeext &&
42485 $as_test_x conftest$ac_exeext; then
42486 ac_cv_func_pthread_cancel=yes
42487 else
42488 echo "$as_me: failed program was:" >&5
42489 sed 's/^/| /' conftest.$ac_ext >&5
42490
42491 ac_cv_func_pthread_cancel=no
42492 fi
42493
42494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42495 conftest$ac_exeext conftest.$ac_ext
42496 fi
42497 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42498 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42499 if test $ac_cv_func_pthread_cancel = yes; then
42500 cat >>confdefs.h <<\_ACEOF
42501 #define HAVE_PTHREAD_CANCEL 1
42502 _ACEOF
42503
42504 else
42505 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42506 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42507 fi
42508
42509
42510 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42511 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42512 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42513 echo $ECHO_N "(cached) $ECHO_C" >&6
42514 else
42515 cat >conftest.$ac_ext <<_ACEOF
42516 /* confdefs.h. */
42517 _ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42521 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42523 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42524
42525 /* System header to define __stub macros and hopefully few prototypes,
42526 which can conflict with char pthread_mutex_timedlock (); below.
42527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42528 <limits.h> exists even on freestanding compilers. */
42529
42530 #ifdef __STDC__
42531 # include <limits.h>
42532 #else
42533 # include <assert.h>
42534 #endif
42535
42536 #undef pthread_mutex_timedlock
42537
42538 /* Override any GCC internal prototype to avoid an error.
42539 Use char because int might match the return type of a GCC
42540 builtin and then its argument prototype would still apply. */
42541 #ifdef __cplusplus
42542 extern "C"
42543 #endif
42544 char pthread_mutex_timedlock ();
42545 /* The GNU C library defines this for functions which it implements
42546 to always fail with ENOSYS. Some functions are actually named
42547 something starting with __ and the normal name is an alias. */
42548 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42549 choke me
42550 #endif
42551
42552 int
42553 main ()
42554 {
42555 return pthread_mutex_timedlock ();
42556 ;
42557 return 0;
42558 }
42559 _ACEOF
42560 rm -f conftest.$ac_objext conftest$ac_exeext
42561 if { (ac_try="$ac_link"
42562 case "(($ac_try" in
42563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42564 *) ac_try_echo=$ac_try;;
42565 esac
42566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42567 (eval "$ac_link") 2>conftest.er1
42568 ac_status=$?
42569 grep -v '^ *+' conftest.er1 >conftest.err
42570 rm -f conftest.er1
42571 cat conftest.err >&5
42572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42573 (exit $ac_status); } && {
42574 test -z "$ac_c_werror_flag" ||
42575 test ! -s conftest.err
42576 } && test -s conftest$ac_exeext &&
42577 $as_test_x conftest$ac_exeext; then
42578 ac_cv_func_pthread_mutex_timedlock=yes
42579 else
42580 echo "$as_me: failed program was:" >&5
42581 sed 's/^/| /' conftest.$ac_ext >&5
42582
42583 ac_cv_func_pthread_mutex_timedlock=no
42584 fi
42585
42586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42587 conftest$ac_exeext conftest.$ac_ext
42588 fi
42589 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42590 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42591 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42592 cat >>confdefs.h <<\_ACEOF
42593 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42594 _ACEOF
42595
42596 else
42597 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42598 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42599 fi
42600
42601
42602 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42603 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42604 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42605 echo $ECHO_N "(cached) $ECHO_C" >&6
42606 else
42607 cat >conftest.$ac_ext <<_ACEOF
42608 /* confdefs.h. */
42609 _ACEOF
42610 cat confdefs.h >>conftest.$ac_ext
42611 cat >>conftest.$ac_ext <<_ACEOF
42612 /* end confdefs.h. */
42613 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42615 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42616
42617 /* System header to define __stub macros and hopefully few prototypes,
42618 which can conflict with char pthread_attr_setstacksize (); below.
42619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42620 <limits.h> exists even on freestanding compilers. */
42621
42622 #ifdef __STDC__
42623 # include <limits.h>
42624 #else
42625 # include <assert.h>
42626 #endif
42627
42628 #undef pthread_attr_setstacksize
42629
42630 /* Override any GCC internal prototype to avoid an error.
42631 Use char because int might match the return type of a GCC
42632 builtin and then its argument prototype would still apply. */
42633 #ifdef __cplusplus
42634 extern "C"
42635 #endif
42636 char pthread_attr_setstacksize ();
42637 /* The GNU C library defines this for functions which it implements
42638 to always fail with ENOSYS. Some functions are actually named
42639 something starting with __ and the normal name is an alias. */
42640 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42641 choke me
42642 #endif
42643
42644 int
42645 main ()
42646 {
42647 return pthread_attr_setstacksize ();
42648 ;
42649 return 0;
42650 }
42651 _ACEOF
42652 rm -f conftest.$ac_objext conftest$ac_exeext
42653 if { (ac_try="$ac_link"
42654 case "(($ac_try" in
42655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42656 *) ac_try_echo=$ac_try;;
42657 esac
42658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42659 (eval "$ac_link") 2>conftest.er1
42660 ac_status=$?
42661 grep -v '^ *+' conftest.er1 >conftest.err
42662 rm -f conftest.er1
42663 cat conftest.err >&5
42664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42665 (exit $ac_status); } && {
42666 test -z "$ac_c_werror_flag" ||
42667 test ! -s conftest.err
42668 } && test -s conftest$ac_exeext &&
42669 $as_test_x conftest$ac_exeext; then
42670 ac_cv_func_pthread_attr_setstacksize=yes
42671 else
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675 ac_cv_func_pthread_attr_setstacksize=no
42676 fi
42677
42678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42679 conftest$ac_exeext conftest.$ac_ext
42680 fi
42681 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42682 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42683 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42684 cat >>confdefs.h <<\_ACEOF
42685 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42686 _ACEOF
42687
42688 fi
42689
42690
42691
42692 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42693 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42694 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42695 echo $ECHO_N "(cached) $ECHO_C" >&6
42696 else
42697
42698 cat >conftest.$ac_ext <<_ACEOF
42699 /* confdefs.h. */
42700 _ACEOF
42701 cat confdefs.h >>conftest.$ac_ext
42702 cat >>conftest.$ac_ext <<_ACEOF
42703 /* end confdefs.h. */
42704 #include <pthread.h>
42705 int
42706 main ()
42707 {
42708
42709 pthread_mutexattr_t attr;
42710 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42711
42712 ;
42713 return 0;
42714 }
42715 _ACEOF
42716 rm -f conftest.$ac_objext
42717 if { (ac_try="$ac_compile"
42718 case "(($ac_try" in
42719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42720 *) ac_try_echo=$ac_try;;
42721 esac
42722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42723 (eval "$ac_compile") 2>conftest.er1
42724 ac_status=$?
42725 grep -v '^ *+' conftest.er1 >conftest.err
42726 rm -f conftest.er1
42727 cat conftest.err >&5
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); } && {
42730 test -z "$ac_c_werror_flag" ||
42731 test ! -s conftest.err
42732 } && test -s conftest.$ac_objext; then
42733 wx_cv_type_pthread_mutexattr_t=yes
42734 else
42735 echo "$as_me: failed program was:" >&5
42736 sed 's/^/| /' conftest.$ac_ext >&5
42737
42738 wx_cv_type_pthread_mutexattr_t=no
42739
42740 fi
42741
42742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42743
42744 fi
42745 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42746 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42747
42748 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42749 cat >>confdefs.h <<\_ACEOF
42750 #define HAVE_PTHREAD_MUTEXATTR_T 1
42751 _ACEOF
42752
42753
42754 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42755 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42756 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42757 echo $ECHO_N "(cached) $ECHO_C" >&6
42758 else
42759
42760 cat >conftest.$ac_ext <<_ACEOF
42761 /* confdefs.h. */
42762 _ACEOF
42763 cat confdefs.h >>conftest.$ac_ext
42764 cat >>conftest.$ac_ext <<_ACEOF
42765 /* end confdefs.h. */
42766 #include <pthread.h>
42767 int
42768 main ()
42769 {
42770
42771 pthread_mutexattr_t attr;
42772 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42773
42774 ;
42775 return 0;
42776 }
42777 _ACEOF
42778 rm -f conftest.$ac_objext
42779 if { (ac_try="$ac_compile"
42780 case "(($ac_try" in
42781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42782 *) ac_try_echo=$ac_try;;
42783 esac
42784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42785 (eval "$ac_compile") 2>conftest.er1
42786 ac_status=$?
42787 grep -v '^ *+' conftest.er1 >conftest.err
42788 rm -f conftest.er1
42789 cat conftest.err >&5
42790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42791 (exit $ac_status); } && {
42792 test -z "$ac_c_werror_flag" ||
42793 test ! -s conftest.err
42794 } && test -s conftest.$ac_objext; then
42795 wx_cv_func_pthread_mutexattr_settype_decl=yes
42796 else
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.$ac_ext >&5
42799
42800 wx_cv_func_pthread_mutexattr_settype_decl=no
42801
42802 fi
42803
42804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42805
42806 fi
42807 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42808 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42809 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42810 cat >>confdefs.h <<\_ACEOF
42811 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42812 _ACEOF
42813
42814 fi
42815 else
42816 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42817 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42818 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42819 echo $ECHO_N "(cached) $ECHO_C" >&6
42820 else
42821
42822 cat >conftest.$ac_ext <<_ACEOF
42823 /* confdefs.h. */
42824 _ACEOF
42825 cat confdefs.h >>conftest.$ac_ext
42826 cat >>conftest.$ac_ext <<_ACEOF
42827 /* end confdefs.h. */
42828 #include <pthread.h>
42829 int
42830 main ()
42831 {
42832
42833 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42834
42835 ;
42836 return 0;
42837 }
42838 _ACEOF
42839 rm -f conftest.$ac_objext
42840 if { (ac_try="$ac_compile"
42841 case "(($ac_try" in
42842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42843 *) ac_try_echo=$ac_try;;
42844 esac
42845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42846 (eval "$ac_compile") 2>conftest.er1
42847 ac_status=$?
42848 grep -v '^ *+' conftest.er1 >conftest.err
42849 rm -f conftest.er1
42850 cat conftest.err >&5
42851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42852 (exit $ac_status); } && {
42853 test -z "$ac_c_werror_flag" ||
42854 test ! -s conftest.err
42855 } && test -s conftest.$ac_objext; then
42856
42857 wx_cv_type_pthread_rec_mutex_init=yes
42858
42859 else
42860 echo "$as_me: failed program was:" >&5
42861 sed 's/^/| /' conftest.$ac_ext >&5
42862
42863
42864 wx_cv_type_pthread_rec_mutex_init=no
42865
42866
42867 fi
42868
42869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42870
42871 fi
42872 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42873 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42874 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42877 _ACEOF
42878
42879 else
42880 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42881 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42882 fi
42883 fi
42884 fi
42885
42886 else
42887 if test "$wxUSE_THREADS" = "yes" ; then
42888 case "${host}" in
42889 *-*-mingw32* )
42890 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42891 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42892 if test "${wx_cv_cflags_mthread+set}" = set; then
42893 echo $ECHO_N "(cached) $ECHO_C" >&6
42894 else
42895
42896 CFLAGS_OLD="$CFLAGS"
42897 CFLAGS="-mthreads $CFLAGS"
42898 cat >conftest.$ac_ext <<_ACEOF
42899 /* confdefs.h. */
42900 _ACEOF
42901 cat confdefs.h >>conftest.$ac_ext
42902 cat >>conftest.$ac_ext <<_ACEOF
42903 /* end confdefs.h. */
42904
42905 int
42906 main ()
42907 {
42908
42909 ;
42910 return 0;
42911 }
42912 _ACEOF
42913 rm -f conftest.$ac_objext
42914 if { (ac_try="$ac_compile"
42915 case "(($ac_try" in
42916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42917 *) ac_try_echo=$ac_try;;
42918 esac
42919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42920 (eval "$ac_compile") 2>conftest.er1
42921 ac_status=$?
42922 grep -v '^ *+' conftest.er1 >conftest.err
42923 rm -f conftest.er1
42924 cat conftest.err >&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } && {
42927 test -z "$ac_c_werror_flag" ||
42928 test ! -s conftest.err
42929 } && test -s conftest.$ac_objext; then
42930 wx_cv_cflags_mthread=yes
42931 else
42932 echo "$as_me: failed program was:" >&5
42933 sed 's/^/| /' conftest.$ac_ext >&5
42934
42935 wx_cv_cflags_mthread=no
42936
42937 fi
42938
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42940
42941
42942 fi
42943 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42944 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42945
42946 if test "$wx_cv_cflags_mthread" = "yes"; then
42947 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42948 LDFLAGS="$LDFLAGS -mthreads"
42949 else
42950 CFLAGS="$CFLAGS_OLD"
42951 fi
42952 ;;
42953 *-pc-os2*emx )
42954 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42955 LDFLAGS="$LDFLAGS -Zmt"
42956 ;;
42957 esac
42958 fi
42959 fi
42960
42961 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42962 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42963 if test "${ac_cv_func_localtime_r+set}" = set; then
42964 echo $ECHO_N "(cached) $ECHO_C" >&6
42965 else
42966 cat >conftest.$ac_ext <<_ACEOF
42967 /* confdefs.h. */
42968 _ACEOF
42969 cat confdefs.h >>conftest.$ac_ext
42970 cat >>conftest.$ac_ext <<_ACEOF
42971 /* end confdefs.h. */
42972 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42974 #define localtime_r innocuous_localtime_r
42975
42976 /* System header to define __stub macros and hopefully few prototypes,
42977 which can conflict with char localtime_r (); below.
42978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42979 <limits.h> exists even on freestanding compilers. */
42980
42981 #ifdef __STDC__
42982 # include <limits.h>
42983 #else
42984 # include <assert.h>
42985 #endif
42986
42987 #undef localtime_r
42988
42989 /* Override any GCC internal prototype to avoid an error.
42990 Use char because int might match the return type of a GCC
42991 builtin and then its argument prototype would still apply. */
42992 #ifdef __cplusplus
42993 extern "C"
42994 #endif
42995 char localtime_r ();
42996 /* The GNU C library defines this for functions which it implements
42997 to always fail with ENOSYS. Some functions are actually named
42998 something starting with __ and the normal name is an alias. */
42999 #if defined __stub_localtime_r || defined __stub___localtime_r
43000 choke me
43001 #endif
43002
43003 int
43004 main ()
43005 {
43006 return localtime_r ();
43007 ;
43008 return 0;
43009 }
43010 _ACEOF
43011 rm -f conftest.$ac_objext conftest$ac_exeext
43012 if { (ac_try="$ac_link"
43013 case "(($ac_try" in
43014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43015 *) ac_try_echo=$ac_try;;
43016 esac
43017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43018 (eval "$ac_link") 2>conftest.er1
43019 ac_status=$?
43020 grep -v '^ *+' conftest.er1 >conftest.err
43021 rm -f conftest.er1
43022 cat conftest.err >&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); } && {
43025 test -z "$ac_c_werror_flag" ||
43026 test ! -s conftest.err
43027 } && test -s conftest$ac_exeext &&
43028 $as_test_x conftest$ac_exeext; then
43029 ac_cv_func_localtime_r=yes
43030 else
43031 echo "$as_me: failed program was:" >&5
43032 sed 's/^/| /' conftest.$ac_ext >&5
43033
43034 ac_cv_func_localtime_r=no
43035 fi
43036
43037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43038 conftest$ac_exeext conftest.$ac_ext
43039 fi
43040 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43041 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43042 if test $ac_cv_func_localtime_r = yes; then
43043 cat >>confdefs.h <<\_ACEOF
43044 #define HAVE_LOCALTIME_R 1
43045 _ACEOF
43046
43047 fi
43048
43049 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43050 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43051 if test "${ac_cv_func_gmtime_r+set}" = set; then
43052 echo $ECHO_N "(cached) $ECHO_C" >&6
43053 else
43054 cat >conftest.$ac_ext <<_ACEOF
43055 /* confdefs.h. */
43056 _ACEOF
43057 cat confdefs.h >>conftest.$ac_ext
43058 cat >>conftest.$ac_ext <<_ACEOF
43059 /* end confdefs.h. */
43060 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43062 #define gmtime_r innocuous_gmtime_r
43063
43064 /* System header to define __stub macros and hopefully few prototypes,
43065 which can conflict with char gmtime_r (); below.
43066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43067 <limits.h> exists even on freestanding compilers. */
43068
43069 #ifdef __STDC__
43070 # include <limits.h>
43071 #else
43072 # include <assert.h>
43073 #endif
43074
43075 #undef gmtime_r
43076
43077 /* Override any GCC internal prototype to avoid an error.
43078 Use char because int might match the return type of a GCC
43079 builtin and then its argument prototype would still apply. */
43080 #ifdef __cplusplus
43081 extern "C"
43082 #endif
43083 char gmtime_r ();
43084 /* The GNU C library defines this for functions which it implements
43085 to always fail with ENOSYS. Some functions are actually named
43086 something starting with __ and the normal name is an alias. */
43087 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43088 choke me
43089 #endif
43090
43091 int
43092 main ()
43093 {
43094 return gmtime_r ();
43095 ;
43096 return 0;
43097 }
43098 _ACEOF
43099 rm -f conftest.$ac_objext conftest$ac_exeext
43100 if { (ac_try="$ac_link"
43101 case "(($ac_try" in
43102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43103 *) ac_try_echo=$ac_try;;
43104 esac
43105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43106 (eval "$ac_link") 2>conftest.er1
43107 ac_status=$?
43108 grep -v '^ *+' conftest.er1 >conftest.err
43109 rm -f conftest.er1
43110 cat conftest.err >&5
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); } && {
43113 test -z "$ac_c_werror_flag" ||
43114 test ! -s conftest.err
43115 } && test -s conftest$ac_exeext &&
43116 $as_test_x conftest$ac_exeext; then
43117 ac_cv_func_gmtime_r=yes
43118 else
43119 echo "$as_me: failed program was:" >&5
43120 sed 's/^/| /' conftest.$ac_ext >&5
43121
43122 ac_cv_func_gmtime_r=no
43123 fi
43124
43125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43126 conftest$ac_exeext conftest.$ac_ext
43127 fi
43128 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43129 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43130 if test $ac_cv_func_gmtime_r = yes; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define HAVE_GMTIME_R 1
43133 _ACEOF
43134
43135 fi
43136
43137 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43138 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43139 if test "${ac_cv_func_readdir_r+set}" = set; then
43140 echo $ECHO_N "(cached) $ECHO_C" >&6
43141 else
43142 cat >conftest.$ac_ext <<_ACEOF
43143 /* confdefs.h. */
43144 _ACEOF
43145 cat confdefs.h >>conftest.$ac_ext
43146 cat >>conftest.$ac_ext <<_ACEOF
43147 /* end confdefs.h. */
43148 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43150 #define readdir_r innocuous_readdir_r
43151
43152 /* System header to define __stub macros and hopefully few prototypes,
43153 which can conflict with char readdir_r (); below.
43154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43155 <limits.h> exists even on freestanding compilers. */
43156
43157 #ifdef __STDC__
43158 # include <limits.h>
43159 #else
43160 # include <assert.h>
43161 #endif
43162
43163 #undef readdir_r
43164
43165 /* Override any GCC internal prototype to avoid an error.
43166 Use char because int might match the return type of a GCC
43167 builtin and then its argument prototype would still apply. */
43168 #ifdef __cplusplus
43169 extern "C"
43170 #endif
43171 char readdir_r ();
43172 /* The GNU C library defines this for functions which it implements
43173 to always fail with ENOSYS. Some functions are actually named
43174 something starting with __ and the normal name is an alias. */
43175 #if defined __stub_readdir_r || defined __stub___readdir_r
43176 choke me
43177 #endif
43178
43179 int
43180 main ()
43181 {
43182 return readdir_r ();
43183 ;
43184 return 0;
43185 }
43186 _ACEOF
43187 rm -f conftest.$ac_objext conftest$ac_exeext
43188 if { (ac_try="$ac_link"
43189 case "(($ac_try" in
43190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43191 *) ac_try_echo=$ac_try;;
43192 esac
43193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43194 (eval "$ac_link") 2>conftest.er1
43195 ac_status=$?
43196 grep -v '^ *+' conftest.er1 >conftest.err
43197 rm -f conftest.er1
43198 cat conftest.err >&5
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); } && {
43201 test -z "$ac_c_werror_flag" ||
43202 test ! -s conftest.err
43203 } && test -s conftest$ac_exeext &&
43204 $as_test_x conftest$ac_exeext; then
43205 ac_cv_func_readdir_r=yes
43206 else
43207 echo "$as_me: failed program was:" >&5
43208 sed 's/^/| /' conftest.$ac_ext >&5
43209
43210 ac_cv_func_readdir_r=no
43211 fi
43212
43213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43214 conftest$ac_exeext conftest.$ac_ext
43215 fi
43216 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43217 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43218 if test $ac_cv_func_readdir_r = yes; then
43219 cat >>confdefs.h <<\_ACEOF
43220 #define HAVE_READDIR_R 1
43221 _ACEOF
43222
43223 fi
43224
43225
43226
43227
43228 ac_ext=c
43229 ac_cpp='$CPP $CPPFLAGS'
43230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43233
43234 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43235 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43236
43237 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43238 echo $ECHO_N "(cached) $ECHO_C" >&6
43239 else
43240
43241
43242 ################################################################
43243
43244 ac_cv_func_which_gethostbyname_r=unknown
43245
43246 #
43247 # ONE ARGUMENT (sanity check)
43248 #
43249
43250 # This should fail, as there is no variant of gethostbyname_r() that takes
43251 # a single argument. If it actually compiles, then we can assume that
43252 # netdb.h is not declaring the function, and the compiler is thereby
43253 # assuming an implicit prototype. In which case, we're out of luck.
43254 #
43255 cat >conftest.$ac_ext <<_ACEOF
43256 /* confdefs.h. */
43257 _ACEOF
43258 cat confdefs.h >>conftest.$ac_ext
43259 cat >>conftest.$ac_ext <<_ACEOF
43260 /* end confdefs.h. */
43261 #include <netdb.h>
43262 int
43263 main ()
43264 {
43265
43266 char *name = "www.gnu.org";
43267 (void)gethostbyname_r(name) /* ; */
43268
43269 ;
43270 return 0;
43271 }
43272 _ACEOF
43273 rm -f conftest.$ac_objext
43274 if { (ac_try="$ac_compile"
43275 case "(($ac_try" in
43276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43277 *) ac_try_echo=$ac_try;;
43278 esac
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_compile") 2>conftest.er1
43281 ac_status=$?
43282 grep -v '^ *+' conftest.er1 >conftest.err
43283 rm -f conftest.er1
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_c_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest.$ac_objext; then
43290 ac_cv_func_which_gethostbyname_r=no
43291 else
43292 echo "$as_me: failed program was:" >&5
43293 sed 's/^/| /' conftest.$ac_ext >&5
43294
43295
43296 fi
43297
43298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43299
43300 #
43301 # SIX ARGUMENTS
43302 # (e.g. Linux)
43303 #
43304
43305 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43306
43307 cat >conftest.$ac_ext <<_ACEOF
43308 /* confdefs.h. */
43309 _ACEOF
43310 cat confdefs.h >>conftest.$ac_ext
43311 cat >>conftest.$ac_ext <<_ACEOF
43312 /* end confdefs.h. */
43313 #include <netdb.h>
43314 int
43315 main ()
43316 {
43317
43318 char *name = "www.gnu.org";
43319 struct hostent ret, *retp;
43320 char buf[1024];
43321 int buflen = 1024;
43322 int my_h_errno;
43323 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43324
43325 ;
43326 return 0;
43327 }
43328 _ACEOF
43329 rm -f conftest.$ac_objext
43330 if { (ac_try="$ac_compile"
43331 case "(($ac_try" in
43332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43333 *) ac_try_echo=$ac_try;;
43334 esac
43335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43336 (eval "$ac_compile") 2>conftest.er1
43337 ac_status=$?
43338 grep -v '^ *+' conftest.er1 >conftest.err
43339 rm -f conftest.er1
43340 cat conftest.err >&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); } && {
43343 test -z "$ac_c_werror_flag" ||
43344 test ! -s conftest.err
43345 } && test -s conftest.$ac_objext; then
43346 ac_cv_func_which_gethostbyname_r=six
43347 else
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43350
43351
43352 fi
43353
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43355
43356 fi
43357
43358 #
43359 # FIVE ARGUMENTS
43360 # (e.g. Solaris)
43361 #
43362
43363 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43364
43365 cat >conftest.$ac_ext <<_ACEOF
43366 /* confdefs.h. */
43367 _ACEOF
43368 cat confdefs.h >>conftest.$ac_ext
43369 cat >>conftest.$ac_ext <<_ACEOF
43370 /* end confdefs.h. */
43371 #include <netdb.h>
43372 int
43373 main ()
43374 {
43375
43376 char *name = "www.gnu.org";
43377 struct hostent ret;
43378 char buf[1024];
43379 int buflen = 1024;
43380 int my_h_errno;
43381 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43382
43383 ;
43384 return 0;
43385 }
43386 _ACEOF
43387 rm -f conftest.$ac_objext
43388 if { (ac_try="$ac_compile"
43389 case "(($ac_try" in
43390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43391 *) ac_try_echo=$ac_try;;
43392 esac
43393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43394 (eval "$ac_compile") 2>conftest.er1
43395 ac_status=$?
43396 grep -v '^ *+' conftest.er1 >conftest.err
43397 rm -f conftest.er1
43398 cat conftest.err >&5
43399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43400 (exit $ac_status); } && {
43401 test -z "$ac_c_werror_flag" ||
43402 test ! -s conftest.err
43403 } && test -s conftest.$ac_objext; then
43404 ac_cv_func_which_gethostbyname_r=five
43405 else
43406 echo "$as_me: failed program was:" >&5
43407 sed 's/^/| /' conftest.$ac_ext >&5
43408
43409
43410 fi
43411
43412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43413
43414 fi
43415
43416 #
43417 # THREE ARGUMENTS
43418 # (e.g. AIX, HP-UX, Tru64)
43419 #
43420
43421 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43422
43423 cat >conftest.$ac_ext <<_ACEOF
43424 /* confdefs.h. */
43425 _ACEOF
43426 cat confdefs.h >>conftest.$ac_ext
43427 cat >>conftest.$ac_ext <<_ACEOF
43428 /* end confdefs.h. */
43429 #include <netdb.h>
43430 int
43431 main ()
43432 {
43433
43434 char *name = "www.gnu.org";
43435 struct hostent ret;
43436 struct hostent_data data;
43437 (void)gethostbyname_r(name, &ret, &data) /* ; */
43438
43439 ;
43440 return 0;
43441 }
43442 _ACEOF
43443 rm -f conftest.$ac_objext
43444 if { (ac_try="$ac_compile"
43445 case "(($ac_try" in
43446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43447 *) ac_try_echo=$ac_try;;
43448 esac
43449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43450 (eval "$ac_compile") 2>conftest.er1
43451 ac_status=$?
43452 grep -v '^ *+' conftest.er1 >conftest.err
43453 rm -f conftest.er1
43454 cat conftest.err >&5
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); } && {
43457 test -z "$ac_c_werror_flag" ||
43458 test ! -s conftest.err
43459 } && test -s conftest.$ac_objext; then
43460 ac_cv_func_which_gethostbyname_r=three
43461 else
43462 echo "$as_me: failed program was:" >&5
43463 sed 's/^/| /' conftest.$ac_ext >&5
43464
43465
43466 fi
43467
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469
43470 fi
43471
43472 ################################################################
43473
43474
43475 fi
43476
43477 case "$ac_cv_func_which_gethostbyname_r" in
43478 three)
43479 { echo "$as_me:$LINENO: result: three" >&5
43480 echo "${ECHO_T}three" >&6; }
43481 cat >>confdefs.h <<\_ACEOF
43482 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43483 _ACEOF
43484
43485 ;;
43486
43487 five)
43488 { echo "$as_me:$LINENO: result: five" >&5
43489 echo "${ECHO_T}five" >&6; }
43490 cat >>confdefs.h <<\_ACEOF
43491 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43492 _ACEOF
43493
43494 ;;
43495
43496 six)
43497 { echo "$as_me:$LINENO: result: six" >&5
43498 echo "${ECHO_T}six" >&6; }
43499 cat >>confdefs.h <<\_ACEOF
43500 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43501 _ACEOF
43502
43503 ;;
43504
43505 no)
43506 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43507 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43508 ;;
43509
43510 unknown)
43511 { echo "$as_me:$LINENO: result: can't tell" >&5
43512 echo "${ECHO_T}can't tell" >&6; }
43513 ;;
43514
43515 *)
43516 { { echo "$as_me:$LINENO: error: internal error" >&5
43517 echo "$as_me: error: internal error" >&2;}
43518 { (exit 1); exit 1; }; }
43519 ;;
43520 esac
43521
43522 ac_ext=c
43523 ac_cpp='$CPP $CPPFLAGS'
43524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43527
43528
43529
43530 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43531 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43532 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43533 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43534 if test "${ac_cv_func_gethostbyname+set}" = set; then
43535 echo $ECHO_N "(cached) $ECHO_C" >&6
43536 else
43537 cat >conftest.$ac_ext <<_ACEOF
43538 /* confdefs.h. */
43539 _ACEOF
43540 cat confdefs.h >>conftest.$ac_ext
43541 cat >>conftest.$ac_ext <<_ACEOF
43542 /* end confdefs.h. */
43543 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43545 #define gethostbyname innocuous_gethostbyname
43546
43547 /* System header to define __stub macros and hopefully few prototypes,
43548 which can conflict with char gethostbyname (); below.
43549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43550 <limits.h> exists even on freestanding compilers. */
43551
43552 #ifdef __STDC__
43553 # include <limits.h>
43554 #else
43555 # include <assert.h>
43556 #endif
43557
43558 #undef gethostbyname
43559
43560 /* Override any GCC internal prototype to avoid an error.
43561 Use char because int might match the return type of a GCC
43562 builtin and then its argument prototype would still apply. */
43563 #ifdef __cplusplus
43564 extern "C"
43565 #endif
43566 char gethostbyname ();
43567 /* The GNU C library defines this for functions which it implements
43568 to always fail with ENOSYS. Some functions are actually named
43569 something starting with __ and the normal name is an alias. */
43570 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43571 choke me
43572 #endif
43573
43574 int
43575 main ()
43576 {
43577 return gethostbyname ();
43578 ;
43579 return 0;
43580 }
43581 _ACEOF
43582 rm -f conftest.$ac_objext conftest$ac_exeext
43583 if { (ac_try="$ac_link"
43584 case "(($ac_try" in
43585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43586 *) ac_try_echo=$ac_try;;
43587 esac
43588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43589 (eval "$ac_link") 2>conftest.er1
43590 ac_status=$?
43591 grep -v '^ *+' conftest.er1 >conftest.err
43592 rm -f conftest.er1
43593 cat conftest.err >&5
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); } && {
43596 test -z "$ac_c_werror_flag" ||
43597 test ! -s conftest.err
43598 } && test -s conftest$ac_exeext &&
43599 $as_test_x conftest$ac_exeext; then
43600 ac_cv_func_gethostbyname=yes
43601 else
43602 echo "$as_me: failed program was:" >&5
43603 sed 's/^/| /' conftest.$ac_ext >&5
43604
43605 ac_cv_func_gethostbyname=no
43606 fi
43607
43608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43609 conftest$ac_exeext conftest.$ac_ext
43610 fi
43611 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43612 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43613 if test $ac_cv_func_gethostbyname = yes; then
43614 cat >>confdefs.h <<\_ACEOF
43615 #define HAVE_GETHOSTBYNAME 1
43616 _ACEOF
43617
43618 fi
43619
43620 fi
43621
43622 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43623 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43624 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43625 echo $ECHO_N "(cached) $ECHO_C" >&6
43626 else
43627
43628 ac_ext=cpp
43629 ac_cpp='$CXXCPP $CPPFLAGS'
43630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43633
43634
43635 cat >conftest.$ac_ext <<_ACEOF
43636 /* confdefs.h. */
43637 _ACEOF
43638 cat confdefs.h >>conftest.$ac_ext
43639 cat >>conftest.$ac_ext <<_ACEOF
43640 /* end confdefs.h. */
43641 #include <netdb.h>
43642 int
43643 main ()
43644 {
43645
43646 char *name;
43647 char *proto;
43648 struct servent *se, *res;
43649 char buffer[2048];
43650 int buflen = 2048;
43651 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43652
43653 ;
43654 return 0;
43655 }
43656 _ACEOF
43657 rm -f conftest.$ac_objext
43658 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest.$ac_objext; then
43674 ac_cv_func_which_getservbyname_r=six
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43678
43679
43680 cat >conftest.$ac_ext <<_ACEOF
43681 /* confdefs.h. */
43682 _ACEOF
43683 cat confdefs.h >>conftest.$ac_ext
43684 cat >>conftest.$ac_ext <<_ACEOF
43685 /* end confdefs.h. */
43686 #include <netdb.h>
43687 int
43688 main ()
43689 {
43690
43691 char *name;
43692 char *proto;
43693 struct servent *se;
43694 char buffer[2048];
43695 int buflen = 2048;
43696 (void) getservbyname_r(name, proto, se, buffer, buflen)
43697
43698 ;
43699 return 0;
43700 }
43701 _ACEOF
43702 rm -f conftest.$ac_objext
43703 if { (ac_try="$ac_compile"
43704 case "(($ac_try" in
43705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43706 *) ac_try_echo=$ac_try;;
43707 esac
43708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43709 (eval "$ac_compile") 2>conftest.er1
43710 ac_status=$?
43711 grep -v '^ *+' conftest.er1 >conftest.err
43712 rm -f conftest.er1
43713 cat conftest.err >&5
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); } && {
43716 test -z "$ac_cxx_werror_flag" ||
43717 test ! -s conftest.err
43718 } && test -s conftest.$ac_objext; then
43719 ac_cv_func_which_getservbyname_r=five
43720 else
43721 echo "$as_me: failed program was:" >&5
43722 sed 's/^/| /' conftest.$ac_ext >&5
43723
43724
43725 cat >conftest.$ac_ext <<_ACEOF
43726 /* confdefs.h. */
43727 _ACEOF
43728 cat confdefs.h >>conftest.$ac_ext
43729 cat >>conftest.$ac_ext <<_ACEOF
43730 /* end confdefs.h. */
43731 #include <netdb.h>
43732 int
43733 main ()
43734 {
43735
43736 char *name;
43737 char *proto;
43738 struct servent *se;
43739 struct servent_data data;
43740 (void) getservbyname_r(name, proto, se, &data);
43741
43742 ;
43743 return 0;
43744 }
43745 _ACEOF
43746 rm -f conftest.$ac_objext
43747 if { (ac_try="$ac_compile"
43748 case "(($ac_try" in
43749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43750 *) ac_try_echo=$ac_try;;
43751 esac
43752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43753 (eval "$ac_compile") 2>conftest.er1
43754 ac_status=$?
43755 grep -v '^ *+' conftest.er1 >conftest.err
43756 rm -f conftest.er1
43757 cat conftest.err >&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); } && {
43760 test -z "$ac_cxx_werror_flag" ||
43761 test ! -s conftest.err
43762 } && test -s conftest.$ac_objext; then
43763 ac_cv_func_which_getservbyname_r=four
43764 else
43765 echo "$as_me: failed program was:" >&5
43766 sed 's/^/| /' conftest.$ac_ext >&5
43767
43768 ac_cv_func_which_getservbyname_r=no
43769
43770 fi
43771
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43773
43774
43775 fi
43776
43777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43778
43779
43780 fi
43781
43782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43783 ac_ext=c
43784 ac_cpp='$CPP $CPPFLAGS'
43785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43788
43789
43790
43791 fi
43792 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43793 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43794
43795 if test $ac_cv_func_which_getservbyname_r = six; then
43796 cat >>confdefs.h <<\_ACEOF
43797 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43798 _ACEOF
43799
43800 elif test $ac_cv_func_which_getservbyname_r = five; then
43801 cat >>confdefs.h <<\_ACEOF
43802 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43803 _ACEOF
43804
43805 elif test $ac_cv_func_which_getservbyname_r = four; then
43806 cat >>confdefs.h <<\_ACEOF
43807 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43808 _ACEOF
43809
43810 fi
43811
43812
43813 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43814 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43815
43816 for ac_func in getservbyname
43817 do
43818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43822 echo $ECHO_N "(cached) $ECHO_C" >&6
43823 else
43824 cat >conftest.$ac_ext <<_ACEOF
43825 /* confdefs.h. */
43826 _ACEOF
43827 cat confdefs.h >>conftest.$ac_ext
43828 cat >>conftest.$ac_ext <<_ACEOF
43829 /* end confdefs.h. */
43830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43832 #define $ac_func innocuous_$ac_func
43833
43834 /* System header to define __stub macros and hopefully few prototypes,
43835 which can conflict with char $ac_func (); below.
43836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43837 <limits.h> exists even on freestanding compilers. */
43838
43839 #ifdef __STDC__
43840 # include <limits.h>
43841 #else
43842 # include <assert.h>
43843 #endif
43844
43845 #undef $ac_func
43846
43847 /* Override any GCC internal prototype to avoid an error.
43848 Use char because int might match the return type of a GCC
43849 builtin and then its argument prototype would still apply. */
43850 #ifdef __cplusplus
43851 extern "C"
43852 #endif
43853 char $ac_func ();
43854 /* The GNU C library defines this for functions which it implements
43855 to always fail with ENOSYS. Some functions are actually named
43856 something starting with __ and the normal name is an alias. */
43857 #if defined __stub_$ac_func || defined __stub___$ac_func
43858 choke me
43859 #endif
43860
43861 int
43862 main ()
43863 {
43864 return $ac_func ();
43865 ;
43866 return 0;
43867 }
43868 _ACEOF
43869 rm -f conftest.$ac_objext conftest$ac_exeext
43870 if { (ac_try="$ac_link"
43871 case "(($ac_try" in
43872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43873 *) ac_try_echo=$ac_try;;
43874 esac
43875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43876 (eval "$ac_link") 2>conftest.er1
43877 ac_status=$?
43878 grep -v '^ *+' conftest.er1 >conftest.err
43879 rm -f conftest.er1
43880 cat conftest.err >&5
43881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43882 (exit $ac_status); } && {
43883 test -z "$ac_c_werror_flag" ||
43884 test ! -s conftest.err
43885 } && test -s conftest$ac_exeext &&
43886 $as_test_x conftest$ac_exeext; then
43887 eval "$as_ac_var=yes"
43888 else
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.$ac_ext >&5
43891
43892 eval "$as_ac_var=no"
43893 fi
43894
43895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43896 conftest$ac_exeext conftest.$ac_ext
43897 fi
43898 ac_res=`eval echo '${'$as_ac_var'}'`
43899 { echo "$as_me:$LINENO: result: $ac_res" >&5
43900 echo "${ECHO_T}$ac_res" >&6; }
43901 if test `eval echo '${'$as_ac_var'}'` = yes; then
43902 cat >>confdefs.h <<_ACEOF
43903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43904 _ACEOF
43905 cat >>confdefs.h <<\_ACEOF
43906 #define HAVE_GETSERVBYNAME 1
43907 _ACEOF
43908
43909 fi
43910 done
43911
43912 fi
43913
43914 if test "$wxUSE_THREADS" = "yes"; then
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_THREADS 1
43917 _ACEOF
43918
43919
43920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43921 else
43922 if test "$wx_cv_func_strtok_r" = "yes"; then
43923 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43924 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43925 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43926 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43927 { echo "$as_me:$LINENO: result: yes" >&5
43928 echo "${ECHO_T}yes" >&6; }
43929 else
43930 { echo "$as_me:$LINENO: result: no" >&5
43931 echo "${ECHO_T}no" >&6; }
43932 fi
43933 fi
43934 fi
43935
43936 if test "$WXGTK20" = 1 ; then
43937 cat >>confdefs.h <<_ACEOF
43938 #define __WXGTK20__ $WXGTK20
43939 _ACEOF
43940
43941 WXGTK12=1
43942 fi
43943
43944 if test "$WXGTK12" = 1 ; then
43945 cat >>confdefs.h <<_ACEOF
43946 #define __WXGTK12__ $WXGTK12
43947 _ACEOF
43948
43949 fi
43950
43951 if test "$WXGTK127" = 1 ; then
43952 cat >>confdefs.h <<_ACEOF
43953 #define __WXGTK127__ $WXGTK127
43954 _ACEOF
43955
43956 fi
43957
43958 if test "$WXGPE" = 1 ; then
43959 cat >>confdefs.h <<_ACEOF
43960 #define __WXGPE__ $WXGPE
43961 _ACEOF
43962
43963 fi
43964
43965 DEBUG_CFLAGS=
43966 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43967 DEBUG_CFLAGS="-g"
43968 wxUSE_OPTIMISE=no
43969 fi
43970
43971 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43972 wxUSE_DEBUG_INFO=yes
43973 if test "$GCC" = yes; then
43974 DEBUG_CFLAGS="-ggdb"
43975 fi
43976 fi
43977
43978 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43979 cat >>confdefs.h <<\_ACEOF
43980 #define WXDEBUG 1
43981 _ACEOF
43982
43983 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43984 else
43985 if test "$wxUSE_GTK" = 1 ; then
43986 if test "x$wxGTK_VERSION" = "x1" ; then
43987 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43988 fi
43989 fi
43990 fi
43991
43992 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43993 cat >>confdefs.h <<\_ACEOF
43994 #define wxUSE_MEMORY_TRACING 1
43995 _ACEOF
43996
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43999 _ACEOF
44000
44001 cat >>confdefs.h <<\_ACEOF
44002 #define wxUSE_DEBUG_NEW_ALWAYS 1
44003 _ACEOF
44004
44005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44006 fi
44007
44008 if test "$wxUSE_DMALLOC" = "yes" ; then
44009 DMALLOC_LIBS="-ldmallocthcxx"
44010 fi
44011
44012 PROFILE_FLAGS=
44013 if test "$wxUSE_PROFILE" = "yes" ; then
44014 PROFILE_FLAGS=" -pg"
44015 fi
44016
44017 if test "$GCC" = "yes" ; then
44018 if test "$wxUSE_NO_RTTI" = "yes" ; then
44019 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44020 fi
44021 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44022 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44023 fi
44024 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44025 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44026 fi
44027
44028 case "${host}" in
44029 powerpc*-*-aix* )
44030 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44031 ;;
44032 *-hppa* )
44033 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44034 ;;
44035 esac
44036 fi
44037
44038 OPTIMISE_CFLAGS=
44039 if test "$wxUSE_OPTIMISE" = "no" ; then
44040 if test "$GCC" = yes ; then
44041 OPTIMISE_CFLAGS="-O0"
44042 fi
44043 else
44044 if test "$GCC" = yes ; then
44045 case "${host}" in
44046 *-pc-os2_emx | *-pc-os2-emx )
44047 OPTIMISE_CFLAGS="-O2"
44048 ;;
44049 *)
44050 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44051 ;;
44052 esac
44053 else
44054 OPTIMISE_CFLAGS="-O"
44055 fi
44056 fi
44057
44058
44059 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44060 cat >>confdefs.h <<\_ACEOF
44061 #define WXWIN_COMPATIBILITY_2_6 1
44062 _ACEOF
44063
44064
44065 WXWIN_COMPATIBILITY_2_8="yes"
44066 fi
44067
44068 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44069 cat >>confdefs.h <<\_ACEOF
44070 #define WXWIN_COMPATIBILITY_2_8 1
44071 _ACEOF
44072
44073 fi
44074
44075
44076 if test "$wxUSE_GUI" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_GUI 1
44079 _ACEOF
44080
44081
44082 fi
44083
44084
44085 if test "$wxUSE_UNIX" = "yes"; then
44086 cat >>confdefs.h <<\_ACEOF
44087 #define wxUSE_UNIX 1
44088 _ACEOF
44089
44090 fi
44091
44092
44093 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44094
44095 HAVE_DL_FUNCS=0
44096 HAVE_SHL_FUNCS=0
44097 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44098 if test "$USE_DARWIN" = 1; then
44099 HAVE_DL_FUNCS=1
44100 elif test "$USE_DOS" = 1; then
44101 HAVE_DL_FUNCS=0
44102 else
44103
44104 for ac_func in dlopen
44105 do
44106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44110 echo $ECHO_N "(cached) $ECHO_C" >&6
44111 else
44112 cat >conftest.$ac_ext <<_ACEOF
44113 /* confdefs.h. */
44114 _ACEOF
44115 cat confdefs.h >>conftest.$ac_ext
44116 cat >>conftest.$ac_ext <<_ACEOF
44117 /* end confdefs.h. */
44118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44120 #define $ac_func innocuous_$ac_func
44121
44122 /* System header to define __stub macros and hopefully few prototypes,
44123 which can conflict with char $ac_func (); below.
44124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44125 <limits.h> exists even on freestanding compilers. */
44126
44127 #ifdef __STDC__
44128 # include <limits.h>
44129 #else
44130 # include <assert.h>
44131 #endif
44132
44133 #undef $ac_func
44134
44135 /* Override any GCC internal prototype to avoid an error.
44136 Use char because int might match the return type of a GCC
44137 builtin and then its argument prototype would still apply. */
44138 #ifdef __cplusplus
44139 extern "C"
44140 #endif
44141 char $ac_func ();
44142 /* The GNU C library defines this for functions which it implements
44143 to always fail with ENOSYS. Some functions are actually named
44144 something starting with __ and the normal name is an alias. */
44145 #if defined __stub_$ac_func || defined __stub___$ac_func
44146 choke me
44147 #endif
44148
44149 int
44150 main ()
44151 {
44152 return $ac_func ();
44153 ;
44154 return 0;
44155 }
44156 _ACEOF
44157 rm -f conftest.$ac_objext conftest$ac_exeext
44158 if { (ac_try="$ac_link"
44159 case "(($ac_try" in
44160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44161 *) ac_try_echo=$ac_try;;
44162 esac
44163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44164 (eval "$ac_link") 2>conftest.er1
44165 ac_status=$?
44166 grep -v '^ *+' conftest.er1 >conftest.err
44167 rm -f conftest.er1
44168 cat conftest.err >&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } && {
44171 test -z "$ac_c_werror_flag" ||
44172 test ! -s conftest.err
44173 } && test -s conftest$ac_exeext &&
44174 $as_test_x conftest$ac_exeext; then
44175 eval "$as_ac_var=yes"
44176 else
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.$ac_ext >&5
44179
44180 eval "$as_ac_var=no"
44181 fi
44182
44183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44184 conftest$ac_exeext conftest.$ac_ext
44185 fi
44186 ac_res=`eval echo '${'$as_ac_var'}'`
44187 { echo "$as_me:$LINENO: result: $ac_res" >&5
44188 echo "${ECHO_T}$ac_res" >&6; }
44189 if test `eval echo '${'$as_ac_var'}'` = yes; then
44190 cat >>confdefs.h <<_ACEOF
44191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44192 _ACEOF
44193
44194 cat >>confdefs.h <<\_ACEOF
44195 #define HAVE_DLOPEN 1
44196 _ACEOF
44197
44198 HAVE_DL_FUNCS=1
44199
44200 else
44201
44202 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44203 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44204 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44205 echo $ECHO_N "(cached) $ECHO_C" >&6
44206 else
44207 ac_check_lib_save_LIBS=$LIBS
44208 LIBS="-ldl $LIBS"
44209 cat >conftest.$ac_ext <<_ACEOF
44210 /* confdefs.h. */
44211 _ACEOF
44212 cat confdefs.h >>conftest.$ac_ext
44213 cat >>conftest.$ac_ext <<_ACEOF
44214 /* end confdefs.h. */
44215
44216 /* Override any GCC internal prototype to avoid an error.
44217 Use char because int might match the return type of a GCC
44218 builtin and then its argument prototype would still apply. */
44219 #ifdef __cplusplus
44220 extern "C"
44221 #endif
44222 char dlopen ();
44223 int
44224 main ()
44225 {
44226 return dlopen ();
44227 ;
44228 return 0;
44229 }
44230 _ACEOF
44231 rm -f conftest.$ac_objext conftest$ac_exeext
44232 if { (ac_try="$ac_link"
44233 case "(($ac_try" in
44234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44235 *) ac_try_echo=$ac_try;;
44236 esac
44237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44238 (eval "$ac_link") 2>conftest.er1
44239 ac_status=$?
44240 grep -v '^ *+' conftest.er1 >conftest.err
44241 rm -f conftest.er1
44242 cat conftest.err >&5
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); } && {
44245 test -z "$ac_c_werror_flag" ||
44246 test ! -s conftest.err
44247 } && test -s conftest$ac_exeext &&
44248 $as_test_x conftest$ac_exeext; then
44249 ac_cv_lib_dl_dlopen=yes
44250 else
44251 echo "$as_me: failed program was:" >&5
44252 sed 's/^/| /' conftest.$ac_ext >&5
44253
44254 ac_cv_lib_dl_dlopen=no
44255 fi
44256
44257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44258 conftest$ac_exeext conftest.$ac_ext
44259 LIBS=$ac_check_lib_save_LIBS
44260 fi
44261 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44262 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44263 if test $ac_cv_lib_dl_dlopen = yes; then
44264
44265 cat >>confdefs.h <<\_ACEOF
44266 #define HAVE_DLOPEN 1
44267 _ACEOF
44268
44269 HAVE_DL_FUNCS=1
44270 DL_LINK=" -ldl$DL_LINK"
44271
44272 else
44273
44274
44275 for ac_func in shl_load
44276 do
44277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44281 echo $ECHO_N "(cached) $ECHO_C" >&6
44282 else
44283 cat >conftest.$ac_ext <<_ACEOF
44284 /* confdefs.h. */
44285 _ACEOF
44286 cat confdefs.h >>conftest.$ac_ext
44287 cat >>conftest.$ac_ext <<_ACEOF
44288 /* end confdefs.h. */
44289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44291 #define $ac_func innocuous_$ac_func
44292
44293 /* System header to define __stub macros and hopefully few prototypes,
44294 which can conflict with char $ac_func (); below.
44295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44296 <limits.h> exists even on freestanding compilers. */
44297
44298 #ifdef __STDC__
44299 # include <limits.h>
44300 #else
44301 # include <assert.h>
44302 #endif
44303
44304 #undef $ac_func
44305
44306 /* Override any GCC internal prototype to avoid an error.
44307 Use char because int might match the return type of a GCC
44308 builtin and then its argument prototype would still apply. */
44309 #ifdef __cplusplus
44310 extern "C"
44311 #endif
44312 char $ac_func ();
44313 /* The GNU C library defines this for functions which it implements
44314 to always fail with ENOSYS. Some functions are actually named
44315 something starting with __ and the normal name is an alias. */
44316 #if defined __stub_$ac_func || defined __stub___$ac_func
44317 choke me
44318 #endif
44319
44320 int
44321 main ()
44322 {
44323 return $ac_func ();
44324 ;
44325 return 0;
44326 }
44327 _ACEOF
44328 rm -f conftest.$ac_objext conftest$ac_exeext
44329 if { (ac_try="$ac_link"
44330 case "(($ac_try" in
44331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44332 *) ac_try_echo=$ac_try;;
44333 esac
44334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44335 (eval "$ac_link") 2>conftest.er1
44336 ac_status=$?
44337 grep -v '^ *+' conftest.er1 >conftest.err
44338 rm -f conftest.er1
44339 cat conftest.err >&5
44340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44341 (exit $ac_status); } && {
44342 test -z "$ac_c_werror_flag" ||
44343 test ! -s conftest.err
44344 } && test -s conftest$ac_exeext &&
44345 $as_test_x conftest$ac_exeext; then
44346 eval "$as_ac_var=yes"
44347 else
44348 echo "$as_me: failed program was:" >&5
44349 sed 's/^/| /' conftest.$ac_ext >&5
44350
44351 eval "$as_ac_var=no"
44352 fi
44353
44354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44355 conftest$ac_exeext conftest.$ac_ext
44356 fi
44357 ac_res=`eval echo '${'$as_ac_var'}'`
44358 { echo "$as_me:$LINENO: result: $ac_res" >&5
44359 echo "${ECHO_T}$ac_res" >&6; }
44360 if test `eval echo '${'$as_ac_var'}'` = yes; then
44361 cat >>confdefs.h <<_ACEOF
44362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44363 _ACEOF
44364
44365 cat >>confdefs.h <<\_ACEOF
44366 #define HAVE_SHL_LOAD 1
44367 _ACEOF
44368
44369 HAVE_SHL_FUNCS=1
44370
44371 else
44372
44373 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44374 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44375 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44376 echo $ECHO_N "(cached) $ECHO_C" >&6
44377 else
44378 ac_check_lib_save_LIBS=$LIBS
44379 LIBS="-lshl_load $LIBS"
44380 cat >conftest.$ac_ext <<_ACEOF
44381 /* confdefs.h. */
44382 _ACEOF
44383 cat confdefs.h >>conftest.$ac_ext
44384 cat >>conftest.$ac_ext <<_ACEOF
44385 /* end confdefs.h. */
44386
44387 /* Override any GCC internal prototype to avoid an error.
44388 Use char because int might match the return type of a GCC
44389 builtin and then its argument prototype would still apply. */
44390 #ifdef __cplusplus
44391 extern "C"
44392 #endif
44393 char dld ();
44394 int
44395 main ()
44396 {
44397 return dld ();
44398 ;
44399 return 0;
44400 }
44401 _ACEOF
44402 rm -f conftest.$ac_objext conftest$ac_exeext
44403 if { (ac_try="$ac_link"
44404 case "(($ac_try" in
44405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44406 *) ac_try_echo=$ac_try;;
44407 esac
44408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44409 (eval "$ac_link") 2>conftest.er1
44410 ac_status=$?
44411 grep -v '^ *+' conftest.er1 >conftest.err
44412 rm -f conftest.er1
44413 cat conftest.err >&5
44414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44415 (exit $ac_status); } && {
44416 test -z "$ac_c_werror_flag" ||
44417 test ! -s conftest.err
44418 } && test -s conftest$ac_exeext &&
44419 $as_test_x conftest$ac_exeext; then
44420 ac_cv_lib_shl_load_dld=yes
44421 else
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44424
44425 ac_cv_lib_shl_load_dld=no
44426 fi
44427
44428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44429 conftest$ac_exeext conftest.$ac_ext
44430 LIBS=$ac_check_lib_save_LIBS
44431 fi
44432 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44433 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44434 if test $ac_cv_lib_shl_load_dld = yes; then
44435
44436 HAVE_SHL_FUNCS=1
44437 DL_LINK=" -ldld$DL_LINK"
44438
44439 fi
44440
44441
44442 fi
44443 done
44444
44445
44446 fi
44447
44448
44449 fi
44450 done
44451
44452
44453 if test "$HAVE_DL_FUNCS" = 1; then
44454
44455 for ac_func in dlerror
44456 do
44457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44461 echo $ECHO_N "(cached) $ECHO_C" >&6
44462 else
44463 cat >conftest.$ac_ext <<_ACEOF
44464 /* confdefs.h. */
44465 _ACEOF
44466 cat confdefs.h >>conftest.$ac_ext
44467 cat >>conftest.$ac_ext <<_ACEOF
44468 /* end confdefs.h. */
44469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44471 #define $ac_func innocuous_$ac_func
44472
44473 /* System header to define __stub macros and hopefully few prototypes,
44474 which can conflict with char $ac_func (); below.
44475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44476 <limits.h> exists even on freestanding compilers. */
44477
44478 #ifdef __STDC__
44479 # include <limits.h>
44480 #else
44481 # include <assert.h>
44482 #endif
44483
44484 #undef $ac_func
44485
44486 /* Override any GCC internal prototype to avoid an error.
44487 Use char because int might match the return type of a GCC
44488 builtin and then its argument prototype would still apply. */
44489 #ifdef __cplusplus
44490 extern "C"
44491 #endif
44492 char $ac_func ();
44493 /* The GNU C library defines this for functions which it implements
44494 to always fail with ENOSYS. Some functions are actually named
44495 something starting with __ and the normal name is an alias. */
44496 #if defined __stub_$ac_func || defined __stub___$ac_func
44497 choke me
44498 #endif
44499
44500 int
44501 main ()
44502 {
44503 return $ac_func ();
44504 ;
44505 return 0;
44506 }
44507 _ACEOF
44508 rm -f conftest.$ac_objext conftest$ac_exeext
44509 if { (ac_try="$ac_link"
44510 case "(($ac_try" in
44511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44512 *) ac_try_echo=$ac_try;;
44513 esac
44514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44515 (eval "$ac_link") 2>conftest.er1
44516 ac_status=$?
44517 grep -v '^ *+' conftest.er1 >conftest.err
44518 rm -f conftest.er1
44519 cat conftest.err >&5
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); } && {
44522 test -z "$ac_c_werror_flag" ||
44523 test ! -s conftest.err
44524 } && test -s conftest$ac_exeext &&
44525 $as_test_x conftest$ac_exeext; then
44526 eval "$as_ac_var=yes"
44527 else
44528 echo "$as_me: failed program was:" >&5
44529 sed 's/^/| /' conftest.$ac_ext >&5
44530
44531 eval "$as_ac_var=no"
44532 fi
44533
44534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44535 conftest$ac_exeext conftest.$ac_ext
44536 fi
44537 ac_res=`eval echo '${'$as_ac_var'}'`
44538 { echo "$as_me:$LINENO: result: $ac_res" >&5
44539 echo "${ECHO_T}$ac_res" >&6; }
44540 if test `eval echo '${'$as_ac_var'}'` = yes; then
44541 cat >>confdefs.h <<_ACEOF
44542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44543 _ACEOF
44544 cat >>confdefs.h <<\_ACEOF
44545 #define HAVE_DLERROR 1
44546 _ACEOF
44547
44548 else
44549
44550 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44551 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44552 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44553 echo $ECHO_N "(cached) $ECHO_C" >&6
44554 else
44555 ac_check_lib_save_LIBS=$LIBS
44556 LIBS="-ldl $LIBS"
44557 cat >conftest.$ac_ext <<_ACEOF
44558 /* confdefs.h. */
44559 _ACEOF
44560 cat confdefs.h >>conftest.$ac_ext
44561 cat >>conftest.$ac_ext <<_ACEOF
44562 /* end confdefs.h. */
44563
44564 /* Override any GCC internal prototype to avoid an error.
44565 Use char because int might match the return type of a GCC
44566 builtin and then its argument prototype would still apply. */
44567 #ifdef __cplusplus
44568 extern "C"
44569 #endif
44570 char dlerror ();
44571 int
44572 main ()
44573 {
44574 return dlerror ();
44575 ;
44576 return 0;
44577 }
44578 _ACEOF
44579 rm -f conftest.$ac_objext conftest$ac_exeext
44580 if { (ac_try="$ac_link"
44581 case "(($ac_try" in
44582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44583 *) ac_try_echo=$ac_try;;
44584 esac
44585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44586 (eval "$ac_link") 2>conftest.er1
44587 ac_status=$?
44588 grep -v '^ *+' conftest.er1 >conftest.err
44589 rm -f conftest.er1
44590 cat conftest.err >&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); } && {
44593 test -z "$ac_c_werror_flag" ||
44594 test ! -s conftest.err
44595 } && test -s conftest$ac_exeext &&
44596 $as_test_x conftest$ac_exeext; then
44597 ac_cv_lib_dl_dlerror=yes
44598 else
44599 echo "$as_me: failed program was:" >&5
44600 sed 's/^/| /' conftest.$ac_ext >&5
44601
44602 ac_cv_lib_dl_dlerror=no
44603 fi
44604
44605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44606 conftest$ac_exeext conftest.$ac_ext
44607 LIBS=$ac_check_lib_save_LIBS
44608 fi
44609 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44610 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44611 if test $ac_cv_lib_dl_dlerror = yes; then
44612 cat >>confdefs.h <<\_ACEOF
44613 #define HAVE_DLERROR 1
44614 _ACEOF
44615
44616 fi
44617
44618
44619
44620 fi
44621 done
44622
44623 fi
44624 fi
44625
44626 if test "$HAVE_DL_FUNCS" = 0; then
44627 if test "$HAVE_SHL_FUNCS" = 0; then
44628 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44629 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44630 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44631 wxUSE_DYNAMIC_LOADER=no
44632 wxUSE_DYNLIB_CLASS=no
44633 else
44634 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44635 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44636 fi
44637 fi
44638 fi
44639 fi
44640 fi
44641
44642 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_DYNAMIC_LOADER 1
44645 _ACEOF
44646
44647 fi
44648 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_DYNLIB_CLASS 1
44651 _ACEOF
44652
44653 fi
44654
44655
44656
44657 if test "$wxUSE_PLUGINS" = "yes" ; then
44658 if test "$wxUSE_SHARED" = "no" ; then
44659 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44660 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44661 wxUSE_PLUGINS=no
44662 fi
44663 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44664 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44665 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44666 wxUSE_PLUGINS=no
44667 fi
44668 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44669 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44670 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44671 wxUSE_PLUGINS=no
44672 fi
44673 if test "$wxUSE_PLUGINS" = "yes" ; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_PLUGINS 1
44676 _ACEOF
44677
44678 fi
44679 fi
44680
44681
44682 if test "$wxUSE_STL" = "yes"; then
44683 cat >>confdefs.h <<\_ACEOF
44684 #define wxUSE_STL 1
44685 _ACEOF
44686
44687 fi
44688
44689 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_EXTENDED_RTTI 1
44692 _ACEOF
44693
44694 fi
44695
44696 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44697 cat >>confdefs.h <<\_ACEOF
44698 #define wxUSE_APPLE_IEEE 1
44699 _ACEOF
44700
44701 fi
44702
44703 if test "$wxUSE_TIMER" = "yes"; then
44704 cat >>confdefs.h <<\_ACEOF
44705 #define wxUSE_TIMER 1
44706 _ACEOF
44707
44708 fi
44709
44710 if test "$USE_UNIX" = "1" ; then
44711 if test "$wxUSE_MGL" != 1; then
44712 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44713 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44714 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44715 echo $ECHO_N "(cached) $ECHO_C" >&6
44716 else
44717
44718 cat >conftest.$ac_ext <<_ACEOF
44719 /* confdefs.h. */
44720 _ACEOF
44721 cat confdefs.h >>conftest.$ac_ext
44722 cat >>conftest.$ac_ext <<_ACEOF
44723 /* end confdefs.h. */
44724
44725 #include <sys/ioctl.h>
44726 #include <sys/soundcard.h>
44727
44728 int
44729 main ()
44730 {
44731
44732 ioctl(0, SNDCTL_DSP_SPEED, 0);
44733
44734 ;
44735 return 0;
44736 }
44737 _ACEOF
44738 rm -f conftest.$ac_objext conftest$ac_exeext
44739 if { (ac_try="$ac_link"
44740 case "(($ac_try" in
44741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44742 *) ac_try_echo=$ac_try;;
44743 esac
44744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44745 (eval "$ac_link") 2>conftest.er1
44746 ac_status=$?
44747 grep -v '^ *+' conftest.er1 >conftest.err
44748 rm -f conftest.er1
44749 cat conftest.err >&5
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); } && {
44752 test -z "$ac_c_werror_flag" ||
44753 test ! -s conftest.err
44754 } && test -s conftest$ac_exeext &&
44755 $as_test_x conftest$ac_exeext; then
44756 ac_cv_header_sys_soundcard=yes
44757 else
44758 echo "$as_me: failed program was:" >&5
44759 sed 's/^/| /' conftest.$ac_ext >&5
44760
44761
44762 saveLibs="$LIBS"
44763 LIBS="$saveLibs -lossaudio"
44764 cat >conftest.$ac_ext <<_ACEOF
44765 /* confdefs.h. */
44766 _ACEOF
44767 cat confdefs.h >>conftest.$ac_ext
44768 cat >>conftest.$ac_ext <<_ACEOF
44769 /* end confdefs.h. */
44770
44771 #include <sys/ioctl.h>
44772 #include <sys/soundcard.h>
44773
44774 int
44775 main ()
44776 {
44777
44778 ioctl(0, SNDCTL_DSP_SPEED, 0);
44779
44780 ;
44781 return 0;
44782 }
44783 _ACEOF
44784 rm -f conftest.$ac_objext conftest$ac_exeext
44785 if { (ac_try="$ac_link"
44786 case "(($ac_try" in
44787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44788 *) ac_try_echo=$ac_try;;
44789 esac
44790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44791 (eval "$ac_link") 2>conftest.er1
44792 ac_status=$?
44793 grep -v '^ *+' conftest.er1 >conftest.err
44794 rm -f conftest.er1
44795 cat conftest.err >&5
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); } && {
44798 test -z "$ac_c_werror_flag" ||
44799 test ! -s conftest.err
44800 } && test -s conftest$ac_exeext &&
44801 $as_test_x conftest$ac_exeext; then
44802 ac_cv_header_sys_soundcard=yes
44803 else
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.$ac_ext >&5
44806
44807
44808 LIBS="$saveLibs"
44809 ac_cv_header_sys_soundcard=no
44810
44811
44812 fi
44813
44814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44815 conftest$ac_exeext conftest.$ac_ext
44816
44817
44818 fi
44819
44820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44821 conftest$ac_exeext conftest.$ac_ext
44822
44823 fi
44824 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44825 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44826 fi
44827
44828 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define HAVE_SYS_SOUNDCARD_H 1
44831 _ACEOF
44832
44833 fi
44834 fi
44835
44836 WITH_PLUGIN_SDL=0
44837 if test "$wxUSE_SOUND" = "yes"; then
44838 if test "$USE_UNIX" = "1" ; then
44839 if test "$wxUSE_LIBSDL" != "no"; then
44840
44841 # Check whether --with-sdl-prefix was given.
44842 if test "${with_sdl_prefix+set}" = set; then
44843 withval=$with_sdl_prefix; sdl_prefix="$withval"
44844 else
44845 sdl_prefix=""
44846 fi
44847
44848
44849 # Check whether --with-sdl-exec-prefix was given.
44850 if test "${with_sdl_exec_prefix+set}" = set; then
44851 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44852 else
44853 sdl_exec_prefix=""
44854 fi
44855
44856 # Check whether --enable-sdltest was given.
44857 if test "${enable_sdltest+set}" = set; then
44858 enableval=$enable_sdltest;
44859 else
44860 enable_sdltest=yes
44861 fi
44862
44863
44864 if test x$sdl_exec_prefix != x ; then
44865 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44866 if test x${SDL_CONFIG+set} != xset ; then
44867 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44868 fi
44869 fi
44870 if test x$sdl_prefix != x ; then
44871 sdl_args="$sdl_args --prefix=$sdl_prefix"
44872 if test x${SDL_CONFIG+set} != xset ; then
44873 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44874 fi
44875 fi
44876
44877 if test "x$prefix" != xNONE; then
44878 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44879 fi
44880 # Extract the first word of "sdl-config", so it can be a program name with args.
44881 set dummy sdl-config; ac_word=$2
44882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44884 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44885 echo $ECHO_N "(cached) $ECHO_C" >&6
44886 else
44887 case $SDL_CONFIG in
44888 [\\/]* | ?:[\\/]*)
44889 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44890 ;;
44891 *)
44892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44893 for as_dir in $PATH
44894 do
44895 IFS=$as_save_IFS
44896 test -z "$as_dir" && as_dir=.
44897 for ac_exec_ext in '' $ac_executable_extensions; do
44898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44899 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44901 break 2
44902 fi
44903 done
44904 done
44905 IFS=$as_save_IFS
44906
44907 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44908 ;;
44909 esac
44910 fi
44911 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44912 if test -n "$SDL_CONFIG"; then
44913 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44914 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44915 else
44916 { echo "$as_me:$LINENO: result: no" >&5
44917 echo "${ECHO_T}no" >&6; }
44918 fi
44919
44920
44921 min_sdl_version=1.2.0
44922 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44923 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44924 no_sdl=""
44925 if test "$SDL_CONFIG" = "no" ; then
44926 no_sdl=yes
44927 else
44928 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44929 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44930
44931 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44933 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44935 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44937 if test "x$enable_sdltest" = "xyes" ; then
44938 ac_save_CFLAGS="$CFLAGS"
44939 ac_save_CXXFLAGS="$CXXFLAGS"
44940 ac_save_LIBS="$LIBS"
44941 CFLAGS="$CFLAGS $SDL_CFLAGS"
44942 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44943 LIBS="$LIBS $SDL_LIBS"
44944 rm -f conf.sdltest
44945 if test "$cross_compiling" = yes; then
44946 echo $ac_n "cross compiling; assumed OK... $ac_c"
44947 else
44948 cat >conftest.$ac_ext <<_ACEOF
44949 /* confdefs.h. */
44950 _ACEOF
44951 cat confdefs.h >>conftest.$ac_ext
44952 cat >>conftest.$ac_ext <<_ACEOF
44953 /* end confdefs.h. */
44954
44955 #include <stdio.h>
44956 #include <stdlib.h>
44957 #include <string.h>
44958 #include "SDL.h"
44959
44960 char*
44961 my_strdup (char *str)
44962 {
44963 char *new_str;
44964
44965 if (str)
44966 {
44967 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44968 strcpy (new_str, str);
44969 }
44970 else
44971 new_str = NULL;
44972
44973 return new_str;
44974 }
44975
44976 int main (int argc, char *argv[])
44977 {
44978 int major, minor, micro;
44979 char *tmp_version;
44980
44981 /* This hangs on some systems (?)
44982 system ("touch conf.sdltest");
44983 */
44984 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44985
44986 /* HP/UX 9 (%@#!) writes to sscanf strings */
44987 tmp_version = my_strdup("$min_sdl_version");
44988 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44989 printf("%s, bad version string\n", "$min_sdl_version");
44990 exit(1);
44991 }
44992
44993 if (($sdl_major_version > major) ||
44994 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44995 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44996 {
44997 return 0;
44998 }
44999 else
45000 {
45001 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45002 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45003 printf("*** best to upgrade to the required version.\n");
45004 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45005 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45006 printf("*** config.cache before re-running configure\n");
45007 return 1;
45008 }
45009 }
45010
45011
45012 _ACEOF
45013 rm -f conftest$ac_exeext
45014 if { (ac_try="$ac_link"
45015 case "(($ac_try" in
45016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45017 *) ac_try_echo=$ac_try;;
45018 esac
45019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45020 (eval "$ac_link") 2>&5
45021 ac_status=$?
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45024 { (case "(($ac_try" in
45025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45026 *) ac_try_echo=$ac_try;;
45027 esac
45028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45029 (eval "$ac_try") 2>&5
45030 ac_status=$?
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; }; then
45033 :
45034 else
45035 echo "$as_me: program exited with status $ac_status" >&5
45036 echo "$as_me: failed program was:" >&5
45037 sed 's/^/| /' conftest.$ac_ext >&5
45038
45039 ( exit $ac_status )
45040 no_sdl=yes
45041 fi
45042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45043 fi
45044
45045
45046 CFLAGS="$ac_save_CFLAGS"
45047 CXXFLAGS="$ac_save_CXXFLAGS"
45048 LIBS="$ac_save_LIBS"
45049 fi
45050 fi
45051 if test "x$no_sdl" = x ; then
45052 { echo "$as_me:$LINENO: result: yes" >&5
45053 echo "${ECHO_T}yes" >&6; }
45054
45055 EXTRALIBS_SDL="$SDL_LIBS"
45056 CFLAGS="$SDL_CFLAGS $CFLAGS"
45057 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_LIBSDL 1
45060 _ACEOF
45061
45062
45063 else
45064 { echo "$as_me:$LINENO: result: no" >&5
45065 echo "${ECHO_T}no" >&6; }
45066 if test "$SDL_CONFIG" = "no" ; then
45067 echo "*** The sdl-config script installed by SDL could not be found"
45068 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45069 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45070 echo "*** full path to sdl-config."
45071 else
45072 if test -f conf.sdltest ; then
45073 :
45074 else
45075 echo "*** Could not run SDL test program, checking why..."
45076 CFLAGS="$CFLAGS $SDL_CFLAGS"
45077 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45078 LIBS="$LIBS $SDL_LIBS"
45079 cat >conftest.$ac_ext <<_ACEOF
45080 /* confdefs.h. */
45081 _ACEOF
45082 cat confdefs.h >>conftest.$ac_ext
45083 cat >>conftest.$ac_ext <<_ACEOF
45084 /* end confdefs.h. */
45085
45086 #include <stdio.h>
45087 #include "SDL.h"
45088
45089 int main(int argc, char *argv[])
45090 { return 0; }
45091 #undef main
45092 #define main K_and_R_C_main
45093
45094 int
45095 main ()
45096 {
45097 return 0;
45098 ;
45099 return 0;
45100 }
45101 _ACEOF
45102 rm -f conftest.$ac_objext conftest$ac_exeext
45103 if { (ac_try="$ac_link"
45104 case "(($ac_try" in
45105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45106 *) ac_try_echo=$ac_try;;
45107 esac
45108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45109 (eval "$ac_link") 2>conftest.er1
45110 ac_status=$?
45111 grep -v '^ *+' conftest.er1 >conftest.err
45112 rm -f conftest.er1
45113 cat conftest.err >&5
45114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45115 (exit $ac_status); } && {
45116 test -z "$ac_c_werror_flag" ||
45117 test ! -s conftest.err
45118 } && test -s conftest$ac_exeext &&
45119 $as_test_x conftest$ac_exeext; then
45120 echo "*** The test program compiled, but did not run. This usually means"
45121 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45122 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45125 echo "*** is required on your system"
45126 echo "***"
45127 echo "*** If you have an old version installed, it is best to remove it, although"
45128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45129 else
45130 echo "$as_me: failed program was:" >&5
45131 sed 's/^/| /' conftest.$ac_ext >&5
45132
45133 echo "*** The test program failed to compile or link. See the file config.log for the"
45134 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45135 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45136 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45137 fi
45138
45139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45140 conftest$ac_exeext conftest.$ac_ext
45141 CFLAGS="$ac_save_CFLAGS"
45142 CXXFLAGS="$ac_save_CXXFLAGS"
45143 LIBS="$ac_save_LIBS"
45144 fi
45145 fi
45146 SDL_CFLAGS=""
45147 SDL_LIBS=""
45148 wxUSE_LIBSDL="no"
45149 fi
45150
45151
45152 rm -f conf.sdltest
45153
45154 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45155 WITH_PLUGIN_SDL=1
45156 fi
45157 fi
45158 else
45159 if test "$wxUSE_MGL" = 1; then
45160 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45161 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45162 wxUSE_SOUND="no"
45163 fi
45164 fi
45165 fi
45166
45167 if test "$wxUSE_SOUND" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_SOUND 1
45170 _ACEOF
45171
45172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45173 fi
45174
45175 if test "$WXGTK20" = 1; then
45176
45177
45178 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45179 if test -n "$ac_tool_prefix"; then
45180 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45181 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45184 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45185 echo $ECHO_N "(cached) $ECHO_C" >&6
45186 else
45187 case $PKG_CONFIG in
45188 [\\/]* | ?:[\\/]*)
45189 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45190 ;;
45191 *)
45192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45193 for as_dir in $PATH
45194 do
45195 IFS=$as_save_IFS
45196 test -z "$as_dir" && as_dir=.
45197 for ac_exec_ext in '' $ac_executable_extensions; do
45198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45199 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45201 break 2
45202 fi
45203 done
45204 done
45205 IFS=$as_save_IFS
45206
45207 ;;
45208 esac
45209 fi
45210 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45211 if test -n "$PKG_CONFIG"; then
45212 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45213 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45214 else
45215 { echo "$as_me:$LINENO: result: no" >&5
45216 echo "${ECHO_T}no" >&6; }
45217 fi
45218
45219
45220 fi
45221 if test -z "$ac_cv_path_PKG_CONFIG"; then
45222 ac_pt_PKG_CONFIG=$PKG_CONFIG
45223 # Extract the first word of "pkg-config", so it can be a program name with args.
45224 set dummy pkg-config; ac_word=$2
45225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45227 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45228 echo $ECHO_N "(cached) $ECHO_C" >&6
45229 else
45230 case $ac_pt_PKG_CONFIG in
45231 [\\/]* | ?:[\\/]*)
45232 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45233 ;;
45234 *)
45235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45236 for as_dir in $PATH
45237 do
45238 IFS=$as_save_IFS
45239 test -z "$as_dir" && as_dir=.
45240 for ac_exec_ext in '' $ac_executable_extensions; do
45241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45242 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45244 break 2
45245 fi
45246 done
45247 done
45248 IFS=$as_save_IFS
45249
45250 ;;
45251 esac
45252 fi
45253 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45254 if test -n "$ac_pt_PKG_CONFIG"; then
45255 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45256 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45257 else
45258 { echo "$as_me:$LINENO: result: no" >&5
45259 echo "${ECHO_T}no" >&6; }
45260 fi
45261
45262 if test "x$ac_pt_PKG_CONFIG" = x; then
45263 PKG_CONFIG=""
45264 else
45265 case $cross_compiling:$ac_tool_warned in
45266 yes:)
45267 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45268 whose name does not start with the host triplet. If you think this
45269 configuration is useful to you, please write to autoconf@gnu.org." >&5
45270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45271 whose name does not start with the host triplet. If you think this
45272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45273 ac_tool_warned=yes ;;
45274 esac
45275 PKG_CONFIG=$ac_pt_PKG_CONFIG
45276 fi
45277 else
45278 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45279 fi
45280
45281 fi
45282 if test -n "$PKG_CONFIG"; then
45283 _pkg_min_version=0.9.0
45284 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45285 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45286 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45287 { echo "$as_me:$LINENO: result: yes" >&5
45288 echo "${ECHO_T}yes" >&6; }
45289 else
45290 { echo "$as_me:$LINENO: result: no" >&5
45291 echo "${ECHO_T}no" >&6; }
45292 PKG_CONFIG=""
45293 fi
45294
45295 fi
45296
45297 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45298 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45299
45300
45301 pkg_failed=no
45302 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45303 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45304
45305 if test -n "$PKG_CONFIG"; then
45306 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45307 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45308 else
45309 if test -n "$PKG_CONFIG" && \
45310 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45311 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45312 ac_status=$?
45313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45314 (exit $ac_status); }; then
45315 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45316 else
45317 pkg_failed=yes
45318 fi
45319 fi
45320 else
45321 pkg_failed=untried
45322 fi
45323 if test -n "$PKG_CONFIG"; then
45324 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45325 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45326 else
45327 if test -n "$PKG_CONFIG" && \
45328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45329 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45330 ac_status=$?
45331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45332 (exit $ac_status); }; then
45333 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45334 else
45335 pkg_failed=yes
45336 fi
45337 fi
45338 else
45339 pkg_failed=untried
45340 fi
45341
45342
45343
45344 if test $pkg_failed = yes; then
45345
45346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45347 _pkg_short_errors_supported=yes
45348 else
45349 _pkg_short_errors_supported=no
45350 fi
45351 if test $_pkg_short_errors_supported = yes; then
45352 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45353 else
45354 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45355 fi
45356 # Put the nasty error message in config.log where it belongs
45357 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45358
45359
45360 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45361 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45362 wxUSE_LIBGNOMEPRINT="no"
45363
45364
45365 elif test $pkg_failed = untried; then
45366
45367 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45368 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45369 wxUSE_LIBGNOMEPRINT="no"
45370
45371
45372 else
45373 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45374 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45375 { echo "$as_me:$LINENO: result: yes" >&5
45376 echo "${ECHO_T}yes" >&6; }
45377
45378 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45379 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_LIBGNOMEPRINT 1
45382 _ACEOF
45383
45384
45385 fi
45386 fi
45387 fi
45388
45389 if test "$wxUSE_MIMETYPE" = "yes" ; then
45390 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45391
45392
45393 pkg_failed=no
45394 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45395 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45396
45397 if test -n "$PKG_CONFIG"; then
45398 if test -n "$GNOMEVFS_CFLAGS"; then
45399 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45400 else
45401 if test -n "$PKG_CONFIG" && \
45402 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45403 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45404 ac_status=$?
45405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406 (exit $ac_status); }; then
45407 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45408 else
45409 pkg_failed=yes
45410 fi
45411 fi
45412 else
45413 pkg_failed=untried
45414 fi
45415 if test -n "$PKG_CONFIG"; then
45416 if test -n "$GNOMEVFS_LIBS"; then
45417 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45418 else
45419 if test -n "$PKG_CONFIG" && \
45420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45421 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45422 ac_status=$?
45423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45424 (exit $ac_status); }; then
45425 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45426 else
45427 pkg_failed=yes
45428 fi
45429 fi
45430 else
45431 pkg_failed=untried
45432 fi
45433
45434
45435
45436 if test $pkg_failed = yes; then
45437
45438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45439 _pkg_short_errors_supported=yes
45440 else
45441 _pkg_short_errors_supported=no
45442 fi
45443 if test $_pkg_short_errors_supported = yes; then
45444 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45445 else
45446 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45447 fi
45448 # Put the nasty error message in config.log where it belongs
45449 echo "$GNOMEVFS_PKG_ERRORS" >&5
45450
45451
45452 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45453 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45454 wxUSE_LIBGNOMEVFS="no"
45455
45456
45457 elif test $pkg_failed = untried; then
45458
45459 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45460 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45461 wxUSE_LIBGNOMEVFS="no"
45462
45463
45464 else
45465 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45466 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45467 { echo "$as_me:$LINENO: result: yes" >&5
45468 echo "${ECHO_T}yes" >&6; }
45469
45470 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45471 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_LIBGNOMEVFS 1
45474 _ACEOF
45475
45476
45477 fi
45478 fi
45479 fi
45480
45481 if test "$wxUSE_LIBHILDON" = "yes" ; then
45482
45483 pkg_failed=no
45484 { echo "$as_me:$LINENO: checking for HILDON" >&5
45485 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45486
45487 if test -n "$PKG_CONFIG"; then
45488 if test -n "$HILDON_CFLAGS"; then
45489 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45490 else
45491 if test -n "$PKG_CONFIG" && \
45492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45493 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45494 ac_status=$?
45495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45496 (exit $ac_status); }; then
45497 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45498 else
45499 pkg_failed=yes
45500 fi
45501 fi
45502 else
45503 pkg_failed=untried
45504 fi
45505 if test -n "$PKG_CONFIG"; then
45506 if test -n "$HILDON_LIBS"; then
45507 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45508 else
45509 if test -n "$PKG_CONFIG" && \
45510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45511 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45512 ac_status=$?
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); }; then
45515 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45516 else
45517 pkg_failed=yes
45518 fi
45519 fi
45520 else
45521 pkg_failed=untried
45522 fi
45523
45524
45525
45526 if test $pkg_failed = yes; then
45527
45528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45529 _pkg_short_errors_supported=yes
45530 else
45531 _pkg_short_errors_supported=no
45532 fi
45533 if test $_pkg_short_errors_supported = yes; then
45534 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45535 else
45536 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45537 fi
45538 # Put the nasty error message in config.log where it belongs
45539 echo "$HILDON_PKG_ERRORS" >&5
45540
45541
45542 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45543 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45544 wxUSE_LIBHILDON="no"
45545
45546
45547 elif test $pkg_failed = untried; then
45548
45549 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45550 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45551 wxUSE_LIBHILDON="no"
45552
45553
45554 else
45555 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45556 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45557 { echo "$as_me:$LINENO: result: yes" >&5
45558 echo "${ECHO_T}yes" >&6; }
45559
45560 EXTRALIBS_HILDON="$HILDON_LIBS"
45561 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45562 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_LIBHILDON 1
45565 _ACEOF
45566
45567
45568 fi
45569 fi
45570 fi
45571
45572 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_CMDLINE_PARSER 1
45575 _ACEOF
45576
45577 fi
45578
45579 if test "$wxUSE_STOPWATCH" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_STOPWATCH 1
45582 _ACEOF
45583
45584 fi
45585
45586 if test "$wxUSE_DATETIME" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_DATETIME 1
45589 _ACEOF
45590
45591 fi
45592
45593 if test "$wxUSE_FILE" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_FILE 1
45596 _ACEOF
45597
45598 fi
45599
45600 if test "$wxUSE_FFILE" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_FFILE 1
45603 _ACEOF
45604
45605 fi
45606
45607 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45608 if test "$wxUSE_STREAMS" != yes; then
45609 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45610 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45611 wxUSE_ARCHIVE_STREAMS=no
45612 else
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_ARCHIVE_STREAMS 1
45615 _ACEOF
45616
45617 fi
45618 fi
45619
45620 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45621 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45622 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45623 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45624 elif test "$wxUSE_ZLIB" = "no"; then
45625 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45626 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45627 else
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_ZIPSTREAM 1
45630 _ACEOF
45631
45632 fi
45633 fi
45634
45635 if test "$wxUSE_TARSTREAM" = "yes"; then
45636 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45637 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45638 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45639 else
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_TARSTREAM 1
45642 _ACEOF
45643
45644 fi
45645 fi
45646
45647 if test "$wxUSE_FILESYSTEM" = "yes"; then
45648 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45649 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45650 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45651 wxUSE_FILESYSTEM=no
45652 else
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_FILESYSTEM 1
45655 _ACEOF
45656
45657 fi
45658 fi
45659
45660 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45661 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45662 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45663 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45664 else
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_FS_ARCHIVE 1
45667 _ACEOF
45668
45669 fi
45670 fi
45671
45672 if test "$wxUSE_FS_ZIP" = "yes"; then
45673 if test "$wxUSE_FS_ARCHIVE" != yes; then
45674 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45675 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45676 else
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_FS_ZIP 1
45679 _ACEOF
45680
45681 fi
45682 fi
45683
45684 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45685 if test "$USE_UNIX" != 1; then
45686 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45687 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45688 wxUSE_ON_FATAL_EXCEPTION=no
45689 else
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_ON_FATAL_EXCEPTION 1
45692 _ACEOF
45693
45694 fi
45695 fi
45696
45697 if test "$wxUSE_STACKWALKER" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_STACKWALKER 1
45700 _ACEOF
45701
45702 fi
45703
45704 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45705 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45706 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45707 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45708 wxUSE_DEBUGREPORT=no
45709 else
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_DEBUGREPORT 1
45712 _ACEOF
45713
45714 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45716 fi
45717 fi
45718 fi
45719
45720 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_SNGLINST_CHECKER 1
45723 _ACEOF
45724
45725 fi
45726
45727 if test "$wxUSE_BUSYINFO" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_BUSYINFO 1
45730 _ACEOF
45731
45732 fi
45733
45734 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_STD_IOSTREAM 1
45737 _ACEOF
45738
45739 fi
45740
45741 if test "$wxUSE_STD_STRING" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_STD_STRING 1
45744 _ACEOF
45745
45746 fi
45747
45748 if test "$wxUSE_STDPATHS" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_STDPATHS 1
45751 _ACEOF
45752
45753 fi
45754
45755 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_TEXTBUFFER 1
45758 _ACEOF
45759
45760 fi
45761
45762 if test "$wxUSE_TEXTFILE" = "yes"; then
45763 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45764 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45765 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45766 else
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_TEXTFILE 1
45769 _ACEOF
45770
45771 fi
45772 fi
45773
45774 if test "$wxUSE_CONFIG" = "yes" ; then
45775 if test "$wxUSE_TEXTFILE" != "yes"; then
45776 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45777 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45778 else
45779 cat >>confdefs.h <<\_ACEOF
45780 #define wxUSE_CONFIG 1
45781 _ACEOF
45782
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_CONFIG_NATIVE 1
45785 _ACEOF
45786
45787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45788 fi
45789 fi
45790
45791 if test "$wxUSE_INTL" = "yes" ; then
45792 if test "$wxUSE_FILE" != "yes"; then
45793 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45794 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45795 else
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_INTL 1
45798 _ACEOF
45799
45800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45801 GUIDIST="$GUIDIST INTL_DIST"
45802 fi
45803 fi
45804
45805 if test "$wxUSE_LOG" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_LOG 1
45808 _ACEOF
45809
45810
45811 if test "$wxUSE_LOGGUI" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_LOGGUI 1
45814 _ACEOF
45815
45816 fi
45817
45818 if test "$wxUSE_LOGWINDOW" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_LOGWINDOW 1
45821 _ACEOF
45822
45823 fi
45824
45825 if test "$wxUSE_LOGDIALOG" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_LOG_DIALOG 1
45828 _ACEOF
45829
45830 fi
45831
45832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45833 fi
45834
45835 if test "$wxUSE_LONGLONG" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_LONGLONG 1
45838 _ACEOF
45839
45840 fi
45841
45842 if test "$wxUSE_GEOMETRY" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_GEOMETRY 1
45845 _ACEOF
45846
45847 fi
45848
45849 if test "$wxUSE_BASE64" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_BASE64 1
45852 _ACEOF
45853
45854 fi
45855
45856 if test "$wxUSE_STREAMS" = "yes" ; then
45857 cat >>confdefs.h <<\_ACEOF
45858 #define wxUSE_STREAMS 1
45859 _ACEOF
45860
45861 fi
45862
45863 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_PRINTF_POS_PARAMS 1
45866 _ACEOF
45867
45868 fi
45869
45870 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_OBJC_UNIQUIFYING 1
45873 _ACEOF
45874
45875 fi
45876
45877
45878 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_CONSOLE_EVENTLOOP 1
45881 _ACEOF
45882
45883
45884 if test "$wxUSE_UNIX" = "yes"; then
45885 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_SELECT_DISPATCHER 1
45888 _ACEOF
45889
45890 fi
45891
45892 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45893
45894 for ac_header in sys/epoll.h
45895 do
45896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45897 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45900 echo $ECHO_N "(cached) $ECHO_C" >&6
45901 else
45902 cat >conftest.$ac_ext <<_ACEOF
45903 /* confdefs.h. */
45904 _ACEOF
45905 cat confdefs.h >>conftest.$ac_ext
45906 cat >>conftest.$ac_ext <<_ACEOF
45907 /* end confdefs.h. */
45908 $ac_includes_default
45909
45910 #include <$ac_header>
45911 _ACEOF
45912 rm -f conftest.$ac_objext
45913 if { (ac_try="$ac_compile"
45914 case "(($ac_try" in
45915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45916 *) ac_try_echo=$ac_try;;
45917 esac
45918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45919 (eval "$ac_compile") 2>conftest.er1
45920 ac_status=$?
45921 grep -v '^ *+' conftest.er1 >conftest.err
45922 rm -f conftest.er1
45923 cat conftest.err >&5
45924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45925 (exit $ac_status); } && {
45926 test -z "$ac_c_werror_flag" ||
45927 test ! -s conftest.err
45928 } && test -s conftest.$ac_objext; then
45929 eval "$as_ac_Header=yes"
45930 else
45931 echo "$as_me: failed program was:" >&5
45932 sed 's/^/| /' conftest.$ac_ext >&5
45933
45934 eval "$as_ac_Header=no"
45935 fi
45936
45937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45938 fi
45939 ac_res=`eval echo '${'$as_ac_Header'}'`
45940 { echo "$as_me:$LINENO: result: $ac_res" >&5
45941 echo "${ECHO_T}$ac_res" >&6; }
45942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45943 cat >>confdefs.h <<_ACEOF
45944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45945 _ACEOF
45946
45947 fi
45948
45949 done
45950
45951 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_EPOLL_DISPATCHER 1
45954 _ACEOF
45955
45956 else
45957 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45958 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45959 fi
45960 fi
45961 fi
45962 fi
45963
45964
45965
45966
45967 for ac_func in gettimeofday ftime
45968 do
45969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45973 echo $ECHO_N "(cached) $ECHO_C" >&6
45974 else
45975 cat >conftest.$ac_ext <<_ACEOF
45976 /* confdefs.h. */
45977 _ACEOF
45978 cat confdefs.h >>conftest.$ac_ext
45979 cat >>conftest.$ac_ext <<_ACEOF
45980 /* end confdefs.h. */
45981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45983 #define $ac_func innocuous_$ac_func
45984
45985 /* System header to define __stub macros and hopefully few prototypes,
45986 which can conflict with char $ac_func (); below.
45987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45988 <limits.h> exists even on freestanding compilers. */
45989
45990 #ifdef __STDC__
45991 # include <limits.h>
45992 #else
45993 # include <assert.h>
45994 #endif
45995
45996 #undef $ac_func
45997
45998 /* Override any GCC internal prototype to avoid an error.
45999 Use char because int might match the return type of a GCC
46000 builtin and then its argument prototype would still apply. */
46001 #ifdef __cplusplus
46002 extern "C"
46003 #endif
46004 char $ac_func ();
46005 /* The GNU C library defines this for functions which it implements
46006 to always fail with ENOSYS. Some functions are actually named
46007 something starting with __ and the normal name is an alias. */
46008 #if defined __stub_$ac_func || defined __stub___$ac_func
46009 choke me
46010 #endif
46011
46012 int
46013 main ()
46014 {
46015 return $ac_func ();
46016 ;
46017 return 0;
46018 }
46019 _ACEOF
46020 rm -f conftest.$ac_objext conftest$ac_exeext
46021 if { (ac_try="$ac_link"
46022 case "(($ac_try" in
46023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46024 *) ac_try_echo=$ac_try;;
46025 esac
46026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46027 (eval "$ac_link") 2>conftest.er1
46028 ac_status=$?
46029 grep -v '^ *+' conftest.er1 >conftest.err
46030 rm -f conftest.er1
46031 cat conftest.err >&5
46032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46033 (exit $ac_status); } && {
46034 test -z "$ac_c_werror_flag" ||
46035 test ! -s conftest.err
46036 } && test -s conftest$ac_exeext &&
46037 $as_test_x conftest$ac_exeext; then
46038 eval "$as_ac_var=yes"
46039 else
46040 echo "$as_me: failed program was:" >&5
46041 sed 's/^/| /' conftest.$ac_ext >&5
46042
46043 eval "$as_ac_var=no"
46044 fi
46045
46046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46047 conftest$ac_exeext conftest.$ac_ext
46048 fi
46049 ac_res=`eval echo '${'$as_ac_var'}'`
46050 { echo "$as_me:$LINENO: result: $ac_res" >&5
46051 echo "${ECHO_T}$ac_res" >&6; }
46052 if test `eval echo '${'$as_ac_var'}'` = yes; then
46053 cat >>confdefs.h <<_ACEOF
46054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46055 _ACEOF
46056 break
46057 fi
46058 done
46059
46060
46061 if test "$ac_cv_func_gettimeofday" = "yes"; then
46062 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46063 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46064 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46065 echo $ECHO_N "(cached) $ECHO_C" >&6
46066 else
46067
46068 cat >conftest.$ac_ext <<_ACEOF
46069 /* confdefs.h. */
46070 _ACEOF
46071 cat confdefs.h >>conftest.$ac_ext
46072 cat >>conftest.$ac_ext <<_ACEOF
46073 /* end confdefs.h. */
46074
46075 #include <sys/time.h>
46076 #include <unistd.h>
46077
46078 int
46079 main ()
46080 {
46081
46082 struct timeval tv;
46083 gettimeofday(&tv, NULL);
46084
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 rm -f conftest.$ac_objext
46090 if { (ac_try="$ac_compile"
46091 case "(($ac_try" in
46092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46093 *) ac_try_echo=$ac_try;;
46094 esac
46095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46096 (eval "$ac_compile") 2>conftest.er1
46097 ac_status=$?
46098 grep -v '^ *+' conftest.er1 >conftest.err
46099 rm -f conftest.er1
46100 cat conftest.err >&5
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); } && {
46103 test -z "$ac_c_werror_flag" ||
46104 test ! -s conftest.err
46105 } && test -s conftest.$ac_objext; then
46106 wx_cv_func_gettimeofday_has_2_args=yes
46107 else
46108 echo "$as_me: failed program was:" >&5
46109 sed 's/^/| /' conftest.$ac_ext >&5
46110
46111 cat >conftest.$ac_ext <<_ACEOF
46112 /* confdefs.h. */
46113 _ACEOF
46114 cat confdefs.h >>conftest.$ac_ext
46115 cat >>conftest.$ac_ext <<_ACEOF
46116 /* end confdefs.h. */
46117
46118 #include <sys/time.h>
46119 #include <unistd.h>
46120
46121 int
46122 main ()
46123 {
46124
46125 struct timeval tv;
46126 gettimeofday(&tv);
46127
46128 ;
46129 return 0;
46130 }
46131 _ACEOF
46132 rm -f conftest.$ac_objext
46133 if { (ac_try="$ac_compile"
46134 case "(($ac_try" in
46135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46136 *) ac_try_echo=$ac_try;;
46137 esac
46138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46139 (eval "$ac_compile") 2>conftest.er1
46140 ac_status=$?
46141 grep -v '^ *+' conftest.er1 >conftest.err
46142 rm -f conftest.er1
46143 cat conftest.err >&5
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); } && {
46146 test -z "$ac_c_werror_flag" ||
46147 test ! -s conftest.err
46148 } && test -s conftest.$ac_objext; then
46149 wx_cv_func_gettimeofday_has_2_args=no
46150 else
46151 echo "$as_me: failed program was:" >&5
46152 sed 's/^/| /' conftest.$ac_ext >&5
46153
46154
46155 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46156 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46157 wx_cv_func_gettimeofday_has_2_args=unknown
46158
46159
46160 fi
46161
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163
46164 fi
46165
46166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46167
46168 fi
46169 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46170 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46171
46172 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define WX_GETTIMEOFDAY_NO_TZ 1
46175 _ACEOF
46176
46177 fi
46178 fi
46179
46180 if test "$wxUSE_DATETIME" = "yes"; then
46181 { echo "$as_me:$LINENO: checking for strptime" >&5
46182 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46183 if test "${ac_cv_func_strptime+set}" = set; then
46184 echo $ECHO_N "(cached) $ECHO_C" >&6
46185 else
46186 cat >conftest.$ac_ext <<_ACEOF
46187 /* confdefs.h. */
46188 _ACEOF
46189 cat confdefs.h >>conftest.$ac_ext
46190 cat >>conftest.$ac_ext <<_ACEOF
46191 /* end confdefs.h. */
46192 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46194 #define strptime innocuous_strptime
46195
46196 /* System header to define __stub macros and hopefully few prototypes,
46197 which can conflict with char strptime (); below.
46198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46199 <limits.h> exists even on freestanding compilers. */
46200
46201 #ifdef __STDC__
46202 # include <limits.h>
46203 #else
46204 # include <assert.h>
46205 #endif
46206
46207 #undef strptime
46208
46209 /* Override any GCC internal prototype to avoid an error.
46210 Use char because int might match the return type of a GCC
46211 builtin and then its argument prototype would still apply. */
46212 #ifdef __cplusplus
46213 extern "C"
46214 #endif
46215 char strptime ();
46216 /* The GNU C library defines this for functions which it implements
46217 to always fail with ENOSYS. Some functions are actually named
46218 something starting with __ and the normal name is an alias. */
46219 #if defined __stub_strptime || defined __stub___strptime
46220 choke me
46221 #endif
46222
46223 int
46224 main ()
46225 {
46226 return strptime ();
46227 ;
46228 return 0;
46229 }
46230 _ACEOF
46231 rm -f conftest.$ac_objext conftest$ac_exeext
46232 if { (ac_try="$ac_link"
46233 case "(($ac_try" in
46234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46235 *) ac_try_echo=$ac_try;;
46236 esac
46237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46238 (eval "$ac_link") 2>conftest.er1
46239 ac_status=$?
46240 grep -v '^ *+' conftest.er1 >conftest.err
46241 rm -f conftest.er1
46242 cat conftest.err >&5
46243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46244 (exit $ac_status); } && {
46245 test -z "$ac_c_werror_flag" ||
46246 test ! -s conftest.err
46247 } && test -s conftest$ac_exeext &&
46248 $as_test_x conftest$ac_exeext; then
46249 ac_cv_func_strptime=yes
46250 else
46251 echo "$as_me: failed program was:" >&5
46252 sed 's/^/| /' conftest.$ac_ext >&5
46253
46254 ac_cv_func_strptime=no
46255 fi
46256
46257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46258 conftest$ac_exeext conftest.$ac_ext
46259 fi
46260 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46261 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46262
46263 if test "$ac_cv_func_strptime" = "yes"; then
46264 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46265 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46266 if test "${wx_cv_func_strptime_decl+set}" = set; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46268 else
46269
46270 ac_ext=cpp
46271 ac_cpp='$CXXCPP $CPPFLAGS'
46272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46275
46276 cat >conftest.$ac_ext <<_ACEOF
46277 /* confdefs.h. */
46278 _ACEOF
46279 cat confdefs.h >>conftest.$ac_ext
46280 cat >>conftest.$ac_ext <<_ACEOF
46281 /* end confdefs.h. */
46282
46283 #include <time.h>
46284
46285 int
46286 main ()
46287 {
46288
46289 struct tm t;
46290 strptime("foo", "bar", &t);
46291
46292 ;
46293 return 0;
46294 }
46295 _ACEOF
46296 rm -f conftest.$ac_objext
46297 if { (ac_try="$ac_compile"
46298 case "(($ac_try" in
46299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46300 *) ac_try_echo=$ac_try;;
46301 esac
46302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46303 (eval "$ac_compile") 2>conftest.er1
46304 ac_status=$?
46305 grep -v '^ *+' conftest.er1 >conftest.err
46306 rm -f conftest.er1
46307 cat conftest.err >&5
46308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46309 (exit $ac_status); } && {
46310 test -z "$ac_cxx_werror_flag" ||
46311 test ! -s conftest.err
46312 } && test -s conftest.$ac_objext; then
46313 wx_cv_func_strptime_decl=yes
46314 else
46315 echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46317
46318 wx_cv_func_strptime_decl=no
46319
46320 fi
46321
46322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46323 ac_ext=c
46324 ac_cpp='$CPP $CPPFLAGS'
46325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46328
46329
46330
46331 fi
46332 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46333 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46334 fi
46335 if test "$wx_cv_func_strptime_decl" = "yes"; then
46336 cat >>confdefs.h <<\_ACEOF
46337 #define HAVE_STRPTIME_DECL 1
46338 _ACEOF
46339
46340 else
46341 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46342 fi
46343 if test "$ac_cv_func_strptime" = "yes"; then
46344 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46345 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46346 if test "${wx_cv_func_strptime_ok+set}" = set; then
46347 echo $ECHO_N "(cached) $ECHO_C" >&6
46348 else
46349 if test "$cross_compiling" = yes; then
46350 wx_cv_func_strptime_ok=no
46351
46352 else
46353 cat >conftest.$ac_ext <<_ACEOF
46354
46355 #include <stdlib.h>
46356 #include <time.h>
46357 #include "confdefs.h"
46358
46359 $wx_strptime_decl
46360
46361 int main()
46362 {
46363 struct tm t;
46364 return !!strptime("", "%x", &t);
46365 }
46366
46367 _ACEOF
46368 rm -f conftest$ac_exeext
46369 if { (ac_try="$ac_link"
46370 case "(($ac_try" in
46371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46372 *) ac_try_echo=$ac_try;;
46373 esac
46374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46375 (eval "$ac_link") 2>&5
46376 ac_status=$?
46377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46379 { (case "(($ac_try" in
46380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46381 *) ac_try_echo=$ac_try;;
46382 esac
46383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46384 (eval "$ac_try") 2>&5
46385 ac_status=$?
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); }; }; then
46388 wx_cv_func_strptime_ok=yes
46389 else
46390 echo "$as_me: program exited with status $ac_status" >&5
46391 echo "$as_me: failed program was:" >&5
46392 sed 's/^/| /' conftest.$ac_ext >&5
46393
46394 ( exit $ac_status )
46395 wx_cv_func_strptime_ok=no
46396 fi
46397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46398 fi
46399
46400
46401
46402 fi
46403 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46404 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46405
46406 if test "$wx_cv_func_strptime_ok" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define HAVE_STRPTIME 1
46409 _ACEOF
46410
46411 fi
46412 fi
46413
46414 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46415 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46416 if test "${wx_cv_var_timezone+set}" = set; then
46417 echo $ECHO_N "(cached) $ECHO_C" >&6
46418 else
46419
46420 ac_ext=cpp
46421 ac_cpp='$CXXCPP $CPPFLAGS'
46422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46425
46426 cat >conftest.$ac_ext <<_ACEOF
46427 /* confdefs.h. */
46428 _ACEOF
46429 cat confdefs.h >>conftest.$ac_ext
46430 cat >>conftest.$ac_ext <<_ACEOF
46431 /* end confdefs.h. */
46432
46433 #include <time.h>
46434
46435 int
46436 main ()
46437 {
46438
46439 int tz;
46440 tz = timezone;
46441
46442 ;
46443 return 0;
46444 }
46445 _ACEOF
46446 rm -f conftest.$ac_objext
46447 if { (ac_try="$ac_compile"
46448 case "(($ac_try" in
46449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46450 *) ac_try_echo=$ac_try;;
46451 esac
46452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46453 (eval "$ac_compile") 2>conftest.er1
46454 ac_status=$?
46455 grep -v '^ *+' conftest.er1 >conftest.err
46456 rm -f conftest.er1
46457 cat conftest.err >&5
46458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46459 (exit $ac_status); } && {
46460 test -z "$ac_cxx_werror_flag" ||
46461 test ! -s conftest.err
46462 } && test -s conftest.$ac_objext; then
46463
46464 wx_cv_var_timezone=timezone
46465
46466 else
46467 echo "$as_me: failed program was:" >&5
46468 sed 's/^/| /' conftest.$ac_ext >&5
46469
46470
46471 cat >conftest.$ac_ext <<_ACEOF
46472 /* confdefs.h. */
46473 _ACEOF
46474 cat confdefs.h >>conftest.$ac_ext
46475 cat >>conftest.$ac_ext <<_ACEOF
46476 /* end confdefs.h. */
46477
46478 #include <time.h>
46479
46480 int
46481 main ()
46482 {
46483
46484 int tz;
46485 tz = _timezone;
46486
46487 ;
46488 return 0;
46489 }
46490 _ACEOF
46491 rm -f conftest.$ac_objext
46492 if { (ac_try="$ac_compile"
46493 case "(($ac_try" in
46494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46495 *) ac_try_echo=$ac_try;;
46496 esac
46497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46498 (eval "$ac_compile") 2>conftest.er1
46499 ac_status=$?
46500 grep -v '^ *+' conftest.er1 >conftest.err
46501 rm -f conftest.er1
46502 cat conftest.err >&5
46503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46504 (exit $ac_status); } && {
46505 test -z "$ac_cxx_werror_flag" ||
46506 test ! -s conftest.err
46507 } && test -s conftest.$ac_objext; then
46508
46509 wx_cv_var_timezone=_timezone
46510
46511 else
46512 echo "$as_me: failed program was:" >&5
46513 sed 's/^/| /' conftest.$ac_ext >&5
46514
46515
46516 cat >conftest.$ac_ext <<_ACEOF
46517 /* confdefs.h. */
46518 _ACEOF
46519 cat confdefs.h >>conftest.$ac_ext
46520 cat >>conftest.$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46522
46523 #include <time.h>
46524
46525 int
46526 main ()
46527 {
46528
46529 int tz;
46530 tz = __timezone;
46531
46532 ;
46533 return 0;
46534 }
46535 _ACEOF
46536 rm -f conftest.$ac_objext
46537 if { (ac_try="$ac_compile"
46538 case "(($ac_try" in
46539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46540 *) ac_try_echo=$ac_try;;
46541 esac
46542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46543 (eval "$ac_compile") 2>conftest.er1
46544 ac_status=$?
46545 grep -v '^ *+' conftest.er1 >conftest.err
46546 rm -f conftest.er1
46547 cat conftest.err >&5
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); } && {
46550 test -z "$ac_cxx_werror_flag" ||
46551 test ! -s conftest.err
46552 } && test -s conftest.$ac_objext; then
46553
46554 wx_cv_var_timezone=__timezone
46555
46556 else
46557 echo "$as_me: failed program was:" >&5
46558 sed 's/^/| /' conftest.$ac_ext >&5
46559
46560
46561 if test "$USE_DOS" = 0 ; then
46562 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46563 echo "$as_me: WARNING: no timezone variable" >&2;}
46564 fi
46565
46566
46567 fi
46568
46569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46570
46571
46572 fi
46573
46574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46575
46576
46577 fi
46578
46579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46580 ac_ext=c
46581 ac_cpp='$CPP $CPPFLAGS'
46582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46585
46586
46587
46588 fi
46589 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46590 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46591
46592 if test "x$wx_cv_var_timezone" != x ; then
46593 cat >>confdefs.h <<_ACEOF
46594 #define WX_TIMEZONE $wx_cv_var_timezone
46595 _ACEOF
46596
46597 fi
46598
46599
46600 for ac_func in localtime
46601 do
46602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46606 echo $ECHO_N "(cached) $ECHO_C" >&6
46607 else
46608 cat >conftest.$ac_ext <<_ACEOF
46609 /* confdefs.h. */
46610 _ACEOF
46611 cat confdefs.h >>conftest.$ac_ext
46612 cat >>conftest.$ac_ext <<_ACEOF
46613 /* end confdefs.h. */
46614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46616 #define $ac_func innocuous_$ac_func
46617
46618 /* System header to define __stub macros and hopefully few prototypes,
46619 which can conflict with char $ac_func (); below.
46620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46621 <limits.h> exists even on freestanding compilers. */
46622
46623 #ifdef __STDC__
46624 # include <limits.h>
46625 #else
46626 # include <assert.h>
46627 #endif
46628
46629 #undef $ac_func
46630
46631 /* Override any GCC internal prototype to avoid an error.
46632 Use char because int might match the return type of a GCC
46633 builtin and then its argument prototype would still apply. */
46634 #ifdef __cplusplus
46635 extern "C"
46636 #endif
46637 char $ac_func ();
46638 /* The GNU C library defines this for functions which it implements
46639 to always fail with ENOSYS. Some functions are actually named
46640 something starting with __ and the normal name is an alias. */
46641 #if defined __stub_$ac_func || defined __stub___$ac_func
46642 choke me
46643 #endif
46644
46645 int
46646 main ()
46647 {
46648 return $ac_func ();
46649 ;
46650 return 0;
46651 }
46652 _ACEOF
46653 rm -f conftest.$ac_objext conftest$ac_exeext
46654 if { (ac_try="$ac_link"
46655 case "(($ac_try" in
46656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46657 *) ac_try_echo=$ac_try;;
46658 esac
46659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46660 (eval "$ac_link") 2>conftest.er1
46661 ac_status=$?
46662 grep -v '^ *+' conftest.er1 >conftest.err
46663 rm -f conftest.er1
46664 cat conftest.err >&5
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); } && {
46667 test -z "$ac_c_werror_flag" ||
46668 test ! -s conftest.err
46669 } && test -s conftest$ac_exeext &&
46670 $as_test_x conftest$ac_exeext; then
46671 eval "$as_ac_var=yes"
46672 else
46673 echo "$as_me: failed program was:" >&5
46674 sed 's/^/| /' conftest.$ac_ext >&5
46675
46676 eval "$as_ac_var=no"
46677 fi
46678
46679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46680 conftest$ac_exeext conftest.$ac_ext
46681 fi
46682 ac_res=`eval echo '${'$as_ac_var'}'`
46683 { echo "$as_me:$LINENO: result: $ac_res" >&5
46684 echo "${ECHO_T}$ac_res" >&6; }
46685 if test `eval echo '${'$as_ac_var'}'` = yes; then
46686 cat >>confdefs.h <<_ACEOF
46687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46688 _ACEOF
46689
46690 fi
46691 done
46692
46693
46694 if test "$ac_cv_func_localtime" = "yes"; then
46695 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46696 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46697 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46698 echo $ECHO_N "(cached) $ECHO_C" >&6
46699 else
46700
46701 cat >conftest.$ac_ext <<_ACEOF
46702 /* confdefs.h. */
46703 _ACEOF
46704 cat confdefs.h >>conftest.$ac_ext
46705 cat >>conftest.$ac_ext <<_ACEOF
46706 /* end confdefs.h. */
46707
46708 #include <time.h>
46709
46710 int
46711 main ()
46712 {
46713
46714 struct tm tm;
46715 tm.tm_gmtoff++;
46716
46717 ;
46718 return 0;
46719 }
46720 _ACEOF
46721 rm -f conftest.$ac_objext
46722 if { (ac_try="$ac_compile"
46723 case "(($ac_try" in
46724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46725 *) ac_try_echo=$ac_try;;
46726 esac
46727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46728 (eval "$ac_compile") 2>conftest.er1
46729 ac_status=$?
46730 grep -v '^ *+' conftest.er1 >conftest.err
46731 rm -f conftest.er1
46732 cat conftest.err >&5
46733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46734 (exit $ac_status); } && {
46735 test -z "$ac_c_werror_flag" ||
46736 test ! -s conftest.err
46737 } && test -s conftest.$ac_objext; then
46738
46739 wx_cv_struct_tm_has_gmtoff=yes
46740
46741 else
46742 echo "$as_me: failed program was:" >&5
46743 sed 's/^/| /' conftest.$ac_ext >&5
46744
46745 wx_cv_struct_tm_has_gmtoff=no
46746
46747 fi
46748
46749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46750
46751 fi
46752 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46753 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46754 fi
46755
46756 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define WX_GMTOFF_IN_TM 1
46759 _ACEOF
46760
46761 fi
46762
46763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46764 fi
46765
46766
46767 if test "$wxUSE_SOCKETS" = "yes"; then
46768 if test "$wxUSE_MGL" = "1"; then
46769 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46770 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46771 wxUSE_SOCKETS="no"
46772 fi
46773 fi
46774
46775 if test "$wxUSE_SOCKETS" = "yes"; then
46776 if test "$TOOLKIT" != "MSW"; then
46777 { echo "$as_me:$LINENO: checking for socket" >&5
46778 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46779 if test "${ac_cv_func_socket+set}" = set; then
46780 echo $ECHO_N "(cached) $ECHO_C" >&6
46781 else
46782 cat >conftest.$ac_ext <<_ACEOF
46783 /* confdefs.h. */
46784 _ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h. */
46788 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46790 #define socket innocuous_socket
46791
46792 /* System header to define __stub macros and hopefully few prototypes,
46793 which can conflict with char socket (); below.
46794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46795 <limits.h> exists even on freestanding compilers. */
46796
46797 #ifdef __STDC__
46798 # include <limits.h>
46799 #else
46800 # include <assert.h>
46801 #endif
46802
46803 #undef socket
46804
46805 /* Override any GCC internal prototype to avoid an error.
46806 Use char because int might match the return type of a GCC
46807 builtin and then its argument prototype would still apply. */
46808 #ifdef __cplusplus
46809 extern "C"
46810 #endif
46811 char socket ();
46812 /* The GNU C library defines this for functions which it implements
46813 to always fail with ENOSYS. Some functions are actually named
46814 something starting with __ and the normal name is an alias. */
46815 #if defined __stub_socket || defined __stub___socket
46816 choke me
46817 #endif
46818
46819 int
46820 main ()
46821 {
46822 return socket ();
46823 ;
46824 return 0;
46825 }
46826 _ACEOF
46827 rm -f conftest.$ac_objext conftest$ac_exeext
46828 if { (ac_try="$ac_link"
46829 case "(($ac_try" in
46830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46831 *) ac_try_echo=$ac_try;;
46832 esac
46833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46834 (eval "$ac_link") 2>conftest.er1
46835 ac_status=$?
46836 grep -v '^ *+' conftest.er1 >conftest.err
46837 rm -f conftest.er1
46838 cat conftest.err >&5
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); } && {
46841 test -z "$ac_c_werror_flag" ||
46842 test ! -s conftest.err
46843 } && test -s conftest$ac_exeext &&
46844 $as_test_x conftest$ac_exeext; then
46845 ac_cv_func_socket=yes
46846 else
46847 echo "$as_me: failed program was:" >&5
46848 sed 's/^/| /' conftest.$ac_ext >&5
46849
46850 ac_cv_func_socket=no
46851 fi
46852
46853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46854 conftest$ac_exeext conftest.$ac_ext
46855 fi
46856 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46857 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46858 if test $ac_cv_func_socket = yes; then
46859 :
46860 else
46861
46862 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46863 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46864 if test "${ac_cv_lib_socket_socket+set}" = set; then
46865 echo $ECHO_N "(cached) $ECHO_C" >&6
46866 else
46867 ac_check_lib_save_LIBS=$LIBS
46868 LIBS="-lsocket $LIBS"
46869 cat >conftest.$ac_ext <<_ACEOF
46870 /* confdefs.h. */
46871 _ACEOF
46872 cat confdefs.h >>conftest.$ac_ext
46873 cat >>conftest.$ac_ext <<_ACEOF
46874 /* end confdefs.h. */
46875
46876 /* Override any GCC internal prototype to avoid an error.
46877 Use char because int might match the return type of a GCC
46878 builtin and then its argument prototype would still apply. */
46879 #ifdef __cplusplus
46880 extern "C"
46881 #endif
46882 char socket ();
46883 int
46884 main ()
46885 {
46886 return socket ();
46887 ;
46888 return 0;
46889 }
46890 _ACEOF
46891 rm -f conftest.$ac_objext conftest$ac_exeext
46892 if { (ac_try="$ac_link"
46893 case "(($ac_try" in
46894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46895 *) ac_try_echo=$ac_try;;
46896 esac
46897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46898 (eval "$ac_link") 2>conftest.er1
46899 ac_status=$?
46900 grep -v '^ *+' conftest.er1 >conftest.err
46901 rm -f conftest.er1
46902 cat conftest.err >&5
46903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46904 (exit $ac_status); } && {
46905 test -z "$ac_c_werror_flag" ||
46906 test ! -s conftest.err
46907 } && test -s conftest$ac_exeext &&
46908 $as_test_x conftest$ac_exeext; then
46909 ac_cv_lib_socket_socket=yes
46910 else
46911 echo "$as_me: failed program was:" >&5
46912 sed 's/^/| /' conftest.$ac_ext >&5
46913
46914 ac_cv_lib_socket_socket=no
46915 fi
46916
46917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46918 conftest$ac_exeext conftest.$ac_ext
46919 LIBS=$ac_check_lib_save_LIBS
46920 fi
46921 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46922 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46923 if test $ac_cv_lib_socket_socket = yes; then
46924 if test "$INET_LINK" != " -lsocket"; then
46925 INET_LINK="$INET_LINK -lsocket"
46926 fi
46927 else
46928
46929 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46930 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46931 wxUSE_SOCKETS=no
46932
46933
46934 fi
46935
46936
46937
46938 fi
46939
46940 fi
46941 fi
46942
46943 if test "$wxUSE_SOCKETS" = "yes" ; then
46944 if test "$TOOLKIT" != "MSW"; then
46945 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46946 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46947 if test "${wx_cv_type_getsockname3+set}" = set; then
46948 echo $ECHO_N "(cached) $ECHO_C" >&6
46949 else
46950
46951 ac_ext=cpp
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46956
46957 cat >conftest.$ac_ext <<_ACEOF
46958 /* confdefs.h. */
46959 _ACEOF
46960 cat confdefs.h >>conftest.$ac_ext
46961 cat >>conftest.$ac_ext <<_ACEOF
46962 /* end confdefs.h. */
46963
46964 #include <sys/types.h>
46965 #include <sys/socket.h>
46966
46967 int
46968 main ()
46969 {
46970
46971 socklen_t len;
46972 getsockname(0, 0, &len);
46973
46974 ;
46975 return 0;
46976 }
46977 _ACEOF
46978 rm -f conftest.$ac_objext
46979 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
46993 test ! -s conftest.err
46994 } && test -s conftest.$ac_objext; then
46995 wx_cv_type_getsockname3=socklen_t
46996 else
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
46999
47000
47001 CFLAGS_OLD="$CFLAGS"
47002 if test "$GCC" = yes ; then
47003 CFLAGS="-Werror $CFLAGS"
47004 fi
47005
47006 cat >conftest.$ac_ext <<_ACEOF
47007 /* confdefs.h. */
47008 _ACEOF
47009 cat confdefs.h >>conftest.$ac_ext
47010 cat >>conftest.$ac_ext <<_ACEOF
47011 /* end confdefs.h. */
47012
47013 #include <sys/types.h>
47014 #include <sys/socket.h>
47015
47016 int
47017 main ()
47018 {
47019
47020 size_t len;
47021 getsockname(0, 0, &len);
47022
47023 ;
47024 return 0;
47025 }
47026 _ACEOF
47027 rm -f conftest.$ac_objext
47028 if { (ac_try="$ac_compile"
47029 case "(($ac_try" in
47030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47031 *) ac_try_echo=$ac_try;;
47032 esac
47033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47034 (eval "$ac_compile") 2>conftest.er1
47035 ac_status=$?
47036 grep -v '^ *+' conftest.er1 >conftest.err
47037 rm -f conftest.er1
47038 cat conftest.err >&5
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); } && {
47041 test -z "$ac_cxx_werror_flag" ||
47042 test ! -s conftest.err
47043 } && test -s conftest.$ac_objext; then
47044 wx_cv_type_getsockname3=size_t
47045 else
47046 echo "$as_me: failed program was:" >&5
47047 sed 's/^/| /' conftest.$ac_ext >&5
47048
47049 cat >conftest.$ac_ext <<_ACEOF
47050 /* confdefs.h. */
47051 _ACEOF
47052 cat confdefs.h >>conftest.$ac_ext
47053 cat >>conftest.$ac_ext <<_ACEOF
47054 /* end confdefs.h. */
47055
47056 #include <sys/types.h>
47057 #include <sys/socket.h>
47058
47059 int
47060 main ()
47061 {
47062
47063 int len;
47064 getsockname(0, 0, &len);
47065
47066 ;
47067 return 0;
47068 }
47069 _ACEOF
47070 rm -f conftest.$ac_objext
47071 if { (ac_try="$ac_compile"
47072 case "(($ac_try" in
47073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47074 *) ac_try_echo=$ac_try;;
47075 esac
47076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47077 (eval "$ac_compile") 2>conftest.er1
47078 ac_status=$?
47079 grep -v '^ *+' conftest.er1 >conftest.err
47080 rm -f conftest.er1
47081 cat conftest.err >&5
47082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47083 (exit $ac_status); } && {
47084 test -z "$ac_cxx_werror_flag" ||
47085 test ! -s conftest.err
47086 } && test -s conftest.$ac_objext; then
47087 wx_cv_type_getsockname3=int
47088 else
47089 echo "$as_me: failed program was:" >&5
47090 sed 's/^/| /' conftest.$ac_ext >&5
47091
47092 wx_cv_type_getsockname3=unknown
47093
47094 fi
47095
47096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47097
47098 fi
47099
47100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47101
47102 CFLAGS="$CFLAGS_OLD"
47103
47104
47105 fi
47106
47107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47108 ac_ext=c
47109 ac_cpp='$CPP $CPPFLAGS'
47110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47113
47114
47115 fi
47116 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47117 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47118
47119 if test "$wx_cv_type_getsockname3" = "unknown"; then
47120 wxUSE_SOCKETS=no
47121 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47122 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47123 else
47124 cat >>confdefs.h <<_ACEOF
47125 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47126 _ACEOF
47127
47128 fi
47129 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47130 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47131 if test "${wx_cv_type_getsockopt5+set}" = set; then
47132 echo $ECHO_N "(cached) $ECHO_C" >&6
47133 else
47134
47135 ac_ext=cpp
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47140
47141 cat >conftest.$ac_ext <<_ACEOF
47142 /* confdefs.h. */
47143 _ACEOF
47144 cat confdefs.h >>conftest.$ac_ext
47145 cat >>conftest.$ac_ext <<_ACEOF
47146 /* end confdefs.h. */
47147
47148 #include <sys/types.h>
47149 #include <sys/socket.h>
47150
47151 int
47152 main ()
47153 {
47154
47155 socklen_t len;
47156 getsockopt(0, 0, 0, 0, &len);
47157
47158 ;
47159 return 0;
47160 }
47161 _ACEOF
47162 rm -f conftest.$ac_objext
47163 if { (ac_try="$ac_compile"
47164 case "(($ac_try" in
47165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47166 *) ac_try_echo=$ac_try;;
47167 esac
47168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47169 (eval "$ac_compile") 2>conftest.er1
47170 ac_status=$?
47171 grep -v '^ *+' conftest.er1 >conftest.err
47172 rm -f conftest.er1
47173 cat conftest.err >&5
47174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47175 (exit $ac_status); } && {
47176 test -z "$ac_cxx_werror_flag" ||
47177 test ! -s conftest.err
47178 } && test -s conftest.$ac_objext; then
47179 wx_cv_type_getsockopt5=socklen_t
47180 else
47181 echo "$as_me: failed program was:" >&5
47182 sed 's/^/| /' conftest.$ac_ext >&5
47183
47184
47185 cat >conftest.$ac_ext <<_ACEOF
47186 /* confdefs.h. */
47187 _ACEOF
47188 cat confdefs.h >>conftest.$ac_ext
47189 cat >>conftest.$ac_ext <<_ACEOF
47190 /* end confdefs.h. */
47191
47192 #include <sys/types.h>
47193 #include <sys/socket.h>
47194
47195 int
47196 main ()
47197 {
47198
47199 size_t len;
47200 getsockopt(0, 0, 0, 0, &len);
47201
47202 ;
47203 return 0;
47204 }
47205 _ACEOF
47206 rm -f conftest.$ac_objext
47207 if { (ac_try="$ac_compile"
47208 case "(($ac_try" in
47209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47210 *) ac_try_echo=$ac_try;;
47211 esac
47212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47213 (eval "$ac_compile") 2>conftest.er1
47214 ac_status=$?
47215 grep -v '^ *+' conftest.er1 >conftest.err
47216 rm -f conftest.er1
47217 cat conftest.err >&5
47218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47219 (exit $ac_status); } && {
47220 test -z "$ac_cxx_werror_flag" ||
47221 test ! -s conftest.err
47222 } && test -s conftest.$ac_objext; then
47223 wx_cv_type_getsockopt5=size_t
47224 else
47225 echo "$as_me: failed program was:" >&5
47226 sed 's/^/| /' conftest.$ac_ext >&5
47227
47228 cat >conftest.$ac_ext <<_ACEOF
47229 /* confdefs.h. */
47230 _ACEOF
47231 cat confdefs.h >>conftest.$ac_ext
47232 cat >>conftest.$ac_ext <<_ACEOF
47233 /* end confdefs.h. */
47234
47235 #include <sys/types.h>
47236 #include <sys/socket.h>
47237
47238 int
47239 main ()
47240 {
47241
47242 int len;
47243 getsockopt(0, 0, 0, 0, &len);
47244
47245 ;
47246 return 0;
47247 }
47248 _ACEOF
47249 rm -f conftest.$ac_objext
47250 if { (ac_try="$ac_compile"
47251 case "(($ac_try" in
47252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47253 *) ac_try_echo=$ac_try;;
47254 esac
47255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47256 (eval "$ac_compile") 2>conftest.er1
47257 ac_status=$?
47258 grep -v '^ *+' conftest.er1 >conftest.err
47259 rm -f conftest.er1
47260 cat conftest.err >&5
47261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47262 (exit $ac_status); } && {
47263 test -z "$ac_cxx_werror_flag" ||
47264 test ! -s conftest.err
47265 } && test -s conftest.$ac_objext; then
47266 wx_cv_type_getsockopt5=int
47267 else
47268 echo "$as_me: failed program was:" >&5
47269 sed 's/^/| /' conftest.$ac_ext >&5
47270
47271 wx_cv_type_getsockopt5=unknown
47272
47273 fi
47274
47275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47276
47277 fi
47278
47279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47280
47281
47282 fi
47283
47284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47285 ac_ext=c
47286 ac_cpp='$CPP $CPPFLAGS'
47287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47290
47291
47292 fi
47293 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47294 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47295
47296 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47297 wxUSE_SOCKETS=no
47298 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47299 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47300 else
47301 cat >>confdefs.h <<_ACEOF
47302 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47303 _ACEOF
47304
47305 fi
47306 fi
47307 fi
47308
47309 if test "$wxUSE_SOCKETS" = "yes" ; then
47310 cat >>confdefs.h <<\_ACEOF
47311 #define wxUSE_SOCKETS 1
47312 _ACEOF
47313
47314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47315 fi
47316
47317 if test "$wxUSE_PROTOCOL" = "yes"; then
47318 if test "$wxUSE_SOCKETS" != "yes"; then
47319 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47320 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47321 wxUSE_PROTOCOL=no
47322 fi
47323 fi
47324
47325 if test "$wxUSE_PROTOCOL" = "yes"; then
47326 cat >>confdefs.h <<\_ACEOF
47327 #define wxUSE_PROTOCOL 1
47328 _ACEOF
47329
47330
47331 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_PROTOCOL_HTTP 1
47334 _ACEOF
47335
47336 fi
47337 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_PROTOCOL_FTP 1
47340 _ACEOF
47341
47342 fi
47343 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47344 cat >>confdefs.h <<\_ACEOF
47345 #define wxUSE_PROTOCOL_FILE 1
47346 _ACEOF
47347
47348 fi
47349 else
47350 if test "$wxUSE_FS_INET" = "yes"; then
47351 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47352 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47353 wxUSE_FS_INET="no"
47354 fi
47355 fi
47356
47357 if test "$wxUSE_URL" = "yes"; then
47358 if test "$wxUSE_PROTOCOL" != "yes"; then
47359 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47360 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47361 wxUSE_URL=no
47362 fi
47363 if test "$wxUSE_URL" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_URL 1
47366 _ACEOF
47367
47368 fi
47369 fi
47370
47371 if test "$wxUSE_VARIANT" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_VARIANT 1
47374 _ACEOF
47375
47376 fi
47377
47378 if test "$wxUSE_FS_INET" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_FS_INET 1
47381 _ACEOF
47382
47383 fi
47384
47385
47386 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47387 wxUSE_JOYSTICK=no
47388
47389 if test "$TOOLKIT" = "MSW"; then
47390 wxUSE_JOYSTICK=yes
47391
47392 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47393 if test "$USE_DARWIN" = 1; then
47394 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47395 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47396 ac_ext=cpp
47397 ac_cpp='$CXXCPP $CPPFLAGS'
47398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47401
47402 cat >conftest.$ac_ext <<_ACEOF
47403 /* confdefs.h. */
47404 _ACEOF
47405 cat confdefs.h >>conftest.$ac_ext
47406 cat >>conftest.$ac_ext <<_ACEOF
47407 /* end confdefs.h. */
47408 #include <IOKit/hid/IOHIDLib.h>
47409 int
47410 main ()
47411 {
47412 IOHIDQueueInterface *qi = NULL;
47413 IOHIDCallbackFunction cb = NULL;
47414 qi->setEventCallout(NULL, cb, NULL, NULL);
47415 ;
47416 return 0;
47417 }
47418 _ACEOF
47419 rm -f conftest.$ac_objext
47420 if { (ac_try="$ac_compile"
47421 case "(($ac_try" in
47422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47423 *) ac_try_echo=$ac_try;;
47424 esac
47425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47426 (eval "$ac_compile") 2>conftest.er1
47427 ac_status=$?
47428 grep -v '^ *+' conftest.er1 >conftest.err
47429 rm -f conftest.er1
47430 cat conftest.err >&5
47431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47432 (exit $ac_status); } && {
47433 test -z "$ac_cxx_werror_flag" ||
47434 test ! -s conftest.err
47435 } && test -s conftest.$ac_objext; then
47436 wxUSE_JOYSTICK=yes
47437
47438 else
47439 echo "$as_me: failed program was:" >&5
47440 sed 's/^/| /' conftest.$ac_ext >&5
47441
47442
47443 fi
47444
47445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47446 ac_ext=c
47447 ac_cpp='$CPP $CPPFLAGS'
47448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47451
47452 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47453 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47454 fi
47455
47456 else
47457 if test "$wxUSE_MGL" != "1"; then
47458
47459 for ac_header in linux/joystick.h
47460 do
47461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47462 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47464 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47465 echo $ECHO_N "(cached) $ECHO_C" >&6
47466 else
47467 cat >conftest.$ac_ext <<_ACEOF
47468 /* confdefs.h. */
47469 _ACEOF
47470 cat confdefs.h >>conftest.$ac_ext
47471 cat >>conftest.$ac_ext <<_ACEOF
47472 /* end confdefs.h. */
47473 $ac_includes_default
47474
47475 #include <$ac_header>
47476 _ACEOF
47477 rm -f conftest.$ac_objext
47478 if { (ac_try="$ac_compile"
47479 case "(($ac_try" in
47480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47481 *) ac_try_echo=$ac_try;;
47482 esac
47483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47484 (eval "$ac_compile") 2>conftest.er1
47485 ac_status=$?
47486 grep -v '^ *+' conftest.er1 >conftest.err
47487 rm -f conftest.er1
47488 cat conftest.err >&5
47489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490 (exit $ac_status); } && {
47491 test -z "$ac_c_werror_flag" ||
47492 test ! -s conftest.err
47493 } && test -s conftest.$ac_objext; then
47494 eval "$as_ac_Header=yes"
47495 else
47496 echo "$as_me: failed program was:" >&5
47497 sed 's/^/| /' conftest.$ac_ext >&5
47498
47499 eval "$as_ac_Header=no"
47500 fi
47501
47502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47503 fi
47504 ac_res=`eval echo '${'$as_ac_Header'}'`
47505 { echo "$as_me:$LINENO: result: $ac_res" >&5
47506 echo "${ECHO_T}$ac_res" >&6; }
47507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47508 cat >>confdefs.h <<_ACEOF
47509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47510 _ACEOF
47511 wxUSE_JOYSTICK=yes
47512 fi
47513
47514 done
47515
47516 fi
47517 fi
47518
47519 if test "$wxUSE_JOYSTICK" = "yes"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_JOYSTICK 1
47522 _ACEOF
47523
47524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47525 else
47526 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47527 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47528 fi
47529 fi
47530
47531
47532
47533 if test "$wxUSE_FONTENUM" = "yes" ; then
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_FONTENUM 1
47536 _ACEOF
47537
47538 fi
47539
47540 if test "$wxUSE_FONTMAP" = "yes" ; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_FONTMAP 1
47543 _ACEOF
47544
47545 fi
47546
47547 if test "$wxUSE_UNICODE" = "yes" ; then
47548 cat >>confdefs.h <<\_ACEOF
47549 #define wxUSE_UNICODE 1
47550 _ACEOF
47551
47552
47553 if test "$USE_WIN32" != 1; then
47554 wxUSE_UNICODE_MSLU=no
47555 fi
47556
47557 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47558 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47559 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47560 if test "${ac_cv_lib_unicows_main+set}" = set; then
47561 echo $ECHO_N "(cached) $ECHO_C" >&6
47562 else
47563 ac_check_lib_save_LIBS=$LIBS
47564 LIBS="-lunicows $LIBS"
47565 cat >conftest.$ac_ext <<_ACEOF
47566 /* confdefs.h. */
47567 _ACEOF
47568 cat confdefs.h >>conftest.$ac_ext
47569 cat >>conftest.$ac_ext <<_ACEOF
47570 /* end confdefs.h. */
47571
47572
47573 int
47574 main ()
47575 {
47576 return main ();
47577 ;
47578 return 0;
47579 }
47580 _ACEOF
47581 rm -f conftest.$ac_objext conftest$ac_exeext
47582 if { (ac_try="$ac_link"
47583 case "(($ac_try" in
47584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47585 *) ac_try_echo=$ac_try;;
47586 esac
47587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47588 (eval "$ac_link") 2>conftest.er1
47589 ac_status=$?
47590 grep -v '^ *+' conftest.er1 >conftest.err
47591 rm -f conftest.er1
47592 cat conftest.err >&5
47593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47594 (exit $ac_status); } && {
47595 test -z "$ac_c_werror_flag" ||
47596 test ! -s conftest.err
47597 } && test -s conftest$ac_exeext &&
47598 $as_test_x conftest$ac_exeext; then
47599 ac_cv_lib_unicows_main=yes
47600 else
47601 echo "$as_me: failed program was:" >&5
47602 sed 's/^/| /' conftest.$ac_ext >&5
47603
47604 ac_cv_lib_unicows_main=no
47605 fi
47606
47607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47608 conftest$ac_exeext conftest.$ac_ext
47609 LIBS=$ac_check_lib_save_LIBS
47610 fi
47611 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47612 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47613 if test $ac_cv_lib_unicows_main = yes; then
47614
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_UNICODE_MSLU 1
47617 _ACEOF
47618
47619
47620 else
47621
47622 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47623 Applications will only run on Windows NT/2000/XP!" >&5
47624 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47625 Applications will only run on Windows NT/2000/XP!" >&2;}
47626 wxUSE_UNICODE_MSLU=no
47627
47628 fi
47629
47630 fi
47631 fi
47632
47633 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_UNICODE_UTF8 1
47636 _ACEOF
47637
47638
47639 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_UTF8_LOCALE_ONLY 1
47642 _ACEOF
47643
47644 fi
47645 fi
47646
47647
47648 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47649 cat >>confdefs.h <<\_ACEOF
47650 #define wxUSE_CONSTRAINTS 1
47651 _ACEOF
47652
47653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47654 fi
47655
47656 if test "$wxUSE_MDI" = "yes"; then
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_MDI 1
47659 _ACEOF
47660
47661
47662 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_MDI_ARCHITECTURE 1
47665 _ACEOF
47666
47667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47668 fi
47669 fi
47670
47671 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47674 _ACEOF
47675
47676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47677 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47679 fi
47680 fi
47681
47682 if test "$wxUSE_HELP" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_HELP 1
47685 _ACEOF
47686
47687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47688
47689 if test "$wxUSE_MSW" = 1; then
47690 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_MS_HTML_HELP 1
47693 _ACEOF
47694
47695 fi
47696 fi
47697
47698 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47699 if test "$wxUSE_HTML" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_WXHTML_HELP 1
47702 _ACEOF
47703
47704 else
47705 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47706 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47707 wxUSE_WXHTML_HELP=no
47708 fi
47709 fi
47710 fi
47711
47712 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47713 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47714 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47715 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47716 else
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_PRINTING_ARCHITECTURE 1
47719 _ACEOF
47720
47721 fi
47722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47723 fi
47724
47725 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_POSTSCRIPT 1
47728 _ACEOF
47729
47730 fi
47731
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47734 _ACEOF
47735
47736
47737 if test "$wxUSE_SVG" = "yes"; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_SVG 1
47740 _ACEOF
47741
47742 fi
47743
47744
47745 if test "$wxUSE_METAFILE" = "yes"; then
47746 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47747 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47748 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47749 wxUSE_METAFILE=no
47750 fi
47751 fi
47752
47753
47754 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47755 -o "$wxUSE_CLIPBOARD" = "yes" \
47756 -o "$wxUSE_OLE" = "yes" \
47757 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47758 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47759 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47760 if test "${ac_cv_header_ole2_h+set}" = set; then
47761 echo $ECHO_N "(cached) $ECHO_C" >&6
47762 else
47763 cat >conftest.$ac_ext <<_ACEOF
47764 /* confdefs.h. */
47765 _ACEOF
47766 cat confdefs.h >>conftest.$ac_ext
47767 cat >>conftest.$ac_ext <<_ACEOF
47768 /* end confdefs.h. */
47769
47770
47771 #include <ole2.h>
47772 _ACEOF
47773 rm -f conftest.$ac_objext
47774 if { (ac_try="$ac_compile"
47775 case "(($ac_try" in
47776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47777 *) ac_try_echo=$ac_try;;
47778 esac
47779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47780 (eval "$ac_compile") 2>conftest.er1
47781 ac_status=$?
47782 grep -v '^ *+' conftest.er1 >conftest.err
47783 rm -f conftest.er1
47784 cat conftest.err >&5
47785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47786 (exit $ac_status); } && {
47787 test -z "$ac_c_werror_flag" ||
47788 test ! -s conftest.err
47789 } && test -s conftest.$ac_objext; then
47790 ac_cv_header_ole2_h=yes
47791 else
47792 echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.$ac_ext >&5
47794
47795 ac_cv_header_ole2_h=no
47796 fi
47797
47798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47799 fi
47800 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47801 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47802
47803
47804
47805 if test "$ac_cv_header_ole2_h" = "yes" ; then
47806 if test "$GCC" = yes ; then
47807 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47808 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47809 cat >conftest.$ac_ext <<_ACEOF
47810 /* confdefs.h. */
47811 _ACEOF
47812 cat confdefs.h >>conftest.$ac_ext
47813 cat >>conftest.$ac_ext <<_ACEOF
47814 /* end confdefs.h. */
47815 #include <windows.h>
47816 #include <ole2.h>
47817 int
47818 main ()
47819 {
47820
47821 ;
47822 return 0;
47823 }
47824 _ACEOF
47825 rm -f conftest.$ac_objext
47826 if { (ac_try="$ac_compile"
47827 case "(($ac_try" in
47828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47829 *) ac_try_echo=$ac_try;;
47830 esac
47831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47832 (eval "$ac_compile") 2>conftest.er1
47833 ac_status=$?
47834 grep -v '^ *+' conftest.er1 >conftest.err
47835 rm -f conftest.er1
47836 cat conftest.err >&5
47837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47838 (exit $ac_status); } && {
47839 test -z "$ac_c_werror_flag" ||
47840 test ! -s conftest.err
47841 } && test -s conftest.$ac_objext; then
47842 { echo "$as_me:$LINENO: result: no" >&5
47843 echo "${ECHO_T}no" >&6; }
47844 else
47845 echo "$as_me: failed program was:" >&5
47846 sed 's/^/| /' conftest.$ac_ext >&5
47847
47848 { echo "$as_me:$LINENO: result: yes" >&5
47849 echo "${ECHO_T}yes" >&6; }
47850 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47851 fi
47852
47853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47854 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47855 if test "$wxUSE_OLE" = "yes" ; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_OLE 1
47858 _ACEOF
47859
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_OLE_AUTOMATION 1
47862 _ACEOF
47863
47864 cat >>confdefs.h <<\_ACEOF
47865 #define wxUSE_ACTIVEX 1
47866 _ACEOF
47867
47868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47869 fi
47870 fi
47871
47872 if test "$wxUSE_DATAOBJ" = "yes" ; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_DATAOBJ 1
47875 _ACEOF
47876
47877 fi
47878 else
47879 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47880 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47881
47882 wxUSE_CLIPBOARD=no
47883 wxUSE_DRAG_AND_DROP=no
47884 wxUSE_DATAOBJ=no
47885 wxUSE_OLE=no
47886 fi
47887
47888 if test "$wxUSE_METAFILE" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_METAFILE 1
47891 _ACEOF
47892
47893
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_ENH_METAFILE 1
47896 _ACEOF
47897
47898 fi
47899 fi
47900
47901 if test "$wxUSE_IPC" = "yes"; then
47902 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47903 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47904 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47905 wxUSE_IPC=no
47906 fi
47907
47908 if test "$wxUSE_IPC" = "yes"; then
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_IPC 1
47911 _ACEOF
47912
47913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47914 fi
47915 fi
47916
47917 if test "$wxUSE_DATAOBJ" = "yes"; then
47918 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47919 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47920 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47921 wxUSE_DATAOBJ=no
47922 else
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_DATAOBJ 1
47925 _ACEOF
47926
47927 fi
47928 else
47929 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47930 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47931 wxUSE_CLIPBOARD=no
47932 wxUSE_DRAG_AND_DROP=no
47933 fi
47934
47935 if test "$wxUSE_CLIPBOARD" = "yes"; then
47936 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47937 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47938 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47939 wxUSE_CLIPBOARD=no
47940 fi
47941
47942 if test "$wxUSE_CLIPBOARD" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_CLIPBOARD 1
47945 _ACEOF
47946
47947 fi
47948 fi
47949
47950 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47951 if test "$wxUSE_GTK" = 1; then
47952 if test "$WXGTK12" != 1; then
47953 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47954 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47955 wxUSE_DRAG_AND_DROP=no
47956 fi
47957 fi
47958
47959 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47960 "$wxUSE_DFB" = 1; then
47961 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47962 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47963 wxUSE_DRAG_AND_DROP=no
47964 fi
47965
47966 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_DRAG_AND_DROP 1
47969 _ACEOF
47970
47971 fi
47972
47973 fi
47974
47975 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47977 fi
47978
47979 if test "$wxUSE_SPLINES" = "yes" ; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_SPLINES 1
47982 _ACEOF
47983
47984 fi
47985
47986 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47987 cat >>confdefs.h <<\_ACEOF
47988 #define wxUSE_MOUSEWHEEL 1
47989 _ACEOF
47990
47991 fi
47992
47993
47994 USES_CONTROLS=0
47995 if test "$wxUSE_CONTROLS" = "yes"; then
47996 USES_CONTROLS=1
47997 fi
47998
47999 if test "$wxUSE_ACCEL" = "yes"; then
48000 cat >>confdefs.h <<\_ACEOF
48001 #define wxUSE_ACCEL 1
48002 _ACEOF
48003
48004 USES_CONTROLS=1
48005 fi
48006
48007 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48008 cat >>confdefs.h <<\_ACEOF
48009 #define wxUSE_ANIMATIONCTRL 1
48010 _ACEOF
48011
48012 USES_CONTROLS=1
48013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48014 fi
48015
48016 if test "$wxUSE_BUTTON" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_BUTTON 1
48019 _ACEOF
48020
48021 USES_CONTROLS=1
48022 fi
48023
48024 if test "$wxUSE_BMPBUTTON" = "yes"; then
48025 cat >>confdefs.h <<\_ACEOF
48026 #define wxUSE_BMPBUTTON 1
48027 _ACEOF
48028
48029 USES_CONTROLS=1
48030 fi
48031
48032 if test "$wxUSE_CALCTRL" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_CALENDARCTRL 1
48035 _ACEOF
48036
48037 USES_CONTROLS=1
48038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48039 fi
48040
48041 if test "$wxUSE_CARET" = "yes"; then
48042 cat >>confdefs.h <<\_ACEOF
48043 #define wxUSE_CARET 1
48044 _ACEOF
48045
48046 USES_CONTROLS=1
48047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48048 fi
48049
48050 if test "$wxUSE_COLLPANE" = "yes"; then
48051 cat >>confdefs.h <<\_ACEOF
48052 #define wxUSE_COLLPANE 1
48053 _ACEOF
48054
48055 USES_CONTROLS=1
48056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48057 fi
48058
48059 if test "$wxUSE_COMBOBOX" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_COMBOBOX 1
48062 _ACEOF
48063
48064 USES_CONTROLS=1
48065 fi
48066
48067 if test "$wxUSE_COMBOCTRL" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_COMBOCTRL 1
48070 _ACEOF
48071
48072 USES_CONTROLS=1
48073 fi
48074
48075 if test "$wxUSE_CHOICE" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_CHOICE 1
48078 _ACEOF
48079
48080 USES_CONTROLS=1
48081 fi
48082
48083 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_CHOICEBOOK 1
48086 _ACEOF
48087
48088 USES_CONTROLS=1
48089 fi
48090
48091 if test "$wxUSE_CHECKBOX" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_CHECKBOX 1
48094 _ACEOF
48095
48096 USES_CONTROLS=1
48097 fi
48098
48099 if test "$wxUSE_CHECKLST" = "yes"; then
48100 cat >>confdefs.h <<\_ACEOF
48101 #define wxUSE_CHECKLISTBOX 1
48102 _ACEOF
48103
48104 USES_CONTROLS=1
48105 fi
48106
48107 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48108 cat >>confdefs.h <<\_ACEOF
48109 #define wxUSE_COLOURPICKERCTRL 1
48110 _ACEOF
48111
48112 USES_CONTROLS=1
48113 fi
48114
48115 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48116 cat >>confdefs.h <<\_ACEOF
48117 #define wxUSE_DATEPICKCTRL 1
48118 _ACEOF
48119
48120 USES_CONTROLS=1
48121 fi
48122
48123 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_DIRPICKERCTRL 1
48126 _ACEOF
48127
48128 USES_CONTROLS=1
48129 fi
48130
48131 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48132 cat >>confdefs.h <<\_ACEOF
48133 #define wxUSE_FILEPICKERCTRL 1
48134 _ACEOF
48135
48136 USES_CONTROLS=1
48137 fi
48138
48139 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_FONTPICKERCTRL 1
48142 _ACEOF
48143
48144 USES_CONTROLS=1
48145 fi
48146
48147 if test "$wxUSE_DISPLAY" = "yes"; then
48148 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48149 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48150 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48151 wxUSE_DISPLAY=no
48152 else
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_DISPLAY 1
48155 _ACEOF
48156
48157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48158 fi
48159 fi
48160
48161 if test "$wxUSE_DETECT_SM" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_DETECT_SM 1
48164 _ACEOF
48165
48166 fi
48167
48168 if test "$wxUSE_GAUGE" = "yes"; then
48169 cat >>confdefs.h <<\_ACEOF
48170 #define wxUSE_GAUGE 1
48171 _ACEOF
48172
48173 USES_CONTROLS=1
48174 fi
48175
48176 if test "$wxUSE_GRID" = "yes"; then
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_GRID 1
48179 _ACEOF
48180
48181 USES_CONTROLS=1
48182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48183 fi
48184
48185 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_HYPERLINKCTRL 1
48188 _ACEOF
48189
48190 USES_CONTROLS=1
48191 fi
48192
48193 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_BITMAPCOMBOBOX 1
48196 _ACEOF
48197
48198 USES_CONTROLS=1
48199 fi
48200
48201 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_DATAVIEWCTRL 1
48204 _ACEOF
48205
48206 USES_CONTROLS=1
48207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48208 fi
48209
48210 if test "$wxUSE_IMAGLIST" = "yes"; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_IMAGLIST 1
48213 _ACEOF
48214
48215 fi
48216
48217 if test "$wxUSE_LISTBOOK" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_LISTBOOK 1
48220 _ACEOF
48221
48222 USES_CONTROLS=1
48223 fi
48224
48225 if test "$wxUSE_LISTBOX" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_LISTBOX 1
48228 _ACEOF
48229
48230 USES_CONTROLS=1
48231 fi
48232
48233 if test "$wxUSE_LISTCTRL" = "yes"; then
48234 if test "$wxUSE_IMAGLIST" = "yes"; then
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_LISTCTRL 1
48237 _ACEOF
48238
48239 USES_CONTROLS=1
48240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48241 else
48242 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48243 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48244 fi
48245 fi
48246
48247 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_EDITABLELISTBOX 1
48250 _ACEOF
48251
48252 USES_CONTROLS=1
48253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48254 fi
48255
48256 if test "$wxUSE_NOTEBOOK" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_NOTEBOOK 1
48259 _ACEOF
48260
48261 USES_CONTROLS=1
48262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48263 fi
48264
48265 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48266 cat >>confdefs.h <<\_ACEOF
48267 #define wxUSE_ODCOMBOBOX 1
48268 _ACEOF
48269
48270 USES_CONTROLS=1
48271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48272 fi
48273
48274 if test "$wxUSE_RADIOBOX" = "yes"; then
48275 cat >>confdefs.h <<\_ACEOF
48276 #define wxUSE_RADIOBOX 1
48277 _ACEOF
48278
48279 USES_CONTROLS=1
48280 fi
48281
48282 if test "$wxUSE_RADIOBTN" = "yes"; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_RADIOBTN 1
48285 _ACEOF
48286
48287 USES_CONTROLS=1
48288 fi
48289
48290 if test "$wxUSE_SASH" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_SASH 1
48293 _ACEOF
48294
48295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48296 fi
48297
48298 if test "$wxUSE_SCROLLBAR" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_SCROLLBAR 1
48301 _ACEOF
48302
48303 USES_CONTROLS=1
48304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48305 fi
48306
48307 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48308 cat >>confdefs.h <<\_ACEOF
48309 #define wxUSE_SEARCHCTRL 1
48310 _ACEOF
48311
48312 USES_CONTROLS=1
48313 fi
48314
48315 if test "$wxUSE_SLIDER" = "yes"; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_SLIDER 1
48318 _ACEOF
48319
48320 USES_CONTROLS=1
48321 fi
48322
48323 if test "$wxUSE_SPINBTN" = "yes"; then
48324 cat >>confdefs.h <<\_ACEOF
48325 #define wxUSE_SPINBTN 1
48326 _ACEOF
48327
48328 USES_CONTROLS=1
48329 fi
48330
48331 if test "$wxUSE_SPINCTRL" = "yes"; then
48332 cat >>confdefs.h <<\_ACEOF
48333 #define wxUSE_SPINCTRL 1
48334 _ACEOF
48335
48336 USES_CONTROLS=1
48337 fi
48338
48339 if test "$wxUSE_SPLITTER" = "yes"; then
48340 cat >>confdefs.h <<\_ACEOF
48341 #define wxUSE_SPLITTER 1
48342 _ACEOF
48343
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48345 fi
48346
48347 if test "$wxUSE_STATBMP" = "yes"; then
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_STATBMP 1
48350 _ACEOF
48351
48352 USES_CONTROLS=1
48353 fi
48354
48355 if test "$wxUSE_STATBOX" = "yes"; then
48356 cat >>confdefs.h <<\_ACEOF
48357 #define wxUSE_STATBOX 1
48358 _ACEOF
48359
48360 USES_CONTROLS=1
48361 fi
48362
48363 if test "$wxUSE_STATTEXT" = "yes"; then
48364 cat >>confdefs.h <<\_ACEOF
48365 #define wxUSE_STATTEXT 1
48366 _ACEOF
48367
48368 USES_CONTROLS=1
48369 fi
48370
48371 if test "$wxUSE_STATLINE" = "yes"; then
48372 cat >>confdefs.h <<\_ACEOF
48373 #define wxUSE_STATLINE 1
48374 _ACEOF
48375
48376 USES_CONTROLS=1
48377 fi
48378
48379 if test "$wxUSE_STATUSBAR" = "yes"; then
48380 cat >>confdefs.h <<\_ACEOF
48381 #define wxUSE_NATIVE_STATUSBAR 1
48382 _ACEOF
48383
48384 cat >>confdefs.h <<\_ACEOF
48385 #define wxUSE_STATUSBAR 1
48386 _ACEOF
48387
48388 USES_CONTROLS=1
48389
48390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48391 fi
48392
48393 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48394 cat >>confdefs.h <<\_ACEOF
48395 #define wxUSE_TAB_DIALOG 1
48396 _ACEOF
48397
48398 fi
48399
48400 if test "$wxUSE_TEXTCTRL" = "yes"; then
48401 cat >>confdefs.h <<\_ACEOF
48402 #define wxUSE_TEXTCTRL 1
48403 _ACEOF
48404
48405 USES_CONTROLS=1
48406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48407 fi
48408
48409 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48410 if test "$wxUSE_COCOA" = 1 ; then
48411 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48412 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48413 wxUSE_TOGGLEBTN=no
48414 fi
48415
48416 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48417 cat >>confdefs.h <<\_ACEOF
48418 #define wxUSE_TOGGLEBTN 1
48419 _ACEOF
48420
48421 USES_CONTROLS=1
48422 fi
48423 fi
48424
48425 if test "$wxUSE_TOOLBAR" = "yes"; then
48426 cat >>confdefs.h <<\_ACEOF
48427 #define wxUSE_TOOLBAR 1
48428 _ACEOF
48429
48430 USES_CONTROLS=1
48431
48432 if test "$wxUSE_UNIVERSAL" = "yes"; then
48433 wxUSE_TOOLBAR_NATIVE="no"
48434 else
48435 wxUSE_TOOLBAR_NATIVE="yes"
48436 cat >>confdefs.h <<\_ACEOF
48437 #define wxUSE_TOOLBAR_NATIVE 1
48438 _ACEOF
48439
48440 fi
48441
48442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48443 fi
48444
48445 if test "$wxUSE_TOOLTIPS" = "yes"; then
48446 if test "$wxUSE_MOTIF" = 1; then
48447 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48448 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48449 else
48450 if test "$wxUSE_UNIVERSAL" = "yes"; then
48451 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48452 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48453 else
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_TOOLTIPS 1
48456 _ACEOF
48457
48458 fi
48459 fi
48460 fi
48461
48462 if test "$wxUSE_TREEBOOK" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_TREEBOOK 1
48465 _ACEOF
48466
48467 USES_CONTROLS=1
48468 fi
48469
48470 if test "$wxUSE_TOOLBOOK" = "yes"; then
48471 cat >>confdefs.h <<\_ACEOF
48472 #define wxUSE_TOOLBOOK 1
48473 _ACEOF
48474
48475 USES_CONTROLS=1
48476 fi
48477
48478 if test "$wxUSE_TREECTRL" = "yes"; then
48479 if test "$wxUSE_IMAGLIST" = "yes"; then
48480 cat >>confdefs.h <<\_ACEOF
48481 #define wxUSE_TREECTRL 1
48482 _ACEOF
48483
48484 USES_CONTROLS=1
48485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48486 else
48487 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48488 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48489 fi
48490 fi
48491
48492 if test "$wxUSE_POPUPWIN" = "yes"; then
48493 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48494 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48495 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48496 else
48497 if test "$wxUSE_PM" = 1; then
48498 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48499 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48500 else
48501 cat >>confdefs.h <<\_ACEOF
48502 #define wxUSE_POPUPWIN 1
48503 _ACEOF
48504
48505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48506
48507 USES_CONTROLS=1
48508 fi
48509 fi
48510 fi
48511
48512 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48513 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48514 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48515 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48516 else
48517 cat >>confdefs.h <<\_ACEOF
48518 #define wxUSE_DIALUP_MANAGER 1
48519 _ACEOF
48520
48521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48522 fi
48523 fi
48524
48525 if test "$wxUSE_TIPWINDOW" = "yes"; then
48526 if test "$wxUSE_PM" = 1; then
48527 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48528 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48529 else
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_TIPWINDOW 1
48532 _ACEOF
48533
48534 fi
48535 fi
48536
48537 if test "$USES_CONTROLS" = 1; then
48538 cat >>confdefs.h <<\_ACEOF
48539 #define wxUSE_CONTROLS 1
48540 _ACEOF
48541
48542 fi
48543
48544
48545 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48546 cat >>confdefs.h <<\_ACEOF
48547 #define wxUSE_ACCESSIBILITY 1
48548 _ACEOF
48549
48550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48551 fi
48552
48553 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48554 cat >>confdefs.h <<\_ACEOF
48555 #define wxUSE_DRAGIMAGE 1
48556 _ACEOF
48557
48558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48559 fi
48560
48561 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48562 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48563 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48564 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48565 else
48566 cat >>confdefs.h <<\_ACEOF
48567 #define wxUSE_EXCEPTIONS 1
48568 _ACEOF
48569
48570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48571 fi
48572 fi
48573
48574 USE_HTML=0
48575 if test "$wxUSE_HTML" = "yes"; then
48576 cat >>confdefs.h <<\_ACEOF
48577 #define wxUSE_HTML 1
48578 _ACEOF
48579
48580 USE_HTML=1
48581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48582 if test "$wxUSE_MAC" = 1; then
48583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48584 fi
48585 fi
48586 if test "$wxUSE_WEBKIT" = "yes"; then
48587 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48588 old_CPPFLAGS="$CPPFLAGS"
48589 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48590 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48591 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48592 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48593 echo $ECHO_N "(cached) $ECHO_C" >&6
48594 else
48595 cat >conftest.$ac_ext <<_ACEOF
48596 /* confdefs.h. */
48597 _ACEOF
48598 cat confdefs.h >>conftest.$ac_ext
48599 cat >>conftest.$ac_ext <<_ACEOF
48600 /* end confdefs.h. */
48601
48602 #include <Carbon/Carbon.h>
48603 #include <WebKit/WebKit.h>
48604
48605
48606 #include <WebKit/HIWebView.h>
48607 _ACEOF
48608 rm -f conftest.$ac_objext
48609 if { (ac_try="$ac_compile"
48610 case "(($ac_try" in
48611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48612 *) ac_try_echo=$ac_try;;
48613 esac
48614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48615 (eval "$ac_compile") 2>conftest.er1
48616 ac_status=$?
48617 grep -v '^ *+' conftest.er1 >conftest.err
48618 rm -f conftest.er1
48619 cat conftest.err >&5
48620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621 (exit $ac_status); } && {
48622 test -z "$ac_c_werror_flag" ||
48623 test ! -s conftest.err
48624 } && test -s conftest.$ac_objext; then
48625 ac_cv_header_WebKit_HIWebView_h=yes
48626 else
48627 echo "$as_me: failed program was:" >&5
48628 sed 's/^/| /' conftest.$ac_ext >&5
48629
48630 ac_cv_header_WebKit_HIWebView_h=no
48631 fi
48632
48633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48634 fi
48635 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48636 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48637 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48638
48639 cat >>confdefs.h <<\_ACEOF
48640 #define wxUSE_WEBKIT 1
48641 _ACEOF
48642
48643 WEBKIT_LINK="-framework WebKit"
48644
48645 else
48646
48647 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48648 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48649 wxUSE_WEBKIT=no
48650
48651 fi
48652
48653
48654 CPPFLAGS="$old_CPPFLAGS"
48655 elif test "$wxUSE_COCOA" = 1; then
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_WEBKIT 1
48658 _ACEOF
48659
48660 else
48661 wxUSE_WEBKIT=no
48662 fi
48663 fi
48664
48665 USE_XRC=0
48666 if test "$wxUSE_XRC" = "yes"; then
48667 if test "$wxUSE_XML" != "yes"; then
48668 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48669 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48670 wxUSE_XRC=no
48671 else
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_XRC 1
48674 _ACEOF
48675
48676 USE_XRC=1
48677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48678 fi
48679 fi
48680
48681 USE_AUI=0
48682 if test "$wxUSE_AUI" = "yes"; then
48683 cat >>confdefs.h <<\_ACEOF
48684 #define wxUSE_AUI 1
48685 _ACEOF
48686
48687 USE_AUI=1
48688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48689 fi
48690
48691 USE_STC=0
48692 if test "$wxUSE_STC" = "yes"; then
48693 cat >>confdefs.h <<\_ACEOF
48694 #define wxUSE_STC 1
48695 _ACEOF
48696
48697 USE_STC=1
48698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48699 fi
48700
48701 if test "$wxUSE_MENUS" = "yes"; then
48702 cat >>confdefs.h <<\_ACEOF
48703 #define wxUSE_MENUS 1
48704 _ACEOF
48705
48706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48707 fi
48708
48709 if test "$wxUSE_METAFILE" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_METAFILE 1
48712 _ACEOF
48713
48714 fi
48715
48716 if test "$wxUSE_MIMETYPE" = "yes"; then
48717 cat >>confdefs.h <<\_ACEOF
48718 #define wxUSE_MIMETYPE 1
48719 _ACEOF
48720
48721 fi
48722
48723 if test "$wxUSE_MINIFRAME" = "yes"; then
48724 cat >>confdefs.h <<\_ACEOF
48725 #define wxUSE_MINIFRAME 1
48726 _ACEOF
48727
48728 fi
48729
48730 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48731 cat >>confdefs.h <<\_ACEOF
48732 #define wxUSE_SYSTEM_OPTIONS 1
48733 _ACEOF
48734
48735 fi
48736
48737 if test "$wxUSE_TASKBARICON" = "yes"; then
48738 cat >>confdefs.h <<\_ACEOF
48739 #define wxUSE_TASKBARICON 1
48740 _ACEOF
48741
48742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48743 fi
48744
48745
48746 if test "$wxUSE_VALIDATORS" = "yes"; then
48747 cat >>confdefs.h <<\_ACEOF
48748 #define wxUSE_VALIDATORS 1
48749 _ACEOF
48750
48751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48752 fi
48753
48754 if test "$wxUSE_PALETTE" = "yes" ; then
48755 if test "$wxUSE_DFB" = 1; then
48756 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48757 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48758 wxUSE_PALETTE=no
48759 else
48760 cat >>confdefs.h <<\_ACEOF
48761 #define wxUSE_PALETTE 1
48762 _ACEOF
48763
48764 fi
48765 fi
48766
48767 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48768 LIBS=" -lunicows $LIBS"
48769 fi
48770
48771 USE_RICHTEXT=0
48772 if test "$wxUSE_RICHTEXT" = "yes"; then
48773 cat >>confdefs.h <<\_ACEOF
48774 #define wxUSE_RICHTEXT 1
48775 _ACEOF
48776
48777 USE_RICHTEXT=1
48778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48779 fi
48780
48781
48782 if test "$wxUSE_IMAGE" = "yes" ; then
48783 cat >>confdefs.h <<\_ACEOF
48784 #define wxUSE_IMAGE 1
48785 _ACEOF
48786
48787
48788 if test "$wxUSE_GIF" = "yes" ; then
48789 cat >>confdefs.h <<\_ACEOF
48790 #define wxUSE_GIF 1
48791 _ACEOF
48792
48793 fi
48794
48795 if test "$wxUSE_PCX" = "yes" ; then
48796 cat >>confdefs.h <<\_ACEOF
48797 #define wxUSE_PCX 1
48798 _ACEOF
48799
48800 fi
48801
48802 if test "$wxUSE_TGA" = "yes" ; then
48803 cat >>confdefs.h <<\_ACEOF
48804 #define wxUSE_TGA 1
48805 _ACEOF
48806
48807 fi
48808
48809 if test "$wxUSE_IFF" = "yes" ; then
48810 cat >>confdefs.h <<\_ACEOF
48811 #define wxUSE_IFF 1
48812 _ACEOF
48813
48814 fi
48815
48816 if test "$wxUSE_PNM" = "yes" ; then
48817 cat >>confdefs.h <<\_ACEOF
48818 #define wxUSE_PNM 1
48819 _ACEOF
48820
48821 fi
48822
48823 if test "$wxUSE_XPM" = "yes" ; then
48824 cat >>confdefs.h <<\_ACEOF
48825 #define wxUSE_XPM 1
48826 _ACEOF
48827
48828 fi
48829
48830 if test "$wxUSE_ICO_CUR" = "yes" ; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_ICO_CUR 1
48833 _ACEOF
48834
48835 fi
48836 fi
48837
48838
48839 if test "$wxUSE_ABOUTDLG" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_ABOUTDLG 1
48842 _ACEOF
48843
48844 fi
48845
48846 if test "$wxUSE_CHOICEDLG" = "yes"; then
48847 cat >>confdefs.h <<\_ACEOF
48848 #define wxUSE_CHOICEDLG 1
48849 _ACEOF
48850
48851 fi
48852
48853 if test "$wxUSE_COLOURDLG" = "yes"; then
48854 cat >>confdefs.h <<\_ACEOF
48855 #define wxUSE_COLOURDLG 1
48856 _ACEOF
48857
48858 fi
48859
48860 if test "$wxUSE_FILEDLG" = "yes"; then
48861 cat >>confdefs.h <<\_ACEOF
48862 #define wxUSE_FILEDLG 1
48863 _ACEOF
48864
48865 fi
48866
48867 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_FINDREPLDLG 1
48870 _ACEOF
48871
48872 fi
48873
48874 if test "$wxUSE_FONTDLG" = "yes"; then
48875 cat >>confdefs.h <<\_ACEOF
48876 #define wxUSE_FONTDLG 1
48877 _ACEOF
48878
48879 fi
48880
48881 if test "$wxUSE_DIRDLG" = "yes"; then
48882 if test "$wxUSE_TREECTRL" != "yes"; then
48883 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48884 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48885 else
48886 cat >>confdefs.h <<\_ACEOF
48887 #define wxUSE_DIRDLG 1
48888 _ACEOF
48889
48890 fi
48891 fi
48892
48893 if test "$wxUSE_MSGDLG" = "yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_MSGDLG 1
48896 _ACEOF
48897
48898 fi
48899
48900 if test "$wxUSE_NUMBERDLG" = "yes"; then
48901 cat >>confdefs.h <<\_ACEOF
48902 #define wxUSE_NUMBERDLG 1
48903 _ACEOF
48904
48905 fi
48906
48907 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48908 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48909 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48910 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48911 else
48912 cat >>confdefs.h <<\_ACEOF
48913 #define wxUSE_PROGRESSDLG 1
48914 _ACEOF
48915
48916 fi
48917 fi
48918
48919 if test "$wxUSE_SPLASH" = "yes"; then
48920 cat >>confdefs.h <<\_ACEOF
48921 #define wxUSE_SPLASH 1
48922 _ACEOF
48923
48924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48925 fi
48926
48927 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48928 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48929 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48930 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48931 else
48932 cat >>confdefs.h <<\_ACEOF
48933 #define wxUSE_STARTUP_TIPS 1
48934 _ACEOF
48935
48936 fi
48937 fi
48938
48939 if test "$wxUSE_TEXTDLG" = "yes"; then
48940 cat >>confdefs.h <<\_ACEOF
48941 #define wxUSE_TEXTDLG 1
48942 _ACEOF
48943
48944 fi
48945
48946 if test "$wxUSE_WIZARDDLG" = "yes"; then
48947 cat >>confdefs.h <<\_ACEOF
48948 #define wxUSE_WIZARDDLG 1
48949 _ACEOF
48950
48951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48952 fi
48953
48954
48955 if test "$wxUSE_MSW" = 1 ; then
48956
48957 if test "$wxUSE_DC_CACHEING" = "yes"; then
48958 cat >>confdefs.h <<\_ACEOF
48959 #define wxUSE_DC_CACHEING 1
48960 _ACEOF
48961
48962 fi
48963
48964 if test "$wxUSE_DIB" = "yes"; then
48965 cat >>confdefs.h <<\_ACEOF
48966 #define wxUSE_WXDIB 1
48967 _ACEOF
48968
48969 fi
48970
48971 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_OWNER_DRAWN 1
48974 _ACEOF
48975
48976 fi
48977
48978 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48979 cat >>confdefs.h <<\_ACEOF
48980 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48981 _ACEOF
48982
48983 fi
48984
48985 if test "$wxUSE_UXTHEME" = "yes"; then
48986 cat >>confdefs.h <<\_ACEOF
48987 #define wxUSE_UXTHEME 1
48988 _ACEOF
48989
48990 fi
48991
48992 fi
48993
48994
48995 if test "$USE_WIN32" = 1 ; then
48996 if test "$wxUSE_INICONF" = "yes"; then
48997 cat >>confdefs.h <<\_ACEOF
48998 #define wxUSE_INICONF 1
48999 _ACEOF
49000
49001 fi
49002
49003 if test "$wxUSE_REGKEY" = "yes"; then
49004 cat >>confdefs.h <<\_ACEOF
49005 #define wxUSE_REGKEY 1
49006 _ACEOF
49007
49008 fi
49009 fi
49010
49011
49012 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49013 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49014 cat >>confdefs.h <<\_ACEOF
49015 #define wxUSE_GRAPHICS_CONTEXT 1
49016 _ACEOF
49017
49018 elif test "$wxUSE_GTK" != 1; then
49019 cat >>confdefs.h <<\_ACEOF
49020 #define wxUSE_GRAPHICS_CONTEXT 1
49021 _ACEOF
49022
49023 else
49024
49025 pkg_failed=no
49026 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49027 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49028
49029 if test -n "$PKG_CONFIG"; then
49030 if test -n "$CAIRO_CFLAGS"; then
49031 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49032 else
49033 if test -n "$PKG_CONFIG" && \
49034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49035 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49036 ac_status=$?
49037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49038 (exit $ac_status); }; then
49039 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49040 else
49041 pkg_failed=yes
49042 fi
49043 fi
49044 else
49045 pkg_failed=untried
49046 fi
49047 if test -n "$PKG_CONFIG"; then
49048 if test -n "$CAIRO_LIBS"; then
49049 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49050 else
49051 if test -n "$PKG_CONFIG" && \
49052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49053 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49054 ac_status=$?
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); }; then
49057 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49058 else
49059 pkg_failed=yes
49060 fi
49061 fi
49062 else
49063 pkg_failed=untried
49064 fi
49065
49066
49067
49068 if test $pkg_failed = yes; then
49069
49070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49071 _pkg_short_errors_supported=yes
49072 else
49073 _pkg_short_errors_supported=no
49074 fi
49075 if test $_pkg_short_errors_supported = yes; then
49076 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49077 else
49078 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49079 fi
49080 # Put the nasty error message in config.log where it belongs
49081 echo "$CAIRO_PKG_ERRORS" >&5
49082
49083 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49084 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49085
49086 elif test $pkg_failed = untried; then
49087 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49088 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49089
49090 else
49091 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49092 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49093 { echo "$as_me:$LINENO: result: yes" >&5
49094 echo "${ECHO_T}yes" >&6; }
49095 cat >>confdefs.h <<\_ACEOF
49096 #define wxUSE_GRAPHICS_CONTEXT 1
49097 _ACEOF
49098
49099 fi
49100 fi
49101 fi
49102
49103
49104 USE_MEDIA=0
49105
49106 if test "$wxUSE_MEDIACTRL" = "yes"; then
49107 USE_MEDIA=1
49108
49109 if test "$wxUSE_GTK" = 1; then
49110 wxUSE_GSTREAMER="no"
49111
49112 GST_VERSION_MAJOR=0
49113 GST_VERSION_MINOR=10
49114 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49115
49116 if test "$wxUSE_GSTREAMER8" = "no"; then
49117
49118 pkg_failed=no
49119 { echo "$as_me:$LINENO: checking for GST" >&5
49120 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49121
49122 if test -n "$PKG_CONFIG"; then
49123 if test -n "$GST_CFLAGS"; then
49124 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49125 else
49126 if test -n "$PKG_CONFIG" && \
49127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49128 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49129 ac_status=$?
49130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49131 (exit $ac_status); }; then
49132 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49133 else
49134 pkg_failed=yes
49135 fi
49136 fi
49137 else
49138 pkg_failed=untried
49139 fi
49140 if test -n "$PKG_CONFIG"; then
49141 if test -n "$GST_LIBS"; then
49142 pkg_cv_GST_LIBS="$GST_LIBS"
49143 else
49144 if test -n "$PKG_CONFIG" && \
49145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49146 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49147 ac_status=$?
49148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49149 (exit $ac_status); }; then
49150 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49151 else
49152 pkg_failed=yes
49153 fi
49154 fi
49155 else
49156 pkg_failed=untried
49157 fi
49158
49159
49160
49161 if test $pkg_failed = yes; then
49162
49163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49164 _pkg_short_errors_supported=yes
49165 else
49166 _pkg_short_errors_supported=no
49167 fi
49168 if test $_pkg_short_errors_supported = yes; then
49169 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49170 else
49171 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49172 fi
49173 # Put the nasty error message in config.log where it belongs
49174 echo "$GST_PKG_ERRORS" >&5
49175
49176
49177 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49178 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49179 GST_VERSION_MINOR=8
49180
49181
49182 elif test $pkg_failed = untried; then
49183
49184 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49185 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49186 GST_VERSION_MINOR=8
49187
49188
49189 else
49190 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49191 GST_LIBS=$pkg_cv_GST_LIBS
49192 { echo "$as_me:$LINENO: result: yes" >&5
49193 echo "${ECHO_T}yes" >&6; }
49194
49195 wxUSE_GSTREAMER="yes"
49196 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49197
49198 fi
49199 else
49200 GST_VERSION_MINOR=8
49201 fi
49202
49203 if test $GST_VERSION_MINOR = "8"; then
49204 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49205
49206 pkg_failed=no
49207 { echo "$as_me:$LINENO: checking for GST" >&5
49208 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49209
49210 if test -n "$PKG_CONFIG"; then
49211 if test -n "$GST_CFLAGS"; then
49212 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49213 else
49214 if test -n "$PKG_CONFIG" && \
49215 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49216 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49217 ac_status=$?
49218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49219 (exit $ac_status); }; then
49220 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49221 else
49222 pkg_failed=yes
49223 fi
49224 fi
49225 else
49226 pkg_failed=untried
49227 fi
49228 if test -n "$PKG_CONFIG"; then
49229 if test -n "$GST_LIBS"; then
49230 pkg_cv_GST_LIBS="$GST_LIBS"
49231 else
49232 if test -n "$PKG_CONFIG" && \
49233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49234 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49235 ac_status=$?
49236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49237 (exit $ac_status); }; then
49238 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49239 else
49240 pkg_failed=yes
49241 fi
49242 fi
49243 else
49244 pkg_failed=untried
49245 fi
49246
49247
49248
49249 if test $pkg_failed = yes; then
49250
49251 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49252 _pkg_short_errors_supported=yes
49253 else
49254 _pkg_short_errors_supported=no
49255 fi
49256 if test $_pkg_short_errors_supported = yes; then
49257 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49258 else
49259 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49260 fi
49261 # Put the nasty error message in config.log where it belongs
49262 echo "$GST_PKG_ERRORS" >&5
49263
49264
49265 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49266 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49267
49268 elif test $pkg_failed = untried; then
49269
49270 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49271 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49272
49273 else
49274 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49275 GST_LIBS=$pkg_cv_GST_LIBS
49276 { echo "$as_me:$LINENO: result: yes" >&5
49277 echo "${ECHO_T}yes" >&6; }
49278 wxUSE_GSTREAMER="yes"
49279 fi
49280 fi
49281
49282
49283 if test "$wxUSE_GSTREAMER" = "yes"; then
49284 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49285 LIBS="$GST_LIBS $LIBS"
49286
49287 cat >>confdefs.h <<\_ACEOF
49288 #define wxUSE_GSTREAMER 1
49289 _ACEOF
49290
49291 else
49292 USE_MEDIA=0
49293 fi
49294 fi
49295
49296 if test $USE_MEDIA = 1; then
49297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49298 cat >>confdefs.h <<\_ACEOF
49299 #define wxUSE_MEDIACTRL 1
49300 _ACEOF
49301
49302 fi
49303 fi
49304
49305
49306 if test "$cross_compiling" = "yes"; then
49307 OSINFO="\"$host\""
49308 else
49309 OSINFO=`uname -s -r -m`
49310 OSINFO="\"$OSINFO\""
49311 fi
49312
49313 cat >>confdefs.h <<_ACEOF
49314 #define WXWIN_OS_DESCRIPTION $OSINFO
49315 _ACEOF
49316
49317
49318
49319 if test "x$prefix" != "xNONE"; then
49320 wxPREFIX=$prefix
49321 else
49322 wxPREFIX=$ac_default_prefix
49323 fi
49324
49325 cat >>confdefs.h <<_ACEOF
49326 #define wxINSTALL_PREFIX "$wxPREFIX"
49327 _ACEOF
49328
49329
49330
49331
49332 STD_BASE_LIBS="base"
49333 STD_GUI_LIBS=""
49334 BUILT_WX_LIBS="base"
49335 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49336
49337 if test "$wxUSE_SOCKETS" = "yes" ; then
49338 STD_BASE_LIBS="net $STD_BASE_LIBS"
49339 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49340 fi
49341 if test "$wxUSE_ODBC" != "no" ; then
49342 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49343 fi
49344 if test "$wxUSE_XML" = "yes" ; then
49345 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49346 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49347 fi
49348
49349 if test "$wxUSE_GUI" = "yes"; then
49350 STD_GUI_LIBS="adv core"
49351 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49352
49353 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49354 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49355 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49356 fi
49357 if test "$wxUSE_ODBC" != "no" ; then
49358 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49359 fi
49360 if test "$wxUSE_HTML" = "yes" ; then
49361 STD_GUI_LIBS="html $STD_GUI_LIBS"
49362 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49363 fi
49364 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49365 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49366 fi
49367 if test "$wxUSE_OPENGL" = "yes" ; then
49368 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49369 fi
49370 if test "$wxUSE_AUI" = "yes" ; then
49371 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49372 fi
49373 if test "$wxUSE_STC" = "yes" ; then
49374 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49375 fi
49376 if test "$wxUSE_XRC" = "yes" ; then
49377 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49378 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49379 fi
49380 fi
49381
49382
49383
49384
49385
49386
49387
49388
49389 if test "$wxUSE_MAC" = 1 ; then
49390 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49391 if test "$USE_DARWIN" = 1; then
49392 LDFLAGS="$LDFLAGS -framework QuickTime"
49393 else
49394 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49395 fi
49396 fi
49397 if test "$USE_DARWIN" = 1; then
49398 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49399 else
49400 LDFLAGS="$LDFLAGS -lCarbonLib"
49401 fi
49402 fi
49403 if test "$wxUSE_COCOA" = 1 ; then
49404 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49405 if test "$wxUSE_MEDIACTRL" = "yes"; then
49406 LDFLAGS="$LDFLAGS -framework QuickTime"
49407 fi
49408 fi
49409 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49410 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49411 fi
49412
49413 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49414
49415 if test "$wxUSE_GUI" = "yes"; then
49416
49417
49418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49419 erase event exec font image minimal mobile \
49420 mobile/wxedit mobile/styles render \
49421 shaped svg taborder vscroll widgets"
49422
49423 if test "$wxUSE_MONOLITHIC" != "yes"; then
49424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49425 fi
49426 if test "$TOOLKIT" = "MSW"; then
49427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49428 if test "$wxUSE_UNIVERSAL" != "yes"; then
49429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49430 fi
49431 fi
49432 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49434 fi
49435 else
49436 SAMPLES_SUBDIRS="console"
49437 fi
49438
49439
49440 if test "x$INTELCC" = "xyes" ; then
49441 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49442 elif test "$GCC" = yes ; then
49443 CWARNINGS="-Wall -Wundef"
49444 fi
49445
49446 if test "x$INTELCXX" = "xyes" ; then
49447 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49448 elif test "$GXX" = yes ; then
49449 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49450 fi
49451
49452
49453 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49454 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49455
49456
49457 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49458 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49459 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49460 $CPPFLAGS `
49461
49462 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49463 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49464 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49465
49466 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49467
49468
49469 if test "x$MWCC" = "xyes"; then
49470
49471 CC="$CC -cwd source -I-"
49472 CXX="$CXX -cwd source -I-"
49473 fi
49474
49475
49476 LIBS=`echo $LIBS`
49477 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49478 EXTRALIBS_XML="$EXPAT_LINK"
49479 EXTRALIBS_HTML="$MSPACK_LINK"
49480 EXTRALIBS_ODBC="$ODBC_LINK"
49481 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49482 if test "$wxUSE_GUI" = "yes"; then
49483 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49484 fi
49485 if test "$wxUSE_OPENGL" = "yes"; then
49486 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49487 fi
49488
49489 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49490
49491 WXCONFIG_LIBS="$LIBS"
49492
49493 if test "$wxUSE_REGEX" = "builtin" ; then
49494 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49495 fi
49496 if test "$wxUSE_EXPAT" = "builtin" ; then
49497 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49498 fi
49499 if test "$wxUSE_ODBC" = "builtin" ; then
49500 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49501 fi
49502 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49503 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49504 fi
49505 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49506 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49507 fi
49508 if test "$wxUSE_LIBPNG" = "builtin" ; then
49509 wxconfig_3rdparty="png $wxconfig_3rdparty"
49510 fi
49511 if test "$wxUSE_ZLIB" = "builtin" ; then
49512 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49513 fi
49514
49515 for i in $wxconfig_3rdparty ; do
49516 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49517 done
49518
49519
49520 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49521 WXUNIV=1
49522
49523 case "$wxUNIV_THEMES" in
49524 ''|all)
49525 cat >>confdefs.h <<\_ACEOF
49526 #define wxUSE_ALL_THEMES 1
49527 _ACEOF
49528
49529 ;;
49530
49531 *)
49532 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49533 cat >>confdefs.h <<_ACEOF
49534 #define wxUSE_THEME_$t 1
49535 _ACEOF
49536
49537 done
49538 esac
49539 else
49540 WXUNIV=0
49541 fi
49542
49543
49544
49545
49546
49547
49548
49549
49550
49551 if test $wxUSE_MONOLITHIC = "yes" ; then
49552 MONOLITHIC=1
49553 else
49554 MONOLITHIC=0
49555 fi
49556
49557 if test $wxUSE_PLUGINS = "yes" ; then
49558 USE_PLUGINS=1
49559 else
49560 USE_PLUGINS=0
49561 fi
49562
49563 if test $wxUSE_ODBC != "no" ; then
49564 USE_ODBC=1
49565 else
49566 USE_ODBC=0
49567 fi
49568
49569 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49570 USE_QA=1
49571 else
49572 USE_QA=0
49573 fi
49574
49575 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49576 OFFICIAL_BUILD=1
49577 else
49578 OFFICIAL_BUILD=0
49579 fi
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49607
49608
49609
49610
49611
49612
49613
49614
49615 case "$TOOLKIT" in
49616 GTK)
49617 TOOLKIT_DESC="GTK+"
49618 if test "$WXGTK20" = 1; then
49619 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49620 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49621 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49622 fi
49623 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49624 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49625 fi
49626 if test "$wxUSE_LIBHILDON" = "yes"; then
49627 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49628 fi
49629
49630 if test "$TOOLKIT_EXTRA" != ""; then
49631 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49632 fi
49633 fi
49634 ;;
49635
49636 ?*)
49637 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49638 ;;
49639
49640 *)
49641 TOOLKIT_DESC="base only"
49642 ;;
49643 esac
49644
49645 if test "$wxUSE_WINE" = "yes"; then
49646 BAKEFILE_FORCE_PLATFORM=win32
49647 fi
49648
49649 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49650 then
49651 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49652 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49653 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49654 echo $ECHO_N "(cached) $ECHO_C" >&6
49655 else
49656
49657 echo '#include <stdio.h>
49658 const wchar_t test_var[] = L"awidetest";' > conftest.h
49659
49660 echo '#include "conftest.h"
49661 int main()
49662 {
49663 printf("%ls", test_var);
49664 return 0;
49665 }' > conftest.cpp
49666
49667 wx_cv_gcc_pch_bug="pch not supported"
49668
49669 if $CXX conftest.h >/dev/null 2>&1
49670 then
49671 wx_cv_gcc_pch_bug=
49672
49673 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49674 then
49675 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49676 grep awidetest >/dev/null
49677 then
49678 wx_cv_gcc_pch_bug=no
49679 else
49680 wx_cv_gcc_pch_bug=yes
49681 fi
49682 fi
49683 fi
49684
49685 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49686
49687 fi
49688 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49689 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49690
49691 if test "$wx_cv_gcc_pch_bug" = yes; then
49692 bk_use_pch=no
49693 fi
49694 fi
49695
49696
49697
49698
49699 if test "x$BAKEFILE_HOST" = "x"; then
49700 if test "x${host}" = "x" ; then
49701 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49702 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49703 { (exit 1); exit 1; }; }
49704 fi
49705
49706 BAKEFILE_HOST="${host}"
49707 fi
49708
49709 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49710
49711 if test -n "$ac_tool_prefix"; then
49712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49713 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49716 if test "${ac_cv_prog_RANLIB+set}" = set; then
49717 echo $ECHO_N "(cached) $ECHO_C" >&6
49718 else
49719 if test -n "$RANLIB"; then
49720 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49721 else
49722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49723 for as_dir in $PATH
49724 do
49725 IFS=$as_save_IFS
49726 test -z "$as_dir" && as_dir=.
49727 for ac_exec_ext in '' $ac_executable_extensions; do
49728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49729 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49731 break 2
49732 fi
49733 done
49734 done
49735 IFS=$as_save_IFS
49736
49737 fi
49738 fi
49739 RANLIB=$ac_cv_prog_RANLIB
49740 if test -n "$RANLIB"; then
49741 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49742 echo "${ECHO_T}$RANLIB" >&6; }
49743 else
49744 { echo "$as_me:$LINENO: result: no" >&5
49745 echo "${ECHO_T}no" >&6; }
49746 fi
49747
49748
49749 fi
49750 if test -z "$ac_cv_prog_RANLIB"; then
49751 ac_ct_RANLIB=$RANLIB
49752 # Extract the first word of "ranlib", so it can be a program name with args.
49753 set dummy ranlib; ac_word=$2
49754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49756 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49757 echo $ECHO_N "(cached) $ECHO_C" >&6
49758 else
49759 if test -n "$ac_ct_RANLIB"; then
49760 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49761 else
49762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49763 for as_dir in $PATH
49764 do
49765 IFS=$as_save_IFS
49766 test -z "$as_dir" && as_dir=.
49767 for ac_exec_ext in '' $ac_executable_extensions; do
49768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49769 ac_cv_prog_ac_ct_RANLIB="ranlib"
49770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49771 break 2
49772 fi
49773 done
49774 done
49775 IFS=$as_save_IFS
49776
49777 fi
49778 fi
49779 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49780 if test -n "$ac_ct_RANLIB"; then
49781 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49782 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49783 else
49784 { echo "$as_me:$LINENO: result: no" >&5
49785 echo "${ECHO_T}no" >&6; }
49786 fi
49787
49788 if test "x$ac_ct_RANLIB" = x; then
49789 RANLIB=":"
49790 else
49791 case $cross_compiling:$ac_tool_warned in
49792 yes:)
49793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49794 whose name does not start with the host triplet. If you think this
49795 configuration is useful to you, please write to autoconf@gnu.org." >&5
49796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49797 whose name does not start with the host triplet. If you think this
49798 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49799 ac_tool_warned=yes ;;
49800 esac
49801 RANLIB=$ac_ct_RANLIB
49802 fi
49803 else
49804 RANLIB="$ac_cv_prog_RANLIB"
49805 fi
49806
49807 # Find a good install program. We prefer a C program (faster),
49808 # so one script is as good as another. But avoid the broken or
49809 # incompatible versions:
49810 # SysV /etc/install, /usr/sbin/install
49811 # SunOS /usr/etc/install
49812 # IRIX /sbin/install
49813 # AIX /bin/install
49814 # AmigaOS /C/install, which installs bootblocks on floppy discs
49815 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49816 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49817 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49818 # OS/2's system install, which has a completely different semantic
49819 # ./install, which can be erroneously created by make from ./install.sh.
49820 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49821 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49822 if test -z "$INSTALL"; then
49823 if test "${ac_cv_path_install+set}" = set; then
49824 echo $ECHO_N "(cached) $ECHO_C" >&6
49825 else
49826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49827 for as_dir in $PATH
49828 do
49829 IFS=$as_save_IFS
49830 test -z "$as_dir" && as_dir=.
49831 # Account for people who put trailing slashes in PATH elements.
49832 case $as_dir/ in
49833 ./ | .// | /cC/* | \
49834 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49835 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49836 /usr/ucb/* ) ;;
49837 *)
49838 # OSF1 and SCO ODT 3.0 have their own names for install.
49839 # Don't use installbsd from OSF since it installs stuff as root
49840 # by default.
49841 for ac_prog in ginstall scoinst install; do
49842 for ac_exec_ext in '' $ac_executable_extensions; do
49843 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49844 if test $ac_prog = install &&
49845 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49846 # AIX install. It has an incompatible calling convention.
49847 :
49848 elif test $ac_prog = install &&
49849 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49850 # program-specific install script used by HP pwplus--don't use.
49851 :
49852 else
49853 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49854 break 3
49855 fi
49856 fi
49857 done
49858 done
49859 ;;
49860 esac
49861 done
49862 IFS=$as_save_IFS
49863
49864
49865 fi
49866 if test "${ac_cv_path_install+set}" = set; then
49867 INSTALL=$ac_cv_path_install
49868 else
49869 # As a last resort, use the slow shell script. Don't cache a
49870 # value for INSTALL within a source directory, because that will
49871 # break other packages using the cache if that directory is
49872 # removed, or if the value is a relative name.
49873 INSTALL=$ac_install_sh
49874 fi
49875 fi
49876 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49877 echo "${ECHO_T}$INSTALL" >&6; }
49878
49879 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49880 # It thinks the first close brace ends the variable substitution.
49881 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49882
49883 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49884
49885 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49886
49887 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49888 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49889 LN_S=$as_ln_s
49890 if test "$LN_S" = "ln -s"; then
49891 { echo "$as_me:$LINENO: result: yes" >&5
49892 echo "${ECHO_T}yes" >&6; }
49893 else
49894 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49895 echo "${ECHO_T}no, using $LN_S" >&6; }
49896 fi
49897
49898
49899 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49900 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49901 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49902 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49903 echo $ECHO_N "(cached) $ECHO_C" >&6
49904 else
49905 cat >conftest.make <<\_ACEOF
49906 SHELL = /bin/sh
49907 all:
49908 @echo '@@@%%%=$(MAKE)=@@@%%%'
49909 _ACEOF
49910 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49911 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49912 *@@@%%%=?*=@@@%%%*)
49913 eval ac_cv_prog_make_${ac_make}_set=yes;;
49914 *)
49915 eval ac_cv_prog_make_${ac_make}_set=no;;
49916 esac
49917 rm -f conftest.make
49918 fi
49919 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49920 { echo "$as_me:$LINENO: result: yes" >&5
49921 echo "${ECHO_T}yes" >&6; }
49922 SET_MAKE=
49923 else
49924 { echo "$as_me:$LINENO: result: no" >&5
49925 echo "${ECHO_T}no" >&6; }
49926 SET_MAKE="MAKE=${MAKE-make}"
49927 fi
49928
49929
49930
49931 if test "x$SUNCXX" = "xyes"; then
49932 AR=$CXX
49933 AROPTIONS="-xar -o"
49934
49935 elif test "x$SGICC" = "xyes"; then
49936 AR=$CXX
49937 AROPTIONS="-ar -o"
49938
49939 else
49940 if test -n "$ac_tool_prefix"; then
49941 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49942 set dummy ${ac_tool_prefix}ar; ac_word=$2
49943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49945 if test "${ac_cv_prog_AR+set}" = set; then
49946 echo $ECHO_N "(cached) $ECHO_C" >&6
49947 else
49948 if test -n "$AR"; then
49949 ac_cv_prog_AR="$AR" # Let the user override the test.
49950 else
49951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49952 for as_dir in $PATH
49953 do
49954 IFS=$as_save_IFS
49955 test -z "$as_dir" && as_dir=.
49956 for ac_exec_ext in '' $ac_executable_extensions; do
49957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49958 ac_cv_prog_AR="${ac_tool_prefix}ar"
49959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49960 break 2
49961 fi
49962 done
49963 done
49964 IFS=$as_save_IFS
49965
49966 fi
49967 fi
49968 AR=$ac_cv_prog_AR
49969 if test -n "$AR"; then
49970 { echo "$as_me:$LINENO: result: $AR" >&5
49971 echo "${ECHO_T}$AR" >&6; }
49972 else
49973 { echo "$as_me:$LINENO: result: no" >&5
49974 echo "${ECHO_T}no" >&6; }
49975 fi
49976
49977
49978 fi
49979 if test -z "$ac_cv_prog_AR"; then
49980 ac_ct_AR=$AR
49981 # Extract the first word of "ar", so it can be a program name with args.
49982 set dummy ar; ac_word=$2
49983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49985 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49986 echo $ECHO_N "(cached) $ECHO_C" >&6
49987 else
49988 if test -n "$ac_ct_AR"; then
49989 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49990 else
49991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49992 for as_dir in $PATH
49993 do
49994 IFS=$as_save_IFS
49995 test -z "$as_dir" && as_dir=.
49996 for ac_exec_ext in '' $ac_executable_extensions; do
49997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49998 ac_cv_prog_ac_ct_AR="ar"
49999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50000 break 2
50001 fi
50002 done
50003 done
50004 IFS=$as_save_IFS
50005
50006 fi
50007 fi
50008 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50009 if test -n "$ac_ct_AR"; then
50010 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50011 echo "${ECHO_T}$ac_ct_AR" >&6; }
50012 else
50013 { echo "$as_me:$LINENO: result: no" >&5
50014 echo "${ECHO_T}no" >&6; }
50015 fi
50016
50017 if test "x$ac_ct_AR" = x; then
50018 AR="ar"
50019 else
50020 case $cross_compiling:$ac_tool_warned in
50021 yes:)
50022 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50023 whose name does not start with the host triplet. If you think this
50024 configuration is useful to you, please write to autoconf@gnu.org." >&5
50025 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50026 whose name does not start with the host triplet. If you think this
50027 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50028 ac_tool_warned=yes ;;
50029 esac
50030 AR=$ac_ct_AR
50031 fi
50032 else
50033 AR="$ac_cv_prog_AR"
50034 fi
50035
50036 AROPTIONS=rcu
50037 fi
50038
50039
50040 if test -n "$ac_tool_prefix"; then
50041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50042 set dummy ${ac_tool_prefix}strip; ac_word=$2
50043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50045 if test "${ac_cv_prog_STRIP+set}" = set; then
50046 echo $ECHO_N "(cached) $ECHO_C" >&6
50047 else
50048 if test -n "$STRIP"; then
50049 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50050 else
50051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50052 for as_dir in $PATH
50053 do
50054 IFS=$as_save_IFS
50055 test -z "$as_dir" && as_dir=.
50056 for ac_exec_ext in '' $ac_executable_extensions; do
50057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50058 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50060 break 2
50061 fi
50062 done
50063 done
50064 IFS=$as_save_IFS
50065
50066 fi
50067 fi
50068 STRIP=$ac_cv_prog_STRIP
50069 if test -n "$STRIP"; then
50070 { echo "$as_me:$LINENO: result: $STRIP" >&5
50071 echo "${ECHO_T}$STRIP" >&6; }
50072 else
50073 { echo "$as_me:$LINENO: result: no" >&5
50074 echo "${ECHO_T}no" >&6; }
50075 fi
50076
50077
50078 fi
50079 if test -z "$ac_cv_prog_STRIP"; then
50080 ac_ct_STRIP=$STRIP
50081 # Extract the first word of "strip", so it can be a program name with args.
50082 set dummy strip; ac_word=$2
50083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50085 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50086 echo $ECHO_N "(cached) $ECHO_C" >&6
50087 else
50088 if test -n "$ac_ct_STRIP"; then
50089 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50090 else
50091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50092 for as_dir in $PATH
50093 do
50094 IFS=$as_save_IFS
50095 test -z "$as_dir" && as_dir=.
50096 for ac_exec_ext in '' $ac_executable_extensions; do
50097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50098 ac_cv_prog_ac_ct_STRIP="strip"
50099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50100 break 2
50101 fi
50102 done
50103 done
50104 IFS=$as_save_IFS
50105
50106 fi
50107 fi
50108 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50109 if test -n "$ac_ct_STRIP"; then
50110 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50111 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50112 else
50113 { echo "$as_me:$LINENO: result: no" >&5
50114 echo "${ECHO_T}no" >&6; }
50115 fi
50116
50117 if test "x$ac_ct_STRIP" = x; then
50118 STRIP=":"
50119 else
50120 case $cross_compiling:$ac_tool_warned in
50121 yes:)
50122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50123 whose name does not start with the host triplet. If you think this
50124 configuration is useful to you, please write to autoconf@gnu.org." >&5
50125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50126 whose name does not start with the host triplet. If you think this
50127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50128 ac_tool_warned=yes ;;
50129 esac
50130 STRIP=$ac_ct_STRIP
50131 fi
50132 else
50133 STRIP="$ac_cv_prog_STRIP"
50134 fi
50135
50136 if test -n "$ac_tool_prefix"; then
50137 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50138 set dummy ${ac_tool_prefix}nm; ac_word=$2
50139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50141 if test "${ac_cv_prog_NM+set}" = set; then
50142 echo $ECHO_N "(cached) $ECHO_C" >&6
50143 else
50144 if test -n "$NM"; then
50145 ac_cv_prog_NM="$NM" # Let the user override the test.
50146 else
50147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50148 for as_dir in $PATH
50149 do
50150 IFS=$as_save_IFS
50151 test -z "$as_dir" && as_dir=.
50152 for ac_exec_ext in '' $ac_executable_extensions; do
50153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50154 ac_cv_prog_NM="${ac_tool_prefix}nm"
50155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50156 break 2
50157 fi
50158 done
50159 done
50160 IFS=$as_save_IFS
50161
50162 fi
50163 fi
50164 NM=$ac_cv_prog_NM
50165 if test -n "$NM"; then
50166 { echo "$as_me:$LINENO: result: $NM" >&5
50167 echo "${ECHO_T}$NM" >&6; }
50168 else
50169 { echo "$as_me:$LINENO: result: no" >&5
50170 echo "${ECHO_T}no" >&6; }
50171 fi
50172
50173
50174 fi
50175 if test -z "$ac_cv_prog_NM"; then
50176 ac_ct_NM=$NM
50177 # Extract the first word of "nm", so it can be a program name with args.
50178 set dummy nm; ac_word=$2
50179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50181 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50182 echo $ECHO_N "(cached) $ECHO_C" >&6
50183 else
50184 if test -n "$ac_ct_NM"; then
50185 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50186 else
50187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50188 for as_dir in $PATH
50189 do
50190 IFS=$as_save_IFS
50191 test -z "$as_dir" && as_dir=.
50192 for ac_exec_ext in '' $ac_executable_extensions; do
50193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50194 ac_cv_prog_ac_ct_NM="nm"
50195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50196 break 2
50197 fi
50198 done
50199 done
50200 IFS=$as_save_IFS
50201
50202 fi
50203 fi
50204 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50205 if test -n "$ac_ct_NM"; then
50206 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50207 echo "${ECHO_T}$ac_ct_NM" >&6; }
50208 else
50209 { echo "$as_me:$LINENO: result: no" >&5
50210 echo "${ECHO_T}no" >&6; }
50211 fi
50212
50213 if test "x$ac_ct_NM" = x; then
50214 NM=":"
50215 else
50216 case $cross_compiling:$ac_tool_warned in
50217 yes:)
50218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50219 whose name does not start with the host triplet. If you think this
50220 configuration is useful to you, please write to autoconf@gnu.org." >&5
50221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50222 whose name does not start with the host triplet. If you think this
50223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50224 ac_tool_warned=yes ;;
50225 esac
50226 NM=$ac_ct_NM
50227 fi
50228 else
50229 NM="$ac_cv_prog_NM"
50230 fi
50231
50232
50233 case ${BAKEFILE_HOST} in
50234 *-hp-hpux* )
50235 INSTALL_DIR="mkdir -p"
50236 ;;
50237 * )
50238 INSTALL_DIR='$(INSTALL) -d'
50239 ;;
50240 esac
50241
50242
50243 LDFLAGS_GUI=
50244 case ${BAKEFILE_HOST} in
50245 *-*-cygwin* | *-*-mingw32* )
50246 LDFLAGS_GUI="-mwindows"
50247 esac
50248
50249
50250 fi
50251
50252 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50253 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50254 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50255 echo $ECHO_N "(cached) $ECHO_C" >&6
50256 else
50257
50258 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50259 egrep -s GNU > /dev/null); then
50260 bakefile_cv_prog_makeisgnu="yes"
50261 else
50262 bakefile_cv_prog_makeisgnu="no"
50263 fi
50264
50265 fi
50266 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50267 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50268
50269 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50270 IF_GNU_MAKE=""
50271 else
50272 IF_GNU_MAKE="#"
50273 fi
50274
50275
50276
50277 PLATFORM_UNIX=0
50278 PLATFORM_WIN32=0
50279 PLATFORM_MSDOS=0
50280 PLATFORM_MAC=0
50281 PLATFORM_MACOS=0
50282 PLATFORM_MACOSX=0
50283 PLATFORM_OS2=0
50284 PLATFORM_BEOS=0
50285
50286 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50287 case "${BAKEFILE_HOST}" in
50288 *-*-mingw32* )
50289 PLATFORM_WIN32=1
50290 ;;
50291 *-pc-msdosdjgpp )
50292 PLATFORM_MSDOS=1
50293 ;;
50294 *-pc-os2_emx | *-pc-os2-emx )
50295 PLATFORM_OS2=1
50296 ;;
50297 *-*-darwin* )
50298 PLATFORM_MAC=1
50299 PLATFORM_MACOSX=1
50300 ;;
50301 *-*-beos* )
50302 PLATFORM_BEOS=1
50303 ;;
50304 powerpc-apple-macos* )
50305 PLATFORM_MAC=1
50306 PLATFORM_MACOS=1
50307 ;;
50308 * )
50309 PLATFORM_UNIX=1
50310 ;;
50311 esac
50312 else
50313 case "$BAKEFILE_FORCE_PLATFORM" in
50314 win32 )
50315 PLATFORM_WIN32=1
50316 ;;
50317 msdos )
50318 PLATFORM_MSDOS=1
50319 ;;
50320 os2 )
50321 PLATFORM_OS2=1
50322 ;;
50323 darwin )
50324 PLATFORM_MAC=1
50325 PLATFORM_MACOSX=1
50326 ;;
50327 unix )
50328 PLATFORM_UNIX=1
50329 ;;
50330 beos )
50331 PLATFORM_BEOS=1
50332 ;;
50333 * )
50334 ;;
50335 esac
50336 fi
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348 # Check whether --enable-omf was given.
50349 if test "${enable_omf+set}" = set; then
50350 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50351 fi
50352
50353
50354 case "${BAKEFILE_HOST}" in
50355 *-*-darwin* )
50356 if test "x$GCC" = "xyes"; then
50357 CFLAGS="$CFLAGS -fno-common"
50358 CXXFLAGS="$CXXFLAGS -fno-common"
50359 fi
50360 if test "x$XLCC" = "xyes"; then
50361 CFLAGS="$CFLAGS -qnocommon"
50362 CXXFLAGS="$CXXFLAGS -qnocommon"
50363 fi
50364 ;;
50365
50366 *-pc-os2_emx | *-pc-os2-emx )
50367 if test "x$bk_os2_use_omf" = "xyes" ; then
50368 AR=emxomfar
50369 RANLIB=:
50370 LDFLAGS="-Zomf $LDFLAGS"
50371 CFLAGS="-Zomf $CFLAGS"
50372 CXXFLAGS="-Zomf $CXXFLAGS"
50373 OS2_LIBEXT="lib"
50374 else
50375 OS2_LIBEXT="a"
50376 fi
50377 ;;
50378
50379 i*86-*-beos* )
50380 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50381 ;;
50382 esac
50383
50384
50385 SO_SUFFIX="so"
50386 SO_SUFFIX_MODULE="so"
50387 EXEEXT=""
50388 LIBPREFIX="lib"
50389 LIBEXT=".a"
50390 DLLPREFIX="lib"
50391 DLLPREFIX_MODULE=""
50392 DLLIMP_SUFFIX=""
50393 dlldir="$libdir"
50394
50395 case "${BAKEFILE_HOST}" in
50396 *-hp-hpux* )
50397 SO_SUFFIX="sl"
50398 SO_SUFFIX_MODULE="sl"
50399 ;;
50400 *-*-aix* )
50401 SO_SUFFIX="a"
50402 SO_SUFFIX_MODULE="a"
50403 ;;
50404 *-*-cygwin* )
50405 SO_SUFFIX="dll"
50406 SO_SUFFIX_MODULE="dll"
50407 DLLIMP_SUFFIX="dll.a"
50408 EXEEXT=".exe"
50409 DLLPREFIX="cyg"
50410 dlldir="$bindir"
50411 ;;
50412 *-*-mingw32* )
50413 SO_SUFFIX="dll"
50414 SO_SUFFIX_MODULE="dll"
50415 DLLIMP_SUFFIX="dll.a"
50416 EXEEXT=".exe"
50417 DLLPREFIX=""
50418 dlldir="$bindir"
50419 ;;
50420 *-pc-msdosdjgpp )
50421 EXEEXT=".exe"
50422 DLLPREFIX=""
50423 dlldir="$bindir"
50424 ;;
50425 *-pc-os2_emx | *-pc-os2-emx )
50426 SO_SUFFIX="dll"
50427 SO_SUFFIX_MODULE="dll"
50428 DLLIMP_SUFFIX=$OS2_LIBEXT
50429 EXEEXT=".exe"
50430 DLLPREFIX=""
50431 LIBPREFIX=""
50432 LIBEXT=".$OS2_LIBEXT"
50433 dlldir="$bindir"
50434 ;;
50435 *-*-darwin* )
50436 SO_SUFFIX="dylib"
50437 SO_SUFFIX_MODULE="bundle"
50438 ;;
50439 esac
50440
50441 if test "x$DLLIMP_SUFFIX" = "x" ; then
50442 DLLIMP_SUFFIX="$SO_SUFFIX"
50443 fi
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456 PIC_FLAG=""
50457 if test "x$GCC" = "xyes"; then
50458 PIC_FLAG="-fPIC"
50459 fi
50460
50461 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50462 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50463 WINDOWS_IMPLIB=0
50464
50465 case "${BAKEFILE_HOST}" in
50466 *-hp-hpux* )
50467 if test "x$GCC" != "xyes"; then
50468 LDFLAGS="$LDFLAGS -L/usr/lib"
50469
50470 SHARED_LD_CC="${CC} -b -o"
50471 SHARED_LD_CXX="${CXX} -b -o"
50472 PIC_FLAG="+Z"
50473 fi
50474 ;;
50475
50476 *-*-linux* )
50477 if test "$INTELCC" = "yes"; then
50478 PIC_FLAG="-KPIC"
50479 elif test "x$SUNCXX" = "xyes"; then
50480 SHARED_LD_CC="${CC} -G -o"
50481 SHARED_LD_CXX="${CXX} -G -o"
50482 PIC_FLAG="-KPIC"
50483 fi
50484 ;;
50485
50486 *-*-solaris2* )
50487 if test "x$SUNCXX" = xyes ; then
50488 SHARED_LD_CC="${CC} -G -o"
50489 SHARED_LD_CXX="${CXX} -G -o"
50490 PIC_FLAG="-KPIC"
50491 fi
50492 ;;
50493
50494 *-*-darwin* )
50495
50496 D='$'
50497 cat <<EOF >shared-ld-sh
50498 #!/bin/sh
50499 #-----------------------------------------------------------------------------
50500 #-- Name: distrib/mac/shared-ld-sh
50501 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50502 #-- Author: Gilles Depeyrot
50503 #-- Copyright: (c) 2002 Gilles Depeyrot
50504 #-- Licence: any use permitted
50505 #-----------------------------------------------------------------------------
50506
50507 verbose=0
50508 args=""
50509 objects=""
50510 linking_flag="-dynamiclib"
50511 ldargs="-r -keep_private_externs -nostdlib"
50512
50513 while test ${D}# -gt 0; do
50514 case ${D}1 in
50515
50516 -v)
50517 verbose=1
50518 ;;
50519
50520 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50521 # collect these options and values
50522 args="${D}{args} ${D}1 ${D}2"
50523 shift
50524 ;;
50525
50526 -s|-Wl,*)
50527 # collect these load args
50528 ldargs="${D}{ldargs} ${D}1"
50529 ;;
50530
50531 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50532 # collect these options
50533 args="${D}{args} ${D}1"
50534 ;;
50535
50536 -dynamiclib|-bundle)
50537 linking_flag="${D}1"
50538 ;;
50539
50540 -*)
50541 echo "shared-ld: unhandled option '${D}1'"
50542 exit 1
50543 ;;
50544
50545 *.o | *.a | *.dylib)
50546 # collect object files
50547 objects="${D}{objects} ${D}1"
50548 ;;
50549
50550 *)
50551 echo "shared-ld: unhandled argument '${D}1'"
50552 exit 1
50553 ;;
50554
50555 esac
50556 shift
50557 done
50558
50559 status=0
50560
50561 #
50562 # Link one module containing all the others
50563 #
50564 if test ${D}{verbose} = 1; then
50565 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50566 fi
50567 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50568 status=${D}?
50569
50570 #
50571 # Link the shared library from the single module created, but only if the
50572 # previous command didn't fail:
50573 #
50574 if test ${D}{status} = 0; then
50575 if test ${D}{verbose} = 1; then
50576 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50577 fi
50578 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50579 status=${D}?
50580 fi
50581
50582 #
50583 # Remove intermediate module
50584 #
50585 rm -f master.${D}${D}.o
50586
50587 exit ${D}status
50588 EOF
50589
50590 chmod +x shared-ld-sh
50591
50592 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50593 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50594
50595
50596 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50597 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50598 if test "${bakefile_cv_gcc31+set}" = set; then
50599 echo $ECHO_N "(cached) $ECHO_C" >&6
50600 else
50601
50602 cat >conftest.$ac_ext <<_ACEOF
50603 /* confdefs.h. */
50604 _ACEOF
50605 cat confdefs.h >>conftest.$ac_ext
50606 cat >>conftest.$ac_ext <<_ACEOF
50607 /* end confdefs.h. */
50608
50609 int
50610 main ()
50611 {
50612
50613 #if (__GNUC__ < 3) || \
50614 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50615 This is old gcc
50616 #endif
50617
50618 ;
50619 return 0;
50620 }
50621 _ACEOF
50622 rm -f conftest.$ac_objext
50623 if { (ac_try="$ac_compile"
50624 case "(($ac_try" in
50625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50626 *) ac_try_echo=$ac_try;;
50627 esac
50628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50629 (eval "$ac_compile") 2>conftest.er1
50630 ac_status=$?
50631 grep -v '^ *+' conftest.er1 >conftest.err
50632 rm -f conftest.er1
50633 cat conftest.err >&5
50634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50635 (exit $ac_status); } && {
50636 test -z "$ac_c_werror_flag" ||
50637 test ! -s conftest.err
50638 } && test -s conftest.$ac_objext; then
50639
50640 bakefile_cv_gcc31=yes
50641
50642 else
50643 echo "$as_me: failed program was:" >&5
50644 sed 's/^/| /' conftest.$ac_ext >&5
50645
50646
50647 bakefile_cv_gcc31=no
50648
50649
50650 fi
50651
50652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50653
50654 fi
50655 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50656 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50657 if test "$bakefile_cv_gcc31" = "no"; then
50658 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50659 SHARED_LD_CXX="$SHARED_LD_CC"
50660 else
50661 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50662 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50663 fi
50664
50665 if test "x$GCC" == "xyes"; then
50666 PIC_FLAG="-dynamic -fPIC"
50667 fi
50668 if test "x$XLCC" = "xyes"; then
50669 PIC_FLAG="-dynamic -DPIC"
50670 fi
50671 ;;
50672
50673 *-*-aix* )
50674 if test "x$GCC" = "xyes"; then
50675 PIC_FLAG=""
50676
50677 case "${BAKEFILE_HOST}" in
50678 *-*-aix5* )
50679 LD_EXPFULL="-Wl,-bexpfull"
50680 ;;
50681 esac
50682
50683 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50684 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50685 else
50686 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50687 set dummy makeC++SharedLib; ac_word=$2
50688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50690 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50691 echo $ECHO_N "(cached) $ECHO_C" >&6
50692 else
50693 if test -n "$AIX_CXX_LD"; then
50694 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50695 else
50696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50697 for as_dir in $PATH
50698 do
50699 IFS=$as_save_IFS
50700 test -z "$as_dir" && as_dir=.
50701 for ac_exec_ext in '' $ac_executable_extensions; do
50702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50703 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50705 break 2
50706 fi
50707 done
50708 done
50709 IFS=$as_save_IFS
50710
50711 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50712 fi
50713 fi
50714 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50715 if test -n "$AIX_CXX_LD"; then
50716 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50717 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50718 else
50719 { echo "$as_me:$LINENO: result: no" >&5
50720 echo "${ECHO_T}no" >&6; }
50721 fi
50722
50723
50724 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50725 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50726 fi
50727 ;;
50728
50729 *-*-beos* )
50730 SHARED_LD_CC="${LD} -nostart -o"
50731 SHARED_LD_CXX="${LD} -nostart -o"
50732 ;;
50733
50734 *-*-irix* )
50735 if test "x$GCC" != "xyes"; then
50736 PIC_FLAG="-KPIC"
50737 fi
50738 ;;
50739
50740 *-*-cygwin* | *-*-mingw32* )
50741 PIC_FLAG=""
50742 SHARED_LD_CC="\$(CC) -shared -o"
50743 SHARED_LD_CXX="\$(CXX) -shared -o"
50744 WINDOWS_IMPLIB=1
50745 ;;
50746
50747 *-pc-os2_emx | *-pc-os2-emx )
50748 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50749 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50750 PIC_FLAG=""
50751
50752 D='$'
50753 cat <<EOF >dllar.sh
50754 #!/bin/sh
50755 #
50756 # dllar - a tool to build both a .dll and an .a file
50757 # from a set of object (.o) files for EMX/OS2.
50758 #
50759 # Written by Andrew Zabolotny, bit@freya.etu.ru
50760 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50761 #
50762 # This script will accept a set of files on the command line.
50763 # All the public symbols from the .o files will be exported into
50764 # a .DEF file, then linker will be run (through gcc) against them to
50765 # build a shared library consisting of all given .o files. All libraries
50766 # (.a) will be first decompressed into component .o files then act as
50767 # described above. You can optionally give a description (-d "description")
50768 # which will be put into .DLL. To see the list of accepted options (as well
50769 # as command-line format) simply run this program without options. The .DLL
50770 # is built to be imported by name (there is no guarantee that new versions
50771 # of the library you build will have same ordinals for same symbols).
50772 #
50773 # dllar is free software; you can redistribute it and/or modify
50774 # it under the terms of the GNU General Public License as published by
50775 # the Free Software Foundation; either version 2, or (at your option)
50776 # any later version.
50777 #
50778 # dllar is distributed in the hope that it will be useful,
50779 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50780 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50781 # GNU General Public License for more details.
50782 #
50783 # You should have received a copy of the GNU General Public License
50784 # along with dllar; see the file COPYING. If not, write to the Free
50785 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50786 # 02111-1307, USA.
50787
50788 # To successfuly run this program you will need:
50789 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50790 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50791 # - gcc
50792 # (used to build the .dll)
50793 # - emxexp
50794 # (used to create .def file from .o files)
50795 # - emximp
50796 # (used to create .a file from .def file)
50797 # - GNU text utilites (cat, sort, uniq)
50798 # used to process emxexp output
50799 # - GNU file utilities (mv, rm)
50800 # - GNU sed
50801 # - lxlite (optional, see flag below)
50802 # (used for general .dll cleanup)
50803 #
50804
50805 flag_USE_LXLITE=1;
50806
50807 #
50808 # helper functions
50809 # basnam, variant of basename, which does _not_ remove the path, _iff_
50810 # second argument (suffix to remove) is given
50811 basnam(){
50812 case ${D}# in
50813 1)
50814 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50815 ;;
50816 2)
50817 echo ${D}1 | sed 's/'${D}2'${D}//'
50818 ;;
50819 *)
50820 echo "error in basnam ${D}*"
50821 exit 8
50822 ;;
50823 esac
50824 }
50825
50826 # Cleanup temporary files and output
50827 CleanUp() {
50828 cd ${D}curDir
50829 for i in ${D}inputFiles ; do
50830 case ${D}i in
50831 *!)
50832 rm -rf \`basnam ${D}i !\`
50833 ;;
50834 *)
50835 ;;
50836 esac
50837 done
50838
50839 # Kill result in case of failure as there is just to many stupid make/nmake
50840 # things out there which doesn't do this.
50841 if [ ${D}# -eq 0 ]; then
50842 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50843 fi
50844 }
50845
50846 # Print usage and exit script with rc=1.
50847 PrintHelp() {
50848 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50849 echo ' [-name-mangler-script script.sh]'
50850 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50851 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50852 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50853 echo ' [*.o] [*.a]'
50854 echo '*> "output_file" should have no extension.'
50855 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50856 echo ' The import library name is derived from this and is set to "name".a,'
50857 echo ' unless overridden by -import'
50858 echo '*> "importlib_name" should have no extension.'
50859 echo ' If it has the .o, or .a extension, it is automatically removed.'
50860 echo ' This name is used as the import library name and may be longer and'
50861 echo ' more descriptive than the DLL name which has to follow the old '
50862 echo ' 8.3 convention of FAT.'
50863 echo '*> "script.sh may be given to override the output_file name by a'
50864 echo ' different name. It is mainly useful if the regular make process'
50865 echo ' of some package does not take into account OS/2 restriction of'
50866 echo ' DLL name lengths. It takes the importlib name as input and is'
50867 echo ' supposed to procude a shorter name as output. The script should'
50868 echo ' expect to get importlib_name without extension and should produce'
50869 echo ' a (max.) 8 letter name without extension.'
50870 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50871 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50872 echo ' These flags will be put at the start of GCC command line.'
50873 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50874 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50875 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50876 echo ' If the last character of a symbol is "*", all symbols beginning'
50877 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50878 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50879 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50880 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50881 echo ' C runtime DLLs.'
50882 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50883 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50884 echo ' unchanged to GCC at the end of command line.'
50885 echo '*> If you create a DLL from a library and you do not specify -o,'
50886 echo ' the basename for DLL and import library will be set to library name,'
50887 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50888 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50889 echo ' library will be renamed into gcc_s.a.'
50890 echo '--------'
50891 echo 'Example:'
50892 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50893 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50894 CleanUp
50895 exit 1
50896 }
50897
50898 # Execute a command.
50899 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50900 # @Uses Whatever CleanUp() uses.
50901 doCommand() {
50902 echo "${D}*"
50903 eval ${D}*
50904 rcCmd=${D}?
50905
50906 if [ ${D}rcCmd -ne 0 ]; then
50907 echo "command failed, exit code="${D}rcCmd
50908 CleanUp
50909 exit ${D}rcCmd
50910 fi
50911 }
50912
50913 # main routine
50914 # setup globals
50915 cmdLine=${D}*
50916 outFile=""
50917 outimpFile=""
50918 inputFiles=""
50919 renameScript=""
50920 description=""
50921 CC=gcc.exe
50922 CFLAGS="-s -Zcrtdll"
50923 EXTRA_CFLAGS=""
50924 EXPORT_BY_ORDINALS=0
50925 exclude_symbols=""
50926 library_flags=""
50927 curDir=\`pwd\`
50928 curDirS=curDir
50929 case ${D}curDirS in
50930 */)
50931 ;;
50932 *)
50933 curDirS=${D}{curDirS}"/"
50934 ;;
50935 esac
50936 # Parse commandline
50937 libsToLink=0
50938 omfLinking=0
50939 while [ ${D}1 ]; do
50940 case ${D}1 in
50941 -ord*)
50942 EXPORT_BY_ORDINALS=1;
50943 ;;
50944 -o*)
50945 shift
50946 outFile=${D}1
50947 ;;
50948 -i*)
50949 shift
50950 outimpFile=${D}1
50951 ;;
50952 -name-mangler-script)
50953 shift
50954 renameScript=${D}1
50955 ;;
50956 -d*)
50957 shift
50958 description=${D}1
50959 ;;
50960 -f*)
50961 shift
50962 CFLAGS=${D}1
50963 ;;
50964 -c*)
50965 shift
50966 CC=${D}1
50967 ;;
50968 -h*)
50969 PrintHelp
50970 ;;
50971 -ex*)
50972 shift
50973 exclude_symbols=${D}{exclude_symbols}${D}1" "
50974 ;;
50975 -libf*)
50976 shift
50977 library_flags=${D}{library_flags}${D}1" "
50978 ;;
50979 -nocrt*)
50980 CFLAGS="-s"
50981 ;;
50982 -nolxl*)
50983 flag_USE_LXLITE=0
50984 ;;
50985 -* | /*)
50986 case ${D}1 in
50987 -L* | -l*)
50988 libsToLink=1
50989 ;;
50990 -Zomf)
50991 omfLinking=1
50992 ;;
50993 *)
50994 ;;
50995 esac
50996 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50997 ;;
50998 *.dll)
50999 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51000 if [ ${D}omfLinking -eq 1 ]; then
51001 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51002 else
51003 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51004 fi
51005 ;;
51006 *)
51007 found=0;
51008 if [ ${D}libsToLink -ne 0 ]; then
51009 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51010 else
51011 for file in ${D}1 ; do
51012 if [ -f ${D}file ]; then
51013 inputFiles="${D}{inputFiles} ${D}file"
51014 found=1
51015 fi
51016 done
51017 if [ ${D}found -eq 0 ]; then
51018 echo "ERROR: No file(s) found: "${D}1
51019 exit 8
51020 fi
51021 fi
51022 ;;
51023 esac
51024 shift
51025 done # iterate cmdline words
51026
51027 #
51028 if [ -z "${D}inputFiles" ]; then
51029 echo "dllar: no input files"
51030 PrintHelp
51031 fi
51032
51033 # Now extract all .o files from .a files
51034 newInputFiles=""
51035 for file in ${D}inputFiles ; do
51036 case ${D}file in
51037 *.a | *.lib)
51038 case ${D}file in
51039 *.a)
51040 suffix=".a"
51041 AR="ar"
51042 ;;
51043 *.lib)
51044 suffix=".lib"
51045 AR="emxomfar"
51046 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51047 ;;
51048 *)
51049 ;;
51050 esac
51051 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51052 mkdir ${D}dirname
51053 if [ ${D}? -ne 0 ]; then
51054 echo "Failed to create subdirectory ./${D}dirname"
51055 CleanUp
51056 exit 8;
51057 fi
51058 # Append '!' to indicate archive
51059 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51060 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51061 cd ${D}curDir
51062 found=0;
51063 for subfile in ${D}dirname/*.o* ; do
51064 if [ -f ${D}subfile ]; then
51065 found=1
51066 if [ -s ${D}subfile ]; then
51067 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51068 newInputFiles="${D}newInputFiles ${D}subfile"
51069 fi
51070 fi
51071 done
51072 if [ ${D}found -eq 0 ]; then
51073 echo "WARNING: there are no files in archive \\'${D}file\\'"
51074 fi
51075 ;;
51076 *)
51077 newInputFiles="${D}{newInputFiles} ${D}file"
51078 ;;
51079 esac
51080 done
51081 inputFiles="${D}newInputFiles"
51082
51083 # Output filename(s).
51084 do_backup=0;
51085 if [ -z ${D}outFile ]; then
51086 do_backup=1;
51087 set outFile ${D}inputFiles; outFile=${D}2
51088 fi
51089
51090 # If it is an archive, remove the '!' and the '_%' suffixes
51091 case ${D}outFile in
51092 *_%!)
51093 outFile=\`basnam ${D}outFile _%!\`
51094 ;;
51095 *)
51096 ;;
51097 esac
51098 case ${D}outFile in
51099 *.dll)
51100 outFile=\`basnam ${D}outFile .dll\`
51101 ;;
51102 *.DLL)
51103 outFile=\`basnam ${D}outFile .DLL\`
51104 ;;
51105 *.o)
51106 outFile=\`basnam ${D}outFile .o\`
51107 ;;
51108 *.obj)
51109 outFile=\`basnam ${D}outFile .obj\`
51110 ;;
51111 *.a)
51112 outFile=\`basnam ${D}outFile .a\`
51113 ;;
51114 *.lib)
51115 outFile=\`basnam ${D}outFile .lib\`
51116 ;;
51117 *)
51118 ;;
51119 esac
51120 case ${D}outimpFile in
51121 *.a)
51122 outimpFile=\`basnam ${D}outimpFile .a\`
51123 ;;
51124 *.lib)
51125 outimpFile=\`basnam ${D}outimpFile .lib\`
51126 ;;
51127 *)
51128 ;;
51129 esac
51130 if [ -z ${D}outimpFile ]; then
51131 outimpFile=${D}outFile
51132 fi
51133 defFile="${D}{outFile}.def"
51134 arcFile="${D}{outimpFile}.a"
51135 arcFile2="${D}{outimpFile}.lib"
51136
51137 #create ${D}dllFile as something matching 8.3 restrictions,
51138 if [ -z ${D}renameScript ] ; then
51139 dllFile="${D}outFile"
51140 else
51141 dllFile=\`${D}renameScript ${D}outimpFile\`
51142 fi
51143
51144 if [ ${D}do_backup -ne 0 ] ; then
51145 if [ -f ${D}arcFile ] ; then
51146 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51147 fi
51148 if [ -f ${D}arcFile2 ] ; then
51149 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51150 fi
51151 fi
51152
51153 # Extract public symbols from all the object files.
51154 tmpdefFile=${D}{defFile}_%
51155 rm -f ${D}tmpdefFile
51156 for file in ${D}inputFiles ; do
51157 case ${D}file in
51158 *!)
51159 ;;
51160 *)
51161 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51162 ;;
51163 esac
51164 done
51165
51166 # Create the def file.
51167 rm -f ${D}defFile
51168 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51169 dllFile="${D}{dllFile}.dll"
51170 if [ ! -z ${D}description ]; then
51171 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51172 fi
51173 echo "EXPORTS" >> ${D}defFile
51174
51175 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51176 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51177
51178 # Checks if the export is ok or not.
51179 for word in ${D}exclude_symbols; do
51180 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51181 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51182 done
51183
51184
51185 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51186 sed "=" < ${D}tmpdefFile | \\
51187 sed '
51188 N
51189 : loop
51190 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51191 t loop
51192 ' > ${D}{tmpdefFile}%
51193 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51194 else
51195 rm -f ${D}{tmpdefFile}%
51196 fi
51197 cat ${D}tmpdefFile >> ${D}defFile
51198 rm -f ${D}tmpdefFile
51199
51200 # Do linking, create implib, and apply lxlite.
51201 gccCmdl="";
51202 for file in ${D}inputFiles ; do
51203 case ${D}file in
51204 *!)
51205 ;;
51206 *)
51207 gccCmdl="${D}gccCmdl ${D}file"
51208 ;;
51209 esac
51210 done
51211 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51212 touch "${D}{outFile}.dll"
51213
51214 doCommand "emximp -o ${D}arcFile ${D}defFile"
51215 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51216 add_flags="";
51217 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51218 add_flags="-ynd"
51219 fi
51220 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51221 fi
51222 doCommand "emxomf -s -l ${D}arcFile"
51223
51224 # Successful exit.
51225 CleanUp 1
51226 exit 0
51227 EOF
51228
51229 chmod +x dllar.sh
51230 ;;
51231
51232 powerpc-apple-macos* | \
51233 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51234 *-*-mirbsd* | \
51235 *-*-sunos4* | \
51236 *-*-osf* | \
51237 *-*-dgux5* | \
51238 *-*-sysv5* | \
51239 *-pc-msdosdjgpp )
51240 ;;
51241
51242 *)
51243 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51244 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51245 { (exit 1); exit 1; }; }
51246 esac
51247
51248 if test "x$PIC_FLAG" != "x" ; then
51249 PIC_FLAG="$PIC_FLAG -DPIC"
51250 fi
51251
51252 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51253 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51254 fi
51255 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51256 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51257 fi
51258
51259
51260
51261
51262
51263
51264
51265
51266
51267 USE_SOVERSION=0
51268 USE_SOVERLINUX=0
51269 USE_SOVERSOLARIS=0
51270 USE_SOVERCYGWIN=0
51271 USE_SOSYMLINKS=0
51272 USE_MACVERSION=0
51273 SONAME_FLAG=
51274
51275 case "${BAKEFILE_HOST}" in
51276 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51277 if test "x$SUNCXX" = "xyes"; then
51278 SONAME_FLAG="-h "
51279 else
51280 SONAME_FLAG="-Wl,-soname,"
51281 fi
51282 USE_SOVERSION=1
51283 USE_SOVERLINUX=1
51284 USE_SOSYMLINKS=1
51285 ;;
51286
51287 *-*-solaris2* )
51288 SONAME_FLAG="-h "
51289 USE_SOVERSION=1
51290 USE_SOVERSOLARIS=1
51291 USE_SOSYMLINKS=1
51292 ;;
51293
51294 *-*-darwin* )
51295 USE_MACVERSION=1
51296 USE_SOVERSION=1
51297 USE_SOSYMLINKS=1
51298 ;;
51299
51300 *-*-cygwin* )
51301 USE_SOVERSION=1
51302 USE_SOVERCYGWIN=1
51303 ;;
51304 esac
51305
51306
51307
51308
51309
51310
51311
51312
51313
51314
51315 # Check whether --enable-dependency-tracking was given.
51316 if test "${enable_dependency_tracking+set}" = set; then
51317 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51318 fi
51319
51320
51321 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51322 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51323
51324 BK_DEPS=""
51325 if test "x$bk_use_trackdeps" = "xno" ; then
51326 DEPS_TRACKING=0
51327 { echo "$as_me:$LINENO: result: disabled" >&5
51328 echo "${ECHO_T}disabled" >&6; }
51329 else
51330 DEPS_TRACKING=1
51331
51332 if test "x$GCC" = "xyes"; then
51333 DEPSMODE=gcc
51334 case "${BAKEFILE_HOST}" in
51335 *-*-darwin* )
51336 DEPSFLAG="-no-cpp-precomp -MMD"
51337 ;;
51338 * )
51339 DEPSFLAG="-MMD"
51340 ;;
51341 esac
51342 { echo "$as_me:$LINENO: result: gcc" >&5
51343 echo "${ECHO_T}gcc" >&6; }
51344 elif test "x$MWCC" = "xyes"; then
51345 DEPSMODE=mwcc
51346 DEPSFLAG="-MM"
51347 { echo "$as_me:$LINENO: result: mwcc" >&5
51348 echo "${ECHO_T}mwcc" >&6; }
51349 elif test "x$SUNCC" = "xyes"; then
51350 DEPSMODE=unixcc
51351 DEPSFLAG="-xM1"
51352 { echo "$as_me:$LINENO: result: Sun cc" >&5
51353 echo "${ECHO_T}Sun cc" >&6; }
51354 elif test "x$SGICC" = "xyes"; then
51355 DEPSMODE=unixcc
51356 DEPSFLAG="-M"
51357 { echo "$as_me:$LINENO: result: SGI cc" >&5
51358 echo "${ECHO_T}SGI cc" >&6; }
51359 elif test "x$HPCC" = "xyes"; then
51360 DEPSMODE=unixcc
51361 DEPSFLAG="+make"
51362 { echo "$as_me:$LINENO: result: HP cc" >&5
51363 echo "${ECHO_T}HP cc" >&6; }
51364 elif test "x$COMPAQCC" = "xyes"; then
51365 DEPSMODE=gcc
51366 DEPSFLAG="-MD"
51367 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51368 echo "${ECHO_T}Compaq cc" >&6; }
51369 else
51370 DEPS_TRACKING=0
51371 { echo "$as_me:$LINENO: result: none" >&5
51372 echo "${ECHO_T}none" >&6; }
51373 fi
51374
51375 if test $DEPS_TRACKING = 1 ; then
51376
51377 D='$'
51378 cat <<EOF >bk-deps
51379 #!/bin/sh
51380
51381 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51382 # script. It is used to track C/C++ files dependencies in portable way.
51383 #
51384 # Permission is given to use this file in any way.
51385
51386 DEPSMODE=${DEPSMODE}
51387 DEPSDIR=.deps
51388 DEPSFLAG="${DEPSFLAG}"
51389
51390 mkdir -p ${D}DEPSDIR
51391
51392 if test ${D}DEPSMODE = gcc ; then
51393 ${D}* ${D}{DEPSFLAG}
51394 status=${D}?
51395 if test ${D}{status} != 0 ; then
51396 exit ${D}{status}
51397 fi
51398 # move created file to the location we want it in:
51399 while test ${D}# -gt 0; do
51400 case "${D}1" in
51401 -o )
51402 shift
51403 objfile=${D}1
51404 ;;
51405 -* )
51406 ;;
51407 * )
51408 srcfile=${D}1
51409 ;;
51410 esac
51411 shift
51412 done
51413 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51414 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51415 if test -f ${D}depfile ; then
51416 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51417 rm -f ${D}depfile
51418 else
51419 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51420 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51421 if test ! -f ${D}depfile ; then
51422 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51423 depfile="${D}objfile.d"
51424 fi
51425 if test -f ${D}depfile ; then
51426 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51427 rm -f ${D}depfile
51428 fi
51429 fi
51430 exit 0
51431 elif test ${D}DEPSMODE = mwcc ; then
51432 ${D}* || exit ${D}?
51433 # Run mwcc again with -MM and redirect into the dep file we want
51434 # NOTE: We can't use shift here because we need ${D}* to be valid
51435 prevarg=
51436 for arg in ${D}* ; do
51437 if test "${D}prevarg" = "-o"; then
51438 objfile=${D}arg
51439 else
51440 case "${D}arg" in
51441 -* )
51442 ;;
51443 * )
51444 srcfile=${D}arg
51445 ;;
51446 esac
51447 fi
51448 prevarg="${D}arg"
51449 done
51450 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51451 exit 0
51452 elif test ${D}DEPSMODE = unixcc; then
51453 ${D}* || exit ${D}?
51454 # Run compiler again with deps flag and redirect into the dep file.
51455 # It doesn't work if the '-o FILE' option is used, but without it the
51456 # dependency file will contain the wrong name for the object. So it is
51457 # removed from the command line, and the dep file is fixed with sed.
51458 cmd=""
51459 while test ${D}# -gt 0; do
51460 case "${D}1" in
51461 -o )
51462 shift
51463 objfile=${D}1
51464 ;;
51465 * )
51466 eval arg${D}#=\\${D}1
51467 cmd="${D}cmd \\${D}arg${D}#"
51468 ;;
51469 esac
51470 shift
51471 done
51472 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51473 exit 0
51474 else
51475 ${D}*
51476 exit ${D}?
51477 fi
51478 EOF
51479
51480 chmod +x bk-deps
51481 BK_DEPS="`pwd`/bk-deps"
51482 fi
51483 fi
51484
51485
51486
51487
51488
51489 case ${BAKEFILE_HOST} in
51490 *-*-cygwin* | *-*-mingw32* )
51491 if test -n "$ac_tool_prefix"; then
51492 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51493 set dummy ${ac_tool_prefix}windres; ac_word=$2
51494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51496 if test "${ac_cv_prog_WINDRES+set}" = set; then
51497 echo $ECHO_N "(cached) $ECHO_C" >&6
51498 else
51499 if test -n "$WINDRES"; then
51500 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51501 else
51502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51503 for as_dir in $PATH
51504 do
51505 IFS=$as_save_IFS
51506 test -z "$as_dir" && as_dir=.
51507 for ac_exec_ext in '' $ac_executable_extensions; do
51508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51509 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51511 break 2
51512 fi
51513 done
51514 done
51515 IFS=$as_save_IFS
51516
51517 fi
51518 fi
51519 WINDRES=$ac_cv_prog_WINDRES
51520 if test -n "$WINDRES"; then
51521 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51522 echo "${ECHO_T}$WINDRES" >&6; }
51523 else
51524 { echo "$as_me:$LINENO: result: no" >&5
51525 echo "${ECHO_T}no" >&6; }
51526 fi
51527
51528
51529 fi
51530 if test -z "$ac_cv_prog_WINDRES"; then
51531 ac_ct_WINDRES=$WINDRES
51532 # Extract the first word of "windres", so it can be a program name with args.
51533 set dummy windres; ac_word=$2
51534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51536 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51537 echo $ECHO_N "(cached) $ECHO_C" >&6
51538 else
51539 if test -n "$ac_ct_WINDRES"; then
51540 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51541 else
51542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51543 for as_dir in $PATH
51544 do
51545 IFS=$as_save_IFS
51546 test -z "$as_dir" && as_dir=.
51547 for ac_exec_ext in '' $ac_executable_extensions; do
51548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51549 ac_cv_prog_ac_ct_WINDRES="windres"
51550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51551 break 2
51552 fi
51553 done
51554 done
51555 IFS=$as_save_IFS
51556
51557 fi
51558 fi
51559 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51560 if test -n "$ac_ct_WINDRES"; then
51561 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51562 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51563 else
51564 { echo "$as_me:$LINENO: result: no" >&5
51565 echo "${ECHO_T}no" >&6; }
51566 fi
51567
51568 if test "x$ac_ct_WINDRES" = x; then
51569 WINDRES=""
51570 else
51571 case $cross_compiling:$ac_tool_warned in
51572 yes:)
51573 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51574 whose name does not start with the host triplet. If you think this
51575 configuration is useful to you, please write to autoconf@gnu.org." >&5
51576 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51577 whose name does not start with the host triplet. If you think this
51578 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51579 ac_tool_warned=yes ;;
51580 esac
51581 WINDRES=$ac_ct_WINDRES
51582 fi
51583 else
51584 WINDRES="$ac_cv_prog_WINDRES"
51585 fi
51586
51587 ;;
51588
51589 *-*-darwin* | powerpc-apple-macos* )
51590 # Extract the first word of "Rez", so it can be a program name with args.
51591 set dummy Rez; ac_word=$2
51592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51594 if test "${ac_cv_prog_REZ+set}" = set; then
51595 echo $ECHO_N "(cached) $ECHO_C" >&6
51596 else
51597 if test -n "$REZ"; then
51598 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51599 else
51600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51601 for as_dir in $PATH
51602 do
51603 IFS=$as_save_IFS
51604 test -z "$as_dir" && as_dir=.
51605 for ac_exec_ext in '' $ac_executable_extensions; do
51606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51607 ac_cv_prog_REZ="Rez"
51608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51609 break 2
51610 fi
51611 done
51612 done
51613 IFS=$as_save_IFS
51614
51615 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51616 fi
51617 fi
51618 REZ=$ac_cv_prog_REZ
51619 if test -n "$REZ"; then
51620 { echo "$as_me:$LINENO: result: $REZ" >&5
51621 echo "${ECHO_T}$REZ" >&6; }
51622 else
51623 { echo "$as_me:$LINENO: result: no" >&5
51624 echo "${ECHO_T}no" >&6; }
51625 fi
51626
51627
51628 # Extract the first word of "SetFile", so it can be a program name with args.
51629 set dummy SetFile; ac_word=$2
51630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51632 if test "${ac_cv_prog_SETFILE+set}" = set; then
51633 echo $ECHO_N "(cached) $ECHO_C" >&6
51634 else
51635 if test -n "$SETFILE"; then
51636 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51637 else
51638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51639 for as_dir in $PATH
51640 do
51641 IFS=$as_save_IFS
51642 test -z "$as_dir" && as_dir=.
51643 for ac_exec_ext in '' $ac_executable_extensions; do
51644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51645 ac_cv_prog_SETFILE="SetFile"
51646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51647 break 2
51648 fi
51649 done
51650 done
51651 IFS=$as_save_IFS
51652
51653 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51654 fi
51655 fi
51656 SETFILE=$ac_cv_prog_SETFILE
51657 if test -n "$SETFILE"; then
51658 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51659 echo "${ECHO_T}$SETFILE" >&6; }
51660 else
51661 { echo "$as_me:$LINENO: result: no" >&5
51662 echo "${ECHO_T}no" >&6; }
51663 fi
51664
51665
51666 ;;
51667 esac
51668
51669
51670
51671
51672
51673
51674 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51675
51676
51677 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51678
51679
51680
51681 # Check whether --enable-precomp-headers was given.
51682 if test "${enable_precomp_headers+set}" = set; then
51683 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51684 fi
51685
51686
51687 GCC_PCH=0
51688 ICC_PCH=0
51689 USE_PCH=0
51690 BK_MAKE_PCH=""
51691
51692 case ${BAKEFILE_HOST} in
51693 *-*-cygwin* )
51694 bk_use_pch="no"
51695 ;;
51696 esac
51697
51698 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51699 if test "x$GCC" = "xyes"; then
51700 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51701 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51702 cat >conftest.$ac_ext <<_ACEOF
51703 /* confdefs.h. */
51704 _ACEOF
51705 cat confdefs.h >>conftest.$ac_ext
51706 cat >>conftest.$ac_ext <<_ACEOF
51707 /* end confdefs.h. */
51708
51709 int
51710 main ()
51711 {
51712
51713 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51714 There is no PCH support
51715 #endif
51716 #if (__GNUC__ < 3)
51717 There is no PCH support
51718 #endif
51719 #if (__GNUC__ == 3) && \
51720 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51721 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51722 ( defined(__INTEL_COMPILER) )
51723 There is no PCH support
51724 #endif
51725
51726 ;
51727 return 0;
51728 }
51729 _ACEOF
51730 rm -f conftest.$ac_objext
51731 if { (ac_try="$ac_compile"
51732 case "(($ac_try" in
51733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51734 *) ac_try_echo=$ac_try;;
51735 esac
51736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51737 (eval "$ac_compile") 2>conftest.er1
51738 ac_status=$?
51739 grep -v '^ *+' conftest.er1 >conftest.err
51740 rm -f conftest.er1
51741 cat conftest.err >&5
51742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51743 (exit $ac_status); } && {
51744 test -z "$ac_c_werror_flag" ||
51745 test ! -s conftest.err
51746 } && test -s conftest.$ac_objext; then
51747
51748 { echo "$as_me:$LINENO: result: yes" >&5
51749 echo "${ECHO_T}yes" >&6; }
51750 GCC_PCH=1
51751
51752 else
51753 echo "$as_me: failed program was:" >&5
51754 sed 's/^/| /' conftest.$ac_ext >&5
51755
51756
51757 cat >conftest.$ac_ext <<_ACEOF
51758 /* confdefs.h. */
51759 _ACEOF
51760 cat confdefs.h >>conftest.$ac_ext
51761 cat >>conftest.$ac_ext <<_ACEOF
51762 /* end confdefs.h. */
51763
51764 int
51765 main ()
51766 {
51767
51768 #if !defined(__INTEL_COMPILER) || \
51769 (__INTEL_COMPILER < 800)
51770 There is no PCH support
51771 #endif
51772
51773 ;
51774 return 0;
51775 }
51776 _ACEOF
51777 rm -f conftest.$ac_objext
51778 if { (ac_try="$ac_compile"
51779 case "(($ac_try" in
51780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51781 *) ac_try_echo=$ac_try;;
51782 esac
51783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51784 (eval "$ac_compile") 2>conftest.er1
51785 ac_status=$?
51786 grep -v '^ *+' conftest.er1 >conftest.err
51787 rm -f conftest.er1
51788 cat conftest.err >&5
51789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51790 (exit $ac_status); } && {
51791 test -z "$ac_c_werror_flag" ||
51792 test ! -s conftest.err
51793 } && test -s conftest.$ac_objext; then
51794
51795 { echo "$as_me:$LINENO: result: yes" >&5
51796 echo "${ECHO_T}yes" >&6; }
51797 ICC_PCH=1
51798
51799 else
51800 echo "$as_me: failed program was:" >&5
51801 sed 's/^/| /' conftest.$ac_ext >&5
51802
51803
51804 { echo "$as_me:$LINENO: result: no" >&5
51805 echo "${ECHO_T}no" >&6; }
51806
51807 fi
51808
51809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51810
51811 fi
51812
51813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51814 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51815 USE_PCH=1
51816
51817 D='$'
51818 cat <<EOF >bk-make-pch
51819 #!/bin/sh
51820
51821 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51822 # script. It is used to generated precompiled headers.
51823 #
51824 # Permission is given to use this file in any way.
51825
51826 outfile="${D}{1}"
51827 header="${D}{2}"
51828 shift
51829 shift
51830
51831 compiler=""
51832 headerfile=""
51833
51834 while test ${D}{#} -gt 0; do
51835 add_to_cmdline=1
51836 case "${D}{1}" in
51837 -I* )
51838 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51839 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51840 headerfile="${D}{incdir}/${D}{header}"
51841 fi
51842 ;;
51843 -use-pch|-use_pch )
51844 shift
51845 add_to_cmdline=0
51846 ;;
51847 esac
51848 if test ${D}add_to_cmdline = 1 ; then
51849 compiler="${D}{compiler} ${D}{1}"
51850 fi
51851 shift
51852 done
51853
51854 if test "x${D}{headerfile}" = "x" ; then
51855 echo "error: can't find header ${D}{header} in include paths" >&2
51856 else
51857 if test -f ${D}{outfile} ; then
51858 rm -f ${D}{outfile}
51859 else
51860 mkdir -p \`dirname ${D}{outfile}\`
51861 fi
51862 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51863 mkdir -p .deps
51864 if test "x${GCC_PCH}" = "x1" ; then
51865 # can do this because gcc is >= 3.4:
51866 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51867 elif test "x${ICC_PCH}" = "x1" ; then
51868 filename=pch_gen-${D}${D}
51869 file=${D}{filename}.c
51870 dfile=${D}{filename}.d
51871 cat > ${D}file <<EOT
51872 #include "${D}header"
51873 EOT
51874 # using -MF icc complains about differing command lines in creation/use
51875 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51876 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51877 rm -f ${D}file ${D}dfile ${D}{filename}.o
51878 fi
51879 exit ${D}{?}
51880 fi
51881 EOF
51882
51883 chmod +x bk-make-pch
51884 BK_MAKE_PCH="`pwd`/bk-make-pch"
51885 fi
51886 fi
51887 fi
51888
51889
51890
51891
51892
51893 COND_BUILD_DEBUG="#"
51894 if test "x$BUILD" = "xdebug" ; then
51895 COND_BUILD_DEBUG=""
51896 fi
51897
51898 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51899 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51900 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51901 fi
51902
51903 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51904 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51905 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51906 fi
51907
51908 COND_BUILD_DEBUG_UNICODE_0="#"
51909 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51910 COND_BUILD_DEBUG_UNICODE_0=""
51911 fi
51912
51913 COND_BUILD_DEBUG_UNICODE_1="#"
51914 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51915 COND_BUILD_DEBUG_UNICODE_1=""
51916 fi
51917
51918 COND_BUILD_RELEASE="#"
51919 if test "x$BUILD" = "xrelease" ; then
51920 COND_BUILD_RELEASE=""
51921 fi
51922
51923 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51924 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51925 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51926 fi
51927
51928 COND_BUILD_RELEASE_UNICODE_0="#"
51929 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51930 COND_BUILD_RELEASE_UNICODE_0=""
51931 fi
51932
51933 COND_BUILD_RELEASE_UNICODE_1="#"
51934 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51935 COND_BUILD_RELEASE_UNICODE_1=""
51936 fi
51937
51938 COND_DEBUG_FLAG_1="#"
51939 if test "x$DEBUG_FLAG" = "x1" ; then
51940 COND_DEBUG_FLAG_1=""
51941 fi
51942
51943 COND_DEBUG_INFO_0="#"
51944 if test "x$DEBUG_INFO" = "x0" ; then
51945 COND_DEBUG_INFO_0=""
51946 fi
51947
51948 COND_DEBUG_INFO_1="#"
51949 if test "x$DEBUG_INFO" = "x1" ; then
51950 COND_DEBUG_INFO_1=""
51951 fi
51952
51953 COND_DEPS_TRACKING_0="#"
51954 if test "x$DEPS_TRACKING" = "x0" ; then
51955 COND_DEPS_TRACKING_0=""
51956 fi
51957
51958 COND_DEPS_TRACKING_1="#"
51959 if test "x$DEPS_TRACKING" = "x1" ; then
51960 COND_DEPS_TRACKING_1=""
51961 fi
51962
51963 COND_GCC_PCH_1="#"
51964 if test "x$GCC_PCH" = "x1" ; then
51965 COND_GCC_PCH_1=""
51966 fi
51967
51968 COND_ICC_PCH_1="#"
51969 if test "x$ICC_PCH" = "x1" ; then
51970 COND_ICC_PCH_1=""
51971 fi
51972
51973 COND_MONOLITHIC_0="#"
51974 if test "x$MONOLITHIC" = "x0" ; then
51975 COND_MONOLITHIC_0=""
51976 fi
51977
51978 COND_MONOLITHIC_0_SHARED_0="#"
51979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51980 COND_MONOLITHIC_0_SHARED_0=""
51981 fi
51982
51983 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51985 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51986 fi
51987
51988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51990 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51991 fi
51992
51993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51995 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51996 fi
51997
51998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52001 fi
52002
52003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52006 fi
52007
52008 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52011 fi
52012
52013 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52015 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52016 fi
52017
52018 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52020 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52021 fi
52022
52023 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52025 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52026 fi
52027
52028 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52030 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52031 fi
52032
52033 COND_MONOLITHIC_0_SHARED_1="#"
52034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52035 COND_MONOLITHIC_0_SHARED_1=""
52036 fi
52037
52038 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52040 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52041 fi
52042
52043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52046 fi
52047
52048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52050 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52051 fi
52052
52053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52056 fi
52057
52058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52061 fi
52062
52063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52066 fi
52067
52068 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52070 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52071 fi
52072
52073 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52075 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52076 fi
52077
52078 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52080 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52081 fi
52082
52083 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52085 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52086 fi
52087
52088 COND_MONOLITHIC_0_USE_AUI_1="#"
52089 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52090 COND_MONOLITHIC_0_USE_AUI_1=""
52091 fi
52092
52093 COND_MONOLITHIC_0_USE_GUI_1="#"
52094 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52095 COND_MONOLITHIC_0_USE_GUI_1=""
52096 fi
52097
52098 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52099 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52100 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52101 fi
52102
52103 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52104 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52105 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52106 fi
52107
52108 COND_MONOLITHIC_0_USE_HTML_1="#"
52109 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52110 COND_MONOLITHIC_0_USE_HTML_1=""
52111 fi
52112
52113 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52114 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52115 COND_MONOLITHIC_0_USE_MEDIA_1=""
52116 fi
52117
52118 COND_MONOLITHIC_0_USE_ODBC_1="#"
52119 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52120 COND_MONOLITHIC_0_USE_ODBC_1=""
52121 fi
52122
52123 COND_MONOLITHIC_0_USE_QA_1="#"
52124 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52125 COND_MONOLITHIC_0_USE_QA_1=""
52126 fi
52127
52128 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52129 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52130 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52131 fi
52132
52133 COND_MONOLITHIC_0_USE_STC_1="#"
52134 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52135 COND_MONOLITHIC_0_USE_STC_1=""
52136 fi
52137
52138 COND_MONOLITHIC_0_USE_XRC_1="#"
52139 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52140 COND_MONOLITHIC_0_USE_XRC_1=""
52141 fi
52142
52143 COND_MONOLITHIC_1="#"
52144 if test "x$MONOLITHIC" = "x1" ; then
52145 COND_MONOLITHIC_1=""
52146 fi
52147
52148 COND_MONOLITHIC_1_SHARED_0="#"
52149 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52150 COND_MONOLITHIC_1_SHARED_0=""
52151 fi
52152
52153 COND_MONOLITHIC_1_SHARED_1="#"
52154 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52155 COND_MONOLITHIC_1_SHARED_1=""
52156 fi
52157
52158 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52159 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52160 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52161 fi
52162
52163 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52164 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52165 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52166 fi
52167
52168 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52169 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52170 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52171 fi
52172
52173 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52174 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52175 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52176 fi
52177
52178 COND_PLATFORM_MACOSX_1="#"
52179 if test "x$PLATFORM_MACOSX" = "x1" ; then
52180 COND_PLATFORM_MACOSX_1=""
52181 fi
52182
52183 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52184 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52185 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52186 fi
52187
52188 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52189 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52190 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52191 fi
52192
52193 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52194 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52195 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52196 fi
52197
52198 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52200 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52201 fi
52202
52203 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52205 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52206 fi
52207
52208 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52210 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52211 fi
52212
52213 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52215 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52216 fi
52217
52218 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52220 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52221 fi
52222
52223 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52224 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52225 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52226 fi
52227
52228 COND_PLATFORM_MACOS_1="#"
52229 if test "x$PLATFORM_MACOS" = "x1" ; then
52230 COND_PLATFORM_MACOS_1=""
52231 fi
52232
52233 COND_PLATFORM_MAC_1="#"
52234 if test "x$PLATFORM_MAC" = "x1" ; then
52235 COND_PLATFORM_MAC_1=""
52236 fi
52237
52238 COND_PLATFORM_MSDOS_0="#"
52239 if test "x$PLATFORM_MSDOS" = "x0" ; then
52240 COND_PLATFORM_MSDOS_0=""
52241 fi
52242
52243 COND_PLATFORM_MSDOS_1="#"
52244 if test "x$PLATFORM_MSDOS" = "x1" ; then
52245 COND_PLATFORM_MSDOS_1=""
52246 fi
52247
52248 COND_PLATFORM_OS2_1="#"
52249 if test "x$PLATFORM_OS2" = "x1" ; then
52250 COND_PLATFORM_OS2_1=""
52251 fi
52252
52253 COND_PLATFORM_UNIX_0="#"
52254 if test "x$PLATFORM_UNIX" = "x0" ; then
52255 COND_PLATFORM_UNIX_0=""
52256 fi
52257
52258 COND_PLATFORM_UNIX_1="#"
52259 if test "x$PLATFORM_UNIX" = "x1" ; then
52260 COND_PLATFORM_UNIX_1=""
52261 fi
52262
52263 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52264 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52265 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52266 fi
52267
52268 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52269 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52270 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52271 fi
52272
52273 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52274 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52275 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52276 fi
52277
52278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52279 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52280 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52281 fi
52282
52283 COND_PLATFORM_WIN32_0="#"
52284 if test "x$PLATFORM_WIN32" = "x0" ; then
52285 COND_PLATFORM_WIN32_0=""
52286 fi
52287
52288 COND_PLATFORM_WIN32_1="#"
52289 if test "x$PLATFORM_WIN32" = "x1" ; then
52290 COND_PLATFORM_WIN32_1=""
52291 fi
52292
52293 COND_SHARED_0="#"
52294 if test "x$SHARED" = "x0" ; then
52295 COND_SHARED_0=""
52296 fi
52297
52298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52299 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52300 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52301 fi
52302
52303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52304 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52305 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52306 fi
52307
52308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52309 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52310 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52311 fi
52312
52313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52314 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52315 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52316 fi
52317
52318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52319 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52321 fi
52322
52323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52324 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52325 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52326 fi
52327
52328 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52329 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52330 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52331 fi
52332
52333 COND_SHARED_0_USE_STC_1="#"
52334 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52335 COND_SHARED_0_USE_STC_1=""
52336 fi
52337
52338 COND_SHARED_0_USE_XRC_1="#"
52339 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52340 COND_SHARED_0_USE_XRC_1=""
52341 fi
52342
52343 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52344 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52345 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52346 fi
52347
52348 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52349 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52350 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52351 fi
52352
52353 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52354 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52355 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52356 fi
52357
52358 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52359 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52360 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52361 fi
52362
52363 COND_SHARED_1="#"
52364 if test "x$SHARED" = "x1" ; then
52365 COND_SHARED_1=""
52366 fi
52367
52368 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52369 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52370 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52371 fi
52372
52373 COND_SHARED_1_USE_XRC_1="#"
52374 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52375 COND_SHARED_1_USE_XRC_1=""
52376 fi
52377
52378 COND_TOOLKIT_="#"
52379 if test "x$TOOLKIT" = "x" ; then
52380 COND_TOOLKIT_=""
52381 fi
52382
52383 COND_TOOLKIT_COCOA="#"
52384 if test "x$TOOLKIT" = "xCOCOA" ; then
52385 COND_TOOLKIT_COCOA=""
52386 fi
52387
52388 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52389 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52390 COND_TOOLKIT_COCOA_USE_GUI_1=""
52391 fi
52392
52393 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52394 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52395 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52396 fi
52397
52398 COND_TOOLKIT_DFB="#"
52399 if test "x$TOOLKIT" = "xDFB" ; then
52400 COND_TOOLKIT_DFB=""
52401 fi
52402
52403 COND_TOOLKIT_DFB_USE_GUI_1="#"
52404 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52405 COND_TOOLKIT_DFB_USE_GUI_1=""
52406 fi
52407
52408 COND_TOOLKIT_GTK="#"
52409 if test "x$TOOLKIT" = "xGTK" ; then
52410 COND_TOOLKIT_GTK=""
52411 fi
52412
52413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52414 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52415 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52416 fi
52417
52418 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52419 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52420 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52421 fi
52422
52423 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52424 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52425 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52426 fi
52427
52428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52429 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52430 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52431 fi
52432
52433 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52434 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52435 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52436 fi
52437
52438 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52439 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52440 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52441 fi
52442
52443 COND_TOOLKIT_GTK_USE_GUI_1="#"
52444 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52445 COND_TOOLKIT_GTK_USE_GUI_1=""
52446 fi
52447
52448 COND_TOOLKIT_MAC="#"
52449 if test "x$TOOLKIT" = "xMAC" ; then
52450 COND_TOOLKIT_MAC=""
52451 fi
52452
52453 COND_TOOLKIT_MAC_USE_GUI_1="#"
52454 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52455 COND_TOOLKIT_MAC_USE_GUI_1=""
52456 fi
52457
52458 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52459 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52460 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52461 fi
52462
52463 COND_TOOLKIT_MGL="#"
52464 if test "x$TOOLKIT" = "xMGL" ; then
52465 COND_TOOLKIT_MGL=""
52466 fi
52467
52468 COND_TOOLKIT_MGL_USE_GUI_1="#"
52469 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52470 COND_TOOLKIT_MGL_USE_GUI_1=""
52471 fi
52472
52473 COND_TOOLKIT_MOTIF="#"
52474 if test "x$TOOLKIT" = "xMOTIF" ; then
52475 COND_TOOLKIT_MOTIF=""
52476 fi
52477
52478 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52479 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52480 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52481 fi
52482
52483 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52484 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52485 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52486 fi
52487
52488 COND_TOOLKIT_MSW="#"
52489 if test "x$TOOLKIT" = "xMSW" ; then
52490 COND_TOOLKIT_MSW=""
52491 fi
52492
52493 COND_TOOLKIT_MSW_USE_GUI_1="#"
52494 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52495 COND_TOOLKIT_MSW_USE_GUI_1=""
52496 fi
52497
52498 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52499 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52500 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52501 fi
52502
52503 COND_TOOLKIT_MSW_WXUNIV_0="#"
52504 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52505 COND_TOOLKIT_MSW_WXUNIV_0=""
52506 fi
52507
52508 COND_TOOLKIT_PM="#"
52509 if test "x$TOOLKIT" = "xPM" ; then
52510 COND_TOOLKIT_PM=""
52511 fi
52512
52513 COND_TOOLKIT_PM_USE_GUI_1="#"
52514 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52515 COND_TOOLKIT_PM_USE_GUI_1=""
52516 fi
52517
52518 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52519 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52520 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52521 fi
52522
52523 COND_TOOLKIT_WINCE="#"
52524 if test "x$TOOLKIT" = "xWINCE" ; then
52525 COND_TOOLKIT_WINCE=""
52526 fi
52527
52528 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52529 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52530 COND_TOOLKIT_WINCE_USE_GUI_1=""
52531 fi
52532
52533 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52534 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52535 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52536 fi
52537
52538 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52539 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52540 COND_TOOLKIT_WINCE_WXUNIV_0=""
52541 fi
52542
52543 COND_TOOLKIT_X11="#"
52544 if test "x$TOOLKIT" = "xX11" ; then
52545 COND_TOOLKIT_X11=""
52546 fi
52547
52548 COND_TOOLKIT_X11_USE_GUI_1="#"
52549 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52550 COND_TOOLKIT_X11_USE_GUI_1=""
52551 fi
52552
52553 COND_UNICODE_1="#"
52554 if test "x$UNICODE" = "x1" ; then
52555 COND_UNICODE_1=""
52556 fi
52557
52558 COND_USE_EXCEPTIONS_0="#"
52559 if test "x$USE_EXCEPTIONS" = "x0" ; then
52560 COND_USE_EXCEPTIONS_0=""
52561 fi
52562
52563 COND_USE_EXCEPTIONS_1="#"
52564 if test "x$USE_EXCEPTIONS" = "x1" ; then
52565 COND_USE_EXCEPTIONS_1=""
52566 fi
52567
52568 COND_USE_GUI_0="#"
52569 if test "x$USE_GUI" = "x0" ; then
52570 COND_USE_GUI_0=""
52571 fi
52572
52573 COND_USE_GUI_1="#"
52574 if test "x$USE_GUI" = "x1" ; then
52575 COND_USE_GUI_1=""
52576 fi
52577
52578 COND_USE_GUI_1_USE_OPENGL_1="#"
52579 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52580 COND_USE_GUI_1_USE_OPENGL_1=""
52581 fi
52582
52583 COND_USE_GUI_1_WXUNIV_0="#"
52584 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52585 COND_USE_GUI_1_WXUNIV_0=""
52586 fi
52587
52588 COND_USE_GUI_1_WXUNIV_1="#"
52589 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52590 COND_USE_GUI_1_WXUNIV_1=""
52591 fi
52592
52593 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52594 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52595 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52596 fi
52597
52598 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52599 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52600 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52601 fi
52602
52603 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52604 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52605 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52606 fi
52607
52608 COND_USE_ODBC_1="#"
52609 if test "x$USE_ODBC" = "x1" ; then
52610 COND_USE_ODBC_1=""
52611 fi
52612
52613 COND_USE_OPENGL_1="#"
52614 if test "x$USE_OPENGL" = "x1" ; then
52615 COND_USE_OPENGL_1=""
52616 fi
52617
52618 COND_USE_PCH_1="#"
52619 if test "x$USE_PCH" = "x1" ; then
52620 COND_USE_PCH_1=""
52621 fi
52622
52623 COND_USE_PLUGINS_0="#"
52624 if test "x$USE_PLUGINS" = "x0" ; then
52625 COND_USE_PLUGINS_0=""
52626 fi
52627
52628 COND_USE_RTTI_0="#"
52629 if test "x$USE_RTTI" = "x0" ; then
52630 COND_USE_RTTI_0=""
52631 fi
52632
52633 COND_USE_RTTI_1="#"
52634 if test "x$USE_RTTI" = "x1" ; then
52635 COND_USE_RTTI_1=""
52636 fi
52637
52638 COND_USE_SOSYMLINKS_1="#"
52639 if test "x$USE_SOSYMLINKS" = "x1" ; then
52640 COND_USE_SOSYMLINKS_1=""
52641 fi
52642
52643 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52644 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52645 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52646 fi
52647
52648 COND_USE_SOVERLINUX_1="#"
52649 if test "x$USE_SOVERLINUX" = "x1" ; then
52650 COND_USE_SOVERLINUX_1=""
52651 fi
52652
52653 COND_USE_SOVERSION_0="#"
52654 if test "x$USE_SOVERSION" = "x0" ; then
52655 COND_USE_SOVERSION_0=""
52656 fi
52657
52658 COND_USE_SOVERSOLARIS_1="#"
52659 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52660 COND_USE_SOVERSOLARIS_1=""
52661 fi
52662
52663 COND_USE_STC_1="#"
52664 if test "x$USE_STC" = "x1" ; then
52665 COND_USE_STC_1=""
52666 fi
52667
52668 COND_USE_THREADS_0="#"
52669 if test "x$USE_THREADS" = "x0" ; then
52670 COND_USE_THREADS_0=""
52671 fi
52672
52673 COND_USE_THREADS_1="#"
52674 if test "x$USE_THREADS" = "x1" ; then
52675 COND_USE_THREADS_1=""
52676 fi
52677
52678 COND_USE_XRC_1="#"
52679 if test "x$USE_XRC" = "x1" ; then
52680 COND_USE_XRC_1=""
52681 fi
52682
52683 COND_WINDOWS_IMPLIB_1="#"
52684 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52685 COND_WINDOWS_IMPLIB_1=""
52686 fi
52687
52688 COND_WITH_PLUGIN_SDL_1="#"
52689 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52690 COND_WITH_PLUGIN_SDL_1=""
52691 fi
52692
52693 COND_WXUNIV_0="#"
52694 if test "x$WXUNIV" = "x0" ; then
52695 COND_WXUNIV_0=""
52696 fi
52697
52698 COND_WXUNIV_1="#"
52699 if test "x$WXUNIV" = "x1" ; then
52700 COND_WXUNIV_1=""
52701 fi
52702
52703 COND_WXUSE_EXPAT_BUILTIN="#"
52704 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52705 COND_WXUSE_EXPAT_BUILTIN=""
52706 fi
52707
52708 COND_WXUSE_LIBJPEG_BUILTIN="#"
52709 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52710 COND_WXUSE_LIBJPEG_BUILTIN=""
52711 fi
52712
52713 COND_WXUSE_LIBPNG_BUILTIN="#"
52714 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52715 COND_WXUSE_LIBPNG_BUILTIN=""
52716 fi
52717
52718 COND_WXUSE_LIBTIFF_BUILTIN="#"
52719 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52720 COND_WXUSE_LIBTIFF_BUILTIN=""
52721 fi
52722
52723 COND_WXUSE_ODBC_BUILTIN="#"
52724 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52725 COND_WXUSE_ODBC_BUILTIN=""
52726 fi
52727
52728 COND_WXUSE_REGEX_BUILTIN="#"
52729 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52730 COND_WXUSE_REGEX_BUILTIN=""
52731 fi
52732
52733 COND_WXUSE_ZLIB_BUILTIN="#"
52734 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52735 COND_WXUSE_ZLIB_BUILTIN=""
52736 fi
52737
52738
52739
52740 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52741 { { 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
52742 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;}
52743 { (exit 1); exit 1; }; }
52744 fi
52745
52746 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52747 { { 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
52748 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;}
52749 { (exit 1); exit 1; }; }
52750 fi
52751
52752
52753 case ${INSTALL} in
52754 /* ) # Absolute
52755 ;;
52756 ?:* ) # Drive letter, considered as absolute.
52757 ;;
52758 *)
52759 INSTALL=`pwd`/${INSTALL} ;;
52760 esac
52761
52762 if test "$wxUSE_GUI" = "yes"; then
52763
52764 if test "$wxUSE_MSW" = 1 ; then
52765 if test "x$WINDRES" = "x"; then
52766 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52767 echo "$as_me: error: Required windres program not found" >&2;}
52768 { (exit 1); exit 1; }; }
52769 fi
52770
52771 RESCOMP="$WINDRES"
52772 fi
52773
52774 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52775 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52776 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52777
52778 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52779
52780 # Extract the first word of "DeRez", so it can be a program name with args.
52781 set dummy DeRez; ac_word=$2
52782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52784 if test "${ac_cv_prog_DEREZ+set}" = set; then
52785 echo $ECHO_N "(cached) $ECHO_C" >&6
52786 else
52787 if test -n "$DEREZ"; then
52788 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52789 else
52790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52791 for as_dir in $PATH
52792 do
52793 IFS=$as_save_IFS
52794 test -z "$as_dir" && as_dir=.
52795 for ac_exec_ext in '' $ac_executable_extensions; do
52796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52797 ac_cv_prog_DEREZ="DeRez"
52798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52799 break 2
52800 fi
52801 done
52802 done
52803 IFS=$as_save_IFS
52804
52805 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52806 fi
52807 fi
52808 DEREZ=$ac_cv_prog_DEREZ
52809 if test -n "$DEREZ"; then
52810 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52811 echo "${ECHO_T}$DEREZ" >&6; }
52812 else
52813 { echo "$as_me:$LINENO: result: no" >&5
52814 echo "${ECHO_T}no" >&6; }
52815 fi
52816
52817
52818
52819 MACSETFILE="\$(SETFILE)"
52820
52821 if test "$wxUSE_MAC" = 1; then
52822 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52823 RESCOMP="$REZ"
52824 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52825 else
52826 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52827 RESCOMP="cat /dev/null \| $REZ"
52828 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52829 fi
52830
52831 else
52832 MACSETFILE="@true"
52833
52834 if test "$wxUSE_PM" = 1; then
52835 RESCOMP="emxbind"
52836 WXCONFIG_RESFLAGS="-ep"
52837
52838 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52839 else
52840 POSTLINK_COMMAND="@true"
52841 fi
52842 fi
52843
52844 fi
52845
52846
52847 if test $GCC_PCH = 1
52848 then
52849 if test "$wx_cv_gcc_pch_bug" = yes; then
52850 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52851 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52852 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52853 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52854 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52855 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52856 fi
52857
52858 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52859 fi
52860
52861
52862 if test "$wxUSE_MAC" = 1 ; then
52863 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52864 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52865 mv temp bk-deps
52866 chmod +x bk-deps
52867 fi
52868 fi
52869
52870 if test "$wxUSE_SHARED" = "yes"; then
52871
52872 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52873 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52874
52875 case "${host}" in
52876 *-pc-os2_emx | *-pc-os2-emx )
52877 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52878 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52879 cp -p ${srcdir}/src/os2/dllnames.sh .
52880 cp -p ${srcdir}/src/os2/dllar.sh .
52881 ;;
52882 esac
52883 else
52884
52885 EXE_LINKER="$CXX -o"
52886
52887 fi
52888 if test "$wxUSE_OMF" = "yes"; then
52889 case "${host}" in
52890 *-pc-os2_emx | *-pc-os2-emx )
52891 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52892 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52893 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52894 ;;
52895 esac
52896 fi
52897
52898 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52899
52900
52901 case "${host}" in
52902 *-*-solaris2* )
52903 if "$GCC" = yes; then
52904 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52905 LIBS=`echo $LIBS | sed 's/-mt//'`
52906 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52907 fi
52908 ;;
52909
52910 *-*-linux* )
52911 if test "x$SUNCXX" = xyes; then
52912 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52913 LIBS=`echo $LIBS | sed 's/-pthread//'`
52914 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52915 fi
52916 ;;
52917 esac
52918
52919 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52920 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52921
52922 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52923
52924
52925
52926
52927
52928
52929
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952
52953
52954
52955
52956
52957
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975
52976
52977
52978
52979
52980
52981
52982
52983
52984 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52985 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52986 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52987 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52988 echo $ECHO_N "(cached) $ECHO_C" >&6
52989 else
52990 cat >conftest.make <<\_ACEOF
52991 SHELL = /bin/sh
52992 all:
52993 @echo '@@@%%%=$(MAKE)=@@@%%%'
52994 _ACEOF
52995 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52996 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52997 *@@@%%%=?*=@@@%%%*)
52998 eval ac_cv_prog_make_${ac_make}_set=yes;;
52999 *)
53000 eval ac_cv_prog_make_${ac_make}_set=no;;
53001 esac
53002 rm -f conftest.make
53003 fi
53004 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53005 { echo "$as_me:$LINENO: result: yes" >&5
53006 echo "${ECHO_T}yes" >&6; }
53007 SET_MAKE=
53008 else
53009 { echo "$as_me:$LINENO: result: no" >&5
53010 echo "${ECHO_T}no" >&6; }
53011 SET_MAKE="MAKE=${MAKE-make}"
53012 fi
53013
53014
53015
53016 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53017
53018
53019 if test "$USE_WIN32" = 1; then
53020 ac_config_commands="$ac_config_commands
53021 rcdefs.h
53022 "
53023
53024 fi
53025
53026 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53027
53028
53029 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53030
53031
53032 if test "$wx_cv_version_script" = "yes"; then
53033 ac_config_files="$ac_config_files version-script"
53034
53035 fi
53036 ac_config_files="$ac_config_files Makefile"
53037
53038
53039 ac_config_commands="$ac_config_commands wx-config"
53040
53041
53042
53043 if test "$wxWITH_SUBDIRS" != "no"; then
53044 if test "$wxUSE_GUI" = "yes"; then
53045 SUBDIRS="samples demos utils"
53046 else SUBDIRS="samples utils"
53047 fi
53048
53049
53050
53051 # Check whether --with-cppunit-prefix was given.
53052 if test "${with_cppunit_prefix+set}" = set; then
53053 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53054 else
53055 cppunit_config_prefix=""
53056 fi
53057
53058
53059 # Check whether --with-cppunit-exec-prefix was given.
53060 if test "${with_cppunit_exec_prefix+set}" = set; then
53061 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53062 else
53063 cppunit_config_exec_prefix=""
53064 fi
53065
53066
53067 if test x$cppunit_config_exec_prefix != x ; then
53068 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53069 if test x${CPPUNIT_CONFIG+set} != xset ; then
53070 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53071 fi
53072 fi
53073 if test x$cppunit_config_prefix != x ; then
53074 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53075 if test x${CPPUNIT_CONFIG+set} != xset ; then
53076 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53077 fi
53078 fi
53079
53080 # Extract the first word of "cppunit-config", so it can be a program name with args.
53081 set dummy cppunit-config; ac_word=$2
53082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53084 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53085 echo $ECHO_N "(cached) $ECHO_C" >&6
53086 else
53087 case $CPPUNIT_CONFIG in
53088 [\\/]* | ?:[\\/]*)
53089 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53090 ;;
53091 *)
53092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53093 for as_dir in $PATH
53094 do
53095 IFS=$as_save_IFS
53096 test -z "$as_dir" && as_dir=.
53097 for ac_exec_ext in '' $ac_executable_extensions; do
53098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53099 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53101 break 2
53102 fi
53103 done
53104 done
53105 IFS=$as_save_IFS
53106
53107 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53108 ;;
53109 esac
53110 fi
53111 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53112 if test -n "$CPPUNIT_CONFIG"; then
53113 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53114 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53115 else
53116 { echo "$as_me:$LINENO: result: no" >&5
53117 echo "${ECHO_T}no" >&6; }
53118 fi
53119
53120
53121 cppunit_version_min=1.8.0
53122
53123 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53124 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53125 no_cppunit=""
53126 if test "$CPPUNIT_CONFIG" = "no" ; then
53127 { echo "$as_me:$LINENO: result: no" >&5
53128 echo "${ECHO_T}no" >&6; }
53129 no_cppunit=yes
53130 else
53131 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53132 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53133 cppunit_version=`$CPPUNIT_CONFIG --version`
53134
53135 cppunit_major_version=`echo $cppunit_version | \
53136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53137 cppunit_minor_version=`echo $cppunit_version | \
53138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53139 cppunit_micro_version=`echo $cppunit_version | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53141
53142 cppunit_major_min=`echo $cppunit_version_min | \
53143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53144 cppunit_minor_min=`echo $cppunit_version_min | \
53145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53146 cppunit_micro_min=`echo $cppunit_version_min | \
53147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53148
53149 cppunit_version_proper=`expr \
53150 $cppunit_major_version \> $cppunit_major_min \| \
53151 $cppunit_major_version \= $cppunit_major_min \& \
53152 $cppunit_minor_version \> $cppunit_minor_min \| \
53153 $cppunit_major_version \= $cppunit_major_min \& \
53154 $cppunit_minor_version \= $cppunit_minor_min \& \
53155 $cppunit_micro_version \>= $cppunit_micro_min `
53156
53157 if test "$cppunit_version_proper" = "1" ; then
53158 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53159 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53160 else
53161 { echo "$as_me:$LINENO: result: no" >&5
53162 echo "${ECHO_T}no" >&6; }
53163 no_cppunit=yes
53164 fi
53165 fi
53166
53167 if test "x$no_cppunit" = x ; then
53168 SUBDIRS="$SUBDIRS tests"
53169 else
53170 CPPUNIT_CFLAGS=""
53171 CPPUNIT_LIBS=""
53172 :
53173 fi
53174
53175
53176
53177
53178
53179 for subdir in `echo $SUBDIRS`; do
53180 if test -d ${srcdir}/${subdir} ; then
53181 if test "$wxUSE_GUI" = "yes"; then
53182 if test ${subdir} = "samples"; then
53183 makefiles="samples/Makefile.in $makefiles"
53184 for sample in `echo $SAMPLES_SUBDIRS`; do
53185 if test -d $srcdir/samples/$sample; then
53186 makefiles="samples/$sample/Makefile.in $makefiles"
53187 fi
53188 done
53189 else
53190 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53191 eval "disabled=\$$disabled_var"
53192 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53193 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53194 fi
53195 else if test ${subdir} = "samples"; then
53196 makefiles="samples/Makefile.in samples/console/Makefile.in"
53197 elif test ${subdir} = "utils"; then
53198 makefiles=""
53199 for util in HelpGen tex2rtf ; do
53200 if test -d $srcdir/utils/$util ; then
53201 makefiles="utils/$util/Makefile.in \
53202 utils/$util/src/Makefile.in \
53203 $makefiles"
53204 fi
53205 done
53206 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53207 fi
53208 fi
53209
53210 for mkin in $makefiles ; do
53211 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53212 ac_config_files="$ac_config_files $mk"
53213
53214 done
53215 fi
53216 done
53217 fi
53218 cat >confcache <<\_ACEOF
53219 # This file is a shell script that caches the results of configure
53220 # tests run on this system so they can be shared between configure
53221 # scripts and configure runs, see configure's option --config-cache.
53222 # It is not useful on other systems. If it contains results you don't
53223 # want to keep, you may remove or edit it.
53224 #
53225 # config.status only pays attention to the cache file if you give it
53226 # the --recheck option to rerun configure.
53227 #
53228 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53229 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53230 # following values.
53231
53232 _ACEOF
53233
53234 # The following way of writing the cache mishandles newlines in values,
53235 # but we know of no workaround that is simple, portable, and efficient.
53236 # So, we kill variables containing newlines.
53237 # Ultrix sh set writes to stderr and can't be redirected directly,
53238 # and sets the high bit in the cache file unless we assign to the vars.
53239 (
53240 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53241 eval ac_val=\$$ac_var
53242 case $ac_val in #(
53243 *${as_nl}*)
53244 case $ac_var in #(
53245 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53246 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53247 esac
53248 case $ac_var in #(
53249 _ | IFS | as_nl) ;; #(
53250 *) $as_unset $ac_var ;;
53251 esac ;;
53252 esac
53253 done
53254
53255 (set) 2>&1 |
53256 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53257 *${as_nl}ac_space=\ *)
53258 # `set' does not quote correctly, so add quotes (double-quote
53259 # substitution turns \\\\ into \\, and sed turns \\ into \).
53260 sed -n \
53261 "s/'/'\\\\''/g;
53262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53263 ;; #(
53264 *)
53265 # `set' quotes correctly as required by POSIX, so do not add quotes.
53266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53267 ;;
53268 esac |
53269 sort
53270 ) |
53271 sed '
53272 /^ac_cv_env_/b end
53273 t clear
53274 :clear
53275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53276 t end
53277 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53278 :end' >>confcache
53279 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53280 if test -w "$cache_file"; then
53281 test "x$cache_file" != "x/dev/null" &&
53282 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53283 echo "$as_me: updating cache $cache_file" >&6;}
53284 cat confcache >$cache_file
53285 else
53286 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53287 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53288 fi
53289 fi
53290 rm -f confcache
53291
53292 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53293 # Let make expand exec_prefix.
53294 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53295
53296 DEFS=-DHAVE_CONFIG_H
53297
53298 ac_libobjs=
53299 ac_ltlibobjs=
53300 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53301 # 1. Remove the extension, and $U if already installed.
53302 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53303 ac_i=`echo "$ac_i" | sed "$ac_script"`
53304 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53305 # will be set to the directory where LIBOBJS objects are built.
53306 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53307 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53308 done
53309 LIBOBJS=$ac_libobjs
53310
53311 LTLIBOBJS=$ac_ltlibobjs
53312
53313
53314
53315 : ${CONFIG_STATUS=./config.status}
53316 ac_clean_files_save=$ac_clean_files
53317 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53318 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53319 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53320 cat >$CONFIG_STATUS <<_ACEOF
53321 #! $SHELL
53322 # Generated by $as_me.
53323 # Run this file to recreate the current configuration.
53324 # Compiler output produced by configure, useful for debugging
53325 # configure, is in config.log if it exists.
53326
53327 debug=false
53328 ac_cs_recheck=false
53329 ac_cs_silent=false
53330 SHELL=\${CONFIG_SHELL-$SHELL}
53331 _ACEOF
53332
53333 cat >>$CONFIG_STATUS <<\_ACEOF
53334 ## --------------------- ##
53335 ## M4sh Initialization. ##
53336 ## --------------------- ##
53337
53338 # Be more Bourne compatible
53339 DUALCASE=1; export DUALCASE # for MKS sh
53340 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53341 emulate sh
53342 NULLCMD=:
53343 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53344 # is contrary to our usage. Disable this feature.
53345 alias -g '${1+"$@"}'='"$@"'
53346 setopt NO_GLOB_SUBST
53347 else
53348 case `(set -o) 2>/dev/null` in
53349 *posix*) set -o posix ;;
53350 esac
53351
53352 fi
53353
53354
53355
53356
53357 # PATH needs CR
53358 # Avoid depending upon Character Ranges.
53359 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53360 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53361 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53362 as_cr_digits='0123456789'
53363 as_cr_alnum=$as_cr_Letters$as_cr_digits
53364
53365 # The user is always right.
53366 if test "${PATH_SEPARATOR+set}" != set; then
53367 echo "#! /bin/sh" >conf$$.sh
53368 echo "exit 0" >>conf$$.sh
53369 chmod +x conf$$.sh
53370 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53371 PATH_SEPARATOR=';'
53372 else
53373 PATH_SEPARATOR=:
53374 fi
53375 rm -f conf$$.sh
53376 fi
53377
53378 # Support unset when possible.
53379 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53380 as_unset=unset
53381 else
53382 as_unset=false
53383 fi
53384
53385
53386 # IFS
53387 # We need space, tab and new line, in precisely that order. Quoting is
53388 # there to prevent editors from complaining about space-tab.
53389 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53390 # splitting by setting IFS to empty value.)
53391 as_nl='
53392 '
53393 IFS=" "" $as_nl"
53394
53395 # Find who we are. Look in the path if we contain no directory separator.
53396 case $0 in
53397 *[\\/]* ) as_myself=$0 ;;
53398 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53399 for as_dir in $PATH
53400 do
53401 IFS=$as_save_IFS
53402 test -z "$as_dir" && as_dir=.
53403 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53404 done
53405 IFS=$as_save_IFS
53406
53407 ;;
53408 esac
53409 # We did not find ourselves, most probably we were run as `sh COMMAND'
53410 # in which case we are not to be found in the path.
53411 if test "x$as_myself" = x; then
53412 as_myself=$0
53413 fi
53414 if test ! -f "$as_myself"; then
53415 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53416 { (exit 1); exit 1; }
53417 fi
53418
53419 # Work around bugs in pre-3.0 UWIN ksh.
53420 for as_var in ENV MAIL MAILPATH
53421 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53422 done
53423 PS1='$ '
53424 PS2='> '
53425 PS4='+ '
53426
53427 # NLS nuisances.
53428 for as_var in \
53429 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53430 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53431 LC_TELEPHONE LC_TIME
53432 do
53433 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53434 eval $as_var=C; export $as_var
53435 else
53436 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53437 fi
53438 done
53439
53440 # Required to use basename.
53441 if expr a : '\(a\)' >/dev/null 2>&1 &&
53442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53443 as_expr=expr
53444 else
53445 as_expr=false
53446 fi
53447
53448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53449 as_basename=basename
53450 else
53451 as_basename=false
53452 fi
53453
53454
53455 # Name of the executable.
53456 as_me=`$as_basename -- "$0" ||
53457 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53458 X"$0" : 'X\(//\)$' \| \
53459 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53460 echo X/"$0" |
53461 sed '/^.*\/\([^/][^/]*\)\/*$/{
53462 s//\1/
53463 q
53464 }
53465 /^X\/\(\/\/\)$/{
53466 s//\1/
53467 q
53468 }
53469 /^X\/\(\/\).*/{
53470 s//\1/
53471 q
53472 }
53473 s/.*/./; q'`
53474
53475 # CDPATH.
53476 $as_unset CDPATH
53477
53478
53479
53480 as_lineno_1=$LINENO
53481 as_lineno_2=$LINENO
53482 test "x$as_lineno_1" != "x$as_lineno_2" &&
53483 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53484
53485 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53486 # uniformly replaced by the line number. The first 'sed' inserts a
53487 # line-number line after each line using $LINENO; the second 'sed'
53488 # does the real work. The second script uses 'N' to pair each
53489 # line-number line with the line containing $LINENO, and appends
53490 # trailing '-' during substitution so that $LINENO is not a special
53491 # case at line end.
53492 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53493 # scripts with optimization help from Paolo Bonzini. Blame Lee
53494 # E. McMahon (1931-1989) for sed's syntax. :-)
53495 sed -n '
53496 p
53497 /[$]LINENO/=
53498 ' <$as_myself |
53499 sed '
53500 s/[$]LINENO.*/&-/
53501 t lineno
53502 b
53503 :lineno
53504 N
53505 :loop
53506 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53507 t loop
53508 s/-\n.*//
53509 ' >$as_me.lineno &&
53510 chmod +x "$as_me.lineno" ||
53511 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53512 { (exit 1); exit 1; }; }
53513
53514 # Don't try to exec as it changes $[0], causing all sort of problems
53515 # (the dirname of $[0] is not the place where we might find the
53516 # original and so on. Autoconf is especially sensitive to this).
53517 . "./$as_me.lineno"
53518 # Exit status is that of the last command.
53519 exit
53520 }
53521
53522
53523 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53524 as_dirname=dirname
53525 else
53526 as_dirname=false
53527 fi
53528
53529 ECHO_C= ECHO_N= ECHO_T=
53530 case `echo -n x` in
53531 -n*)
53532 case `echo 'x\c'` in
53533 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53534 *) ECHO_C='\c';;
53535 esac;;
53536 *)
53537 ECHO_N='-n';;
53538 esac
53539
53540 if expr a : '\(a\)' >/dev/null 2>&1 &&
53541 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53542 as_expr=expr
53543 else
53544 as_expr=false
53545 fi
53546
53547 rm -f conf$$ conf$$.exe conf$$.file
53548 if test -d conf$$.dir; then
53549 rm -f conf$$.dir/conf$$.file
53550 else
53551 rm -f conf$$.dir
53552 mkdir conf$$.dir
53553 fi
53554 echo >conf$$.file
53555 if ln -s conf$$.file conf$$ 2>/dev/null; then
53556 as_ln_s='ln -s'
53557 # ... but there are two gotchas:
53558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53560 # In both cases, we have to default to `cp -p'.
53561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53562 as_ln_s='cp -p'
53563 elif ln conf$$.file conf$$ 2>/dev/null; then
53564 as_ln_s=ln
53565 else
53566 as_ln_s='cp -p'
53567 fi
53568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53569 rmdir conf$$.dir 2>/dev/null
53570
53571 if mkdir -p . 2>/dev/null; then
53572 as_mkdir_p=:
53573 else
53574 test -d ./-p && rmdir ./-p
53575 as_mkdir_p=false
53576 fi
53577
53578 if test -x / >/dev/null 2>&1; then
53579 as_test_x='test -x'
53580 else
53581 if ls -dL / >/dev/null 2>&1; then
53582 as_ls_L_option=L
53583 else
53584 as_ls_L_option=
53585 fi
53586 as_test_x='
53587 eval sh -c '\''
53588 if test -d "$1"; then
53589 test -d "$1/.";
53590 else
53591 case $1 in
53592 -*)set "./$1";;
53593 esac;
53594 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53595 ???[sx]*):;;*)false;;esac;fi
53596 '\'' sh
53597 '
53598 fi
53599 as_executable_p=$as_test_x
53600
53601 # Sed expression to map a string onto a valid CPP name.
53602 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53603
53604 # Sed expression to map a string onto a valid variable name.
53605 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53606
53607
53608 exec 6>&1
53609
53610 # Save the log message, to keep $[0] and so on meaningful, and to
53611 # report actual input values of CONFIG_FILES etc. instead of their
53612 # values after options handling.
53613 ac_log="
53614 This file was extended by wxWidgets $as_me 2.9.0, which was
53615 generated by GNU Autoconf 2.61. Invocation command line was
53616
53617 CONFIG_FILES = $CONFIG_FILES
53618 CONFIG_HEADERS = $CONFIG_HEADERS
53619 CONFIG_LINKS = $CONFIG_LINKS
53620 CONFIG_COMMANDS = $CONFIG_COMMANDS
53621 $ $0 $@
53622
53623 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53624 "
53625
53626 _ACEOF
53627
53628 cat >>$CONFIG_STATUS <<_ACEOF
53629 # Files that config.status was made for.
53630 config_files="$ac_config_files"
53631 config_headers="$ac_config_headers"
53632 config_commands="$ac_config_commands"
53633
53634 _ACEOF
53635
53636 cat >>$CONFIG_STATUS <<\_ACEOF
53637 ac_cs_usage="\
53638 \`$as_me' instantiates files from templates according to the
53639 current configuration.
53640
53641 Usage: $0 [OPTIONS] [FILE]...
53642
53643 -h, --help print this help, then exit
53644 -V, --version print version number and configuration settings, then exit
53645 -q, --quiet do not print progress messages
53646 -d, --debug don't remove temporary files
53647 --recheck update $as_me by reconfiguring in the same conditions
53648 --file=FILE[:TEMPLATE]
53649 instantiate the configuration file FILE
53650 --header=FILE[:TEMPLATE]
53651 instantiate the configuration header FILE
53652
53653 Configuration files:
53654 $config_files
53655
53656 Configuration headers:
53657 $config_headers
53658
53659 Configuration commands:
53660 $config_commands
53661
53662 Report bugs to <bug-autoconf@gnu.org>."
53663
53664 _ACEOF
53665 cat >>$CONFIG_STATUS <<_ACEOF
53666 ac_cs_version="\\
53667 wxWidgets config.status 2.9.0
53668 configured by $0, generated by GNU Autoconf 2.61,
53669 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53670
53671 Copyright (C) 2006 Free Software Foundation, Inc.
53672 This config.status script is free software; the Free Software Foundation
53673 gives unlimited permission to copy, distribute and modify it."
53674
53675 ac_pwd='$ac_pwd'
53676 srcdir='$srcdir'
53677 INSTALL='$INSTALL'
53678 _ACEOF
53679
53680 cat >>$CONFIG_STATUS <<\_ACEOF
53681 # If no file are specified by the user, then we need to provide default
53682 # value. By we need to know if files were specified by the user.
53683 ac_need_defaults=:
53684 while test $# != 0
53685 do
53686 case $1 in
53687 --*=*)
53688 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53689 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53690 ac_shift=:
53691 ;;
53692 *)
53693 ac_option=$1
53694 ac_optarg=$2
53695 ac_shift=shift
53696 ;;
53697 esac
53698
53699 case $ac_option in
53700 # Handling of the options.
53701 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53702 ac_cs_recheck=: ;;
53703 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53704 echo "$ac_cs_version"; exit ;;
53705 --debug | --debu | --deb | --de | --d | -d )
53706 debug=: ;;
53707 --file | --fil | --fi | --f )
53708 $ac_shift
53709 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53710 ac_need_defaults=false;;
53711 --header | --heade | --head | --hea )
53712 $ac_shift
53713 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53714 ac_need_defaults=false;;
53715 --he | --h)
53716 # Conflict between --help and --header
53717 { echo "$as_me: error: ambiguous option: $1
53718 Try \`$0 --help' for more information." >&2
53719 { (exit 1); exit 1; }; };;
53720 --help | --hel | -h )
53721 echo "$ac_cs_usage"; exit ;;
53722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53723 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53724 ac_cs_silent=: ;;
53725
53726 # This is an error.
53727 -*) { echo "$as_me: error: unrecognized option: $1
53728 Try \`$0 --help' for more information." >&2
53729 { (exit 1); exit 1; }; } ;;
53730
53731 *) ac_config_targets="$ac_config_targets $1"
53732 ac_need_defaults=false ;;
53733
53734 esac
53735 shift
53736 done
53737
53738 ac_configure_extra_args=
53739
53740 if $ac_cs_silent; then
53741 exec 6>/dev/null
53742 ac_configure_extra_args="$ac_configure_extra_args --silent"
53743 fi
53744
53745 _ACEOF
53746 cat >>$CONFIG_STATUS <<_ACEOF
53747 if \$ac_cs_recheck; then
53748 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53749 CONFIG_SHELL=$SHELL
53750 export CONFIG_SHELL
53751 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53752 fi
53753
53754 _ACEOF
53755 cat >>$CONFIG_STATUS <<\_ACEOF
53756 exec 5>>config.log
53757 {
53758 echo
53759 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53760 ## Running $as_me. ##
53761 _ASBOX
53762 echo "$ac_log"
53763 } >&5
53764
53765 _ACEOF
53766 cat >>$CONFIG_STATUS <<_ACEOF
53767 #
53768 # INIT-COMMANDS
53769 #
53770
53771 CPP="$CPP"
53772 infile="$srcdir/include/wx/msw/genrcdefs.h"
53773 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53774
53775
53776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53777 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53778 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53779 LN_S="${LN_S}"
53780
53781
53782 _ACEOF
53783
53784 cat >>$CONFIG_STATUS <<\_ACEOF
53785
53786 # Handling of arguments.
53787 for ac_config_target in $ac_config_targets
53788 do
53789 case $ac_config_target in
53790 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53791 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53792 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53793 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53794 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53795 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53796 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53797 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53798
53799 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53800 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53801 { (exit 1); exit 1; }; };;
53802 esac
53803 done
53804
53805
53806 # If the user did not use the arguments to specify the items to instantiate,
53807 # then the envvar interface is used. Set only those that are not.
53808 # We use the long form for the default assignment because of an extremely
53809 # bizarre bug on SunOS 4.1.3.
53810 if $ac_need_defaults; then
53811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53812 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53814 fi
53815
53816 # Have a temporary directory for convenience. Make it in the build tree
53817 # simply because there is no reason against having it here, and in addition,
53818 # creating and moving files from /tmp can sometimes cause problems.
53819 # Hook for its removal unless debugging.
53820 # Note that there is a small window in which the directory will not be cleaned:
53821 # after its creation but before its name has been assigned to `$tmp'.
53822 $debug ||
53823 {
53824 tmp=
53825 trap 'exit_status=$?
53826 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53827 ' 0
53828 trap '{ (exit 1); exit 1; }' 1 2 13 15
53829 }
53830 # Create a (secure) tmp directory for tmp files.
53831
53832 {
53833 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53834 test -n "$tmp" && test -d "$tmp"
53835 } ||
53836 {
53837 tmp=./conf$$-$RANDOM
53838 (umask 077 && mkdir "$tmp")
53839 } ||
53840 {
53841 echo "$me: cannot create a temporary directory in ." >&2
53842 { (exit 1); exit 1; }
53843 }
53844
53845 #
53846 # Set up the sed scripts for CONFIG_FILES section.
53847 #
53848
53849 # No need to generate the scripts if there are no CONFIG_FILES.
53850 # This happens for instance when ./config.status config.h
53851 if test -n "$CONFIG_FILES"; then
53852
53853 _ACEOF
53854
53855
53856
53857 ac_delim='%!_!# '
53858 for ac_last_try in false false false false false :; do
53859 cat >conf$$subs.sed <<_ACEOF
53860 SHELL!$SHELL$ac_delim
53861 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53862 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53863 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53864 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53865 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53866 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53867 exec_prefix!$exec_prefix$ac_delim
53868 prefix!$prefix$ac_delim
53869 program_transform_name!$program_transform_name$ac_delim
53870 bindir!$bindir$ac_delim
53871 sbindir!$sbindir$ac_delim
53872 libexecdir!$libexecdir$ac_delim
53873 datarootdir!$datarootdir$ac_delim
53874 datadir!$datadir$ac_delim
53875 sysconfdir!$sysconfdir$ac_delim
53876 sharedstatedir!$sharedstatedir$ac_delim
53877 localstatedir!$localstatedir$ac_delim
53878 includedir!$includedir$ac_delim
53879 oldincludedir!$oldincludedir$ac_delim
53880 docdir!$docdir$ac_delim
53881 infodir!$infodir$ac_delim
53882 htmldir!$htmldir$ac_delim
53883 dvidir!$dvidir$ac_delim
53884 pdfdir!$pdfdir$ac_delim
53885 psdir!$psdir$ac_delim
53886 libdir!$libdir$ac_delim
53887 localedir!$localedir$ac_delim
53888 mandir!$mandir$ac_delim
53889 DEFS!$DEFS$ac_delim
53890 ECHO_C!$ECHO_C$ac_delim
53891 ECHO_N!$ECHO_N$ac_delim
53892 ECHO_T!$ECHO_T$ac_delim
53893 LIBS!$LIBS$ac_delim
53894 build_alias!$build_alias$ac_delim
53895 host_alias!$host_alias$ac_delim
53896 target_alias!$target_alias$ac_delim
53897 build!$build$ac_delim
53898 build_cpu!$build_cpu$ac_delim
53899 build_vendor!$build_vendor$ac_delim
53900 build_os!$build_os$ac_delim
53901 host!$host$ac_delim
53902 host_cpu!$host_cpu$ac_delim
53903 host_vendor!$host_vendor$ac_delim
53904 host_os!$host_os$ac_delim
53905 target!$target$ac_delim
53906 target_cpu!$target_cpu$ac_delim
53907 target_vendor!$target_vendor$ac_delim
53908 target_os!$target_os$ac_delim
53909 wx_top_builddir!$wx_top_builddir$ac_delim
53910 CC!$CC$ac_delim
53911 CFLAGS!$CFLAGS$ac_delim
53912 LDFLAGS!$LDFLAGS$ac_delim
53913 CPPFLAGS!$CPPFLAGS$ac_delim
53914 ac_ct_CC!$ac_ct_CC$ac_delim
53915 EXEEXT!$EXEEXT$ac_delim
53916 OBJEXT!$OBJEXT$ac_delim
53917 CPP!$CPP$ac_delim
53918 GREP!$GREP$ac_delim
53919 EGREP!$EGREP$ac_delim
53920 CXX!$CXX$ac_delim
53921 CXXFLAGS!$CXXFLAGS$ac_delim
53922 ac_ct_CXX!$ac_ct_CXX$ac_delim
53923 AR!$AR$ac_delim
53924 subdirs!$subdirs$ac_delim
53925 PKG_CONFIG!$PKG_CONFIG$ac_delim
53926 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53927 GTK_LIBS!$GTK_LIBS$ac_delim
53928 GTK_CONFIG!$GTK_CONFIG$ac_delim
53929 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53930 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53931 XMKMF!$XMKMF$ac_delim
53932 X_CFLAGS!$X_CFLAGS$ac_delim
53933 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53934 X_LIBS!$X_LIBS$ac_delim
53935 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53936 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53937 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53938 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53939 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53940 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53941 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53942 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53943 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53944 LIBICONV!$LIBICONV$ac_delim
53945 SDL_CONFIG!$SDL_CONFIG$ac_delim
53946 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53947 SDL_LIBS!$SDL_LIBS$ac_delim
53948 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53949 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53950 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53951 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53952 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53953 HILDON_LIBS!$HILDON_LIBS$ac_delim
53954 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53955 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53956 GST_CFLAGS!$GST_CFLAGS$ac_delim
53957 _ACEOF
53958
53959 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53960 break
53961 elif $ac_last_try; then
53962 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53963 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53964 { (exit 1); exit 1; }; }
53965 else
53966 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53967 fi
53968 done
53969
53970 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53971 if test -n "$ac_eof"; then
53972 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53973 ac_eof=`expr $ac_eof + 1`
53974 fi
53975
53976 cat >>$CONFIG_STATUS <<_ACEOF
53977 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53979 _ACEOF
53980 sed '
53981 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53982 s/^/s,@/; s/!/@,|#_!!_#|/
53983 :n
53984 t n
53985 s/'"$ac_delim"'$/,g/; t
53986 s/$/\\/; p
53987 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53988 ' >>$CONFIG_STATUS <conf$$subs.sed
53989 rm -f conf$$subs.sed
53990 cat >>$CONFIG_STATUS <<_ACEOF
53991 CEOF$ac_eof
53992 _ACEOF
53993
53994
53995 ac_delim='%!_!# '
53996 for ac_last_try in false false false false false :; do
53997 cat >conf$$subs.sed <<_ACEOF
53998 GST_LIBS!$GST_LIBS$ac_delim
53999 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54000 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54001 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54002 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54003 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54004 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54005 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54006 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54007 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54008 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54009 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54010 VENDOR!$VENDOR$ac_delim
54011 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54012 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54013 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54014 WXUNIV!$WXUNIV$ac_delim
54015 MONOLITHIC!$MONOLITHIC$ac_delim
54016 USE_PLUGINS!$USE_PLUGINS$ac_delim
54017 CXXWARNINGS!$CXXWARNINGS$ac_delim
54018 EXTRALIBS!$EXTRALIBS$ac_delim
54019 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54020 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54021 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54022 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54023 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54024 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54025 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54026 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54027 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54028 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54029 UNICODE!$UNICODE$ac_delim
54030 BUILD!$BUILD$ac_delim
54031 DEBUG_INFO!$DEBUG_INFO$ac_delim
54032 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54033 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54034 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54035 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54036 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54037 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54038 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54039 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54040 RANLIB!$RANLIB$ac_delim
54041 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54042 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54043 INSTALL_DATA!$INSTALL_DATA$ac_delim
54044 LN_S!$LN_S$ac_delim
54045 SET_MAKE!$SET_MAKE$ac_delim
54046 MAKE_SET!$MAKE_SET$ac_delim
54047 AROPTIONS!$AROPTIONS$ac_delim
54048 STRIP!$STRIP$ac_delim
54049 NM!$NM$ac_delim
54050 INSTALL_DIR!$INSTALL_DIR$ac_delim
54051 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54052 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54053 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54054 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54055 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54056 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54057 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54058 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54059 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54060 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54061 SO_SUFFIX!$SO_SUFFIX$ac_delim
54062 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54063 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54064 LIBPREFIX!$LIBPREFIX$ac_delim
54065 LIBEXT!$LIBEXT$ac_delim
54066 DLLPREFIX!$DLLPREFIX$ac_delim
54067 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54068 dlldir!$dlldir$ac_delim
54069 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54070 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54071 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54072 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54073 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54074 PIC_FLAG!$PIC_FLAG$ac_delim
54075 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54076 USE_SOVERSION!$USE_SOVERSION$ac_delim
54077 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54078 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54079 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54080 USE_MACVERSION!$USE_MACVERSION$ac_delim
54081 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54082 SONAME_FLAG!$SONAME_FLAG$ac_delim
54083 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54084 BK_DEPS!$BK_DEPS$ac_delim
54085 WINDRES!$WINDRES$ac_delim
54086 REZ!$REZ$ac_delim
54087 SETFILE!$SETFILE$ac_delim
54088 GCC_PCH!$GCC_PCH$ac_delim
54089 ICC_PCH!$ICC_PCH$ac_delim
54090 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54091 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54092 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54093 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54094 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54095 _ACEOF
54096
54097 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54098 break
54099 elif $ac_last_try; then
54100 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54101 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54102 { (exit 1); exit 1; }; }
54103 else
54104 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54105 fi
54106 done
54107
54108 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54109 if test -n "$ac_eof"; then
54110 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54111 ac_eof=`expr $ac_eof + 1`
54112 fi
54113
54114 cat >>$CONFIG_STATUS <<_ACEOF
54115 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54117 _ACEOF
54118 sed '
54119 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54120 s/^/s,@/; s/!/@,|#_!!_#|/
54121 :n
54122 t n
54123 s/'"$ac_delim"'$/,g/; t
54124 s/$/\\/; p
54125 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54126 ' >>$CONFIG_STATUS <conf$$subs.sed
54127 rm -f conf$$subs.sed
54128 cat >>$CONFIG_STATUS <<_ACEOF
54129 CEOF$ac_eof
54130 _ACEOF
54131
54132
54133 ac_delim='%!_!# '
54134 for ac_last_try in false false false false false :; do
54135 cat >conf$$subs.sed <<_ACEOF
54136 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54137 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54138 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54139 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54140 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54141 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54142 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54143 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54144 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54145 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54146 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54147 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54148 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54149 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54150 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54151 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54152 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54153 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54154 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54155 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54156 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54157 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54158 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54164 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54165 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54166 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54167 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54168 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54169 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54170 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54171 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54172 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54173 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54174 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54175 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54176 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54177 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54178 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54179 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54180 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54181 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54182 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54183 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54184 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54185 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54186 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54187 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54188 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54189 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54190 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54191 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54192 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54193 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54194 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54195 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54196 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54197 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54198 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54199 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54200 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54201 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54202 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54203 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54204 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54205 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54206 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54207 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54208 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54209 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54210 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54211 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54212 COND_SHARED_0!$COND_SHARED_0$ac_delim
54213 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54214 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54215 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54216 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54217 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54218 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54219 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54220 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54221 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54222 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54223 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54224 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54225 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54226 COND_SHARED_1!$COND_SHARED_1$ac_delim
54227 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54228 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54229 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54230 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54231 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54232 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54233 _ACEOF
54234
54235 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54236 break
54237 elif $ac_last_try; then
54238 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54239 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54240 { (exit 1); exit 1; }; }
54241 else
54242 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54243 fi
54244 done
54245
54246 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54247 if test -n "$ac_eof"; then
54248 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54249 ac_eof=`expr $ac_eof + 1`
54250 fi
54251
54252 cat >>$CONFIG_STATUS <<_ACEOF
54253 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54254 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54255 _ACEOF
54256 sed '
54257 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54258 s/^/s,@/; s/!/@,|#_!!_#|/
54259 :n
54260 t n
54261 s/'"$ac_delim"'$/,g/; t
54262 s/$/\\/; p
54263 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54264 ' >>$CONFIG_STATUS <conf$$subs.sed
54265 rm -f conf$$subs.sed
54266 cat >>$CONFIG_STATUS <<_ACEOF
54267 CEOF$ac_eof
54268 _ACEOF
54269
54270
54271 ac_delim='%!_!# '
54272 for ac_last_try in false false false false false :; do
54273 cat >conf$$subs.sed <<_ACEOF
54274 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54275 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54276 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54278 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54281 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54282 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54283 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54284 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54285 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54286 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54287 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54288 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54289 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54290 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54291 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54292 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54293 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54296 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54297 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54298 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54299 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54300 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54301 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54302 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54303 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54304 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54305 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54306 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54307 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54308 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54309 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54310 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54311 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54312 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54313 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54314 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54315 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54316 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54317 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54318 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54319 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54320 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54321 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54322 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54323 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54324 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54325 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54326 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54327 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54328 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54329 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54330 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54331 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54332 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54333 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54334 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54335 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54336 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54337 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54338 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54339 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54340 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54341 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54342 DEREZ!$DEREZ$ac_delim
54343 SHARED!$SHARED$ac_delim
54344 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54345 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54346 USE_GUI!$USE_GUI$ac_delim
54347 AFMINSTALL!$AFMINSTALL$ac_delim
54348 WIN32INSTALL!$WIN32INSTALL$ac_delim
54349 TOOLKIT!$TOOLKIT$ac_delim
54350 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54351 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54352 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54353 cross_compiling!$cross_compiling$ac_delim
54354 WIDGET_SET!$WIDGET_SET$ac_delim
54355 WX_RELEASE!$WX_RELEASE$ac_delim
54356 WX_VERSION!$WX_VERSION$ac_delim
54357 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54358 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54359 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54360 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54361 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54362 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54363 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54364 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54365 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54366 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54367 EXE_LINKER!$EXE_LINKER$ac_delim
54368 GUIDIST!$GUIDIST$ac_delim
54369 DISTDIR!$DISTDIR$ac_delim
54370 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54371 _ACEOF
54372
54373 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54374 break
54375 elif $ac_last_try; then
54376 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54377 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54378 { (exit 1); exit 1; }; }
54379 else
54380 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54381 fi
54382 done
54383
54384 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54385 if test -n "$ac_eof"; then
54386 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54387 ac_eof=`expr $ac_eof + 1`
54388 fi
54389
54390 cat >>$CONFIG_STATUS <<_ACEOF
54391 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54393 _ACEOF
54394 sed '
54395 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54396 s/^/s,@/; s/!/@,|#_!!_#|/
54397 :n
54398 t n
54399 s/'"$ac_delim"'$/,g/; t
54400 s/$/\\/; p
54401 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54402 ' >>$CONFIG_STATUS <conf$$subs.sed
54403 rm -f conf$$subs.sed
54404 cat >>$CONFIG_STATUS <<_ACEOF
54405 CEOF$ac_eof
54406 _ACEOF
54407
54408
54409 ac_delim='%!_!# '
54410 for ac_last_try in false false false false false :; do
54411 cat >conf$$subs.sed <<_ACEOF
54412 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54413 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54414 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54415 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54416 RESCOMP!$RESCOMP$ac_delim
54417 RESFLAGS!$RESFLAGS$ac_delim
54418 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54419 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54420 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54421 LIBWXMACRES!$LIBWXMACRES$ac_delim
54422 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54423 MACSETFILE!$MACSETFILE$ac_delim
54424 GCC!$GCC$ac_delim
54425 DLLTOOL!$DLLTOOL$ac_delim
54426 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54427 LIBOBJS!$LIBOBJS$ac_delim
54428 LTLIBOBJS!$LTLIBOBJS$ac_delim
54429 _ACEOF
54430
54431 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54432 break
54433 elif $ac_last_try; then
54434 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54435 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54436 { (exit 1); exit 1; }; }
54437 else
54438 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54439 fi
54440 done
54441
54442 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54443 if test -n "$ac_eof"; then
54444 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54445 ac_eof=`expr $ac_eof + 1`
54446 fi
54447
54448 cat >>$CONFIG_STATUS <<_ACEOF
54449 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54450 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54451 _ACEOF
54452 sed '
54453 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54454 s/^/s,@/; s/!/@,|#_!!_#|/
54455 :n
54456 t n
54457 s/'"$ac_delim"'$/,g/; t
54458 s/$/\\/; p
54459 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54460 ' >>$CONFIG_STATUS <conf$$subs.sed
54461 rm -f conf$$subs.sed
54462 cat >>$CONFIG_STATUS <<_ACEOF
54463 :end
54464 s/|#_!!_#|//g
54465 CEOF$ac_eof
54466 _ACEOF
54467
54468
54469 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54470 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54471 # trailing colons and then remove the whole line if VPATH becomes empty
54472 # (actually we leave an empty line to preserve line numbers).
54473 if test "x$srcdir" = x.; then
54474 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54475 s/:*\$(srcdir):*/:/
54476 s/:*\${srcdir}:*/:/
54477 s/:*@srcdir@:*/:/
54478 s/^\([^=]*=[ ]*\):*/\1/
54479 s/:*$//
54480 s/^[^=]*=[ ]*$//
54481 }'
54482 fi
54483
54484 cat >>$CONFIG_STATUS <<\_ACEOF
54485 fi # test -n "$CONFIG_FILES"
54486
54487
54488 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54489 do
54490 case $ac_tag in
54491 :[FHLC]) ac_mode=$ac_tag; continue;;
54492 esac
54493 case $ac_mode$ac_tag in
54494 :[FHL]*:*);;
54495 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54496 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54497 { (exit 1); exit 1; }; };;
54498 :[FH]-) ac_tag=-:-;;
54499 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54500 esac
54501 ac_save_IFS=$IFS
54502 IFS=:
54503 set x $ac_tag
54504 IFS=$ac_save_IFS
54505 shift
54506 ac_file=$1
54507 shift
54508
54509 case $ac_mode in
54510 :L) ac_source=$1;;
54511 :[FH])
54512 ac_file_inputs=
54513 for ac_f
54514 do
54515 case $ac_f in
54516 -) ac_f="$tmp/stdin";;
54517 *) # Look for the file first in the build tree, then in the source tree
54518 # (if the path is not absolute). The absolute path cannot be DOS-style,
54519 # because $ac_f cannot contain `:'.
54520 test -f "$ac_f" ||
54521 case $ac_f in
54522 [\\/$]*) false;;
54523 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54524 esac ||
54525 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54526 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54527 { (exit 1); exit 1; }; };;
54528 esac
54529 ac_file_inputs="$ac_file_inputs $ac_f"
54530 done
54531
54532 # Let's still pretend it is `configure' which instantiates (i.e., don't
54533 # use $as_me), people would be surprised to read:
54534 # /* config.h. Generated by config.status. */
54535 configure_input="Generated from "`IFS=:
54536 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54537 if test x"$ac_file" != x-; then
54538 configure_input="$ac_file. $configure_input"
54539 { echo "$as_me:$LINENO: creating $ac_file" >&5
54540 echo "$as_me: creating $ac_file" >&6;}
54541 fi
54542
54543 case $ac_tag in
54544 *:-:* | *:-) cat >"$tmp/stdin";;
54545 esac
54546 ;;
54547 esac
54548
54549 ac_dir=`$as_dirname -- "$ac_file" ||
54550 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54551 X"$ac_file" : 'X\(//\)[^/]' \| \
54552 X"$ac_file" : 'X\(//\)$' \| \
54553 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54554 echo X"$ac_file" |
54555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54556 s//\1/
54557 q
54558 }
54559 /^X\(\/\/\)[^/].*/{
54560 s//\1/
54561 q
54562 }
54563 /^X\(\/\/\)$/{
54564 s//\1/
54565 q
54566 }
54567 /^X\(\/\).*/{
54568 s//\1/
54569 q
54570 }
54571 s/.*/./; q'`
54572 { as_dir="$ac_dir"
54573 case $as_dir in #(
54574 -*) as_dir=./$as_dir;;
54575 esac
54576 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54577 as_dirs=
54578 while :; do
54579 case $as_dir in #(
54580 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54581 *) as_qdir=$as_dir;;
54582 esac
54583 as_dirs="'$as_qdir' $as_dirs"
54584 as_dir=`$as_dirname -- "$as_dir" ||
54585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54586 X"$as_dir" : 'X\(//\)[^/]' \| \
54587 X"$as_dir" : 'X\(//\)$' \| \
54588 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54589 echo X"$as_dir" |
54590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54591 s//\1/
54592 q
54593 }
54594 /^X\(\/\/\)[^/].*/{
54595 s//\1/
54596 q
54597 }
54598 /^X\(\/\/\)$/{
54599 s//\1/
54600 q
54601 }
54602 /^X\(\/\).*/{
54603 s//\1/
54604 q
54605 }
54606 s/.*/./; q'`
54607 test -d "$as_dir" && break
54608 done
54609 test -z "$as_dirs" || eval "mkdir $as_dirs"
54610 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54611 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54612 { (exit 1); exit 1; }; }; }
54613 ac_builddir=.
54614
54615 case "$ac_dir" in
54616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54617 *)
54618 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54619 # A ".." for each directory in $ac_dir_suffix.
54620 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54621 case $ac_top_builddir_sub in
54622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54624 esac ;;
54625 esac
54626 ac_abs_top_builddir=$ac_pwd
54627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54628 # for backward compatibility:
54629 ac_top_builddir=$ac_top_build_prefix
54630
54631 case $srcdir in
54632 .) # We are building in place.
54633 ac_srcdir=.
54634 ac_top_srcdir=$ac_top_builddir_sub
54635 ac_abs_top_srcdir=$ac_pwd ;;
54636 [\\/]* | ?:[\\/]* ) # Absolute name.
54637 ac_srcdir=$srcdir$ac_dir_suffix;
54638 ac_top_srcdir=$srcdir
54639 ac_abs_top_srcdir=$srcdir ;;
54640 *) # Relative name.
54641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54642 ac_top_srcdir=$ac_top_build_prefix$srcdir
54643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54644 esac
54645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54646
54647
54648 case $ac_mode in
54649 :F)
54650 #
54651 # CONFIG_FILE
54652 #
54653
54654 case $INSTALL in
54655 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54656 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54657 esac
54658 _ACEOF
54659
54660 cat >>$CONFIG_STATUS <<\_ACEOF
54661 # If the template does not know about datarootdir, expand it.
54662 # FIXME: This hack should be removed a few years after 2.60.
54663 ac_datarootdir_hack=; ac_datarootdir_seen=
54664
54665 case `sed -n '/datarootdir/ {
54666 p
54667 q
54668 }
54669 /@datadir@/p
54670 /@docdir@/p
54671 /@infodir@/p
54672 /@localedir@/p
54673 /@mandir@/p
54674 ' $ac_file_inputs` in
54675 *datarootdir*) ac_datarootdir_seen=yes;;
54676 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54677 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54678 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54679 _ACEOF
54680 cat >>$CONFIG_STATUS <<_ACEOF
54681 ac_datarootdir_hack='
54682 s&@datadir@&$datadir&g
54683 s&@docdir@&$docdir&g
54684 s&@infodir@&$infodir&g
54685 s&@localedir@&$localedir&g
54686 s&@mandir@&$mandir&g
54687 s&\\\${datarootdir}&$datarootdir&g' ;;
54688 esac
54689 _ACEOF
54690
54691 # Neutralize VPATH when `$srcdir' = `.'.
54692 # Shell code in configure.ac might set extrasub.
54693 # FIXME: do we really want to maintain this feature?
54694 cat >>$CONFIG_STATUS <<_ACEOF
54695 sed "$ac_vpsub
54696 $extrasub
54697 _ACEOF
54698 cat >>$CONFIG_STATUS <<\_ACEOF
54699 :t
54700 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54701 s&@configure_input@&$configure_input&;t t
54702 s&@top_builddir@&$ac_top_builddir_sub&;t t
54703 s&@srcdir@&$ac_srcdir&;t t
54704 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54705 s&@top_srcdir@&$ac_top_srcdir&;t t
54706 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54707 s&@builddir@&$ac_builddir&;t t
54708 s&@abs_builddir@&$ac_abs_builddir&;t t
54709 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54710 s&@INSTALL@&$ac_INSTALL&;t t
54711 $ac_datarootdir_hack
54712 " $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
54713
54714 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54715 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54717 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54718 which seems to be undefined. Please make sure it is defined." >&5
54719 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54720 which seems to be undefined. Please make sure it is defined." >&2;}
54721
54722 rm -f "$tmp/stdin"
54723 case $ac_file in
54724 -) cat "$tmp/out"; rm -f "$tmp/out";;
54725 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54726 esac
54727 ;;
54728 :H)
54729 #
54730 # CONFIG_HEADER
54731 #
54732 _ACEOF
54733
54734 # Transform confdefs.h into a sed script `conftest.defines', that
54735 # substitutes the proper values into config.h.in to produce config.h.
54736 rm -f conftest.defines conftest.tail
54737 # First, append a space to every undef/define line, to ease matching.
54738 echo 's/$/ /' >conftest.defines
54739 # Then, protect against being on the right side of a sed subst, or in
54740 # an unquoted here document, in config.status. If some macros were
54741 # called several times there might be several #defines for the same
54742 # symbol, which is useless. But do not sort them, since the last
54743 # AC_DEFINE must be honored.
54744 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54745 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54746 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54747 # PARAMS is the parameter list in the macro definition--in most cases, it's
54748 # just an empty string.
54749 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54750 ac_dB='\\)[ (].*,\\1define\\2'
54751 ac_dC=' '
54752 ac_dD=' ,'
54753
54754 uniq confdefs.h |
54755 sed -n '
54756 t rset
54757 :rset
54758 s/^[ ]*#[ ]*define[ ][ ]*//
54759 t ok
54760 d
54761 :ok
54762 s/[\\&,]/\\&/g
54763 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54764 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54765 ' >>conftest.defines
54766
54767 # Remove the space that was appended to ease matching.
54768 # Then replace #undef with comments. This is necessary, for
54769 # example, in the case of _POSIX_SOURCE, which is predefined and required
54770 # on some systems where configure will not decide to define it.
54771 # (The regexp can be short, since the line contains either #define or #undef.)
54772 echo 's/ $//
54773 s,^[ #]*u.*,/* & */,' >>conftest.defines
54774
54775 # Break up conftest.defines:
54776 ac_max_sed_lines=50
54777
54778 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54779 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54780 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54781 # et cetera.
54782 ac_in='$ac_file_inputs'
54783 ac_out='"$tmp/out1"'
54784 ac_nxt='"$tmp/out2"'
54785
54786 while :
54787 do
54788 # Write a here document:
54789 cat >>$CONFIG_STATUS <<_ACEOF
54790 # First, check the format of the line:
54791 cat >"\$tmp/defines.sed" <<\\CEOF
54792 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54793 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54794 b
54795 :def
54796 _ACEOF
54797 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54798 echo 'CEOF
54799 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54800 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54801 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54802 grep . conftest.tail >/dev/null || break
54803 rm -f conftest.defines
54804 mv conftest.tail conftest.defines
54805 done
54806 rm -f conftest.defines conftest.tail
54807
54808 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54809 cat >>$CONFIG_STATUS <<\_ACEOF
54810 if test x"$ac_file" != x-; then
54811 echo "/* $configure_input */" >"$tmp/config.h"
54812 cat "$ac_result" >>"$tmp/config.h"
54813 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54814 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54815 echo "$as_me: $ac_file is unchanged" >&6;}
54816 else
54817 rm -f $ac_file
54818 mv "$tmp/config.h" $ac_file
54819 fi
54820 else
54821 echo "/* $configure_input */"
54822 cat "$ac_result"
54823 fi
54824 rm -f "$tmp/out12"
54825 ;;
54826
54827 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54828 echo "$as_me: executing $ac_file commands" >&6;}
54829 ;;
54830 esac
54831
54832
54833 case $ac_file$ac_mode in
54834 "rcdefs.h":C)
54835 mkdir -p $outdir &&
54836 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54837 ;;
54838 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54839 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54840 "wx-config":C) rm -f wx-config
54841 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54842 ;;
54843
54844 esac
54845 done # for ac_tag
54846
54847
54848 { (exit 0); exit 0; }
54849 _ACEOF
54850 chmod +x $CONFIG_STATUS
54851 ac_clean_files=$ac_clean_files_save
54852
54853
54854 # configure is writing to config.log, and then calls config.status.
54855 # config.status does its own redirection, appending to config.log.
54856 # Unfortunately, on DOS this fails, as config.log is still kept open
54857 # by configure, so config.status won't be able to write to it; its
54858 # output is simply discarded. So we exec the FD to /dev/null,
54859 # effectively closing config.log, so it can be properly (re)opened and
54860 # appended to by config.status. When coming back to configure, we
54861 # need to make the FD available again.
54862 if test "$no_create" != yes; then
54863 ac_cs_success=:
54864 ac_config_status_args=
54865 test "$silent" = yes &&
54866 ac_config_status_args="$ac_config_status_args --quiet"
54867 exec 5>/dev/null
54868 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54869 exec 5>>config.log
54870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54871 # would make configure fail if this is the last instruction.
54872 $ac_cs_success || { (exit 1); exit 1; }
54873 fi
54874
54875 #
54876 # CONFIG_SUBDIRS section.
54877 #
54878 if test "$no_recursion" != yes; then
54879
54880 # Remove --cache-file and --srcdir arguments so they do not pile up.
54881 ac_sub_configure_args=
54882 ac_prev=
54883 eval "set x $ac_configure_args"
54884 shift
54885 for ac_arg
54886 do
54887 if test -n "$ac_prev"; then
54888 ac_prev=
54889 continue
54890 fi
54891 case $ac_arg in
54892 -cache-file | --cache-file | --cache-fil | --cache-fi \
54893 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54894 ac_prev=cache_file ;;
54895 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54896 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54897 | --c=*)
54898 ;;
54899 --config-cache | -C)
54900 ;;
54901 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54902 ac_prev=srcdir ;;
54903 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54904 ;;
54905 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54906 ac_prev=prefix ;;
54907 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54908 ;;
54909 *)
54910 case $ac_arg in
54911 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54912 esac
54913 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54914 esac
54915 done
54916
54917 # Always prepend --prefix to ensure using the same prefix
54918 # in subdir configurations.
54919 ac_arg="--prefix=$prefix"
54920 case $ac_arg in
54921 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54922 esac
54923 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54924
54925 # Pass --silent
54926 if test "$silent" = yes; then
54927 ac_sub_configure_args="--silent $ac_sub_configure_args"
54928 fi
54929
54930 ac_popdir=`pwd`
54931 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54932
54933 # Do not complain, so a configure script can configure whichever
54934 # parts of a large source tree are present.
54935 test -d "$srcdir/$ac_dir" || continue
54936
54937 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54938 echo "$as_me:$LINENO: $ac_msg" >&5
54939 echo "$ac_msg" >&6
54940 { as_dir="$ac_dir"
54941 case $as_dir in #(
54942 -*) as_dir=./$as_dir;;
54943 esac
54944 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54945 as_dirs=
54946 while :; do
54947 case $as_dir in #(
54948 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54949 *) as_qdir=$as_dir;;
54950 esac
54951 as_dirs="'$as_qdir' $as_dirs"
54952 as_dir=`$as_dirname -- "$as_dir" ||
54953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54954 X"$as_dir" : 'X\(//\)[^/]' \| \
54955 X"$as_dir" : 'X\(//\)$' \| \
54956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54957 echo X"$as_dir" |
54958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54959 s//\1/
54960 q
54961 }
54962 /^X\(\/\/\)[^/].*/{
54963 s//\1/
54964 q
54965 }
54966 /^X\(\/\/\)$/{
54967 s//\1/
54968 q
54969 }
54970 /^X\(\/\).*/{
54971 s//\1/
54972 q
54973 }
54974 s/.*/./; q'`
54975 test -d "$as_dir" && break
54976 done
54977 test -z "$as_dirs" || eval "mkdir $as_dirs"
54978 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54979 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54980 { (exit 1); exit 1; }; }; }
54981 ac_builddir=.
54982
54983 case "$ac_dir" in
54984 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54985 *)
54986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54987 # A ".." for each directory in $ac_dir_suffix.
54988 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54989 case $ac_top_builddir_sub in
54990 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54991 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54992 esac ;;
54993 esac
54994 ac_abs_top_builddir=$ac_pwd
54995 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54996 # for backward compatibility:
54997 ac_top_builddir=$ac_top_build_prefix
54998
54999 case $srcdir in
55000 .) # We are building in place.
55001 ac_srcdir=.
55002 ac_top_srcdir=$ac_top_builddir_sub
55003 ac_abs_top_srcdir=$ac_pwd ;;
55004 [\\/]* | ?:[\\/]* ) # Absolute name.
55005 ac_srcdir=$srcdir$ac_dir_suffix;
55006 ac_top_srcdir=$srcdir
55007 ac_abs_top_srcdir=$srcdir ;;
55008 *) # Relative name.
55009 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55010 ac_top_srcdir=$ac_top_build_prefix$srcdir
55011 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55012 esac
55013 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55014
55015
55016 cd "$ac_dir"
55017
55018 # Check for guested configure; otherwise get Cygnus style configure.
55019 if test -f "$ac_srcdir/configure.gnu"; then
55020 ac_sub_configure=$ac_srcdir/configure.gnu
55021 elif test -f "$ac_srcdir/configure"; then
55022 ac_sub_configure=$ac_srcdir/configure
55023 elif test -f "$ac_srcdir/configure.in"; then
55024 # This should be Cygnus configure.
55025 ac_sub_configure=$ac_aux_dir/configure
55026 else
55027 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55028 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55029 ac_sub_configure=
55030 fi
55031
55032 # The recursion is here.
55033 if test -n "$ac_sub_configure"; then
55034 # Make the cache file name correct relative to the subdirectory.
55035 case $cache_file in
55036 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55037 *) # Relative name.
55038 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55039 esac
55040
55041 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55042 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55043 # The eval makes quoting arguments work.
55044 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55045 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55046 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55047 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55048 { (exit 1); exit 1; }; }
55049 fi
55050
55051 cd "$ac_popdir"
55052 done
55053 fi
55054
55055
55056 echo
55057 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55058 echo ""
55059 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55060 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55061
55062 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55063 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55064 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55065 if test "$wxUSE_UNICODE" = "yes"; then
55066 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55067 echo " (using UTF-8)"
55068 else
55069 echo " (using wchar_t)"
55070 fi
55071 else
55072 echo
55073 fi
55074
55075 echo " What level of wxWidgets compatibility should be enabled?"
55076 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55077 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55078
55079 echo " Which libraries should wxWidgets use?"
55080 echo " STL ${wxUSE_STL}"
55081 echo " jpeg ${wxUSE_LIBJPEG-none}"
55082 echo " png ${wxUSE_LIBPNG-none}"
55083 echo " regex ${wxUSE_REGEX}"
55084 echo " tiff ${wxUSE_LIBTIFF-none}"
55085 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55086 echo " xpm ${wxUSE_LIBXPM-none}"
55087 fi
55088 echo " zlib ${wxUSE_ZLIB}"
55089 echo " odbc ${wxUSE_ODBC}"
55090 echo " expat ${wxUSE_EXPAT}"
55091 echo " libmspack ${wxUSE_LIBMSPACK}"
55092 echo " sdl ${wxUSE_LIBSDL}"
55093
55094 echo ""
55095