]> git.saurik.com Git - wxWidgets.git/blob - configure
Use GTK_SPIN_BUTTON() not (GtkSpinButton*)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 48647 2007-09-13 05:42:42Z PC .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_ODBC
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_ODBC
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_1
841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
851 COND_MONOLITHIC_0_USE_AUI_1
852 COND_MONOLITHIC_0_USE_GUI_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_HTML_1
856 COND_MONOLITHIC_0_USE_MEDIA_1
857 COND_MONOLITHIC_0_USE_ODBC_1
858 COND_MONOLITHIC_0_USE_QA_1
859 COND_MONOLITHIC_0_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_USE_STC_1
861 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1
863 COND_MONOLITHIC_1_SHARED_0
864 COND_MONOLITHIC_1_SHARED_1
865 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
869 COND_PLATFORM_MACOSX_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_
871 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
876 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
877 COND_PLATFORM_MACOSX_1_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
879 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MAC_1
881 COND_PLATFORM_MSDOS_0
882 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_OS2_1
884 COND_PLATFORM_UNIX_0
885 COND_PLATFORM_UNIX_1
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_GUI_1
889 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
890 COND_PLATFORM_WIN32_0
891 COND_PLATFORM_WIN32_1
892 COND_SHARED_0
893 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
900 COND_SHARED_0_USE_STC_1
901 COND_SHARED_0_USE_XRC_1
902 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
903 COND_SHARED_0_WXUSE_ODBC_BUILTIN
904 COND_SHARED_0_WXUSE_REGEX_BUILTIN
905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1
907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_1_USE_XRC_1
909 COND_TOOLKIT_
910 COND_TOOLKIT_COCOA
911 COND_TOOLKIT_COCOA_USE_GUI_1
912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB
914 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC
924 COND_TOOLKIT_MAC_USE_GUI_1
925 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL
927 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF
929 COND_TOOLKIT_MOTIF_USE_GUI_1
930 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW
932 COND_TOOLKIT_MSW_USE_GUI_1
933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11
943 COND_TOOLKIT_X11_USE_GUI_1
944 COND_UNICODE_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
947 COND_USE_GUI_0
948 COND_USE_GUI_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
955 COND_USE_ODBC_1
956 COND_USE_OPENGL_1
957 COND_USE_PCH_1
958 COND_USE_PLUGINS_0
959 COND_USE_RTTI_0
960 COND_USE_RTTI_1
961 COND_USE_SOSYMLINKS_1
962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
963 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSION_0
965 COND_USE_SOVERSOLARIS_1
966 COND_USE_STC_1
967 COND_USE_THREADS_0
968 COND_USE_THREADS_1
969 COND_USE_XRC_1
970 COND_WINDOWS_IMPLIB_1
971 COND_WITH_PLUGIN_SDL_1
972 COND_WXUNIV_0
973 COND_WXUNIV_1
974 COND_WXUSE_EXPAT_BUILTIN
975 COND_WXUSE_LIBJPEG_BUILTIN
976 COND_WXUSE_LIBPNG_BUILTIN
977 COND_WXUSE_LIBTIFF_BUILTIN
978 COND_WXUSE_ODBC_BUILTIN
979 COND_WXUSE_REGEX_BUILTIN
980 COND_WXUSE_ZLIB_BUILTIN
981 DEREZ
982 SHARED
983 WX_LIBRARY_BASENAME_NOGUI
984 WX_LIBRARY_BASENAME_GUI
985 USE_GUI
986 AFMINSTALL
987 WIN32INSTALL
988 TOOLKIT
989 TOOLKIT_DIR
990 TOOLCHAIN_NAME
991 TOOLCHAIN_FULLNAME
992 cross_compiling
993 WIDGET_SET
994 WX_RELEASE
995 WX_VERSION
996 WX_SUBVERSION
997 WX_CHARTYPE
998 WX_DEBUGTYPE
999 WXCONFIG_CPPFLAGS
1000 WXCONFIG_CFLAGS
1001 WXCONFIG_CXXFLAGS
1002 WXCONFIG_LIBS
1003 WXCONFIG_RPATH
1004 WXCONFIG_LDFLAGS_GUI
1005 WXCONFIG_RESFLAGS
1006 EXE_LINKER
1007 GUIDIST
1008 DISTDIR
1009 SAMPLES_SUBDIRS
1010 LDFLAGS_GL
1011 OPENGL_LIBS
1012 DMALLOC_LIBS
1013 WX_VERSION_TAG
1014 RESCOMP
1015 RESFLAGS
1016 RESPROGRAMOBJ
1017 WX_RESOURCES_MACOSX_ASCII
1018 WX_RESOURCES_MACOSX_DATA
1019 LIBWXMACRES
1020 POSTLINK_COMMAND
1021 MACSETFILE
1022 GCC
1023 DLLTOOL
1024 CPPUNIT_CONFIG
1025 LIBOBJS
1026 LTLIBOBJS'
1027 ac_subst_files=''
1028 ac_precious_vars='build_alias
1029 host_alias
1030 target_alias
1031 CC
1032 CFLAGS
1033 LDFLAGS
1034 LIBS
1035 CPPFLAGS
1036 CPP
1037 CXX
1038 CXXFLAGS
1039 CCC
1040 PKG_CONFIG
1041 DIRECTFB_CFLAGS
1042 DIRECTFB_LIBS
1043 XMKMF
1044 PANGOX_CFLAGS
1045 PANGOX_LIBS
1046 PANGOFT2_CFLAGS
1047 PANGOFT2_LIBS
1048 PANGOXFT_CFLAGS
1049 PANGOXFT_LIBS
1050 GTKPRINT_CFLAGS
1051 GTKPRINT_LIBS
1052 LIBGNOMEPRINTUI_CFLAGS
1053 LIBGNOMEPRINTUI_LIBS
1054 GNOMEVFS_CFLAGS
1055 GNOMEVFS_LIBS
1056 HILDON_CFLAGS
1057 HILDON_LIBS
1058 CAIRO_CFLAGS
1059 CAIRO_LIBS
1060 GST_CFLAGS
1061 GST_LIBS'
1062 ac_subdirs_all='src/expat'
1063
1064 # Initialize some variables set by options.
1065 ac_init_help=
1066 ac_init_version=false
1067 # The variables have the same names as the options, with
1068 # dashes changed to underlines.
1069 cache_file=/dev/null
1070 exec_prefix=NONE
1071 no_create=
1072 no_recursion=
1073 prefix=NONE
1074 program_prefix=NONE
1075 program_suffix=NONE
1076 program_transform_name=s,x,x,
1077 silent=
1078 site=
1079 srcdir=
1080 verbose=
1081 x_includes=NONE
1082 x_libraries=NONE
1083
1084 # Installation directory options.
1085 # These are left unexpanded so users can "make install exec_prefix=/foo"
1086 # and all the variables that are supposed to be based on exec_prefix
1087 # by default will actually change.
1088 # Use braces instead of parens because sh, perl, etc. also accept them.
1089 # (The list follows the same order as the GNU Coding Standards.)
1090 bindir='${exec_prefix}/bin'
1091 sbindir='${exec_prefix}/sbin'
1092 libexecdir='${exec_prefix}/libexec'
1093 datarootdir='${prefix}/share'
1094 datadir='${datarootdir}'
1095 sysconfdir='${prefix}/etc'
1096 sharedstatedir='${prefix}/com'
1097 localstatedir='${prefix}/var'
1098 includedir='${prefix}/include'
1099 oldincludedir='/usr/include'
1100 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1101 infodir='${datarootdir}/info'
1102 htmldir='${docdir}'
1103 dvidir='${docdir}'
1104 pdfdir='${docdir}'
1105 psdir='${docdir}'
1106 libdir='${exec_prefix}/lib'
1107 localedir='${datarootdir}/locale'
1108 mandir='${datarootdir}/man'
1109
1110 ac_prev=
1111 ac_dashdash=
1112 for ac_option
1113 do
1114 # If the previous option needs an argument, assign it.
1115 if test -n "$ac_prev"; then
1116 eval $ac_prev=\$ac_option
1117 ac_prev=
1118 continue
1119 fi
1120
1121 case $ac_option in
1122 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1123 *) ac_optarg=yes ;;
1124 esac
1125
1126 # Accept the important Cygnus configure options, so we can diagnose typos.
1127
1128 case $ac_dashdash$ac_option in
1129 --)
1130 ac_dashdash=yes ;;
1131
1132 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1133 ac_prev=bindir ;;
1134 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1135 bindir=$ac_optarg ;;
1136
1137 -build | --build | --buil | --bui | --bu)
1138 ac_prev=build_alias ;;
1139 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1140 build_alias=$ac_optarg ;;
1141
1142 -cache-file | --cache-file | --cache-fil | --cache-fi \
1143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1144 ac_prev=cache_file ;;
1145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1147 cache_file=$ac_optarg ;;
1148
1149 --config-cache | -C)
1150 cache_file=config.cache ;;
1151
1152 -datadir | --datadir | --datadi | --datad)
1153 ac_prev=datadir ;;
1154 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1155 datadir=$ac_optarg ;;
1156
1157 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1158 | --dataroo | --dataro | --datar)
1159 ac_prev=datarootdir ;;
1160 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1161 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1162 datarootdir=$ac_optarg ;;
1163
1164 -disable-* | --disable-*)
1165 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1169 { (exit 1); exit 1; }; }
1170 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1171 eval enable_$ac_feature=no ;;
1172
1173 -docdir | --docdir | --docdi | --doc | --do)
1174 ac_prev=docdir ;;
1175 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1176 docdir=$ac_optarg ;;
1177
1178 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1179 ac_prev=dvidir ;;
1180 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1181 dvidir=$ac_optarg ;;
1182
1183 -enable-* | --enable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=\$ac_optarg ;;
1191
1192 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1193 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1194 | --exec | --exe | --ex)
1195 ac_prev=exec_prefix ;;
1196 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1197 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1198 | --exec=* | --exe=* | --ex=*)
1199 exec_prefix=$ac_optarg ;;
1200
1201 -gas | --gas | --ga | --g)
1202 # Obsolete; use --with-gas.
1203 with_gas=yes ;;
1204
1205 -help | --help | --hel | --he | -h)
1206 ac_init_help=long ;;
1207 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1208 ac_init_help=recursive ;;
1209 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1210 ac_init_help=short ;;
1211
1212 -host | --host | --hos | --ho)
1213 ac_prev=host_alias ;;
1214 -host=* | --host=* | --hos=* | --ho=*)
1215 host_alias=$ac_optarg ;;
1216
1217 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1218 ac_prev=htmldir ;;
1219 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1220 | --ht=*)
1221 htmldir=$ac_optarg ;;
1222
1223 -includedir | --includedir | --includedi | --included | --include \
1224 | --includ | --inclu | --incl | --inc)
1225 ac_prev=includedir ;;
1226 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1227 | --includ=* | --inclu=* | --incl=* | --inc=*)
1228 includedir=$ac_optarg ;;
1229
1230 -infodir | --infodir | --infodi | --infod | --info | --inf)
1231 ac_prev=infodir ;;
1232 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1233 infodir=$ac_optarg ;;
1234
1235 -libdir | --libdir | --libdi | --libd)
1236 ac_prev=libdir ;;
1237 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1238 libdir=$ac_optarg ;;
1239
1240 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1241 | --libexe | --libex | --libe)
1242 ac_prev=libexecdir ;;
1243 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1244 | --libexe=* | --libex=* | --libe=*)
1245 libexecdir=$ac_optarg ;;
1246
1247 -localedir | --localedir | --localedi | --localed | --locale)
1248 ac_prev=localedir ;;
1249 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1250 localedir=$ac_optarg ;;
1251
1252 -localstatedir | --localstatedir | --localstatedi | --localstated \
1253 | --localstate | --localstat | --localsta | --localst | --locals)
1254 ac_prev=localstatedir ;;
1255 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1256 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1257 localstatedir=$ac_optarg ;;
1258
1259 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1260 ac_prev=mandir ;;
1261 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1262 mandir=$ac_optarg ;;
1263
1264 -nfp | --nfp | --nf)
1265 # Obsolete; use --without-fp.
1266 with_fp=no ;;
1267
1268 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1269 | --no-cr | --no-c | -n)
1270 no_create=yes ;;
1271
1272 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1273 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1274 no_recursion=yes ;;
1275
1276 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1277 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1278 | --oldin | --oldi | --old | --ol | --o)
1279 ac_prev=oldincludedir ;;
1280 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1281 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1282 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1283 oldincludedir=$ac_optarg ;;
1284
1285 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1286 ac_prev=prefix ;;
1287 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1288 prefix=$ac_optarg ;;
1289
1290 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1291 | --program-pre | --program-pr | --program-p)
1292 ac_prev=program_prefix ;;
1293 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1294 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1295 program_prefix=$ac_optarg ;;
1296
1297 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1298 | --program-suf | --program-su | --program-s)
1299 ac_prev=program_suffix ;;
1300 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1301 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1302 program_suffix=$ac_optarg ;;
1303
1304 -program-transform-name | --program-transform-name \
1305 | --program-transform-nam | --program-transform-na \
1306 | --program-transform-n | --program-transform- \
1307 | --program-transform | --program-transfor \
1308 | --program-transfo | --program-transf \
1309 | --program-trans | --program-tran \
1310 | --progr-tra | --program-tr | --program-t)
1311 ac_prev=program_transform_name ;;
1312 -program-transform-name=* | --program-transform-name=* \
1313 | --program-transform-nam=* | --program-transform-na=* \
1314 | --program-transform-n=* | --program-transform-=* \
1315 | --program-transform=* | --program-transfor=* \
1316 | --program-transfo=* | --program-transf=* \
1317 | --program-trans=* | --program-tran=* \
1318 | --progr-tra=* | --program-tr=* | --program-t=*)
1319 program_transform_name=$ac_optarg ;;
1320
1321 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1322 ac_prev=pdfdir ;;
1323 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1324 pdfdir=$ac_optarg ;;
1325
1326 -psdir | --psdir | --psdi | --psd | --ps)
1327 ac_prev=psdir ;;
1328 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1329 psdir=$ac_optarg ;;
1330
1331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1332 | -silent | --silent | --silen | --sile | --sil)
1333 silent=yes ;;
1334
1335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1336 ac_prev=sbindir ;;
1337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1338 | --sbi=* | --sb=*)
1339 sbindir=$ac_optarg ;;
1340
1341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1343 | --sharedst | --shareds | --shared | --share | --shar \
1344 | --sha | --sh)
1345 ac_prev=sharedstatedir ;;
1346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1349 | --sha=* | --sh=*)
1350 sharedstatedir=$ac_optarg ;;
1351
1352 -site | --site | --sit)
1353 ac_prev=site ;;
1354 -site=* | --site=* | --sit=*)
1355 site=$ac_optarg ;;
1356
1357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1358 ac_prev=srcdir ;;
1359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1360 srcdir=$ac_optarg ;;
1361
1362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1363 | --syscon | --sysco | --sysc | --sys | --sy)
1364 ac_prev=sysconfdir ;;
1365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1367 sysconfdir=$ac_optarg ;;
1368
1369 -target | --target | --targe | --targ | --tar | --ta | --t)
1370 ac_prev=target_alias ;;
1371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1372 target_alias=$ac_optarg ;;
1373
1374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1375 verbose=yes ;;
1376
1377 -version | --version | --versio | --versi | --vers | -V)
1378 ac_init_version=: ;;
1379
1380 -with-* | --with-*)
1381 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=\$ac_optarg ;;
1388
1389 -without-* | --without-*)
1390 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1393 { echo "$as_me: error: invalid package name: $ac_package" >&2
1394 { (exit 1); exit 1; }; }
1395 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1396 eval with_$ac_package=no ;;
1397
1398 --x)
1399 # Obsolete; use --with-x.
1400 with_x=yes ;;
1401
1402 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1403 | --x-incl | --x-inc | --x-in | --x-i)
1404 ac_prev=x_includes ;;
1405 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1406 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1407 x_includes=$ac_optarg ;;
1408
1409 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1410 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1411 ac_prev=x_libraries ;;
1412 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1413 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1414 x_libraries=$ac_optarg ;;
1415
1416 -*) { echo "$as_me: error: unrecognized option: $ac_option
1417 Try \`$0 --help' for more information." >&2
1418 { (exit 1); exit 1; }; }
1419 ;;
1420
1421 *=*)
1422 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1423 # Reject names that are not valid shell variable names.
1424 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1425 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1426 { (exit 1); exit 1; }; }
1427 eval $ac_envvar=\$ac_optarg
1428 export $ac_envvar ;;
1429
1430 *)
1431 # FIXME: should be removed in autoconf 3.0.
1432 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1433 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1434 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1435 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 ;;
1437
1438 esac
1439 done
1440
1441 if test -n "$ac_prev"; then
1442 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1443 { echo "$as_me: error: missing argument to $ac_option" >&2
1444 { (exit 1); exit 1; }; }
1445 fi
1446
1447 # Be sure to have absolute directory names.
1448 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1449 datadir sysconfdir sharedstatedir localstatedir includedir \
1450 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1451 libdir localedir mandir
1452 do
1453 eval ac_val=\$$ac_var
1454 case $ac_val in
1455 [\\/$]* | ?:[\\/]* ) continue;;
1456 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1457 esac
1458 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1459 { (exit 1); exit 1; }; }
1460 done
1461
1462 # There might be people who depend on the old broken behavior: `$host'
1463 # used to hold the argument of --host etc.
1464 # FIXME: To remove some day.
1465 build=$build_alias
1466 host=$host_alias
1467 target=$target_alias
1468
1469 # FIXME: To remove some day.
1470 if test "x$host_alias" != x; then
1471 if test "x$build_alias" = x; then
1472 cross_compiling=maybe
1473 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1474 If a cross compiler is detected then cross compile mode will be used." >&2
1475 elif test "x$build_alias" != "x$host_alias"; then
1476 cross_compiling=yes
1477 fi
1478 fi
1479
1480 ac_tool_prefix=
1481 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1482
1483 test "$silent" = yes && exec 6>/dev/null
1484
1485
1486 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1487 ac_ls_di=`ls -di .` &&
1488 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1489 { echo "$as_me: error: Working directory cannot be determined" >&2
1490 { (exit 1); exit 1; }; }
1491 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1492 { echo "$as_me: error: pwd does not report name of working directory" >&2
1493 { (exit 1); exit 1; }; }
1494
1495
1496 # Find the source files, if location was not specified.
1497 if test -z "$srcdir"; then
1498 ac_srcdir_defaulted=yes
1499 # Try the directory containing this script, then the parent directory.
1500 ac_confdir=`$as_dirname -- "$0" ||
1501 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1502 X"$0" : 'X\(//\)[^/]' \| \
1503 X"$0" : 'X\(//\)$' \| \
1504 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1505 echo X"$0" |
1506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1507 s//\1/
1508 q
1509 }
1510 /^X\(\/\/\)[^/].*/{
1511 s//\1/
1512 q
1513 }
1514 /^X\(\/\/\)$/{
1515 s//\1/
1516 q
1517 }
1518 /^X\(\/\).*/{
1519 s//\1/
1520 q
1521 }
1522 s/.*/./; q'`
1523 srcdir=$ac_confdir
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1525 srcdir=..
1526 fi
1527 else
1528 ac_srcdir_defaulted=no
1529 fi
1530 if test ! -r "$srcdir/$ac_unique_file"; then
1531 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1532 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1533 { (exit 1); exit 1; }; }
1534 fi
1535 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1536 ac_abs_confdir=`(
1537 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1538 { (exit 1); exit 1; }; }
1539 pwd)`
1540 # When building in place, set srcdir=.
1541 if test "$ac_abs_confdir" = "$ac_pwd"; then
1542 srcdir=.
1543 fi
1544 # Remove unnecessary trailing slashes from srcdir.
1545 # Double slashes in file names in object file debugging info
1546 # mess up M-x gdb in Emacs.
1547 case $srcdir in
1548 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1549 esac
1550 for ac_var in $ac_precious_vars; do
1551 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1552 eval ac_env_${ac_var}_value=\$${ac_var}
1553 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1554 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1555 done
1556
1557 #
1558 # Report the --help message.
1559 #
1560 if test "$ac_init_help" = "long"; then
1561 # Omit some internal or obsolete options to make the list less imposing.
1562 # This message is too long to be a string in the A/UX 3.1 sh.
1563 cat <<_ACEOF
1564 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1565
1566 Usage: $0 [OPTION]... [VAR=VALUE]...
1567
1568 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1569 VAR=VALUE. See below for descriptions of some of the useful variables.
1570
1571 Defaults for the options are specified in brackets.
1572
1573 Configuration:
1574 -h, --help display this help and exit
1575 --help=short display options specific to this package
1576 --help=recursive display the short help of all the included packages
1577 -V, --version display version information and exit
1578 -q, --quiet, --silent do not print \`checking...' messages
1579 --cache-file=FILE cache test results in FILE [disabled]
1580 -C, --config-cache alias for \`--cache-file=config.cache'
1581 -n, --no-create do not create output files
1582 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1583
1584 Installation directories:
1585 --prefix=PREFIX install architecture-independent files in PREFIX
1586 [$ac_default_prefix]
1587 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1588 [PREFIX]
1589
1590 By default, \`make install' will install all the files in
1591 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1592 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1593 for instance \`--prefix=\$HOME'.
1594
1595 For better control, use the options below.
1596
1597 Fine tuning of the installation directories:
1598 --bindir=DIR user executables [EPREFIX/bin]
1599 --sbindir=DIR system admin executables [EPREFIX/sbin]
1600 --libexecdir=DIR program executables [EPREFIX/libexec]
1601 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1602 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1603 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1604 --libdir=DIR object code libraries [EPREFIX/lib]
1605 --includedir=DIR C header files [PREFIX/include]
1606 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1607 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1608 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1609 --infodir=DIR info documentation [DATAROOTDIR/info]
1610 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1611 --mandir=DIR man documentation [DATAROOTDIR/man]
1612 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1613 --htmldir=DIR html documentation [DOCDIR]
1614 --dvidir=DIR dvi documentation [DOCDIR]
1615 --pdfdir=DIR pdf documentation [DOCDIR]
1616 --psdir=DIR ps documentation [DOCDIR]
1617 _ACEOF
1618
1619 cat <<\_ACEOF
1620
1621 X features:
1622 --x-includes=DIR X include files are in DIR
1623 --x-libraries=DIR X library files are in DIR
1624
1625 System types:
1626 --build=BUILD configure for building on BUILD [guessed]
1627 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1628 --target=TARGET configure for building compilers for TARGET [HOST]
1629 _ACEOF
1630 fi
1631
1632 if test -n "$ac_init_help"; then
1633 case $ac_init_help in
1634 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1635 esac
1636 cat <<\_ACEOF
1637
1638 Optional Features:
1639 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1640 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1641 --disable-gui don't build GUI parts of the library
1642 --enable-monolithic build wxWidgets as single library
1643 --enable-plugins build parts of wxWidgets as loadable components
1644 --enable-official_build official build of wxWidgets (win32 DLL only)
1645 --enable-vendor=VENDOR vendor name (win32 DLL only)
1646 --disable-all-features disable all optional features to build minimal library
1647 --enable-universal use wxWidgets GUI controls instead of native ones
1648 --enable-nanox use NanoX
1649 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1650 --enable-gpe use GNOME PDA Environment features if possible
1651 --disable-shared create static library instead of shared
1652 --disable-optimise create optimised code
1653 --enable-debug same as debug_flag and debug_info
1654 --enable-stl use STL for containers
1655 --enable-std_iostreams use standard C++ stream classes
1656 --enable-std_string use standard C++ string classes
1657 --disable-unicode compile without Unicode support
1658 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1659 --enable-utf8 use UTF-8 representation for strings (Unix only)
1660 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1661 --enable-extended_rtti use extended RTTI (XTI)
1662 --enable-omf use OMF object format
1663 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1664 --enable-debug_info create code with debugging information
1665 --enable-debug_gdb create code with extra GDB debugging information
1666 --enable-debug_cntxt use wxDebugContext
1667 --enable-mem_tracing create code with memory tracing
1668 --enable-profile create code with profiling information
1669 --enable-no_rtti create code without RTTI information
1670 --enable-no_exceptions create code without C++ exceptions handling
1671 --enable-permissive compile code disregarding strict ANSI
1672 --enable-no_deps create code without dependency information
1673 --disable-vararg_macros don't use vararg macros, even if they are supported
1674 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
1675 --enable-compat26 enable wxWidgets 2.6 compatibility
1676 --disable-compat28 disable wxWidgets 2.8 compatibility
1677 --disable-rpath disable use of rpath for uninstalled builds
1678 --enable-objc_uniquifying enable Objective-C class name uniquifying
1679 --disable-visibility disable use of ELF symbols visibility even if supported
1680 --enable-intl use internationalization system
1681 --enable-config use wxConfig (and derived) classes
1682 --enable-protocols use wxProtocol and derived classes
1683 --enable-ftp use wxFTP (requires wxProtocol
1684 --enable-http use wxHTTP (requires wxProtocol
1685 --enable-fileproto use wxFileProto class (requires wxProtocol
1686 --enable-sockets use socket/network classes
1687 --enable-ole use OLE classes (Win32 only)
1688 --enable-dataobj use data object classes
1689 --enable-ipc use interprocess communication (wxSocket etc.)
1690 --enable-baseevtloop use event loop in console programs too
1691 --enable-epollloop use wxEpollDispatcher class (Linux only)
1692 --enable-selectloop use wxSelectDispatcher class
1693 --enable-apple_ieee use the Apple IEEE codec
1694 --enable-arcstream use wxArchive streams
1695 --enable-base64 use base64 encoding/decoding functions
1696 --enable-backtrace use wxStackWalker class for getting backtraces
1697 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1698 --enable-cmdline use wxCmdLineParser class
1699 --enable-datetime use wxDateTime class
1700 --enable-debugreport use wxDebugReport class
1701 --enable-dialupman use dialup network classes
1702 --enable-dynlib use wxLibrary class for DLL loading
1703 --enable-dynamicloader use (new) wxDynamicLibrary class
1704 --enable-exceptions build exception-safe library
1705 --enable-ffile use wxFFile class
1706 --enable-file use wxFile class
1707 --enable-filesystem use virtual file systems classes
1708 --enable-fontenum use wxFontEnumerator class
1709 --enable-fontmap use font encodings conversion classes
1710 --enable-fs_archive use virtual archive filesystems
1711 --enable-fs_inet use virtual HTTP/FTP filesystems
1712 --enable-fs_zip now replaced by fs_archive
1713 --enable-geometry use geometry class
1714 --enable-log use logging system
1715 --enable-longlong use wxLongLong class
1716 --enable-mimetype use wxMimeTypesManager
1717 --enable-snglinst use wxSingleInstanceChecker class
1718 --enable-stdpaths use wxStandardPaths class
1719 --enable-stopwatch use wxStopWatch class
1720 --enable-streams use wxStream etc classes
1721 --enable-sysoptions use wxSystemOptions
1722 --enable-tarstream use wxTar streams
1723 --enable-textbuf use wxTextBuffer class
1724 --enable-textfile use wxTextFile class
1725 --enable-timer use wxTimer class
1726 --enable-sound use wxSound class
1727 --enable-mediactrl use wxMediaCtrl class
1728 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1729 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1730 --enable-zipstream use wxZip streams
1731 --enable-url use wxURL class
1732 --enable-variant use wxVariant class
1733 --enable-protocol use wxProtocol class
1734 --enable-protocol-http HTTP support in wxProtocol
1735 --enable-protocol-ftp FTP support in wxProtocol
1736 --enable-protocol-file FILE support in wxProtocol
1737 --enable-threads use threads
1738 --enable-iniconf use wxIniConfig (Win32 only)
1739 --enable-regkey use wxRegKey class (Win32 only)
1740 --enable-docview use document view architecture
1741 --enable-help use help subsystem
1742 --enable-mshtmlhelp use MS HTML Help (win32)
1743 --enable-html use wxHTML sub-library
1744 --enable-htmlhelp use wxHTML-based help
1745 --enable-xrc use XRC resources sub-library
1746 --enable-aui use AUI docking library
1747 --enable-stc use wxStyledTextCtrl library
1748 --enable-constraints use layout-constraints system
1749 --enable-printarch use printing architecture
1750 --enable-mdi use multiple document interface architecture
1751 --enable-mdidoc use docview architecture with MDI
1752 --enable-loggui use standard GUI logger
1753 --enable-logwin use wxLogWindow
1754 --enable-logdialog use wxLogDialog
1755 --enable-webkit use wxWebKitCtrl (Mac)
1756 --enable-richtext use wxRichTextCtrl
1757 --enable-graphics_ctx use graphics context 2D drawing API
1758 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1759 --enable-svg use wxSVGFileDC device context
1760 --enable-clipboard use wxClipboard class
1761 --enable-dnd use Drag'n'Drop classes
1762 --enable-metafile use win32 metafiles
1763 --disable-controls disable compilation of all standard controls
1764 --enable-accel use accelerators
1765 --enable-animatectrl use wxAnimationCtrl class
1766 --enable-button use wxButton class
1767 --enable-bmpbutton use wxBitmapButton class
1768 --enable-bmpcombobox use wxBitmapComboBox class
1769 --enable-calendar use wxCalendarCtrl class
1770 --enable-caret use wxCaret class
1771 --enable-checkbox use wxCheckBox class
1772 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1773 --enable-choice use wxChoice class
1774 --enable-choicebook use wxChoicebook class
1775 --enable-collpane use wxCollapsiblePane class
1776 --enable-colourpicker use wxColourPickerCtrl class
1777 --enable-combobox use wxComboBox class
1778 --enable-comboctrl use wxComboCtrl class
1779 --enable-datepick use wxDatePickerCtrl class
1780 --enable-dirpicker use wxDirPickerCtrl class
1781 --enable-display use wxDisplay class
1782 --enable-detect_sm use code to detect X11 session manager
1783 --enable-editablebox use wxEditableListBox class
1784 --enable-filepicker use wxFilePickerCtrl class
1785 --enable-fontpicker use wxFontPickerCtrl class
1786 --enable-gauge use wxGauge class
1787 --enable-grid use wxGrid class
1788 --enable-dataviewctrl use wxDataViewCtrl class
1789 --enable-hyperlink use wxHyperlinkCtrl class
1790 --enable-imaglist use wxImageList class
1791 --enable-listbook use wxListbook class
1792 --enable-listbox use wxListBox class
1793 --enable-listctrl use wxListCtrl class
1794 --enable-notebook use wxNotebook class
1795 --enable-odcombobox use wxOwnerDrawnComboBox class
1796 --enable-radiobox use wxRadioBox class
1797 --enable-radiobtn use wxRadioButton class
1798 --enable-sash use wxSashWindow class
1799 --enable-scrollbar use wxScrollBar class and scrollable windows
1800 --enable-searchctrl use wxSearchCtrl class
1801 --enable-slider use wxSlider class
1802 --enable-spinbtn use wxSpinButton class
1803 --enable-spinctrl use wxSpinCtrl class
1804 --enable-splitter use wxSplitterWindow class
1805 --enable-statbmp use wxStaticBitmap class
1806 --enable-statbox use wxStaticBox class
1807 --enable-statline use wxStaticLine class
1808 --enable-stattext use wxStaticText class
1809 --enable-statusbar use wxStatusBar class
1810 --enable-tabdialog use wxTabControl class
1811 --enable-taskbaricon use wxTaskBarIcon class
1812 --enable-textctrl use wxTextCtrl class
1813 --enable-togglebtn use wxToggleButton class
1814 --enable-toolbar use wxToolBar class
1815 --enable-tbarnative use native wxToolBar class
1816 --enable-treebook use wxTreebook class
1817 --enable-toolbook use wxToolbook class
1818 --enable-treectrl use wxTreeCtrl class
1819 --enable-tipwindow use wxTipWindow class
1820 --enable-popupwin use wxPopUpWindow class
1821 --enable-commondlg use all common dialogs
1822 --enable-aboutdlg use wxAboutBox
1823 --enable-choicedlg use wxChoiceDialog
1824 --enable-coldlg use wxColourDialog
1825 --enable-filedlg use wxFileDialog
1826 --enable-finddlg use wxFindReplaceDialog
1827 --enable-fontdlg use wxFontDialog
1828 --enable-dirdlg use wxDirDialog
1829 --enable-msgdlg use wxMessageDialog
1830 --enable-numberdlg use wxNumberEntryDialog
1831 --enable-splash use wxSplashScreen
1832 --enable-textdlg use wxTextDialog
1833 --enable-tipdlg use startup tips
1834 --enable-progressdlg use wxProgressDialog
1835 --enable-wizarddlg use wxWizard
1836 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1837 --enable-miniframe use wxMiniFrame class
1838 --enable-tooltips use wxToolTip class
1839 --enable-splines use spline drawing code
1840 --enable-mousewheel use mousewheel
1841 --enable-validators use wxValidator and derived classes
1842 --enable-busyinfo use wxBusyInfo
1843 --enable-joystick use wxJoystick
1844 --enable-metafiles use wxMetaFile (Win32 only)
1845 --enable-dragimage use wxDragImage
1846 --enable-accessibility enable accessibility support
1847 --enable-palette use wxPalette class
1848 --enable-image use wxImage class
1849 --enable-gif use gif images (GIF file format)
1850 --enable-pcx use pcx images (PCX file format)
1851 --enable-tga use tga images (TGA file format)
1852 --enable-iff use iff images (IFF file format)
1853 --enable-pnm use pnm images (PNM file format)
1854 --enable-xpm use xpm images (XPM file format)
1855 --enable-icocur use Windows ICO and CUR formats
1856 --enable-dccache cache temporary wxDC objects (Win32 only)
1857 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1858 --enable-ownerdrawn use owner drawn controls (Win32 only)
1859 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1860 --enable-wxdib use wxDIB class (Win32 only)
1861 --disable-largefile omit support for large files
1862 --disable-gtktest do not try to compile and run a test GTK+ program
1863 --disable-gtktest Do not try to compile and run a test GTK program
1864 --disable-sdltest Do not try to compile and run a test SDL program
1865 --enable-omf use OMF object format (OS/2)
1866 --disable-dependency-tracking
1867 don't use dependency tracking even if the compiler
1868 can
1869 --disable-precomp-headers
1870 don't use precompiled headers even if compiler can
1871
1872 Optional Packages:
1873 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1874 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1875 --without-subdirs don't generate makefiles for samples/demos/...
1876 --with-flavour=NAME specify a name to identify this build
1877 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1878 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1879 --with-motif use Motif/Lesstif
1880 --with-mac use Mac OS X
1881 --with-cocoa use Cocoa
1882 --with-wine use Wine
1883 --with-msw use MS-Windows
1884 --with-pm use OS/2 Presentation Manager
1885 --with-mgl use SciTech MGL
1886 --with-directfb use DirectFB
1887 --with-microwin use MicroWindows
1888 --with-x11 use X11
1889 --with-libpng use libpng (PNG image format)
1890 --with-libjpeg use libjpeg (JPEG file format)
1891 --with-libtiff use libtiff (TIFF file format)
1892 --with-libxpm use libxpm (XPM file format)
1893 --with-libmspack use libmspack (CHM help files loading)
1894 --without-gtkprint don't use GTK printing support
1895 --without-gnomeprint don't use GNOME printing libraries
1896 --with-gnomevfs use GNOME VFS for associating MIME types
1897 --with-hildon use Hildon framework for Nokia 770
1898 --with-opengl use OpenGL (or Mesa)
1899 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1900 --with-sdl use SDL for audio on Unix
1901 --with-regex enable support for wxRegEx class
1902 --with-zlib use zlib for LZW compression
1903 --with-odbc use the IODBC and wxODBC classes
1904 --with-expat enable XML support using expat parser
1905 --with-macosx-sdk=PATH use an OS X SDK at PATH
1906 --with-macosx-version-min=VER build binaries which require at least this OS X version
1907 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1908 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1909 --with-x use the X Window System
1910 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1911 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1912 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1913 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1914 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1915
1916 Some influential environment variables:
1917 CC C compiler command
1918 CFLAGS C compiler flags
1919 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1920 nonstandard directory <lib dir>
1921 LIBS libraries to pass to the linker, e.g. -l<library>
1922 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1923 you have headers in a nonstandard directory <include dir>
1924 CPP C preprocessor
1925 CXX C++ compiler command
1926 CXXFLAGS C++ compiler flags
1927 PKG_CONFIG path to pkg-config utility
1928 DIRECTFB_CFLAGS
1929 C compiler flags for DIRECTFB, overriding pkg-config
1930 DIRECTFB_LIBS
1931 linker flags for DIRECTFB, overriding pkg-config
1932 XMKMF Path to xmkmf, Makefile generator for X Window System
1933 PANGOX_CFLAGS
1934 C compiler flags for PANGOX, overriding pkg-config
1935 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1936 PANGOFT2_CFLAGS
1937 C compiler flags for PANGOFT2, overriding pkg-config
1938 PANGOFT2_LIBS
1939 linker flags for PANGOFT2, overriding pkg-config
1940 PANGOXFT_CFLAGS
1941 C compiler flags for PANGOXFT, overriding pkg-config
1942 PANGOXFT_LIBS
1943 linker flags for PANGOXFT, overriding pkg-config
1944 GTKPRINT_CFLAGS
1945 C compiler flags for GTKPRINT, overriding pkg-config
1946 GTKPRINT_LIBS
1947 linker flags for GTKPRINT, overriding pkg-config
1948 LIBGNOMEPRINTUI_CFLAGS
1949 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1950 LIBGNOMEPRINTUI_LIBS
1951 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1952 GNOMEVFS_CFLAGS
1953 C compiler flags for GNOMEVFS, overriding pkg-config
1954 GNOMEVFS_LIBS
1955 linker flags for GNOMEVFS, overriding pkg-config
1956 HILDON_CFLAGS
1957 C compiler flags for HILDON, overriding pkg-config
1958 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1959 CAIRO_CFLAGS
1960 C compiler flags for CAIRO, overriding pkg-config
1961 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1962 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1963 GST_LIBS linker flags for GST, overriding pkg-config
1964
1965 Use these variables to override the choices made by `configure' or to help
1966 it to find libraries and programs with nonstandard names/locations.
1967
1968 Report bugs to <wx-dev@lists.wxwidgets.org>.
1969 _ACEOF
1970 ac_status=$?
1971 fi
1972
1973 if test "$ac_init_help" = "recursive"; then
1974 # If there are subdirs, report their specific --help.
1975 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1976 test -d "$ac_dir" || continue
1977 ac_builddir=.
1978
1979 case "$ac_dir" in
1980 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1981 *)
1982 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1983 # A ".." for each directory in $ac_dir_suffix.
1984 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1985 case $ac_top_builddir_sub in
1986 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1987 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1988 esac ;;
1989 esac
1990 ac_abs_top_builddir=$ac_pwd
1991 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1992 # for backward compatibility:
1993 ac_top_builddir=$ac_top_build_prefix
1994
1995 case $srcdir in
1996 .) # We are building in place.
1997 ac_srcdir=.
1998 ac_top_srcdir=$ac_top_builddir_sub
1999 ac_abs_top_srcdir=$ac_pwd ;;
2000 [\\/]* | ?:[\\/]* ) # Absolute name.
2001 ac_srcdir=$srcdir$ac_dir_suffix;
2002 ac_top_srcdir=$srcdir
2003 ac_abs_top_srcdir=$srcdir ;;
2004 *) # Relative name.
2005 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2006 ac_top_srcdir=$ac_top_build_prefix$srcdir
2007 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2008 esac
2009 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2010
2011 cd "$ac_dir" || { ac_status=$?; continue; }
2012 # Check for guested configure.
2013 if test -f "$ac_srcdir/configure.gnu"; then
2014 echo &&
2015 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2016 elif test -f "$ac_srcdir/configure"; then
2017 echo &&
2018 $SHELL "$ac_srcdir/configure" --help=recursive
2019 else
2020 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2021 fi || ac_status=$?
2022 cd "$ac_pwd" || { ac_status=$?; break; }
2023 done
2024 fi
2025
2026 test -n "$ac_init_help" && exit $ac_status
2027 if $ac_init_version; then
2028 cat <<\_ACEOF
2029 wxWidgets configure 2.9.0
2030 generated by GNU Autoconf 2.61
2031
2032 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2033 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2034 This configure script is free software; the Free Software Foundation
2035 gives unlimited permission to copy, distribute and modify it.
2036 _ACEOF
2037 exit
2038 fi
2039 cat >config.log <<_ACEOF
2040 This file contains any messages produced by compilers while
2041 running configure, to aid debugging if configure makes a mistake.
2042
2043 It was created by wxWidgets $as_me 2.9.0, which was
2044 generated by GNU Autoconf 2.61. Invocation command line was
2045
2046 $ $0 $@
2047
2048 _ACEOF
2049 exec 5>>config.log
2050 {
2051 cat <<_ASUNAME
2052 ## --------- ##
2053 ## Platform. ##
2054 ## --------- ##
2055
2056 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2057 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2058 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2059 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2060 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2061
2062 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2063 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2064
2065 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2066 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2067 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2068 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2069 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2070 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2071 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2072
2073 _ASUNAME
2074
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2077 do
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 echo "PATH: $as_dir"
2081 done
2082 IFS=$as_save_IFS
2083
2084 } >&5
2085
2086 cat >&5 <<_ACEOF
2087
2088
2089 ## ----------- ##
2090 ## Core tests. ##
2091 ## ----------- ##
2092
2093 _ACEOF
2094
2095
2096 # Keep a trace of the command line.
2097 # Strip out --no-create and --no-recursion so they do not pile up.
2098 # Strip out --silent because we don't want to record it for future runs.
2099 # Also quote any args containing shell meta-characters.
2100 # Make two passes to allow for proper duplicate-argument suppression.
2101 ac_configure_args=
2102 ac_configure_args0=
2103 ac_configure_args1=
2104 ac_must_keep_next=false
2105 for ac_pass in 1 2
2106 do
2107 for ac_arg
2108 do
2109 case $ac_arg in
2110 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2112 | -silent | --silent | --silen | --sile | --sil)
2113 continue ;;
2114 *\'*)
2115 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 esac
2117 case $ac_pass in
2118 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2119 2)
2120 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2121 if test $ac_must_keep_next = true; then
2122 ac_must_keep_next=false # Got value, back to normal.
2123 else
2124 case $ac_arg in
2125 *=* | --config-cache | -C | -disable-* | --disable-* \
2126 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2127 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2128 | -with-* | --with-* | -without-* | --without-* | --x)
2129 case "$ac_configure_args0 " in
2130 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2131 esac
2132 ;;
2133 -* ) ac_must_keep_next=true ;;
2134 esac
2135 fi
2136 ac_configure_args="$ac_configure_args '$ac_arg'"
2137 ;;
2138 esac
2139 done
2140 done
2141 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2142 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2143
2144 # When interrupted or exit'd, cleanup temporary files, and complete
2145 # config.log. We remove comments because anyway the quotes in there
2146 # would cause problems or look ugly.
2147 # WARNING: Use '\'' to represent an apostrophe within the trap.
2148 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2149 trap 'exit_status=$?
2150 # Save into config.log some information that might help in debugging.
2151 {
2152 echo
2153
2154 cat <<\_ASBOX
2155 ## ---------------- ##
2156 ## Cache variables. ##
2157 ## ---------------- ##
2158 _ASBOX
2159 echo
2160 # The following way of writing the cache mishandles newlines in values,
2161 (
2162 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2163 eval ac_val=\$$ac_var
2164 case $ac_val in #(
2165 *${as_nl}*)
2166 case $ac_var in #(
2167 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2168 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2169 esac
2170 case $ac_var in #(
2171 _ | IFS | as_nl) ;; #(
2172 *) $as_unset $ac_var ;;
2173 esac ;;
2174 esac
2175 done
2176 (set) 2>&1 |
2177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2178 *${as_nl}ac_space=\ *)
2179 sed -n \
2180 "s/'\''/'\''\\\\'\'''\''/g;
2181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2182 ;; #(
2183 *)
2184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2185 ;;
2186 esac |
2187 sort
2188 )
2189 echo
2190
2191 cat <<\_ASBOX
2192 ## ----------------- ##
2193 ## Output variables. ##
2194 ## ----------------- ##
2195 _ASBOX
2196 echo
2197 for ac_var in $ac_subst_vars
2198 do
2199 eval ac_val=\$$ac_var
2200 case $ac_val in
2201 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 esac
2203 echo "$ac_var='\''$ac_val'\''"
2204 done | sort
2205 echo
2206
2207 if test -n "$ac_subst_files"; then
2208 cat <<\_ASBOX
2209 ## ------------------- ##
2210 ## File substitutions. ##
2211 ## ------------------- ##
2212 _ASBOX
2213 echo
2214 for ac_var in $ac_subst_files
2215 do
2216 eval ac_val=\$$ac_var
2217 case $ac_val in
2218 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2219 esac
2220 echo "$ac_var='\''$ac_val'\''"
2221 done | sort
2222 echo
2223 fi
2224
2225 if test -s confdefs.h; then
2226 cat <<\_ASBOX
2227 ## ----------- ##
2228 ## confdefs.h. ##
2229 ## ----------- ##
2230 _ASBOX
2231 echo
2232 cat confdefs.h
2233 echo
2234 fi
2235 test "$ac_signal" != 0 &&
2236 echo "$as_me: caught signal $ac_signal"
2237 echo "$as_me: exit $exit_status"
2238 } >&5
2239 rm -f core *.core core.conftest.* &&
2240 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241 exit $exit_status
2242 ' 0
2243 for ac_signal in 1 2 13 15; do
2244 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2245 done
2246 ac_signal=0
2247
2248 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2249 rm -f -r conftest* confdefs.h
2250
2251 # Predefined preprocessor variables.
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_NAME "$PACKAGE_NAME"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2260 _ACEOF
2261
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2265 _ACEOF
2266
2267
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_STRING "$PACKAGE_STRING"
2270 _ACEOF
2271
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2275 _ACEOF
2276
2277
2278 # Let the site file select an alternate cache file if it wants to.
2279 # Prefer explicitly selected file to automatically selected ones.
2280 if test -n "$CONFIG_SITE"; then
2281 set x "$CONFIG_SITE"
2282 elif test "x$prefix" != xNONE; then
2283 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2284 else
2285 set x "$ac_default_prefix/share/config.site" \
2286 "$ac_default_prefix/etc/config.site"
2287 fi
2288 shift
2289 for ac_site_file
2290 do
2291 if test -r "$ac_site_file"; then
2292 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2293 echo "$as_me: loading site script $ac_site_file" >&6;}
2294 sed 's/^/| /' "$ac_site_file" >&5
2295 . "$ac_site_file"
2296 fi
2297 done
2298
2299 if test -r "$cache_file"; then
2300 # Some versions of bash will fail to source /dev/null (special
2301 # files actually), so we avoid doing that.
2302 if test -f "$cache_file"; then
2303 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2304 echo "$as_me: loading cache $cache_file" >&6;}
2305 case $cache_file in
2306 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2307 *) . "./$cache_file";;
2308 esac
2309 fi
2310 else
2311 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2312 echo "$as_me: creating cache $cache_file" >&6;}
2313 >$cache_file
2314 fi
2315
2316 # Check that the precious variables saved in the cache have kept the same
2317 # value.
2318 ac_cache_corrupted=false
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2321 eval ac_new_set=\$ac_env_${ac_var}_set
2322 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2323 eval ac_new_val=\$ac_env_${ac_var}_value
2324 case $ac_old_set,$ac_new_set in
2325 set,)
2326 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2327 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2328 ac_cache_corrupted=: ;;
2329 ,set)
2330 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2331 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2332 ac_cache_corrupted=: ;;
2333 ,);;
2334 *)
2335 if test "x$ac_old_val" != "x$ac_new_val"; then
2336 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2337 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2338 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2339 echo "$as_me: former value: $ac_old_val" >&2;}
2340 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2341 echo "$as_me: current value: $ac_new_val" >&2;}
2342 ac_cache_corrupted=:
2343 fi;;
2344 esac
2345 # Pass precious variables to config.status.
2346 if test "$ac_new_set" = set; then
2347 case $ac_new_val in
2348 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2349 *) ac_arg=$ac_var=$ac_new_val ;;
2350 esac
2351 case " $ac_configure_args " in
2352 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2353 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2354 esac
2355 fi
2356 done
2357 if $ac_cache_corrupted; then
2358 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2359 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2360 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2361 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2362 { (exit 1); exit 1; }; }
2363 fi
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389 ac_ext=c
2390 ac_cpp='$CPP $CPPFLAGS'
2391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2394
2395
2396
2397
2398
2399 ac_aux_dir=
2400 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2401 if test -f "$ac_dir/install-sh"; then
2402 ac_aux_dir=$ac_dir
2403 ac_install_sh="$ac_aux_dir/install-sh -c"
2404 break
2405 elif test -f "$ac_dir/install.sh"; then
2406 ac_aux_dir=$ac_dir
2407 ac_install_sh="$ac_aux_dir/install.sh -c"
2408 break
2409 elif test -f "$ac_dir/shtool"; then
2410 ac_aux_dir=$ac_dir
2411 ac_install_sh="$ac_aux_dir/shtool install -c"
2412 break
2413 fi
2414 done
2415 if test -z "$ac_aux_dir"; then
2416 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2417 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2418 { (exit 1); exit 1; }; }
2419 fi
2420
2421 # These three variables are undocumented and unsupported,
2422 # and are intended to be withdrawn in a future Autoconf release.
2423 # They can cause serious problems if a builder's source tree is in a directory
2424 # whose full name contains unusual characters.
2425 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2426 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2427 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2428
2429
2430 # Make sure we can run config.sub.
2431 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2432 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2433 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2434 { (exit 1); exit 1; }; }
2435
2436 { echo "$as_me:$LINENO: checking build system type" >&5
2437 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2438 if test "${ac_cv_build+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441 ac_build_alias=$build_alias
2442 test "x$ac_build_alias" = x &&
2443 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2444 test "x$ac_build_alias" = x &&
2445 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2446 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2447 { (exit 1); exit 1; }; }
2448 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2449 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2450 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2451 { (exit 1); exit 1; }; }
2452
2453 fi
2454 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2455 echo "${ECHO_T}$ac_cv_build" >&6; }
2456 case $ac_cv_build in
2457 *-*-*) ;;
2458 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2459 echo "$as_me: error: invalid value of canonical build" >&2;}
2460 { (exit 1); exit 1; }; };;
2461 esac
2462 build=$ac_cv_build
2463 ac_save_IFS=$IFS; IFS='-'
2464 set x $ac_cv_build
2465 shift
2466 build_cpu=$1
2467 build_vendor=$2
2468 shift; shift
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2471 build_os=$*
2472 IFS=$ac_save_IFS
2473 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2474
2475
2476 { echo "$as_me:$LINENO: checking host system type" >&5
2477 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_host+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test "x$host_alias" = x; then
2482 ac_cv_host=$ac_cv_build
2483 else
2484 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2487 { (exit 1); exit 1; }; }
2488 fi
2489
2490 fi
2491 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2492 echo "${ECHO_T}$ac_cv_host" >&6; }
2493 case $ac_cv_host in
2494 *-*-*) ;;
2495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2496 echo "$as_me: error: invalid value of canonical host" >&2;}
2497 { (exit 1); exit 1; }; };;
2498 esac
2499 host=$ac_cv_host
2500 ac_save_IFS=$IFS; IFS='-'
2501 set x $ac_cv_host
2502 shift
2503 host_cpu=$1
2504 host_vendor=$2
2505 shift; shift
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2508 host_os=$*
2509 IFS=$ac_save_IFS
2510 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2511
2512
2513 { echo "$as_me:$LINENO: checking target system type" >&5
2514 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2515 if test "${ac_cv_target+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518 if test "x$target_alias" = x; then
2519 ac_cv_target=$ac_cv_host
2520 else
2521 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2522 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2523 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2524 { (exit 1); exit 1; }; }
2525 fi
2526
2527 fi
2528 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2529 echo "${ECHO_T}$ac_cv_target" >&6; }
2530 case $ac_cv_target in
2531 *-*-*) ;;
2532 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2533 echo "$as_me: error: invalid value of canonical target" >&2;}
2534 { (exit 1); exit 1; }; };;
2535 esac
2536 target=$ac_cv_target
2537 ac_save_IFS=$IFS; IFS='-'
2538 set x $ac_cv_target
2539 shift
2540 target_cpu=$1
2541 target_vendor=$2
2542 shift; shift
2543 # Remember, the first character of IFS is used to create $*,
2544 # except with old shells:
2545 target_os=$*
2546 IFS=$ac_save_IFS
2547 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2548
2549
2550 # The aliases save the names the user supplied, while $host etc.
2551 # will get canonicalized.
2552 test -n "$target_alias" &&
2553 test "$program_prefix$program_suffix$program_transform_name" = \
2554 NONENONEs,x,x, &&
2555 program_prefix=${target_alias}-
2556
2557
2558
2559 wx_major_version_number=2
2560 wx_minor_version_number=9
2561 wx_release_number=0
2562 wx_subrelease_number=0
2563
2564 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2565 WX_VERSION=$WX_RELEASE.$wx_release_number
2566 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2567
2568 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2569
2570
2571 wx_top_builddir="`pwd`"
2572
2573
2574
2575
2576 USE_UNIX=1
2577 USE_OS2=0
2578 USE_WIN32=0
2579 USE_DOS=0
2580 USE_BEOS=0
2581 USE_MAC=0
2582
2583 USE_AIX=
2584 USE_BSD= USE_DARWIN= USE_FREEBSD=
2585 USE_GNU= USE_HPUX=
2586 USE_LINUX=
2587 USE_NETBSD=
2588 USE_OPENBSD=
2589 USE_OSF= USE_SGI=
2590 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2591 USE_ULTRIX=
2592 USE_UNIXWARE=
2593
2594 USE_ALPHA=
2595
2596 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2597
2598 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2599
2600 DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_wxUSE_GTK=0
2602 DEFAULT_wxUSE_MAC=0
2603 DEFAULT_wxUSE_MGL=0
2604 DEFAULT_wxUSE_MICROWIN=0
2605 DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_wxUSE_MSW=0
2607 DEFAULT_wxUSE_PM=0
2608 DEFAULT_wxUSE_X11=0
2609 DEFAULT_wxUSE_DFB=0
2610
2611 DEFAULT_DEFAULT_wxUSE_COCOA=0
2612 DEFAULT_DEFAULT_wxUSE_GTK=0
2613 DEFAULT_DEFAULT_wxUSE_MAC=0
2614 DEFAULT_DEFAULT_wxUSE_MGL=0
2615 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2616 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2617 DEFAULT_DEFAULT_wxUSE_MSW=0
2618 DEFAULT_DEFAULT_wxUSE_PM=0
2619 DEFAULT_DEFAULT_wxUSE_X11=0
2620 DEFAULT_DEFAULT_wxUSE_DFB=0
2621
2622 PROGRAM_EXT=
2623 SO_SUFFIX=so
2624 SAMPLES_RPATH_FLAG=
2625 SAMPLES_RPATH_POSTLINK=
2626
2627 DEFAULT_STD_FLAG=yes
2628
2629 case "${host}" in
2630 *-hp-hpux* )
2631 USE_HPUX=1
2632 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2633 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2634 SO_SUFFIX=sl
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __HPUX__ 1
2637 _ACEOF
2638
2639
2640 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2641 ;;
2642 *-*-linux* )
2643 USE_LINUX=1
2644 cat >>confdefs.h <<\_ACEOF
2645 #define __LINUX__ 1
2646 _ACEOF
2647
2648 TMP=`uname -m`
2649 if test "x$TMP" = "xalpha"; then
2650 USE_ALPHA=1
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __ALPHA__ 1
2653 _ACEOF
2654
2655 fi
2656 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 ;;
2658 *-*-gnu* | *-*-k*bsd*-gnu )
2659 USE_GNU=1
2660 TMP=`uname -m`
2661 if test "x$TMP" = "xalpha"; then
2662 USE_ALPHA=1
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __ALPHA__ 1
2665 _ACEOF
2666
2667 fi
2668 DEFAULT_DEFAULT_wxUSE_GTK=1
2669 ;;
2670 *-*-irix5* | *-*-irix6* )
2671 USE_SGI=1
2672 USE_SVR4=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SGI__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SVR4__ 1
2679 _ACEOF
2680
2681 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 ;;
2683 *-*-solaris2* )
2684 USE_SUN=1
2685 USE_SOLARIS=1
2686 USE_SVR4=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUN__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SOLARIS__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SVR4__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2701 ;;
2702 *-*-sunos4* )
2703 USE_SUN=1
2704 USE_SUNOS=1
2705 USE_BSD=1
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __SUN__ 1
2708 _ACEOF
2709
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __SUNOS__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __BSD__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2719 ;;
2720 *-*-freebsd*)
2721 USE_BSD=1
2722 USE_FREEBSD=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __FREEBSD__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __BSD__ 1
2729 _ACEOF
2730
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2732 ;;
2733 *-*-openbsd*|*-*-mirbsd*)
2734 USE_BSD=1
2735 USE_OPENBSD=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __OPENBSD__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 ;;
2746 *-*-netbsd*)
2747 USE_BSD=1
2748 USE_NETBSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __NETBSD__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __BSD__ 1
2755 _ACEOF
2756
2757 DEFAULT_DEFAULT_wxUSE_GTK=1
2758 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2759
2760 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2761 ;;
2762 *-*-osf* )
2763 USE_ALPHA=1
2764 USE_OSF=1
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __ALPHA__ 1
2767 _ACEOF
2768
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __OSF__ 1
2771 _ACEOF
2772
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2774 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2775 ;;
2776 *-*-dgux5* )
2777 USE_ALPHA=1
2778 USE_SVR4=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __ALPHA__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789 *-*-sysv5* )
2790 USE_SYSV=1
2791 USE_SVR4=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __SYSV__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __SVR4__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2801 ;;
2802 *-*-aix* )
2803 USE_AIX=1
2804 USE_SYSV=1
2805 USE_SVR4=1
2806 SO_SUFFIX=a
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __AIX__ 1
2809 _ACEOF
2810
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __SYSV__ 1
2813 _ACEOF
2814
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __SVR4__ 1
2817 _ACEOF
2818
2819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2820 ;;
2821
2822 *-*-*UnixWare*)
2823 USE_SYSV=1
2824 USE_SVR4=1
2825 USE_UNIXWARE=1
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __UNIXWARE__ 1
2828 _ACEOF
2829
2830 ;;
2831
2832 *-*-cygwin* | *-*-mingw32* )
2833 SO_SUFFIX=dll
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MSW=1
2836 ;;
2837
2838 *-pc-msdosdjgpp )
2839 USE_UNIX=0
2840 USE_DOS=1
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __DOS__ 1
2843 _ACEOF
2844
2845 PROGRAM_EXT=".exe"
2846 DEFAULT_DEFAULT_wxUSE_MGL=1
2847 ;;
2848
2849 *-pc-os2_emx | *-pc-os2-emx )
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __EMX__ 1
2852 _ACEOF
2853
2854 USE_OS2=1
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __OS2__ 1
2857 _ACEOF
2858
2859 PROGRAM_EXT=".exe"
2860 DEFAULT_DEFAULT_wxUSE_PM=1
2861 CXX=gcc
2862 LDFLAGS="$LDFLAGS -Zcrtdll"
2863 ac_executable_extensions=".exe"
2864 export ac_executable_extensions
2865 ac_save_IFS="$IFS"
2866 IFS='\\'
2867 ac_TEMP_PATH=
2868 for ac_dir in $PATH; do
2869 IFS=$ac_save_IFS
2870 if test -z "$ac_TEMP_PATH"; then
2871 ac_TEMP_PATH="$ac_dir"
2872 else
2873 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2874 fi
2875 done
2876 export PATH="$ac_TEMP_PATH"
2877 unset ac_TEMP_PATH
2878 DEFAULT_STD_FLAG=no
2879 ;;
2880
2881 *-*-darwin* )
2882 USE_BSD=1
2883 USE_DARWIN=1
2884 SO_SUFFIX=dylib
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __BSD__ 1
2887 _ACEOF
2888
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __DARWIN__ 1
2891 _ACEOF
2892
2893 cat >>confdefs.h <<\_ACEOF
2894 #define TARGET_CARBON 1
2895 _ACEOF
2896
2897 DEFAULT_DEFAULT_wxUSE_MAC=1
2898 DEFAULT_STD_FLAG=no
2899 ;;
2900 powerpc-apple-macos* )
2901 USE_UNIX=0
2902 ac_cv_c_bigendian=yes
2903 SO_SUFFIX=shlib
2904 DEFAULT_DEFAULT_wxUSE_MAC=1
2905 DEFAULT_STD_FLAG=no
2906 ;;
2907
2908 *-*-beos* )
2909 USE_BEOS=1
2910 cat >>confdefs.h <<\_ACEOF
2911 #define __BEOS__ 1
2912 _ACEOF
2913
2914 ;;
2915
2916 *)
2917 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2918 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2919 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2920 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2921
2922 DEFAULT_DEFAULT_wxUSE_X11=1
2923 DEFAULT_wxUSE_SHARED=no
2924 esac
2925
2926
2927
2928
2929 wx_arg_cache_file="configarg.cache"
2930 echo "loading argument cache $wx_arg_cache_file"
2931 rm -f ${wx_arg_cache_file}.tmp
2932 touch ${wx_arg_cache_file}.tmp
2933 touch ${wx_arg_cache_file}
2934
2935
2936 DEFAULT_wxUSE_ALL_FEATURES=yes
2937
2938 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2939 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2940
2941 DEFAULT_wxUSE_DMALLOC=no
2942 DEFAULT_wxUSE_LIBGNOMEVFS=no
2943 DEFAULT_wxUSE_LIBHILDON=no
2944 DEFAULT_wxUSE_LIBMSPACK=no
2945 DEFAULT_wxUSE_LIBSDL=no
2946 DEFAULT_wxUSE_ODBC=no
2947 DEFAULT_wxUSE_OPENGL=no
2948
2949 DEFAULT_wxUSE_ACCESSIBILITY=no
2950 DEFAULT_wxUSE_DATAVIEWCTRL=no
2951 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2952 DEFAULT_wxUSE_MEDIACTRL=no
2953 DEFAULT_wxUSE_TAB_DIALOG=no
2954
2955 DEFAULT_wxUSE_UNICODE_UTF8=auto
2956 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2957
2958 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2959
2960 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2961
2962 DEFAULT_wxUSE_GTK2=yes
2963
2964 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2965
2966
2967 for toolkit in `echo $ALL_TOOLKITS`; do
2968 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2969 if test "x$LINE" != "x" ; then
2970 has_toolkit_in_cache=1
2971 eval "DEFAULT_$LINE"
2972 eval "CACHE_$toolkit=1"
2973
2974 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2975 if test "x$LINE" != "x" ; then
2976 eval "DEFAULT_$LINE"
2977 fi
2978 fi
2979 done
2980
2981
2982
2983
2984
2985 enablestring=disable
2986 defaultval=
2987 if test -z "$defaultval"; then
2988 if test x"$enablestring" = xdisable; then
2989 defaultval=yes
2990 else
2991 defaultval=no
2992 fi
2993 fi
2994
2995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2996 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2997 # Check whether --enable-gui was given.
2998 if test "${enable_gui+set}" = set; then
2999 enableval=$enable_gui;
3000 if test "$enableval" = yes; then
3001 wx_cv_use_gui='wxUSE_GUI=yes'
3002 else
3003 wx_cv_use_gui='wxUSE_GUI=no'
3004 fi
3005 cache=yes
3006
3007 else
3008
3009 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x ; then
3011 eval "DEFAULT_$LINE"
3012 cache=yes
3013 else
3014 cache=no
3015 fi
3016
3017 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3018
3019 fi
3020
3021
3022 eval "$wx_cv_use_gui"
3023 if test "x$cache" = xyes; then
3024 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3025 fi
3026
3027 if test x"$enablestring" = xdisable; then
3028 if test $wxUSE_GUI = yes; then
3029 result=no
3030 else
3031 result=yes
3032 fi
3033 else
3034 result=$wxUSE_GUI
3035 fi
3036
3037 { echo "$as_me:$LINENO: result: $result" >&5
3038 echo "${ECHO_T}$result" >&6; }
3039
3040
3041 enablestring=
3042 defaultval=
3043 if test -z "$defaultval"; then
3044 if test x"$enablestring" = xdisable; then
3045 defaultval=yes
3046 else
3047 defaultval=no
3048 fi
3049 fi
3050
3051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3052 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3053 # Check whether --enable-monolithic was given.
3054 if test "${enable_monolithic+set}" = set; then
3055 enableval=$enable_monolithic;
3056 if test "$enableval" = yes; then
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3058 else
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3060 fi
3061 cache=yes
3062
3063 else
3064
3065 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3068 cache=yes
3069 else
3070 cache=no
3071 fi
3072
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3074
3075 fi
3076
3077
3078 eval "$wx_cv_use_monolithic"
3079 if test "x$cache" = xyes; then
3080 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3081 fi
3082
3083 if test x"$enablestring" = xdisable; then
3084 if test $wxUSE_MONOLITHIC = yes; then
3085 result=no
3086 else
3087 result=yes
3088 fi
3089 else
3090 result=$wxUSE_MONOLITHIC
3091 fi
3092
3093 { echo "$as_me:$LINENO: result: $result" >&5
3094 echo "${ECHO_T}$result" >&6; }
3095
3096
3097 enablestring=
3098 defaultval=
3099 if test -z "$defaultval"; then
3100 if test x"$enablestring" = xdisable; then
3101 defaultval=yes
3102 else
3103 defaultval=no
3104 fi
3105 fi
3106
3107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3108 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3109 # Check whether --enable-plugins was given.
3110 if test "${enable_plugins+set}" = set; then
3111 enableval=$enable_plugins;
3112 if test "$enableval" = yes; then
3113 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3114 else
3115 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3116 fi
3117 cache=yes
3118
3119 else
3120
3121 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 cache=yes
3125 else
3126 cache=no
3127 fi
3128
3129 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3130
3131 fi
3132
3133
3134 eval "$wx_cv_use_plugins"
3135 if test "x$cache" = xyes; then
3136 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3137 fi
3138
3139 if test x"$enablestring" = xdisable; then
3140 if test $wxUSE_PLUGINS = yes; then
3141 result=no
3142 else
3143 result=yes
3144 fi
3145 else
3146 result=$wxUSE_PLUGINS
3147 fi
3148
3149 { echo "$as_me:$LINENO: result: $result" >&5
3150 echo "${ECHO_T}$result" >&6; }
3151
3152
3153 withstring=without
3154 defaultval=$wxUSE_ALL_FEATURES
3155 if test -z "$defaultval"; then
3156 if test x"$withstring" = xwithout; then
3157 defaultval=yes
3158 else
3159 defaultval=no
3160 fi
3161 fi
3162 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3163 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3164
3165 # Check whether --with-subdirs was given.
3166 if test "${with_subdirs+set}" = set; then
3167 withval=$with_subdirs;
3168 if test "$withval" = yes; then
3169 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3170 else
3171 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3172 fi
3173 cache=yes
3174
3175 else
3176
3177 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x ; then
3179 eval "DEFAULT_$LINE"
3180 cache=yes
3181 else
3182 cache=no
3183 fi
3184
3185 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3186
3187 fi
3188
3189
3190 eval "$wx_cv_use_subdirs"
3191 if test "x$cache" = xyes; then
3192 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3193 fi
3194
3195 if test x"$withstring" = xwithout; then
3196 if test $wxWITH_SUBDIRS = yes; then
3197 result=no
3198 else
3199 result=yes
3200 fi
3201 else
3202 result=$wxWITH_SUBDIRS
3203 fi
3204
3205 { echo "$as_me:$LINENO: result: $result" >&5
3206 echo "${ECHO_T}$result" >&6; }
3207
3208
3209 # Check whether --with-flavour was given.
3210 if test "${with_flavour+set}" = set; then
3211 withval=$with_flavour; WX_FLAVOUR="$withval"
3212 fi
3213
3214
3215 enablestring=
3216 defaultval=
3217 if test -z "$defaultval"; then
3218 if test x"$enablestring" = xdisable; then
3219 defaultval=yes
3220 else
3221 defaultval=no
3222 fi
3223 fi
3224
3225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3227 # Check whether --enable-official_build was given.
3228 if test "${enable_official_build+set}" = set; then
3229 enableval=$enable_official_build;
3230 if test "$enableval" = yes; then
3231 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3232 else
3233 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3234 fi
3235 cache=yes
3236
3237 else
3238
3239 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x ; then
3241 eval "DEFAULT_$LINE"
3242 cache=yes
3243 else
3244 cache=no
3245 fi
3246
3247 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3248
3249 fi
3250
3251
3252 eval "$wx_cv_use_official_build"
3253 if test "x$cache" = xyes; then
3254 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3255 fi
3256
3257 if test x"$enablestring" = xdisable; then
3258 if test $wxUSE_OFFICIAL_BUILD = yes; then
3259 result=no
3260 else
3261 result=yes
3262 fi
3263 else
3264 result=$wxUSE_OFFICIAL_BUILD
3265 fi
3266
3267 { echo "$as_me:$LINENO: result: $result" >&5
3268 echo "${ECHO_T}$result" >&6; }
3269
3270 # Check whether --enable-vendor was given.
3271 if test "${enable_vendor+set}" = set; then
3272 enableval=$enable_vendor; VENDOR="$enableval"
3273 fi
3274
3275 if test "x$VENDOR" = "x"; then
3276 VENDOR="custom"
3277 fi
3278
3279
3280 enablestring=disable
3281 defaultval=
3282 if test -z "$defaultval"; then
3283 if test x"$enablestring" = xdisable; then
3284 defaultval=yes
3285 else
3286 defaultval=no
3287 fi
3288 fi
3289
3290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3291 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3292 # Check whether --enable-all-features was given.
3293 if test "${enable_all_features+set}" = set; then
3294 enableval=$enable_all_features;
3295 if test "$enableval" = yes; then
3296 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3297 else
3298 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3299 fi
3300 cache=yes
3301
3302 else
3303
3304 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x ; then
3306 eval "DEFAULT_$LINE"
3307 cache=yes
3308 else
3309 cache=no
3310 fi
3311
3312 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3313
3314 fi
3315
3316
3317 eval "$wx_cv_use_all_features"
3318 if test "x$cache" = xyes; then
3319 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3320 fi
3321
3322 if test x"$enablestring" = xdisable; then
3323 if test $wxUSE_ALL_FEATURES = yes; then
3324 result=no
3325 else
3326 result=yes
3327 fi
3328 else
3329 result=$wxUSE_ALL_FEATURES
3330 fi
3331
3332 { echo "$as_me:$LINENO: result: $result" >&5
3333 echo "${ECHO_T}$result" >&6; }
3334
3335
3336
3337 if test "$wxUSE_GUI" = "yes"; then
3338
3339
3340 enablestring=
3341 defaultval=
3342 if test -z "$defaultval"; then
3343 if test x"$enablestring" = xdisable; then
3344 defaultval=yes
3345 else
3346 defaultval=no
3347 fi
3348 fi
3349
3350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3351 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3352 # Check whether --enable-universal was given.
3353 if test "${enable_universal+set}" = set; then
3354 enableval=$enable_universal;
3355 if test "$enableval" = yes; then
3356 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3357 else
3358 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3359 fi
3360 cache=yes
3361
3362 else
3363
3364 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3367 cache=yes
3368 else
3369 cache=no
3370 fi
3371
3372 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3373
3374 fi
3375
3376
3377 eval "$wx_cv_use_universal"
3378 if test "x$cache" = xyes; then
3379 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3380 fi
3381
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_UNIVERSAL = yes; then
3384 result=no
3385 else
3386 result=yes
3387 fi
3388 else
3389 result=$wxUSE_UNIVERSAL
3390 fi
3391
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3394
3395 if test "$wxUSE_UNIVERSAL" = "yes"; then
3396
3397 # Check whether --with-themes was given.
3398 if test "${with_themes+set}" = set; then
3399 withval=$with_themes; wxUNIV_THEMES="$withval"
3400 fi
3401
3402 fi
3403
3404
3405 # Check whether --with-gtk was given.
3406 if test "${with_gtk+set}" = set; then
3407 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3408 fi
3409
3410
3411 # Check whether --with-motif was given.
3412 if test "${with_motif+set}" = set; then
3413 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3414 fi
3415
3416
3417 # Check whether --with-mac was given.
3418 if test "${with_mac+set}" = set; then
3419 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3420 fi
3421
3422
3423 # Check whether --with-cocoa was given.
3424 if test "${with_cocoa+set}" = set; then
3425 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3426 fi
3427
3428
3429 # Check whether --with-wine was given.
3430 if test "${with_wine+set}" = set; then
3431 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3432 fi
3433
3434
3435 # Check whether --with-msw was given.
3436 if test "${with_msw+set}" = set; then
3437 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3438 fi
3439
3440
3441 # Check whether --with-pm was given.
3442 if test "${with_pm+set}" = set; then
3443 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3444 fi
3445
3446
3447 # Check whether --with-mgl was given.
3448 if test "${with_mgl+set}" = set; then
3449 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3450 fi
3451
3452
3453 # Check whether --with-directfb was given.
3454 if test "${with_directfb+set}" = set; then
3455 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3456 fi
3457
3458
3459 # Check whether --with-microwin was given.
3460 if test "${with_microwin+set}" = set; then
3461 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3462 fi
3463
3464
3465 # Check whether --with-x11 was given.
3466 if test "${with_x11+set}" = set; then
3467 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3468 fi
3469
3470
3471 enablestring=
3472 defaultval=
3473 if test -z "$defaultval"; then
3474 if test x"$enablestring" = xdisable; then
3475 defaultval=yes
3476 else
3477 defaultval=no
3478 fi
3479 fi
3480
3481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3482 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3483 # Check whether --enable-nanox was given.
3484 if test "${enable_nanox+set}" = set; then
3485 enableval=$enable_nanox;
3486 if test "$enableval" = yes; then
3487 wx_cv_use_nanox='wxUSE_NANOX=yes'
3488 else
3489 wx_cv_use_nanox='wxUSE_NANOX=no'
3490 fi
3491 cache=yes
3492
3493 else
3494
3495 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x ; then
3497 eval "DEFAULT_$LINE"
3498 cache=yes
3499 else
3500 cache=no
3501 fi
3502
3503 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3504
3505 fi
3506
3507
3508 eval "$wx_cv_use_nanox"
3509 if test "x$cache" = xyes; then
3510 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3511 fi
3512
3513 if test x"$enablestring" = xdisable; then
3514 if test $wxUSE_NANOX = yes; then
3515 result=no
3516 else
3517 result=yes
3518 fi
3519 else
3520 result=$wxUSE_NANOX
3521 fi
3522
3523 { echo "$as_me:$LINENO: result: $result" >&5
3524 echo "${ECHO_T}$result" >&6; }
3525
3526
3527 # Check whether --enable-gtk2 was given.
3528 if test "${enable_gtk2+set}" = set; then
3529 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3530 fi
3531
3532
3533 enablestring=
3534 defaultval=
3535 if test -z "$defaultval"; then
3536 if test x"$enablestring" = xdisable; then
3537 defaultval=yes
3538 else
3539 defaultval=no
3540 fi
3541 fi
3542
3543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3544 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3545 # Check whether --enable-gpe was given.
3546 if test "${enable_gpe+set}" = set; then
3547 enableval=$enable_gpe;
3548 if test "$enableval" = yes; then
3549 wx_cv_use_gpe='wxUSE_GPE=yes'
3550 else
3551 wx_cv_use_gpe='wxUSE_GPE=no'
3552 fi
3553 cache=yes
3554
3555 else
3556
3557 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x ; then
3559 eval "DEFAULT_$LINE"
3560 cache=yes
3561 else
3562 cache=no
3563 fi
3564
3565 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3566
3567 fi
3568
3569
3570 eval "$wx_cv_use_gpe"
3571 if test "x$cache" = xyes; then
3572 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3573 fi
3574
3575 if test x"$enablestring" = xdisable; then
3576 if test $wxUSE_GPE = yes; then
3577 result=no
3578 else
3579 result=yes
3580 fi
3581 else
3582 result=$wxUSE_GPE
3583 fi
3584
3585 { echo "$as_me:$LINENO: result: $result" >&5
3586 echo "${ECHO_T}$result" >&6; }
3587
3588
3589
3590
3591 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3592 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3593
3594 # Check whether --with-libpng was given.
3595 if test "${with_libpng+set}" = set; then
3596 withval=$with_libpng;
3597 if test "$withval" = yes; then
3598 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3599 elif test "$withval" = no; then
3600 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3601 elif test "$withval" = sys; then
3602 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3603 elif test "$withval" = builtin; then
3604 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3605 else
3606 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3607 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3608 { (exit 1); exit 1; }; }
3609 fi
3610 cache=yes
3611
3612 else
3613
3614 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x ; then
3616 eval "DEFAULT_$LINE"
3617 cache=yes
3618 else
3619 cache=no
3620 fi
3621
3622 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3623
3624 fi
3625
3626
3627 eval "$wx_cv_use_libpng"
3628 if test "x$cache" = xyes; then
3629 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3630 fi
3631
3632 if test "$wxUSE_LIBPNG" = yes; then
3633 { echo "$as_me:$LINENO: result: yes" >&5
3634 echo "${ECHO_T}yes" >&6; }
3635 elif test "$wxUSE_LIBPNG" = no; then
3636 { echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6; }
3638 elif test "$wxUSE_LIBPNG" = sys; then
3639 { echo "$as_me:$LINENO: result: system version" >&5
3640 echo "${ECHO_T}system version" >&6; }
3641 elif test "$wxUSE_LIBPNG" = builtin; then
3642 { echo "$as_me:$LINENO: result: builtin version" >&5
3643 echo "${ECHO_T}builtin version" >&6; }
3644 else
3645 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3646 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3647 { (exit 1); exit 1; }; }
3648 fi
3649
3650
3651 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3652 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libjpeg was given.
3655 if test "${with_libjpeg+set}" = set; then
3656 withval=$with_libjpeg;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670 cache=yes
3671
3672 else
3673
3674 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 cache=yes
3678 else
3679 cache=no
3680 fi
3681
3682 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3683
3684 fi
3685
3686
3687 eval "$wx_cv_use_libjpeg"
3688 if test "x$cache" = xyes; then
3689 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3690 fi
3691
3692 if test "$wxUSE_LIBJPEG" = yes; then
3693 { echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6; }
3695 elif test "$wxUSE_LIBJPEG" = no; then
3696 { echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6; }
3698 elif test "$wxUSE_LIBJPEG" = sys; then
3699 { echo "$as_me:$LINENO: result: system version" >&5
3700 echo "${ECHO_T}system version" >&6; }
3701 elif test "$wxUSE_LIBJPEG" = builtin; then
3702 { echo "$as_me:$LINENO: result: builtin version" >&5
3703 echo "${ECHO_T}builtin version" >&6; }
3704 else
3705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3706 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709
3710
3711 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3712 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3713
3714 # Check whether --with-libtiff was given.
3715 if test "${with_libtiff+set}" = set; then
3716 withval=$with_libtiff;
3717 if test "$withval" = yes; then
3718 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3719 elif test "$withval" = no; then
3720 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3721 elif test "$withval" = sys; then
3722 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3723 elif test "$withval" = builtin; then
3724 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3725 else
3726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3727 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3729 fi
3730 cache=yes
3731
3732 else
3733
3734 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x ; then
3736 eval "DEFAULT_$LINE"
3737 cache=yes
3738 else
3739 cache=no
3740 fi
3741
3742 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3743
3744 fi
3745
3746
3747 eval "$wx_cv_use_libtiff"
3748 if test "x$cache" = xyes; then
3749 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3750 fi
3751
3752 if test "$wxUSE_LIBTIFF" = yes; then
3753 { echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6; }
3755 elif test "$wxUSE_LIBTIFF" = no; then
3756 { echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = sys; then
3759 { echo "$as_me:$LINENO: result: system version" >&5
3760 echo "${ECHO_T}system version" >&6; }
3761 elif test "$wxUSE_LIBTIFF" = builtin; then
3762 { echo "$as_me:$LINENO: result: builtin version" >&5
3763 echo "${ECHO_T}builtin version" >&6; }
3764 else
3765 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3766 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3767 { (exit 1); exit 1; }; }
3768 fi
3769
3770
3771 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3772 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3773
3774 # Check whether --with-libxpm was given.
3775 if test "${with_libxpm+set}" = set; then
3776 withval=$with_libxpm;
3777 if test "$withval" = yes; then
3778 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3779 elif test "$withval" = no; then
3780 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3781 elif test "$withval" = sys; then
3782 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3783 elif test "$withval" = builtin; then
3784 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3785 else
3786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3787 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3788 { (exit 1); exit 1; }; }
3789 fi
3790 cache=yes
3791
3792 else
3793
3794 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3795 if test "x$LINE" != x ; then
3796 eval "DEFAULT_$LINE"
3797 cache=yes
3798 else
3799 cache=no
3800 fi
3801
3802 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3803
3804 fi
3805
3806
3807 eval "$wx_cv_use_libxpm"
3808 if test "x$cache" = xyes; then
3809 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3810 fi
3811
3812 if test "$wxUSE_LIBXPM" = yes; then
3813 { echo "$as_me:$LINENO: result: yes" >&5
3814 echo "${ECHO_T}yes" >&6; }
3815 elif test "$wxUSE_LIBXPM" = no; then
3816 { echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6; }
3818 elif test "$wxUSE_LIBXPM" = sys; then
3819 { echo "$as_me:$LINENO: result: system version" >&5
3820 echo "${ECHO_T}system version" >&6; }
3821 elif test "$wxUSE_LIBXPM" = builtin; then
3822 { echo "$as_me:$LINENO: result: builtin version" >&5
3823 echo "${ECHO_T}builtin version" >&6; }
3824 else
3825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3826 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3827 { (exit 1); exit 1; }; }
3828 fi
3829
3830
3831 withstring=
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3835 defaultval=yes
3836 else
3837 defaultval=no
3838 fi
3839 fi
3840 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3841 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3842
3843 # Check whether --with-libmspack was given.
3844 if test "${with_libmspack+set}" = set; then
3845 withval=$with_libmspack;
3846 if test "$withval" = yes; then
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3848 else
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3850 fi
3851 cache=yes
3852
3853 else
3854
3855 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3856 if test "x$LINE" != x ; then
3857 eval "DEFAULT_$LINE"
3858 cache=yes
3859 else
3860 cache=no
3861 fi
3862
3863 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3864
3865 fi
3866
3867
3868 eval "$wx_cv_use_libmspack"
3869 if test "x$cache" = xyes; then
3870 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3871 fi
3872
3873 if test x"$withstring" = xwithout; then
3874 if test $wxUSE_LIBMSPACK = yes; then
3875 result=no
3876 else
3877 result=yes
3878 fi
3879 else
3880 result=$wxUSE_LIBMSPACK
3881 fi
3882
3883 { echo "$as_me:$LINENO: result: $result" >&5
3884 echo "${ECHO_T}$result" >&6; }
3885
3886
3887 withstring=without
3888 defaultval=$wxUSE_ALL_FEATURES
3889 if test -z "$defaultval"; then
3890 if test x"$withstring" = xwithout; then
3891 defaultval=yes
3892 else
3893 defaultval=no
3894 fi
3895 fi
3896 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3897 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3898
3899 # Check whether --with-gtkprint was given.
3900 if test "${with_gtkprint+set}" = set; then
3901 withval=$with_gtkprint;
3902 if test "$withval" = yes; then
3903 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3904 else
3905 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3906 fi
3907 cache=yes
3908
3909 else
3910
3911 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3914 cache=yes
3915 else
3916 cache=no
3917 fi
3918
3919 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3920
3921 fi
3922
3923
3924 eval "$wx_cv_use_gtkprint"
3925 if test "x$cache" = xyes; then
3926 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test x"$withstring" = xwithout; then
3930 if test $wxUSE_GTKPRINT = yes; then
3931 result=no
3932 else
3933 result=yes
3934 fi
3935 else
3936 result=$wxUSE_GTKPRINT
3937 fi
3938
3939 { echo "$as_me:$LINENO: result: $result" >&5
3940 echo "${ECHO_T}$result" >&6; }
3941
3942
3943 withstring=without
3944 defaultval=$wxUSE_ALL_FEATURES
3945 if test -z "$defaultval"; then
3946 if test x"$withstring" = xwithout; then
3947 defaultval=yes
3948 else
3949 defaultval=no
3950 fi
3951 fi
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3954
3955 # Check whether --with-gnomeprint was given.
3956 if test "${with_gnomeprint+set}" = set; then
3957 withval=$with_gnomeprint;
3958 if test "$withval" = yes; then
3959 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3960 else
3961 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3962 fi
3963 cache=yes
3964
3965 else
3966
3967 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x ; then
3969 eval "DEFAULT_$LINE"
3970 cache=yes
3971 else
3972 cache=no
3973 fi
3974
3975 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3976
3977 fi
3978
3979
3980 eval "$wx_cv_use_gnomeprint"
3981 if test "x$cache" = xyes; then
3982 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3983 fi
3984
3985 if test x"$withstring" = xwithout; then
3986 if test $wxUSE_LIBGNOMEPRINT = yes; then
3987 result=no
3988 else
3989 result=yes
3990 fi
3991 else
3992 result=$wxUSE_LIBGNOMEPRINT
3993 fi
3994
3995 { echo "$as_me:$LINENO: result: $result" >&5
3996 echo "${ECHO_T}$result" >&6; }
3997
3998
3999 withstring=
4000 defaultval=$wxUSE_ALL_FEATURES
4001 if test -z "$defaultval"; then
4002 if test x"$withstring" = xwithout; then
4003 defaultval=yes
4004 else
4005 defaultval=no
4006 fi
4007 fi
4008 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4009 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4010
4011 # Check whether --with-gnomevfs was given.
4012 if test "${with_gnomevfs+set}" = set; then
4013 withval=$with_gnomevfs;
4014 if test "$withval" = yes; then
4015 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4016 else
4017 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4018 fi
4019 cache=yes
4020
4021 else
4022
4023 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x ; then
4025 eval "DEFAULT_$LINE"
4026 cache=yes
4027 else
4028 cache=no
4029 fi
4030
4031 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4032
4033 fi
4034
4035
4036 eval "$wx_cv_use_gnomevfs"
4037 if test "x$cache" = xyes; then
4038 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4039 fi
4040
4041 if test x"$withstring" = xwithout; then
4042 if test $wxUSE_LIBGNOMEVFS = yes; then
4043 result=no
4044 else
4045 result=yes
4046 fi
4047 else
4048 result=$wxUSE_LIBGNOMEVFS
4049 fi
4050
4051 { echo "$as_me:$LINENO: result: $result" >&5
4052 echo "${ECHO_T}$result" >&6; }
4053
4054
4055 withstring=
4056 defaultval=$wxUSE_ALL_FEATURES
4057 if test -z "$defaultval"; then
4058 if test x"$withstring" = xwithout; then
4059 defaultval=yes
4060 else
4061 defaultval=no
4062 fi
4063 fi
4064 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4065 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4066
4067 # Check whether --with-hildon was given.
4068 if test "${with_hildon+set}" = set; then
4069 withval=$with_hildon;
4070 if test "$withval" = yes; then
4071 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4072 else
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4074 fi
4075 cache=yes
4076
4077 else
4078
4079 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 cache=yes
4083 else
4084 cache=no
4085 fi
4086
4087 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4088
4089 fi
4090
4091
4092 eval "$wx_cv_use_hildon"
4093 if test "x$cache" = xyes; then
4094 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4095 fi
4096
4097 if test x"$withstring" = xwithout; then
4098 if test $wxUSE_LIBHILDON = yes; then
4099 result=no
4100 else
4101 result=yes
4102 fi
4103 else
4104 result=$wxUSE_LIBHILDON
4105 fi
4106
4107 { echo "$as_me:$LINENO: result: $result" >&5
4108 echo "${ECHO_T}$result" >&6; }
4109
4110
4111 withstring=
4112 defaultval=$wxUSE_ALL_FEATURES
4113 if test -z "$defaultval"; then
4114 if test x"$withstring" = xwithout; then
4115 defaultval=yes
4116 else
4117 defaultval=no
4118 fi
4119 fi
4120 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4121 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4122
4123 # Check whether --with-opengl was given.
4124 if test "${with_opengl+set}" = set; then
4125 withval=$with_opengl;
4126 if test "$withval" = yes; then
4127 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4128 else
4129 wx_cv_use_opengl='wxUSE_OPENGL=no'
4130 fi
4131 cache=yes
4132
4133 else
4134
4135 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x ; then
4137 eval "DEFAULT_$LINE"
4138 cache=yes
4139 else
4140 cache=no
4141 fi
4142
4143 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4144
4145 fi
4146
4147
4148 eval "$wx_cv_use_opengl"
4149 if test "x$cache" = xyes; then
4150 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4151 fi
4152
4153 if test x"$withstring" = xwithout; then
4154 if test $wxUSE_OPENGL = yes; then
4155 result=no
4156 else
4157 result=yes
4158 fi
4159 else
4160 result=$wxUSE_OPENGL
4161 fi
4162
4163 { echo "$as_me:$LINENO: result: $result" >&5
4164 echo "${ECHO_T}$result" >&6; }
4165
4166
4167 fi
4168
4169
4170 withstring=
4171 defaultval=$wxUSE_ALL_FEATURES
4172 if test -z "$defaultval"; then
4173 if test x"$withstring" = xwithout; then
4174 defaultval=yes
4175 else
4176 defaultval=no
4177 fi
4178 fi
4179 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4180 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4181
4182 # Check whether --with-dmalloc was given.
4183 if test "${with_dmalloc+set}" = set; then
4184 withval=$with_dmalloc;
4185 if test "$withval" = yes; then
4186 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4187 else
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4189 fi
4190 cache=yes
4191
4192 else
4193
4194 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4197 cache=yes
4198 else
4199 cache=no
4200 fi
4201
4202 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4203
4204 fi
4205
4206
4207 eval "$wx_cv_use_dmalloc"
4208 if test "x$cache" = xyes; then
4209 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4210 fi
4211
4212 if test x"$withstring" = xwithout; then
4213 if test $wxUSE_DMALLOC = yes; then
4214 result=no
4215 else
4216 result=yes
4217 fi
4218 else
4219 result=$wxUSE_DMALLOC
4220 fi
4221
4222 { echo "$as_me:$LINENO: result: $result" >&5
4223 echo "${ECHO_T}$result" >&6; }
4224
4225
4226 withstring=
4227 defaultval=$wxUSE_ALL_FEATURES
4228 if test -z "$defaultval"; then
4229 if test x"$withstring" = xwithout; then
4230 defaultval=yes
4231 else
4232 defaultval=no
4233 fi
4234 fi
4235 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4236 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4237
4238 # Check whether --with-sdl was given.
4239 if test "${with_sdl+set}" = set; then
4240 withval=$with_sdl;
4241 if test "$withval" = yes; then
4242 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4243 else
4244 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4245 fi
4246 cache=yes
4247
4248 else
4249
4250 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x ; then
4252 eval "DEFAULT_$LINE"
4253 cache=yes
4254 else
4255 cache=no
4256 fi
4257
4258 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4259
4260 fi
4261
4262
4263 eval "$wx_cv_use_sdl"
4264 if test "x$cache" = xyes; then
4265 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test x"$withstring" = xwithout; then
4269 if test $wxUSE_LIBSDL = yes; then
4270 result=no
4271 else
4272 result=yes
4273 fi
4274 else
4275 result=$wxUSE_LIBSDL
4276 fi
4277
4278 { echo "$as_me:$LINENO: result: $result" >&5
4279 echo "${ECHO_T}$result" >&6; }
4280
4281
4282 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4283 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4284
4285 # Check whether --with-regex was given.
4286 if test "${with_regex+set}" = set; then
4287 withval=$with_regex;
4288 if test "$withval" = yes; then
4289 wx_cv_use_regex='wxUSE_REGEX=yes'
4290 elif test "$withval" = no; then
4291 wx_cv_use_regex='wxUSE_REGEX=no'
4292 elif test "$withval" = sys; then
4293 wx_cv_use_regex='wxUSE_REGEX=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_regex='wxUSE_REGEX=builtin'
4296 else
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4300 fi
4301 cache=yes
4302
4303 else
4304
4305 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4308 cache=yes
4309 else
4310 cache=no
4311 fi
4312
4313 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4314
4315 fi
4316
4317
4318 eval "$wx_cv_use_regex"
4319 if test "x$cache" = xyes; then
4320 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4321 fi
4322
4323 if test "$wxUSE_REGEX" = yes; then
4324 { echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6; }
4326 elif test "$wxUSE_REGEX" = no; then
4327 { echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6; }
4329 elif test "$wxUSE_REGEX" = sys; then
4330 { echo "$as_me:$LINENO: result: system version" >&5
4331 echo "${ECHO_T}system version" >&6; }
4332 elif test "$wxUSE_REGEX" = builtin; then
4333 { echo "$as_me:$LINENO: result: builtin version" >&5
4334 echo "${ECHO_T}builtin version" >&6; }
4335 else
4336 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4337 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4338 { (exit 1); exit 1; }; }
4339 fi
4340
4341
4342 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4343 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4344
4345 # Check whether --with-zlib was given.
4346 if test "${with_zlib+set}" = set; then
4347 withval=$with_zlib;
4348 if test "$withval" = yes; then
4349 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4350 elif test "$withval" = no; then
4351 wx_cv_use_zlib='wxUSE_ZLIB=no'
4352 elif test "$withval" = sys; then
4353 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4354 elif test "$withval" = builtin; then
4355 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4356 else
4357 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4358 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4359 { (exit 1); exit 1; }; }
4360 fi
4361 cache=yes
4362
4363 else
4364
4365 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4368 cache=yes
4369 else
4370 cache=no
4371 fi
4372
4373 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4374
4375 fi
4376
4377
4378 eval "$wx_cv_use_zlib"
4379 if test "x$cache" = xyes; then
4380 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4381 fi
4382
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4395 else
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4399 fi
4400
4401
4402 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4403 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4404
4405 # Check whether --with-odbc was given.
4406 if test "${with_odbc+set}" = set; then
4407 withval=$with_odbc;
4408 if test "$withval" = yes; then
4409 wx_cv_use_odbc='wxUSE_ODBC=yes'
4410 elif test "$withval" = no; then
4411 wx_cv_use_odbc='wxUSE_ODBC=no'
4412 elif test "$withval" = sys; then
4413 wx_cv_use_odbc='wxUSE_ODBC=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4416 else
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4420 fi
4421 cache=yes
4422
4423 else
4424
4425 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 cache=yes
4429 else
4430 cache=no
4431 fi
4432
4433 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4434
4435 fi
4436
4437
4438 eval "$wx_cv_use_odbc"
4439 if test "x$cache" = xyes; then
4440 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_ODBC" = yes; then
4444 { echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6; }
4446 elif test "$wxUSE_ODBC" = no; then
4447 { echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6; }
4449 elif test "$wxUSE_ODBC" = sys; then
4450 { echo "$as_me:$LINENO: result: system version" >&5
4451 echo "${ECHO_T}system version" >&6; }
4452 elif test "$wxUSE_ODBC" = builtin; then
4453 { echo "$as_me:$LINENO: result: builtin version" >&5
4454 echo "${ECHO_T}builtin version" >&6; }
4455 else
4456 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4457 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4458 { (exit 1); exit 1; }; }
4459 fi
4460
4461
4462 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4463 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4464
4465 # Check whether --with-expat was given.
4466 if test "${with_expat+set}" = set; then
4467 withval=$with_expat;
4468 if test "$withval" = yes; then
4469 wx_cv_use_expat='wxUSE_EXPAT=yes'
4470 elif test "$withval" = no; then
4471 wx_cv_use_expat='wxUSE_EXPAT=no'
4472 elif test "$withval" = sys; then
4473 wx_cv_use_expat='wxUSE_EXPAT=sys'
4474 elif test "$withval" = builtin; then
4475 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4476 else
4477 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4478 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4479 { (exit 1); exit 1; }; }
4480 fi
4481 cache=yes
4482
4483 else
4484
4485 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x ; then
4487 eval "DEFAULT_$LINE"
4488 cache=yes
4489 else
4490 cache=no
4491 fi
4492
4493 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4494
4495 fi
4496
4497
4498 eval "$wx_cv_use_expat"
4499 if test "x$cache" = xyes; then
4500 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4501 fi
4502
4503 if test "$wxUSE_EXPAT" = yes; then
4504 { echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6; }
4506 elif test "$wxUSE_EXPAT" = no; then
4507 { echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6; }
4509 elif test "$wxUSE_EXPAT" = sys; then
4510 { echo "$as_me:$LINENO: result: system version" >&5
4511 echo "${ECHO_T}system version" >&6; }
4512 elif test "$wxUSE_EXPAT" = builtin; then
4513 { echo "$as_me:$LINENO: result: builtin version" >&5
4514 echo "${ECHO_T}builtin version" >&6; }
4515 else
4516 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4517 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4518 { (exit 1); exit 1; }; }
4519 fi
4520
4521
4522 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4523 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4524
4525 # Check whether --with-macosx-sdk was given.
4526 if test "${with_macosx_sdk+set}" = set; then
4527 withval=$with_macosx_sdk;
4528 wxUSE_MACOSX_SDK=$withval
4529 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4530 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4531
4532 else
4533
4534 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4535 # will override --enable-universal_binary's automatic SDK usage.
4536 wxUSE_MACOSX_SDK=
4537 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x ; then
4539 eval "$LINE"
4540 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 fi
4544
4545 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4546 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4547
4548 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4549 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4550
4551 # Check whether --with-macosx-version-min was given.
4552 if test "${with_macosx_version_min+set}" = set; then
4553 withval=$with_macosx_version_min;
4554 wxUSE_MACOSX_VERSION_MIN=$withval
4555 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4556 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4557
4558 else
4559
4560 # default "yes" because when not using an SDK it means the same as no
4561 # but when using an SDK it means to use the SDK version
4562 wxUSE_MACOSX_VERSION_MIN=yes
4563 # See if there is a value in the cache
4564 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "$LINE"
4567 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4568 fi
4569
4570 fi
4571
4572 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4573 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4574
4575
4576
4577 enablestring=disable
4578 defaultval=
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4581 defaultval=yes
4582 else
4583 defaultval=no
4584 fi
4585 fi
4586
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4589 # Check whether --enable-shared was given.
4590 if test "${enable_shared+set}" = set; then
4591 enableval=$enable_shared;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_shared='wxUSE_SHARED=yes'
4594 else
4595 wx_cv_use_shared='wxUSE_SHARED=no'
4596 fi
4597 cache=yes
4598
4599 else
4600
4601 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4604 cache=yes
4605 else
4606 cache=no
4607 fi
4608
4609 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4610
4611 fi
4612
4613
4614 eval "$wx_cv_use_shared"
4615 if test "x$cache" = xyes; then
4616 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4617 fi
4618
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_SHARED = yes; then
4621 result=no
4622 else
4623 result=yes
4624 fi
4625 else
4626 result=$wxUSE_SHARED
4627 fi
4628
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4631
4632
4633 enablestring=disable
4634 defaultval=
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4637 defaultval=yes
4638 else
4639 defaultval=no
4640 fi
4641 fi
4642
4643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4645 # Check whether --enable-optimise was given.
4646 if test "${enable_optimise+set}" = set; then
4647 enableval=$enable_optimise;
4648 if test "$enableval" = yes; then
4649 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4650 else
4651 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4652 fi
4653 cache=yes
4654
4655 else
4656
4657 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x ; then
4659 eval "DEFAULT_$LINE"
4660 cache=yes
4661 else
4662 cache=no
4663 fi
4664
4665 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4666
4667 fi
4668
4669
4670 eval "$wx_cv_use_optimise"
4671 if test "x$cache" = xyes; then
4672 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4673 fi
4674
4675 if test x"$enablestring" = xdisable; then
4676 if test $wxUSE_OPTIMISE = yes; then
4677 result=no
4678 else
4679 result=yes
4680 fi
4681 else
4682 result=$wxUSE_OPTIMISE
4683 fi
4684
4685 { echo "$as_me:$LINENO: result: $result" >&5
4686 echo "${ECHO_T}$result" >&6; }
4687
4688
4689 enablestring=
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4701 # Check whether --enable-debug was given.
4702 if test "${enable_debug+set}" = set; then
4703 enableval=$enable_debug;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_debug='wxUSE_DEBUG=yes'
4706 else
4707 wx_cv_use_debug='wxUSE_DEBUG=no'
4708 fi
4709 cache=yes
4710
4711 else
4712
4713 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x ; then
4715 eval "DEFAULT_$LINE"
4716 cache=yes
4717 else
4718 cache=no
4719 fi
4720
4721 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4722
4723 fi
4724
4725
4726 eval "$wx_cv_use_debug"
4727 if test "x$cache" = xyes; then
4728 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4729 fi
4730
4731 if test x"$enablestring" = xdisable; then
4732 if test $wxUSE_DEBUG = yes; then
4733 result=no
4734 else
4735 result=yes
4736 fi
4737 else
4738 result=$wxUSE_DEBUG
4739 fi
4740
4741 { echo "$as_me:$LINENO: result: $result" >&5
4742 echo "${ECHO_T}$result" >&6; }
4743
4744
4745 enablestring=
4746 defaultval=
4747 if test -z "$defaultval"; then
4748 if test x"$enablestring" = xdisable; then
4749 defaultval=yes
4750 else
4751 defaultval=no
4752 fi
4753 fi
4754
4755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4756 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4757 # Check whether --enable-stl was given.
4758 if test "${enable_stl+set}" = set; then
4759 enableval=$enable_stl;
4760 if test "$enableval" = yes; then
4761 wx_cv_use_stl='wxUSE_STL=yes'
4762 else
4763 wx_cv_use_stl='wxUSE_STL=no'
4764 fi
4765 cache=yes
4766
4767 else
4768
4769 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x ; then
4771 eval "DEFAULT_$LINE"
4772 cache=yes
4773 else
4774 cache=no
4775 fi
4776
4777 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4778
4779 fi
4780
4781
4782 eval "$wx_cv_use_stl"
4783 if test "x$cache" = xyes; then
4784 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4785 fi
4786
4787 if test x"$enablestring" = xdisable; then
4788 if test $wxUSE_STL = yes; then
4789 result=no
4790 else
4791 result=yes
4792 fi
4793 else
4794 result=$wxUSE_STL
4795 fi
4796
4797 { echo "$as_me:$LINENO: result: $result" >&5
4798 echo "${ECHO_T}$result" >&6; }
4799
4800
4801 enablestring=
4802 defaultval=
4803 if test -z "$defaultval"; then
4804 if test x"$enablestring" = xdisable; then
4805 defaultval=yes
4806 else
4807 defaultval=no
4808 fi
4809 fi
4810
4811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4812 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4813 # Check whether --enable-std_iostreams was given.
4814 if test "${enable_std_iostreams+set}" = set; then
4815 enableval=$enable_std_iostreams;
4816 if test "$enableval" = yes; then
4817 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4818 else
4819 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4820 fi
4821 cache=yes
4822
4823 else
4824
4825 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4826 if test "x$LINE" != x ; then
4827 eval "DEFAULT_$LINE"
4828 cache=yes
4829 else
4830 cache=no
4831 fi
4832
4833 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4834
4835 fi
4836
4837
4838 eval "$wx_cv_use_std_iostreams"
4839 if test "x$cache" = xyes; then
4840 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4841 fi
4842
4843 if test x"$enablestring" = xdisable; then
4844 if test $wxUSE_STD_IOSTREAM = yes; then
4845 result=no
4846 else
4847 result=yes
4848 fi
4849 else
4850 result=$wxUSE_STD_IOSTREAM
4851 fi
4852
4853 { echo "$as_me:$LINENO: result: $result" >&5
4854 echo "${ECHO_T}$result" >&6; }
4855
4856
4857 enablestring=
4858 defaultval=
4859 if test -z "$defaultval"; then
4860 if test x"$enablestring" = xdisable; then
4861 defaultval=yes
4862 else
4863 defaultval=no
4864 fi
4865 fi
4866
4867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4869 # Check whether --enable-std_string was given.
4870 if test "${enable_std_string+set}" = set; then
4871 enableval=$enable_std_string;
4872 if test "$enableval" = yes; then
4873 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4874 else
4875 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4876 fi
4877 cache=yes
4878
4879 else
4880
4881 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x ; then
4883 eval "DEFAULT_$LINE"
4884 cache=yes
4885 else
4886 cache=no
4887 fi
4888
4889 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4890
4891 fi
4892
4893
4894 eval "$wx_cv_use_std_string"
4895 if test "x$cache" = xyes; then
4896 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4897 fi
4898
4899 if test x"$enablestring" = xdisable; then
4900 if test $wxUSE_STD_STRING = yes; then
4901 result=no
4902 else
4903 result=yes
4904 fi
4905 else
4906 result=$wxUSE_STD_STRING
4907 fi
4908
4909 { echo "$as_me:$LINENO: result: $result" >&5
4910 echo "${ECHO_T}$result" >&6; }
4911
4912
4913 enablestring=disable
4914 defaultval=
4915 if test -z "$defaultval"; then
4916 if test x"$enablestring" = xdisable; then
4917 defaultval=yes
4918 else
4919 defaultval=no
4920 fi
4921 fi
4922
4923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4925 # Check whether --enable-unicode was given.
4926 if test "${enable_unicode+set}" = set; then
4927 enableval=$enable_unicode;
4928 if test "$enableval" = yes; then
4929 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4930 else
4931 wx_cv_use_unicode='wxUSE_UNICODE=no'
4932 fi
4933 cache=yes
4934
4935 else
4936
4937 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x ; then
4939 eval "DEFAULT_$LINE"
4940 cache=yes
4941 else
4942 cache=no
4943 fi
4944
4945 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4946
4947 fi
4948
4949
4950 eval "$wx_cv_use_unicode"
4951 if test "x$cache" = xyes; then
4952 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test x"$enablestring" = xdisable; then
4956 if test $wxUSE_UNICODE = yes; then
4957 result=no
4958 else
4959 result=yes
4960 fi
4961 else
4962 result=$wxUSE_UNICODE
4963 fi
4964
4965 { echo "$as_me:$LINENO: result: $result" >&5
4966 echo "${ECHO_T}$result" >&6; }
4967
4968
4969 enablestring=
4970 defaultval=
4971 if test -z "$defaultval"; then
4972 if test x"$enablestring" = xdisable; then
4973 defaultval=yes
4974 else
4975 defaultval=no
4976 fi
4977 fi
4978
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4981 # Check whether --enable-mslu was given.
4982 if test "${enable_mslu+set}" = set; then
4983 enableval=$enable_mslu;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4986 else
4987 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4988 fi
4989 cache=yes
4990
4991 else
4992
4993 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x ; then
4995 eval "DEFAULT_$LINE"
4996 cache=yes
4997 else
4998 cache=no
4999 fi
5000
5001 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5002
5003 fi
5004
5005
5006 eval "$wx_cv_use_mslu"
5007 if test "x$cache" = xyes; then
5008 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5009 fi
5010
5011 if test x"$enablestring" = xdisable; then
5012 if test $wxUSE_UNICODE_MSLU = yes; then
5013 result=no
5014 else
5015 result=yes
5016 fi
5017 else
5018 result=$wxUSE_UNICODE_MSLU
5019 fi
5020
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5023
5024
5025 enablestring=
5026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5027 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5028 # Check whether --enable-utf8 was given.
5029 if test "${enable_utf8+set}" = set; then
5030 enableval=$enable_utf8;
5031 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5032 cache=yes
5033
5034 else
5035
5036 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x ; then
5038 eval "DEFAULT_$LINE"
5039 cache=yes
5040 else
5041 cache=no
5042 fi
5043
5044 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5045
5046 fi
5047
5048
5049 eval "$wx_cv_use_utf8"
5050 if test "x$cache" = xyes; then
5051 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5052 fi
5053
5054 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5055 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5056
5057
5058 enablestring=
5059 defaultval=
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5062 defaultval=yes
5063 else
5064 defaultval=no
5065 fi
5066 fi
5067
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5070 # Check whether --enable-utf8only was given.
5071 if test "${enable_utf8only+set}" = set; then
5072 enableval=$enable_utf8only;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5075 else
5076 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5077 fi
5078 cache=yes
5079
5080 else
5081
5082 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5083 if test "x$LINE" != x ; then
5084 eval "DEFAULT_$LINE"
5085 cache=yes
5086 else
5087 cache=no
5088 fi
5089
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5091
5092 fi
5093
5094
5095 eval "$wx_cv_use_utf8only"
5096 if test "x$cache" = xyes; then
5097 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5098 fi
5099
5100 if test x"$enablestring" = xdisable; then
5101 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5102 result=no
5103 else
5104 result=yes
5105 fi
5106 else
5107 result=$wxUSE_UNICODE_UTF8_LOCALE
5108 fi
5109
5110 { echo "$as_me:$LINENO: result: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5112
5113
5114 enablestring=
5115 defaultval=
5116 if test -z "$defaultval"; then
5117 if test x"$enablestring" = xdisable; then
5118 defaultval=yes
5119 else
5120 defaultval=no
5121 fi
5122 fi
5123
5124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5126 # Check whether --enable-extended_rtti was given.
5127 if test "${enable_extended_rtti+set}" = set; then
5128 enableval=$enable_extended_rtti;
5129 if test "$enableval" = yes; then
5130 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5131 else
5132 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5133 fi
5134 cache=yes
5135
5136 else
5137
5138 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x ; then
5140 eval "DEFAULT_$LINE"
5141 cache=yes
5142 else
5143 cache=no
5144 fi
5145
5146 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5147
5148 fi
5149
5150
5151 eval "$wx_cv_use_extended_rtti"
5152 if test "x$cache" = xyes; then
5153 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5154 fi
5155
5156 if test x"$enablestring" = xdisable; then
5157 if test $wxUSE_EXTENDED_RTTI = yes; then
5158 result=no
5159 else
5160 result=yes
5161 fi
5162 else
5163 result=$wxUSE_EXTENDED_RTTI
5164 fi
5165
5166 { echo "$as_me:$LINENO: result: $result" >&5
5167 echo "${ECHO_T}$result" >&6; }
5168
5169 if test "$USE_OS2" = "1"; then
5170 DEFAULT_wxUSE_OMF=no
5171
5172 enablestring=
5173 defaultval=
5174 if test -z "$defaultval"; then
5175 if test x"$enablestring" = xdisable; then
5176 defaultval=yes
5177 else
5178 defaultval=no
5179 fi
5180 fi
5181
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5184 # Check whether --enable-omf was given.
5185 if test "${enable_omf+set}" = set; then
5186 enableval=$enable_omf;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_omf='wxUSE_OMF=yes'
5189 else
5190 wx_cv_use_omf='wxUSE_OMF=no'
5191 fi
5192 cache=yes
5193
5194 else
5195
5196 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5199 cache=yes
5200 else
5201 cache=no
5202 fi
5203
5204 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5205
5206 fi
5207
5208
5209 eval "$wx_cv_use_omf"
5210 if test "x$cache" = xyes; then
5211 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5212 fi
5213
5214 if test x"$enablestring" = xdisable; then
5215 if test $wxUSE_OMF = yes; then
5216 result=no
5217 else
5218 result=yes
5219 fi
5220 else
5221 result=$wxUSE_OMF
5222 fi
5223
5224 { echo "$as_me:$LINENO: result: $result" >&5
5225 echo "${ECHO_T}$result" >&6; }
5226
5227 fi
5228
5229 if test "$wxUSE_DEBUG" = "yes"; then
5230 DEFAULT_wxUSE_DEBUG_FLAG=yes
5231 DEFAULT_wxUSE_DEBUG_INFO=yes
5232 BUILD=debug
5233 elif test "$wxUSE_DEBUG" = "no"; then
5234 DEFAULT_wxUSE_DEBUG_FLAG=no
5235 DEFAULT_wxUSE_DEBUG_INFO=no
5236 BUILD=release
5237 fi
5238
5239
5240 enablestring=
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5252 # Check whether --enable-debug_flag was given.
5253 if test "${enable_debug_flag+set}" = set; then
5254 enableval=$enable_debug_flag;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5257 else
5258 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5259 fi
5260 cache=yes
5261
5262 else
5263
5264 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x ; then
5266 eval "DEFAULT_$LINE"
5267 cache=yes
5268 else
5269 cache=no
5270 fi
5271
5272 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5273
5274 fi
5275
5276
5277 eval "$wx_cv_use_debug_flag"
5278 if test "x$cache" = xyes; then
5279 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5280 fi
5281
5282 if test x"$enablestring" = xdisable; then
5283 if test $wxUSE_DEBUG_FLAG = yes; then
5284 result=no
5285 else
5286 result=yes
5287 fi
5288 else
5289 result=$wxUSE_DEBUG_FLAG
5290 fi
5291
5292 { echo "$as_me:$LINENO: result: $result" >&5
5293 echo "${ECHO_T}$result" >&6; }
5294
5295
5296 enablestring=
5297 defaultval=
5298 if test -z "$defaultval"; then
5299 if test x"$enablestring" = xdisable; then
5300 defaultval=yes
5301 else
5302 defaultval=no
5303 fi
5304 fi
5305
5306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5308 # Check whether --enable-debug_info was given.
5309 if test "${enable_debug_info+set}" = set; then
5310 enableval=$enable_debug_info;
5311 if test "$enableval" = yes; then
5312 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5313 else
5314 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5315 fi
5316 cache=yes
5317
5318 else
5319
5320 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x ; then
5322 eval "DEFAULT_$LINE"
5323 cache=yes
5324 else
5325 cache=no
5326 fi
5327
5328 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5329
5330 fi
5331
5332
5333 eval "$wx_cv_use_debug_info"
5334 if test "x$cache" = xyes; then
5335 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5336 fi
5337
5338 if test x"$enablestring" = xdisable; then
5339 if test $wxUSE_DEBUG_INFO = yes; then
5340 result=no
5341 else
5342 result=yes
5343 fi
5344 else
5345 result=$wxUSE_DEBUG_INFO
5346 fi
5347
5348 { echo "$as_me:$LINENO: result: $result" >&5
5349 echo "${ECHO_T}$result" >&6; }
5350
5351
5352 enablestring=
5353 defaultval=
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5356 defaultval=yes
5357 else
5358 defaultval=no
5359 fi
5360 fi
5361
5362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5363 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5364 # Check whether --enable-debug_gdb was given.
5365 if test "${enable_debug_gdb+set}" = set; then
5366 enableval=$enable_debug_gdb;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5369 else
5370 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5371 fi
5372 cache=yes
5373
5374 else
5375
5376 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5379 cache=yes
5380 else
5381 cache=no
5382 fi
5383
5384 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5385
5386 fi
5387
5388
5389 eval "$wx_cv_use_debug_gdb"
5390 if test "x$cache" = xyes; then
5391 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5392 fi
5393
5394 if test x"$enablestring" = xdisable; then
5395 if test $wxUSE_DEBUG_GDB = yes; then
5396 result=no
5397 else
5398 result=yes
5399 fi
5400 else
5401 result=$wxUSE_DEBUG_GDB
5402 fi
5403
5404 { echo "$as_me:$LINENO: result: $result" >&5
5405 echo "${ECHO_T}$result" >&6; }
5406
5407
5408 enablestring=
5409 defaultval=
5410 if test -z "$defaultval"; then
5411 if test x"$enablestring" = xdisable; then
5412 defaultval=yes
5413 else
5414 defaultval=no
5415 fi
5416 fi
5417
5418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5419 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5420 # Check whether --enable-debug_cntxt was given.
5421 if test "${enable_debug_cntxt+set}" = set; then
5422 enableval=$enable_debug_cntxt;
5423 if test "$enableval" = yes; then
5424 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5425 else
5426 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5427 fi
5428 cache=yes
5429
5430 else
5431
5432 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x ; then
5434 eval "DEFAULT_$LINE"
5435 cache=yes
5436 else
5437 cache=no
5438 fi
5439
5440 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5441
5442 fi
5443
5444
5445 eval "$wx_cv_use_debug_cntxt"
5446 if test "x$cache" = xyes; then
5447 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test x"$enablestring" = xdisable; then
5451 if test $wxUSE_DEBUG_CONTEXT = yes; then
5452 result=no
5453 else
5454 result=yes
5455 fi
5456 else
5457 result=$wxUSE_DEBUG_CONTEXT
5458 fi
5459
5460 { echo "$as_me:$LINENO: result: $result" >&5
5461 echo "${ECHO_T}$result" >&6; }
5462
5463
5464 enablestring=
5465 defaultval=
5466 if test -z "$defaultval"; then
5467 if test x"$enablestring" = xdisable; then
5468 defaultval=yes
5469 else
5470 defaultval=no
5471 fi
5472 fi
5473
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5476 # Check whether --enable-mem_tracing was given.
5477 if test "${enable_mem_tracing+set}" = set; then
5478 enableval=$enable_mem_tracing;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5481 else
5482 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5483 fi
5484 cache=yes
5485
5486 else
5487
5488 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x ; then
5490 eval "DEFAULT_$LINE"
5491 cache=yes
5492 else
5493 cache=no
5494 fi
5495
5496 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5497
5498 fi
5499
5500
5501 eval "$wx_cv_use_mem_tracing"
5502 if test "x$cache" = xyes; then
5503 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5504 fi
5505
5506 if test x"$enablestring" = xdisable; then
5507 if test $wxUSE_MEM_TRACING = yes; then
5508 result=no
5509 else
5510 result=yes
5511 fi
5512 else
5513 result=$wxUSE_MEM_TRACING
5514 fi
5515
5516 { echo "$as_me:$LINENO: result: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5518
5519
5520 enablestring=
5521 defaultval=
5522 if test -z "$defaultval"; then
5523 if test x"$enablestring" = xdisable; then
5524 defaultval=yes
5525 else
5526 defaultval=no
5527 fi
5528 fi
5529
5530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5531 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5532 # Check whether --enable-profile was given.
5533 if test "${enable_profile+set}" = set; then
5534 enableval=$enable_profile;
5535 if test "$enableval" = yes; then
5536 wx_cv_use_profile='wxUSE_PROFILE=yes'
5537 else
5538 wx_cv_use_profile='wxUSE_PROFILE=no'
5539 fi
5540 cache=yes
5541
5542 else
5543
5544 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x ; then
5546 eval "DEFAULT_$LINE"
5547 cache=yes
5548 else
5549 cache=no
5550 fi
5551
5552 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5553
5554 fi
5555
5556
5557 eval "$wx_cv_use_profile"
5558 if test "x$cache" = xyes; then
5559 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test x"$enablestring" = xdisable; then
5563 if test $wxUSE_PROFILE = yes; then
5564 result=no
5565 else
5566 result=yes
5567 fi
5568 else
5569 result=$wxUSE_PROFILE
5570 fi
5571
5572 { echo "$as_me:$LINENO: result: $result" >&5
5573 echo "${ECHO_T}$result" >&6; }
5574
5575
5576 enablestring=
5577 defaultval=
5578 if test -z "$defaultval"; then
5579 if test x"$enablestring" = xdisable; then
5580 defaultval=yes
5581 else
5582 defaultval=no
5583 fi
5584 fi
5585
5586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5587 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5588 # Check whether --enable-no_rtti was given.
5589 if test "${enable_no_rtti+set}" = set; then
5590 enableval=$enable_no_rtti;
5591 if test "$enableval" = yes; then
5592 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5593 else
5594 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5595 fi
5596 cache=yes
5597
5598 else
5599
5600 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5603 cache=yes
5604 else
5605 cache=no
5606 fi
5607
5608 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5609
5610 fi
5611
5612
5613 eval "$wx_cv_use_no_rtti"
5614 if test "x$cache" = xyes; then
5615 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5616 fi
5617
5618 if test x"$enablestring" = xdisable; then
5619 if test $wxUSE_NO_RTTI = yes; then
5620 result=no
5621 else
5622 result=yes
5623 fi
5624 else
5625 result=$wxUSE_NO_RTTI
5626 fi
5627
5628 { echo "$as_me:$LINENO: result: $result" >&5
5629 echo "${ECHO_T}$result" >&6; }
5630
5631
5632 enablestring=
5633 defaultval=
5634 if test -z "$defaultval"; then
5635 if test x"$enablestring" = xdisable; then
5636 defaultval=yes
5637 else
5638 defaultval=no
5639 fi
5640 fi
5641
5642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5644 # Check whether --enable-no_exceptions was given.
5645 if test "${enable_no_exceptions+set}" = set; then
5646 enableval=$enable_no_exceptions;
5647 if test "$enableval" = yes; then
5648 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5649 else
5650 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5651 fi
5652 cache=yes
5653
5654 else
5655
5656 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5657 if test "x$LINE" != x ; then
5658 eval "DEFAULT_$LINE"
5659 cache=yes
5660 else
5661 cache=no
5662 fi
5663
5664 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5665
5666 fi
5667
5668
5669 eval "$wx_cv_use_no_exceptions"
5670 if test "x$cache" = xyes; then
5671 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5672 fi
5673
5674 if test x"$enablestring" = xdisable; then
5675 if test $wxUSE_NO_EXCEPTIONS = yes; then
5676 result=no
5677 else
5678 result=yes
5679 fi
5680 else
5681 result=$wxUSE_NO_EXCEPTIONS
5682 fi
5683
5684 { echo "$as_me:$LINENO: result: $result" >&5
5685 echo "${ECHO_T}$result" >&6; }
5686
5687
5688 enablestring=
5689 defaultval=
5690 if test -z "$defaultval"; then
5691 if test x"$enablestring" = xdisable; then
5692 defaultval=yes
5693 else
5694 defaultval=no
5695 fi
5696 fi
5697
5698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5700 # Check whether --enable-permissive was given.
5701 if test "${enable_permissive+set}" = set; then
5702 enableval=$enable_permissive;
5703 if test "$enableval" = yes; then
5704 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5705 else
5706 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5707 fi
5708 cache=yes
5709
5710 else
5711
5712 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5713 if test "x$LINE" != x ; then
5714 eval "DEFAULT_$LINE"
5715 cache=yes
5716 else
5717 cache=no
5718 fi
5719
5720 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5721
5722 fi
5723
5724
5725 eval "$wx_cv_use_permissive"
5726 if test "x$cache" = xyes; then
5727 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5728 fi
5729
5730 if test x"$enablestring" = xdisable; then
5731 if test $wxUSE_PERMISSIVE = yes; then
5732 result=no
5733 else
5734 result=yes
5735 fi
5736 else
5737 result=$wxUSE_PERMISSIVE
5738 fi
5739
5740 { echo "$as_me:$LINENO: result: $result" >&5
5741 echo "${ECHO_T}$result" >&6; }
5742
5743
5744 enablestring=
5745 defaultval=
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5748 defaultval=yes
5749 else
5750 defaultval=no
5751 fi
5752 fi
5753
5754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5756 # Check whether --enable-no_deps was given.
5757 if test "${enable_no_deps+set}" = set; then
5758 enableval=$enable_no_deps;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5761 else
5762 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5763 fi
5764 cache=yes
5765
5766 else
5767
5768 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x ; then
5770 eval "DEFAULT_$LINE"
5771 cache=yes
5772 else
5773 cache=no
5774 fi
5775
5776 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5777
5778 fi
5779
5780
5781 eval "$wx_cv_use_no_deps"
5782 if test "x$cache" = xyes; then
5783 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5784 fi
5785
5786 if test x"$enablestring" = xdisable; then
5787 if test $wxUSE_NO_DEPS = yes; then
5788 result=no
5789 else
5790 result=yes
5791 fi
5792 else
5793 result=$wxUSE_NO_DEPS
5794 fi
5795
5796 { echo "$as_me:$LINENO: result: $result" >&5
5797 echo "${ECHO_T}$result" >&6; }
5798
5799
5800 enablestring=disable
5801 defaultval=
5802 if test -z "$defaultval"; then
5803 if test x"$enablestring" = xdisable; then
5804 defaultval=yes
5805 else
5806 defaultval=no
5807 fi
5808 fi
5809
5810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5812 # Check whether --enable-vararg_macros was given.
5813 if test "${enable_vararg_macros+set}" = set; then
5814 enableval=$enable_vararg_macros;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5817 else
5818 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5819 fi
5820 cache=yes
5821
5822 else
5823
5824 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x ; then
5826 eval "DEFAULT_$LINE"
5827 cache=yes
5828 else
5829 cache=no
5830 fi
5831
5832 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5833
5834 fi
5835
5836
5837 eval "$wx_cv_use_vararg_macros"
5838 if test "x$cache" = xyes; then
5839 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5840 fi
5841
5842 if test x"$enablestring" = xdisable; then
5843 if test $wxUSE_VARARG_MACROS = yes; then
5844 result=no
5845 else
5846 result=yes
5847 fi
5848 else
5849 result=$wxUSE_VARARG_MACROS
5850 fi
5851
5852 { echo "$as_me:$LINENO: result: $result" >&5
5853 echo "${ECHO_T}$result" >&6; }
5854
5855
5856 enablestring=
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5859 # Check whether --enable-universal_binary was given.
5860 if test "${enable_universal_binary+set}" = set; then
5861 enableval=$enable_universal_binary;
5862 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5863 cache=yes
5864
5865 else
5866
5867 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5868 if test "x$LINE" != x ; then
5869 eval "DEFAULT_$LINE"
5870 cache=yes
5871 else
5872 cache=no
5873 fi
5874
5875 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5876
5877 fi
5878
5879
5880 eval "$wx_cv_use_universal_binary"
5881 if test "x$cache" = xyes; then
5882 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5886 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5887
5888
5889
5890 enablestring=
5891 defaultval=
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5894 defaultval=yes
5895 else
5896 defaultval=no
5897 fi
5898 fi
5899
5900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5902 # Check whether --enable-compat26 was given.
5903 if test "${enable_compat26+set}" = set; then
5904 enableval=$enable_compat26;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5907 else
5908 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5909 fi
5910 cache=yes
5911
5912 else
5913
5914 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5917 cache=yes
5918 else
5919 cache=no
5920 fi
5921
5922 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5923
5924 fi
5925
5926
5927 eval "$wx_cv_use_compat26"
5928 if test "x$cache" = xyes; then
5929 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5930 fi
5931
5932 if test x"$enablestring" = xdisable; then
5933 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5934 result=no
5935 else
5936 result=yes
5937 fi
5938 else
5939 result=$WXWIN_COMPATIBILITY_2_6
5940 fi
5941
5942 { echo "$as_me:$LINENO: result: $result" >&5
5943 echo "${ECHO_T}$result" >&6; }
5944
5945
5946 enablestring=disable
5947 defaultval=
5948 if test -z "$defaultval"; then
5949 if test x"$enablestring" = xdisable; then
5950 defaultval=yes
5951 else
5952 defaultval=no
5953 fi
5954 fi
5955
5956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5957 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5958 # Check whether --enable-compat28 was given.
5959 if test "${enable_compat28+set}" = set; then
5960 enableval=$enable_compat28;
5961 if test "$enableval" = yes; then
5962 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5963 else
5964 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5965 fi
5966 cache=yes
5967
5968 else
5969
5970 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5971 if test "x$LINE" != x ; then
5972 eval "DEFAULT_$LINE"
5973 cache=yes
5974 else
5975 cache=no
5976 fi
5977
5978 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5979
5980 fi
5981
5982
5983 eval "$wx_cv_use_compat28"
5984 if test "x$cache" = xyes; then
5985 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5986 fi
5987
5988 if test x"$enablestring" = xdisable; then
5989 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5990 result=no
5991 else
5992 result=yes
5993 fi
5994 else
5995 result=$WXWIN_COMPATIBILITY_2_8
5996 fi
5997
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6000
6001
6002
6003 enablestring=disable
6004 defaultval=
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6007 defaultval=yes
6008 else
6009 defaultval=no
6010 fi
6011 fi
6012
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6015 # Check whether --enable-rpath was given.
6016 if test "${enable_rpath+set}" = set; then
6017 enableval=$enable_rpath;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_rpath='wxUSE_RPATH=yes'
6020 else
6021 wx_cv_use_rpath='wxUSE_RPATH=no'
6022 fi
6023 cache=yes
6024
6025 else
6026
6027 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x ; then
6029 eval "DEFAULT_$LINE"
6030 cache=yes
6031 else
6032 cache=no
6033 fi
6034
6035 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6036
6037 fi
6038
6039
6040 eval "$wx_cv_use_rpath"
6041 if test "x$cache" = xyes; then
6042 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6043 fi
6044
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_RPATH = yes; then
6047 result=no
6048 else
6049 result=yes
6050 fi
6051 else
6052 result=$wxUSE_RPATH
6053 fi
6054
6055 { echo "$as_me:$LINENO: result: $result" >&5
6056 echo "${ECHO_T}$result" >&6; }
6057
6058
6059
6060 enablestring=
6061 defaultval=
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6064 defaultval=yes
6065 else
6066 defaultval=no
6067 fi
6068 fi
6069
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6072 # Check whether --enable-objc_uniquifying was given.
6073 if test "${enable_objc_uniquifying+set}" = set; then
6074 enableval=$enable_objc_uniquifying;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6077 else
6078 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6079 fi
6080 cache=yes
6081
6082 else
6083
6084 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x ; then
6086 eval "DEFAULT_$LINE"
6087 cache=yes
6088 else
6089 cache=no
6090 fi
6091
6092 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6093
6094 fi
6095
6096
6097 eval "$wx_cv_use_objc_uniquifying"
6098 if test "x$cache" = xyes; then
6099 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6100 fi
6101
6102 if test x"$enablestring" = xdisable; then
6103 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6104 result=no
6105 else
6106 result=yes
6107 fi
6108 else
6109 result=$wxUSE_OBJC_UNIQUIFYING
6110 fi
6111
6112 { echo "$as_me:$LINENO: result: $result" >&5
6113 echo "${ECHO_T}$result" >&6; }
6114
6115
6116
6117 enablestring=disable
6118 defaultval=
6119 if test -z "$defaultval"; then
6120 if test x"$enablestring" = xdisable; then
6121 defaultval=yes
6122 else
6123 defaultval=no
6124 fi
6125 fi
6126
6127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6129 # Check whether --enable-visibility was given.
6130 if test "${enable_visibility+set}" = set; then
6131 enableval=$enable_visibility;
6132 if test "$enableval" = yes; then
6133 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6134 else
6135 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6136 fi
6137 cache=yes
6138
6139 else
6140
6141 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x ; then
6143 eval "DEFAULT_$LINE"
6144 cache=yes
6145 else
6146 cache=no
6147 fi
6148
6149 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6150
6151 fi
6152
6153
6154 eval "$wx_cv_use_visibility"
6155 if test "x$cache" = xyes; then
6156 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6157 fi
6158
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_VISIBILITY = yes; then
6161 result=no
6162 else
6163 result=yes
6164 fi
6165 else
6166 result=$wxUSE_VISIBILITY
6167 fi
6168
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6171
6172
6173
6174
6175 enablestring=
6176 defaultval=$wxUSE_ALL_FEATURES
6177 if test -z "$defaultval"; then
6178 if test x"$enablestring" = xdisable; then
6179 defaultval=yes
6180 else
6181 defaultval=no
6182 fi
6183 fi
6184
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6187 # Check whether --enable-intl was given.
6188 if test "${enable_intl+set}" = set; then
6189 enableval=$enable_intl;
6190 if test "$enableval" = yes; then
6191 wx_cv_use_intl='wxUSE_INTL=yes'
6192 else
6193 wx_cv_use_intl='wxUSE_INTL=no'
6194 fi
6195 cache=yes
6196
6197 else
6198
6199 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 cache=yes
6203 else
6204 cache=no
6205 fi
6206
6207 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6208
6209 fi
6210
6211
6212 eval "$wx_cv_use_intl"
6213 if test "x$cache" = xyes; then
6214 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6215 fi
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_INTL = yes; then
6219 result=no
6220 else
6221 result=yes
6222 fi
6223 else
6224 result=$wxUSE_INTL
6225 fi
6226
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6243 # Check whether --enable-config was given.
6244 if test "${enable_config+set}" = set; then
6245 enableval=$enable_config;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_config='wxUSE_CONFIG=yes'
6248 else
6249 wx_cv_use_config='wxUSE_CONFIG=no'
6250 fi
6251 cache=yes
6252
6253 else
6254
6255 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6258 cache=yes
6259 else
6260 cache=no
6261 fi
6262
6263 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6264
6265 fi
6266
6267
6268 eval "$wx_cv_use_config"
6269 if test "x$cache" = xyes; then
6270 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6271 fi
6272
6273 if test x"$enablestring" = xdisable; then
6274 if test $wxUSE_CONFIG = yes; then
6275 result=no
6276 else
6277 result=yes
6278 fi
6279 else
6280 result=$wxUSE_CONFIG
6281 fi
6282
6283 { echo "$as_me:$LINENO: result: $result" >&5
6284 echo "${ECHO_T}$result" >&6; }
6285
6286
6287
6288 enablestring=
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6292 defaultval=yes
6293 else
6294 defaultval=no
6295 fi
6296 fi
6297
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6300 # Check whether --enable-protocols was given.
6301 if test "${enable_protocols+set}" = set; then
6302 enableval=$enable_protocols;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6305 else
6306 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6307 fi
6308 cache=yes
6309
6310 else
6311
6312 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6315 cache=yes
6316 else
6317 cache=no
6318 fi
6319
6320 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6321
6322 fi
6323
6324
6325 eval "$wx_cv_use_protocols"
6326 if test "x$cache" = xyes; then
6327 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test x"$enablestring" = xdisable; then
6331 if test $wxUSE_PROTOCOL = yes; then
6332 result=no
6333 else
6334 result=yes
6335 fi
6336 else
6337 result=$wxUSE_PROTOCOL
6338 fi
6339
6340 { echo "$as_me:$LINENO: result: $result" >&5
6341 echo "${ECHO_T}$result" >&6; }
6342
6343
6344 enablestring=
6345 defaultval=$wxUSE_ALL_FEATURES
6346 if test -z "$defaultval"; then
6347 if test x"$enablestring" = xdisable; then
6348 defaultval=yes
6349 else
6350 defaultval=no
6351 fi
6352 fi
6353
6354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6356 # Check whether --enable-ftp was given.
6357 if test "${enable_ftp+set}" = set; then
6358 enableval=$enable_ftp;
6359 if test "$enableval" = yes; then
6360 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6361 else
6362 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6363 fi
6364 cache=yes
6365
6366 else
6367
6368 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 cache=yes
6372 else
6373 cache=no
6374 fi
6375
6376 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6377
6378 fi
6379
6380
6381 eval "$wx_cv_use_ftp"
6382 if test "x$cache" = xyes; then
6383 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6384 fi
6385
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_PROTOCOL_FTP = yes; then
6388 result=no
6389 else
6390 result=yes
6391 fi
6392 else
6393 result=$wxUSE_PROTOCOL_FTP
6394 fi
6395
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6398
6399
6400 enablestring=
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6404 defaultval=yes
6405 else
6406 defaultval=no
6407 fi
6408 fi
6409
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6412 # Check whether --enable-http was given.
6413 if test "${enable_http+set}" = set; then
6414 enableval=$enable_http;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6417 else
6418 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6419 fi
6420 cache=yes
6421
6422 else
6423
6424 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6427 cache=yes
6428 else
6429 cache=no
6430 fi
6431
6432 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_http"
6438 if test "x$cache" = xyes; then
6439 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6440 fi
6441
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_PROTOCOL_HTTP = yes; then
6444 result=no
6445 else
6446 result=yes
6447 fi
6448 else
6449 result=$wxUSE_PROTOCOL_HTTP
6450 fi
6451
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6454
6455
6456 enablestring=
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6460 defaultval=yes
6461 else
6462 defaultval=no
6463 fi
6464 fi
6465
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6468 # Check whether --enable-fileproto was given.
6469 if test "${enable_fileproto+set}" = set; then
6470 enableval=$enable_fileproto;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6473 else
6474 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6475 fi
6476 cache=yes
6477
6478 else
6479
6480 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x ; then
6482 eval "DEFAULT_$LINE"
6483 cache=yes
6484 else
6485 cache=no
6486 fi
6487
6488 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6489
6490 fi
6491
6492
6493 eval "$wx_cv_use_fileproto"
6494 if test "x$cache" = xyes; then
6495 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6496 fi
6497
6498 if test x"$enablestring" = xdisable; then
6499 if test $wxUSE_PROTOCOL_FILE = yes; then
6500 result=no
6501 else
6502 result=yes
6503 fi
6504 else
6505 result=$wxUSE_PROTOCOL_FILE
6506 fi
6507
6508 { echo "$as_me:$LINENO: result: $result" >&5
6509 echo "${ECHO_T}$result" >&6; }
6510
6511
6512 enablestring=
6513 defaultval=$wxUSE_ALL_FEATURES
6514 if test -z "$defaultval"; then
6515 if test x"$enablestring" = xdisable; then
6516 defaultval=yes
6517 else
6518 defaultval=no
6519 fi
6520 fi
6521
6522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6524 # Check whether --enable-sockets was given.
6525 if test "${enable_sockets+set}" = set; then
6526 enableval=$enable_sockets;
6527 if test "$enableval" = yes; then
6528 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6529 else
6530 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6531 fi
6532 cache=yes
6533
6534 else
6535
6536 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x ; then
6538 eval "DEFAULT_$LINE"
6539 cache=yes
6540 else
6541 cache=no
6542 fi
6543
6544 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6545
6546 fi
6547
6548
6549 eval "$wx_cv_use_sockets"
6550 if test "x$cache" = xyes; then
6551 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6552 fi
6553
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_SOCKETS = yes; then
6556 result=no
6557 else
6558 result=yes
6559 fi
6560 else
6561 result=$wxUSE_SOCKETS
6562 fi
6563
6564 { echo "$as_me:$LINENO: result: $result" >&5
6565 echo "${ECHO_T}$result" >&6; }
6566
6567
6568 enablestring=
6569 defaultval=$wxUSE_ALL_FEATURES
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6572 defaultval=yes
6573 else
6574 defaultval=no
6575 fi
6576 fi
6577
6578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6580 # Check whether --enable-ole was given.
6581 if test "${enable_ole+set}" = set; then
6582 enableval=$enable_ole;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_ole='wxUSE_OLE=yes'
6585 else
6586 wx_cv_use_ole='wxUSE_OLE=no'
6587 fi
6588 cache=yes
6589
6590 else
6591
6592 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6595 cache=yes
6596 else
6597 cache=no
6598 fi
6599
6600 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6601
6602 fi
6603
6604
6605 eval "$wx_cv_use_ole"
6606 if test "x$cache" = xyes; then
6607 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6608 fi
6609
6610 if test x"$enablestring" = xdisable; then
6611 if test $wxUSE_OLE = yes; then
6612 result=no
6613 else
6614 result=yes
6615 fi
6616 else
6617 result=$wxUSE_OLE
6618 fi
6619
6620 { echo "$as_me:$LINENO: result: $result" >&5
6621 echo "${ECHO_T}$result" >&6; }
6622
6623
6624 enablestring=
6625 defaultval=$wxUSE_ALL_FEATURES
6626 if test -z "$defaultval"; then
6627 if test x"$enablestring" = xdisable; then
6628 defaultval=yes
6629 else
6630 defaultval=no
6631 fi
6632 fi
6633
6634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6636 # Check whether --enable-dataobj was given.
6637 if test "${enable_dataobj+set}" = set; then
6638 enableval=$enable_dataobj;
6639 if test "$enableval" = yes; then
6640 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6641 else
6642 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6643 fi
6644 cache=yes
6645
6646 else
6647
6648 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 cache=yes
6652 else
6653 cache=no
6654 fi
6655
6656 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6657
6658 fi
6659
6660
6661 eval "$wx_cv_use_dataobj"
6662 if test "x$cache" = xyes; then
6663 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6664 fi
6665
6666 if test x"$enablestring" = xdisable; then
6667 if test $wxUSE_DATAOBJ = yes; then
6668 result=no
6669 else
6670 result=yes
6671 fi
6672 else
6673 result=$wxUSE_DATAOBJ
6674 fi
6675
6676 { echo "$as_me:$LINENO: result: $result" >&5
6677 echo "${ECHO_T}$result" >&6; }
6678
6679
6680
6681 enablestring=
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6685 defaultval=yes
6686 else
6687 defaultval=no
6688 fi
6689 fi
6690
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6693 # Check whether --enable-ipc was given.
6694 if test "${enable_ipc+set}" = set; then
6695 enableval=$enable_ipc;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_ipc='wxUSE_IPC=yes'
6698 else
6699 wx_cv_use_ipc='wxUSE_IPC=no'
6700 fi
6701 cache=yes
6702
6703 else
6704
6705 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x ; then
6707 eval "DEFAULT_$LINE"
6708 cache=yes
6709 else
6710 cache=no
6711 fi
6712
6713 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6714
6715 fi
6716
6717
6718 eval "$wx_cv_use_ipc"
6719 if test "x$cache" = xyes; then
6720 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6721 fi
6722
6723 if test x"$enablestring" = xdisable; then
6724 if test $wxUSE_IPC = yes; then
6725 result=no
6726 else
6727 result=yes
6728 fi
6729 else
6730 result=$wxUSE_IPC
6731 fi
6732
6733 { echo "$as_me:$LINENO: result: $result" >&5
6734 echo "${ECHO_T}$result" >&6; }
6735
6736
6737
6738 enablestring=
6739 defaultval=$wxUSE_ALL_FEATURES
6740 if test -z "$defaultval"; then
6741 if test x"$enablestring" = xdisable; then
6742 defaultval=yes
6743 else
6744 defaultval=no
6745 fi
6746 fi
6747
6748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6750 # Check whether --enable-baseevtloop was given.
6751 if test "${enable_baseevtloop+set}" = set; then
6752 enableval=$enable_baseevtloop;
6753 if test "$enableval" = yes; then
6754 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6755 else
6756 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6757 fi
6758 cache=yes
6759
6760 else
6761
6762 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x ; then
6764 eval "DEFAULT_$LINE"
6765 cache=yes
6766 else
6767 cache=no
6768 fi
6769
6770 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6771
6772 fi
6773
6774
6775 eval "$wx_cv_use_baseevtloop"
6776 if test "x$cache" = xyes; then
6777 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6778 fi
6779
6780 if test x"$enablestring" = xdisable; then
6781 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6782 result=no
6783 else
6784 result=yes
6785 fi
6786 else
6787 result=$wxUSE_CONSOLE_EVENTLOOP
6788 fi
6789
6790 { echo "$as_me:$LINENO: result: $result" >&5
6791 echo "${ECHO_T}$result" >&6; }
6792
6793
6794 enablestring=
6795 defaultval=$wxUSE_ALL_FEATURES
6796 if test -z "$defaultval"; then
6797 if test x"$enablestring" = xdisable; then
6798 defaultval=yes
6799 else
6800 defaultval=no
6801 fi
6802 fi
6803
6804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6806 # Check whether --enable-epollloop was given.
6807 if test "${enable_epollloop+set}" = set; then
6808 enableval=$enable_epollloop;
6809 if test "$enableval" = yes; then
6810 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6811 else
6812 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6813 fi
6814 cache=yes
6815
6816 else
6817
6818 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6821 cache=yes
6822 else
6823 cache=no
6824 fi
6825
6826 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6827
6828 fi
6829
6830
6831 eval "$wx_cv_use_epollloop"
6832 if test "x$cache" = xyes; then
6833 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6834 fi
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6838 result=no
6839 else
6840 result=yes
6841 fi
6842 else
6843 result=$wxUSE_EPOLL_DISPATCHER
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6862 # Check whether --enable-selectloop was given.
6863 if test "${enable_selectloop+set}" = set; then
6864 enableval=$enable_selectloop;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6867 else
6868 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6869 fi
6870 cache=yes
6871
6872 else
6873
6874 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 cache=yes
6878 else
6879 cache=no
6880 fi
6881
6882 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6883
6884 fi
6885
6886
6887 eval "$wx_cv_use_selectloop"
6888 if test "x$cache" = xyes; then
6889 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6890 fi
6891
6892 if test x"$enablestring" = xdisable; then
6893 if test $wxUSE_SELECT_DISPATCHER = yes; then
6894 result=no
6895 else
6896 result=yes
6897 fi
6898 else
6899 result=$wxUSE_SELECT_DISPATCHER
6900 fi
6901
6902 { echo "$as_me:$LINENO: result: $result" >&5
6903 echo "${ECHO_T}$result" >&6; }
6904
6905
6906
6907 enablestring=
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6911 defaultval=yes
6912 else
6913 defaultval=no
6914 fi
6915 fi
6916
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6919 # Check whether --enable-apple_ieee was given.
6920 if test "${enable_apple_ieee+set}" = set; then
6921 enableval=$enable_apple_ieee;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6924 else
6925 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6926 fi
6927 cache=yes
6928
6929 else
6930
6931 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6932 if test "x$LINE" != x ; then
6933 eval "DEFAULT_$LINE"
6934 cache=yes
6935 else
6936 cache=no
6937 fi
6938
6939 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6940
6941 fi
6942
6943
6944 eval "$wx_cv_use_apple_ieee"
6945 if test "x$cache" = xyes; then
6946 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6947 fi
6948
6949 if test x"$enablestring" = xdisable; then
6950 if test $wxUSE_APPLE_IEEE = yes; then
6951 result=no
6952 else
6953 result=yes
6954 fi
6955 else
6956 result=$wxUSE_APPLE_IEEE
6957 fi
6958
6959 { echo "$as_me:$LINENO: result: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6961
6962
6963 enablestring=
6964 defaultval=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6967 defaultval=yes
6968 else
6969 defaultval=no
6970 fi
6971 fi
6972
6973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6975 # Check whether --enable-arcstream was given.
6976 if test "${enable_arcstream+set}" = set; then
6977 enableval=$enable_arcstream;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6980 else
6981 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6982 fi
6983 cache=yes
6984
6985 else
6986
6987 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6988 if test "x$LINE" != x ; then
6989 eval "DEFAULT_$LINE"
6990 cache=yes
6991 else
6992 cache=no
6993 fi
6994
6995 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6996
6997 fi
6998
6999
7000 eval "$wx_cv_use_arcstream"
7001 if test "x$cache" = xyes; then
7002 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test x"$enablestring" = xdisable; then
7006 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7007 result=no
7008 else
7009 result=yes
7010 fi
7011 else
7012 result=$wxUSE_ARCHIVE_STREAMS
7013 fi
7014
7015 { echo "$as_me:$LINENO: result: $result" >&5
7016 echo "${ECHO_T}$result" >&6; }
7017
7018
7019 enablestring=
7020 defaultval=$wxUSE_ALL_FEATURES
7021 if test -z "$defaultval"; then
7022 if test x"$enablestring" = xdisable; then
7023 defaultval=yes
7024 else
7025 defaultval=no
7026 fi
7027 fi
7028
7029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7030 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7031 # Check whether --enable-base64 was given.
7032 if test "${enable_base64+set}" = set; then
7033 enableval=$enable_base64;
7034 if test "$enableval" = yes; then
7035 wx_cv_use_base64='wxUSE_BASE64=yes'
7036 else
7037 wx_cv_use_base64='wxUSE_BASE64=no'
7038 fi
7039 cache=yes
7040
7041 else
7042
7043 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7046 cache=yes
7047 else
7048 cache=no
7049 fi
7050
7051 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7052
7053 fi
7054
7055
7056 eval "$wx_cv_use_base64"
7057 if test "x$cache" = xyes; then
7058 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7059 fi
7060
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_BASE64 = yes; then
7063 result=no
7064 else
7065 result=yes
7066 fi
7067 else
7068 result=$wxUSE_BASE64
7069 fi
7070
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7073
7074
7075 enablestring=
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7079 defaultval=yes
7080 else
7081 defaultval=no
7082 fi
7083 fi
7084
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7087 # Check whether --enable-backtrace was given.
7088 if test "${enable_backtrace+set}" = set; then
7089 enableval=$enable_backtrace;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7092 else
7093 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7094 fi
7095 cache=yes
7096
7097 else
7098
7099 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x ; then
7101 eval "DEFAULT_$LINE"
7102 cache=yes
7103 else
7104 cache=no
7105 fi
7106
7107 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7108
7109 fi
7110
7111
7112 eval "$wx_cv_use_backtrace"
7113 if test "x$cache" = xyes; then
7114 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test x"$enablestring" = xdisable; then
7118 if test $wxUSE_STACKWALKER = yes; then
7119 result=no
7120 else
7121 result=yes
7122 fi
7123 else
7124 result=$wxUSE_STACKWALKER
7125 fi
7126
7127 { echo "$as_me:$LINENO: result: $result" >&5
7128 echo "${ECHO_T}$result" >&6; }
7129
7130
7131 enablestring=
7132 defaultval=$wxUSE_ALL_FEATURES
7133 if test -z "$defaultval"; then
7134 if test x"$enablestring" = xdisable; then
7135 defaultval=yes
7136 else
7137 defaultval=no
7138 fi
7139 fi
7140
7141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7143 # Check whether --enable-catch_segvs was given.
7144 if test "${enable_catch_segvs+set}" = set; then
7145 enableval=$enable_catch_segvs;
7146 if test "$enableval" = yes; then
7147 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7148 else
7149 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7150 fi
7151 cache=yes
7152
7153 else
7154
7155 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 cache=yes
7159 else
7160 cache=no
7161 fi
7162
7163 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7164
7165 fi
7166
7167
7168 eval "$wx_cv_use_catch_segvs"
7169 if test "x$cache" = xyes; then
7170 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7171 fi
7172
7173 if test x"$enablestring" = xdisable; then
7174 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7175 result=no
7176 else
7177 result=yes
7178 fi
7179 else
7180 result=$wxUSE_ON_FATAL_EXCEPTION
7181 fi
7182
7183 { echo "$as_me:$LINENO: result: $result" >&5
7184 echo "${ECHO_T}$result" >&6; }
7185
7186
7187 enablestring=
7188 defaultval=$wxUSE_ALL_FEATURES
7189 if test -z "$defaultval"; then
7190 if test x"$enablestring" = xdisable; then
7191 defaultval=yes
7192 else
7193 defaultval=no
7194 fi
7195 fi
7196
7197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7199 # Check whether --enable-cmdline was given.
7200 if test "${enable_cmdline+set}" = set; then
7201 enableval=$enable_cmdline;
7202 if test "$enableval" = yes; then
7203 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7204 else
7205 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7206 fi
7207 cache=yes
7208
7209 else
7210
7211 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 cache=yes
7215 else
7216 cache=no
7217 fi
7218
7219 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7220
7221 fi
7222
7223
7224 eval "$wx_cv_use_cmdline"
7225 if test "x$cache" = xyes; then
7226 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7227 fi
7228
7229 if test x"$enablestring" = xdisable; then
7230 if test $wxUSE_CMDLINE_PARSER = yes; then
7231 result=no
7232 else
7233 result=yes
7234 fi
7235 else
7236 result=$wxUSE_CMDLINE_PARSER
7237 fi
7238
7239 { echo "$as_me:$LINENO: result: $result" >&5
7240 echo "${ECHO_T}$result" >&6; }
7241
7242
7243 enablestring=
7244 defaultval=$wxUSE_ALL_FEATURES
7245 if test -z "$defaultval"; then
7246 if test x"$enablestring" = xdisable; then
7247 defaultval=yes
7248 else
7249 defaultval=no
7250 fi
7251 fi
7252
7253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7255 # Check whether --enable-datetime was given.
7256 if test "${enable_datetime+set}" = set; then
7257 enableval=$enable_datetime;
7258 if test "$enableval" = yes; then
7259 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7260 else
7261 wx_cv_use_datetime='wxUSE_DATETIME=no'
7262 fi
7263 cache=yes
7264
7265 else
7266
7267 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x ; then
7269 eval "DEFAULT_$LINE"
7270 cache=yes
7271 else
7272 cache=no
7273 fi
7274
7275 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7276
7277 fi
7278
7279
7280 eval "$wx_cv_use_datetime"
7281 if test "x$cache" = xyes; then
7282 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7283 fi
7284
7285 if test x"$enablestring" = xdisable; then
7286 if test $wxUSE_DATETIME = yes; then
7287 result=no
7288 else
7289 result=yes
7290 fi
7291 else
7292 result=$wxUSE_DATETIME
7293 fi
7294
7295 { echo "$as_me:$LINENO: result: $result" >&5
7296 echo "${ECHO_T}$result" >&6; }
7297
7298
7299 enablestring=
7300 defaultval=$wxUSE_ALL_FEATURES
7301 if test -z "$defaultval"; then
7302 if test x"$enablestring" = xdisable; then
7303 defaultval=yes
7304 else
7305 defaultval=no
7306 fi
7307 fi
7308
7309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7310 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7311 # Check whether --enable-debugreport was given.
7312 if test "${enable_debugreport+set}" = set; then
7313 enableval=$enable_debugreport;
7314 if test "$enableval" = yes; then
7315 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7316 else
7317 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7318 fi
7319 cache=yes
7320
7321 else
7322
7323 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 cache=yes
7327 else
7328 cache=no
7329 fi
7330
7331 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7332
7333 fi
7334
7335
7336 eval "$wx_cv_use_debugreport"
7337 if test "x$cache" = xyes; then
7338 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test x"$enablestring" = xdisable; then
7342 if test $wxUSE_DEBUGREPORT = yes; then
7343 result=no
7344 else
7345 result=yes
7346 fi
7347 else
7348 result=$wxUSE_DEBUGREPORT
7349 fi
7350
7351 { echo "$as_me:$LINENO: result: $result" >&5
7352 echo "${ECHO_T}$result" >&6; }
7353
7354
7355 enablestring=
7356 defaultval=$wxUSE_ALL_FEATURES
7357 if test -z "$defaultval"; then
7358 if test x"$enablestring" = xdisable; then
7359 defaultval=yes
7360 else
7361 defaultval=no
7362 fi
7363 fi
7364
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7367 # Check whether --enable-dialupman was given.
7368 if test "${enable_dialupman+set}" = set; then
7369 enableval=$enable_dialupman;
7370 if test "$enableval" = yes; then
7371 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7372 else
7373 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7374 fi
7375 cache=yes
7376
7377 else
7378
7379 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7382 cache=yes
7383 else
7384 cache=no
7385 fi
7386
7387 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7388
7389 fi
7390
7391
7392 eval "$wx_cv_use_dialupman"
7393 if test "x$cache" = xyes; then
7394 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7395 fi
7396
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_DIALUP_MANAGER = yes; then
7399 result=no
7400 else
7401 result=yes
7402 fi
7403 else
7404 result=$wxUSE_DIALUP_MANAGER
7405 fi
7406
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7409
7410
7411 enablestring=
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7415 defaultval=yes
7416 else
7417 defaultval=no
7418 fi
7419 fi
7420
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7423 # Check whether --enable-dynlib was given.
7424 if test "${enable_dynlib+set}" = set; then
7425 enableval=$enable_dynlib;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7428 else
7429 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7430 fi
7431 cache=yes
7432
7433 else
7434
7435 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7438 cache=yes
7439 else
7440 cache=no
7441 fi
7442
7443 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7444
7445 fi
7446
7447
7448 eval "$wx_cv_use_dynlib"
7449 if test "x$cache" = xyes; then
7450 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_DYNLIB_CLASS = yes; then
7455 result=no
7456 else
7457 result=yes
7458 fi
7459 else
7460 result=$wxUSE_DYNLIB_CLASS
7461 fi
7462
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7465
7466
7467 enablestring=
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7471 defaultval=yes
7472 else
7473 defaultval=no
7474 fi
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7479 # Check whether --enable-dynamicloader was given.
7480 if test "${enable_dynamicloader+set}" = set; then
7481 enableval=$enable_dynamicloader;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7484 else
7485 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7486 fi
7487 cache=yes
7488
7489 else
7490
7491 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x ; then
7493 eval "DEFAULT_$LINE"
7494 cache=yes
7495 else
7496 cache=no
7497 fi
7498
7499 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7500
7501 fi
7502
7503
7504 eval "$wx_cv_use_dynamicloader"
7505 if test "x$cache" = xyes; then
7506 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7507 fi
7508
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_DYNAMIC_LOADER = yes; then
7511 result=no
7512 else
7513 result=yes
7514 fi
7515 else
7516 result=$wxUSE_DYNAMIC_LOADER
7517 fi
7518
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7521
7522
7523 enablestring=
7524 defaultval=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x"$enablestring" = xdisable; then
7527 defaultval=yes
7528 else
7529 defaultval=no
7530 fi
7531 fi
7532
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7535 # Check whether --enable-exceptions was given.
7536 if test "${enable_exceptions+set}" = set; then
7537 enableval=$enable_exceptions;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7540 else
7541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7542 fi
7543 cache=yes
7544
7545 else
7546
7547 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7548 if test "x$LINE" != x ; then
7549 eval "DEFAULT_$LINE"
7550 cache=yes
7551 else
7552 cache=no
7553 fi
7554
7555 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7556
7557 fi
7558
7559
7560 eval "$wx_cv_use_exceptions"
7561 if test "x$cache" = xyes; then
7562 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7563 fi
7564
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_EXCEPTIONS = yes; then
7567 result=no
7568 else
7569 result=yes
7570 fi
7571 else
7572 result=$wxUSE_EXCEPTIONS
7573 fi
7574
7575 { echo "$as_me:$LINENO: result: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7577
7578
7579 enablestring=
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7583 defaultval=yes
7584 else
7585 defaultval=no
7586 fi
7587 fi
7588
7589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7591 # Check whether --enable-ffile was given.
7592 if test "${enable_ffile+set}" = set; then
7593 enableval=$enable_ffile;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_ffile='wxUSE_FFILE=yes'
7596 else
7597 wx_cv_use_ffile='wxUSE_FFILE=no'
7598 fi
7599 cache=yes
7600
7601 else
7602
7603 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x ; then
7605 eval "DEFAULT_$LINE"
7606 cache=yes
7607 else
7608 cache=no
7609 fi
7610
7611 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7612
7613 fi
7614
7615
7616 eval "$wx_cv_use_ffile"
7617 if test "x$cache" = xyes; then
7618 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7619 fi
7620
7621 if test x"$enablestring" = xdisable; then
7622 if test $wxUSE_FFILE = yes; then
7623 result=no
7624 else
7625 result=yes
7626 fi
7627 else
7628 result=$wxUSE_FFILE
7629 fi
7630
7631 { echo "$as_me:$LINENO: result: $result" >&5
7632 echo "${ECHO_T}$result" >&6; }
7633
7634
7635 enablestring=
7636 defaultval=$wxUSE_ALL_FEATURES
7637 if test -z "$defaultval"; then
7638 if test x"$enablestring" = xdisable; then
7639 defaultval=yes
7640 else
7641 defaultval=no
7642 fi
7643 fi
7644
7645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7647 # Check whether --enable-file was given.
7648 if test "${enable_file+set}" = set; then
7649 enableval=$enable_file;
7650 if test "$enableval" = yes; then
7651 wx_cv_use_file='wxUSE_FILE=yes'
7652 else
7653 wx_cv_use_file='wxUSE_FILE=no'
7654 fi
7655 cache=yes
7656
7657 else
7658
7659 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7660 if test "x$LINE" != x ; then
7661 eval "DEFAULT_$LINE"
7662 cache=yes
7663 else
7664 cache=no
7665 fi
7666
7667 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7668
7669 fi
7670
7671
7672 eval "$wx_cv_use_file"
7673 if test "x$cache" = xyes; then
7674 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7675 fi
7676
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_FILE = yes; then
7679 result=no
7680 else
7681 result=yes
7682 fi
7683 else
7684 result=$wxUSE_FILE
7685 fi
7686
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7689
7690
7691 enablestring=
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7695 defaultval=yes
7696 else
7697 defaultval=no
7698 fi
7699 fi
7700
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7703 # Check whether --enable-filesystem was given.
7704 if test "${enable_filesystem+set}" = set; then
7705 enableval=$enable_filesystem;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7708 else
7709 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7710 fi
7711 cache=yes
7712
7713 else
7714
7715 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7718 cache=yes
7719 else
7720 cache=no
7721 fi
7722
7723 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7724
7725 fi
7726
7727
7728 eval "$wx_cv_use_filesystem"
7729 if test "x$cache" = xyes; then
7730 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7731 fi
7732
7733 if test x"$enablestring" = xdisable; then
7734 if test $wxUSE_FILESYSTEM = yes; then
7735 result=no
7736 else
7737 result=yes
7738 fi
7739 else
7740 result=$wxUSE_FILESYSTEM
7741 fi
7742
7743 { echo "$as_me:$LINENO: result: $result" >&5
7744 echo "${ECHO_T}$result" >&6; }
7745
7746
7747 enablestring=
7748 defaultval=$wxUSE_ALL_FEATURES
7749 if test -z "$defaultval"; then
7750 if test x"$enablestring" = xdisable; then
7751 defaultval=yes
7752 else
7753 defaultval=no
7754 fi
7755 fi
7756
7757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7759 # Check whether --enable-fontenum was given.
7760 if test "${enable_fontenum+set}" = set; then
7761 enableval=$enable_fontenum;
7762 if test "$enableval" = yes; then
7763 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7764 else
7765 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7766 fi
7767 cache=yes
7768
7769 else
7770
7771 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 cache=yes
7775 else
7776 cache=no
7777 fi
7778
7779 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7780
7781 fi
7782
7783
7784 eval "$wx_cv_use_fontenum"
7785 if test "x$cache" = xyes; then
7786 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7787 fi
7788
7789 if test x"$enablestring" = xdisable; then
7790 if test $wxUSE_FONTENUM = yes; then
7791 result=no
7792 else
7793 result=yes
7794 fi
7795 else
7796 result=$wxUSE_FONTENUM
7797 fi
7798
7799 { echo "$as_me:$LINENO: result: $result" >&5
7800 echo "${ECHO_T}$result" >&6; }
7801
7802
7803 enablestring=
7804 defaultval=$wxUSE_ALL_FEATURES
7805 if test -z "$defaultval"; then
7806 if test x"$enablestring" = xdisable; then
7807 defaultval=yes
7808 else
7809 defaultval=no
7810 fi
7811 fi
7812
7813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7815 # Check whether --enable-fontmap was given.
7816 if test "${enable_fontmap+set}" = set; then
7817 enableval=$enable_fontmap;
7818 if test "$enableval" = yes; then
7819 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7820 else
7821 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7822 fi
7823 cache=yes
7824
7825 else
7826
7827 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 cache=yes
7831 else
7832 cache=no
7833 fi
7834
7835 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7836
7837 fi
7838
7839
7840 eval "$wx_cv_use_fontmap"
7841 if test "x$cache" = xyes; then
7842 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7843 fi
7844
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_FONTMAP = yes; then
7847 result=no
7848 else
7849 result=yes
7850 fi
7851 else
7852 result=$wxUSE_FONTMAP
7853 fi
7854
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7857
7858
7859 enablestring=
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7863 defaultval=yes
7864 else
7865 defaultval=no
7866 fi
7867 fi
7868
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7871 # Check whether --enable-fs_archive was given.
7872 if test "${enable_fs_archive+set}" = set; then
7873 enableval=$enable_fs_archive;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7876 else
7877 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7878 fi
7879 cache=yes
7880
7881 else
7882
7883 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7886 cache=yes
7887 else
7888 cache=no
7889 fi
7890
7891 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7892
7893 fi
7894
7895
7896 eval "$wx_cv_use_fs_archive"
7897 if test "x$cache" = xyes; then
7898 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7899 fi
7900
7901 if test x"$enablestring" = xdisable; then
7902 if test $wxUSE_FS_ARCHIVE = yes; then
7903 result=no
7904 else
7905 result=yes
7906 fi
7907 else
7908 result=$wxUSE_FS_ARCHIVE
7909 fi
7910
7911 { echo "$as_me:$LINENO: result: $result" >&5
7912 echo "${ECHO_T}$result" >&6; }
7913
7914
7915 enablestring=
7916 defaultval=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x"$enablestring" = xdisable; then
7919 defaultval=yes
7920 else
7921 defaultval=no
7922 fi
7923 fi
7924
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7927 # Check whether --enable-fs_inet was given.
7928 if test "${enable_fs_inet+set}" = set; then
7929 enableval=$enable_fs_inet;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7932 else
7933 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7934 fi
7935 cache=yes
7936
7937 else
7938
7939 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7942 cache=yes
7943 else
7944 cache=no
7945 fi
7946
7947 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7948
7949 fi
7950
7951
7952 eval "$wx_cv_use_fs_inet"
7953 if test "x$cache" = xyes; then
7954 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7955 fi
7956
7957 if test x"$enablestring" = xdisable; then
7958 if test $wxUSE_FS_INET = yes; then
7959 result=no
7960 else
7961 result=yes
7962 fi
7963 else
7964 result=$wxUSE_FS_INET
7965 fi
7966
7967 { echo "$as_me:$LINENO: result: $result" >&5
7968 echo "${ECHO_T}$result" >&6; }
7969
7970
7971 enablestring=
7972 defaultval=$wxUSE_ALL_FEATURES
7973 if test -z "$defaultval"; then
7974 if test x"$enablestring" = xdisable; then
7975 defaultval=yes
7976 else
7977 defaultval=no
7978 fi
7979 fi
7980
7981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7982 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7983 # Check whether --enable-fs_zip was given.
7984 if test "${enable_fs_zip+set}" = set; then
7985 enableval=$enable_fs_zip;
7986 if test "$enableval" = yes; then
7987 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7988 else
7989 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7990 fi
7991 cache=yes
7992
7993 else
7994
7995 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x ; then
7997 eval "DEFAULT_$LINE"
7998 cache=yes
7999 else
8000 cache=no
8001 fi
8002
8003 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8004
8005 fi
8006
8007
8008 eval "$wx_cv_use_fs_zip"
8009 if test "x$cache" = xyes; then
8010 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8011 fi
8012
8013 if test x"$enablestring" = xdisable; then
8014 if test $wxUSE_FS_ZIP = yes; then
8015 result=no
8016 else
8017 result=yes
8018 fi
8019 else
8020 result=$wxUSE_FS_ZIP
8021 fi
8022
8023 { echo "$as_me:$LINENO: result: $result" >&5
8024 echo "${ECHO_T}$result" >&6; }
8025
8026
8027 enablestring=
8028 defaultval=$wxUSE_ALL_FEATURES
8029 if test -z "$defaultval"; then
8030 if test x"$enablestring" = xdisable; then
8031 defaultval=yes
8032 else
8033 defaultval=no
8034 fi
8035 fi
8036
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8039 # Check whether --enable-geometry was given.
8040 if test "${enable_geometry+set}" = set; then
8041 enableval=$enable_geometry;
8042 if test "$enableval" = yes; then
8043 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8044 else
8045 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8046 fi
8047 cache=yes
8048
8049 else
8050
8051 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8054 cache=yes
8055 else
8056 cache=no
8057 fi
8058
8059 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8060
8061 fi
8062
8063
8064 eval "$wx_cv_use_geometry"
8065 if test "x$cache" = xyes; then
8066 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8067 fi
8068
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_GEOMETRY = yes; then
8071 result=no
8072 else
8073 result=yes
8074 fi
8075 else
8076 result=$wxUSE_GEOMETRY
8077 fi
8078
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8081
8082
8083 enablestring=
8084 defaultval=$wxUSE_ALL_FEATURES
8085 if test -z "$defaultval"; then
8086 if test x"$enablestring" = xdisable; then
8087 defaultval=yes
8088 else
8089 defaultval=no
8090 fi
8091 fi
8092
8093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8095 # Check whether --enable-log was given.
8096 if test "${enable_log+set}" = set; then
8097 enableval=$enable_log;
8098 if test "$enableval" = yes; then
8099 wx_cv_use_log='wxUSE_LOG=yes'
8100 else
8101 wx_cv_use_log='wxUSE_LOG=no'
8102 fi
8103 cache=yes
8104
8105 else
8106
8107 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8108 if test "x$LINE" != x ; then
8109 eval "DEFAULT_$LINE"
8110 cache=yes
8111 else
8112 cache=no
8113 fi
8114
8115 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8116
8117 fi
8118
8119
8120 eval "$wx_cv_use_log"
8121 if test "x$cache" = xyes; then
8122 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8123 fi
8124
8125 if test x"$enablestring" = xdisable; then
8126 if test $wxUSE_LOG = yes; then
8127 result=no
8128 else
8129 result=yes
8130 fi
8131 else
8132 result=$wxUSE_LOG
8133 fi
8134
8135 { echo "$as_me:$LINENO: result: $result" >&5
8136 echo "${ECHO_T}$result" >&6; }
8137
8138
8139 enablestring=
8140 defaultval=$wxUSE_ALL_FEATURES
8141 if test -z "$defaultval"; then
8142 if test x"$enablestring" = xdisable; then
8143 defaultval=yes
8144 else
8145 defaultval=no
8146 fi
8147 fi
8148
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8151 # Check whether --enable-longlong was given.
8152 if test "${enable_longlong+set}" = set; then
8153 enableval=$enable_longlong;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8156 else
8157 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8158 fi
8159 cache=yes
8160
8161 else
8162
8163 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8166 cache=yes
8167 else
8168 cache=no
8169 fi
8170
8171 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8172
8173 fi
8174
8175
8176 eval "$wx_cv_use_longlong"
8177 if test "x$cache" = xyes; then
8178 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8179 fi
8180
8181 if test x"$enablestring" = xdisable; then
8182 if test $wxUSE_LONGLONG = yes; then
8183 result=no
8184 else
8185 result=yes
8186 fi
8187 else
8188 result=$wxUSE_LONGLONG
8189 fi
8190
8191 { echo "$as_me:$LINENO: result: $result" >&5
8192 echo "${ECHO_T}$result" >&6; }
8193
8194
8195 enablestring=
8196 defaultval=$wxUSE_ALL_FEATURES
8197 if test -z "$defaultval"; then
8198 if test x"$enablestring" = xdisable; then
8199 defaultval=yes
8200 else
8201 defaultval=no
8202 fi
8203 fi
8204
8205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8207 # Check whether --enable-mimetype was given.
8208 if test "${enable_mimetype+set}" = set; then
8209 enableval=$enable_mimetype;
8210 if test "$enableval" = yes; then
8211 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8212 else
8213 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8214 fi
8215 cache=yes
8216
8217 else
8218
8219 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8222 cache=yes
8223 else
8224 cache=no
8225 fi
8226
8227 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_mimetype"
8233 if test "x$cache" = xyes; then
8234 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8235 fi
8236
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_MIMETYPE = yes; then
8239 result=no
8240 else
8241 result=yes
8242 fi
8243 else
8244 result=$wxUSE_MIMETYPE
8245 fi
8246
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8249
8250
8251 enablestring=
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8255 defaultval=yes
8256 else
8257 defaultval=no
8258 fi
8259 fi
8260
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8263 # Check whether --enable-snglinst was given.
8264 if test "${enable_snglinst+set}" = set; then
8265 enableval=$enable_snglinst;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8268 else
8269 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8270 fi
8271 cache=yes
8272
8273 else
8274
8275 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8278 cache=yes
8279 else
8280 cache=no
8281 fi
8282
8283 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8284
8285 fi
8286
8287
8288 eval "$wx_cv_use_snglinst"
8289 if test "x$cache" = xyes; then
8290 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8291 fi
8292
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_SNGLINST_CHECKER = yes; then
8295 result=no
8296 else
8297 result=yes
8298 fi
8299 else
8300 result=$wxUSE_SNGLINST_CHECKER
8301 fi
8302
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8305
8306
8307 enablestring=
8308 defaultval=$wxUSE_ALL_FEATURES
8309 if test -z "$defaultval"; then
8310 if test x"$enablestring" = xdisable; then
8311 defaultval=yes
8312 else
8313 defaultval=no
8314 fi
8315 fi
8316
8317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8319 # Check whether --enable-stdpaths was given.
8320 if test "${enable_stdpaths+set}" = set; then
8321 enableval=$enable_stdpaths;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8324 else
8325 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8326 fi
8327 cache=yes
8328
8329 else
8330
8331 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 cache=yes
8335 else
8336 cache=no
8337 fi
8338
8339 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8340
8341 fi
8342
8343
8344 eval "$wx_cv_use_stdpaths"
8345 if test "x$cache" = xyes; then
8346 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8347 fi
8348
8349 if test x"$enablestring" = xdisable; then
8350 if test $wxUSE_STDPATHS = yes; then
8351 result=no
8352 else
8353 result=yes
8354 fi
8355 else
8356 result=$wxUSE_STDPATHS
8357 fi
8358
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8361
8362
8363 enablestring=
8364 defaultval=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x"$enablestring" = xdisable; then
8367 defaultval=yes
8368 else
8369 defaultval=no
8370 fi
8371 fi
8372
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8375 # Check whether --enable-stopwatch was given.
8376 if test "${enable_stopwatch+set}" = set; then
8377 enableval=$enable_stopwatch;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8380 else
8381 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8382 fi
8383 cache=yes
8384
8385 else
8386
8387 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8390 cache=yes
8391 else
8392 cache=no
8393 fi
8394
8395 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8396
8397 fi
8398
8399
8400 eval "$wx_cv_use_stopwatch"
8401 if test "x$cache" = xyes; then
8402 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8403 fi
8404
8405 if test x"$enablestring" = xdisable; then
8406 if test $wxUSE_STOPWATCH = yes; then
8407 result=no
8408 else
8409 result=yes
8410 fi
8411 else
8412 result=$wxUSE_STOPWATCH
8413 fi
8414
8415 { echo "$as_me:$LINENO: result: $result" >&5
8416 echo "${ECHO_T}$result" >&6; }
8417
8418
8419 enablestring=
8420 defaultval=$wxUSE_ALL_FEATURES
8421 if test -z "$defaultval"; then
8422 if test x"$enablestring" = xdisable; then
8423 defaultval=yes
8424 else
8425 defaultval=no
8426 fi
8427 fi
8428
8429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8431 # Check whether --enable-streams was given.
8432 if test "${enable_streams+set}" = set; then
8433 enableval=$enable_streams;
8434 if test "$enableval" = yes; then
8435 wx_cv_use_streams='wxUSE_STREAMS=yes'
8436 else
8437 wx_cv_use_streams='wxUSE_STREAMS=no'
8438 fi
8439 cache=yes
8440
8441 else
8442
8443 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8446 cache=yes
8447 else
8448 cache=no
8449 fi
8450
8451 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8452
8453 fi
8454
8455
8456 eval "$wx_cv_use_streams"
8457 if test "x$cache" = xyes; then
8458 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8459 fi
8460
8461 if test x"$enablestring" = xdisable; then
8462 if test $wxUSE_STREAMS = yes; then
8463 result=no
8464 else
8465 result=yes
8466 fi
8467 else
8468 result=$wxUSE_STREAMS
8469 fi
8470
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8473
8474
8475 enablestring=
8476 defaultval=$wxUSE_ALL_FEATURES
8477 if test -z "$defaultval"; then
8478 if test x"$enablestring" = xdisable; then
8479 defaultval=yes
8480 else
8481 defaultval=no
8482 fi
8483 fi
8484
8485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8487 # Check whether --enable-system_options was given.
8488 if test "${enable_system_options+set}" = set; then
8489 enableval=$enable_system_options;
8490 if test "$enableval" = yes; then
8491 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8492 else
8493 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8494 fi
8495 cache=yes
8496
8497 else
8498
8499 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8502 cache=yes
8503 else
8504 cache=no
8505 fi
8506
8507 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8508
8509 fi
8510
8511
8512 eval "$wx_cv_use_system_options"
8513 if test "x$cache" = xyes; then
8514 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8519 result=no
8520 else
8521 result=yes
8522 fi
8523 else
8524 result=$wxUSE_SYSTEM_OPTIONS
8525 fi
8526
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8529
8530
8531 enablestring=
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8535 defaultval=yes
8536 else
8537 defaultval=no
8538 fi
8539 fi
8540
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8543 # Check whether --enable-tarstream was given.
8544 if test "${enable_tarstream+set}" = set; then
8545 enableval=$enable_tarstream;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8548 else
8549 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8550 fi
8551 cache=yes
8552
8553 else
8554
8555 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8558 cache=yes
8559 else
8560 cache=no
8561 fi
8562
8563 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8564
8565 fi
8566
8567
8568 eval "$wx_cv_use_tarstream"
8569 if test "x$cache" = xyes; then
8570 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8571 fi
8572
8573 if test x"$enablestring" = xdisable; then
8574 if test $wxUSE_TARSTREAM = yes; then
8575 result=no
8576 else
8577 result=yes
8578 fi
8579 else
8580 result=$wxUSE_TARSTREAM
8581 fi
8582
8583 { echo "$as_me:$LINENO: result: $result" >&5
8584 echo "${ECHO_T}$result" >&6; }
8585
8586
8587 enablestring=
8588 defaultval=$wxUSE_ALL_FEATURES
8589 if test -z "$defaultval"; then
8590 if test x"$enablestring" = xdisable; then
8591 defaultval=yes
8592 else
8593 defaultval=no
8594 fi
8595 fi
8596
8597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8599 # Check whether --enable-textbuf was given.
8600 if test "${enable_textbuf+set}" = set; then
8601 enableval=$enable_textbuf;
8602 if test "$enableval" = yes; then
8603 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8604 else
8605 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8606 fi
8607 cache=yes
8608
8609 else
8610
8611 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8612 if test "x$LINE" != x ; then
8613 eval "DEFAULT_$LINE"
8614 cache=yes
8615 else
8616 cache=no
8617 fi
8618
8619 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8620
8621 fi
8622
8623
8624 eval "$wx_cv_use_textbuf"
8625 if test "x$cache" = xyes; then
8626 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8627 fi
8628
8629 if test x"$enablestring" = xdisable; then
8630 if test $wxUSE_TEXTBUFFER = yes; then
8631 result=no
8632 else
8633 result=yes
8634 fi
8635 else
8636 result=$wxUSE_TEXTBUFFER
8637 fi
8638
8639 { echo "$as_me:$LINENO: result: $result" >&5
8640 echo "${ECHO_T}$result" >&6; }
8641
8642
8643 enablestring=
8644 defaultval=$wxUSE_ALL_FEATURES
8645 if test -z "$defaultval"; then
8646 if test x"$enablestring" = xdisable; then
8647 defaultval=yes
8648 else
8649 defaultval=no
8650 fi
8651 fi
8652
8653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8655 # Check whether --enable-textfile was given.
8656 if test "${enable_textfile+set}" = set; then
8657 enableval=$enable_textfile;
8658 if test "$enableval" = yes; then
8659 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8660 else
8661 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8662 fi
8663 cache=yes
8664
8665 else
8666
8667 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8668 if test "x$LINE" != x ; then
8669 eval "DEFAULT_$LINE"
8670 cache=yes
8671 else
8672 cache=no
8673 fi
8674
8675 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8676
8677 fi
8678
8679
8680 eval "$wx_cv_use_textfile"
8681 if test "x$cache" = xyes; then
8682 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test x"$enablestring" = xdisable; then
8686 if test $wxUSE_TEXTFILE = yes; then
8687 result=no
8688 else
8689 result=yes
8690 fi
8691 else
8692 result=$wxUSE_TEXTFILE
8693 fi
8694
8695 { echo "$as_me:$LINENO: result: $result" >&5
8696 echo "${ECHO_T}$result" >&6; }
8697
8698
8699 enablestring=
8700 defaultval=$wxUSE_ALL_FEATURES
8701 if test -z "$defaultval"; then
8702 if test x"$enablestring" = xdisable; then
8703 defaultval=yes
8704 else
8705 defaultval=no
8706 fi
8707 fi
8708
8709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8711 # Check whether --enable-timer was given.
8712 if test "${enable_timer+set}" = set; then
8713 enableval=$enable_timer;
8714 if test "$enableval" = yes; then
8715 wx_cv_use_timer='wxUSE_TIMER=yes'
8716 else
8717 wx_cv_use_timer='wxUSE_TIMER=no'
8718 fi
8719 cache=yes
8720
8721 else
8722
8723 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x ; then
8725 eval "DEFAULT_$LINE"
8726 cache=yes
8727 else
8728 cache=no
8729 fi
8730
8731 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8732
8733 fi
8734
8735
8736 eval "$wx_cv_use_timer"
8737 if test "x$cache" = xyes; then
8738 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8739 fi
8740
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_TIMER = yes; then
8743 result=no
8744 else
8745 result=yes
8746 fi
8747 else
8748 result=$wxUSE_TIMER
8749 fi
8750
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8753
8754
8755 enablestring=
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8759 defaultval=yes
8760 else
8761 defaultval=no
8762 fi
8763 fi
8764
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8767 # Check whether --enable-sound was given.
8768 if test "${enable_sound+set}" = set; then
8769 enableval=$enable_sound;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_sound='wxUSE_SOUND=yes'
8772 else
8773 wx_cv_use_sound='wxUSE_SOUND=no'
8774 fi
8775 cache=yes
8776
8777 else
8778
8779 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8780 if test "x$LINE" != x ; then
8781 eval "DEFAULT_$LINE"
8782 cache=yes
8783 else
8784 cache=no
8785 fi
8786
8787 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8788
8789 fi
8790
8791
8792 eval "$wx_cv_use_sound"
8793 if test "x$cache" = xyes; then
8794 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8795 fi
8796
8797 if test x"$enablestring" = xdisable; then
8798 if test $wxUSE_SOUND = yes; then
8799 result=no
8800 else
8801 result=yes
8802 fi
8803 else
8804 result=$wxUSE_SOUND
8805 fi
8806
8807 { echo "$as_me:$LINENO: result: $result" >&5
8808 echo "${ECHO_T}$result" >&6; }
8809
8810
8811 enablestring=
8812 defaultval=$wxUSE_ALL_FEATURES
8813 if test -z "$defaultval"; then
8814 if test x"$enablestring" = xdisable; then
8815 defaultval=yes
8816 else
8817 defaultval=no
8818 fi
8819 fi
8820
8821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8823 # Check whether --enable-mediactrl was given.
8824 if test "${enable_mediactrl+set}" = set; then
8825 enableval=$enable_mediactrl;
8826 if test "$enableval" = yes; then
8827 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8828 else
8829 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8830 fi
8831 cache=yes
8832
8833 else
8834
8835 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 cache=yes
8839 else
8840 cache=no
8841 fi
8842
8843 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8844
8845 fi
8846
8847
8848 eval "$wx_cv_use_mediactrl"
8849 if test "x$cache" = xyes; then
8850 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8851 fi
8852
8853 if test x"$enablestring" = xdisable; then
8854 if test $wxUSE_MEDIACTRL = yes; then
8855 result=no
8856 else
8857 result=yes
8858 fi
8859 else
8860 result=$wxUSE_MEDIACTRL
8861 fi
8862
8863 { echo "$as_me:$LINENO: result: $result" >&5
8864 echo "${ECHO_T}$result" >&6; }
8865
8866
8867 enablestring=
8868 defaultval=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x"$enablestring" = xdisable; then
8871 defaultval=yes
8872 else
8873 defaultval=no
8874 fi
8875 fi
8876
8877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8879 # Check whether --enable-gstreamer8 was given.
8880 if test "${enable_gstreamer8+set}" = set; then
8881 enableval=$enable_gstreamer8;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8884 else
8885 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8886 fi
8887 cache=yes
8888
8889 else
8890
8891 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x ; then
8893 eval "DEFAULT_$LINE"
8894 cache=yes
8895 else
8896 cache=no
8897 fi
8898
8899 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8900
8901 fi
8902
8903
8904 eval "$wx_cv_use_gstreamer8"
8905 if test "x$cache" = xyes; then
8906 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8907 fi
8908
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_GSTREAMER8 = yes; then
8911 result=no
8912 else
8913 result=yes
8914 fi
8915 else
8916 result=$wxUSE_GSTREAMER8
8917 fi
8918
8919 { echo "$as_me:$LINENO: result: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8921
8922
8923 enablestring=
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8927 defaultval=yes
8928 else
8929 defaultval=no
8930 fi
8931 fi
8932
8933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8935 # Check whether --enable-printfposparam was given.
8936 if test "${enable_printfposparam+set}" = set; then
8937 enableval=$enable_printfposparam;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8940 else
8941 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8942 fi
8943 cache=yes
8944
8945 else
8946
8947 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 cache=yes
8951 else
8952 cache=no
8953 fi
8954
8955 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8956
8957 fi
8958
8959
8960 eval "$wx_cv_use_printfposparam"
8961 if test "x$cache" = xyes; then
8962 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8963 fi
8964
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8967 result=no
8968 else
8969 result=yes
8970 fi
8971 else
8972 result=$wxUSE_PRINTF_POS_PARAMS
8973 fi
8974
8975 { echo "$as_me:$LINENO: result: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8977
8978
8979 enablestring=
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8983 defaultval=yes
8984 else
8985 defaultval=no
8986 fi
8987 fi
8988
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8991 # Check whether --enable-zipstream was given.
8992 if test "${enable_zipstream+set}" = set; then
8993 enableval=$enable_zipstream;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8996 else
8997 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8998 fi
8999 cache=yes
9000
9001 else
9002
9003 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
9004 if test "x$LINE" != x ; then
9005 eval "DEFAULT_$LINE"
9006 cache=yes
9007 else
9008 cache=no
9009 fi
9010
9011 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9012
9013 fi
9014
9015
9016 eval "$wx_cv_use_zipstream"
9017 if test "x$cache" = xyes; then
9018 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9019 fi
9020
9021 if test x"$enablestring" = xdisable; then
9022 if test $wxUSE_ZIPSTREAM = yes; then
9023 result=no
9024 else
9025 result=yes
9026 fi
9027 else
9028 result=$wxUSE_ZIPSTREAM
9029 fi
9030
9031 { echo "$as_me:$LINENO: result: $result" >&5
9032 echo "${ECHO_T}$result" >&6; }
9033
9034
9035
9036 enablestring=
9037 defaultval=$wxUSE_ALL_FEATURES
9038 if test -z "$defaultval"; then
9039 if test x"$enablestring" = xdisable; then
9040 defaultval=yes
9041 else
9042 defaultval=no
9043 fi
9044 fi
9045
9046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9048 # Check whether --enable-url was given.
9049 if test "${enable_url+set}" = set; then
9050 enableval=$enable_url;
9051 if test "$enableval" = yes; then
9052 wx_cv_use_url='wxUSE_URL=yes'
9053 else
9054 wx_cv_use_url='wxUSE_URL=no'
9055 fi
9056 cache=yes
9057
9058 else
9059
9060 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9063 cache=yes
9064 else
9065 cache=no
9066 fi
9067
9068 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9069
9070 fi
9071
9072
9073 eval "$wx_cv_use_url"
9074 if test "x$cache" = xyes; then
9075 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9076 fi
9077
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_URL = yes; then
9080 result=no
9081 else
9082 result=yes
9083 fi
9084 else
9085 result=$wxUSE_URL
9086 fi
9087
9088 { echo "$as_me:$LINENO: result: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9090
9091
9092 enablestring=
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9096 defaultval=yes
9097 else
9098 defaultval=no
9099 fi
9100 fi
9101
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9104 # Check whether --enable-variant was given.
9105 if test "${enable_variant+set}" = set; then
9106 enableval=$enable_variant;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_variant='wxUSE_VARIANT=yes'
9109 else
9110 wx_cv_use_variant='wxUSE_VARIANT=no'
9111 fi
9112 cache=yes
9113
9114 else
9115
9116 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9119 cache=yes
9120 else
9121 cache=no
9122 fi
9123
9124 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_variant"
9130 if test "x$cache" = xyes; then
9131 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9132 fi
9133
9134 if test x"$enablestring" = xdisable; then
9135 if test $wxUSE_VARIANT = yes; then
9136 result=no
9137 else
9138 result=yes
9139 fi
9140 else
9141 result=$wxUSE_VARIANT
9142 fi
9143
9144 { echo "$as_me:$LINENO: result: $result" >&5
9145 echo "${ECHO_T}$result" >&6; }
9146
9147
9148 enablestring=
9149 defaultval=$wxUSE_ALL_FEATURES
9150 if test -z "$defaultval"; then
9151 if test x"$enablestring" = xdisable; then
9152 defaultval=yes
9153 else
9154 defaultval=no
9155 fi
9156 fi
9157
9158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9159 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9160 # Check whether --enable-protocol was given.
9161 if test "${enable_protocol+set}" = set; then
9162 enableval=$enable_protocol;
9163 if test "$enableval" = yes; then
9164 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9165 else
9166 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9167 fi
9168 cache=yes
9169
9170 else
9171
9172 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 cache=yes
9176 else
9177 cache=no
9178 fi
9179
9180 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9181
9182 fi
9183
9184
9185 eval "$wx_cv_use_protocol"
9186 if test "x$cache" = xyes; then
9187 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9188 fi
9189
9190 if test x"$enablestring" = xdisable; then
9191 if test $wxUSE_PROTOCOL = yes; then
9192 result=no
9193 else
9194 result=yes
9195 fi
9196 else
9197 result=$wxUSE_PROTOCOL
9198 fi
9199
9200 { echo "$as_me:$LINENO: result: $result" >&5
9201 echo "${ECHO_T}$result" >&6; }
9202
9203
9204 enablestring=
9205 defaultval=$wxUSE_ALL_FEATURES
9206 if test -z "$defaultval"; then
9207 if test x"$enablestring" = xdisable; then
9208 defaultval=yes
9209 else
9210 defaultval=no
9211 fi
9212 fi
9213
9214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9216 # Check whether --enable-protocol_http was given.
9217 if test "${enable_protocol_http+set}" = set; then
9218 enableval=$enable_protocol_http;
9219 if test "$enableval" = yes; then
9220 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9221 else
9222 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9223 fi
9224 cache=yes
9225
9226 else
9227
9228 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9229 if test "x$LINE" != x ; then
9230 eval "DEFAULT_$LINE"
9231 cache=yes
9232 else
9233 cache=no
9234 fi
9235
9236 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9237
9238 fi
9239
9240
9241 eval "$wx_cv_use_protocol_http"
9242 if test "x$cache" = xyes; then
9243 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9244 fi
9245
9246 if test x"$enablestring" = xdisable; then
9247 if test $wxUSE_PROTOCOL_HTTP = yes; then
9248 result=no
9249 else
9250 result=yes
9251 fi
9252 else
9253 result=$wxUSE_PROTOCOL_HTTP
9254 fi
9255
9256 { echo "$as_me:$LINENO: result: $result" >&5
9257 echo "${ECHO_T}$result" >&6; }
9258
9259
9260 enablestring=
9261 defaultval=$wxUSE_ALL_FEATURES
9262 if test -z "$defaultval"; then
9263 if test x"$enablestring" = xdisable; then
9264 defaultval=yes
9265 else
9266 defaultval=no
9267 fi
9268 fi
9269
9270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9272 # Check whether --enable-protocol_ftp was given.
9273 if test "${enable_protocol_ftp+set}" = set; then
9274 enableval=$enable_protocol_ftp;
9275 if test "$enableval" = yes; then
9276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9277 else
9278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9279 fi
9280 cache=yes
9281
9282 else
9283
9284 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x ; then
9286 eval "DEFAULT_$LINE"
9287 cache=yes
9288 else
9289 cache=no
9290 fi
9291
9292 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9293
9294 fi
9295
9296
9297 eval "$wx_cv_use_protocol_ftp"
9298 if test "x$cache" = xyes; then
9299 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test x"$enablestring" = xdisable; then
9303 if test $wxUSE_PROTOCOL_FTP = yes; then
9304 result=no
9305 else
9306 result=yes
9307 fi
9308 else
9309 result=$wxUSE_PROTOCOL_FTP
9310 fi
9311
9312 { echo "$as_me:$LINENO: result: $result" >&5
9313 echo "${ECHO_T}$result" >&6; }
9314
9315
9316 enablestring=
9317 defaultval=$wxUSE_ALL_FEATURES
9318 if test -z "$defaultval"; then
9319 if test x"$enablestring" = xdisable; then
9320 defaultval=yes
9321 else
9322 defaultval=no
9323 fi
9324 fi
9325
9326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9328 # Check whether --enable-protocol_file was given.
9329 if test "${enable_protocol_file+set}" = set; then
9330 enableval=$enable_protocol_file;
9331 if test "$enableval" = yes; then
9332 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9333 else
9334 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9335 fi
9336 cache=yes
9337
9338 else
9339
9340 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 cache=yes
9344 else
9345 cache=no
9346 fi
9347
9348 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9349
9350 fi
9351
9352
9353 eval "$wx_cv_use_protocol_file"
9354 if test "x$cache" = xyes; then
9355 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9356 fi
9357
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_PROTOCOL_FILE = yes; then
9360 result=no
9361 else
9362 result=yes
9363 fi
9364 else
9365 result=$wxUSE_PROTOCOL_FILE
9366 fi
9367
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9370
9371
9372
9373 enablestring=
9374 defaultval=$wxUSE_ALL_FEATURES
9375 if test -z "$defaultval"; then
9376 if test x"$enablestring" = xdisable; then
9377 defaultval=yes
9378 else
9379 defaultval=no
9380 fi
9381 fi
9382
9383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9385 # Check whether --enable-threads was given.
9386 if test "${enable_threads+set}" = set; then
9387 enableval=$enable_threads;
9388 if test "$enableval" = yes; then
9389 wx_cv_use_threads='wxUSE_THREADS=yes'
9390 else
9391 wx_cv_use_threads='wxUSE_THREADS=no'
9392 fi
9393 cache=yes
9394
9395 else
9396
9397 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9398 if test "x$LINE" != x ; then
9399 eval "DEFAULT_$LINE"
9400 cache=yes
9401 else
9402 cache=no
9403 fi
9404
9405 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9406
9407 fi
9408
9409
9410 eval "$wx_cv_use_threads"
9411 if test "x$cache" = xyes; then
9412 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9413 fi
9414
9415 if test x"$enablestring" = xdisable; then
9416 if test $wxUSE_THREADS = yes; then
9417 result=no
9418 else
9419 result=yes
9420 fi
9421 else
9422 result=$wxUSE_THREADS
9423 fi
9424
9425 { echo "$as_me:$LINENO: result: $result" >&5
9426 echo "${ECHO_T}$result" >&6; }
9427
9428
9429
9430 enablestring=
9431 defaultval=
9432 if test -z "$defaultval"; then
9433 if test x"$enablestring" = xdisable; then
9434 defaultval=yes
9435 else
9436 defaultval=no
9437 fi
9438 fi
9439
9440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9442 # Check whether --enable-iniconf was given.
9443 if test "${enable_iniconf+set}" = set; then
9444 enableval=$enable_iniconf;
9445 if test "$enableval" = yes; then
9446 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9447 else
9448 wx_cv_use_iniconf='wxUSE_INICONF=no'
9449 fi
9450 cache=yes
9451
9452 else
9453
9454 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9457 cache=yes
9458 else
9459 cache=no
9460 fi
9461
9462 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9463
9464 fi
9465
9466
9467 eval "$wx_cv_use_iniconf"
9468 if test "x$cache" = xyes; then
9469 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9470 fi
9471
9472 if test x"$enablestring" = xdisable; then
9473 if test $wxUSE_INICONF = yes; then
9474 result=no
9475 else
9476 result=yes
9477 fi
9478 else
9479 result=$wxUSE_INICONF
9480 fi
9481
9482 { echo "$as_me:$LINENO: result: $result" >&5
9483 echo "${ECHO_T}$result" >&6; }
9484
9485
9486 enablestring=
9487 defaultval=$wxUSE_ALL_FEATURES
9488 if test -z "$defaultval"; then
9489 if test x"$enablestring" = xdisable; then
9490 defaultval=yes
9491 else
9492 defaultval=no
9493 fi
9494 fi
9495
9496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9498 # Check whether --enable-regkey was given.
9499 if test "${enable_regkey+set}" = set; then
9500 enableval=$enable_regkey;
9501 if test "$enableval" = yes; then
9502 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9503 else
9504 wx_cv_use_regkey='wxUSE_REGKEY=no'
9505 fi
9506 cache=yes
9507
9508 else
9509
9510 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x ; then
9512 eval "DEFAULT_$LINE"
9513 cache=yes
9514 else
9515 cache=no
9516 fi
9517
9518 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9519
9520 fi
9521
9522
9523 eval "$wx_cv_use_regkey"
9524 if test "x$cache" = xyes; then
9525 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9526 fi
9527
9528 if test x"$enablestring" = xdisable; then
9529 if test $wxUSE_REGKEY = yes; then
9530 result=no
9531 else
9532 result=yes
9533 fi
9534 else
9535 result=$wxUSE_REGKEY
9536 fi
9537
9538 { echo "$as_me:$LINENO: result: $result" >&5
9539 echo "${ECHO_T}$result" >&6; }
9540
9541
9542 if test "$wxUSE_GUI" = "yes"; then
9543
9544
9545
9546 enablestring=
9547 defaultval=$wxUSE_ALL_FEATURES
9548 if test -z "$defaultval"; then
9549 if test x"$enablestring" = xdisable; then
9550 defaultval=yes
9551 else
9552 defaultval=no
9553 fi
9554 fi
9555
9556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9558 # Check whether --enable-docview was given.
9559 if test "${enable_docview+set}" = set; then
9560 enableval=$enable_docview;
9561 if test "$enableval" = yes; then
9562 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9563 else
9564 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9565 fi
9566 cache=yes
9567
9568 else
9569
9570 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 cache=yes
9574 else
9575 cache=no
9576 fi
9577
9578 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9579
9580 fi
9581
9582
9583 eval "$wx_cv_use_docview"
9584 if test "x$cache" = xyes; then
9585 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test x"$enablestring" = xdisable; then
9589 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9590 result=no
9591 else
9592 result=yes
9593 fi
9594 else
9595 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9596 fi
9597
9598 { echo "$as_me:$LINENO: result: $result" >&5
9599 echo "${ECHO_T}$result" >&6; }
9600
9601
9602 enablestring=
9603 defaultval=$wxUSE_ALL_FEATURES
9604 if test -z "$defaultval"; then
9605 if test x"$enablestring" = xdisable; then
9606 defaultval=yes
9607 else
9608 defaultval=no
9609 fi
9610 fi
9611
9612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9614 # Check whether --enable-help was given.
9615 if test "${enable_help+set}" = set; then
9616 enableval=$enable_help;
9617 if test "$enableval" = yes; then
9618 wx_cv_use_help='wxUSE_HELP=yes'
9619 else
9620 wx_cv_use_help='wxUSE_HELP=no'
9621 fi
9622 cache=yes
9623
9624 else
9625
9626 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9627 if test "x$LINE" != x ; then
9628 eval "DEFAULT_$LINE"
9629 cache=yes
9630 else
9631 cache=no
9632 fi
9633
9634 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9635
9636 fi
9637
9638
9639 eval "$wx_cv_use_help"
9640 if test "x$cache" = xyes; then
9641 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9642 fi
9643
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_HELP = yes; then
9646 result=no
9647 else
9648 result=yes
9649 fi
9650 else
9651 result=$wxUSE_HELP
9652 fi
9653
9654 { echo "$as_me:$LINENO: result: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9656
9657
9658 enablestring=
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9662 defaultval=yes
9663 else
9664 defaultval=no
9665 fi
9666 fi
9667
9668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9670 # Check whether --enable-mshtmlhelp was given.
9671 if test "${enable_mshtmlhelp+set}" = set; then
9672 enableval=$enable_mshtmlhelp;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9675 else
9676 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9677 fi
9678 cache=yes
9679
9680 else
9681
9682 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x ; then
9684 eval "DEFAULT_$LINE"
9685 cache=yes
9686 else
9687 cache=no
9688 fi
9689
9690 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9691
9692 fi
9693
9694
9695 eval "$wx_cv_use_mshtmlhelp"
9696 if test "x$cache" = xyes; then
9697 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9698 fi
9699
9700 if test x"$enablestring" = xdisable; then
9701 if test $wxUSE_MS_HTML_HELP = yes; then
9702 result=no
9703 else
9704 result=yes
9705 fi
9706 else
9707 result=$wxUSE_MS_HTML_HELP
9708 fi
9709
9710 { echo "$as_me:$LINENO: result: $result" >&5
9711 echo "${ECHO_T}$result" >&6; }
9712
9713
9714 enablestring=
9715 defaultval=$wxUSE_ALL_FEATURES
9716 if test -z "$defaultval"; then
9717 if test x"$enablestring" = xdisable; then
9718 defaultval=yes
9719 else
9720 defaultval=no
9721 fi
9722 fi
9723
9724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9726 # Check whether --enable-html was given.
9727 if test "${enable_html+set}" = set; then
9728 enableval=$enable_html;
9729 if test "$enableval" = yes; then
9730 wx_cv_use_html='wxUSE_HTML=yes'
9731 else
9732 wx_cv_use_html='wxUSE_HTML=no'
9733 fi
9734 cache=yes
9735
9736 else
9737
9738 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 cache=yes
9742 else
9743 cache=no
9744 fi
9745
9746 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9747
9748 fi
9749
9750
9751 eval "$wx_cv_use_html"
9752 if test "x$cache" = xyes; then
9753 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9754 fi
9755
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_HTML = yes; then
9758 result=no
9759 else
9760 result=yes
9761 fi
9762 else
9763 result=$wxUSE_HTML
9764 fi
9765
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9768
9769
9770 enablestring=
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9774 defaultval=yes
9775 else
9776 defaultval=no
9777 fi
9778 fi
9779
9780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9782 # Check whether --enable-htmlhelp was given.
9783 if test "${enable_htmlhelp+set}" = set; then
9784 enableval=$enable_htmlhelp;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9787 else
9788 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9789 fi
9790 cache=yes
9791
9792 else
9793
9794 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x ; then
9796 eval "DEFAULT_$LINE"
9797 cache=yes
9798 else
9799 cache=no
9800 fi
9801
9802 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9803
9804 fi
9805
9806
9807 eval "$wx_cv_use_htmlhelp"
9808 if test "x$cache" = xyes; then
9809 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9810 fi
9811
9812 if test x"$enablestring" = xdisable; then
9813 if test $wxUSE_WXHTML_HELP = yes; then
9814 result=no
9815 else
9816 result=yes
9817 fi
9818 else
9819 result=$wxUSE_WXHTML_HELP
9820 fi
9821
9822 { echo "$as_me:$LINENO: result: $result" >&5
9823 echo "${ECHO_T}$result" >&6; }
9824
9825
9826 enablestring=
9827 defaultval=$wxUSE_ALL_FEATURES
9828 if test -z "$defaultval"; then
9829 if test x"$enablestring" = xdisable; then
9830 defaultval=yes
9831 else
9832 defaultval=no
9833 fi
9834 fi
9835
9836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9837 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9838 # Check whether --enable-xrc was given.
9839 if test "${enable_xrc+set}" = set; then
9840 enableval=$enable_xrc;
9841 if test "$enableval" = yes; then
9842 wx_cv_use_xrc='wxUSE_XRC=yes'
9843 else
9844 wx_cv_use_xrc='wxUSE_XRC=no'
9845 fi
9846 cache=yes
9847
9848 else
9849
9850 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9851 if test "x$LINE" != x ; then
9852 eval "DEFAULT_$LINE"
9853 cache=yes
9854 else
9855 cache=no
9856 fi
9857
9858 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9859
9860 fi
9861
9862
9863 eval "$wx_cv_use_xrc"
9864 if test "x$cache" = xyes; then
9865 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9866 fi
9867
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_XRC = yes; then
9870 result=no
9871 else
9872 result=yes
9873 fi
9874 else
9875 result=$wxUSE_XRC
9876 fi
9877
9878 { echo "$as_me:$LINENO: result: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9880
9881
9882 enablestring=
9883 defaultval=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x"$enablestring" = xdisable; then
9886 defaultval=yes
9887 else
9888 defaultval=no
9889 fi
9890 fi
9891
9892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9894 # Check whether --enable-aui was given.
9895 if test "${enable_aui+set}" = set; then
9896 enableval=$enable_aui;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_aui='wxUSE_AUI=yes'
9899 else
9900 wx_cv_use_aui='wxUSE_AUI=no'
9901 fi
9902 cache=yes
9903
9904 else
9905
9906 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x ; then
9908 eval "DEFAULT_$LINE"
9909 cache=yes
9910 else
9911 cache=no
9912 fi
9913
9914 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9915
9916 fi
9917
9918
9919 eval "$wx_cv_use_aui"
9920 if test "x$cache" = xyes; then
9921 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9922 fi
9923
9924 if test x"$enablestring" = xdisable; then
9925 if test $wxUSE_AUI = yes; then
9926 result=no
9927 else
9928 result=yes
9929 fi
9930 else
9931 result=$wxUSE_AUI
9932 fi
9933
9934 { echo "$as_me:$LINENO: result: $result" >&5
9935 echo "${ECHO_T}$result" >&6; }
9936
9937
9938 enablestring=
9939 defaultval=$wxUSE_ALL_FEATURES
9940 if test -z "$defaultval"; then
9941 if test x"$enablestring" = xdisable; then
9942 defaultval=yes
9943 else
9944 defaultval=no
9945 fi
9946 fi
9947
9948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9950 # Check whether --enable-stc was given.
9951 if test "${enable_stc+set}" = set; then
9952 enableval=$enable_stc;
9953 if test "$enableval" = yes; then
9954 wx_cv_use_stc='wxUSE_STC=yes'
9955 else
9956 wx_cv_use_stc='wxUSE_STC=no'
9957 fi
9958 cache=yes
9959
9960 else
9961
9962 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x ; then
9964 eval "DEFAULT_$LINE"
9965 cache=yes
9966 else
9967 cache=no
9968 fi
9969
9970 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9971
9972 fi
9973
9974
9975 eval "$wx_cv_use_stc"
9976 if test "x$cache" = xyes; then
9977 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9978 fi
9979
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_STC = yes; then
9982 result=no
9983 else
9984 result=yes
9985 fi
9986 else
9987 result=$wxUSE_STC
9988 fi
9989
9990 { echo "$as_me:$LINENO: result: $result" >&5
9991 echo "${ECHO_T}$result" >&6; }
9992
9993
9994 enablestring=
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
9998 defaultval=yes
9999 else
10000 defaultval=no
10001 fi
10002 fi
10003
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
10006 # Check whether --enable-constraints was given.
10007 if test "${enable_constraints+set}" = set; then
10008 enableval=$enable_constraints;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10011 else
10012 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10013 fi
10014 cache=yes
10015
10016 else
10017
10018 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10019 if test "x$LINE" != x ; then
10020 eval "DEFAULT_$LINE"
10021 cache=yes
10022 else
10023 cache=no
10024 fi
10025
10026 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10027
10028 fi
10029
10030
10031 eval "$wx_cv_use_constraints"
10032 if test "x$cache" = xyes; then
10033 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10034 fi
10035
10036 if test x"$enablestring" = xdisable; then
10037 if test $wxUSE_CONSTRAINTS = yes; then
10038 result=no
10039 else
10040 result=yes
10041 fi
10042 else
10043 result=$wxUSE_CONSTRAINTS
10044 fi
10045
10046 { echo "$as_me:$LINENO: result: $result" >&5
10047 echo "${ECHO_T}$result" >&6; }
10048
10049
10050 enablestring=
10051 defaultval=$wxUSE_ALL_FEATURES
10052 if test -z "$defaultval"; then
10053 if test x"$enablestring" = xdisable; then
10054 defaultval=yes
10055 else
10056 defaultval=no
10057 fi
10058 fi
10059
10060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10062 # Check whether --enable-printarch was given.
10063 if test "${enable_printarch+set}" = set; then
10064 enableval=$enable_printarch;
10065 if test "$enableval" = yes; then
10066 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10067 else
10068 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10069 fi
10070 cache=yes
10071
10072 else
10073
10074 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10075 if test "x$LINE" != x ; then
10076 eval "DEFAULT_$LINE"
10077 cache=yes
10078 else
10079 cache=no
10080 fi
10081
10082 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10083
10084 fi
10085
10086
10087 eval "$wx_cv_use_printarch"
10088 if test "x$cache" = xyes; then
10089 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10090 fi
10091
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10094 result=no
10095 else
10096 result=yes
10097 fi
10098 else
10099 result=$wxUSE_PRINTING_ARCHITECTURE
10100 fi
10101
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10104
10105
10106 enablestring=
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10110 defaultval=yes
10111 else
10112 defaultval=no
10113 fi
10114 fi
10115
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10118 # Check whether --enable-mdi was given.
10119 if test "${enable_mdi+set}" = set; then
10120 enableval=$enable_mdi;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_mdi='wxUSE_MDI=yes'
10123 else
10124 wx_cv_use_mdi='wxUSE_MDI=no'
10125 fi
10126 cache=yes
10127
10128 else
10129
10130 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10131 if test "x$LINE" != x ; then
10132 eval "DEFAULT_$LINE"
10133 cache=yes
10134 else
10135 cache=no
10136 fi
10137
10138 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10139
10140 fi
10141
10142
10143 eval "$wx_cv_use_mdi"
10144 if test "x$cache" = xyes; then
10145 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10146 fi
10147
10148 if test x"$enablestring" = xdisable; then
10149 if test $wxUSE_MDI = yes; then
10150 result=no
10151 else
10152 result=yes
10153 fi
10154 else
10155 result=$wxUSE_MDI
10156 fi
10157
10158 { echo "$as_me:$LINENO: result: $result" >&5
10159 echo "${ECHO_T}$result" >&6; }
10160
10161
10162 enablestring=
10163 defaultval=$wxUSE_ALL_FEATURES
10164 if test -z "$defaultval"; then
10165 if test x"$enablestring" = xdisable; then
10166 defaultval=yes
10167 else
10168 defaultval=no
10169 fi
10170 fi
10171
10172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10173 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10174 # Check whether --enable-mdidoc was given.
10175 if test "${enable_mdidoc+set}" = set; then
10176 enableval=$enable_mdidoc;
10177 if test "$enableval" = yes; then
10178 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10179 else
10180 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10181 fi
10182 cache=yes
10183
10184 else
10185
10186 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10187 if test "x$LINE" != x ; then
10188 eval "DEFAULT_$LINE"
10189 cache=yes
10190 else
10191 cache=no
10192 fi
10193
10194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10195
10196 fi
10197
10198
10199 eval "$wx_cv_use_mdidoc"
10200 if test "x$cache" = xyes; then
10201 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10202 fi
10203
10204 if test x"$enablestring" = xdisable; then
10205 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10206 result=no
10207 else
10208 result=yes
10209 fi
10210 else
10211 result=$wxUSE_MDI_ARCHITECTURE
10212 fi
10213
10214 { echo "$as_me:$LINENO: result: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10216
10217
10218 enablestring=
10219 defaultval=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x"$enablestring" = xdisable; then
10222 defaultval=yes
10223 else
10224 defaultval=no
10225 fi
10226 fi
10227
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10230 # Check whether --enable-loggui was given.
10231 if test "${enable_loggui+set}" = set; then
10232 enableval=$enable_loggui;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10235 else
10236 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10237 fi
10238 cache=yes
10239
10240 else
10241
10242 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10243 if test "x$LINE" != x ; then
10244 eval "DEFAULT_$LINE"
10245 cache=yes
10246 else
10247 cache=no
10248 fi
10249
10250 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10251
10252 fi
10253
10254
10255 eval "$wx_cv_use_loggui"
10256 if test "x$cache" = xyes; then
10257 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10258 fi
10259
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_LOGGUI = yes; then
10262 result=no
10263 else
10264 result=yes
10265 fi
10266 else
10267 result=$wxUSE_LOGGUI
10268 fi
10269
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10272
10273
10274 enablestring=
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10278 defaultval=yes
10279 else
10280 defaultval=no
10281 fi
10282 fi
10283
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10286 # Check whether --enable-logwin was given.
10287 if test "${enable_logwin+set}" = set; then
10288 enableval=$enable_logwin;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10291 else
10292 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10293 fi
10294 cache=yes
10295
10296 else
10297
10298 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10299 if test "x$LINE" != x ; then
10300 eval "DEFAULT_$LINE"
10301 cache=yes
10302 else
10303 cache=no
10304 fi
10305
10306 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10307
10308 fi
10309
10310
10311 eval "$wx_cv_use_logwin"
10312 if test "x$cache" = xyes; then
10313 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10314 fi
10315
10316 if test x"$enablestring" = xdisable; then
10317 if test $wxUSE_LOGWINDOW = yes; then
10318 result=no
10319 else
10320 result=yes
10321 fi
10322 else
10323 result=$wxUSE_LOGWINDOW
10324 fi
10325
10326 { echo "$as_me:$LINENO: result: $result" >&5
10327 echo "${ECHO_T}$result" >&6; }
10328
10329
10330 enablestring=
10331 defaultval=$wxUSE_ALL_FEATURES
10332 if test -z "$defaultval"; then
10333 if test x"$enablestring" = xdisable; then
10334 defaultval=yes
10335 else
10336 defaultval=no
10337 fi
10338 fi
10339
10340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10342 # Check whether --enable-logdialog was given.
10343 if test "${enable_logdialog+set}" = set; then
10344 enableval=$enable_logdialog;
10345 if test "$enableval" = yes; then
10346 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10347 else
10348 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10349 fi
10350 cache=yes
10351
10352 else
10353
10354 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10355 if test "x$LINE" != x ; then
10356 eval "DEFAULT_$LINE"
10357 cache=yes
10358 else
10359 cache=no
10360 fi
10361
10362 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10363
10364 fi
10365
10366
10367 eval "$wx_cv_use_logdialog"
10368 if test "x$cache" = xyes; then
10369 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10370 fi
10371
10372 if test x"$enablestring" = xdisable; then
10373 if test $wxUSE_LOGDIALOG = yes; then
10374 result=no
10375 else
10376 result=yes
10377 fi
10378 else
10379 result=$wxUSE_LOGDIALOG
10380 fi
10381
10382 { echo "$as_me:$LINENO: result: $result" >&5
10383 echo "${ECHO_T}$result" >&6; }
10384
10385
10386 enablestring=
10387 defaultval=$wxUSE_ALL_FEATURES
10388 if test -z "$defaultval"; then
10389 if test x"$enablestring" = xdisable; then
10390 defaultval=yes
10391 else
10392 defaultval=no
10393 fi
10394 fi
10395
10396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10398 # Check whether --enable-webkit was given.
10399 if test "${enable_webkit+set}" = set; then
10400 enableval=$enable_webkit;
10401 if test "$enableval" = yes; then
10402 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10403 else
10404 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10405 fi
10406 cache=yes
10407
10408 else
10409
10410 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x ; then
10412 eval "DEFAULT_$LINE"
10413 cache=yes
10414 else
10415 cache=no
10416 fi
10417
10418 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10419
10420 fi
10421
10422
10423 eval "$wx_cv_use_webkit"
10424 if test "x$cache" = xyes; then
10425 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10426 fi
10427
10428 if test x"$enablestring" = xdisable; then
10429 if test $wxUSE_WEBKIT = yes; then
10430 result=no
10431 else
10432 result=yes
10433 fi
10434 else
10435 result=$wxUSE_WEBKIT
10436 fi
10437
10438 { echo "$as_me:$LINENO: result: $result" >&5
10439 echo "${ECHO_T}$result" >&6; }
10440
10441
10442 enablestring=
10443 defaultval=$wxUSE_ALL_FEATURES
10444 if test -z "$defaultval"; then
10445 if test x"$enablestring" = xdisable; then
10446 defaultval=yes
10447 else
10448 defaultval=no
10449 fi
10450 fi
10451
10452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10453 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10454 # Check whether --enable-richtext was given.
10455 if test "${enable_richtext+set}" = set; then
10456 enableval=$enable_richtext;
10457 if test "$enableval" = yes; then
10458 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10459 else
10460 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10461 fi
10462 cache=yes
10463
10464 else
10465
10466 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 cache=yes
10470 else
10471 cache=no
10472 fi
10473
10474 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10475
10476 fi
10477
10478
10479 eval "$wx_cv_use_richtext"
10480 if test "x$cache" = xyes; then
10481 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10482 fi
10483
10484 if test x"$enablestring" = xdisable; then
10485 if test $wxUSE_RICHTEXT = yes; then
10486 result=no
10487 else
10488 result=yes
10489 fi
10490 else
10491 result=$wxUSE_RICHTEXT
10492 fi
10493
10494 { echo "$as_me:$LINENO: result: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10496
10497
10498 enablestring=
10499 defaultval=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x"$enablestring" = xdisable; then
10502 defaultval=yes
10503 else
10504 defaultval=no
10505 fi
10506 fi
10507
10508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10509 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10510 # Check whether --enable-graphics_ctx was given.
10511 if test "${enable_graphics_ctx+set}" = set; then
10512 enableval=$enable_graphics_ctx;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10515 else
10516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10517 fi
10518 cache=yes
10519
10520 else
10521
10522 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10523 if test "x$LINE" != x ; then
10524 eval "DEFAULT_$LINE"
10525 cache=yes
10526 else
10527 cache=no
10528 fi
10529
10530 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10531
10532 fi
10533
10534
10535 eval "$wx_cv_use_graphics_ctx"
10536 if test "x$cache" = xyes; then
10537 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10538 fi
10539
10540 if test x"$enablestring" = xdisable; then
10541 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10542 result=no
10543 else
10544 result=yes
10545 fi
10546 else
10547 result=$wxUSE_GRAPHICS_CONTEXT
10548 fi
10549
10550 { echo "$as_me:$LINENO: result: $result" >&5
10551 echo "${ECHO_T}$result" >&6; }
10552
10553
10554 enablestring=
10555 defaultval=$wxUSE_ALL_FEATURES
10556 if test -z "$defaultval"; then
10557 if test x"$enablestring" = xdisable; then
10558 defaultval=yes
10559 else
10560 defaultval=no
10561 fi
10562 fi
10563
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10566 # Check whether --enable-postscript was given.
10567 if test "${enable_postscript+set}" = set; then
10568 enableval=$enable_postscript;
10569 if test "$enableval" = yes; then
10570 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10571 else
10572 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10573 fi
10574 cache=yes
10575
10576 else
10577
10578 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 cache=yes
10582 else
10583 cache=no
10584 fi
10585
10586 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10587
10588 fi
10589
10590
10591 eval "$wx_cv_use_postscript"
10592 if test "x$cache" = xyes; then
10593 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10594 fi
10595
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_POSTSCRIPT = yes; then
10598 result=no
10599 else
10600 result=yes
10601 fi
10602 else
10603 result=$wxUSE_POSTSCRIPT
10604 fi
10605
10606 { echo "$as_me:$LINENO: result: $result" >&5
10607 echo "${ECHO_T}$result" >&6; }
10608
10609
10610 enablestring=
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10614 defaultval=yes
10615 else
10616 defaultval=no
10617 fi
10618 fi
10619
10620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10621 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10622 # Check whether --enable-svg was given.
10623 if test "${enable_svg+set}" = set; then
10624 enableval=$enable_svg;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_svg='wxUSE_SVG=yes'
10627 else
10628 wx_cv_use_svg='wxUSE_SVG=no'
10629 fi
10630 cache=yes
10631
10632 else
10633
10634 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10635 if test "x$LINE" != x ; then
10636 eval "DEFAULT_$LINE"
10637 cache=yes
10638 else
10639 cache=no
10640 fi
10641
10642 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10643
10644 fi
10645
10646
10647 eval "$wx_cv_use_svg"
10648 if test "x$cache" = xyes; then
10649 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10650 fi
10651
10652 if test x"$enablestring" = xdisable; then
10653 if test $wxUSE_SVG = yes; then
10654 result=no
10655 else
10656 result=yes
10657 fi
10658 else
10659 result=$wxUSE_SVG
10660 fi
10661
10662 { echo "$as_me:$LINENO: result: $result" >&5
10663 echo "${ECHO_T}$result" >&6; }
10664
10665
10666
10667
10668 enablestring=
10669 defaultval=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x"$enablestring" = xdisable; then
10672 defaultval=yes
10673 else
10674 defaultval=no
10675 fi
10676 fi
10677
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10680 # Check whether --enable-clipboard was given.
10681 if test "${enable_clipboard+set}" = set; then
10682 enableval=$enable_clipboard;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10685 else
10686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10687 fi
10688 cache=yes
10689
10690 else
10691
10692 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10693 if test "x$LINE" != x ; then
10694 eval "DEFAULT_$LINE"
10695 cache=yes
10696 else
10697 cache=no
10698 fi
10699
10700 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10701
10702 fi
10703
10704
10705 eval "$wx_cv_use_clipboard"
10706 if test "x$cache" = xyes; then
10707 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10708 fi
10709
10710 if test x"$enablestring" = xdisable; then
10711 if test $wxUSE_CLIPBOARD = yes; then
10712 result=no
10713 else
10714 result=yes
10715 fi
10716 else
10717 result=$wxUSE_CLIPBOARD
10718 fi
10719
10720 { echo "$as_me:$LINENO: result: $result" >&5
10721 echo "${ECHO_T}$result" >&6; }
10722
10723
10724 enablestring=
10725 defaultval=$wxUSE_ALL_FEATURES
10726 if test -z "$defaultval"; then
10727 if test x"$enablestring" = xdisable; then
10728 defaultval=yes
10729 else
10730 defaultval=no
10731 fi
10732 fi
10733
10734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10735 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10736 # Check whether --enable-dnd was given.
10737 if test "${enable_dnd+set}" = set; then
10738 enableval=$enable_dnd;
10739 if test "$enableval" = yes; then
10740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10741 else
10742 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10743 fi
10744 cache=yes
10745
10746 else
10747
10748 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10749 if test "x$LINE" != x ; then
10750 eval "DEFAULT_$LINE"
10751 cache=yes
10752 else
10753 cache=no
10754 fi
10755
10756 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10757
10758 fi
10759
10760
10761 eval "$wx_cv_use_dnd"
10762 if test "x$cache" = xyes; then
10763 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10764 fi
10765
10766 if test x"$enablestring" = xdisable; then
10767 if test $wxUSE_DRAG_AND_DROP = yes; then
10768 result=no
10769 else
10770 result=yes
10771 fi
10772 else
10773 result=$wxUSE_DRAG_AND_DROP
10774 fi
10775
10776 { echo "$as_me:$LINENO: result: $result" >&5
10777 echo "${ECHO_T}$result" >&6; }
10778
10779
10780 enablestring=
10781 defaultval=$wxUSE_ALL_FEATURES
10782 if test -z "$defaultval"; then
10783 if test x"$enablestring" = xdisable; then
10784 defaultval=yes
10785 else
10786 defaultval=no
10787 fi
10788 fi
10789
10790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10791 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10792 # Check whether --enable-metafile was given.
10793 if test "${enable_metafile+set}" = set; then
10794 enableval=$enable_metafile;
10795 if test "$enableval" = yes; then
10796 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10797 else
10798 wx_cv_use_metafile='wxUSE_METAFILE=no'
10799 fi
10800 cache=yes
10801
10802 else
10803
10804 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10805 if test "x$LINE" != x ; then
10806 eval "DEFAULT_$LINE"
10807 cache=yes
10808 else
10809 cache=no
10810 fi
10811
10812 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10813
10814 fi
10815
10816
10817 eval "$wx_cv_use_metafile"
10818 if test "x$cache" = xyes; then
10819 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10820 fi
10821
10822 if test x"$enablestring" = xdisable; then
10823 if test $wxUSE_METAFILE = yes; then
10824 result=no
10825 else
10826 result=yes
10827 fi
10828 else
10829 result=$wxUSE_METAFILE
10830 fi
10831
10832 { echo "$as_me:$LINENO: result: $result" >&5
10833 echo "${ECHO_T}$result" >&6; }
10834
10835
10836
10837 DEFAULT_wxUSE_CONTROLS=none
10838
10839 enablestring=disable
10840 defaultval=
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10843 defaultval=yes
10844 else
10845 defaultval=no
10846 fi
10847 fi
10848
10849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10851 # Check whether --enable-controls was given.
10852 if test "${enable_controls+set}" = set; then
10853 enableval=$enable_controls;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10856 else
10857 wx_cv_use_controls='wxUSE_CONTROLS=no'
10858 fi
10859 cache=yes
10860
10861 else
10862
10863 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10864 if test "x$LINE" != x ; then
10865 eval "DEFAULT_$LINE"
10866 cache=yes
10867 else
10868 cache=no
10869 fi
10870
10871 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10872
10873 fi
10874
10875
10876 eval "$wx_cv_use_controls"
10877 if test "x$cache" = xyes; then
10878 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10879 fi
10880
10881 if test x"$enablestring" = xdisable; then
10882 if test $wxUSE_CONTROLS = yes; then
10883 result=no
10884 else
10885 result=yes
10886 fi
10887 else
10888 result=$wxUSE_CONTROLS
10889 fi
10890
10891 { echo "$as_me:$LINENO: result: $result" >&5
10892 echo "${ECHO_T}$result" >&6; }
10893
10894
10895 if test "$wxUSE_CONTROLS" = "yes"; then
10896 DEFAULT_wxUSE_ACCEL=yes
10897 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10898 DEFAULT_wxUSE_BMPBUTTON=yes
10899 DEFAULT_wxUSE_BUTTON=yes
10900 DEFAULT_wxUSE_CALCTRL=yes
10901 DEFAULT_wxUSE_CARET=yes
10902 DEFAULT_wxUSE_COMBOBOX=yes
10903 DEFAULT_wxUSE_CHECKBOX=yes
10904 DEFAULT_wxUSE_CHECKLISTBOX=yes
10905 DEFAULT_wxUSE_CHOICE=yes
10906 DEFAULT_wxUSE_CHOICEBOOK=yes
10907 DEFAULT_wxUSE_COLLPANE=yes
10908 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10909 DEFAULT_wxUSE_COMBOBOX=yes
10910 DEFAULT_wxUSE_DATEPICKCTRL=yes
10911 DEFAULT_wxUSE_DISPLAY=yes
10912 DEFAULT_wxUSE_DETECT_SM=yes
10913 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10914 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10915 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10916 DEFAULT_wxUSE_GAUGE=yes
10917 DEFAULT_wxUSE_GRID=yes
10918 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10919 DEFAULT_wxUSE_DATAVIEWCTRL=no
10920 DEFAULT_wxUSE_IMAGLIST=yes
10921 DEFAULT_wxUSE_LISTBOOK=yes
10922 DEFAULT_wxUSE_LISTBOX=yes
10923 DEFAULT_wxUSE_LISTCTRL=yes
10924 DEFAULT_wxUSE_NOTEBOOK=yes
10925 DEFAULT_wxUSE_RADIOBOX=yes
10926 DEFAULT_wxUSE_RADIOBTN=yes
10927 DEFAULT_wxUSE_SASH=yes
10928 DEFAULT_wxUSE_SCROLLBAR=yes
10929 DEFAULT_wxUSE_SEARCHCTRL=yes
10930 DEFAULT_wxUSE_SLIDER=yes
10931 DEFAULT_wxUSE_SPINBTN=yes
10932 DEFAULT_wxUSE_SPINCTRL=yes
10933 DEFAULT_wxUSE_SPLITTER=yes
10934 DEFAULT_wxUSE_STATBMP=yes
10935 DEFAULT_wxUSE_STATBOX=yes
10936 DEFAULT_wxUSE_STATLINE=yes
10937 DEFAULT_wxUSE_STATUSBAR=yes
10938 DEFAULT_wxUSE_TAB_DIALOG=yes
10939 DEFAULT_wxUSE_TOGGLEBTN=yes
10940 DEFAULT_wxUSE_TOOLBAR=yes
10941 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10942 DEFAULT_wxUSE_TOOLTIPS=yes
10943 DEFAULT_wxUSE_TREEBOOK=yes
10944 DEFAULT_wxUSE_TOOLBOOK=yes
10945 DEFAULT_wxUSE_TREECTRL=yes
10946 DEFAULT_wxUSE_POPUPWIN=yes
10947 DEFAULT_wxUSE_TIPWINDOW=yes
10948 elif test "$wxUSE_CONTROLS" = "no"; then
10949 DEFAULT_wxUSE_ACCEL=no
10950 DEFAULT_wxUSE_ANIMATIONCTRL=no
10951 DEFAULT_wxUSE_BMPBUTTON=no
10952 DEFAULT_wxUSE_BUTTON=no
10953 DEFAULT_wxUSE_CALCTRL=no
10954 DEFAULT_wxUSE_CARET=no
10955 DEFAULT_wxUSE_COLLPANE=no
10956 DEFAULT_wxUSE_COMBOBOX=no
10957 DEFAULT_wxUSE_CHECKBOX=no
10958 DEFAULT_wxUSE_CHECKLISTBOX=no
10959 DEFAULT_wxUSE_CHOICE=no
10960 DEFAULT_wxUSE_CHOICEBOOK=no
10961 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10962 DEFAULT_wxUSE_COMBOBOX=no
10963 DEFAULT_wxUSE_DATEPICKCTRL=no
10964 DEFAULT_wxUSE_DISPLAY=no
10965 DEFAULT_wxUSE_DETECT_SM=no
10966 DEFAULT_wxUSE_DIRPICKERCTRL=no
10967 DEFAULT_wxUSE_FILEPICKERCTRL=no
10968 DEFAULT_wxUSE_FONTPICKERCTRL=no
10969 DEFAULT_wxUSE_GAUGE=no
10970 DEFAULT_wxUSE_GRID=no
10971 DEFAULT_wxUSE_HYPERLINKCTRL=no
10972 DEFAULT_wxUSE_DATAVIEWCTRL=no
10973 DEFAULT_wxUSE_IMAGLIST=no
10974 DEFAULT_wxUSE_LISTBOOK=no
10975 DEFAULT_wxUSE_LISTBOX=no
10976 DEFAULT_wxUSE_LISTCTRL=no
10977 DEFAULT_wxUSE_NOTEBOOK=no
10978 DEFAULT_wxUSE_RADIOBOX=no
10979 DEFAULT_wxUSE_RADIOBTN=no
10980 DEFAULT_wxUSE_SASH=no
10981 DEFAULT_wxUSE_SCROLLBAR=no
10982 DEFAULT_wxUSE_SEARCHCTRL=no
10983 DEFAULT_wxUSE_SLIDER=no
10984 DEFAULT_wxUSE_SPINBTN=no
10985 DEFAULT_wxUSE_SPINCTRL=no
10986 DEFAULT_wxUSE_SPLITTER=no
10987 DEFAULT_wxUSE_STATBMP=no
10988 DEFAULT_wxUSE_STATBOX=no
10989 DEFAULT_wxUSE_STATLINE=no
10990 DEFAULT_wxUSE_STATUSBAR=no
10991 DEFAULT_wxUSE_TAB_DIALOG=no
10992 DEFAULT_wxUSE_TOGGLEBTN=no
10993 DEFAULT_wxUSE_TOOLBAR=no
10994 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10995 DEFAULT_wxUSE_TOOLTIPS=no
10996 DEFAULT_wxUSE_TREEBOOK=no
10997 DEFAULT_wxUSE_TOOLBOOK=no
10998 DEFAULT_wxUSE_TREECTRL=no
10999 DEFAULT_wxUSE_POPUPWIN=no
11000 DEFAULT_wxUSE_TIPWINDOW=no
11001 fi
11002
11003
11004 enablestring=
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11008 defaultval=yes
11009 else
11010 defaultval=no
11011 fi
11012 fi
11013
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11016 # Check whether --enable-accel was given.
11017 if test "${enable_accel+set}" = set; then
11018 enableval=$enable_accel;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_accel='wxUSE_ACCEL=yes'
11021 else
11022 wx_cv_use_accel='wxUSE_ACCEL=no'
11023 fi
11024 cache=yes
11025
11026 else
11027
11028 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11029 if test "x$LINE" != x ; then
11030 eval "DEFAULT_$LINE"
11031 cache=yes
11032 else
11033 cache=no
11034 fi
11035
11036 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11037
11038 fi
11039
11040
11041 eval "$wx_cv_use_accel"
11042 if test "x$cache" = xyes; then
11043 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_ACCEL = yes; then
11048 result=no
11049 else
11050 result=yes
11051 fi
11052 else
11053 result=$wxUSE_ACCEL
11054 fi
11055
11056 { echo "$as_me:$LINENO: result: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11058
11059
11060 enablestring=
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11064 defaultval=yes
11065 else
11066 defaultval=no
11067 fi
11068 fi
11069
11070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11071 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11072 # Check whether --enable-animatectrl was given.
11073 if test "${enable_animatectrl+set}" = set; then
11074 enableval=$enable_animatectrl;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11077 else
11078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11079 fi
11080 cache=yes
11081
11082 else
11083
11084 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11085 if test "x$LINE" != x ; then
11086 eval "DEFAULT_$LINE"
11087 cache=yes
11088 else
11089 cache=no
11090 fi
11091
11092 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_animatectrl"
11098 if test "x$cache" = xyes; then
11099 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11100 fi
11101
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_ANIMATIONCTRL = yes; then
11104 result=no
11105 else
11106 result=yes
11107 fi
11108 else
11109 result=$wxUSE_ANIMATIONCTRL
11110 fi
11111
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11114
11115
11116 enablestring=
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11120 defaultval=yes
11121 else
11122 defaultval=no
11123 fi
11124 fi
11125
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11128 # Check whether --enable-button was given.
11129 if test "${enable_button+set}" = set; then
11130 enableval=$enable_button;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_button='wxUSE_BUTTON=yes'
11133 else
11134 wx_cv_use_button='wxUSE_BUTTON=no'
11135 fi
11136 cache=yes
11137
11138 else
11139
11140 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11141 if test "x$LINE" != x ; then
11142 eval "DEFAULT_$LINE"
11143 cache=yes
11144 else
11145 cache=no
11146 fi
11147
11148 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11149
11150 fi
11151
11152
11153 eval "$wx_cv_use_button"
11154 if test "x$cache" = xyes; then
11155 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11156 fi
11157
11158 if test x"$enablestring" = xdisable; then
11159 if test $wxUSE_BUTTON = yes; then
11160 result=no
11161 else
11162 result=yes
11163 fi
11164 else
11165 result=$wxUSE_BUTTON
11166 fi
11167
11168 { echo "$as_me:$LINENO: result: $result" >&5
11169 echo "${ECHO_T}$result" >&6; }
11170
11171
11172 enablestring=
11173 defaultval=$wxUSE_ALL_FEATURES
11174 if test -z "$defaultval"; then
11175 if test x"$enablestring" = xdisable; then
11176 defaultval=yes
11177 else
11178 defaultval=no
11179 fi
11180 fi
11181
11182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11184 # Check whether --enable-bmpbutton was given.
11185 if test "${enable_bmpbutton+set}" = set; then
11186 enableval=$enable_bmpbutton;
11187 if test "$enableval" = yes; then
11188 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11189 else
11190 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11191 fi
11192 cache=yes
11193
11194 else
11195
11196 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11197 if test "x$LINE" != x ; then
11198 eval "DEFAULT_$LINE"
11199 cache=yes
11200 else
11201 cache=no
11202 fi
11203
11204 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11205
11206 fi
11207
11208
11209 eval "$wx_cv_use_bmpbutton"
11210 if test "x$cache" = xyes; then
11211 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11212 fi
11213
11214 if test x"$enablestring" = xdisable; then
11215 if test $wxUSE_BMPBUTTON = yes; then
11216 result=no
11217 else
11218 result=yes
11219 fi
11220 else
11221 result=$wxUSE_BMPBUTTON
11222 fi
11223
11224 { echo "$as_me:$LINENO: result: $result" >&5
11225 echo "${ECHO_T}$result" >&6; }
11226
11227
11228 enablestring=
11229 defaultval=$wxUSE_ALL_FEATURES
11230 if test -z "$defaultval"; then
11231 if test x"$enablestring" = xdisable; then
11232 defaultval=yes
11233 else
11234 defaultval=no
11235 fi
11236 fi
11237
11238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11239 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11240 # Check whether --enable-bmpcombobox was given.
11241 if test "${enable_bmpcombobox+set}" = set; then
11242 enableval=$enable_bmpcombobox;
11243 if test "$enableval" = yes; then
11244 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11245 else
11246 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11247 fi
11248 cache=yes
11249
11250 else
11251
11252 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11253 if test "x$LINE" != x ; then
11254 eval "DEFAULT_$LINE"
11255 cache=yes
11256 else
11257 cache=no
11258 fi
11259
11260 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11261
11262 fi
11263
11264
11265 eval "$wx_cv_use_bmpcombobox"
11266 if test "x$cache" = xyes; then
11267 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11268 fi
11269
11270 if test x"$enablestring" = xdisable; then
11271 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11272 result=no
11273 else
11274 result=yes
11275 fi
11276 else
11277 result=$wxUSE_BITMAPCOMBOBOX
11278 fi
11279
11280 { echo "$as_me:$LINENO: result: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11282
11283
11284 enablestring=
11285 defaultval=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x"$enablestring" = xdisable; then
11288 defaultval=yes
11289 else
11290 defaultval=no
11291 fi
11292 fi
11293
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11296 # Check whether --enable-calendar was given.
11297 if test "${enable_calendar+set}" = set; then
11298 enableval=$enable_calendar;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11301 else
11302 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11303 fi
11304 cache=yes
11305
11306 else
11307
11308 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11309 if test "x$LINE" != x ; then
11310 eval "DEFAULT_$LINE"
11311 cache=yes
11312 else
11313 cache=no
11314 fi
11315
11316 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11317
11318 fi
11319
11320
11321 eval "$wx_cv_use_calendar"
11322 if test "x$cache" = xyes; then
11323 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11324 fi
11325
11326 if test x"$enablestring" = xdisable; then
11327 if test $wxUSE_CALCTRL = yes; then
11328 result=no
11329 else
11330 result=yes
11331 fi
11332 else
11333 result=$wxUSE_CALCTRL
11334 fi
11335
11336 { echo "$as_me:$LINENO: result: $result" >&5
11337 echo "${ECHO_T}$result" >&6; }
11338
11339
11340 enablestring=
11341 defaultval=$wxUSE_ALL_FEATURES
11342 if test -z "$defaultval"; then
11343 if test x"$enablestring" = xdisable; then
11344 defaultval=yes
11345 else
11346 defaultval=no
11347 fi
11348 fi
11349
11350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11351 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11352 # Check whether --enable-caret was given.
11353 if test "${enable_caret+set}" = set; then
11354 enableval=$enable_caret;
11355 if test "$enableval" = yes; then
11356 wx_cv_use_caret='wxUSE_CARET=yes'
11357 else
11358 wx_cv_use_caret='wxUSE_CARET=no'
11359 fi
11360 cache=yes
11361
11362 else
11363
11364 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11365 if test "x$LINE" != x ; then
11366 eval "DEFAULT_$LINE"
11367 cache=yes
11368 else
11369 cache=no
11370 fi
11371
11372 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11373
11374 fi
11375
11376
11377 eval "$wx_cv_use_caret"
11378 if test "x$cache" = xyes; then
11379 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11380 fi
11381
11382 if test x"$enablestring" = xdisable; then
11383 if test $wxUSE_CARET = yes; then
11384 result=no
11385 else
11386 result=yes
11387 fi
11388 else
11389 result=$wxUSE_CARET
11390 fi
11391
11392 { echo "$as_me:$LINENO: result: $result" >&5
11393 echo "${ECHO_T}$result" >&6; }
11394
11395
11396 enablestring=
11397 defaultval=$wxUSE_ALL_FEATURES
11398 if test -z "$defaultval"; then
11399 if test x"$enablestring" = xdisable; then
11400 defaultval=yes
11401 else
11402 defaultval=no
11403 fi
11404 fi
11405
11406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11408 # Check whether --enable-checkbox was given.
11409 if test "${enable_checkbox+set}" = set; then
11410 enableval=$enable_checkbox;
11411 if test "$enableval" = yes; then
11412 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11413 else
11414 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11415 fi
11416 cache=yes
11417
11418 else
11419
11420 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11423 cache=yes
11424 else
11425 cache=no
11426 fi
11427
11428 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11429
11430 fi
11431
11432
11433 eval "$wx_cv_use_checkbox"
11434 if test "x$cache" = xyes; then
11435 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11436 fi
11437
11438 if test x"$enablestring" = xdisable; then
11439 if test $wxUSE_CHECKBOX = yes; then
11440 result=no
11441 else
11442 result=yes
11443 fi
11444 else
11445 result=$wxUSE_CHECKBOX
11446 fi
11447
11448 { echo "$as_me:$LINENO: result: $result" >&5
11449 echo "${ECHO_T}$result" >&6; }
11450
11451
11452 enablestring=
11453 defaultval=$wxUSE_ALL_FEATURES
11454 if test -z "$defaultval"; then
11455 if test x"$enablestring" = xdisable; then
11456 defaultval=yes
11457 else
11458 defaultval=no
11459 fi
11460 fi
11461
11462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11463 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11464 # Check whether --enable-checklst was given.
11465 if test "${enable_checklst+set}" = set; then
11466 enableval=$enable_checklst;
11467 if test "$enableval" = yes; then
11468 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11469 else
11470 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11471 fi
11472 cache=yes
11473
11474 else
11475
11476 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11477 if test "x$LINE" != x ; then
11478 eval "DEFAULT_$LINE"
11479 cache=yes
11480 else
11481 cache=no
11482 fi
11483
11484 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_checklst"
11490 if test "x$cache" = xyes; then
11491 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11492 fi
11493
11494 if test x"$enablestring" = xdisable; then
11495 if test $wxUSE_CHECKLST = yes; then
11496 result=no
11497 else
11498 result=yes
11499 fi
11500 else
11501 result=$wxUSE_CHECKLST
11502 fi
11503
11504 { echo "$as_me:$LINENO: result: $result" >&5
11505 echo "${ECHO_T}$result" >&6; }
11506
11507
11508 enablestring=
11509 defaultval=$wxUSE_ALL_FEATURES
11510 if test -z "$defaultval"; then
11511 if test x"$enablestring" = xdisable; then
11512 defaultval=yes
11513 else
11514 defaultval=no
11515 fi
11516 fi
11517
11518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11519 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11520 # Check whether --enable-choice was given.
11521 if test "${enable_choice+set}" = set; then
11522 enableval=$enable_choice;
11523 if test "$enableval" = yes; then
11524 wx_cv_use_choice='wxUSE_CHOICE=yes'
11525 else
11526 wx_cv_use_choice='wxUSE_CHOICE=no'
11527 fi
11528 cache=yes
11529
11530 else
11531
11532 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x ; then
11534 eval "DEFAULT_$LINE"
11535 cache=yes
11536 else
11537 cache=no
11538 fi
11539
11540 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11541
11542 fi
11543
11544
11545 eval "$wx_cv_use_choice"
11546 if test "x$cache" = xyes; then
11547 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11548 fi
11549
11550 if test x"$enablestring" = xdisable; then
11551 if test $wxUSE_CHOICE = yes; then
11552 result=no
11553 else
11554 result=yes
11555 fi
11556 else
11557 result=$wxUSE_CHOICE
11558 fi
11559
11560 { echo "$as_me:$LINENO: result: $result" >&5
11561 echo "${ECHO_T}$result" >&6; }
11562
11563
11564 enablestring=
11565 defaultval=$wxUSE_ALL_FEATURES
11566 if test -z "$defaultval"; then
11567 if test x"$enablestring" = xdisable; then
11568 defaultval=yes
11569 else
11570 defaultval=no
11571 fi
11572 fi
11573
11574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11576 # Check whether --enable-choicebook was given.
11577 if test "${enable_choicebook+set}" = set; then
11578 enableval=$enable_choicebook;
11579 if test "$enableval" = yes; then
11580 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11581 else
11582 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11583 fi
11584 cache=yes
11585
11586 else
11587
11588 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11591 cache=yes
11592 else
11593 cache=no
11594 fi
11595
11596 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11597
11598 fi
11599
11600
11601 eval "$wx_cv_use_choicebook"
11602 if test "x$cache" = xyes; then
11603 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11604 fi
11605
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_CHOICEBOOK = yes; then
11608 result=no
11609 else
11610 result=yes
11611 fi
11612 else
11613 result=$wxUSE_CHOICEBOOK
11614 fi
11615
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11618
11619
11620 enablestring=
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11624 defaultval=yes
11625 else
11626 defaultval=no
11627 fi
11628 fi
11629
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11632 # Check whether --enable-collpane was given.
11633 if test "${enable_collpane+set}" = set; then
11634 enableval=$enable_collpane;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11637 else
11638 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11639 fi
11640 cache=yes
11641
11642 else
11643
11644 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11645 if test "x$LINE" != x ; then
11646 eval "DEFAULT_$LINE"
11647 cache=yes
11648 else
11649 cache=no
11650 fi
11651
11652 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11653
11654 fi
11655
11656
11657 eval "$wx_cv_use_collpane"
11658 if test "x$cache" = xyes; then
11659 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11660 fi
11661
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_COLLPANE = yes; then
11664 result=no
11665 else
11666 result=yes
11667 fi
11668 else
11669 result=$wxUSE_COLLPANE
11670 fi
11671
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11674
11675
11676 enablestring=
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11680 defaultval=yes
11681 else
11682 defaultval=no
11683 fi
11684 fi
11685
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11688 # Check whether --enable-colourpicker was given.
11689 if test "${enable_colourpicker+set}" = set; then
11690 enableval=$enable_colourpicker;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11693 else
11694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11695 fi
11696 cache=yes
11697
11698 else
11699
11700 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x ; then
11702 eval "DEFAULT_$LINE"
11703 cache=yes
11704 else
11705 cache=no
11706 fi
11707
11708 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_colourpicker"
11714 if test "x$cache" = xyes; then
11715 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11716 fi
11717
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_COLOURPICKERCTRL = yes; then
11720 result=no
11721 else
11722 result=yes
11723 fi
11724 else
11725 result=$wxUSE_COLOURPICKERCTRL
11726 fi
11727
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11730
11731
11732 enablestring=
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11736 defaultval=yes
11737 else
11738 defaultval=no
11739 fi
11740 fi
11741
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11744 # Check whether --enable-combobox was given.
11745 if test "${enable_combobox+set}" = set; then
11746 enableval=$enable_combobox;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11749 else
11750 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11751 fi
11752 cache=yes
11753
11754 else
11755
11756 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 cache=yes
11760 else
11761 cache=no
11762 fi
11763
11764 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11765
11766 fi
11767
11768
11769 eval "$wx_cv_use_combobox"
11770 if test "x$cache" = xyes; then
11771 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11772 fi
11773
11774 if test x"$enablestring" = xdisable; then
11775 if test $wxUSE_COMBOBOX = yes; then
11776 result=no
11777 else
11778 result=yes
11779 fi
11780 else
11781 result=$wxUSE_COMBOBOX
11782 fi
11783
11784 { echo "$as_me:$LINENO: result: $result" >&5
11785 echo "${ECHO_T}$result" >&6; }
11786
11787
11788 enablestring=
11789 defaultval=$wxUSE_ALL_FEATURES
11790 if test -z "$defaultval"; then
11791 if test x"$enablestring" = xdisable; then
11792 defaultval=yes
11793 else
11794 defaultval=no
11795 fi
11796 fi
11797
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11800 # Check whether --enable-comboctrl was given.
11801 if test "${enable_comboctrl+set}" = set; then
11802 enableval=$enable_comboctrl;
11803 if test "$enableval" = yes; then
11804 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11805 else
11806 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11807 fi
11808 cache=yes
11809
11810 else
11811
11812 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11813 if test "x$LINE" != x ; then
11814 eval "DEFAULT_$LINE"
11815 cache=yes
11816 else
11817 cache=no
11818 fi
11819
11820 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11821
11822 fi
11823
11824
11825 eval "$wx_cv_use_comboctrl"
11826 if test "x$cache" = xyes; then
11827 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11828 fi
11829
11830 if test x"$enablestring" = xdisable; then
11831 if test $wxUSE_COMBOCTRL = yes; then
11832 result=no
11833 else
11834 result=yes
11835 fi
11836 else
11837 result=$wxUSE_COMBOCTRL
11838 fi
11839
11840 { echo "$as_me:$LINENO: result: $result" >&5
11841 echo "${ECHO_T}$result" >&6; }
11842
11843
11844 enablestring=
11845 defaultval=$wxUSE_ALL_FEATURES
11846 if test -z "$defaultval"; then
11847 if test x"$enablestring" = xdisable; then
11848 defaultval=yes
11849 else
11850 defaultval=no
11851 fi
11852 fi
11853
11854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11855 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11856 # Check whether --enable-datepick was given.
11857 if test "${enable_datepick+set}" = set; then
11858 enableval=$enable_datepick;
11859 if test "$enableval" = yes; then
11860 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11861 else
11862 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11863 fi
11864 cache=yes
11865
11866 else
11867
11868 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11869 if test "x$LINE" != x ; then
11870 eval "DEFAULT_$LINE"
11871 cache=yes
11872 else
11873 cache=no
11874 fi
11875
11876 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11877
11878 fi
11879
11880
11881 eval "$wx_cv_use_datepick"
11882 if test "x$cache" = xyes; then
11883 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11884 fi
11885
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_DATEPICKCTRL = yes; then
11888 result=no
11889 else
11890 result=yes
11891 fi
11892 else
11893 result=$wxUSE_DATEPICKCTRL
11894 fi
11895
11896 { echo "$as_me:$LINENO: result: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11898
11899
11900 enablestring=
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11904 defaultval=yes
11905 else
11906 defaultval=no
11907 fi
11908 fi
11909
11910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11911 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11912 # Check whether --enable-dirpicker was given.
11913 if test "${enable_dirpicker+set}" = set; then
11914 enableval=$enable_dirpicker;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11917 else
11918 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11919 fi
11920 cache=yes
11921
11922 else
11923
11924 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11925 if test "x$LINE" != x ; then
11926 eval "DEFAULT_$LINE"
11927 cache=yes
11928 else
11929 cache=no
11930 fi
11931
11932 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11933
11934 fi
11935
11936
11937 eval "$wx_cv_use_dirpicker"
11938 if test "x$cache" = xyes; then
11939 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11940 fi
11941
11942 if test x"$enablestring" = xdisable; then
11943 if test $wxUSE_DIRPICKERCTRL = yes; then
11944 result=no
11945 else
11946 result=yes
11947 fi
11948 else
11949 result=$wxUSE_DIRPICKERCTRL
11950 fi
11951
11952 { echo "$as_me:$LINENO: result: $result" >&5
11953 echo "${ECHO_T}$result" >&6; }
11954
11955
11956 enablestring=
11957 defaultval=$wxUSE_ALL_FEATURES
11958 if test -z "$defaultval"; then
11959 if test x"$enablestring" = xdisable; then
11960 defaultval=yes
11961 else
11962 defaultval=no
11963 fi
11964 fi
11965
11966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11967 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11968 # Check whether --enable-display was given.
11969 if test "${enable_display+set}" = set; then
11970 enableval=$enable_display;
11971 if test "$enableval" = yes; then
11972 wx_cv_use_display='wxUSE_DISPLAY=yes'
11973 else
11974 wx_cv_use_display='wxUSE_DISPLAY=no'
11975 fi
11976 cache=yes
11977
11978 else
11979
11980 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11981 if test "x$LINE" != x ; then
11982 eval "DEFAULT_$LINE"
11983 cache=yes
11984 else
11985 cache=no
11986 fi
11987
11988 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11989
11990 fi
11991
11992
11993 eval "$wx_cv_use_display"
11994 if test "x$cache" = xyes; then
11995 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11996 fi
11997
11998 if test x"$enablestring" = xdisable; then
11999 if test $wxUSE_DISPLAY = yes; then
12000 result=no
12001 else
12002 result=yes
12003 fi
12004 else
12005 result=$wxUSE_DISPLAY
12006 fi
12007
12008 { echo "$as_me:$LINENO: result: $result" >&5
12009 echo "${ECHO_T}$result" >&6; }
12010
12011
12012 enablestring=
12013 defaultval=$wxUSE_ALL_FEATURES
12014 if test -z "$defaultval"; then
12015 if test x"$enablestring" = xdisable; then
12016 defaultval=yes
12017 else
12018 defaultval=no
12019 fi
12020 fi
12021
12022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12023 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12024 # Check whether --enable-detect_sm was given.
12025 if test "${enable_detect_sm+set}" = set; then
12026 enableval=$enable_detect_sm;
12027 if test "$enableval" = yes; then
12028 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12029 else
12030 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12031 fi
12032 cache=yes
12033
12034 else
12035
12036 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12037 if test "x$LINE" != x ; then
12038 eval "DEFAULT_$LINE"
12039 cache=yes
12040 else
12041 cache=no
12042 fi
12043
12044 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12045
12046 fi
12047
12048
12049 eval "$wx_cv_use_detect_sm"
12050 if test "x$cache" = xyes; then
12051 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12052 fi
12053
12054 if test x"$enablestring" = xdisable; then
12055 if test $wxUSE_DETECT_SM = yes; then
12056 result=no
12057 else
12058 result=yes
12059 fi
12060 else
12061 result=$wxUSE_DETECT_SM
12062 fi
12063
12064 { echo "$as_me:$LINENO: result: $result" >&5
12065 echo "${ECHO_T}$result" >&6; }
12066
12067
12068 enablestring=
12069 defaultval=$wxUSE_ALL_FEATURES
12070 if test -z "$defaultval"; then
12071 if test x"$enablestring" = xdisable; then
12072 defaultval=yes
12073 else
12074 defaultval=no
12075 fi
12076 fi
12077
12078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12079 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12080 # Check whether --enable-editablebox was given.
12081 if test "${enable_editablebox+set}" = set; then
12082 enableval=$enable_editablebox;
12083 if test "$enableval" = yes; then
12084 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12085 else
12086 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12087 fi
12088 cache=yes
12089
12090 else
12091
12092 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12093 if test "x$LINE" != x ; then
12094 eval "DEFAULT_$LINE"
12095 cache=yes
12096 else
12097 cache=no
12098 fi
12099
12100 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12101
12102 fi
12103
12104
12105 eval "$wx_cv_use_editablebox"
12106 if test "x$cache" = xyes; then
12107 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12108 fi
12109
12110 if test x"$enablestring" = xdisable; then
12111 if test $wxUSE_EDITABLELISTBOX = yes; then
12112 result=no
12113 else
12114 result=yes
12115 fi
12116 else
12117 result=$wxUSE_EDITABLELISTBOX
12118 fi
12119
12120 { echo "$as_me:$LINENO: result: $result" >&5
12121 echo "${ECHO_T}$result" >&6; }
12122
12123
12124 enablestring=
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12128 defaultval=yes
12129 else
12130 defaultval=no
12131 fi
12132 fi
12133
12134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12136 # Check whether --enable-filepicker was given.
12137 if test "${enable_filepicker+set}" = set; then
12138 enableval=$enable_filepicker;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12141 else
12142 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12143 fi
12144 cache=yes
12145
12146 else
12147
12148 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12149 if test "x$LINE" != x ; then
12150 eval "DEFAULT_$LINE"
12151 cache=yes
12152 else
12153 cache=no
12154 fi
12155
12156 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12157
12158 fi
12159
12160
12161 eval "$wx_cv_use_filepicker"
12162 if test "x$cache" = xyes; then
12163 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12164 fi
12165
12166 if test x"$enablestring" = xdisable; then
12167 if test $wxUSE_FILEPICKERCTRL = yes; then
12168 result=no
12169 else
12170 result=yes
12171 fi
12172 else
12173 result=$wxUSE_FILEPICKERCTRL
12174 fi
12175
12176 { echo "$as_me:$LINENO: result: $result" >&5
12177 echo "${ECHO_T}$result" >&6; }
12178
12179
12180 enablestring=
12181 defaultval=$wxUSE_ALL_FEATURES
12182 if test -z "$defaultval"; then
12183 if test x"$enablestring" = xdisable; then
12184 defaultval=yes
12185 else
12186 defaultval=no
12187 fi
12188 fi
12189
12190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12191 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12192 # Check whether --enable-fontpicker was given.
12193 if test "${enable_fontpicker+set}" = set; then
12194 enableval=$enable_fontpicker;
12195 if test "$enableval" = yes; then
12196 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12197 else
12198 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12199 fi
12200 cache=yes
12201
12202 else
12203
12204 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12205 if test "x$LINE" != x ; then
12206 eval "DEFAULT_$LINE"
12207 cache=yes
12208 else
12209 cache=no
12210 fi
12211
12212 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12213
12214 fi
12215
12216
12217 eval "$wx_cv_use_fontpicker"
12218 if test "x$cache" = xyes; then
12219 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12220 fi
12221
12222 if test x"$enablestring" = xdisable; then
12223 if test $wxUSE_FONTPICKERCTRL = yes; then
12224 result=no
12225 else
12226 result=yes
12227 fi
12228 else
12229 result=$wxUSE_FONTPICKERCTRL
12230 fi
12231
12232 { echo "$as_me:$LINENO: result: $result" >&5
12233 echo "${ECHO_T}$result" >&6; }
12234
12235
12236 enablestring=
12237 defaultval=$wxUSE_ALL_FEATURES
12238 if test -z "$defaultval"; then
12239 if test x"$enablestring" = xdisable; then
12240 defaultval=yes
12241 else
12242 defaultval=no
12243 fi
12244 fi
12245
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12248 # Check whether --enable-gauge was given.
12249 if test "${enable_gauge+set}" = set; then
12250 enableval=$enable_gauge;
12251 if test "$enableval" = yes; then
12252 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12253 else
12254 wx_cv_use_gauge='wxUSE_GAUGE=no'
12255 fi
12256 cache=yes
12257
12258 else
12259
12260 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12261 if test "x$LINE" != x ; then
12262 eval "DEFAULT_$LINE"
12263 cache=yes
12264 else
12265 cache=no
12266 fi
12267
12268 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12269
12270 fi
12271
12272
12273 eval "$wx_cv_use_gauge"
12274 if test "x$cache" = xyes; then
12275 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12276 fi
12277
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_GAUGE = yes; then
12280 result=no
12281 else
12282 result=yes
12283 fi
12284 else
12285 result=$wxUSE_GAUGE
12286 fi
12287
12288 { echo "$as_me:$LINENO: result: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12290
12291
12292 enablestring=
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12296 defaultval=yes
12297 else
12298 defaultval=no
12299 fi
12300 fi
12301
12302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12303 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12304 # Check whether --enable-grid was given.
12305 if test "${enable_grid+set}" = set; then
12306 enableval=$enable_grid;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_grid='wxUSE_GRID=yes'
12309 else
12310 wx_cv_use_grid='wxUSE_GRID=no'
12311 fi
12312 cache=yes
12313
12314 else
12315
12316 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12317 if test "x$LINE" != x ; then
12318 eval "DEFAULT_$LINE"
12319 cache=yes
12320 else
12321 cache=no
12322 fi
12323
12324 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12325
12326 fi
12327
12328
12329 eval "$wx_cv_use_grid"
12330 if test "x$cache" = xyes; then
12331 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12332 fi
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_GRID = yes; then
12336 result=no
12337 else
12338 result=yes
12339 fi
12340 else
12341 result=$wxUSE_GRID
12342 fi
12343
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12346
12347
12348 enablestring=
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12352 defaultval=yes
12353 else
12354 defaultval=no
12355 fi
12356 fi
12357
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12360 # Check whether --enable-dataviewctrl was given.
12361 if test "${enable_dataviewctrl+set}" = set; then
12362 enableval=$enable_dataviewctrl;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12365 else
12366 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12367 fi
12368 cache=yes
12369
12370 else
12371
12372 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12373 if test "x$LINE" != x ; then
12374 eval "DEFAULT_$LINE"
12375 cache=yes
12376 else
12377 cache=no
12378 fi
12379
12380 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12381
12382 fi
12383
12384
12385 eval "$wx_cv_use_dataviewctrl"
12386 if test "x$cache" = xyes; then
12387 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12388 fi
12389
12390 if test x"$enablestring" = xdisable; then
12391 if test $wxUSE_DATAVIEWCTRL = yes; then
12392 result=no
12393 else
12394 result=yes
12395 fi
12396 else
12397 result=$wxUSE_DATAVIEWCTRL
12398 fi
12399
12400 { echo "$as_me:$LINENO: result: $result" >&5
12401 echo "${ECHO_T}$result" >&6; }
12402
12403
12404 enablestring=
12405 defaultval=$wxUSE_ALL_FEATURES
12406 if test -z "$defaultval"; then
12407 if test x"$enablestring" = xdisable; then
12408 defaultval=yes
12409 else
12410 defaultval=no
12411 fi
12412 fi
12413
12414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12415 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12416 # Check whether --enable-hyperlink was given.
12417 if test "${enable_hyperlink+set}" = set; then
12418 enableval=$enable_hyperlink;
12419 if test "$enableval" = yes; then
12420 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12421 else
12422 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12423 fi
12424 cache=yes
12425
12426 else
12427
12428 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12429 if test "x$LINE" != x ; then
12430 eval "DEFAULT_$LINE"
12431 cache=yes
12432 else
12433 cache=no
12434 fi
12435
12436 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12437
12438 fi
12439
12440
12441 eval "$wx_cv_use_hyperlink"
12442 if test "x$cache" = xyes; then
12443 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12444 fi
12445
12446 if test x"$enablestring" = xdisable; then
12447 if test $wxUSE_HYPERLINKCTRL = yes; then
12448 result=no
12449 else
12450 result=yes
12451 fi
12452 else
12453 result=$wxUSE_HYPERLINKCTRL
12454 fi
12455
12456 { echo "$as_me:$LINENO: result: $result" >&5
12457 echo "${ECHO_T}$result" >&6; }
12458
12459
12460 enablestring=
12461 defaultval=$wxUSE_ALL_FEATURES
12462 if test -z "$defaultval"; then
12463 if test x"$enablestring" = xdisable; then
12464 defaultval=yes
12465 else
12466 defaultval=no
12467 fi
12468 fi
12469
12470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12471 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12472 # Check whether --enable-imaglist was given.
12473 if test "${enable_imaglist+set}" = set; then
12474 enableval=$enable_imaglist;
12475 if test "$enableval" = yes; then
12476 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12477 else
12478 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12479 fi
12480 cache=yes
12481
12482 else
12483
12484 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12485 if test "x$LINE" != x ; then
12486 eval "DEFAULT_$LINE"
12487 cache=yes
12488 else
12489 cache=no
12490 fi
12491
12492 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12493
12494 fi
12495
12496
12497 eval "$wx_cv_use_imaglist"
12498 if test "x$cache" = xyes; then
12499 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12500 fi
12501
12502 if test x"$enablestring" = xdisable; then
12503 if test $wxUSE_IMAGLIST = yes; then
12504 result=no
12505 else
12506 result=yes
12507 fi
12508 else
12509 result=$wxUSE_IMAGLIST
12510 fi
12511
12512 { echo "$as_me:$LINENO: result: $result" >&5
12513 echo "${ECHO_T}$result" >&6; }
12514
12515
12516 enablestring=
12517 defaultval=$wxUSE_ALL_FEATURES
12518 if test -z "$defaultval"; then
12519 if test x"$enablestring" = xdisable; then
12520 defaultval=yes
12521 else
12522 defaultval=no
12523 fi
12524 fi
12525
12526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12527 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12528 # Check whether --enable-listbook was given.
12529 if test "${enable_listbook+set}" = set; then
12530 enableval=$enable_listbook;
12531 if test "$enableval" = yes; then
12532 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12533 else
12534 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12535 fi
12536 cache=yes
12537
12538 else
12539
12540 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12541 if test "x$LINE" != x ; then
12542 eval "DEFAULT_$LINE"
12543 cache=yes
12544 else
12545 cache=no
12546 fi
12547
12548 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12549
12550 fi
12551
12552
12553 eval "$wx_cv_use_listbook"
12554 if test "x$cache" = xyes; then
12555 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12556 fi
12557
12558 if test x"$enablestring" = xdisable; then
12559 if test $wxUSE_LISTBOOK = yes; then
12560 result=no
12561 else
12562 result=yes
12563 fi
12564 else
12565 result=$wxUSE_LISTBOOK
12566 fi
12567
12568 { echo "$as_me:$LINENO: result: $result" >&5
12569 echo "${ECHO_T}$result" >&6; }
12570
12571
12572 enablestring=
12573 defaultval=$wxUSE_ALL_FEATURES
12574 if test -z "$defaultval"; then
12575 if test x"$enablestring" = xdisable; then
12576 defaultval=yes
12577 else
12578 defaultval=no
12579 fi
12580 fi
12581
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12584 # Check whether --enable-listbox was given.
12585 if test "${enable_listbox+set}" = set; then
12586 enableval=$enable_listbox;
12587 if test "$enableval" = yes; then
12588 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12589 else
12590 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12591 fi
12592 cache=yes
12593
12594 else
12595
12596 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12597 if test "x$LINE" != x ; then
12598 eval "DEFAULT_$LINE"
12599 cache=yes
12600 else
12601 cache=no
12602 fi
12603
12604 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12605
12606 fi
12607
12608
12609 eval "$wx_cv_use_listbox"
12610 if test "x$cache" = xyes; then
12611 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12612 fi
12613
12614 if test x"$enablestring" = xdisable; then
12615 if test $wxUSE_LISTBOX = yes; then
12616 result=no
12617 else
12618 result=yes
12619 fi
12620 else
12621 result=$wxUSE_LISTBOX
12622 fi
12623
12624 { echo "$as_me:$LINENO: result: $result" >&5
12625 echo "${ECHO_T}$result" >&6; }
12626
12627
12628 enablestring=
12629 defaultval=$wxUSE_ALL_FEATURES
12630 if test -z "$defaultval"; then
12631 if test x"$enablestring" = xdisable; then
12632 defaultval=yes
12633 else
12634 defaultval=no
12635 fi
12636 fi
12637
12638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12639 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12640 # Check whether --enable-listctrl was given.
12641 if test "${enable_listctrl+set}" = set; then
12642 enableval=$enable_listctrl;
12643 if test "$enableval" = yes; then
12644 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12645 else
12646 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12647 fi
12648 cache=yes
12649
12650 else
12651
12652 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12653 if test "x$LINE" != x ; then
12654 eval "DEFAULT_$LINE"
12655 cache=yes
12656 else
12657 cache=no
12658 fi
12659
12660 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12661
12662 fi
12663
12664
12665 eval "$wx_cv_use_listctrl"
12666 if test "x$cache" = xyes; then
12667 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12668 fi
12669
12670 if test x"$enablestring" = xdisable; then
12671 if test $wxUSE_LISTCTRL = yes; then
12672 result=no
12673 else
12674 result=yes
12675 fi
12676 else
12677 result=$wxUSE_LISTCTRL
12678 fi
12679
12680 { echo "$as_me:$LINENO: result: $result" >&5
12681 echo "${ECHO_T}$result" >&6; }
12682
12683
12684 enablestring=
12685 defaultval=$wxUSE_ALL_FEATURES
12686 if test -z "$defaultval"; then
12687 if test x"$enablestring" = xdisable; then
12688 defaultval=yes
12689 else
12690 defaultval=no
12691 fi
12692 fi
12693
12694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12695 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12696 # Check whether --enable-notebook was given.
12697 if test "${enable_notebook+set}" = set; then
12698 enableval=$enable_notebook;
12699 if test "$enableval" = yes; then
12700 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12701 else
12702 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12703 fi
12704 cache=yes
12705
12706 else
12707
12708 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12709 if test "x$LINE" != x ; then
12710 eval "DEFAULT_$LINE"
12711 cache=yes
12712 else
12713 cache=no
12714 fi
12715
12716 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_notebook"
12722 if test "x$cache" = xyes; then
12723 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12724 fi
12725
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_NOTEBOOK = yes; then
12728 result=no
12729 else
12730 result=yes
12731 fi
12732 else
12733 result=$wxUSE_NOTEBOOK
12734 fi
12735
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12738
12739
12740 enablestring=
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12744 defaultval=yes
12745 else
12746 defaultval=no
12747 fi
12748 fi
12749
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12752 # Check whether --enable-odcombobox was given.
12753 if test "${enable_odcombobox+set}" = set; then
12754 enableval=$enable_odcombobox;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12757 else
12758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12759 fi
12760 cache=yes
12761
12762 else
12763
12764 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12765 if test "x$LINE" != x ; then
12766 eval "DEFAULT_$LINE"
12767 cache=yes
12768 else
12769 cache=no
12770 fi
12771
12772 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12773
12774 fi
12775
12776
12777 eval "$wx_cv_use_odcombobox"
12778 if test "x$cache" = xyes; then
12779 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12780 fi
12781
12782 if test x"$enablestring" = xdisable; then
12783 if test $wxUSE_ODCOMBOBOX = yes; then
12784 result=no
12785 else
12786 result=yes
12787 fi
12788 else
12789 result=$wxUSE_ODCOMBOBOX
12790 fi
12791
12792 { echo "$as_me:$LINENO: result: $result" >&5
12793 echo "${ECHO_T}$result" >&6; }
12794
12795
12796 enablestring=
12797 defaultval=$wxUSE_ALL_FEATURES
12798 if test -z "$defaultval"; then
12799 if test x"$enablestring" = xdisable; then
12800 defaultval=yes
12801 else
12802 defaultval=no
12803 fi
12804 fi
12805
12806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12807 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12808 # Check whether --enable-radiobox was given.
12809 if test "${enable_radiobox+set}" = set; then
12810 enableval=$enable_radiobox;
12811 if test "$enableval" = yes; then
12812 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12813 else
12814 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12815 fi
12816 cache=yes
12817
12818 else
12819
12820 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12821 if test "x$LINE" != x ; then
12822 eval "DEFAULT_$LINE"
12823 cache=yes
12824 else
12825 cache=no
12826 fi
12827
12828 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12829
12830 fi
12831
12832
12833 eval "$wx_cv_use_radiobox"
12834 if test "x$cache" = xyes; then
12835 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12836 fi
12837
12838 if test x"$enablestring" = xdisable; then
12839 if test $wxUSE_RADIOBOX = yes; then
12840 result=no
12841 else
12842 result=yes
12843 fi
12844 else
12845 result=$wxUSE_RADIOBOX
12846 fi
12847
12848 { echo "$as_me:$LINENO: result: $result" >&5
12849 echo "${ECHO_T}$result" >&6; }
12850
12851
12852 enablestring=
12853 defaultval=$wxUSE_ALL_FEATURES
12854 if test -z "$defaultval"; then
12855 if test x"$enablestring" = xdisable; then
12856 defaultval=yes
12857 else
12858 defaultval=no
12859 fi
12860 fi
12861
12862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12863 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12864 # Check whether --enable-radiobtn was given.
12865 if test "${enable_radiobtn+set}" = set; then
12866 enableval=$enable_radiobtn;
12867 if test "$enableval" = yes; then
12868 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12869 else
12870 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12871 fi
12872 cache=yes
12873
12874 else
12875
12876 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12877 if test "x$LINE" != x ; then
12878 eval "DEFAULT_$LINE"
12879 cache=yes
12880 else
12881 cache=no
12882 fi
12883
12884 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12885
12886 fi
12887
12888
12889 eval "$wx_cv_use_radiobtn"
12890 if test "x$cache" = xyes; then
12891 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12892 fi
12893
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_RADIOBTN = yes; then
12896 result=no
12897 else
12898 result=yes
12899 fi
12900 else
12901 result=$wxUSE_RADIOBTN
12902 fi
12903
12904 { echo "$as_me:$LINENO: result: $result" >&5
12905 echo "${ECHO_T}$result" >&6; }
12906
12907
12908 enablestring=
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12912 defaultval=yes
12913 else
12914 defaultval=no
12915 fi
12916 fi
12917
12918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12920 # Check whether --enable-sash was given.
12921 if test "${enable_sash+set}" = set; then
12922 enableval=$enable_sash;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_sash='wxUSE_SASH=yes'
12925 else
12926 wx_cv_use_sash='wxUSE_SASH=no'
12927 fi
12928 cache=yes
12929
12930 else
12931
12932 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12933 if test "x$LINE" != x ; then
12934 eval "DEFAULT_$LINE"
12935 cache=yes
12936 else
12937 cache=no
12938 fi
12939
12940 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12941
12942 fi
12943
12944
12945 eval "$wx_cv_use_sash"
12946 if test "x$cache" = xyes; then
12947 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12948 fi
12949
12950 if test x"$enablestring" = xdisable; then
12951 if test $wxUSE_SASH = yes; then
12952 result=no
12953 else
12954 result=yes
12955 fi
12956 else
12957 result=$wxUSE_SASH
12958 fi
12959
12960 { echo "$as_me:$LINENO: result: $result" >&5
12961 echo "${ECHO_T}$result" >&6; }
12962
12963
12964 enablestring=
12965 defaultval=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x"$enablestring" = xdisable; then
12968 defaultval=yes
12969 else
12970 defaultval=no
12971 fi
12972 fi
12973
12974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12975 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12976 # Check whether --enable-scrollbar was given.
12977 if test "${enable_scrollbar+set}" = set; then
12978 enableval=$enable_scrollbar;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12981 else
12982 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12983 fi
12984 cache=yes
12985
12986 else
12987
12988 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12989 if test "x$LINE" != x ; then
12990 eval "DEFAULT_$LINE"
12991 cache=yes
12992 else
12993 cache=no
12994 fi
12995
12996 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12997
12998 fi
12999
13000
13001 eval "$wx_cv_use_scrollbar"
13002 if test "x$cache" = xyes; then
13003 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13004 fi
13005
13006 if test x"$enablestring" = xdisable; then
13007 if test $wxUSE_SCROLLBAR = yes; then
13008 result=no
13009 else
13010 result=yes
13011 fi
13012 else
13013 result=$wxUSE_SCROLLBAR
13014 fi
13015
13016 { echo "$as_me:$LINENO: result: $result" >&5
13017 echo "${ECHO_T}$result" >&6; }
13018
13019
13020 enablestring=
13021 defaultval=$wxUSE_ALL_FEATURES
13022 if test -z "$defaultval"; then
13023 if test x"$enablestring" = xdisable; then
13024 defaultval=yes
13025 else
13026 defaultval=no
13027 fi
13028 fi
13029
13030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13031 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13032 # Check whether --enable-searchctrl was given.
13033 if test "${enable_searchctrl+set}" = set; then
13034 enableval=$enable_searchctrl;
13035 if test "$enableval" = yes; then
13036 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13037 else
13038 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13039 fi
13040 cache=yes
13041
13042 else
13043
13044 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13045 if test "x$LINE" != x ; then
13046 eval "DEFAULT_$LINE"
13047 cache=yes
13048 else
13049 cache=no
13050 fi
13051
13052 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13053
13054 fi
13055
13056
13057 eval "$wx_cv_use_searchctrl"
13058 if test "x$cache" = xyes; then
13059 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13060 fi
13061
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_SEARCHCTRL = yes; then
13064 result=no
13065 else
13066 result=yes
13067 fi
13068 else
13069 result=$wxUSE_SEARCHCTRL
13070 fi
13071
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13074
13075
13076 enablestring=
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13080 defaultval=yes
13081 else
13082 defaultval=no
13083 fi
13084 fi
13085
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13088 # Check whether --enable-slider was given.
13089 if test "${enable_slider+set}" = set; then
13090 enableval=$enable_slider;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_slider='wxUSE_SLIDER=yes'
13093 else
13094 wx_cv_use_slider='wxUSE_SLIDER=no'
13095 fi
13096 cache=yes
13097
13098 else
13099
13100 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13101 if test "x$LINE" != x ; then
13102 eval "DEFAULT_$LINE"
13103 cache=yes
13104 else
13105 cache=no
13106 fi
13107
13108 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13109
13110 fi
13111
13112
13113 eval "$wx_cv_use_slider"
13114 if test "x$cache" = xyes; then
13115 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13116 fi
13117
13118 if test x"$enablestring" = xdisable; then
13119 if test $wxUSE_SLIDER = yes; then
13120 result=no
13121 else
13122 result=yes
13123 fi
13124 else
13125 result=$wxUSE_SLIDER
13126 fi
13127
13128 { echo "$as_me:$LINENO: result: $result" >&5
13129 echo "${ECHO_T}$result" >&6; }
13130
13131
13132 enablestring=
13133 defaultval=$wxUSE_ALL_FEATURES
13134 if test -z "$defaultval"; then
13135 if test x"$enablestring" = xdisable; then
13136 defaultval=yes
13137 else
13138 defaultval=no
13139 fi
13140 fi
13141
13142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13143 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13144 # Check whether --enable-spinbtn was given.
13145 if test "${enable_spinbtn+set}" = set; then
13146 enableval=$enable_spinbtn;
13147 if test "$enableval" = yes; then
13148 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13149 else
13150 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13151 fi
13152 cache=yes
13153
13154 else
13155
13156 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13157 if test "x$LINE" != x ; then
13158 eval "DEFAULT_$LINE"
13159 cache=yes
13160 else
13161 cache=no
13162 fi
13163
13164 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_spinbtn"
13170 if test "x$cache" = xyes; then
13171 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13172 fi
13173
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_SPINBTN = yes; then
13176 result=no
13177 else
13178 result=yes
13179 fi
13180 else
13181 result=$wxUSE_SPINBTN
13182 fi
13183
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13186
13187
13188 enablestring=
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13192 defaultval=yes
13193 else
13194 defaultval=no
13195 fi
13196 fi
13197
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13200 # Check whether --enable-spinctrl was given.
13201 if test "${enable_spinctrl+set}" = set; then
13202 enableval=$enable_spinctrl;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13205 else
13206 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13207 fi
13208 cache=yes
13209
13210 else
13211
13212 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13213 if test "x$LINE" != x ; then
13214 eval "DEFAULT_$LINE"
13215 cache=yes
13216 else
13217 cache=no
13218 fi
13219
13220 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13221
13222 fi
13223
13224
13225 eval "$wx_cv_use_spinctrl"
13226 if test "x$cache" = xyes; then
13227 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13228 fi
13229
13230 if test x"$enablestring" = xdisable; then
13231 if test $wxUSE_SPINCTRL = yes; then
13232 result=no
13233 else
13234 result=yes
13235 fi
13236 else
13237 result=$wxUSE_SPINCTRL
13238 fi
13239
13240 { echo "$as_me:$LINENO: result: $result" >&5
13241 echo "${ECHO_T}$result" >&6; }
13242
13243
13244 enablestring=
13245 defaultval=$wxUSE_ALL_FEATURES
13246 if test -z "$defaultval"; then
13247 if test x"$enablestring" = xdisable; then
13248 defaultval=yes
13249 else
13250 defaultval=no
13251 fi
13252 fi
13253
13254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13255 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13256 # Check whether --enable-splitter was given.
13257 if test "${enable_splitter+set}" = set; then
13258 enableval=$enable_splitter;
13259 if test "$enableval" = yes; then
13260 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13261 else
13262 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13263 fi
13264 cache=yes
13265
13266 else
13267
13268 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13269 if test "x$LINE" != x ; then
13270 eval "DEFAULT_$LINE"
13271 cache=yes
13272 else
13273 cache=no
13274 fi
13275
13276 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13277
13278 fi
13279
13280
13281 eval "$wx_cv_use_splitter"
13282 if test "x$cache" = xyes; then
13283 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13284 fi
13285
13286 if test x"$enablestring" = xdisable; then
13287 if test $wxUSE_SPLITTER = yes; then
13288 result=no
13289 else
13290 result=yes
13291 fi
13292 else
13293 result=$wxUSE_SPLITTER
13294 fi
13295
13296 { echo "$as_me:$LINENO: result: $result" >&5
13297 echo "${ECHO_T}$result" >&6; }
13298
13299
13300 enablestring=
13301 defaultval=$wxUSE_ALL_FEATURES
13302 if test -z "$defaultval"; then
13303 if test x"$enablestring" = xdisable; then
13304 defaultval=yes
13305 else
13306 defaultval=no
13307 fi
13308 fi
13309
13310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13311 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13312 # Check whether --enable-statbmp was given.
13313 if test "${enable_statbmp+set}" = set; then
13314 enableval=$enable_statbmp;
13315 if test "$enableval" = yes; then
13316 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13317 else
13318 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13319 fi
13320 cache=yes
13321
13322 else
13323
13324 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13325 if test "x$LINE" != x ; then
13326 eval "DEFAULT_$LINE"
13327 cache=yes
13328 else
13329 cache=no
13330 fi
13331
13332 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13333
13334 fi
13335
13336
13337 eval "$wx_cv_use_statbmp"
13338 if test "x$cache" = xyes; then
13339 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13340 fi
13341
13342 if test x"$enablestring" = xdisable; then
13343 if test $wxUSE_STATBMP = yes; then
13344 result=no
13345 else
13346 result=yes
13347 fi
13348 else
13349 result=$wxUSE_STATBMP
13350 fi
13351
13352 { echo "$as_me:$LINENO: result: $result" >&5
13353 echo "${ECHO_T}$result" >&6; }
13354
13355
13356 enablestring=
13357 defaultval=$wxUSE_ALL_FEATURES
13358 if test -z "$defaultval"; then
13359 if test x"$enablestring" = xdisable; then
13360 defaultval=yes
13361 else
13362 defaultval=no
13363 fi
13364 fi
13365
13366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13367 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13368 # Check whether --enable-statbox was given.
13369 if test "${enable_statbox+set}" = set; then
13370 enableval=$enable_statbox;
13371 if test "$enableval" = yes; then
13372 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13373 else
13374 wx_cv_use_statbox='wxUSE_STATBOX=no'
13375 fi
13376 cache=yes
13377
13378 else
13379
13380 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13381 if test "x$LINE" != x ; then
13382 eval "DEFAULT_$LINE"
13383 cache=yes
13384 else
13385 cache=no
13386 fi
13387
13388 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13389
13390 fi
13391
13392
13393 eval "$wx_cv_use_statbox"
13394 if test "x$cache" = xyes; then
13395 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13396 fi
13397
13398 if test x"$enablestring" = xdisable; then
13399 if test $wxUSE_STATBOX = yes; then
13400 result=no
13401 else
13402 result=yes
13403 fi
13404 else
13405 result=$wxUSE_STATBOX
13406 fi
13407
13408 { echo "$as_me:$LINENO: result: $result" >&5
13409 echo "${ECHO_T}$result" >&6; }
13410
13411
13412 enablestring=
13413 defaultval=$wxUSE_ALL_FEATURES
13414 if test -z "$defaultval"; then
13415 if test x"$enablestring" = xdisable; then
13416 defaultval=yes
13417 else
13418 defaultval=no
13419 fi
13420 fi
13421
13422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13423 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13424 # Check whether --enable-statline was given.
13425 if test "${enable_statline+set}" = set; then
13426 enableval=$enable_statline;
13427 if test "$enableval" = yes; then
13428 wx_cv_use_statline='wxUSE_STATLINE=yes'
13429 else
13430 wx_cv_use_statline='wxUSE_STATLINE=no'
13431 fi
13432 cache=yes
13433
13434 else
13435
13436 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13437 if test "x$LINE" != x ; then
13438 eval "DEFAULT_$LINE"
13439 cache=yes
13440 else
13441 cache=no
13442 fi
13443
13444 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13445
13446 fi
13447
13448
13449 eval "$wx_cv_use_statline"
13450 if test "x$cache" = xyes; then
13451 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13452 fi
13453
13454 if test x"$enablestring" = xdisable; then
13455 if test $wxUSE_STATLINE = yes; then
13456 result=no
13457 else
13458 result=yes
13459 fi
13460 else
13461 result=$wxUSE_STATLINE
13462 fi
13463
13464 { echo "$as_me:$LINENO: result: $result" >&5
13465 echo "${ECHO_T}$result" >&6; }
13466
13467
13468 enablestring=
13469 defaultval=$wxUSE_ALL_FEATURES
13470 if test -z "$defaultval"; then
13471 if test x"$enablestring" = xdisable; then
13472 defaultval=yes
13473 else
13474 defaultval=no
13475 fi
13476 fi
13477
13478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13479 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13480 # Check whether --enable-stattext was given.
13481 if test "${enable_stattext+set}" = set; then
13482 enableval=$enable_stattext;
13483 if test "$enableval" = yes; then
13484 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13485 else
13486 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13487 fi
13488 cache=yes
13489
13490 else
13491
13492 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13493 if test "x$LINE" != x ; then
13494 eval "DEFAULT_$LINE"
13495 cache=yes
13496 else
13497 cache=no
13498 fi
13499
13500 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13501
13502 fi
13503
13504
13505 eval "$wx_cv_use_stattext"
13506 if test "x$cache" = xyes; then
13507 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13508 fi
13509
13510 if test x"$enablestring" = xdisable; then
13511 if test $wxUSE_STATTEXT = yes; then
13512 result=no
13513 else
13514 result=yes
13515 fi
13516 else
13517 result=$wxUSE_STATTEXT
13518 fi
13519
13520 { echo "$as_me:$LINENO: result: $result" >&5
13521 echo "${ECHO_T}$result" >&6; }
13522
13523
13524 enablestring=
13525 defaultval=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x"$enablestring" = xdisable; then
13528 defaultval=yes
13529 else
13530 defaultval=no
13531 fi
13532 fi
13533
13534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13535 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13536 # Check whether --enable-statusbar was given.
13537 if test "${enable_statusbar+set}" = set; then
13538 enableval=$enable_statusbar;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13541 else
13542 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13543 fi
13544 cache=yes
13545
13546 else
13547
13548 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13549 if test "x$LINE" != x ; then
13550 eval "DEFAULT_$LINE"
13551 cache=yes
13552 else
13553 cache=no
13554 fi
13555
13556 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_statusbar"
13562 if test "x$cache" = xyes; then
13563 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13564 fi
13565
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_STATUSBAR = yes; then
13568 result=no
13569 else
13570 result=yes
13571 fi
13572 else
13573 result=$wxUSE_STATUSBAR
13574 fi
13575
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13578
13579
13580 enablestring=
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13584 defaultval=yes
13585 else
13586 defaultval=no
13587 fi
13588 fi
13589
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13592 # Check whether --enable-tabdialog was given.
13593 if test "${enable_tabdialog+set}" = set; then
13594 enableval=$enable_tabdialog;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13597 else
13598 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13599 fi
13600 cache=yes
13601
13602 else
13603
13604 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13605 if test "x$LINE" != x ; then
13606 eval "DEFAULT_$LINE"
13607 cache=yes
13608 else
13609 cache=no
13610 fi
13611
13612 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13613
13614 fi
13615
13616
13617 eval "$wx_cv_use_tabdialog"
13618 if test "x$cache" = xyes; then
13619 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13620 fi
13621
13622 if test x"$enablestring" = xdisable; then
13623 if test $wxUSE_TAB_DIALOG = yes; then
13624 result=no
13625 else
13626 result=yes
13627 fi
13628 else
13629 result=$wxUSE_TAB_DIALOG
13630 fi
13631
13632 { echo "$as_me:$LINENO: result: $result" >&5
13633 echo "${ECHO_T}$result" >&6; }
13634
13635
13636 enablestring=
13637 defaultval=$wxUSE_ALL_FEATURES
13638 if test -z "$defaultval"; then
13639 if test x"$enablestring" = xdisable; then
13640 defaultval=yes
13641 else
13642 defaultval=no
13643 fi
13644 fi
13645
13646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13647 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13648 # Check whether --enable-taskbaricon was given.
13649 if test "${enable_taskbaricon+set}" = set; then
13650 enableval=$enable_taskbaricon;
13651 if test "$enableval" = yes; then
13652 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13653 else
13654 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13655 fi
13656 cache=yes
13657
13658 else
13659
13660 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13661 if test "x$LINE" != x ; then
13662 eval "DEFAULT_$LINE"
13663 cache=yes
13664 else
13665 cache=no
13666 fi
13667
13668 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13669
13670 fi
13671
13672
13673 eval "$wx_cv_use_taskbaricon"
13674 if test "x$cache" = xyes; then
13675 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13676 fi
13677
13678 if test x"$enablestring" = xdisable; then
13679 if test $wxUSE_TASKBARICON = yes; then
13680 result=no
13681 else
13682 result=yes
13683 fi
13684 else
13685 result=$wxUSE_TASKBARICON
13686 fi
13687
13688 { echo "$as_me:$LINENO: result: $result" >&5
13689 echo "${ECHO_T}$result" >&6; }
13690
13691
13692 enablestring=
13693 defaultval=$wxUSE_ALL_FEATURES
13694 if test -z "$defaultval"; then
13695 if test x"$enablestring" = xdisable; then
13696 defaultval=yes
13697 else
13698 defaultval=no
13699 fi
13700 fi
13701
13702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13703 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13704 # Check whether --enable-textctrl was given.
13705 if test "${enable_textctrl+set}" = set; then
13706 enableval=$enable_textctrl;
13707 if test "$enableval" = yes; then
13708 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13709 else
13710 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13711 fi
13712 cache=yes
13713
13714 else
13715
13716 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13717 if test "x$LINE" != x ; then
13718 eval "DEFAULT_$LINE"
13719 cache=yes
13720 else
13721 cache=no
13722 fi
13723
13724 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13725
13726 fi
13727
13728
13729 eval "$wx_cv_use_textctrl"
13730 if test "x$cache" = xyes; then
13731 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13732 fi
13733
13734 if test x"$enablestring" = xdisable; then
13735 if test $wxUSE_TEXTCTRL = yes; then
13736 result=no
13737 else
13738 result=yes
13739 fi
13740 else
13741 result=$wxUSE_TEXTCTRL
13742 fi
13743
13744 { echo "$as_me:$LINENO: result: $result" >&5
13745 echo "${ECHO_T}$result" >&6; }
13746
13747
13748 enablestring=
13749 defaultval=$wxUSE_ALL_FEATURES
13750 if test -z "$defaultval"; then
13751 if test x"$enablestring" = xdisable; then
13752 defaultval=yes
13753 else
13754 defaultval=no
13755 fi
13756 fi
13757
13758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13759 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13760 # Check whether --enable-togglebtn was given.
13761 if test "${enable_togglebtn+set}" = set; then
13762 enableval=$enable_togglebtn;
13763 if test "$enableval" = yes; then
13764 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13765 else
13766 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13767 fi
13768 cache=yes
13769
13770 else
13771
13772 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13773 if test "x$LINE" != x ; then
13774 eval "DEFAULT_$LINE"
13775 cache=yes
13776 else
13777 cache=no
13778 fi
13779
13780 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13781
13782 fi
13783
13784
13785 eval "$wx_cv_use_togglebtn"
13786 if test "x$cache" = xyes; then
13787 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13788 fi
13789
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_TOGGLEBTN = yes; then
13792 result=no
13793 else
13794 result=yes
13795 fi
13796 else
13797 result=$wxUSE_TOGGLEBTN
13798 fi
13799
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13802
13803
13804 enablestring=
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13808 defaultval=yes
13809 else
13810 defaultval=no
13811 fi
13812 fi
13813
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13816 # Check whether --enable-toolbar was given.
13817 if test "${enable_toolbar+set}" = set; then
13818 enableval=$enable_toolbar;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13821 else
13822 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13823 fi
13824 cache=yes
13825
13826 else
13827
13828 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13829 if test "x$LINE" != x ; then
13830 eval "DEFAULT_$LINE"
13831 cache=yes
13832 else
13833 cache=no
13834 fi
13835
13836 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13837
13838 fi
13839
13840
13841 eval "$wx_cv_use_toolbar"
13842 if test "x$cache" = xyes; then
13843 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13844 fi
13845
13846 if test x"$enablestring" = xdisable; then
13847 if test $wxUSE_TOOLBAR = yes; then
13848 result=no
13849 else
13850 result=yes
13851 fi
13852 else
13853 result=$wxUSE_TOOLBAR
13854 fi
13855
13856 { echo "$as_me:$LINENO: result: $result" >&5
13857 echo "${ECHO_T}$result" >&6; }
13858
13859
13860 enablestring=
13861 defaultval=$wxUSE_ALL_FEATURES
13862 if test -z "$defaultval"; then
13863 if test x"$enablestring" = xdisable; then
13864 defaultval=yes
13865 else
13866 defaultval=no
13867 fi
13868 fi
13869
13870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13871 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13872 # Check whether --enable-tbarnative was given.
13873 if test "${enable_tbarnative+set}" = set; then
13874 enableval=$enable_tbarnative;
13875 if test "$enableval" = yes; then
13876 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13877 else
13878 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13879 fi
13880 cache=yes
13881
13882 else
13883
13884 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13885 if test "x$LINE" != x ; then
13886 eval "DEFAULT_$LINE"
13887 cache=yes
13888 else
13889 cache=no
13890 fi
13891
13892 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13893
13894 fi
13895
13896
13897 eval "$wx_cv_use_tbarnative"
13898 if test "x$cache" = xyes; then
13899 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13900 fi
13901
13902 if test x"$enablestring" = xdisable; then
13903 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13904 result=no
13905 else
13906 result=yes
13907 fi
13908 else
13909 result=$wxUSE_TOOLBAR_NATIVE
13910 fi
13911
13912 { echo "$as_me:$LINENO: result: $result" >&5
13913 echo "${ECHO_T}$result" >&6; }
13914
13915
13916 enablestring=
13917 defaultval=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x"$enablestring" = xdisable; then
13920 defaultval=yes
13921 else
13922 defaultval=no
13923 fi
13924 fi
13925
13926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13927 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13928 # Check whether --enable-treebook was given.
13929 if test "${enable_treebook+set}" = set; then
13930 enableval=$enable_treebook;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13933 else
13934 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13935 fi
13936 cache=yes
13937
13938 else
13939
13940 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13941 if test "x$LINE" != x ; then
13942 eval "DEFAULT_$LINE"
13943 cache=yes
13944 else
13945 cache=no
13946 fi
13947
13948 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13949
13950 fi
13951
13952
13953 eval "$wx_cv_use_treebook"
13954 if test "x$cache" = xyes; then
13955 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13956 fi
13957
13958 if test x"$enablestring" = xdisable; then
13959 if test $wxUSE_TREEBOOK = yes; then
13960 result=no
13961 else
13962 result=yes
13963 fi
13964 else
13965 result=$wxUSE_TREEBOOK
13966 fi
13967
13968 { echo "$as_me:$LINENO: result: $result" >&5
13969 echo "${ECHO_T}$result" >&6; }
13970
13971
13972 enablestring=
13973 defaultval=$wxUSE_ALL_FEATURES
13974 if test -z "$defaultval"; then
13975 if test x"$enablestring" = xdisable; then
13976 defaultval=yes
13977 else
13978 defaultval=no
13979 fi
13980 fi
13981
13982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13983 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13984 # Check whether --enable-toolbook was given.
13985 if test "${enable_toolbook+set}" = set; then
13986 enableval=$enable_toolbook;
13987 if test "$enableval" = yes; then
13988 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13989 else
13990 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13991 fi
13992 cache=yes
13993
13994 else
13995
13996 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13997 if test "x$LINE" != x ; then
13998 eval "DEFAULT_$LINE"
13999 cache=yes
14000 else
14001 cache=no
14002 fi
14003
14004 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14005
14006 fi
14007
14008
14009 eval "$wx_cv_use_toolbook"
14010 if test "x$cache" = xyes; then
14011 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14012 fi
14013
14014 if test x"$enablestring" = xdisable; then
14015 if test $wxUSE_TOOLBOOK = yes; then
14016 result=no
14017 else
14018 result=yes
14019 fi
14020 else
14021 result=$wxUSE_TOOLBOOK
14022 fi
14023
14024 { echo "$as_me:$LINENO: result: $result" >&5
14025 echo "${ECHO_T}$result" >&6; }
14026
14027
14028 enablestring=
14029 defaultval=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x"$enablestring" = xdisable; then
14032 defaultval=yes
14033 else
14034 defaultval=no
14035 fi
14036 fi
14037
14038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14039 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14040 # Check whether --enable-treectrl was given.
14041 if test "${enable_treectrl+set}" = set; then
14042 enableval=$enable_treectrl;
14043 if test "$enableval" = yes; then
14044 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14045 else
14046 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14047 fi
14048 cache=yes
14049
14050 else
14051
14052 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14053 if test "x$LINE" != x ; then
14054 eval "DEFAULT_$LINE"
14055 cache=yes
14056 else
14057 cache=no
14058 fi
14059
14060 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14061
14062 fi
14063
14064
14065 eval "$wx_cv_use_treectrl"
14066 if test "x$cache" = xyes; then
14067 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14068 fi
14069
14070 if test x"$enablestring" = xdisable; then
14071 if test $wxUSE_TREECTRL = yes; then
14072 result=no
14073 else
14074 result=yes
14075 fi
14076 else
14077 result=$wxUSE_TREECTRL
14078 fi
14079
14080 { echo "$as_me:$LINENO: result: $result" >&5
14081 echo "${ECHO_T}$result" >&6; }
14082
14083
14084 enablestring=
14085 defaultval=$wxUSE_ALL_FEATURES
14086 if test -z "$defaultval"; then
14087 if test x"$enablestring" = xdisable; then
14088 defaultval=yes
14089 else
14090 defaultval=no
14091 fi
14092 fi
14093
14094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14096 # Check whether --enable-tipwindow was given.
14097 if test "${enable_tipwindow+set}" = set; then
14098 enableval=$enable_tipwindow;
14099 if test "$enableval" = yes; then
14100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14101 else
14102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14103 fi
14104 cache=yes
14105
14106 else
14107
14108 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14109 if test "x$LINE" != x ; then
14110 eval "DEFAULT_$LINE"
14111 cache=yes
14112 else
14113 cache=no
14114 fi
14115
14116 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14117
14118 fi
14119
14120
14121 eval "$wx_cv_use_tipwindow"
14122 if test "x$cache" = xyes; then
14123 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14124 fi
14125
14126 if test x"$enablestring" = xdisable; then
14127 if test $wxUSE_TIPWINDOW = yes; then
14128 result=no
14129 else
14130 result=yes
14131 fi
14132 else
14133 result=$wxUSE_TIPWINDOW
14134 fi
14135
14136 { echo "$as_me:$LINENO: result: $result" >&5
14137 echo "${ECHO_T}$result" >&6; }
14138
14139
14140 enablestring=
14141 defaultval=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x"$enablestring" = xdisable; then
14144 defaultval=yes
14145 else
14146 defaultval=no
14147 fi
14148 fi
14149
14150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14151 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14152 # Check whether --enable-popupwin was given.
14153 if test "${enable_popupwin+set}" = set; then
14154 enableval=$enable_popupwin;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14157 else
14158 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14159 fi
14160 cache=yes
14161
14162 else
14163
14164 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14165 if test "x$LINE" != x ; then
14166 eval "DEFAULT_$LINE"
14167 cache=yes
14168 else
14169 cache=no
14170 fi
14171
14172 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14173
14174 fi
14175
14176
14177 eval "$wx_cv_use_popupwin"
14178 if test "x$cache" = xyes; then
14179 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14180 fi
14181
14182 if test x"$enablestring" = xdisable; then
14183 if test $wxUSE_POPUPWIN = yes; then
14184 result=no
14185 else
14186 result=yes
14187 fi
14188 else
14189 result=$wxUSE_POPUPWIN
14190 fi
14191
14192 { echo "$as_me:$LINENO: result: $result" >&5
14193 echo "${ECHO_T}$result" >&6; }
14194
14195
14196
14197
14198 enablestring=
14199 defaultval=$wxUSE_ALL_FEATURES
14200 if test -z "$defaultval"; then
14201 if test x"$enablestring" = xdisable; then
14202 defaultval=yes
14203 else
14204 defaultval=no
14205 fi
14206 fi
14207
14208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14209 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14210 # Check whether --enable-commondlg was given.
14211 if test "${enable_commondlg+set}" = set; then
14212 enableval=$enable_commondlg;
14213 if test "$enableval" = yes; then
14214 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14215 else
14216 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14217 fi
14218 cache=yes
14219
14220 else
14221
14222 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14223 if test "x$LINE" != x ; then
14224 eval "DEFAULT_$LINE"
14225 cache=yes
14226 else
14227 cache=no
14228 fi
14229
14230 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14231
14232 fi
14233
14234
14235 eval "$wx_cv_use_commondlg"
14236 if test "x$cache" = xyes; then
14237 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14238 fi
14239
14240 if test x"$enablestring" = xdisable; then
14241 if test $wxUSE_COMMONDLGS = yes; then
14242 result=no
14243 else
14244 result=yes
14245 fi
14246 else
14247 result=$wxUSE_COMMONDLGS
14248 fi
14249
14250 { echo "$as_me:$LINENO: result: $result" >&5
14251 echo "${ECHO_T}$result" >&6; }
14252
14253
14254 enablestring=
14255 defaultval=$wxUSE_ALL_FEATURES
14256 if test -z "$defaultval"; then
14257 if test x"$enablestring" = xdisable; then
14258 defaultval=yes
14259 else
14260 defaultval=no
14261 fi
14262 fi
14263
14264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14265 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14266 # Check whether --enable-aboutdlg was given.
14267 if test "${enable_aboutdlg+set}" = set; then
14268 enableval=$enable_aboutdlg;
14269 if test "$enableval" = yes; then
14270 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14271 else
14272 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14273 fi
14274 cache=yes
14275
14276 else
14277
14278 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14279 if test "x$LINE" != x ; then
14280 eval "DEFAULT_$LINE"
14281 cache=yes
14282 else
14283 cache=no
14284 fi
14285
14286 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14287
14288 fi
14289
14290
14291 eval "$wx_cv_use_aboutdlg"
14292 if test "x$cache" = xyes; then
14293 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14294 fi
14295
14296 if test x"$enablestring" = xdisable; then
14297 if test $wxUSE_ABOUTDLG = yes; then
14298 result=no
14299 else
14300 result=yes
14301 fi
14302 else
14303 result=$wxUSE_ABOUTDLG
14304 fi
14305
14306 { echo "$as_me:$LINENO: result: $result" >&5
14307 echo "${ECHO_T}$result" >&6; }
14308
14309
14310 enablestring=
14311 defaultval=$wxUSE_ALL_FEATURES
14312 if test -z "$defaultval"; then
14313 if test x"$enablestring" = xdisable; then
14314 defaultval=yes
14315 else
14316 defaultval=no
14317 fi
14318 fi
14319
14320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14321 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14322 # Check whether --enable-choicedlg was given.
14323 if test "${enable_choicedlg+set}" = set; then
14324 enableval=$enable_choicedlg;
14325 if test "$enableval" = yes; then
14326 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14327 else
14328 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14329 fi
14330 cache=yes
14331
14332 else
14333
14334 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14335 if test "x$LINE" != x ; then
14336 eval "DEFAULT_$LINE"
14337 cache=yes
14338 else
14339 cache=no
14340 fi
14341
14342 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14343
14344 fi
14345
14346
14347 eval "$wx_cv_use_choicedlg"
14348 if test "x$cache" = xyes; then
14349 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14350 fi
14351
14352 if test x"$enablestring" = xdisable; then
14353 if test $wxUSE_CHOICEDLG = yes; then
14354 result=no
14355 else
14356 result=yes
14357 fi
14358 else
14359 result=$wxUSE_CHOICEDLG
14360 fi
14361
14362 { echo "$as_me:$LINENO: result: $result" >&5
14363 echo "${ECHO_T}$result" >&6; }
14364
14365
14366 enablestring=
14367 defaultval=$wxUSE_ALL_FEATURES
14368 if test -z "$defaultval"; then
14369 if test x"$enablestring" = xdisable; then
14370 defaultval=yes
14371 else
14372 defaultval=no
14373 fi
14374 fi
14375
14376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14377 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14378 # Check whether --enable-coldlg was given.
14379 if test "${enable_coldlg+set}" = set; then
14380 enableval=$enable_coldlg;
14381 if test "$enableval" = yes; then
14382 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14383 else
14384 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14385 fi
14386 cache=yes
14387
14388 else
14389
14390 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14391 if test "x$LINE" != x ; then
14392 eval "DEFAULT_$LINE"
14393 cache=yes
14394 else
14395 cache=no
14396 fi
14397
14398 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14399
14400 fi
14401
14402
14403 eval "$wx_cv_use_coldlg"
14404 if test "x$cache" = xyes; then
14405 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14406 fi
14407
14408 if test x"$enablestring" = xdisable; then
14409 if test $wxUSE_COLOURDLG = yes; then
14410 result=no
14411 else
14412 result=yes
14413 fi
14414 else
14415 result=$wxUSE_COLOURDLG
14416 fi
14417
14418 { echo "$as_me:$LINENO: result: $result" >&5
14419 echo "${ECHO_T}$result" >&6; }
14420
14421
14422 enablestring=
14423 defaultval=$wxUSE_ALL_FEATURES
14424 if test -z "$defaultval"; then
14425 if test x"$enablestring" = xdisable; then
14426 defaultval=yes
14427 else
14428 defaultval=no
14429 fi
14430 fi
14431
14432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14433 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14434 # Check whether --enable-filedlg was given.
14435 if test "${enable_filedlg+set}" = set; then
14436 enableval=$enable_filedlg;
14437 if test "$enableval" = yes; then
14438 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14439 else
14440 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14441 fi
14442 cache=yes
14443
14444 else
14445
14446 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14447 if test "x$LINE" != x ; then
14448 eval "DEFAULT_$LINE"
14449 cache=yes
14450 else
14451 cache=no
14452 fi
14453
14454 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14455
14456 fi
14457
14458
14459 eval "$wx_cv_use_filedlg"
14460 if test "x$cache" = xyes; then
14461 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14462 fi
14463
14464 if test x"$enablestring" = xdisable; then
14465 if test $wxUSE_FILEDLG = yes; then
14466 result=no
14467 else
14468 result=yes
14469 fi
14470 else
14471 result=$wxUSE_FILEDLG
14472 fi
14473
14474 { echo "$as_me:$LINENO: result: $result" >&5
14475 echo "${ECHO_T}$result" >&6; }
14476
14477
14478 enablestring=
14479 defaultval=$wxUSE_ALL_FEATURES
14480 if test -z "$defaultval"; then
14481 if test x"$enablestring" = xdisable; then
14482 defaultval=yes
14483 else
14484 defaultval=no
14485 fi
14486 fi
14487
14488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14489 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14490 # Check whether --enable-finddlg was given.
14491 if test "${enable_finddlg+set}" = set; then
14492 enableval=$enable_finddlg;
14493 if test "$enableval" = yes; then
14494 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14495 else
14496 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14497 fi
14498 cache=yes
14499
14500 else
14501
14502 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14503 if test "x$LINE" != x ; then
14504 eval "DEFAULT_$LINE"
14505 cache=yes
14506 else
14507 cache=no
14508 fi
14509
14510 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14511
14512 fi
14513
14514
14515 eval "$wx_cv_use_finddlg"
14516 if test "x$cache" = xyes; then
14517 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14518 fi
14519
14520 if test x"$enablestring" = xdisable; then
14521 if test $wxUSE_FINDREPLDLG = yes; then
14522 result=no
14523 else
14524 result=yes
14525 fi
14526 else
14527 result=$wxUSE_FINDREPLDLG
14528 fi
14529
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14532
14533
14534 enablestring=
14535 defaultval=$wxUSE_ALL_FEATURES
14536 if test -z "$defaultval"; then
14537 if test x"$enablestring" = xdisable; then
14538 defaultval=yes
14539 else
14540 defaultval=no
14541 fi
14542 fi
14543
14544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14545 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14546 # Check whether --enable-fontdlg was given.
14547 if test "${enable_fontdlg+set}" = set; then
14548 enableval=$enable_fontdlg;
14549 if test "$enableval" = yes; then
14550 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14551 else
14552 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14553 fi
14554 cache=yes
14555
14556 else
14557
14558 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14559 if test "x$LINE" != x ; then
14560 eval "DEFAULT_$LINE"
14561 cache=yes
14562 else
14563 cache=no
14564 fi
14565
14566 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14567
14568 fi
14569
14570
14571 eval "$wx_cv_use_fontdlg"
14572 if test "x$cache" = xyes; then
14573 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14574 fi
14575
14576 if test x"$enablestring" = xdisable; then
14577 if test $wxUSE_FONTDLG = yes; then
14578 result=no
14579 else
14580 result=yes
14581 fi
14582 else
14583 result=$wxUSE_FONTDLG
14584 fi
14585
14586 { echo "$as_me:$LINENO: result: $result" >&5
14587 echo "${ECHO_T}$result" >&6; }
14588
14589
14590 enablestring=
14591 defaultval=$wxUSE_ALL_FEATURES
14592 if test -z "$defaultval"; then
14593 if test x"$enablestring" = xdisable; then
14594 defaultval=yes
14595 else
14596 defaultval=no
14597 fi
14598 fi
14599
14600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14601 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14602 # Check whether --enable-dirdlg was given.
14603 if test "${enable_dirdlg+set}" = set; then
14604 enableval=$enable_dirdlg;
14605 if test "$enableval" = yes; then
14606 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14607 else
14608 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14609 fi
14610 cache=yes
14611
14612 else
14613
14614 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14615 if test "x$LINE" != x ; then
14616 eval "DEFAULT_$LINE"
14617 cache=yes
14618 else
14619 cache=no
14620 fi
14621
14622 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14623
14624 fi
14625
14626
14627 eval "$wx_cv_use_dirdlg"
14628 if test "x$cache" = xyes; then
14629 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14630 fi
14631
14632 if test x"$enablestring" = xdisable; then
14633 if test $wxUSE_DIRDLG = yes; then
14634 result=no
14635 else
14636 result=yes
14637 fi
14638 else
14639 result=$wxUSE_DIRDLG
14640 fi
14641
14642 { echo "$as_me:$LINENO: result: $result" >&5
14643 echo "${ECHO_T}$result" >&6; }
14644
14645
14646 enablestring=
14647 defaultval=$wxUSE_ALL_FEATURES
14648 if test -z "$defaultval"; then
14649 if test x"$enablestring" = xdisable; then
14650 defaultval=yes
14651 else
14652 defaultval=no
14653 fi
14654 fi
14655
14656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14657 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14658 # Check whether --enable-msgdlg was given.
14659 if test "${enable_msgdlg+set}" = set; then
14660 enableval=$enable_msgdlg;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14663 else
14664 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14665 fi
14666 cache=yes
14667
14668 else
14669
14670 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14671 if test "x$LINE" != x ; then
14672 eval "DEFAULT_$LINE"
14673 cache=yes
14674 else
14675 cache=no
14676 fi
14677
14678 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14679
14680 fi
14681
14682
14683 eval "$wx_cv_use_msgdlg"
14684 if test "x$cache" = xyes; then
14685 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14686 fi
14687
14688 if test x"$enablestring" = xdisable; then
14689 if test $wxUSE_MSGDLG = yes; then
14690 result=no
14691 else
14692 result=yes
14693 fi
14694 else
14695 result=$wxUSE_MSGDLG
14696 fi
14697
14698 { echo "$as_me:$LINENO: result: $result" >&5
14699 echo "${ECHO_T}$result" >&6; }
14700
14701
14702 enablestring=
14703 defaultval=$wxUSE_ALL_FEATURES
14704 if test -z "$defaultval"; then
14705 if test x"$enablestring" = xdisable; then
14706 defaultval=yes
14707 else
14708 defaultval=no
14709 fi
14710 fi
14711
14712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14713 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14714 # Check whether --enable-numberdlg was given.
14715 if test "${enable_numberdlg+set}" = set; then
14716 enableval=$enable_numberdlg;
14717 if test "$enableval" = yes; then
14718 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14719 else
14720 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14721 fi
14722 cache=yes
14723
14724 else
14725
14726 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14727 if test "x$LINE" != x ; then
14728 eval "DEFAULT_$LINE"
14729 cache=yes
14730 else
14731 cache=no
14732 fi
14733
14734 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14735
14736 fi
14737
14738
14739 eval "$wx_cv_use_numberdlg"
14740 if test "x$cache" = xyes; then
14741 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14742 fi
14743
14744 if test x"$enablestring" = xdisable; then
14745 if test $wxUSE_NUMBERDLG = yes; then
14746 result=no
14747 else
14748 result=yes
14749 fi
14750 else
14751 result=$wxUSE_NUMBERDLG
14752 fi
14753
14754 { echo "$as_me:$LINENO: result: $result" >&5
14755 echo "${ECHO_T}$result" >&6; }
14756
14757
14758 enablestring=
14759 defaultval=$wxUSE_ALL_FEATURES
14760 if test -z "$defaultval"; then
14761 if test x"$enablestring" = xdisable; then
14762 defaultval=yes
14763 else
14764 defaultval=no
14765 fi
14766 fi
14767
14768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14769 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14770 # Check whether --enable-splash was given.
14771 if test "${enable_splash+set}" = set; then
14772 enableval=$enable_splash;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_splash='wxUSE_SPLASH=yes'
14775 else
14776 wx_cv_use_splash='wxUSE_SPLASH=no'
14777 fi
14778 cache=yes
14779
14780 else
14781
14782 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14783 if test "x$LINE" != x ; then
14784 eval "DEFAULT_$LINE"
14785 cache=yes
14786 else
14787 cache=no
14788 fi
14789
14790 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14791
14792 fi
14793
14794
14795 eval "$wx_cv_use_splash"
14796 if test "x$cache" = xyes; then
14797 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14798 fi
14799
14800 if test x"$enablestring" = xdisable; then
14801 if test $wxUSE_SPLASH = yes; then
14802 result=no
14803 else
14804 result=yes
14805 fi
14806 else
14807 result=$wxUSE_SPLASH
14808 fi
14809
14810 { echo "$as_me:$LINENO: result: $result" >&5
14811 echo "${ECHO_T}$result" >&6; }
14812
14813
14814 enablestring=
14815 defaultval=$wxUSE_ALL_FEATURES
14816 if test -z "$defaultval"; then
14817 if test x"$enablestring" = xdisable; then
14818 defaultval=yes
14819 else
14820 defaultval=no
14821 fi
14822 fi
14823
14824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14825 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14826 # Check whether --enable-textdlg was given.
14827 if test "${enable_textdlg+set}" = set; then
14828 enableval=$enable_textdlg;
14829 if test "$enableval" = yes; then
14830 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14831 else
14832 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14833 fi
14834 cache=yes
14835
14836 else
14837
14838 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14839 if test "x$LINE" != x ; then
14840 eval "DEFAULT_$LINE"
14841 cache=yes
14842 else
14843 cache=no
14844 fi
14845
14846 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14847
14848 fi
14849
14850
14851 eval "$wx_cv_use_textdlg"
14852 if test "x$cache" = xyes; then
14853 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14854 fi
14855
14856 if test x"$enablestring" = xdisable; then
14857 if test $wxUSE_TEXTDLG = yes; then
14858 result=no
14859 else
14860 result=yes
14861 fi
14862 else
14863 result=$wxUSE_TEXTDLG
14864 fi
14865
14866 { echo "$as_me:$LINENO: result: $result" >&5
14867 echo "${ECHO_T}$result" >&6; }
14868
14869
14870 enablestring=
14871 defaultval=$wxUSE_ALL_FEATURES
14872 if test -z "$defaultval"; then
14873 if test x"$enablestring" = xdisable; then
14874 defaultval=yes
14875 else
14876 defaultval=no
14877 fi
14878 fi
14879
14880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14881 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14882 # Check whether --enable-tipdlg was given.
14883 if test "${enable_tipdlg+set}" = set; then
14884 enableval=$enable_tipdlg;
14885 if test "$enableval" = yes; then
14886 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14887 else
14888 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14889 fi
14890 cache=yes
14891
14892 else
14893
14894 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14895 if test "x$LINE" != x ; then
14896 eval "DEFAULT_$LINE"
14897 cache=yes
14898 else
14899 cache=no
14900 fi
14901
14902 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14903
14904 fi
14905
14906
14907 eval "$wx_cv_use_tipdlg"
14908 if test "x$cache" = xyes; then
14909 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14910 fi
14911
14912 if test x"$enablestring" = xdisable; then
14913 if test $wxUSE_STARTUP_TIPS = yes; then
14914 result=no
14915 else
14916 result=yes
14917 fi
14918 else
14919 result=$wxUSE_STARTUP_TIPS
14920 fi
14921
14922 { echo "$as_me:$LINENO: result: $result" >&5
14923 echo "${ECHO_T}$result" >&6; }
14924
14925
14926 enablestring=
14927 defaultval=$wxUSE_ALL_FEATURES
14928 if test -z "$defaultval"; then
14929 if test x"$enablestring" = xdisable; then
14930 defaultval=yes
14931 else
14932 defaultval=no
14933 fi
14934 fi
14935
14936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14937 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14938 # Check whether --enable-progressdlg was given.
14939 if test "${enable_progressdlg+set}" = set; then
14940 enableval=$enable_progressdlg;
14941 if test "$enableval" = yes; then
14942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14943 else
14944 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14945 fi
14946 cache=yes
14947
14948 else
14949
14950 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14951 if test "x$LINE" != x ; then
14952 eval "DEFAULT_$LINE"
14953 cache=yes
14954 else
14955 cache=no
14956 fi
14957
14958 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14959
14960 fi
14961
14962
14963 eval "$wx_cv_use_progressdlg"
14964 if test "x$cache" = xyes; then
14965 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14966 fi
14967
14968 if test x"$enablestring" = xdisable; then
14969 if test $wxUSE_PROGRESSDLG = yes; then
14970 result=no
14971 else
14972 result=yes
14973 fi
14974 else
14975 result=$wxUSE_PROGRESSDLG
14976 fi
14977
14978 { echo "$as_me:$LINENO: result: $result" >&5
14979 echo "${ECHO_T}$result" >&6; }
14980
14981
14982 enablestring=
14983 defaultval=$wxUSE_ALL_FEATURES
14984 if test -z "$defaultval"; then
14985 if test x"$enablestring" = xdisable; then
14986 defaultval=yes
14987 else
14988 defaultval=no
14989 fi
14990 fi
14991
14992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14993 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14994 # Check whether --enable-wizarddlg was given.
14995 if test "${enable_wizarddlg+set}" = set; then
14996 enableval=$enable_wizarddlg;
14997 if test "$enableval" = yes; then
14998 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14999 else
15000 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15001 fi
15002 cache=yes
15003
15004 else
15005
15006 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15007 if test "x$LINE" != x ; then
15008 eval "DEFAULT_$LINE"
15009 cache=yes
15010 else
15011 cache=no
15012 fi
15013
15014 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15015
15016 fi
15017
15018
15019 eval "$wx_cv_use_wizarddlg"
15020 if test "x$cache" = xyes; then
15021 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15022 fi
15023
15024 if test x"$enablestring" = xdisable; then
15025 if test $wxUSE_WIZARDDLG = yes; then
15026 result=no
15027 else
15028 result=yes
15029 fi
15030 else
15031 result=$wxUSE_WIZARDDLG
15032 fi
15033
15034 { echo "$as_me:$LINENO: result: $result" >&5
15035 echo "${ECHO_T}$result" >&6; }
15036
15037
15038
15039
15040 enablestring=
15041 defaultval=$wxUSE_ALL_FEATURES
15042 if test -z "$defaultval"; then
15043 if test x"$enablestring" = xdisable; then
15044 defaultval=yes
15045 else
15046 defaultval=no
15047 fi
15048 fi
15049
15050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15051 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15052 # Check whether --enable-menus was given.
15053 if test "${enable_menus+set}" = set; then
15054 enableval=$enable_menus;
15055 if test "$enableval" = yes; then
15056 wx_cv_use_menus='wxUSE_MENUS=yes'
15057 else
15058 wx_cv_use_menus='wxUSE_MENUS=no'
15059 fi
15060 cache=yes
15061
15062 else
15063
15064 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15065 if test "x$LINE" != x ; then
15066 eval "DEFAULT_$LINE"
15067 cache=yes
15068 else
15069 cache=no
15070 fi
15071
15072 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15073
15074 fi
15075
15076
15077 eval "$wx_cv_use_menus"
15078 if test "x$cache" = xyes; then
15079 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15080 fi
15081
15082 if test x"$enablestring" = xdisable; then
15083 if test $wxUSE_MENUS = yes; then
15084 result=no
15085 else
15086 result=yes
15087 fi
15088 else
15089 result=$wxUSE_MENUS
15090 fi
15091
15092 { echo "$as_me:$LINENO: result: $result" >&5
15093 echo "${ECHO_T}$result" >&6; }
15094
15095
15096 enablestring=
15097 defaultval=$wxUSE_ALL_FEATURES
15098 if test -z "$defaultval"; then
15099 if test x"$enablestring" = xdisable; then
15100 defaultval=yes
15101 else
15102 defaultval=no
15103 fi
15104 fi
15105
15106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15107 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15108 # Check whether --enable-miniframe was given.
15109 if test "${enable_miniframe+set}" = set; then
15110 enableval=$enable_miniframe;
15111 if test "$enableval" = yes; then
15112 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15113 else
15114 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15115 fi
15116 cache=yes
15117
15118 else
15119
15120 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15121 if test "x$LINE" != x ; then
15122 eval "DEFAULT_$LINE"
15123 cache=yes
15124 else
15125 cache=no
15126 fi
15127
15128 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15129
15130 fi
15131
15132
15133 eval "$wx_cv_use_miniframe"
15134 if test "x$cache" = xyes; then
15135 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15136 fi
15137
15138 if test x"$enablestring" = xdisable; then
15139 if test $wxUSE_MINIFRAME = yes; then
15140 result=no
15141 else
15142 result=yes
15143 fi
15144 else
15145 result=$wxUSE_MINIFRAME
15146 fi
15147
15148 { echo "$as_me:$LINENO: result: $result" >&5
15149 echo "${ECHO_T}$result" >&6; }
15150
15151
15152 enablestring=
15153 defaultval=$wxUSE_ALL_FEATURES
15154 if test -z "$defaultval"; then
15155 if test x"$enablestring" = xdisable; then
15156 defaultval=yes
15157 else
15158 defaultval=no
15159 fi
15160 fi
15161
15162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15163 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15164 # Check whether --enable-tooltips was given.
15165 if test "${enable_tooltips+set}" = set; then
15166 enableval=$enable_tooltips;
15167 if test "$enableval" = yes; then
15168 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15169 else
15170 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15171 fi
15172 cache=yes
15173
15174 else
15175
15176 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15177 if test "x$LINE" != x ; then
15178 eval "DEFAULT_$LINE"
15179 cache=yes
15180 else
15181 cache=no
15182 fi
15183
15184 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15185
15186 fi
15187
15188
15189 eval "$wx_cv_use_tooltips"
15190 if test "x$cache" = xyes; then
15191 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15192 fi
15193
15194 if test x"$enablestring" = xdisable; then
15195 if test $wxUSE_TOOLTIPS = yes; then
15196 result=no
15197 else
15198 result=yes
15199 fi
15200 else
15201 result=$wxUSE_TOOLTIPS
15202 fi
15203
15204 { echo "$as_me:$LINENO: result: $result" >&5
15205 echo "${ECHO_T}$result" >&6; }
15206
15207
15208 enablestring=
15209 defaultval=$wxUSE_ALL_FEATURES
15210 if test -z "$defaultval"; then
15211 if test x"$enablestring" = xdisable; then
15212 defaultval=yes
15213 else
15214 defaultval=no
15215 fi
15216 fi
15217
15218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15219 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15220 # Check whether --enable-splines was given.
15221 if test "${enable_splines+set}" = set; then
15222 enableval=$enable_splines;
15223 if test "$enableval" = yes; then
15224 wx_cv_use_splines='wxUSE_SPLINES=yes'
15225 else
15226 wx_cv_use_splines='wxUSE_SPLINES=no'
15227 fi
15228 cache=yes
15229
15230 else
15231
15232 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15233 if test "x$LINE" != x ; then
15234 eval "DEFAULT_$LINE"
15235 cache=yes
15236 else
15237 cache=no
15238 fi
15239
15240 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15241
15242 fi
15243
15244
15245 eval "$wx_cv_use_splines"
15246 if test "x$cache" = xyes; then
15247 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15248 fi
15249
15250 if test x"$enablestring" = xdisable; then
15251 if test $wxUSE_SPLINES = yes; then
15252 result=no
15253 else
15254 result=yes
15255 fi
15256 else
15257 result=$wxUSE_SPLINES
15258 fi
15259
15260 { echo "$as_me:$LINENO: result: $result" >&5
15261 echo "${ECHO_T}$result" >&6; }
15262
15263
15264 enablestring=
15265 defaultval=$wxUSE_ALL_FEATURES
15266 if test -z "$defaultval"; then
15267 if test x"$enablestring" = xdisable; then
15268 defaultval=yes
15269 else
15270 defaultval=no
15271 fi
15272 fi
15273
15274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15275 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15276 # Check whether --enable-mousewheel was given.
15277 if test "${enable_mousewheel+set}" = set; then
15278 enableval=$enable_mousewheel;
15279 if test "$enableval" = yes; then
15280 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15281 else
15282 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15283 fi
15284 cache=yes
15285
15286 else
15287
15288 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15289 if test "x$LINE" != x ; then
15290 eval "DEFAULT_$LINE"
15291 cache=yes
15292 else
15293 cache=no
15294 fi
15295
15296 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15297
15298 fi
15299
15300
15301 eval "$wx_cv_use_mousewheel"
15302 if test "x$cache" = xyes; then
15303 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15304 fi
15305
15306 if test x"$enablestring" = xdisable; then
15307 if test $wxUSE_MOUSEWHEEL = yes; then
15308 result=no
15309 else
15310 result=yes
15311 fi
15312 else
15313 result=$wxUSE_MOUSEWHEEL
15314 fi
15315
15316 { echo "$as_me:$LINENO: result: $result" >&5
15317 echo "${ECHO_T}$result" >&6; }
15318
15319
15320 enablestring=
15321 defaultval=$wxUSE_ALL_FEATURES
15322 if test -z "$defaultval"; then
15323 if test x"$enablestring" = xdisable; then
15324 defaultval=yes
15325 else
15326 defaultval=no
15327 fi
15328 fi
15329
15330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15331 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15332 # Check whether --enable-validators was given.
15333 if test "${enable_validators+set}" = set; then
15334 enableval=$enable_validators;
15335 if test "$enableval" = yes; then
15336 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15337 else
15338 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15339 fi
15340 cache=yes
15341
15342 else
15343
15344 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15345 if test "x$LINE" != x ; then
15346 eval "DEFAULT_$LINE"
15347 cache=yes
15348 else
15349 cache=no
15350 fi
15351
15352 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15353
15354 fi
15355
15356
15357 eval "$wx_cv_use_validators"
15358 if test "x$cache" = xyes; then
15359 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15360 fi
15361
15362 if test x"$enablestring" = xdisable; then
15363 if test $wxUSE_VALIDATORS = yes; then
15364 result=no
15365 else
15366 result=yes
15367 fi
15368 else
15369 result=$wxUSE_VALIDATORS
15370 fi
15371
15372 { echo "$as_me:$LINENO: result: $result" >&5
15373 echo "${ECHO_T}$result" >&6; }
15374
15375
15376 enablestring=
15377 defaultval=$wxUSE_ALL_FEATURES
15378 if test -z "$defaultval"; then
15379 if test x"$enablestring" = xdisable; then
15380 defaultval=yes
15381 else
15382 defaultval=no
15383 fi
15384 fi
15385
15386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15387 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15388 # Check whether --enable-busyinfo was given.
15389 if test "${enable_busyinfo+set}" = set; then
15390 enableval=$enable_busyinfo;
15391 if test "$enableval" = yes; then
15392 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15393 else
15394 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15395 fi
15396 cache=yes
15397
15398 else
15399
15400 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15401 if test "x$LINE" != x ; then
15402 eval "DEFAULT_$LINE"
15403 cache=yes
15404 else
15405 cache=no
15406 fi
15407
15408 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15409
15410 fi
15411
15412
15413 eval "$wx_cv_use_busyinfo"
15414 if test "x$cache" = xyes; then
15415 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15416 fi
15417
15418 if test x"$enablestring" = xdisable; then
15419 if test $wxUSE_BUSYINFO = yes; then
15420 result=no
15421 else
15422 result=yes
15423 fi
15424 else
15425 result=$wxUSE_BUSYINFO
15426 fi
15427
15428 { echo "$as_me:$LINENO: result: $result" >&5
15429 echo "${ECHO_T}$result" >&6; }
15430
15431
15432 enablestring=
15433 defaultval=$wxUSE_ALL_FEATURES
15434 if test -z "$defaultval"; then
15435 if test x"$enablestring" = xdisable; then
15436 defaultval=yes
15437 else
15438 defaultval=no
15439 fi
15440 fi
15441
15442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15443 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15444 # Check whether --enable-joystick was given.
15445 if test "${enable_joystick+set}" = set; then
15446 enableval=$enable_joystick;
15447 if test "$enableval" = yes; then
15448 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15449 else
15450 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15451 fi
15452 cache=yes
15453
15454 else
15455
15456 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15457 if test "x$LINE" != x ; then
15458 eval "DEFAULT_$LINE"
15459 cache=yes
15460 else
15461 cache=no
15462 fi
15463
15464 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15465
15466 fi
15467
15468
15469 eval "$wx_cv_use_joystick"
15470 if test "x$cache" = xyes; then
15471 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15472 fi
15473
15474 if test x"$enablestring" = xdisable; then
15475 if test $wxUSE_JOYSTICK = yes; then
15476 result=no
15477 else
15478 result=yes
15479 fi
15480 else
15481 result=$wxUSE_JOYSTICK
15482 fi
15483
15484 { echo "$as_me:$LINENO: result: $result" >&5
15485 echo "${ECHO_T}$result" >&6; }
15486
15487
15488 enablestring=
15489 defaultval=$wxUSE_ALL_FEATURES
15490 if test -z "$defaultval"; then
15491 if test x"$enablestring" = xdisable; then
15492 defaultval=yes
15493 else
15494 defaultval=no
15495 fi
15496 fi
15497
15498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15499 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15500 # Check whether --enable-metafile was given.
15501 if test "${enable_metafile+set}" = set; then
15502 enableval=$enable_metafile;
15503 if test "$enableval" = yes; then
15504 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15505 else
15506 wx_cv_use_metafile='wxUSE_METAFILE=no'
15507 fi
15508 cache=yes
15509
15510 else
15511
15512 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15513 if test "x$LINE" != x ; then
15514 eval "DEFAULT_$LINE"
15515 cache=yes
15516 else
15517 cache=no
15518 fi
15519
15520 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15521
15522 fi
15523
15524
15525 eval "$wx_cv_use_metafile"
15526 if test "x$cache" = xyes; then
15527 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15528 fi
15529
15530 if test x"$enablestring" = xdisable; then
15531 if test $wxUSE_METAFILE = yes; then
15532 result=no
15533 else
15534 result=yes
15535 fi
15536 else
15537 result=$wxUSE_METAFILE
15538 fi
15539
15540 { echo "$as_me:$LINENO: result: $result" >&5
15541 echo "${ECHO_T}$result" >&6; }
15542
15543
15544 enablestring=
15545 defaultval=$wxUSE_ALL_FEATURES
15546 if test -z "$defaultval"; then
15547 if test x"$enablestring" = xdisable; then
15548 defaultval=yes
15549 else
15550 defaultval=no
15551 fi
15552 fi
15553
15554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15555 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15556 # Check whether --enable-dragimage was given.
15557 if test "${enable_dragimage+set}" = set; then
15558 enableval=$enable_dragimage;
15559 if test "$enableval" = yes; then
15560 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15561 else
15562 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15563 fi
15564 cache=yes
15565
15566 else
15567
15568 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15569 if test "x$LINE" != x ; then
15570 eval "DEFAULT_$LINE"
15571 cache=yes
15572 else
15573 cache=no
15574 fi
15575
15576 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15577
15578 fi
15579
15580
15581 eval "$wx_cv_use_dragimage"
15582 if test "x$cache" = xyes; then
15583 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15584 fi
15585
15586 if test x"$enablestring" = xdisable; then
15587 if test $wxUSE_DRAGIMAGE = yes; then
15588 result=no
15589 else
15590 result=yes
15591 fi
15592 else
15593 result=$wxUSE_DRAGIMAGE
15594 fi
15595
15596 { echo "$as_me:$LINENO: result: $result" >&5
15597 echo "${ECHO_T}$result" >&6; }
15598
15599
15600 enablestring=
15601 defaultval=$wxUSE_ALL_FEATURES
15602 if test -z "$defaultval"; then
15603 if test x"$enablestring" = xdisable; then
15604 defaultval=yes
15605 else
15606 defaultval=no
15607 fi
15608 fi
15609
15610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15611 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15612 # Check whether --enable-accessibility was given.
15613 if test "${enable_accessibility+set}" = set; then
15614 enableval=$enable_accessibility;
15615 if test "$enableval" = yes; then
15616 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15617 else
15618 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15619 fi
15620 cache=yes
15621
15622 else
15623
15624 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15625 if test "x$LINE" != x ; then
15626 eval "DEFAULT_$LINE"
15627 cache=yes
15628 else
15629 cache=no
15630 fi
15631
15632 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15633
15634 fi
15635
15636
15637 eval "$wx_cv_use_accessibility"
15638 if test "x$cache" = xyes; then
15639 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15640 fi
15641
15642 if test x"$enablestring" = xdisable; then
15643 if test $wxUSE_ACCESSIBILITY = yes; then
15644 result=no
15645 else
15646 result=yes
15647 fi
15648 else
15649 result=$wxUSE_ACCESSIBILITY
15650 fi
15651
15652 { echo "$as_me:$LINENO: result: $result" >&5
15653 echo "${ECHO_T}$result" >&6; }
15654
15655
15656
15657
15658 enablestring=
15659 defaultval=$wxUSE_ALL_FEATURES
15660 if test -z "$defaultval"; then
15661 if test x"$enablestring" = xdisable; then
15662 defaultval=yes
15663 else
15664 defaultval=no
15665 fi
15666 fi
15667
15668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15669 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15670 # Check whether --enable-palette was given.
15671 if test "${enable_palette+set}" = set; then
15672 enableval=$enable_palette;
15673 if test "$enableval" = yes; then
15674 wx_cv_use_palette='wxUSE_PALETTE=yes'
15675 else
15676 wx_cv_use_palette='wxUSE_PALETTE=no'
15677 fi
15678 cache=yes
15679
15680 else
15681
15682 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15683 if test "x$LINE" != x ; then
15684 eval "DEFAULT_$LINE"
15685 cache=yes
15686 else
15687 cache=no
15688 fi
15689
15690 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15691
15692 fi
15693
15694
15695 eval "$wx_cv_use_palette"
15696 if test "x$cache" = xyes; then
15697 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15698 fi
15699
15700 if test x"$enablestring" = xdisable; then
15701 if test $wxUSE_PALETTE = yes; then
15702 result=no
15703 else
15704 result=yes
15705 fi
15706 else
15707 result=$wxUSE_PALETTE
15708 fi
15709
15710 { echo "$as_me:$LINENO: result: $result" >&5
15711 echo "${ECHO_T}$result" >&6; }
15712
15713
15714 enablestring=
15715 defaultval=$wxUSE_ALL_FEATURES
15716 if test -z "$defaultval"; then
15717 if test x"$enablestring" = xdisable; then
15718 defaultval=yes
15719 else
15720 defaultval=no
15721 fi
15722 fi
15723
15724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15725 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15726 # Check whether --enable-image was given.
15727 if test "${enable_image+set}" = set; then
15728 enableval=$enable_image;
15729 if test "$enableval" = yes; then
15730 wx_cv_use_image='wxUSE_IMAGE=yes'
15731 else
15732 wx_cv_use_image='wxUSE_IMAGE=no'
15733 fi
15734 cache=yes
15735
15736 else
15737
15738 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15739 if test "x$LINE" != x ; then
15740 eval "DEFAULT_$LINE"
15741 cache=yes
15742 else
15743 cache=no
15744 fi
15745
15746 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15747
15748 fi
15749
15750
15751 eval "$wx_cv_use_image"
15752 if test "x$cache" = xyes; then
15753 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15754 fi
15755
15756 if test x"$enablestring" = xdisable; then
15757 if test $wxUSE_IMAGE = yes; then
15758 result=no
15759 else
15760 result=yes
15761 fi
15762 else
15763 result=$wxUSE_IMAGE
15764 fi
15765
15766 { echo "$as_me:$LINENO: result: $result" >&5
15767 echo "${ECHO_T}$result" >&6; }
15768
15769
15770 enablestring=
15771 defaultval=$wxUSE_ALL_FEATURES
15772 if test -z "$defaultval"; then
15773 if test x"$enablestring" = xdisable; then
15774 defaultval=yes
15775 else
15776 defaultval=no
15777 fi
15778 fi
15779
15780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15781 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15782 # Check whether --enable-gif was given.
15783 if test "${enable_gif+set}" = set; then
15784 enableval=$enable_gif;
15785 if test "$enableval" = yes; then
15786 wx_cv_use_gif='wxUSE_GIF=yes'
15787 else
15788 wx_cv_use_gif='wxUSE_GIF=no'
15789 fi
15790 cache=yes
15791
15792 else
15793
15794 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15795 if test "x$LINE" != x ; then
15796 eval "DEFAULT_$LINE"
15797 cache=yes
15798 else
15799 cache=no
15800 fi
15801
15802 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15803
15804 fi
15805
15806
15807 eval "$wx_cv_use_gif"
15808 if test "x$cache" = xyes; then
15809 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15810 fi
15811
15812 if test x"$enablestring" = xdisable; then
15813 if test $wxUSE_GIF = yes; then
15814 result=no
15815 else
15816 result=yes
15817 fi
15818 else
15819 result=$wxUSE_GIF
15820 fi
15821
15822 { echo "$as_me:$LINENO: result: $result" >&5
15823 echo "${ECHO_T}$result" >&6; }
15824
15825
15826 enablestring=
15827 defaultval=$wxUSE_ALL_FEATURES
15828 if test -z "$defaultval"; then
15829 if test x"$enablestring" = xdisable; then
15830 defaultval=yes
15831 else
15832 defaultval=no
15833 fi
15834 fi
15835
15836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15837 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15838 # Check whether --enable-pcx was given.
15839 if test "${enable_pcx+set}" = set; then
15840 enableval=$enable_pcx;
15841 if test "$enableval" = yes; then
15842 wx_cv_use_pcx='wxUSE_PCX=yes'
15843 else
15844 wx_cv_use_pcx='wxUSE_PCX=no'
15845 fi
15846 cache=yes
15847
15848 else
15849
15850 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15851 if test "x$LINE" != x ; then
15852 eval "DEFAULT_$LINE"
15853 cache=yes
15854 else
15855 cache=no
15856 fi
15857
15858 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15859
15860 fi
15861
15862
15863 eval "$wx_cv_use_pcx"
15864 if test "x$cache" = xyes; then
15865 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15866 fi
15867
15868 if test x"$enablestring" = xdisable; then
15869 if test $wxUSE_PCX = yes; then
15870 result=no
15871 else
15872 result=yes
15873 fi
15874 else
15875 result=$wxUSE_PCX
15876 fi
15877
15878 { echo "$as_me:$LINENO: result: $result" >&5
15879 echo "${ECHO_T}$result" >&6; }
15880
15881
15882 enablestring=
15883 defaultval=$wxUSE_ALL_FEATURES
15884 if test -z "$defaultval"; then
15885 if test x"$enablestring" = xdisable; then
15886 defaultval=yes
15887 else
15888 defaultval=no
15889 fi
15890 fi
15891
15892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15893 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15894 # Check whether --enable-tga was given.
15895 if test "${enable_tga+set}" = set; then
15896 enableval=$enable_tga;
15897 if test "$enableval" = yes; then
15898 wx_cv_use_tga='wxUSE_TGA=yes'
15899 else
15900 wx_cv_use_tga='wxUSE_TGA=no'
15901 fi
15902 cache=yes
15903
15904 else
15905
15906 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15907 if test "x$LINE" != x ; then
15908 eval "DEFAULT_$LINE"
15909 cache=yes
15910 else
15911 cache=no
15912 fi
15913
15914 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15915
15916 fi
15917
15918
15919 eval "$wx_cv_use_tga"
15920 if test "x$cache" = xyes; then
15921 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15922 fi
15923
15924 if test x"$enablestring" = xdisable; then
15925 if test $wxUSE_TGA = yes; then
15926 result=no
15927 else
15928 result=yes
15929 fi
15930 else
15931 result=$wxUSE_TGA
15932 fi
15933
15934 { echo "$as_me:$LINENO: result: $result" >&5
15935 echo "${ECHO_T}$result" >&6; }
15936
15937
15938 enablestring=
15939 defaultval=$wxUSE_ALL_FEATURES
15940 if test -z "$defaultval"; then
15941 if test x"$enablestring" = xdisable; then
15942 defaultval=yes
15943 else
15944 defaultval=no
15945 fi
15946 fi
15947
15948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15949 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15950 # Check whether --enable-iff was given.
15951 if test "${enable_iff+set}" = set; then
15952 enableval=$enable_iff;
15953 if test "$enableval" = yes; then
15954 wx_cv_use_iff='wxUSE_IFF=yes'
15955 else
15956 wx_cv_use_iff='wxUSE_IFF=no'
15957 fi
15958 cache=yes
15959
15960 else
15961
15962 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15963 if test "x$LINE" != x ; then
15964 eval "DEFAULT_$LINE"
15965 cache=yes
15966 else
15967 cache=no
15968 fi
15969
15970 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15971
15972 fi
15973
15974
15975 eval "$wx_cv_use_iff"
15976 if test "x$cache" = xyes; then
15977 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15978 fi
15979
15980 if test x"$enablestring" = xdisable; then
15981 if test $wxUSE_IFF = yes; then
15982 result=no
15983 else
15984 result=yes
15985 fi
15986 else
15987 result=$wxUSE_IFF
15988 fi
15989
15990 { echo "$as_me:$LINENO: result: $result" >&5
15991 echo "${ECHO_T}$result" >&6; }
15992
15993
15994 enablestring=
15995 defaultval=$wxUSE_ALL_FEATURES
15996 if test -z "$defaultval"; then
15997 if test x"$enablestring" = xdisable; then
15998 defaultval=yes
15999 else
16000 defaultval=no
16001 fi
16002 fi
16003
16004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16005 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16006 # Check whether --enable-pnm was given.
16007 if test "${enable_pnm+set}" = set; then
16008 enableval=$enable_pnm;
16009 if test "$enableval" = yes; then
16010 wx_cv_use_pnm='wxUSE_PNM=yes'
16011 else
16012 wx_cv_use_pnm='wxUSE_PNM=no'
16013 fi
16014 cache=yes
16015
16016 else
16017
16018 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16019 if test "x$LINE" != x ; then
16020 eval "DEFAULT_$LINE"
16021 cache=yes
16022 else
16023 cache=no
16024 fi
16025
16026 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16027
16028 fi
16029
16030
16031 eval "$wx_cv_use_pnm"
16032 if test "x$cache" = xyes; then
16033 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16034 fi
16035
16036 if test x"$enablestring" = xdisable; then
16037 if test $wxUSE_PNM = yes; then
16038 result=no
16039 else
16040 result=yes
16041 fi
16042 else
16043 result=$wxUSE_PNM
16044 fi
16045
16046 { echo "$as_me:$LINENO: result: $result" >&5
16047 echo "${ECHO_T}$result" >&6; }
16048
16049
16050 enablestring=
16051 defaultval=$wxUSE_ALL_FEATURES
16052 if test -z "$defaultval"; then
16053 if test x"$enablestring" = xdisable; then
16054 defaultval=yes
16055 else
16056 defaultval=no
16057 fi
16058 fi
16059
16060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16061 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16062 # Check whether --enable-xpm was given.
16063 if test "${enable_xpm+set}" = set; then
16064 enableval=$enable_xpm;
16065 if test "$enableval" = yes; then
16066 wx_cv_use_xpm='wxUSE_XPM=yes'
16067 else
16068 wx_cv_use_xpm='wxUSE_XPM=no'
16069 fi
16070 cache=yes
16071
16072 else
16073
16074 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16075 if test "x$LINE" != x ; then
16076 eval "DEFAULT_$LINE"
16077 cache=yes
16078 else
16079 cache=no
16080 fi
16081
16082 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16083
16084 fi
16085
16086
16087 eval "$wx_cv_use_xpm"
16088 if test "x$cache" = xyes; then
16089 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16090 fi
16091
16092 if test x"$enablestring" = xdisable; then
16093 if test $wxUSE_XPM = yes; then
16094 result=no
16095 else
16096 result=yes
16097 fi
16098 else
16099 result=$wxUSE_XPM
16100 fi
16101
16102 { echo "$as_me:$LINENO: result: $result" >&5
16103 echo "${ECHO_T}$result" >&6; }
16104
16105
16106 enablestring=
16107 defaultval=$wxUSE_ALL_FEATURES
16108 if test -z "$defaultval"; then
16109 if test x"$enablestring" = xdisable; then
16110 defaultval=yes
16111 else
16112 defaultval=no
16113 fi
16114 fi
16115
16116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16117 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16118 # Check whether --enable-ico_cur was given.
16119 if test "${enable_ico_cur+set}" = set; then
16120 enableval=$enable_ico_cur;
16121 if test "$enableval" = yes; then
16122 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16123 else
16124 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16125 fi
16126 cache=yes
16127
16128 else
16129
16130 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16131 if test "x$LINE" != x ; then
16132 eval "DEFAULT_$LINE"
16133 cache=yes
16134 else
16135 cache=no
16136 fi
16137
16138 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16139
16140 fi
16141
16142
16143 eval "$wx_cv_use_ico_cur"
16144 if test "x$cache" = xyes; then
16145 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16146 fi
16147
16148 if test x"$enablestring" = xdisable; then
16149 if test $wxUSE_ICO_CUR = yes; then
16150 result=no
16151 else
16152 result=yes
16153 fi
16154 else
16155 result=$wxUSE_ICO_CUR
16156 fi
16157
16158 { echo "$as_me:$LINENO: result: $result" >&5
16159 echo "${ECHO_T}$result" >&6; }
16160
16161
16162
16163
16164 enablestring=
16165 defaultval=$wxUSE_ALL_FEATURES
16166 if test -z "$defaultval"; then
16167 if test x"$enablestring" = xdisable; then
16168 defaultval=yes
16169 else
16170 defaultval=no
16171 fi
16172 fi
16173
16174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16175 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16176 # Check whether --enable-dccache was given.
16177 if test "${enable_dccache+set}" = set; then
16178 enableval=$enable_dccache;
16179 if test "$enableval" = yes; then
16180 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16181 else
16182 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16183 fi
16184 cache=yes
16185
16186 else
16187
16188 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16189 if test "x$LINE" != x ; then
16190 eval "DEFAULT_$LINE"
16191 cache=yes
16192 else
16193 cache=no
16194 fi
16195
16196 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16197
16198 fi
16199
16200
16201 eval "$wx_cv_use_dccache"
16202 if test "x$cache" = xyes; then
16203 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16204 fi
16205
16206 if test x"$enablestring" = xdisable; then
16207 if test $wxUSE_DC_CACHEING = yes; then
16208 result=no
16209 else
16210 result=yes
16211 fi
16212 else
16213 result=$wxUSE_DC_CACHEING
16214 fi
16215
16216 { echo "$as_me:$LINENO: result: $result" >&5
16217 echo "${ECHO_T}$result" >&6; }
16218
16219
16220 enablestring=
16221 defaultval=$wxUSE_ALL_FEATURES
16222 if test -z "$defaultval"; then
16223 if test x"$enablestring" = xdisable; then
16224 defaultval=yes
16225 else
16226 defaultval=no
16227 fi
16228 fi
16229
16230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16231 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16232 # Check whether --enable-ps-in-msw was given.
16233 if test "${enable_ps_in_msw+set}" = set; then
16234 enableval=$enable_ps_in_msw;
16235 if test "$enableval" = yes; then
16236 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16237 else
16238 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16239 fi
16240 cache=yes
16241
16242 else
16243
16244 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16245 if test "x$LINE" != x ; then
16246 eval "DEFAULT_$LINE"
16247 cache=yes
16248 else
16249 cache=no
16250 fi
16251
16252 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16253
16254 fi
16255
16256
16257 eval "$wx_cv_use_ps_in_msw"
16258 if test "x$cache" = xyes; then
16259 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16260 fi
16261
16262 if test x"$enablestring" = xdisable; then
16263 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16264 result=no
16265 else
16266 result=yes
16267 fi
16268 else
16269 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16270 fi
16271
16272 { echo "$as_me:$LINENO: result: $result" >&5
16273 echo "${ECHO_T}$result" >&6; }
16274
16275
16276 enablestring=
16277 defaultval=$wxUSE_ALL_FEATURES
16278 if test -z "$defaultval"; then
16279 if test x"$enablestring" = xdisable; then
16280 defaultval=yes
16281 else
16282 defaultval=no
16283 fi
16284 fi
16285
16286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16287 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16288 # Check whether --enable-ownerdrawn was given.
16289 if test "${enable_ownerdrawn+set}" = set; then
16290 enableval=$enable_ownerdrawn;
16291 if test "$enableval" = yes; then
16292 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16293 else
16294 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16295 fi
16296 cache=yes
16297
16298 else
16299
16300 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16301 if test "x$LINE" != x ; then
16302 eval "DEFAULT_$LINE"
16303 cache=yes
16304 else
16305 cache=no
16306 fi
16307
16308 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16309
16310 fi
16311
16312
16313 eval "$wx_cv_use_ownerdrawn"
16314 if test "x$cache" = xyes; then
16315 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16316 fi
16317
16318 if test x"$enablestring" = xdisable; then
16319 if test $wxUSE_OWNER_DRAWN = yes; then
16320 result=no
16321 else
16322 result=yes
16323 fi
16324 else
16325 result=$wxUSE_OWNER_DRAWN
16326 fi
16327
16328 { echo "$as_me:$LINENO: result: $result" >&5
16329 echo "${ECHO_T}$result" >&6; }
16330
16331
16332 enablestring=
16333 defaultval=$wxUSE_ALL_FEATURES
16334 if test -z "$defaultval"; then
16335 if test x"$enablestring" = xdisable; then
16336 defaultval=yes
16337 else
16338 defaultval=no
16339 fi
16340 fi
16341
16342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16343 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16344 # Check whether --enable-uxtheme was given.
16345 if test "${enable_uxtheme+set}" = set; then
16346 enableval=$enable_uxtheme;
16347 if test "$enableval" = yes; then
16348 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16349 else
16350 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16351 fi
16352 cache=yes
16353
16354 else
16355
16356 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16357 if test "x$LINE" != x ; then
16358 eval "DEFAULT_$LINE"
16359 cache=yes
16360 else
16361 cache=no
16362 fi
16363
16364 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16365
16366 fi
16367
16368
16369 eval "$wx_cv_use_uxtheme"
16370 if test "x$cache" = xyes; then
16371 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16372 fi
16373
16374 if test x"$enablestring" = xdisable; then
16375 if test $wxUSE_UXTHEME = yes; then
16376 result=no
16377 else
16378 result=yes
16379 fi
16380 else
16381 result=$wxUSE_UXTHEME
16382 fi
16383
16384 { echo "$as_me:$LINENO: result: $result" >&5
16385 echo "${ECHO_T}$result" >&6; }
16386
16387
16388 enablestring=
16389 defaultval=$wxUSE_ALL_FEATURES
16390 if test -z "$defaultval"; then
16391 if test x"$enablestring" = xdisable; then
16392 defaultval=yes
16393 else
16394 defaultval=no
16395 fi
16396 fi
16397
16398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16399 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16400 # Check whether --enable-wxdib was given.
16401 if test "${enable_wxdib+set}" = set; then
16402 enableval=$enable_wxdib;
16403 if test "$enableval" = yes; then
16404 wx_cv_use_wxdib='wxUSE_DIB=yes'
16405 else
16406 wx_cv_use_wxdib='wxUSE_DIB=no'
16407 fi
16408 cache=yes
16409
16410 else
16411
16412 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16413 if test "x$LINE" != x ; then
16414 eval "DEFAULT_$LINE"
16415 cache=yes
16416 else
16417 cache=no
16418 fi
16419
16420 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16421
16422 fi
16423
16424
16425 eval "$wx_cv_use_wxdib"
16426 if test "x$cache" = xyes; then
16427 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16428 fi
16429
16430 if test x"$enablestring" = xdisable; then
16431 if test $wxUSE_DIB = yes; then
16432 result=no
16433 else
16434 result=yes
16435 fi
16436 else
16437 result=$wxUSE_DIB
16438 fi
16439
16440 { echo "$as_me:$LINENO: result: $result" >&5
16441 echo "${ECHO_T}$result" >&6; }
16442
16443
16444 fi
16445
16446
16447 echo "saving argument cache $wx_arg_cache_file"
16448 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16449
16450
16451
16452 { echo "$as_me:$LINENO: checking for toolkit" >&5
16453 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16454
16455 # In Wine, we need to default to MSW, not GTK or MOTIF
16456 if test "$wxUSE_WINE" = "yes"; then
16457 DEFAULT_DEFAULT_wxUSE_GTK=0
16458 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16459 DEFAULT_DEFAULT_wxUSE_MSW=1
16460 wxUSE_SHARED=no
16461 CC=${CC:-winegcc}
16462 CXX=${CXX:-wineg++}
16463 fi
16464
16465
16466 if test "$wxUSE_GUI" = "yes"; then
16467
16468 if test "$USE_BEOS" = 1; then
16469 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16470 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16471 { (exit 1); exit 1; }; }
16472 fi
16473
16474 if test "$TOOLKIT_GIVEN" = 1; then
16475 for toolkit in `echo $ALL_TOOLKITS`; do
16476 var=wxUSE_$toolkit
16477 eval "value=\$${var}"
16478 if test "x$value" = "xno"; then
16479 eval "$var=0"
16480 elif test "x$value" != "x"; then
16481 eval "$var=1"
16482 fi
16483
16484 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16485 eval "wx${toolkit}_VERSION=$value"
16486 fi
16487 done
16488 else
16489 for toolkit in `echo $ALL_TOOLKITS`; do
16490 if test "$has_toolkit_in_cache" != 1; then
16491 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16492 else
16493 var=DEFAULT_wxUSE_$toolkit
16494
16495 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16496 if test "x$version" != "x"; then
16497 eval "wx${toolkit}_VERSION=$version"
16498 fi
16499 fi
16500 eval "wxUSE_$toolkit=\$${var}"
16501 done
16502 fi
16503
16504 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16505 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16506 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16507
16508 case "${host}" in
16509 *-pc-os2_emx | *-pc-os2-emx )
16510 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16511 esac
16512
16513 case "$NUM_TOOLKITS" in
16514 1)
16515 ;;
16516 0)
16517 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16518 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16519 { (exit 1); exit 1; }; }
16520 ;;
16521 *)
16522 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16523 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16524 { (exit 1); exit 1; }; }
16525 esac
16526
16527 # to be removed when --disable-gtk2 isn't needed
16528 if test "x$wxUSE_GTK2" = "xyes"; then
16529 wxGTK_VERSION=2
16530 elif test "x$wxUSE_GTK2" = "xno"; then
16531 wxGTK_VERSION=1
16532 fi
16533
16534 for toolkit in `echo $ALL_TOOLKITS`; do
16535 var=wxUSE_$toolkit
16536 eval "value=\$${var}"
16537 if test "x$value" != x; then
16538 cache_var=CACHE_$toolkit
16539 eval "cache=\$${cache_var}"
16540 if test "$cache" = 1; then
16541 echo "$var=$value" >> ${wx_arg_cache_file}
16542 eval "version=\$wx${toolkit}_VERSION"
16543 if test "x$version" != "x"; then
16544 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16545 fi
16546 fi
16547 if test "$value" = 1; then
16548 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16549 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16550 echo "${ECHO_T}$toolkit_echo" >&6; }
16551 fi
16552 fi
16553 done
16554 else
16555 if test "x$host_alias" != "x"; then
16556 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16557 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16558 else
16559 { echo "$as_me:$LINENO: result: base only" >&5
16560 echo "${ECHO_T}base only" >&6; }
16561 fi
16562 fi
16563
16564
16565 cat >confcache <<\_ACEOF
16566 # This file is a shell script that caches the results of configure
16567 # tests run on this system so they can be shared between configure
16568 # scripts and configure runs, see configure's option --config-cache.
16569 # It is not useful on other systems. If it contains results you don't
16570 # want to keep, you may remove or edit it.
16571 #
16572 # config.status only pays attention to the cache file if you give it
16573 # the --recheck option to rerun configure.
16574 #
16575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16577 # following values.
16578
16579 _ACEOF
16580
16581 # The following way of writing the cache mishandles newlines in values,
16582 # but we know of no workaround that is simple, portable, and efficient.
16583 # So, we kill variables containing newlines.
16584 # Ultrix sh set writes to stderr and can't be redirected directly,
16585 # and sets the high bit in the cache file unless we assign to the vars.
16586 (
16587 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16588 eval ac_val=\$$ac_var
16589 case $ac_val in #(
16590 *${as_nl}*)
16591 case $ac_var in #(
16592 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16593 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16594 esac
16595 case $ac_var in #(
16596 _ | IFS | as_nl) ;; #(
16597 *) $as_unset $ac_var ;;
16598 esac ;;
16599 esac
16600 done
16601
16602 (set) 2>&1 |
16603 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16604 *${as_nl}ac_space=\ *)
16605 # `set' does not quote correctly, so add quotes (double-quote
16606 # substitution turns \\\\ into \\, and sed turns \\ into \).
16607 sed -n \
16608 "s/'/'\\\\''/g;
16609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16610 ;; #(
16611 *)
16612 # `set' quotes correctly as required by POSIX, so do not add quotes.
16613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16614 ;;
16615 esac |
16616 sort
16617 ) |
16618 sed '
16619 /^ac_cv_env_/b end
16620 t clear
16621 :clear
16622 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16623 t end
16624 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16625 :end' >>confcache
16626 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16627 if test -w "$cache_file"; then
16628 test "x$cache_file" != "x/dev/null" &&
16629 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16630 echo "$as_me: updating cache $cache_file" >&6;}
16631 cat confcache >$cache_file
16632 else
16633 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16634 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16635 fi
16636 fi
16637 rm -f confcache
16638
16639 CFLAGS=${CFLAGS:=}
16640
16641
16642
16643 ac_ext=c
16644 ac_cpp='$CPP $CPPFLAGS'
16645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16648 if test -n "$ac_tool_prefix"; then
16649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16650 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16653 if test "${ac_cv_prog_CC+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 else
16656 if test -n "$CC"; then
16657 ac_cv_prog_CC="$CC" # Let the user override the test.
16658 else
16659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16660 for as_dir in $PATH
16661 do
16662 IFS=$as_save_IFS
16663 test -z "$as_dir" && as_dir=.
16664 for ac_exec_ext in '' $ac_executable_extensions; do
16665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16666 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16668 break 2
16669 fi
16670 done
16671 done
16672 IFS=$as_save_IFS
16673
16674 fi
16675 fi
16676 CC=$ac_cv_prog_CC
16677 if test -n "$CC"; then
16678 { echo "$as_me:$LINENO: result: $CC" >&5
16679 echo "${ECHO_T}$CC" >&6; }
16680 else
16681 { echo "$as_me:$LINENO: result: no" >&5
16682 echo "${ECHO_T}no" >&6; }
16683 fi
16684
16685
16686 fi
16687 if test -z "$ac_cv_prog_CC"; then
16688 ac_ct_CC=$CC
16689 # Extract the first word of "gcc", so it can be a program name with args.
16690 set dummy gcc; ac_word=$2
16691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 else
16696 if test -n "$ac_ct_CC"; then
16697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16698 else
16699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16700 for as_dir in $PATH
16701 do
16702 IFS=$as_save_IFS
16703 test -z "$as_dir" && as_dir=.
16704 for ac_exec_ext in '' $ac_executable_extensions; do
16705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16706 ac_cv_prog_ac_ct_CC="gcc"
16707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16708 break 2
16709 fi
16710 done
16711 done
16712 IFS=$as_save_IFS
16713
16714 fi
16715 fi
16716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16717 if test -n "$ac_ct_CC"; then
16718 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16719 echo "${ECHO_T}$ac_ct_CC" >&6; }
16720 else
16721 { echo "$as_me:$LINENO: result: no" >&5
16722 echo "${ECHO_T}no" >&6; }
16723 fi
16724
16725 if test "x$ac_ct_CC" = x; then
16726 CC=""
16727 else
16728 case $cross_compiling:$ac_tool_warned in
16729 yes:)
16730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16731 whose name does not start with the host triplet. If you think this
16732 configuration is useful to you, please write to autoconf@gnu.org." >&5
16733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16736 ac_tool_warned=yes ;;
16737 esac
16738 CC=$ac_ct_CC
16739 fi
16740 else
16741 CC="$ac_cv_prog_CC"
16742 fi
16743
16744 if test -z "$CC"; then
16745 if test -n "$ac_tool_prefix"; then
16746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16747 set dummy ${ac_tool_prefix}cc; ac_word=$2
16748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16750 if test "${ac_cv_prog_CC+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 if test -n "$CC"; then
16754 ac_cv_prog_CC="$CC" # Let the user override the test.
16755 else
16756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16757 for as_dir in $PATH
16758 do
16759 IFS=$as_save_IFS
16760 test -z "$as_dir" && as_dir=.
16761 for ac_exec_ext in '' $ac_executable_extensions; do
16762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16763 ac_cv_prog_CC="${ac_tool_prefix}cc"
16764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16765 break 2
16766 fi
16767 done
16768 done
16769 IFS=$as_save_IFS
16770
16771 fi
16772 fi
16773 CC=$ac_cv_prog_CC
16774 if test -n "$CC"; then
16775 { echo "$as_me:$LINENO: result: $CC" >&5
16776 echo "${ECHO_T}$CC" >&6; }
16777 else
16778 { echo "$as_me:$LINENO: result: no" >&5
16779 echo "${ECHO_T}no" >&6; }
16780 fi
16781
16782
16783 fi
16784 fi
16785 if test -z "$CC"; then
16786 # Extract the first word of "cc", so it can be a program name with args.
16787 set dummy cc; ac_word=$2
16788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16790 if test "${ac_cv_prog_CC+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 else
16793 if test -n "$CC"; then
16794 ac_cv_prog_CC="$CC" # Let the user override the test.
16795 else
16796 ac_prog_rejected=no
16797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16798 for as_dir in $PATH
16799 do
16800 IFS=$as_save_IFS
16801 test -z "$as_dir" && as_dir=.
16802 for ac_exec_ext in '' $ac_executable_extensions; do
16803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16805 ac_prog_rejected=yes
16806 continue
16807 fi
16808 ac_cv_prog_CC="cc"
16809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16810 break 2
16811 fi
16812 done
16813 done
16814 IFS=$as_save_IFS
16815
16816 if test $ac_prog_rejected = yes; then
16817 # We found a bogon in the path, so make sure we never use it.
16818 set dummy $ac_cv_prog_CC
16819 shift
16820 if test $# != 0; then
16821 # We chose a different compiler from the bogus one.
16822 # However, it has the same basename, so the bogon will be chosen
16823 # first if we set CC to just the basename; use the full file name.
16824 shift
16825 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16826 fi
16827 fi
16828 fi
16829 fi
16830 CC=$ac_cv_prog_CC
16831 if test -n "$CC"; then
16832 { echo "$as_me:$LINENO: result: $CC" >&5
16833 echo "${ECHO_T}$CC" >&6; }
16834 else
16835 { echo "$as_me:$LINENO: result: no" >&5
16836 echo "${ECHO_T}no" >&6; }
16837 fi
16838
16839
16840 fi
16841 if test -z "$CC"; then
16842 if test -n "$ac_tool_prefix"; then
16843 for ac_prog in cl.exe
16844 do
16845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16846 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16849 if test "${ac_cv_prog_CC+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852 if test -n "$CC"; then
16853 ac_cv_prog_CC="$CC" # Let the user override the test.
16854 else
16855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16856 for as_dir in $PATH
16857 do
16858 IFS=$as_save_IFS
16859 test -z "$as_dir" && as_dir=.
16860 for ac_exec_ext in '' $ac_executable_extensions; do
16861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16862 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16864 break 2
16865 fi
16866 done
16867 done
16868 IFS=$as_save_IFS
16869
16870 fi
16871 fi
16872 CC=$ac_cv_prog_CC
16873 if test -n "$CC"; then
16874 { echo "$as_me:$LINENO: result: $CC" >&5
16875 echo "${ECHO_T}$CC" >&6; }
16876 else
16877 { echo "$as_me:$LINENO: result: no" >&5
16878 echo "${ECHO_T}no" >&6; }
16879 fi
16880
16881
16882 test -n "$CC" && break
16883 done
16884 fi
16885 if test -z "$CC"; then
16886 ac_ct_CC=$CC
16887 for ac_prog in cl.exe
16888 do
16889 # Extract the first word of "$ac_prog", so it can be a program name with args.
16890 set dummy $ac_prog; ac_word=$2
16891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16896 if test -n "$ac_ct_CC"; then
16897 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16898 else
16899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16900 for as_dir in $PATH
16901 do
16902 IFS=$as_save_IFS
16903 test -z "$as_dir" && as_dir=.
16904 for ac_exec_ext in '' $ac_executable_extensions; do
16905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16906 ac_cv_prog_ac_ct_CC="$ac_prog"
16907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16908 break 2
16909 fi
16910 done
16911 done
16912 IFS=$as_save_IFS
16913
16914 fi
16915 fi
16916 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16917 if test -n "$ac_ct_CC"; then
16918 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16919 echo "${ECHO_T}$ac_ct_CC" >&6; }
16920 else
16921 { echo "$as_me:$LINENO: result: no" >&5
16922 echo "${ECHO_T}no" >&6; }
16923 fi
16924
16925
16926 test -n "$ac_ct_CC" && break
16927 done
16928
16929 if test "x$ac_ct_CC" = x; then
16930 CC=""
16931 else
16932 case $cross_compiling:$ac_tool_warned in
16933 yes:)
16934 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16935 whose name does not start with the host triplet. If you think this
16936 configuration is useful to you, please write to autoconf@gnu.org." >&5
16937 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16938 whose name does not start with the host triplet. If you think this
16939 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16940 ac_tool_warned=yes ;;
16941 esac
16942 CC=$ac_ct_CC
16943 fi
16944 fi
16945
16946 fi
16947
16948
16949 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16950 See \`config.log' for more details." >&5
16951 echo "$as_me: error: no acceptable C compiler found in \$PATH
16952 See \`config.log' for more details." >&2;}
16953 { (exit 1); exit 1; }; }
16954
16955 # Provide some information about the compiler.
16956 echo "$as_me:$LINENO: checking for C compiler version" >&5
16957 ac_compiler=`set X $ac_compile; echo $2`
16958 { (ac_try="$ac_compiler --version >&5"
16959 case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16962 esac
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_compiler --version >&5") 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }
16968 { (ac_try="$ac_compiler -v >&5"
16969 case "(($ac_try" in
16970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16971 *) ac_try_echo=$ac_try;;
16972 esac
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_compiler -v >&5") 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }
16978 { (ac_try="$ac_compiler -V >&5"
16979 case "(($ac_try" in
16980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16981 *) ac_try_echo=$ac_try;;
16982 esac
16983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16984 (eval "$ac_compiler -V >&5") 2>&5
16985 ac_status=$?
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }
16988
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995
16996 int
16997 main ()
16998 {
16999
17000 ;
17001 return 0;
17002 }
17003 _ACEOF
17004 ac_clean_files_save=$ac_clean_files
17005 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17006 # Try to create an executable without -o first, disregard a.out.
17007 # It will help us diagnose broken compilers, and finding out an intuition
17008 # of exeext.
17009 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17010 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17011 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17012 #
17013 # List of possible output files, starting from the most likely.
17014 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17015 # only as a last resort. b.out is created by i960 compilers.
17016 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17017 #
17018 # The IRIX 6 linker writes into existing files which may not be
17019 # executable, retaining their permissions. Remove them first so a
17020 # subsequent execution test works.
17021 ac_rmfiles=
17022 for ac_file in $ac_files
17023 do
17024 case $ac_file in
17025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17026 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17027 esac
17028 done
17029 rm -f $ac_rmfiles
17030
17031 if { (ac_try="$ac_link_default"
17032 case "(($ac_try" in
17033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17034 *) ac_try_echo=$ac_try;;
17035 esac
17036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17037 (eval "$ac_link_default") 2>&5
17038 ac_status=$?
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; then
17041 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17042 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17043 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17044 # so that the user can short-circuit this test for compilers unknown to
17045 # Autoconf.
17046 for ac_file in $ac_files ''
17047 do
17048 test -f "$ac_file" || continue
17049 case $ac_file in
17050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17051 ;;
17052 [ab].out )
17053 # We found the default executable, but exeext='' is most
17054 # certainly right.
17055 break;;
17056 *.* )
17057 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17058 then :; else
17059 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17060 fi
17061 # We set ac_cv_exeext here because the later test for it is not
17062 # safe: cross compilers may not add the suffix if given an `-o'
17063 # argument, so we may need to know it at that point already.
17064 # Even if this section looks crufty: it has the advantage of
17065 # actually working.
17066 break;;
17067 * )
17068 break;;
17069 esac
17070 done
17071 test "$ac_cv_exeext" = no && ac_cv_exeext=
17072
17073 else
17074 ac_file=''
17075 fi
17076
17077 { echo "$as_me:$LINENO: result: $ac_file" >&5
17078 echo "${ECHO_T}$ac_file" >&6; }
17079 if test -z "$ac_file"; then
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17082
17083 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17084 See \`config.log' for more details." >&5
17085 echo "$as_me: error: C compiler cannot create executables
17086 See \`config.log' for more details." >&2;}
17087 { (exit 77); exit 77; }; }
17088 fi
17089
17090 ac_exeext=$ac_cv_exeext
17091
17092 # Check that the compiler produces executables we can run. If not, either
17093 # the compiler is broken, or we cross compile.
17094 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17095 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17096 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17097 # If not cross compiling, check that we can run a simple program.
17098 if test "$cross_compiling" != yes; then
17099 if { ac_try='./$ac_file'
17100 { (case "(($ac_try" in
17101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17102 *) ac_try_echo=$ac_try;;
17103 esac
17104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17105 (eval "$ac_try") 2>&5
17106 ac_status=$?
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 cross_compiling=no
17110 else
17111 if test "$cross_compiling" = maybe; then
17112 cross_compiling=yes
17113 else
17114 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17115 If you meant to cross compile, use \`--host'.
17116 See \`config.log' for more details." >&5
17117 echo "$as_me: error: cannot run C compiled programs.
17118 If you meant to cross compile, use \`--host'.
17119 See \`config.log' for more details." >&2;}
17120 { (exit 1); exit 1; }; }
17121 fi
17122 fi
17123 fi
17124 { echo "$as_me:$LINENO: result: yes" >&5
17125 echo "${ECHO_T}yes" >&6; }
17126
17127 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17128 ac_clean_files=$ac_clean_files_save
17129 # Check that the compiler produces executables we can run. If not, either
17130 # the compiler is broken, or we cross compile.
17131 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17132 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17133 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17134 echo "${ECHO_T}$cross_compiling" >&6; }
17135
17136 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17137 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17138 if { (ac_try="$ac_link"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17142 esac
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_link") 2>&5
17145 ac_status=$?
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; then
17148 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17149 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17150 # work properly (i.e., refer to `conftest.exe'), while it won't with
17151 # `rm'.
17152 for ac_file in conftest.exe conftest conftest.*; do
17153 test -f "$ac_file" || continue
17154 case $ac_file in
17155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17156 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17157 break;;
17158 * ) break;;
17159 esac
17160 done
17161 else
17162 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17163 See \`config.log' for more details." >&5
17164 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17165 See \`config.log' for more details." >&2;}
17166 { (exit 1); exit 1; }; }
17167 fi
17168
17169 rm -f conftest$ac_cv_exeext
17170 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17171 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17172
17173 rm -f conftest.$ac_ext
17174 EXEEXT=$ac_cv_exeext
17175 ac_exeext=$EXEEXT
17176 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17177 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17178 if test "${ac_cv_objext+set}" = set; then
17179 echo $ECHO_N "(cached) $ECHO_C" >&6
17180 else
17181 cat >conftest.$ac_ext <<_ACEOF
17182 /* confdefs.h. */
17183 _ACEOF
17184 cat confdefs.h >>conftest.$ac_ext
17185 cat >>conftest.$ac_ext <<_ACEOF
17186 /* end confdefs.h. */
17187
17188 int
17189 main ()
17190 {
17191
17192 ;
17193 return 0;
17194 }
17195 _ACEOF
17196 rm -f conftest.o conftest.obj
17197 if { (ac_try="$ac_compile"
17198 case "(($ac_try" in
17199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17200 *) ac_try_echo=$ac_try;;
17201 esac
17202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17203 (eval "$ac_compile") 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; then
17207 for ac_file in conftest.o conftest.obj conftest.*; do
17208 test -f "$ac_file" || continue;
17209 case $ac_file in
17210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17211 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17212 break;;
17213 esac
17214 done
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17220 See \`config.log' for more details." >&5
17221 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17222 See \`config.log' for more details." >&2;}
17223 { (exit 1); exit 1; }; }
17224 fi
17225
17226 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17227 fi
17228 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17229 echo "${ECHO_T}$ac_cv_objext" >&6; }
17230 OBJEXT=$ac_cv_objext
17231 ac_objext=$OBJEXT
17232 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17233 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17234 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 else
17237 cat >conftest.$ac_ext <<_ACEOF
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243
17244 int
17245 main ()
17246 {
17247 #ifndef __GNUC__
17248 choke me
17249 #endif
17250
17251 ;
17252 return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17260 esac
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>conftest.er1
17263 ac_status=$?
17264 grep -v '^ *+' conftest.er1 >conftest.err
17265 rm -f conftest.er1
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && {
17269 test -z "$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17271 } && test -s conftest.$ac_objext; then
17272 ac_compiler_gnu=yes
17273 else
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17276
17277 ac_compiler_gnu=no
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17282
17283 fi
17284 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17285 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17286 GCC=`test $ac_compiler_gnu = yes && echo yes`
17287 ac_test_CFLAGS=${CFLAGS+set}
17288 ac_save_CFLAGS=$CFLAGS
17289 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17290 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17291 if test "${ac_cv_prog_cc_g+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 else
17294 ac_save_c_werror_flag=$ac_c_werror_flag
17295 ac_c_werror_flag=yes
17296 ac_cv_prog_cc_g=no
17297 CFLAGS="-g"
17298 cat >conftest.$ac_ext <<_ACEOF
17299 /* confdefs.h. */
17300 _ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304
17305 int
17306 main ()
17307 {
17308
17309 ;
17310 return 0;
17311 }
17312 _ACEOF
17313 rm -f conftest.$ac_objext
17314 if { (ac_try="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17318 esac
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_c_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 ac_cv_prog_cc_g=yes
17331 else
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17334
17335 CFLAGS=""
17336 cat >conftest.$ac_ext <<_ACEOF
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342
17343 int
17344 main ()
17345 {
17346
17347 ;
17348 return 0;
17349 }
17350 _ACEOF
17351 rm -f conftest.$ac_objext
17352 if { (ac_try="$ac_compile"
17353 case "(($ac_try" in
17354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17355 *) ac_try_echo=$ac_try;;
17356 esac
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_compile") 2>conftest.er1
17359 ac_status=$?
17360 grep -v '^ *+' conftest.er1 >conftest.err
17361 rm -f conftest.er1
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_c_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest.$ac_objext; then
17368 :
17369 else
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17372
17373 ac_c_werror_flag=$ac_save_c_werror_flag
17374 CFLAGS="-g"
17375 cat >conftest.$ac_ext <<_ACEOF
17376 /* confdefs.h. */
17377 _ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381
17382 int
17383 main ()
17384 {
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (ac_try="$ac_compile"
17392 case "(($ac_try" in
17393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17394 *) ac_try_echo=$ac_try;;
17395 esac
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_compile") 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } && {
17404 test -z "$ac_c_werror_flag" ||
17405 test ! -s conftest.err
17406 } && test -s conftest.$ac_objext; then
17407 ac_cv_prog_cc_g=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412
17413 fi
17414
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 fi
17420
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 ac_c_werror_flag=$ac_save_c_werror_flag
17423 fi
17424 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17426 if test "$ac_test_CFLAGS" = set; then
17427 CFLAGS=$ac_save_CFLAGS
17428 elif test $ac_cv_prog_cc_g = yes; then
17429 if test "$GCC" = yes; then
17430 CFLAGS="-g -O2"
17431 else
17432 CFLAGS="-g"
17433 fi
17434 else
17435 if test "$GCC" = yes; then
17436 CFLAGS="-O2"
17437 else
17438 CFLAGS=
17439 fi
17440 fi
17441 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17442 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17443 if test "${ac_cv_prog_cc_c89+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 else
17446 ac_cv_prog_cc_c89=no
17447 ac_save_CC=$CC
17448 cat >conftest.$ac_ext <<_ACEOF
17449 /* confdefs.h. */
17450 _ACEOF
17451 cat confdefs.h >>conftest.$ac_ext
17452 cat >>conftest.$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 #include <stdarg.h>
17455 #include <stdio.h>
17456 #include <sys/types.h>
17457 #include <sys/stat.h>
17458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17459 struct buf { int x; };
17460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17461 static char *e (p, i)
17462 char **p;
17463 int i;
17464 {
17465 return p[i];
17466 }
17467 static char *f (char * (*g) (char **, int), char **p, ...)
17468 {
17469 char *s;
17470 va_list v;
17471 va_start (v,p);
17472 s = g (p, va_arg (v,int));
17473 va_end (v);
17474 return s;
17475 }
17476
17477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17478 function prototypes and stuff, but not '\xHH' hex character constants.
17479 These don't provoke an error unfortunately, instead are silently treated
17480 as 'x'. The following induces an error, until -std is added to get
17481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17482 array size at least. It's necessary to write '\x00'==0 to get something
17483 that's true only with -std. */
17484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17485
17486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17487 inside strings and character constants. */
17488 #define FOO(x) 'x'
17489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17490
17491 int test (int i, double x);
17492 struct s1 {int (*f) (int a);};
17493 struct s2 {int (*f) (double a);};
17494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17495 int argc;
17496 char **argv;
17497 int
17498 main ()
17499 {
17500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17501 ;
17502 return 0;
17503 }
17504 _ACEOF
17505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17507 do
17508 CC="$ac_save_CC $ac_arg"
17509 rm -f conftest.$ac_objext
17510 if { (ac_try="$ac_compile"
17511 case "(($ac_try" in
17512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17513 *) ac_try_echo=$ac_try;;
17514 esac
17515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17516 (eval "$ac_compile") 2>conftest.er1
17517 ac_status=$?
17518 grep -v '^ *+' conftest.er1 >conftest.err
17519 rm -f conftest.er1
17520 cat conftest.err >&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } && {
17523 test -z "$ac_c_werror_flag" ||
17524 test ! -s conftest.err
17525 } && test -s conftest.$ac_objext; then
17526 ac_cv_prog_cc_c89=$ac_arg
17527 else
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17530
17531
17532 fi
17533
17534 rm -f core conftest.err conftest.$ac_objext
17535 test "x$ac_cv_prog_cc_c89" != "xno" && break
17536 done
17537 rm -f conftest.$ac_ext
17538 CC=$ac_save_CC
17539
17540 fi
17541 # AC_CACHE_VAL
17542 case "x$ac_cv_prog_cc_c89" in
17543 x)
17544 { echo "$as_me:$LINENO: result: none needed" >&5
17545 echo "${ECHO_T}none needed" >&6; } ;;
17546 xno)
17547 { echo "$as_me:$LINENO: result: unsupported" >&5
17548 echo "${ECHO_T}unsupported" >&6; } ;;
17549 *)
17550 CC="$CC $ac_cv_prog_cc_c89"
17551 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17552 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17553 esac
17554
17555
17556 ac_ext=c
17557 ac_cpp='$CPP $CPPFLAGS'
17558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17561
17562
17563
17564
17565 ac_ext=c
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17570
17571 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17572 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17573 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576 cat >conftest.$ac_ext <<_ACEOF
17577 /* confdefs.h. */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582
17583 int
17584 main ()
17585 {
17586
17587 #ifndef __INTEL_COMPILER
17588 choke me
17589 #endif
17590
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17600 esac
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_c_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 bakefile_cv_c_compiler___INTEL_COMPILER=no
17618
17619 fi
17620
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622
17623
17624 fi
17625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17626 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17627 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17628 :; INTELCC=yes
17629 else
17630 :;
17631 fi
17632 ac_ext=c
17633 ac_cpp='$CPP $CPPFLAGS'
17634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17637
17638
17639
17640
17641 if test "x$GCC" != "xyes"; then
17642 if test "xCC" = "xC"; then
17643 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17644 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17645 if test "${bakefile_cv_c_exto+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 cat >conftest.$ac_ext <<_ACEOF
17649 /* confdefs.h. */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654
17655 int
17656 main ()
17657 {
17658
17659 ;
17660 return 0;
17661 }
17662 _ACEOF
17663 rm -f conftest.$ac_objext conftest.$ac_ext.o
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665 (eval $ac_compile) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; then
17669 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17670 case $ac_file in
17671 conftest.$ac_ext.o)
17672 bakefile_cv_c_exto="-ext o"
17673 ;;
17674 *)
17675 ;;
17676 esac
17677 done
17678 else
17679 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17680 See \`config.log' for more details." >&5
17681 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17682 See \`config.log' for more details." >&2;}
17683 { (exit 1); exit 1; }; }
17684
17685 fi
17686
17687 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17688
17689 fi
17690 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17691 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17692 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17693 if test "c" = "c"; then
17694 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17695 fi
17696 if test "c" = "cxx"; then
17697 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17698 fi
17699 fi
17700
17701 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17702 unset ac_cv_prog_cc_g
17703 ac_test_CFLAGS=${CFLAGS+set}
17704 ac_save_CFLAGS=$CFLAGS
17705 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17707 if test "${ac_cv_prog_cc_g+set}" = set; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17709 else
17710 ac_save_c_werror_flag=$ac_c_werror_flag
17711 ac_c_werror_flag=yes
17712 ac_cv_prog_cc_g=no
17713 CFLAGS="-g"
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720
17721 int
17722 main ()
17723 {
17724
17725 ;
17726 return 0;
17727 }
17728 _ACEOF
17729 rm -f conftest.$ac_objext
17730 if { (ac_try="$ac_compile"
17731 case "(($ac_try" in
17732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17733 *) ac_try_echo=$ac_try;;
17734 esac
17735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17736 (eval "$ac_compile") 2>conftest.er1
17737 ac_status=$?
17738 grep -v '^ *+' conftest.er1 >conftest.err
17739 rm -f conftest.er1
17740 cat conftest.err >&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } && {
17743 test -z "$ac_c_werror_flag" ||
17744 test ! -s conftest.err
17745 } && test -s conftest.$ac_objext; then
17746 ac_cv_prog_cc_g=yes
17747 else
17748 echo "$as_me: failed program was:" >&5
17749 sed 's/^/| /' conftest.$ac_ext >&5
17750
17751 CFLAGS=""
17752 cat >conftest.$ac_ext <<_ACEOF
17753 /* confdefs.h. */
17754 _ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758
17759 int
17760 main ()
17761 {
17762
17763 ;
17764 return 0;
17765 }
17766 _ACEOF
17767 rm -f conftest.$ac_objext
17768 if { (ac_try="$ac_compile"
17769 case "(($ac_try" in
17770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17771 *) ac_try_echo=$ac_try;;
17772 esac
17773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17774 (eval "$ac_compile") 2>conftest.er1
17775 ac_status=$?
17776 grep -v '^ *+' conftest.er1 >conftest.err
17777 rm -f conftest.er1
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } && {
17781 test -z "$ac_c_werror_flag" ||
17782 test ! -s conftest.err
17783 } && test -s conftest.$ac_objext; then
17784 :
17785 else
17786 echo "$as_me: failed program was:" >&5
17787 sed 's/^/| /' conftest.$ac_ext >&5
17788
17789 ac_c_werror_flag=$ac_save_c_werror_flag
17790 CFLAGS="-g"
17791 cat >conftest.$ac_ext <<_ACEOF
17792 /* confdefs.h. */
17793 _ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797
17798 int
17799 main ()
17800 {
17801
17802 ;
17803 return 0;
17804 }
17805 _ACEOF
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17811 esac
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 ac_cv_prog_cc_g=yes
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828
17829 fi
17830
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 fi
17833
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 fi
17836
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 ac_c_werror_flag=$ac_save_c_werror_flag
17839 fi
17840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17842 if test "$ac_test_CFLAGS" = set; then
17843 CFLAGS=$ac_save_CFLAGS
17844 elif test $ac_cv_prog_cc_g = yes; then
17845 if test "$GCC" = yes; then
17846 CFLAGS="-g -O2"
17847 else
17848 CFLAGS="-g"
17849 fi
17850 else
17851 if test "$GCC" = yes; then
17852 CFLAGS="-O2"
17853 else
17854 CFLAGS=
17855 fi
17856 fi
17857 fi
17858 fi
17859
17860 case `uname -s` in
17861 AIX*)
17862
17863
17864 ac_ext=c
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17869
17870 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17871 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17872 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17874 else
17875 cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h. */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881
17882 int
17883 main ()
17884 {
17885
17886 #ifndef __xlC__
17887 choke me
17888 #endif
17889
17890 ;
17891 return 0;
17892 }
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (ac_try="$ac_compile"
17896 case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17899 esac
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_compile") 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } && {
17908 test -z "$ac_c_werror_flag" ||
17909 test ! -s conftest.err
17910 } && test -s conftest.$ac_objext; then
17911 bakefile_cv_c_compiler___xlC__=yes
17912 else
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17915
17916 bakefile_cv_c_compiler___xlC__=no
17917
17918 fi
17919
17920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921
17922
17923 fi
17924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17925 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17926 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17927 :; XLCC=yes
17928 else
17929 :;
17930 fi
17931 ac_ext=c
17932 ac_cpp='$CPP $CPPFLAGS'
17933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17936
17937
17938
17939 ;;
17940
17941 Darwin)
17942
17943
17944 ac_ext=c
17945 ac_cpp='$CPP $CPPFLAGS'
17946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17949
17950 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17951 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17952 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17954 else
17955 cat >conftest.$ac_ext <<_ACEOF
17956 /* confdefs.h. */
17957 _ACEOF
17958 cat confdefs.h >>conftest.$ac_ext
17959 cat >>conftest.$ac_ext <<_ACEOF
17960 /* end confdefs.h. */
17961
17962 int
17963 main ()
17964 {
17965
17966 #ifndef __MWERKS__
17967 choke me
17968 #endif
17969
17970 ;
17971 return 0;
17972 }
17973 _ACEOF
17974 rm -f conftest.$ac_objext
17975 if { (ac_try="$ac_compile"
17976 case "(($ac_try" in
17977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17978 *) ac_try_echo=$ac_try;;
17979 esac
17980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17981 (eval "$ac_compile") 2>conftest.er1
17982 ac_status=$?
17983 grep -v '^ *+' conftest.er1 >conftest.err
17984 rm -f conftest.er1
17985 cat conftest.err >&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } && {
17988 test -z "$ac_c_werror_flag" ||
17989 test ! -s conftest.err
17990 } && test -s conftest.$ac_objext; then
17991 bakefile_cv_c_compiler___MWERKS__=yes
17992 else
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.$ac_ext >&5
17995
17996 bakefile_cv_c_compiler___MWERKS__=no
17997
17998 fi
17999
18000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18001
18002
18003 fi
18004 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18005 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18006 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18007 :; MWCC=yes
18008 else
18009 :;
18010 fi
18011 ac_ext=c
18012 ac_cpp='$CPP $CPPFLAGS'
18013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18016
18017
18018
18019
18020
18021 ac_ext=c
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18026
18027 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18028 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18029 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 else
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038
18039 int
18040 main ()
18041 {
18042
18043 #ifndef __xlC__
18044 choke me
18045 #endif
18046
18047 ;
18048 return 0;
18049 }
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (ac_try="$ac_compile"
18053 case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18056 esac
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_compile") 2>conftest.er1
18059 ac_status=$?
18060 grep -v '^ *+' conftest.er1 >conftest.err
18061 rm -f conftest.er1
18062 cat conftest.err >&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && {
18065 test -z "$ac_c_werror_flag" ||
18066 test ! -s conftest.err
18067 } && test -s conftest.$ac_objext; then
18068 bakefile_cv_c_compiler___xlC__=yes
18069 else
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18072
18073 bakefile_cv_c_compiler___xlC__=no
18074
18075 fi
18076
18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078
18079
18080 fi
18081 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18082 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18083 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18084 :; XLCC=yes
18085 else
18086 :;
18087 fi
18088 ac_ext=c
18089 ac_cpp='$CPP $CPPFLAGS'
18090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18093
18094
18095
18096 ;;
18097
18098 IRIX*)
18099
18100
18101 ac_ext=c
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18106
18107 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18108 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18109 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 else
18112 cat >conftest.$ac_ext <<_ACEOF
18113 /* confdefs.h. */
18114 _ACEOF
18115 cat confdefs.h >>conftest.$ac_ext
18116 cat >>conftest.$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18118
18119 int
18120 main ()
18121 {
18122
18123 #ifndef _SGI_COMPILER_VERSION
18124 choke me
18125 #endif
18126
18127 ;
18128 return 0;
18129 }
18130 _ACEOF
18131 rm -f conftest.$ac_objext
18132 if { (ac_try="$ac_compile"
18133 case "(($ac_try" in
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18135 *) ac_try_echo=$ac_try;;
18136 esac
18137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18138 (eval "$ac_compile") 2>conftest.er1
18139 ac_status=$?
18140 grep -v '^ *+' conftest.er1 >conftest.err
18141 rm -f conftest.er1
18142 cat conftest.err >&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); } && {
18145 test -z "$ac_c_werror_flag" ||
18146 test ! -s conftest.err
18147 } && test -s conftest.$ac_objext; then
18148 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18149 else
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.$ac_ext >&5
18152
18153 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18154
18155 fi
18156
18157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18158
18159
18160 fi
18161 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18162 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18163 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18164 :; SGICC=yes
18165 else
18166 :;
18167 fi
18168 ac_ext=c
18169 ac_cpp='$CPP $CPPFLAGS'
18170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18173
18174
18175
18176 ;;
18177
18178 Linux*)
18179
18180
18181 ac_ext=c
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18186
18187 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18188 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18189 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18191 else
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198
18199 int
18200 main ()
18201 {
18202
18203 #ifndef __SUNPRO_C
18204 choke me
18205 #endif
18206
18207 ;
18208 return 0;
18209 }
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (ac_try="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18216 esac
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18228 bakefile_cv_c_compiler___SUNPRO_C=yes
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18232
18233 bakefile_cv_c_compiler___SUNPRO_C=no
18234
18235 fi
18236
18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18238
18239
18240 fi
18241 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18242 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18243 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18244 :; SUNCC=yes
18245 else
18246 :;
18247 fi
18248 ac_ext=c
18249 ac_cpp='$CPP $CPPFLAGS'
18250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253
18254
18255
18256 ;;
18257
18258 HP-UX*)
18259
18260
18261 ac_ext=c
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18266
18267 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18268 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18269 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18270 echo $ECHO_N "(cached) $ECHO_C" >&6
18271 else
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18278
18279 int
18280 main ()
18281 {
18282
18283 #ifndef __HP_cc
18284 choke me
18285 #endif
18286
18287 ;
18288 return 0;
18289 }
18290 _ACEOF
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 *) ac_try_echo=$ac_try;;
18296 esac
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18299 ac_status=$?
18300 grep -v '^ *+' conftest.er1 >conftest.err
18301 rm -f conftest.er1
18302 cat conftest.err >&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then
18308 bakefile_cv_c_compiler___HP_cc=yes
18309 else
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18312
18313 bakefile_cv_c_compiler___HP_cc=no
18314
18315 fi
18316
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18318
18319
18320 fi
18321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18322 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18323 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18324 :; HPCC=yes
18325 else
18326 :;
18327 fi
18328 ac_ext=c
18329 ac_cpp='$CPP $CPPFLAGS'
18330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18333
18334
18335
18336 ;;
18337
18338 OSF1)
18339
18340
18341 ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346
18347 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18348 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18349 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 else
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358
18359 int
18360 main ()
18361 {
18362
18363 #ifndef __DECC
18364 choke me
18365 #endif
18366
18367 ;
18368 return 0;
18369 }
18370 _ACEOF
18371 rm -f conftest.$ac_objext
18372 if { (ac_try="$ac_compile"
18373 case "(($ac_try" in
18374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18375 *) ac_try_echo=$ac_try;;
18376 esac
18377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18378 (eval "$ac_compile") 2>conftest.er1
18379 ac_status=$?
18380 grep -v '^ *+' conftest.er1 >conftest.err
18381 rm -f conftest.er1
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } && {
18385 test -z "$ac_c_werror_flag" ||
18386 test ! -s conftest.err
18387 } && test -s conftest.$ac_objext; then
18388 bakefile_cv_c_compiler___DECC=yes
18389 else
18390 echo "$as_me: failed program was:" >&5
18391 sed 's/^/| /' conftest.$ac_ext >&5
18392
18393 bakefile_cv_c_compiler___DECC=no
18394
18395 fi
18396
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398
18399
18400 fi
18401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18402 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18403 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18404 :; COMPAQCC=yes
18405 else
18406 :;
18407 fi
18408 ac_ext=c
18409 ac_cpp='$CPP $CPPFLAGS'
18410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18413
18414
18415
18416 ;;
18417
18418 SunOS)
18419
18420
18421 ac_ext=c
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18426
18427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 else
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438
18439 int
18440 main ()
18441 {
18442
18443 #ifndef __SUNPRO_C
18444 choke me
18445 #endif
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 bakefile_cv_c_compiler___SUNPRO_C=yes
18469 else
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.$ac_ext >&5
18472
18473 bakefile_cv_c_compiler___SUNPRO_C=no
18474
18475 fi
18476
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18478
18479
18480 fi
18481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18483 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18484 :; SUNCC=yes
18485 else
18486 :;
18487 fi
18488 ac_ext=c
18489 ac_cpp='$CPP $CPPFLAGS'
18490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18493
18494
18495
18496 ;;
18497 esac
18498 fi
18499
18500
18501
18502 ac_ext=c
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18508 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18509 # On Suns, sometimes $CPP names a directory.
18510 if test -n "$CPP" && test -d "$CPP"; then
18511 CPP=
18512 fi
18513 if test -z "$CPP"; then
18514 if test "${ac_cv_prog_CPP+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 else
18517 # Double quotes because CPP needs to be expanded
18518 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18519 do
18520 ac_preproc_ok=false
18521 for ac_c_preproc_warn_flag in '' yes
18522 do
18523 # Use a header file that comes with gcc, so configuring glibc
18524 # with a fresh cross-compiler works.
18525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18526 # <limits.h> exists even on freestanding compilers.
18527 # On the NeXT, cc -E runs the code through the compiler's parser,
18528 # not just through cpp. "Syntax error" is here to catch this case.
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 #ifdef __STDC__
18536 # include <limits.h>
18537 #else
18538 # include <assert.h>
18539 #endif
18540 Syntax error
18541 _ACEOF
18542 if { (ac_try="$ac_cpp conftest.$ac_ext"
18543 case "(($ac_try" in
18544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18545 *) ac_try_echo=$ac_try;;
18546 esac
18547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18549 ac_status=$?
18550 grep -v '^ *+' conftest.er1 >conftest.err
18551 rm -f conftest.er1
18552 cat conftest.err >&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } >/dev/null && {
18555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18556 test ! -s conftest.err
18557 }; then
18558 :
18559 else
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18562
18563 # Broken: fails on valid input.
18564 continue
18565 fi
18566
18567 rm -f conftest.err conftest.$ac_ext
18568
18569 # OK, works on sane cases. Now check whether nonexistent headers
18570 # can be detected and how.
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <ac_nonexistent.h>
18578 _ACEOF
18579 if { (ac_try="$ac_cpp conftest.$ac_ext"
18580 case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18583 esac
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } >/dev/null && {
18592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18593 test ! -s conftest.err
18594 }; then
18595 # Broken: success on invalid input.
18596 continue
18597 else
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18600
18601 # Passes both tests.
18602 ac_preproc_ok=:
18603 break
18604 fi
18605
18606 rm -f conftest.err conftest.$ac_ext
18607
18608 done
18609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18610 rm -f conftest.err conftest.$ac_ext
18611 if $ac_preproc_ok; then
18612 break
18613 fi
18614
18615 done
18616 ac_cv_prog_CPP=$CPP
18617
18618 fi
18619 CPP=$ac_cv_prog_CPP
18620 else
18621 ac_cv_prog_CPP=$CPP
18622 fi
18623 { echo "$as_me:$LINENO: result: $CPP" >&5
18624 echo "${ECHO_T}$CPP" >&6; }
18625 ac_preproc_ok=false
18626 for ac_c_preproc_warn_flag in '' yes
18627 do
18628 # Use a header file that comes with gcc, so configuring glibc
18629 # with a fresh cross-compiler works.
18630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18631 # <limits.h> exists even on freestanding compilers.
18632 # On the NeXT, cc -E runs the code through the compiler's parser,
18633 # not just through cpp. "Syntax error" is here to catch this case.
18634 cat >conftest.$ac_ext <<_ACEOF
18635 /* confdefs.h. */
18636 _ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18640 #ifdef __STDC__
18641 # include <limits.h>
18642 #else
18643 # include <assert.h>
18644 #endif
18645 Syntax error
18646 _ACEOF
18647 if { (ac_try="$ac_cpp conftest.$ac_ext"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18651 esac
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18654 ac_status=$?
18655 grep -v '^ *+' conftest.er1 >conftest.err
18656 rm -f conftest.er1
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } >/dev/null && {
18660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18661 test ! -s conftest.err
18662 }; then
18663 :
18664 else
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18667
18668 # Broken: fails on valid input.
18669 continue
18670 fi
18671
18672 rm -f conftest.err conftest.$ac_ext
18673
18674 # OK, works on sane cases. Now check whether nonexistent headers
18675 # can be detected and how.
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 #include <ac_nonexistent.h>
18683 _ACEOF
18684 if { (ac_try="$ac_cpp conftest.$ac_ext"
18685 case "(($ac_try" in
18686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18687 *) ac_try_echo=$ac_try;;
18688 esac
18689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18691 ac_status=$?
18692 grep -v '^ *+' conftest.er1 >conftest.err
18693 rm -f conftest.er1
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } >/dev/null && {
18697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18698 test ! -s conftest.err
18699 }; then
18700 # Broken: success on invalid input.
18701 continue
18702 else
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18705
18706 # Passes both tests.
18707 ac_preproc_ok=:
18708 break
18709 fi
18710
18711 rm -f conftest.err conftest.$ac_ext
18712
18713 done
18714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18715 rm -f conftest.err conftest.$ac_ext
18716 if $ac_preproc_ok; then
18717 :
18718 else
18719 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18720 See \`config.log' for more details." >&5
18721 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18722 See \`config.log' for more details." >&2;}
18723 { (exit 1); exit 1; }; }
18724 fi
18725
18726 ac_ext=c
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18731
18732
18733 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18734 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18735 if test "${ac_cv_path_GREP+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 # Extract the first word of "grep ggrep" to use in msg output
18739 if test -z "$GREP"; then
18740 set dummy grep ggrep; ac_prog_name=$2
18741 if test "${ac_cv_path_GREP+set}" = set; then
18742 echo $ECHO_N "(cached) $ECHO_C" >&6
18743 else
18744 ac_path_GREP_found=false
18745 # Loop through the user's path and test for each of PROGNAME-LIST
18746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18748 do
18749 IFS=$as_save_IFS
18750 test -z "$as_dir" && as_dir=.
18751 for ac_prog in grep ggrep; do
18752 for ac_exec_ext in '' $ac_executable_extensions; do
18753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18755 # Check for GNU ac_path_GREP and select it if it is found.
18756 # Check for GNU $ac_path_GREP
18757 case `"$ac_path_GREP" --version 2>&1` in
18758 *GNU*)
18759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18760 *)
18761 ac_count=0
18762 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18763 while :
18764 do
18765 cat "conftest.in" "conftest.in" >"conftest.tmp"
18766 mv "conftest.tmp" "conftest.in"
18767 cp "conftest.in" "conftest.nl"
18768 echo 'GREP' >> "conftest.nl"
18769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18771 ac_count=`expr $ac_count + 1`
18772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18773 # Best one so far, save it but keep looking for a better one
18774 ac_cv_path_GREP="$ac_path_GREP"
18775 ac_path_GREP_max=$ac_count
18776 fi
18777 # 10*(2^10) chars as input seems more than enough
18778 test $ac_count -gt 10 && break
18779 done
18780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18781 esac
18782
18783
18784 $ac_path_GREP_found && break 3
18785 done
18786 done
18787
18788 done
18789 IFS=$as_save_IFS
18790
18791
18792 fi
18793
18794 GREP="$ac_cv_path_GREP"
18795 if test -z "$GREP"; then
18796 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18797 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18798 { (exit 1); exit 1; }; }
18799 fi
18800
18801 else
18802 ac_cv_path_GREP=$GREP
18803 fi
18804
18805
18806 fi
18807 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18808 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18809 GREP="$ac_cv_path_GREP"
18810
18811
18812 { echo "$as_me:$LINENO: checking for egrep" >&5
18813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18814 if test "${ac_cv_path_EGREP+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18817 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18818 then ac_cv_path_EGREP="$GREP -E"
18819 else
18820 # Extract the first word of "egrep" to use in msg output
18821 if test -z "$EGREP"; then
18822 set dummy egrep; ac_prog_name=$2
18823 if test "${ac_cv_path_EGREP+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 else
18826 ac_path_EGREP_found=false
18827 # Loop through the user's path and test for each of PROGNAME-LIST
18828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18830 do
18831 IFS=$as_save_IFS
18832 test -z "$as_dir" && as_dir=.
18833 for ac_prog in egrep; do
18834 for ac_exec_ext in '' $ac_executable_extensions; do
18835 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18836 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18837 # Check for GNU ac_path_EGREP and select it if it is found.
18838 # Check for GNU $ac_path_EGREP
18839 case `"$ac_path_EGREP" --version 2>&1` in
18840 *GNU*)
18841 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18842 *)
18843 ac_count=0
18844 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18845 while :
18846 do
18847 cat "conftest.in" "conftest.in" >"conftest.tmp"
18848 mv "conftest.tmp" "conftest.in"
18849 cp "conftest.in" "conftest.nl"
18850 echo 'EGREP' >> "conftest.nl"
18851 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18853 ac_count=`expr $ac_count + 1`
18854 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18855 # Best one so far, save it but keep looking for a better one
18856 ac_cv_path_EGREP="$ac_path_EGREP"
18857 ac_path_EGREP_max=$ac_count
18858 fi
18859 # 10*(2^10) chars as input seems more than enough
18860 test $ac_count -gt 10 && break
18861 done
18862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18863 esac
18864
18865
18866 $ac_path_EGREP_found && break 3
18867 done
18868 done
18869
18870 done
18871 IFS=$as_save_IFS
18872
18873
18874 fi
18875
18876 EGREP="$ac_cv_path_EGREP"
18877 if test -z "$EGREP"; then
18878 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18879 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18880 { (exit 1); exit 1; }; }
18881 fi
18882
18883 else
18884 ac_cv_path_EGREP=$EGREP
18885 fi
18886
18887
18888 fi
18889 fi
18890 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18891 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18892 EGREP="$ac_cv_path_EGREP"
18893
18894
18895 if test $ac_cv_c_compiler_gnu = yes; then
18896 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18897 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18898 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 ac_pattern="Autoconf.*'x'"
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 #include <sgtty.h>
18909 Autoconf TIOCGETP
18910 _ACEOF
18911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18912 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18913 ac_cv_prog_gcc_traditional=yes
18914 else
18915 ac_cv_prog_gcc_traditional=no
18916 fi
18917 rm -f conftest*
18918
18919
18920 if test $ac_cv_prog_gcc_traditional = no; then
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 #include <termio.h>
18928 Autoconf TCGETA
18929 _ACEOF
18930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18931 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18932 ac_cv_prog_gcc_traditional=yes
18933 fi
18934 rm -f conftest*
18935
18936 fi
18937 fi
18938 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18939 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18940 if test $ac_cv_prog_gcc_traditional = yes; then
18941 CC="$CC -traditional"
18942 fi
18943 fi
18944
18945
18946 CXXFLAGS=${CXXFLAGS:=}
18947
18948
18949
18950 ac_ext=cpp
18951 ac_cpp='$CXXCPP $CPPFLAGS'
18952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18955 if test -z "$CXX"; then
18956 if test -n "$CCC"; then
18957 CXX=$CCC
18958 else
18959 if test -n "$ac_tool_prefix"; then
18960 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18961 do
18962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18966 if test "${ac_cv_prog_CXX+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 if test -n "$CXX"; then
18970 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18971 else
18972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18973 for as_dir in $PATH
18974 do
18975 IFS=$as_save_IFS
18976 test -z "$as_dir" && as_dir=.
18977 for ac_exec_ext in '' $ac_executable_extensions; do
18978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18979 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18981 break 2
18982 fi
18983 done
18984 done
18985 IFS=$as_save_IFS
18986
18987 fi
18988 fi
18989 CXX=$ac_cv_prog_CXX
18990 if test -n "$CXX"; then
18991 { echo "$as_me:$LINENO: result: $CXX" >&5
18992 echo "${ECHO_T}$CXX" >&6; }
18993 else
18994 { echo "$as_me:$LINENO: result: no" >&5
18995 echo "${ECHO_T}no" >&6; }
18996 fi
18997
18998
18999 test -n "$CXX" && break
19000 done
19001 fi
19002 if test -z "$CXX"; then
19003 ac_ct_CXX=$CXX
19004 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19005 do
19006 # Extract the first word of "$ac_prog", so it can be a program name with args.
19007 set dummy $ac_prog; ac_word=$2
19008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19010 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 else
19013 if test -n "$ac_ct_CXX"; then
19014 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19015 else
19016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19017 for as_dir in $PATH
19018 do
19019 IFS=$as_save_IFS
19020 test -z "$as_dir" && as_dir=.
19021 for ac_exec_ext in '' $ac_executable_extensions; do
19022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19023 ac_cv_prog_ac_ct_CXX="$ac_prog"
19024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19025 break 2
19026 fi
19027 done
19028 done
19029 IFS=$as_save_IFS
19030
19031 fi
19032 fi
19033 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19034 if test -n "$ac_ct_CXX"; then
19035 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19036 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19037 else
19038 { echo "$as_me:$LINENO: result: no" >&5
19039 echo "${ECHO_T}no" >&6; }
19040 fi
19041
19042
19043 test -n "$ac_ct_CXX" && break
19044 done
19045
19046 if test "x$ac_ct_CXX" = x; then
19047 CXX="g++"
19048 else
19049 case $cross_compiling:$ac_tool_warned in
19050 yes:)
19051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19052 whose name does not start with the host triplet. If you think this
19053 configuration is useful to you, please write to autoconf@gnu.org." >&5
19054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19055 whose name does not start with the host triplet. If you think this
19056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19057 ac_tool_warned=yes ;;
19058 esac
19059 CXX=$ac_ct_CXX
19060 fi
19061 fi
19062
19063 fi
19064 fi
19065 # Provide some information about the compiler.
19066 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19067 ac_compiler=`set X $ac_compile; echo $2`
19068 { (ac_try="$ac_compiler --version >&5"
19069 case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compiler --version >&5") 2>&5
19075 ac_status=$?
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }
19078 { (ac_try="$ac_compiler -v >&5"
19079 case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19081 *) ac_try_echo=$ac_try;;
19082 esac
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_compiler -v >&5") 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }
19088 { (ac_try="$ac_compiler -V >&5"
19089 case "(($ac_try" in
19090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19092 esac
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_compiler -V >&5") 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }
19098
19099 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19100 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19101 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19102 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 else
19104 cat >conftest.$ac_ext <<_ACEOF
19105 /* confdefs.h. */
19106 _ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110
19111 int
19112 main ()
19113 {
19114 #ifndef __GNUC__
19115 choke me
19116 #endif
19117
19118 ;
19119 return 0;
19120 }
19121 _ACEOF
19122 rm -f conftest.$ac_objext
19123 if { (ac_try="$ac_compile"
19124 case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19127 esac
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_compile") 2>conftest.er1
19130 ac_status=$?
19131 grep -v '^ *+' conftest.er1 >conftest.err
19132 rm -f conftest.er1
19133 cat conftest.err >&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } && {
19136 test -z "$ac_cxx_werror_flag" ||
19137 test ! -s conftest.err
19138 } && test -s conftest.$ac_objext; then
19139 ac_compiler_gnu=yes
19140 else
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 ac_compiler_gnu=no
19145 fi
19146
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19148 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19149
19150 fi
19151 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19152 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19153 GXX=`test $ac_compiler_gnu = yes && echo yes`
19154 ac_test_CXXFLAGS=${CXXFLAGS+set}
19155 ac_save_CXXFLAGS=$CXXFLAGS
19156 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19158 if test "${ac_cv_prog_cxx_g+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19162 ac_cxx_werror_flag=yes
19163 ac_cv_prog_cxx_g=no
19164 CXXFLAGS="-g"
19165 cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h. */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171
19172 int
19173 main ()
19174 {
19175
19176 ;
19177 return 0;
19178 }
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_cxx_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_prog_cxx_g=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19201
19202 CXXFLAGS=""
19203 cat >conftest.$ac_ext <<_ACEOF
19204 /* confdefs.h. */
19205 _ACEOF
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209
19210 int
19211 main ()
19212 {
19213
19214 ;
19215 return 0;
19216 }
19217 _ACEOF
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_cxx_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 :
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19241 CXXFLAGS="-g"
19242 cat >conftest.$ac_ext <<_ACEOF
19243 /* confdefs.h. */
19244 _ACEOF
19245 cat confdefs.h >>conftest.$ac_ext
19246 cat >>conftest.$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19248
19249 int
19250 main ()
19251 {
19252
19253 ;
19254 return 0;
19255 }
19256 _ACEOF
19257 rm -f conftest.$ac_objext
19258 if { (ac_try="$ac_compile"
19259 case "(($ac_try" in
19260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261 *) ac_try_echo=$ac_try;;
19262 esac
19263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19264 (eval "$ac_compile") 2>conftest.er1
19265 ac_status=$?
19266 grep -v '^ *+' conftest.er1 >conftest.err
19267 rm -f conftest.er1
19268 cat conftest.err >&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } && {
19271 test -z "$ac_cxx_werror_flag" ||
19272 test ! -s conftest.err
19273 } && test -s conftest.$ac_objext; then
19274 ac_cv_prog_cxx_g=yes
19275 else
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279
19280 fi
19281
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 fi
19284
19285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19286 fi
19287
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19290 fi
19291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19292 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19293 if test "$ac_test_CXXFLAGS" = set; then
19294 CXXFLAGS=$ac_save_CXXFLAGS
19295 elif test $ac_cv_prog_cxx_g = yes; then
19296 if test "$GXX" = yes; then
19297 CXXFLAGS="-g -O2"
19298 else
19299 CXXFLAGS="-g"
19300 fi
19301 else
19302 if test "$GXX" = yes; then
19303 CXXFLAGS="-O2"
19304 else
19305 CXXFLAGS=
19306 fi
19307 fi
19308 ac_ext=c
19309 ac_cpp='$CPP $CPPFLAGS'
19310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19313
19314
19315
19316
19317 ac_ext=cpp
19318 ac_cpp='$CXXCPP $CPPFLAGS'
19319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19322
19323 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19324 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19325 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 else
19328 cat >conftest.$ac_ext <<_ACEOF
19329 /* confdefs.h. */
19330 _ACEOF
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19334
19335 int
19336 main ()
19337 {
19338
19339 #ifndef __INTEL_COMPILER
19340 choke me
19341 #endif
19342
19343 ;
19344 return 0;
19345 }
19346 _ACEOF
19347 rm -f conftest.$ac_objext
19348 if { (ac_try="$ac_compile"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19352 esac
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_compile") 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && {
19361 test -z "$ac_cxx_werror_flag" ||
19362 test ! -s conftest.err
19363 } && test -s conftest.$ac_objext; then
19364 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19365 else
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.$ac_ext >&5
19368
19369 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19370
19371 fi
19372
19373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19374
19375
19376 fi
19377 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19378 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19379 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19380 :; INTELCXX=yes
19381 else
19382 :;
19383 fi
19384 ac_ext=c
19385 ac_cpp='$CPP $CPPFLAGS'
19386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19389
19390
19391
19392
19393 if test "x$GCXX" != "xyes"; then
19394 if test "xCXX" = "xC"; then
19395 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19396 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19397 if test "${bakefile_cv_c_exto+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 else
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406
19407 int
19408 main ()
19409 {
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext conftest.$ac_ext.o
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>&5
19418 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; then
19421 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19422 case $ac_file in
19423 conftest.$ac_ext.o)
19424 bakefile_cv_c_exto="-ext o"
19425 ;;
19426 *)
19427 ;;
19428 esac
19429 done
19430 else
19431 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19432 See \`config.log' for more details." >&5
19433 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19434 See \`config.log' for more details." >&2;}
19435 { (exit 1); exit 1; }; }
19436
19437 fi
19438
19439 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19440
19441 fi
19442 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19443 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19444 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19445 if test "c" = "c"; then
19446 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19447 fi
19448 if test "c" = "cxx"; then
19449 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19450 fi
19451 fi
19452
19453 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19454 unset ac_cv_prog_cc_g
19455 ac_test_CFLAGS=${CFLAGS+set}
19456 ac_save_CFLAGS=$CFLAGS
19457 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19458 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19459 if test "${ac_cv_prog_cc_g+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19461 else
19462 ac_save_c_werror_flag=$ac_c_werror_flag
19463 ac_c_werror_flag=yes
19464 ac_cv_prog_cc_g=no
19465 CFLAGS="-g"
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472
19473 int
19474 main ()
19475 {
19476
19477 ;
19478 return 0;
19479 }
19480 _ACEOF
19481 rm -f conftest.$ac_objext
19482 if { (ac_try="$ac_compile"
19483 case "(($ac_try" in
19484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19485 *) ac_try_echo=$ac_try;;
19486 esac
19487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19488 (eval "$ac_compile") 2>conftest.er1
19489 ac_status=$?
19490 grep -v '^ *+' conftest.er1 >conftest.err
19491 rm -f conftest.er1
19492 cat conftest.err >&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } && {
19495 test -z "$ac_c_werror_flag" ||
19496 test ! -s conftest.err
19497 } && test -s conftest.$ac_objext; then
19498 ac_cv_prog_cc_g=yes
19499 else
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.$ac_ext >&5
19502
19503 CFLAGS=""
19504 cat >conftest.$ac_ext <<_ACEOF
19505 /* confdefs.h. */
19506 _ACEOF
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510
19511 int
19512 main ()
19513 {
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19524 esac
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19527 ac_status=$?
19528 grep -v '^ *+' conftest.er1 >conftest.err
19529 rm -f conftest.er1
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 :
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19540
19541 ac_c_werror_flag=$ac_save_c_werror_flag
19542 CFLAGS="-g"
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549
19550 int
19551 main ()
19552 {
19553
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19563 esac
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_prog_cc_g=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580
19581 fi
19582
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 fi
19585
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 fi
19588
19589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19590 ac_c_werror_flag=$ac_save_c_werror_flag
19591 fi
19592 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19593 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19594 if test "$ac_test_CFLAGS" = set; then
19595 CFLAGS=$ac_save_CFLAGS
19596 elif test $ac_cv_prog_cc_g = yes; then
19597 if test "$GCC" = yes; then
19598 CFLAGS="-g -O2"
19599 else
19600 CFLAGS="-g"
19601 fi
19602 else
19603 if test "$GCC" = yes; then
19604 CFLAGS="-O2"
19605 else
19606 CFLAGS=
19607 fi
19608 fi
19609 fi
19610 fi
19611
19612 case `uname -s` in
19613 AIX*)
19614
19615
19616 ac_ext=cpp
19617 ac_cpp='$CXXCPP $CPPFLAGS'
19618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19621
19622 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19623 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19624 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 else
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633
19634 int
19635 main ()
19636 {
19637
19638 #ifndef __xlC__
19639 choke me
19640 #endif
19641
19642 ;
19643 return 0;
19644 }
19645 _ACEOF
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19651 esac
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_cxx_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.$ac_objext; then
19663 bakefile_cv_cxx_compiler___xlC__=yes
19664 else
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.$ac_ext >&5
19667
19668 bakefile_cv_cxx_compiler___xlC__=no
19669
19670 fi
19671
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673
19674
19675 fi
19676 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19677 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19678 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19679 :; XLCXX=yes
19680 else
19681 :;
19682 fi
19683 ac_ext=c
19684 ac_cpp='$CPP $CPPFLAGS'
19685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19688
19689
19690
19691 ;;
19692
19693 Darwin)
19694
19695
19696 ac_ext=cpp
19697 ac_cpp='$CXXCPP $CPPFLAGS'
19698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19701
19702 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19703 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19704 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 else
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h. */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713
19714 int
19715 main ()
19716 {
19717
19718 #ifndef __MWERKS__
19719 choke me
19720 #endif
19721
19722 ;
19723 return 0;
19724 }
19725 _ACEOF
19726 rm -f conftest.$ac_objext
19727 if { (ac_try="$ac_compile"
19728 case "(($ac_try" in
19729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19730 *) ac_try_echo=$ac_try;;
19731 esac
19732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19733 (eval "$ac_compile") 2>conftest.er1
19734 ac_status=$?
19735 grep -v '^ *+' conftest.er1 >conftest.err
19736 rm -f conftest.er1
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } && {
19740 test -z "$ac_cxx_werror_flag" ||
19741 test ! -s conftest.err
19742 } && test -s conftest.$ac_objext; then
19743 bakefile_cv_cxx_compiler___MWERKS__=yes
19744 else
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19747
19748 bakefile_cv_cxx_compiler___MWERKS__=no
19749
19750 fi
19751
19752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19753
19754
19755 fi
19756 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19757 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19758 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19759 :; MWCXX=yes
19760 else
19761 :;
19762 fi
19763 ac_ext=c
19764 ac_cpp='$CPP $CPPFLAGS'
19765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19768
19769
19770
19771
19772
19773 ac_ext=cpp
19774 ac_cpp='$CXXCPP $CPPFLAGS'
19775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19778
19779 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19780 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19781 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19782 echo $ECHO_N "(cached) $ECHO_C" >&6
19783 else
19784 cat >conftest.$ac_ext <<_ACEOF
19785 /* confdefs.h. */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790
19791 int
19792 main ()
19793 {
19794
19795 #ifndef __xlC__
19796 choke me
19797 #endif
19798
19799 ;
19800 return 0;
19801 }
19802 _ACEOF
19803 rm -f conftest.$ac_objext
19804 if { (ac_try="$ac_compile"
19805 case "(($ac_try" in
19806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19807 *) ac_try_echo=$ac_try;;
19808 esac
19809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19810 (eval "$ac_compile") 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } && {
19817 test -z "$ac_cxx_werror_flag" ||
19818 test ! -s conftest.err
19819 } && test -s conftest.$ac_objext; then
19820 bakefile_cv_cxx_compiler___xlC__=yes
19821 else
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19824
19825 bakefile_cv_cxx_compiler___xlC__=no
19826
19827 fi
19828
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830
19831
19832 fi
19833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19834 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19835 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19836 :; XLCXX=yes
19837 else
19838 :;
19839 fi
19840 ac_ext=c
19841 ac_cpp='$CPP $CPPFLAGS'
19842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19845
19846
19847
19848 ;;
19849
19850 IRIX*)
19851
19852
19853 ac_ext=cpp
19854 ac_cpp='$CXXCPP $CPPFLAGS'
19855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19858
19859 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19860 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19861 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19862 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 else
19864 cat >conftest.$ac_ext <<_ACEOF
19865 /* confdefs.h. */
19866 _ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870
19871 int
19872 main ()
19873 {
19874
19875 #ifndef _SGI_COMPILER_VERSION
19876 choke me
19877 #endif
19878
19879 ;
19880 return 0;
19881 }
19882 _ACEOF
19883 rm -f conftest.$ac_objext
19884 if { (ac_try="$ac_compile"
19885 case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19888 esac
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_compile") 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } && {
19897 test -z "$ac_cxx_werror_flag" ||
19898 test ! -s conftest.err
19899 } && test -s conftest.$ac_objext; then
19900 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19901 else
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.$ac_ext >&5
19904
19905 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19906
19907 fi
19908
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19910
19911
19912 fi
19913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19914 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19915 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19916 :; SGICXX=yes
19917 else
19918 :;
19919 fi
19920 ac_ext=c
19921 ac_cpp='$CPP $CPPFLAGS'
19922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19925
19926
19927
19928 ;;
19929
19930 Linux*)
19931
19932
19933 ac_ext=cpp
19934 ac_cpp='$CXXCPP $CPPFLAGS'
19935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19938
19939 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19940 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19941 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 else
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950
19951 int
19952 main ()
19953 {
19954
19955 #ifndef __SUNPRO_CC
19956 choke me
19957 #endif
19958
19959 ;
19960 return 0;
19961 }
19962 _ACEOF
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19968 esac
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19971 ac_status=$?
19972 grep -v '^ *+' conftest.er1 >conftest.err
19973 rm -f conftest.er1
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_cxx_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.$ac_objext; then
19980 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19981 else
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19984
19985 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19986
19987 fi
19988
19989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19990
19991
19992 fi
19993 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19994 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19995 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19996 :; SUNCXX=yes
19997 else
19998 :;
19999 fi
20000 ac_ext=c
20001 ac_cpp='$CPP $CPPFLAGS'
20002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20005
20006
20007
20008 ;;
20009
20010 HP-UX*)
20011
20012
20013 ac_ext=cpp
20014 ac_cpp='$CXXCPP $CPPFLAGS'
20015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20018
20019 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20020 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20021 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 else
20024 cat >conftest.$ac_ext <<_ACEOF
20025 /* confdefs.h. */
20026 _ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20030
20031 int
20032 main ()
20033 {
20034
20035 #ifndef __HP_aCC
20036 choke me
20037 #endif
20038
20039 ;
20040 return 0;
20041 }
20042 _ACEOF
20043 rm -f conftest.$ac_objext
20044 if { (ac_try="$ac_compile"
20045 case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047 *) ac_try_echo=$ac_try;;
20048 esac
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_compile") 2>conftest.er1
20051 ac_status=$?
20052 grep -v '^ *+' conftest.er1 >conftest.err
20053 rm -f conftest.er1
20054 cat conftest.err >&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } && {
20057 test -z "$ac_cxx_werror_flag" ||
20058 test ! -s conftest.err
20059 } && test -s conftest.$ac_objext; then
20060 bakefile_cv_cxx_compiler___HP_aCC=yes
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20064
20065 bakefile_cv_cxx_compiler___HP_aCC=no
20066
20067 fi
20068
20069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20070
20071
20072 fi
20073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20075 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20076 :; HPCXX=yes
20077 else
20078 :;
20079 fi
20080 ac_ext=c
20081 ac_cpp='$CPP $CPPFLAGS'
20082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20085
20086
20087
20088 ;;
20089
20090 OSF1)
20091
20092
20093 ac_ext=cpp
20094 ac_cpp='$CXXCPP $CPPFLAGS'
20095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20098
20099 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20100 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20101 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20103 else
20104 cat >conftest.$ac_ext <<_ACEOF
20105 /* confdefs.h. */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110
20111 int
20112 main ()
20113 {
20114
20115 #ifndef __DECCXX
20116 choke me
20117 #endif
20118
20119 ;
20120 return 0;
20121 }
20122 _ACEOF
20123 rm -f conftest.$ac_objext
20124 if { (ac_try="$ac_compile"
20125 case "(($ac_try" in
20126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20127 *) ac_try_echo=$ac_try;;
20128 esac
20129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 (eval "$ac_compile") 2>conftest.er1
20131 ac_status=$?
20132 grep -v '^ *+' conftest.er1 >conftest.err
20133 rm -f conftest.er1
20134 cat conftest.err >&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } && {
20137 test -z "$ac_cxx_werror_flag" ||
20138 test ! -s conftest.err
20139 } && test -s conftest.$ac_objext; then
20140 bakefile_cv_cxx_compiler___DECCXX=yes
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 bakefile_cv_cxx_compiler___DECCXX=no
20146
20147 fi
20148
20149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150
20151
20152 fi
20153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20155 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20156 :; COMPAQCXX=yes
20157 else
20158 :;
20159 fi
20160 ac_ext=c
20161 ac_cpp='$CPP $CPPFLAGS'
20162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20165
20166
20167
20168 ;;
20169
20170 SunOS)
20171
20172
20173 ac_ext=cpp
20174 ac_cpp='$CXXCPP $CPPFLAGS'
20175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20178
20179 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20180 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20181 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20182 echo $ECHO_N "(cached) $ECHO_C" >&6
20183 else
20184 cat >conftest.$ac_ext <<_ACEOF
20185 /* confdefs.h. */
20186 _ACEOF
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20190
20191 int
20192 main ()
20193 {
20194
20195 #ifndef __SUNPRO_CC
20196 choke me
20197 #endif
20198
20199 ;
20200 return 0;
20201 }
20202 _ACEOF
20203 rm -f conftest.$ac_objext
20204 if { (ac_try="$ac_compile"
20205 case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20208 esac
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_compile") 2>conftest.er1
20211 ac_status=$?
20212 grep -v '^ *+' conftest.er1 >conftest.err
20213 rm -f conftest.er1
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && {
20217 test -z "$ac_cxx_werror_flag" ||
20218 test ! -s conftest.err
20219 } && test -s conftest.$ac_objext; then
20220 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20221 else
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20224
20225 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20226
20227 fi
20228
20229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20230
20231
20232 fi
20233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20235 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20236 :; SUNCXX=yes
20237 else
20238 :;
20239 fi
20240 ac_ext=c
20241 ac_cpp='$CPP $CPPFLAGS'
20242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20245
20246
20247
20248 ;;
20249 esac
20250 fi
20251
20252
20253
20254 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20255 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20256 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20257 { (exit 1); exit 1; }; }
20258 fi
20259
20260 if test "x$SUNCXX" != xyes; then
20261 if test -n "$ac_tool_prefix"; then
20262 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20263 set dummy ${ac_tool_prefix}ar; ac_word=$2
20264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20266 if test "${ac_cv_prog_AR+set}" = set; then
20267 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 else
20269 if test -n "$AR"; then
20270 ac_cv_prog_AR="$AR" # Let the user override the test.
20271 else
20272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20273 for as_dir in $PATH
20274 do
20275 IFS=$as_save_IFS
20276 test -z "$as_dir" && as_dir=.
20277 for ac_exec_ext in '' $ac_executable_extensions; do
20278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20279 ac_cv_prog_AR="${ac_tool_prefix}ar"
20280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20281 break 2
20282 fi
20283 done
20284 done
20285 IFS=$as_save_IFS
20286
20287 fi
20288 fi
20289 AR=$ac_cv_prog_AR
20290 if test -n "$AR"; then
20291 { echo "$as_me:$LINENO: result: $AR" >&5
20292 echo "${ECHO_T}$AR" >&6; }
20293 else
20294 { echo "$as_me:$LINENO: result: no" >&5
20295 echo "${ECHO_T}no" >&6; }
20296 fi
20297
20298
20299 fi
20300 if test -z "$ac_cv_prog_AR"; then
20301 ac_ct_AR=$AR
20302 # Extract the first word of "ar", so it can be a program name with args.
20303 set dummy ar; ac_word=$2
20304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20306 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 else
20309 if test -n "$ac_ct_AR"; then
20310 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20311 else
20312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20313 for as_dir in $PATH
20314 do
20315 IFS=$as_save_IFS
20316 test -z "$as_dir" && as_dir=.
20317 for ac_exec_ext in '' $ac_executable_extensions; do
20318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20319 ac_cv_prog_ac_ct_AR="ar"
20320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20321 break 2
20322 fi
20323 done
20324 done
20325 IFS=$as_save_IFS
20326
20327 fi
20328 fi
20329 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20330 if test -n "$ac_ct_AR"; then
20331 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20332 echo "${ECHO_T}$ac_ct_AR" >&6; }
20333 else
20334 { echo "$as_me:$LINENO: result: no" >&5
20335 echo "${ECHO_T}no" >&6; }
20336 fi
20337
20338 if test "x$ac_ct_AR" = x; then
20339 AR=""
20340 else
20341 case $cross_compiling:$ac_tool_warned in
20342 yes:)
20343 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20344 whose name does not start with the host triplet. If you think this
20345 configuration is useful to you, please write to autoconf@gnu.org." >&5
20346 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20347 whose name does not start with the host triplet. If you think this
20348 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20349 ac_tool_warned=yes ;;
20350 esac
20351 AR=$ac_ct_AR
20352 fi
20353 else
20354 AR="$ac_cv_prog_AR"
20355 fi
20356
20357 if test "x$AR" = "x" ; then
20358 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20359 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20360 { (exit 1); exit 1; }; }
20361 fi
20362 fi
20363
20364 retest_macosx_linking=no
20365
20366 #if test "$wxUSE_MAC" = 1; then
20367 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20368 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20369 # Implicitly turn on the new --with-macosx-sdk using the default
20370 # SDK which provides the behavior this option has always had.
20371 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20372 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20373 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20374 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20375 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20376 wxUSE_MACOSX_SDK=yes
20377 fi
20378 else
20379 # Complain to user if he specified an argument to --enable-universal_binary
20380 # and also 1) specified --with-macosx-sdk using the default (yes) or
20381 # 2) specified --with-macosx-sdk using a path or 3) specified
20382 # --without-macosx-sdk (no).
20383 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20384 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20385 See \`config.log' for more details." >&5
20386 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20387 See \`config.log' for more details." >&2;}
20388 { (exit 1); exit 1; }; }
20389 else
20390 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20391 # special-case the empty string because the below test simply
20392 # converts "no" to the empty string anyway.
20393 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20394 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20395 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20396 fi
20397 fi
20398 OSX_UNIV_OPTS="-arch ppc -arch i386"
20399 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20400 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20401 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20402 retest_macosx_linking=yes
20403
20404 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20405 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20406 bk_use_pch=no
20407 fi
20408 #fi
20409
20410 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20411 wxUSE_MACOSX_SDK=
20412 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20413 # TODO: Search for most recent SDK and use it.
20414 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20415 fi
20416
20417
20418 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20419 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20420 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20421 if ! test -d "$wxUSE_MACOSX_SDK"; then
20422 { { echo "$as_me:$LINENO: error: not found
20423 See \`config.log' for more details." >&5
20424 echo "$as_me: error: not found
20425 See \`config.log' for more details." >&2;}
20426 { (exit 1); exit 1; }; }
20427 else
20428 { echo "$as_me:$LINENO: result: exists" >&5
20429 echo "${ECHO_T}exists" >&6; }
20430 fi
20431 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20432 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20433 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20434 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20435 retest_macosx_linking=yes
20436 fi
20437
20438 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20439 wxUSE_MACOSX_VERSION_MIN=
20440 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20441 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20442 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20443 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20444
20445 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20446
20447 # If that failed, try again with the new key
20448 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20449
20450 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20451
20452 fi
20453
20454 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20455 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20456 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20457 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20458 else
20459 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20460 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20461 wxUSE_MACOSX_VERSION_MIN=
20462 fi
20463 else
20464 wxUSE_MACOSX_VERSION_MIN=
20465 fi
20466 fi
20467
20468 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20469 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20470 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20471 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20472 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20473 retest_macosx_linking=yes
20474 fi
20475
20476 if test "x$retest_macosx_linking" = "xyes"; then
20477 ac_ext=c
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20482
20483 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20484 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20485 cat >conftest.$ac_ext <<_ACEOF
20486 /* confdefs.h. */
20487 _ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491
20492 int
20493 main ()
20494 {
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest.$ac_objext conftest$ac_exeext
20501 if { (ac_try="$ac_link"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20505 esac
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_link") 2>conftest.er1
20508 ac_status=$?
20509 grep -v '^ *+' conftest.er1 >conftest.err
20510 rm -f conftest.er1
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest$ac_exeext &&
20517 $as_test_x conftest$ac_exeext; then
20518 { echo "$as_me:$LINENO: result: yes" >&5
20519 echo "${ECHO_T}yes" >&6; }
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20523
20524 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20525 See \`config.log' for more details." >&5
20526 echo "$as_me: error: no. Try a different SDK
20527 See \`config.log' for more details." >&2;}
20528 { (exit 1); exit 1; }; }; exit 1
20529 fi
20530
20531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20532 conftest$ac_exeext conftest.$ac_ext
20533 ac_ext=c
20534 ac_cpp='$CPP $CPPFLAGS'
20535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20538
20539
20540 ac_ext=cpp
20541 ac_cpp='$CXXCPP $CPPFLAGS'
20542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20545
20546 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20547 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20548 cat >conftest.$ac_ext <<_ACEOF
20549 /* confdefs.h. */
20550 _ACEOF
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20554
20555 int
20556 main ()
20557 {
20558
20559 ;
20560 return 0;
20561 }
20562 _ACEOF
20563 rm -f conftest.$ac_objext conftest$ac_exeext
20564 if { (ac_try="$ac_link"
20565 case "(($ac_try" in
20566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20567 *) ac_try_echo=$ac_try;;
20568 esac
20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20570 (eval "$ac_link") 2>conftest.er1
20571 ac_status=$?
20572 grep -v '^ *+' conftest.er1 >conftest.err
20573 rm -f conftest.er1
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } && {
20577 test -z "$ac_cxx_werror_flag" ||
20578 test ! -s conftest.err
20579 } && test -s conftest$ac_exeext &&
20580 $as_test_x conftest$ac_exeext; then
20581 { echo "$as_me:$LINENO: result: yes" >&5
20582 echo "${ECHO_T}yes" >&6; }
20583 else
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.$ac_ext >&5
20586
20587 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: no. Try a different SDK
20590 See \`config.log' for more details." >&2;}
20591 { (exit 1); exit 1; }; }; exit 1
20592 fi
20593
20594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20595 conftest$ac_exeext conftest.$ac_ext
20596 ac_ext=c
20597 ac_cpp='$CPP $CPPFLAGS'
20598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20601
20602 fi
20603
20604
20605 case "${host}" in
20606
20607 *-*-darwin* )
20608 INSTALL_PROGRAM="cp -fp"
20609 INSTALL_DATA="cp -fp"
20610 ;;
20611 *)
20612 ;;
20613 esac
20614
20615
20616 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20617 CXXFLAGS="-qunique $CXXFLAGS"
20618 fi
20619
20620 case "${host}" in
20621 powerpc-*-darwin* )
20622 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20623 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20624 cat >conftest.$ac_ext <<_ACEOF
20625 /* confdefs.h. */
20626 _ACEOF
20627 cat confdefs.h >>conftest.$ac_ext
20628 cat >>conftest.$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20630
20631 int
20632 main ()
20633 {
20634 #ifndef __POWERPC__
20635 choke me for lack of PowerPC
20636 #endif
20637
20638 ;
20639 return 0;
20640 }
20641 _ACEOF
20642 rm -f conftest.$ac_objext
20643 if { (ac_try="$ac_compile"
20644 case "(($ac_try" in
20645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20647 esac
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_compile") 2>conftest.er1
20650 ac_status=$?
20651 grep -v '^ *+' conftest.er1 >conftest.err
20652 rm -f conftest.er1
20653 cat conftest.err >&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } && {
20656 test -z "$ac_c_werror_flag" ||
20657 test ! -s conftest.err
20658 } && test -s conftest.$ac_objext; then
20659 { echo "$as_me:$LINENO: result: yes" >&5
20660 echo "${ECHO_T}yes" >&6; }
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 { echo "$as_me:$LINENO: result: no" >&5
20666 echo "${ECHO_T}no" >&6; }
20667 cat >>confdefs.h <<\_ACEOF
20668 #define __POWERPC__ 1
20669 _ACEOF
20670
20671
20672 fi
20673
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 ;;
20676 esac
20677
20678 case "${host}" in
20679 *-*-darwin* )
20680 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20681 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20682 cat >conftest.$ac_ext <<_ACEOF
20683 /* confdefs.h. */
20684 _ACEOF
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 #include <CoreFoundation/CFBase.h>
20689
20690 int
20691 main ()
20692 {
20693
20694 ;
20695 return 0;
20696 }
20697 _ACEOF
20698 rm -f conftest.$ac_objext
20699 if { (ac_try="$ac_compile"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_compile") 2>conftest.er1
20706 ac_status=$?
20707 grep -v '^ *+' conftest.er1 >conftest.err
20708 rm -f conftest.er1
20709 cat conftest.err >&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && {
20712 test -z "$ac_c_werror_flag" ||
20713 test ! -s conftest.err
20714 } && test -s conftest.$ac_objext; then
20715 { echo "$as_me:$LINENO: result: yes" >&5
20716 echo "${ECHO_T}yes" >&6; }
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721 { echo "$as_me:$LINENO: result: no" >&5
20722 echo "${ECHO_T}no" >&6; }
20723 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20724 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20725 cat >conftest.$ac_ext <<_ACEOF
20726 /* confdefs.h. */
20727 _ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 #define __CF_USE_FRAMEWORK_INCLUDES__
20732 #include <CoreFoundation/CFBase.h>
20733
20734 int
20735 main ()
20736 {
20737
20738 ;
20739 return 0;
20740 }
20741 _ACEOF
20742 rm -f conftest.$ac_objext
20743 if { (ac_try="$ac_compile"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20747 esac
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_compile") 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } && {
20756 test -z "$ac_c_werror_flag" ||
20757 test ! -s conftest.err
20758 } && test -s conftest.$ac_objext; then
20759 { echo "$as_me:$LINENO: result: yes" >&5
20760 echo "${ECHO_T}yes" >&6; }
20761 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20765
20766 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20767 See \`config.log' for more details." >&5
20768 echo "$as_me: error: no. CoreFoundation not available.
20769 See \`config.log' for more details." >&2;}
20770 { (exit 1); exit 1; }; }
20771
20772 fi
20773
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775
20776
20777 fi
20778
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 ;;
20781 esac
20782
20783 wants_win32=0
20784 doesnt_want_win32=0
20785 case "${host}" in
20786 *-*-cygwin*)
20787 if test "$wxUSE_MSW" = 1 ; then
20788 wants_win32=1
20789 else
20790 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20791 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20792 if test "${wx_cv_nocygwin+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 else
20795
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802
20803 int
20804 main ()
20805 {
20806
20807 #ifdef __MINGW32__
20808 choke me
20809 #endif
20810
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 rm -f conftest.$ac_objext
20816 if { (ac_try="$ac_compile"
20817 case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20820 esac
20821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_compile") 2>conftest.er1
20823 ac_status=$?
20824 grep -v '^ *+' conftest.er1 >conftest.err
20825 rm -f conftest.er1
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } && {
20829 test -z "$ac_c_werror_flag" ||
20830 test ! -s conftest.err
20831 } && test -s conftest.$ac_objext; then
20832 wx_cv_nocygwin=no
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 wx_cv_nocygwin=yes
20838
20839 fi
20840
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842
20843
20844 fi
20845 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20846 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20847
20848 if test "$wx_cv_nocygwin" = "yes"; then
20849 wants_win32=1
20850 else
20851 doesnt_want_win32=1
20852 fi
20853 fi
20854 if test "$wants_win32" = 1 ; then
20855 BAKEFILE_FORCE_PLATFORM=win32
20856 fi
20857 ;;
20858 *-*-mingw*)
20859 wants_win32=1
20860 ;;
20861 esac
20862
20863 if test "$wxUSE_WINE" = "yes"; then
20864 wants_win32=1
20865 LDFLAGS_GUI="-mwindows"
20866 fi
20867
20868 if test "$wants_win32" = 1 ; then
20869 USE_UNIX=0
20870 USE_WIN32=1
20871 cat >>confdefs.h <<\_ACEOF
20872 #define __WIN32__ 1
20873 _ACEOF
20874
20875 cat >>confdefs.h <<\_ACEOF
20876 #define __WIN95__ 1
20877 _ACEOF
20878
20879 cat >>confdefs.h <<\_ACEOF
20880 #define __WINDOWS__ 1
20881 _ACEOF
20882
20883 cat >>confdefs.h <<\_ACEOF
20884 #define __GNUWIN32__ 1
20885 _ACEOF
20886
20887 cat >>confdefs.h <<\_ACEOF
20888 #define STRICT 1
20889 _ACEOF
20890
20891 fi
20892 if test "$doesnt_want_win32" = 1 ; then
20893 USE_UNIX=1
20894 USE_WIN32=0
20895 fi
20896
20897 if test "$USE_UNIX" = 1 ; then
20898 wxUSE_UNIX=yes
20899 cat >>confdefs.h <<\_ACEOF
20900 #define __UNIX__ 1
20901 _ACEOF
20902
20903 fi
20904
20905 case "${host}" in
20906 *-pc-os2_emx | *-pc-os2-emx )
20907 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20908 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20909 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20910 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20911 echo $ECHO_N "(cached) $ECHO_C" >&6
20912 else
20913 ac_check_lib_save_LIBS=$LIBS
20914 LIBS="-lcExt $LIBS"
20915 cat >conftest.$ac_ext <<_ACEOF
20916 /* confdefs.h. */
20917 _ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20921
20922 /* Override any GCC internal prototype to avoid an error.
20923 Use char because int might match the return type of a GCC
20924 builtin and then its argument prototype would still apply. */
20925 #ifdef __cplusplus
20926 extern "C"
20927 #endif
20928 char drand48 ();
20929 int
20930 main ()
20931 {
20932 return drand48 ();
20933 ;
20934 return 0;
20935 }
20936 _ACEOF
20937 rm -f conftest.$ac_objext conftest$ac_exeext
20938 if { (ac_try="$ac_link"
20939 case "(($ac_try" in
20940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20941 *) ac_try_echo=$ac_try;;
20942 esac
20943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20944 (eval "$ac_link") 2>conftest.er1
20945 ac_status=$?
20946 grep -v '^ *+' conftest.er1 >conftest.err
20947 rm -f conftest.er1
20948 cat conftest.err >&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } && {
20951 test -z "$ac_c_werror_flag" ||
20952 test ! -s conftest.err
20953 } && test -s conftest$ac_exeext &&
20954 $as_test_x conftest$ac_exeext; then
20955 ac_cv_lib_cExt_drand48=yes
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 ac_cv_lib_cExt_drand48=no
20961 fi
20962
20963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20964 conftest$ac_exeext conftest.$ac_ext
20965 LIBS=$ac_check_lib_save_LIBS
20966 fi
20967 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20968 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20969 if test $ac_cv_lib_cExt_drand48 = yes; then
20970 LIBS="$LIBS -lcExt"
20971 fi
20972
20973 else
20974 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20975 fi
20976 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20977 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20978 if test "${wx_cv_gccversion+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981
20982 if test "$cross_compiling" = yes; then
20983 wx_cv_gccversion="EMX2"
20984
20985 else
20986 cat >conftest.$ac_ext <<_ACEOF
20987 /* confdefs.h. */
20988 _ACEOF
20989 cat confdefs.h >>conftest.$ac_ext
20990 cat >>conftest.$ac_ext <<_ACEOF
20991 /* end confdefs.h. */
20992
20993 #include <stdio.h>
20994
20995 int main()
20996 {
20997 FILE *f=fopen("conftestval", "w");
20998 if (!f) exit(1);
20999 fprintf(f,
21000 #if (__GNUC__ < 3)
21001 "EMX2"
21002 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21003 "EMX3"
21004 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21005 "Innotek5"
21006 #else
21007 "Innotek6"
21008 #endif
21009 );
21010 exit(0);
21011 }
21012
21013 _ACEOF
21014 rm -f conftest$ac_exeext
21015 if { (ac_try="$ac_link"
21016 case "(($ac_try" in
21017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21018 *) ac_try_echo=$ac_try;;
21019 esac
21020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21021 (eval "$ac_link") 2>&5
21022 ac_status=$?
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21025 { (case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21028 esac
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_try") 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; }; then
21034 wx_cv_gccversion=`cat conftestval`
21035 else
21036 echo "$as_me: program exited with status $ac_status" >&5
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ( exit $ac_status )
21041 wx_cv_gccversion="EMX2"
21042 fi
21043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21044 fi
21045
21046
21047
21048 fi
21049 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21050 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21051 if test "$wx_cv_gccversion" = "EMX2"; then
21052 LIBS="$LIBS -lstdcpp"
21053 LDFLAGS="$LDFLAGS -Zsysv-signals"
21054 else
21055 if test "$wx_cv_gccversion" = "EMX3"; then
21056 LIBS="$LIBS -lstdcxx -lgcc"
21057 LDFLAGS="$LDFLAGS -Zsysv-signals"
21058 else
21059 LIBS="$LIBS -lstdc++"
21060 fi
21061 fi
21062 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21063 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21064 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21065 wxUSE_OMF=yes
21066 enable_omf=yes
21067 fi
21068 ;;
21069 *)
21070
21071 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21072 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21073 if test "${ac_cv_string_strcasecmp+set}" = set; then
21074 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 else
21076
21077 cat >conftest.$ac_ext <<_ACEOF
21078 /* confdefs.h. */
21079 _ACEOF
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h. */
21083
21084 #include <string.h>
21085
21086 int
21087 main ()
21088 {
21089
21090 strcasecmp("foo", "bar");
21091
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 rm -f conftest.$ac_objext conftest$ac_exeext
21097 if { (ac_try="$ac_link"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_link") 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest$ac_exeext &&
21113 $as_test_x conftest$ac_exeext; then
21114 ac_cv_string_strcasecmp=yes
21115 else
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21118
21119 ac_cv_string_strcasecmp=no
21120
21121 fi
21122
21123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21124 conftest$ac_exeext conftest.$ac_ext
21125
21126 fi
21127 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21128 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21129
21130 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21131 cat >>confdefs.h <<\_ACEOF
21132 #define HAVE_STRCASECMP_IN_STRING_H 1
21133 _ACEOF
21134
21135 else
21136 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21137 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21138 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 else
21141
21142 cat >conftest.$ac_ext <<_ACEOF
21143 /* confdefs.h. */
21144 _ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148
21149 #include <strings.h>
21150
21151 int
21152 main ()
21153 {
21154
21155 strcasecmp("foo", "bar");
21156
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 rm -f conftest.$ac_objext conftest$ac_exeext
21162 if { (ac_try="$ac_link"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_link") 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest$ac_exeext &&
21178 $as_test_x conftest$ac_exeext; then
21179 ac_cv_strings_strcasecmp=yes
21180 else
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21183
21184 ac_cv_strings_strcasecmp=no
21185
21186 fi
21187
21188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21189 conftest$ac_exeext conftest.$ac_ext
21190
21191 fi
21192 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21193 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21194
21195 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21196 cat >>confdefs.h <<\_ACEOF
21197 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21198 _ACEOF
21199
21200 else
21201 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21202 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21203 { (exit 1); exit 1; }; }
21204 fi
21205 fi
21206
21207 ;;
21208 esac
21209
21210
21211 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21212 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21213 if test "${ac_cv_header_stdc+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 else
21216 cat >conftest.$ac_ext <<_ACEOF
21217 /* confdefs.h. */
21218 _ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222 #include <stdlib.h>
21223 #include <stdarg.h>
21224 #include <string.h>
21225 #include <float.h>
21226
21227 int
21228 main ()
21229 {
21230
21231 ;
21232 return 0;
21233 }
21234 _ACEOF
21235 rm -f conftest.$ac_objext
21236 if { (ac_try="$ac_compile"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21240 esac
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_compile") 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } && {
21249 test -z "$ac_c_werror_flag" ||
21250 test ! -s conftest.err
21251 } && test -s conftest.$ac_objext; then
21252 ac_cv_header_stdc=yes
21253 else
21254 echo "$as_me: failed program was:" >&5
21255 sed 's/^/| /' conftest.$ac_ext >&5
21256
21257 ac_cv_header_stdc=no
21258 fi
21259
21260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261
21262 if test $ac_cv_header_stdc = yes; then
21263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 #include <string.h>
21271
21272 _ACEOF
21273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21274 $EGREP "memchr" >/dev/null 2>&1; then
21275 :
21276 else
21277 ac_cv_header_stdc=no
21278 fi
21279 rm -f conftest*
21280
21281 fi
21282
21283 if test $ac_cv_header_stdc = yes; then
21284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 #include <stdlib.h>
21292
21293 _ACEOF
21294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21295 $EGREP "free" >/dev/null 2>&1; then
21296 :
21297 else
21298 ac_cv_header_stdc=no
21299 fi
21300 rm -f conftest*
21301
21302 fi
21303
21304 if test $ac_cv_header_stdc = yes; then
21305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21306 if test "$cross_compiling" = yes; then
21307 :
21308 else
21309 cat >conftest.$ac_ext <<_ACEOF
21310 /* confdefs.h. */
21311 _ACEOF
21312 cat confdefs.h >>conftest.$ac_ext
21313 cat >>conftest.$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 #include <ctype.h>
21316 #include <stdlib.h>
21317 #if ((' ' & 0x0FF) == 0x020)
21318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21320 #else
21321 # define ISLOWER(c) \
21322 (('a' <= (c) && (c) <= 'i') \
21323 || ('j' <= (c) && (c) <= 'r') \
21324 || ('s' <= (c) && (c) <= 'z'))
21325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21326 #endif
21327
21328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21329 int
21330 main ()
21331 {
21332 int i;
21333 for (i = 0; i < 256; i++)
21334 if (XOR (islower (i), ISLOWER (i))
21335 || toupper (i) != TOUPPER (i))
21336 return 2;
21337 return 0;
21338 }
21339 _ACEOF
21340 rm -f conftest$ac_exeext
21341 if { (ac_try="$ac_link"
21342 case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21345 esac
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_link") 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21354 esac
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; }; then
21360 :
21361 else
21362 echo "$as_me: program exited with status $ac_status" >&5
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.$ac_ext >&5
21365
21366 ( exit $ac_status )
21367 ac_cv_header_stdc=no
21368 fi
21369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21370 fi
21371
21372
21373 fi
21374 fi
21375 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21376 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21377 if test $ac_cv_header_stdc = yes; then
21378
21379 cat >>confdefs.h <<\_ACEOF
21380 #define STDC_HEADERS 1
21381 _ACEOF
21382
21383 fi
21384
21385 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21396 inttypes.h stdint.h unistd.h
21397 do
21398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 else
21404 cat >conftest.$ac_ext <<_ACEOF
21405 /* confdefs.h. */
21406 _ACEOF
21407 cat confdefs.h >>conftest.$ac_ext
21408 cat >>conftest.$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21410 $ac_includes_default
21411
21412 #include <$ac_header>
21413 _ACEOF
21414 rm -f conftest.$ac_objext
21415 if { (ac_try="$ac_compile"
21416 case "(($ac_try" in
21417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;;
21419 esac
21420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21421 (eval "$ac_compile") 2>conftest.er1
21422 ac_status=$?
21423 grep -v '^ *+' conftest.er1 >conftest.err
21424 rm -f conftest.er1
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } && {
21428 test -z "$ac_c_werror_flag" ||
21429 test ! -s conftest.err
21430 } && test -s conftest.$ac_objext; then
21431 eval "$as_ac_Header=yes"
21432 else
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21435
21436 eval "$as_ac_Header=no"
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 fi
21441 ac_res=`eval echo '${'$as_ac_Header'}'`
21442 { echo "$as_me:$LINENO: result: $ac_res" >&5
21443 echo "${ECHO_T}$ac_res" >&6; }
21444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21445 cat >>confdefs.h <<_ACEOF
21446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21447 _ACEOF
21448
21449 fi
21450
21451 done
21452
21453
21454
21455
21456 for ac_header in langinfo.h wchar.h
21457 do
21458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21459 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 else
21464 cat >conftest.$ac_ext <<_ACEOF
21465 /* confdefs.h. */
21466 _ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470 $ac_includes_default
21471
21472 #include <$ac_header>
21473 _ACEOF
21474 rm -f conftest.$ac_objext
21475 if { (ac_try="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21479 esac
21480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21482 ac_status=$?
21483 grep -v '^ *+' conftest.er1 >conftest.err
21484 rm -f conftest.er1
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21491 eval "$as_ac_Header=yes"
21492 else
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21495
21496 eval "$as_ac_Header=no"
21497 fi
21498
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 fi
21501 ac_res=`eval echo '${'$as_ac_Header'}'`
21502 { echo "$as_me:$LINENO: result: $ac_res" >&5
21503 echo "${ECHO_T}$ac_res" >&6; }
21504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21505 cat >>confdefs.h <<_ACEOF
21506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21507 _ACEOF
21508
21509 fi
21510
21511 done
21512
21513
21514 if test "$ac_cv_header_wchar_h" != "yes"; then
21515
21516 for ac_header in wcstr.h
21517 do
21518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21519 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21522 echo $ECHO_N "(cached) $ECHO_C" >&6
21523 else
21524 cat >conftest.$ac_ext <<_ACEOF
21525 /* confdefs.h. */
21526 _ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21531
21532 #include <$ac_header>
21533 _ACEOF
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21539 esac
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21542 ac_status=$?
21543 grep -v '^ *+' conftest.er1 >conftest.err
21544 rm -f conftest.er1
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 eval "$as_ac_Header=yes"
21552 else
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21555
21556 eval "$as_ac_Header=no"
21557 fi
21558
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560 fi
21561 ac_res=`eval echo '${'$as_ac_Header'}'`
21562 { echo "$as_me:$LINENO: result: $ac_res" >&5
21563 echo "${ECHO_T}$ac_res" >&6; }
21564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21565 cat >>confdefs.h <<_ACEOF
21566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21567 _ACEOF
21568
21569 fi
21570
21571 done
21572
21573 fi
21574
21575 case "${host}" in
21576 *-pc-os2_emx | *-pc-os2-emx )
21577 if test $ac_cv_header_langinfo_h = "yes" \
21578 -a \( "$wx_cv_gccversion" = "EMX2" \
21579 -o "$wx_cv_gccversion" = "EMX3" \
21580 -o "$wx_cv_gccversion" = "Innotek5" \); then
21581 LIBS="$LIBS -lintl"
21582 fi
21583 ;;
21584 esac
21585
21586 if test "$USE_UNIX" = 1 ; then
21587
21588 for ac_header in sys/select.h
21589 do
21590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 else
21596 cat >conftest.$ac_ext <<_ACEOF
21597 /* confdefs.h. */
21598 _ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 $ac_includes_default
21603
21604 #include <$ac_header>
21605 _ACEOF
21606 rm -f conftest.$ac_objext
21607 if { (ac_try="$ac_compile"
21608 case "(($ac_try" in
21609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21611 esac
21612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21613 (eval "$ac_compile") 2>conftest.er1
21614 ac_status=$?
21615 grep -v '^ *+' conftest.er1 >conftest.err
21616 rm -f conftest.er1
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } && {
21620 test -z "$ac_c_werror_flag" ||
21621 test ! -s conftest.err
21622 } && test -s conftest.$ac_objext; then
21623 eval "$as_ac_Header=yes"
21624 else
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21627
21628 eval "$as_ac_Header=no"
21629 fi
21630
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 fi
21633 ac_res=`eval echo '${'$as_ac_Header'}'`
21634 { echo "$as_me:$LINENO: result: $ac_res" >&5
21635 echo "${ECHO_T}$ac_res" >&6; }
21636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21637 cat >>confdefs.h <<_ACEOF
21638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21639 _ACEOF
21640
21641 fi
21642
21643 done
21644
21645 fi
21646
21647
21648 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21649 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21650 if test "${ac_cv_c_const+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 else
21653 cat >conftest.$ac_ext <<_ACEOF
21654 /* confdefs.h. */
21655 _ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659
21660 int
21661 main ()
21662 {
21663 /* FIXME: Include the comments suggested by Paul. */
21664 #ifndef __cplusplus
21665 /* Ultrix mips cc rejects this. */
21666 typedef int charset[2];
21667 const charset cs;
21668 /* SunOS 4.1.1 cc rejects this. */
21669 char const *const *pcpcc;
21670 char **ppc;
21671 /* NEC SVR4.0.2 mips cc rejects this. */
21672 struct point {int x, y;};
21673 static struct point const zero = {0,0};
21674 /* AIX XL C 1.02.0.0 rejects this.
21675 It does not let you subtract one const X* pointer from another in
21676 an arm of an if-expression whose if-part is not a constant
21677 expression */
21678 const char *g = "string";
21679 pcpcc = &g + (g ? g-g : 0);
21680 /* HPUX 7.0 cc rejects these. */
21681 ++pcpcc;
21682 ppc = (char**) pcpcc;
21683 pcpcc = (char const *const *) ppc;
21684 { /* SCO 3.2v4 cc rejects this. */
21685 char *t;
21686 char const *s = 0 ? (char *) 0 : (char const *) 0;
21687
21688 *t++ = 0;
21689 if (s) return 0;
21690 }
21691 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21692 int x[] = {25, 17};
21693 const int *foo = &x[0];
21694 ++foo;
21695 }
21696 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21697 typedef const int *iptr;
21698 iptr p = 0;
21699 ++p;
21700 }
21701 { /* AIX XL C 1.02.0.0 rejects this saying
21702 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21703 struct s { int j; const int *ap[3]; };
21704 struct s *b; b->j = 5;
21705 }
21706 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21707 const int foo = 10;
21708 if (!foo) return 0;
21709 }
21710 return !cs[0] && !zero.x;
21711 #endif
21712
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 rm -f conftest.$ac_objext
21718 if { (ac_try="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21722 esac
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21734 ac_cv_c_const=yes
21735 else
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21738
21739 ac_cv_c_const=no
21740 fi
21741
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21743 fi
21744 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21745 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21746 if test $ac_cv_c_const = no; then
21747
21748 cat >>confdefs.h <<\_ACEOF
21749 #define const
21750 _ACEOF
21751
21752 fi
21753
21754 { echo "$as_me:$LINENO: checking for inline" >&5
21755 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21756 if test "${ac_cv_c_inline+set}" = set; then
21757 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 else
21759 ac_cv_c_inline=no
21760 for ac_kw in inline __inline__ __inline; do
21761 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 #ifndef __cplusplus
21768 typedef int foo_t;
21769 static $ac_kw foo_t static_foo () {return 0; }
21770 $ac_kw foo_t foo () {return 0; }
21771 #endif
21772
21773 _ACEOF
21774 rm -f conftest.$ac_objext
21775 if { (ac_try="$ac_compile"
21776 case "(($ac_try" in
21777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21779 esac
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_compile") 2>conftest.er1
21782 ac_status=$?
21783 grep -v '^ *+' conftest.er1 >conftest.err
21784 rm -f conftest.er1
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } && {
21788 test -z "$ac_c_werror_flag" ||
21789 test ! -s conftest.err
21790 } && test -s conftest.$ac_objext; then
21791 ac_cv_c_inline=$ac_kw
21792 else
21793 echo "$as_me: failed program was:" >&5
21794 sed 's/^/| /' conftest.$ac_ext >&5
21795
21796
21797 fi
21798
21799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21800 test "$ac_cv_c_inline" != no && break
21801 done
21802
21803 fi
21804 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21805 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21806
21807
21808 case $ac_cv_c_inline in
21809 inline | yes) ;;
21810 *)
21811 case $ac_cv_c_inline in
21812 no) ac_val=;;
21813 *) ac_val=$ac_cv_c_inline;;
21814 esac
21815 cat >>confdefs.h <<_ACEOF
21816 #ifndef __cplusplus
21817 #define inline $ac_val
21818 #endif
21819 _ACEOF
21820 ;;
21821 esac
21822
21823
21824 { echo "$as_me:$LINENO: checking for short" >&5
21825 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21826 if test "${ac_cv_type_short+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 else
21829 cat >conftest.$ac_ext <<_ACEOF
21830 /* confdefs.h. */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835 $ac_includes_default
21836 typedef short ac__type_new_;
21837 int
21838 main ()
21839 {
21840 if ((ac__type_new_ *) 0)
21841 return 0;
21842 if (sizeof (ac__type_new_))
21843 return 0;
21844 ;
21845 return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21853 esac
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21856 ac_status=$?
21857 grep -v '^ *+' conftest.er1 >conftest.err
21858 rm -f conftest.er1
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_cv_type_short=yes
21866 else
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 ac_cv_type_short=no
21871 fi
21872
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 fi
21875 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21876 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21877
21878 # The cast to long int works around a bug in the HP C Compiler
21879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21881 # This bug is HP SR number 8606223364.
21882 { echo "$as_me:$LINENO: checking size of short" >&5
21883 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21884 if test "${ac_cv_sizeof_short+set}" = set; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6
21886 else
21887 if test "$cross_compiling" = yes; then
21888 # Depending upon the size, compute the lo and hi bounds.
21889 cat >conftest.$ac_ext <<_ACEOF
21890 /* confdefs.h. */
21891 _ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 typedef short ac__type_sizeof_;
21897 int
21898 main ()
21899 {
21900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21901 test_array [0] = 0
21902
21903 ;
21904 return 0;
21905 }
21906 _ACEOF
21907 rm -f conftest.$ac_objext
21908 if { (ac_try="$ac_compile"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21912 esac
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_compile") 2>conftest.er1
21915 ac_status=$?
21916 grep -v '^ *+' conftest.er1 >conftest.err
21917 rm -f conftest.er1
21918 cat conftest.err >&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } && {
21921 test -z "$ac_c_werror_flag" ||
21922 test ! -s conftest.err
21923 } && test -s conftest.$ac_objext; then
21924 ac_lo=0 ac_mid=0
21925 while :; do
21926 cat >conftest.$ac_ext <<_ACEOF
21927 /* confdefs.h. */
21928 _ACEOF
21929 cat confdefs.h >>conftest.$ac_ext
21930 cat >>conftest.$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21932 $ac_includes_default
21933 typedef short ac__type_sizeof_;
21934 int
21935 main ()
21936 {
21937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21938 test_array [0] = 0
21939
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 rm -f conftest.$ac_objext
21945 if { (ac_try="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21949 esac
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } && {
21958 test -z "$ac_c_werror_flag" ||
21959 test ! -s conftest.err
21960 } && test -s conftest.$ac_objext; then
21961 ac_hi=$ac_mid; break
21962 else
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21965
21966 ac_lo=`expr $ac_mid + 1`
21967 if test $ac_lo -le $ac_mid; then
21968 ac_lo= ac_hi=
21969 break
21970 fi
21971 ac_mid=`expr 2 '*' $ac_mid + 1`
21972 fi
21973
21974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21975 done
21976 else
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21979
21980 cat >conftest.$ac_ext <<_ACEOF
21981 /* confdefs.h. */
21982 _ACEOF
21983 cat confdefs.h >>conftest.$ac_ext
21984 cat >>conftest.$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21986 $ac_includes_default
21987 typedef short ac__type_sizeof_;
21988 int
21989 main ()
21990 {
21991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21992 test_array [0] = 0
21993
21994 ;
21995 return 0;
21996 }
21997 _ACEOF
21998 rm -f conftest.$ac_objext
21999 if { (ac_try="$ac_compile"
22000 case "(($ac_try" in
22001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22002 *) ac_try_echo=$ac_try;;
22003 esac
22004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22005 (eval "$ac_compile") 2>conftest.er1
22006 ac_status=$?
22007 grep -v '^ *+' conftest.er1 >conftest.err
22008 rm -f conftest.er1
22009 cat conftest.err >&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } && {
22012 test -z "$ac_c_werror_flag" ||
22013 test ! -s conftest.err
22014 } && test -s conftest.$ac_objext; then
22015 ac_hi=-1 ac_mid=-1
22016 while :; do
22017 cat >conftest.$ac_ext <<_ACEOF
22018 /* confdefs.h. */
22019 _ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 $ac_includes_default
22024 typedef short ac__type_sizeof_;
22025 int
22026 main ()
22027 {
22028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22029 test_array [0] = 0
22030
22031 ;
22032 return 0;
22033 }
22034 _ACEOF
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22040 esac
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22043 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } && {
22049 test -z "$ac_c_werror_flag" ||
22050 test ! -s conftest.err
22051 } && test -s conftest.$ac_objext; then
22052 ac_lo=$ac_mid; break
22053 else
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.$ac_ext >&5
22056
22057 ac_hi=`expr '(' $ac_mid ')' - 1`
22058 if test $ac_mid -le $ac_hi; then
22059 ac_lo= ac_hi=
22060 break
22061 fi
22062 ac_mid=`expr 2 '*' $ac_mid`
22063 fi
22064
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 done
22067 else
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22070
22071 ac_lo= ac_hi=
22072 fi
22073
22074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22075 fi
22076
22077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22078 # Binary search between lo and hi bounds.
22079 while test "x$ac_lo" != "x$ac_hi"; do
22080 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef short ac__type_sizeof_;
22089 int
22090 main ()
22091 {
22092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22093 test_array [0] = 0
22094
22095 ;
22096 return 0;
22097 }
22098 _ACEOF
22099 rm -f conftest.$ac_objext
22100 if { (ac_try="$ac_compile"
22101 case "(($ac_try" in
22102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22104 esac
22105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22106 (eval "$ac_compile") 2>conftest.er1
22107 ac_status=$?
22108 grep -v '^ *+' conftest.er1 >conftest.err
22109 rm -f conftest.er1
22110 cat conftest.err >&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } && {
22113 test -z "$ac_c_werror_flag" ||
22114 test ! -s conftest.err
22115 } && test -s conftest.$ac_objext; then
22116 ac_hi=$ac_mid
22117 else
22118 echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.$ac_ext >&5
22120
22121 ac_lo=`expr '(' $ac_mid ')' + 1`
22122 fi
22123
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22125 done
22126 case $ac_lo in
22127 ?*) ac_cv_sizeof_short=$ac_lo;;
22128 '') if test "$ac_cv_type_short" = yes; then
22129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22130 See \`config.log' for more details." >&5
22131 echo "$as_me: error: cannot compute sizeof (short)
22132 See \`config.log' for more details." >&2;}
22133 { (exit 77); exit 77; }; }
22134 else
22135 ac_cv_sizeof_short=0
22136 fi ;;
22137 esac
22138 else
22139 cat >conftest.$ac_ext <<_ACEOF
22140 /* confdefs.h. */
22141 _ACEOF
22142 cat confdefs.h >>conftest.$ac_ext
22143 cat >>conftest.$ac_ext <<_ACEOF
22144 /* end confdefs.h. */
22145 $ac_includes_default
22146 typedef short ac__type_sizeof_;
22147 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22148 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22149 #include <stdio.h>
22150 #include <stdlib.h>
22151 int
22152 main ()
22153 {
22154
22155 FILE *f = fopen ("conftest.val", "w");
22156 if (! f)
22157 return 1;
22158 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22159 {
22160 long int i = longval ();
22161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22162 return 1;
22163 fprintf (f, "%ld\n", i);
22164 }
22165 else
22166 {
22167 unsigned long int i = ulongval ();
22168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22169 return 1;
22170 fprintf (f, "%lu\n", i);
22171 }
22172 return ferror (f) || fclose (f) != 0;
22173
22174 ;
22175 return 0;
22176 }
22177 _ACEOF
22178 rm -f conftest$ac_exeext
22179 if { (ac_try="$ac_link"
22180 case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22183 esac
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_link") 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22189 { (case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22192 esac
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_try") 2>&5
22195 ac_status=$?
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; }; then
22198 ac_cv_sizeof_short=`cat conftest.val`
22199 else
22200 echo "$as_me: program exited with status $ac_status" >&5
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.$ac_ext >&5
22203
22204 ( exit $ac_status )
22205 if test "$ac_cv_type_short" = yes; then
22206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22207 See \`config.log' for more details." >&5
22208 echo "$as_me: error: cannot compute sizeof (short)
22209 See \`config.log' for more details." >&2;}
22210 { (exit 77); exit 77; }; }
22211 else
22212 ac_cv_sizeof_short=0
22213 fi
22214 fi
22215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22216 fi
22217 rm -f conftest.val
22218 fi
22219 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22220 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22221
22222
22223
22224 cat >>confdefs.h <<_ACEOF
22225 #define SIZEOF_SHORT $ac_cv_sizeof_short
22226 _ACEOF
22227
22228
22229 { echo "$as_me:$LINENO: checking for void *" >&5
22230 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22231 if test "${ac_cv_type_void_p+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22233 else
22234 cat >conftest.$ac_ext <<_ACEOF
22235 /* confdefs.h. */
22236 _ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240 $ac_includes_default
22241 typedef void * ac__type_new_;
22242 int
22243 main ()
22244 {
22245 if ((ac__type_new_ *) 0)
22246 return 0;
22247 if (sizeof (ac__type_new_))
22248 return 0;
22249 ;
22250 return 0;
22251 }
22252 _ACEOF
22253 rm -f conftest.$ac_objext
22254 if { (ac_try="$ac_compile"
22255 case "(($ac_try" in
22256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22257 *) ac_try_echo=$ac_try;;
22258 esac
22259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22260 (eval "$ac_compile") 2>conftest.er1
22261 ac_status=$?
22262 grep -v '^ *+' conftest.er1 >conftest.err
22263 rm -f conftest.er1
22264 cat conftest.err >&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } && {
22267 test -z "$ac_c_werror_flag" ||
22268 test ! -s conftest.err
22269 } && test -s conftest.$ac_objext; then
22270 ac_cv_type_void_p=yes
22271 else
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.$ac_ext >&5
22274
22275 ac_cv_type_void_p=no
22276 fi
22277
22278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22279 fi
22280 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22281 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22282
22283 # The cast to long int works around a bug in the HP C Compiler
22284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22286 # This bug is HP SR number 8606223364.
22287 { echo "$as_me:$LINENO: checking size of void *" >&5
22288 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22289 if test "${ac_cv_sizeof_void_p+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 else
22292 if test "$cross_compiling" = yes; then
22293 # Depending upon the size, compute the lo and hi bounds.
22294 cat >conftest.$ac_ext <<_ACEOF
22295 /* confdefs.h. */
22296 _ACEOF
22297 cat confdefs.h >>conftest.$ac_ext
22298 cat >>conftest.$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 $ac_includes_default
22301 typedef void * ac__type_sizeof_;
22302 int
22303 main ()
22304 {
22305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22306 test_array [0] = 0
22307
22308 ;
22309 return 0;
22310 }
22311 _ACEOF
22312 rm -f conftest.$ac_objext
22313 if { (ac_try="$ac_compile"
22314 case "(($ac_try" in
22315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22316 *) ac_try_echo=$ac_try;;
22317 esac
22318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22319 (eval "$ac_compile") 2>conftest.er1
22320 ac_status=$?
22321 grep -v '^ *+' conftest.er1 >conftest.err
22322 rm -f conftest.er1
22323 cat conftest.err >&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } && {
22326 test -z "$ac_c_werror_flag" ||
22327 test ! -s conftest.err
22328 } && test -s conftest.$ac_objext; then
22329 ac_lo=0 ac_mid=0
22330 while :; do
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef void * ac__type_sizeof_;
22339 int
22340 main ()
22341 {
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22343 test_array [0] = 0
22344
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22354 esac
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22357 ac_status=$?
22358 grep -v '^ *+' conftest.er1 >conftest.err
22359 rm -f conftest.er1
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22366 ac_hi=$ac_mid; break
22367 else
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22370
22371 ac_lo=`expr $ac_mid + 1`
22372 if test $ac_lo -le $ac_mid; then
22373 ac_lo= ac_hi=
22374 break
22375 fi
22376 ac_mid=`expr 2 '*' $ac_mid + 1`
22377 fi
22378
22379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 done
22381 else
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.$ac_ext >&5
22384
22385 cat >conftest.$ac_ext <<_ACEOF
22386 /* confdefs.h. */
22387 _ACEOF
22388 cat confdefs.h >>conftest.$ac_ext
22389 cat >>conftest.$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22391 $ac_includes_default
22392 typedef void * ac__type_sizeof_;
22393 int
22394 main ()
22395 {
22396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22397 test_array [0] = 0
22398
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22411 ac_status=$?
22412 grep -v '^ *+' conftest.er1 >conftest.err
22413 rm -f conftest.er1
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_hi=-1 ac_mid=-1
22421 while :; do
22422 cat >conftest.$ac_ext <<_ACEOF
22423 /* confdefs.h. */
22424 _ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 $ac_includes_default
22429 typedef void * ac__type_sizeof_;
22430 int
22431 main ()
22432 {
22433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22434 test_array [0] = 0
22435
22436 ;
22437 return 0;
22438 }
22439 _ACEOF
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest.$ac_objext; then
22457 ac_lo=$ac_mid; break
22458 else
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.$ac_ext >&5
22461
22462 ac_hi=`expr '(' $ac_mid ')' - 1`
22463 if test $ac_mid -le $ac_hi; then
22464 ac_lo= ac_hi=
22465 break
22466 fi
22467 ac_mid=`expr 2 '*' $ac_mid`
22468 fi
22469
22470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22471 done
22472 else
22473 echo "$as_me: failed program was:" >&5
22474 sed 's/^/| /' conftest.$ac_ext >&5
22475
22476 ac_lo= ac_hi=
22477 fi
22478
22479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22480 fi
22481
22482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22483 # Binary search between lo and hi bounds.
22484 while test "x$ac_lo" != "x$ac_hi"; do
22485 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22486 cat >conftest.$ac_ext <<_ACEOF
22487 /* confdefs.h. */
22488 _ACEOF
22489 cat confdefs.h >>conftest.$ac_ext
22490 cat >>conftest.$ac_ext <<_ACEOF
22491 /* end confdefs.h. */
22492 $ac_includes_default
22493 typedef void * ac__type_sizeof_;
22494 int
22495 main ()
22496 {
22497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22498 test_array [0] = 0
22499
22500 ;
22501 return 0;
22502 }
22503 _ACEOF
22504 rm -f conftest.$ac_objext
22505 if { (ac_try="$ac_compile"
22506 case "(($ac_try" in
22507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22508 *) ac_try_echo=$ac_try;;
22509 esac
22510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22511 (eval "$ac_compile") 2>conftest.er1
22512 ac_status=$?
22513 grep -v '^ *+' conftest.er1 >conftest.err
22514 rm -f conftest.er1
22515 cat conftest.err >&5
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); } && {
22518 test -z "$ac_c_werror_flag" ||
22519 test ! -s conftest.err
22520 } && test -s conftest.$ac_objext; then
22521 ac_hi=$ac_mid
22522 else
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22525
22526 ac_lo=`expr '(' $ac_mid ')' + 1`
22527 fi
22528
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 done
22531 case $ac_lo in
22532 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22533 '') if test "$ac_cv_type_void_p" = yes; then
22534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22535 See \`config.log' for more details." >&5
22536 echo "$as_me: error: cannot compute sizeof (void *)
22537 See \`config.log' for more details." >&2;}
22538 { (exit 77); exit 77; }; }
22539 else
22540 ac_cv_sizeof_void_p=0
22541 fi ;;
22542 esac
22543 else
22544 cat >conftest.$ac_ext <<_ACEOF
22545 /* confdefs.h. */
22546 _ACEOF
22547 cat confdefs.h >>conftest.$ac_ext
22548 cat >>conftest.$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 $ac_includes_default
22551 typedef void * ac__type_sizeof_;
22552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22554 #include <stdio.h>
22555 #include <stdlib.h>
22556 int
22557 main ()
22558 {
22559
22560 FILE *f = fopen ("conftest.val", "w");
22561 if (! f)
22562 return 1;
22563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22564 {
22565 long int i = longval ();
22566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22567 return 1;
22568 fprintf (f, "%ld\n", i);
22569 }
22570 else
22571 {
22572 unsigned long int i = ulongval ();
22573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22574 return 1;
22575 fprintf (f, "%lu\n", i);
22576 }
22577 return ferror (f) || fclose (f) != 0;
22578
22579 ;
22580 return 0;
22581 }
22582 _ACEOF
22583 rm -f conftest$ac_exeext
22584 if { (ac_try="$ac_link"
22585 case "(($ac_try" in
22586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587 *) ac_try_echo=$ac_try;;
22588 esac
22589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590 (eval "$ac_link") 2>&5
22591 ac_status=$?
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22594 { (case "(($ac_try" in
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22596 *) ac_try_echo=$ac_try;;
22597 esac
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_try") 2>&5
22600 ac_status=$?
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; }; then
22603 ac_cv_sizeof_void_p=`cat conftest.val`
22604 else
22605 echo "$as_me: program exited with status $ac_status" >&5
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.$ac_ext >&5
22608
22609 ( exit $ac_status )
22610 if test "$ac_cv_type_void_p" = yes; then
22611 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22612 See \`config.log' for more details." >&5
22613 echo "$as_me: error: cannot compute sizeof (void *)
22614 See \`config.log' for more details." >&2;}
22615 { (exit 77); exit 77; }; }
22616 else
22617 ac_cv_sizeof_void_p=0
22618 fi
22619 fi
22620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22621 fi
22622 rm -f conftest.val
22623 fi
22624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22625 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22626
22627
22628
22629 cat >>confdefs.h <<_ACEOF
22630 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22631 _ACEOF
22632
22633
22634 { echo "$as_me:$LINENO: checking for int" >&5
22635 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22636 if test "${ac_cv_type_int+set}" = set; then
22637 echo $ECHO_N "(cached) $ECHO_C" >&6
22638 else
22639 cat >conftest.$ac_ext <<_ACEOF
22640 /* confdefs.h. */
22641 _ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645 $ac_includes_default
22646 typedef int ac__type_new_;
22647 int
22648 main ()
22649 {
22650 if ((ac__type_new_ *) 0)
22651 return 0;
22652 if (sizeof (ac__type_new_))
22653 return 0;
22654 ;
22655 return 0;
22656 }
22657 _ACEOF
22658 rm -f conftest.$ac_objext
22659 if { (ac_try="$ac_compile"
22660 case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22663 esac
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_compile") 2>conftest.er1
22666 ac_status=$?
22667 grep -v '^ *+' conftest.er1 >conftest.err
22668 rm -f conftest.er1
22669 cat conftest.err >&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } && {
22672 test -z "$ac_c_werror_flag" ||
22673 test ! -s conftest.err
22674 } && test -s conftest.$ac_objext; then
22675 ac_cv_type_int=yes
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 ac_cv_type_int=no
22681 fi
22682
22683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22684 fi
22685 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22686 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22687
22688 # The cast to long int works around a bug in the HP C Compiler
22689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22691 # This bug is HP SR number 8606223364.
22692 { echo "$as_me:$LINENO: checking size of int" >&5
22693 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22694 if test "${ac_cv_sizeof_int+set}" = set; then
22695 echo $ECHO_N "(cached) $ECHO_C" >&6
22696 else
22697 if test "$cross_compiling" = yes; then
22698 # Depending upon the size, compute the lo and hi bounds.
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef int ac__type_sizeof_;
22707 int
22708 main ()
22709 {
22710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22711 test_array [0] = 0
22712
22713 ;
22714 return 0;
22715 }
22716 _ACEOF
22717 rm -f conftest.$ac_objext
22718 if { (ac_try="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22722 esac
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22725 ac_status=$?
22726 grep -v '^ *+' conftest.er1 >conftest.err
22727 rm -f conftest.er1
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && {
22731 test -z "$ac_c_werror_flag" ||
22732 test ! -s conftest.err
22733 } && test -s conftest.$ac_objext; then
22734 ac_lo=0 ac_mid=0
22735 while :; do
22736 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 $ac_includes_default
22743 typedef int ac__type_sizeof_;
22744 int
22745 main ()
22746 {
22747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22748 test_array [0] = 0
22749
22750 ;
22751 return 0;
22752 }
22753 _ACEOF
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22759 esac
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22762 ac_status=$?
22763 grep -v '^ *+' conftest.er1 >conftest.err
22764 rm -f conftest.er1
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.$ac_objext; then
22771 ac_hi=$ac_mid; break
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 ac_lo=`expr $ac_mid + 1`
22777 if test $ac_lo -le $ac_mid; then
22778 ac_lo= ac_hi=
22779 break
22780 fi
22781 ac_mid=`expr 2 '*' $ac_mid + 1`
22782 fi
22783
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 done
22786 else
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.$ac_ext >&5
22789
22790 cat >conftest.$ac_ext <<_ACEOF
22791 /* confdefs.h. */
22792 _ACEOF
22793 cat confdefs.h >>conftest.$ac_ext
22794 cat >>conftest.$ac_ext <<_ACEOF
22795 /* end confdefs.h. */
22796 $ac_includes_default
22797 typedef int ac__type_sizeof_;
22798 int
22799 main ()
22800 {
22801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22802 test_array [0] = 0
22803
22804 ;
22805 return 0;
22806 }
22807 _ACEOF
22808 rm -f conftest.$ac_objext
22809 if { (ac_try="$ac_compile"
22810 case "(($ac_try" in
22811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22812 *) ac_try_echo=$ac_try;;
22813 esac
22814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22815 (eval "$ac_compile") 2>conftest.er1
22816 ac_status=$?
22817 grep -v '^ *+' conftest.er1 >conftest.err
22818 rm -f conftest.er1
22819 cat conftest.err >&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } && {
22822 test -z "$ac_c_werror_flag" ||
22823 test ! -s conftest.err
22824 } && test -s conftest.$ac_objext; then
22825 ac_hi=-1 ac_mid=-1
22826 while :; do
22827 cat >conftest.$ac_ext <<_ACEOF
22828 /* confdefs.h. */
22829 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 $ac_includes_default
22834 typedef int ac__type_sizeof_;
22835 int
22836 main ()
22837 {
22838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22839 test_array [0] = 0
22840
22841 ;
22842 return 0;
22843 }
22844 _ACEOF
22845 rm -f conftest.$ac_objext
22846 if { (ac_try="$ac_compile"
22847 case "(($ac_try" in
22848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22849 *) ac_try_echo=$ac_try;;
22850 esac
22851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22852 (eval "$ac_compile") 2>conftest.er1
22853 ac_status=$?
22854 grep -v '^ *+' conftest.er1 >conftest.err
22855 rm -f conftest.er1
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } && {
22859 test -z "$ac_c_werror_flag" ||
22860 test ! -s conftest.err
22861 } && test -s conftest.$ac_objext; then
22862 ac_lo=$ac_mid; break
22863 else
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22866
22867 ac_hi=`expr '(' $ac_mid ')' - 1`
22868 if test $ac_mid -le $ac_hi; then
22869 ac_lo= ac_hi=
22870 break
22871 fi
22872 ac_mid=`expr 2 '*' $ac_mid`
22873 fi
22874
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876 done
22877 else
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22880
22881 ac_lo= ac_hi=
22882 fi
22883
22884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885 fi
22886
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22888 # Binary search between lo and hi bounds.
22889 while test "x$ac_lo" != "x$ac_hi"; do
22890 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22891 cat >conftest.$ac_ext <<_ACEOF
22892 /* confdefs.h. */
22893 _ACEOF
22894 cat confdefs.h >>conftest.$ac_ext
22895 cat >>conftest.$ac_ext <<_ACEOF
22896 /* end confdefs.h. */
22897 $ac_includes_default
22898 typedef int ac__type_sizeof_;
22899 int
22900 main ()
22901 {
22902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22903 test_array [0] = 0
22904
22905 ;
22906 return 0;
22907 }
22908 _ACEOF
22909 rm -f conftest.$ac_objext
22910 if { (ac_try="$ac_compile"
22911 case "(($ac_try" in
22912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22914 esac
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_compile") 2>conftest.er1
22917 ac_status=$?
22918 grep -v '^ *+' conftest.er1 >conftest.err
22919 rm -f conftest.er1
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } && {
22923 test -z "$ac_c_werror_flag" ||
22924 test ! -s conftest.err
22925 } && test -s conftest.$ac_objext; then
22926 ac_hi=$ac_mid
22927 else
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22930
22931 ac_lo=`expr '(' $ac_mid ')' + 1`
22932 fi
22933
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 done
22936 case $ac_lo in
22937 ?*) ac_cv_sizeof_int=$ac_lo;;
22938 '') if test "$ac_cv_type_int" = yes; then
22939 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22940 See \`config.log' for more details." >&5
22941 echo "$as_me: error: cannot compute sizeof (int)
22942 See \`config.log' for more details." >&2;}
22943 { (exit 77); exit 77; }; }
22944 else
22945 ac_cv_sizeof_int=0
22946 fi ;;
22947 esac
22948 else
22949 cat >conftest.$ac_ext <<_ACEOF
22950 /* confdefs.h. */
22951 _ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955 $ac_includes_default
22956 typedef int ac__type_sizeof_;
22957 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22958 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22959 #include <stdio.h>
22960 #include <stdlib.h>
22961 int
22962 main ()
22963 {
22964
22965 FILE *f = fopen ("conftest.val", "w");
22966 if (! f)
22967 return 1;
22968 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22969 {
22970 long int i = longval ();
22971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22972 return 1;
22973 fprintf (f, "%ld\n", i);
22974 }
22975 else
22976 {
22977 unsigned long int i = ulongval ();
22978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22979 return 1;
22980 fprintf (f, "%lu\n", i);
22981 }
22982 return ferror (f) || fclose (f) != 0;
22983
22984 ;
22985 return 0;
22986 }
22987 _ACEOF
22988 rm -f conftest$ac_exeext
22989 if { (ac_try="$ac_link"
22990 case "(($ac_try" in
22991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22993 esac
22994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995 (eval "$ac_link") 2>&5
22996 ac_status=$?
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22999 { (case "(($ac_try" in
23000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23001 *) ac_try_echo=$ac_try;;
23002 esac
23003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23004 (eval "$ac_try") 2>&5
23005 ac_status=$?
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; }; then
23008 ac_cv_sizeof_int=`cat conftest.val`
23009 else
23010 echo "$as_me: program exited with status $ac_status" >&5
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23013
23014 ( exit $ac_status )
23015 if test "$ac_cv_type_int" = yes; then
23016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23017 See \`config.log' for more details." >&5
23018 echo "$as_me: error: cannot compute sizeof (int)
23019 See \`config.log' for more details." >&2;}
23020 { (exit 77); exit 77; }; }
23021 else
23022 ac_cv_sizeof_int=0
23023 fi
23024 fi
23025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23026 fi
23027 rm -f conftest.val
23028 fi
23029 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23030 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23031
23032
23033
23034 cat >>confdefs.h <<_ACEOF
23035 #define SIZEOF_INT $ac_cv_sizeof_int
23036 _ACEOF
23037
23038
23039 { echo "$as_me:$LINENO: checking for long" >&5
23040 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23041 if test "${ac_cv_type_long+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 else
23044 cat >conftest.$ac_ext <<_ACEOF
23045 /* confdefs.h. */
23046 _ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 $ac_includes_default
23051 typedef long ac__type_new_;
23052 int
23053 main ()
23054 {
23055 if ((ac__type_new_ *) 0)
23056 return 0;
23057 if (sizeof (ac__type_new_))
23058 return 0;
23059 ;
23060 return 0;
23061 }
23062 _ACEOF
23063 rm -f conftest.$ac_objext
23064 if { (ac_try="$ac_compile"
23065 case "(($ac_try" in
23066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23067 *) ac_try_echo=$ac_try;;
23068 esac
23069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23070 (eval "$ac_compile") 2>conftest.er1
23071 ac_status=$?
23072 grep -v '^ *+' conftest.er1 >conftest.err
23073 rm -f conftest.er1
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } && {
23077 test -z "$ac_c_werror_flag" ||
23078 test ! -s conftest.err
23079 } && test -s conftest.$ac_objext; then
23080 ac_cv_type_long=yes
23081 else
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23084
23085 ac_cv_type_long=no
23086 fi
23087
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 fi
23090 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23091 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23092
23093 # The cast to long int works around a bug in the HP C Compiler
23094 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23095 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23096 # This bug is HP SR number 8606223364.
23097 { echo "$as_me:$LINENO: checking size of long" >&5
23098 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23099 if test "${ac_cv_sizeof_long+set}" = set; then
23100 echo $ECHO_N "(cached) $ECHO_C" >&6
23101 else
23102 if test "$cross_compiling" = yes; then
23103 # Depending upon the size, compute the lo and hi bounds.
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long ac__type_sizeof_;
23112 int
23113 main ()
23114 {
23115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23116 test_array [0] = 0
23117
23118 ;
23119 return 0;
23120 }
23121 _ACEOF
23122 rm -f conftest.$ac_objext
23123 if { (ac_try="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23127 esac
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23130 ac_status=$?
23131 grep -v '^ *+' conftest.er1 >conftest.err
23132 rm -f conftest.er1
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23139 ac_lo=0 ac_mid=0
23140 while :; do
23141 cat >conftest.$ac_ext <<_ACEOF
23142 /* confdefs.h. */
23143 _ACEOF
23144 cat confdefs.h >>conftest.$ac_ext
23145 cat >>conftest.$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 $ac_includes_default
23148 typedef long ac__type_sizeof_;
23149 int
23150 main ()
23151 {
23152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23153 test_array [0] = 0
23154
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23164 esac
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23167 ac_status=$?
23168 grep -v '^ *+' conftest.er1 >conftest.err
23169 rm -f conftest.er1
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23176 ac_hi=$ac_mid; break
23177 else
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23180
23181 ac_lo=`expr $ac_mid + 1`
23182 if test $ac_lo -le $ac_mid; then
23183 ac_lo= ac_hi=
23184 break
23185 fi
23186 ac_mid=`expr 2 '*' $ac_mid + 1`
23187 fi
23188
23189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23190 done
23191 else
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long ac__type_sizeof_;
23203 int
23204 main ()
23205 {
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23207 test_array [0] = 0
23208
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23221 ac_status=$?
23222 grep -v '^ *+' conftest.er1 >conftest.err
23223 rm -f conftest.er1
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23230 ac_hi=-1 ac_mid=-1
23231 while :; do
23232 cat >conftest.$ac_ext <<_ACEOF
23233 /* confdefs.h. */
23234 _ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h. */
23238 $ac_includes_default
23239 typedef long ac__type_sizeof_;
23240 int
23241 main ()
23242 {
23243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23244 test_array [0] = 0
23245
23246 ;
23247 return 0;
23248 }
23249 _ACEOF
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23255 esac
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23258 ac_status=$?
23259 grep -v '^ *+' conftest.er1 >conftest.err
23260 rm -f conftest.er1
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.$ac_objext; then
23267 ac_lo=$ac_mid; break
23268 else
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.$ac_ext >&5
23271
23272 ac_hi=`expr '(' $ac_mid ')' - 1`
23273 if test $ac_mid -le $ac_hi; then
23274 ac_lo= ac_hi=
23275 break
23276 fi
23277 ac_mid=`expr 2 '*' $ac_mid`
23278 fi
23279
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281 done
23282 else
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.$ac_ext >&5
23285
23286 ac_lo= ac_hi=
23287 fi
23288
23289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23290 fi
23291
23292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23293 # Binary search between lo and hi bounds.
23294 while test "x$ac_lo" != "x$ac_hi"; do
23295 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23296 cat >conftest.$ac_ext <<_ACEOF
23297 /* confdefs.h. */
23298 _ACEOF
23299 cat confdefs.h >>conftest.$ac_ext
23300 cat >>conftest.$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302 $ac_includes_default
23303 typedef long ac__type_sizeof_;
23304 int
23305 main ()
23306 {
23307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23308 test_array [0] = 0
23309
23310 ;
23311 return 0;
23312 }
23313 _ACEOF
23314 rm -f conftest.$ac_objext
23315 if { (ac_try="$ac_compile"
23316 case "(($ac_try" in
23317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23318 *) ac_try_echo=$ac_try;;
23319 esac
23320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23321 (eval "$ac_compile") 2>conftest.er1
23322 ac_status=$?
23323 grep -v '^ *+' conftest.er1 >conftest.err
23324 rm -f conftest.er1
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } && {
23328 test -z "$ac_c_werror_flag" ||
23329 test ! -s conftest.err
23330 } && test -s conftest.$ac_objext; then
23331 ac_hi=$ac_mid
23332 else
23333 echo "$as_me: failed program was:" >&5
23334 sed 's/^/| /' conftest.$ac_ext >&5
23335
23336 ac_lo=`expr '(' $ac_mid ')' + 1`
23337 fi
23338
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340 done
23341 case $ac_lo in
23342 ?*) ac_cv_sizeof_long=$ac_lo;;
23343 '') if test "$ac_cv_type_long" = yes; then
23344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23345 See \`config.log' for more details." >&5
23346 echo "$as_me: error: cannot compute sizeof (long)
23347 See \`config.log' for more details." >&2;}
23348 { (exit 77); exit 77; }; }
23349 else
23350 ac_cv_sizeof_long=0
23351 fi ;;
23352 esac
23353 else
23354 cat >conftest.$ac_ext <<_ACEOF
23355 /* confdefs.h. */
23356 _ACEOF
23357 cat confdefs.h >>conftest.$ac_ext
23358 cat >>conftest.$ac_ext <<_ACEOF
23359 /* end confdefs.h. */
23360 $ac_includes_default
23361 typedef long ac__type_sizeof_;
23362 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23363 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23364 #include <stdio.h>
23365 #include <stdlib.h>
23366 int
23367 main ()
23368 {
23369
23370 FILE *f = fopen ("conftest.val", "w");
23371 if (! f)
23372 return 1;
23373 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23374 {
23375 long int i = longval ();
23376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23377 return 1;
23378 fprintf (f, "%ld\n", i);
23379 }
23380 else
23381 {
23382 unsigned long int i = ulongval ();
23383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23384 return 1;
23385 fprintf (f, "%lu\n", i);
23386 }
23387 return ferror (f) || fclose (f) != 0;
23388
23389 ;
23390 return 0;
23391 }
23392 _ACEOF
23393 rm -f conftest$ac_exeext
23394 if { (ac_try="$ac_link"
23395 case "(($ac_try" in
23396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23397 *) ac_try_echo=$ac_try;;
23398 esac
23399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23400 (eval "$ac_link") 2>&5
23401 ac_status=$?
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23404 { (case "(($ac_try" in
23405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23407 esac
23408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_try") 2>&5
23410 ac_status=$?
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); }; }; then
23413 ac_cv_sizeof_long=`cat conftest.val`
23414 else
23415 echo "$as_me: program exited with status $ac_status" >&5
23416 echo "$as_me: failed program was:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23418
23419 ( exit $ac_status )
23420 if test "$ac_cv_type_long" = yes; then
23421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23422 See \`config.log' for more details." >&5
23423 echo "$as_me: error: cannot compute sizeof (long)
23424 See \`config.log' for more details." >&2;}
23425 { (exit 77); exit 77; }; }
23426 else
23427 ac_cv_sizeof_long=0
23428 fi
23429 fi
23430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23431 fi
23432 rm -f conftest.val
23433 fi
23434 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23435 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23436
23437
23438
23439 cat >>confdefs.h <<_ACEOF
23440 #define SIZEOF_LONG $ac_cv_sizeof_long
23441 _ACEOF
23442
23443
23444 { echo "$as_me:$LINENO: checking for size_t" >&5
23445 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23446 if test "${ac_cv_type_size_t+set}" = set; then
23447 echo $ECHO_N "(cached) $ECHO_C" >&6
23448 else
23449 cat >conftest.$ac_ext <<_ACEOF
23450 /* confdefs.h. */
23451 _ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455 $ac_includes_default
23456 typedef size_t ac__type_new_;
23457 int
23458 main ()
23459 {
23460 if ((ac__type_new_ *) 0)
23461 return 0;
23462 if (sizeof (ac__type_new_))
23463 return 0;
23464 ;
23465 return 0;
23466 }
23467 _ACEOF
23468 rm -f conftest.$ac_objext
23469 if { (ac_try="$ac_compile"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23473 esac
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_compile") 2>conftest.er1
23476 ac_status=$?
23477 grep -v '^ *+' conftest.er1 >conftest.err
23478 rm -f conftest.er1
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } && {
23482 test -z "$ac_c_werror_flag" ||
23483 test ! -s conftest.err
23484 } && test -s conftest.$ac_objext; then
23485 ac_cv_type_size_t=yes
23486 else
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 ac_cv_type_size_t=no
23491 fi
23492
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 fi
23495 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23496 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23497
23498 # The cast to long int works around a bug in the HP C Compiler
23499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23501 # This bug is HP SR number 8606223364.
23502 { echo "$as_me:$LINENO: checking size of size_t" >&5
23503 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23504 if test "${ac_cv_sizeof_size_t+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23506 else
23507 if test "$cross_compiling" = yes; then
23508 # Depending upon the size, compute the lo and hi bounds.
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h. */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 typedef size_t ac__type_sizeof_;
23517 int
23518 main ()
23519 {
23520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23521 test_array [0] = 0
23522
23523 ;
23524 return 0;
23525 }
23526 _ACEOF
23527 rm -f conftest.$ac_objext
23528 if { (ac_try="$ac_compile"
23529 case "(($ac_try" in
23530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23531 *) ac_try_echo=$ac_try;;
23532 esac
23533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23534 (eval "$ac_compile") 2>conftest.er1
23535 ac_status=$?
23536 grep -v '^ *+' conftest.er1 >conftest.err
23537 rm -f conftest.er1
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } && {
23541 test -z "$ac_c_werror_flag" ||
23542 test ! -s conftest.err
23543 } && test -s conftest.$ac_objext; then
23544 ac_lo=0 ac_mid=0
23545 while :; do
23546 cat >conftest.$ac_ext <<_ACEOF
23547 /* confdefs.h. */
23548 _ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23552 $ac_includes_default
23553 typedef size_t ac__type_sizeof_;
23554 int
23555 main ()
23556 {
23557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23558 test_array [0] = 0
23559
23560 ;
23561 return 0;
23562 }
23563 _ACEOF
23564 rm -f conftest.$ac_objext
23565 if { (ac_try="$ac_compile"
23566 case "(($ac_try" in
23567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23568 *) ac_try_echo=$ac_try;;
23569 esac
23570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23571 (eval "$ac_compile") 2>conftest.er1
23572 ac_status=$?
23573 grep -v '^ *+' conftest.er1 >conftest.err
23574 rm -f conftest.er1
23575 cat conftest.err >&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); } && {
23578 test -z "$ac_c_werror_flag" ||
23579 test ! -s conftest.err
23580 } && test -s conftest.$ac_objext; then
23581 ac_hi=$ac_mid; break
23582 else
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.$ac_ext >&5
23585
23586 ac_lo=`expr $ac_mid + 1`
23587 if test $ac_lo -le $ac_mid; then
23588 ac_lo= ac_hi=
23589 break
23590 fi
23591 ac_mid=`expr 2 '*' $ac_mid + 1`
23592 fi
23593
23594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23595 done
23596 else
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23599
23600 cat >conftest.$ac_ext <<_ACEOF
23601 /* confdefs.h. */
23602 _ACEOF
23603 cat confdefs.h >>conftest.$ac_ext
23604 cat >>conftest.$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23606 $ac_includes_default
23607 typedef size_t ac__type_sizeof_;
23608 int
23609 main ()
23610 {
23611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23612 test_array [0] = 0
23613
23614 ;
23615 return 0;
23616 }
23617 _ACEOF
23618 rm -f conftest.$ac_objext
23619 if { (ac_try="$ac_compile"
23620 case "(($ac_try" in
23621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23622 *) ac_try_echo=$ac_try;;
23623 esac
23624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23625 (eval "$ac_compile") 2>conftest.er1
23626 ac_status=$?
23627 grep -v '^ *+' conftest.er1 >conftest.err
23628 rm -f conftest.er1
23629 cat conftest.err >&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } && {
23632 test -z "$ac_c_werror_flag" ||
23633 test ! -s conftest.err
23634 } && test -s conftest.$ac_objext; then
23635 ac_hi=-1 ac_mid=-1
23636 while :; do
23637 cat >conftest.$ac_ext <<_ACEOF
23638 /* confdefs.h. */
23639 _ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 $ac_includes_default
23644 typedef size_t ac__type_sizeof_;
23645 int
23646 main ()
23647 {
23648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23649 test_array [0] = 0
23650
23651 ;
23652 return 0;
23653 }
23654 _ACEOF
23655 rm -f conftest.$ac_objext
23656 if { (ac_try="$ac_compile"
23657 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659 *) ac_try_echo=$ac_try;;
23660 esac
23661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662 (eval "$ac_compile") 2>conftest.er1
23663 ac_status=$?
23664 grep -v '^ *+' conftest.er1 >conftest.err
23665 rm -f conftest.er1
23666 cat conftest.err >&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } && {
23669 test -z "$ac_c_werror_flag" ||
23670 test ! -s conftest.err
23671 } && test -s conftest.$ac_objext; then
23672 ac_lo=$ac_mid; break
23673 else
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23676
23677 ac_hi=`expr '(' $ac_mid ')' - 1`
23678 if test $ac_mid -le $ac_hi; then
23679 ac_lo= ac_hi=
23680 break
23681 fi
23682 ac_mid=`expr 2 '*' $ac_mid`
23683 fi
23684
23685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23686 done
23687 else
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23690
23691 ac_lo= ac_hi=
23692 fi
23693
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23695 fi
23696
23697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23698 # Binary search between lo and hi bounds.
23699 while test "x$ac_lo" != "x$ac_hi"; do
23700 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23701 cat >conftest.$ac_ext <<_ACEOF
23702 /* confdefs.h. */
23703 _ACEOF
23704 cat confdefs.h >>conftest.$ac_ext
23705 cat >>conftest.$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707 $ac_includes_default
23708 typedef size_t ac__type_sizeof_;
23709 int
23710 main ()
23711 {
23712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23713 test_array [0] = 0
23714
23715 ;
23716 return 0;
23717 }
23718 _ACEOF
23719 rm -f conftest.$ac_objext
23720 if { (ac_try="$ac_compile"
23721 case "(($ac_try" in
23722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23723 *) ac_try_echo=$ac_try;;
23724 esac
23725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23726 (eval "$ac_compile") 2>conftest.er1
23727 ac_status=$?
23728 grep -v '^ *+' conftest.er1 >conftest.err
23729 rm -f conftest.er1
23730 cat conftest.err >&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); } && {
23733 test -z "$ac_c_werror_flag" ||
23734 test ! -s conftest.err
23735 } && test -s conftest.$ac_objext; then
23736 ac_hi=$ac_mid
23737 else
23738 echo "$as_me: failed program was:" >&5
23739 sed 's/^/| /' conftest.$ac_ext >&5
23740
23741 ac_lo=`expr '(' $ac_mid ')' + 1`
23742 fi
23743
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23745 done
23746 case $ac_lo in
23747 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23748 '') if test "$ac_cv_type_size_t" = yes; then
23749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23750 See \`config.log' for more details." >&5
23751 echo "$as_me: error: cannot compute sizeof (size_t)
23752 See \`config.log' for more details." >&2;}
23753 { (exit 77); exit 77; }; }
23754 else
23755 ac_cv_sizeof_size_t=0
23756 fi ;;
23757 esac
23758 else
23759 cat >conftest.$ac_ext <<_ACEOF
23760 /* confdefs.h. */
23761 _ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765 $ac_includes_default
23766 typedef size_t ac__type_sizeof_;
23767 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23768 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23769 #include <stdio.h>
23770 #include <stdlib.h>
23771 int
23772 main ()
23773 {
23774
23775 FILE *f = fopen ("conftest.val", "w");
23776 if (! f)
23777 return 1;
23778 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23779 {
23780 long int i = longval ();
23781 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23782 return 1;
23783 fprintf (f, "%ld\n", i);
23784 }
23785 else
23786 {
23787 unsigned long int i = ulongval ();
23788 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23789 return 1;
23790 fprintf (f, "%lu\n", i);
23791 }
23792 return ferror (f) || fclose (f) != 0;
23793
23794 ;
23795 return 0;
23796 }
23797 _ACEOF
23798 rm -f conftest$ac_exeext
23799 if { (ac_try="$ac_link"
23800 case "(($ac_try" in
23801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23802 *) ac_try_echo=$ac_try;;
23803 esac
23804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23805 (eval "$ac_link") 2>&5
23806 ac_status=$?
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23809 { (case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23812 esac
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_try") 2>&5
23815 ac_status=$?
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; }; then
23818 ac_cv_sizeof_size_t=`cat conftest.val`
23819 else
23820 echo "$as_me: program exited with status $ac_status" >&5
23821 echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23823
23824 ( exit $ac_status )
23825 if test "$ac_cv_type_size_t" = yes; then
23826 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23827 See \`config.log' for more details." >&5
23828 echo "$as_me: error: cannot compute sizeof (size_t)
23829 See \`config.log' for more details." >&2;}
23830 { (exit 77); exit 77; }; }
23831 else
23832 ac_cv_sizeof_size_t=0
23833 fi
23834 fi
23835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23836 fi
23837 rm -f conftest.val
23838 fi
23839 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23840 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23841
23842
23843
23844 cat >>confdefs.h <<_ACEOF
23845 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23846 _ACEOF
23847
23848
23849
23850 case "${host}" in
23851 arm-*-linux* )
23852 { echo "$as_me:$LINENO: checking for long long" >&5
23853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23854 if test "${ac_cv_type_long_long+set}" = set; then
23855 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 else
23857 cat >conftest.$ac_ext <<_ACEOF
23858 /* confdefs.h. */
23859 _ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23863 $ac_includes_default
23864 typedef long long ac__type_new_;
23865 int
23866 main ()
23867 {
23868 if ((ac__type_new_ *) 0)
23869 return 0;
23870 if (sizeof (ac__type_new_))
23871 return 0;
23872 ;
23873 return 0;
23874 }
23875 _ACEOF
23876 rm -f conftest.$ac_objext
23877 if { (ac_try="$ac_compile"
23878 case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;;
23881 esac
23882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883 (eval "$ac_compile") 2>conftest.er1
23884 ac_status=$?
23885 grep -v '^ *+' conftest.er1 >conftest.err
23886 rm -f conftest.er1
23887 cat conftest.err >&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } && {
23890 test -z "$ac_c_werror_flag" ||
23891 test ! -s conftest.err
23892 } && test -s conftest.$ac_objext; then
23893 ac_cv_type_long_long=yes
23894 else
23895 echo "$as_me: failed program was:" >&5
23896 sed 's/^/| /' conftest.$ac_ext >&5
23897
23898 ac_cv_type_long_long=no
23899 fi
23900
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23902 fi
23903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23905
23906 # The cast to long int works around a bug in the HP C Compiler
23907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23909 # This bug is HP SR number 8606223364.
23910 { echo "$as_me:$LINENO: checking size of long long" >&5
23911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23912 if test "${ac_cv_sizeof_long_long+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23914 else
23915 if test "$cross_compiling" = yes; then
23916 # Depending upon the size, compute the lo and hi bounds.
23917 cat >conftest.$ac_ext <<_ACEOF
23918 /* confdefs.h. */
23919 _ACEOF
23920 cat confdefs.h >>conftest.$ac_ext
23921 cat >>conftest.$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923 $ac_includes_default
23924 typedef long long ac__type_sizeof_;
23925 int
23926 main ()
23927 {
23928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23929 test_array [0] = 0
23930
23931 ;
23932 return 0;
23933 }
23934 _ACEOF
23935 rm -f conftest.$ac_objext
23936 if { (ac_try="$ac_compile"
23937 case "(($ac_try" in
23938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23939 *) ac_try_echo=$ac_try;;
23940 esac
23941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23942 (eval "$ac_compile") 2>conftest.er1
23943 ac_status=$?
23944 grep -v '^ *+' conftest.er1 >conftest.err
23945 rm -f conftest.er1
23946 cat conftest.err >&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } && {
23949 test -z "$ac_c_werror_flag" ||
23950 test ! -s conftest.err
23951 } && test -s conftest.$ac_objext; then
23952 ac_lo=0 ac_mid=0
23953 while :; do
23954 cat >conftest.$ac_ext <<_ACEOF
23955 /* confdefs.h. */
23956 _ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23960 $ac_includes_default
23961 typedef long long ac__type_sizeof_;
23962 int
23963 main ()
23964 {
23965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23966 test_array [0] = 0
23967
23968 ;
23969 return 0;
23970 }
23971 _ACEOF
23972 rm -f conftest.$ac_objext
23973 if { (ac_try="$ac_compile"
23974 case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23976 *) ac_try_echo=$ac_try;;
23977 esac
23978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_compile") 2>conftest.er1
23980 ac_status=$?
23981 grep -v '^ *+' conftest.er1 >conftest.err
23982 rm -f conftest.er1
23983 cat conftest.err >&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } && {
23986 test -z "$ac_c_werror_flag" ||
23987 test ! -s conftest.err
23988 } && test -s conftest.$ac_objext; then
23989 ac_hi=$ac_mid; break
23990 else
23991 echo "$as_me: failed program was:" >&5
23992 sed 's/^/| /' conftest.$ac_ext >&5
23993
23994 ac_lo=`expr $ac_mid + 1`
23995 if test $ac_lo -le $ac_mid; then
23996 ac_lo= ac_hi=
23997 break
23998 fi
23999 ac_mid=`expr 2 '*' $ac_mid + 1`
24000 fi
24001
24002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24003 done
24004 else
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.$ac_ext >&5
24007
24008 cat >conftest.$ac_ext <<_ACEOF
24009 /* confdefs.h. */
24010 _ACEOF
24011 cat confdefs.h >>conftest.$ac_ext
24012 cat >>conftest.$ac_ext <<_ACEOF
24013 /* end confdefs.h. */
24014 $ac_includes_default
24015 typedef long long ac__type_sizeof_;
24016 int
24017 main ()
24018 {
24019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24020 test_array [0] = 0
24021
24022 ;
24023 return 0;
24024 }
24025 _ACEOF
24026 rm -f conftest.$ac_objext
24027 if { (ac_try="$ac_compile"
24028 case "(($ac_try" in
24029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24030 *) ac_try_echo=$ac_try;;
24031 esac
24032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24033 (eval "$ac_compile") 2>conftest.er1
24034 ac_status=$?
24035 grep -v '^ *+' conftest.er1 >conftest.err
24036 rm -f conftest.er1
24037 cat conftest.err >&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } && {
24040 test -z "$ac_c_werror_flag" ||
24041 test ! -s conftest.err
24042 } && test -s conftest.$ac_objext; then
24043 ac_hi=-1 ac_mid=-1
24044 while :; do
24045 cat >conftest.$ac_ext <<_ACEOF
24046 /* confdefs.h. */
24047 _ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h. */
24051 $ac_includes_default
24052 typedef long long ac__type_sizeof_;
24053 int
24054 main ()
24055 {
24056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24057 test_array [0] = 0
24058
24059 ;
24060 return 0;
24061 }
24062 _ACEOF
24063 rm -f conftest.$ac_objext
24064 if { (ac_try="$ac_compile"
24065 case "(($ac_try" in
24066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24067 *) ac_try_echo=$ac_try;;
24068 esac
24069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24070 (eval "$ac_compile") 2>conftest.er1
24071 ac_status=$?
24072 grep -v '^ *+' conftest.er1 >conftest.err
24073 rm -f conftest.er1
24074 cat conftest.err >&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); } && {
24077 test -z "$ac_c_werror_flag" ||
24078 test ! -s conftest.err
24079 } && test -s conftest.$ac_objext; then
24080 ac_lo=$ac_mid; break
24081 else
24082 echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.$ac_ext >&5
24084
24085 ac_hi=`expr '(' $ac_mid ')' - 1`
24086 if test $ac_mid -le $ac_hi; then
24087 ac_lo= ac_hi=
24088 break
24089 fi
24090 ac_mid=`expr 2 '*' $ac_mid`
24091 fi
24092
24093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24094 done
24095 else
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.$ac_ext >&5
24098
24099 ac_lo= ac_hi=
24100 fi
24101
24102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 fi
24104
24105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24106 # Binary search between lo and hi bounds.
24107 while test "x$ac_lo" != "x$ac_hi"; do
24108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24109 cat >conftest.$ac_ext <<_ACEOF
24110 /* confdefs.h. */
24111 _ACEOF
24112 cat confdefs.h >>conftest.$ac_ext
24113 cat >>conftest.$ac_ext <<_ACEOF
24114 /* end confdefs.h. */
24115 $ac_includes_default
24116 typedef long long ac__type_sizeof_;
24117 int
24118 main ()
24119 {
24120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24121 test_array [0] = 0
24122
24123 ;
24124 return 0;
24125 }
24126 _ACEOF
24127 rm -f conftest.$ac_objext
24128 if { (ac_try="$ac_compile"
24129 case "(($ac_try" in
24130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24131 *) ac_try_echo=$ac_try;;
24132 esac
24133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24134 (eval "$ac_compile") 2>conftest.er1
24135 ac_status=$?
24136 grep -v '^ *+' conftest.er1 >conftest.err
24137 rm -f conftest.er1
24138 cat conftest.err >&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } && {
24141 test -z "$ac_c_werror_flag" ||
24142 test ! -s conftest.err
24143 } && test -s conftest.$ac_objext; then
24144 ac_hi=$ac_mid
24145 else
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24148
24149 ac_lo=`expr '(' $ac_mid ')' + 1`
24150 fi
24151
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153 done
24154 case $ac_lo in
24155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24156 '') if test "$ac_cv_type_long_long" = yes; then
24157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24158 See \`config.log' for more details." >&5
24159 echo "$as_me: error: cannot compute sizeof (long long)
24160 See \`config.log' for more details." >&2;}
24161 { (exit 77); exit 77; }; }
24162 else
24163 ac_cv_sizeof_long_long=0
24164 fi ;;
24165 esac
24166 else
24167 cat >conftest.$ac_ext <<_ACEOF
24168 /* confdefs.h. */
24169 _ACEOF
24170 cat confdefs.h >>conftest.$ac_ext
24171 cat >>conftest.$ac_ext <<_ACEOF
24172 /* end confdefs.h. */
24173 $ac_includes_default
24174 typedef long long ac__type_sizeof_;
24175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24177 #include <stdio.h>
24178 #include <stdlib.h>
24179 int
24180 main ()
24181 {
24182
24183 FILE *f = fopen ("conftest.val", "w");
24184 if (! f)
24185 return 1;
24186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24187 {
24188 long int i = longval ();
24189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24190 return 1;
24191 fprintf (f, "%ld\n", i);
24192 }
24193 else
24194 {
24195 unsigned long int i = ulongval ();
24196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24197 return 1;
24198 fprintf (f, "%lu\n", i);
24199 }
24200 return ferror (f) || fclose (f) != 0;
24201
24202 ;
24203 return 0;
24204 }
24205 _ACEOF
24206 rm -f conftest$ac_exeext
24207 if { (ac_try="$ac_link"
24208 case "(($ac_try" in
24209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24210 *) ac_try_echo=$ac_try;;
24211 esac
24212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24213 (eval "$ac_link") 2>&5
24214 ac_status=$?
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24217 { (case "(($ac_try" in
24218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24219 *) ac_try_echo=$ac_try;;
24220 esac
24221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval "$ac_try") 2>&5
24223 ac_status=$?
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); }; }; then
24226 ac_cv_sizeof_long_long=`cat conftest.val`
24227 else
24228 echo "$as_me: program exited with status $ac_status" >&5
24229 echo "$as_me: failed program was:" >&5
24230 sed 's/^/| /' conftest.$ac_ext >&5
24231
24232 ( exit $ac_status )
24233 if test "$ac_cv_type_long_long" = yes; then
24234 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24235 See \`config.log' for more details." >&5
24236 echo "$as_me: error: cannot compute sizeof (long long)
24237 See \`config.log' for more details." >&2;}
24238 { (exit 77); exit 77; }; }
24239 else
24240 ac_cv_sizeof_long_long=0
24241 fi
24242 fi
24243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24244 fi
24245 rm -f conftest.val
24246 fi
24247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24249
24250
24251
24252 cat >>confdefs.h <<_ACEOF
24253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24254 _ACEOF
24255
24256
24257 ;;
24258 *-hp-hpux* )
24259 { echo "$as_me:$LINENO: checking for long long" >&5
24260 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24261 if test "${ac_cv_type_long_long+set}" = set; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24263 else
24264 cat >conftest.$ac_ext <<_ACEOF
24265 /* confdefs.h. */
24266 _ACEOF
24267 cat confdefs.h >>conftest.$ac_ext
24268 cat >>conftest.$ac_ext <<_ACEOF
24269 /* end confdefs.h. */
24270 $ac_includes_default
24271 typedef long long ac__type_new_;
24272 int
24273 main ()
24274 {
24275 if ((ac__type_new_ *) 0)
24276 return 0;
24277 if (sizeof (ac__type_new_))
24278 return 0;
24279 ;
24280 return 0;
24281 }
24282 _ACEOF
24283 rm -f conftest.$ac_objext
24284 if { (ac_try="$ac_compile"
24285 case "(($ac_try" in
24286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24287 *) ac_try_echo=$ac_try;;
24288 esac
24289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24290 (eval "$ac_compile") 2>conftest.er1
24291 ac_status=$?
24292 grep -v '^ *+' conftest.er1 >conftest.err
24293 rm -f conftest.er1
24294 cat conftest.err >&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); } && {
24297 test -z "$ac_c_werror_flag" ||
24298 test ! -s conftest.err
24299 } && test -s conftest.$ac_objext; then
24300 ac_cv_type_long_long=yes
24301 else
24302 echo "$as_me: failed program was:" >&5
24303 sed 's/^/| /' conftest.$ac_ext >&5
24304
24305 ac_cv_type_long_long=no
24306 fi
24307
24308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24309 fi
24310 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24311 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24312
24313 # The cast to long int works around a bug in the HP C Compiler
24314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24316 # This bug is HP SR number 8606223364.
24317 { echo "$as_me:$LINENO: checking size of long long" >&5
24318 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24319 if test "${ac_cv_sizeof_long_long+set}" = set; then
24320 echo $ECHO_N "(cached) $ECHO_C" >&6
24321 else
24322 if test "$cross_compiling" = yes; then
24323 # Depending upon the size, compute the lo and hi bounds.
24324 cat >conftest.$ac_ext <<_ACEOF
24325 /* confdefs.h. */
24326 _ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24331 typedef long long ac__type_sizeof_;
24332 int
24333 main ()
24334 {
24335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24336 test_array [0] = 0
24337
24338 ;
24339 return 0;
24340 }
24341 _ACEOF
24342 rm -f conftest.$ac_objext
24343 if { (ac_try="$ac_compile"
24344 case "(($ac_try" in
24345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24346 *) ac_try_echo=$ac_try;;
24347 esac
24348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24349 (eval "$ac_compile") 2>conftest.er1
24350 ac_status=$?
24351 grep -v '^ *+' conftest.er1 >conftest.err
24352 rm -f conftest.er1
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } && {
24356 test -z "$ac_c_werror_flag" ||
24357 test ! -s conftest.err
24358 } && test -s conftest.$ac_objext; then
24359 ac_lo=0 ac_mid=0
24360 while :; do
24361 cat >conftest.$ac_ext <<_ACEOF
24362 /* confdefs.h. */
24363 _ACEOF
24364 cat confdefs.h >>conftest.$ac_ext
24365 cat >>conftest.$ac_ext <<_ACEOF
24366 /* end confdefs.h. */
24367 $ac_includes_default
24368 typedef long long ac__type_sizeof_;
24369 int
24370 main ()
24371 {
24372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24373 test_array [0] = 0
24374
24375 ;
24376 return 0;
24377 }
24378 _ACEOF
24379 rm -f conftest.$ac_objext
24380 if { (ac_try="$ac_compile"
24381 case "(($ac_try" in
24382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24383 *) ac_try_echo=$ac_try;;
24384 esac
24385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24386 (eval "$ac_compile") 2>conftest.er1
24387 ac_status=$?
24388 grep -v '^ *+' conftest.er1 >conftest.err
24389 rm -f conftest.er1
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } && {
24393 test -z "$ac_c_werror_flag" ||
24394 test ! -s conftest.err
24395 } && test -s conftest.$ac_objext; then
24396 ac_hi=$ac_mid; break
24397 else
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.$ac_ext >&5
24400
24401 ac_lo=`expr $ac_mid + 1`
24402 if test $ac_lo -le $ac_mid; then
24403 ac_lo= ac_hi=
24404 break
24405 fi
24406 ac_mid=`expr 2 '*' $ac_mid + 1`
24407 fi
24408
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 done
24411 else
24412 echo "$as_me: failed program was:" >&5
24413 sed 's/^/| /' conftest.$ac_ext >&5
24414
24415 cat >conftest.$ac_ext <<_ACEOF
24416 /* confdefs.h. */
24417 _ACEOF
24418 cat confdefs.h >>conftest.$ac_ext
24419 cat >>conftest.$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24421 $ac_includes_default
24422 typedef long long ac__type_sizeof_;
24423 int
24424 main ()
24425 {
24426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24427 test_array [0] = 0
24428
24429 ;
24430 return 0;
24431 }
24432 _ACEOF
24433 rm -f conftest.$ac_objext
24434 if { (ac_try="$ac_compile"
24435 case "(($ac_try" in
24436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24437 *) ac_try_echo=$ac_try;;
24438 esac
24439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24440 (eval "$ac_compile") 2>conftest.er1
24441 ac_status=$?
24442 grep -v '^ *+' conftest.er1 >conftest.err
24443 rm -f conftest.er1
24444 cat conftest.err >&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); } && {
24447 test -z "$ac_c_werror_flag" ||
24448 test ! -s conftest.err
24449 } && test -s conftest.$ac_objext; then
24450 ac_hi=-1 ac_mid=-1
24451 while :; do
24452 cat >conftest.$ac_ext <<_ACEOF
24453 /* confdefs.h. */
24454 _ACEOF
24455 cat confdefs.h >>conftest.$ac_ext
24456 cat >>conftest.$ac_ext <<_ACEOF
24457 /* end confdefs.h. */
24458 $ac_includes_default
24459 typedef long long ac__type_sizeof_;
24460 int
24461 main ()
24462 {
24463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24464 test_array [0] = 0
24465
24466 ;
24467 return 0;
24468 }
24469 _ACEOF
24470 rm -f conftest.$ac_objext
24471 if { (ac_try="$ac_compile"
24472 case "(($ac_try" in
24473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24474 *) ac_try_echo=$ac_try;;
24475 esac
24476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24477 (eval "$ac_compile") 2>conftest.er1
24478 ac_status=$?
24479 grep -v '^ *+' conftest.er1 >conftest.err
24480 rm -f conftest.er1
24481 cat conftest.err >&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } && {
24484 test -z "$ac_c_werror_flag" ||
24485 test ! -s conftest.err
24486 } && test -s conftest.$ac_objext; then
24487 ac_lo=$ac_mid; break
24488 else
24489 echo "$as_me: failed program was:" >&5
24490 sed 's/^/| /' conftest.$ac_ext >&5
24491
24492 ac_hi=`expr '(' $ac_mid ')' - 1`
24493 if test $ac_mid -le $ac_hi; then
24494 ac_lo= ac_hi=
24495 break
24496 fi
24497 ac_mid=`expr 2 '*' $ac_mid`
24498 fi
24499
24500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24501 done
24502 else
24503 echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.$ac_ext >&5
24505
24506 ac_lo= ac_hi=
24507 fi
24508
24509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24510 fi
24511
24512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24513 # Binary search between lo and hi bounds.
24514 while test "x$ac_lo" != "x$ac_hi"; do
24515 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24516 cat >conftest.$ac_ext <<_ACEOF
24517 /* confdefs.h. */
24518 _ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24522 $ac_includes_default
24523 typedef long long ac__type_sizeof_;
24524 int
24525 main ()
24526 {
24527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24528 test_array [0] = 0
24529
24530 ;
24531 return 0;
24532 }
24533 _ACEOF
24534 rm -f conftest.$ac_objext
24535 if { (ac_try="$ac_compile"
24536 case "(($ac_try" in
24537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24538 *) ac_try_echo=$ac_try;;
24539 esac
24540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24541 (eval "$ac_compile") 2>conftest.er1
24542 ac_status=$?
24543 grep -v '^ *+' conftest.er1 >conftest.err
24544 rm -f conftest.er1
24545 cat conftest.err >&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } && {
24548 test -z "$ac_c_werror_flag" ||
24549 test ! -s conftest.err
24550 } && test -s conftest.$ac_objext; then
24551 ac_hi=$ac_mid
24552 else
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24555
24556 ac_lo=`expr '(' $ac_mid ')' + 1`
24557 fi
24558
24559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24560 done
24561 case $ac_lo in
24562 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24563 '') if test "$ac_cv_type_long_long" = yes; then
24564 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24565 See \`config.log' for more details." >&5
24566 echo "$as_me: error: cannot compute sizeof (long long)
24567 See \`config.log' for more details." >&2;}
24568 { (exit 77); exit 77; }; }
24569 else
24570 ac_cv_sizeof_long_long=0
24571 fi ;;
24572 esac
24573 else
24574 cat >conftest.$ac_ext <<_ACEOF
24575 /* confdefs.h. */
24576 _ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 $ac_includes_default
24581 typedef long long ac__type_sizeof_;
24582 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24583 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24584 #include <stdio.h>
24585 #include <stdlib.h>
24586 int
24587 main ()
24588 {
24589
24590 FILE *f = fopen ("conftest.val", "w");
24591 if (! f)
24592 return 1;
24593 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24594 {
24595 long int i = longval ();
24596 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24597 return 1;
24598 fprintf (f, "%ld\n", i);
24599 }
24600 else
24601 {
24602 unsigned long int i = ulongval ();
24603 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24604 return 1;
24605 fprintf (f, "%lu\n", i);
24606 }
24607 return ferror (f) || fclose (f) != 0;
24608
24609 ;
24610 return 0;
24611 }
24612 _ACEOF
24613 rm -f conftest$ac_exeext
24614 if { (ac_try="$ac_link"
24615 case "(($ac_try" in
24616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24617 *) ac_try_echo=$ac_try;;
24618 esac
24619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24620 (eval "$ac_link") 2>&5
24621 ac_status=$?
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24624 { (case "(($ac_try" in
24625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24626 *) ac_try_echo=$ac_try;;
24627 esac
24628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24629 (eval "$ac_try") 2>&5
24630 ac_status=$?
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); }; }; then
24633 ac_cv_sizeof_long_long=`cat conftest.val`
24634 else
24635 echo "$as_me: program exited with status $ac_status" >&5
24636 echo "$as_me: failed program was:" >&5
24637 sed 's/^/| /' conftest.$ac_ext >&5
24638
24639 ( exit $ac_status )
24640 if test "$ac_cv_type_long_long" = yes; then
24641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24642 See \`config.log' for more details." >&5
24643 echo "$as_me: error: cannot compute sizeof (long long)
24644 See \`config.log' for more details." >&2;}
24645 { (exit 77); exit 77; }; }
24646 else
24647 ac_cv_sizeof_long_long=0
24648 fi
24649 fi
24650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24651 fi
24652 rm -f conftest.val
24653 fi
24654 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24655 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24656
24657
24658
24659 cat >>confdefs.h <<_ACEOF
24660 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24661 _ACEOF
24662
24663
24664 if test "$ac_cv_sizeof_long_long" != "0"; then
24665 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24666 fi
24667 ;;
24668 * )
24669 { echo "$as_me:$LINENO: checking for long long" >&5
24670 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24671 if test "${ac_cv_type_long_long+set}" = set; then
24672 echo $ECHO_N "(cached) $ECHO_C" >&6
24673 else
24674 cat >conftest.$ac_ext <<_ACEOF
24675 /* confdefs.h. */
24676 _ACEOF
24677 cat confdefs.h >>conftest.$ac_ext
24678 cat >>conftest.$ac_ext <<_ACEOF
24679 /* end confdefs.h. */
24680 $ac_includes_default
24681 typedef long long ac__type_new_;
24682 int
24683 main ()
24684 {
24685 if ((ac__type_new_ *) 0)
24686 return 0;
24687 if (sizeof (ac__type_new_))
24688 return 0;
24689 ;
24690 return 0;
24691 }
24692 _ACEOF
24693 rm -f conftest.$ac_objext
24694 if { (ac_try="$ac_compile"
24695 case "(($ac_try" in
24696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24697 *) ac_try_echo=$ac_try;;
24698 esac
24699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24700 (eval "$ac_compile") 2>conftest.er1
24701 ac_status=$?
24702 grep -v '^ *+' conftest.er1 >conftest.err
24703 rm -f conftest.er1
24704 cat conftest.err >&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } && {
24707 test -z "$ac_c_werror_flag" ||
24708 test ! -s conftest.err
24709 } && test -s conftest.$ac_objext; then
24710 ac_cv_type_long_long=yes
24711 else
24712 echo "$as_me: failed program was:" >&5
24713 sed 's/^/| /' conftest.$ac_ext >&5
24714
24715 ac_cv_type_long_long=no
24716 fi
24717
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24719 fi
24720 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24721 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24722
24723 # The cast to long int works around a bug in the HP C Compiler
24724 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24725 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24726 # This bug is HP SR number 8606223364.
24727 { echo "$as_me:$LINENO: checking size of long long" >&5
24728 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24729 if test "${ac_cv_sizeof_long_long+set}" = set; then
24730 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 else
24732 if test "$cross_compiling" = yes; then
24733 # Depending upon the size, compute the lo and hi bounds.
24734 cat >conftest.$ac_ext <<_ACEOF
24735 /* confdefs.h. */
24736 _ACEOF
24737 cat confdefs.h >>conftest.$ac_ext
24738 cat >>conftest.$ac_ext <<_ACEOF
24739 /* end confdefs.h. */
24740 $ac_includes_default
24741 typedef long long ac__type_sizeof_;
24742 int
24743 main ()
24744 {
24745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24746 test_array [0] = 0
24747
24748 ;
24749 return 0;
24750 }
24751 _ACEOF
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24757 esac
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24760 ac_status=$?
24761 grep -v '^ *+' conftest.er1 >conftest.err
24762 rm -f conftest.er1
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24769 ac_lo=0 ac_mid=0
24770 while :; do
24771 cat >conftest.$ac_ext <<_ACEOF
24772 /* confdefs.h. */
24773 _ACEOF
24774 cat confdefs.h >>conftest.$ac_ext
24775 cat >>conftest.$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24777 $ac_includes_default
24778 typedef long long ac__type_sizeof_;
24779 int
24780 main ()
24781 {
24782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24783 test_array [0] = 0
24784
24785 ;
24786 return 0;
24787 }
24788 _ACEOF
24789 rm -f conftest.$ac_objext
24790 if { (ac_try="$ac_compile"
24791 case "(($ac_try" in
24792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24793 *) ac_try_echo=$ac_try;;
24794 esac
24795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24796 (eval "$ac_compile") 2>conftest.er1
24797 ac_status=$?
24798 grep -v '^ *+' conftest.er1 >conftest.err
24799 rm -f conftest.er1
24800 cat conftest.err >&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } && {
24803 test -z "$ac_c_werror_flag" ||
24804 test ! -s conftest.err
24805 } && test -s conftest.$ac_objext; then
24806 ac_hi=$ac_mid; break
24807 else
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.$ac_ext >&5
24810
24811 ac_lo=`expr $ac_mid + 1`
24812 if test $ac_lo -le $ac_mid; then
24813 ac_lo= ac_hi=
24814 break
24815 fi
24816 ac_mid=`expr 2 '*' $ac_mid + 1`
24817 fi
24818
24819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24820 done
24821 else
24822 echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.$ac_ext >&5
24824
24825 cat >conftest.$ac_ext <<_ACEOF
24826 /* confdefs.h. */
24827 _ACEOF
24828 cat confdefs.h >>conftest.$ac_ext
24829 cat >>conftest.$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24831 $ac_includes_default
24832 typedef long long ac__type_sizeof_;
24833 int
24834 main ()
24835 {
24836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24837 test_array [0] = 0
24838
24839 ;
24840 return 0;
24841 }
24842 _ACEOF
24843 rm -f conftest.$ac_objext
24844 if { (ac_try="$ac_compile"
24845 case "(($ac_try" in
24846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24847 *) ac_try_echo=$ac_try;;
24848 esac
24849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24850 (eval "$ac_compile") 2>conftest.er1
24851 ac_status=$?
24852 grep -v '^ *+' conftest.er1 >conftest.err
24853 rm -f conftest.er1
24854 cat conftest.err >&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err
24859 } && test -s conftest.$ac_objext; then
24860 ac_hi=-1 ac_mid=-1
24861 while :; do
24862 cat >conftest.$ac_ext <<_ACEOF
24863 /* confdefs.h. */
24864 _ACEOF
24865 cat confdefs.h >>conftest.$ac_ext
24866 cat >>conftest.$ac_ext <<_ACEOF
24867 /* end confdefs.h. */
24868 $ac_includes_default
24869 typedef long long ac__type_sizeof_;
24870 int
24871 main ()
24872 {
24873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24874 test_array [0] = 0
24875
24876 ;
24877 return 0;
24878 }
24879 _ACEOF
24880 rm -f conftest.$ac_objext
24881 if { (ac_try="$ac_compile"
24882 case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24884 *) ac_try_echo=$ac_try;;
24885 esac
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_compile") 2>conftest.er1
24888 ac_status=$?
24889 grep -v '^ *+' conftest.er1 >conftest.err
24890 rm -f conftest.er1
24891 cat conftest.err >&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); } && {
24894 test -z "$ac_c_werror_flag" ||
24895 test ! -s conftest.err
24896 } && test -s conftest.$ac_objext; then
24897 ac_lo=$ac_mid; break
24898 else
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.$ac_ext >&5
24901
24902 ac_hi=`expr '(' $ac_mid ')' - 1`
24903 if test $ac_mid -le $ac_hi; then
24904 ac_lo= ac_hi=
24905 break
24906 fi
24907 ac_mid=`expr 2 '*' $ac_mid`
24908 fi
24909
24910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24911 done
24912 else
24913 echo "$as_me: failed program was:" >&5
24914 sed 's/^/| /' conftest.$ac_ext >&5
24915
24916 ac_lo= ac_hi=
24917 fi
24918
24919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24920 fi
24921
24922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24923 # Binary search between lo and hi bounds.
24924 while test "x$ac_lo" != "x$ac_hi"; do
24925 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24926 cat >conftest.$ac_ext <<_ACEOF
24927 /* confdefs.h. */
24928 _ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24932 $ac_includes_default
24933 typedef long long ac__type_sizeof_;
24934 int
24935 main ()
24936 {
24937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24938 test_array [0] = 0
24939
24940 ;
24941 return 0;
24942 }
24943 _ACEOF
24944 rm -f conftest.$ac_objext
24945 if { (ac_try="$ac_compile"
24946 case "(($ac_try" in
24947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24948 *) ac_try_echo=$ac_try;;
24949 esac
24950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24951 (eval "$ac_compile") 2>conftest.er1
24952 ac_status=$?
24953 grep -v '^ *+' conftest.er1 >conftest.err
24954 rm -f conftest.er1
24955 cat conftest.err >&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } && {
24958 test -z "$ac_c_werror_flag" ||
24959 test ! -s conftest.err
24960 } && test -s conftest.$ac_objext; then
24961 ac_hi=$ac_mid
24962 else
24963 echo "$as_me: failed program was:" >&5
24964 sed 's/^/| /' conftest.$ac_ext >&5
24965
24966 ac_lo=`expr '(' $ac_mid ')' + 1`
24967 fi
24968
24969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24970 done
24971 case $ac_lo in
24972 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24973 '') if test "$ac_cv_type_long_long" = yes; then
24974 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24975 See \`config.log' for more details." >&5
24976 echo "$as_me: error: cannot compute sizeof (long long)
24977 See \`config.log' for more details." >&2;}
24978 { (exit 77); exit 77; }; }
24979 else
24980 ac_cv_sizeof_long_long=0
24981 fi ;;
24982 esac
24983 else
24984 cat >conftest.$ac_ext <<_ACEOF
24985 /* confdefs.h. */
24986 _ACEOF
24987 cat confdefs.h >>conftest.$ac_ext
24988 cat >>conftest.$ac_ext <<_ACEOF
24989 /* end confdefs.h. */
24990 $ac_includes_default
24991 typedef long long ac__type_sizeof_;
24992 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24993 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24994 #include <stdio.h>
24995 #include <stdlib.h>
24996 int
24997 main ()
24998 {
24999
25000 FILE *f = fopen ("conftest.val", "w");
25001 if (! f)
25002 return 1;
25003 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25004 {
25005 long int i = longval ();
25006 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25007 return 1;
25008 fprintf (f, "%ld\n", i);
25009 }
25010 else
25011 {
25012 unsigned long int i = ulongval ();
25013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25014 return 1;
25015 fprintf (f, "%lu\n", i);
25016 }
25017 return ferror (f) || fclose (f) != 0;
25018
25019 ;
25020 return 0;
25021 }
25022 _ACEOF
25023 rm -f conftest$ac_exeext
25024 if { (ac_try="$ac_link"
25025 case "(($ac_try" in
25026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25027 *) ac_try_echo=$ac_try;;
25028 esac
25029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25030 (eval "$ac_link") 2>&5
25031 ac_status=$?
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25034 { (case "(($ac_try" in
25035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25036 *) ac_try_echo=$ac_try;;
25037 esac
25038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25039 (eval "$ac_try") 2>&5
25040 ac_status=$?
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; }; then
25043 ac_cv_sizeof_long_long=`cat conftest.val`
25044 else
25045 echo "$as_me: program exited with status $ac_status" >&5
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5
25048
25049 ( exit $ac_status )
25050 if test "$ac_cv_type_long_long" = yes; then
25051 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25052 See \`config.log' for more details." >&5
25053 echo "$as_me: error: cannot compute sizeof (long long)
25054 See \`config.log' for more details." >&2;}
25055 { (exit 77); exit 77; }; }
25056 else
25057 ac_cv_sizeof_long_long=0
25058 fi
25059 fi
25060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25061 fi
25062 rm -f conftest.val
25063 fi
25064 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25065 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25066
25067
25068
25069 cat >>confdefs.h <<_ACEOF
25070 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25071 _ACEOF
25072
25073
25074 esac
25075
25076 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25077 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25078 if test "${ac_cv_type_wchar_t+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 else
25081 cat >conftest.$ac_ext <<_ACEOF
25082 /* confdefs.h. */
25083 _ACEOF
25084 cat confdefs.h >>conftest.$ac_ext
25085 cat >>conftest.$ac_ext <<_ACEOF
25086 /* end confdefs.h. */
25087
25088 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25089 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25090 # error "fake wchar_t"
25091 #endif
25092 #ifdef HAVE_WCHAR_H
25093 # ifdef __CYGWIN__
25094 # include <stddef.h>
25095 # endif
25096 # include <wchar.h>
25097 #endif
25098 #ifdef HAVE_STDLIB_H
25099 # include <stdlib.h>
25100 #endif
25101 #include <stdio.h>
25102
25103
25104
25105 typedef wchar_t ac__type_new_;
25106 int
25107 main ()
25108 {
25109 if ((ac__type_new_ *) 0)
25110 return 0;
25111 if (sizeof (ac__type_new_))
25112 return 0;
25113 ;
25114 return 0;
25115 }
25116 _ACEOF
25117 rm -f conftest.$ac_objext
25118 if { (ac_try="$ac_compile"
25119 case "(($ac_try" in
25120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25121 *) ac_try_echo=$ac_try;;
25122 esac
25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124 (eval "$ac_compile") 2>conftest.er1
25125 ac_status=$?
25126 grep -v '^ *+' conftest.er1 >conftest.err
25127 rm -f conftest.er1
25128 cat conftest.err >&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } && {
25131 test -z "$ac_c_werror_flag" ||
25132 test ! -s conftest.err
25133 } && test -s conftest.$ac_objext; then
25134 ac_cv_type_wchar_t=yes
25135 else
25136 echo "$as_me: failed program was:" >&5
25137 sed 's/^/| /' conftest.$ac_ext >&5
25138
25139 ac_cv_type_wchar_t=no
25140 fi
25141
25142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25143 fi
25144 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25145 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25146
25147 # The cast to long int works around a bug in the HP C Compiler
25148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25150 # This bug is HP SR number 8606223364.
25151 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25152 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25153 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25155 else
25156 if test "$cross_compiling" = yes; then
25157 # Depending upon the size, compute the lo and hi bounds.
25158 cat >conftest.$ac_ext <<_ACEOF
25159 /* confdefs.h. */
25160 _ACEOF
25161 cat confdefs.h >>conftest.$ac_ext
25162 cat >>conftest.$ac_ext <<_ACEOF
25163 /* end confdefs.h. */
25164
25165 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25166 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25167 # error "fake wchar_t"
25168 #endif
25169 #ifdef HAVE_WCHAR_H
25170 # ifdef __CYGWIN__
25171 # include <stddef.h>
25172 # endif
25173 # include <wchar.h>
25174 #endif
25175 #ifdef HAVE_STDLIB_H
25176 # include <stdlib.h>
25177 #endif
25178 #include <stdio.h>
25179
25180
25181
25182 typedef wchar_t ac__type_sizeof_;
25183 int
25184 main ()
25185 {
25186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25187 test_array [0] = 0
25188
25189 ;
25190 return 0;
25191 }
25192 _ACEOF
25193 rm -f conftest.$ac_objext
25194 if { (ac_try="$ac_compile"
25195 case "(($ac_try" in
25196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25197 *) ac_try_echo=$ac_try;;
25198 esac
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_compile") 2>conftest.er1
25201 ac_status=$?
25202 grep -v '^ *+' conftest.er1 >conftest.err
25203 rm -f conftest.er1
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_c_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest.$ac_objext; then
25210 ac_lo=0 ac_mid=0
25211 while :; do
25212 cat >conftest.$ac_ext <<_ACEOF
25213 /* confdefs.h. */
25214 _ACEOF
25215 cat confdefs.h >>conftest.$ac_ext
25216 cat >>conftest.$ac_ext <<_ACEOF
25217 /* end confdefs.h. */
25218
25219 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25220 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25221 # error "fake wchar_t"
25222 #endif
25223 #ifdef HAVE_WCHAR_H
25224 # ifdef __CYGWIN__
25225 # include <stddef.h>
25226 # endif
25227 # include <wchar.h>
25228 #endif
25229 #ifdef HAVE_STDLIB_H
25230 # include <stdlib.h>
25231 #endif
25232 #include <stdio.h>
25233
25234
25235
25236 typedef wchar_t ac__type_sizeof_;
25237 int
25238 main ()
25239 {
25240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25241 test_array [0] = 0
25242
25243 ;
25244 return 0;
25245 }
25246 _ACEOF
25247 rm -f conftest.$ac_objext
25248 if { (ac_try="$ac_compile"
25249 case "(($ac_try" in
25250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25251 *) ac_try_echo=$ac_try;;
25252 esac
25253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25254 (eval "$ac_compile") 2>conftest.er1
25255 ac_status=$?
25256 grep -v '^ *+' conftest.er1 >conftest.err
25257 rm -f conftest.er1
25258 cat conftest.err >&5
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); } && {
25261 test -z "$ac_c_werror_flag" ||
25262 test ! -s conftest.err
25263 } && test -s conftest.$ac_objext; then
25264 ac_hi=$ac_mid; break
25265 else
25266 echo "$as_me: failed program was:" >&5
25267 sed 's/^/| /' conftest.$ac_ext >&5
25268
25269 ac_lo=`expr $ac_mid + 1`
25270 if test $ac_lo -le $ac_mid; then
25271 ac_lo= ac_hi=
25272 break
25273 fi
25274 ac_mid=`expr 2 '*' $ac_mid + 1`
25275 fi
25276
25277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278 done
25279 else
25280 echo "$as_me: failed program was:" >&5
25281 sed 's/^/| /' conftest.$ac_ext >&5
25282
25283 cat >conftest.$ac_ext <<_ACEOF
25284 /* confdefs.h. */
25285 _ACEOF
25286 cat confdefs.h >>conftest.$ac_ext
25287 cat >>conftest.$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25289
25290 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25291 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25292 # error "fake wchar_t"
25293 #endif
25294 #ifdef HAVE_WCHAR_H
25295 # ifdef __CYGWIN__
25296 # include <stddef.h>
25297 # endif
25298 # include <wchar.h>
25299 #endif
25300 #ifdef HAVE_STDLIB_H
25301 # include <stdlib.h>
25302 #endif
25303 #include <stdio.h>
25304
25305
25306
25307 typedef wchar_t ac__type_sizeof_;
25308 int
25309 main ()
25310 {
25311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25312 test_array [0] = 0
25313
25314 ;
25315 return 0;
25316 }
25317 _ACEOF
25318 rm -f conftest.$ac_objext
25319 if { (ac_try="$ac_compile"
25320 case "(($ac_try" in
25321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25322 *) ac_try_echo=$ac_try;;
25323 esac
25324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25325 (eval "$ac_compile") 2>conftest.er1
25326 ac_status=$?
25327 grep -v '^ *+' conftest.er1 >conftest.err
25328 rm -f conftest.er1
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } && {
25332 test -z "$ac_c_werror_flag" ||
25333 test ! -s conftest.err
25334 } && test -s conftest.$ac_objext; then
25335 ac_hi=-1 ac_mid=-1
25336 while :; do
25337 cat >conftest.$ac_ext <<_ACEOF
25338 /* confdefs.h. */
25339 _ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25343
25344 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25345 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25346 # error "fake wchar_t"
25347 #endif
25348 #ifdef HAVE_WCHAR_H
25349 # ifdef __CYGWIN__
25350 # include <stddef.h>
25351 # endif
25352 # include <wchar.h>
25353 #endif
25354 #ifdef HAVE_STDLIB_H
25355 # include <stdlib.h>
25356 #endif
25357 #include <stdio.h>
25358
25359
25360
25361 typedef wchar_t ac__type_sizeof_;
25362 int
25363 main ()
25364 {
25365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25366 test_array [0] = 0
25367
25368 ;
25369 return 0;
25370 }
25371 _ACEOF
25372 rm -f conftest.$ac_objext
25373 if { (ac_try="$ac_compile"
25374 case "(($ac_try" in
25375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25376 *) ac_try_echo=$ac_try;;
25377 esac
25378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25379 (eval "$ac_compile") 2>conftest.er1
25380 ac_status=$?
25381 grep -v '^ *+' conftest.er1 >conftest.err
25382 rm -f conftest.er1
25383 cat conftest.err >&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); } && {
25386 test -z "$ac_c_werror_flag" ||
25387 test ! -s conftest.err
25388 } && test -s conftest.$ac_objext; then
25389 ac_lo=$ac_mid; break
25390 else
25391 echo "$as_me: failed program was:" >&5
25392 sed 's/^/| /' conftest.$ac_ext >&5
25393
25394 ac_hi=`expr '(' $ac_mid ')' - 1`
25395 if test $ac_mid -le $ac_hi; then
25396 ac_lo= ac_hi=
25397 break
25398 fi
25399 ac_mid=`expr 2 '*' $ac_mid`
25400 fi
25401
25402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25403 done
25404 else
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.$ac_ext >&5
25407
25408 ac_lo= ac_hi=
25409 fi
25410
25411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25412 fi
25413
25414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25415 # Binary search between lo and hi bounds.
25416 while test "x$ac_lo" != "x$ac_hi"; do
25417 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25418 cat >conftest.$ac_ext <<_ACEOF
25419 /* confdefs.h. */
25420 _ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25424
25425 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25426 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25427 # error "fake wchar_t"
25428 #endif
25429 #ifdef HAVE_WCHAR_H
25430 # ifdef __CYGWIN__
25431 # include <stddef.h>
25432 # endif
25433 # include <wchar.h>
25434 #endif
25435 #ifdef HAVE_STDLIB_H
25436 # include <stdlib.h>
25437 #endif
25438 #include <stdio.h>
25439
25440
25441
25442 typedef wchar_t ac__type_sizeof_;
25443 int
25444 main ()
25445 {
25446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25447 test_array [0] = 0
25448
25449 ;
25450 return 0;
25451 }
25452 _ACEOF
25453 rm -f conftest.$ac_objext
25454 if { (ac_try="$ac_compile"
25455 case "(($ac_try" in
25456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25457 *) ac_try_echo=$ac_try;;
25458 esac
25459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25460 (eval "$ac_compile") 2>conftest.er1
25461 ac_status=$?
25462 grep -v '^ *+' conftest.er1 >conftest.err
25463 rm -f conftest.er1
25464 cat conftest.err >&5
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); } && {
25467 test -z "$ac_c_werror_flag" ||
25468 test ! -s conftest.err
25469 } && test -s conftest.$ac_objext; then
25470 ac_hi=$ac_mid
25471 else
25472 echo "$as_me: failed program was:" >&5
25473 sed 's/^/| /' conftest.$ac_ext >&5
25474
25475 ac_lo=`expr '(' $ac_mid ')' + 1`
25476 fi
25477
25478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25479 done
25480 case $ac_lo in
25481 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25482 '') if test "$ac_cv_type_wchar_t" = yes; then
25483 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25484 See \`config.log' for more details." >&5
25485 echo "$as_me: error: cannot compute sizeof (wchar_t)
25486 See \`config.log' for more details." >&2;}
25487 { (exit 77); exit 77; }; }
25488 else
25489 ac_cv_sizeof_wchar_t=0
25490 fi ;;
25491 esac
25492 else
25493 cat >conftest.$ac_ext <<_ACEOF
25494 /* confdefs.h. */
25495 _ACEOF
25496 cat confdefs.h >>conftest.$ac_ext
25497 cat >>conftest.$ac_ext <<_ACEOF
25498 /* end confdefs.h. */
25499
25500 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25501 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25502 # error "fake wchar_t"
25503 #endif
25504 #ifdef HAVE_WCHAR_H
25505 # ifdef __CYGWIN__
25506 # include <stddef.h>
25507 # endif
25508 # include <wchar.h>
25509 #endif
25510 #ifdef HAVE_STDLIB_H
25511 # include <stdlib.h>
25512 #endif
25513 #include <stdio.h>
25514
25515
25516
25517 typedef wchar_t ac__type_sizeof_;
25518 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25519 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25520 #include <stdio.h>
25521 #include <stdlib.h>
25522 int
25523 main ()
25524 {
25525
25526 FILE *f = fopen ("conftest.val", "w");
25527 if (! f)
25528 return 1;
25529 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25530 {
25531 long int i = longval ();
25532 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25533 return 1;
25534 fprintf (f, "%ld\n", i);
25535 }
25536 else
25537 {
25538 unsigned long int i = ulongval ();
25539 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25540 return 1;
25541 fprintf (f, "%lu\n", i);
25542 }
25543 return ferror (f) || fclose (f) != 0;
25544
25545 ;
25546 return 0;
25547 }
25548 _ACEOF
25549 rm -f conftest$ac_exeext
25550 if { (ac_try="$ac_link"
25551 case "(($ac_try" in
25552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25553 *) ac_try_echo=$ac_try;;
25554 esac
25555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25556 (eval "$ac_link") 2>&5
25557 ac_status=$?
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25560 { (case "(($ac_try" in
25561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25562 *) ac_try_echo=$ac_try;;
25563 esac
25564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25565 (eval "$ac_try") 2>&5
25566 ac_status=$?
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); }; }; then
25569 ac_cv_sizeof_wchar_t=`cat conftest.val`
25570 else
25571 echo "$as_me: program exited with status $ac_status" >&5
25572 echo "$as_me: failed program was:" >&5
25573 sed 's/^/| /' conftest.$ac_ext >&5
25574
25575 ( exit $ac_status )
25576 if test "$ac_cv_type_wchar_t" = yes; then
25577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25578 See \`config.log' for more details." >&5
25579 echo "$as_me: error: cannot compute sizeof (wchar_t)
25580 See \`config.log' for more details." >&2;}
25581 { (exit 77); exit 77; }; }
25582 else
25583 ac_cv_sizeof_wchar_t=0
25584 fi
25585 fi
25586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25587 fi
25588 rm -f conftest.val
25589 fi
25590 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25591 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25592
25593
25594
25595 cat >>confdefs.h <<_ACEOF
25596 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25597 _ACEOF
25598
25599
25600 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25601 wxUSE_WCHAR_T=yes
25602 else
25603 wxUSE_WCHAR_T=no
25604 fi
25605
25606 { echo "$as_me:$LINENO: checking for va_copy" >&5
25607 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25608 if test "${wx_cv_func_va_copy+set}" = set; then
25609 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 else
25611
25612 ac_ext=cpp
25613 ac_cpp='$CXXCPP $CPPFLAGS'
25614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25617
25618 cat >conftest.$ac_ext <<_ACEOF
25619
25620 #include <stdarg.h>
25621 void foo(char *f, ...)
25622 {
25623 va_list ap1, ap2;
25624 va_start(ap1, f);
25625 va_copy(ap2, ap1);
25626 va_end(ap2);
25627 va_end(ap1);
25628 }
25629 int main()
25630 {
25631 foo("hi", 17);
25632 return 0;
25633 }
25634 _ACEOF
25635 rm -f conftest.$ac_objext conftest$ac_exeext
25636 if { (ac_try="$ac_link"
25637 case "(($ac_try" in
25638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25639 *) ac_try_echo=$ac_try;;
25640 esac
25641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25642 (eval "$ac_link") 2>conftest.er1
25643 ac_status=$?
25644 grep -v '^ *+' conftest.er1 >conftest.err
25645 rm -f conftest.er1
25646 cat conftest.err >&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); } && {
25649 test -z "$ac_cxx_werror_flag" ||
25650 test ! -s conftest.err
25651 } && test -s conftest$ac_exeext &&
25652 $as_test_x conftest$ac_exeext; then
25653 wx_cv_func_va_copy=yes
25654 else
25655 echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.$ac_ext >&5
25657
25658 wx_cv_func_va_copy=no
25659
25660 fi
25661
25662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25663 conftest$ac_exeext conftest.$ac_ext
25664 ac_ext=c
25665 ac_cpp='$CPP $CPPFLAGS'
25666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25669
25670
25671
25672 fi
25673 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25674 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25675
25676 if test $wx_cv_func_va_copy = "yes"; then
25677 cat >>confdefs.h <<\_ACEOF
25678 #define HAVE_VA_COPY 1
25679 _ACEOF
25680
25681 else
25682 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25683 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25684 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 else
25687
25688 if test "$cross_compiling" = yes; then
25689 wx_cv_type_va_list_lvalue=yes
25690
25691 else
25692 cat >conftest.$ac_ext <<_ACEOF
25693
25694 #include <stdarg.h>
25695 int foo(char *f, ...)
25696 {
25697 va_list ap1, ap2;
25698 va_start(ap1, f);
25699 ap2 = ap1;
25700 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25701 return 1;
25702 va_end(ap2);
25703 va_end(ap1);
25704 return 0;
25705 }
25706 int main()
25707 {
25708 return foo("hi", 17);
25709 }
25710 _ACEOF
25711 rm -f conftest$ac_exeext
25712 if { (ac_try="$ac_link"
25713 case "(($ac_try" in
25714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25716 esac
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_link") 2>&5
25719 ac_status=$?
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25722 { (case "(($ac_try" in
25723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25724 *) ac_try_echo=$ac_try;;
25725 esac
25726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25727 (eval "$ac_try") 2>&5
25728 ac_status=$?
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); }; }; then
25731 wx_cv_type_va_list_lvalue=yes
25732 else
25733 echo "$as_me: program exited with status $ac_status" >&5
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.$ac_ext >&5
25736
25737 ( exit $ac_status )
25738 wx_cv_type_va_list_lvalue=no
25739 fi
25740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25741 fi
25742
25743
25744
25745
25746 fi
25747 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25748 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25749
25750 if test $wx_cv_type_va_list_lvalue != "yes"; then
25751 cat >>confdefs.h <<\_ACEOF
25752 #define VA_LIST_IS_ARRAY 1
25753 _ACEOF
25754
25755 fi
25756 fi
25757
25758 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25759
25760 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25761 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25762 if test "${wx_cv_have_variadic_macros+set}" = set; then
25763 echo $ECHO_N "(cached) $ECHO_C" >&6
25764 else
25765
25766 ac_ext=cpp
25767 ac_cpp='$CXXCPP $CPPFLAGS'
25768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25771
25772 cat >conftest.$ac_ext <<_ACEOF
25773 /* confdefs.h. */
25774 _ACEOF
25775 cat confdefs.h >>conftest.$ac_ext
25776 cat >>conftest.$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25778
25779 #include <stdio.h>
25780 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25781
25782 int
25783 main ()
25784 {
25785
25786 test("%s %d %p", "test", 1, 0);
25787
25788
25789 ;
25790 return 0;
25791 }
25792 _ACEOF
25793 rm -f conftest.$ac_objext
25794 if { (ac_try="$ac_compile"
25795 case "(($ac_try" in
25796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25797 *) ac_try_echo=$ac_try;;
25798 esac
25799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25800 (eval "$ac_compile") 2>conftest.er1
25801 ac_status=$?
25802 grep -v '^ *+' conftest.er1 >conftest.err
25803 rm -f conftest.er1
25804 cat conftest.err >&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } && {
25807 test -z "$ac_cxx_werror_flag" ||
25808 test ! -s conftest.err
25809 } && test -s conftest.$ac_objext; then
25810 wx_cv_have_variadic_macros=yes
25811 else
25812 echo "$as_me: failed program was:" >&5
25813 sed 's/^/| /' conftest.$ac_ext >&5
25814
25815 wx_cv_have_variadic_macros=no
25816
25817 fi
25818
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820 ac_ext=c
25821 ac_cpp='$CPP $CPPFLAGS'
25822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25825
25826
25827
25828 fi
25829 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25830 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25831
25832 if test $wx_cv_have_variadic_macros = "yes"; then
25833 cat >>confdefs.h <<\_ACEOF
25834 #define HAVE_VARIADIC_MACROS 1
25835 _ACEOF
25836
25837 fi
25838
25839 fi
25840 # Check whether --enable-largefile was given.
25841 if test "${enable_largefile+set}" = set; then
25842 enableval=$enable_largefile;
25843 fi
25844
25845 if test "$enable_largefile" != no; then
25846 wx_largefile=no
25847
25848 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25849 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25850 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 else
25853
25854 cat >conftest.$ac_ext <<_ACEOF
25855 /* confdefs.h. */
25856 _ACEOF
25857 cat confdefs.h >>conftest.$ac_ext
25858 cat >>conftest.$ac_ext <<_ACEOF
25859 /* end confdefs.h. */
25860 #define _FILE_OFFSET_BITS 64
25861 #include <sys/types.h>
25862 int
25863 main ()
25864 {
25865 typedef struct {
25866 unsigned int field: sizeof(off_t) == 8;
25867 } wxlf;
25868
25869 ;
25870 return 0;
25871 }
25872 _ACEOF
25873 rm -f conftest.$ac_objext
25874 if { (ac_try="$ac_compile"
25875 case "(($ac_try" in
25876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25877 *) ac_try_echo=$ac_try;;
25878 esac
25879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25880 (eval "$ac_compile") 2>conftest.er1
25881 ac_status=$?
25882 grep -v '^ *+' conftest.er1 >conftest.err
25883 rm -f conftest.er1
25884 cat conftest.err >&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } && {
25887 test -z "$ac_c_werror_flag" ||
25888 test ! -s conftest.err
25889 } && test -s conftest.$ac_objext; then
25890 ac_cv_sys_file_offset_bits=64
25891 else
25892 echo "$as_me: failed program was:" >&5
25893 sed 's/^/| /' conftest.$ac_ext >&5
25894
25895 ac_cv_sys_file_offset_bits=no
25896 fi
25897
25898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25899
25900
25901 fi
25902 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25903 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25904
25905 if test "$ac_cv_sys_file_offset_bits" != no; then
25906 wx_largefile=yes
25907 cat >>confdefs.h <<_ACEOF
25908 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25909 _ACEOF
25910
25911 fi
25912
25913 if test "x$wx_largefile" != "xyes"; then
25914
25915 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25916 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25917 if test "${ac_cv_sys_large_files+set}" = set; then
25918 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 else
25920
25921 cat >conftest.$ac_ext <<_ACEOF
25922 /* confdefs.h. */
25923 _ACEOF
25924 cat confdefs.h >>conftest.$ac_ext
25925 cat >>conftest.$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927 #define _LARGE_FILES 1
25928 #include <sys/types.h>
25929 int
25930 main ()
25931 {
25932 typedef struct {
25933 unsigned int field: sizeof(off_t) == 8;
25934 } wxlf;
25935
25936 ;
25937 return 0;
25938 }
25939 _ACEOF
25940 rm -f conftest.$ac_objext
25941 if { (ac_try="$ac_compile"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25945 esac
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_compile") 2>conftest.er1
25948 ac_status=$?
25949 grep -v '^ *+' conftest.er1 >conftest.err
25950 rm -f conftest.er1
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_c_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest.$ac_objext; then
25957 ac_cv_sys_large_files=1
25958 else
25959 echo "$as_me: failed program was:" >&5
25960 sed 's/^/| /' conftest.$ac_ext >&5
25961
25962 ac_cv_sys_large_files=no
25963 fi
25964
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25966
25967
25968 fi
25969 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25970 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25971
25972 if test "$ac_cv_sys_large_files" != no; then
25973 wx_largefile=yes
25974 cat >>confdefs.h <<_ACEOF
25975 #define _LARGE_FILES $ac_cv_sys_large_files
25976 _ACEOF
25977
25978 fi
25979
25980 fi
25981
25982 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25983 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25984 if test "x$wx_largefile" = "xyes"; then
25985 cat >>confdefs.h <<\_ACEOF
25986 #define HAVE_LARGEFILE_SUPPORT 1
25987 _ACEOF
25988
25989 fi
25990 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25991 echo "${ECHO_T}$wx_largefile" >&6; }
25992 fi
25993
25994
25995 if test "x$wx_largefile" = "xyes"; then
25996 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25997 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25998
25999 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26000 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26001 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26002 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 else
26005
26006 ac_ext=cpp
26007 ac_cpp='$CXXCPP $CPPFLAGS'
26008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26011
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018
26019 int
26020 main ()
26021 {
26022
26023 #ifndef __STDC_EXT__
26024 choke me
26025 #endif
26026
26027 ;
26028 return 0;
26029 }
26030 _ACEOF
26031 rm -f conftest.$ac_objext
26032 if { (ac_try="$ac_compile"
26033 case "(($ac_try" in
26034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26035 *) ac_try_echo=$ac_try;;
26036 esac
26037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26038 (eval "$ac_compile") 2>conftest.er1
26039 ac_status=$?
26040 grep -v '^ *+' conftest.er1 >conftest.err
26041 rm -f conftest.er1
26042 cat conftest.err >&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); } && {
26045 test -z "$ac_cxx_werror_flag" ||
26046 test ! -s conftest.err
26047 } && test -s conftest.$ac_objext; then
26048 wx_cv_STDC_EXT_required=no
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26052
26053 wx_cv_STDC_EXT_required=yes
26054
26055 fi
26056
26057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26058 ac_ext=c
26059 ac_cpp='$CPP $CPPFLAGS'
26060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26063
26064
26065
26066 fi
26067 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26068 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26069 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26070 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26071 fi
26072 fi
26073 else
26074 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26075 fi
26076 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26077 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26078 if test "${ac_cv_sys_largefile_source+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081 while :; do
26082 cat >conftest.$ac_ext <<_ACEOF
26083 /* confdefs.h. */
26084 _ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088 #include <sys/types.h> /* for off_t */
26089 #include <stdio.h>
26090 int
26091 main ()
26092 {
26093 int (*fp) (FILE *, off_t, int) = fseeko;
26094 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26095 ;
26096 return 0;
26097 }
26098 _ACEOF
26099 rm -f conftest.$ac_objext conftest$ac_exeext
26100 if { (ac_try="$ac_link"
26101 case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26104 esac
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_link") 2>conftest.er1
26107 ac_status=$?
26108 grep -v '^ *+' conftest.er1 >conftest.err
26109 rm -f conftest.er1
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_c_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest$ac_exeext &&
26116 $as_test_x conftest$ac_exeext; then
26117 ac_cv_sys_largefile_source=no; break
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122
26123 fi
26124
26125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26126 conftest$ac_exeext conftest.$ac_ext
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #define _LARGEFILE_SOURCE 1
26134 #include <sys/types.h> /* for off_t */
26135 #include <stdio.h>
26136 int
26137 main ()
26138 {
26139 int (*fp) (FILE *, off_t, int) = fseeko;
26140 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26141 ;
26142 return 0;
26143 }
26144 _ACEOF
26145 rm -f conftest.$ac_objext conftest$ac_exeext
26146 if { (ac_try="$ac_link"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26150 esac
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_link") 2>conftest.er1
26153 ac_status=$?
26154 grep -v '^ *+' conftest.er1 >conftest.err
26155 rm -f conftest.er1
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_c_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest$ac_exeext &&
26162 $as_test_x conftest$ac_exeext; then
26163 ac_cv_sys_largefile_source=1; break
26164 else
26165 echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.$ac_ext >&5
26167
26168
26169 fi
26170
26171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26172 conftest$ac_exeext conftest.$ac_ext
26173 ac_cv_sys_largefile_source=unknown
26174 break
26175 done
26176 fi
26177 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26178 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26179 case $ac_cv_sys_largefile_source in #(
26180 no | unknown) ;;
26181 *)
26182 cat >>confdefs.h <<_ACEOF
26183 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26184 _ACEOF
26185 ;;
26186 esac
26187 rm -f conftest*
26188
26189 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26190 # in glibc 2.1.3, but that breaks too many other things.
26191 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26192 if test $ac_cv_sys_largefile_source != unknown; then
26193
26194 cat >>confdefs.h <<\_ACEOF
26195 #define HAVE_FSEEKO 1
26196 _ACEOF
26197
26198 fi
26199
26200 if test "$ac_cv_sys_largefile_source" != no; then
26201 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26202 fi
26203 fi
26204
26205 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26206 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26207 if test "${ac_cv_c_bigendian+set}" = set; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26209 else
26210 ac_cv_c_bigendian=unknown
26211 # See if sys/param.h defines the BYTE_ORDER macro.
26212 cat >conftest.$ac_ext <<_ACEOF
26213 /* confdefs.h. */
26214 _ACEOF
26215 cat confdefs.h >>conftest.$ac_ext
26216 cat >>conftest.$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26218 #include <sys/types.h>
26219 #include <sys/param.h>
26220 int
26221 main ()
26222 {
26223
26224 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26225 bogus endian macros
26226 #endif
26227 ;
26228 return 0;
26229 }
26230 _ACEOF
26231 rm -f conftest.$ac_objext
26232 if { (ac_try="$ac_compile"
26233 case "(($ac_try" in
26234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26235 *) ac_try_echo=$ac_try;;
26236 esac
26237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26238 (eval "$ac_compile") 2>conftest.er1
26239 ac_status=$?
26240 grep -v '^ *+' conftest.er1 >conftest.err
26241 rm -f conftest.er1
26242 cat conftest.err >&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); } && {
26245 test -z "$ac_c_werror_flag" ||
26246 test ! -s conftest.err
26247 } && test -s conftest.$ac_objext; then
26248 # It does; now see whether it defined to BIG_ENDIAN or not.
26249 cat >conftest.$ac_ext <<_ACEOF
26250 /* confdefs.h. */
26251 _ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 #include <sys/types.h>
26256 #include <sys/param.h>
26257 int
26258 main ()
26259 {
26260
26261 #if BYTE_ORDER != BIG_ENDIAN
26262 not big endian
26263 #endif
26264 ;
26265 return 0;
26266 }
26267 _ACEOF
26268 rm -f conftest.$ac_objext
26269 if { (ac_try="$ac_compile"
26270 case "(($ac_try" in
26271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26273 esac
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_compile") 2>conftest.er1
26276 ac_status=$?
26277 grep -v '^ *+' conftest.er1 >conftest.err
26278 rm -f conftest.er1
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } && {
26282 test -z "$ac_c_werror_flag" ||
26283 test ! -s conftest.err
26284 } && test -s conftest.$ac_objext; then
26285 ac_cv_c_bigendian=yes
26286 else
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26289
26290 ac_cv_c_bigendian=no
26291 fi
26292
26293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26294 else
26295 echo "$as_me: failed program was:" >&5
26296 sed 's/^/| /' conftest.$ac_ext >&5
26297
26298
26299 fi
26300
26301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26302 if test $ac_cv_c_bigendian = unknown; then
26303 if test "$cross_compiling" = yes; then
26304 ac_cv_c_bigendian=unknown
26305 else
26306 cat >conftest.$ac_ext <<_ACEOF
26307 /* confdefs.h. */
26308 _ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312 main () {
26313 /* Are we little or big endian? From Harbison&Steele. */
26314 union
26315 {
26316 long l;
26317 char c[sizeof (long)];
26318 } u;
26319 u.l = 1;
26320 exit (u.c[sizeof (long) - 1] == 1);
26321 }
26322 _ACEOF
26323 rm -f conftest$ac_exeext
26324 if { (ac_try="$ac_link"
26325 case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;;
26328 esac
26329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26330 (eval "$ac_link") 2>&5
26331 ac_status=$?
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26334 { (case "(($ac_try" in
26335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26336 *) ac_try_echo=$ac_try;;
26337 esac
26338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26339 (eval "$ac_try") 2>&5
26340 ac_status=$?
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; }; then
26343 ac_cv_c_bigendian=no
26344 else
26345 echo "$as_me: program exited with status $ac_status" >&5
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.$ac_ext >&5
26348
26349 ( exit $ac_status )
26350 ac_cv_c_bigendian=yes
26351 fi
26352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26353 fi
26354
26355
26356 fi
26357 fi
26358 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26359 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26360 if test $ac_cv_c_bigendian = unknown; then
26361 { 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
26362 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;}
26363 fi
26364 if test $ac_cv_c_bigendian = yes; then
26365 cat >>confdefs.h <<\_ACEOF
26366 #define WORDS_BIGENDIAN 1
26367 _ACEOF
26368
26369 fi
26370
26371
26372
26373
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26379
26380
26381
26382 for ac_header in iostream
26383 do
26384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26385 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26388 echo $ECHO_N "(cached) $ECHO_C" >&6
26389 else
26390 cat >conftest.$ac_ext <<_ACEOF
26391 /* confdefs.h. */
26392 _ACEOF
26393 cat confdefs.h >>conftest.$ac_ext
26394 cat >>conftest.$ac_ext <<_ACEOF
26395 /* end confdefs.h. */
26396
26397
26398 #include <$ac_header>
26399 _ACEOF
26400 rm -f conftest.$ac_objext
26401 if { (ac_try="$ac_compile"
26402 case "(($ac_try" in
26403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26404 *) ac_try_echo=$ac_try;;
26405 esac
26406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26407 (eval "$ac_compile") 2>conftest.er1
26408 ac_status=$?
26409 grep -v '^ *+' conftest.er1 >conftest.err
26410 rm -f conftest.er1
26411 cat conftest.err >&5
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); } && {
26414 test -z "$ac_cxx_werror_flag" ||
26415 test ! -s conftest.err
26416 } && test -s conftest.$ac_objext; then
26417 eval "$as_ac_Header=yes"
26418 else
26419 echo "$as_me: failed program was:" >&5
26420 sed 's/^/| /' conftest.$ac_ext >&5
26421
26422 eval "$as_ac_Header=no"
26423 fi
26424
26425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26426 fi
26427 ac_res=`eval echo '${'$as_ac_Header'}'`
26428 { echo "$as_me:$LINENO: result: $ac_res" >&5
26429 echo "${ECHO_T}$ac_res" >&6; }
26430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26431 cat >>confdefs.h <<_ACEOF
26432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26433 _ACEOF
26434
26435 fi
26436
26437 done
26438
26439
26440 if test "$ac_cv_header_iostream" = "yes" ; then
26441 :
26442 else
26443 cat >>confdefs.h <<\_ACEOF
26444 #define wxUSE_IOSTREAMH 1
26445 _ACEOF
26446
26447 fi
26448
26449 ac_ext=c
26450 ac_cpp='$CPP $CPPFLAGS'
26451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26454
26455
26456
26457
26458 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26459 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26460 if test "${wx_cv_cpp_bool+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 else
26463
26464
26465 ac_ext=cpp
26466 ac_cpp='$CXXCPP $CPPFLAGS'
26467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26470
26471
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h. */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26478
26479
26480 int
26481 main ()
26482 {
26483
26484 bool b = true;
26485
26486 return 0;
26487
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest.$ac_objext
26493 if { (ac_try="$ac_compile"
26494 case "(($ac_try" in
26495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26497 esac
26498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_compile") 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && {
26506 test -z "$ac_cxx_werror_flag" ||
26507 test ! -s conftest.err
26508 } && test -s conftest.$ac_objext; then
26509
26510 wx_cv_cpp_bool=yes
26511
26512 else
26513 echo "$as_me: failed program was:" >&5
26514 sed 's/^/| /' conftest.$ac_ext >&5
26515
26516
26517 wx_cv_cpp_bool=no
26518
26519
26520 fi
26521
26522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26523
26524 ac_ext=c
26525 ac_cpp='$CPP $CPPFLAGS'
26526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26529
26530
26531 fi
26532 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26533 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26534
26535 if test "$wx_cv_cpp_bool" = "yes"; then
26536 cat >>confdefs.h <<\_ACEOF
26537 #define HAVE_BOOL 1
26538 _ACEOF
26539
26540 fi
26541
26542
26543
26544 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26545 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26546 if test "${wx_cv_explicit+set}" = set; then
26547 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 else
26549
26550
26551 ac_ext=cpp
26552 ac_cpp='$CXXCPP $CPPFLAGS'
26553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26556
26557
26558 cat >conftest.$ac_ext <<_ACEOF
26559 /* confdefs.h. */
26560 _ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564
26565 class Foo { public: explicit Foo(int) {} };
26566
26567 int
26568 main ()
26569 {
26570
26571 return 0;
26572
26573 ;
26574 return 0;
26575 }
26576 _ACEOF
26577 rm -f conftest.$ac_objext
26578 if { (ac_try="$ac_compile"
26579 case "(($ac_try" in
26580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26581 *) ac_try_echo=$ac_try;;
26582 esac
26583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26584 (eval "$ac_compile") 2>conftest.er1
26585 ac_status=$?
26586 grep -v '^ *+' conftest.er1 >conftest.err
26587 rm -f conftest.er1
26588 cat conftest.err >&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } && {
26591 test -z "$ac_cxx_werror_flag" ||
26592 test ! -s conftest.err
26593 } && test -s conftest.$ac_objext; then
26594
26595 cat >conftest.$ac_ext <<_ACEOF
26596 /* confdefs.h. */
26597 _ACEOF
26598 cat confdefs.h >>conftest.$ac_ext
26599 cat >>conftest.$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26601
26602 class Foo { public: explicit Foo(int) {} };
26603 static void TakeFoo(const Foo& foo) { }
26604
26605 int
26606 main ()
26607 {
26608
26609 TakeFoo(17);
26610 return 0;
26611
26612 ;
26613 return 0;
26614 }
26615 _ACEOF
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26621 esac
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26624 ac_status=$?
26625 grep -v '^ *+' conftest.er1 >conftest.err
26626 rm -f conftest.er1
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_cxx_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26633 wx_cv_explicit=no
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 wx_cv_explicit=yes
26639
26640 fi
26641
26642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26643
26644 else
26645 echo "$as_me: failed program was:" >&5
26646 sed 's/^/| /' conftest.$ac_ext >&5
26647
26648 wx_cv_explicit=no
26649
26650 fi
26651
26652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26653
26654 ac_ext=c
26655 ac_cpp='$CPP $CPPFLAGS'
26656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26659
26660
26661 fi
26662 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26663 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26664
26665 if test "$wx_cv_explicit" = "yes"; then
26666 cat >>confdefs.h <<\_ACEOF
26667 #define HAVE_EXPLICIT 1
26668 _ACEOF
26669
26670 fi
26671
26672
26673 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26674 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26675 if test "${ac_cv_cxx_const_cast+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26677 else
26678
26679 ac_ext=cpp
26680 ac_cpp='$CXXCPP $CPPFLAGS'
26681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26684
26685 cat >conftest.$ac_ext <<_ACEOF
26686 /* confdefs.h. */
26687 _ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691
26692 int
26693 main ()
26694 {
26695 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26696 ;
26697 return 0;
26698 }
26699 _ACEOF
26700 rm -f conftest.$ac_objext
26701 if { (ac_try="$ac_compile"
26702 case "(($ac_try" in
26703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26704 *) ac_try_echo=$ac_try;;
26705 esac
26706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26707 (eval "$ac_compile") 2>conftest.er1
26708 ac_status=$?
26709 grep -v '^ *+' conftest.er1 >conftest.err
26710 rm -f conftest.er1
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); } && {
26714 test -z "$ac_cxx_werror_flag" ||
26715 test ! -s conftest.err
26716 } && test -s conftest.$ac_objext; then
26717 ac_cv_cxx_const_cast=yes
26718 else
26719 echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.$ac_ext >&5
26721
26722 ac_cv_cxx_const_cast=no
26723 fi
26724
26725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26726 ac_ext=c
26727 ac_cpp='$CPP $CPPFLAGS'
26728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26731
26732
26733 fi
26734 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26735 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26736 if test "$ac_cv_cxx_const_cast" = yes; then
26737
26738 cat >>confdefs.h <<\_ACEOF
26739 #define HAVE_CONST_CAST
26740 _ACEOF
26741
26742 fi
26743
26744 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26745 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26746 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26747 echo $ECHO_N "(cached) $ECHO_C" >&6
26748 else
26749
26750 ac_ext=cpp
26751 ac_cpp='$CXXCPP $CPPFLAGS'
26752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26755
26756 cat >conftest.$ac_ext <<_ACEOF
26757 /* confdefs.h. */
26758 _ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762 #include <typeinfo>
26763 class Base { public : Base () {} virtual void f () = 0;};
26764 class Derived : public Base { public : Derived () {} virtual void f () {} };
26765 class Unrelated { public : Unrelated () {} };
26766 int g (Unrelated&) { return 0; }
26767 int
26768 main ()
26769 {
26770
26771 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26772 ;
26773 return 0;
26774 }
26775 _ACEOF
26776 rm -f conftest.$ac_objext
26777 if { (ac_try="$ac_compile"
26778 case "(($ac_try" in
26779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26780 *) ac_try_echo=$ac_try;;
26781 esac
26782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26783 (eval "$ac_compile") 2>conftest.er1
26784 ac_status=$?
26785 grep -v '^ *+' conftest.er1 >conftest.err
26786 rm -f conftest.er1
26787 cat conftest.err >&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } && {
26790 test -z "$ac_cxx_werror_flag" ||
26791 test ! -s conftest.err
26792 } && test -s conftest.$ac_objext; then
26793 ac_cv_cxx_reinterpret_cast=yes
26794 else
26795 echo "$as_me: failed program was:" >&5
26796 sed 's/^/| /' conftest.$ac_ext >&5
26797
26798 ac_cv_cxx_reinterpret_cast=no
26799 fi
26800
26801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26802 ac_ext=c
26803 ac_cpp='$CPP $CPPFLAGS'
26804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26807
26808
26809 fi
26810 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26811 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26812 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26813
26814 cat >>confdefs.h <<\_ACEOF
26815 #define HAVE_REINTERPRET_CAST
26816 _ACEOF
26817
26818 fi
26819
26820 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26821 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26822 if test "${ac_cv_cxx_static_cast+set}" = set; then
26823 echo $ECHO_N "(cached) $ECHO_C" >&6
26824 else
26825
26826 ac_ext=cpp
26827 ac_cpp='$CXXCPP $CPPFLAGS'
26828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26831
26832 cat >conftest.$ac_ext <<_ACEOF
26833 /* confdefs.h. */
26834 _ACEOF
26835 cat confdefs.h >>conftest.$ac_ext
26836 cat >>conftest.$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26838 #include <typeinfo>
26839 class Base { public : Base () {} virtual void f () = 0; };
26840 class Derived : public Base { public : Derived () {} virtual void f () {} };
26841 int g (Derived&) { return 0; }
26842 int
26843 main ()
26844 {
26845
26846 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26847 ;
26848 return 0;
26849 }
26850 _ACEOF
26851 rm -f conftest.$ac_objext
26852 if { (ac_try="$ac_compile"
26853 case "(($ac_try" in
26854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26855 *) ac_try_echo=$ac_try;;
26856 esac
26857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26858 (eval "$ac_compile") 2>conftest.er1
26859 ac_status=$?
26860 grep -v '^ *+' conftest.er1 >conftest.err
26861 rm -f conftest.er1
26862 cat conftest.err >&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } && {
26865 test -z "$ac_cxx_werror_flag" ||
26866 test ! -s conftest.err
26867 } && test -s conftest.$ac_objext; then
26868 ac_cv_cxx_static_cast=yes
26869 else
26870 echo "$as_me: failed program was:" >&5
26871 sed 's/^/| /' conftest.$ac_ext >&5
26872
26873 ac_cv_cxx_static_cast=no
26874 fi
26875
26876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26877 ac_ext=c
26878 ac_cpp='$CPP $CPPFLAGS'
26879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26882
26883
26884 fi
26885 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26886 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26887 if test "$ac_cv_cxx_static_cast" = yes; then
26888
26889 cat >>confdefs.h <<\_ACEOF
26890 #define HAVE_STATIC_CAST
26891 _ACEOF
26892
26893 fi
26894
26895
26896 if test "x$SUNCXX" = xyes; then
26897 CXXFLAGS="-features=tmplife $CXXFLAGS"
26898 fi
26899
26900 if test "x$SUNCC" = xyes; then
26901 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26902 fi
26903
26904 if test "x$SGICC" = "xyes"; then
26905 CFLAGS="-woff 3970 $CFLAGS"
26906 fi
26907 if test "x$SGICXX" = "xyes"; then
26908 CXXFLAGS="-woff 3970 $CXXFLAGS"
26909 fi
26910
26911 if test "x$HPCC" = "xyes"; then
26912 CFLAGS="+W 2011,2450 $CFLAGS"
26913 fi
26914 if test "x$HPCXX" = "xyes"; then
26915 CXXFLAGS="+W 2340 $CXXFLAGS"
26916 fi
26917
26918 if test "x$COMPAQCXX" = "xyes"; then
26919 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26920 fi
26921
26922 ac_ext=cpp
26923 ac_cpp='$CXXCPP $CPPFLAGS'
26924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26927
26928
26929 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26930 if test "$wxUSE_UNICODE" = "yes"; then
26931 std_string="std::wstring"
26932 char_type="wchar_t"
26933 else
26934 std_string="std::string"
26935 char_type="char"
26936 fi
26937
26938 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26939 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26940 if test "${wx_cv_class_stdstring+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 #include <string>
26951 int
26952 main ()
26953 {
26954 $std_string foo;
26955 ;
26956 return 0;
26957 }
26958 _ACEOF
26959 rm -f conftest.$ac_objext
26960 if { (ac_try="$ac_compile"
26961 case "(($ac_try" in
26962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26963 *) ac_try_echo=$ac_try;;
26964 esac
26965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26966 (eval "$ac_compile") 2>conftest.er1
26967 ac_status=$?
26968 grep -v '^ *+' conftest.er1 >conftest.err
26969 rm -f conftest.er1
26970 cat conftest.err >&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } && {
26973 test -z "$ac_cxx_werror_flag" ||
26974 test ! -s conftest.err
26975 } && test -s conftest.$ac_objext; then
26976 wx_cv_class_stdstring=yes
26977 else
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.$ac_ext >&5
26980
26981 wx_cv_class_stdstring=no
26982
26983 fi
26984
26985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26986
26987
26988 fi
26989 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26990 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26991
26992 if test "$wx_cv_class_stdstring" = yes; then
26993 if test "$wxUSE_UNICODE" = "yes"; then
26994 cat >>confdefs.h <<\_ACEOF
26995 #define HAVE_STD_WSTRING 1
26996 _ACEOF
26997
26998 fi
26999 else
27000 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27001 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27002 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 else
27005
27006 cat >conftest.$ac_ext <<_ACEOF
27007 /* confdefs.h. */
27008 _ACEOF
27009 cat confdefs.h >>conftest.$ac_ext
27010 cat >>conftest.$ac_ext <<_ACEOF
27011 /* end confdefs.h. */
27012
27013 #ifdef HAVE_WCHAR_H
27014 # ifdef __CYGWIN__
27015 # include <stddef.h>
27016 # endif
27017 # include <wchar.h>
27018 #endif
27019 #ifdef HAVE_STDLIB_H
27020 # include <stdlib.h>
27021 #endif
27022 #include <stdio.h>
27023 #include <string>
27024
27025 int
27026 main ()
27027 {
27028 std::basic_string<$char_type> foo;
27029 const $char_type* dummy = foo.c_str();
27030 ;
27031 return 0;
27032 }
27033 _ACEOF
27034 rm -f conftest.$ac_objext
27035 if { (ac_try="$ac_compile"
27036 case "(($ac_try" in
27037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27038 *) ac_try_echo=$ac_try;;
27039 esac
27040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27041 (eval "$ac_compile") 2>conftest.er1
27042 ac_status=$?
27043 grep -v '^ *+' conftest.er1 >conftest.err
27044 rm -f conftest.er1
27045 cat conftest.err >&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); } && {
27048 test -z "$ac_cxx_werror_flag" ||
27049 test ! -s conftest.err
27050 } && test -s conftest.$ac_objext; then
27051 wx_cv_class_stdbasicstring=yes
27052 else
27053 echo "$as_me: failed program was:" >&5
27054 sed 's/^/| /' conftest.$ac_ext >&5
27055
27056 wx_cv_class_stdbasicstring=no
27057
27058 fi
27059
27060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27061
27062
27063 fi
27064 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27065 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27066
27067 if test "$wx_cv_class_stdbasicstring" != yes; then
27068 if test "$wxUSE_STL" = "yes"; then
27069 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27070 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27071 { (exit 1); exit 1; }; }
27072 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27073 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27074 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27075 { (exit 1); exit 1; }; }
27076 else
27077 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27078 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27079 wxUSE_STD_STRING=no
27080 fi
27081 fi
27082 fi
27083 fi
27084
27085 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27086 { echo "$as_me:$LINENO: checking for std::istream" >&5
27087 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27088 if test "${ac_cv_type_std__istream+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 else
27091 cat >conftest.$ac_ext <<_ACEOF
27092 /* confdefs.h. */
27093 _ACEOF
27094 cat confdefs.h >>conftest.$ac_ext
27095 cat >>conftest.$ac_ext <<_ACEOF
27096 /* end confdefs.h. */
27097 #include <iostream>
27098
27099 typedef std::istream ac__type_new_;
27100 int
27101 main ()
27102 {
27103 if ((ac__type_new_ *) 0)
27104 return 0;
27105 if (sizeof (ac__type_new_))
27106 return 0;
27107 ;
27108 return 0;
27109 }
27110 _ACEOF
27111 rm -f conftest.$ac_objext
27112 if { (ac_try="$ac_compile"
27113 case "(($ac_try" in
27114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27115 *) ac_try_echo=$ac_try;;
27116 esac
27117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27118 (eval "$ac_compile") 2>conftest.er1
27119 ac_status=$?
27120 grep -v '^ *+' conftest.er1 >conftest.err
27121 rm -f conftest.er1
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } && {
27125 test -z "$ac_cxx_werror_flag" ||
27126 test ! -s conftest.err
27127 } && test -s conftest.$ac_objext; then
27128 ac_cv_type_std__istream=yes
27129 else
27130 echo "$as_me: failed program was:" >&5
27131 sed 's/^/| /' conftest.$ac_ext >&5
27132
27133 ac_cv_type_std__istream=no
27134 fi
27135
27136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27137 fi
27138 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27139 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27140 if test $ac_cv_type_std__istream = yes; then
27141
27142 cat >>confdefs.h <<_ACEOF
27143 #define HAVE_STD__ISTREAM 1
27144 _ACEOF
27145
27146
27147 else
27148 wxUSE_STD_IOSTREAM=no
27149 fi
27150 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27151 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27152 if test "${ac_cv_type_std__ostream+set}" = set; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 else
27155 cat >conftest.$ac_ext <<_ACEOF
27156 /* confdefs.h. */
27157 _ACEOF
27158 cat confdefs.h >>conftest.$ac_ext
27159 cat >>conftest.$ac_ext <<_ACEOF
27160 /* end confdefs.h. */
27161 #include <iostream>
27162
27163 typedef std::ostream ac__type_new_;
27164 int
27165 main ()
27166 {
27167 if ((ac__type_new_ *) 0)
27168 return 0;
27169 if (sizeof (ac__type_new_))
27170 return 0;
27171 ;
27172 return 0;
27173 }
27174 _ACEOF
27175 rm -f conftest.$ac_objext
27176 if { (ac_try="$ac_compile"
27177 case "(($ac_try" in
27178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27179 *) ac_try_echo=$ac_try;;
27180 esac
27181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27182 (eval "$ac_compile") 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } && {
27189 test -z "$ac_cxx_werror_flag" ||
27190 test ! -s conftest.err
27191 } && test -s conftest.$ac_objext; then
27192 ac_cv_type_std__ostream=yes
27193 else
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.$ac_ext >&5
27196
27197 ac_cv_type_std__ostream=no
27198 fi
27199
27200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27201 fi
27202 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27203 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27204 if test $ac_cv_type_std__ostream = yes; then
27205
27206 cat >>confdefs.h <<_ACEOF
27207 #define HAVE_STD__OSTREAM 1
27208 _ACEOF
27209
27210
27211 else
27212 wxUSE_STD_IOSTREAM=no
27213 fi
27214
27215
27216 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27217 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27218 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27219 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27220 { (exit 1); exit 1; }; }
27221 else
27222 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27223 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27224 fi
27225 fi
27226 fi
27227
27228 if test "$wxUSE_STL" = "yes"; then
27229 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27230 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27231 if test "${wx_cv_lib_stl+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27233 else
27234 cat >conftest.$ac_ext <<_ACEOF
27235 /* confdefs.h. */
27236 _ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240 #include <string>
27241 #include <functional>
27242 #include <algorithm>
27243 #include <vector>
27244 #include <list>
27245 int
27246 main ()
27247 {
27248 std::vector<int> moo;
27249 std::list<int> foo;
27250 std::vector<int>::iterator it =
27251 std::find_if(moo.begin(), moo.end(),
27252 std::bind2nd(std::less<int>(), 3));
27253 ;
27254 return 0;
27255 }
27256 _ACEOF
27257 rm -f conftest.$ac_objext
27258 if { (ac_try="$ac_compile"
27259 case "(($ac_try" in
27260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27261 *) ac_try_echo=$ac_try;;
27262 esac
27263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27264 (eval "$ac_compile") 2>conftest.er1
27265 ac_status=$?
27266 grep -v '^ *+' conftest.er1 >conftest.err
27267 rm -f conftest.er1
27268 cat conftest.err >&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } && {
27271 test -z "$ac_cxx_werror_flag" ||
27272 test ! -s conftest.err
27273 } && test -s conftest.$ac_objext; then
27274 wx_cv_lib_stl=yes
27275 else
27276 echo "$as_me: failed program was:" >&5
27277 sed 's/^/| /' conftest.$ac_ext >&5
27278
27279 wx_cv_lib_stl=no
27280
27281 fi
27282
27283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27284
27285 fi
27286 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27287 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27288
27289 if test "$wx_cv_lib_stl" != yes; then
27290 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27291 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27292 { (exit 1); exit 1; }; }
27293 fi
27294
27295 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27296 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27297 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27299 else
27300 cat >conftest.$ac_ext <<_ACEOF
27301 /* confdefs.h. */
27302 _ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 #include <string>
27307 int
27308 main ()
27309 {
27310 std::string foo, bar;
27311 foo.compare(bar);
27312 foo.compare(1, 1, bar);
27313 foo.compare(1, 1, bar, 1, 1);
27314 foo.compare("");
27315 foo.compare(1, 1, "");
27316 foo.compare(1, 1, "", 2);
27317 ;
27318 return 0;
27319 }
27320 _ACEOF
27321 rm -f conftest.$ac_objext
27322 if { (ac_try="$ac_compile"
27323 case "(($ac_try" in
27324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27325 *) ac_try_echo=$ac_try;;
27326 esac
27327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27328 (eval "$ac_compile") 2>conftest.er1
27329 ac_status=$?
27330 grep -v '^ *+' conftest.er1 >conftest.err
27331 rm -f conftest.er1
27332 cat conftest.err >&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } && {
27335 test -z "$ac_cxx_werror_flag" ||
27336 test ! -s conftest.err
27337 } && test -s conftest.$ac_objext; then
27338 wx_cv_func_stdstring_compare=yes
27339 else
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27342
27343 wx_cv_func_stdstring_compare=no
27344
27345 fi
27346
27347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27348
27349 fi
27350 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27351 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27352
27353 if test "$wx_cv_func_stdstring_compare" = yes; then
27354 cat >>confdefs.h <<\_ACEOF
27355 #define HAVE_STD_STRING_COMPARE 1
27356 _ACEOF
27357
27358 fi
27359
27360 { echo "$as_me:$LINENO: checking for hash_map" >&5
27361 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27362 if test "${ac_cv_header_hash_map+set}" = set; then
27363 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 else
27365 cat >conftest.$ac_ext <<_ACEOF
27366 /* confdefs.h. */
27367 _ACEOF
27368 cat confdefs.h >>conftest.$ac_ext
27369 cat >>conftest.$ac_ext <<_ACEOF
27370 /* end confdefs.h. */
27371
27372
27373
27374 #include <hash_map>
27375 _ACEOF
27376 rm -f conftest.$ac_objext
27377 if { (ac_try="$ac_compile"
27378 case "(($ac_try" in
27379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27380 *) ac_try_echo=$ac_try;;
27381 esac
27382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27383 (eval "$ac_compile") 2>conftest.er1
27384 ac_status=$?
27385 grep -v '^ *+' conftest.er1 >conftest.err
27386 rm -f conftest.er1
27387 cat conftest.err >&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); } && {
27390 test -z "$ac_cxx_werror_flag" ||
27391 test ! -s conftest.err
27392 } && test -s conftest.$ac_objext; then
27393 ac_cv_header_hash_map=yes
27394 else
27395 echo "$as_me: failed program was:" >&5
27396 sed 's/^/| /' conftest.$ac_ext >&5
27397
27398 ac_cv_header_hash_map=no
27399 fi
27400
27401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27402 fi
27403 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27404 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27405 if test $ac_cv_header_hash_map = yes; then
27406 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27407 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27408 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27409 echo $ECHO_N "(cached) $ECHO_C" >&6
27410 else
27411 cat >conftest.$ac_ext <<_ACEOF
27412 /* confdefs.h. */
27413 _ACEOF
27414 cat confdefs.h >>conftest.$ac_ext
27415 cat >>conftest.$ac_ext <<_ACEOF
27416 /* end confdefs.h. */
27417 #include <hash_map>
27418 #include <hash_set>
27419 int
27420 main ()
27421 {
27422 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27423 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27424 ;
27425 return 0;
27426 }
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 wx_cv_class_stdhashmapset=yes
27446 else
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27449
27450 wx_cv_class_stdhashmapset=no
27451 fi
27452
27453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27454
27455
27456 fi
27457 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27458 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27459 fi
27460
27461
27462
27463 if test "$wx_cv_class_stdhashmapset" = yes; then
27464 cat >>confdefs.h <<\_ACEOF
27465 #define HAVE_HASH_MAP 1
27466 _ACEOF
27467
27468 cat >>confdefs.h <<\_ACEOF
27469 #define HAVE_STD_HASH_MAP 1
27470 _ACEOF
27471
27472 fi
27473
27474 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27475 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27476 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27477 echo $ECHO_N "(cached) $ECHO_C" >&6
27478 else
27479 cat >conftest.$ac_ext <<_ACEOF
27480 /* confdefs.h. */
27481 _ACEOF
27482 cat confdefs.h >>conftest.$ac_ext
27483 cat >>conftest.$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27485
27486
27487
27488 #include <ext/hash_map>
27489 _ACEOF
27490 rm -f conftest.$ac_objext
27491 if { (ac_try="$ac_compile"
27492 case "(($ac_try" in
27493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27494 *) ac_try_echo=$ac_try;;
27495 esac
27496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27497 (eval "$ac_compile") 2>conftest.er1
27498 ac_status=$?
27499 grep -v '^ *+' conftest.er1 >conftest.err
27500 rm -f conftest.er1
27501 cat conftest.err >&5
27502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503 (exit $ac_status); } && {
27504 test -z "$ac_cxx_werror_flag" ||
27505 test ! -s conftest.err
27506 } && test -s conftest.$ac_objext; then
27507 ac_cv_header_ext_hash_map=yes
27508 else
27509 echo "$as_me: failed program was:" >&5
27510 sed 's/^/| /' conftest.$ac_ext >&5
27511
27512 ac_cv_header_ext_hash_map=no
27513 fi
27514
27515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27516 fi
27517 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27518 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27519 if test $ac_cv_header_ext_hash_map = yes; then
27520 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27521 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27522 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27523 echo $ECHO_N "(cached) $ECHO_C" >&6
27524 else
27525 cat >conftest.$ac_ext <<_ACEOF
27526 /* confdefs.h. */
27527 _ACEOF
27528 cat confdefs.h >>conftest.$ac_ext
27529 cat >>conftest.$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27531 #include <ext/hash_map>
27532 #include <ext/hash_set>
27533 int
27534 main ()
27535 {
27536 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27537 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27538 ;
27539 return 0;
27540 }
27541 _ACEOF
27542 rm -f conftest.$ac_objext
27543 if { (ac_try="$ac_compile"
27544 case "(($ac_try" in
27545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27546 *) ac_try_echo=$ac_try;;
27547 esac
27548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27549 (eval "$ac_compile") 2>conftest.er1
27550 ac_status=$?
27551 grep -v '^ *+' conftest.er1 >conftest.err
27552 rm -f conftest.er1
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } && {
27556 test -z "$ac_cxx_werror_flag" ||
27557 test ! -s conftest.err
27558 } && test -s conftest.$ac_objext; then
27559 wx_cv_class_gnuhashmapset=yes
27560 else
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.$ac_ext >&5
27563
27564 wx_cv_class_gnuhashmapset=no
27565 fi
27566
27567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27568
27569
27570 fi
27571 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27572 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27573 fi
27574
27575
27576
27577 if test "$wx_cv_class_gnuhashmapset" = yes; then
27578 cat >>confdefs.h <<\_ACEOF
27579 #define HAVE_EXT_HASH_MAP 1
27580 _ACEOF
27581
27582 cat >>confdefs.h <<\_ACEOF
27583 #define HAVE_GNU_CXX_HASH_MAP 1
27584 _ACEOF
27585
27586 fi
27587 fi
27588
27589
27590
27591 if test -n "$GCC"; then
27592 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27593 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27594 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27595 echo $ECHO_N "(cached) $ECHO_C" >&6
27596 else
27597
27598 cat >conftest.$ac_ext <<_ACEOF
27599 /* confdefs.h. */
27600 _ACEOF
27601 cat confdefs.h >>conftest.$ac_ext
27602 cat >>conftest.$ac_ext <<_ACEOF
27603 /* end confdefs.h. */
27604
27605 int
27606 main ()
27607 {
27608
27609 int value=0;
27610 __sync_fetch_and_add(&value, 1);
27611 __sync_sub_and_fetch(&value, 1);
27612
27613 ;
27614 return 0;
27615 }
27616 _ACEOF
27617 rm -f conftest.$ac_objext
27618 if { (ac_try="$ac_compile"
27619 case "(($ac_try" in
27620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27621 *) ac_try_echo=$ac_try;;
27622 esac
27623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27624 (eval "$ac_compile") 2>conftest.er1
27625 ac_status=$?
27626 grep -v '^ *+' conftest.er1 >conftest.err
27627 rm -f conftest.er1
27628 cat conftest.err >&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); } && {
27631 test -z "$ac_cxx_werror_flag" ||
27632 test ! -s conftest.err
27633 } && test -s conftest.$ac_objext; then
27634 wx_cv_cc_gcc_atomic_builtins=yes
27635 else
27636 echo "$as_me: failed program was:" >&5
27637 sed 's/^/| /' conftest.$ac_ext >&5
27638
27639 wx_cv_cc_gcc_atomic_builtins=no
27640 fi
27641
27642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27643
27644 fi
27645
27646 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27647 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27648 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27649 cat >>confdefs.h <<\_ACEOF
27650 #define HAVE_GCC_ATOMIC_BUILTINS 1
27651 _ACEOF
27652
27653 fi
27654 fi
27655
27656
27657 ac_ext=c
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27662
27663
27664
27665 SEARCH_INCLUDE="\
27666 /usr/local/include \
27667 \
27668 /usr/Motif-2.1/include \
27669 /usr/Motif-1.2/include \
27670 /usr/include/Motif1.2 \
27671 \
27672 /usr/dt/include \
27673 /usr/openwin/include \
27674 \
27675 /usr/include/Xm \
27676 \
27677 /usr/X11R6/include \
27678 /usr/X11R6.4/include \
27679 /usr/X11R5/include \
27680 /usr/X11R4/include \
27681 \
27682 /usr/include/X11R6 \
27683 /usr/include/X11R5 \
27684 /usr/include/X11R4 \
27685 \
27686 /usr/local/X11R6/include \
27687 /usr/local/X11R5/include \
27688 /usr/local/X11R4/include \
27689 \
27690 /usr/local/include/X11R6 \
27691 /usr/local/include/X11R5 \
27692 /usr/local/include/X11R4 \
27693 \
27694 /usr/X11/include \
27695 /usr/include/X11 \
27696 /usr/local/X11/include \
27697 /usr/local/include/X11 \
27698 \
27699 /usr/XFree86/include/X11 \
27700 /usr/pkg/include \
27701 \
27702 /usr/openwin/share/include"
27703
27704 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27705 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27706
27707 case "${host}" in
27708 *-*-irix6* )
27709 if test "${wx_cv_std_libpath+set}" = set; then
27710 echo $ECHO_N "(cached) $ECHO_C" >&6
27711 else
27712
27713 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27714 for e in a so sl dylib dll.a; do
27715 libc="$d/libc.$e"
27716 if test -f $libc; then
27717 save_LIBS="$LIBS"
27718 LIBS="$libc"
27719 cat >conftest.$ac_ext <<_ACEOF
27720 int main() { return 0; }
27721 _ACEOF
27722 rm -f conftest.$ac_objext conftest$ac_exeext
27723 if { (ac_try="$ac_link"
27724 case "(($ac_try" in
27725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27727 esac
27728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_link") 2>conftest.er1
27730 ac_status=$?
27731 grep -v '^ *+' conftest.er1 >conftest.err
27732 rm -f conftest.er1
27733 cat conftest.err >&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } && {
27736 test -z "$ac_c_werror_flag" ||
27737 test ! -s conftest.err
27738 } && test -s conftest$ac_exeext &&
27739 $as_test_x conftest$ac_exeext; then
27740 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27741 else
27742 echo "$as_me: failed program was:" >&5
27743 sed 's/^/| /' conftest.$ac_ext >&5
27744
27745
27746 fi
27747
27748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27749 conftest$ac_exeext conftest.$ac_ext
27750 LIBS="$save_LIBS"
27751 if test "x$wx_cv_std_libpath" != "x"; then
27752 break 2
27753 fi
27754 fi
27755 done
27756 done
27757 if test "x$wx_cv_std_libpath" = "x"; then
27758 wx_cv_std_libpath="lib"
27759 fi
27760
27761
27762 fi
27763
27764 ;;
27765
27766 *-*-solaris2* )
27767 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27768 wx_cv_std_libpath="lib/64"
27769 else
27770 wx_cv_std_libpath="lib"
27771 fi
27772 ;;
27773
27774 *-*-linux* )
27775 if test "$ac_cv_sizeof_void_p" = 8 -a \
27776 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27777 wx_cv_std_libpath="lib64"
27778 else
27779 wx_cv_std_libpath="lib"
27780 fi
27781 ;;
27782
27783 *)
27784 wx_cv_std_libpath="lib";
27785 ;;
27786 esac
27787
27788 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27789 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27790
27791 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27792
27793 if test "$build" != "$host" -a "$GCC" = yes; then
27794 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27795 cross_root=`dirname $cross_root`
27796 cross_root=`dirname $cross_root`
27797
27798 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27799 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27800 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27801
27802 if test -z "$PKG_CONFIG_PATH"; then
27803 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27804 export PKG_CONFIG_PATH
27805 fi
27806
27807 if test -z "$x_includes" -o "$x_includes" = NONE; then
27808
27809 ac_find_includes=
27810 for ac_dir in $SEARCH_INCLUDE /usr/include;
27811 do
27812 if test -f "$ac_dir/X11/Intrinsic.h"; then
27813 ac_find_includes=$ac_dir
27814 break
27815 fi
27816 done
27817
27818 x_includes=$ac_find_includes
27819 fi
27820 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27821
27822 ac_find_libraries=
27823 for ac_dir in $SEARCH_LIB;
27824 do
27825 for ac_extension in a so sl dylib dll.a; do
27826 if test -f "$ac_dir/libXt.$ac_extension"; then
27827 ac_find_libraries=$ac_dir
27828 break 2
27829 fi
27830 done
27831 done
27832
27833 x_libraries=$ac_find_libraries
27834 fi
27835 fi
27836 fi
27837
27838
27839 cat >confcache <<\_ACEOF
27840 # This file is a shell script that caches the results of configure
27841 # tests run on this system so they can be shared between configure
27842 # scripts and configure runs, see configure's option --config-cache.
27843 # It is not useful on other systems. If it contains results you don't
27844 # want to keep, you may remove or edit it.
27845 #
27846 # config.status only pays attention to the cache file if you give it
27847 # the --recheck option to rerun configure.
27848 #
27849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27851 # following values.
27852
27853 _ACEOF
27854
27855 # The following way of writing the cache mishandles newlines in values,
27856 # but we know of no workaround that is simple, portable, and efficient.
27857 # So, we kill variables containing newlines.
27858 # Ultrix sh set writes to stderr and can't be redirected directly,
27859 # and sets the high bit in the cache file unless we assign to the vars.
27860 (
27861 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27862 eval ac_val=\$$ac_var
27863 case $ac_val in #(
27864 *${as_nl}*)
27865 case $ac_var in #(
27866 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27867 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27868 esac
27869 case $ac_var in #(
27870 _ | IFS | as_nl) ;; #(
27871 *) $as_unset $ac_var ;;
27872 esac ;;
27873 esac
27874 done
27875
27876 (set) 2>&1 |
27877 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27878 *${as_nl}ac_space=\ *)
27879 # `set' does not quote correctly, so add quotes (double-quote
27880 # substitution turns \\\\ into \\, and sed turns \\ into \).
27881 sed -n \
27882 "s/'/'\\\\''/g;
27883 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27884 ;; #(
27885 *)
27886 # `set' quotes correctly as required by POSIX, so do not add quotes.
27887 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27888 ;;
27889 esac |
27890 sort
27891 ) |
27892 sed '
27893 /^ac_cv_env_/b end
27894 t clear
27895 :clear
27896 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27897 t end
27898 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27899 :end' >>confcache
27900 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27901 if test -w "$cache_file"; then
27902 test "x$cache_file" != "x/dev/null" &&
27903 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27904 echo "$as_me: updating cache $cache_file" >&6;}
27905 cat confcache >$cache_file
27906 else
27907 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27908 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27909 fi
27910 fi
27911 rm -f confcache
27912
27913 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27914 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27915 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27916 if test "${wx_cv_lib_glibc21+set}" = set; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 else
27919
27920 cat >conftest.$ac_ext <<_ACEOF
27921 /* confdefs.h. */
27922 _ACEOF
27923 cat confdefs.h >>conftest.$ac_ext
27924 cat >>conftest.$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27926 #include <features.h>
27927 int
27928 main ()
27929 {
27930
27931 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27932 not glibc 2.1
27933 #endif
27934
27935 ;
27936 return 0;
27937 }
27938 _ACEOF
27939 rm -f conftest.$ac_objext
27940 if { (ac_try="$ac_compile"
27941 case "(($ac_try" in
27942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27943 *) ac_try_echo=$ac_try;;
27944 esac
27945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27946 (eval "$ac_compile") 2>conftest.er1
27947 ac_status=$?
27948 grep -v '^ *+' conftest.er1 >conftest.err
27949 rm -f conftest.er1
27950 cat conftest.err >&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); } && {
27953 test -z "$ac_c_werror_flag" ||
27954 test ! -s conftest.err
27955 } && test -s conftest.$ac_objext; then
27956
27957 wx_cv_lib_glibc21=yes
27958
27959 else
27960 echo "$as_me: failed program was:" >&5
27961 sed 's/^/| /' conftest.$ac_ext >&5
27962
27963
27964 wx_cv_lib_glibc21=no
27965
27966
27967 fi
27968
27969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27970
27971 fi
27972 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27973 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27974 if test "$wx_cv_lib_glibc21" = "yes"; then
27975 cat >>confdefs.h <<\_ACEOF
27976 #define wxHAVE_GLIBC2 1
27977 _ACEOF
27978
27979 fi
27980 fi
27981
27982 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27983 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27984 cat >>confdefs.h <<\_ACEOF
27985 #define _GNU_SOURCE 1
27986 _ACEOF
27987
27988 fi
27989 fi
27990
27991 have_cos=0
27992 have_floor=0
27993
27994 for ac_func in cos
27995 do
27996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27997 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27999 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28001 else
28002 cat >conftest.$ac_ext <<_ACEOF
28003 /* confdefs.h. */
28004 _ACEOF
28005 cat confdefs.h >>conftest.$ac_ext
28006 cat >>conftest.$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28010 #define $ac_func innocuous_$ac_func
28011
28012 /* System header to define __stub macros and hopefully few prototypes,
28013 which can conflict with char $ac_func (); below.
28014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28015 <limits.h> exists even on freestanding compilers. */
28016
28017 #ifdef __STDC__
28018 # include <limits.h>
28019 #else
28020 # include <assert.h>
28021 #endif
28022
28023 #undef $ac_func
28024
28025 /* Override any GCC internal prototype to avoid an error.
28026 Use char because int might match the return type of a GCC
28027 builtin and then its argument prototype would still apply. */
28028 #ifdef __cplusplus
28029 extern "C"
28030 #endif
28031 char $ac_func ();
28032 /* The GNU C library defines this for functions which it implements
28033 to always fail with ENOSYS. Some functions are actually named
28034 something starting with __ and the normal name is an alias. */
28035 #if defined __stub_$ac_func || defined __stub___$ac_func
28036 choke me
28037 #endif
28038
28039 int
28040 main ()
28041 {
28042 return $ac_func ();
28043 ;
28044 return 0;
28045 }
28046 _ACEOF
28047 rm -f conftest.$ac_objext conftest$ac_exeext
28048 if { (ac_try="$ac_link"
28049 case "(($ac_try" in
28050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28051 *) ac_try_echo=$ac_try;;
28052 esac
28053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28054 (eval "$ac_link") 2>conftest.er1
28055 ac_status=$?
28056 grep -v '^ *+' conftest.er1 >conftest.err
28057 rm -f conftest.er1
28058 cat conftest.err >&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } && {
28061 test -z "$ac_c_werror_flag" ||
28062 test ! -s conftest.err
28063 } && test -s conftest$ac_exeext &&
28064 $as_test_x conftest$ac_exeext; then
28065 eval "$as_ac_var=yes"
28066 else
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.$ac_ext >&5
28069
28070 eval "$as_ac_var=no"
28071 fi
28072
28073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28074 conftest$ac_exeext conftest.$ac_ext
28075 fi
28076 ac_res=`eval echo '${'$as_ac_var'}'`
28077 { echo "$as_me:$LINENO: result: $ac_res" >&5
28078 echo "${ECHO_T}$ac_res" >&6; }
28079 if test `eval echo '${'$as_ac_var'}'` = yes; then
28080 cat >>confdefs.h <<_ACEOF
28081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28082 _ACEOF
28083 have_cos=1
28084 fi
28085 done
28086
28087
28088 for ac_func in floor
28089 do
28090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28093 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 else
28096 cat >conftest.$ac_ext <<_ACEOF
28097 /* confdefs.h. */
28098 _ACEOF
28099 cat confdefs.h >>conftest.$ac_ext
28100 cat >>conftest.$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28104 #define $ac_func innocuous_$ac_func
28105
28106 /* System header to define __stub macros and hopefully few prototypes,
28107 which can conflict with char $ac_func (); below.
28108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28109 <limits.h> exists even on freestanding compilers. */
28110
28111 #ifdef __STDC__
28112 # include <limits.h>
28113 #else
28114 # include <assert.h>
28115 #endif
28116
28117 #undef $ac_func
28118
28119 /* Override any GCC internal prototype to avoid an error.
28120 Use char because int might match the return type of a GCC
28121 builtin and then its argument prototype would still apply. */
28122 #ifdef __cplusplus
28123 extern "C"
28124 #endif
28125 char $ac_func ();
28126 /* The GNU C library defines this for functions which it implements
28127 to always fail with ENOSYS. Some functions are actually named
28128 something starting with __ and the normal name is an alias. */
28129 #if defined __stub_$ac_func || defined __stub___$ac_func
28130 choke me
28131 #endif
28132
28133 int
28134 main ()
28135 {
28136 return $ac_func ();
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 rm -f conftest.$ac_objext conftest$ac_exeext
28142 if { (ac_try="$ac_link"
28143 case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28146 esac
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_link") 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } && {
28155 test -z "$ac_c_werror_flag" ||
28156 test ! -s conftest.err
28157 } && test -s conftest$ac_exeext &&
28158 $as_test_x conftest$ac_exeext; then
28159 eval "$as_ac_var=yes"
28160 else
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28163
28164 eval "$as_ac_var=no"
28165 fi
28166
28167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28168 conftest$ac_exeext conftest.$ac_ext
28169 fi
28170 ac_res=`eval echo '${'$as_ac_var'}'`
28171 { echo "$as_me:$LINENO: result: $ac_res" >&5
28172 echo "${ECHO_T}$ac_res" >&6; }
28173 if test `eval echo '${'$as_ac_var'}'` = yes; then
28174 cat >>confdefs.h <<_ACEOF
28175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28176 _ACEOF
28177 have_floor=1
28178 fi
28179 done
28180
28181 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28182 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28183 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28184 { echo "$as_me:$LINENO: result: yes" >&5
28185 echo "${ECHO_T}yes" >&6; }
28186 else
28187 { echo "$as_me:$LINENO: result: no" >&5
28188 echo "${ECHO_T}no" >&6; }
28189 LIBS="$LIBS -lm"
28190 # use different functions to avoid configure caching
28191 have_sin=0
28192 have_ceil=0
28193
28194 for ac_func in sin
28195 do
28196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28197 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28199 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 else
28202 cat >conftest.$ac_ext <<_ACEOF
28203 /* confdefs.h. */
28204 _ACEOF
28205 cat confdefs.h >>conftest.$ac_ext
28206 cat >>conftest.$ac_ext <<_ACEOF
28207 /* end confdefs.h. */
28208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28210 #define $ac_func innocuous_$ac_func
28211
28212 /* System header to define __stub macros and hopefully few prototypes,
28213 which can conflict with char $ac_func (); below.
28214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28215 <limits.h> exists even on freestanding compilers. */
28216
28217 #ifdef __STDC__
28218 # include <limits.h>
28219 #else
28220 # include <assert.h>
28221 #endif
28222
28223 #undef $ac_func
28224
28225 /* Override any GCC internal prototype to avoid an error.
28226 Use char because int might match the return type of a GCC
28227 builtin and then its argument prototype would still apply. */
28228 #ifdef __cplusplus
28229 extern "C"
28230 #endif
28231 char $ac_func ();
28232 /* The GNU C library defines this for functions which it implements
28233 to always fail with ENOSYS. Some functions are actually named
28234 something starting with __ and the normal name is an alias. */
28235 #if defined __stub_$ac_func || defined __stub___$ac_func
28236 choke me
28237 #endif
28238
28239 int
28240 main ()
28241 {
28242 return $ac_func ();
28243 ;
28244 return 0;
28245 }
28246 _ACEOF
28247 rm -f conftest.$ac_objext conftest$ac_exeext
28248 if { (ac_try="$ac_link"
28249 case "(($ac_try" in
28250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28251 *) ac_try_echo=$ac_try;;
28252 esac
28253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28254 (eval "$ac_link") 2>conftest.er1
28255 ac_status=$?
28256 grep -v '^ *+' conftest.er1 >conftest.err
28257 rm -f conftest.er1
28258 cat conftest.err >&5
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); } && {
28261 test -z "$ac_c_werror_flag" ||
28262 test ! -s conftest.err
28263 } && test -s conftest$ac_exeext &&
28264 $as_test_x conftest$ac_exeext; then
28265 eval "$as_ac_var=yes"
28266 else
28267 echo "$as_me: failed program was:" >&5
28268 sed 's/^/| /' conftest.$ac_ext >&5
28269
28270 eval "$as_ac_var=no"
28271 fi
28272
28273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28274 conftest$ac_exeext conftest.$ac_ext
28275 fi
28276 ac_res=`eval echo '${'$as_ac_var'}'`
28277 { echo "$as_me:$LINENO: result: $ac_res" >&5
28278 echo "${ECHO_T}$ac_res" >&6; }
28279 if test `eval echo '${'$as_ac_var'}'` = yes; then
28280 cat >>confdefs.h <<_ACEOF
28281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28282 _ACEOF
28283 have_sin=1
28284 fi
28285 done
28286
28287
28288 for ac_func in ceil
28289 do
28290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28294 echo $ECHO_N "(cached) $ECHO_C" >&6
28295 else
28296 cat >conftest.$ac_ext <<_ACEOF
28297 /* confdefs.h. */
28298 _ACEOF
28299 cat confdefs.h >>conftest.$ac_ext
28300 cat >>conftest.$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28304 #define $ac_func innocuous_$ac_func
28305
28306 /* System header to define __stub macros and hopefully few prototypes,
28307 which can conflict with char $ac_func (); below.
28308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28309 <limits.h> exists even on freestanding compilers. */
28310
28311 #ifdef __STDC__
28312 # include <limits.h>
28313 #else
28314 # include <assert.h>
28315 #endif
28316
28317 #undef $ac_func
28318
28319 /* Override any GCC internal prototype to avoid an error.
28320 Use char because int might match the return type of a GCC
28321 builtin and then its argument prototype would still apply. */
28322 #ifdef __cplusplus
28323 extern "C"
28324 #endif
28325 char $ac_func ();
28326 /* The GNU C library defines this for functions which it implements
28327 to always fail with ENOSYS. Some functions are actually named
28328 something starting with __ and the normal name is an alias. */
28329 #if defined __stub_$ac_func || defined __stub___$ac_func
28330 choke me
28331 #endif
28332
28333 int
28334 main ()
28335 {
28336 return $ac_func ();
28337 ;
28338 return 0;
28339 }
28340 _ACEOF
28341 rm -f conftest.$ac_objext conftest$ac_exeext
28342 if { (ac_try="$ac_link"
28343 case "(($ac_try" in
28344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28345 *) ac_try_echo=$ac_try;;
28346 esac
28347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28348 (eval "$ac_link") 2>conftest.er1
28349 ac_status=$?
28350 grep -v '^ *+' conftest.er1 >conftest.err
28351 rm -f conftest.er1
28352 cat conftest.err >&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } && {
28355 test -z "$ac_c_werror_flag" ||
28356 test ! -s conftest.err
28357 } && test -s conftest$ac_exeext &&
28358 $as_test_x conftest$ac_exeext; then
28359 eval "$as_ac_var=yes"
28360 else
28361 echo "$as_me: failed program was:" >&5
28362 sed 's/^/| /' conftest.$ac_ext >&5
28363
28364 eval "$as_ac_var=no"
28365 fi
28366
28367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28368 conftest$ac_exeext conftest.$ac_ext
28369 fi
28370 ac_res=`eval echo '${'$as_ac_var'}'`
28371 { echo "$as_me:$LINENO: result: $ac_res" >&5
28372 echo "${ECHO_T}$ac_res" >&6; }
28373 if test `eval echo '${'$as_ac_var'}'` = yes; then
28374 cat >>confdefs.h <<_ACEOF
28375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28376 _ACEOF
28377 have_ceil=1
28378 fi
28379 done
28380
28381 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28382 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28383 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28384 { echo "$as_me:$LINENO: result: yes" >&5
28385 echo "${ECHO_T}yes" >&6; }
28386 else
28387 { echo "$as_me:$LINENO: result: no" >&5
28388 echo "${ECHO_T}no" >&6; }
28389 # not sure we should warn the user, crash, etc.
28390 fi
28391 fi
28392
28393 ac_ext=cpp
28394 ac_cpp='$CXXCPP $CPPFLAGS'
28395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28398
28399 if test "wxUSE_UNICODE" = "yes"; then
28400
28401 for wx_func in wcstoull
28402 do
28403 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28404 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28405 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28406 echo $ECHO_N "(cached) $ECHO_C" >&6
28407 else
28408
28409 cat >conftest.$ac_ext <<_ACEOF
28410
28411 /* confdefs.h. */
28412 _ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28416
28417
28418 $ac_includes_default
28419
28420 int
28421 main ()
28422 {
28423
28424 #ifndef $wx_func
28425 &$wx_func;
28426 #endif
28427
28428
28429 ;
28430 return 0;
28431 }
28432
28433 _ACEOF
28434 rm -f conftest.$ac_objext conftest$ac_exeext
28435 if { (ac_try="$ac_link"
28436 case "(($ac_try" in
28437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28438 *) ac_try_echo=$ac_try;;
28439 esac
28440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28441 (eval "$ac_link") 2>conftest.er1
28442 ac_status=$?
28443 grep -v '^ *+' conftest.er1 >conftest.err
28444 rm -f conftest.er1
28445 cat conftest.err >&5
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); } && {
28448 test -z "$ac_cxx_werror_flag" ||
28449 test ! -s conftest.err
28450 } && test -s conftest$ac_exeext &&
28451 $as_test_x conftest$ac_exeext; then
28452 eval wx_cv_func_$wx_func=yes
28453 else
28454 echo "$as_me: failed program was:" >&5
28455 sed 's/^/| /' conftest.$ac_ext >&5
28456
28457 eval wx_cv_func_$wx_func=no
28458 fi
28459
28460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28461 conftest$ac_exeext conftest.$ac_ext
28462
28463 fi
28464 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28465 { echo "$as_me:$LINENO: result: $ac_res" >&5
28466 echo "${ECHO_T}$ac_res" >&6; }
28467
28468 if eval test \$wx_cv_func_$wx_func = yes
28469 then
28470 cat >>confdefs.h <<_ACEOF
28471 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28472 _ACEOF
28473
28474
28475 else
28476 :
28477
28478 fi
28479 done
28480
28481 else
28482
28483 for wx_func in strtoull
28484 do
28485 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28486 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28487 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28488 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 else
28490
28491 cat >conftest.$ac_ext <<_ACEOF
28492
28493 /* confdefs.h. */
28494 _ACEOF
28495 cat confdefs.h >>conftest.$ac_ext
28496 cat >>conftest.$ac_ext <<_ACEOF
28497 /* end confdefs.h. */
28498
28499
28500 $ac_includes_default
28501
28502 int
28503 main ()
28504 {
28505
28506 #ifndef $wx_func
28507 &$wx_func;
28508 #endif
28509
28510
28511 ;
28512 return 0;
28513 }
28514
28515 _ACEOF
28516 rm -f conftest.$ac_objext conftest$ac_exeext
28517 if { (ac_try="$ac_link"
28518 case "(($ac_try" in
28519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28520 *) ac_try_echo=$ac_try;;
28521 esac
28522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28523 (eval "$ac_link") 2>conftest.er1
28524 ac_status=$?
28525 grep -v '^ *+' conftest.er1 >conftest.err
28526 rm -f conftest.er1
28527 cat conftest.err >&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } && {
28530 test -z "$ac_cxx_werror_flag" ||
28531 test ! -s conftest.err
28532 } && test -s conftest$ac_exeext &&
28533 $as_test_x conftest$ac_exeext; then
28534 eval wx_cv_func_$wx_func=yes
28535 else
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28538
28539 eval wx_cv_func_$wx_func=no
28540 fi
28541
28542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28543 conftest$ac_exeext conftest.$ac_ext
28544
28545 fi
28546 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28547 { echo "$as_me:$LINENO: result: $ac_res" >&5
28548 echo "${ECHO_T}$ac_res" >&6; }
28549
28550 if eval test \$wx_cv_func_$wx_func = yes
28551 then
28552 cat >>confdefs.h <<_ACEOF
28553 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28554 _ACEOF
28555
28556
28557 else
28558 :
28559
28560 fi
28561 done
28562
28563 fi
28564 ac_ext=c
28565 ac_cpp='$CPP $CPPFLAGS'
28566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28569
28570
28571
28572
28573 if test "$wxUSE_REGEX" != "no"; then
28574 cat >>confdefs.h <<\_ACEOF
28575 #define wxUSE_REGEX 1
28576 _ACEOF
28577
28578
28579 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28580 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28581 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28582 wxUSE_REGEX=builtin
28583 fi
28584
28585 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28586 { echo "$as_me:$LINENO: checking for regex.h" >&5
28587 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28588 if test "${ac_cv_header_regex_h+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28590 else
28591 cat >conftest.$ac_ext <<_ACEOF
28592 /* confdefs.h. */
28593 _ACEOF
28594 cat confdefs.h >>conftest.$ac_ext
28595 cat >>conftest.$ac_ext <<_ACEOF
28596 /* end confdefs.h. */
28597
28598
28599 #include <regex.h>
28600 _ACEOF
28601 rm -f conftest.$ac_objext
28602 if { (ac_try="$ac_compile"
28603 case "(($ac_try" in
28604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28605 *) ac_try_echo=$ac_try;;
28606 esac
28607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28608 (eval "$ac_compile") 2>conftest.er1
28609 ac_status=$?
28610 grep -v '^ *+' conftest.er1 >conftest.err
28611 rm -f conftest.er1
28612 cat conftest.err >&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } && {
28615 test -z "$ac_c_werror_flag" ||
28616 test ! -s conftest.err
28617 } && test -s conftest.$ac_objext; then
28618 ac_cv_header_regex_h=yes
28619 else
28620 echo "$as_me: failed program was:" >&5
28621 sed 's/^/| /' conftest.$ac_ext >&5
28622
28623 ac_cv_header_regex_h=no
28624 fi
28625
28626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28627 fi
28628 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28629 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28630 if test $ac_cv_header_regex_h = yes; then
28631
28632
28633 for ac_func in regcomp re_search
28634 do
28635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28639 echo $ECHO_N "(cached) $ECHO_C" >&6
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28649 #define $ac_func innocuous_$ac_func
28650
28651 /* System header to define __stub macros and hopefully few prototypes,
28652 which can conflict with char $ac_func (); below.
28653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28654 <limits.h> exists even on freestanding compilers. */
28655
28656 #ifdef __STDC__
28657 # include <limits.h>
28658 #else
28659 # include <assert.h>
28660 #endif
28661
28662 #undef $ac_func
28663
28664 /* Override any GCC internal prototype to avoid an error.
28665 Use char because int might match the return type of a GCC
28666 builtin and then its argument prototype would still apply. */
28667 #ifdef __cplusplus
28668 extern "C"
28669 #endif
28670 char $ac_func ();
28671 /* The GNU C library defines this for functions which it implements
28672 to always fail with ENOSYS. Some functions are actually named
28673 something starting with __ and the normal name is an alias. */
28674 #if defined __stub_$ac_func || defined __stub___$ac_func
28675 choke me
28676 #endif
28677
28678 int
28679 main ()
28680 {
28681 return $ac_func ();
28682 ;
28683 return 0;
28684 }
28685 _ACEOF
28686 rm -f conftest.$ac_objext conftest$ac_exeext
28687 if { (ac_try="$ac_link"
28688 case "(($ac_try" in
28689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28690 *) ac_try_echo=$ac_try;;
28691 esac
28692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28693 (eval "$ac_link") 2>conftest.er1
28694 ac_status=$?
28695 grep -v '^ *+' conftest.er1 >conftest.err
28696 rm -f conftest.er1
28697 cat conftest.err >&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); } && {
28700 test -z "$ac_c_werror_flag" ||
28701 test ! -s conftest.err
28702 } && test -s conftest$ac_exeext &&
28703 $as_test_x conftest$ac_exeext; then
28704 eval "$as_ac_var=yes"
28705 else
28706 echo "$as_me: failed program was:" >&5
28707 sed 's/^/| /' conftest.$ac_ext >&5
28708
28709 eval "$as_ac_var=no"
28710 fi
28711
28712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28713 conftest$ac_exeext conftest.$ac_ext
28714 fi
28715 ac_res=`eval echo '${'$as_ac_var'}'`
28716 { echo "$as_me:$LINENO: result: $ac_res" >&5
28717 echo "${ECHO_T}$ac_res" >&6; }
28718 if test `eval echo '${'$as_ac_var'}'` = yes; then
28719 cat >>confdefs.h <<_ACEOF
28720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28721 _ACEOF
28722
28723 fi
28724 done
28725
28726 fi
28727
28728
28729
28730 if test "x$ac_cv_func_regcomp" != "xyes"; then
28731 if test "$wxUSE_REGEX" = "sys" ; then
28732 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28733 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28734 { (exit 1); exit 1; }; }
28735 else
28736 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28737 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28738 wxUSE_REGEX=builtin
28739 fi
28740 else
28741 wxUSE_REGEX=sys
28742 cat >>confdefs.h <<\_ACEOF
28743 #define WX_NO_REGEX_ADVANCED 1
28744 _ACEOF
28745
28746 fi
28747 fi
28748 fi
28749
28750
28751 ZLIB_LINK=
28752 if test "$wxUSE_ZLIB" != "no" ; then
28753 cat >>confdefs.h <<\_ACEOF
28754 #define wxUSE_ZLIB 1
28755 _ACEOF
28756
28757
28758 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28759 if test "$USE_DARWIN" = 1; then
28760 system_zlib_h_ok="yes"
28761 else
28762 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28763 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28764 if test "${ac_cv_header_zlib_h+set}" = set; then
28765 echo $ECHO_N "(cached) $ECHO_C" >&6
28766 else
28767 if test "$cross_compiling" = yes; then
28768 unset ac_cv_header_zlib_h
28769
28770 else
28771 cat >conftest.$ac_ext <<_ACEOF
28772 /* confdefs.h. */
28773 _ACEOF
28774 cat confdefs.h >>conftest.$ac_ext
28775 cat >>conftest.$ac_ext <<_ACEOF
28776 /* end confdefs.h. */
28777
28778 #include <zlib.h>
28779 #include <stdio.h>
28780
28781 int main()
28782 {
28783 FILE *f=fopen("conftestval", "w");
28784 if (!f) exit(1);
28785 fprintf(f, "%s",
28786 ZLIB_VERSION[0] == '1' &&
28787 (ZLIB_VERSION[2] > '1' ||
28788 (ZLIB_VERSION[2] == '1' &&
28789 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28790 exit(0);
28791 }
28792
28793 _ACEOF
28794 rm -f conftest$ac_exeext
28795 if { (ac_try="$ac_link"
28796 case "(($ac_try" in
28797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28798 *) ac_try_echo=$ac_try;;
28799 esac
28800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28801 (eval "$ac_link") 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28805 { (case "(($ac_try" in
28806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28807 *) ac_try_echo=$ac_try;;
28808 esac
28809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28810 (eval "$ac_try") 2>&5
28811 ac_status=$?
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); }; }; then
28814 ac_cv_header_zlib_h=`cat conftestval`
28815 else
28816 echo "$as_me: program exited with status $ac_status" >&5
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.$ac_ext >&5
28819
28820 ( exit $ac_status )
28821 ac_cv_header_zlib_h=no
28822 fi
28823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28824 fi
28825
28826
28827
28828 fi
28829 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28830 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28831 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28832 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28833 if test "${ac_cv_header_zlib_h+set}" = set; then
28834 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 else
28836 cat >conftest.$ac_ext <<_ACEOF
28837 /* confdefs.h. */
28838 _ACEOF
28839 cat confdefs.h >>conftest.$ac_ext
28840 cat >>conftest.$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28842
28843
28844 #include <zlib.h>
28845 _ACEOF
28846 rm -f conftest.$ac_objext
28847 if { (ac_try="$ac_compile"
28848 case "(($ac_try" in
28849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28850 *) ac_try_echo=$ac_try;;
28851 esac
28852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28853 (eval "$ac_compile") 2>conftest.er1
28854 ac_status=$?
28855 grep -v '^ *+' conftest.er1 >conftest.err
28856 rm -f conftest.er1
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } && {
28860 test -z "$ac_c_werror_flag" ||
28861 test ! -s conftest.err
28862 } && test -s conftest.$ac_objext; then
28863 ac_cv_header_zlib_h=yes
28864 else
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.$ac_ext >&5
28867
28868 ac_cv_header_zlib_h=no
28869 fi
28870
28871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28872 fi
28873 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28874 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28875
28876
28877
28878 system_zlib_h_ok=$ac_cv_header_zlib_h
28879 fi
28880
28881 if test "$system_zlib_h_ok" = "yes"; then
28882 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28883 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28884 if test "${ac_cv_lib_z_deflate+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 else
28887 ac_check_lib_save_LIBS=$LIBS
28888 LIBS="-lz $LIBS"
28889 cat >conftest.$ac_ext <<_ACEOF
28890 /* confdefs.h. */
28891 _ACEOF
28892 cat confdefs.h >>conftest.$ac_ext
28893 cat >>conftest.$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28895
28896 /* Override any GCC internal prototype to avoid an error.
28897 Use char because int might match the return type of a GCC
28898 builtin and then its argument prototype would still apply. */
28899 #ifdef __cplusplus
28900 extern "C"
28901 #endif
28902 char deflate ();
28903 int
28904 main ()
28905 {
28906 return deflate ();
28907 ;
28908 return 0;
28909 }
28910 _ACEOF
28911 rm -f conftest.$ac_objext conftest$ac_exeext
28912 if { (ac_try="$ac_link"
28913 case "(($ac_try" in
28914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28915 *) ac_try_echo=$ac_try;;
28916 esac
28917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28918 (eval "$ac_link") 2>conftest.er1
28919 ac_status=$?
28920 grep -v '^ *+' conftest.er1 >conftest.err
28921 rm -f conftest.er1
28922 cat conftest.err >&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); } && {
28925 test -z "$ac_c_werror_flag" ||
28926 test ! -s conftest.err
28927 } && test -s conftest$ac_exeext &&
28928 $as_test_x conftest$ac_exeext; then
28929 ac_cv_lib_z_deflate=yes
28930 else
28931 echo "$as_me: failed program was:" >&5
28932 sed 's/^/| /' conftest.$ac_ext >&5
28933
28934 ac_cv_lib_z_deflate=no
28935 fi
28936
28937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28938 conftest$ac_exeext conftest.$ac_ext
28939 LIBS=$ac_check_lib_save_LIBS
28940 fi
28941 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28942 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28943 if test $ac_cv_lib_z_deflate = yes; then
28944 ZLIB_LINK=" -lz"
28945 fi
28946
28947 fi
28948
28949 if test "x$ZLIB_LINK" = "x" ; then
28950 if test "$wxUSE_ZLIB" = "sys" ; then
28951 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28952 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28953 { (exit 1); exit 1; }; }
28954 else
28955 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28956 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28957 wxUSE_ZLIB=builtin
28958 fi
28959 else
28960 wxUSE_ZLIB=sys
28961 fi
28962 fi
28963 fi
28964
28965
28966 PNG_LINK=
28967 if test "$wxUSE_LIBPNG" != "no" ; then
28968 cat >>confdefs.h <<\_ACEOF
28969 #define wxUSE_LIBPNG 1
28970 _ACEOF
28971
28972
28973 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28974 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28975 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28976 wxUSE_LIBPNG=sys
28977 fi
28978
28979 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28980 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28981 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28982 wxUSE_LIBPNG=builtin
28983 fi
28984
28985 if test "$wxUSE_MGL" != 1 ; then
28986 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28987 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28988 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28989 if test "${ac_cv_header_png_h+set}" = set; then
28990 echo $ECHO_N "(cached) $ECHO_C" >&6
28991 else
28992 if test "$cross_compiling" = yes; then
28993 unset ac_cv_header_png_h
28994
28995 else
28996 cat >conftest.$ac_ext <<_ACEOF
28997 /* confdefs.h. */
28998 _ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29002
29003 #include <png.h>
29004 #include <stdio.h>
29005
29006 int main()
29007 {
29008 FILE *f=fopen("conftestval", "w");
29009 if (!f) exit(1);
29010 fprintf(f, "%s",
29011 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29012 exit(0);
29013 }
29014
29015 _ACEOF
29016 rm -f conftest$ac_exeext
29017 if { (ac_try="$ac_link"
29018 case "(($ac_try" in
29019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29020 *) ac_try_echo=$ac_try;;
29021 esac
29022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29023 (eval "$ac_link") 2>&5
29024 ac_status=$?
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29027 { (case "(($ac_try" in
29028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29029 *) ac_try_echo=$ac_try;;
29030 esac
29031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29032 (eval "$ac_try") 2>&5
29033 ac_status=$?
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); }; }; then
29036 ac_cv_header_png_h=`cat conftestval`
29037 else
29038 echo "$as_me: program exited with status $ac_status" >&5
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29041
29042 ( exit $ac_status )
29043 ac_cv_header_png_h=no
29044 fi
29045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29046 fi
29047
29048
29049
29050 fi
29051 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29052 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29053 { echo "$as_me:$LINENO: checking for png.h" >&5
29054 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29055 if test "${ac_cv_header_png_h+set}" = set; then
29056 echo $ECHO_N "(cached) $ECHO_C" >&6
29057 else
29058 cat >conftest.$ac_ext <<_ACEOF
29059 /* confdefs.h. */
29060 _ACEOF
29061 cat confdefs.h >>conftest.$ac_ext
29062 cat >>conftest.$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29064
29065
29066 #include <png.h>
29067 _ACEOF
29068 rm -f conftest.$ac_objext
29069 if { (ac_try="$ac_compile"
29070 case "(($ac_try" in
29071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29072 *) ac_try_echo=$ac_try;;
29073 esac
29074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29075 (eval "$ac_compile") 2>conftest.er1
29076 ac_status=$?
29077 grep -v '^ *+' conftest.er1 >conftest.err
29078 rm -f conftest.er1
29079 cat conftest.err >&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } && {
29082 test -z "$ac_c_werror_flag" ||
29083 test ! -s conftest.err
29084 } && test -s conftest.$ac_objext; then
29085 ac_cv_header_png_h=yes
29086 else
29087 echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.$ac_ext >&5
29089
29090 ac_cv_header_png_h=no
29091 fi
29092
29093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29094 fi
29095 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29096 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29097
29098
29099
29100 if test "$ac_cv_header_png_h" = "yes"; then
29101 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29102 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29103 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29104 echo $ECHO_N "(cached) $ECHO_C" >&6
29105 else
29106 ac_check_lib_save_LIBS=$LIBS
29107 LIBS="-lpng -lz -lm $LIBS"
29108 cat >conftest.$ac_ext <<_ACEOF
29109 /* confdefs.h. */
29110 _ACEOF
29111 cat confdefs.h >>conftest.$ac_ext
29112 cat >>conftest.$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29114
29115 /* Override any GCC internal prototype to avoid an error.
29116 Use char because int might match the return type of a GCC
29117 builtin and then its argument prototype would still apply. */
29118 #ifdef __cplusplus
29119 extern "C"
29120 #endif
29121 char png_check_sig ();
29122 int
29123 main ()
29124 {
29125 return png_check_sig ();
29126 ;
29127 return 0;
29128 }
29129 _ACEOF
29130 rm -f conftest.$ac_objext conftest$ac_exeext
29131 if { (ac_try="$ac_link"
29132 case "(($ac_try" in
29133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29134 *) ac_try_echo=$ac_try;;
29135 esac
29136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29137 (eval "$ac_link") 2>conftest.er1
29138 ac_status=$?
29139 grep -v '^ *+' conftest.er1 >conftest.err
29140 rm -f conftest.er1
29141 cat conftest.err >&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } && {
29144 test -z "$ac_c_werror_flag" ||
29145 test ! -s conftest.err
29146 } && test -s conftest$ac_exeext &&
29147 $as_test_x conftest$ac_exeext; then
29148 ac_cv_lib_png_png_check_sig=yes
29149 else
29150 echo "$as_me: failed program was:" >&5
29151 sed 's/^/| /' conftest.$ac_ext >&5
29152
29153 ac_cv_lib_png_png_check_sig=no
29154 fi
29155
29156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29157 conftest$ac_exeext conftest.$ac_ext
29158 LIBS=$ac_check_lib_save_LIBS
29159 fi
29160 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29161 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29162 if test $ac_cv_lib_png_png_check_sig = yes; then
29163 PNG_LINK=" -lpng -lz"
29164 fi
29165
29166 fi
29167
29168 if test "x$PNG_LINK" = "x" ; then
29169 if test "$wxUSE_LIBPNG" = "sys" ; then
29170 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29171 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29172 { (exit 1); exit 1; }; }
29173 else
29174 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29175 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29176 wxUSE_LIBPNG=builtin
29177 fi
29178 else
29179 wxUSE_LIBPNG=sys
29180 fi
29181 fi
29182 fi
29183 fi
29184
29185
29186 JPEG_LINK=
29187 if test "$wxUSE_LIBJPEG" != "no" ; then
29188 cat >>confdefs.h <<\_ACEOF
29189 #define wxUSE_LIBJPEG 1
29190 _ACEOF
29191
29192
29193 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29194 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29195 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29196 wxUSE_LIBJPEG=sys
29197 fi
29198
29199 if test "$wxUSE_MGL" != 1 ; then
29200 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29201 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29202 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29203 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29205 else
29206 cat >conftest.$ac_ext <<_ACEOF
29207 /* confdefs.h. */
29208 _ACEOF
29209 cat confdefs.h >>conftest.$ac_ext
29210 cat >>conftest.$ac_ext <<_ACEOF
29211 /* end confdefs.h. */
29212
29213 #undef HAVE_STDLIB_H
29214 #include <stdio.h>
29215 #include <jpeglib.h>
29216
29217 int
29218 main ()
29219 {
29220
29221
29222 ;
29223 return 0;
29224 }
29225 _ACEOF
29226 rm -f conftest.$ac_objext
29227 if { (ac_try="$ac_compile"
29228 case "(($ac_try" in
29229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29230 *) ac_try_echo=$ac_try;;
29231 esac
29232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29233 (eval "$ac_compile") 2>conftest.er1
29234 ac_status=$?
29235 grep -v '^ *+' conftest.er1 >conftest.err
29236 rm -f conftest.er1
29237 cat conftest.err >&5
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); } && {
29240 test -z "$ac_c_werror_flag" ||
29241 test ! -s conftest.err
29242 } && test -s conftest.$ac_objext; then
29243 ac_cv_header_jpeglib_h=yes
29244 else
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248 ac_cv_header_jpeglib_h=no
29249
29250 fi
29251
29252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29253
29254 fi
29255
29256 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29257 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29258
29259 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29260 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29261 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29262 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29264 else
29265 ac_check_lib_save_LIBS=$LIBS
29266 LIBS="-ljpeg $LIBS"
29267 cat >conftest.$ac_ext <<_ACEOF
29268 /* confdefs.h. */
29269 _ACEOF
29270 cat confdefs.h >>conftest.$ac_ext
29271 cat >>conftest.$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29273
29274 /* Override any GCC internal prototype to avoid an error.
29275 Use char because int might match the return type of a GCC
29276 builtin and then its argument prototype would still apply. */
29277 #ifdef __cplusplus
29278 extern "C"
29279 #endif
29280 char jpeg_read_header ();
29281 int
29282 main ()
29283 {
29284 return jpeg_read_header ();
29285 ;
29286 return 0;
29287 }
29288 _ACEOF
29289 rm -f conftest.$ac_objext conftest$ac_exeext
29290 if { (ac_try="$ac_link"
29291 case "(($ac_try" in
29292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29293 *) ac_try_echo=$ac_try;;
29294 esac
29295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29296 (eval "$ac_link") 2>conftest.er1
29297 ac_status=$?
29298 grep -v '^ *+' conftest.er1 >conftest.err
29299 rm -f conftest.er1
29300 cat conftest.err >&5
29301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302 (exit $ac_status); } && {
29303 test -z "$ac_c_werror_flag" ||
29304 test ! -s conftest.err
29305 } && test -s conftest$ac_exeext &&
29306 $as_test_x conftest$ac_exeext; then
29307 ac_cv_lib_jpeg_jpeg_read_header=yes
29308 else
29309 echo "$as_me: failed program was:" >&5
29310 sed 's/^/| /' conftest.$ac_ext >&5
29311
29312 ac_cv_lib_jpeg_jpeg_read_header=no
29313 fi
29314
29315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29316 conftest$ac_exeext conftest.$ac_ext
29317 LIBS=$ac_check_lib_save_LIBS
29318 fi
29319 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29320 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29321 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29322 JPEG_LINK=" -ljpeg"
29323 fi
29324
29325 fi
29326
29327 if test "x$JPEG_LINK" = "x" ; then
29328 if test "$wxUSE_LIBJPEG" = "sys" ; then
29329 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29330 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29331 { (exit 1); exit 1; }; }
29332 else
29333 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29334 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29335 wxUSE_LIBJPEG=builtin
29336 fi
29337 else
29338 wxUSE_LIBJPEG=sys
29339
29340 if test "$wxUSE_MSW" = 1; then
29341 { echo "$as_me:$LINENO: checking for boolean" >&5
29342 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29343 if test "${ac_cv_type_boolean+set}" = set; then
29344 echo $ECHO_N "(cached) $ECHO_C" >&6
29345 else
29346 cat >conftest.$ac_ext <<_ACEOF
29347 /* confdefs.h. */
29348 _ACEOF
29349 cat confdefs.h >>conftest.$ac_ext
29350 cat >>conftest.$ac_ext <<_ACEOF
29351 /* end confdefs.h. */
29352 #include <windows.h>
29353
29354 typedef boolean ac__type_new_;
29355 int
29356 main ()
29357 {
29358 if ((ac__type_new_ *) 0)
29359 return 0;
29360 if (sizeof (ac__type_new_))
29361 return 0;
29362 ;
29363 return 0;
29364 }
29365 _ACEOF
29366 rm -f conftest.$ac_objext
29367 if { (ac_try="$ac_compile"
29368 case "(($ac_try" in
29369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29370 *) ac_try_echo=$ac_try;;
29371 esac
29372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29373 (eval "$ac_compile") 2>conftest.er1
29374 ac_status=$?
29375 grep -v '^ *+' conftest.er1 >conftest.err
29376 rm -f conftest.er1
29377 cat conftest.err >&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } && {
29380 test -z "$ac_c_werror_flag" ||
29381 test ! -s conftest.err
29382 } && test -s conftest.$ac_objext; then
29383 ac_cv_type_boolean=yes
29384 else
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29387
29388 ac_cv_type_boolean=no
29389 fi
29390
29391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29392 fi
29393 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29394 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29395 if test $ac_cv_type_boolean = yes; then
29396
29397 cat >>confdefs.h <<_ACEOF
29398 #define HAVE_BOOLEAN 1
29399 _ACEOF
29400
29401
29402 { echo "$as_me:$LINENO: checking for boolean" >&5
29403 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29404 if test "${ac_cv_type_boolean+set}" = set; then
29405 echo $ECHO_N "(cached) $ECHO_C" >&6
29406 else
29407 cat >conftest.$ac_ext <<_ACEOF
29408 /* confdefs.h. */
29409 _ACEOF
29410 cat confdefs.h >>conftest.$ac_ext
29411 cat >>conftest.$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29413
29414 #undef HAVE_BOOLEAN
29415 #include <stdio.h>
29416 #include <jpeglib.h>
29417
29418
29419 typedef boolean ac__type_new_;
29420 int
29421 main ()
29422 {
29423 if ((ac__type_new_ *) 0)
29424 return 0;
29425 if (sizeof (ac__type_new_))
29426 return 0;
29427 ;
29428 return 0;
29429 }
29430 _ACEOF
29431 rm -f conftest.$ac_objext
29432 if { (ac_try="$ac_compile"
29433 case "(($ac_try" in
29434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29436 esac
29437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_compile") 2>conftest.er1
29439 ac_status=$?
29440 grep -v '^ *+' conftest.er1 >conftest.err
29441 rm -f conftest.er1
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); } && {
29445 test -z "$ac_c_werror_flag" ||
29446 test ! -s conftest.err
29447 } && test -s conftest.$ac_objext; then
29448 ac_cv_type_boolean=yes
29449 else
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.$ac_ext >&5
29452
29453 ac_cv_type_boolean=no
29454 fi
29455
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29457 fi
29458 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29459 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29460
29461 # The cast to long int works around a bug in the HP C Compiler
29462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29464 # This bug is HP SR number 8606223364.
29465 { echo "$as_me:$LINENO: checking size of boolean" >&5
29466 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29467 if test "${ac_cv_sizeof_boolean+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29469 else
29470 if test "$cross_compiling" = yes; then
29471 # Depending upon the size, compute the lo and hi bounds.
29472 cat >conftest.$ac_ext <<_ACEOF
29473 /* confdefs.h. */
29474 _ACEOF
29475 cat confdefs.h >>conftest.$ac_ext
29476 cat >>conftest.$ac_ext <<_ACEOF
29477 /* end confdefs.h. */
29478
29479 #undef HAVE_BOOLEAN
29480 #include <stdio.h>
29481 #include <jpeglib.h>
29482
29483
29484 typedef boolean ac__type_sizeof_;
29485 int
29486 main ()
29487 {
29488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29489 test_array [0] = 0
29490
29491 ;
29492 return 0;
29493 }
29494 _ACEOF
29495 rm -f conftest.$ac_objext
29496 if { (ac_try="$ac_compile"
29497 case "(($ac_try" in
29498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29499 *) ac_try_echo=$ac_try;;
29500 esac
29501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29502 (eval "$ac_compile") 2>conftest.er1
29503 ac_status=$?
29504 grep -v '^ *+' conftest.er1 >conftest.err
29505 rm -f conftest.er1
29506 cat conftest.err >&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } && {
29509 test -z "$ac_c_werror_flag" ||
29510 test ! -s conftest.err
29511 } && test -s conftest.$ac_objext; then
29512 ac_lo=0 ac_mid=0
29513 while :; do
29514 cat >conftest.$ac_ext <<_ACEOF
29515 /* confdefs.h. */
29516 _ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29520
29521 #undef HAVE_BOOLEAN
29522 #include <stdio.h>
29523 #include <jpeglib.h>
29524
29525
29526 typedef boolean ac__type_sizeof_;
29527 int
29528 main ()
29529 {
29530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29531 test_array [0] = 0
29532
29533 ;
29534 return 0;
29535 }
29536 _ACEOF
29537 rm -f conftest.$ac_objext
29538 if { (ac_try="$ac_compile"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29542 esac
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_compile") 2>conftest.er1
29545 ac_status=$?
29546 grep -v '^ *+' conftest.er1 >conftest.err
29547 rm -f conftest.er1
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest.$ac_objext; then
29554 ac_hi=$ac_mid; break
29555 else
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29558
29559 ac_lo=`expr $ac_mid + 1`
29560 if test $ac_lo -le $ac_mid; then
29561 ac_lo= ac_hi=
29562 break
29563 fi
29564 ac_mid=`expr 2 '*' $ac_mid + 1`
29565 fi
29566
29567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29568 done
29569 else
29570 echo "$as_me: failed program was:" >&5
29571 sed 's/^/| /' conftest.$ac_ext >&5
29572
29573 cat >conftest.$ac_ext <<_ACEOF
29574 /* confdefs.h. */
29575 _ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29579
29580 #undef HAVE_BOOLEAN
29581 #include <stdio.h>
29582 #include <jpeglib.h>
29583
29584
29585 typedef boolean ac__type_sizeof_;
29586 int
29587 main ()
29588 {
29589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29590 test_array [0] = 0
29591
29592 ;
29593 return 0;
29594 }
29595 _ACEOF
29596 rm -f conftest.$ac_objext
29597 if { (ac_try="$ac_compile"
29598 case "(($ac_try" in
29599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29600 *) ac_try_echo=$ac_try;;
29601 esac
29602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29603 (eval "$ac_compile") 2>conftest.er1
29604 ac_status=$?
29605 grep -v '^ *+' conftest.er1 >conftest.err
29606 rm -f conftest.er1
29607 cat conftest.err >&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); } && {
29610 test -z "$ac_c_werror_flag" ||
29611 test ! -s conftest.err
29612 } && test -s conftest.$ac_objext; then
29613 ac_hi=-1 ac_mid=-1
29614 while :; do
29615 cat >conftest.$ac_ext <<_ACEOF
29616 /* confdefs.h. */
29617 _ACEOF
29618 cat confdefs.h >>conftest.$ac_ext
29619 cat >>conftest.$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29621
29622 #undef HAVE_BOOLEAN
29623 #include <stdio.h>
29624 #include <jpeglib.h>
29625
29626
29627 typedef boolean ac__type_sizeof_;
29628 int
29629 main ()
29630 {
29631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29632 test_array [0] = 0
29633
29634 ;
29635 return 0;
29636 }
29637 _ACEOF
29638 rm -f conftest.$ac_objext
29639 if { (ac_try="$ac_compile"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29643 esac
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_compile") 2>conftest.er1
29646 ac_status=$?
29647 grep -v '^ *+' conftest.er1 >conftest.err
29648 rm -f conftest.er1
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } && {
29652 test -z "$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29654 } && test -s conftest.$ac_objext; then
29655 ac_lo=$ac_mid; break
29656 else
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.$ac_ext >&5
29659
29660 ac_hi=`expr '(' $ac_mid ')' - 1`
29661 if test $ac_mid -le $ac_hi; then
29662 ac_lo= ac_hi=
29663 break
29664 fi
29665 ac_mid=`expr 2 '*' $ac_mid`
29666 fi
29667
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29669 done
29670 else
29671 echo "$as_me: failed program was:" >&5
29672 sed 's/^/| /' conftest.$ac_ext >&5
29673
29674 ac_lo= ac_hi=
29675 fi
29676
29677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29678 fi
29679
29680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29681 # Binary search between lo and hi bounds.
29682 while test "x$ac_lo" != "x$ac_hi"; do
29683 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29684 cat >conftest.$ac_ext <<_ACEOF
29685 /* confdefs.h. */
29686 _ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29690
29691 #undef HAVE_BOOLEAN
29692 #include <stdio.h>
29693 #include <jpeglib.h>
29694
29695
29696 typedef boolean ac__type_sizeof_;
29697 int
29698 main ()
29699 {
29700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29701 test_array [0] = 0
29702
29703 ;
29704 return 0;
29705 }
29706 _ACEOF
29707 rm -f conftest.$ac_objext
29708 if { (ac_try="$ac_compile"
29709 case "(($ac_try" in
29710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29711 *) ac_try_echo=$ac_try;;
29712 esac
29713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29714 (eval "$ac_compile") 2>conftest.er1
29715 ac_status=$?
29716 grep -v '^ *+' conftest.er1 >conftest.err
29717 rm -f conftest.er1
29718 cat conftest.err >&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } && {
29721 test -z "$ac_c_werror_flag" ||
29722 test ! -s conftest.err
29723 } && test -s conftest.$ac_objext; then
29724 ac_hi=$ac_mid
29725 else
29726 echo "$as_me: failed program was:" >&5
29727 sed 's/^/| /' conftest.$ac_ext >&5
29728
29729 ac_lo=`expr '(' $ac_mid ')' + 1`
29730 fi
29731
29732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29733 done
29734 case $ac_lo in
29735 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29736 '') if test "$ac_cv_type_boolean" = yes; then
29737 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29738 See \`config.log' for more details." >&5
29739 echo "$as_me: error: cannot compute sizeof (boolean)
29740 See \`config.log' for more details." >&2;}
29741 { (exit 77); exit 77; }; }
29742 else
29743 ac_cv_sizeof_boolean=0
29744 fi ;;
29745 esac
29746 else
29747 cat >conftest.$ac_ext <<_ACEOF
29748 /* confdefs.h. */
29749 _ACEOF
29750 cat confdefs.h >>conftest.$ac_ext
29751 cat >>conftest.$ac_ext <<_ACEOF
29752 /* end confdefs.h. */
29753
29754 #undef HAVE_BOOLEAN
29755 #include <stdio.h>
29756 #include <jpeglib.h>
29757
29758
29759 typedef boolean ac__type_sizeof_;
29760 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29761 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29762 #include <stdio.h>
29763 #include <stdlib.h>
29764 int
29765 main ()
29766 {
29767
29768 FILE *f = fopen ("conftest.val", "w");
29769 if (! f)
29770 return 1;
29771 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29772 {
29773 long int i = longval ();
29774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29775 return 1;
29776 fprintf (f, "%ld\n", i);
29777 }
29778 else
29779 {
29780 unsigned long int i = ulongval ();
29781 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29782 return 1;
29783 fprintf (f, "%lu\n", i);
29784 }
29785 return ferror (f) || fclose (f) != 0;
29786
29787 ;
29788 return 0;
29789 }
29790 _ACEOF
29791 rm -f conftest$ac_exeext
29792 if { (ac_try="$ac_link"
29793 case "(($ac_try" in
29794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29795 *) ac_try_echo=$ac_try;;
29796 esac
29797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29798 (eval "$ac_link") 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29802 { (case "(($ac_try" in
29803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29804 *) ac_try_echo=$ac_try;;
29805 esac
29806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29807 (eval "$ac_try") 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 ac_cv_sizeof_boolean=`cat conftest.val`
29812 else
29813 echo "$as_me: program exited with status $ac_status" >&5
29814 echo "$as_me: failed program was:" >&5
29815 sed 's/^/| /' conftest.$ac_ext >&5
29816
29817 ( exit $ac_status )
29818 if test "$ac_cv_type_boolean" = yes; then
29819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29820 See \`config.log' for more details." >&5
29821 echo "$as_me: error: cannot compute sizeof (boolean)
29822 See \`config.log' for more details." >&2;}
29823 { (exit 77); exit 77; }; }
29824 else
29825 ac_cv_sizeof_boolean=0
29826 fi
29827 fi
29828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29829 fi
29830 rm -f conftest.val
29831 fi
29832 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29833 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29834
29835
29836
29837 cat >>confdefs.h <<_ACEOF
29838 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29839 _ACEOF
29840
29841
29842 cat >>confdefs.h <<_ACEOF
29843 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29844 _ACEOF
29845
29846
29847 fi
29848
29849 fi
29850 fi
29851 fi
29852 fi
29853 fi
29854
29855
29856 TIFF_LINK=
29857 TIFF_PREREQ_LINKS=-lm
29858 if test "$wxUSE_LIBTIFF" != "no" ; then
29859 cat >>confdefs.h <<\_ACEOF
29860 #define wxUSE_LIBTIFF 1
29861 _ACEOF
29862
29863
29864 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29865 if test "$wxUSE_LIBJPEG" = "sys"; then
29866 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29867 fi
29868 if test "$wxUSE_ZLIB" = "sys"; then
29869 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29870 fi
29871 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29872 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29873 if test "${ac_cv_header_tiffio_h+set}" = set; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29875 else
29876 cat >conftest.$ac_ext <<_ACEOF
29877 /* confdefs.h. */
29878 _ACEOF
29879 cat confdefs.h >>conftest.$ac_ext
29880 cat >>conftest.$ac_ext <<_ACEOF
29881 /* end confdefs.h. */
29882
29883
29884
29885 #include <tiffio.h>
29886 _ACEOF
29887 rm -f conftest.$ac_objext
29888 if { (ac_try="$ac_compile"
29889 case "(($ac_try" in
29890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29891 *) ac_try_echo=$ac_try;;
29892 esac
29893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29894 (eval "$ac_compile") 2>conftest.er1
29895 ac_status=$?
29896 grep -v '^ *+' conftest.er1 >conftest.err
29897 rm -f conftest.er1
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } && {
29901 test -z "$ac_c_werror_flag" ||
29902 test ! -s conftest.err
29903 } && test -s conftest.$ac_objext; then
29904 ac_cv_header_tiffio_h=yes
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 ac_cv_header_tiffio_h=no
29910 fi
29911
29912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29913 fi
29914 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29915 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29916 if test $ac_cv_header_tiffio_h = yes; then
29917
29918 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29919 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29920 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29921 echo $ECHO_N "(cached) $ECHO_C" >&6
29922 else
29923 ac_check_lib_save_LIBS=$LIBS
29924 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29925 cat >conftest.$ac_ext <<_ACEOF
29926 /* confdefs.h. */
29927 _ACEOF
29928 cat confdefs.h >>conftest.$ac_ext
29929 cat >>conftest.$ac_ext <<_ACEOF
29930 /* end confdefs.h. */
29931
29932 /* Override any GCC internal prototype to avoid an error.
29933 Use char because int might match the return type of a GCC
29934 builtin and then its argument prototype would still apply. */
29935 #ifdef __cplusplus
29936 extern "C"
29937 #endif
29938 char TIFFError ();
29939 int
29940 main ()
29941 {
29942 return TIFFError ();
29943 ;
29944 return 0;
29945 }
29946 _ACEOF
29947 rm -f conftest.$ac_objext conftest$ac_exeext
29948 if { (ac_try="$ac_link"
29949 case "(($ac_try" in
29950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29951 *) ac_try_echo=$ac_try;;
29952 esac
29953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29954 (eval "$ac_link") 2>conftest.er1
29955 ac_status=$?
29956 grep -v '^ *+' conftest.er1 >conftest.err
29957 rm -f conftest.er1
29958 cat conftest.err >&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); } && {
29961 test -z "$ac_c_werror_flag" ||
29962 test ! -s conftest.err
29963 } && test -s conftest$ac_exeext &&
29964 $as_test_x conftest$ac_exeext; then
29965 ac_cv_lib_tiff_TIFFError=yes
29966 else
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.$ac_ext >&5
29969
29970 ac_cv_lib_tiff_TIFFError=no
29971 fi
29972
29973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29974 conftest$ac_exeext conftest.$ac_ext
29975 LIBS=$ac_check_lib_save_LIBS
29976 fi
29977 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29978 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29979 if test $ac_cv_lib_tiff_TIFFError = yes; then
29980 TIFF_LINK=" -ltiff"
29981 fi
29982
29983
29984 fi
29985
29986
29987
29988 if test "x$TIFF_LINK" = "x" ; then
29989 if test "$wxUSE_LIBTIFF" = "sys" ; then
29990 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29991 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29992 { (exit 1); exit 1; }; }
29993 else
29994 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29995 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29996 wxUSE_LIBTIFF=builtin
29997 fi
29998 else
29999 wxUSE_LIBTIFF=sys
30000 fi
30001 fi
30002 fi
30003
30004
30005 if test "$wxUSE_WCHAR_T" != "yes"; then
30006 if test "$wxUSE_EXPAT" != "no"; then
30007 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30008 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30009 wxUSE_EXPAT=no
30010 fi
30011 if test "$wxUSE_XML" != "no"; then
30012 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30013 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30014 wxUSE_XML=no
30015 fi
30016 fi
30017
30018 if test "$wxUSE_EXPAT" != "no"; then
30019 wxUSE_XML=yes
30020 cat >>confdefs.h <<\_ACEOF
30021 #define wxUSE_EXPAT 1
30022 _ACEOF
30023
30024 cat >>confdefs.h <<\_ACEOF
30025 #define wxUSE_XML 1
30026 _ACEOF
30027
30028
30029 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30030 { echo "$as_me:$LINENO: checking for expat.h" >&5
30031 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30032 if test "${ac_cv_header_expat_h+set}" = set; then
30033 echo $ECHO_N "(cached) $ECHO_C" >&6
30034 else
30035 cat >conftest.$ac_ext <<_ACEOF
30036 /* confdefs.h. */
30037 _ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30041
30042
30043 #include <expat.h>
30044 _ACEOF
30045 rm -f conftest.$ac_objext
30046 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
30062 ac_cv_header_expat_h=yes
30063 else
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30066
30067 ac_cv_header_expat_h=no
30068 fi
30069
30070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30071 fi
30072 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30073 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30074 if test $ac_cv_header_expat_h = yes; then
30075 found_expat_h=1
30076 fi
30077
30078
30079 if test "x$found_expat_h" = "x1"; then
30080 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30081 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30082 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 else
30085
30086 ac_ext=cpp
30087 ac_cpp='$CXXCPP $CPPFLAGS'
30088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30091
30092 cat >conftest.$ac_ext <<_ACEOF
30093 /* confdefs.h. */
30094 _ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30098 #include <expat.h>
30099 int
30100 main ()
30101 {
30102
30103 ;
30104 return 0;
30105 }
30106 _ACEOF
30107 rm -f conftest.$ac_objext
30108 if { (ac_try="$ac_compile"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30112 esac
30113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_compile") 2>conftest.er1
30115 ac_status=$?
30116 grep -v '^ *+' conftest.er1 >conftest.err
30117 rm -f conftest.er1
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } && {
30121 test -z "$ac_cxx_werror_flag" ||
30122 test ! -s conftest.err
30123 } && test -s conftest.$ac_objext; then
30124 wx_cv_expat_is_not_broken=yes
30125 else
30126 echo "$as_me: failed program was:" >&5
30127 sed 's/^/| /' conftest.$ac_ext >&5
30128
30129 wx_cv_expat_is_not_broken=no
30130
30131 fi
30132
30133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30134 ac_ext=c
30135 ac_cpp='$CPP $CPPFLAGS'
30136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30139
30140
30141
30142 fi
30143 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30144 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30145 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30146 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30147 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30148 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30149 echo $ECHO_N "(cached) $ECHO_C" >&6
30150 else
30151 ac_check_lib_save_LIBS=$LIBS
30152 LIBS="-lexpat $LIBS"
30153 cat >conftest.$ac_ext <<_ACEOF
30154 /* confdefs.h. */
30155 _ACEOF
30156 cat confdefs.h >>conftest.$ac_ext
30157 cat >>conftest.$ac_ext <<_ACEOF
30158 /* end confdefs.h. */
30159
30160 /* Override any GCC internal prototype to avoid an error.
30161 Use char because int might match the return type of a GCC
30162 builtin and then its argument prototype would still apply. */
30163 #ifdef __cplusplus
30164 extern "C"
30165 #endif
30166 char XML_ParserCreate ();
30167 int
30168 main ()
30169 {
30170 return XML_ParserCreate ();
30171 ;
30172 return 0;
30173 }
30174 _ACEOF
30175 rm -f conftest.$ac_objext conftest$ac_exeext
30176 if { (ac_try="$ac_link"
30177 case "(($ac_try" in
30178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30179 *) ac_try_echo=$ac_try;;
30180 esac
30181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30182 (eval "$ac_link") 2>conftest.er1
30183 ac_status=$?
30184 grep -v '^ *+' conftest.er1 >conftest.err
30185 rm -f conftest.er1
30186 cat conftest.err >&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); } && {
30189 test -z "$ac_c_werror_flag" ||
30190 test ! -s conftest.err
30191 } && test -s conftest$ac_exeext &&
30192 $as_test_x conftest$ac_exeext; then
30193 ac_cv_lib_expat_XML_ParserCreate=yes
30194 else
30195 echo "$as_me: failed program was:" >&5
30196 sed 's/^/| /' conftest.$ac_ext >&5
30197
30198 ac_cv_lib_expat_XML_ParserCreate=no
30199 fi
30200
30201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30202 conftest$ac_exeext conftest.$ac_ext
30203 LIBS=$ac_check_lib_save_LIBS
30204 fi
30205 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30206 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30207 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30208 EXPAT_LINK=" -lexpat"
30209 fi
30210
30211 fi
30212 fi
30213 if test "x$EXPAT_LINK" = "x" ; then
30214 if test "$wxUSE_EXPAT" = "sys" ; then
30215 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30216 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30217 { (exit 1); exit 1; }; }
30218 else
30219 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30220 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30221 wxUSE_EXPAT=builtin
30222 fi
30223 else
30224 wxUSE_EXPAT=sys
30225 fi
30226 fi
30227 if test "$wxUSE_EXPAT" = "builtin" ; then
30228 subdirs="$subdirs src/expat"
30229
30230 fi
30231 fi
30232
30233
30234
30235 if test "$wxUSE_LIBMSPACK" != "no"; then
30236 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30237 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30238 if test "${ac_cv_header_mspack_h+set}" = set; then
30239 echo $ECHO_N "(cached) $ECHO_C" >&6
30240 else
30241 cat >conftest.$ac_ext <<_ACEOF
30242 /* confdefs.h. */
30243 _ACEOF
30244 cat confdefs.h >>conftest.$ac_ext
30245 cat >>conftest.$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30247
30248
30249 #include <mspack.h>
30250 _ACEOF
30251 rm -f conftest.$ac_objext
30252 if { (ac_try="$ac_compile"
30253 case "(($ac_try" in
30254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30255 *) ac_try_echo=$ac_try;;
30256 esac
30257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30258 (eval "$ac_compile") 2>conftest.er1
30259 ac_status=$?
30260 grep -v '^ *+' conftest.er1 >conftest.err
30261 rm -f conftest.er1
30262 cat conftest.err >&5
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); } && {
30265 test -z "$ac_c_werror_flag" ||
30266 test ! -s conftest.err
30267 } && test -s conftest.$ac_objext; then
30268 ac_cv_header_mspack_h=yes
30269 else
30270 echo "$as_me: failed program was:" >&5
30271 sed 's/^/| /' conftest.$ac_ext >&5
30272
30273 ac_cv_header_mspack_h=no
30274 fi
30275
30276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30277 fi
30278 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30279 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30280 if test $ac_cv_header_mspack_h = yes; then
30281 found_mspack_h=1
30282 fi
30283
30284
30285 if test "x$found_mspack_h" = "x1"; then
30286 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30287 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30288 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30289 echo $ECHO_N "(cached) $ECHO_C" >&6
30290 else
30291 ac_check_lib_save_LIBS=$LIBS
30292 LIBS="-lmspack $LIBS"
30293 cat >conftest.$ac_ext <<_ACEOF
30294 /* confdefs.h. */
30295 _ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30299
30300 /* Override any GCC internal prototype to avoid an error.
30301 Use char because int might match the return type of a GCC
30302 builtin and then its argument prototype would still apply. */
30303 #ifdef __cplusplus
30304 extern "C"
30305 #endif
30306 char mspack_create_chm_decompressor ();
30307 int
30308 main ()
30309 {
30310 return mspack_create_chm_decompressor ();
30311 ;
30312 return 0;
30313 }
30314 _ACEOF
30315 rm -f conftest.$ac_objext conftest$ac_exeext
30316 if { (ac_try="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30320 esac
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30323 ac_status=$?
30324 grep -v '^ *+' conftest.er1 >conftest.err
30325 rm -f conftest.er1
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest$ac_exeext &&
30332 $as_test_x conftest$ac_exeext; then
30333 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30334 else
30335 echo "$as_me: failed program was:" >&5
30336 sed 's/^/| /' conftest.$ac_ext >&5
30337
30338 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30339 fi
30340
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30343 LIBS=$ac_check_lib_save_LIBS
30344 fi
30345 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30346 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30347 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30348 MSPACK_LINK=" -lmspack"
30349 fi
30350
30351 fi
30352 if test "x$MSPACK_LINK" = "x" ; then
30353 wxUSE_LIBMSPACK=no
30354 fi
30355 fi
30356
30357 if test "$wxUSE_LIBMSPACK" != "no"; then
30358 cat >>confdefs.h <<\_ACEOF
30359 #define wxUSE_LIBMSPACK 1
30360 _ACEOF
30361
30362 fi
30363
30364
30365
30366 AFMINSTALL=
30367 WIN32INSTALL=
30368
30369 TOOLKIT=
30370 TOOLKIT_INCLUDE=
30371 WIDGET_SET=
30372
30373 if test "$USE_WIN32" = 1 ; then
30374
30375 for ac_header in w32api.h
30376 do
30377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30381 echo $ECHO_N "(cached) $ECHO_C" >&6
30382 else
30383 cat >conftest.$ac_ext <<_ACEOF
30384 /* confdefs.h. */
30385 _ACEOF
30386 cat confdefs.h >>conftest.$ac_ext
30387 cat >>conftest.$ac_ext <<_ACEOF
30388 /* end confdefs.h. */
30389
30390
30391 #include <$ac_header>
30392 _ACEOF
30393 rm -f conftest.$ac_objext
30394 if { (ac_try="$ac_compile"
30395 case "(($ac_try" in
30396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30397 *) ac_try_echo=$ac_try;;
30398 esac
30399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30400 (eval "$ac_compile") 2>conftest.er1
30401 ac_status=$?
30402 grep -v '^ *+' conftest.er1 >conftest.err
30403 rm -f conftest.er1
30404 cat conftest.err >&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } && {
30407 test -z "$ac_c_werror_flag" ||
30408 test ! -s conftest.err
30409 } && test -s conftest.$ac_objext; then
30410 eval "$as_ac_Header=yes"
30411 else
30412 echo "$as_me: failed program was:" >&5
30413 sed 's/^/| /' conftest.$ac_ext >&5
30414
30415 eval "$as_ac_Header=no"
30416 fi
30417
30418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30419 fi
30420 ac_res=`eval echo '${'$as_ac_Header'}'`
30421 { echo "$as_me:$LINENO: result: $ac_res" >&5
30422 echo "${ECHO_T}$ac_res" >&6; }
30423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30424 cat >>confdefs.h <<_ACEOF
30425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30426 _ACEOF
30427
30428 fi
30429
30430 done
30431
30432 { echo "$as_me:$LINENO: checking for windows.h" >&5
30433 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30434 if test "${ac_cv_header_windows_h+set}" = set; then
30435 echo $ECHO_N "(cached) $ECHO_C" >&6
30436 else
30437 cat >conftest.$ac_ext <<_ACEOF
30438 /* confdefs.h. */
30439 _ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30443
30444
30445 #include <windows.h>
30446 _ACEOF
30447 rm -f conftest.$ac_objext
30448 if { (ac_try="$ac_compile"
30449 case "(($ac_try" in
30450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30451 *) ac_try_echo=$ac_try;;
30452 esac
30453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30454 (eval "$ac_compile") 2>conftest.er1
30455 ac_status=$?
30456 grep -v '^ *+' conftest.er1 >conftest.err
30457 rm -f conftest.er1
30458 cat conftest.err >&5
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); } && {
30461 test -z "$ac_c_werror_flag" ||
30462 test ! -s conftest.err
30463 } && test -s conftest.$ac_objext; then
30464 ac_cv_header_windows_h=yes
30465 else
30466 echo "$as_me: failed program was:" >&5
30467 sed 's/^/| /' conftest.$ac_ext >&5
30468
30469 ac_cv_header_windows_h=no
30470 fi
30471
30472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30473 fi
30474 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30475 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30476 if test $ac_cv_header_windows_h = yes; then
30477 :
30478 else
30479
30480 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30481 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30482 { (exit 1); exit 1; }; }
30483
30484 fi
30485
30486
30487
30488 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30489
30490 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30491 LIBS="$LIBS -loleacc"
30492 fi
30493
30494 case "${host}" in
30495 *-*-cygwin* )
30496 LIBS="$LIBS -lkernel32 -luser32"
30497 esac
30498
30499 if test "$wxUSE_ODBC" = "sys" ; then
30500 wxUSE_ODBC = "yes"
30501 fi
30502 if test "$wxUSE_ODBC" = "yes" ; then
30503 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30504 cat >>confdefs.h <<\_ACEOF
30505 #define wxUSE_ODBC 1
30506 _ACEOF
30507
30508 fi
30509
30510 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30511 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30512
30513 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30514
30515 WIN32INSTALL=win32install
30516
30517 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30518 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30519 if test "${ac_cv_header_pbt_h+set}" = set; then
30520 echo $ECHO_N "(cached) $ECHO_C" >&6
30521 else
30522 cat >conftest.$ac_ext <<_ACEOF
30523 /* confdefs.h. */
30524 _ACEOF
30525 cat confdefs.h >>conftest.$ac_ext
30526 cat >>conftest.$ac_ext <<_ACEOF
30527 /* end confdefs.h. */
30528
30529
30530 #include <pbt.h>
30531 _ACEOF
30532 rm -f conftest.$ac_objext
30533 if { (ac_try="$ac_compile"
30534 case "(($ac_try" in
30535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30536 *) ac_try_echo=$ac_try;;
30537 esac
30538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30539 (eval "$ac_compile") 2>conftest.er1
30540 ac_status=$?
30541 grep -v '^ *+' conftest.er1 >conftest.err
30542 rm -f conftest.er1
30543 cat conftest.err >&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); } && {
30546 test -z "$ac_c_werror_flag" ||
30547 test ! -s conftest.err
30548 } && test -s conftest.$ac_objext; then
30549 ac_cv_header_pbt_h=yes
30550 else
30551 echo "$as_me: failed program was:" >&5
30552 sed 's/^/| /' conftest.$ac_ext >&5
30553
30554 ac_cv_header_pbt_h=no
30555 fi
30556
30557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30558 fi
30559 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30560 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30561 if test $ac_cv_header_pbt_h = yes; then
30562 :
30563 else
30564 cat >>confdefs.h <<\_ACEOF
30565 #define NEED_PBT_H 1
30566 _ACEOF
30567
30568 fi
30569
30570
30571 fi
30572
30573 if test "$wxUSE_GUI" = "yes"; then
30574 USE_GUI=1
30575
30576 GUI_TK_LIBRARY=
30577
30578 WXGTK12=
30579 WXGTK127=
30580 WXGTK20=
30581 WXGPE=
30582
30583 if test "$wxUSE_COCOA" = 1 ; then
30584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30585 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30586 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30587 wxUSE_PRINTING_ARCHITECTURE=no
30588 fi
30589 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30590 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30591 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30592 wxUSE_DRAG_AND_DROP=no
30593 fi
30594 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30595 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30596 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30597 wxUSE_DRAGIMAGE=no
30598 fi
30599 fi
30600
30601 if test "$wxUSE_MSW" = 1 ; then
30602 TOOLKIT=MSW
30603 GUIDIST=MSW_DIST
30604
30605 case "${host}" in
30606 *-*-mingw32* )
30607 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30608 esac
30609 fi
30610
30611 if test "$wxUSE_GTK" = 1; then
30612 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30613 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30614
30615 gtk_version_cached=1
30616 if test "${wx_cv_lib_gtk+set}" = set; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30618 else
30619
30620 gtk_version_cached=0
30621 { echo "$as_me:$LINENO: result: " >&5
30622 echo "${ECHO_T}" >&6; }
30623
30624 GTK_MODULES=
30625 if test "$wxUSE_THREADS" = "yes"; then
30626 GTK_MODULES=gthread
30627 fi
30628
30629 wx_cv_lib_gtk=
30630 if test "x$wxGTK_VERSION" != "x1"
30631 then
30632 case "${host}" in
30633 *-*-solaris2* )
30634 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30635 enable_gtktest=no
30636 fi
30637 esac
30638
30639 # Check whether --enable-gtktest was given.
30640 if test "${enable_gtktest+set}" = set; then
30641 enableval=$enable_gtktest;
30642 else
30643 enable_gtktest=yes
30644 fi
30645
30646
30647 pkg_config_args=gtk+-2.0
30648 for module in . $GTK_MODULES
30649 do
30650 case "$module" in
30651 gthread)
30652 pkg_config_args="$pkg_config_args gthread-2.0"
30653 ;;
30654 esac
30655 done
30656
30657 no_gtk=""
30658
30659 # Extract the first word of "pkg-config", so it can be a program name with args.
30660 set dummy pkg-config; ac_word=$2
30661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30664 echo $ECHO_N "(cached) $ECHO_C" >&6
30665 else
30666 case $PKG_CONFIG in
30667 [\\/]* | ?:[\\/]*)
30668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30669 ;;
30670 *)
30671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30672 for as_dir in $PATH
30673 do
30674 IFS=$as_save_IFS
30675 test -z "$as_dir" && as_dir=.
30676 for ac_exec_ext in '' $ac_executable_extensions; do
30677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30680 break 2
30681 fi
30682 done
30683 done
30684 IFS=$as_save_IFS
30685
30686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30687 ;;
30688 esac
30689 fi
30690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30691 if test -n "$PKG_CONFIG"; then
30692 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30693 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30694 else
30695 { echo "$as_me:$LINENO: result: no" >&5
30696 echo "${ECHO_T}no" >&6; }
30697 fi
30698
30699
30700
30701 if test x$PKG_CONFIG != xno ; then
30702 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30703 :
30704 else
30705 echo "*** pkg-config too old; version 0.7 or better required."
30706 no_gtk=yes
30707 PKG_CONFIG=no
30708 fi
30709 else
30710 no_gtk=yes
30711 fi
30712
30713 min_gtk_version=2.0.0
30714 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30715 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30716
30717 if test x$PKG_CONFIG != xno ; then
30718 ## don't try to run the test against uninstalled libtool libs
30719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30720 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30721 enable_gtktest=no
30722 fi
30723
30724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30725 :
30726 else
30727 no_gtk=yes
30728 fi
30729 fi
30730
30731 if test x"$no_gtk" = x ; then
30732 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30733 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30734 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30736 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30738 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30740 if test "x$enable_gtktest" = "xyes" ; then
30741 ac_save_CFLAGS="$CFLAGS"
30742 ac_save_LIBS="$LIBS"
30743 CFLAGS="$CFLAGS $GTK_CFLAGS"
30744 LIBS="$GTK_LIBS $LIBS"
30745 rm -f conf.gtktest
30746 if test "$cross_compiling" = yes; then
30747 echo $ac_n "cross compiling; assumed OK... $ac_c"
30748 else
30749 cat >conftest.$ac_ext <<_ACEOF
30750 /* confdefs.h. */
30751 _ACEOF
30752 cat confdefs.h >>conftest.$ac_ext
30753 cat >>conftest.$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30755
30756 #include <gtk/gtk.h>
30757 #include <stdio.h>
30758 #include <stdlib.h>
30759
30760 int
30761 main ()
30762 {
30763 int major, minor, micro;
30764 char *tmp_version;
30765
30766 system ("touch conf.gtktest");
30767
30768 /* HP/UX 9 (%@#!) writes to sscanf strings */
30769 tmp_version = g_strdup("$min_gtk_version");
30770 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30771 printf("%s, bad version string\n", "$min_gtk_version");
30772 exit(1);
30773 }
30774
30775 if ((gtk_major_version != $gtk_config_major_version) ||
30776 (gtk_minor_version != $gtk_config_minor_version) ||
30777 (gtk_micro_version != $gtk_config_micro_version))
30778 {
30779 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30781 gtk_major_version, gtk_minor_version, gtk_micro_version);
30782 printf ("*** was found! If pkg-config was correct, then it is best\n");
30783 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30785 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30786 printf("*** required on your system.\n");
30787 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30788 printf("*** to point to the correct configuration files\n");
30789 }
30790 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30791 (gtk_minor_version != GTK_MINOR_VERSION) ||
30792 (gtk_micro_version != GTK_MICRO_VERSION))
30793 {
30794 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30795 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30796 printf("*** library (version %d.%d.%d)\n",
30797 gtk_major_version, gtk_minor_version, gtk_micro_version);
30798 }
30799 else
30800 {
30801 if ((gtk_major_version > major) ||
30802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30804 {
30805 return 0;
30806 }
30807 else
30808 {
30809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30810 gtk_major_version, gtk_minor_version, gtk_micro_version);
30811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30812 major, minor, micro);
30813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30814 printf("***\n");
30815 printf("*** If you have already installed a sufficiently new version, this error\n");
30816 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30818 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30819 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30821 printf("*** so that the correct libraries are found at run-time))\n");
30822 }
30823 }
30824 return 1;
30825 }
30826
30827 _ACEOF
30828 rm -f conftest$ac_exeext
30829 if { (ac_try="$ac_link"
30830 case "(($ac_try" in
30831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30832 *) ac_try_echo=$ac_try;;
30833 esac
30834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30835 (eval "$ac_link") 2>&5
30836 ac_status=$?
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30839 { (case "(($ac_try" in
30840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30841 *) ac_try_echo=$ac_try;;
30842 esac
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_try") 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; }; then
30848 :
30849 else
30850 echo "$as_me: program exited with status $ac_status" >&5
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30853
30854 ( exit $ac_status )
30855 no_gtk=yes
30856 fi
30857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30858 fi
30859
30860
30861 CFLAGS="$ac_save_CFLAGS"
30862 LIBS="$ac_save_LIBS"
30863 fi
30864 fi
30865 if test "x$no_gtk" = x ; then
30866 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30867 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30868 wx_cv_lib_gtk=2.0
30869 else
30870 { echo "$as_me:$LINENO: result: no" >&5
30871 echo "${ECHO_T}no" >&6; }
30872 if test "$PKG_CONFIG" = "no" ; then
30873 echo "*** A new enough version of pkg-config was not found."
30874 echo "*** See http://pkgconfig.sourceforge.net"
30875 else
30876 if test -f conf.gtktest ; then
30877 :
30878 else
30879 echo "*** Could not run GTK+ test program, checking why..."
30880 ac_save_CFLAGS="$CFLAGS"
30881 ac_save_LIBS="$LIBS"
30882 CFLAGS="$CFLAGS $GTK_CFLAGS"
30883 LIBS="$LIBS $GTK_LIBS"
30884 cat >conftest.$ac_ext <<_ACEOF
30885 /* confdefs.h. */
30886 _ACEOF
30887 cat confdefs.h >>conftest.$ac_ext
30888 cat >>conftest.$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30890
30891 #include <gtk/gtk.h>
30892 #include <stdio.h>
30893
30894 int
30895 main ()
30896 {
30897 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30898 ;
30899 return 0;
30900 }
30901 _ACEOF
30902 rm -f conftest.$ac_objext conftest$ac_exeext
30903 if { (ac_try="$ac_link"
30904 case "(($ac_try" in
30905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30906 *) ac_try_echo=$ac_try;;
30907 esac
30908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30909 (eval "$ac_link") 2>conftest.er1
30910 ac_status=$?
30911 grep -v '^ *+' conftest.er1 >conftest.err
30912 rm -f conftest.er1
30913 cat conftest.err >&5
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); } && {
30916 test -z "$ac_c_werror_flag" ||
30917 test ! -s conftest.err
30918 } && test -s conftest$ac_exeext &&
30919 $as_test_x conftest$ac_exeext; then
30920 echo "*** The test program compiled, but did not run. This usually means"
30921 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30922 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30923 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30924 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30925 echo "*** is required on your system"
30926 echo "***"
30927 echo "*** If you have an old version installed, it is best to remove it, although"
30928 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30929 else
30930 echo "$as_me: failed program was:" >&5
30931 sed 's/^/| /' conftest.$ac_ext >&5
30932
30933 echo "*** The test program failed to compile or link. See the file config.log for the"
30934 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30935 fi
30936
30937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30938 conftest$ac_exeext conftest.$ac_ext
30939 CFLAGS="$ac_save_CFLAGS"
30940 LIBS="$ac_save_LIBS"
30941 fi
30942 fi
30943 GTK_CFLAGS=""
30944 GTK_LIBS=""
30945 :
30946 fi
30947
30948
30949 rm -f conf.gtktest
30950
30951
30952 case "${host}" in
30953 *-*-solaris2* )
30954 if test "$wxUSE_SHARED" != "yes"; then
30955 GTK_LIBS="$GTK_LIBS -lX11"
30956 fi
30957 esac
30958 fi
30959
30960 if test -z "$wx_cv_lib_gtk"; then
30961 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30962
30963 # Check whether --with-gtk-prefix was given.
30964 if test "${with_gtk_prefix+set}" = set; then
30965 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30966 else
30967 gtk_config_prefix=""
30968 fi
30969
30970
30971 # Check whether --with-gtk-exec-prefix was given.
30972 if test "${with_gtk_exec_prefix+set}" = set; then
30973 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30974 else
30975 gtk_config_exec_prefix=""
30976 fi
30977
30978 # Check whether --enable-gtktest was given.
30979 if test "${enable_gtktest+set}" = set; then
30980 enableval=$enable_gtktest;
30981 else
30982 enable_gtktest=yes
30983 fi
30984
30985
30986 for module in . $GTK_MODULES
30987 do
30988 case "$module" in
30989 gthread)
30990 gtk_config_args="$gtk_config_args gthread"
30991 ;;
30992 esac
30993 done
30994
30995 if test x$gtk_config_exec_prefix != x ; then
30996 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30997 if test x${GTK_CONFIG+set} != xset ; then
30998 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30999 fi
31000 fi
31001 if test x$gtk_config_prefix != x ; then
31002 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31003 if test x${GTK_CONFIG+set} != xset ; then
31004 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31005 fi
31006 fi
31007
31008 # Extract the first word of "gtk-config", so it can be a program name with args.
31009 set dummy gtk-config; ac_word=$2
31010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31012 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31013 echo $ECHO_N "(cached) $ECHO_C" >&6
31014 else
31015 case $GTK_CONFIG in
31016 [\\/]* | ?:[\\/]*)
31017 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31018 ;;
31019 *)
31020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31021 for as_dir in $PATH
31022 do
31023 IFS=$as_save_IFS
31024 test -z "$as_dir" && as_dir=.
31025 for ac_exec_ext in '' $ac_executable_extensions; do
31026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31027 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31029 break 2
31030 fi
31031 done
31032 done
31033 IFS=$as_save_IFS
31034
31035 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31036 ;;
31037 esac
31038 fi
31039 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31040 if test -n "$GTK_CONFIG"; then
31041 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31042 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31043 else
31044 { echo "$as_me:$LINENO: result: no" >&5
31045 echo "${ECHO_T}no" >&6; }
31046 fi
31047
31048
31049 min_gtk_version=1.2.7
31050 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31051 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31052 no_gtk=""
31053 if test "$GTK_CONFIG" = "no" ; then
31054 no_gtk=yes
31055 else
31056 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31057 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31058 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31060 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31062 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31064 if test "x$enable_gtktest" = "xyes" ; then
31065 ac_save_CFLAGS="$CFLAGS"
31066 ac_save_LIBS="$LIBS"
31067 CFLAGS="$CFLAGS $GTK_CFLAGS"
31068 LIBS="$GTK_LIBS $LIBS"
31069 rm -f conf.gtktest
31070 if test "$cross_compiling" = yes; then
31071 echo $ac_n "cross compiling; assumed OK... $ac_c"
31072 else
31073 cat >conftest.$ac_ext <<_ACEOF
31074 /* confdefs.h. */
31075 _ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079
31080 #include <gtk/gtk.h>
31081 #include <stdio.h>
31082 #include <stdlib.h>
31083
31084 int
31085 main ()
31086 {
31087 int major, minor, micro;
31088 char *tmp_version;
31089
31090 system ("touch conf.gtktest");
31091
31092 /* HP/UX 9 (%@#!) writes to sscanf strings */
31093 tmp_version = g_strdup("$min_gtk_version");
31094 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31095 printf("%s, bad version string\n", "$min_gtk_version");
31096 exit(1);
31097 }
31098
31099 if ((gtk_major_version != $gtk_config_major_version) ||
31100 (gtk_minor_version != $gtk_config_minor_version) ||
31101 (gtk_micro_version != $gtk_config_micro_version))
31102 {
31103 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31104 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31105 gtk_major_version, gtk_minor_version, gtk_micro_version);
31106 printf ("*** was found! If gtk-config was correct, then it is best\n");
31107 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31108 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31109 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31110 printf("*** required on your system.\n");
31111 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31112 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31113 printf("*** before re-running configure\n");
31114 }
31115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31116 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31117 (gtk_minor_version != GTK_MINOR_VERSION) ||
31118 (gtk_micro_version != GTK_MICRO_VERSION))
31119 {
31120 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31121 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31122 printf("*** library (version %d.%d.%d)\n",
31123 gtk_major_version, gtk_minor_version, gtk_micro_version);
31124 }
31125 #endif /* defined (GTK_MAJOR_VERSION) ... */
31126 else
31127 {
31128 if ((gtk_major_version > major) ||
31129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31131 {
31132 return 0;
31133 }
31134 else
31135 {
31136 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31137 gtk_major_version, gtk_minor_version, gtk_micro_version);
31138 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31139 major, minor, micro);
31140 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31141 printf("***\n");
31142 printf("*** If you have already installed a sufficiently new version, this error\n");
31143 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31144 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31145 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31146 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31147 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31148 printf("*** so that the correct libraries are found at run-time))\n");
31149 }
31150 }
31151 return 1;
31152 }
31153
31154 _ACEOF
31155 rm -f conftest$ac_exeext
31156 if { (ac_try="$ac_link"
31157 case "(($ac_try" in
31158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31160 esac
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_link") 2>&5
31163 ac_status=$?
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31166 { (case "(($ac_try" in
31167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31168 *) ac_try_echo=$ac_try;;
31169 esac
31170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31171 (eval "$ac_try") 2>&5
31172 ac_status=$?
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; }; then
31175 :
31176 else
31177 echo "$as_me: program exited with status $ac_status" >&5
31178 echo "$as_me: failed program was:" >&5
31179 sed 's/^/| /' conftest.$ac_ext >&5
31180
31181 ( exit $ac_status )
31182 no_gtk=yes
31183 fi
31184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31185 fi
31186
31187
31188 CFLAGS="$ac_save_CFLAGS"
31189 LIBS="$ac_save_LIBS"
31190 fi
31191 fi
31192 if test "x$no_gtk" = x ; then
31193 { echo "$as_me:$LINENO: result: yes" >&5
31194 echo "${ECHO_T}yes" >&6; }
31195 wx_cv_lib_gtk=1.2.7
31196 else
31197 { echo "$as_me:$LINENO: result: no" >&5
31198 echo "${ECHO_T}no" >&6; }
31199 if test "$GTK_CONFIG" = "no" ; then
31200 echo "*** The gtk-config script installed by GTK could not be found"
31201 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31202 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31203 echo "*** full path to gtk-config."
31204 else
31205 if test -f conf.gtktest ; then
31206 :
31207 else
31208 echo "*** Could not run GTK test program, checking why..."
31209 CFLAGS="$CFLAGS $GTK_CFLAGS"
31210 LIBS="$LIBS $GTK_LIBS"
31211 cat >conftest.$ac_ext <<_ACEOF
31212 /* confdefs.h. */
31213 _ACEOF
31214 cat confdefs.h >>conftest.$ac_ext
31215 cat >>conftest.$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31217
31218 #include <gtk/gtk.h>
31219 #include <stdio.h>
31220
31221 int
31222 main ()
31223 {
31224 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31225 ;
31226 return 0;
31227 }
31228 _ACEOF
31229 rm -f conftest.$ac_objext conftest$ac_exeext
31230 if { (ac_try="$ac_link"
31231 case "(($ac_try" in
31232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31233 *) ac_try_echo=$ac_try;;
31234 esac
31235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31236 (eval "$ac_link") 2>conftest.er1
31237 ac_status=$?
31238 grep -v '^ *+' conftest.er1 >conftest.err
31239 rm -f conftest.er1
31240 cat conftest.err >&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } && {
31243 test -z "$ac_c_werror_flag" ||
31244 test ! -s conftest.err
31245 } && test -s conftest$ac_exeext &&
31246 $as_test_x conftest$ac_exeext; then
31247 echo "*** The test program compiled, but did not run. This usually means"
31248 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31249 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31250 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31251 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31252 echo "*** is required on your system"
31253 echo "***"
31254 echo "*** If you have an old version installed, it is best to remove it, although"
31255 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31256 echo "***"
31257 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31258 echo "*** came with the system with the command"
31259 echo "***"
31260 echo "*** rpm --erase --nodeps gtk gtk-devel"
31261 else
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31264
31265 echo "*** The test program failed to compile or link. See the file config.log for the"
31266 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31267 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31268 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31269 fi
31270
31271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31272 conftest$ac_exeext conftest.$ac_ext
31273 CFLAGS="$ac_save_CFLAGS"
31274 LIBS="$ac_save_LIBS"
31275 fi
31276 fi
31277 GTK_CFLAGS=""
31278 GTK_LIBS=""
31279 :
31280 fi
31281
31282
31283 rm -f conf.gtktest
31284
31285
31286 if test -z "$wx_cv_lib_gtk"; then
31287
31288 # Check whether --with-gtk-prefix was given.
31289 if test "${with_gtk_prefix+set}" = set; then
31290 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31291 else
31292 gtk_config_prefix=""
31293 fi
31294
31295
31296 # Check whether --with-gtk-exec-prefix was given.
31297 if test "${with_gtk_exec_prefix+set}" = set; then
31298 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31299 else
31300 gtk_config_exec_prefix=""
31301 fi
31302
31303 # Check whether --enable-gtktest was given.
31304 if test "${enable_gtktest+set}" = set; then
31305 enableval=$enable_gtktest;
31306 else
31307 enable_gtktest=yes
31308 fi
31309
31310
31311 for module in . $GTK_MODULES
31312 do
31313 case "$module" in
31314 gthread)
31315 gtk_config_args="$gtk_config_args gthread"
31316 ;;
31317 esac
31318 done
31319
31320 if test x$gtk_config_exec_prefix != x ; then
31321 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31322 if test x${GTK_CONFIG+set} != xset ; then
31323 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31324 fi
31325 fi
31326 if test x$gtk_config_prefix != x ; then
31327 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31328 if test x${GTK_CONFIG+set} != xset ; then
31329 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31330 fi
31331 fi
31332
31333 # Extract the first word of "gtk-config", so it can be a program name with args.
31334 set dummy gtk-config; ac_word=$2
31335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31337 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31339 else
31340 case $GTK_CONFIG in
31341 [\\/]* | ?:[\\/]*)
31342 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31343 ;;
31344 *)
31345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31346 for as_dir in $PATH
31347 do
31348 IFS=$as_save_IFS
31349 test -z "$as_dir" && as_dir=.
31350 for ac_exec_ext in '' $ac_executable_extensions; do
31351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31352 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31354 break 2
31355 fi
31356 done
31357 done
31358 IFS=$as_save_IFS
31359
31360 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31361 ;;
31362 esac
31363 fi
31364 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31365 if test -n "$GTK_CONFIG"; then
31366 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31367 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31368 else
31369 { echo "$as_me:$LINENO: result: no" >&5
31370 echo "${ECHO_T}no" >&6; }
31371 fi
31372
31373
31374 min_gtk_version=1.2.3
31375 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31376 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31377 no_gtk=""
31378 if test "$GTK_CONFIG" = "no" ; then
31379 no_gtk=yes
31380 else
31381 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31382 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31383 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31385 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31387 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31389 if test "x$enable_gtktest" = "xyes" ; then
31390 ac_save_CFLAGS="$CFLAGS"
31391 ac_save_LIBS="$LIBS"
31392 CFLAGS="$CFLAGS $GTK_CFLAGS"
31393 LIBS="$GTK_LIBS $LIBS"
31394 rm -f conf.gtktest
31395 if test "$cross_compiling" = yes; then
31396 echo $ac_n "cross compiling; assumed OK... $ac_c"
31397 else
31398 cat >conftest.$ac_ext <<_ACEOF
31399 /* confdefs.h. */
31400 _ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31404
31405 #include <gtk/gtk.h>
31406 #include <stdio.h>
31407 #include <stdlib.h>
31408
31409 int
31410 main ()
31411 {
31412 int major, minor, micro;
31413 char *tmp_version;
31414
31415 system ("touch conf.gtktest");
31416
31417 /* HP/UX 9 (%@#!) writes to sscanf strings */
31418 tmp_version = g_strdup("$min_gtk_version");
31419 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31420 printf("%s, bad version string\n", "$min_gtk_version");
31421 exit(1);
31422 }
31423
31424 if ((gtk_major_version != $gtk_config_major_version) ||
31425 (gtk_minor_version != $gtk_config_minor_version) ||
31426 (gtk_micro_version != $gtk_config_micro_version))
31427 {
31428 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31429 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31430 gtk_major_version, gtk_minor_version, gtk_micro_version);
31431 printf ("*** was found! If gtk-config was correct, then it is best\n");
31432 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31433 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31434 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31435 printf("*** required on your system.\n");
31436 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31437 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31438 printf("*** before re-running configure\n");
31439 }
31440 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31441 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31442 (gtk_minor_version != GTK_MINOR_VERSION) ||
31443 (gtk_micro_version != GTK_MICRO_VERSION))
31444 {
31445 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31446 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31447 printf("*** library (version %d.%d.%d)\n",
31448 gtk_major_version, gtk_minor_version, gtk_micro_version);
31449 }
31450 #endif /* defined (GTK_MAJOR_VERSION) ... */
31451 else
31452 {
31453 if ((gtk_major_version > major) ||
31454 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31455 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31456 {
31457 return 0;
31458 }
31459 else
31460 {
31461 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31462 gtk_major_version, gtk_minor_version, gtk_micro_version);
31463 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31464 major, minor, micro);
31465 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31466 printf("***\n");
31467 printf("*** If you have already installed a sufficiently new version, this error\n");
31468 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31469 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31470 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31471 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31472 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31473 printf("*** so that the correct libraries are found at run-time))\n");
31474 }
31475 }
31476 return 1;
31477 }
31478
31479 _ACEOF
31480 rm -f conftest$ac_exeext
31481 if { (ac_try="$ac_link"
31482 case "(($ac_try" in
31483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31484 *) ac_try_echo=$ac_try;;
31485 esac
31486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31487 (eval "$ac_link") 2>&5
31488 ac_status=$?
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31491 { (case "(($ac_try" in
31492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31493 *) ac_try_echo=$ac_try;;
31494 esac
31495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31496 (eval "$ac_try") 2>&5
31497 ac_status=$?
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; }; then
31500 :
31501 else
31502 echo "$as_me: program exited with status $ac_status" >&5
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31505
31506 ( exit $ac_status )
31507 no_gtk=yes
31508 fi
31509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31510 fi
31511
31512
31513 CFLAGS="$ac_save_CFLAGS"
31514 LIBS="$ac_save_LIBS"
31515 fi
31516 fi
31517 if test "x$no_gtk" = x ; then
31518 { echo "$as_me:$LINENO: result: yes" >&5
31519 echo "${ECHO_T}yes" >&6; }
31520 wx_cv_lib_gtk=1.2.3
31521 else
31522 { echo "$as_me:$LINENO: result: no" >&5
31523 echo "${ECHO_T}no" >&6; }
31524 if test "$GTK_CONFIG" = "no" ; then
31525 echo "*** The gtk-config script installed by GTK could not be found"
31526 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31527 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31528 echo "*** full path to gtk-config."
31529 else
31530 if test -f conf.gtktest ; then
31531 :
31532 else
31533 echo "*** Could not run GTK test program, checking why..."
31534 CFLAGS="$CFLAGS $GTK_CFLAGS"
31535 LIBS="$LIBS $GTK_LIBS"
31536 cat >conftest.$ac_ext <<_ACEOF
31537 /* confdefs.h. */
31538 _ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31542
31543 #include <gtk/gtk.h>
31544 #include <stdio.h>
31545
31546 int
31547 main ()
31548 {
31549 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31550 ;
31551 return 0;
31552 }
31553 _ACEOF
31554 rm -f conftest.$ac_objext conftest$ac_exeext
31555 if { (ac_try="$ac_link"
31556 case "(($ac_try" in
31557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31558 *) ac_try_echo=$ac_try;;
31559 esac
31560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31561 (eval "$ac_link") 2>conftest.er1
31562 ac_status=$?
31563 grep -v '^ *+' conftest.er1 >conftest.err
31564 rm -f conftest.er1
31565 cat conftest.err >&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); } && {
31568 test -z "$ac_c_werror_flag" ||
31569 test ! -s conftest.err
31570 } && test -s conftest$ac_exeext &&
31571 $as_test_x conftest$ac_exeext; then
31572 echo "*** The test program compiled, but did not run. This usually means"
31573 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31574 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31575 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31576 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31577 echo "*** is required on your system"
31578 echo "***"
31579 echo "*** If you have an old version installed, it is best to remove it, although"
31580 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31581 echo "***"
31582 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31583 echo "*** came with the system with the command"
31584 echo "***"
31585 echo "*** rpm --erase --nodeps gtk gtk-devel"
31586 else
31587 echo "$as_me: failed program was:" >&5
31588 sed 's/^/| /' conftest.$ac_ext >&5
31589
31590 echo "*** The test program failed to compile or link. See the file config.log for the"
31591 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31592 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31593 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31594 fi
31595
31596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31597 conftest$ac_exeext conftest.$ac_ext
31598 CFLAGS="$ac_save_CFLAGS"
31599 LIBS="$ac_save_LIBS"
31600 fi
31601 fi
31602 GTK_CFLAGS=""
31603 GTK_LIBS=""
31604 :
31605 fi
31606
31607
31608 rm -f conf.gtktest
31609
31610 fi
31611 fi
31612 fi
31613
31614 if test -z "$wx_cv_lib_gtk"; then
31615 wx_cv_lib_gtk=none
31616 else
31617 wx_cv_cflags_gtk=$GTK_CFLAGS
31618 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31619 fi
31620
31621
31622 fi
31623
31624
31625 if test "$gtk_version_cached" = 1; then
31626 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31627 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31628 fi
31629
31630 case "$wx_cv_lib_gtk" in
31631 2.0) WXGTK20=1
31632 TOOLKIT_VERSION=2
31633 ;;
31634 1.2.7) WXGTK127=1
31635 WXGTK12=1
31636 ;;
31637 1.2.3) WXGTK12=1
31638 ;;
31639 *) { { echo "$as_me:$LINENO: error:
31640 The development files for GTK+ were not found. For GTK+ 2, please
31641 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31642 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31643 and that the version is 1.2.3 or above. Also check that the
31644 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31645 --libs' are in the LD_LIBRARY_PATH or equivalent.
31646 " >&5
31647 echo "$as_me: error:
31648 The development files for GTK+ were not found. For GTK+ 2, please
31649 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31650 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31651 and that the version is 1.2.3 or above. Also check that the
31652 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31653 --libs' are in the LD_LIBRARY_PATH or equivalent.
31654 " >&2;}
31655 { (exit 1); exit 1; }; }
31656 ;;
31657 esac
31658
31659 if test "$WXGTK20" = 1; then
31660 save_CFLAGS="$CFLAGS"
31661 save_LIBS="$LIBS"
31662 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31663 LIBS="$LIBS $wx_cv_libs_gtk"
31664
31665 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31666 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31667 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31669 else
31670 cat >conftest.$ac_ext <<_ACEOF
31671 /* confdefs.h. */
31672 _ACEOF
31673 cat confdefs.h >>conftest.$ac_ext
31674 cat >>conftest.$ac_ext <<_ACEOF
31675 /* end confdefs.h. */
31676 #include <gtk/gtk.h>
31677
31678 int
31679 main ()
31680 {
31681 #ifndef gtk_icon_size_lookup
31682 (void) gtk_icon_size_lookup;
31683 #endif
31684
31685 ;
31686 return 0;
31687 }
31688 _ACEOF
31689 rm -f conftest.$ac_objext
31690 if { (ac_try="$ac_compile"
31691 case "(($ac_try" in
31692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31693 *) ac_try_echo=$ac_try;;
31694 esac
31695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31696 (eval "$ac_compile") 2>conftest.er1
31697 ac_status=$?
31698 grep -v '^ *+' conftest.er1 >conftest.err
31699 rm -f conftest.er1
31700 cat conftest.err >&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } && {
31703 test -z "$ac_c_werror_flag" ||
31704 test ! -s conftest.err
31705 } && test -s conftest.$ac_objext; then
31706 ac_cv_have_decl_gtk_icon_size_lookup=yes
31707 else
31708 echo "$as_me: failed program was:" >&5
31709 sed 's/^/| /' conftest.$ac_ext >&5
31710
31711 ac_cv_have_decl_gtk_icon_size_lookup=no
31712 fi
31713
31714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31715 fi
31716 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31717 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31718 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31719
31720 cat >>confdefs.h <<_ACEOF
31721 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31722 _ACEOF
31723
31724
31725 else
31726 cat >>confdefs.h <<_ACEOF
31727 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31728 _ACEOF
31729
31730 cat >>confdefs.h <<\_ACEOF
31731 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31732 _ACEOF
31733
31734 fi
31735
31736
31737
31738
31739 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31740 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31741 cat >conftest.$ac_ext <<_ACEOF
31742 /* confdefs.h. */
31743 _ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31747
31748 #include <gtk/gtk.h>
31749
31750 int
31751 main ()
31752 {
31753
31754 #if !GTK_CHECK_VERSION(2,10,0)
31755 Not GTK+ 2.10
31756 #endif
31757
31758 ;
31759 return 0;
31760 }
31761 _ACEOF
31762 rm -f conftest.$ac_objext
31763 if { (ac_try="$ac_compile"
31764 case "(($ac_try" in
31765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31766 *) ac_try_echo=$ac_try;;
31767 esac
31768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31769 (eval "$ac_compile") 2>conftest.er1
31770 ac_status=$?
31771 grep -v '^ *+' conftest.er1 >conftest.err
31772 rm -f conftest.er1
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } && {
31776 test -z "$ac_c_werror_flag" ||
31777 test ! -s conftest.err
31778 } && test -s conftest.$ac_objext; then
31779
31780 cat >>confdefs.h <<\_ACEOF
31781 #define __WXGTK210__ 1
31782 _ACEOF
31783
31784 cat >>confdefs.h <<\_ACEOF
31785 #define __WXGTK26__ 1
31786 _ACEOF
31787
31788 cat >>confdefs.h <<\_ACEOF
31789 #define __WXGTK24__ 1
31790 _ACEOF
31791
31792 { echo "$as_me:$LINENO: result: yes" >&5
31793 echo "${ECHO_T}yes" >&6; }
31794 ac_wxgtk210=1
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 ac_wxgtk210=0
31804
31805 fi
31806
31807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31808
31809 if test "$ac_wxgtk210" = 0; then
31810 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31811 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31812 cat >conftest.$ac_ext <<_ACEOF
31813 /* confdefs.h. */
31814 _ACEOF
31815 cat confdefs.h >>conftest.$ac_ext
31816 cat >>conftest.$ac_ext <<_ACEOF
31817 /* end confdefs.h. */
31818
31819 #include <gtk/gtk.h>
31820
31821 int
31822 main ()
31823 {
31824
31825 #if !GTK_CHECK_VERSION(2,6,0)
31826 Not GTK+ 2.6
31827 #endif
31828
31829 ;
31830 return 0;
31831 }
31832 _ACEOF
31833 rm -f conftest.$ac_objext
31834 if { (ac_try="$ac_compile"
31835 case "(($ac_try" in
31836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31837 *) ac_try_echo=$ac_try;;
31838 esac
31839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31840 (eval "$ac_compile") 2>conftest.er1
31841 ac_status=$?
31842 grep -v '^ *+' conftest.er1 >conftest.err
31843 rm -f conftest.er1
31844 cat conftest.err >&5
31845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31846 (exit $ac_status); } && {
31847 test -z "$ac_c_werror_flag" ||
31848 test ! -s conftest.err
31849 } && test -s conftest.$ac_objext; then
31850
31851 cat >>confdefs.h <<\_ACEOF
31852 #define __WXGTK26__ 1
31853 _ACEOF
31854
31855 cat >>confdefs.h <<\_ACEOF
31856 #define __WXGTK24__ 1
31857 _ACEOF
31858
31859 { echo "$as_me:$LINENO: result: yes" >&5
31860 echo "${ECHO_T}yes" >&6; }
31861 ac_wxgtk26=1
31862
31863 else
31864 echo "$as_me: failed program was:" >&5
31865 sed 's/^/| /' conftest.$ac_ext >&5
31866
31867
31868 { echo "$as_me:$LINENO: result: no" >&5
31869 echo "${ECHO_T}no" >&6; }
31870 ac_wxgtk26=0
31871
31872 fi
31873
31874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31875 fi
31876
31877 if test "$ac_wxgtk26" = 0; then
31878 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31879 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31880 cat >conftest.$ac_ext <<_ACEOF
31881 /* confdefs.h. */
31882 _ACEOF
31883 cat confdefs.h >>conftest.$ac_ext
31884 cat >>conftest.$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31886
31887 #include <gtk/gtk.h>
31888
31889 int
31890 main ()
31891 {
31892
31893 #if !GTK_CHECK_VERSION(2,4,0)
31894 Not GTK+ 2.4
31895 #endif
31896
31897 ;
31898 return 0;
31899 }
31900 _ACEOF
31901 rm -f conftest.$ac_objext
31902 if { (ac_try="$ac_compile"
31903 case "(($ac_try" in
31904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31905 *) ac_try_echo=$ac_try;;
31906 esac
31907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31908 (eval "$ac_compile") 2>conftest.er1
31909 ac_status=$?
31910 grep -v '^ *+' conftest.er1 >conftest.err
31911 rm -f conftest.er1
31912 cat conftest.err >&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); } && {
31915 test -z "$ac_c_werror_flag" ||
31916 test ! -s conftest.err
31917 } && test -s conftest.$ac_objext; then
31918
31919 cat >>confdefs.h <<\_ACEOF
31920 #define __WXGTK24__ 1
31921 _ACEOF
31922
31923 { echo "$as_me:$LINENO: result: yes" >&5
31924 echo "${ECHO_T}yes" >&6; }
31925
31926 else
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.$ac_ext >&5
31929
31930
31931 { echo "$as_me:$LINENO: result: no" >&5
31932 echo "${ECHO_T}no" >&6; }
31933
31934 fi
31935
31936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31937 fi
31938
31939 CFLAGS="$save_CFLAGS"
31940 LIBS="$save_LIBS"
31941 else
31942 if test "$wxUSE_UNICODE" = "yes"; then
31943 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31944 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31945 wxUSE_UNICODE=no
31946 fi
31947
31948 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31949 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31950 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31951 echo $ECHO_N "(cached) $ECHO_C" >&6
31952 else
31953 ac_check_lib_save_LIBS=$LIBS
31954 LIBS="-lgdk $LIBS"
31955 cat >conftest.$ac_ext <<_ACEOF
31956 /* confdefs.h. */
31957 _ACEOF
31958 cat confdefs.h >>conftest.$ac_ext
31959 cat >>conftest.$ac_ext <<_ACEOF
31960 /* end confdefs.h. */
31961
31962 /* Override any GCC internal prototype to avoid an error.
31963 Use char because int might match the return type of a GCC
31964 builtin and then its argument prototype would still apply. */
31965 #ifdef __cplusplus
31966 extern "C"
31967 #endif
31968 char gdk_im_open ();
31969 int
31970 main ()
31971 {
31972 return gdk_im_open ();
31973 ;
31974 return 0;
31975 }
31976 _ACEOF
31977 rm -f conftest.$ac_objext conftest$ac_exeext
31978 if { (ac_try="$ac_link"
31979 case "(($ac_try" in
31980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31981 *) ac_try_echo=$ac_try;;
31982 esac
31983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31984 (eval "$ac_link") 2>conftest.er1
31985 ac_status=$?
31986 grep -v '^ *+' conftest.er1 >conftest.err
31987 rm -f conftest.er1
31988 cat conftest.err >&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); } && {
31991 test -z "$ac_c_werror_flag" ||
31992 test ! -s conftest.err
31993 } && test -s conftest$ac_exeext &&
31994 $as_test_x conftest$ac_exeext; then
31995 ac_cv_lib_gdk_gdk_im_open=yes
31996 else
31997 echo "$as_me: failed program was:" >&5
31998 sed 's/^/| /' conftest.$ac_ext >&5
31999
32000 ac_cv_lib_gdk_gdk_im_open=no
32001 fi
32002
32003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32004 conftest$ac_exeext conftest.$ac_ext
32005 LIBS=$ac_check_lib_save_LIBS
32006 fi
32007 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32008 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32009 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32010 cat >>confdefs.h <<\_ACEOF
32011 #define HAVE_XIM 1
32012 _ACEOF
32013
32014 fi
32015
32016
32017 if test "$USE_DARWIN" != 1; then
32018
32019 for ac_func in poll
32020 do
32021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 else
32027 cat >conftest.$ac_ext <<_ACEOF
32028 /* confdefs.h. */
32029 _ACEOF
32030 cat confdefs.h >>conftest.$ac_ext
32031 cat >>conftest.$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32035 #define $ac_func innocuous_$ac_func
32036
32037 /* System header to define __stub macros and hopefully few prototypes,
32038 which can conflict with char $ac_func (); below.
32039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32040 <limits.h> exists even on freestanding compilers. */
32041
32042 #ifdef __STDC__
32043 # include <limits.h>
32044 #else
32045 # include <assert.h>
32046 #endif
32047
32048 #undef $ac_func
32049
32050 /* Override any GCC internal prototype to avoid an error.
32051 Use char because int might match the return type of a GCC
32052 builtin and then its argument prototype would still apply. */
32053 #ifdef __cplusplus
32054 extern "C"
32055 #endif
32056 char $ac_func ();
32057 /* The GNU C library defines this for functions which it implements
32058 to always fail with ENOSYS. Some functions are actually named
32059 something starting with __ and the normal name is an alias. */
32060 #if defined __stub_$ac_func || defined __stub___$ac_func
32061 choke me
32062 #endif
32063
32064 int
32065 main ()
32066 {
32067 return $ac_func ();
32068 ;
32069 return 0;
32070 }
32071 _ACEOF
32072 rm -f conftest.$ac_objext conftest$ac_exeext
32073 if { (ac_try="$ac_link"
32074 case "(($ac_try" in
32075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32076 *) ac_try_echo=$ac_try;;
32077 esac
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_link") 2>conftest.er1
32080 ac_status=$?
32081 grep -v '^ *+' conftest.er1 >conftest.err
32082 rm -f conftest.er1
32083 cat conftest.err >&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } && {
32086 test -z "$ac_c_werror_flag" ||
32087 test ! -s conftest.err
32088 } && test -s conftest$ac_exeext &&
32089 $as_test_x conftest$ac_exeext; then
32090 eval "$as_ac_var=yes"
32091 else
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.$ac_ext >&5
32094
32095 eval "$as_ac_var=no"
32096 fi
32097
32098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32099 conftest$ac_exeext conftest.$ac_ext
32100 fi
32101 ac_res=`eval echo '${'$as_ac_var'}'`
32102 { echo "$as_me:$LINENO: result: $ac_res" >&5
32103 echo "${ECHO_T}$ac_res" >&6; }
32104 if test `eval echo '${'$as_ac_var'}'` = yes; then
32105 cat >>confdefs.h <<_ACEOF
32106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32107 _ACEOF
32108
32109 fi
32110 done
32111
32112 fi
32113 fi
32114
32115 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32116 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32117
32118 AFMINSTALL=afminstall
32119 TOOLKIT=GTK
32120 GUIDIST=GTK_DIST
32121
32122 if test "$wxUSE_GPE" = "yes"; then
32123 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32124 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32125
32126 ac_find_libraries=
32127 for ac_dir in $SEARCH_LIB;
32128 do
32129 for ac_extension in a so sl dylib dll.a; do
32130 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32131 ac_find_libraries=$ac_dir
32132 break 2
32133 fi
32134 done
32135 done
32136
32137 if test "$ac_find_libraries" != "" ; then
32138
32139 if test "$ac_find_libraries" = "default location"; then
32140 ac_path_to_link=""
32141 else
32142 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32143 result=$?
32144 if test $result = 0; then
32145 ac_path_to_link=""
32146 else
32147 ac_path_to_link=" -L$ac_find_libraries"
32148 fi
32149 fi
32150
32151 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32152 WXGPE=1
32153 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32154 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32155 else
32156 { echo "$as_me:$LINENO: result: not found" >&5
32157 echo "${ECHO_T}not found" >&6; }
32158 fi
32159
32160 fi
32161 fi
32162
32163 if test "$wxUSE_MGL" = 1; then
32164 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32165 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32166 if test "x$MGL_ROOT" = x ; then
32167 { echo "$as_me:$LINENO: result: not found" >&5
32168 echo "${ECHO_T}not found" >&6; }
32169 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32170 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32171 { (exit 1); exit 1; }; }
32172 else
32173 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32174 echo "${ECHO_T}$MGL_ROOT" >&6; }
32175 fi
32176
32177 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32178 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32179 case "${host}" in
32180 *-*-linux* )
32181 if test "x$wxUSE_SHARED" = xyes ; then
32182 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32183 else
32184 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32185 fi
32186 ;;
32187 *-pc-msdosdjgpp )
32188 mgl_os_candidates="dos32/dj2"
32189 ;;
32190 *)
32191 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32192 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32193 { (exit 1); exit 1; }; }
32194 esac
32195
32196 mgl_lib_type=""
32197 mgl_os=""
32198
32199 for mgl_os_i in $mgl_os_candidates ; do
32200 if test "x$mgl_os" = x ; then
32201 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32202 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32203 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32204 mgl_lib_type=debug
32205 mgl_os=$mgl_os_i
32206 fi
32207 fi
32208 if test "x$mgl_lib_type" = x ; then
32209 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32210 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32211 mgl_lib_type=release
32212 mgl_os=$mgl_os_i
32213 fi
32214 fi
32215 fi
32216 done
32217
32218 if test "x$mgl_os" = x ; then
32219 { echo "$as_me:$LINENO: result: not found" >&5
32220 echo "${ECHO_T}not found" >&6; }
32221 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32222 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32223 { (exit 1); exit 1; }; }
32224 fi
32225 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32226 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32227
32228 wxUSE_UNIVERSAL="yes"
32229
32230 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32231 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32232
32233 AFMINSTALL=afminstall
32234 TOOLKIT=MGL
32235 GUIDIST=MGL_DIST
32236 fi
32237
32238 if test "$wxUSE_DFB" = 1; then
32239
32240
32241 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32242 if test -n "$ac_tool_prefix"; then
32243 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32244 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32247 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32248 echo $ECHO_N "(cached) $ECHO_C" >&6
32249 else
32250 case $PKG_CONFIG in
32251 [\\/]* | ?:[\\/]*)
32252 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32253 ;;
32254 *)
32255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32256 for as_dir in $PATH
32257 do
32258 IFS=$as_save_IFS
32259 test -z "$as_dir" && as_dir=.
32260 for ac_exec_ext in '' $ac_executable_extensions; do
32261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32262 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32264 break 2
32265 fi
32266 done
32267 done
32268 IFS=$as_save_IFS
32269
32270 ;;
32271 esac
32272 fi
32273 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32274 if test -n "$PKG_CONFIG"; then
32275 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32276 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32277 else
32278 { echo "$as_me:$LINENO: result: no" >&5
32279 echo "${ECHO_T}no" >&6; }
32280 fi
32281
32282
32283 fi
32284 if test -z "$ac_cv_path_PKG_CONFIG"; then
32285 ac_pt_PKG_CONFIG=$PKG_CONFIG
32286 # Extract the first word of "pkg-config", so it can be a program name with args.
32287 set dummy pkg-config; ac_word=$2
32288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32290 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32291 echo $ECHO_N "(cached) $ECHO_C" >&6
32292 else
32293 case $ac_pt_PKG_CONFIG in
32294 [\\/]* | ?:[\\/]*)
32295 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32296 ;;
32297 *)
32298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32299 for as_dir in $PATH
32300 do
32301 IFS=$as_save_IFS
32302 test -z "$as_dir" && as_dir=.
32303 for ac_exec_ext in '' $ac_executable_extensions; do
32304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32305 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32307 break 2
32308 fi
32309 done
32310 done
32311 IFS=$as_save_IFS
32312
32313 ;;
32314 esac
32315 fi
32316 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32317 if test -n "$ac_pt_PKG_CONFIG"; then
32318 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32319 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32320 else
32321 { echo "$as_me:$LINENO: result: no" >&5
32322 echo "${ECHO_T}no" >&6; }
32323 fi
32324
32325 if test "x$ac_pt_PKG_CONFIG" = x; then
32326 PKG_CONFIG=""
32327 else
32328 case $cross_compiling:$ac_tool_warned in
32329 yes:)
32330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32331 whose name does not start with the host triplet. If you think this
32332 configuration is useful to you, please write to autoconf@gnu.org." >&5
32333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32334 whose name does not start with the host triplet. If you think this
32335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32336 ac_tool_warned=yes ;;
32337 esac
32338 PKG_CONFIG=$ac_pt_PKG_CONFIG
32339 fi
32340 else
32341 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32342 fi
32343
32344 fi
32345 if test -n "$PKG_CONFIG"; then
32346 _pkg_min_version=0.9.0
32347 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32348 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32349 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32350 { echo "$as_me:$LINENO: result: yes" >&5
32351 echo "${ECHO_T}yes" >&6; }
32352 else
32353 { echo "$as_me:$LINENO: result: no" >&5
32354 echo "${ECHO_T}no" >&6; }
32355 PKG_CONFIG=""
32356 fi
32357
32358 fi
32359
32360
32361 pkg_failed=no
32362 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32363 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32364
32365 if test -n "$PKG_CONFIG"; then
32366 if test -n "$DIRECTFB_CFLAGS"; then
32367 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32368 else
32369 if test -n "$PKG_CONFIG" && \
32370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32371 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32372 ac_status=$?
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; then
32375 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32376 else
32377 pkg_failed=yes
32378 fi
32379 fi
32380 else
32381 pkg_failed=untried
32382 fi
32383 if test -n "$PKG_CONFIG"; then
32384 if test -n "$DIRECTFB_LIBS"; then
32385 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32386 else
32387 if test -n "$PKG_CONFIG" && \
32388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32389 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32390 ac_status=$?
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); }; then
32393 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32394 else
32395 pkg_failed=yes
32396 fi
32397 fi
32398 else
32399 pkg_failed=untried
32400 fi
32401
32402
32403
32404 if test $pkg_failed = yes; then
32405
32406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32407 _pkg_short_errors_supported=yes
32408 else
32409 _pkg_short_errors_supported=no
32410 fi
32411 if test $_pkg_short_errors_supported = yes; then
32412 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32413 else
32414 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32415 fi
32416 # Put the nasty error message in config.log where it belongs
32417 echo "$DIRECTFB_PKG_ERRORS" >&5
32418
32419
32420 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32421 echo "$as_me: error: DirectFB not found." >&2;}
32422 { (exit 1); exit 1; }; }
32423
32424
32425 elif test $pkg_failed = untried; then
32426
32427 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32428 echo "$as_me: error: DirectFB not found." >&2;}
32429 { (exit 1); exit 1; }; }
32430
32431
32432 else
32433 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32434 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32435 { echo "$as_me:$LINENO: result: yes" >&5
32436 echo "${ECHO_T}yes" >&6; }
32437
32438 wxUSE_UNIVERSAL="yes"
32439 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32440 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32441 TOOLKIT=DFB
32442 GUIDIST=DFB_DIST
32443
32444 fi
32445 fi
32446
32447 if test "$wxUSE_MICROWIN" = 1; then
32448 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32449 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32450 if test "x$MICROWINDOWS" = x ; then
32451 { echo "$as_me:$LINENO: result: not found" >&5
32452 echo "${ECHO_T}not found" >&6; }
32453 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32454 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32455 { (exit 1); exit 1; }; }
32456 else
32457 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32458 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32459 fi
32460
32461 if test -f $MICROWINDOWS/lib/libmwin.a; then
32462 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32463 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32464 else
32465 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32466 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32467 { (exit 1); exit 1; }; }
32468 fi
32469
32470 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32471 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32472
32473 wxUSE_UNIVERSAL="yes"
32474
32475 AFMINSTALL=afminstall
32476 TOOLKIT=MICROWIN
32477 GUIDIST=MICROWIN_DIST
32478
32479 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32480 fi
32481
32482 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32483 { echo "$as_me:$LINENO: checking for X" >&5
32484 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32485
32486
32487 # Check whether --with-x was given.
32488 if test "${with_x+set}" = set; then
32489 withval=$with_x;
32490 fi
32491
32492 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32493 if test "x$with_x" = xno; then
32494 # The user explicitly disabled X.
32495 have_x=disabled
32496 else
32497 case $x_includes,$x_libraries in #(
32498 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32499 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32500 { (exit 1); exit 1; }; };; #(
32501 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 else
32504 # One or both of the vars are not set, and there is no cached value.
32505 ac_x_includes=no ac_x_libraries=no
32506 rm -f -r conftest.dir
32507 if mkdir conftest.dir; then
32508 cd conftest.dir
32509 cat >Imakefile <<'_ACEOF'
32510 incroot:
32511 @echo incroot='${INCROOT}'
32512 usrlibdir:
32513 @echo usrlibdir='${USRLIBDIR}'
32514 libdir:
32515 @echo libdir='${LIBDIR}'
32516 _ACEOF
32517 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32518 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32519 for ac_var in incroot usrlibdir libdir; do
32520 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32521 done
32522 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32523 for ac_extension in a so sl; do
32524 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32525 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32526 ac_im_usrlibdir=$ac_im_libdir; break
32527 fi
32528 done
32529 # Screen out bogus values from the imake configuration. They are
32530 # bogus both because they are the default anyway, and because
32531 # using them would break gcc on systems where it needs fixed includes.
32532 case $ac_im_incroot in
32533 /usr/include) ac_x_includes= ;;
32534 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32535 esac
32536 case $ac_im_usrlibdir in
32537 /usr/lib | /lib) ;;
32538 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32539 esac
32540 fi
32541 cd ..
32542 rm -f -r conftest.dir
32543 fi
32544
32545 # Standard set of common directories for X headers.
32546 # Check X11 before X11Rn because it is often a symlink to the current release.
32547 ac_x_header_dirs='
32548 /usr/X11/include
32549 /usr/X11R6/include
32550 /usr/X11R5/include
32551 /usr/X11R4/include
32552
32553 /usr/include/X11
32554 /usr/include/X11R6
32555 /usr/include/X11R5
32556 /usr/include/X11R4
32557
32558 /usr/local/X11/include
32559 /usr/local/X11R6/include
32560 /usr/local/X11R5/include
32561 /usr/local/X11R4/include
32562
32563 /usr/local/include/X11
32564 /usr/local/include/X11R6
32565 /usr/local/include/X11R5
32566 /usr/local/include/X11R4
32567
32568 /usr/X386/include
32569 /usr/x386/include
32570 /usr/XFree86/include/X11
32571
32572 /usr/include
32573 /usr/local/include
32574 /usr/unsupported/include
32575 /usr/athena/include
32576 /usr/local/x11r5/include
32577 /usr/lpp/Xamples/include
32578
32579 /usr/openwin/include
32580 /usr/openwin/share/include'
32581
32582 if test "$ac_x_includes" = no; then
32583 # Guess where to find include files, by looking for Xlib.h.
32584 # First, try using that file with no special directory specified.
32585 cat >conftest.$ac_ext <<_ACEOF
32586 /* confdefs.h. */
32587 _ACEOF
32588 cat confdefs.h >>conftest.$ac_ext
32589 cat >>conftest.$ac_ext <<_ACEOF
32590 /* end confdefs.h. */
32591 #include <X11/Xlib.h>
32592 _ACEOF
32593 if { (ac_try="$ac_cpp conftest.$ac_ext"
32594 case "(($ac_try" in
32595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32596 *) ac_try_echo=$ac_try;;
32597 esac
32598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32600 ac_status=$?
32601 grep -v '^ *+' conftest.er1 >conftest.err
32602 rm -f conftest.er1
32603 cat conftest.err >&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); } >/dev/null && {
32606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32607 test ! -s conftest.err
32608 }; then
32609 # We can compile using X headers with no special include directory.
32610 ac_x_includes=
32611 else
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.$ac_ext >&5
32614
32615 for ac_dir in $ac_x_header_dirs; do
32616 if test -r "$ac_dir/X11/Xlib.h"; then
32617 ac_x_includes=$ac_dir
32618 break
32619 fi
32620 done
32621 fi
32622
32623 rm -f conftest.err conftest.$ac_ext
32624 fi # $ac_x_includes = no
32625
32626 if test "$ac_x_libraries" = no; then
32627 # Check for the libraries.
32628 # See if we find them without any special options.
32629 # Don't add to $LIBS permanently.
32630 ac_save_LIBS=$LIBS
32631 LIBS="-lX11 $LIBS"
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638 #include <X11/Xlib.h>
32639 int
32640 main ()
32641 {
32642 XrmInitialize ()
32643 ;
32644 return 0;
32645 }
32646 _ACEOF
32647 rm -f conftest.$ac_objext conftest$ac_exeext
32648 if { (ac_try="$ac_link"
32649 case "(($ac_try" in
32650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32651 *) ac_try_echo=$ac_try;;
32652 esac
32653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32654 (eval "$ac_link") 2>conftest.er1
32655 ac_status=$?
32656 grep -v '^ *+' conftest.er1 >conftest.err
32657 rm -f conftest.er1
32658 cat conftest.err >&5
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); } && {
32661 test -z "$ac_c_werror_flag" ||
32662 test ! -s conftest.err
32663 } && test -s conftest$ac_exeext &&
32664 $as_test_x conftest$ac_exeext; then
32665 LIBS=$ac_save_LIBS
32666 # We can link X programs with no special library path.
32667 ac_x_libraries=
32668 else
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.$ac_ext >&5
32671
32672 LIBS=$ac_save_LIBS
32673 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32674 do
32675 # Don't even attempt the hair of trying to link an X program!
32676 for ac_extension in a so sl; do
32677 if test -r "$ac_dir/libX11.$ac_extension"; then
32678 ac_x_libraries=$ac_dir
32679 break 2
32680 fi
32681 done
32682 done
32683 fi
32684
32685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32686 conftest$ac_exeext conftest.$ac_ext
32687 fi # $ac_x_libraries = no
32688
32689 case $ac_x_includes,$ac_x_libraries in #(
32690 no,* | *,no | *\'*)
32691 # Didn't find X, or a directory has "'" in its name.
32692 ac_cv_have_x="have_x=no";; #(
32693 *)
32694 # Record where we found X for the cache.
32695 ac_cv_have_x="have_x=yes\
32696 ac_x_includes='$ac_x_includes'\
32697 ac_x_libraries='$ac_x_libraries'"
32698 esac
32699 fi
32700 ;; #(
32701 *) have_x=yes;;
32702 esac
32703 eval "$ac_cv_have_x"
32704 fi # $with_x != no
32705
32706 if test "$have_x" != yes; then
32707 { echo "$as_me:$LINENO: result: $have_x" >&5
32708 echo "${ECHO_T}$have_x" >&6; }
32709 no_x=yes
32710 else
32711 # If each of the values was on the command line, it overrides each guess.
32712 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32713 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32714 # Update the cache value to reflect the command line values.
32715 ac_cv_have_x="have_x=yes\
32716 ac_x_includes='$x_includes'\
32717 ac_x_libraries='$x_libraries'"
32718 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32719 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32720 fi
32721
32722 if test "$no_x" = yes; then
32723 # Not all programs may use this symbol, but it does not hurt to define it.
32724
32725 cat >>confdefs.h <<\_ACEOF
32726 #define X_DISPLAY_MISSING 1
32727 _ACEOF
32728
32729 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32730 else
32731 if test -n "$x_includes"; then
32732 X_CFLAGS="$X_CFLAGS -I$x_includes"
32733 fi
32734
32735 # It would also be nice to do this for all -L options, not just this one.
32736 if test -n "$x_libraries"; then
32737 X_LIBS="$X_LIBS -L$x_libraries"
32738 # For Solaris; some versions of Sun CC require a space after -R and
32739 # others require no space. Words are not sufficient . . . .
32740 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32741 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32742 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32743 ac_xsave_c_werror_flag=$ac_c_werror_flag
32744 ac_c_werror_flag=yes
32745 cat >conftest.$ac_ext <<_ACEOF
32746 /* confdefs.h. */
32747 _ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h. */
32751
32752 int
32753 main ()
32754 {
32755
32756 ;
32757 return 0;
32758 }
32759 _ACEOF
32760 rm -f conftest.$ac_objext conftest$ac_exeext
32761 if { (ac_try="$ac_link"
32762 case "(($ac_try" in
32763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32764 *) ac_try_echo=$ac_try;;
32765 esac
32766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32767 (eval "$ac_link") 2>conftest.er1
32768 ac_status=$?
32769 grep -v '^ *+' conftest.er1 >conftest.err
32770 rm -f conftest.er1
32771 cat conftest.err >&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } && {
32774 test -z "$ac_c_werror_flag" ||
32775 test ! -s conftest.err
32776 } && test -s conftest$ac_exeext &&
32777 $as_test_x conftest$ac_exeext; then
32778 { echo "$as_me:$LINENO: result: no" >&5
32779 echo "${ECHO_T}no" >&6; }
32780 X_LIBS="$X_LIBS -R$x_libraries"
32781 else
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.$ac_ext >&5
32784
32785 LIBS="$ac_xsave_LIBS -R $x_libraries"
32786 cat >conftest.$ac_ext <<_ACEOF
32787 /* confdefs.h. */
32788 _ACEOF
32789 cat confdefs.h >>conftest.$ac_ext
32790 cat >>conftest.$ac_ext <<_ACEOF
32791 /* end confdefs.h. */
32792
32793 int
32794 main ()
32795 {
32796
32797 ;
32798 return 0;
32799 }
32800 _ACEOF
32801 rm -f conftest.$ac_objext conftest$ac_exeext
32802 if { (ac_try="$ac_link"
32803 case "(($ac_try" in
32804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32805 *) ac_try_echo=$ac_try;;
32806 esac
32807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32808 (eval "$ac_link") 2>conftest.er1
32809 ac_status=$?
32810 grep -v '^ *+' conftest.er1 >conftest.err
32811 rm -f conftest.er1
32812 cat conftest.err >&5
32813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814 (exit $ac_status); } && {
32815 test -z "$ac_c_werror_flag" ||
32816 test ! -s conftest.err
32817 } && test -s conftest$ac_exeext &&
32818 $as_test_x conftest$ac_exeext; then
32819 { echo "$as_me:$LINENO: result: yes" >&5
32820 echo "${ECHO_T}yes" >&6; }
32821 X_LIBS="$X_LIBS -R $x_libraries"
32822 else
32823 echo "$as_me: failed program was:" >&5
32824 sed 's/^/| /' conftest.$ac_ext >&5
32825
32826 { echo "$as_me:$LINENO: result: neither works" >&5
32827 echo "${ECHO_T}neither works" >&6; }
32828 fi
32829
32830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32831 conftest$ac_exeext conftest.$ac_ext
32832 fi
32833
32834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32835 conftest$ac_exeext conftest.$ac_ext
32836 ac_c_werror_flag=$ac_xsave_c_werror_flag
32837 LIBS=$ac_xsave_LIBS
32838 fi
32839
32840 # Check for system-dependent libraries X programs must link with.
32841 # Do this before checking for the system-independent R6 libraries
32842 # (-lICE), since we may need -lsocket or whatever for X linking.
32843
32844 if test "$ISC" = yes; then
32845 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32846 else
32847 # Martyn Johnson says this is needed for Ultrix, if the X
32848 # libraries were built with DECnet support. And Karl Berry says
32849 # the Alpha needs dnet_stub (dnet does not exist).
32850 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32851 cat >conftest.$ac_ext <<_ACEOF
32852 /* confdefs.h. */
32853 _ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32857
32858 /* Override any GCC internal prototype to avoid an error.
32859 Use char because int might match the return type of a GCC
32860 builtin and then its argument prototype would still apply. */
32861 #ifdef __cplusplus
32862 extern "C"
32863 #endif
32864 char XOpenDisplay ();
32865 int
32866 main ()
32867 {
32868 return XOpenDisplay ();
32869 ;
32870 return 0;
32871 }
32872 _ACEOF
32873 rm -f conftest.$ac_objext conftest$ac_exeext
32874 if { (ac_try="$ac_link"
32875 case "(($ac_try" in
32876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32877 *) ac_try_echo=$ac_try;;
32878 esac
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_link") 2>conftest.er1
32881 ac_status=$?
32882 grep -v '^ *+' conftest.er1 >conftest.err
32883 rm -f conftest.er1
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } && {
32887 test -z "$ac_c_werror_flag" ||
32888 test ! -s conftest.err
32889 } && test -s conftest$ac_exeext &&
32890 $as_test_x conftest$ac_exeext; then
32891 :
32892 else
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.$ac_ext >&5
32895
32896 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32897 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32898 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32899 echo $ECHO_N "(cached) $ECHO_C" >&6
32900 else
32901 ac_check_lib_save_LIBS=$LIBS
32902 LIBS="-ldnet $LIBS"
32903 cat >conftest.$ac_ext <<_ACEOF
32904 /* confdefs.h. */
32905 _ACEOF
32906 cat confdefs.h >>conftest.$ac_ext
32907 cat >>conftest.$ac_ext <<_ACEOF
32908 /* end confdefs.h. */
32909
32910 /* Override any GCC internal prototype to avoid an error.
32911 Use char because int might match the return type of a GCC
32912 builtin and then its argument prototype would still apply. */
32913 #ifdef __cplusplus
32914 extern "C"
32915 #endif
32916 char dnet_ntoa ();
32917 int
32918 main ()
32919 {
32920 return dnet_ntoa ();
32921 ;
32922 return 0;
32923 }
32924 _ACEOF
32925 rm -f conftest.$ac_objext conftest$ac_exeext
32926 if { (ac_try="$ac_link"
32927 case "(($ac_try" in
32928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32929 *) ac_try_echo=$ac_try;;
32930 esac
32931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32932 (eval "$ac_link") 2>conftest.er1
32933 ac_status=$?
32934 grep -v '^ *+' conftest.er1 >conftest.err
32935 rm -f conftest.er1
32936 cat conftest.err >&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } && {
32939 test -z "$ac_c_werror_flag" ||
32940 test ! -s conftest.err
32941 } && test -s conftest$ac_exeext &&
32942 $as_test_x conftest$ac_exeext; then
32943 ac_cv_lib_dnet_dnet_ntoa=yes
32944 else
32945 echo "$as_me: failed program was:" >&5
32946 sed 's/^/| /' conftest.$ac_ext >&5
32947
32948 ac_cv_lib_dnet_dnet_ntoa=no
32949 fi
32950
32951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32952 conftest$ac_exeext conftest.$ac_ext
32953 LIBS=$ac_check_lib_save_LIBS
32954 fi
32955 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32956 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32957 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32958 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32959 fi
32960
32961 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32962 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32963 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32964 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 else
32967 ac_check_lib_save_LIBS=$LIBS
32968 LIBS="-ldnet_stub $LIBS"
32969 cat >conftest.$ac_ext <<_ACEOF
32970 /* confdefs.h. */
32971 _ACEOF
32972 cat confdefs.h >>conftest.$ac_ext
32973 cat >>conftest.$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32975
32976 /* Override any GCC internal prototype to avoid an error.
32977 Use char because int might match the return type of a GCC
32978 builtin and then its argument prototype would still apply. */
32979 #ifdef __cplusplus
32980 extern "C"
32981 #endif
32982 char dnet_ntoa ();
32983 int
32984 main ()
32985 {
32986 return dnet_ntoa ();
32987 ;
32988 return 0;
32989 }
32990 _ACEOF
32991 rm -f conftest.$ac_objext conftest$ac_exeext
32992 if { (ac_try="$ac_link"
32993 case "(($ac_try" in
32994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32995 *) ac_try_echo=$ac_try;;
32996 esac
32997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32998 (eval "$ac_link") 2>conftest.er1
32999 ac_status=$?
33000 grep -v '^ *+' conftest.er1 >conftest.err
33001 rm -f conftest.er1
33002 cat conftest.err >&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); } && {
33005 test -z "$ac_c_werror_flag" ||
33006 test ! -s conftest.err
33007 } && test -s conftest$ac_exeext &&
33008 $as_test_x conftest$ac_exeext; then
33009 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33010 else
33011 echo "$as_me: failed program was:" >&5
33012 sed 's/^/| /' conftest.$ac_ext >&5
33013
33014 ac_cv_lib_dnet_stub_dnet_ntoa=no
33015 fi
33016
33017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33018 conftest$ac_exeext conftest.$ac_ext
33019 LIBS=$ac_check_lib_save_LIBS
33020 fi
33021 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33022 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33023 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33024 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33025 fi
33026
33027 fi
33028 fi
33029
33030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33031 conftest$ac_exeext conftest.$ac_ext
33032 LIBS="$ac_xsave_LIBS"
33033
33034 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33035 # to get the SysV transport functions.
33036 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33037 # needs -lnsl.
33038 # The nsl library prevents programs from opening the X display
33039 # on Irix 5.2, according to T.E. Dickey.
33040 # The functions gethostbyname, getservbyname, and inet_addr are
33041 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33042 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33043 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33044 if test "${ac_cv_func_gethostbyname+set}" = set; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33046 else
33047 cat >conftest.$ac_ext <<_ACEOF
33048 /* confdefs.h. */
33049 _ACEOF
33050 cat confdefs.h >>conftest.$ac_ext
33051 cat >>conftest.$ac_ext <<_ACEOF
33052 /* end confdefs.h. */
33053 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33055 #define gethostbyname innocuous_gethostbyname
33056
33057 /* System header to define __stub macros and hopefully few prototypes,
33058 which can conflict with char gethostbyname (); below.
33059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33060 <limits.h> exists even on freestanding compilers. */
33061
33062 #ifdef __STDC__
33063 # include <limits.h>
33064 #else
33065 # include <assert.h>
33066 #endif
33067
33068 #undef gethostbyname
33069
33070 /* Override any GCC internal prototype to avoid an error.
33071 Use char because int might match the return type of a GCC
33072 builtin and then its argument prototype would still apply. */
33073 #ifdef __cplusplus
33074 extern "C"
33075 #endif
33076 char gethostbyname ();
33077 /* The GNU C library defines this for functions which it implements
33078 to always fail with ENOSYS. Some functions are actually named
33079 something starting with __ and the normal name is an alias. */
33080 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33081 choke me
33082 #endif
33083
33084 int
33085 main ()
33086 {
33087 return gethostbyname ();
33088 ;
33089 return 0;
33090 }
33091 _ACEOF
33092 rm -f conftest.$ac_objext conftest$ac_exeext
33093 if { (ac_try="$ac_link"
33094 case "(($ac_try" in
33095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33096 *) ac_try_echo=$ac_try;;
33097 esac
33098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33099 (eval "$ac_link") 2>conftest.er1
33100 ac_status=$?
33101 grep -v '^ *+' conftest.er1 >conftest.err
33102 rm -f conftest.er1
33103 cat conftest.err >&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); } && {
33106 test -z "$ac_c_werror_flag" ||
33107 test ! -s conftest.err
33108 } && test -s conftest$ac_exeext &&
33109 $as_test_x conftest$ac_exeext; then
33110 ac_cv_func_gethostbyname=yes
33111 else
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115 ac_cv_func_gethostbyname=no
33116 fi
33117
33118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33119 conftest$ac_exeext conftest.$ac_ext
33120 fi
33121 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33122 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33123
33124 if test $ac_cv_func_gethostbyname = no; then
33125 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33126 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33127 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 else
33130 ac_check_lib_save_LIBS=$LIBS
33131 LIBS="-lnsl $LIBS"
33132 cat >conftest.$ac_ext <<_ACEOF
33133 /* confdefs.h. */
33134 _ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33138
33139 /* Override any GCC internal prototype to avoid an error.
33140 Use char because int might match the return type of a GCC
33141 builtin and then its argument prototype would still apply. */
33142 #ifdef __cplusplus
33143 extern "C"
33144 #endif
33145 char gethostbyname ();
33146 int
33147 main ()
33148 {
33149 return gethostbyname ();
33150 ;
33151 return 0;
33152 }
33153 _ACEOF
33154 rm -f conftest.$ac_objext conftest$ac_exeext
33155 if { (ac_try="$ac_link"
33156 case "(($ac_try" in
33157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33158 *) ac_try_echo=$ac_try;;
33159 esac
33160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33161 (eval "$ac_link") 2>conftest.er1
33162 ac_status=$?
33163 grep -v '^ *+' conftest.er1 >conftest.err
33164 rm -f conftest.er1
33165 cat conftest.err >&5
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); } && {
33168 test -z "$ac_c_werror_flag" ||
33169 test ! -s conftest.err
33170 } && test -s conftest$ac_exeext &&
33171 $as_test_x conftest$ac_exeext; then
33172 ac_cv_lib_nsl_gethostbyname=yes
33173 else
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33176
33177 ac_cv_lib_nsl_gethostbyname=no
33178 fi
33179
33180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33181 conftest$ac_exeext conftest.$ac_ext
33182 LIBS=$ac_check_lib_save_LIBS
33183 fi
33184 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33185 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33186 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33187 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33188 fi
33189
33190 if test $ac_cv_lib_nsl_gethostbyname = no; then
33191 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33192 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33193 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33195 else
33196 ac_check_lib_save_LIBS=$LIBS
33197 LIBS="-lbsd $LIBS"
33198 cat >conftest.$ac_ext <<_ACEOF
33199 /* confdefs.h. */
33200 _ACEOF
33201 cat confdefs.h >>conftest.$ac_ext
33202 cat >>conftest.$ac_ext <<_ACEOF
33203 /* end confdefs.h. */
33204
33205 /* Override any GCC internal prototype to avoid an error.
33206 Use char because int might match the return type of a GCC
33207 builtin and then its argument prototype would still apply. */
33208 #ifdef __cplusplus
33209 extern "C"
33210 #endif
33211 char gethostbyname ();
33212 int
33213 main ()
33214 {
33215 return gethostbyname ();
33216 ;
33217 return 0;
33218 }
33219 _ACEOF
33220 rm -f conftest.$ac_objext conftest$ac_exeext
33221 if { (ac_try="$ac_link"
33222 case "(($ac_try" in
33223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33224 *) ac_try_echo=$ac_try;;
33225 esac
33226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33227 (eval "$ac_link") 2>conftest.er1
33228 ac_status=$?
33229 grep -v '^ *+' conftest.er1 >conftest.err
33230 rm -f conftest.er1
33231 cat conftest.err >&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); } && {
33234 test -z "$ac_c_werror_flag" ||
33235 test ! -s conftest.err
33236 } && test -s conftest$ac_exeext &&
33237 $as_test_x conftest$ac_exeext; then
33238 ac_cv_lib_bsd_gethostbyname=yes
33239 else
33240 echo "$as_me: failed program was:" >&5
33241 sed 's/^/| /' conftest.$ac_ext >&5
33242
33243 ac_cv_lib_bsd_gethostbyname=no
33244 fi
33245
33246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33247 conftest$ac_exeext conftest.$ac_ext
33248 LIBS=$ac_check_lib_save_LIBS
33249 fi
33250 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33251 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33252 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33254 fi
33255
33256 fi
33257 fi
33258
33259 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33260 # socket/setsockopt and other routines are undefined under SCO ODT
33261 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33262 # on later versions), says Simon Leinen: it contains gethostby*
33263 # variants that don't use the name server (or something). -lsocket
33264 # must be given before -lnsl if both are needed. We assume that
33265 # if connect needs -lnsl, so does gethostbyname.
33266 { echo "$as_me:$LINENO: checking for connect" >&5
33267 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33268 if test "${ac_cv_func_connect+set}" = set; then
33269 echo $ECHO_N "(cached) $ECHO_C" >&6
33270 else
33271 cat >conftest.$ac_ext <<_ACEOF
33272 /* confdefs.h. */
33273 _ACEOF
33274 cat confdefs.h >>conftest.$ac_ext
33275 cat >>conftest.$ac_ext <<_ACEOF
33276 /* end confdefs.h. */
33277 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33279 #define connect innocuous_connect
33280
33281 /* System header to define __stub macros and hopefully few prototypes,
33282 which can conflict with char connect (); below.
33283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33284 <limits.h> exists even on freestanding compilers. */
33285
33286 #ifdef __STDC__
33287 # include <limits.h>
33288 #else
33289 # include <assert.h>
33290 #endif
33291
33292 #undef connect
33293
33294 /* Override any GCC internal prototype to avoid an error.
33295 Use char because int might match the return type of a GCC
33296 builtin and then its argument prototype would still apply. */
33297 #ifdef __cplusplus
33298 extern "C"
33299 #endif
33300 char connect ();
33301 /* The GNU C library defines this for functions which it implements
33302 to always fail with ENOSYS. Some functions are actually named
33303 something starting with __ and the normal name is an alias. */
33304 #if defined __stub_connect || defined __stub___connect
33305 choke me
33306 #endif
33307
33308 int
33309 main ()
33310 {
33311 return connect ();
33312 ;
33313 return 0;
33314 }
33315 _ACEOF
33316 rm -f conftest.$ac_objext conftest$ac_exeext
33317 if { (ac_try="$ac_link"
33318 case "(($ac_try" in
33319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33320 *) ac_try_echo=$ac_try;;
33321 esac
33322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33323 (eval "$ac_link") 2>conftest.er1
33324 ac_status=$?
33325 grep -v '^ *+' conftest.er1 >conftest.err
33326 rm -f conftest.er1
33327 cat conftest.err >&5
33328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329 (exit $ac_status); } && {
33330 test -z "$ac_c_werror_flag" ||
33331 test ! -s conftest.err
33332 } && test -s conftest$ac_exeext &&
33333 $as_test_x conftest$ac_exeext; then
33334 ac_cv_func_connect=yes
33335 else
33336 echo "$as_me: failed program was:" >&5
33337 sed 's/^/| /' conftest.$ac_ext >&5
33338
33339 ac_cv_func_connect=no
33340 fi
33341
33342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33343 conftest$ac_exeext conftest.$ac_ext
33344 fi
33345 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33346 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33347
33348 if test $ac_cv_func_connect = no; then
33349 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33350 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33351 if test "${ac_cv_lib_socket_connect+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 else
33354 ac_check_lib_save_LIBS=$LIBS
33355 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33356 cat >conftest.$ac_ext <<_ACEOF
33357 /* confdefs.h. */
33358 _ACEOF
33359 cat confdefs.h >>conftest.$ac_ext
33360 cat >>conftest.$ac_ext <<_ACEOF
33361 /* end confdefs.h. */
33362
33363 /* Override any GCC internal prototype to avoid an error.
33364 Use char because int might match the return type of a GCC
33365 builtin and then its argument prototype would still apply. */
33366 #ifdef __cplusplus
33367 extern "C"
33368 #endif
33369 char connect ();
33370 int
33371 main ()
33372 {
33373 return connect ();
33374 ;
33375 return 0;
33376 }
33377 _ACEOF
33378 rm -f conftest.$ac_objext conftest$ac_exeext
33379 if { (ac_try="$ac_link"
33380 case "(($ac_try" in
33381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33382 *) ac_try_echo=$ac_try;;
33383 esac
33384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33385 (eval "$ac_link") 2>conftest.er1
33386 ac_status=$?
33387 grep -v '^ *+' conftest.er1 >conftest.err
33388 rm -f conftest.er1
33389 cat conftest.err >&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } && {
33392 test -z "$ac_c_werror_flag" ||
33393 test ! -s conftest.err
33394 } && test -s conftest$ac_exeext &&
33395 $as_test_x conftest$ac_exeext; then
33396 ac_cv_lib_socket_connect=yes
33397 else
33398 echo "$as_me: failed program was:" >&5
33399 sed 's/^/| /' conftest.$ac_ext >&5
33400
33401 ac_cv_lib_socket_connect=no
33402 fi
33403
33404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33405 conftest$ac_exeext conftest.$ac_ext
33406 LIBS=$ac_check_lib_save_LIBS
33407 fi
33408 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33409 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33410 if test $ac_cv_lib_socket_connect = yes; then
33411 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33412 fi
33413
33414 fi
33415
33416 # Guillermo Gomez says -lposix is necessary on A/UX.
33417 { echo "$as_me:$LINENO: checking for remove" >&5
33418 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33419 if test "${ac_cv_func_remove+set}" = set; then
33420 echo $ECHO_N "(cached) $ECHO_C" >&6
33421 else
33422 cat >conftest.$ac_ext <<_ACEOF
33423 /* confdefs.h. */
33424 _ACEOF
33425 cat confdefs.h >>conftest.$ac_ext
33426 cat >>conftest.$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33428 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33430 #define remove innocuous_remove
33431
33432 /* System header to define __stub macros and hopefully few prototypes,
33433 which can conflict with char remove (); below.
33434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33435 <limits.h> exists even on freestanding compilers. */
33436
33437 #ifdef __STDC__
33438 # include <limits.h>
33439 #else
33440 # include <assert.h>
33441 #endif
33442
33443 #undef remove
33444
33445 /* Override any GCC internal prototype to avoid an error.
33446 Use char because int might match the return type of a GCC
33447 builtin and then its argument prototype would still apply. */
33448 #ifdef __cplusplus
33449 extern "C"
33450 #endif
33451 char remove ();
33452 /* The GNU C library defines this for functions which it implements
33453 to always fail with ENOSYS. Some functions are actually named
33454 something starting with __ and the normal name is an alias. */
33455 #if defined __stub_remove || defined __stub___remove
33456 choke me
33457 #endif
33458
33459 int
33460 main ()
33461 {
33462 return remove ();
33463 ;
33464 return 0;
33465 }
33466 _ACEOF
33467 rm -f conftest.$ac_objext conftest$ac_exeext
33468 if { (ac_try="$ac_link"
33469 case "(($ac_try" in
33470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33471 *) ac_try_echo=$ac_try;;
33472 esac
33473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33474 (eval "$ac_link") 2>conftest.er1
33475 ac_status=$?
33476 grep -v '^ *+' conftest.er1 >conftest.err
33477 rm -f conftest.er1
33478 cat conftest.err >&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); } && {
33481 test -z "$ac_c_werror_flag" ||
33482 test ! -s conftest.err
33483 } && test -s conftest$ac_exeext &&
33484 $as_test_x conftest$ac_exeext; then
33485 ac_cv_func_remove=yes
33486 else
33487 echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.$ac_ext >&5
33489
33490 ac_cv_func_remove=no
33491 fi
33492
33493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33494 conftest$ac_exeext conftest.$ac_ext
33495 fi
33496 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33497 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33498
33499 if test $ac_cv_func_remove = no; then
33500 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33501 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33502 if test "${ac_cv_lib_posix_remove+set}" = set; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33504 else
33505 ac_check_lib_save_LIBS=$LIBS
33506 LIBS="-lposix $LIBS"
33507 cat >conftest.$ac_ext <<_ACEOF
33508 /* confdefs.h. */
33509 _ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33513
33514 /* Override any GCC internal prototype to avoid an error.
33515 Use char because int might match the return type of a GCC
33516 builtin and then its argument prototype would still apply. */
33517 #ifdef __cplusplus
33518 extern "C"
33519 #endif
33520 char remove ();
33521 int
33522 main ()
33523 {
33524 return remove ();
33525 ;
33526 return 0;
33527 }
33528 _ACEOF
33529 rm -f conftest.$ac_objext conftest$ac_exeext
33530 if { (ac_try="$ac_link"
33531 case "(($ac_try" in
33532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33533 *) ac_try_echo=$ac_try;;
33534 esac
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_link") 2>conftest.er1
33537 ac_status=$?
33538 grep -v '^ *+' conftest.er1 >conftest.err
33539 rm -f conftest.er1
33540 cat conftest.err >&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } && {
33543 test -z "$ac_c_werror_flag" ||
33544 test ! -s conftest.err
33545 } && test -s conftest$ac_exeext &&
33546 $as_test_x conftest$ac_exeext; then
33547 ac_cv_lib_posix_remove=yes
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 ac_cv_lib_posix_remove=no
33553 fi
33554
33555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33556 conftest$ac_exeext conftest.$ac_ext
33557 LIBS=$ac_check_lib_save_LIBS
33558 fi
33559 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33560 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33561 if test $ac_cv_lib_posix_remove = yes; then
33562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33563 fi
33564
33565 fi
33566
33567 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33568 { echo "$as_me:$LINENO: checking for shmat" >&5
33569 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33570 if test "${ac_cv_func_shmat+set}" = set; then
33571 echo $ECHO_N "(cached) $ECHO_C" >&6
33572 else
33573 cat >conftest.$ac_ext <<_ACEOF
33574 /* confdefs.h. */
33575 _ACEOF
33576 cat confdefs.h >>conftest.$ac_ext
33577 cat >>conftest.$ac_ext <<_ACEOF
33578 /* end confdefs.h. */
33579 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33581 #define shmat innocuous_shmat
33582
33583 /* System header to define __stub macros and hopefully few prototypes,
33584 which can conflict with char shmat (); below.
33585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33586 <limits.h> exists even on freestanding compilers. */
33587
33588 #ifdef __STDC__
33589 # include <limits.h>
33590 #else
33591 # include <assert.h>
33592 #endif
33593
33594 #undef shmat
33595
33596 /* Override any GCC internal prototype to avoid an error.
33597 Use char because int might match the return type of a GCC
33598 builtin and then its argument prototype would still apply. */
33599 #ifdef __cplusplus
33600 extern "C"
33601 #endif
33602 char shmat ();
33603 /* The GNU C library defines this for functions which it implements
33604 to always fail with ENOSYS. Some functions are actually named
33605 something starting with __ and the normal name is an alias. */
33606 #if defined __stub_shmat || defined __stub___shmat
33607 choke me
33608 #endif
33609
33610 int
33611 main ()
33612 {
33613 return shmat ();
33614 ;
33615 return 0;
33616 }
33617 _ACEOF
33618 rm -f conftest.$ac_objext conftest$ac_exeext
33619 if { (ac_try="$ac_link"
33620 case "(($ac_try" in
33621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33622 *) ac_try_echo=$ac_try;;
33623 esac
33624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33625 (eval "$ac_link") 2>conftest.er1
33626 ac_status=$?
33627 grep -v '^ *+' conftest.er1 >conftest.err
33628 rm -f conftest.er1
33629 cat conftest.err >&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); } && {
33632 test -z "$ac_c_werror_flag" ||
33633 test ! -s conftest.err
33634 } && test -s conftest$ac_exeext &&
33635 $as_test_x conftest$ac_exeext; then
33636 ac_cv_func_shmat=yes
33637 else
33638 echo "$as_me: failed program was:" >&5
33639 sed 's/^/| /' conftest.$ac_ext >&5
33640
33641 ac_cv_func_shmat=no
33642 fi
33643
33644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33645 conftest$ac_exeext conftest.$ac_ext
33646 fi
33647 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33648 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33649
33650 if test $ac_cv_func_shmat = no; then
33651 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33652 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33653 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33654 echo $ECHO_N "(cached) $ECHO_C" >&6
33655 else
33656 ac_check_lib_save_LIBS=$LIBS
33657 LIBS="-lipc $LIBS"
33658 cat >conftest.$ac_ext <<_ACEOF
33659 /* confdefs.h. */
33660 _ACEOF
33661 cat confdefs.h >>conftest.$ac_ext
33662 cat >>conftest.$ac_ext <<_ACEOF
33663 /* end confdefs.h. */
33664
33665 /* Override any GCC internal prototype to avoid an error.
33666 Use char because int might match the return type of a GCC
33667 builtin and then its argument prototype would still apply. */
33668 #ifdef __cplusplus
33669 extern "C"
33670 #endif
33671 char shmat ();
33672 int
33673 main ()
33674 {
33675 return shmat ();
33676 ;
33677 return 0;
33678 }
33679 _ACEOF
33680 rm -f conftest.$ac_objext conftest$ac_exeext
33681 if { (ac_try="$ac_link"
33682 case "(($ac_try" in
33683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33684 *) ac_try_echo=$ac_try;;
33685 esac
33686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33687 (eval "$ac_link") 2>conftest.er1
33688 ac_status=$?
33689 grep -v '^ *+' conftest.er1 >conftest.err
33690 rm -f conftest.er1
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } && {
33694 test -z "$ac_c_werror_flag" ||
33695 test ! -s conftest.err
33696 } && test -s conftest$ac_exeext &&
33697 $as_test_x conftest$ac_exeext; then
33698 ac_cv_lib_ipc_shmat=yes
33699 else
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.$ac_ext >&5
33702
33703 ac_cv_lib_ipc_shmat=no
33704 fi
33705
33706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33707 conftest$ac_exeext conftest.$ac_ext
33708 LIBS=$ac_check_lib_save_LIBS
33709 fi
33710 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33711 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33712 if test $ac_cv_lib_ipc_shmat = yes; then
33713 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33714 fi
33715
33716 fi
33717 fi
33718
33719 # Check for libraries that X11R6 Xt/Xaw programs need.
33720 ac_save_LDFLAGS=$LDFLAGS
33721 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33722 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33723 # check for ICE first), but we must link in the order -lSM -lICE or
33724 # we get undefined symbols. So assume we have SM if we have ICE.
33725 # These have to be linked with before -lX11, unlike the other
33726 # libraries we check for below, so use a different variable.
33727 # John Interrante, Karl Berry
33728 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33729 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33730 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 else
33733 ac_check_lib_save_LIBS=$LIBS
33734 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33735 cat >conftest.$ac_ext <<_ACEOF
33736 /* confdefs.h. */
33737 _ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741
33742 /* Override any GCC internal prototype to avoid an error.
33743 Use char because int might match the return type of a GCC
33744 builtin and then its argument prototype would still apply. */
33745 #ifdef __cplusplus
33746 extern "C"
33747 #endif
33748 char IceConnectionNumber ();
33749 int
33750 main ()
33751 {
33752 return IceConnectionNumber ();
33753 ;
33754 return 0;
33755 }
33756 _ACEOF
33757 rm -f conftest.$ac_objext conftest$ac_exeext
33758 if { (ac_try="$ac_link"
33759 case "(($ac_try" in
33760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33761 *) ac_try_echo=$ac_try;;
33762 esac
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_link") 2>conftest.er1
33765 ac_status=$?
33766 grep -v '^ *+' conftest.er1 >conftest.err
33767 rm -f conftest.er1
33768 cat conftest.err >&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest$ac_exeext &&
33774 $as_test_x conftest$ac_exeext; then
33775 ac_cv_lib_ICE_IceConnectionNumber=yes
33776 else
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.$ac_ext >&5
33779
33780 ac_cv_lib_ICE_IceConnectionNumber=no
33781 fi
33782
33783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33784 conftest$ac_exeext conftest.$ac_ext
33785 LIBS=$ac_check_lib_save_LIBS
33786 fi
33787 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33788 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33789 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33790 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33791 fi
33792
33793 LDFLAGS=$ac_save_LDFLAGS
33794
33795 fi
33796
33797
33798 if test "$no_x" = "yes"; then
33799 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33800 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33801 { (exit 1); exit 1; }; }
33802 fi
33803
33804 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33805 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33806 AFMINSTALL=afminstall
33807 COMPILED_X_PROGRAM=0
33808
33809 fi
33810
33811 if test "$wxUSE_X11" = 1; then
33812 if test "$wxUSE_NANOX" = "yes"; then
33813 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33814 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33815 if test "x$MICROWIN" = x ; then
33816 { echo "$as_me:$LINENO: result: not found" >&5
33817 echo "${ECHO_T}not found" >&6; }
33818 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33819 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33820 { (exit 1); exit 1; }; }
33821 else
33822 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33823 echo "${ECHO_T}$MICROWIN" >&6; }
33824 cat >>confdefs.h <<\_ACEOF
33825 #define wxUSE_NANOX 1
33826 _ACEOF
33827
33828 fi
33829 fi
33830
33831 if test "$wxUSE_UNICODE" = "yes"; then
33832
33833
33834 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33835 if test -n "$ac_tool_prefix"; then
33836 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33837 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33840 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33841 echo $ECHO_N "(cached) $ECHO_C" >&6
33842 else
33843 case $PKG_CONFIG in
33844 [\\/]* | ?:[\\/]*)
33845 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33846 ;;
33847 *)
33848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33849 for as_dir in $PATH
33850 do
33851 IFS=$as_save_IFS
33852 test -z "$as_dir" && as_dir=.
33853 for ac_exec_ext in '' $ac_executable_extensions; do
33854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33855 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33857 break 2
33858 fi
33859 done
33860 done
33861 IFS=$as_save_IFS
33862
33863 ;;
33864 esac
33865 fi
33866 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33867 if test -n "$PKG_CONFIG"; then
33868 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33869 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33870 else
33871 { echo "$as_me:$LINENO: result: no" >&5
33872 echo "${ECHO_T}no" >&6; }
33873 fi
33874
33875
33876 fi
33877 if test -z "$ac_cv_path_PKG_CONFIG"; then
33878 ac_pt_PKG_CONFIG=$PKG_CONFIG
33879 # Extract the first word of "pkg-config", so it can be a program name with args.
33880 set dummy pkg-config; ac_word=$2
33881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33883 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33884 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 else
33886 case $ac_pt_PKG_CONFIG in
33887 [\\/]* | ?:[\\/]*)
33888 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33889 ;;
33890 *)
33891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33892 for as_dir in $PATH
33893 do
33894 IFS=$as_save_IFS
33895 test -z "$as_dir" && as_dir=.
33896 for ac_exec_ext in '' $ac_executable_extensions; do
33897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33898 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33900 break 2
33901 fi
33902 done
33903 done
33904 IFS=$as_save_IFS
33905
33906 ;;
33907 esac
33908 fi
33909 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33910 if test -n "$ac_pt_PKG_CONFIG"; then
33911 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33912 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33913 else
33914 { echo "$as_me:$LINENO: result: no" >&5
33915 echo "${ECHO_T}no" >&6; }
33916 fi
33917
33918 if test "x$ac_pt_PKG_CONFIG" = x; then
33919 PKG_CONFIG=""
33920 else
33921 case $cross_compiling:$ac_tool_warned in
33922 yes:)
33923 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33924 whose name does not start with the host triplet. If you think this
33925 configuration is useful to you, please write to autoconf@gnu.org." >&5
33926 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33927 whose name does not start with the host triplet. If you think this
33928 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33929 ac_tool_warned=yes ;;
33930 esac
33931 PKG_CONFIG=$ac_pt_PKG_CONFIG
33932 fi
33933 else
33934 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33935 fi
33936
33937 fi
33938 if test -n "$PKG_CONFIG"; then
33939 _pkg_min_version=0.9.0
33940 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33941 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33942 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33943 { echo "$as_me:$LINENO: result: yes" >&5
33944 echo "${ECHO_T}yes" >&6; }
33945 else
33946 { echo "$as_me:$LINENO: result: no" >&5
33947 echo "${ECHO_T}no" >&6; }
33948 PKG_CONFIG=""
33949 fi
33950
33951 fi
33952
33953
33954 pkg_failed=no
33955 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33956 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33957
33958 if test -n "$PKG_CONFIG"; then
33959 if test -n "$PANGOX_CFLAGS"; then
33960 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33961 else
33962 if test -n "$PKG_CONFIG" && \
33963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33964 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; then
33968 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33969 else
33970 pkg_failed=yes
33971 fi
33972 fi
33973 else
33974 pkg_failed=untried
33975 fi
33976 if test -n "$PKG_CONFIG"; then
33977 if test -n "$PANGOX_LIBS"; then
33978 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33979 else
33980 if test -n "$PKG_CONFIG" && \
33981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33982 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33983 ac_status=$?
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; then
33986 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33987 else
33988 pkg_failed=yes
33989 fi
33990 fi
33991 else
33992 pkg_failed=untried
33993 fi
33994
33995
33996
33997 if test $pkg_failed = yes; then
33998
33999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34000 _pkg_short_errors_supported=yes
34001 else
34002 _pkg_short_errors_supported=no
34003 fi
34004 if test $_pkg_short_errors_supported = yes; then
34005 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34006 else
34007 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34008 fi
34009 # Put the nasty error message in config.log where it belongs
34010 echo "$PANGOX_PKG_ERRORS" >&5
34011
34012
34013 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34014 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34015 { (exit 1); exit 1; }; }
34016
34017
34018 elif test $pkg_failed = untried; then
34019
34020 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34021 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34022 { (exit 1); exit 1; }; }
34023
34024
34025 else
34026 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34027 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34028 { echo "$as_me:$LINENO: result: yes" >&5
34029 echo "${ECHO_T}yes" >&6; }
34030
34031 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34032 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34033 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34034
34035 fi
34036
34037 pkg_failed=no
34038 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34039 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34040
34041 if test -n "$PKG_CONFIG"; then
34042 if test -n "$PANGOFT2_CFLAGS"; then
34043 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34044 else
34045 if test -n "$PKG_CONFIG" && \
34046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34047 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34048 ac_status=$?
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); }; then
34051 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34052 else
34053 pkg_failed=yes
34054 fi
34055 fi
34056 else
34057 pkg_failed=untried
34058 fi
34059 if test -n "$PKG_CONFIG"; then
34060 if test -n "$PANGOFT2_LIBS"; then
34061 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34062 else
34063 if test -n "$PKG_CONFIG" && \
34064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34065 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34066 ac_status=$?
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); }; then
34069 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34070 else
34071 pkg_failed=yes
34072 fi
34073 fi
34074 else
34075 pkg_failed=untried
34076 fi
34077
34078
34079
34080 if test $pkg_failed = yes; then
34081
34082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34083 _pkg_short_errors_supported=yes
34084 else
34085 _pkg_short_errors_supported=no
34086 fi
34087 if test $_pkg_short_errors_supported = yes; then
34088 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34089 else
34090 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34091 fi
34092 # Put the nasty error message in config.log where it belongs
34093 echo "$PANGOFT2_PKG_ERRORS" >&5
34094
34095
34096 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34097 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34098 wxUSE_PRINTING_ARCHITECTURE="no"
34099
34100
34101 elif test $pkg_failed = untried; then
34102
34103 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34104 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34105 wxUSE_PRINTING_ARCHITECTURE="no"
34106
34107
34108 else
34109 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34110 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34111 { echo "$as_me:$LINENO: result: yes" >&5
34112 echo "${ECHO_T}yes" >&6; }
34113
34114 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34115 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34116 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34117
34118 fi
34119
34120 pkg_failed=no
34121 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34122 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34123
34124 if test -n "$PKG_CONFIG"; then
34125 if test -n "$PANGOXFT_CFLAGS"; then
34126 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34127 else
34128 if test -n "$PKG_CONFIG" && \
34129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34130 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34131 ac_status=$?
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); }; then
34134 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34135 else
34136 pkg_failed=yes
34137 fi
34138 fi
34139 else
34140 pkg_failed=untried
34141 fi
34142 if test -n "$PKG_CONFIG"; then
34143 if test -n "$PANGOXFT_LIBS"; then
34144 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34145 else
34146 if test -n "$PKG_CONFIG" && \
34147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34148 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34149 ac_status=$?
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; then
34152 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34153 else
34154 pkg_failed=yes
34155 fi
34156 fi
34157 else
34158 pkg_failed=untried
34159 fi
34160
34161
34162
34163 if test $pkg_failed = yes; then
34164
34165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34166 _pkg_short_errors_supported=yes
34167 else
34168 _pkg_short_errors_supported=no
34169 fi
34170 if test $_pkg_short_errors_supported = yes; then
34171 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34172 else
34173 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34174 fi
34175 # Put the nasty error message in config.log where it belongs
34176 echo "$PANGOXFT_PKG_ERRORS" >&5
34177
34178
34179 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34180 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34181
34182
34183 elif test $pkg_failed = untried; then
34184
34185 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34186 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34187
34188
34189 else
34190 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34191 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34192 { echo "$as_me:$LINENO: result: yes" >&5
34193 echo "${ECHO_T}yes" >&6; }
34194
34195 cat >>confdefs.h <<\_ACEOF
34196 #define HAVE_PANGO_XFT 1
34197 _ACEOF
34198
34199 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34200 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34201 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34202
34203 fi
34204 save_LIBS="$LIBS"
34205 LIBS="$LIBS $PANGOX_LIBS"
34206
34207 for ac_func in pango_font_family_is_monospace
34208 do
34209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34212 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34213 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 else
34215 cat >conftest.$ac_ext <<_ACEOF
34216 /* confdefs.h. */
34217 _ACEOF
34218 cat confdefs.h >>conftest.$ac_ext
34219 cat >>conftest.$ac_ext <<_ACEOF
34220 /* end confdefs.h. */
34221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34223 #define $ac_func innocuous_$ac_func
34224
34225 /* System header to define __stub macros and hopefully few prototypes,
34226 which can conflict with char $ac_func (); below.
34227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34228 <limits.h> exists even on freestanding compilers. */
34229
34230 #ifdef __STDC__
34231 # include <limits.h>
34232 #else
34233 # include <assert.h>
34234 #endif
34235
34236 #undef $ac_func
34237
34238 /* Override any GCC internal prototype to avoid an error.
34239 Use char because int might match the return type of a GCC
34240 builtin and then its argument prototype would still apply. */
34241 #ifdef __cplusplus
34242 extern "C"
34243 #endif
34244 char $ac_func ();
34245 /* The GNU C library defines this for functions which it implements
34246 to always fail with ENOSYS. Some functions are actually named
34247 something starting with __ and the normal name is an alias. */
34248 #if defined __stub_$ac_func || defined __stub___$ac_func
34249 choke me
34250 #endif
34251
34252 int
34253 main ()
34254 {
34255 return $ac_func ();
34256 ;
34257 return 0;
34258 }
34259 _ACEOF
34260 rm -f conftest.$ac_objext conftest$ac_exeext
34261 if { (ac_try="$ac_link"
34262 case "(($ac_try" in
34263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34265 esac
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_link") 2>conftest.er1
34268 ac_status=$?
34269 grep -v '^ *+' conftest.er1 >conftest.err
34270 rm -f conftest.er1
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest$ac_exeext &&
34277 $as_test_x conftest$ac_exeext; then
34278 eval "$as_ac_var=yes"
34279 else
34280 echo "$as_me: failed program was:" >&5
34281 sed 's/^/| /' conftest.$ac_ext >&5
34282
34283 eval "$as_ac_var=no"
34284 fi
34285
34286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34287 conftest$ac_exeext conftest.$ac_ext
34288 fi
34289 ac_res=`eval echo '${'$as_ac_var'}'`
34290 { echo "$as_me:$LINENO: result: $ac_res" >&5
34291 echo "${ECHO_T}$ac_res" >&6; }
34292 if test `eval echo '${'$as_ac_var'}'` = yes; then
34293 cat >>confdefs.h <<_ACEOF
34294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34295 _ACEOF
34296
34297 fi
34298 done
34299
34300 LIBS="$save_LIBS"
34301 fi
34302
34303 wxUSE_UNIVERSAL="yes"
34304
34305 if test "$wxUSE_NANOX" = "yes"; then
34306 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34307 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"
34308 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34309 else
34310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34311 fi
34312
34313 TOOLKIT=X11
34314 GUIDIST=X11_DIST
34315 fi
34316
34317 if test "$wxUSE_MOTIF" = 1; then
34318 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34319 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34320
34321 ac_find_includes=
34322 for ac_dir in $SEARCH_INCLUDE /usr/include;
34323 do
34324 if test -f "$ac_dir/Xm/Xm.h"; then
34325 ac_find_includes=$ac_dir
34326 break
34327 fi
34328 done
34329
34330 if test "$ac_find_includes" != "" ; then
34331 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34332 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34333
34334 if test "x$ac_find_includes" = "x/usr/include"; then
34335 ac_path_to_include=""
34336 else
34337 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34338 result=$?
34339 if test $result = 0; then
34340 ac_path_to_include=""
34341 else
34342 ac_path_to_include=" -I$ac_find_includes"
34343 fi
34344 fi
34345
34346 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34347 else
34348 save_CFLAGS=$CFLAGS
34349 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34350
34351 cat >conftest.$ac_ext <<_ACEOF
34352 /* confdefs.h. */
34353 _ACEOF
34354 cat confdefs.h >>conftest.$ac_ext
34355 cat >>conftest.$ac_ext <<_ACEOF
34356 /* end confdefs.h. */
34357
34358 #include <Xm/Xm.h>
34359
34360 int
34361 main ()
34362 {
34363
34364 int version;
34365 version = xmUseVersion;
34366
34367 ;
34368 return 0;
34369 }
34370 _ACEOF
34371 rm -f conftest.$ac_objext
34372 if { (ac_try="$ac_compile"
34373 case "(($ac_try" in
34374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34375 *) ac_try_echo=$ac_try;;
34376 esac
34377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34378 (eval "$ac_compile") 2>conftest.er1
34379 ac_status=$?
34380 grep -v '^ *+' conftest.er1 >conftest.err
34381 rm -f conftest.er1
34382 cat conftest.err >&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); } && {
34385 test -z "$ac_c_werror_flag" ||
34386 test ! -s conftest.err
34387 } && test -s conftest.$ac_objext; then
34388
34389 { echo "$as_me:$LINENO: result: found in default search path" >&5
34390 echo "${ECHO_T}found in default search path" >&6; }
34391 COMPILED_X_PROGRAM=1
34392
34393 else
34394 echo "$as_me: failed program was:" >&5
34395 sed 's/^/| /' conftest.$ac_ext >&5
34396
34397
34398 { echo "$as_me:$LINENO: result: no" >&5
34399 echo "${ECHO_T}no" >&6; }
34400 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34401 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34402 { (exit 1); exit 1; }; }
34403
34404
34405 fi
34406
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408
34409 CFLAGS=$save_CFLAGS
34410 fi
34411
34412
34413 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34414 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34415
34416 ac_find_libraries=
34417 for ac_dir in $SEARCH_LIB;
34418 do
34419 for ac_extension in a so sl dylib dll.a; do
34420 if test -f "$ac_dir/libXm.$ac_extension"; then
34421 ac_find_libraries=$ac_dir
34422 break 2
34423 fi
34424 done
34425 done
34426
34427
34428 if test "x$ac_find_libraries" != "x" ; then
34429 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34430 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34431
34432
34433 if test "$ac_find_libraries" = "default location"; then
34434 ac_path_to_link=""
34435 else
34436 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34437 result=$?
34438 if test $result = 0; then
34439 ac_path_to_link=""
34440 else
34441 ac_path_to_link=" -L$ac_find_libraries"
34442 fi
34443 fi
34444
34445 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34446 else
34447 save_CFLAGS=$CFLAGS
34448 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34449 save_LIBS="$LIBS"
34450 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34451
34452 cat >conftest.$ac_ext <<_ACEOF
34453 /* confdefs.h. */
34454 _ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458
34459 #include <Xm/Xm.h>
34460
34461 int
34462 main ()
34463 {
34464
34465 int version;
34466 version = xmUseVersion;
34467
34468 ;
34469 return 0;
34470 }
34471 _ACEOF
34472 rm -f conftest.$ac_objext conftest$ac_exeext
34473 if { (ac_try="$ac_link"
34474 case "(($ac_try" in
34475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34476 *) ac_try_echo=$ac_try;;
34477 esac
34478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34479 (eval "$ac_link") 2>conftest.er1
34480 ac_status=$?
34481 grep -v '^ *+' conftest.er1 >conftest.err
34482 rm -f conftest.er1
34483 cat conftest.err >&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); } && {
34486 test -z "$ac_c_werror_flag" ||
34487 test ! -s conftest.err
34488 } && test -s conftest$ac_exeext &&
34489 $as_test_x conftest$ac_exeext; then
34490
34491 { echo "$as_me:$LINENO: result: found in default search path" >&5
34492 echo "${ECHO_T}found in default search path" >&6; }
34493 COMPILED_X_PROGRAM=1
34494
34495 else
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.$ac_ext >&5
34498
34499
34500 { echo "$as_me:$LINENO: result: no" >&5
34501 echo "${ECHO_T}no" >&6; }
34502 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34503 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34504 { (exit 1); exit 1; }; }
34505
34506
34507 fi
34508
34509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34510 conftest$ac_exeext conftest.$ac_ext
34511
34512 CFLAGS=$save_CFLAGS
34513 LIBS="$save_LIBS"
34514 fi
34515
34516 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34517 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34518 libp_link=""
34519 libsm_ice_link=""
34520 libs_found=0
34521 for libp in "" " -lXp"; do
34522 if test "$libs_found" = "0"; then
34523 for libsm_ice in "" " -lSM -lICE"; do
34524 if test "$libs_found" = "0"; then
34525 save_LIBS="$LIBS"
34526 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34527 save_CFLAGS=$CFLAGS
34528 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34529
34530 cat >conftest.$ac_ext <<_ACEOF
34531 /* confdefs.h. */
34532 _ACEOF
34533 cat confdefs.h >>conftest.$ac_ext
34534 cat >>conftest.$ac_ext <<_ACEOF
34535 /* end confdefs.h. */
34536
34537 #include <Xm/Xm.h>
34538 #include <Xm/List.h>
34539
34540 int
34541 main ()
34542 {
34543
34544 XmString string = NULL;
34545 Widget w = NULL;
34546 int position = 0;
34547 XmListAddItem(w, string, position);
34548
34549 ;
34550 return 0;
34551 }
34552 _ACEOF
34553 rm -f conftest.$ac_objext conftest$ac_exeext
34554 if { (ac_try="$ac_link"
34555 case "(($ac_try" in
34556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34557 *) ac_try_echo=$ac_try;;
34558 esac
34559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34560 (eval "$ac_link") 2>conftest.er1
34561 ac_status=$?
34562 grep -v '^ *+' conftest.er1 >conftest.err
34563 rm -f conftest.er1
34564 cat conftest.err >&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); } && {
34567 test -z "$ac_c_werror_flag" ||
34568 test ! -s conftest.err
34569 } && test -s conftest$ac_exeext &&
34570 $as_test_x conftest$ac_exeext; then
34571
34572 libp_link="$libp"
34573 libsm_ice_link="$libsm_ice"
34574 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34575 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34576 libs_found=1
34577
34578 else
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.$ac_ext >&5
34581
34582
34583
34584 fi
34585
34586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34587 conftest$ac_exeext conftest.$ac_ext
34588
34589 LIBS="$save_LIBS"
34590 CFLAGS=$save_CFLAGS
34591 fi
34592 done
34593 fi
34594 done
34595
34596 if test "$libs_found" = "0"; then
34597 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34598 echo "${ECHO_T}can't find the right libraries" >&6; }
34599 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34600 echo "$as_me: error: can't link a simple motif program" >&2;}
34601 { (exit 1); exit 1; }; }
34602 fi
34603
34604 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34605 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34606 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34607 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 else
34609 ac_check_lib_save_LIBS=$LIBS
34610 LIBS="-lSgm $LIBS"
34611 cat >conftest.$ac_ext <<_ACEOF
34612 /* confdefs.h. */
34613 _ACEOF
34614 cat confdefs.h >>conftest.$ac_ext
34615 cat >>conftest.$ac_ext <<_ACEOF
34616 /* end confdefs.h. */
34617
34618 /* Override any GCC internal prototype to avoid an error.
34619 Use char because int might match the return type of a GCC
34620 builtin and then its argument prototype would still apply. */
34621 #ifdef __cplusplus
34622 extern "C"
34623 #endif
34624 char SgCreateList ();
34625 int
34626 main ()
34627 {
34628 return SgCreateList ();
34629 ;
34630 return 0;
34631 }
34632 _ACEOF
34633 rm -f conftest.$ac_objext conftest$ac_exeext
34634 if { (ac_try="$ac_link"
34635 case "(($ac_try" in
34636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34637 *) ac_try_echo=$ac_try;;
34638 esac
34639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34640 (eval "$ac_link") 2>conftest.er1
34641 ac_status=$?
34642 grep -v '^ *+' conftest.er1 >conftest.err
34643 rm -f conftest.er1
34644 cat conftest.err >&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); } && {
34647 test -z "$ac_c_werror_flag" ||
34648 test ! -s conftest.err
34649 } && test -s conftest$ac_exeext &&
34650 $as_test_x conftest$ac_exeext; then
34651 ac_cv_lib_Sgm_SgCreateList=yes
34652 else
34653 echo "$as_me: failed program was:" >&5
34654 sed 's/^/| /' conftest.$ac_ext >&5
34655
34656 ac_cv_lib_Sgm_SgCreateList=no
34657 fi
34658
34659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34660 conftest$ac_exeext conftest.$ac_ext
34661 LIBS=$ac_check_lib_save_LIBS
34662 fi
34663 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34664 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34665 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34666 libsgm_link=" -lSgm"
34667 fi
34668
34669
34670 save_CFLAGS=$CFLAGS
34671 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34672
34673 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34674 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34675 if test "${wx_cv_lib_motif2+set}" = set; then
34676 echo $ECHO_N "(cached) $ECHO_C" >&6
34677 else
34678 cat >conftest.$ac_ext <<_ACEOF
34679 /* confdefs.h. */
34680 _ACEOF
34681 cat confdefs.h >>conftest.$ac_ext
34682 cat >>conftest.$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34684
34685 #include <Xm/Xm.h>
34686
34687 int
34688 main ()
34689 {
34690
34691 #if XmVersion < 2000
34692 Not Motif 2
34693 #endif
34694
34695 ;
34696 return 0;
34697 }
34698 _ACEOF
34699 rm -f conftest.$ac_objext
34700 if { (ac_try="$ac_compile"
34701 case "(($ac_try" in
34702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34703 *) ac_try_echo=$ac_try;;
34704 esac
34705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34706 (eval "$ac_compile") 2>conftest.er1
34707 ac_status=$?
34708 grep -v '^ *+' conftest.er1 >conftest.err
34709 rm -f conftest.er1
34710 cat conftest.err >&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); } && {
34713 test -z "$ac_c_werror_flag" ||
34714 test ! -s conftest.err
34715 } && test -s conftest.$ac_objext; then
34716 wx_cv_lib_motif2="yes"
34717 else
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.$ac_ext >&5
34720
34721 wx_cv_lib_motif2="no"
34722 fi
34723
34724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34725 fi
34726 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34727 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34728 if test "$wx_cv_lib_motif2" = "yes"; then
34729 cat >>confdefs.h <<\_ACEOF
34730 #define __WXMOTIF20__ 1
34731 _ACEOF
34732
34733 else
34734 cat >>confdefs.h <<\_ACEOF
34735 #define __WXMOTIF20__ 0
34736 _ACEOF
34737
34738 fi
34739
34740 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34741 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34742 if test "${wx_cv_lib_lesstif+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 else
34745 cat >conftest.$ac_ext <<_ACEOF
34746 /* confdefs.h. */
34747 _ACEOF
34748 cat confdefs.h >>conftest.$ac_ext
34749 cat >>conftest.$ac_ext <<_ACEOF
34750 /* end confdefs.h. */
34751
34752 #include <Xm/Xm.h>
34753
34754 int
34755 main ()
34756 {
34757
34758 #if !defined(LesstifVersion) || LesstifVersion <= 0
34759 Not Lesstif
34760 #endif
34761
34762 ;
34763 return 0;
34764 }
34765 _ACEOF
34766 rm -f conftest.$ac_objext
34767 if { (ac_try="$ac_compile"
34768 case "(($ac_try" in
34769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34770 *) ac_try_echo=$ac_try;;
34771 esac
34772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34773 (eval "$ac_compile") 2>conftest.er1
34774 ac_status=$?
34775 grep -v '^ *+' conftest.er1 >conftest.err
34776 rm -f conftest.er1
34777 cat conftest.err >&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } && {
34780 test -z "$ac_c_werror_flag" ||
34781 test ! -s conftest.err
34782 } && test -s conftest.$ac_objext; then
34783 wx_cv_lib_lesstif="yes"
34784 else
34785 echo "$as_me: failed program was:" >&5
34786 sed 's/^/| /' conftest.$ac_ext >&5
34787
34788 wx_cv_lib_lesstif="no"
34789 fi
34790
34791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34792
34793 fi
34794 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34795 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34796 if test "$wx_cv_lib_lesstif" = "yes"; then
34797 cat >>confdefs.h <<\_ACEOF
34798 #define __WXLESSTIF__ 1
34799 _ACEOF
34800
34801 else
34802 cat >>confdefs.h <<\_ACEOF
34803 #define __WXLESSTIF__ 0
34804 _ACEOF
34805
34806 fi
34807
34808 CFLAGS=$save_CFLAGS
34809
34810 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34811 TOOLKIT=MOTIF
34812 GUIDIST=MOTIF_DIST
34813 fi
34814
34815 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34816 if test "$wxUSE_LIBXPM" = "sys"; then
34817 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34818 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34819
34820 ac_find_libraries=
34821 for ac_dir in $SEARCH_LIB;
34822 do
34823 for ac_extension in a so sl dylib dll.a; do
34824 if test -f "$ac_dir/libXpm.$ac_extension"; then
34825 ac_find_libraries=$ac_dir
34826 break 2
34827 fi
34828 done
34829 done
34830
34831 if test "$ac_find_libraries" != "" ; then
34832
34833 if test "$ac_find_libraries" = "default location"; then
34834 ac_path_to_link=""
34835 else
34836 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34837 result=$?
34838 if test $result = 0; then
34839 ac_path_to_link=""
34840 else
34841 ac_path_to_link=" -L$ac_find_libraries"
34842 fi
34843 fi
34844
34845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34846 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34847 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34848
34849 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34850 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34851 if test "${wx_cv_x11_xpm_h+set}" = set; then
34852 echo $ECHO_N "(cached) $ECHO_C" >&6
34853 else
34854
34855 save_CFLAGS=$CFLAGS
34856 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34857
34858 cat >conftest.$ac_ext <<_ACEOF
34859 /* confdefs.h. */
34860 _ACEOF
34861 cat confdefs.h >>conftest.$ac_ext
34862 cat >>conftest.$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864
34865 #include <X11/xpm.h>
34866
34867 int
34868 main ()
34869 {
34870
34871 int version;
34872 version = XpmLibraryVersion();
34873
34874 ;
34875 return 0;
34876 }
34877 _ACEOF
34878 rm -f conftest.$ac_objext
34879 if { (ac_try="$ac_compile"
34880 case "(($ac_try" in
34881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34882 *) ac_try_echo=$ac_try;;
34883 esac
34884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34885 (eval "$ac_compile") 2>conftest.er1
34886 ac_status=$?
34887 grep -v '^ *+' conftest.er1 >conftest.err
34888 rm -f conftest.er1
34889 cat conftest.err >&5
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); } && {
34892 test -z "$ac_c_werror_flag" ||
34893 test ! -s conftest.err
34894 } && test -s conftest.$ac_objext; then
34895 wx_cv_x11_xpm_h=yes
34896 else
34897 echo "$as_me: failed program was:" >&5
34898 sed 's/^/| /' conftest.$ac_ext >&5
34899
34900 wx_cv_x11_xpm_h=no
34901
34902 fi
34903
34904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34905
34906 CFLAGS=$save_CFLAGS
34907
34908
34909 fi
34910 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34911 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34912
34913 if test $wx_cv_x11_xpm_h = "yes"; then
34914 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34915 cat >>confdefs.h <<\_ACEOF
34916 #define wxHAVE_LIB_XPM 1
34917 _ACEOF
34918
34919 else
34920 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34921 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34922 fi
34923 fi
34924
34925 fi
34926
34927 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34928 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34929 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34931 else
34932 ac_check_lib_save_LIBS=$LIBS
34933 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34934 cat >conftest.$ac_ext <<_ACEOF
34935 /* confdefs.h. */
34936 _ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940
34941 /* Override any GCC internal prototype to avoid an error.
34942 Use char because int might match the return type of a GCC
34943 builtin and then its argument prototype would still apply. */
34944 #ifdef __cplusplus
34945 extern "C"
34946 #endif
34947 char XShapeQueryExtension ();
34948 int
34949 main ()
34950 {
34951 return XShapeQueryExtension ();
34952 ;
34953 return 0;
34954 }
34955 _ACEOF
34956 rm -f conftest.$ac_objext conftest$ac_exeext
34957 if { (ac_try="$ac_link"
34958 case "(($ac_try" in
34959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34960 *) ac_try_echo=$ac_try;;
34961 esac
34962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34963 (eval "$ac_link") 2>conftest.er1
34964 ac_status=$?
34965 grep -v '^ *+' conftest.er1 >conftest.err
34966 rm -f conftest.er1
34967 cat conftest.err >&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); } && {
34970 test -z "$ac_c_werror_flag" ||
34971 test ! -s conftest.err
34972 } && test -s conftest$ac_exeext &&
34973 $as_test_x conftest$ac_exeext; then
34974 ac_cv_lib_Xext_XShapeQueryExtension=yes
34975 else
34976 echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.$ac_ext >&5
34978
34979 ac_cv_lib_Xext_XShapeQueryExtension=no
34980 fi
34981
34982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34983 conftest$ac_exeext conftest.$ac_ext
34984 LIBS=$ac_check_lib_save_LIBS
34985 fi
34986 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34987 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34988 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34989
34990 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34991 wxHAVE_XEXT_LIB=1
34992
34993 fi
34994
34995
34996 if test "$wxHAVE_XEXT_LIB" = 1; then
34997 save_CFLAGS="$CFLAGS"
34998 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34999
35000 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35001 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35002 cat >conftest.$ac_ext <<_ACEOF
35003 /* confdefs.h. */
35004 _ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35008
35009 #include <X11/Xlib.h>
35010 #include <X11/extensions/shape.h>
35011
35012 int
35013 main ()
35014 {
35015
35016 int dummy1, dummy2;
35017 XShapeQueryExtension((Display*)NULL,
35018 (int*)NULL, (int*)NULL);
35019
35020 ;
35021 return 0;
35022 }
35023 _ACEOF
35024 rm -f conftest.$ac_objext
35025 if { (ac_try="$ac_compile"
35026 case "(($ac_try" in
35027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35028 *) ac_try_echo=$ac_try;;
35029 esac
35030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35031 (eval "$ac_compile") 2>conftest.er1
35032 ac_status=$?
35033 grep -v '^ *+' conftest.er1 >conftest.err
35034 rm -f conftest.er1
35035 cat conftest.err >&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } && {
35038 test -z "$ac_c_werror_flag" ||
35039 test ! -s conftest.err
35040 } && test -s conftest.$ac_objext; then
35041
35042 cat >>confdefs.h <<\_ACEOF
35043 #define HAVE_XSHAPE 1
35044 _ACEOF
35045
35046 { echo "$as_me:$LINENO: result: found" >&5
35047 echo "${ECHO_T}found" >&6; }
35048
35049 else
35050 echo "$as_me: failed program was:" >&5
35051 sed 's/^/| /' conftest.$ac_ext >&5
35052
35053
35054 { echo "$as_me:$LINENO: result: not found" >&5
35055 echo "${ECHO_T}not found" >&6; }
35056
35057 fi
35058
35059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35060 CFLAGS="$save_CFLAGS"
35061
35062 fi
35063 fi
35064
35065 if test "$wxUSE_MAC" = 1; then
35066 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35067 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35068 if test "$GCC" = yes; then
35069 { echo "$as_me:$LINENO: result: gcc" >&5
35070 echo "${ECHO_T}gcc" >&6; }
35071 CPPFLAGS_PASCAL="-fpascal-strings"
35072 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35073 { echo "$as_me:$LINENO: result: xlc" >&5
35074 echo "${ECHO_T}xlc" >&6; }
35075 CPPFLAGS_PASCAL="-qmacpstr"
35076 else
35077 { echo "$as_me:$LINENO: result: none" >&5
35078 echo "${ECHO_T}none" >&6; }
35079 fi
35080
35081 if test "x$wxUSE_UNIX" = "xyes"; then
35082 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35083 else
35084 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35085 fi
35086
35087 TOOLKIT=MAC
35088 GUIDIST=MACX_DIST
35089 WXBASEPORT="_carbon"
35090 fi
35091
35092 if test "$wxUSE_COCOA" = 1; then
35093 TOOLKIT=COCOA
35094 GUIDIST=COCOA_DIST
35095 fi
35096
35097 if test "$wxUSE_PM" = 1; then
35098 TOOLKIT=PM
35099 GUIDIST=PM_DIST
35100 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35101 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35102 if test "${wx_cv_spbcdata+set}" = set; then
35103 echo $ECHO_N "(cached) $ECHO_C" >&6
35104 else
35105
35106 cat >conftest.$ac_ext <<_ACEOF
35107 /* confdefs.h. */
35108 _ACEOF
35109 cat confdefs.h >>conftest.$ac_ext
35110 cat >>conftest.$ac_ext <<_ACEOF
35111 /* end confdefs.h. */
35112
35113 #define INCL_PM
35114 #include <os2.h>
35115
35116 int
35117 main ()
35118 {
35119
35120 SPBCDATA test;
35121
35122 ;
35123 return 0;
35124 }
35125 _ACEOF
35126 rm -f conftest.$ac_objext
35127 if { (ac_try="$ac_compile"
35128 case "(($ac_try" in
35129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35130 *) ac_try_echo=$ac_try;;
35131 esac
35132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35133 (eval "$ac_compile") 2>conftest.er1
35134 ac_status=$?
35135 grep -v '^ *+' conftest.er1 >conftest.err
35136 rm -f conftest.er1
35137 cat conftest.err >&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); } && {
35140 test -z "$ac_c_werror_flag" ||
35141 test ! -s conftest.err
35142 } && test -s conftest.$ac_objext; then
35143 wx_cv_spbcdata=yes
35144 else
35145 echo "$as_me: failed program was:" >&5
35146 sed 's/^/| /' conftest.$ac_ext >&5
35147
35148 wx_cv_spbcdata=no
35149
35150 fi
35151
35152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35153
35154
35155 fi
35156 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35157 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35158
35159 if test $wx_cv_spbcdata = "yes"; then
35160 cat >>confdefs.h <<\_ACEOF
35161 #define HAVE_SPBCDATA 1
35162 _ACEOF
35163
35164 fi
35165 fi
35166
35167 if test "$TOOLKIT" = "PM" ; then
35168 TOOLKIT_DIR="os2"
35169 else
35170 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35171 fi
35172
35173 if test "$wxUSE_UNIVERSAL" = "yes"; then
35174 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35175 WIDGET_SET=univ
35176 fi
35177
35178 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35179 DISTDIR="wx\$(TOOLKIT)"
35180 else
35181 USE_GUI=0
35182
35183 TOOLKIT_DIR="base"
35184
35185 if test "$USE_WIN32" = 1 ; then
35186 TOOLKIT="MSW"
35187 fi
35188
35189 GUIDIST="BASE_DIST"
35190 DISTDIR="wxBase"
35191 fi
35192
35193
35194
35195 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35196 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35197 wxUSE_UNICODE_UTF8=yes
35198 elif test "$USE_OS2" = "1" ; then
35199 wxUSE_UNICODE_UTF8=yes
35200 else
35201 wxUSE_UNICODE_UTF8=no
35202 fi
35203 fi
35204
35205
35206 if test "$wxUSE_GUI" = "yes"; then
35207 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35208
35209 for ac_header in X11/Xlib.h
35210 do
35211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35216 else
35217 cat >conftest.$ac_ext <<_ACEOF
35218 /* confdefs.h. */
35219 _ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h. */
35223
35224
35225 #include <$ac_header>
35226 _ACEOF
35227 rm -f conftest.$ac_objext
35228 if { (ac_try="$ac_compile"
35229 case "(($ac_try" in
35230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35231 *) ac_try_echo=$ac_try;;
35232 esac
35233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35234 (eval "$ac_compile") 2>conftest.er1
35235 ac_status=$?
35236 grep -v '^ *+' conftest.er1 >conftest.err
35237 rm -f conftest.er1
35238 cat conftest.err >&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } && {
35241 test -z "$ac_c_werror_flag" ||
35242 test ! -s conftest.err
35243 } && test -s conftest.$ac_objext; then
35244 eval "$as_ac_Header=yes"
35245 else
35246 echo "$as_me: failed program was:" >&5
35247 sed 's/^/| /' conftest.$ac_ext >&5
35248
35249 eval "$as_ac_Header=no"
35250 fi
35251
35252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35253 fi
35254 ac_res=`eval echo '${'$as_ac_Header'}'`
35255 { echo "$as_me:$LINENO: result: $ac_res" >&5
35256 echo "${ECHO_T}$ac_res" >&6; }
35257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35258 cat >>confdefs.h <<_ACEOF
35259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35260 _ACEOF
35261
35262 fi
35263
35264 done
35265
35266
35267 for ac_header in X11/XKBlib.h
35268 do
35269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 else
35275 cat >conftest.$ac_ext <<_ACEOF
35276 /* confdefs.h. */
35277 _ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281
35282 #if HAVE_X11_XLIB_H
35283 #include <X11/Xlib.h>
35284 #endif
35285
35286
35287 #include <$ac_header>
35288 _ACEOF
35289 rm -f conftest.$ac_objext
35290 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
35306 eval "$as_ac_Header=yes"
35307 else
35308 echo "$as_me: failed program was:" >&5
35309 sed 's/^/| /' conftest.$ac_ext >&5
35310
35311 eval "$as_ac_Header=no"
35312 fi
35313
35314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35315 fi
35316 ac_res=`eval echo '${'$as_ac_Header'}'`
35317 { echo "$as_me:$LINENO: result: $ac_res" >&5
35318 echo "${ECHO_T}$ac_res" >&6; }
35319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35320 cat >>confdefs.h <<_ACEOF
35321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35322 _ACEOF
35323
35324 fi
35325
35326 done
35327
35328 fi
35329 fi
35330
35331
35332
35333 IODBC_C_SRC=""
35334
35335
35336 if test "$TOOLKIT" != "MSW" ; then
35337
35338 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35339
35340 { echo "$as_me:$LINENO: checking for sql.h" >&5
35341 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35342 if test "${ac_cv_header_sql_h+set}" = set; then
35343 echo $ECHO_N "(cached) $ECHO_C" >&6
35344 else
35345 cat >conftest.$ac_ext <<_ACEOF
35346 /* confdefs.h. */
35347 _ACEOF
35348 cat confdefs.h >>conftest.$ac_ext
35349 cat >>conftest.$ac_ext <<_ACEOF
35350 /* end confdefs.h. */
35351
35352
35353 #include <sql.h>
35354 _ACEOF
35355 rm -f conftest.$ac_objext
35356 if { (ac_try="$ac_compile"
35357 case "(($ac_try" in
35358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35359 *) ac_try_echo=$ac_try;;
35360 esac
35361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35362 (eval "$ac_compile") 2>conftest.er1
35363 ac_status=$?
35364 grep -v '^ *+' conftest.er1 >conftest.err
35365 rm -f conftest.er1
35366 cat conftest.err >&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } && {
35369 test -z "$ac_c_werror_flag" ||
35370 test ! -s conftest.err
35371 } && test -s conftest.$ac_objext; then
35372 ac_cv_header_sql_h=yes
35373 else
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.$ac_ext >&5
35376
35377 ac_cv_header_sql_h=no
35378 fi
35379
35380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35381 fi
35382 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35383 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35384 if test $ac_cv_header_sql_h = yes; then
35385 found_sql_h=1
35386 fi
35387
35388
35389 if test "x$found_sql_h" = "x1" ; then
35390 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35391 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35392 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35394 else
35395 ac_check_lib_save_LIBS=$LIBS
35396 LIBS="-liodbc $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_iodbc_SQLAllocEnv=yes
35438 else
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35441
35442 ac_cv_lib_iodbc_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_iodbc_SQLAllocEnv" >&5
35450 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35451 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35452 ODBC_LINK=" -liodbc"
35453 else
35454
35455 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35456 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35457 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 else
35460 ac_check_lib_save_LIBS=$LIBS
35461 LIBS="-lunixodbc $LIBS"
35462 cat >conftest.$ac_ext <<_ACEOF
35463 /* confdefs.h. */
35464 _ACEOF
35465 cat confdefs.h >>conftest.$ac_ext
35466 cat >>conftest.$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35468
35469 /* Override any GCC internal prototype to avoid an error.
35470 Use char because int might match the return type of a GCC
35471 builtin and then its argument prototype would still apply. */
35472 #ifdef __cplusplus
35473 extern "C"
35474 #endif
35475 char SQLAllocEnv ();
35476 int
35477 main ()
35478 {
35479 return SQLAllocEnv ();
35480 ;
35481 return 0;
35482 }
35483 _ACEOF
35484 rm -f conftest.$ac_objext conftest$ac_exeext
35485 if { (ac_try="$ac_link"
35486 case "(($ac_try" in
35487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35488 *) ac_try_echo=$ac_try;;
35489 esac
35490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35491 (eval "$ac_link") 2>conftest.er1
35492 ac_status=$?
35493 grep -v '^ *+' conftest.er1 >conftest.err
35494 rm -f conftest.er1
35495 cat conftest.err >&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } && {
35498 test -z "$ac_c_werror_flag" ||
35499 test ! -s conftest.err
35500 } && test -s conftest$ac_exeext &&
35501 $as_test_x conftest$ac_exeext; then
35502 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35503 else
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.$ac_ext >&5
35506
35507 ac_cv_lib_unixodbc_SQLAllocEnv=no
35508 fi
35509
35510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35511 conftest$ac_exeext conftest.$ac_ext
35512 LIBS=$ac_check_lib_save_LIBS
35513 fi
35514 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35515 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35516 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35517 ODBC_LINK=" -lunixodbc"
35518 else
35519
35520 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35521 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35522 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35523 echo $ECHO_N "(cached) $ECHO_C" >&6
35524 else
35525 ac_check_lib_save_LIBS=$LIBS
35526 LIBS="-lodbc $LIBS"
35527 cat >conftest.$ac_ext <<_ACEOF
35528 /* confdefs.h. */
35529 _ACEOF
35530 cat confdefs.h >>conftest.$ac_ext
35531 cat >>conftest.$ac_ext <<_ACEOF
35532 /* end confdefs.h. */
35533
35534 /* Override any GCC internal prototype to avoid an error.
35535 Use char because int might match the return type of a GCC
35536 builtin and then its argument prototype would still apply. */
35537 #ifdef __cplusplus
35538 extern "C"
35539 #endif
35540 char SQLAllocEnv ();
35541 int
35542 main ()
35543 {
35544 return SQLAllocEnv ();
35545 ;
35546 return 0;
35547 }
35548 _ACEOF
35549 rm -f conftest.$ac_objext conftest$ac_exeext
35550 if { (ac_try="$ac_link"
35551 case "(($ac_try" in
35552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35554 esac
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_link") 2>conftest.er1
35557 ac_status=$?
35558 grep -v '^ *+' conftest.er1 >conftest.err
35559 rm -f conftest.er1
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_c_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest$ac_exeext &&
35566 $as_test_x conftest$ac_exeext; then
35567 ac_cv_lib_odbc_SQLAllocEnv=yes
35568 else
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.$ac_ext >&5
35571
35572 ac_cv_lib_odbc_SQLAllocEnv=no
35573 fi
35574
35575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35576 conftest$ac_exeext conftest.$ac_ext
35577 LIBS=$ac_check_lib_save_LIBS
35578 fi
35579 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35580 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35581 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35582 ODBC_LINK=" -lodbc"
35583 fi
35584
35585
35586 fi
35587
35588
35589 fi
35590
35591 fi
35592 if test "x$ODBC_LINK" = "x" ; then
35593 if test "$wxUSE_ODBC" = "sys" ; then
35594 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35595 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35596 { (exit 1); exit 1; }; }
35597 else
35598 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35599 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35600 wxUSE_ODBC=builtin
35601 fi
35602 else
35603 wxUSE_ODBC=sys
35604 fi
35605 fi
35606
35607 if test "$wxUSE_ODBC" = "builtin" ; then
35608 cat >>confdefs.h <<\_ACEOF
35609 #define wxUSE_BUILTIN_IODBC 1
35610 _ACEOF
35611
35612 fi
35613 fi
35614
35615 if test "$wxUSE_ODBC" != "no" ; then
35616 cat >>confdefs.h <<\_ACEOF
35617 #define wxUSE_ODBC 1
35618 _ACEOF
35619
35620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35621
35622 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35623 fi
35624
35625
35626 if test "$wxUSE_DISPLAY" = "yes"; then
35627 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35628 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35629 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35630
35631 ac_find_libraries=
35632 for ac_dir in $SEARCH_LIB;
35633 do
35634 for ac_extension in a so sl dylib dll.a; do
35635 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35636 ac_find_libraries=$ac_dir
35637 break 2
35638 fi
35639 done
35640 done
35641
35642 if test "$ac_find_libraries" != "" ; then
35643
35644 if test "$ac_find_libraries" = "default location"; then
35645 ac_path_to_link=""
35646 else
35647 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35648 result=$?
35649 if test $result = 0; then
35650 ac_path_to_link=""
35651 else
35652 ac_path_to_link=" -L$ac_find_libraries"
35653 fi
35654 fi
35655
35656 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35657 LDFLAGS="$LDFLAGS $ac_path_to_link"
35658 fi
35659 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35660 { echo "$as_me:$LINENO: result: yes" >&5
35661 echo "${ECHO_T}yes" >&6; }
35662
35663 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35664 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35665
35666 ac_find_libraries=
35667 for ac_dir in $SEARCH_LIB;
35668 do
35669 for ac_extension in a so sl dylib dll.a; do
35670 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35671 ac_find_libraries=$ac_dir
35672 break 2
35673 fi
35674 done
35675 done
35676
35677 if test "$ac_find_libraries" != "" ; then
35678 { echo "$as_me:$LINENO: result: yes" >&5
35679 echo "${ECHO_T}yes" >&6; }
35680
35681 for ac_header in X11/extensions/xf86vmode.h
35682 do
35683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35687 echo $ECHO_N "(cached) $ECHO_C" >&6
35688 else
35689 cat >conftest.$ac_ext <<_ACEOF
35690 /* confdefs.h. */
35691 _ACEOF
35692 cat confdefs.h >>conftest.$ac_ext
35693 cat >>conftest.$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35695
35696 #if HAVE_X11_XLIB_H
35697 #include <X11/Xlib.h>
35698 #endif
35699
35700
35701 #include <$ac_header>
35702 _ACEOF
35703 rm -f conftest.$ac_objext
35704 if { (ac_try="$ac_compile"
35705 case "(($ac_try" in
35706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35707 *) ac_try_echo=$ac_try;;
35708 esac
35709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35710 (eval "$ac_compile") 2>conftest.er1
35711 ac_status=$?
35712 grep -v '^ *+' conftest.er1 >conftest.err
35713 rm -f conftest.er1
35714 cat conftest.err >&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); } && {
35717 test -z "$ac_c_werror_flag" ||
35718 test ! -s conftest.err
35719 } && test -s conftest.$ac_objext; then
35720 eval "$as_ac_Header=yes"
35721 else
35722 echo "$as_me: failed program was:" >&5
35723 sed 's/^/| /' conftest.$ac_ext >&5
35724
35725 eval "$as_ac_Header=no"
35726 fi
35727
35728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35729 fi
35730 ac_res=`eval echo '${'$as_ac_Header'}'`
35731 { echo "$as_me:$LINENO: result: $ac_res" >&5
35732 echo "${ECHO_T}$ac_res" >&6; }
35733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35734 cat >>confdefs.h <<_ACEOF
35735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35736 _ACEOF
35737
35738 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35739
35740 fi
35741
35742 done
35743
35744 else
35745 { echo "$as_me:$LINENO: result: no" >&5
35746 echo "${ECHO_T}no" >&6; }
35747 fi
35748
35749 else
35750 { echo "$as_me:$LINENO: result: no" >&5
35751 echo "${ECHO_T}no" >&6; }
35752 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35753 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35754 wxUSE_DISPLAY="no"
35755 fi
35756 elif test "$wxUSE_MSW" = 1; then
35757 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35758 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35759 if test "${ac_cv_header_ddraw_h+set}" = set; then
35760 echo $ECHO_N "(cached) $ECHO_C" >&6
35761 else
35762 cat >conftest.$ac_ext <<_ACEOF
35763 /* confdefs.h. */
35764 _ACEOF
35765 cat confdefs.h >>conftest.$ac_ext
35766 cat >>conftest.$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35768 #include <windows.h>
35769
35770 #include <ddraw.h>
35771 _ACEOF
35772 rm -f conftest.$ac_objext
35773 if { (ac_try="$ac_compile"
35774 case "(($ac_try" in
35775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35776 *) ac_try_echo=$ac_try;;
35777 esac
35778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35779 (eval "$ac_compile") 2>conftest.er1
35780 ac_status=$?
35781 grep -v '^ *+' conftest.er1 >conftest.err
35782 rm -f conftest.er1
35783 cat conftest.err >&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); } && {
35786 test -z "$ac_c_werror_flag" ||
35787 test ! -s conftest.err
35788 } && test -s conftest.$ac_objext; then
35789 ac_cv_header_ddraw_h=yes
35790 else
35791 echo "$as_me: failed program was:" >&5
35792 sed 's/^/| /' conftest.$ac_ext >&5
35793
35794 ac_cv_header_ddraw_h=no
35795 fi
35796
35797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35798 fi
35799 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35800 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35801
35802
35803 fi
35804 fi
35805
35806 if test "$wxUSE_DETECT_SM" = "yes"; then
35807 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35808 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35809 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35810
35811 ac_find_libraries=
35812 for ac_dir in $SEARCH_LIB;
35813 do
35814 for ac_extension in a so sl dylib dll.a; do
35815 if test -f "$ac_dir/libSM.$ac_extension"; then
35816 ac_find_libraries=$ac_dir
35817 break 2
35818 fi
35819 done
35820 done
35821
35822 if test "$ac_find_libraries" != "" ; then
35823
35824 if test "$ac_find_libraries" = "default location"; then
35825 ac_path_to_link=""
35826 else
35827 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35828 result=$?
35829 if test $result = 0; then
35830 ac_path_to_link=""
35831 else
35832 ac_path_to_link=" -L$ac_find_libraries"
35833 fi
35834 fi
35835
35836 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35837 LDFLAGS="$LDFLAGS $ac_path_to_link"
35838 fi
35839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35840 { echo "$as_me:$LINENO: result: yes" >&5
35841 echo "${ECHO_T}yes" >&6; }
35842 else
35843 { echo "$as_me:$LINENO: result: no" >&5
35844 echo "${ECHO_T}no" >&6; }
35845 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35846 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35847 wxUSE_DETECT_SM="no"
35848 fi
35849 else
35850 wxUSE_DETECT_SM="no"
35851 fi
35852 fi
35853
35854
35855
35856 USE_OPENGL=0
35857 if test "$wxUSE_OPENGL" = "yes"; then
35858 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35859 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35860 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35861 wxUSE_OPENGL="no"
35862 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35863 OPENGL_LIBS="-framework OpenGL -framework AGL"
35864 elif test "$wxUSE_MSW" = 1; then
35865 OPENGL_LIBS="-lopengl32 -lglu32"
35866 else
35867 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35868 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35869
35870 ac_find_includes=
35871 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35872 do
35873 if test -f "$ac_dir/GL/gl.h"; then
35874 ac_find_includes=$ac_dir
35875 break
35876 fi
35877 done
35878
35879 if test "$ac_find_includes" != "" ; then
35880 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35881 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35882
35883 if test "x$ac_find_includes" = "x/usr/include"; then
35884 ac_path_to_include=""
35885 else
35886 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35887 result=$?
35888 if test $result = 0; then
35889 ac_path_to_include=""
35890 else
35891 ac_path_to_include=" -I$ac_find_includes"
35892 fi
35893 fi
35894
35895 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35896 else
35897 { echo "$as_me:$LINENO: result: not found" >&5
35898 echo "${ECHO_T}not found" >&6; }
35899 fi
35900
35901 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35902 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35903 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35904 echo $ECHO_N "(cached) $ECHO_C" >&6
35905 else
35906 cat >conftest.$ac_ext <<_ACEOF
35907 /* confdefs.h. */
35908 _ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35912
35913
35914 #include <GL/gl.h>
35915 _ACEOF
35916 rm -f conftest.$ac_objext
35917 if { (ac_try="$ac_compile"
35918 case "(($ac_try" in
35919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35920 *) ac_try_echo=$ac_try;;
35921 esac
35922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35923 (eval "$ac_compile") 2>conftest.er1
35924 ac_status=$?
35925 grep -v '^ *+' conftest.er1 >conftest.err
35926 rm -f conftest.er1
35927 cat conftest.err >&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } && {
35930 test -z "$ac_c_werror_flag" ||
35931 test ! -s conftest.err
35932 } && test -s conftest.$ac_objext; then
35933 ac_cv_header_GL_gl_h=yes
35934 else
35935 echo "$as_me: failed program was:" >&5
35936 sed 's/^/| /' conftest.$ac_ext >&5
35937
35938 ac_cv_header_GL_gl_h=no
35939 fi
35940
35941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35942 fi
35943 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35944 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35945 if test $ac_cv_header_GL_gl_h = yes; then
35946
35947 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35948 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35949 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35950 echo $ECHO_N "(cached) $ECHO_C" >&6
35951 else
35952 cat >conftest.$ac_ext <<_ACEOF
35953 /* confdefs.h. */
35954 _ACEOF
35955 cat confdefs.h >>conftest.$ac_ext
35956 cat >>conftest.$ac_ext <<_ACEOF
35957 /* end confdefs.h. */
35958
35959
35960 #include <GL/glu.h>
35961 _ACEOF
35962 rm -f conftest.$ac_objext
35963 if { (ac_try="$ac_compile"
35964 case "(($ac_try" in
35965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35966 *) ac_try_echo=$ac_try;;
35967 esac
35968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35969 (eval "$ac_compile") 2>conftest.er1
35970 ac_status=$?
35971 grep -v '^ *+' conftest.er1 >conftest.err
35972 rm -f conftest.er1
35973 cat conftest.err >&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); } && {
35976 test -z "$ac_c_werror_flag" ||
35977 test ! -s conftest.err
35978 } && test -s conftest.$ac_objext; then
35979 ac_cv_header_GL_glu_h=yes
35980 else
35981 echo "$as_me: failed program was:" >&5
35982 sed 's/^/| /' conftest.$ac_ext >&5
35983
35984 ac_cv_header_GL_glu_h=no
35985 fi
35986
35987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35988 fi
35989 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35990 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35991 if test $ac_cv_header_GL_glu_h = yes; then
35992
35993 found_gl=0
35994
35995 { echo "$as_me:$LINENO: checking for -lGL" >&5
35996 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35997
35998 ac_find_libraries=
35999 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36000 do
36001 for ac_extension in a so sl dylib dll.a; do
36002 if test -f "$ac_dir/libGL.$ac_extension"; then
36003 ac_find_libraries=$ac_dir
36004 break 2
36005 fi
36006 done
36007 done
36008
36009 if test "$ac_find_libraries" != "" ; then
36010 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36011 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36012
36013
36014 if test "$ac_find_libraries" = "default location"; then
36015 ac_path_to_link=""
36016 else
36017 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36018 result=$?
36019 if test $result = 0; then
36020 ac_path_to_link=""
36021 else
36022 ac_path_to_link=" -L$ac_find_libraries"
36023 fi
36024 fi
36025
36026 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36027 LDFLAGS_GL="$ac_path_to_link"
36028 fi
36029
36030 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36031 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36032
36033 ac_find_libraries=
36034 for ac_dir in $SEARCH_LIB;
36035 do
36036 for ac_extension in a so sl dylib dll.a; do
36037 if test -f "$ac_dir/libGLU.$ac_extension"; then
36038 ac_find_libraries=$ac_dir
36039 break 2
36040 fi
36041 done
36042 done
36043
36044 if test "$ac_find_libraries" != "" ; then
36045
36046 if test "$ac_find_libraries" = "default location"; then
36047 ac_path_to_link=""
36048 else
36049 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36050 result=$?
36051 if test $result = 0; then
36052 ac_path_to_link=""
36053 else
36054 ac_path_to_link=" -L$ac_find_libraries"
36055 fi
36056 fi
36057
36058 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36059 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36060 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36061 fi
36062
36063 found_gl=1
36064 OPENGL_LIBS="-lGL -lGLU"
36065 { echo "$as_me:$LINENO: result: yes" >&5
36066 echo "${ECHO_T}yes" >&6; }
36067 else
36068 { echo "$as_me:$LINENO: result: no" >&5
36069 echo "${ECHO_T}no" >&6; }
36070 fi
36071 else
36072 { echo "$as_me:$LINENO: result: no" >&5
36073 echo "${ECHO_T}no" >&6; }
36074 fi
36075
36076 if test "$found_gl" != 1; then
36077 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36078 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36079
36080 ac_find_libraries=
36081 for ac_dir in $SEARCH_LIB;
36082 do
36083 for ac_extension in a so sl dylib dll.a; do
36084 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36085 ac_find_libraries=$ac_dir
36086 break 2
36087 fi
36088 done
36089 done
36090
36091 if test "$ac_find_libraries" != "" ; then
36092
36093 if test "$ac_find_libraries" = "default location"; then
36094 ac_path_to_link=""
36095 else
36096 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36097 result=$?
36098 if test $result = 0; then
36099 ac_path_to_link=""
36100 else
36101 ac_path_to_link=" -L$ac_find_libraries"
36102 fi
36103 fi
36104
36105 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36106 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36107 { echo "$as_me:$LINENO: result: yes" >&5
36108 echo "${ECHO_T}yes" >&6; }
36109 else
36110 { echo "$as_me:$LINENO: result: no" >&5
36111 echo "${ECHO_T}no" >&6; }
36112 fi
36113 fi
36114
36115 fi
36116
36117
36118
36119 fi
36120
36121
36122
36123 if test "x$OPENGL_LIBS" = "x"; then
36124 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36125 echo "$as_me: error: OpenGL libraries not available" >&2;}
36126 { (exit 1); exit 1; }; }
36127 fi
36128 fi
36129
36130 if test "$wxUSE_OPENGL" = "yes"; then
36131 USE_OPENGL=1
36132 cat >>confdefs.h <<\_ACEOF
36133 #define wxUSE_OPENGL 1
36134 _ACEOF
36135
36136 cat >>confdefs.h <<\_ACEOF
36137 #define wxUSE_GLCANVAS 1
36138 _ACEOF
36139
36140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36141 fi
36142 fi
36143
36144
36145 if test -n "$TOOLKIT" ; then
36146 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36147 fi
36148
36149
36150
36151 if test "$wxUSE_SHARED" = "yes"; then
36152 case "${host}" in
36153 *-pc-msdosdjgpp )
36154 wxUSE_SHARED=no
36155 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36156 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36157 ;;
36158 esac
36159 fi
36160
36161 if test "$wxUSE_SHARED" = "yes"; then
36162
36163
36164 case "${host}" in
36165 *-*-cygwin* | *-*-mingw* )
36166 wx_cv_version_script=no
36167 ;;
36168
36169 *)
36170 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36171 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36172 if test "${wx_cv_version_script+set}" = set; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36174 else
36175
36176 echo "VER_1 { *; };" >conftest.sym
36177 echo "int main() { return 0; }" >conftest.cpp
36178
36179 if { ac_try='
36180 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36181 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36183 (eval $ac_try) 2>&5
36184 ac_status=$?
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); }; } ; then
36187 if test -s conftest.stderr ; then
36188 wx_cv_version_script=no
36189 else
36190 wx_cv_version_script=yes
36191 fi
36192 else
36193 wx_cv_version_script=no
36194 fi
36195
36196 if test $wx_cv_version_script = yes
36197 then
36198 echo "struct B { virtual ~B() { } }; \
36199 struct D : public B { }; \
36200 void F() { D d; }" > conftest.cpp
36201
36202 if { ac_try='
36203 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36204 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36206 (eval $ac_try) 2>&5
36207 ac_status=$?
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); }; } &&
36210 { ac_try='
36211 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36212 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 (eval $ac_try) 2>&5
36215 ac_status=$?
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); }; }
36218 then
36219 if { ac_try='
36220 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36221 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36223 (eval $ac_try) 2>&5
36224 ac_status=$?
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); }; }
36227 then
36228 wx_cv_version_script=yes
36229 else
36230 wx_cv_version_script=no
36231 fi
36232 fi
36233 fi
36234
36235 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36236 rm -f conftest1.output conftest2.output conftest3.output
36237
36238 fi
36239 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36240 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36241
36242 if test $wx_cv_version_script = yes ; then
36243 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36244 fi
36245 ;;
36246 esac
36247
36248
36249 if test "$wxUSE_VISIBILITY" != "no"; then
36250
36251
36252 if test -n "$GCC"; then
36253 CFLAGS_VISIBILITY="-fvisibility=hidden"
36254 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36255 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36256 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36257 if test "${wx_cv_cc_visibility+set}" = set; then
36258 echo $ECHO_N "(cached) $ECHO_C" >&6
36259 else
36260
36261 wx_save_CXXFLAGS="$CXXFLAGS"
36262 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36263 ac_ext=cpp
36264 ac_cpp='$CXXCPP $CPPFLAGS'
36265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36268
36269 cat >conftest.$ac_ext <<_ACEOF
36270 /* confdefs.h. */
36271 _ACEOF
36272 cat confdefs.h >>conftest.$ac_ext
36273 cat >>conftest.$ac_ext <<_ACEOF
36274 /* end confdefs.h. */
36275
36276 /* we need gcc >= 4.0, older versions with visibility support
36277 didn't have class visibility: */
36278 #if defined(__GNUC__) && __GNUC__ < 4
36279 error this gcc is too old;
36280 #endif
36281
36282 /* visibility only makes sense for ELF shared libs: */
36283 #if !defined(__ELF__) && !defined(__APPLE__)
36284 error this platform has no visibility;
36285 #endif
36286
36287 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36288 extern __attribute__((__visibility__("default"))) int exportedvar;
36289 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36290 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36291 class __attribute__((__visibility__("default"))) Foo {
36292 Foo() {}
36293 };
36294
36295 int
36296 main ()
36297 {
36298
36299 ;
36300 return 0;
36301 }
36302 _ACEOF
36303 rm -f conftest.$ac_objext
36304 if { (ac_try="$ac_compile"
36305 case "(($ac_try" in
36306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36307 *) ac_try_echo=$ac_try;;
36308 esac
36309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36310 (eval "$ac_compile") 2>conftest.er1
36311 ac_status=$?
36312 grep -v '^ *+' conftest.er1 >conftest.err
36313 rm -f conftest.er1
36314 cat conftest.err >&5
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); } && {
36317 test -z "$ac_cxx_werror_flag" ||
36318 test ! -s conftest.err
36319 } && test -s conftest.$ac_objext; then
36320 wx_cv_cc_visibility=yes
36321 else
36322 echo "$as_me: failed program was:" >&5
36323 sed 's/^/| /' conftest.$ac_ext >&5
36324
36325 wx_cv_cc_visibility=no
36326 fi
36327
36328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36329 ac_ext=c
36330 ac_cpp='$CPP $CPPFLAGS'
36331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36334
36335 CXXFLAGS="$wx_save_CXXFLAGS"
36336 fi
36337
36338 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36339 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36340 if test $wx_cv_cc_visibility = yes; then
36341 cat >>confdefs.h <<\_ACEOF
36342 #define HAVE_VISIBILITY 1
36343 _ACEOF
36344
36345
36346 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36347 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36348 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36350 else
36351
36352 wx_save_CXXFLAGS="$CXXFLAGS"
36353 wx_save_LDFLAGS="$LDFLAGS"
36354 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36355 LDFLAGS="$LDFLAGS -shared -fPIC"
36356 ac_ext=cpp
36357 ac_cpp='$CXXCPP $CPPFLAGS'
36358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36361
36362 cat >conftest.$ac_ext <<_ACEOF
36363 /* confdefs.h. */
36364 _ACEOF
36365 cat confdefs.h >>conftest.$ac_ext
36366 cat >>conftest.$ac_ext <<_ACEOF
36367 /* end confdefs.h. */
36368
36369 #include <string>
36370
36371 int
36372 main ()
36373 {
36374
36375 std::string s("hello");
36376 return s.length();
36377
36378 ;
36379 return 0;
36380 }
36381 _ACEOF
36382 rm -f conftest.$ac_objext conftest$ac_exeext
36383 if { (ac_try="$ac_link"
36384 case "(($ac_try" in
36385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36386 *) ac_try_echo=$ac_try;;
36387 esac
36388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36389 (eval "$ac_link") 2>conftest.er1
36390 ac_status=$?
36391 grep -v '^ *+' conftest.er1 >conftest.err
36392 rm -f conftest.er1
36393 cat conftest.err >&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); } && {
36396 test -z "$ac_cxx_werror_flag" ||
36397 test ! -s conftest.err
36398 } && test -s conftest$ac_exeext &&
36399 $as_test_x conftest$ac_exeext; then
36400 wx_cv_cc_broken_libstdcxx_visibility=no
36401 else
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.$ac_ext >&5
36404
36405 wx_cv_cc_broken_libstdcxx_visibility=yes
36406 fi
36407
36408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36409 conftest$ac_exeext conftest.$ac_ext
36410 ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36415
36416 CXXFLAGS="$wx_save_CXXFLAGS"
36417 LDFLAGS="$wx_save_LDFLAGS"
36418 fi
36419
36420 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36421 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36422 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36423 cat >>confdefs.h <<\_ACEOF
36424 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36425 _ACEOF
36426
36427 fi
36428
36429 else
36430 CFLAGS_VISIBILITY=""
36431 CXXFLAGS_VISIBILITY=""
36432 fi
36433
36434
36435 fi
36436
36437 fi
36438
36439 if test "x$SUNCXX" = xyes; then
36440 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36441 WXCONFIG_RPATH="-R\$libdir"
36442 else
36443 case "${host}" in
36444 *-*-linux* | *-*-gnu* )
36445 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36446 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36447 ;;
36448
36449 *-*-solaris2* )
36450
36451 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36452
36453 saveLdflags="$LDFLAGS"
36454 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36455 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36456 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36457 cat >conftest.$ac_ext <<_ACEOF
36458 /* confdefs.h. */
36459 _ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463
36464 int
36465 main ()
36466 {
36467
36468 ;
36469 return 0;
36470 }
36471 _ACEOF
36472 rm -f conftest.$ac_objext conftest$ac_exeext
36473 if { (ac_try="$ac_link"
36474 case "(($ac_try" in
36475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36476 *) ac_try_echo=$ac_try;;
36477 esac
36478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36479 (eval "$ac_link") 2>conftest.er1
36480 ac_status=$?
36481 grep -v '^ *+' conftest.er1 >conftest.err
36482 rm -f conftest.er1
36483 cat conftest.err >&5
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); } && {
36486 test -z "$ac_c_werror_flag" ||
36487 test ! -s conftest.err
36488 } && test -s conftest$ac_exeext &&
36489 $as_test_x conftest$ac_exeext; then
36490
36491 { echo "$as_me:$LINENO: result: yes" >&5
36492 echo "${ECHO_T}yes" >&6; }
36493 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36494 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36495
36496 else
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36499
36500
36501 { echo "$as_me:$LINENO: result: no" >&5
36502 echo "${ECHO_T}no" >&6; }
36503 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36504 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36505 LDFLAGS="$saveLdflags -Wl,-R,/"
36506 cat >conftest.$ac_ext <<_ACEOF
36507 /* confdefs.h. */
36508 _ACEOF
36509 cat confdefs.h >>conftest.$ac_ext
36510 cat >>conftest.$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36512
36513 int
36514 main ()
36515 {
36516
36517 ;
36518 return 0;
36519 }
36520 _ACEOF
36521 rm -f conftest.$ac_objext conftest$ac_exeext
36522 if { (ac_try="$ac_link"
36523 case "(($ac_try" in
36524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36525 *) ac_try_echo=$ac_try;;
36526 esac
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_link") 2>conftest.er1
36529 ac_status=$?
36530 grep -v '^ *+' conftest.er1 >conftest.err
36531 rm -f conftest.er1
36532 cat conftest.err >&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_c_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest$ac_exeext &&
36538 $as_test_x conftest$ac_exeext; then
36539
36540 { echo "$as_me:$LINENO: result: yes" >&5
36541 echo "${ECHO_T}yes" >&6; }
36542 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36543 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36544
36545 else
36546 echo "$as_me: failed program was:" >&5
36547 sed 's/^/| /' conftest.$ac_ext >&5
36548
36549
36550 { echo "$as_me:$LINENO: result: no" >&5
36551 echo "${ECHO_T}no" >&6; }
36552
36553 fi
36554
36555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36556 conftest$ac_exeext conftest.$ac_ext
36557
36558 fi
36559
36560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36561 conftest$ac_exeext conftest.$ac_ext
36562 LDFLAGS="$saveLdflags"
36563 ;;
36564
36565 *-*-darwin* )
36566 install_name_tool=`which install_name_tool`
36567 if test "$install_name_tool" -a -x "$install_name_tool"; then
36568 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36569 cat <<EOF >change-install-names
36570 #!/bin/sh
36571 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36572 inst_cmd="install_name_tool "
36573 for i in \${libnames} ; do
36574 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36575 done
36576 \${inst_cmd} \${3}
36577 EOF
36578 chmod +x change-install-names
36579 fi
36580 ;;
36581
36582 *-*-cygwin* | *-*-mingw32* )
36583 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36584 ;;
36585
36586 *-*-hpux* )
36587 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36588 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36589 ;;
36590
36591 esac
36592 fi
36593
36594 if test $wxUSE_RPATH = "no"; then
36595 SAMPLES_RPATH_FLAG=''
36596 SAMPLES_RPATH_POSTLINK=''
36597 WXCONFIG_RPATH=''
36598 fi
36599
36600 SHARED=1
36601
36602 else
36603
36604 config_linkage_component="-static"
36605 SHARED=0
36606
36607 fi
36608
36609
36610 UNICODE=0
36611 lib_unicode_suffix=
36612 WX_CHARTYPE="ansi"
36613 if test "$wxUSE_UNICODE" = "yes"; then
36614 lib_unicode_suffix=u
36615 WX_CHARTYPE="unicode"
36616 UNICODE=1
36617 fi
36618
36619 lib_debug_suffix=
36620 WX_DEBUGTYPE="release"
36621 DEBUG_FLAG=0
36622 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36623 lib_debug_suffix=d
36624 WX_DEBUGTYPE="debug"
36625 DEBUG_FLAG=1
36626 fi
36627
36628 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36629 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36630
36631 DEBUG_INFO=0
36632 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36633 DEBUG_INFO=1
36634 fi
36635
36636 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36637
36638 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36639
36640 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36641
36642 if test "$cross_compiling" = "yes"; then
36643 HOST_SUFFIX="-$host_alias"
36644 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36645 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36646 fi
36647
36648 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36649 if test "${TOOLKIT_DIR}" = "os2"; then
36650 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36651 else
36652 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36653 fi
36654
36655
36656
36657 if test "$wxUSE_COCOA" = 1; then
36658
36659 ac_ext=c
36660 ac_cpp='$CPP $CPPFLAGS'
36661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36664
36665 ac_ext=m
36666
36667 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36668 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36669 cat >conftest.$ac_ext <<_ACEOF
36670 /* confdefs.h. */
36671 _ACEOF
36672 cat confdefs.h >>conftest.$ac_ext
36673 cat >>conftest.$ac_ext <<_ACEOF
36674 /* end confdefs.h. */
36675 #include <AppKit/NSEvent.h>
36676 #include <CoreFoundation/CoreFoundation.h>
36677
36678 int
36679 main ()
36680 {
36681
36682 ;
36683 return 0;
36684 }
36685 _ACEOF
36686 rm -f conftest.$ac_objext
36687 if { (ac_try="$ac_compile"
36688 case "(($ac_try" in
36689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36690 *) ac_try_echo=$ac_try;;
36691 esac
36692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36693 (eval "$ac_compile") 2>conftest.er1
36694 ac_status=$?
36695 grep -v '^ *+' conftest.er1 >conftest.err
36696 rm -f conftest.er1
36697 cat conftest.err >&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } && {
36700 test -z "$ac_c_werror_flag" ||
36701 test ! -s conftest.err
36702 } && test -s conftest.$ac_objext; then
36703 { echo "$as_me:$LINENO: result: no" >&5
36704 echo "${ECHO_T}no" >&6; }
36705 else
36706 echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.$ac_ext >&5
36708
36709 { echo "$as_me:$LINENO: result: yes" >&5
36710 echo "${ECHO_T}yes" >&6; }
36711 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36712 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36713 cat >conftest.$ac_ext <<_ACEOF
36714 /* confdefs.h. */
36715 _ACEOF
36716 cat confdefs.h >>conftest.$ac_ext
36717 cat >>conftest.$ac_ext <<_ACEOF
36718 /* end confdefs.h. */
36719 #define __Point__ 1
36720 #include <AppKit/NSEvent.h>
36721 #include <CoreFoundation/CoreFoundation.h>
36722
36723 int
36724 main ()
36725 {
36726
36727 ;
36728 return 0;
36729 }
36730 _ACEOF
36731 rm -f conftest.$ac_objext
36732 if { (ac_try="$ac_compile"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36736 esac
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_compile") 2>conftest.er1
36739 ac_status=$?
36740 grep -v '^ *+' conftest.er1 >conftest.err
36741 rm -f conftest.er1
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_c_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest.$ac_objext; then
36748 { echo "$as_me:$LINENO: result: yes" >&5
36749 echo "${ECHO_T}yes" >&6; }
36750 cat >>confdefs.h <<\_ACEOF
36751 #define __Point__ 1
36752 _ACEOF
36753
36754
36755 else
36756 echo "$as_me: failed program was:" >&5
36757 sed 's/^/| /' conftest.$ac_ext >&5
36758
36759 { { echo "$as_me:$LINENO: error: no
36760 See \`config.log' for more details." >&5
36761 echo "$as_me: error: no
36762 See \`config.log' for more details." >&2;}
36763 { (exit 1); exit 1; }; }
36764
36765 fi
36766
36767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36768
36769 fi
36770
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36772 ac_ext=c
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36777
36778 fi
36779
36780
36781 { echo "$as_me:$LINENO: checking for mode_t" >&5
36782 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36783 if test "${ac_cv_type_mode_t+set}" = set; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786 cat >conftest.$ac_ext <<_ACEOF
36787 /* confdefs.h. */
36788 _ACEOF
36789 cat confdefs.h >>conftest.$ac_ext
36790 cat >>conftest.$ac_ext <<_ACEOF
36791 /* end confdefs.h. */
36792 $ac_includes_default
36793 typedef mode_t ac__type_new_;
36794 int
36795 main ()
36796 {
36797 if ((ac__type_new_ *) 0)
36798 return 0;
36799 if (sizeof (ac__type_new_))
36800 return 0;
36801 ;
36802 return 0;
36803 }
36804 _ACEOF
36805 rm -f conftest.$ac_objext
36806 if { (ac_try="$ac_compile"
36807 case "(($ac_try" in
36808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36809 *) ac_try_echo=$ac_try;;
36810 esac
36811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36812 (eval "$ac_compile") 2>conftest.er1
36813 ac_status=$?
36814 grep -v '^ *+' conftest.er1 >conftest.err
36815 rm -f conftest.er1
36816 cat conftest.err >&5
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); } && {
36819 test -z "$ac_c_werror_flag" ||
36820 test ! -s conftest.err
36821 } && test -s conftest.$ac_objext; then
36822 ac_cv_type_mode_t=yes
36823 else
36824 echo "$as_me: failed program was:" >&5
36825 sed 's/^/| /' conftest.$ac_ext >&5
36826
36827 ac_cv_type_mode_t=no
36828 fi
36829
36830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36831 fi
36832 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36833 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36834 if test $ac_cv_type_mode_t = yes; then
36835 :
36836 else
36837
36838 cat >>confdefs.h <<_ACEOF
36839 #define mode_t int
36840 _ACEOF
36841
36842 fi
36843
36844 { echo "$as_me:$LINENO: checking for off_t" >&5
36845 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36846 if test "${ac_cv_type_off_t+set}" = set; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36848 else
36849 cat >conftest.$ac_ext <<_ACEOF
36850 /* confdefs.h. */
36851 _ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855 $ac_includes_default
36856 typedef off_t ac__type_new_;
36857 int
36858 main ()
36859 {
36860 if ((ac__type_new_ *) 0)
36861 return 0;
36862 if (sizeof (ac__type_new_))
36863 return 0;
36864 ;
36865 return 0;
36866 }
36867 _ACEOF
36868 rm -f conftest.$ac_objext
36869 if { (ac_try="$ac_compile"
36870 case "(($ac_try" in
36871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36872 *) ac_try_echo=$ac_try;;
36873 esac
36874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36875 (eval "$ac_compile") 2>conftest.er1
36876 ac_status=$?
36877 grep -v '^ *+' conftest.er1 >conftest.err
36878 rm -f conftest.er1
36879 cat conftest.err >&5
36880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36881 (exit $ac_status); } && {
36882 test -z "$ac_c_werror_flag" ||
36883 test ! -s conftest.err
36884 } && test -s conftest.$ac_objext; then
36885 ac_cv_type_off_t=yes
36886 else
36887 echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.$ac_ext >&5
36889
36890 ac_cv_type_off_t=no
36891 fi
36892
36893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 fi
36895 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36896 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36897 if test $ac_cv_type_off_t = yes; then
36898 :
36899 else
36900
36901 cat >>confdefs.h <<_ACEOF
36902 #define off_t long int
36903 _ACEOF
36904
36905 fi
36906
36907 { echo "$as_me:$LINENO: checking for pid_t" >&5
36908 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36909 if test "${ac_cv_type_pid_t+set}" = set; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36911 else
36912 cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h. */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 $ac_includes_default
36919 typedef pid_t ac__type_new_;
36920 int
36921 main ()
36922 {
36923 if ((ac__type_new_ *) 0)
36924 return 0;
36925 if (sizeof (ac__type_new_))
36926 return 0;
36927 ;
36928 return 0;
36929 }
36930 _ACEOF
36931 rm -f conftest.$ac_objext
36932 if { (ac_try="$ac_compile"
36933 case "(($ac_try" in
36934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36935 *) ac_try_echo=$ac_try;;
36936 esac
36937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36938 (eval "$ac_compile") 2>conftest.er1
36939 ac_status=$?
36940 grep -v '^ *+' conftest.er1 >conftest.err
36941 rm -f conftest.er1
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); } && {
36945 test -z "$ac_c_werror_flag" ||
36946 test ! -s conftest.err
36947 } && test -s conftest.$ac_objext; then
36948 ac_cv_type_pid_t=yes
36949 else
36950 echo "$as_me: failed program was:" >&5
36951 sed 's/^/| /' conftest.$ac_ext >&5
36952
36953 ac_cv_type_pid_t=no
36954 fi
36955
36956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36957 fi
36958 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36959 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36960 if test $ac_cv_type_pid_t = yes; then
36961 :
36962 else
36963
36964 cat >>confdefs.h <<_ACEOF
36965 #define pid_t int
36966 _ACEOF
36967
36968 fi
36969
36970 { echo "$as_me:$LINENO: checking for size_t" >&5
36971 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36972 if test "${ac_cv_type_size_t+set}" = set; then
36973 echo $ECHO_N "(cached) $ECHO_C" >&6
36974 else
36975 cat >conftest.$ac_ext <<_ACEOF
36976 /* confdefs.h. */
36977 _ACEOF
36978 cat confdefs.h >>conftest.$ac_ext
36979 cat >>conftest.$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36981 $ac_includes_default
36982 typedef size_t ac__type_new_;
36983 int
36984 main ()
36985 {
36986 if ((ac__type_new_ *) 0)
36987 return 0;
36988 if (sizeof (ac__type_new_))
36989 return 0;
36990 ;
36991 return 0;
36992 }
36993 _ACEOF
36994 rm -f conftest.$ac_objext
36995 if { (ac_try="$ac_compile"
36996 case "(($ac_try" in
36997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36998 *) ac_try_echo=$ac_try;;
36999 esac
37000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37001 (eval "$ac_compile") 2>conftest.er1
37002 ac_status=$?
37003 grep -v '^ *+' conftest.er1 >conftest.err
37004 rm -f conftest.er1
37005 cat conftest.err >&5
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); } && {
37008 test -z "$ac_c_werror_flag" ||
37009 test ! -s conftest.err
37010 } && test -s conftest.$ac_objext; then
37011 ac_cv_type_size_t=yes
37012 else
37013 echo "$as_me: failed program was:" >&5
37014 sed 's/^/| /' conftest.$ac_ext >&5
37015
37016 ac_cv_type_size_t=no
37017 fi
37018
37019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37020 fi
37021 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37022 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37023 if test $ac_cv_type_size_t = yes; then
37024 :
37025 else
37026
37027 cat >>confdefs.h <<_ACEOF
37028 #define size_t unsigned int
37029 _ACEOF
37030
37031 fi
37032
37033 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37034 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37035 if test "${ac_cv_type_uid_t+set}" = set; then
37036 echo $ECHO_N "(cached) $ECHO_C" >&6
37037 else
37038 cat >conftest.$ac_ext <<_ACEOF
37039 /* confdefs.h. */
37040 _ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 #include <sys/types.h>
37045
37046 _ACEOF
37047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37048 $EGREP "uid_t" >/dev/null 2>&1; then
37049 ac_cv_type_uid_t=yes
37050 else
37051 ac_cv_type_uid_t=no
37052 fi
37053 rm -f conftest*
37054
37055 fi
37056 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37057 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37058 if test $ac_cv_type_uid_t = no; then
37059
37060 cat >>confdefs.h <<\_ACEOF
37061 #define uid_t int
37062 _ACEOF
37063
37064
37065 cat >>confdefs.h <<\_ACEOF
37066 #define gid_t int
37067 _ACEOF
37068
37069 fi
37070
37071
37072 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37073 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37074 if test "${ac_cv_type_ssize_t+set}" = set; then
37075 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 else
37077 cat >conftest.$ac_ext <<_ACEOF
37078 /* confdefs.h. */
37079 _ACEOF
37080 cat confdefs.h >>conftest.$ac_ext
37081 cat >>conftest.$ac_ext <<_ACEOF
37082 /* end confdefs.h. */
37083 $ac_includes_default
37084 typedef ssize_t ac__type_new_;
37085 int
37086 main ()
37087 {
37088 if ((ac__type_new_ *) 0)
37089 return 0;
37090 if (sizeof (ac__type_new_))
37091 return 0;
37092 ;
37093 return 0;
37094 }
37095 _ACEOF
37096 rm -f conftest.$ac_objext
37097 if { (ac_try="$ac_compile"
37098 case "(($ac_try" in
37099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37100 *) ac_try_echo=$ac_try;;
37101 esac
37102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37103 (eval "$ac_compile") 2>conftest.er1
37104 ac_status=$?
37105 grep -v '^ *+' conftest.er1 >conftest.err
37106 rm -f conftest.er1
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } && {
37110 test -z "$ac_c_werror_flag" ||
37111 test ! -s conftest.err
37112 } && test -s conftest.$ac_objext; then
37113 ac_cv_type_ssize_t=yes
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37117
37118 ac_cv_type_ssize_t=no
37119 fi
37120
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37122 fi
37123 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37124 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37125 if test $ac_cv_type_ssize_t = yes; then
37126
37127 cat >>confdefs.h <<_ACEOF
37128 #define HAVE_SSIZE_T 1
37129 _ACEOF
37130
37131
37132 fi
37133
37134
37135 ac_ext=cpp
37136 ac_cpp='$CXXCPP $CPPFLAGS'
37137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37140 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37141 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37142 if test "${wx_cv_size_t_is_uint+set}" = set; then
37143 echo $ECHO_N "(cached) $ECHO_C" >&6
37144 else
37145
37146 cat >conftest.$ac_ext <<_ACEOF
37147 /* confdefs.h. */
37148 _ACEOF
37149 cat confdefs.h >>conftest.$ac_ext
37150 cat >>conftest.$ac_ext <<_ACEOF
37151 /* end confdefs.h. */
37152 #include <stddef.h>
37153 int
37154 main ()
37155 {
37156
37157 return 0; }
37158
37159 struct Foo { void foo(size_t); void foo(unsigned int); };
37160
37161 int bar() {
37162
37163 ;
37164 return 0;
37165 }
37166 _ACEOF
37167 rm -f conftest.$ac_objext
37168 if { (ac_try="$ac_compile"
37169 case "(($ac_try" in
37170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37171 *) ac_try_echo=$ac_try;;
37172 esac
37173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37174 (eval "$ac_compile") 2>conftest.er1
37175 ac_status=$?
37176 grep -v '^ *+' conftest.er1 >conftest.err
37177 rm -f conftest.er1
37178 cat conftest.err >&5
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); } && {
37181 test -z "$ac_cxx_werror_flag" ||
37182 test ! -s conftest.err
37183 } && test -s conftest.$ac_objext; then
37184 wx_cv_size_t_is_uint=no
37185 else
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.$ac_ext >&5
37188
37189 wx_cv_size_t_is_uint=yes
37190
37191 fi
37192
37193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37194
37195
37196 fi
37197 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37198 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37199
37200 if test "$wx_cv_size_t_is_uint" = "yes"; then
37201 cat >>confdefs.h <<\_ACEOF
37202 #define wxSIZE_T_IS_UINT 1
37203 _ACEOF
37204
37205 else
37206 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37207 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37208 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37209 echo $ECHO_N "(cached) $ECHO_C" >&6
37210 else
37211 cat >conftest.$ac_ext <<_ACEOF
37212 /* confdefs.h. */
37213 _ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 #include <stddef.h>
37218 int
37219 main ()
37220 {
37221
37222 return 0; }
37223
37224 struct Foo { void foo(size_t); void foo(unsigned long); };
37225
37226 int bar() {
37227
37228 ;
37229 return 0;
37230 }
37231 _ACEOF
37232 rm -f conftest.$ac_objext
37233 if { (ac_try="$ac_compile"
37234 case "(($ac_try" in
37235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37236 *) ac_try_echo=$ac_try;;
37237 esac
37238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37239 (eval "$ac_compile") 2>conftest.er1
37240 ac_status=$?
37241 grep -v '^ *+' conftest.er1 >conftest.err
37242 rm -f conftest.er1
37243 cat conftest.err >&5
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); } && {
37246 test -z "$ac_cxx_werror_flag" ||
37247 test ! -s conftest.err
37248 } && test -s conftest.$ac_objext; then
37249 wx_cv_size_t_is_ulong=no
37250 else
37251 echo "$as_me: failed program was:" >&5
37252 sed 's/^/| /' conftest.$ac_ext >&5
37253
37254 wx_cv_size_t_is_ulong=yes
37255
37256 fi
37257
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37259
37260 fi
37261 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37262 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37263
37264 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37265 cat >>confdefs.h <<\_ACEOF
37266 #define wxSIZE_T_IS_ULONG 1
37267 _ACEOF
37268
37269 fi
37270 fi
37271
37272 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37273 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37274 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37275 echo $ECHO_N "(cached) $ECHO_C" >&6
37276 else
37277 cat >conftest.$ac_ext <<_ACEOF
37278 /* confdefs.h. */
37279 _ACEOF
37280 cat confdefs.h >>conftest.$ac_ext
37281 cat >>conftest.$ac_ext <<_ACEOF
37282 /* end confdefs.h. */
37283 #include <wchar.h>
37284 int
37285 main ()
37286 {
37287
37288 return 0; }
37289
37290 struct Foo { void foo(wchar_t);
37291 void foo(unsigned short);
37292 void foo(unsigned int);
37293 void foo(unsigned long); };
37294
37295 int bar() {
37296
37297 ;
37298 return 0;
37299 }
37300 _ACEOF
37301 rm -f conftest.$ac_objext
37302 if { (ac_try="$ac_compile"
37303 case "(($ac_try" in
37304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37305 *) ac_try_echo=$ac_try;;
37306 esac
37307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37308 (eval "$ac_compile") 2>conftest.er1
37309 ac_status=$?
37310 grep -v '^ *+' conftest.er1 >conftest.err
37311 rm -f conftest.er1
37312 cat conftest.err >&5
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); } && {
37315 test -z "$ac_cxx_werror_flag" ||
37316 test ! -s conftest.err
37317 } && test -s conftest.$ac_objext; then
37318 wx_cv_wchar_t_is_separate_type=yes
37319 else
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37322
37323 wx_cv_wchar_t_is_separate_type=no
37324
37325 fi
37326
37327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37328
37329 fi
37330 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37331 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37332
37333 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37334 cat >>confdefs.h <<\_ACEOF
37335 #define wxWCHAR_T_IS_REAL_TYPE 1
37336 _ACEOF
37337
37338 else
37339 cat >>confdefs.h <<\_ACEOF
37340 #define wxWCHAR_T_IS_REAL_TYPE 0
37341 _ACEOF
37342
37343 fi
37344
37345 ac_ext=c
37346 ac_cpp='$CPP $CPPFLAGS'
37347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37350
37351
37352 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37353 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37354 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37355 echo $ECHO_N "(cached) $ECHO_C" >&6
37356 else
37357
37358 cat >conftest.$ac_ext <<_ACEOF
37359 /* confdefs.h. */
37360 _ACEOF
37361 cat confdefs.h >>conftest.$ac_ext
37362 cat >>conftest.$ac_ext <<_ACEOF
37363 /* end confdefs.h. */
37364 #include <pwd.h>
37365 int
37366 main ()
37367 {
37368
37369 char *p;
37370 struct passwd *pw;
37371 p = pw->pw_gecos;
37372
37373 ;
37374 return 0;
37375 }
37376 _ACEOF
37377 rm -f conftest.$ac_objext
37378 if { (ac_try="$ac_compile"
37379 case "(($ac_try" in
37380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37381 *) ac_try_echo=$ac_try;;
37382 esac
37383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37384 (eval "$ac_compile") 2>conftest.er1
37385 ac_status=$?
37386 grep -v '^ *+' conftest.er1 >conftest.err
37387 rm -f conftest.er1
37388 cat conftest.err >&5
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } && {
37391 test -z "$ac_c_werror_flag" ||
37392 test ! -s conftest.err
37393 } && test -s conftest.$ac_objext; then
37394
37395 wx_cv_struct_pw_gecos=yes
37396
37397 else
37398 echo "$as_me: failed program was:" >&5
37399 sed 's/^/| /' conftest.$ac_ext >&5
37400
37401
37402 wx_cv_struct_pw_gecos=no
37403
37404
37405 fi
37406
37407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37408
37409
37410 fi
37411 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37412 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37413
37414 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37415 cat >>confdefs.h <<\_ACEOF
37416 #define HAVE_PW_GECOS 1
37417 _ACEOF
37418
37419 fi
37420
37421
37422 if test "$wxUSE_WCHAR_T" = "yes"; then
37423 cat >>confdefs.h <<\_ACEOF
37424 #define wxUSE_WCHAR_T 1
37425 _ACEOF
37426
37427
37428 WCSLEN_FOUND=0
37429 WCHAR_LINK=
37430
37431 for ac_func in wcslen
37432 do
37433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37436 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37438 else
37439 cat >conftest.$ac_ext <<_ACEOF
37440 /* confdefs.h. */
37441 _ACEOF
37442 cat confdefs.h >>conftest.$ac_ext
37443 cat >>conftest.$ac_ext <<_ACEOF
37444 /* end confdefs.h. */
37445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37447 #define $ac_func innocuous_$ac_func
37448
37449 /* System header to define __stub macros and hopefully few prototypes,
37450 which can conflict with char $ac_func (); below.
37451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37452 <limits.h> exists even on freestanding compilers. */
37453
37454 #ifdef __STDC__
37455 # include <limits.h>
37456 #else
37457 # include <assert.h>
37458 #endif
37459
37460 #undef $ac_func
37461
37462 /* Override any GCC internal prototype to avoid an error.
37463 Use char because int might match the return type of a GCC
37464 builtin and then its argument prototype would still apply. */
37465 #ifdef __cplusplus
37466 extern "C"
37467 #endif
37468 char $ac_func ();
37469 /* The GNU C library defines this for functions which it implements
37470 to always fail with ENOSYS. Some functions are actually named
37471 something starting with __ and the normal name is an alias. */
37472 #if defined __stub_$ac_func || defined __stub___$ac_func
37473 choke me
37474 #endif
37475
37476 int
37477 main ()
37478 {
37479 return $ac_func ();
37480 ;
37481 return 0;
37482 }
37483 _ACEOF
37484 rm -f conftest.$ac_objext conftest$ac_exeext
37485 if { (ac_try="$ac_link"
37486 case "(($ac_try" in
37487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37488 *) ac_try_echo=$ac_try;;
37489 esac
37490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37491 (eval "$ac_link") 2>conftest.er1
37492 ac_status=$?
37493 grep -v '^ *+' conftest.er1 >conftest.err
37494 rm -f conftest.er1
37495 cat conftest.err >&5
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); } && {
37498 test -z "$ac_c_werror_flag" ||
37499 test ! -s conftest.err
37500 } && test -s conftest$ac_exeext &&
37501 $as_test_x conftest$ac_exeext; then
37502 eval "$as_ac_var=yes"
37503 else
37504 echo "$as_me: failed program was:" >&5
37505 sed 's/^/| /' conftest.$ac_ext >&5
37506
37507 eval "$as_ac_var=no"
37508 fi
37509
37510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37511 conftest$ac_exeext conftest.$ac_ext
37512 fi
37513 ac_res=`eval echo '${'$as_ac_var'}'`
37514 { echo "$as_me:$LINENO: result: $ac_res" >&5
37515 echo "${ECHO_T}$ac_res" >&6; }
37516 if test `eval echo '${'$as_ac_var'}'` = yes; then
37517 cat >>confdefs.h <<_ACEOF
37518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37519 _ACEOF
37520 WCSLEN_FOUND=1
37521 fi
37522 done
37523
37524
37525 if test "$WCSLEN_FOUND" = 0; then
37526 if test "$TOOLKIT" = "MSW"; then
37527 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37528 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37529 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37530 echo $ECHO_N "(cached) $ECHO_C" >&6
37531 else
37532 ac_check_lib_save_LIBS=$LIBS
37533 LIBS="-lmsvcrt $LIBS"
37534 cat >conftest.$ac_ext <<_ACEOF
37535 /* confdefs.h. */
37536 _ACEOF
37537 cat confdefs.h >>conftest.$ac_ext
37538 cat >>conftest.$ac_ext <<_ACEOF
37539 /* end confdefs.h. */
37540
37541 /* Override any GCC internal prototype to avoid an error.
37542 Use char because int might match the return type of a GCC
37543 builtin and then its argument prototype would still apply. */
37544 #ifdef __cplusplus
37545 extern "C"
37546 #endif
37547 char wcslen ();
37548 int
37549 main ()
37550 {
37551 return wcslen ();
37552 ;
37553 return 0;
37554 }
37555 _ACEOF
37556 rm -f conftest.$ac_objext conftest$ac_exeext
37557 if { (ac_try="$ac_link"
37558 case "(($ac_try" in
37559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37560 *) ac_try_echo=$ac_try;;
37561 esac
37562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37563 (eval "$ac_link") 2>conftest.er1
37564 ac_status=$?
37565 grep -v '^ *+' conftest.er1 >conftest.err
37566 rm -f conftest.er1
37567 cat conftest.err >&5
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); } && {
37570 test -z "$ac_c_werror_flag" ||
37571 test ! -s conftest.err
37572 } && test -s conftest$ac_exeext &&
37573 $as_test_x conftest$ac_exeext; then
37574 ac_cv_lib_msvcrt_wcslen=yes
37575 else
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.$ac_ext >&5
37578
37579 ac_cv_lib_msvcrt_wcslen=no
37580 fi
37581
37582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37583 conftest$ac_exeext conftest.$ac_ext
37584 LIBS=$ac_check_lib_save_LIBS
37585 fi
37586 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37587 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37588 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37589 WCHAR_OK=1
37590 fi
37591
37592 else
37593 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37594 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37595 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37596 echo $ECHO_N "(cached) $ECHO_C" >&6
37597 else
37598 ac_check_lib_save_LIBS=$LIBS
37599 LIBS="-lw $LIBS"
37600 cat >conftest.$ac_ext <<_ACEOF
37601 /* confdefs.h. */
37602 _ACEOF
37603 cat confdefs.h >>conftest.$ac_ext
37604 cat >>conftest.$ac_ext <<_ACEOF
37605 /* end confdefs.h. */
37606
37607 /* Override any GCC internal prototype to avoid an error.
37608 Use char because int might match the return type of a GCC
37609 builtin and then its argument prototype would still apply. */
37610 #ifdef __cplusplus
37611 extern "C"
37612 #endif
37613 char wcslen ();
37614 int
37615 main ()
37616 {
37617 return wcslen ();
37618 ;
37619 return 0;
37620 }
37621 _ACEOF
37622 rm -f conftest.$ac_objext conftest$ac_exeext
37623 if { (ac_try="$ac_link"
37624 case "(($ac_try" in
37625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37626 *) ac_try_echo=$ac_try;;
37627 esac
37628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37629 (eval "$ac_link") 2>conftest.er1
37630 ac_status=$?
37631 grep -v '^ *+' conftest.er1 >conftest.err
37632 rm -f conftest.er1
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); } && {
37636 test -z "$ac_c_werror_flag" ||
37637 test ! -s conftest.err
37638 } && test -s conftest$ac_exeext &&
37639 $as_test_x conftest$ac_exeext; then
37640 ac_cv_lib_w_wcslen=yes
37641 else
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37644
37645 ac_cv_lib_w_wcslen=no
37646 fi
37647
37648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37649 conftest$ac_exeext conftest.$ac_ext
37650 LIBS=$ac_check_lib_save_LIBS
37651 fi
37652 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37653 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37654 if test $ac_cv_lib_w_wcslen = yes; then
37655
37656 WCHAR_LINK=" -lw"
37657 WCSLEN_FOUND=1
37658
37659 fi
37660
37661 fi
37662 fi
37663
37664 if test "$WCSLEN_FOUND" = 1; then
37665 cat >>confdefs.h <<\_ACEOF
37666 #define HAVE_WCSLEN 1
37667 _ACEOF
37668
37669 fi
37670
37671
37672 for ac_func in wcsdup
37673 do
37674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37675 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37677 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37678 echo $ECHO_N "(cached) $ECHO_C" >&6
37679 else
37680 cat >conftest.$ac_ext <<_ACEOF
37681 /* confdefs.h. */
37682 _ACEOF
37683 cat confdefs.h >>conftest.$ac_ext
37684 cat >>conftest.$ac_ext <<_ACEOF
37685 /* end confdefs.h. */
37686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37688 #define $ac_func innocuous_$ac_func
37689
37690 /* System header to define __stub macros and hopefully few prototypes,
37691 which can conflict with char $ac_func (); below.
37692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37693 <limits.h> exists even on freestanding compilers. */
37694
37695 #ifdef __STDC__
37696 # include <limits.h>
37697 #else
37698 # include <assert.h>
37699 #endif
37700
37701 #undef $ac_func
37702
37703 /* Override any GCC internal prototype to avoid an error.
37704 Use char because int might match the return type of a GCC
37705 builtin and then its argument prototype would still apply. */
37706 #ifdef __cplusplus
37707 extern "C"
37708 #endif
37709 char $ac_func ();
37710 /* The GNU C library defines this for functions which it implements
37711 to always fail with ENOSYS. Some functions are actually named
37712 something starting with __ and the normal name is an alias. */
37713 #if defined __stub_$ac_func || defined __stub___$ac_func
37714 choke me
37715 #endif
37716
37717 int
37718 main ()
37719 {
37720 return $ac_func ();
37721 ;
37722 return 0;
37723 }
37724 _ACEOF
37725 rm -f conftest.$ac_objext conftest$ac_exeext
37726 if { (ac_try="$ac_link"
37727 case "(($ac_try" in
37728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37729 *) ac_try_echo=$ac_try;;
37730 esac
37731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37732 (eval "$ac_link") 2>conftest.er1
37733 ac_status=$?
37734 grep -v '^ *+' conftest.er1 >conftest.err
37735 rm -f conftest.er1
37736 cat conftest.err >&5
37737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37738 (exit $ac_status); } && {
37739 test -z "$ac_c_werror_flag" ||
37740 test ! -s conftest.err
37741 } && test -s conftest$ac_exeext &&
37742 $as_test_x conftest$ac_exeext; then
37743 eval "$as_ac_var=yes"
37744 else
37745 echo "$as_me: failed program was:" >&5
37746 sed 's/^/| /' conftest.$ac_ext >&5
37747
37748 eval "$as_ac_var=no"
37749 fi
37750
37751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37752 conftest$ac_exeext conftest.$ac_ext
37753 fi
37754 ac_res=`eval echo '${'$as_ac_var'}'`
37755 { echo "$as_me:$LINENO: result: $ac_res" >&5
37756 echo "${ECHO_T}$ac_res" >&6; }
37757 if test `eval echo '${'$as_ac_var'}'` = yes; then
37758 cat >>confdefs.h <<_ACEOF
37759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37760 _ACEOF
37761
37762 fi
37763 done
37764
37765
37766 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37767 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37768 fi
37769
37770 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37771 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37772 if test "${ac_cv_type_mbstate_t+set}" = set; then
37773 echo $ECHO_N "(cached) $ECHO_C" >&6
37774 else
37775 cat >conftest.$ac_ext <<_ACEOF
37776 /* confdefs.h. */
37777 _ACEOF
37778 cat confdefs.h >>conftest.$ac_ext
37779 cat >>conftest.$ac_ext <<_ACEOF
37780 /* end confdefs.h. */
37781 #include <wchar.h>
37782
37783 typedef mbstate_t ac__type_new_;
37784 int
37785 main ()
37786 {
37787 if ((ac__type_new_ *) 0)
37788 return 0;
37789 if (sizeof (ac__type_new_))
37790 return 0;
37791 ;
37792 return 0;
37793 }
37794 _ACEOF
37795 rm -f conftest.$ac_objext
37796 if { (ac_try="$ac_compile"
37797 case "(($ac_try" in
37798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37799 *) ac_try_echo=$ac_try;;
37800 esac
37801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37802 (eval "$ac_compile") 2>conftest.er1
37803 ac_status=$?
37804 grep -v '^ *+' conftest.er1 >conftest.err
37805 rm -f conftest.er1
37806 cat conftest.err >&5
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); } && {
37809 test -z "$ac_c_werror_flag" ||
37810 test ! -s conftest.err
37811 } && test -s conftest.$ac_objext; then
37812 ac_cv_type_mbstate_t=yes
37813 else
37814 echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.$ac_ext >&5
37816
37817 ac_cv_type_mbstate_t=no
37818 fi
37819
37820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37821 fi
37822 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37823 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37824 if test $ac_cv_type_mbstate_t = yes; then
37825
37826 cat >>confdefs.h <<_ACEOF
37827 #define HAVE_MBSTATE_T 1
37828 _ACEOF
37829
37830
37831 for ac_func in wcsrtombs
37832 do
37833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37837 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 else
37839 cat >conftest.$ac_ext <<_ACEOF
37840 /* confdefs.h. */
37841 _ACEOF
37842 cat confdefs.h >>conftest.$ac_ext
37843 cat >>conftest.$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37847 #define $ac_func innocuous_$ac_func
37848
37849 /* System header to define __stub macros and hopefully few prototypes,
37850 which can conflict with char $ac_func (); below.
37851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37852 <limits.h> exists even on freestanding compilers. */
37853
37854 #ifdef __STDC__
37855 # include <limits.h>
37856 #else
37857 # include <assert.h>
37858 #endif
37859
37860 #undef $ac_func
37861
37862 /* Override any GCC internal prototype to avoid an error.
37863 Use char because int might match the return type of a GCC
37864 builtin and then its argument prototype would still apply. */
37865 #ifdef __cplusplus
37866 extern "C"
37867 #endif
37868 char $ac_func ();
37869 /* The GNU C library defines this for functions which it implements
37870 to always fail with ENOSYS. Some functions are actually named
37871 something starting with __ and the normal name is an alias. */
37872 #if defined __stub_$ac_func || defined __stub___$ac_func
37873 choke me
37874 #endif
37875
37876 int
37877 main ()
37878 {
37879 return $ac_func ();
37880 ;
37881 return 0;
37882 }
37883 _ACEOF
37884 rm -f conftest.$ac_objext conftest$ac_exeext
37885 if { (ac_try="$ac_link"
37886 case "(($ac_try" in
37887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37888 *) ac_try_echo=$ac_try;;
37889 esac
37890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37891 (eval "$ac_link") 2>conftest.er1
37892 ac_status=$?
37893 grep -v '^ *+' conftest.er1 >conftest.err
37894 rm -f conftest.er1
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } && {
37898 test -z "$ac_c_werror_flag" ||
37899 test ! -s conftest.err
37900 } && test -s conftest$ac_exeext &&
37901 $as_test_x conftest$ac_exeext; then
37902 eval "$as_ac_var=yes"
37903 else
37904 echo "$as_me: failed program was:" >&5
37905 sed 's/^/| /' conftest.$ac_ext >&5
37906
37907 eval "$as_ac_var=no"
37908 fi
37909
37910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37911 conftest$ac_exeext conftest.$ac_ext
37912 fi
37913 ac_res=`eval echo '${'$as_ac_var'}'`
37914 { echo "$as_me:$LINENO: result: $ac_res" >&5
37915 echo "${ECHO_T}$ac_res" >&6; }
37916 if test `eval echo '${'$as_ac_var'}'` = yes; then
37917 cat >>confdefs.h <<_ACEOF
37918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37919 _ACEOF
37920
37921 fi
37922 done
37923
37924 fi
37925
37926 else
37927 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37928 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37929 fi
37930
37931
37932
37933 for ac_func in snprintf vsnprintf
37934 do
37935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37936 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37938 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37940 else
37941 cat >conftest.$ac_ext <<_ACEOF
37942 /* confdefs.h. */
37943 _ACEOF
37944 cat confdefs.h >>conftest.$ac_ext
37945 cat >>conftest.$ac_ext <<_ACEOF
37946 /* end confdefs.h. */
37947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37949 #define $ac_func innocuous_$ac_func
37950
37951 /* System header to define __stub macros and hopefully few prototypes,
37952 which can conflict with char $ac_func (); below.
37953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37954 <limits.h> exists even on freestanding compilers. */
37955
37956 #ifdef __STDC__
37957 # include <limits.h>
37958 #else
37959 # include <assert.h>
37960 #endif
37961
37962 #undef $ac_func
37963
37964 /* Override any GCC internal prototype to avoid an error.
37965 Use char because int might match the return type of a GCC
37966 builtin and then its argument prototype would still apply. */
37967 #ifdef __cplusplus
37968 extern "C"
37969 #endif
37970 char $ac_func ();
37971 /* The GNU C library defines this for functions which it implements
37972 to always fail with ENOSYS. Some functions are actually named
37973 something starting with __ and the normal name is an alias. */
37974 #if defined __stub_$ac_func || defined __stub___$ac_func
37975 choke me
37976 #endif
37977
37978 int
37979 main ()
37980 {
37981 return $ac_func ();
37982 ;
37983 return 0;
37984 }
37985 _ACEOF
37986 rm -f conftest.$ac_objext conftest$ac_exeext
37987 if { (ac_try="$ac_link"
37988 case "(($ac_try" in
37989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37990 *) ac_try_echo=$ac_try;;
37991 esac
37992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37993 (eval "$ac_link") 2>conftest.er1
37994 ac_status=$?
37995 grep -v '^ *+' conftest.er1 >conftest.err
37996 rm -f conftest.er1
37997 cat conftest.err >&5
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); } && {
38000 test -z "$ac_c_werror_flag" ||
38001 test ! -s conftest.err
38002 } && test -s conftest$ac_exeext &&
38003 $as_test_x conftest$ac_exeext; then
38004 eval "$as_ac_var=yes"
38005 else
38006 echo "$as_me: failed program was:" >&5
38007 sed 's/^/| /' conftest.$ac_ext >&5
38008
38009 eval "$as_ac_var=no"
38010 fi
38011
38012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38013 conftest$ac_exeext conftest.$ac_ext
38014 fi
38015 ac_res=`eval echo '${'$as_ac_var'}'`
38016 { echo "$as_me:$LINENO: result: $ac_res" >&5
38017 echo "${ECHO_T}$ac_res" >&6; }
38018 if test `eval echo '${'$as_ac_var'}'` = yes; then
38019 cat >>confdefs.h <<_ACEOF
38020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38021 _ACEOF
38022
38023 fi
38024 done
38025
38026
38027 if test "$ac_cv_func_vsnprintf" = "yes"; then
38028 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38029 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38030 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 else
38033
38034 cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h. */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040
38041 #include <stdio.h>
38042 #include <stdarg.h>
38043 #ifdef __MSL__
38044 #if __MSL__ >= 0x6000
38045 namespace std {}
38046 using namespace std;
38047 #endif
38048 #endif
38049
38050 int
38051 main ()
38052 {
38053
38054 char *buf;
38055 va_list ap;
38056 vsnprintf(buf, 10u, "%s", ap);
38057
38058 ;
38059 return 0;
38060 }
38061 _ACEOF
38062 rm -f conftest.$ac_objext
38063 if { (ac_try="$ac_compile"
38064 case "(($ac_try" in
38065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38067 esac
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_compile") 2>conftest.er1
38070 ac_status=$?
38071 grep -v '^ *+' conftest.er1 >conftest.err
38072 rm -f conftest.er1
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest.$ac_objext; then
38079 wx_cv_func_vsnprintf_decl=yes
38080 else
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.$ac_ext >&5
38083
38084 wx_cv_func_vsnprintf_decl=no
38085
38086 fi
38087
38088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38089
38090
38091 fi
38092 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38093 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38094
38095 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_VSNPRINTF_DECL 1
38098 _ACEOF
38099
38100
38101 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38102 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38103 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38105 else
38106
38107 cat >conftest.$ac_ext <<_ACEOF
38108 /* confdefs.h. */
38109 _ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38113
38114 #include <stdio.h>
38115 #include <stdarg.h>
38116 #ifdef __MSL__
38117 #if __MSL__ >= 0x6000
38118 namespace std {}
38119 using namespace std;
38120 #endif
38121 #endif
38122
38123 int
38124 main ()
38125 {
38126
38127 char *buf;
38128 va_list ap;
38129 const char *fmt = "%s";
38130 vsnprintf(buf, 10u, fmt, ap);
38131
38132 ;
38133 return 0;
38134 }
38135 _ACEOF
38136 rm -f conftest.$ac_objext
38137 if { (ac_try="$ac_compile"
38138 case "(($ac_try" in
38139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38140 *) ac_try_echo=$ac_try;;
38141 esac
38142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38143 (eval "$ac_compile") 2>conftest.er1
38144 ac_status=$?
38145 grep -v '^ *+' conftest.er1 >conftest.err
38146 rm -f conftest.er1
38147 cat conftest.err >&5
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); } && {
38150 test -z "$ac_c_werror_flag" ||
38151 test ! -s conftest.err
38152 } && test -s conftest.$ac_objext; then
38153 wx_cv_func_broken_vsnprintf_decl=no
38154 else
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38157
38158 wx_cv_func_broken_vsnprintf_decl=yes
38159
38160 fi
38161
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38163
38164
38165 fi
38166 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38167 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38168
38169 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38170 cat >>confdefs.h <<\_ACEOF
38171 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38172 _ACEOF
38173
38174 fi
38175 fi
38176 fi
38177
38178 if test "$ac_cv_func_snprintf" = "yes"; then
38179 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38180 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38181 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38183 else
38184
38185 cat >conftest.$ac_ext <<_ACEOF
38186 /* confdefs.h. */
38187 _ACEOF
38188 cat confdefs.h >>conftest.$ac_ext
38189 cat >>conftest.$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38191
38192 #include <stdio.h>
38193 #include <stdarg.h>
38194 #ifdef __MSL__
38195 #if __MSL__ >= 0x6000
38196 namespace std {}
38197 using namespace std;
38198 #endif
38199 #endif
38200
38201 int
38202 main ()
38203 {
38204
38205 char *buf;
38206 snprintf(buf, 10u, "%s", "wx");
38207
38208 ;
38209 return 0;
38210 }
38211 _ACEOF
38212 rm -f conftest.$ac_objext
38213 if { (ac_try="$ac_compile"
38214 case "(($ac_try" in
38215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38216 *) ac_try_echo=$ac_try;;
38217 esac
38218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38219 (eval "$ac_compile") 2>conftest.er1
38220 ac_status=$?
38221 grep -v '^ *+' conftest.er1 >conftest.err
38222 rm -f conftest.er1
38223 cat conftest.err >&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); } && {
38226 test -z "$ac_c_werror_flag" ||
38227 test ! -s conftest.err
38228 } && test -s conftest.$ac_objext; then
38229 wx_cv_func_snprintf_decl=yes
38230 else
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38233
38234 wx_cv_func_snprintf_decl=no
38235
38236 fi
38237
38238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38239
38240
38241 fi
38242 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38243 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38244
38245 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38246 cat >>confdefs.h <<\_ACEOF
38247 #define HAVE_SNPRINTF_DECL 1
38248 _ACEOF
38249
38250 fi
38251
38252 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38253
38254 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38255 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38256 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38257 echo $ECHO_N "(cached) $ECHO_C" >&6
38258 else
38259
38260 if test "$cross_compiling" = yes; then
38261
38262 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38263 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38264 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38265 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38266 wx_cv_func_snprintf_pos_params=no
38267
38268
38269 else
38270 cat >conftest.$ac_ext <<_ACEOF
38271 /* confdefs.h. */
38272 _ACEOF
38273 cat confdefs.h >>conftest.$ac_ext
38274 cat >>conftest.$ac_ext <<_ACEOF
38275 /* end confdefs.h. */
38276
38277 #include <stdio.h>
38278
38279 int main (void)
38280 {
38281 char buffer[128];
38282 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38283 if (strcmp ("2 3 1", buffer) == 0)
38284 exit (0);
38285 exit (1);
38286 }
38287
38288 _ACEOF
38289 rm -f conftest$ac_exeext
38290 if { (ac_try="$ac_link"
38291 case "(($ac_try" in
38292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38293 *) ac_try_echo=$ac_try;;
38294 esac
38295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38296 (eval "$ac_link") 2>&5
38297 ac_status=$?
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38300 { (case "(($ac_try" in
38301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38302 *) ac_try_echo=$ac_try;;
38303 esac
38304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38305 (eval "$ac_try") 2>&5
38306 ac_status=$?
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); }; }; then
38309 wx_cv_func_snprintf_pos_params=no
38310 else
38311 echo "$as_me: program exited with status $ac_status" >&5
38312 echo "$as_me: failed program was:" >&5
38313 sed 's/^/| /' conftest.$ac_ext >&5
38314
38315 ( exit $ac_status )
38316 wx_cv_func_snprintf_pos_params=yes
38317 fi
38318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38319 fi
38320
38321
38322
38323
38324 fi
38325 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38326 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38327
38328 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38329 cat >>confdefs.h <<\_ACEOF
38330 #define HAVE_UNIX98_PRINTF 1
38331 _ACEOF
38332
38333 fi
38334 fi
38335 fi
38336
38337 if test "$wxUSE_UNICODE" = yes; then
38338
38339 wchar_headers="#include <stdio.h>
38340 #include <wchar.h>"
38341 case "${host}" in
38342 *-*-solaris2* )
38343
38344 for ac_header in widec.h
38345 do
38346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38347 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 else
38352 cat >conftest.$ac_ext <<_ACEOF
38353 /* confdefs.h. */
38354 _ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358 $ac_includes_default
38359
38360 #include <$ac_header>
38361 _ACEOF
38362 rm -f conftest.$ac_objext
38363 if { (ac_try="$ac_compile"
38364 case "(($ac_try" in
38365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38366 *) ac_try_echo=$ac_try;;
38367 esac
38368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38369 (eval "$ac_compile") 2>conftest.er1
38370 ac_status=$?
38371 grep -v '^ *+' conftest.er1 >conftest.err
38372 rm -f conftest.er1
38373 cat conftest.err >&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); } && {
38376 test -z "$ac_c_werror_flag" ||
38377 test ! -s conftest.err
38378 } && test -s conftest.$ac_objext; then
38379 eval "$as_ac_Header=yes"
38380 else
38381 echo "$as_me: failed program was:" >&5
38382 sed 's/^/| /' conftest.$ac_ext >&5
38383
38384 eval "$as_ac_Header=no"
38385 fi
38386
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38388 fi
38389 ac_res=`eval echo '${'$as_ac_Header'}'`
38390 { echo "$as_me:$LINENO: result: $ac_res" >&5
38391 echo "${ECHO_T}$ac_res" >&6; }
38392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38393 cat >>confdefs.h <<_ACEOF
38394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38395 _ACEOF
38396
38397 fi
38398
38399 done
38400
38401 if test "$ac_cv_header_widec_h" = "yes"; then
38402 wchar_headers="$wchar_headers
38403 #include <widec.h>"
38404 fi
38405 esac
38406
38407
38408 for wx_func in putws fputws wprintf vswprintf
38409 do
38410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38412 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 else
38415
38416 cat >conftest.$ac_ext <<_ACEOF
38417
38418 /* confdefs.h. */
38419 _ACEOF
38420 cat confdefs.h >>conftest.$ac_ext
38421 cat >>conftest.$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38423
38424 $wchar_headers
38425 $ac_includes_default
38426
38427 int
38428 main ()
38429 {
38430
38431 #ifndef $wx_func
38432 &$wx_func;
38433 #endif
38434
38435
38436 ;
38437 return 0;
38438 }
38439
38440 _ACEOF
38441 rm -f conftest.$ac_objext conftest$ac_exeext
38442 if { (ac_try="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38445 *) ac_try_echo=$ac_try;;
38446 esac
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38449 ac_status=$?
38450 grep -v '^ *+' conftest.er1 >conftest.err
38451 rm -f conftest.er1
38452 cat conftest.err >&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_c_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest$ac_exeext &&
38458 $as_test_x conftest$ac_exeext; then
38459 eval wx_cv_func_$wx_func=yes
38460 else
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.$ac_ext >&5
38463
38464 eval wx_cv_func_$wx_func=no
38465 fi
38466
38467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38468 conftest$ac_exeext conftest.$ac_ext
38469
38470 fi
38471 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38474
38475 if eval test \$wx_cv_func_$wx_func = yes
38476 then
38477 cat >>confdefs.h <<_ACEOF
38478 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38479 _ACEOF
38480
38481
38482 else
38483 :
38484
38485 fi
38486 done
38487
38488
38489 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38490 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38491 cat >conftest.$ac_ext <<_ACEOF
38492 /* confdefs.h. */
38493 _ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h. */
38497 #include <wchar.h>
38498 int
38499 main ()
38500 {
38501 &_vsnwprintf;
38502 ;
38503 return 0;
38504 }
38505 _ACEOF
38506 rm -f conftest.$ac_objext
38507 if { (ac_try="$ac_compile"
38508 case "(($ac_try" in
38509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38510 *) ac_try_echo=$ac_try;;
38511 esac
38512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38513 (eval "$ac_compile") 2>conftest.er1
38514 ac_status=$?
38515 grep -v '^ *+' conftest.er1 >conftest.err
38516 rm -f conftest.er1
38517 cat conftest.err >&5
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); } && {
38520 test -z "$ac_c_werror_flag" ||
38521 test ! -s conftest.err
38522 } && test -s conftest.$ac_objext; then
38523 { echo "$as_me:$LINENO: result: yes" >&5
38524 echo "${ECHO_T}yes" >&6; }
38525 cat >>confdefs.h <<\_ACEOF
38526 #define HAVE__VSNWPRINTF 1
38527 _ACEOF
38528
38529 else
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38532
38533 { echo "$as_me:$LINENO: result: no" >&5
38534 echo "${ECHO_T}no" >&6; }
38535 fi
38536
38537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38538 fi
38539
38540 if test "$wxUSE_FILE" = "yes"; then
38541
38542 for wx_func in fsync
38543 do
38544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38546 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38547 echo $ECHO_N "(cached) $ECHO_C" >&6
38548 else
38549
38550 cat >conftest.$ac_ext <<_ACEOF
38551
38552 /* confdefs.h. */
38553 _ACEOF
38554 cat confdefs.h >>conftest.$ac_ext
38555 cat >>conftest.$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38557
38558
38559 $ac_includes_default
38560
38561 int
38562 main ()
38563 {
38564
38565 #ifndef $wx_func
38566 &$wx_func;
38567 #endif
38568
38569
38570 ;
38571 return 0;
38572 }
38573
38574 _ACEOF
38575 rm -f conftest.$ac_objext conftest$ac_exeext
38576 if { (ac_try="$ac_link"
38577 case "(($ac_try" in
38578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38579 *) ac_try_echo=$ac_try;;
38580 esac
38581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38582 (eval "$ac_link") 2>conftest.er1
38583 ac_status=$?
38584 grep -v '^ *+' conftest.er1 >conftest.err
38585 rm -f conftest.er1
38586 cat conftest.err >&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } && {
38589 test -z "$ac_c_werror_flag" ||
38590 test ! -s conftest.err
38591 } && test -s conftest$ac_exeext &&
38592 $as_test_x conftest$ac_exeext; then
38593 eval wx_cv_func_$wx_func=yes
38594 else
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38597
38598 eval wx_cv_func_$wx_func=no
38599 fi
38600
38601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38602 conftest$ac_exeext conftest.$ac_ext
38603
38604 fi
38605 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38606 { echo "$as_me:$LINENO: result: $ac_res" >&5
38607 echo "${ECHO_T}$ac_res" >&6; }
38608
38609 if eval test \$wx_cv_func_$wx_func = yes
38610 then
38611 cat >>confdefs.h <<_ACEOF
38612 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38613 _ACEOF
38614
38615
38616 else
38617 :
38618
38619 fi
38620 done
38621
38622 fi
38623
38624 ac_ext=cpp
38625 ac_cpp='$CXXCPP $CPPFLAGS'
38626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38629
38630
38631 for wx_func in round
38632 do
38633 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38634 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38635 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38637 else
38638
38639 cat >conftest.$ac_ext <<_ACEOF
38640
38641 /* confdefs.h. */
38642 _ACEOF
38643 cat confdefs.h >>conftest.$ac_ext
38644 cat >>conftest.$ac_ext <<_ACEOF
38645 /* end confdefs.h. */
38646
38647 #include <math.h>
38648 $ac_includes_default
38649
38650 int
38651 main ()
38652 {
38653
38654 #ifndef $wx_func
38655 &$wx_func;
38656 #endif
38657
38658
38659 ;
38660 return 0;
38661 }
38662
38663 _ACEOF
38664 rm -f conftest.$ac_objext conftest$ac_exeext
38665 if { (ac_try="$ac_link"
38666 case "(($ac_try" in
38667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38668 *) ac_try_echo=$ac_try;;
38669 esac
38670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38671 (eval "$ac_link") 2>conftest.er1
38672 ac_status=$?
38673 grep -v '^ *+' conftest.er1 >conftest.err
38674 rm -f conftest.er1
38675 cat conftest.err >&5
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); } && {
38678 test -z "$ac_cxx_werror_flag" ||
38679 test ! -s conftest.err
38680 } && test -s conftest$ac_exeext &&
38681 $as_test_x conftest$ac_exeext; then
38682 eval wx_cv_func_$wx_func=yes
38683 else
38684 echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.$ac_ext >&5
38686
38687 eval wx_cv_func_$wx_func=no
38688 fi
38689
38690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38691 conftest$ac_exeext conftest.$ac_ext
38692
38693 fi
38694 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38695 { echo "$as_me:$LINENO: result: $ac_res" >&5
38696 echo "${ECHO_T}$ac_res" >&6; }
38697
38698 if eval test \$wx_cv_func_$wx_func = yes
38699 then
38700 cat >>confdefs.h <<_ACEOF
38701 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38702 _ACEOF
38703
38704
38705 else
38706 :
38707
38708 fi
38709 done
38710
38711 ac_ext=c
38712 ac_cpp='$CPP $CPPFLAGS'
38713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38716
38717
38718 if test "$TOOLKIT" != "MSW"; then
38719
38720
38721
38722
38723
38724 # Check whether --with-libiconv-prefix was given.
38725 if test "${with_libiconv_prefix+set}" = set; then
38726 withval=$with_libiconv_prefix;
38727 for dir in `echo "$withval" | tr : ' '`; do
38728 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38729 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38730 done
38731
38732 fi
38733
38734
38735 { echo "$as_me:$LINENO: checking for iconv" >&5
38736 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38737 if test "${am_cv_func_iconv+set}" = set; then
38738 echo $ECHO_N "(cached) $ECHO_C" >&6
38739 else
38740
38741 am_cv_func_iconv="no, consider installing GNU libiconv"
38742 am_cv_lib_iconv=no
38743 cat >conftest.$ac_ext <<_ACEOF
38744 /* confdefs.h. */
38745 _ACEOF
38746 cat confdefs.h >>conftest.$ac_ext
38747 cat >>conftest.$ac_ext <<_ACEOF
38748 /* end confdefs.h. */
38749 #include <stdlib.h>
38750 #include <iconv.h>
38751 int
38752 main ()
38753 {
38754 iconv_t cd = iconv_open("","");
38755 iconv(cd,NULL,NULL,NULL,NULL);
38756 iconv_close(cd);
38757 ;
38758 return 0;
38759 }
38760 _ACEOF
38761 rm -f conftest.$ac_objext conftest$ac_exeext
38762 if { (ac_try="$ac_link"
38763 case "(($ac_try" in
38764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38765 *) ac_try_echo=$ac_try;;
38766 esac
38767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38768 (eval "$ac_link") 2>conftest.er1
38769 ac_status=$?
38770 grep -v '^ *+' conftest.er1 >conftest.err
38771 rm -f conftest.er1
38772 cat conftest.err >&5
38773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38774 (exit $ac_status); } && {
38775 test -z "$ac_c_werror_flag" ||
38776 test ! -s conftest.err
38777 } && test -s conftest$ac_exeext &&
38778 $as_test_x conftest$ac_exeext; then
38779 am_cv_func_iconv=yes
38780 else
38781 echo "$as_me: failed program was:" >&5
38782 sed 's/^/| /' conftest.$ac_ext >&5
38783
38784
38785 fi
38786
38787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38788 conftest$ac_exeext conftest.$ac_ext
38789 if test "$am_cv_func_iconv" != yes; then
38790 am_save_LIBS="$LIBS"
38791 LIBS="$LIBS -liconv"
38792 cat >conftest.$ac_ext <<_ACEOF
38793 /* confdefs.h. */
38794 _ACEOF
38795 cat confdefs.h >>conftest.$ac_ext
38796 cat >>conftest.$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38798 #include <stdlib.h>
38799 #include <iconv.h>
38800 int
38801 main ()
38802 {
38803 iconv_t cd = iconv_open("","");
38804 iconv(cd,NULL,NULL,NULL,NULL);
38805 iconv_close(cd);
38806 ;
38807 return 0;
38808 }
38809 _ACEOF
38810 rm -f conftest.$ac_objext conftest$ac_exeext
38811 if { (ac_try="$ac_link"
38812 case "(($ac_try" in
38813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38814 *) ac_try_echo=$ac_try;;
38815 esac
38816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38817 (eval "$ac_link") 2>conftest.er1
38818 ac_status=$?
38819 grep -v '^ *+' conftest.er1 >conftest.err
38820 rm -f conftest.er1
38821 cat conftest.err >&5
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); } && {
38824 test -z "$ac_c_werror_flag" ||
38825 test ! -s conftest.err
38826 } && test -s conftest$ac_exeext &&
38827 $as_test_x conftest$ac_exeext; then
38828 am_cv_lib_iconv=yes
38829 am_cv_func_iconv=yes
38830 else
38831 echo "$as_me: failed program was:" >&5
38832 sed 's/^/| /' conftest.$ac_ext >&5
38833
38834
38835 fi
38836
38837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38838 conftest$ac_exeext conftest.$ac_ext
38839 LIBS="$am_save_LIBS"
38840 fi
38841
38842 fi
38843 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38844 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38845 if test "$am_cv_func_iconv" = yes; then
38846
38847 cat >>confdefs.h <<\_ACEOF
38848 #define HAVE_ICONV 1
38849 _ACEOF
38850
38851 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38852 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38853 if test "${wx_cv_func_iconv_const+set}" = set; then
38854 echo $ECHO_N "(cached) $ECHO_C" >&6
38855 else
38856 cat >conftest.$ac_ext <<_ACEOF
38857 /* confdefs.h. */
38858 _ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h. */
38862
38863 #include <stdlib.h>
38864 #include <iconv.h>
38865 extern
38866 #ifdef __cplusplus
38867 "C"
38868 #endif
38869 #if defined(__STDC__) || defined(__cplusplus)
38870 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38871 #else
38872 size_t iconv();
38873 #endif
38874
38875 int
38876 main ()
38877 {
38878
38879 ;
38880 return 0;
38881 }
38882 _ACEOF
38883 rm -f conftest.$ac_objext
38884 if { (ac_try="$ac_compile"
38885 case "(($ac_try" in
38886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38887 *) ac_try_echo=$ac_try;;
38888 esac
38889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38890 (eval "$ac_compile") 2>conftest.er1
38891 ac_status=$?
38892 grep -v '^ *+' conftest.er1 >conftest.err
38893 rm -f conftest.er1
38894 cat conftest.err >&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); } && {
38897 test -z "$ac_c_werror_flag" ||
38898 test ! -s conftest.err
38899 } && test -s conftest.$ac_objext; then
38900 wx_cv_func_iconv_const="no"
38901 else
38902 echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.$ac_ext >&5
38904
38905 wx_cv_func_iconv_const="yes"
38906
38907 fi
38908
38909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38910
38911 fi
38912 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38913 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38914
38915 iconv_const=
38916 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38917 iconv_const="const"
38918 fi
38919
38920
38921 cat >>confdefs.h <<_ACEOF
38922 #define ICONV_CONST $iconv_const
38923 _ACEOF
38924
38925 fi
38926 LIBICONV=
38927 if test "$am_cv_lib_iconv" = yes; then
38928 LIBICONV="-liconv"
38929 fi
38930
38931
38932 LIBS="$LIBICONV $LIBS"
38933
38934 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38935
38936 for ac_func in sigaction
38937 do
38938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38942 echo $ECHO_N "(cached) $ECHO_C" >&6
38943 else
38944 cat >conftest.$ac_ext <<_ACEOF
38945 /* confdefs.h. */
38946 _ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38952 #define $ac_func innocuous_$ac_func
38953
38954 /* System header to define __stub macros and hopefully few prototypes,
38955 which can conflict with char $ac_func (); below.
38956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38957 <limits.h> exists even on freestanding compilers. */
38958
38959 #ifdef __STDC__
38960 # include <limits.h>
38961 #else
38962 # include <assert.h>
38963 #endif
38964
38965 #undef $ac_func
38966
38967 /* Override any GCC internal prototype to avoid an error.
38968 Use char because int might match the return type of a GCC
38969 builtin and then its argument prototype would still apply. */
38970 #ifdef __cplusplus
38971 extern "C"
38972 #endif
38973 char $ac_func ();
38974 /* The GNU C library defines this for functions which it implements
38975 to always fail with ENOSYS. Some functions are actually named
38976 something starting with __ and the normal name is an alias. */
38977 #if defined __stub_$ac_func || defined __stub___$ac_func
38978 choke me
38979 #endif
38980
38981 int
38982 main ()
38983 {
38984 return $ac_func ();
38985 ;
38986 return 0;
38987 }
38988 _ACEOF
38989 rm -f conftest.$ac_objext conftest$ac_exeext
38990 if { (ac_try="$ac_link"
38991 case "(($ac_try" in
38992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38993 *) ac_try_echo=$ac_try;;
38994 esac
38995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38996 (eval "$ac_link") 2>conftest.er1
38997 ac_status=$?
38998 grep -v '^ *+' conftest.er1 >conftest.err
38999 rm -f conftest.er1
39000 cat conftest.err >&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } && {
39003 test -z "$ac_c_werror_flag" ||
39004 test ! -s conftest.err
39005 } && test -s conftest$ac_exeext &&
39006 $as_test_x conftest$ac_exeext; then
39007 eval "$as_ac_var=yes"
39008 else
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.$ac_ext >&5
39011
39012 eval "$as_ac_var=no"
39013 fi
39014
39015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39016 conftest$ac_exeext conftest.$ac_ext
39017 fi
39018 ac_res=`eval echo '${'$as_ac_var'}'`
39019 { echo "$as_me:$LINENO: result: $ac_res" >&5
39020 echo "${ECHO_T}$ac_res" >&6; }
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022 cat >>confdefs.h <<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39024 _ACEOF
39025
39026 fi
39027 done
39028
39029
39030 if test "$ac_cv_func_sigaction" = "no"; then
39031 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39032 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39033 wxUSE_ON_FATAL_EXCEPTION=no
39034 fi
39035
39036 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39037 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39038 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39039 if test "${wx_cv_type_sa_handler+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39042
39043 ac_ext=cpp
39044 ac_cpp='$CXXCPP $CPPFLAGS'
39045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39048
39049 cat >conftest.$ac_ext <<_ACEOF
39050 /* confdefs.h. */
39051 _ACEOF
39052 cat confdefs.h >>conftest.$ac_ext
39053 cat >>conftest.$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 #include <signal.h>
39056 int
39057 main ()
39058 {
39059
39060 extern void testSigHandler(int);
39061
39062 struct sigaction sa;
39063 sa.sa_handler = testSigHandler;
39064
39065 ;
39066 return 0;
39067 }
39068 _ACEOF
39069 rm -f conftest.$ac_objext
39070 if { (ac_try="$ac_compile"
39071 case "(($ac_try" in
39072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39073 *) ac_try_echo=$ac_try;;
39074 esac
39075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39076 (eval "$ac_compile") 2>conftest.er1
39077 ac_status=$?
39078 grep -v '^ *+' conftest.er1 >conftest.err
39079 rm -f conftest.er1
39080 cat conftest.err >&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); } && {
39083 test -z "$ac_cxx_werror_flag" ||
39084 test ! -s conftest.err
39085 } && test -s conftest.$ac_objext; then
39086
39087 wx_cv_type_sa_handler=int
39088
39089 else
39090 echo "$as_me: failed program was:" >&5
39091 sed 's/^/| /' conftest.$ac_ext >&5
39092
39093
39094 wx_cv_type_sa_handler=void
39095
39096 fi
39097
39098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39099 ac_ext=c
39100 ac_cpp='$CPP $CPPFLAGS'
39101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39104
39105
39106 fi
39107 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39108 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39109
39110 cat >>confdefs.h <<_ACEOF
39111 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39112 _ACEOF
39113
39114 fi
39115 fi
39116
39117 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39118 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39119 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39120 if test "${wx_cv_func_backtrace+set}" = set; then
39121 echo $ECHO_N "(cached) $ECHO_C" >&6
39122 else
39123
39124 ac_ext=cpp
39125 ac_cpp='$CXXCPP $CPPFLAGS'
39126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39129
39130 cat >conftest.$ac_ext <<_ACEOF
39131 /* confdefs.h. */
39132 _ACEOF
39133 cat confdefs.h >>conftest.$ac_ext
39134 cat >>conftest.$ac_ext <<_ACEOF
39135 /* end confdefs.h. */
39136 #include <execinfo.h>
39137 int
39138 main ()
39139 {
39140
39141 void *trace[1];
39142 char **messages;
39143
39144 backtrace(trace, 1);
39145 messages = backtrace_symbols(trace, 1);
39146
39147 ;
39148 return 0;
39149 }
39150 _ACEOF
39151 rm -f conftest.$ac_objext
39152 if { (ac_try="$ac_compile"
39153 case "(($ac_try" in
39154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39155 *) ac_try_echo=$ac_try;;
39156 esac
39157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39158 (eval "$ac_compile") 2>conftest.er1
39159 ac_status=$?
39160 grep -v '^ *+' conftest.er1 >conftest.err
39161 rm -f conftest.er1
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } && {
39165 test -z "$ac_cxx_werror_flag" ||
39166 test ! -s conftest.err
39167 } && test -s conftest.$ac_objext; then
39168 wx_cv_func_backtrace=yes
39169 else
39170 echo "$as_me: failed program was:" >&5
39171 sed 's/^/| /' conftest.$ac_ext >&5
39172
39173 wx_cv_func_backtrace=no
39174
39175 fi
39176
39177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39178 ac_ext=c
39179 ac_cpp='$CPP $CPPFLAGS'
39180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39183
39184
39185
39186 fi
39187 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39188 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39189
39190
39191 if test "$wx_cv_func_backtrace" = "no"; then
39192 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39193 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39194 wxUSE_STACKWALKER=no
39195 else
39196 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39197 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39198 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39199 echo $ECHO_N "(cached) $ECHO_C" >&6
39200 else
39201
39202 ac_ext=cpp
39203 ac_cpp='$CXXCPP $CPPFLAGS'
39204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39207
39208 cat >conftest.$ac_ext <<_ACEOF
39209 /* confdefs.h. */
39210 _ACEOF
39211 cat confdefs.h >>conftest.$ac_ext
39212 cat >>conftest.$ac_ext <<_ACEOF
39213 /* end confdefs.h. */
39214 #include <cxxabi.h>
39215 int
39216 main ()
39217 {
39218
39219 int rc;
39220 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39221
39222 ;
39223 return 0;
39224 }
39225 _ACEOF
39226 rm -f conftest.$ac_objext conftest$ac_exeext
39227 if { (ac_try="$ac_link"
39228 case "(($ac_try" in
39229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39230 *) ac_try_echo=$ac_try;;
39231 esac
39232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39233 (eval "$ac_link") 2>conftest.er1
39234 ac_status=$?
39235 grep -v '^ *+' conftest.er1 >conftest.err
39236 rm -f conftest.er1
39237 cat conftest.err >&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); } && {
39240 test -z "$ac_cxx_werror_flag" ||
39241 test ! -s conftest.err
39242 } && test -s conftest$ac_exeext &&
39243 $as_test_x conftest$ac_exeext; then
39244 wx_cv_func_cxa_demangle=yes
39245 else
39246 echo "$as_me: failed program was:" >&5
39247 sed 's/^/| /' conftest.$ac_ext >&5
39248
39249 wx_cv_func_cxa_demangle=no
39250
39251 fi
39252
39253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39254 conftest$ac_exeext conftest.$ac_ext
39255 ac_ext=c
39256 ac_cpp='$CPP $CPPFLAGS'
39257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39260
39261
39262
39263 fi
39264 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39265 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39266
39267 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39268 cat >>confdefs.h <<\_ACEOF
39269 #define HAVE_CXA_DEMANGLE 1
39270 _ACEOF
39271
39272 fi
39273 fi
39274 fi
39275
39276 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39277 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39278 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39279 wxUSE_STACKWALKER=no
39280 fi
39281
39282
39283
39284
39285 for ac_func in mkstemp mktemp
39286 do
39287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39288 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39290 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293 cat >conftest.$ac_ext <<_ACEOF
39294 /* confdefs.h. */
39295 _ACEOF
39296 cat confdefs.h >>conftest.$ac_ext
39297 cat >>conftest.$ac_ext <<_ACEOF
39298 /* end confdefs.h. */
39299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39301 #define $ac_func innocuous_$ac_func
39302
39303 /* System header to define __stub macros and hopefully few prototypes,
39304 which can conflict with char $ac_func (); below.
39305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39306 <limits.h> exists even on freestanding compilers. */
39307
39308 #ifdef __STDC__
39309 # include <limits.h>
39310 #else
39311 # include <assert.h>
39312 #endif
39313
39314 #undef $ac_func
39315
39316 /* Override any GCC internal prototype to avoid an error.
39317 Use char because int might match the return type of a GCC
39318 builtin and then its argument prototype would still apply. */
39319 #ifdef __cplusplus
39320 extern "C"
39321 #endif
39322 char $ac_func ();
39323 /* The GNU C library defines this for functions which it implements
39324 to always fail with ENOSYS. Some functions are actually named
39325 something starting with __ and the normal name is an alias. */
39326 #if defined __stub_$ac_func || defined __stub___$ac_func
39327 choke me
39328 #endif
39329
39330 int
39331 main ()
39332 {
39333 return $ac_func ();
39334 ;
39335 return 0;
39336 }
39337 _ACEOF
39338 rm -f conftest.$ac_objext conftest$ac_exeext
39339 if { (ac_try="$ac_link"
39340 case "(($ac_try" in
39341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39342 *) ac_try_echo=$ac_try;;
39343 esac
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_link") 2>conftest.er1
39346 ac_status=$?
39347 grep -v '^ *+' conftest.er1 >conftest.err
39348 rm -f conftest.er1
39349 cat conftest.err >&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_c_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest$ac_exeext &&
39355 $as_test_x conftest$ac_exeext; then
39356 eval "$as_ac_var=yes"
39357 else
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39360
39361 eval "$as_ac_var=no"
39362 fi
39363
39364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39365 conftest$ac_exeext conftest.$ac_ext
39366 fi
39367 ac_res=`eval echo '${'$as_ac_var'}'`
39368 { echo "$as_me:$LINENO: result: $ac_res" >&5
39369 echo "${ECHO_T}$ac_res" >&6; }
39370 if test `eval echo '${'$as_ac_var'}'` = yes; then
39371 cat >>confdefs.h <<_ACEOF
39372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39373 _ACEOF
39374 break
39375 fi
39376 done
39377
39378
39379 { echo "$as_me:$LINENO: checking for statfs" >&5
39380 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39381 if test "${wx_cv_func_statfs+set}" = set; then
39382 echo $ECHO_N "(cached) $ECHO_C" >&6
39383 else
39384 cat >conftest.$ac_ext <<_ACEOF
39385 /* confdefs.h. */
39386 _ACEOF
39387 cat confdefs.h >>conftest.$ac_ext
39388 cat >>conftest.$ac_ext <<_ACEOF
39389 /* end confdefs.h. */
39390
39391 #if defined(__BSD__)
39392 #include <sys/param.h>
39393 #include <sys/mount.h>
39394 #else
39395 #include <sys/vfs.h>
39396 #endif
39397
39398 int
39399 main ()
39400 {
39401
39402 long l;
39403 struct statfs fs;
39404 statfs("/", &fs);
39405 l = fs.f_bsize;
39406 l += fs.f_blocks;
39407 l += fs.f_bavail;
39408
39409 ;
39410 return 0;
39411 }
39412 _ACEOF
39413 rm -f conftest.$ac_objext
39414 if { (ac_try="$ac_compile"
39415 case "(($ac_try" in
39416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39418 esac
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_compile") 2>conftest.er1
39421 ac_status=$?
39422 grep -v '^ *+' conftest.er1 >conftest.err
39423 rm -f conftest.er1
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_c_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest.$ac_objext; then
39430 wx_cv_func_statfs=yes
39431 else
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.$ac_ext >&5
39434
39435 wx_cv_func_statfs=no
39436
39437 fi
39438
39439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39440
39441 fi
39442 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39443 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39444
39445 if test "$wx_cv_func_statfs" = "yes"; then
39446 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39447 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39448 if test "${wx_cv_func_statfs_decl+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39450 else
39451 ac_ext=cpp
39452 ac_cpp='$CXXCPP $CPPFLAGS'
39453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39456
39457 cat >conftest.$ac_ext <<_ACEOF
39458 /* confdefs.h. */
39459 _ACEOF
39460 cat confdefs.h >>conftest.$ac_ext
39461 cat >>conftest.$ac_ext <<_ACEOF
39462 /* end confdefs.h. */
39463
39464 #if defined(__BSD__)
39465 #include <sys/param.h>
39466 #include <sys/mount.h>
39467 #else
39468 #include <sys/vfs.h>
39469 #endif
39470
39471 int
39472 main ()
39473 {
39474
39475 struct statfs fs;
39476 statfs("", &fs);
39477
39478 ;
39479 return 0;
39480 }
39481 _ACEOF
39482 rm -f conftest.$ac_objext
39483 if { (ac_try="$ac_compile"
39484 case "(($ac_try" in
39485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39486 *) ac_try_echo=$ac_try;;
39487 esac
39488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39489 (eval "$ac_compile") 2>conftest.er1
39490 ac_status=$?
39491 grep -v '^ *+' conftest.er1 >conftest.err
39492 rm -f conftest.er1
39493 cat conftest.err >&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); } && {
39496 test -z "$ac_cxx_werror_flag" ||
39497 test ! -s conftest.err
39498 } && test -s conftest.$ac_objext; then
39499 wx_cv_func_statfs_decl=yes
39500 else
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39503
39504 wx_cv_func_statfs_decl=no
39505
39506 fi
39507
39508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39509 ac_ext=c
39510 ac_cpp='$CPP $CPPFLAGS'
39511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39514
39515
39516 fi
39517 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39518 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39519
39520 if test "$wx_cv_func_statfs_decl" = "yes"; then
39521 cat >>confdefs.h <<\_ACEOF
39522 #define HAVE_STATFS_DECL 1
39523 _ACEOF
39524
39525 fi
39526
39527 wx_cv_type_statvfs_t="struct statfs"
39528 cat >>confdefs.h <<\_ACEOF
39529 #define HAVE_STATFS 1
39530 _ACEOF
39531
39532 else
39533 { echo "$as_me:$LINENO: checking for statvfs" >&5
39534 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39535 if test "${wx_cv_func_statvfs+set}" = set; then
39536 echo $ECHO_N "(cached) $ECHO_C" >&6
39537 else
39538 cat >conftest.$ac_ext <<_ACEOF
39539 /* confdefs.h. */
39540 _ACEOF
39541 cat confdefs.h >>conftest.$ac_ext
39542 cat >>conftest.$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39544
39545 #include <stddef.h>
39546 #include <sys/statvfs.h>
39547
39548 int
39549 main ()
39550 {
39551
39552 statvfs("/", NULL);
39553
39554 ;
39555 return 0;
39556 }
39557 _ACEOF
39558 rm -f conftest.$ac_objext
39559 if { (ac_try="$ac_compile"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39563 esac
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_compile") 2>conftest.er1
39566 ac_status=$?
39567 grep -v '^ *+' conftest.er1 >conftest.err
39568 rm -f conftest.er1
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest.$ac_objext; then
39575 wx_cv_func_statvfs=yes
39576 else
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39579
39580 wx_cv_func_statvfs=no
39581
39582 fi
39583
39584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39585
39586 fi
39587 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39588 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39589
39590 if test "$wx_cv_func_statvfs" = "yes"; then
39591 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39592 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39593 if test "${wx_cv_type_statvfs_t+set}" = set; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39595 else
39596 ac_ext=cpp
39597 ac_cpp='$CXXCPP $CPPFLAGS'
39598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39601
39602 cat >conftest.$ac_ext <<_ACEOF
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608
39609 #include <sys/statvfs.h>
39610
39611 int
39612 main ()
39613 {
39614
39615 long l;
39616 statvfs_t fs;
39617 statvfs("/", &fs);
39618 l = fs.f_bsize;
39619 l += fs.f_blocks;
39620 l += fs.f_bavail;
39621
39622 ;
39623 return 0;
39624 }
39625 _ACEOF
39626 rm -f conftest.$ac_objext
39627 if { (ac_try="$ac_compile"
39628 case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39631 esac
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_compile") 2>conftest.er1
39634 ac_status=$?
39635 grep -v '^ *+' conftest.er1 >conftest.err
39636 rm -f conftest.er1
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } && {
39640 test -z "$ac_cxx_werror_flag" ||
39641 test ! -s conftest.err
39642 } && test -s conftest.$ac_objext; then
39643 wx_cv_type_statvfs_t=statvfs_t
39644 else
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.$ac_ext >&5
39647
39648
39649 cat >conftest.$ac_ext <<_ACEOF
39650 /* confdefs.h. */
39651 _ACEOF
39652 cat confdefs.h >>conftest.$ac_ext
39653 cat >>conftest.$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655
39656 #include <sys/statvfs.h>
39657
39658 int
39659 main ()
39660 {
39661
39662 long l;
39663 struct statvfs fs;
39664 statvfs("/", &fs);
39665 l = fs.f_bsize;
39666 l += fs.f_blocks;
39667 l += fs.f_bavail;
39668
39669 ;
39670 return 0;
39671 }
39672 _ACEOF
39673 rm -f conftest.$ac_objext
39674 if { (ac_try="$ac_compile"
39675 case "(($ac_try" in
39676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39677 *) ac_try_echo=$ac_try;;
39678 esac
39679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39680 (eval "$ac_compile") 2>conftest.er1
39681 ac_status=$?
39682 grep -v '^ *+' conftest.er1 >conftest.err
39683 rm -f conftest.er1
39684 cat conftest.err >&5
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); } && {
39687 test -z "$ac_cxx_werror_flag" ||
39688 test ! -s conftest.err
39689 } && test -s conftest.$ac_objext; then
39690 wx_cv_type_statvfs_t="struct statvfs"
39691 else
39692 echo "$as_me: failed program was:" >&5
39693 sed 's/^/| /' conftest.$ac_ext >&5
39694
39695 wx_cv_type_statvfs_t="unknown"
39696
39697 fi
39698
39699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39700
39701
39702 fi
39703
39704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39705 ac_ext=c
39706 ac_cpp='$CPP $CPPFLAGS'
39707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39710
39711
39712 fi
39713 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39714 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39715
39716 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39717 cat >>confdefs.h <<\_ACEOF
39718 #define HAVE_STATVFS 1
39719 _ACEOF
39720
39721 fi
39722 else
39723 wx_cv_type_statvfs_t="unknown"
39724 fi
39725 fi
39726
39727 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39728 cat >>confdefs.h <<_ACEOF
39729 #define WX_STATFS_T $wx_cv_type_statvfs_t
39730 _ACEOF
39731
39732 else
39733 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39734 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39735 fi
39736
39737 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39738
39739
39740 for ac_func in fcntl flock
39741 do
39742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39747 else
39748 cat >conftest.$ac_ext <<_ACEOF
39749 /* confdefs.h. */
39750 _ACEOF
39751 cat confdefs.h >>conftest.$ac_ext
39752 cat >>conftest.$ac_ext <<_ACEOF
39753 /* end confdefs.h. */
39754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39756 #define $ac_func innocuous_$ac_func
39757
39758 /* System header to define __stub macros and hopefully few prototypes,
39759 which can conflict with char $ac_func (); below.
39760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39761 <limits.h> exists even on freestanding compilers. */
39762
39763 #ifdef __STDC__
39764 # include <limits.h>
39765 #else
39766 # include <assert.h>
39767 #endif
39768
39769 #undef $ac_func
39770
39771 /* Override any GCC internal prototype to avoid an error.
39772 Use char because int might match the return type of a GCC
39773 builtin and then its argument prototype would still apply. */
39774 #ifdef __cplusplus
39775 extern "C"
39776 #endif
39777 char $ac_func ();
39778 /* The GNU C library defines this for functions which it implements
39779 to always fail with ENOSYS. Some functions are actually named
39780 something starting with __ and the normal name is an alias. */
39781 #if defined __stub_$ac_func || defined __stub___$ac_func
39782 choke me
39783 #endif
39784
39785 int
39786 main ()
39787 {
39788 return $ac_func ();
39789 ;
39790 return 0;
39791 }
39792 _ACEOF
39793 rm -f conftest.$ac_objext conftest$ac_exeext
39794 if { (ac_try="$ac_link"
39795 case "(($ac_try" in
39796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39797 *) ac_try_echo=$ac_try;;
39798 esac
39799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39800 (eval "$ac_link") 2>conftest.er1
39801 ac_status=$?
39802 grep -v '^ *+' conftest.er1 >conftest.err
39803 rm -f conftest.er1
39804 cat conftest.err >&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); } && {
39807 test -z "$ac_c_werror_flag" ||
39808 test ! -s conftest.err
39809 } && test -s conftest$ac_exeext &&
39810 $as_test_x conftest$ac_exeext; then
39811 eval "$as_ac_var=yes"
39812 else
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39815
39816 eval "$as_ac_var=no"
39817 fi
39818
39819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39820 conftest$ac_exeext conftest.$ac_ext
39821 fi
39822 ac_res=`eval echo '${'$as_ac_var'}'`
39823 { echo "$as_me:$LINENO: result: $ac_res" >&5
39824 echo "${ECHO_T}$ac_res" >&6; }
39825 if test `eval echo '${'$as_ac_var'}'` = yes; then
39826 cat >>confdefs.h <<_ACEOF
39827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39828 _ACEOF
39829 break
39830 fi
39831 done
39832
39833
39834 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39835 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39836 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39837 wxUSE_SNGLINST_CHECKER=no
39838 fi
39839 fi
39840
39841
39842
39843 for ac_func in setenv putenv
39844 do
39845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39849 echo $ECHO_N "(cached) $ECHO_C" >&6
39850 else
39851 cat >conftest.$ac_ext <<_ACEOF
39852 /* confdefs.h. */
39853 _ACEOF
39854 cat confdefs.h >>conftest.$ac_ext
39855 cat >>conftest.$ac_ext <<_ACEOF
39856 /* end confdefs.h. */
39857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39859 #define $ac_func innocuous_$ac_func
39860
39861 /* System header to define __stub macros and hopefully few prototypes,
39862 which can conflict with char $ac_func (); below.
39863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39864 <limits.h> exists even on freestanding compilers. */
39865
39866 #ifdef __STDC__
39867 # include <limits.h>
39868 #else
39869 # include <assert.h>
39870 #endif
39871
39872 #undef $ac_func
39873
39874 /* Override any GCC internal prototype to avoid an error.
39875 Use char because int might match the return type of a GCC
39876 builtin and then its argument prototype would still apply. */
39877 #ifdef __cplusplus
39878 extern "C"
39879 #endif
39880 char $ac_func ();
39881 /* The GNU C library defines this for functions which it implements
39882 to always fail with ENOSYS. Some functions are actually named
39883 something starting with __ and the normal name is an alias. */
39884 #if defined __stub_$ac_func || defined __stub___$ac_func
39885 choke me
39886 #endif
39887
39888 int
39889 main ()
39890 {
39891 return $ac_func ();
39892 ;
39893 return 0;
39894 }
39895 _ACEOF
39896 rm -f conftest.$ac_objext conftest$ac_exeext
39897 if { (ac_try="$ac_link"
39898 case "(($ac_try" in
39899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39900 *) ac_try_echo=$ac_try;;
39901 esac
39902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39903 (eval "$ac_link") 2>conftest.er1
39904 ac_status=$?
39905 grep -v '^ *+' conftest.er1 >conftest.err
39906 rm -f conftest.er1
39907 cat conftest.err >&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); } && {
39910 test -z "$ac_c_werror_flag" ||
39911 test ! -s conftest.err
39912 } && test -s conftest$ac_exeext &&
39913 $as_test_x conftest$ac_exeext; then
39914 eval "$as_ac_var=yes"
39915 else
39916 echo "$as_me: failed program was:" >&5
39917 sed 's/^/| /' conftest.$ac_ext >&5
39918
39919 eval "$as_ac_var=no"
39920 fi
39921
39922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39923 conftest$ac_exeext conftest.$ac_ext
39924 fi
39925 ac_res=`eval echo '${'$as_ac_var'}'`
39926 { echo "$as_me:$LINENO: result: $ac_res" >&5
39927 echo "${ECHO_T}$ac_res" >&6; }
39928 if test `eval echo '${'$as_ac_var'}'` = yes; then
39929 cat >>confdefs.h <<_ACEOF
39930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39931 _ACEOF
39932 break
39933 fi
39934 done
39935
39936 if test "$ac_cv_func_setenv" = "yes"; then
39937
39938 for ac_func in unsetenv
39939 do
39940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39944 echo $ECHO_N "(cached) $ECHO_C" >&6
39945 else
39946 cat >conftest.$ac_ext <<_ACEOF
39947 /* confdefs.h. */
39948 _ACEOF
39949 cat confdefs.h >>conftest.$ac_ext
39950 cat >>conftest.$ac_ext <<_ACEOF
39951 /* end confdefs.h. */
39952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39954 #define $ac_func innocuous_$ac_func
39955
39956 /* System header to define __stub macros and hopefully few prototypes,
39957 which can conflict with char $ac_func (); below.
39958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39959 <limits.h> exists even on freestanding compilers. */
39960
39961 #ifdef __STDC__
39962 # include <limits.h>
39963 #else
39964 # include <assert.h>
39965 #endif
39966
39967 #undef $ac_func
39968
39969 /* Override any GCC internal prototype to avoid an error.
39970 Use char because int might match the return type of a GCC
39971 builtin and then its argument prototype would still apply. */
39972 #ifdef __cplusplus
39973 extern "C"
39974 #endif
39975 char $ac_func ();
39976 /* The GNU C library defines this for functions which it implements
39977 to always fail with ENOSYS. Some functions are actually named
39978 something starting with __ and the normal name is an alias. */
39979 #if defined __stub_$ac_func || defined __stub___$ac_func
39980 choke me
39981 #endif
39982
39983 int
39984 main ()
39985 {
39986 return $ac_func ();
39987 ;
39988 return 0;
39989 }
39990 _ACEOF
39991 rm -f conftest.$ac_objext conftest$ac_exeext
39992 if { (ac_try="$ac_link"
39993 case "(($ac_try" in
39994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39995 *) ac_try_echo=$ac_try;;
39996 esac
39997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39998 (eval "$ac_link") 2>conftest.er1
39999 ac_status=$?
40000 grep -v '^ *+' conftest.er1 >conftest.err
40001 rm -f conftest.er1
40002 cat conftest.err >&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); } && {
40005 test -z "$ac_c_werror_flag" ||
40006 test ! -s conftest.err
40007 } && test -s conftest$ac_exeext &&
40008 $as_test_x conftest$ac_exeext; then
40009 eval "$as_ac_var=yes"
40010 else
40011 echo "$as_me: failed program was:" >&5
40012 sed 's/^/| /' conftest.$ac_ext >&5
40013
40014 eval "$as_ac_var=no"
40015 fi
40016
40017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40018 conftest$ac_exeext conftest.$ac_ext
40019 fi
40020 ac_res=`eval echo '${'$as_ac_var'}'`
40021 { echo "$as_me:$LINENO: result: $ac_res" >&5
40022 echo "${ECHO_T}$ac_res" >&6; }
40023 if test `eval echo '${'$as_ac_var'}'` = yes; then
40024 cat >>confdefs.h <<_ACEOF
40025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40026 _ACEOF
40027
40028 fi
40029 done
40030
40031 fi
40032
40033 HAVE_SOME_SLEEP_FUNC=0
40034 if test "$USE_BEOS" = 1; then
40035 cat >>confdefs.h <<\_ACEOF
40036 #define HAVE_SLEEP 1
40037 _ACEOF
40038
40039 HAVE_SOME_SLEEP_FUNC=1
40040 fi
40041
40042 if test "$USE_DARWIN" = 1; then
40043 cat >>confdefs.h <<\_ACEOF
40044 #define HAVE_USLEEP 1
40045 _ACEOF
40046
40047 HAVE_SOME_SLEEP_FUNC=1
40048 fi
40049
40050 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40051 POSIX4_LINK=
40052
40053 for ac_func in nanosleep
40054 do
40055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40059 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 else
40061 cat >conftest.$ac_ext <<_ACEOF
40062 /* confdefs.h. */
40063 _ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40069 #define $ac_func innocuous_$ac_func
40070
40071 /* System header to define __stub macros and hopefully few prototypes,
40072 which can conflict with char $ac_func (); below.
40073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40074 <limits.h> exists even on freestanding compilers. */
40075
40076 #ifdef __STDC__
40077 # include <limits.h>
40078 #else
40079 # include <assert.h>
40080 #endif
40081
40082 #undef $ac_func
40083
40084 /* Override any GCC internal prototype to avoid an error.
40085 Use char because int might match the return type of a GCC
40086 builtin and then its argument prototype would still apply. */
40087 #ifdef __cplusplus
40088 extern "C"
40089 #endif
40090 char $ac_func ();
40091 /* The GNU C library defines this for functions which it implements
40092 to always fail with ENOSYS. Some functions are actually named
40093 something starting with __ and the normal name is an alias. */
40094 #if defined __stub_$ac_func || defined __stub___$ac_func
40095 choke me
40096 #endif
40097
40098 int
40099 main ()
40100 {
40101 return $ac_func ();
40102 ;
40103 return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext conftest$ac_exeext
40107 if { (ac_try="$ac_link"
40108 case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40110 *) ac_try_echo=$ac_try;;
40111 esac
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_link") 2>conftest.er1
40114 ac_status=$?
40115 grep -v '^ *+' conftest.er1 >conftest.err
40116 rm -f conftest.er1
40117 cat conftest.err >&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); } && {
40120 test -z "$ac_c_werror_flag" ||
40121 test ! -s conftest.err
40122 } && test -s conftest$ac_exeext &&
40123 $as_test_x conftest$ac_exeext; then
40124 eval "$as_ac_var=yes"
40125 else
40126 echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.$ac_ext >&5
40128
40129 eval "$as_ac_var=no"
40130 fi
40131
40132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40133 conftest$ac_exeext conftest.$ac_ext
40134 fi
40135 ac_res=`eval echo '${'$as_ac_var'}'`
40136 { echo "$as_me:$LINENO: result: $ac_res" >&5
40137 echo "${ECHO_T}$ac_res" >&6; }
40138 if test `eval echo '${'$as_ac_var'}'` = yes; then
40139 cat >>confdefs.h <<_ACEOF
40140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40141 _ACEOF
40142 cat >>confdefs.h <<\_ACEOF
40143 #define HAVE_NANOSLEEP 1
40144 _ACEOF
40145
40146 else
40147
40148 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40149 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40150 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40151 echo $ECHO_N "(cached) $ECHO_C" >&6
40152 else
40153 ac_check_lib_save_LIBS=$LIBS
40154 LIBS="-lposix4 $LIBS"
40155 cat >conftest.$ac_ext <<_ACEOF
40156 /* confdefs.h. */
40157 _ACEOF
40158 cat confdefs.h >>conftest.$ac_ext
40159 cat >>conftest.$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40161
40162 /* Override any GCC internal prototype to avoid an error.
40163 Use char because int might match the return type of a GCC
40164 builtin and then its argument prototype would still apply. */
40165 #ifdef __cplusplus
40166 extern "C"
40167 #endif
40168 char nanosleep ();
40169 int
40170 main ()
40171 {
40172 return nanosleep ();
40173 ;
40174 return 0;
40175 }
40176 _ACEOF
40177 rm -f conftest.$ac_objext conftest$ac_exeext
40178 if { (ac_try="$ac_link"
40179 case "(($ac_try" in
40180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40181 *) ac_try_echo=$ac_try;;
40182 esac
40183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40184 (eval "$ac_link") 2>conftest.er1
40185 ac_status=$?
40186 grep -v '^ *+' conftest.er1 >conftest.err
40187 rm -f conftest.er1
40188 cat conftest.err >&5
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); } && {
40191 test -z "$ac_c_werror_flag" ||
40192 test ! -s conftest.err
40193 } && test -s conftest$ac_exeext &&
40194 $as_test_x conftest$ac_exeext; then
40195 ac_cv_lib_posix4_nanosleep=yes
40196 else
40197 echo "$as_me: failed program was:" >&5
40198 sed 's/^/| /' conftest.$ac_ext >&5
40199
40200 ac_cv_lib_posix4_nanosleep=no
40201 fi
40202
40203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40204 conftest$ac_exeext conftest.$ac_ext
40205 LIBS=$ac_check_lib_save_LIBS
40206 fi
40207 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40208 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40209 if test $ac_cv_lib_posix4_nanosleep = yes; then
40210
40211 cat >>confdefs.h <<\_ACEOF
40212 #define HAVE_NANOSLEEP 1
40213 _ACEOF
40214
40215 POSIX4_LINK=" -lposix4"
40216
40217 else
40218
40219
40220 for wx_func in usleep
40221 do
40222 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40223 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40224 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40225 echo $ECHO_N "(cached) $ECHO_C" >&6
40226 else
40227
40228 cat >conftest.$ac_ext <<_ACEOF
40229
40230 /* confdefs.h. */
40231 _ACEOF
40232 cat confdefs.h >>conftest.$ac_ext
40233 cat >>conftest.$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235
40236
40237 $ac_includes_default
40238
40239 int
40240 main ()
40241 {
40242
40243 #ifndef $wx_func
40244 &$wx_func;
40245 #endif
40246
40247
40248 ;
40249 return 0;
40250 }
40251
40252 _ACEOF
40253 rm -f conftest.$ac_objext conftest$ac_exeext
40254 if { (ac_try="$ac_link"
40255 case "(($ac_try" in
40256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40257 *) ac_try_echo=$ac_try;;
40258 esac
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_link") 2>conftest.er1
40261 ac_status=$?
40262 grep -v '^ *+' conftest.er1 >conftest.err
40263 rm -f conftest.er1
40264 cat conftest.err >&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest$ac_exeext &&
40270 $as_test_x conftest$ac_exeext; then
40271 eval wx_cv_func_$wx_func=yes
40272 else
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40275
40276 eval wx_cv_func_$wx_func=no
40277 fi
40278
40279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40280 conftest$ac_exeext conftest.$ac_ext
40281
40282 fi
40283 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40284 { echo "$as_me:$LINENO: result: $ac_res" >&5
40285 echo "${ECHO_T}$ac_res" >&6; }
40286
40287 if eval test \$wx_cv_func_$wx_func = yes
40288 then
40289 cat >>confdefs.h <<_ACEOF
40290 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40291 _ACEOF
40292
40293
40294 else
40295 :
40296 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40297 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40298
40299 fi
40300 done
40301
40302
40303
40304 fi
40305
40306
40307
40308 fi
40309 done
40310
40311 fi
40312
40313
40314 for wx_func in uname
40315 do
40316 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40317 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40318 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40319 echo $ECHO_N "(cached) $ECHO_C" >&6
40320 else
40321
40322 cat >conftest.$ac_ext <<_ACEOF
40323
40324 /* confdefs.h. */
40325 _ACEOF
40326 cat confdefs.h >>conftest.$ac_ext
40327 cat >>conftest.$ac_ext <<_ACEOF
40328 /* end confdefs.h. */
40329
40330 #include <sys/utsname.h>
40331 $ac_includes_default
40332
40333 int
40334 main ()
40335 {
40336
40337 #ifndef $wx_func
40338 &$wx_func;
40339 #endif
40340
40341
40342 ;
40343 return 0;
40344 }
40345
40346 _ACEOF
40347 rm -f conftest.$ac_objext conftest$ac_exeext
40348 if { (ac_try="$ac_link"
40349 case "(($ac_try" in
40350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40351 *) ac_try_echo=$ac_try;;
40352 esac
40353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40354 (eval "$ac_link") 2>conftest.er1
40355 ac_status=$?
40356 grep -v '^ *+' conftest.er1 >conftest.err
40357 rm -f conftest.er1
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } && {
40361 test -z "$ac_c_werror_flag" ||
40362 test ! -s conftest.err
40363 } && test -s conftest$ac_exeext &&
40364 $as_test_x conftest$ac_exeext; then
40365 eval wx_cv_func_$wx_func=yes
40366 else
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.$ac_ext >&5
40369
40370 eval wx_cv_func_$wx_func=no
40371 fi
40372
40373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40374 conftest$ac_exeext conftest.$ac_ext
40375
40376 fi
40377 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40378 { echo "$as_me:$LINENO: result: $ac_res" >&5
40379 echo "${ECHO_T}$ac_res" >&6; }
40380
40381 if eval test \$wx_cv_func_$wx_func = yes
40382 then
40383 cat >>confdefs.h <<_ACEOF
40384 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40385 _ACEOF
40386
40387
40388 else
40389 :
40390
40391 fi
40392 done
40393
40394 if test "$wx_cv_func_uname" != yes; then
40395
40396 for wx_func in gethostname
40397 do
40398 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40399 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40400 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40401 echo $ECHO_N "(cached) $ECHO_C" >&6
40402 else
40403
40404 cat >conftest.$ac_ext <<_ACEOF
40405
40406 /* confdefs.h. */
40407 _ACEOF
40408 cat confdefs.h >>conftest.$ac_ext
40409 cat >>conftest.$ac_ext <<_ACEOF
40410 /* end confdefs.h. */
40411
40412
40413 $ac_includes_default
40414
40415 int
40416 main ()
40417 {
40418
40419 #ifndef $wx_func
40420 &$wx_func;
40421 #endif
40422
40423
40424 ;
40425 return 0;
40426 }
40427
40428 _ACEOF
40429 rm -f conftest.$ac_objext conftest$ac_exeext
40430 if { (ac_try="$ac_link"
40431 case "(($ac_try" in
40432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40433 *) ac_try_echo=$ac_try;;
40434 esac
40435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40436 (eval "$ac_link") 2>conftest.er1
40437 ac_status=$?
40438 grep -v '^ *+' conftest.er1 >conftest.err
40439 rm -f conftest.er1
40440 cat conftest.err >&5
40441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442 (exit $ac_status); } && {
40443 test -z "$ac_c_werror_flag" ||
40444 test ! -s conftest.err
40445 } && test -s conftest$ac_exeext &&
40446 $as_test_x conftest$ac_exeext; then
40447 eval wx_cv_func_$wx_func=yes
40448 else
40449 echo "$as_me: failed program was:" >&5
40450 sed 's/^/| /' conftest.$ac_ext >&5
40451
40452 eval wx_cv_func_$wx_func=no
40453 fi
40454
40455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40456 conftest$ac_exeext conftest.$ac_ext
40457
40458 fi
40459 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40460 { echo "$as_me:$LINENO: result: $ac_res" >&5
40461 echo "${ECHO_T}$ac_res" >&6; }
40462
40463 if eval test \$wx_cv_func_$wx_func = yes
40464 then
40465 cat >>confdefs.h <<_ACEOF
40466 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40467 _ACEOF
40468
40469
40470 else
40471 :
40472
40473 fi
40474 done
40475
40476 fi
40477
40478
40479 for wx_func in strtok_r
40480 do
40481 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40482 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40483 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40484 echo $ECHO_N "(cached) $ECHO_C" >&6
40485 else
40486
40487 cat >conftest.$ac_ext <<_ACEOF
40488
40489 /* confdefs.h. */
40490 _ACEOF
40491 cat confdefs.h >>conftest.$ac_ext
40492 cat >>conftest.$ac_ext <<_ACEOF
40493 /* end confdefs.h. */
40494
40495 #define _REENTRANT
40496 $ac_includes_default
40497
40498 int
40499 main ()
40500 {
40501
40502 #ifndef $wx_func
40503 &$wx_func;
40504 #endif
40505
40506
40507 ;
40508 return 0;
40509 }
40510
40511 _ACEOF
40512 rm -f conftest.$ac_objext conftest$ac_exeext
40513 if { (ac_try="$ac_link"
40514 case "(($ac_try" in
40515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40516 *) ac_try_echo=$ac_try;;
40517 esac
40518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40519 (eval "$ac_link") 2>conftest.er1
40520 ac_status=$?
40521 grep -v '^ *+' conftest.er1 >conftest.err
40522 rm -f conftest.er1
40523 cat conftest.err >&5
40524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40525 (exit $ac_status); } && {
40526 test -z "$ac_c_werror_flag" ||
40527 test ! -s conftest.err
40528 } && test -s conftest$ac_exeext &&
40529 $as_test_x conftest$ac_exeext; then
40530 eval wx_cv_func_$wx_func=yes
40531 else
40532 echo "$as_me: failed program was:" >&5
40533 sed 's/^/| /' conftest.$ac_ext >&5
40534
40535 eval wx_cv_func_$wx_func=no
40536 fi
40537
40538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40539 conftest$ac_exeext conftest.$ac_ext
40540
40541 fi
40542 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40543 { echo "$as_me:$LINENO: result: $ac_res" >&5
40544 echo "${ECHO_T}$ac_res" >&6; }
40545
40546 if eval test \$wx_cv_func_$wx_func = yes
40547 then
40548 cat >>confdefs.h <<_ACEOF
40549 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40550 _ACEOF
40551
40552
40553 else
40554 :
40555
40556 fi
40557 done
40558
40559
40560 INET_LINK=
40561
40562 for ac_func in inet_addr
40563 do
40564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40567 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40568 echo $ECHO_N "(cached) $ECHO_C" >&6
40569 else
40570 cat >conftest.$ac_ext <<_ACEOF
40571 /* confdefs.h. */
40572 _ACEOF
40573 cat confdefs.h >>conftest.$ac_ext
40574 cat >>conftest.$ac_ext <<_ACEOF
40575 /* end confdefs.h. */
40576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40578 #define $ac_func innocuous_$ac_func
40579
40580 /* System header to define __stub macros and hopefully few prototypes,
40581 which can conflict with char $ac_func (); below.
40582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40583 <limits.h> exists even on freestanding compilers. */
40584
40585 #ifdef __STDC__
40586 # include <limits.h>
40587 #else
40588 # include <assert.h>
40589 #endif
40590
40591 #undef $ac_func
40592
40593 /* Override any GCC internal prototype to avoid an error.
40594 Use char because int might match the return type of a GCC
40595 builtin and then its argument prototype would still apply. */
40596 #ifdef __cplusplus
40597 extern "C"
40598 #endif
40599 char $ac_func ();
40600 /* The GNU C library defines this for functions which it implements
40601 to always fail with ENOSYS. Some functions are actually named
40602 something starting with __ and the normal name is an alias. */
40603 #if defined __stub_$ac_func || defined __stub___$ac_func
40604 choke me
40605 #endif
40606
40607 int
40608 main ()
40609 {
40610 return $ac_func ();
40611 ;
40612 return 0;
40613 }
40614 _ACEOF
40615 rm -f conftest.$ac_objext conftest$ac_exeext
40616 if { (ac_try="$ac_link"
40617 case "(($ac_try" in
40618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40619 *) ac_try_echo=$ac_try;;
40620 esac
40621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40622 (eval "$ac_link") 2>conftest.er1
40623 ac_status=$?
40624 grep -v '^ *+' conftest.er1 >conftest.err
40625 rm -f conftest.er1
40626 cat conftest.err >&5
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); } && {
40629 test -z "$ac_c_werror_flag" ||
40630 test ! -s conftest.err
40631 } && test -s conftest$ac_exeext &&
40632 $as_test_x conftest$ac_exeext; then
40633 eval "$as_ac_var=yes"
40634 else
40635 echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.$ac_ext >&5
40637
40638 eval "$as_ac_var=no"
40639 fi
40640
40641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40642 conftest$ac_exeext conftest.$ac_ext
40643 fi
40644 ac_res=`eval echo '${'$as_ac_var'}'`
40645 { echo "$as_me:$LINENO: result: $ac_res" >&5
40646 echo "${ECHO_T}$ac_res" >&6; }
40647 if test `eval echo '${'$as_ac_var'}'` = yes; then
40648 cat >>confdefs.h <<_ACEOF
40649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40650 _ACEOF
40651 cat >>confdefs.h <<\_ACEOF
40652 #define HAVE_INET_ADDR 1
40653 _ACEOF
40654
40655 else
40656
40657 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40658 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40659 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40661 else
40662 ac_check_lib_save_LIBS=$LIBS
40663 LIBS="-lnsl $LIBS"
40664 cat >conftest.$ac_ext <<_ACEOF
40665 /* confdefs.h. */
40666 _ACEOF
40667 cat confdefs.h >>conftest.$ac_ext
40668 cat >>conftest.$ac_ext <<_ACEOF
40669 /* end confdefs.h. */
40670
40671 /* Override any GCC internal prototype to avoid an error.
40672 Use char because int might match the return type of a GCC
40673 builtin and then its argument prototype would still apply. */
40674 #ifdef __cplusplus
40675 extern "C"
40676 #endif
40677 char inet_addr ();
40678 int
40679 main ()
40680 {
40681 return inet_addr ();
40682 ;
40683 return 0;
40684 }
40685 _ACEOF
40686 rm -f conftest.$ac_objext conftest$ac_exeext
40687 if { (ac_try="$ac_link"
40688 case "(($ac_try" in
40689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40690 *) ac_try_echo=$ac_try;;
40691 esac
40692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40693 (eval "$ac_link") 2>conftest.er1
40694 ac_status=$?
40695 grep -v '^ *+' conftest.er1 >conftest.err
40696 rm -f conftest.er1
40697 cat conftest.err >&5
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); } && {
40700 test -z "$ac_c_werror_flag" ||
40701 test ! -s conftest.err
40702 } && test -s conftest$ac_exeext &&
40703 $as_test_x conftest$ac_exeext; then
40704 ac_cv_lib_nsl_inet_addr=yes
40705 else
40706 echo "$as_me: failed program was:" >&5
40707 sed 's/^/| /' conftest.$ac_ext >&5
40708
40709 ac_cv_lib_nsl_inet_addr=no
40710 fi
40711
40712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40713 conftest$ac_exeext conftest.$ac_ext
40714 LIBS=$ac_check_lib_save_LIBS
40715 fi
40716 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40717 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40718 if test $ac_cv_lib_nsl_inet_addr = yes; then
40719 INET_LINK="nsl"
40720 else
40721
40722 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40723 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40724 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40725 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 else
40727 ac_check_lib_save_LIBS=$LIBS
40728 LIBS="-lresolv $LIBS"
40729 cat >conftest.$ac_ext <<_ACEOF
40730 /* confdefs.h. */
40731 _ACEOF
40732 cat confdefs.h >>conftest.$ac_ext
40733 cat >>conftest.$ac_ext <<_ACEOF
40734 /* end confdefs.h. */
40735
40736 /* Override any GCC internal prototype to avoid an error.
40737 Use char because int might match the return type of a GCC
40738 builtin and then its argument prototype would still apply. */
40739 #ifdef __cplusplus
40740 extern "C"
40741 #endif
40742 char inet_addr ();
40743 int
40744 main ()
40745 {
40746 return inet_addr ();
40747 ;
40748 return 0;
40749 }
40750 _ACEOF
40751 rm -f conftest.$ac_objext conftest$ac_exeext
40752 if { (ac_try="$ac_link"
40753 case "(($ac_try" in
40754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40755 *) ac_try_echo=$ac_try;;
40756 esac
40757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40758 (eval "$ac_link") 2>conftest.er1
40759 ac_status=$?
40760 grep -v '^ *+' conftest.er1 >conftest.err
40761 rm -f conftest.er1
40762 cat conftest.err >&5
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); } && {
40765 test -z "$ac_c_werror_flag" ||
40766 test ! -s conftest.err
40767 } && test -s conftest$ac_exeext &&
40768 $as_test_x conftest$ac_exeext; then
40769 ac_cv_lib_resolv_inet_addr=yes
40770 else
40771 echo "$as_me: failed program was:" >&5
40772 sed 's/^/| /' conftest.$ac_ext >&5
40773
40774 ac_cv_lib_resolv_inet_addr=no
40775 fi
40776
40777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40778 conftest$ac_exeext conftest.$ac_ext
40779 LIBS=$ac_check_lib_save_LIBS
40780 fi
40781 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40782 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40783 if test $ac_cv_lib_resolv_inet_addr = yes; then
40784 INET_LINK="resolv"
40785 else
40786
40787 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40788 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40789 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40791 else
40792 ac_check_lib_save_LIBS=$LIBS
40793 LIBS="-lsocket $LIBS"
40794 cat >conftest.$ac_ext <<_ACEOF
40795 /* confdefs.h. */
40796 _ACEOF
40797 cat confdefs.h >>conftest.$ac_ext
40798 cat >>conftest.$ac_ext <<_ACEOF
40799 /* end confdefs.h. */
40800
40801 /* Override any GCC internal prototype to avoid an error.
40802 Use char because int might match the return type of a GCC
40803 builtin and then its argument prototype would still apply. */
40804 #ifdef __cplusplus
40805 extern "C"
40806 #endif
40807 char inet_addr ();
40808 int
40809 main ()
40810 {
40811 return inet_addr ();
40812 ;
40813 return 0;
40814 }
40815 _ACEOF
40816 rm -f conftest.$ac_objext conftest$ac_exeext
40817 if { (ac_try="$ac_link"
40818 case "(($ac_try" in
40819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40820 *) ac_try_echo=$ac_try;;
40821 esac
40822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40823 (eval "$ac_link") 2>conftest.er1
40824 ac_status=$?
40825 grep -v '^ *+' conftest.er1 >conftest.err
40826 rm -f conftest.er1
40827 cat conftest.err >&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); } && {
40830 test -z "$ac_c_werror_flag" ||
40831 test ! -s conftest.err
40832 } && test -s conftest$ac_exeext &&
40833 $as_test_x conftest$ac_exeext; then
40834 ac_cv_lib_socket_inet_addr=yes
40835 else
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.$ac_ext >&5
40838
40839 ac_cv_lib_socket_inet_addr=no
40840 fi
40841
40842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40843 conftest$ac_exeext conftest.$ac_ext
40844 LIBS=$ac_check_lib_save_LIBS
40845 fi
40846 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40847 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40848 if test $ac_cv_lib_socket_inet_addr = yes; then
40849 INET_LINK="socket"
40850
40851 fi
40852
40853
40854
40855 fi
40856
40857
40858
40859 fi
40860
40861
40862
40863 fi
40864 done
40865
40866
40867
40868 for ac_func in inet_aton
40869 do
40870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40875 else
40876 cat >conftest.$ac_ext <<_ACEOF
40877 /* confdefs.h. */
40878 _ACEOF
40879 cat confdefs.h >>conftest.$ac_ext
40880 cat >>conftest.$ac_ext <<_ACEOF
40881 /* end confdefs.h. */
40882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40884 #define $ac_func innocuous_$ac_func
40885
40886 /* System header to define __stub macros and hopefully few prototypes,
40887 which can conflict with char $ac_func (); below.
40888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40889 <limits.h> exists even on freestanding compilers. */
40890
40891 #ifdef __STDC__
40892 # include <limits.h>
40893 #else
40894 # include <assert.h>
40895 #endif
40896
40897 #undef $ac_func
40898
40899 /* Override any GCC internal prototype to avoid an error.
40900 Use char because int might match the return type of a GCC
40901 builtin and then its argument prototype would still apply. */
40902 #ifdef __cplusplus
40903 extern "C"
40904 #endif
40905 char $ac_func ();
40906 /* The GNU C library defines this for functions which it implements
40907 to always fail with ENOSYS. Some functions are actually named
40908 something starting with __ and the normal name is an alias. */
40909 #if defined __stub_$ac_func || defined __stub___$ac_func
40910 choke me
40911 #endif
40912
40913 int
40914 main ()
40915 {
40916 return $ac_func ();
40917 ;
40918 return 0;
40919 }
40920 _ACEOF
40921 rm -f conftest.$ac_objext conftest$ac_exeext
40922 if { (ac_try="$ac_link"
40923 case "(($ac_try" in
40924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40925 *) ac_try_echo=$ac_try;;
40926 esac
40927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40928 (eval "$ac_link") 2>conftest.er1
40929 ac_status=$?
40930 grep -v '^ *+' conftest.er1 >conftest.err
40931 rm -f conftest.er1
40932 cat conftest.err >&5
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); } && {
40935 test -z "$ac_c_werror_flag" ||
40936 test ! -s conftest.err
40937 } && test -s conftest$ac_exeext &&
40938 $as_test_x conftest$ac_exeext; then
40939 eval "$as_ac_var=yes"
40940 else
40941 echo "$as_me: failed program was:" >&5
40942 sed 's/^/| /' conftest.$ac_ext >&5
40943
40944 eval "$as_ac_var=no"
40945 fi
40946
40947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40948 conftest$ac_exeext conftest.$ac_ext
40949 fi
40950 ac_res=`eval echo '${'$as_ac_var'}'`
40951 { echo "$as_me:$LINENO: result: $ac_res" >&5
40952 echo "${ECHO_T}$ac_res" >&6; }
40953 if test `eval echo '${'$as_ac_var'}'` = yes; then
40954 cat >>confdefs.h <<_ACEOF
40955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40956 _ACEOF
40957 cat >>confdefs.h <<\_ACEOF
40958 #define HAVE_INET_ATON 1
40959 _ACEOF
40960
40961 else
40962
40963 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40964 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40965 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40966 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40967 echo $ECHO_N "(cached) $ECHO_C" >&6
40968 else
40969 ac_check_lib_save_LIBS=$LIBS
40970 LIBS="-l$INET_LINK $LIBS"
40971 cat >conftest.$ac_ext <<_ACEOF
40972 /* confdefs.h. */
40973 _ACEOF
40974 cat confdefs.h >>conftest.$ac_ext
40975 cat >>conftest.$ac_ext <<_ACEOF
40976 /* end confdefs.h. */
40977
40978 /* Override any GCC internal prototype to avoid an error.
40979 Use char because int might match the return type of a GCC
40980 builtin and then its argument prototype would still apply. */
40981 #ifdef __cplusplus
40982 extern "C"
40983 #endif
40984 char inet_aton ();
40985 int
40986 main ()
40987 {
40988 return inet_aton ();
40989 ;
40990 return 0;
40991 }
40992 _ACEOF
40993 rm -f conftest.$ac_objext conftest$ac_exeext
40994 if { (ac_try="$ac_link"
40995 case "(($ac_try" in
40996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40997 *) ac_try_echo=$ac_try;;
40998 esac
40999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41000 (eval "$ac_link") 2>conftest.er1
41001 ac_status=$?
41002 grep -v '^ *+' conftest.er1 >conftest.err
41003 rm -f conftest.er1
41004 cat conftest.err >&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); } && {
41007 test -z "$ac_c_werror_flag" ||
41008 test ! -s conftest.err
41009 } && test -s conftest$ac_exeext &&
41010 $as_test_x conftest$ac_exeext; then
41011 eval "$as_ac_Lib=yes"
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41015
41016 eval "$as_ac_Lib=no"
41017 fi
41018
41019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41020 conftest$ac_exeext conftest.$ac_ext
41021 LIBS=$ac_check_lib_save_LIBS
41022 fi
41023 ac_res=`eval echo '${'$as_ac_Lib'}'`
41024 { echo "$as_me:$LINENO: result: $ac_res" >&5
41025 echo "${ECHO_T}$ac_res" >&6; }
41026 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41027 cat >>confdefs.h <<\_ACEOF
41028 #define HAVE_INET_ATON 1
41029 _ACEOF
41030
41031 fi
41032
41033
41034 fi
41035 done
41036
41037
41038 if test "x$INET_LINK" != "x"; then
41039 cat >>confdefs.h <<\_ACEOF
41040 #define HAVE_INET_ADDR 1
41041 _ACEOF
41042
41043 INET_LINK=" -l$INET_LINK"
41044 fi
41045
41046
41047 for wx_func in fdopen
41048 do
41049 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41050 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41051 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41052 echo $ECHO_N "(cached) $ECHO_C" >&6
41053 else
41054
41055 cat >conftest.$ac_ext <<_ACEOF
41056
41057 /* confdefs.h. */
41058 _ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41062
41063
41064 $ac_includes_default
41065
41066 int
41067 main ()
41068 {
41069
41070 #ifndef $wx_func
41071 &$wx_func;
41072 #endif
41073
41074
41075 ;
41076 return 0;
41077 }
41078
41079 _ACEOF
41080 rm -f conftest.$ac_objext conftest$ac_exeext
41081 if { (ac_try="$ac_link"
41082 case "(($ac_try" in
41083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41084 *) ac_try_echo=$ac_try;;
41085 esac
41086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41087 (eval "$ac_link") 2>conftest.er1
41088 ac_status=$?
41089 grep -v '^ *+' conftest.er1 >conftest.err
41090 rm -f conftest.er1
41091 cat conftest.err >&5
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); } && {
41094 test -z "$ac_c_werror_flag" ||
41095 test ! -s conftest.err
41096 } && test -s conftest$ac_exeext &&
41097 $as_test_x conftest$ac_exeext; then
41098 eval wx_cv_func_$wx_func=yes
41099 else
41100 echo "$as_me: failed program was:" >&5
41101 sed 's/^/| /' conftest.$ac_ext >&5
41102
41103 eval wx_cv_func_$wx_func=no
41104 fi
41105
41106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41107 conftest$ac_exeext conftest.$ac_ext
41108
41109 fi
41110 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41111 { echo "$as_me:$LINENO: result: $ac_res" >&5
41112 echo "${ECHO_T}$ac_res" >&6; }
41113
41114 if eval test \$wx_cv_func_$wx_func = yes
41115 then
41116 cat >>confdefs.h <<_ACEOF
41117 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41118 _ACEOF
41119
41120
41121 else
41122 :
41123
41124 fi
41125 done
41126
41127
41128 fi
41129
41130
41131
41132 cat >confcache <<\_ACEOF
41133 # This file is a shell script that caches the results of configure
41134 # tests run on this system so they can be shared between configure
41135 # scripts and configure runs, see configure's option --config-cache.
41136 # It is not useful on other systems. If it contains results you don't
41137 # want to keep, you may remove or edit it.
41138 #
41139 # config.status only pays attention to the cache file if you give it
41140 # the --recheck option to rerun configure.
41141 #
41142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41144 # following values.
41145
41146 _ACEOF
41147
41148 # The following way of writing the cache mishandles newlines in values,
41149 # but we know of no workaround that is simple, portable, and efficient.
41150 # So, we kill variables containing newlines.
41151 # Ultrix sh set writes to stderr and can't be redirected directly,
41152 # and sets the high bit in the cache file unless we assign to the vars.
41153 (
41154 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41155 eval ac_val=\$$ac_var
41156 case $ac_val in #(
41157 *${as_nl}*)
41158 case $ac_var in #(
41159 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41160 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41161 esac
41162 case $ac_var in #(
41163 _ | IFS | as_nl) ;; #(
41164 *) $as_unset $ac_var ;;
41165 esac ;;
41166 esac
41167 done
41168
41169 (set) 2>&1 |
41170 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41171 *${as_nl}ac_space=\ *)
41172 # `set' does not quote correctly, so add quotes (double-quote
41173 # substitution turns \\\\ into \\, and sed turns \\ into \).
41174 sed -n \
41175 "s/'/'\\\\''/g;
41176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41177 ;; #(
41178 *)
41179 # `set' quotes correctly as required by POSIX, so do not add quotes.
41180 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41181 ;;
41182 esac |
41183 sort
41184 ) |
41185 sed '
41186 /^ac_cv_env_/b end
41187 t clear
41188 :clear
41189 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41190 t end
41191 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41192 :end' >>confcache
41193 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41194 if test -w "$cache_file"; then
41195 test "x$cache_file" != "x/dev/null" &&
41196 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41197 echo "$as_me: updating cache $cache_file" >&6;}
41198 cat confcache >$cache_file
41199 else
41200 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41201 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41202 fi
41203 fi
41204 rm -f confcache
41205
41206
41207 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41208
41209
41210 THREADS_LINK=
41211 THREADS_CFLAGS=
41212
41213 if test "$wxUSE_THREADS" = "yes" ; then
41214 if test "$USE_BEOS" = 1; then
41215 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41216 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41217 wxUSE_THREADS="no"
41218 fi
41219 fi
41220
41221 if test "$wxUSE_THREADS" = "yes" ; then
41222
41223
41224 THREAD_OPTS="-pthread"
41225 if test "x$SUNCXX" = xyes; then
41226 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41227 fi
41228
41229 case "${host}" in
41230 *-*-solaris2* | *-*-sunos4* )
41231 if test "x$GCC" = "xyes"; then
41232 THREAD_OPTS="-pthreads $THREAD_OPTS"
41233 fi
41234 ;;
41235 *-*-freebsd*)
41236 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41237 ;;
41238 *-*-darwin* | *-*-cygwin* )
41239 THREAD_OPTS=""
41240 ;;
41241 *-*-aix*)
41242 THREAD_OPTS="pthreads"
41243 ;;
41244 *-hp-hpux* )
41245 if test "x$GCC" = "xyes"; then
41246 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41247 THREAD_OPTS=""
41248 else
41249 THREAD_OPTS="-mt"
41250 fi
41251 ;;
41252
41253 *-*-irix* )
41254 if test "x$GCC" = "xyes"; then
41255 THREAD_OPTS=""
41256 fi
41257 ;;
41258
41259 *-*-*UnixWare*)
41260 if test "x$GCC" != "xyes"; then
41261 THREAD_OPTS="-Ethread"
41262 fi
41263 ;;
41264 esac
41265
41266 THREAD_OPTS="$THREAD_OPTS pthread none"
41267
41268 THREADS_OK=no
41269 for flag in $THREAD_OPTS; do
41270 case $flag in
41271 none)
41272 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41273 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41274 ;;
41275
41276 -*)
41277 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41278 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41279 THREADS_CFLAGS="$flag"
41280 ;;
41281
41282 *)
41283 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41284 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41285 THREADS_LINK="-l$flag"
41286 ;;
41287 esac
41288
41289 save_LIBS="$LIBS"
41290 save_CFLAGS="$CFLAGS"
41291 LIBS="$THREADS_LINK $LIBS"
41292 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41293
41294 cat >conftest.$ac_ext <<_ACEOF
41295 /* confdefs.h. */
41296 _ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 #include <pthread.h>
41301 int
41302 main ()
41303 {
41304 pthread_create(0,0,0,0);
41305 ;
41306 return 0;
41307 }
41308 _ACEOF
41309 rm -f conftest.$ac_objext conftest$ac_exeext
41310 if { (ac_try="$ac_link"
41311 case "(($ac_try" in
41312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41313 *) ac_try_echo=$ac_try;;
41314 esac
41315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41316 (eval "$ac_link") 2>conftest.er1
41317 ac_status=$?
41318 grep -v '^ *+' conftest.er1 >conftest.err
41319 rm -f conftest.er1
41320 cat conftest.err >&5
41321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41322 (exit $ac_status); } && {
41323 test -z "$ac_c_werror_flag" ||
41324 test ! -s conftest.err
41325 } && test -s conftest$ac_exeext &&
41326 $as_test_x conftest$ac_exeext; then
41327 THREADS_OK=yes
41328 else
41329 echo "$as_me: failed program was:" >&5
41330 sed 's/^/| /' conftest.$ac_ext >&5
41331
41332
41333 fi
41334
41335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41336 conftest$ac_exeext conftest.$ac_ext
41337
41338 LIBS="$save_LIBS"
41339 CFLAGS="$save_CFLAGS"
41340
41341 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41342 echo "${ECHO_T}$THREADS_OK" >&6; }
41343 if test "x$THREADS_OK" = "xyes"; then
41344 break;
41345 fi
41346
41347 THREADS_LINK=""
41348 THREADS_CFLAGS=""
41349 done
41350
41351 if test "x$THREADS_OK" != "xyes"; then
41352 wxUSE_THREADS=no
41353 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41354 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41355 else
41356 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41357 LIBS="$THREADS_LINK $LIBS"
41358
41359 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41360 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41361 flag=no
41362 case "${host}" in
41363 *-aix*)
41364 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41365 flag="-D_THREAD_SAFE"
41366 ;;
41367 *-freebsd*)
41368 flag="-D_THREAD_SAFE"
41369 ;;
41370 *-hp-hpux* )
41371 flag="-D_REENTRANT"
41372 if test "x$GCC" != "xyes"; then
41373 flag="$flag -D_RWSTD_MULTI_THREAD"
41374 fi
41375 ;;
41376 *solaris* | alpha*-osf*)
41377 flag="-D_REENTRANT"
41378 ;;
41379 esac
41380 { echo "$as_me:$LINENO: result: ${flag}" >&5
41381 echo "${ECHO_T}${flag}" >&6; }
41382 if test "x$flag" != xno; then
41383 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41384 fi
41385
41386 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41387 fi
41388 fi
41389
41390 if test "$wxUSE_THREADS" = "yes" ; then
41391
41392 for ac_func in thr_setconcurrency
41393 do
41394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41399 else
41400 cat >conftest.$ac_ext <<_ACEOF
41401 /* confdefs.h. */
41402 _ACEOF
41403 cat confdefs.h >>conftest.$ac_ext
41404 cat >>conftest.$ac_ext <<_ACEOF
41405 /* end confdefs.h. */
41406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41408 #define $ac_func innocuous_$ac_func
41409
41410 /* System header to define __stub macros and hopefully few prototypes,
41411 which can conflict with char $ac_func (); below.
41412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41413 <limits.h> exists even on freestanding compilers. */
41414
41415 #ifdef __STDC__
41416 # include <limits.h>
41417 #else
41418 # include <assert.h>
41419 #endif
41420
41421 #undef $ac_func
41422
41423 /* Override any GCC internal prototype to avoid an error.
41424 Use char because int might match the return type of a GCC
41425 builtin and then its argument prototype would still apply. */
41426 #ifdef __cplusplus
41427 extern "C"
41428 #endif
41429 char $ac_func ();
41430 /* The GNU C library defines this for functions which it implements
41431 to always fail with ENOSYS. Some functions are actually named
41432 something starting with __ and the normal name is an alias. */
41433 #if defined __stub_$ac_func || defined __stub___$ac_func
41434 choke me
41435 #endif
41436
41437 int
41438 main ()
41439 {
41440 return $ac_func ();
41441 ;
41442 return 0;
41443 }
41444 _ACEOF
41445 rm -f conftest.$ac_objext conftest$ac_exeext
41446 if { (ac_try="$ac_link"
41447 case "(($ac_try" in
41448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41449 *) ac_try_echo=$ac_try;;
41450 esac
41451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41452 (eval "$ac_link") 2>conftest.er1
41453 ac_status=$?
41454 grep -v '^ *+' conftest.er1 >conftest.err
41455 rm -f conftest.er1
41456 cat conftest.err >&5
41457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41458 (exit $ac_status); } && {
41459 test -z "$ac_c_werror_flag" ||
41460 test ! -s conftest.err
41461 } && test -s conftest$ac_exeext &&
41462 $as_test_x conftest$ac_exeext; then
41463 eval "$as_ac_var=yes"
41464 else
41465 echo "$as_me: failed program was:" >&5
41466 sed 's/^/| /' conftest.$ac_ext >&5
41467
41468 eval "$as_ac_var=no"
41469 fi
41470
41471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41472 conftest$ac_exeext conftest.$ac_ext
41473 fi
41474 ac_res=`eval echo '${'$as_ac_var'}'`
41475 { echo "$as_me:$LINENO: result: $ac_res" >&5
41476 echo "${ECHO_T}$ac_res" >&6; }
41477 if test `eval echo '${'$as_ac_var'}'` = yes; then
41478 cat >>confdefs.h <<_ACEOF
41479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41480 _ACEOF
41481
41482 fi
41483 done
41484
41485
41486 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41487 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41488 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41489 echo $ECHO_N "(cached) $ECHO_C" >&6
41490 else
41491
41492 ac_ext=cpp
41493 ac_cpp='$CXXCPP $CPPFLAGS'
41494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41497
41498 cat >conftest.$ac_ext <<_ACEOF
41499 /* confdefs.h. */
41500 _ACEOF
41501 cat confdefs.h >>conftest.$ac_ext
41502 cat >>conftest.$ac_ext <<_ACEOF
41503 /* end confdefs.h. */
41504 #include <pthread.h>
41505 void ThreadCleanupFunc(void *p);
41506
41507 int
41508 main ()
41509 {
41510
41511 void *p;
41512 pthread_cleanup_push(ThreadCleanupFunc, p);
41513 pthread_cleanup_pop(0);
41514
41515 ;
41516 return 0;
41517 }
41518 _ACEOF
41519 rm -f conftest.$ac_objext
41520 if { (ac_try="$ac_compile"
41521 case "(($ac_try" in
41522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41523 *) ac_try_echo=$ac_try;;
41524 esac
41525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41526 (eval "$ac_compile") 2>conftest.er1
41527 ac_status=$?
41528 grep -v '^ *+' conftest.er1 >conftest.err
41529 rm -f conftest.er1
41530 cat conftest.err >&5
41531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532 (exit $ac_status); } && {
41533 test -z "$ac_cxx_werror_flag" ||
41534 test ! -s conftest.err
41535 } && test -s conftest.$ac_objext; then
41536
41537 wx_cv_func_pthread_cleanup=yes
41538
41539 else
41540 echo "$as_me: failed program was:" >&5
41541 sed 's/^/| /' conftest.$ac_ext >&5
41542
41543
41544 wx_cv_func_pthread_cleanup=no
41545
41546
41547 fi
41548
41549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41555
41556
41557 fi
41558 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41559 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41560 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41561 cat >>confdefs.h <<\_ACEOF
41562 #define wxHAVE_PTHREAD_CLEANUP 1
41563 _ACEOF
41564
41565 fi
41566
41567
41568 for ac_header in sched.h
41569 do
41570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41574 echo $ECHO_N "(cached) $ECHO_C" >&6
41575 else
41576 cat >conftest.$ac_ext <<_ACEOF
41577 /* confdefs.h. */
41578 _ACEOF
41579 cat confdefs.h >>conftest.$ac_ext
41580 cat >>conftest.$ac_ext <<_ACEOF
41581 /* end confdefs.h. */
41582 $ac_includes_default
41583
41584 #include <$ac_header>
41585 _ACEOF
41586 rm -f conftest.$ac_objext
41587 if { (ac_try="$ac_compile"
41588 case "(($ac_try" in
41589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41590 *) ac_try_echo=$ac_try;;
41591 esac
41592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41593 (eval "$ac_compile") 2>conftest.er1
41594 ac_status=$?
41595 grep -v '^ *+' conftest.er1 >conftest.err
41596 rm -f conftest.er1
41597 cat conftest.err >&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); } && {
41600 test -z "$ac_c_werror_flag" ||
41601 test ! -s conftest.err
41602 } && test -s conftest.$ac_objext; then
41603 eval "$as_ac_Header=yes"
41604 else
41605 echo "$as_me: failed program was:" >&5
41606 sed 's/^/| /' conftest.$ac_ext >&5
41607
41608 eval "$as_ac_Header=no"
41609 fi
41610
41611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41612 fi
41613 ac_res=`eval echo '${'$as_ac_Header'}'`
41614 { echo "$as_me:$LINENO: result: $ac_res" >&5
41615 echo "${ECHO_T}$ac_res" >&6; }
41616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41617 cat >>confdefs.h <<_ACEOF
41618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41619 _ACEOF
41620
41621 fi
41622
41623 done
41624
41625 if test "$ac_cv_header_sched_h" = "yes"; then
41626 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41627 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41628 if test "${ac_cv_func_sched_yield+set}" = set; then
41629 echo $ECHO_N "(cached) $ECHO_C" >&6
41630 else
41631 cat >conftest.$ac_ext <<_ACEOF
41632 /* confdefs.h. */
41633 _ACEOF
41634 cat confdefs.h >>conftest.$ac_ext
41635 cat >>conftest.$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41637 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41639 #define sched_yield innocuous_sched_yield
41640
41641 /* System header to define __stub macros and hopefully few prototypes,
41642 which can conflict with char sched_yield (); below.
41643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41644 <limits.h> exists even on freestanding compilers. */
41645
41646 #ifdef __STDC__
41647 # include <limits.h>
41648 #else
41649 # include <assert.h>
41650 #endif
41651
41652 #undef sched_yield
41653
41654 /* Override any GCC internal prototype to avoid an error.
41655 Use char because int might match the return type of a GCC
41656 builtin and then its argument prototype would still apply. */
41657 #ifdef __cplusplus
41658 extern "C"
41659 #endif
41660 char sched_yield ();
41661 /* The GNU C library defines this for functions which it implements
41662 to always fail with ENOSYS. Some functions are actually named
41663 something starting with __ and the normal name is an alias. */
41664 #if defined __stub_sched_yield || defined __stub___sched_yield
41665 choke me
41666 #endif
41667
41668 int
41669 main ()
41670 {
41671 return sched_yield ();
41672 ;
41673 return 0;
41674 }
41675 _ACEOF
41676 rm -f conftest.$ac_objext conftest$ac_exeext
41677 if { (ac_try="$ac_link"
41678 case "(($ac_try" in
41679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41680 *) ac_try_echo=$ac_try;;
41681 esac
41682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41683 (eval "$ac_link") 2>conftest.er1
41684 ac_status=$?
41685 grep -v '^ *+' conftest.er1 >conftest.err
41686 rm -f conftest.er1
41687 cat conftest.err >&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); } && {
41690 test -z "$ac_c_werror_flag" ||
41691 test ! -s conftest.err
41692 } && test -s conftest$ac_exeext &&
41693 $as_test_x conftest$ac_exeext; then
41694 ac_cv_func_sched_yield=yes
41695 else
41696 echo "$as_me: failed program was:" >&5
41697 sed 's/^/| /' conftest.$ac_ext >&5
41698
41699 ac_cv_func_sched_yield=no
41700 fi
41701
41702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41703 conftest$ac_exeext conftest.$ac_ext
41704 fi
41705 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41706 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41707 if test $ac_cv_func_sched_yield = yes; then
41708 cat >>confdefs.h <<\_ACEOF
41709 #define HAVE_SCHED_YIELD 1
41710 _ACEOF
41711
41712 else
41713
41714 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41715 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41716 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41717 echo $ECHO_N "(cached) $ECHO_C" >&6
41718 else
41719 ac_check_lib_save_LIBS=$LIBS
41720 LIBS="-lposix4 $LIBS"
41721 cat >conftest.$ac_ext <<_ACEOF
41722 /* confdefs.h. */
41723 _ACEOF
41724 cat confdefs.h >>conftest.$ac_ext
41725 cat >>conftest.$ac_ext <<_ACEOF
41726 /* end confdefs.h. */
41727
41728 /* Override any GCC internal prototype to avoid an error.
41729 Use char because int might match the return type of a GCC
41730 builtin and then its argument prototype would still apply. */
41731 #ifdef __cplusplus
41732 extern "C"
41733 #endif
41734 char sched_yield ();
41735 int
41736 main ()
41737 {
41738 return sched_yield ();
41739 ;
41740 return 0;
41741 }
41742 _ACEOF
41743 rm -f conftest.$ac_objext conftest$ac_exeext
41744 if { (ac_try="$ac_link"
41745 case "(($ac_try" in
41746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41747 *) ac_try_echo=$ac_try;;
41748 esac
41749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41750 (eval "$ac_link") 2>conftest.er1
41751 ac_status=$?
41752 grep -v '^ *+' conftest.er1 >conftest.err
41753 rm -f conftest.er1
41754 cat conftest.err >&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } && {
41757 test -z "$ac_c_werror_flag" ||
41758 test ! -s conftest.err
41759 } && test -s conftest$ac_exeext &&
41760 $as_test_x conftest$ac_exeext; then
41761 ac_cv_lib_posix4_sched_yield=yes
41762 else
41763 echo "$as_me: failed program was:" >&5
41764 sed 's/^/| /' conftest.$ac_ext >&5
41765
41766 ac_cv_lib_posix4_sched_yield=no
41767 fi
41768
41769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41770 conftest$ac_exeext conftest.$ac_ext
41771 LIBS=$ac_check_lib_save_LIBS
41772 fi
41773 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41774 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41775 if test $ac_cv_lib_posix4_sched_yield = yes; then
41776 cat >>confdefs.h <<\_ACEOF
41777 #define HAVE_SCHED_YIELD 1
41778 _ACEOF
41779 POSIX4_LINK=" -lposix4"
41780 else
41781 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41782 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41783
41784 fi
41785
41786
41787
41788 fi
41789
41790 fi
41791
41792 HAVE_PRIOR_FUNCS=0
41793 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41794 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41795 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41796 echo $ECHO_N "(cached) $ECHO_C" >&6
41797 else
41798 cat >conftest.$ac_ext <<_ACEOF
41799 /* confdefs.h. */
41800 _ACEOF
41801 cat confdefs.h >>conftest.$ac_ext
41802 cat >>conftest.$ac_ext <<_ACEOF
41803 /* end confdefs.h. */
41804 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41806 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41807
41808 /* System header to define __stub macros and hopefully few prototypes,
41809 which can conflict with char pthread_attr_getschedpolicy (); below.
41810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41811 <limits.h> exists even on freestanding compilers. */
41812
41813 #ifdef __STDC__
41814 # include <limits.h>
41815 #else
41816 # include <assert.h>
41817 #endif
41818
41819 #undef pthread_attr_getschedpolicy
41820
41821 /* Override any GCC internal prototype to avoid an error.
41822 Use char because int might match the return type of a GCC
41823 builtin and then its argument prototype would still apply. */
41824 #ifdef __cplusplus
41825 extern "C"
41826 #endif
41827 char pthread_attr_getschedpolicy ();
41828 /* The GNU C library defines this for functions which it implements
41829 to always fail with ENOSYS. Some functions are actually named
41830 something starting with __ and the normal name is an alias. */
41831 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41832 choke me
41833 #endif
41834
41835 int
41836 main ()
41837 {
41838 return pthread_attr_getschedpolicy ();
41839 ;
41840 return 0;
41841 }
41842 _ACEOF
41843 rm -f conftest.$ac_objext conftest$ac_exeext
41844 if { (ac_try="$ac_link"
41845 case "(($ac_try" in
41846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41847 *) ac_try_echo=$ac_try;;
41848 esac
41849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41850 (eval "$ac_link") 2>conftest.er1
41851 ac_status=$?
41852 grep -v '^ *+' conftest.er1 >conftest.err
41853 rm -f conftest.er1
41854 cat conftest.err >&5
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); } && {
41857 test -z "$ac_c_werror_flag" ||
41858 test ! -s conftest.err
41859 } && test -s conftest$ac_exeext &&
41860 $as_test_x conftest$ac_exeext; then
41861 ac_cv_func_pthread_attr_getschedpolicy=yes
41862 else
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41865
41866 ac_cv_func_pthread_attr_getschedpolicy=no
41867 fi
41868
41869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41870 conftest$ac_exeext conftest.$ac_ext
41871 fi
41872 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41873 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41874 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41875 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41876 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41877 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41878 echo $ECHO_N "(cached) $ECHO_C" >&6
41879 else
41880 cat >conftest.$ac_ext <<_ACEOF
41881 /* confdefs.h. */
41882 _ACEOF
41883 cat confdefs.h >>conftest.$ac_ext
41884 cat >>conftest.$ac_ext <<_ACEOF
41885 /* end confdefs.h. */
41886 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41888 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41889
41890 /* System header to define __stub macros and hopefully few prototypes,
41891 which can conflict with char pthread_attr_setschedparam (); below.
41892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41893 <limits.h> exists even on freestanding compilers. */
41894
41895 #ifdef __STDC__
41896 # include <limits.h>
41897 #else
41898 # include <assert.h>
41899 #endif
41900
41901 #undef pthread_attr_setschedparam
41902
41903 /* Override any GCC internal prototype to avoid an error.
41904 Use char because int might match the return type of a GCC
41905 builtin and then its argument prototype would still apply. */
41906 #ifdef __cplusplus
41907 extern "C"
41908 #endif
41909 char pthread_attr_setschedparam ();
41910 /* The GNU C library defines this for functions which it implements
41911 to always fail with ENOSYS. Some functions are actually named
41912 something starting with __ and the normal name is an alias. */
41913 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41914 choke me
41915 #endif
41916
41917 int
41918 main ()
41919 {
41920 return pthread_attr_setschedparam ();
41921 ;
41922 return 0;
41923 }
41924 _ACEOF
41925 rm -f conftest.$ac_objext conftest$ac_exeext
41926 if { (ac_try="$ac_link"
41927 case "(($ac_try" in
41928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41929 *) ac_try_echo=$ac_try;;
41930 esac
41931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41932 (eval "$ac_link") 2>conftest.er1
41933 ac_status=$?
41934 grep -v '^ *+' conftest.er1 >conftest.err
41935 rm -f conftest.er1
41936 cat conftest.err >&5
41937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 (exit $ac_status); } && {
41939 test -z "$ac_c_werror_flag" ||
41940 test ! -s conftest.err
41941 } && test -s conftest$ac_exeext &&
41942 $as_test_x conftest$ac_exeext; then
41943 ac_cv_func_pthread_attr_setschedparam=yes
41944 else
41945 echo "$as_me: failed program was:" >&5
41946 sed 's/^/| /' conftest.$ac_ext >&5
41947
41948 ac_cv_func_pthread_attr_setschedparam=no
41949 fi
41950
41951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41952 conftest$ac_exeext conftest.$ac_ext
41953 fi
41954 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41955 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41956 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41957 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41958 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41959 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41960 echo $ECHO_N "(cached) $ECHO_C" >&6
41961 else
41962 cat >conftest.$ac_ext <<_ACEOF
41963 /* confdefs.h. */
41964 _ACEOF
41965 cat confdefs.h >>conftest.$ac_ext
41966 cat >>conftest.$ac_ext <<_ACEOF
41967 /* end confdefs.h. */
41968 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41970 #define sched_get_priority_max innocuous_sched_get_priority_max
41971
41972 /* System header to define __stub macros and hopefully few prototypes,
41973 which can conflict with char sched_get_priority_max (); below.
41974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41975 <limits.h> exists even on freestanding compilers. */
41976
41977 #ifdef __STDC__
41978 # include <limits.h>
41979 #else
41980 # include <assert.h>
41981 #endif
41982
41983 #undef sched_get_priority_max
41984
41985 /* Override any GCC internal prototype to avoid an error.
41986 Use char because int might match the return type of a GCC
41987 builtin and then its argument prototype would still apply. */
41988 #ifdef __cplusplus
41989 extern "C"
41990 #endif
41991 char sched_get_priority_max ();
41992 /* The GNU C library defines this for functions which it implements
41993 to always fail with ENOSYS. Some functions are actually named
41994 something starting with __ and the normal name is an alias. */
41995 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41996 choke me
41997 #endif
41998
41999 int
42000 main ()
42001 {
42002 return sched_get_priority_max ();
42003 ;
42004 return 0;
42005 }
42006 _ACEOF
42007 rm -f conftest.$ac_objext conftest$ac_exeext
42008 if { (ac_try="$ac_link"
42009 case "(($ac_try" in
42010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42011 *) ac_try_echo=$ac_try;;
42012 esac
42013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42014 (eval "$ac_link") 2>conftest.er1
42015 ac_status=$?
42016 grep -v '^ *+' conftest.er1 >conftest.err
42017 rm -f conftest.er1
42018 cat conftest.err >&5
42019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42020 (exit $ac_status); } && {
42021 test -z "$ac_c_werror_flag" ||
42022 test ! -s conftest.err
42023 } && test -s conftest$ac_exeext &&
42024 $as_test_x conftest$ac_exeext; then
42025 ac_cv_func_sched_get_priority_max=yes
42026 else
42027 echo "$as_me: failed program was:" >&5
42028 sed 's/^/| /' conftest.$ac_ext >&5
42029
42030 ac_cv_func_sched_get_priority_max=no
42031 fi
42032
42033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42034 conftest$ac_exeext conftest.$ac_ext
42035 fi
42036 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42037 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42038 if test $ac_cv_func_sched_get_priority_max = yes; then
42039 HAVE_PRIOR_FUNCS=1
42040 else
42041 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42042 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42043 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42044 echo $ECHO_N "(cached) $ECHO_C" >&6
42045 else
42046 ac_check_lib_save_LIBS=$LIBS
42047 LIBS="-lposix4 $LIBS"
42048 cat >conftest.$ac_ext <<_ACEOF
42049 /* confdefs.h. */
42050 _ACEOF
42051 cat confdefs.h >>conftest.$ac_ext
42052 cat >>conftest.$ac_ext <<_ACEOF
42053 /* end confdefs.h. */
42054
42055 /* Override any GCC internal prototype to avoid an error.
42056 Use char because int might match the return type of a GCC
42057 builtin and then its argument prototype would still apply. */
42058 #ifdef __cplusplus
42059 extern "C"
42060 #endif
42061 char sched_get_priority_max ();
42062 int
42063 main ()
42064 {
42065 return sched_get_priority_max ();
42066 ;
42067 return 0;
42068 }
42069 _ACEOF
42070 rm -f conftest.$ac_objext conftest$ac_exeext
42071 if { (ac_try="$ac_link"
42072 case "(($ac_try" in
42073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42074 *) ac_try_echo=$ac_try;;
42075 esac
42076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42077 (eval "$ac_link") 2>conftest.er1
42078 ac_status=$?
42079 grep -v '^ *+' conftest.er1 >conftest.err
42080 rm -f conftest.er1
42081 cat conftest.err >&5
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); } && {
42084 test -z "$ac_c_werror_flag" ||
42085 test ! -s conftest.err
42086 } && test -s conftest$ac_exeext &&
42087 $as_test_x conftest$ac_exeext; then
42088 ac_cv_lib_posix4_sched_get_priority_max=yes
42089 else
42090 echo "$as_me: failed program was:" >&5
42091 sed 's/^/| /' conftest.$ac_ext >&5
42092
42093 ac_cv_lib_posix4_sched_get_priority_max=no
42094 fi
42095
42096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42097 conftest$ac_exeext conftest.$ac_ext
42098 LIBS=$ac_check_lib_save_LIBS
42099 fi
42100 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42101 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42102 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42103
42104 HAVE_PRIOR_FUNCS=1
42105 POSIX4_LINK=" -lposix4"
42106
42107 fi
42108
42109
42110 fi
42111
42112
42113 fi
42114
42115
42116 fi
42117
42118
42119 if test "$HAVE_PRIOR_FUNCS" = 1; then
42120 cat >>confdefs.h <<\_ACEOF
42121 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42122 _ACEOF
42123
42124 else
42125 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42126 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42127 fi
42128
42129 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42130 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42131 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42132 echo $ECHO_N "(cached) $ECHO_C" >&6
42133 else
42134 cat >conftest.$ac_ext <<_ACEOF
42135 /* confdefs.h. */
42136 _ACEOF
42137 cat confdefs.h >>conftest.$ac_ext
42138 cat >>conftest.$ac_ext <<_ACEOF
42139 /* end confdefs.h. */
42140 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42142 #define pthread_cancel innocuous_pthread_cancel
42143
42144 /* System header to define __stub macros and hopefully few prototypes,
42145 which can conflict with char pthread_cancel (); below.
42146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42147 <limits.h> exists even on freestanding compilers. */
42148
42149 #ifdef __STDC__
42150 # include <limits.h>
42151 #else
42152 # include <assert.h>
42153 #endif
42154
42155 #undef pthread_cancel
42156
42157 /* Override any GCC internal prototype to avoid an error.
42158 Use char because int might match the return type of a GCC
42159 builtin and then its argument prototype would still apply. */
42160 #ifdef __cplusplus
42161 extern "C"
42162 #endif
42163 char pthread_cancel ();
42164 /* The GNU C library defines this for functions which it implements
42165 to always fail with ENOSYS. Some functions are actually named
42166 something starting with __ and the normal name is an alias. */
42167 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42168 choke me
42169 #endif
42170
42171 int
42172 main ()
42173 {
42174 return pthread_cancel ();
42175 ;
42176 return 0;
42177 }
42178 _ACEOF
42179 rm -f conftest.$ac_objext conftest$ac_exeext
42180 if { (ac_try="$ac_link"
42181 case "(($ac_try" in
42182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42183 *) ac_try_echo=$ac_try;;
42184 esac
42185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42186 (eval "$ac_link") 2>conftest.er1
42187 ac_status=$?
42188 grep -v '^ *+' conftest.er1 >conftest.err
42189 rm -f conftest.er1
42190 cat conftest.err >&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } && {
42193 test -z "$ac_c_werror_flag" ||
42194 test ! -s conftest.err
42195 } && test -s conftest$ac_exeext &&
42196 $as_test_x conftest$ac_exeext; then
42197 ac_cv_func_pthread_cancel=yes
42198 else
42199 echo "$as_me: failed program was:" >&5
42200 sed 's/^/| /' conftest.$ac_ext >&5
42201
42202 ac_cv_func_pthread_cancel=no
42203 fi
42204
42205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42206 conftest$ac_exeext conftest.$ac_ext
42207 fi
42208 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42209 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42210 if test $ac_cv_func_pthread_cancel = yes; then
42211 cat >>confdefs.h <<\_ACEOF
42212 #define HAVE_PTHREAD_CANCEL 1
42213 _ACEOF
42214
42215 else
42216 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42217 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42218 fi
42219
42220
42221 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42222 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42223 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42224 echo $ECHO_N "(cached) $ECHO_C" >&6
42225 else
42226 cat >conftest.$ac_ext <<_ACEOF
42227 /* confdefs.h. */
42228 _ACEOF
42229 cat confdefs.h >>conftest.$ac_ext
42230 cat >>conftest.$ac_ext <<_ACEOF
42231 /* end confdefs.h. */
42232 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42234 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42235
42236 /* System header to define __stub macros and hopefully few prototypes,
42237 which can conflict with char pthread_mutex_timedlock (); below.
42238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42239 <limits.h> exists even on freestanding compilers. */
42240
42241 #ifdef __STDC__
42242 # include <limits.h>
42243 #else
42244 # include <assert.h>
42245 #endif
42246
42247 #undef pthread_mutex_timedlock
42248
42249 /* Override any GCC internal prototype to avoid an error.
42250 Use char because int might match the return type of a GCC
42251 builtin and then its argument prototype would still apply. */
42252 #ifdef __cplusplus
42253 extern "C"
42254 #endif
42255 char pthread_mutex_timedlock ();
42256 /* The GNU C library defines this for functions which it implements
42257 to always fail with ENOSYS. Some functions are actually named
42258 something starting with __ and the normal name is an alias. */
42259 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42260 choke me
42261 #endif
42262
42263 int
42264 main ()
42265 {
42266 return pthread_mutex_timedlock ();
42267 ;
42268 return 0;
42269 }
42270 _ACEOF
42271 rm -f conftest.$ac_objext conftest$ac_exeext
42272 if { (ac_try="$ac_link"
42273 case "(($ac_try" in
42274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42275 *) ac_try_echo=$ac_try;;
42276 esac
42277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42278 (eval "$ac_link") 2>conftest.er1
42279 ac_status=$?
42280 grep -v '^ *+' conftest.er1 >conftest.err
42281 rm -f conftest.er1
42282 cat conftest.err >&5
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); } && {
42285 test -z "$ac_c_werror_flag" ||
42286 test ! -s conftest.err
42287 } && test -s conftest$ac_exeext &&
42288 $as_test_x conftest$ac_exeext; then
42289 ac_cv_func_pthread_mutex_timedlock=yes
42290 else
42291 echo "$as_me: failed program was:" >&5
42292 sed 's/^/| /' conftest.$ac_ext >&5
42293
42294 ac_cv_func_pthread_mutex_timedlock=no
42295 fi
42296
42297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42298 conftest$ac_exeext conftest.$ac_ext
42299 fi
42300 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42301 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42302 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42303 cat >>confdefs.h <<\_ACEOF
42304 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42305 _ACEOF
42306
42307 else
42308 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42309 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42310 fi
42311
42312
42313 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42314 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42315 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42316 echo $ECHO_N "(cached) $ECHO_C" >&6
42317 else
42318 cat >conftest.$ac_ext <<_ACEOF
42319 /* confdefs.h. */
42320 _ACEOF
42321 cat confdefs.h >>conftest.$ac_ext
42322 cat >>conftest.$ac_ext <<_ACEOF
42323 /* end confdefs.h. */
42324 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42326 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42327
42328 /* System header to define __stub macros and hopefully few prototypes,
42329 which can conflict with char pthread_attr_setstacksize (); below.
42330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42331 <limits.h> exists even on freestanding compilers. */
42332
42333 #ifdef __STDC__
42334 # include <limits.h>
42335 #else
42336 # include <assert.h>
42337 #endif
42338
42339 #undef pthread_attr_setstacksize
42340
42341 /* Override any GCC internal prototype to avoid an error.
42342 Use char because int might match the return type of a GCC
42343 builtin and then its argument prototype would still apply. */
42344 #ifdef __cplusplus
42345 extern "C"
42346 #endif
42347 char pthread_attr_setstacksize ();
42348 /* The GNU C library defines this for functions which it implements
42349 to always fail with ENOSYS. Some functions are actually named
42350 something starting with __ and the normal name is an alias. */
42351 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42352 choke me
42353 #endif
42354
42355 int
42356 main ()
42357 {
42358 return pthread_attr_setstacksize ();
42359 ;
42360 return 0;
42361 }
42362 _ACEOF
42363 rm -f conftest.$ac_objext conftest$ac_exeext
42364 if { (ac_try="$ac_link"
42365 case "(($ac_try" in
42366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42367 *) ac_try_echo=$ac_try;;
42368 esac
42369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42370 (eval "$ac_link") 2>conftest.er1
42371 ac_status=$?
42372 grep -v '^ *+' conftest.er1 >conftest.err
42373 rm -f conftest.er1
42374 cat conftest.err >&5
42375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42376 (exit $ac_status); } && {
42377 test -z "$ac_c_werror_flag" ||
42378 test ! -s conftest.err
42379 } && test -s conftest$ac_exeext &&
42380 $as_test_x conftest$ac_exeext; then
42381 ac_cv_func_pthread_attr_setstacksize=yes
42382 else
42383 echo "$as_me: failed program was:" >&5
42384 sed 's/^/| /' conftest.$ac_ext >&5
42385
42386 ac_cv_func_pthread_attr_setstacksize=no
42387 fi
42388
42389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42390 conftest$ac_exeext conftest.$ac_ext
42391 fi
42392 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42393 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42394 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42395 cat >>confdefs.h <<\_ACEOF
42396 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42397 _ACEOF
42398
42399 fi
42400
42401
42402
42403 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42404 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42405 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 else
42408
42409 cat >conftest.$ac_ext <<_ACEOF
42410 /* confdefs.h. */
42411 _ACEOF
42412 cat confdefs.h >>conftest.$ac_ext
42413 cat >>conftest.$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42415 #include <pthread.h>
42416 int
42417 main ()
42418 {
42419
42420 pthread_mutexattr_t attr;
42421 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42422
42423 ;
42424 return 0;
42425 }
42426 _ACEOF
42427 rm -f conftest.$ac_objext
42428 if { (ac_try="$ac_compile"
42429 case "(($ac_try" in
42430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42431 *) ac_try_echo=$ac_try;;
42432 esac
42433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42434 (eval "$ac_compile") 2>conftest.er1
42435 ac_status=$?
42436 grep -v '^ *+' conftest.er1 >conftest.err
42437 rm -f conftest.er1
42438 cat conftest.err >&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } && {
42441 test -z "$ac_c_werror_flag" ||
42442 test ! -s conftest.err
42443 } && test -s conftest.$ac_objext; then
42444 wx_cv_type_pthread_mutexattr_t=yes
42445 else
42446 echo "$as_me: failed program was:" >&5
42447 sed 's/^/| /' conftest.$ac_ext >&5
42448
42449 wx_cv_type_pthread_mutexattr_t=no
42450
42451 fi
42452
42453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42454
42455 fi
42456 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42457 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42458
42459 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42460 cat >>confdefs.h <<\_ACEOF
42461 #define HAVE_PTHREAD_MUTEXATTR_T 1
42462 _ACEOF
42463
42464
42465 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42466 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42467 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42468 echo $ECHO_N "(cached) $ECHO_C" >&6
42469 else
42470
42471 cat >conftest.$ac_ext <<_ACEOF
42472 /* confdefs.h. */
42473 _ACEOF
42474 cat confdefs.h >>conftest.$ac_ext
42475 cat >>conftest.$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477 #include <pthread.h>
42478 int
42479 main ()
42480 {
42481
42482 pthread_mutexattr_t attr;
42483 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42484
42485 ;
42486 return 0;
42487 }
42488 _ACEOF
42489 rm -f conftest.$ac_objext
42490 if { (ac_try="$ac_compile"
42491 case "(($ac_try" in
42492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42493 *) ac_try_echo=$ac_try;;
42494 esac
42495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42496 (eval "$ac_compile") 2>conftest.er1
42497 ac_status=$?
42498 grep -v '^ *+' conftest.er1 >conftest.err
42499 rm -f conftest.er1
42500 cat conftest.err >&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); } && {
42503 test -z "$ac_c_werror_flag" ||
42504 test ! -s conftest.err
42505 } && test -s conftest.$ac_objext; then
42506 wx_cv_func_pthread_mutexattr_settype_decl=yes
42507 else
42508 echo "$as_me: failed program was:" >&5
42509 sed 's/^/| /' conftest.$ac_ext >&5
42510
42511 wx_cv_func_pthread_mutexattr_settype_decl=no
42512
42513 fi
42514
42515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42516
42517 fi
42518 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42519 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42520 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42521 cat >>confdefs.h <<\_ACEOF
42522 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42523 _ACEOF
42524
42525 fi
42526 else
42527 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42528 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42529 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42530 echo $ECHO_N "(cached) $ECHO_C" >&6
42531 else
42532
42533 cat >conftest.$ac_ext <<_ACEOF
42534 /* confdefs.h. */
42535 _ACEOF
42536 cat confdefs.h >>conftest.$ac_ext
42537 cat >>conftest.$ac_ext <<_ACEOF
42538 /* end confdefs.h. */
42539 #include <pthread.h>
42540 int
42541 main ()
42542 {
42543
42544 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42545
42546 ;
42547 return 0;
42548 }
42549 _ACEOF
42550 rm -f conftest.$ac_objext
42551 if { (ac_try="$ac_compile"
42552 case "(($ac_try" in
42553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42554 *) ac_try_echo=$ac_try;;
42555 esac
42556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42557 (eval "$ac_compile") 2>conftest.er1
42558 ac_status=$?
42559 grep -v '^ *+' conftest.er1 >conftest.err
42560 rm -f conftest.er1
42561 cat conftest.err >&5
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); } && {
42564 test -z "$ac_c_werror_flag" ||
42565 test ! -s conftest.err
42566 } && test -s conftest.$ac_objext; then
42567
42568 wx_cv_type_pthread_rec_mutex_init=yes
42569
42570 else
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.$ac_ext >&5
42573
42574
42575 wx_cv_type_pthread_rec_mutex_init=no
42576
42577
42578 fi
42579
42580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42581
42582 fi
42583 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42584 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42585 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42588 _ACEOF
42589
42590 else
42591 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42592 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42593 fi
42594 fi
42595 fi
42596
42597 else
42598 if test "$wxUSE_THREADS" = "yes" ; then
42599 case "${host}" in
42600 *-*-mingw32* )
42601 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42602 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42603 if test "${wx_cv_cflags_mthread+set}" = set; then
42604 echo $ECHO_N "(cached) $ECHO_C" >&6
42605 else
42606
42607 CFLAGS_OLD="$CFLAGS"
42608 CFLAGS="-mthreads $CFLAGS"
42609 cat >conftest.$ac_ext <<_ACEOF
42610 /* confdefs.h. */
42611 _ACEOF
42612 cat confdefs.h >>conftest.$ac_ext
42613 cat >>conftest.$ac_ext <<_ACEOF
42614 /* end confdefs.h. */
42615
42616 int
42617 main ()
42618 {
42619
42620 ;
42621 return 0;
42622 }
42623 _ACEOF
42624 rm -f conftest.$ac_objext
42625 if { (ac_try="$ac_compile"
42626 case "(($ac_try" in
42627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42628 *) ac_try_echo=$ac_try;;
42629 esac
42630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42631 (eval "$ac_compile") 2>conftest.er1
42632 ac_status=$?
42633 grep -v '^ *+' conftest.er1 >conftest.err
42634 rm -f conftest.er1
42635 cat conftest.err >&5
42636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42637 (exit $ac_status); } && {
42638 test -z "$ac_c_werror_flag" ||
42639 test ! -s conftest.err
42640 } && test -s conftest.$ac_objext; then
42641 wx_cv_cflags_mthread=yes
42642 else
42643 echo "$as_me: failed program was:" >&5
42644 sed 's/^/| /' conftest.$ac_ext >&5
42645
42646 wx_cv_cflags_mthread=no
42647
42648 fi
42649
42650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42651
42652
42653 fi
42654 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42655 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42656
42657 if test "$wx_cv_cflags_mthread" = "yes"; then
42658 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42659 LDFLAGS="$LDFLAGS -mthreads"
42660 else
42661 CFLAGS="$CFLAGS_OLD"
42662 fi
42663 ;;
42664 *-pc-os2*emx )
42665 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42666 LDFLAGS="$LDFLAGS -Zmt"
42667 ;;
42668 esac
42669 fi
42670 fi
42671
42672 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42673 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42674 if test "${ac_cv_func_localtime_r+set}" = set; then
42675 echo $ECHO_N "(cached) $ECHO_C" >&6
42676 else
42677 cat >conftest.$ac_ext <<_ACEOF
42678 /* confdefs.h. */
42679 _ACEOF
42680 cat confdefs.h >>conftest.$ac_ext
42681 cat >>conftest.$ac_ext <<_ACEOF
42682 /* end confdefs.h. */
42683 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42685 #define localtime_r innocuous_localtime_r
42686
42687 /* System header to define __stub macros and hopefully few prototypes,
42688 which can conflict with char localtime_r (); below.
42689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42690 <limits.h> exists even on freestanding compilers. */
42691
42692 #ifdef __STDC__
42693 # include <limits.h>
42694 #else
42695 # include <assert.h>
42696 #endif
42697
42698 #undef localtime_r
42699
42700 /* Override any GCC internal prototype to avoid an error.
42701 Use char because int might match the return type of a GCC
42702 builtin and then its argument prototype would still apply. */
42703 #ifdef __cplusplus
42704 extern "C"
42705 #endif
42706 char localtime_r ();
42707 /* The GNU C library defines this for functions which it implements
42708 to always fail with ENOSYS. Some functions are actually named
42709 something starting with __ and the normal name is an alias. */
42710 #if defined __stub_localtime_r || defined __stub___localtime_r
42711 choke me
42712 #endif
42713
42714 int
42715 main ()
42716 {
42717 return localtime_r ();
42718 ;
42719 return 0;
42720 }
42721 _ACEOF
42722 rm -f conftest.$ac_objext conftest$ac_exeext
42723 if { (ac_try="$ac_link"
42724 case "(($ac_try" in
42725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42726 *) ac_try_echo=$ac_try;;
42727 esac
42728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42729 (eval "$ac_link") 2>conftest.er1
42730 ac_status=$?
42731 grep -v '^ *+' conftest.er1 >conftest.err
42732 rm -f conftest.er1
42733 cat conftest.err >&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } && {
42736 test -z "$ac_c_werror_flag" ||
42737 test ! -s conftest.err
42738 } && test -s conftest$ac_exeext &&
42739 $as_test_x conftest$ac_exeext; then
42740 ac_cv_func_localtime_r=yes
42741 else
42742 echo "$as_me: failed program was:" >&5
42743 sed 's/^/| /' conftest.$ac_ext >&5
42744
42745 ac_cv_func_localtime_r=no
42746 fi
42747
42748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42749 conftest$ac_exeext conftest.$ac_ext
42750 fi
42751 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42752 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42753 if test $ac_cv_func_localtime_r = yes; then
42754 cat >>confdefs.h <<\_ACEOF
42755 #define HAVE_LOCALTIME_R 1
42756 _ACEOF
42757
42758 fi
42759
42760 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42761 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42762 if test "${ac_cv_func_gmtime_r+set}" = set; then
42763 echo $ECHO_N "(cached) $ECHO_C" >&6
42764 else
42765 cat >conftest.$ac_ext <<_ACEOF
42766 /* confdefs.h. */
42767 _ACEOF
42768 cat confdefs.h >>conftest.$ac_ext
42769 cat >>conftest.$ac_ext <<_ACEOF
42770 /* end confdefs.h. */
42771 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42773 #define gmtime_r innocuous_gmtime_r
42774
42775 /* System header to define __stub macros and hopefully few prototypes,
42776 which can conflict with char gmtime_r (); below.
42777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42778 <limits.h> exists even on freestanding compilers. */
42779
42780 #ifdef __STDC__
42781 # include <limits.h>
42782 #else
42783 # include <assert.h>
42784 #endif
42785
42786 #undef gmtime_r
42787
42788 /* Override any GCC internal prototype to avoid an error.
42789 Use char because int might match the return type of a GCC
42790 builtin and then its argument prototype would still apply. */
42791 #ifdef __cplusplus
42792 extern "C"
42793 #endif
42794 char gmtime_r ();
42795 /* The GNU C library defines this for functions which it implements
42796 to always fail with ENOSYS. Some functions are actually named
42797 something starting with __ and the normal name is an alias. */
42798 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42799 choke me
42800 #endif
42801
42802 int
42803 main ()
42804 {
42805 return gmtime_r ();
42806 ;
42807 return 0;
42808 }
42809 _ACEOF
42810 rm -f conftest.$ac_objext conftest$ac_exeext
42811 if { (ac_try="$ac_link"
42812 case "(($ac_try" in
42813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42814 *) ac_try_echo=$ac_try;;
42815 esac
42816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42817 (eval "$ac_link") 2>conftest.er1
42818 ac_status=$?
42819 grep -v '^ *+' conftest.er1 >conftest.err
42820 rm -f conftest.er1
42821 cat conftest.err >&5
42822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42823 (exit $ac_status); } && {
42824 test -z "$ac_c_werror_flag" ||
42825 test ! -s conftest.err
42826 } && test -s conftest$ac_exeext &&
42827 $as_test_x conftest$ac_exeext; then
42828 ac_cv_func_gmtime_r=yes
42829 else
42830 echo "$as_me: failed program was:" >&5
42831 sed 's/^/| /' conftest.$ac_ext >&5
42832
42833 ac_cv_func_gmtime_r=no
42834 fi
42835
42836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42837 conftest$ac_exeext conftest.$ac_ext
42838 fi
42839 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42840 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42841 if test $ac_cv_func_gmtime_r = yes; then
42842 cat >>confdefs.h <<\_ACEOF
42843 #define HAVE_GMTIME_R 1
42844 _ACEOF
42845
42846 fi
42847
42848
42849
42850
42851 ac_ext=c
42852 ac_cpp='$CPP $CPPFLAGS'
42853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42856
42857 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42858 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42859
42860 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42861 echo $ECHO_N "(cached) $ECHO_C" >&6
42862 else
42863
42864
42865 ################################################################
42866
42867 ac_cv_func_which_gethostbyname_r=unknown
42868
42869 #
42870 # ONE ARGUMENT (sanity check)
42871 #
42872
42873 # This should fail, as there is no variant of gethostbyname_r() that takes
42874 # a single argument. If it actually compiles, then we can assume that
42875 # netdb.h is not declaring the function, and the compiler is thereby
42876 # assuming an implicit prototype. In which case, we're out of luck.
42877 #
42878 cat >conftest.$ac_ext <<_ACEOF
42879 /* confdefs.h. */
42880 _ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42884 #include <netdb.h>
42885 int
42886 main ()
42887 {
42888
42889 char *name = "www.gnu.org";
42890 (void)gethostbyname_r(name) /* ; */
42891
42892 ;
42893 return 0;
42894 }
42895 _ACEOF
42896 rm -f conftest.$ac_objext
42897 if { (ac_try="$ac_compile"
42898 case "(($ac_try" in
42899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42900 *) ac_try_echo=$ac_try;;
42901 esac
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_compile") 2>conftest.er1
42904 ac_status=$?
42905 grep -v '^ *+' conftest.er1 >conftest.err
42906 rm -f conftest.er1
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest.$ac_objext; then
42913 ac_cv_func_which_gethostbyname_r=no
42914 else
42915 echo "$as_me: failed program was:" >&5
42916 sed 's/^/| /' conftest.$ac_ext >&5
42917
42918
42919 fi
42920
42921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42922
42923 #
42924 # SIX ARGUMENTS
42925 # (e.g. Linux)
42926 #
42927
42928 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42929
42930 cat >conftest.$ac_ext <<_ACEOF
42931 /* confdefs.h. */
42932 _ACEOF
42933 cat confdefs.h >>conftest.$ac_ext
42934 cat >>conftest.$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42936 #include <netdb.h>
42937 int
42938 main ()
42939 {
42940
42941 char *name = "www.gnu.org";
42942 struct hostent ret, *retp;
42943 char buf[1024];
42944 int buflen = 1024;
42945 int my_h_errno;
42946 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42947
42948 ;
42949 return 0;
42950 }
42951 _ACEOF
42952 rm -f conftest.$ac_objext
42953 if { (ac_try="$ac_compile"
42954 case "(($ac_try" in
42955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42956 *) ac_try_echo=$ac_try;;
42957 esac
42958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42959 (eval "$ac_compile") 2>conftest.er1
42960 ac_status=$?
42961 grep -v '^ *+' conftest.er1 >conftest.err
42962 rm -f conftest.er1
42963 cat conftest.err >&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); } && {
42966 test -z "$ac_c_werror_flag" ||
42967 test ! -s conftest.err
42968 } && test -s conftest.$ac_objext; then
42969 ac_cv_func_which_gethostbyname_r=six
42970 else
42971 echo "$as_me: failed program was:" >&5
42972 sed 's/^/| /' conftest.$ac_ext >&5
42973
42974
42975 fi
42976
42977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42978
42979 fi
42980
42981 #
42982 # FIVE ARGUMENTS
42983 # (e.g. Solaris)
42984 #
42985
42986 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42987
42988 cat >conftest.$ac_ext <<_ACEOF
42989 /* confdefs.h. */
42990 _ACEOF
42991 cat confdefs.h >>conftest.$ac_ext
42992 cat >>conftest.$ac_ext <<_ACEOF
42993 /* end confdefs.h. */
42994 #include <netdb.h>
42995 int
42996 main ()
42997 {
42998
42999 char *name = "www.gnu.org";
43000 struct hostent ret;
43001 char buf[1024];
43002 int buflen = 1024;
43003 int my_h_errno;
43004 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43005
43006 ;
43007 return 0;
43008 }
43009 _ACEOF
43010 rm -f conftest.$ac_objext
43011 if { (ac_try="$ac_compile"
43012 case "(($ac_try" in
43013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43014 *) ac_try_echo=$ac_try;;
43015 esac
43016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43017 (eval "$ac_compile") 2>conftest.er1
43018 ac_status=$?
43019 grep -v '^ *+' conftest.er1 >conftest.err
43020 rm -f conftest.er1
43021 cat conftest.err >&5
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); } && {
43024 test -z "$ac_c_werror_flag" ||
43025 test ! -s conftest.err
43026 } && test -s conftest.$ac_objext; then
43027 ac_cv_func_which_gethostbyname_r=five
43028 else
43029 echo "$as_me: failed program was:" >&5
43030 sed 's/^/| /' conftest.$ac_ext >&5
43031
43032
43033 fi
43034
43035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43036
43037 fi
43038
43039 #
43040 # THREE ARGUMENTS
43041 # (e.g. AIX, HP-UX, Tru64)
43042 #
43043
43044 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43045
43046 cat >conftest.$ac_ext <<_ACEOF
43047 /* confdefs.h. */
43048 _ACEOF
43049 cat confdefs.h >>conftest.$ac_ext
43050 cat >>conftest.$ac_ext <<_ACEOF
43051 /* end confdefs.h. */
43052 #include <netdb.h>
43053 int
43054 main ()
43055 {
43056
43057 char *name = "www.gnu.org";
43058 struct hostent ret;
43059 struct hostent_data data;
43060 (void)gethostbyname_r(name, &ret, &data) /* ; */
43061
43062 ;
43063 return 0;
43064 }
43065 _ACEOF
43066 rm -f conftest.$ac_objext
43067 if { (ac_try="$ac_compile"
43068 case "(($ac_try" in
43069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43070 *) ac_try_echo=$ac_try;;
43071 esac
43072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43073 (eval "$ac_compile") 2>conftest.er1
43074 ac_status=$?
43075 grep -v '^ *+' conftest.er1 >conftest.err
43076 rm -f conftest.er1
43077 cat conftest.err >&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); } && {
43080 test -z "$ac_c_werror_flag" ||
43081 test ! -s conftest.err
43082 } && test -s conftest.$ac_objext; then
43083 ac_cv_func_which_gethostbyname_r=three
43084 else
43085 echo "$as_me: failed program was:" >&5
43086 sed 's/^/| /' conftest.$ac_ext >&5
43087
43088
43089 fi
43090
43091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43092
43093 fi
43094
43095 ################################################################
43096
43097
43098 fi
43099
43100 case "$ac_cv_func_which_gethostbyname_r" in
43101 three)
43102 { echo "$as_me:$LINENO: result: three" >&5
43103 echo "${ECHO_T}three" >&6; }
43104 cat >>confdefs.h <<\_ACEOF
43105 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43106 _ACEOF
43107
43108 ;;
43109
43110 five)
43111 { echo "$as_me:$LINENO: result: five" >&5
43112 echo "${ECHO_T}five" >&6; }
43113 cat >>confdefs.h <<\_ACEOF
43114 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43115 _ACEOF
43116
43117 ;;
43118
43119 six)
43120 { echo "$as_me:$LINENO: result: six" >&5
43121 echo "${ECHO_T}six" >&6; }
43122 cat >>confdefs.h <<\_ACEOF
43123 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43124 _ACEOF
43125
43126 ;;
43127
43128 no)
43129 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43130 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43131 ;;
43132
43133 unknown)
43134 { echo "$as_me:$LINENO: result: can't tell" >&5
43135 echo "${ECHO_T}can't tell" >&6; }
43136 ;;
43137
43138 *)
43139 { { echo "$as_me:$LINENO: error: internal error" >&5
43140 echo "$as_me: error: internal error" >&2;}
43141 { (exit 1); exit 1; }; }
43142 ;;
43143 esac
43144
43145 ac_ext=c
43146 ac_cpp='$CPP $CPPFLAGS'
43147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43150
43151
43152
43153 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43154 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43155 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43156 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43157 if test "${ac_cv_func_gethostbyname+set}" = set; then
43158 echo $ECHO_N "(cached) $ECHO_C" >&6
43159 else
43160 cat >conftest.$ac_ext <<_ACEOF
43161 /* confdefs.h. */
43162 _ACEOF
43163 cat confdefs.h >>conftest.$ac_ext
43164 cat >>conftest.$ac_ext <<_ACEOF
43165 /* end confdefs.h. */
43166 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43168 #define gethostbyname innocuous_gethostbyname
43169
43170 /* System header to define __stub macros and hopefully few prototypes,
43171 which can conflict with char gethostbyname (); below.
43172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43173 <limits.h> exists even on freestanding compilers. */
43174
43175 #ifdef __STDC__
43176 # include <limits.h>
43177 #else
43178 # include <assert.h>
43179 #endif
43180
43181 #undef gethostbyname
43182
43183 /* Override any GCC internal prototype to avoid an error.
43184 Use char because int might match the return type of a GCC
43185 builtin and then its argument prototype would still apply. */
43186 #ifdef __cplusplus
43187 extern "C"
43188 #endif
43189 char gethostbyname ();
43190 /* The GNU C library defines this for functions which it implements
43191 to always fail with ENOSYS. Some functions are actually named
43192 something starting with __ and the normal name is an alias. */
43193 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43194 choke me
43195 #endif
43196
43197 int
43198 main ()
43199 {
43200 return gethostbyname ();
43201 ;
43202 return 0;
43203 }
43204 _ACEOF
43205 rm -f conftest.$ac_objext conftest$ac_exeext
43206 if { (ac_try="$ac_link"
43207 case "(($ac_try" in
43208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43209 *) ac_try_echo=$ac_try;;
43210 esac
43211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43212 (eval "$ac_link") 2>conftest.er1
43213 ac_status=$?
43214 grep -v '^ *+' conftest.er1 >conftest.err
43215 rm -f conftest.er1
43216 cat conftest.err >&5
43217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218 (exit $ac_status); } && {
43219 test -z "$ac_c_werror_flag" ||
43220 test ! -s conftest.err
43221 } && test -s conftest$ac_exeext &&
43222 $as_test_x conftest$ac_exeext; then
43223 ac_cv_func_gethostbyname=yes
43224 else
43225 echo "$as_me: failed program was:" >&5
43226 sed 's/^/| /' conftest.$ac_ext >&5
43227
43228 ac_cv_func_gethostbyname=no
43229 fi
43230
43231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43232 conftest$ac_exeext conftest.$ac_ext
43233 fi
43234 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43235 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43236 if test $ac_cv_func_gethostbyname = yes; then
43237 cat >>confdefs.h <<\_ACEOF
43238 #define HAVE_GETHOSTBYNAME 1
43239 _ACEOF
43240
43241 fi
43242
43243 fi
43244
43245 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43246 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43247 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43248 echo $ECHO_N "(cached) $ECHO_C" >&6
43249 else
43250
43251 ac_ext=cpp
43252 ac_cpp='$CXXCPP $CPPFLAGS'
43253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43256
43257
43258 cat >conftest.$ac_ext <<_ACEOF
43259 /* confdefs.h. */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43264 #include <netdb.h>
43265 int
43266 main ()
43267 {
43268
43269 char *name;
43270 char *proto;
43271 struct servent *se, *res;
43272 char buffer[2048];
43273 int buflen = 2048;
43274 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43275
43276 ;
43277 return 0;
43278 }
43279 _ACEOF
43280 rm -f conftest.$ac_objext
43281 if { (ac_try="$ac_compile"
43282 case "(($ac_try" in
43283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43284 *) ac_try_echo=$ac_try;;
43285 esac
43286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43287 (eval "$ac_compile") 2>conftest.er1
43288 ac_status=$?
43289 grep -v '^ *+' conftest.er1 >conftest.err
43290 rm -f conftest.er1
43291 cat conftest.err >&5
43292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43293 (exit $ac_status); } && {
43294 test -z "$ac_cxx_werror_flag" ||
43295 test ! -s conftest.err
43296 } && test -s conftest.$ac_objext; then
43297 ac_cv_func_which_getservbyname_r=six
43298 else
43299 echo "$as_me: failed program was:" >&5
43300 sed 's/^/| /' conftest.$ac_ext >&5
43301
43302
43303 cat >conftest.$ac_ext <<_ACEOF
43304 /* confdefs.h. */
43305 _ACEOF
43306 cat confdefs.h >>conftest.$ac_ext
43307 cat >>conftest.$ac_ext <<_ACEOF
43308 /* end confdefs.h. */
43309 #include <netdb.h>
43310 int
43311 main ()
43312 {
43313
43314 char *name;
43315 char *proto;
43316 struct servent *se;
43317 char buffer[2048];
43318 int buflen = 2048;
43319 (void) getservbyname_r(name, proto, se, buffer, buflen)
43320
43321 ;
43322 return 0;
43323 }
43324 _ACEOF
43325 rm -f conftest.$ac_objext
43326 if { (ac_try="$ac_compile"
43327 case "(($ac_try" in
43328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43329 *) ac_try_echo=$ac_try;;
43330 esac
43331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43332 (eval "$ac_compile") 2>conftest.er1
43333 ac_status=$?
43334 grep -v '^ *+' conftest.er1 >conftest.err
43335 rm -f conftest.er1
43336 cat conftest.err >&5
43337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43338 (exit $ac_status); } && {
43339 test -z "$ac_cxx_werror_flag" ||
43340 test ! -s conftest.err
43341 } && test -s conftest.$ac_objext; then
43342 ac_cv_func_which_getservbyname_r=five
43343 else
43344 echo "$as_me: failed program was:" >&5
43345 sed 's/^/| /' conftest.$ac_ext >&5
43346
43347
43348 cat >conftest.$ac_ext <<_ACEOF
43349 /* confdefs.h. */
43350 _ACEOF
43351 cat confdefs.h >>conftest.$ac_ext
43352 cat >>conftest.$ac_ext <<_ACEOF
43353 /* end confdefs.h. */
43354 #include <netdb.h>
43355 int
43356 main ()
43357 {
43358
43359 char *name;
43360 char *proto;
43361 struct servent *se;
43362 struct servent_data data;
43363 (void) getservbyname_r(name, proto, se, &data);
43364
43365 ;
43366 return 0;
43367 }
43368 _ACEOF
43369 rm -f conftest.$ac_objext
43370 if { (ac_try="$ac_compile"
43371 case "(($ac_try" in
43372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43373 *) ac_try_echo=$ac_try;;
43374 esac
43375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43376 (eval "$ac_compile") 2>conftest.er1
43377 ac_status=$?
43378 grep -v '^ *+' conftest.er1 >conftest.err
43379 rm -f conftest.er1
43380 cat conftest.err >&5
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); } && {
43383 test -z "$ac_cxx_werror_flag" ||
43384 test ! -s conftest.err
43385 } && test -s conftest.$ac_objext; then
43386 ac_cv_func_which_getservbyname_r=four
43387 else
43388 echo "$as_me: failed program was:" >&5
43389 sed 's/^/| /' conftest.$ac_ext >&5
43390
43391 ac_cv_func_which_getservbyname_r=no
43392
43393 fi
43394
43395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43396
43397
43398 fi
43399
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43401
43402
43403 fi
43404
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406 ac_ext=c
43407 ac_cpp='$CPP $CPPFLAGS'
43408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43411
43412
43413
43414 fi
43415 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43416 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43417
43418 if test $ac_cv_func_which_getservbyname_r = six; then
43419 cat >>confdefs.h <<\_ACEOF
43420 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43421 _ACEOF
43422
43423 elif test $ac_cv_func_which_getservbyname_r = five; then
43424 cat >>confdefs.h <<\_ACEOF
43425 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43426 _ACEOF
43427
43428 elif test $ac_cv_func_which_getservbyname_r = four; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43431 _ACEOF
43432
43433 fi
43434
43435
43436 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43437 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43438
43439 for ac_func in getservbyname
43440 do
43441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43446 else
43447 cat >conftest.$ac_ext <<_ACEOF
43448 /* confdefs.h. */
43449 _ACEOF
43450 cat confdefs.h >>conftest.$ac_ext
43451 cat >>conftest.$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43455 #define $ac_func innocuous_$ac_func
43456
43457 /* System header to define __stub macros and hopefully few prototypes,
43458 which can conflict with char $ac_func (); below.
43459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43460 <limits.h> exists even on freestanding compilers. */
43461
43462 #ifdef __STDC__
43463 # include <limits.h>
43464 #else
43465 # include <assert.h>
43466 #endif
43467
43468 #undef $ac_func
43469
43470 /* Override any GCC internal prototype to avoid an error.
43471 Use char because int might match the return type of a GCC
43472 builtin and then its argument prototype would still apply. */
43473 #ifdef __cplusplus
43474 extern "C"
43475 #endif
43476 char $ac_func ();
43477 /* The GNU C library defines this for functions which it implements
43478 to always fail with ENOSYS. Some functions are actually named
43479 something starting with __ and the normal name is an alias. */
43480 #if defined __stub_$ac_func || defined __stub___$ac_func
43481 choke me
43482 #endif
43483
43484 int
43485 main ()
43486 {
43487 return $ac_func ();
43488 ;
43489 return 0;
43490 }
43491 _ACEOF
43492 rm -f conftest.$ac_objext conftest$ac_exeext
43493 if { (ac_try="$ac_link"
43494 case "(($ac_try" in
43495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43496 *) ac_try_echo=$ac_try;;
43497 esac
43498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43499 (eval "$ac_link") 2>conftest.er1
43500 ac_status=$?
43501 grep -v '^ *+' conftest.er1 >conftest.err
43502 rm -f conftest.er1
43503 cat conftest.err >&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } && {
43506 test -z "$ac_c_werror_flag" ||
43507 test ! -s conftest.err
43508 } && test -s conftest$ac_exeext &&
43509 $as_test_x conftest$ac_exeext; then
43510 eval "$as_ac_var=yes"
43511 else
43512 echo "$as_me: failed program was:" >&5
43513 sed 's/^/| /' conftest.$ac_ext >&5
43514
43515 eval "$as_ac_var=no"
43516 fi
43517
43518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43519 conftest$ac_exeext conftest.$ac_ext
43520 fi
43521 ac_res=`eval echo '${'$as_ac_var'}'`
43522 { echo "$as_me:$LINENO: result: $ac_res" >&5
43523 echo "${ECHO_T}$ac_res" >&6; }
43524 if test `eval echo '${'$as_ac_var'}'` = yes; then
43525 cat >>confdefs.h <<_ACEOF
43526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43527 _ACEOF
43528 cat >>confdefs.h <<\_ACEOF
43529 #define HAVE_GETSERVBYNAME 1
43530 _ACEOF
43531
43532 fi
43533 done
43534
43535 fi
43536
43537 if test "$wxUSE_THREADS" = "yes"; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_THREADS 1
43540 _ACEOF
43541
43542
43543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43544 else
43545 if test "$wx_cv_func_strtok_r" = "yes"; then
43546 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43547 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43548 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43549 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43550 { echo "$as_me:$LINENO: result: yes" >&5
43551 echo "${ECHO_T}yes" >&6; }
43552 else
43553 { echo "$as_me:$LINENO: result: no" >&5
43554 echo "${ECHO_T}no" >&6; }
43555 fi
43556 fi
43557 fi
43558
43559 if test "$WXGTK20" = 1 ; then
43560 cat >>confdefs.h <<_ACEOF
43561 #define __WXGTK20__ $WXGTK20
43562 _ACEOF
43563
43564 WXGTK12=1
43565 fi
43566
43567 if test "$WXGTK12" = 1 ; then
43568 cat >>confdefs.h <<_ACEOF
43569 #define __WXGTK12__ $WXGTK12
43570 _ACEOF
43571
43572 fi
43573
43574 if test "$WXGTK127" = 1 ; then
43575 cat >>confdefs.h <<_ACEOF
43576 #define __WXGTK127__ $WXGTK127
43577 _ACEOF
43578
43579 fi
43580
43581 if test "$WXGPE" = 1 ; then
43582 cat >>confdefs.h <<_ACEOF
43583 #define __WXGPE__ $WXGPE
43584 _ACEOF
43585
43586 fi
43587
43588 DEBUG_CFLAGS=
43589 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43590 DEBUG_CFLAGS="-g"
43591 wxUSE_OPTIMISE=no
43592 fi
43593
43594 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43595 wxUSE_DEBUG_INFO=yes
43596 if test "$GCC" = yes; then
43597 DEBUG_CFLAGS="-ggdb"
43598 fi
43599 fi
43600
43601 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define WXDEBUG 1
43604 _ACEOF
43605
43606 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43607 else
43608 if test "$wxUSE_GTK" = 1 ; then
43609 if test "x$wxGTK_VERSION" = "x1" ; then
43610 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43611 fi
43612 fi
43613 fi
43614
43615 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43616 cat >>confdefs.h <<\_ACEOF
43617 #define wxUSE_MEMORY_TRACING 1
43618 _ACEOF
43619
43620 cat >>confdefs.h <<\_ACEOF
43621 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43622 _ACEOF
43623
43624 cat >>confdefs.h <<\_ACEOF
43625 #define wxUSE_DEBUG_NEW_ALWAYS 1
43626 _ACEOF
43627
43628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43629 fi
43630
43631 if test "$wxUSE_DMALLOC" = "yes" ; then
43632 DMALLOC_LIBS="-ldmallocthcxx"
43633 fi
43634
43635 PROFILE_FLAGS=
43636 if test "$wxUSE_PROFILE" = "yes" ; then
43637 PROFILE_FLAGS=" -pg"
43638 fi
43639
43640 if test "$GCC" = "yes" ; then
43641 if test "$wxUSE_NO_RTTI" = "yes" ; then
43642 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43643 fi
43644 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43645 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43646 fi
43647 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43648 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43649 fi
43650
43651 case "${host}" in
43652 powerpc*-*-aix* )
43653 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43654 ;;
43655 *-hppa* )
43656 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43657 ;;
43658 esac
43659 fi
43660
43661 OPTIMISE_CFLAGS=
43662 if test "$wxUSE_OPTIMISE" = "no" ; then
43663 if test "$GCC" = yes ; then
43664 OPTIMISE_CFLAGS="-O0"
43665 fi
43666 else
43667 if test "$GCC" = yes ; then
43668 case "${host}" in
43669 *-pc-os2_emx | *-pc-os2-emx )
43670 OPTIMISE_CFLAGS="-O2"
43671 ;;
43672 *)
43673 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43674 ;;
43675 esac
43676 else
43677 OPTIMISE_CFLAGS="-O"
43678 fi
43679 fi
43680
43681
43682 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43683 cat >>confdefs.h <<\_ACEOF
43684 #define WXWIN_COMPATIBILITY_2_6 1
43685 _ACEOF
43686
43687
43688 WXWIN_COMPATIBILITY_2_8="yes"
43689 fi
43690
43691 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define WXWIN_COMPATIBILITY_2_8 1
43694 _ACEOF
43695
43696 fi
43697
43698
43699 if test "$wxUSE_GUI" = "yes"; then
43700 cat >>confdefs.h <<\_ACEOF
43701 #define wxUSE_GUI 1
43702 _ACEOF
43703
43704
43705 fi
43706
43707
43708 if test "$wxUSE_UNIX" = "yes"; then
43709 cat >>confdefs.h <<\_ACEOF
43710 #define wxUSE_UNIX 1
43711 _ACEOF
43712
43713 fi
43714
43715
43716 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43717
43718 HAVE_DL_FUNCS=0
43719 HAVE_SHL_FUNCS=0
43720 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43721 if test "$USE_DARWIN" = 1; then
43722 HAVE_DL_FUNCS=1
43723 elif test "$USE_DOS" = 1; then
43724 HAVE_DL_FUNCS=0
43725 else
43726
43727 for ac_func in dlopen
43728 do
43729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43730 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43732 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43733 echo $ECHO_N "(cached) $ECHO_C" >&6
43734 else
43735 cat >conftest.$ac_ext <<_ACEOF
43736 /* confdefs.h. */
43737 _ACEOF
43738 cat confdefs.h >>conftest.$ac_ext
43739 cat >>conftest.$ac_ext <<_ACEOF
43740 /* end confdefs.h. */
43741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43743 #define $ac_func innocuous_$ac_func
43744
43745 /* System header to define __stub macros and hopefully few prototypes,
43746 which can conflict with char $ac_func (); below.
43747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43748 <limits.h> exists even on freestanding compilers. */
43749
43750 #ifdef __STDC__
43751 # include <limits.h>
43752 #else
43753 # include <assert.h>
43754 #endif
43755
43756 #undef $ac_func
43757
43758 /* Override any GCC internal prototype to avoid an error.
43759 Use char because int might match the return type of a GCC
43760 builtin and then its argument prototype would still apply. */
43761 #ifdef __cplusplus
43762 extern "C"
43763 #endif
43764 char $ac_func ();
43765 /* The GNU C library defines this for functions which it implements
43766 to always fail with ENOSYS. Some functions are actually named
43767 something starting with __ and the normal name is an alias. */
43768 #if defined __stub_$ac_func || defined __stub___$ac_func
43769 choke me
43770 #endif
43771
43772 int
43773 main ()
43774 {
43775 return $ac_func ();
43776 ;
43777 return 0;
43778 }
43779 _ACEOF
43780 rm -f conftest.$ac_objext conftest$ac_exeext
43781 if { (ac_try="$ac_link"
43782 case "(($ac_try" in
43783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43784 *) ac_try_echo=$ac_try;;
43785 esac
43786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43787 (eval "$ac_link") 2>conftest.er1
43788 ac_status=$?
43789 grep -v '^ *+' conftest.er1 >conftest.err
43790 rm -f conftest.er1
43791 cat conftest.err >&5
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); } && {
43794 test -z "$ac_c_werror_flag" ||
43795 test ! -s conftest.err
43796 } && test -s conftest$ac_exeext &&
43797 $as_test_x conftest$ac_exeext; then
43798 eval "$as_ac_var=yes"
43799 else
43800 echo "$as_me: failed program was:" >&5
43801 sed 's/^/| /' conftest.$ac_ext >&5
43802
43803 eval "$as_ac_var=no"
43804 fi
43805
43806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43807 conftest$ac_exeext conftest.$ac_ext
43808 fi
43809 ac_res=`eval echo '${'$as_ac_var'}'`
43810 { echo "$as_me:$LINENO: result: $ac_res" >&5
43811 echo "${ECHO_T}$ac_res" >&6; }
43812 if test `eval echo '${'$as_ac_var'}'` = yes; then
43813 cat >>confdefs.h <<_ACEOF
43814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43815 _ACEOF
43816
43817 cat >>confdefs.h <<\_ACEOF
43818 #define HAVE_DLOPEN 1
43819 _ACEOF
43820
43821 HAVE_DL_FUNCS=1
43822
43823 else
43824
43825 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43826 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43827 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43828 echo $ECHO_N "(cached) $ECHO_C" >&6
43829 else
43830 ac_check_lib_save_LIBS=$LIBS
43831 LIBS="-ldl $LIBS"
43832 cat >conftest.$ac_ext <<_ACEOF
43833 /* confdefs.h. */
43834 _ACEOF
43835 cat confdefs.h >>conftest.$ac_ext
43836 cat >>conftest.$ac_ext <<_ACEOF
43837 /* end confdefs.h. */
43838
43839 /* Override any GCC internal prototype to avoid an error.
43840 Use char because int might match the return type of a GCC
43841 builtin and then its argument prototype would still apply. */
43842 #ifdef __cplusplus
43843 extern "C"
43844 #endif
43845 char dlopen ();
43846 int
43847 main ()
43848 {
43849 return dlopen ();
43850 ;
43851 return 0;
43852 }
43853 _ACEOF
43854 rm -f conftest.$ac_objext conftest$ac_exeext
43855 if { (ac_try="$ac_link"
43856 case "(($ac_try" in
43857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43858 *) ac_try_echo=$ac_try;;
43859 esac
43860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43861 (eval "$ac_link") 2>conftest.er1
43862 ac_status=$?
43863 grep -v '^ *+' conftest.er1 >conftest.err
43864 rm -f conftest.er1
43865 cat conftest.err >&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } && {
43868 test -z "$ac_c_werror_flag" ||
43869 test ! -s conftest.err
43870 } && test -s conftest$ac_exeext &&
43871 $as_test_x conftest$ac_exeext; then
43872 ac_cv_lib_dl_dlopen=yes
43873 else
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43876
43877 ac_cv_lib_dl_dlopen=no
43878 fi
43879
43880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43881 conftest$ac_exeext conftest.$ac_ext
43882 LIBS=$ac_check_lib_save_LIBS
43883 fi
43884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43885 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43886 if test $ac_cv_lib_dl_dlopen = yes; then
43887
43888 cat >>confdefs.h <<\_ACEOF
43889 #define HAVE_DLOPEN 1
43890 _ACEOF
43891
43892 HAVE_DL_FUNCS=1
43893 DL_LINK=" -ldl$DL_LINK"
43894
43895 else
43896
43897
43898 for ac_func in shl_load
43899 do
43900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43904 echo $ECHO_N "(cached) $ECHO_C" >&6
43905 else
43906 cat >conftest.$ac_ext <<_ACEOF
43907 /* confdefs.h. */
43908 _ACEOF
43909 cat confdefs.h >>conftest.$ac_ext
43910 cat >>conftest.$ac_ext <<_ACEOF
43911 /* end confdefs.h. */
43912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43914 #define $ac_func innocuous_$ac_func
43915
43916 /* System header to define __stub macros and hopefully few prototypes,
43917 which can conflict with char $ac_func (); below.
43918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43919 <limits.h> exists even on freestanding compilers. */
43920
43921 #ifdef __STDC__
43922 # include <limits.h>
43923 #else
43924 # include <assert.h>
43925 #endif
43926
43927 #undef $ac_func
43928
43929 /* Override any GCC internal prototype to avoid an error.
43930 Use char because int might match the return type of a GCC
43931 builtin and then its argument prototype would still apply. */
43932 #ifdef __cplusplus
43933 extern "C"
43934 #endif
43935 char $ac_func ();
43936 /* The GNU C library defines this for functions which it implements
43937 to always fail with ENOSYS. Some functions are actually named
43938 something starting with __ and the normal name is an alias. */
43939 #if defined __stub_$ac_func || defined __stub___$ac_func
43940 choke me
43941 #endif
43942
43943 int
43944 main ()
43945 {
43946 return $ac_func ();
43947 ;
43948 return 0;
43949 }
43950 _ACEOF
43951 rm -f conftest.$ac_objext conftest$ac_exeext
43952 if { (ac_try="$ac_link"
43953 case "(($ac_try" in
43954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43955 *) ac_try_echo=$ac_try;;
43956 esac
43957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43958 (eval "$ac_link") 2>conftest.er1
43959 ac_status=$?
43960 grep -v '^ *+' conftest.er1 >conftest.err
43961 rm -f conftest.er1
43962 cat conftest.err >&5
43963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43964 (exit $ac_status); } && {
43965 test -z "$ac_c_werror_flag" ||
43966 test ! -s conftest.err
43967 } && test -s conftest$ac_exeext &&
43968 $as_test_x conftest$ac_exeext; then
43969 eval "$as_ac_var=yes"
43970 else
43971 echo "$as_me: failed program was:" >&5
43972 sed 's/^/| /' conftest.$ac_ext >&5
43973
43974 eval "$as_ac_var=no"
43975 fi
43976
43977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43978 conftest$ac_exeext conftest.$ac_ext
43979 fi
43980 ac_res=`eval echo '${'$as_ac_var'}'`
43981 { echo "$as_me:$LINENO: result: $ac_res" >&5
43982 echo "${ECHO_T}$ac_res" >&6; }
43983 if test `eval echo '${'$as_ac_var'}'` = yes; then
43984 cat >>confdefs.h <<_ACEOF
43985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43986 _ACEOF
43987
43988 cat >>confdefs.h <<\_ACEOF
43989 #define HAVE_SHL_LOAD 1
43990 _ACEOF
43991
43992 HAVE_SHL_FUNCS=1
43993
43994 else
43995
43996 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43997 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43998 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43999 echo $ECHO_N "(cached) $ECHO_C" >&6
44000 else
44001 ac_check_lib_save_LIBS=$LIBS
44002 LIBS="-lshl_load $LIBS"
44003 cat >conftest.$ac_ext <<_ACEOF
44004 /* confdefs.h. */
44005 _ACEOF
44006 cat confdefs.h >>conftest.$ac_ext
44007 cat >>conftest.$ac_ext <<_ACEOF
44008 /* end confdefs.h. */
44009
44010 /* Override any GCC internal prototype to avoid an error.
44011 Use char because int might match the return type of a GCC
44012 builtin and then its argument prototype would still apply. */
44013 #ifdef __cplusplus
44014 extern "C"
44015 #endif
44016 char dld ();
44017 int
44018 main ()
44019 {
44020 return dld ();
44021 ;
44022 return 0;
44023 }
44024 _ACEOF
44025 rm -f conftest.$ac_objext conftest$ac_exeext
44026 if { (ac_try="$ac_link"
44027 case "(($ac_try" in
44028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44029 *) ac_try_echo=$ac_try;;
44030 esac
44031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44032 (eval "$ac_link") 2>conftest.er1
44033 ac_status=$?
44034 grep -v '^ *+' conftest.er1 >conftest.err
44035 rm -f conftest.er1
44036 cat conftest.err >&5
44037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038 (exit $ac_status); } && {
44039 test -z "$ac_c_werror_flag" ||
44040 test ! -s conftest.err
44041 } && test -s conftest$ac_exeext &&
44042 $as_test_x conftest$ac_exeext; then
44043 ac_cv_lib_shl_load_dld=yes
44044 else
44045 echo "$as_me: failed program was:" >&5
44046 sed 's/^/| /' conftest.$ac_ext >&5
44047
44048 ac_cv_lib_shl_load_dld=no
44049 fi
44050
44051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44052 conftest$ac_exeext conftest.$ac_ext
44053 LIBS=$ac_check_lib_save_LIBS
44054 fi
44055 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44056 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44057 if test $ac_cv_lib_shl_load_dld = yes; then
44058
44059 HAVE_SHL_FUNCS=1
44060 DL_LINK=" -ldld$DL_LINK"
44061
44062 fi
44063
44064
44065 fi
44066 done
44067
44068
44069 fi
44070
44071
44072 fi
44073 done
44074
44075
44076 if test "$HAVE_DL_FUNCS" = 1; then
44077
44078 for ac_func in dlerror
44079 do
44080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44084 echo $ECHO_N "(cached) $ECHO_C" >&6
44085 else
44086 cat >conftest.$ac_ext <<_ACEOF
44087 /* confdefs.h. */
44088 _ACEOF
44089 cat confdefs.h >>conftest.$ac_ext
44090 cat >>conftest.$ac_ext <<_ACEOF
44091 /* end confdefs.h. */
44092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44094 #define $ac_func innocuous_$ac_func
44095
44096 /* System header to define __stub macros and hopefully few prototypes,
44097 which can conflict with char $ac_func (); below.
44098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44099 <limits.h> exists even on freestanding compilers. */
44100
44101 #ifdef __STDC__
44102 # include <limits.h>
44103 #else
44104 # include <assert.h>
44105 #endif
44106
44107 #undef $ac_func
44108
44109 /* Override any GCC internal prototype to avoid an error.
44110 Use char because int might match the return type of a GCC
44111 builtin and then its argument prototype would still apply. */
44112 #ifdef __cplusplus
44113 extern "C"
44114 #endif
44115 char $ac_func ();
44116 /* The GNU C library defines this for functions which it implements
44117 to always fail with ENOSYS. Some functions are actually named
44118 something starting with __ and the normal name is an alias. */
44119 #if defined __stub_$ac_func || defined __stub___$ac_func
44120 choke me
44121 #endif
44122
44123 int
44124 main ()
44125 {
44126 return $ac_func ();
44127 ;
44128 return 0;
44129 }
44130 _ACEOF
44131 rm -f conftest.$ac_objext conftest$ac_exeext
44132 if { (ac_try="$ac_link"
44133 case "(($ac_try" in
44134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44135 *) ac_try_echo=$ac_try;;
44136 esac
44137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44138 (eval "$ac_link") 2>conftest.er1
44139 ac_status=$?
44140 grep -v '^ *+' conftest.er1 >conftest.err
44141 rm -f conftest.er1
44142 cat conftest.err >&5
44143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44144 (exit $ac_status); } && {
44145 test -z "$ac_c_werror_flag" ||
44146 test ! -s conftest.err
44147 } && test -s conftest$ac_exeext &&
44148 $as_test_x conftest$ac_exeext; then
44149 eval "$as_ac_var=yes"
44150 else
44151 echo "$as_me: failed program was:" >&5
44152 sed 's/^/| /' conftest.$ac_ext >&5
44153
44154 eval "$as_ac_var=no"
44155 fi
44156
44157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44158 conftest$ac_exeext conftest.$ac_ext
44159 fi
44160 ac_res=`eval echo '${'$as_ac_var'}'`
44161 { echo "$as_me:$LINENO: result: $ac_res" >&5
44162 echo "${ECHO_T}$ac_res" >&6; }
44163 if test `eval echo '${'$as_ac_var'}'` = yes; then
44164 cat >>confdefs.h <<_ACEOF
44165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44166 _ACEOF
44167 cat >>confdefs.h <<\_ACEOF
44168 #define HAVE_DLERROR 1
44169 _ACEOF
44170
44171 else
44172
44173 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44174 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44175 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44176 echo $ECHO_N "(cached) $ECHO_C" >&6
44177 else
44178 ac_check_lib_save_LIBS=$LIBS
44179 LIBS="-ldl $LIBS"
44180 cat >conftest.$ac_ext <<_ACEOF
44181 /* confdefs.h. */
44182 _ACEOF
44183 cat confdefs.h >>conftest.$ac_ext
44184 cat >>conftest.$ac_ext <<_ACEOF
44185 /* end confdefs.h. */
44186
44187 /* Override any GCC internal prototype to avoid an error.
44188 Use char because int might match the return type of a GCC
44189 builtin and then its argument prototype would still apply. */
44190 #ifdef __cplusplus
44191 extern "C"
44192 #endif
44193 char dlerror ();
44194 int
44195 main ()
44196 {
44197 return dlerror ();
44198 ;
44199 return 0;
44200 }
44201 _ACEOF
44202 rm -f conftest.$ac_objext conftest$ac_exeext
44203 if { (ac_try="$ac_link"
44204 case "(($ac_try" in
44205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44206 *) ac_try_echo=$ac_try;;
44207 esac
44208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44209 (eval "$ac_link") 2>conftest.er1
44210 ac_status=$?
44211 grep -v '^ *+' conftest.er1 >conftest.err
44212 rm -f conftest.er1
44213 cat conftest.err >&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } && {
44216 test -z "$ac_c_werror_flag" ||
44217 test ! -s conftest.err
44218 } && test -s conftest$ac_exeext &&
44219 $as_test_x conftest$ac_exeext; then
44220 ac_cv_lib_dl_dlerror=yes
44221 else
44222 echo "$as_me: failed program was:" >&5
44223 sed 's/^/| /' conftest.$ac_ext >&5
44224
44225 ac_cv_lib_dl_dlerror=no
44226 fi
44227
44228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44229 conftest$ac_exeext conftest.$ac_ext
44230 LIBS=$ac_check_lib_save_LIBS
44231 fi
44232 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44233 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44234 if test $ac_cv_lib_dl_dlerror = yes; then
44235 cat >>confdefs.h <<\_ACEOF
44236 #define HAVE_DLERROR 1
44237 _ACEOF
44238
44239 fi
44240
44241
44242
44243 fi
44244 done
44245
44246 fi
44247 fi
44248
44249 if test "$HAVE_DL_FUNCS" = 0; then
44250 if test "$HAVE_SHL_FUNCS" = 0; then
44251 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44252 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44253 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44254 wxUSE_DYNAMIC_LOADER=no
44255 wxUSE_DYNLIB_CLASS=no
44256 else
44257 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44258 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44259 fi
44260 fi
44261 fi
44262 fi
44263 fi
44264
44265 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44266 cat >>confdefs.h <<\_ACEOF
44267 #define wxUSE_DYNAMIC_LOADER 1
44268 _ACEOF
44269
44270 fi
44271 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_DYNLIB_CLASS 1
44274 _ACEOF
44275
44276 fi
44277
44278
44279
44280 if test "$wxUSE_PLUGINS" = "yes" ; then
44281 if test "$wxUSE_SHARED" = "no" ; then
44282 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44283 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44284 wxUSE_PLUGINS=no
44285 fi
44286 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44287 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44288 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44289 wxUSE_PLUGINS=no
44290 fi
44291 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44292 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44293 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44294 wxUSE_PLUGINS=no
44295 fi
44296 if test "$wxUSE_PLUGINS" = "yes" ; then
44297 cat >>confdefs.h <<\_ACEOF
44298 #define wxUSE_PLUGINS 1
44299 _ACEOF
44300
44301 fi
44302 fi
44303
44304
44305 if test "$wxUSE_STL" = "yes"; then
44306 cat >>confdefs.h <<\_ACEOF
44307 #define wxUSE_STL 1
44308 _ACEOF
44309
44310 fi
44311
44312 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_EXTENDED_RTTI 1
44315 _ACEOF
44316
44317 fi
44318
44319 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44320 cat >>confdefs.h <<\_ACEOF
44321 #define wxUSE_APPLE_IEEE 1
44322 _ACEOF
44323
44324 fi
44325
44326 if test "$wxUSE_TIMER" = "yes"; then
44327 cat >>confdefs.h <<\_ACEOF
44328 #define wxUSE_TIMER 1
44329 _ACEOF
44330
44331 fi
44332
44333 if test "$USE_UNIX" = "1" ; then
44334 if test "$wxUSE_MGL" != 1; then
44335 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44336 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44337 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44338 echo $ECHO_N "(cached) $ECHO_C" >&6
44339 else
44340
44341 cat >conftest.$ac_ext <<_ACEOF
44342 /* confdefs.h. */
44343 _ACEOF
44344 cat confdefs.h >>conftest.$ac_ext
44345 cat >>conftest.$ac_ext <<_ACEOF
44346 /* end confdefs.h. */
44347
44348 #include <sys/ioctl.h>
44349 #include <sys/soundcard.h>
44350
44351 int
44352 main ()
44353 {
44354
44355 ioctl(0, SNDCTL_DSP_SPEED, 0);
44356
44357 ;
44358 return 0;
44359 }
44360 _ACEOF
44361 rm -f conftest.$ac_objext conftest$ac_exeext
44362 if { (ac_try="$ac_link"
44363 case "(($ac_try" in
44364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44365 *) ac_try_echo=$ac_try;;
44366 esac
44367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44368 (eval "$ac_link") 2>conftest.er1
44369 ac_status=$?
44370 grep -v '^ *+' conftest.er1 >conftest.err
44371 rm -f conftest.er1
44372 cat conftest.err >&5
44373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44374 (exit $ac_status); } && {
44375 test -z "$ac_c_werror_flag" ||
44376 test ! -s conftest.err
44377 } && test -s conftest$ac_exeext &&
44378 $as_test_x conftest$ac_exeext; then
44379 ac_cv_header_sys_soundcard=yes
44380 else
44381 echo "$as_me: failed program was:" >&5
44382 sed 's/^/| /' conftest.$ac_ext >&5
44383
44384
44385 saveLibs="$LIBS"
44386 LIBS="$saveLibs -lossaudio"
44387 cat >conftest.$ac_ext <<_ACEOF
44388 /* confdefs.h. */
44389 _ACEOF
44390 cat confdefs.h >>conftest.$ac_ext
44391 cat >>conftest.$ac_ext <<_ACEOF
44392 /* end confdefs.h. */
44393
44394 #include <sys/ioctl.h>
44395 #include <sys/soundcard.h>
44396
44397 int
44398 main ()
44399 {
44400
44401 ioctl(0, SNDCTL_DSP_SPEED, 0);
44402
44403 ;
44404 return 0;
44405 }
44406 _ACEOF
44407 rm -f conftest.$ac_objext conftest$ac_exeext
44408 if { (ac_try="$ac_link"
44409 case "(($ac_try" in
44410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44411 *) ac_try_echo=$ac_try;;
44412 esac
44413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44414 (eval "$ac_link") 2>conftest.er1
44415 ac_status=$?
44416 grep -v '^ *+' conftest.er1 >conftest.err
44417 rm -f conftest.er1
44418 cat conftest.err >&5
44419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); } && {
44421 test -z "$ac_c_werror_flag" ||
44422 test ! -s conftest.err
44423 } && test -s conftest$ac_exeext &&
44424 $as_test_x conftest$ac_exeext; then
44425 ac_cv_header_sys_soundcard=yes
44426 else
44427 echo "$as_me: failed program was:" >&5
44428 sed 's/^/| /' conftest.$ac_ext >&5
44429
44430
44431 LIBS="$saveLibs"
44432 ac_cv_header_sys_soundcard=no
44433
44434
44435 fi
44436
44437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44438 conftest$ac_exeext conftest.$ac_ext
44439
44440
44441 fi
44442
44443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44444 conftest$ac_exeext conftest.$ac_ext
44445
44446 fi
44447 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44448 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44449 fi
44450
44451 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44452 cat >>confdefs.h <<\_ACEOF
44453 #define HAVE_SYS_SOUNDCARD_H 1
44454 _ACEOF
44455
44456 fi
44457 fi
44458
44459 WITH_PLUGIN_SDL=0
44460 if test "$wxUSE_SOUND" = "yes"; then
44461 if test "$USE_UNIX" = "1" ; then
44462 if test "$wxUSE_LIBSDL" != "no"; then
44463
44464 # Check whether --with-sdl-prefix was given.
44465 if test "${with_sdl_prefix+set}" = set; then
44466 withval=$with_sdl_prefix; sdl_prefix="$withval"
44467 else
44468 sdl_prefix=""
44469 fi
44470
44471
44472 # Check whether --with-sdl-exec-prefix was given.
44473 if test "${with_sdl_exec_prefix+set}" = set; then
44474 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44475 else
44476 sdl_exec_prefix=""
44477 fi
44478
44479 # Check whether --enable-sdltest was given.
44480 if test "${enable_sdltest+set}" = set; then
44481 enableval=$enable_sdltest;
44482 else
44483 enable_sdltest=yes
44484 fi
44485
44486
44487 if test x$sdl_exec_prefix != x ; then
44488 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44489 if test x${SDL_CONFIG+set} != xset ; then
44490 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44491 fi
44492 fi
44493 if test x$sdl_prefix != x ; then
44494 sdl_args="$sdl_args --prefix=$sdl_prefix"
44495 if test x${SDL_CONFIG+set} != xset ; then
44496 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44497 fi
44498 fi
44499
44500 if test "x$prefix" != xNONE; then
44501 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44502 fi
44503 # Extract the first word of "sdl-config", so it can be a program name with args.
44504 set dummy sdl-config; ac_word=$2
44505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44507 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44508 echo $ECHO_N "(cached) $ECHO_C" >&6
44509 else
44510 case $SDL_CONFIG in
44511 [\\/]* | ?:[\\/]*)
44512 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44513 ;;
44514 *)
44515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44516 for as_dir in $PATH
44517 do
44518 IFS=$as_save_IFS
44519 test -z "$as_dir" && as_dir=.
44520 for ac_exec_ext in '' $ac_executable_extensions; do
44521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44522 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44524 break 2
44525 fi
44526 done
44527 done
44528 IFS=$as_save_IFS
44529
44530 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44531 ;;
44532 esac
44533 fi
44534 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44535 if test -n "$SDL_CONFIG"; then
44536 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44537 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44538 else
44539 { echo "$as_me:$LINENO: result: no" >&5
44540 echo "${ECHO_T}no" >&6; }
44541 fi
44542
44543
44544 min_sdl_version=1.2.0
44545 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44546 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44547 no_sdl=""
44548 if test "$SDL_CONFIG" = "no" ; then
44549 no_sdl=yes
44550 else
44551 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44552 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44553
44554 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44556 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44558 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44560 if test "x$enable_sdltest" = "xyes" ; then
44561 ac_save_CFLAGS="$CFLAGS"
44562 ac_save_CXXFLAGS="$CXXFLAGS"
44563 ac_save_LIBS="$LIBS"
44564 CFLAGS="$CFLAGS $SDL_CFLAGS"
44565 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44566 LIBS="$LIBS $SDL_LIBS"
44567 rm -f conf.sdltest
44568 if test "$cross_compiling" = yes; then
44569 echo $ac_n "cross compiling; assumed OK... $ac_c"
44570 else
44571 cat >conftest.$ac_ext <<_ACEOF
44572 /* confdefs.h. */
44573 _ACEOF
44574 cat confdefs.h >>conftest.$ac_ext
44575 cat >>conftest.$ac_ext <<_ACEOF
44576 /* end confdefs.h. */
44577
44578 #include <stdio.h>
44579 #include <stdlib.h>
44580 #include <string.h>
44581 #include "SDL.h"
44582
44583 char*
44584 my_strdup (char *str)
44585 {
44586 char *new_str;
44587
44588 if (str)
44589 {
44590 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44591 strcpy (new_str, str);
44592 }
44593 else
44594 new_str = NULL;
44595
44596 return new_str;
44597 }
44598
44599 int main (int argc, char *argv[])
44600 {
44601 int major, minor, micro;
44602 char *tmp_version;
44603
44604 /* This hangs on some systems (?)
44605 system ("touch conf.sdltest");
44606 */
44607 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44608
44609 /* HP/UX 9 (%@#!) writes to sscanf strings */
44610 tmp_version = my_strdup("$min_sdl_version");
44611 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44612 printf("%s, bad version string\n", "$min_sdl_version");
44613 exit(1);
44614 }
44615
44616 if (($sdl_major_version > major) ||
44617 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44618 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44619 {
44620 return 0;
44621 }
44622 else
44623 {
44624 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44625 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44626 printf("*** best to upgrade to the required version.\n");
44627 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44628 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44629 printf("*** config.cache before re-running configure\n");
44630 return 1;
44631 }
44632 }
44633
44634
44635 _ACEOF
44636 rm -f conftest$ac_exeext
44637 if { (ac_try="$ac_link"
44638 case "(($ac_try" in
44639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44640 *) ac_try_echo=$ac_try;;
44641 esac
44642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44643 (eval "$ac_link") 2>&5
44644 ac_status=$?
44645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44647 { (case "(($ac_try" in
44648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44649 *) ac_try_echo=$ac_try;;
44650 esac
44651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44652 (eval "$ac_try") 2>&5
44653 ac_status=$?
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; }; then
44656 :
44657 else
44658 echo "$as_me: program exited with status $ac_status" >&5
44659 echo "$as_me: failed program was:" >&5
44660 sed 's/^/| /' conftest.$ac_ext >&5
44661
44662 ( exit $ac_status )
44663 no_sdl=yes
44664 fi
44665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44666 fi
44667
44668
44669 CFLAGS="$ac_save_CFLAGS"
44670 CXXFLAGS="$ac_save_CXXFLAGS"
44671 LIBS="$ac_save_LIBS"
44672 fi
44673 fi
44674 if test "x$no_sdl" = x ; then
44675 { echo "$as_me:$LINENO: result: yes" >&5
44676 echo "${ECHO_T}yes" >&6; }
44677
44678 EXTRALIBS_SDL="$SDL_LIBS"
44679 CFLAGS="$SDL_CFLAGS $CFLAGS"
44680 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_LIBSDL 1
44683 _ACEOF
44684
44685
44686 else
44687 { echo "$as_me:$LINENO: result: no" >&5
44688 echo "${ECHO_T}no" >&6; }
44689 if test "$SDL_CONFIG" = "no" ; then
44690 echo "*** The sdl-config script installed by SDL could not be found"
44691 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44692 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44693 echo "*** full path to sdl-config."
44694 else
44695 if test -f conf.sdltest ; then
44696 :
44697 else
44698 echo "*** Could not run SDL test program, checking why..."
44699 CFLAGS="$CFLAGS $SDL_CFLAGS"
44700 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44701 LIBS="$LIBS $SDL_LIBS"
44702 cat >conftest.$ac_ext <<_ACEOF
44703 /* confdefs.h. */
44704 _ACEOF
44705 cat confdefs.h >>conftest.$ac_ext
44706 cat >>conftest.$ac_ext <<_ACEOF
44707 /* end confdefs.h. */
44708
44709 #include <stdio.h>
44710 #include "SDL.h"
44711
44712 int main(int argc, char *argv[])
44713 { return 0; }
44714 #undef main
44715 #define main K_and_R_C_main
44716
44717 int
44718 main ()
44719 {
44720 return 0;
44721 ;
44722 return 0;
44723 }
44724 _ACEOF
44725 rm -f conftest.$ac_objext conftest$ac_exeext
44726 if { (ac_try="$ac_link"
44727 case "(($ac_try" in
44728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44729 *) ac_try_echo=$ac_try;;
44730 esac
44731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44732 (eval "$ac_link") 2>conftest.er1
44733 ac_status=$?
44734 grep -v '^ *+' conftest.er1 >conftest.err
44735 rm -f conftest.er1
44736 cat conftest.err >&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); } && {
44739 test -z "$ac_c_werror_flag" ||
44740 test ! -s conftest.err
44741 } && test -s conftest$ac_exeext &&
44742 $as_test_x conftest$ac_exeext; then
44743 echo "*** The test program compiled, but did not run. This usually means"
44744 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44745 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44746 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44747 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44748 echo "*** is required on your system"
44749 echo "***"
44750 echo "*** If you have an old version installed, it is best to remove it, although"
44751 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44752 else
44753 echo "$as_me: failed program was:" >&5
44754 sed 's/^/| /' conftest.$ac_ext >&5
44755
44756 echo "*** The test program failed to compile or link. See the file config.log for the"
44757 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44758 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44759 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44760 fi
44761
44762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44763 conftest$ac_exeext conftest.$ac_ext
44764 CFLAGS="$ac_save_CFLAGS"
44765 CXXFLAGS="$ac_save_CXXFLAGS"
44766 LIBS="$ac_save_LIBS"
44767 fi
44768 fi
44769 SDL_CFLAGS=""
44770 SDL_LIBS=""
44771 wxUSE_LIBSDL="no"
44772 fi
44773
44774
44775 rm -f conf.sdltest
44776
44777 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44778 WITH_PLUGIN_SDL=1
44779 fi
44780 fi
44781 else
44782 if test "$wxUSE_MGL" = 1; then
44783 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44784 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44785 wxUSE_SOUND="no"
44786 fi
44787 fi
44788 fi
44789
44790 if test "$wxUSE_SOUND" = "yes"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_SOUND 1
44793 _ACEOF
44794
44795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44796 fi
44797
44798 if test "$WXGTK20" = 1; then
44799
44800
44801 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44802 if test -n "$ac_tool_prefix"; then
44803 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44804 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44807 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44808 echo $ECHO_N "(cached) $ECHO_C" >&6
44809 else
44810 case $PKG_CONFIG in
44811 [\\/]* | ?:[\\/]*)
44812 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44813 ;;
44814 *)
44815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44816 for as_dir in $PATH
44817 do
44818 IFS=$as_save_IFS
44819 test -z "$as_dir" && as_dir=.
44820 for ac_exec_ext in '' $ac_executable_extensions; do
44821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44822 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44824 break 2
44825 fi
44826 done
44827 done
44828 IFS=$as_save_IFS
44829
44830 ;;
44831 esac
44832 fi
44833 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44834 if test -n "$PKG_CONFIG"; then
44835 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44836 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44837 else
44838 { echo "$as_me:$LINENO: result: no" >&5
44839 echo "${ECHO_T}no" >&6; }
44840 fi
44841
44842
44843 fi
44844 if test -z "$ac_cv_path_PKG_CONFIG"; then
44845 ac_pt_PKG_CONFIG=$PKG_CONFIG
44846 # Extract the first word of "pkg-config", so it can be a program name with args.
44847 set dummy pkg-config; ac_word=$2
44848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44850 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44851 echo $ECHO_N "(cached) $ECHO_C" >&6
44852 else
44853 case $ac_pt_PKG_CONFIG in
44854 [\\/]* | ?:[\\/]*)
44855 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44856 ;;
44857 *)
44858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44859 for as_dir in $PATH
44860 do
44861 IFS=$as_save_IFS
44862 test -z "$as_dir" && as_dir=.
44863 for ac_exec_ext in '' $ac_executable_extensions; do
44864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44865 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44867 break 2
44868 fi
44869 done
44870 done
44871 IFS=$as_save_IFS
44872
44873 ;;
44874 esac
44875 fi
44876 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44877 if test -n "$ac_pt_PKG_CONFIG"; then
44878 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44879 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44880 else
44881 { echo "$as_me:$LINENO: result: no" >&5
44882 echo "${ECHO_T}no" >&6; }
44883 fi
44884
44885 if test "x$ac_pt_PKG_CONFIG" = x; then
44886 PKG_CONFIG=""
44887 else
44888 case $cross_compiling:$ac_tool_warned in
44889 yes:)
44890 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44891 whose name does not start with the host triplet. If you think this
44892 configuration is useful to you, please write to autoconf@gnu.org." >&5
44893 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44894 whose name does not start with the host triplet. If you think this
44895 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44896 ac_tool_warned=yes ;;
44897 esac
44898 PKG_CONFIG=$ac_pt_PKG_CONFIG
44899 fi
44900 else
44901 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44902 fi
44903
44904 fi
44905 if test -n "$PKG_CONFIG"; then
44906 _pkg_min_version=0.9.0
44907 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44908 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44909 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44910 { echo "$as_me:$LINENO: result: yes" >&5
44911 echo "${ECHO_T}yes" >&6; }
44912 else
44913 { echo "$as_me:$LINENO: result: no" >&5
44914 echo "${ECHO_T}no" >&6; }
44915 PKG_CONFIG=""
44916 fi
44917
44918 fi
44919
44920 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44921
44922 if test "$wxUSE_GTKPRINT" = "yes" ; then
44923
44924
44925 pkg_failed=no
44926 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44927 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44928
44929 if test -n "$PKG_CONFIG"; then
44930 if test -n "$GTKPRINT_CFLAGS"; then
44931 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44932 else
44933 if test -n "$PKG_CONFIG" && \
44934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44935 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44936 ac_status=$?
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); }; then
44939 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44940 else
44941 pkg_failed=yes
44942 fi
44943 fi
44944 else
44945 pkg_failed=untried
44946 fi
44947 if test -n "$PKG_CONFIG"; then
44948 if test -n "$GTKPRINT_LIBS"; then
44949 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44950 else
44951 if test -n "$PKG_CONFIG" && \
44952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44953 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44954 ac_status=$?
44955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44956 (exit $ac_status); }; then
44957 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44958 else
44959 pkg_failed=yes
44960 fi
44961 fi
44962 else
44963 pkg_failed=untried
44964 fi
44965
44966
44967
44968 if test $pkg_failed = yes; then
44969
44970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44971 _pkg_short_errors_supported=yes
44972 else
44973 _pkg_short_errors_supported=no
44974 fi
44975 if test $_pkg_short_errors_supported = yes; then
44976 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44977 else
44978 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44979 fi
44980 # Put the nasty error message in config.log where it belongs
44981 echo "$GTKPRINT_PKG_ERRORS" >&5
44982
44983
44984 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44985 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44986 wxUSE_GTKPRINT="no"
44987
44988
44989 elif test $pkg_failed = untried; then
44990
44991 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44992 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44993 wxUSE_GTKPRINT="no"
44994
44995
44996 else
44997 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44998 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44999 { echo "$as_me:$LINENO: result: yes" >&5
45000 echo "${ECHO_T}yes" >&6; }
45001
45002 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45003 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_GTKPRINT 1
45006 _ACEOF
45007
45008
45009 fi
45010 fi
45011
45012 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45013
45014
45015 pkg_failed=no
45016 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45017 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45018
45019 if test -n "$PKG_CONFIG"; then
45020 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45021 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45022 else
45023 if test -n "$PKG_CONFIG" && \
45024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45025 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45026 ac_status=$?
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; then
45029 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45030 else
45031 pkg_failed=yes
45032 fi
45033 fi
45034 else
45035 pkg_failed=untried
45036 fi
45037 if test -n "$PKG_CONFIG"; then
45038 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45039 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45040 else
45041 if test -n "$PKG_CONFIG" && \
45042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45043 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45044 ac_status=$?
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); }; then
45047 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45048 else
45049 pkg_failed=yes
45050 fi
45051 fi
45052 else
45053 pkg_failed=untried
45054 fi
45055
45056
45057
45058 if test $pkg_failed = yes; then
45059
45060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45061 _pkg_short_errors_supported=yes
45062 else
45063 _pkg_short_errors_supported=no
45064 fi
45065 if test $_pkg_short_errors_supported = yes; then
45066 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45067 else
45068 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45069 fi
45070 # Put the nasty error message in config.log where it belongs
45071 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45072
45073
45074 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45075 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45076 wxUSE_LIBGNOMEPRINT="no"
45077
45078
45079 elif test $pkg_failed = untried; then
45080
45081 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45082 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45083 wxUSE_LIBGNOMEPRINT="no"
45084
45085
45086 else
45087 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45088 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45089 { echo "$as_me:$LINENO: result: yes" >&5
45090 echo "${ECHO_T}yes" >&6; }
45091
45092 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45093 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_LIBGNOMEPRINT 1
45096 _ACEOF
45097
45098
45099 fi
45100 fi
45101 fi
45102
45103 if test "$wxUSE_MIMETYPE" = "yes" ; then
45104 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45105
45106
45107 pkg_failed=no
45108 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45109 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45110
45111 if test -n "$PKG_CONFIG"; then
45112 if test -n "$GNOMEVFS_CFLAGS"; then
45113 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45114 else
45115 if test -n "$PKG_CONFIG" && \
45116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45117 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45118 ac_status=$?
45119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 (exit $ac_status); }; then
45121 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45122 else
45123 pkg_failed=yes
45124 fi
45125 fi
45126 else
45127 pkg_failed=untried
45128 fi
45129 if test -n "$PKG_CONFIG"; then
45130 if test -n "$GNOMEVFS_LIBS"; then
45131 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45132 else
45133 if test -n "$PKG_CONFIG" && \
45134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45135 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45136 ac_status=$?
45137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45138 (exit $ac_status); }; then
45139 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45140 else
45141 pkg_failed=yes
45142 fi
45143 fi
45144 else
45145 pkg_failed=untried
45146 fi
45147
45148
45149
45150 if test $pkg_failed = yes; then
45151
45152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45153 _pkg_short_errors_supported=yes
45154 else
45155 _pkg_short_errors_supported=no
45156 fi
45157 if test $_pkg_short_errors_supported = yes; then
45158 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45159 else
45160 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45161 fi
45162 # Put the nasty error message in config.log where it belongs
45163 echo "$GNOMEVFS_PKG_ERRORS" >&5
45164
45165
45166 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45167 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45168 wxUSE_LIBGNOMEVFS="no"
45169
45170
45171 elif test $pkg_failed = untried; then
45172
45173 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45174 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45175 wxUSE_LIBGNOMEVFS="no"
45176
45177
45178 else
45179 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45180 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45181 { echo "$as_me:$LINENO: result: yes" >&5
45182 echo "${ECHO_T}yes" >&6; }
45183
45184 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45185 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_LIBGNOMEVFS 1
45188 _ACEOF
45189
45190
45191 fi
45192 fi
45193 fi
45194
45195 if test "$wxUSE_LIBHILDON" = "yes" ; then
45196
45197 pkg_failed=no
45198 { echo "$as_me:$LINENO: checking for HILDON" >&5
45199 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45200
45201 if test -n "$PKG_CONFIG"; then
45202 if test -n "$HILDON_CFLAGS"; then
45203 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45204 else
45205 if test -n "$PKG_CONFIG" && \
45206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45207 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45208 ac_status=$?
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; then
45211 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45212 else
45213 pkg_failed=yes
45214 fi
45215 fi
45216 else
45217 pkg_failed=untried
45218 fi
45219 if test -n "$PKG_CONFIG"; then
45220 if test -n "$HILDON_LIBS"; then
45221 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45222 else
45223 if test -n "$PKG_CONFIG" && \
45224 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45225 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45226 ac_status=$?
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); }; then
45229 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45230 else
45231 pkg_failed=yes
45232 fi
45233 fi
45234 else
45235 pkg_failed=untried
45236 fi
45237
45238
45239
45240 if test $pkg_failed = yes; then
45241
45242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45243 _pkg_short_errors_supported=yes
45244 else
45245 _pkg_short_errors_supported=no
45246 fi
45247 if test $_pkg_short_errors_supported = yes; then
45248 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45249 else
45250 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45251 fi
45252 # Put the nasty error message in config.log where it belongs
45253 echo "$HILDON_PKG_ERRORS" >&5
45254
45255
45256 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45257 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45258 wxUSE_LIBHILDON="no"
45259
45260
45261 elif test $pkg_failed = untried; then
45262
45263 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45264 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45265 wxUSE_LIBHILDON="no"
45266
45267
45268 else
45269 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45270 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45271 { echo "$as_me:$LINENO: result: yes" >&5
45272 echo "${ECHO_T}yes" >&6; }
45273
45274 EXTRALIBS_HILDON="$HILDON_LIBS"
45275 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45276 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_LIBHILDON 1
45279 _ACEOF
45280
45281
45282 fi
45283 fi
45284 fi
45285
45286 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_CMDLINE_PARSER 1
45289 _ACEOF
45290
45291 fi
45292
45293 if test "$wxUSE_STOPWATCH" = "yes"; then
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_STOPWATCH 1
45296 _ACEOF
45297
45298 fi
45299
45300 if test "$wxUSE_DATETIME" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_DATETIME 1
45303 _ACEOF
45304
45305 fi
45306
45307 if test "$wxUSE_FILE" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_FILE 1
45310 _ACEOF
45311
45312 fi
45313
45314 if test "$wxUSE_FFILE" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_FFILE 1
45317 _ACEOF
45318
45319 fi
45320
45321 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45322 if test "$wxUSE_STREAMS" != yes; then
45323 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45324 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45325 wxUSE_ARCHIVE_STREAMS=no
45326 else
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_ARCHIVE_STREAMS 1
45329 _ACEOF
45330
45331 fi
45332 fi
45333
45334 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45335 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45336 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45337 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45338 elif test "$wxUSE_ZLIB" = "no"; then
45339 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45340 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45341 else
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_ZIPSTREAM 1
45344 _ACEOF
45345
45346 fi
45347 fi
45348
45349 if test "$wxUSE_TARSTREAM" = "yes"; then
45350 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45351 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45352 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45353 else
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_TARSTREAM 1
45356 _ACEOF
45357
45358 fi
45359 fi
45360
45361 if test "$wxUSE_FILESYSTEM" = "yes"; then
45362 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45363 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45364 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45365 wxUSE_FILESYSTEM=no
45366 else
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_FILESYSTEM 1
45369 _ACEOF
45370
45371 fi
45372 fi
45373
45374 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45375 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45376 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45377 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45378 else
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_FS_ARCHIVE 1
45381 _ACEOF
45382
45383 fi
45384 fi
45385
45386 if test "$wxUSE_FS_ZIP" = "yes"; then
45387 if test "$wxUSE_FS_ARCHIVE" != yes; then
45388 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45389 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45390 else
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_FS_ZIP 1
45393 _ACEOF
45394
45395 fi
45396 fi
45397
45398 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45399 if test "$USE_UNIX" != 1; then
45400 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45401 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45402 wxUSE_ON_FATAL_EXCEPTION=no
45403 else
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_ON_FATAL_EXCEPTION 1
45406 _ACEOF
45407
45408 fi
45409 fi
45410
45411 if test "$wxUSE_STACKWALKER" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_STACKWALKER 1
45414 _ACEOF
45415
45416 fi
45417
45418 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45419 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45420 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45421 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45422 wxUSE_DEBUGREPORT=no
45423 else
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_DEBUGREPORT 1
45426 _ACEOF
45427
45428 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45430 fi
45431 fi
45432 fi
45433
45434 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_SNGLINST_CHECKER 1
45437 _ACEOF
45438
45439 fi
45440
45441 if test "$wxUSE_BUSYINFO" = "yes"; then
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_BUSYINFO 1
45444 _ACEOF
45445
45446 fi
45447
45448 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_STD_IOSTREAM 1
45451 _ACEOF
45452
45453 fi
45454
45455 if test "$wxUSE_STD_STRING" = "yes"; then
45456 cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_STD_STRING 1
45458 _ACEOF
45459
45460 fi
45461
45462 if test "$wxUSE_STDPATHS" = "yes"; then
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_STDPATHS 1
45465 _ACEOF
45466
45467 fi
45468
45469 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_TEXTBUFFER 1
45472 _ACEOF
45473
45474 fi
45475
45476 if test "$wxUSE_TEXTFILE" = "yes"; then
45477 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45478 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45479 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45480 else
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_TEXTFILE 1
45483 _ACEOF
45484
45485 fi
45486 fi
45487
45488 if test "$wxUSE_CONFIG" = "yes" ; then
45489 if test "$wxUSE_TEXTFILE" != "yes"; then
45490 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45491 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45492 else
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_CONFIG 1
45495 _ACEOF
45496
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_CONFIG_NATIVE 1
45499 _ACEOF
45500
45501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45502 fi
45503 fi
45504
45505 if test "$wxUSE_INTL" = "yes" ; then
45506 if test "$wxUSE_FILE" != "yes"; then
45507 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45508 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45509 else
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_INTL 1
45512 _ACEOF
45513
45514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45515 GUIDIST="$GUIDIST INTL_DIST"
45516 fi
45517 fi
45518
45519 if test "$wxUSE_LOG" = "yes"; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_LOG 1
45522 _ACEOF
45523
45524
45525 if test "$wxUSE_LOGGUI" = "yes"; then
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_LOGGUI 1
45528 _ACEOF
45529
45530 fi
45531
45532 if test "$wxUSE_LOGWINDOW" = "yes"; then
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_LOGWINDOW 1
45535 _ACEOF
45536
45537 fi
45538
45539 if test "$wxUSE_LOGDIALOG" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_LOG_DIALOG 1
45542 _ACEOF
45543
45544 fi
45545
45546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45547 fi
45548
45549 if test "$wxUSE_LONGLONG" = "yes"; then
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_LONGLONG 1
45552 _ACEOF
45553
45554 fi
45555
45556 if test "$wxUSE_GEOMETRY" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_GEOMETRY 1
45559 _ACEOF
45560
45561 fi
45562
45563 if test "$wxUSE_BASE64" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_BASE64 1
45566 _ACEOF
45567
45568 fi
45569
45570 if test "$wxUSE_STREAMS" = "yes" ; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_STREAMS 1
45573 _ACEOF
45574
45575 fi
45576
45577 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_PRINTF_POS_PARAMS 1
45580 _ACEOF
45581
45582 fi
45583
45584 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_OBJC_UNIQUIFYING 1
45587 _ACEOF
45588
45589 fi
45590
45591
45592 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_CONSOLE_EVENTLOOP 1
45595 _ACEOF
45596
45597
45598 if test "$wxUSE_UNIX" = "yes"; then
45599 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_SELECT_DISPATCHER 1
45602 _ACEOF
45603
45604 fi
45605
45606 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45607
45608 for ac_header in sys/epoll.h
45609 do
45610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45615 else
45616 cat >conftest.$ac_ext <<_ACEOF
45617 /* confdefs.h. */
45618 _ACEOF
45619 cat confdefs.h >>conftest.$ac_ext
45620 cat >>conftest.$ac_ext <<_ACEOF
45621 /* end confdefs.h. */
45622 $ac_includes_default
45623
45624 #include <$ac_header>
45625 _ACEOF
45626 rm -f conftest.$ac_objext
45627 if { (ac_try="$ac_compile"
45628 case "(($ac_try" in
45629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45630 *) ac_try_echo=$ac_try;;
45631 esac
45632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45633 (eval "$ac_compile") 2>conftest.er1
45634 ac_status=$?
45635 grep -v '^ *+' conftest.er1 >conftest.err
45636 rm -f conftest.er1
45637 cat conftest.err >&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } && {
45640 test -z "$ac_c_werror_flag" ||
45641 test ! -s conftest.err
45642 } && test -s conftest.$ac_objext; then
45643 eval "$as_ac_Header=yes"
45644 else
45645 echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.$ac_ext >&5
45647
45648 eval "$as_ac_Header=no"
45649 fi
45650
45651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45652 fi
45653 ac_res=`eval echo '${'$as_ac_Header'}'`
45654 { echo "$as_me:$LINENO: result: $ac_res" >&5
45655 echo "${ECHO_T}$ac_res" >&6; }
45656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45657 cat >>confdefs.h <<_ACEOF
45658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45659 _ACEOF
45660
45661 fi
45662
45663 done
45664
45665 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_EPOLL_DISPATCHER 1
45668 _ACEOF
45669
45670 else
45671 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45672 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45673 fi
45674 fi
45675 fi
45676 fi
45677
45678
45679
45680
45681 for ac_func in gettimeofday ftime
45682 do
45683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45687 echo $ECHO_N "(cached) $ECHO_C" >&6
45688 else
45689 cat >conftest.$ac_ext <<_ACEOF
45690 /* confdefs.h. */
45691 _ACEOF
45692 cat confdefs.h >>conftest.$ac_ext
45693 cat >>conftest.$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45697 #define $ac_func innocuous_$ac_func
45698
45699 /* System header to define __stub macros and hopefully few prototypes,
45700 which can conflict with char $ac_func (); below.
45701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45702 <limits.h> exists even on freestanding compilers. */
45703
45704 #ifdef __STDC__
45705 # include <limits.h>
45706 #else
45707 # include <assert.h>
45708 #endif
45709
45710 #undef $ac_func
45711
45712 /* Override any GCC internal prototype to avoid an error.
45713 Use char because int might match the return type of a GCC
45714 builtin and then its argument prototype would still apply. */
45715 #ifdef __cplusplus
45716 extern "C"
45717 #endif
45718 char $ac_func ();
45719 /* The GNU C library defines this for functions which it implements
45720 to always fail with ENOSYS. Some functions are actually named
45721 something starting with __ and the normal name is an alias. */
45722 #if defined __stub_$ac_func || defined __stub___$ac_func
45723 choke me
45724 #endif
45725
45726 int
45727 main ()
45728 {
45729 return $ac_func ();
45730 ;
45731 return 0;
45732 }
45733 _ACEOF
45734 rm -f conftest.$ac_objext conftest$ac_exeext
45735 if { (ac_try="$ac_link"
45736 case "(($ac_try" in
45737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45738 *) ac_try_echo=$ac_try;;
45739 esac
45740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45741 (eval "$ac_link") 2>conftest.er1
45742 ac_status=$?
45743 grep -v '^ *+' conftest.er1 >conftest.err
45744 rm -f conftest.er1
45745 cat conftest.err >&5
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); } && {
45748 test -z "$ac_c_werror_flag" ||
45749 test ! -s conftest.err
45750 } && test -s conftest$ac_exeext &&
45751 $as_test_x conftest$ac_exeext; then
45752 eval "$as_ac_var=yes"
45753 else
45754 echo "$as_me: failed program was:" >&5
45755 sed 's/^/| /' conftest.$ac_ext >&5
45756
45757 eval "$as_ac_var=no"
45758 fi
45759
45760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45761 conftest$ac_exeext conftest.$ac_ext
45762 fi
45763 ac_res=`eval echo '${'$as_ac_var'}'`
45764 { echo "$as_me:$LINENO: result: $ac_res" >&5
45765 echo "${ECHO_T}$ac_res" >&6; }
45766 if test `eval echo '${'$as_ac_var'}'` = yes; then
45767 cat >>confdefs.h <<_ACEOF
45768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45769 _ACEOF
45770 break
45771 fi
45772 done
45773
45774
45775 if test "$ac_cv_func_gettimeofday" = "yes"; then
45776 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45777 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45778 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45779 echo $ECHO_N "(cached) $ECHO_C" >&6
45780 else
45781
45782 cat >conftest.$ac_ext <<_ACEOF
45783 /* confdefs.h. */
45784 _ACEOF
45785 cat confdefs.h >>conftest.$ac_ext
45786 cat >>conftest.$ac_ext <<_ACEOF
45787 /* end confdefs.h. */
45788
45789 #include <sys/time.h>
45790 #include <unistd.h>
45791
45792 int
45793 main ()
45794 {
45795
45796 struct timeval tv;
45797 gettimeofday(&tv, NULL);
45798
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 rm -f conftest.$ac_objext
45804 if { (ac_try="$ac_compile"
45805 case "(($ac_try" in
45806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45807 *) ac_try_echo=$ac_try;;
45808 esac
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_compile") 2>conftest.er1
45811 ac_status=$?
45812 grep -v '^ *+' conftest.er1 >conftest.err
45813 rm -f conftest.er1
45814 cat conftest.err >&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } && {
45817 test -z "$ac_c_werror_flag" ||
45818 test ! -s conftest.err
45819 } && test -s conftest.$ac_objext; then
45820 wx_cv_func_gettimeofday_has_2_args=yes
45821 else
45822 echo "$as_me: failed program was:" >&5
45823 sed 's/^/| /' conftest.$ac_ext >&5
45824
45825 cat >conftest.$ac_ext <<_ACEOF
45826 /* confdefs.h. */
45827 _ACEOF
45828 cat confdefs.h >>conftest.$ac_ext
45829 cat >>conftest.$ac_ext <<_ACEOF
45830 /* end confdefs.h. */
45831
45832 #include <sys/time.h>
45833 #include <unistd.h>
45834
45835 int
45836 main ()
45837 {
45838
45839 struct timeval tv;
45840 gettimeofday(&tv);
45841
45842 ;
45843 return 0;
45844 }
45845 _ACEOF
45846 rm -f conftest.$ac_objext
45847 if { (ac_try="$ac_compile"
45848 case "(($ac_try" in
45849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45850 *) ac_try_echo=$ac_try;;
45851 esac
45852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45853 (eval "$ac_compile") 2>conftest.er1
45854 ac_status=$?
45855 grep -v '^ *+' conftest.er1 >conftest.err
45856 rm -f conftest.er1
45857 cat conftest.err >&5
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); } && {
45860 test -z "$ac_c_werror_flag" ||
45861 test ! -s conftest.err
45862 } && test -s conftest.$ac_objext; then
45863 wx_cv_func_gettimeofday_has_2_args=no
45864 else
45865 echo "$as_me: failed program was:" >&5
45866 sed 's/^/| /' conftest.$ac_ext >&5
45867
45868
45869 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45870 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45871 wx_cv_func_gettimeofday_has_2_args=unknown
45872
45873
45874 fi
45875
45876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45877
45878 fi
45879
45880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45881
45882 fi
45883 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45884 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45885
45886 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define WX_GETTIMEOFDAY_NO_TZ 1
45889 _ACEOF
45890
45891 fi
45892 fi
45893
45894 if test "$wxUSE_DATETIME" = "yes"; then
45895 { echo "$as_me:$LINENO: checking for strptime" >&5
45896 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45897 if test "${ac_cv_func_strptime+set}" = set; then
45898 echo $ECHO_N "(cached) $ECHO_C" >&6
45899 else
45900 cat >conftest.$ac_ext <<_ACEOF
45901 /* confdefs.h. */
45902 _ACEOF
45903 cat confdefs.h >>conftest.$ac_ext
45904 cat >>conftest.$ac_ext <<_ACEOF
45905 /* end confdefs.h. */
45906 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45908 #define strptime innocuous_strptime
45909
45910 /* System header to define __stub macros and hopefully few prototypes,
45911 which can conflict with char strptime (); below.
45912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45913 <limits.h> exists even on freestanding compilers. */
45914
45915 #ifdef __STDC__
45916 # include <limits.h>
45917 #else
45918 # include <assert.h>
45919 #endif
45920
45921 #undef strptime
45922
45923 /* Override any GCC internal prototype to avoid an error.
45924 Use char because int might match the return type of a GCC
45925 builtin and then its argument prototype would still apply. */
45926 #ifdef __cplusplus
45927 extern "C"
45928 #endif
45929 char strptime ();
45930 /* The GNU C library defines this for functions which it implements
45931 to always fail with ENOSYS. Some functions are actually named
45932 something starting with __ and the normal name is an alias. */
45933 #if defined __stub_strptime || defined __stub___strptime
45934 choke me
45935 #endif
45936
45937 int
45938 main ()
45939 {
45940 return strptime ();
45941 ;
45942 return 0;
45943 }
45944 _ACEOF
45945 rm -f conftest.$ac_objext conftest$ac_exeext
45946 if { (ac_try="$ac_link"
45947 case "(($ac_try" in
45948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45949 *) ac_try_echo=$ac_try;;
45950 esac
45951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45952 (eval "$ac_link") 2>conftest.er1
45953 ac_status=$?
45954 grep -v '^ *+' conftest.er1 >conftest.err
45955 rm -f conftest.er1
45956 cat conftest.err >&5
45957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45958 (exit $ac_status); } && {
45959 test -z "$ac_c_werror_flag" ||
45960 test ! -s conftest.err
45961 } && test -s conftest$ac_exeext &&
45962 $as_test_x conftest$ac_exeext; then
45963 ac_cv_func_strptime=yes
45964 else
45965 echo "$as_me: failed program was:" >&5
45966 sed 's/^/| /' conftest.$ac_ext >&5
45967
45968 ac_cv_func_strptime=no
45969 fi
45970
45971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45972 conftest$ac_exeext conftest.$ac_ext
45973 fi
45974 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45975 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45976
45977 if test "$ac_cv_func_strptime" = "yes"; then
45978 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45979 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45980 if test "${wx_cv_func_strptime_decl+set}" = set; then
45981 echo $ECHO_N "(cached) $ECHO_C" >&6
45982 else
45983
45984 ac_ext=cpp
45985 ac_cpp='$CXXCPP $CPPFLAGS'
45986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45989
45990 cat >conftest.$ac_ext <<_ACEOF
45991 /* confdefs.h. */
45992 _ACEOF
45993 cat confdefs.h >>conftest.$ac_ext
45994 cat >>conftest.$ac_ext <<_ACEOF
45995 /* end confdefs.h. */
45996
45997 #include <time.h>
45998
45999 int
46000 main ()
46001 {
46002
46003 struct tm t;
46004 strptime("foo", "bar", &t);
46005
46006 ;
46007 return 0;
46008 }
46009 _ACEOF
46010 rm -f conftest.$ac_objext
46011 if { (ac_try="$ac_compile"
46012 case "(($ac_try" in
46013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46014 *) ac_try_echo=$ac_try;;
46015 esac
46016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46017 (eval "$ac_compile") 2>conftest.er1
46018 ac_status=$?
46019 grep -v '^ *+' conftest.er1 >conftest.err
46020 rm -f conftest.er1
46021 cat conftest.err >&5
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); } && {
46024 test -z "$ac_cxx_werror_flag" ||
46025 test ! -s conftest.err
46026 } && test -s conftest.$ac_objext; then
46027 wx_cv_func_strptime_decl=yes
46028 else
46029 echo "$as_me: failed program was:" >&5
46030 sed 's/^/| /' conftest.$ac_ext >&5
46031
46032 wx_cv_func_strptime_decl=no
46033
46034 fi
46035
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037 ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042
46043
46044
46045 fi
46046 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46047 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46048 fi
46049 if test "$wx_cv_func_strptime_decl" = "yes"; then
46050 cat >>confdefs.h <<\_ACEOF
46051 #define HAVE_STRPTIME_DECL 1
46052 _ACEOF
46053
46054 else
46055 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46056 fi
46057 if test "$ac_cv_func_strptime" = "yes"; then
46058 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46059 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46060 if test "${wx_cv_func_strptime_ok+set}" = set; then
46061 echo $ECHO_N "(cached) $ECHO_C" >&6
46062 else
46063 if test "$cross_compiling" = yes; then
46064 wx_cv_func_strptime_ok=no
46065
46066 else
46067 cat >conftest.$ac_ext <<_ACEOF
46068
46069 #include <stdlib.h>
46070 #include <time.h>
46071 #include "confdefs.h"
46072
46073 $wx_strptime_decl
46074
46075 int main()
46076 {
46077 struct tm t;
46078 return !!strptime("", "%x", &t);
46079 }
46080
46081 _ACEOF
46082 rm -f conftest$ac_exeext
46083 if { (ac_try="$ac_link"
46084 case "(($ac_try" in
46085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46086 *) ac_try_echo=$ac_try;;
46087 esac
46088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46089 (eval "$ac_link") 2>&5
46090 ac_status=$?
46091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46093 { (case "(($ac_try" in
46094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46095 *) ac_try_echo=$ac_try;;
46096 esac
46097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46098 (eval "$ac_try") 2>&5
46099 ac_status=$?
46100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46101 (exit $ac_status); }; }; then
46102 wx_cv_func_strptime_ok=yes
46103 else
46104 echo "$as_me: program exited with status $ac_status" >&5
46105 echo "$as_me: failed program was:" >&5
46106 sed 's/^/| /' conftest.$ac_ext >&5
46107
46108 ( exit $ac_status )
46109 wx_cv_func_strptime_ok=no
46110 fi
46111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46112 fi
46113
46114
46115
46116 fi
46117 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46118 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46119
46120 if test "$wx_cv_func_strptime_ok" = "yes"; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define HAVE_STRPTIME 1
46123 _ACEOF
46124
46125 fi
46126 fi
46127
46128 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46129 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46130 if test "${wx_cv_var_timezone+set}" = set; then
46131 echo $ECHO_N "(cached) $ECHO_C" >&6
46132 else
46133
46134 ac_ext=cpp
46135 ac_cpp='$CXXCPP $CPPFLAGS'
46136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46139
46140 cat >conftest.$ac_ext <<_ACEOF
46141 /* confdefs.h. */
46142 _ACEOF
46143 cat confdefs.h >>conftest.$ac_ext
46144 cat >>conftest.$ac_ext <<_ACEOF
46145 /* end confdefs.h. */
46146
46147 #include <time.h>
46148
46149 int
46150 main ()
46151 {
46152
46153 int tz;
46154 tz = timezone;
46155
46156 ;
46157 return 0;
46158 }
46159 _ACEOF
46160 rm -f conftest.$ac_objext
46161 if { (ac_try="$ac_compile"
46162 case "(($ac_try" in
46163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46164 *) ac_try_echo=$ac_try;;
46165 esac
46166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46167 (eval "$ac_compile") 2>conftest.er1
46168 ac_status=$?
46169 grep -v '^ *+' conftest.er1 >conftest.err
46170 rm -f conftest.er1
46171 cat conftest.err >&5
46172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46173 (exit $ac_status); } && {
46174 test -z "$ac_cxx_werror_flag" ||
46175 test ! -s conftest.err
46176 } && test -s conftest.$ac_objext; then
46177
46178 wx_cv_var_timezone=timezone
46179
46180 else
46181 echo "$as_me: failed program was:" >&5
46182 sed 's/^/| /' conftest.$ac_ext >&5
46183
46184
46185 cat >conftest.$ac_ext <<_ACEOF
46186 /* confdefs.h. */
46187 _ACEOF
46188 cat confdefs.h >>conftest.$ac_ext
46189 cat >>conftest.$ac_ext <<_ACEOF
46190 /* end confdefs.h. */
46191
46192 #include <time.h>
46193
46194 int
46195 main ()
46196 {
46197
46198 int tz;
46199 tz = _timezone;
46200
46201 ;
46202 return 0;
46203 }
46204 _ACEOF
46205 rm -f conftest.$ac_objext
46206 if { (ac_try="$ac_compile"
46207 case "(($ac_try" in
46208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46209 *) ac_try_echo=$ac_try;;
46210 esac
46211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46212 (eval "$ac_compile") 2>conftest.er1
46213 ac_status=$?
46214 grep -v '^ *+' conftest.er1 >conftest.err
46215 rm -f conftest.er1
46216 cat conftest.err >&5
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); } && {
46219 test -z "$ac_cxx_werror_flag" ||
46220 test ! -s conftest.err
46221 } && test -s conftest.$ac_objext; then
46222
46223 wx_cv_var_timezone=_timezone
46224
46225 else
46226 echo "$as_me: failed program was:" >&5
46227 sed 's/^/| /' conftest.$ac_ext >&5
46228
46229
46230 cat >conftest.$ac_ext <<_ACEOF
46231 /* confdefs.h. */
46232 _ACEOF
46233 cat confdefs.h >>conftest.$ac_ext
46234 cat >>conftest.$ac_ext <<_ACEOF
46235 /* end confdefs.h. */
46236
46237 #include <time.h>
46238
46239 int
46240 main ()
46241 {
46242
46243 int tz;
46244 tz = __timezone;
46245
46246 ;
46247 return 0;
46248 }
46249 _ACEOF
46250 rm -f conftest.$ac_objext
46251 if { (ac_try="$ac_compile"
46252 case "(($ac_try" in
46253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46254 *) ac_try_echo=$ac_try;;
46255 esac
46256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46257 (eval "$ac_compile") 2>conftest.er1
46258 ac_status=$?
46259 grep -v '^ *+' conftest.er1 >conftest.err
46260 rm -f conftest.er1
46261 cat conftest.err >&5
46262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46263 (exit $ac_status); } && {
46264 test -z "$ac_cxx_werror_flag" ||
46265 test ! -s conftest.err
46266 } && test -s conftest.$ac_objext; then
46267
46268 wx_cv_var_timezone=__timezone
46269
46270 else
46271 echo "$as_me: failed program was:" >&5
46272 sed 's/^/| /' conftest.$ac_ext >&5
46273
46274
46275 if test "$USE_DOS" = 0 ; then
46276 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46277 echo "$as_me: WARNING: no timezone variable" >&2;}
46278 fi
46279
46280
46281 fi
46282
46283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46284
46285
46286 fi
46287
46288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46289
46290
46291 fi
46292
46293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46294 ac_ext=c
46295 ac_cpp='$CPP $CPPFLAGS'
46296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46299
46300
46301
46302 fi
46303 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46304 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46305
46306 if test "x$wx_cv_var_timezone" != x ; then
46307 cat >>confdefs.h <<_ACEOF
46308 #define WX_TIMEZONE $wx_cv_var_timezone
46309 _ACEOF
46310
46311 fi
46312
46313
46314 for ac_func in localtime
46315 do
46316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46320 echo $ECHO_N "(cached) $ECHO_C" >&6
46321 else
46322 cat >conftest.$ac_ext <<_ACEOF
46323 /* confdefs.h. */
46324 _ACEOF
46325 cat confdefs.h >>conftest.$ac_ext
46326 cat >>conftest.$ac_ext <<_ACEOF
46327 /* end confdefs.h. */
46328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46330 #define $ac_func innocuous_$ac_func
46331
46332 /* System header to define __stub macros and hopefully few prototypes,
46333 which can conflict with char $ac_func (); below.
46334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46335 <limits.h> exists even on freestanding compilers. */
46336
46337 #ifdef __STDC__
46338 # include <limits.h>
46339 #else
46340 # include <assert.h>
46341 #endif
46342
46343 #undef $ac_func
46344
46345 /* Override any GCC internal prototype to avoid an error.
46346 Use char because int might match the return type of a GCC
46347 builtin and then its argument prototype would still apply. */
46348 #ifdef __cplusplus
46349 extern "C"
46350 #endif
46351 char $ac_func ();
46352 /* The GNU C library defines this for functions which it implements
46353 to always fail with ENOSYS. Some functions are actually named
46354 something starting with __ and the normal name is an alias. */
46355 #if defined __stub_$ac_func || defined __stub___$ac_func
46356 choke me
46357 #endif
46358
46359 int
46360 main ()
46361 {
46362 return $ac_func ();
46363 ;
46364 return 0;
46365 }
46366 _ACEOF
46367 rm -f conftest.$ac_objext conftest$ac_exeext
46368 if { (ac_try="$ac_link"
46369 case "(($ac_try" in
46370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46371 *) ac_try_echo=$ac_try;;
46372 esac
46373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46374 (eval "$ac_link") 2>conftest.er1
46375 ac_status=$?
46376 grep -v '^ *+' conftest.er1 >conftest.err
46377 rm -f conftest.er1
46378 cat conftest.err >&5
46379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380 (exit $ac_status); } && {
46381 test -z "$ac_c_werror_flag" ||
46382 test ! -s conftest.err
46383 } && test -s conftest$ac_exeext &&
46384 $as_test_x conftest$ac_exeext; then
46385 eval "$as_ac_var=yes"
46386 else
46387 echo "$as_me: failed program was:" >&5
46388 sed 's/^/| /' conftest.$ac_ext >&5
46389
46390 eval "$as_ac_var=no"
46391 fi
46392
46393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46394 conftest$ac_exeext conftest.$ac_ext
46395 fi
46396 ac_res=`eval echo '${'$as_ac_var'}'`
46397 { echo "$as_me:$LINENO: result: $ac_res" >&5
46398 echo "${ECHO_T}$ac_res" >&6; }
46399 if test `eval echo '${'$as_ac_var'}'` = yes; then
46400 cat >>confdefs.h <<_ACEOF
46401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46402 _ACEOF
46403
46404 fi
46405 done
46406
46407
46408 if test "$ac_cv_func_localtime" = "yes"; then
46409 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46410 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46411 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46412 echo $ECHO_N "(cached) $ECHO_C" >&6
46413 else
46414
46415 cat >conftest.$ac_ext <<_ACEOF
46416 /* confdefs.h. */
46417 _ACEOF
46418 cat confdefs.h >>conftest.$ac_ext
46419 cat >>conftest.$ac_ext <<_ACEOF
46420 /* end confdefs.h. */
46421
46422 #include <time.h>
46423
46424 int
46425 main ()
46426 {
46427
46428 struct tm tm;
46429 tm.tm_gmtoff++;
46430
46431 ;
46432 return 0;
46433 }
46434 _ACEOF
46435 rm -f conftest.$ac_objext
46436 if { (ac_try="$ac_compile"
46437 case "(($ac_try" in
46438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46439 *) ac_try_echo=$ac_try;;
46440 esac
46441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46442 (eval "$ac_compile") 2>conftest.er1
46443 ac_status=$?
46444 grep -v '^ *+' conftest.er1 >conftest.err
46445 rm -f conftest.er1
46446 cat conftest.err >&5
46447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46448 (exit $ac_status); } && {
46449 test -z "$ac_c_werror_flag" ||
46450 test ! -s conftest.err
46451 } && test -s conftest.$ac_objext; then
46452
46453 wx_cv_struct_tm_has_gmtoff=yes
46454
46455 else
46456 echo "$as_me: failed program was:" >&5
46457 sed 's/^/| /' conftest.$ac_ext >&5
46458
46459 wx_cv_struct_tm_has_gmtoff=no
46460
46461 fi
46462
46463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46464
46465 fi
46466 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46467 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46468 fi
46469
46470 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define WX_GMTOFF_IN_TM 1
46473 _ACEOF
46474
46475 fi
46476
46477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46478 fi
46479
46480
46481 if test "$wxUSE_SOCKETS" = "yes"; then
46482 if test "$wxUSE_MGL" = "1"; then
46483 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46484 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46485 wxUSE_SOCKETS="no"
46486 fi
46487 fi
46488
46489 if test "$wxUSE_SOCKETS" = "yes"; then
46490 if test "$TOOLKIT" != "MSW"; then
46491 { echo "$as_me:$LINENO: checking for socket" >&5
46492 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46493 if test "${ac_cv_func_socket+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46495 else
46496 cat >conftest.$ac_ext <<_ACEOF
46497 /* confdefs.h. */
46498 _ACEOF
46499 cat confdefs.h >>conftest.$ac_ext
46500 cat >>conftest.$ac_ext <<_ACEOF
46501 /* end confdefs.h. */
46502 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46504 #define socket innocuous_socket
46505
46506 /* System header to define __stub macros and hopefully few prototypes,
46507 which can conflict with char socket (); below.
46508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46509 <limits.h> exists even on freestanding compilers. */
46510
46511 #ifdef __STDC__
46512 # include <limits.h>
46513 #else
46514 # include <assert.h>
46515 #endif
46516
46517 #undef socket
46518
46519 /* Override any GCC internal prototype to avoid an error.
46520 Use char because int might match the return type of a GCC
46521 builtin and then its argument prototype would still apply. */
46522 #ifdef __cplusplus
46523 extern "C"
46524 #endif
46525 char socket ();
46526 /* The GNU C library defines this for functions which it implements
46527 to always fail with ENOSYS. Some functions are actually named
46528 something starting with __ and the normal name is an alias. */
46529 #if defined __stub_socket || defined __stub___socket
46530 choke me
46531 #endif
46532
46533 int
46534 main ()
46535 {
46536 return socket ();
46537 ;
46538 return 0;
46539 }
46540 _ACEOF
46541 rm -f conftest.$ac_objext conftest$ac_exeext
46542 if { (ac_try="$ac_link"
46543 case "(($ac_try" in
46544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46545 *) ac_try_echo=$ac_try;;
46546 esac
46547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46548 (eval "$ac_link") 2>conftest.er1
46549 ac_status=$?
46550 grep -v '^ *+' conftest.er1 >conftest.err
46551 rm -f conftest.er1
46552 cat conftest.err >&5
46553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554 (exit $ac_status); } && {
46555 test -z "$ac_c_werror_flag" ||
46556 test ! -s conftest.err
46557 } && test -s conftest$ac_exeext &&
46558 $as_test_x conftest$ac_exeext; then
46559 ac_cv_func_socket=yes
46560 else
46561 echo "$as_me: failed program was:" >&5
46562 sed 's/^/| /' conftest.$ac_ext >&5
46563
46564 ac_cv_func_socket=no
46565 fi
46566
46567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46568 conftest$ac_exeext conftest.$ac_ext
46569 fi
46570 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46571 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46572 if test $ac_cv_func_socket = yes; then
46573 :
46574 else
46575
46576 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46577 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46578 if test "${ac_cv_lib_socket_socket+set}" = set; then
46579 echo $ECHO_N "(cached) $ECHO_C" >&6
46580 else
46581 ac_check_lib_save_LIBS=$LIBS
46582 LIBS="-lsocket $LIBS"
46583 cat >conftest.$ac_ext <<_ACEOF
46584 /* confdefs.h. */
46585 _ACEOF
46586 cat confdefs.h >>conftest.$ac_ext
46587 cat >>conftest.$ac_ext <<_ACEOF
46588 /* end confdefs.h. */
46589
46590 /* Override any GCC internal prototype to avoid an error.
46591 Use char because int might match the return type of a GCC
46592 builtin and then its argument prototype would still apply. */
46593 #ifdef __cplusplus
46594 extern "C"
46595 #endif
46596 char socket ();
46597 int
46598 main ()
46599 {
46600 return socket ();
46601 ;
46602 return 0;
46603 }
46604 _ACEOF
46605 rm -f conftest.$ac_objext conftest$ac_exeext
46606 if { (ac_try="$ac_link"
46607 case "(($ac_try" in
46608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46609 *) ac_try_echo=$ac_try;;
46610 esac
46611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46612 (eval "$ac_link") 2>conftest.er1
46613 ac_status=$?
46614 grep -v '^ *+' conftest.er1 >conftest.err
46615 rm -f conftest.er1
46616 cat conftest.err >&5
46617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46618 (exit $ac_status); } && {
46619 test -z "$ac_c_werror_flag" ||
46620 test ! -s conftest.err
46621 } && test -s conftest$ac_exeext &&
46622 $as_test_x conftest$ac_exeext; then
46623 ac_cv_lib_socket_socket=yes
46624 else
46625 echo "$as_me: failed program was:" >&5
46626 sed 's/^/| /' conftest.$ac_ext >&5
46627
46628 ac_cv_lib_socket_socket=no
46629 fi
46630
46631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46632 conftest$ac_exeext conftest.$ac_ext
46633 LIBS=$ac_check_lib_save_LIBS
46634 fi
46635 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46636 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46637 if test $ac_cv_lib_socket_socket = yes; then
46638 if test "$INET_LINK" != " -lsocket"; then
46639 INET_LINK="$INET_LINK -lsocket"
46640 fi
46641 else
46642
46643 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46644 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46645 wxUSE_SOCKETS=no
46646
46647
46648 fi
46649
46650
46651
46652 fi
46653
46654 fi
46655 fi
46656
46657 if test "$wxUSE_SOCKETS" = "yes" ; then
46658 if test "$TOOLKIT" != "MSW"; then
46659 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46660 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46661 if test "${wx_cv_type_getsockname3+set}" = set; then
46662 echo $ECHO_N "(cached) $ECHO_C" >&6
46663 else
46664
46665 ac_ext=cpp
46666 ac_cpp='$CXXCPP $CPPFLAGS'
46667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46670
46671 cat >conftest.$ac_ext <<_ACEOF
46672 /* confdefs.h. */
46673 _ACEOF
46674 cat confdefs.h >>conftest.$ac_ext
46675 cat >>conftest.$ac_ext <<_ACEOF
46676 /* end confdefs.h. */
46677
46678 #include <sys/types.h>
46679 #include <sys/socket.h>
46680
46681 int
46682 main ()
46683 {
46684
46685 socklen_t len;
46686 getsockname(0, 0, &len);
46687
46688 ;
46689 return 0;
46690 }
46691 _ACEOF
46692 rm -f conftest.$ac_objext
46693 if { (ac_try="$ac_compile"
46694 case "(($ac_try" in
46695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46696 *) ac_try_echo=$ac_try;;
46697 esac
46698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46699 (eval "$ac_compile") 2>conftest.er1
46700 ac_status=$?
46701 grep -v '^ *+' conftest.er1 >conftest.err
46702 rm -f conftest.er1
46703 cat conftest.err >&5
46704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705 (exit $ac_status); } && {
46706 test -z "$ac_cxx_werror_flag" ||
46707 test ! -s conftest.err
46708 } && test -s conftest.$ac_objext; then
46709 wx_cv_type_getsockname3=socklen_t
46710 else
46711 echo "$as_me: failed program was:" >&5
46712 sed 's/^/| /' conftest.$ac_ext >&5
46713
46714
46715 CFLAGS_OLD="$CFLAGS"
46716 if test "$GCC" = yes ; then
46717 CFLAGS="-Werror $CFLAGS"
46718 fi
46719
46720 cat >conftest.$ac_ext <<_ACEOF
46721 /* confdefs.h. */
46722 _ACEOF
46723 cat confdefs.h >>conftest.$ac_ext
46724 cat >>conftest.$ac_ext <<_ACEOF
46725 /* end confdefs.h. */
46726
46727 #include <sys/types.h>
46728 #include <sys/socket.h>
46729
46730 int
46731 main ()
46732 {
46733
46734 size_t len;
46735 getsockname(0, 0, &len);
46736
46737 ;
46738 return 0;
46739 }
46740 _ACEOF
46741 rm -f conftest.$ac_objext
46742 if { (ac_try="$ac_compile"
46743 case "(($ac_try" in
46744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46745 *) ac_try_echo=$ac_try;;
46746 esac
46747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46748 (eval "$ac_compile") 2>conftest.er1
46749 ac_status=$?
46750 grep -v '^ *+' conftest.er1 >conftest.err
46751 rm -f conftest.er1
46752 cat conftest.err >&5
46753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754 (exit $ac_status); } && {
46755 test -z "$ac_cxx_werror_flag" ||
46756 test ! -s conftest.err
46757 } && test -s conftest.$ac_objext; then
46758 wx_cv_type_getsockname3=size_t
46759 else
46760 echo "$as_me: failed program was:" >&5
46761 sed 's/^/| /' conftest.$ac_ext >&5
46762
46763 cat >conftest.$ac_ext <<_ACEOF
46764 /* confdefs.h. */
46765 _ACEOF
46766 cat confdefs.h >>conftest.$ac_ext
46767 cat >>conftest.$ac_ext <<_ACEOF
46768 /* end confdefs.h. */
46769
46770 #include <sys/types.h>
46771 #include <sys/socket.h>
46772
46773 int
46774 main ()
46775 {
46776
46777 int len;
46778 getsockname(0, 0, &len);
46779
46780 ;
46781 return 0;
46782 }
46783 _ACEOF
46784 rm -f conftest.$ac_objext
46785 if { (ac_try="$ac_compile"
46786 case "(($ac_try" in
46787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46788 *) ac_try_echo=$ac_try;;
46789 esac
46790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46791 (eval "$ac_compile") 2>conftest.er1
46792 ac_status=$?
46793 grep -v '^ *+' conftest.er1 >conftest.err
46794 rm -f conftest.er1
46795 cat conftest.err >&5
46796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46797 (exit $ac_status); } && {
46798 test -z "$ac_cxx_werror_flag" ||
46799 test ! -s conftest.err
46800 } && test -s conftest.$ac_objext; then
46801 wx_cv_type_getsockname3=int
46802 else
46803 echo "$as_me: failed program was:" >&5
46804 sed 's/^/| /' conftest.$ac_ext >&5
46805
46806 wx_cv_type_getsockname3=unknown
46807
46808 fi
46809
46810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46811
46812 fi
46813
46814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46815
46816 CFLAGS="$CFLAGS_OLD"
46817
46818
46819 fi
46820
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46827
46828
46829 fi
46830 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46831 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46832
46833 if test "$wx_cv_type_getsockname3" = "unknown"; then
46834 wxUSE_SOCKETS=no
46835 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46836 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46837 else
46838 cat >>confdefs.h <<_ACEOF
46839 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46840 _ACEOF
46841
46842 fi
46843 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46844 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46845 if test "${wx_cv_type_getsockopt5+set}" = set; then
46846 echo $ECHO_N "(cached) $ECHO_C" >&6
46847 else
46848
46849 ac_ext=cpp
46850 ac_cpp='$CXXCPP $CPPFLAGS'
46851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46854
46855 cat >conftest.$ac_ext <<_ACEOF
46856 /* confdefs.h. */
46857 _ACEOF
46858 cat confdefs.h >>conftest.$ac_ext
46859 cat >>conftest.$ac_ext <<_ACEOF
46860 /* end confdefs.h. */
46861
46862 #include <sys/types.h>
46863 #include <sys/socket.h>
46864
46865 int
46866 main ()
46867 {
46868
46869 socklen_t len;
46870 getsockopt(0, 0, 0, 0, &len);
46871
46872 ;
46873 return 0;
46874 }
46875 _ACEOF
46876 rm -f conftest.$ac_objext
46877 if { (ac_try="$ac_compile"
46878 case "(($ac_try" in
46879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46880 *) ac_try_echo=$ac_try;;
46881 esac
46882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46883 (eval "$ac_compile") 2>conftest.er1
46884 ac_status=$?
46885 grep -v '^ *+' conftest.er1 >conftest.err
46886 rm -f conftest.er1
46887 cat conftest.err >&5
46888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46889 (exit $ac_status); } && {
46890 test -z "$ac_cxx_werror_flag" ||
46891 test ! -s conftest.err
46892 } && test -s conftest.$ac_objext; then
46893 wx_cv_type_getsockopt5=socklen_t
46894 else
46895 echo "$as_me: failed program was:" >&5
46896 sed 's/^/| /' conftest.$ac_ext >&5
46897
46898
46899 cat >conftest.$ac_ext <<_ACEOF
46900 /* confdefs.h. */
46901 _ACEOF
46902 cat confdefs.h >>conftest.$ac_ext
46903 cat >>conftest.$ac_ext <<_ACEOF
46904 /* end confdefs.h. */
46905
46906 #include <sys/types.h>
46907 #include <sys/socket.h>
46908
46909 int
46910 main ()
46911 {
46912
46913 size_t len;
46914 getsockopt(0, 0, 0, 0, &len);
46915
46916 ;
46917 return 0;
46918 }
46919 _ACEOF
46920 rm -f conftest.$ac_objext
46921 if { (ac_try="$ac_compile"
46922 case "(($ac_try" in
46923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46924 *) ac_try_echo=$ac_try;;
46925 esac
46926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46927 (eval "$ac_compile") 2>conftest.er1
46928 ac_status=$?
46929 grep -v '^ *+' conftest.er1 >conftest.err
46930 rm -f conftest.er1
46931 cat conftest.err >&5
46932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46933 (exit $ac_status); } && {
46934 test -z "$ac_cxx_werror_flag" ||
46935 test ! -s conftest.err
46936 } && test -s conftest.$ac_objext; then
46937 wx_cv_type_getsockopt5=size_t
46938 else
46939 echo "$as_me: failed program was:" >&5
46940 sed 's/^/| /' conftest.$ac_ext >&5
46941
46942 cat >conftest.$ac_ext <<_ACEOF
46943 /* confdefs.h. */
46944 _ACEOF
46945 cat confdefs.h >>conftest.$ac_ext
46946 cat >>conftest.$ac_ext <<_ACEOF
46947 /* end confdefs.h. */
46948
46949 #include <sys/types.h>
46950 #include <sys/socket.h>
46951
46952 int
46953 main ()
46954 {
46955
46956 int len;
46957 getsockopt(0, 0, 0, 0, &len);
46958
46959 ;
46960 return 0;
46961 }
46962 _ACEOF
46963 rm -f conftest.$ac_objext
46964 if { (ac_try="$ac_compile"
46965 case "(($ac_try" in
46966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46967 *) ac_try_echo=$ac_try;;
46968 esac
46969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46970 (eval "$ac_compile") 2>conftest.er1
46971 ac_status=$?
46972 grep -v '^ *+' conftest.er1 >conftest.err
46973 rm -f conftest.er1
46974 cat conftest.err >&5
46975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46976 (exit $ac_status); } && {
46977 test -z "$ac_cxx_werror_flag" ||
46978 test ! -s conftest.err
46979 } && test -s conftest.$ac_objext; then
46980 wx_cv_type_getsockopt5=int
46981 else
46982 echo "$as_me: failed program was:" >&5
46983 sed 's/^/| /' conftest.$ac_ext >&5
46984
46985 wx_cv_type_getsockopt5=unknown
46986
46987 fi
46988
46989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46990
46991 fi
46992
46993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994
46995
46996 fi
46997
46998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46999 ac_ext=c
47000 ac_cpp='$CPP $CPPFLAGS'
47001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47004
47005
47006 fi
47007 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47008 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47009
47010 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47011 wxUSE_SOCKETS=no
47012 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47013 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47014 else
47015 cat >>confdefs.h <<_ACEOF
47016 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47017 _ACEOF
47018
47019 fi
47020 fi
47021 fi
47022
47023 if test "$wxUSE_SOCKETS" = "yes" ; then
47024 cat >>confdefs.h <<\_ACEOF
47025 #define wxUSE_SOCKETS 1
47026 _ACEOF
47027
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47029 fi
47030
47031 if test "$wxUSE_PROTOCOL" = "yes"; then
47032 if test "$wxUSE_SOCKETS" != "yes"; then
47033 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47034 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47035 wxUSE_PROTOCOL=no
47036 fi
47037 fi
47038
47039 if test "$wxUSE_PROTOCOL" = "yes"; then
47040 cat >>confdefs.h <<\_ACEOF
47041 #define wxUSE_PROTOCOL 1
47042 _ACEOF
47043
47044
47045 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_PROTOCOL_HTTP 1
47048 _ACEOF
47049
47050 fi
47051 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_PROTOCOL_FTP 1
47054 _ACEOF
47055
47056 fi
47057 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47058 cat >>confdefs.h <<\_ACEOF
47059 #define wxUSE_PROTOCOL_FILE 1
47060 _ACEOF
47061
47062 fi
47063 else
47064 if test "$wxUSE_FS_INET" = "yes"; then
47065 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47066 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47067 wxUSE_FS_INET="no"
47068 fi
47069 fi
47070
47071 if test "$wxUSE_URL" = "yes"; then
47072 if test "$wxUSE_PROTOCOL" != "yes"; then
47073 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47074 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47075 wxUSE_URL=no
47076 fi
47077 if test "$wxUSE_URL" = "yes"; then
47078 cat >>confdefs.h <<\_ACEOF
47079 #define wxUSE_URL 1
47080 _ACEOF
47081
47082 fi
47083 fi
47084
47085 if test "$wxUSE_VARIANT" = "yes"; then
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_VARIANT 1
47088 _ACEOF
47089
47090 fi
47091
47092 if test "$wxUSE_FS_INET" = "yes"; then
47093 cat >>confdefs.h <<\_ACEOF
47094 #define wxUSE_FS_INET 1
47095 _ACEOF
47096
47097 fi
47098
47099
47100 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47101 wxUSE_JOYSTICK=no
47102
47103 if test "$TOOLKIT" = "MSW"; then
47104 wxUSE_JOYSTICK=yes
47105
47106 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47107 if test "$USE_DARWIN" = 1; then
47108 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47109 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47110 ac_ext=cpp
47111 ac_cpp='$CXXCPP $CPPFLAGS'
47112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47115
47116 cat >conftest.$ac_ext <<_ACEOF
47117 /* confdefs.h. */
47118 _ACEOF
47119 cat confdefs.h >>conftest.$ac_ext
47120 cat >>conftest.$ac_ext <<_ACEOF
47121 /* end confdefs.h. */
47122 #include <IOKit/hid/IOHIDLib.h>
47123 int
47124 main ()
47125 {
47126 IOHIDQueueInterface *qi = NULL;
47127 IOHIDCallbackFunction cb = NULL;
47128 qi->setEventCallout(NULL, cb, NULL, NULL);
47129 ;
47130 return 0;
47131 }
47132 _ACEOF
47133 rm -f conftest.$ac_objext
47134 if { (ac_try="$ac_compile"
47135 case "(($ac_try" in
47136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47137 *) ac_try_echo=$ac_try;;
47138 esac
47139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47140 (eval "$ac_compile") 2>conftest.er1
47141 ac_status=$?
47142 grep -v '^ *+' conftest.er1 >conftest.err
47143 rm -f conftest.er1
47144 cat conftest.err >&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); } && {
47147 test -z "$ac_cxx_werror_flag" ||
47148 test ! -s conftest.err
47149 } && test -s conftest.$ac_objext; then
47150 wxUSE_JOYSTICK=yes
47151
47152 else
47153 echo "$as_me: failed program was:" >&5
47154 sed 's/^/| /' conftest.$ac_ext >&5
47155
47156
47157 fi
47158
47159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47160 ac_ext=c
47161 ac_cpp='$CPP $CPPFLAGS'
47162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47165
47166 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47167 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47168 fi
47169
47170 else
47171 if test "$wxUSE_MGL" != "1"; then
47172
47173 for ac_header in linux/joystick.h
47174 do
47175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47179 echo $ECHO_N "(cached) $ECHO_C" >&6
47180 else
47181 cat >conftest.$ac_ext <<_ACEOF
47182 /* confdefs.h. */
47183 _ACEOF
47184 cat confdefs.h >>conftest.$ac_ext
47185 cat >>conftest.$ac_ext <<_ACEOF
47186 /* end confdefs.h. */
47187 $ac_includes_default
47188
47189 #include <$ac_header>
47190 _ACEOF
47191 rm -f conftest.$ac_objext
47192 if { (ac_try="$ac_compile"
47193 case "(($ac_try" in
47194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47195 *) ac_try_echo=$ac_try;;
47196 esac
47197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47198 (eval "$ac_compile") 2>conftest.er1
47199 ac_status=$?
47200 grep -v '^ *+' conftest.er1 >conftest.err
47201 rm -f conftest.er1
47202 cat conftest.err >&5
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); } && {
47205 test -z "$ac_c_werror_flag" ||
47206 test ! -s conftest.err
47207 } && test -s conftest.$ac_objext; then
47208 eval "$as_ac_Header=yes"
47209 else
47210 echo "$as_me: failed program was:" >&5
47211 sed 's/^/| /' conftest.$ac_ext >&5
47212
47213 eval "$as_ac_Header=no"
47214 fi
47215
47216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47217 fi
47218 ac_res=`eval echo '${'$as_ac_Header'}'`
47219 { echo "$as_me:$LINENO: result: $ac_res" >&5
47220 echo "${ECHO_T}$ac_res" >&6; }
47221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47222 cat >>confdefs.h <<_ACEOF
47223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47224 _ACEOF
47225 wxUSE_JOYSTICK=yes
47226 fi
47227
47228 done
47229
47230 fi
47231 fi
47232
47233 if test "$wxUSE_JOYSTICK" = "yes"; then
47234 cat >>confdefs.h <<\_ACEOF
47235 #define wxUSE_JOYSTICK 1
47236 _ACEOF
47237
47238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47239 else
47240 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47241 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47242 fi
47243 fi
47244
47245
47246
47247 if test "$wxUSE_FONTENUM" = "yes" ; then
47248 cat >>confdefs.h <<\_ACEOF
47249 #define wxUSE_FONTENUM 1
47250 _ACEOF
47251
47252 fi
47253
47254 if test "$wxUSE_FONTMAP" = "yes" ; then
47255 cat >>confdefs.h <<\_ACEOF
47256 #define wxUSE_FONTMAP 1
47257 _ACEOF
47258
47259 fi
47260
47261 if test "$wxUSE_UNICODE" = "yes" ; then
47262 cat >>confdefs.h <<\_ACEOF
47263 #define wxUSE_UNICODE 1
47264 _ACEOF
47265
47266
47267 if test "$USE_WIN32" != 1; then
47268 wxUSE_UNICODE_MSLU=no
47269 fi
47270
47271 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47272 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47273 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47274 if test "${ac_cv_lib_unicows_main+set}" = set; then
47275 echo $ECHO_N "(cached) $ECHO_C" >&6
47276 else
47277 ac_check_lib_save_LIBS=$LIBS
47278 LIBS="-lunicows $LIBS"
47279 cat >conftest.$ac_ext <<_ACEOF
47280 /* confdefs.h. */
47281 _ACEOF
47282 cat confdefs.h >>conftest.$ac_ext
47283 cat >>conftest.$ac_ext <<_ACEOF
47284 /* end confdefs.h. */
47285
47286
47287 int
47288 main ()
47289 {
47290 return main ();
47291 ;
47292 return 0;
47293 }
47294 _ACEOF
47295 rm -f conftest.$ac_objext conftest$ac_exeext
47296 if { (ac_try="$ac_link"
47297 case "(($ac_try" in
47298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47299 *) ac_try_echo=$ac_try;;
47300 esac
47301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47302 (eval "$ac_link") 2>conftest.er1
47303 ac_status=$?
47304 grep -v '^ *+' conftest.er1 >conftest.err
47305 rm -f conftest.er1
47306 cat conftest.err >&5
47307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308 (exit $ac_status); } && {
47309 test -z "$ac_c_werror_flag" ||
47310 test ! -s conftest.err
47311 } && test -s conftest$ac_exeext &&
47312 $as_test_x conftest$ac_exeext; then
47313 ac_cv_lib_unicows_main=yes
47314 else
47315 echo "$as_me: failed program was:" >&5
47316 sed 's/^/| /' conftest.$ac_ext >&5
47317
47318 ac_cv_lib_unicows_main=no
47319 fi
47320
47321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47322 conftest$ac_exeext conftest.$ac_ext
47323 LIBS=$ac_check_lib_save_LIBS
47324 fi
47325 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47326 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47327 if test $ac_cv_lib_unicows_main = yes; then
47328
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_UNICODE_MSLU 1
47331 _ACEOF
47332
47333
47334 else
47335
47336 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47337 Applications will only run on Windows NT/2000/XP!" >&5
47338 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47339 Applications will only run on Windows NT/2000/XP!" >&2;}
47340 wxUSE_UNICODE_MSLU=no
47341
47342 fi
47343
47344 fi
47345 fi
47346
47347 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_UNICODE_UTF8 1
47350 _ACEOF
47351
47352
47353 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_UTF8_LOCALE_ONLY 1
47356 _ACEOF
47357
47358 fi
47359 fi
47360
47361
47362 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_CONSTRAINTS 1
47365 _ACEOF
47366
47367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47368 fi
47369
47370 if test "$wxUSE_MDI" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_MDI 1
47373 _ACEOF
47374
47375
47376 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_MDI_ARCHITECTURE 1
47379 _ACEOF
47380
47381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47382 fi
47383 fi
47384
47385 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47388 _ACEOF
47389
47390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47391 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47393 fi
47394 fi
47395
47396 if test "$wxUSE_HELP" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_HELP 1
47399 _ACEOF
47400
47401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47402
47403 if test "$wxUSE_MSW" = 1; then
47404 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47405 cat >>confdefs.h <<\_ACEOF
47406 #define wxUSE_MS_HTML_HELP 1
47407 _ACEOF
47408
47409 fi
47410 fi
47411
47412 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47413 if test "$wxUSE_HTML" = "yes"; then
47414 cat >>confdefs.h <<\_ACEOF
47415 #define wxUSE_WXHTML_HELP 1
47416 _ACEOF
47417
47418 else
47419 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47420 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47421 wxUSE_WXHTML_HELP=no
47422 fi
47423 fi
47424 fi
47425
47426 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47427 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47428 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47429 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47430 else
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_PRINTING_ARCHITECTURE 1
47433 _ACEOF
47434
47435 fi
47436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47437 fi
47438
47439 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_POSTSCRIPT 1
47442 _ACEOF
47443
47444 fi
47445
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47448 _ACEOF
47449
47450
47451 if test "$wxUSE_SVG" = "yes"; then
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_SVG 1
47454 _ACEOF
47455
47456 fi
47457
47458
47459 if test "$wxUSE_METAFILE" = "yes"; then
47460 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47461 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47462 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47463 wxUSE_METAFILE=no
47464 fi
47465 fi
47466
47467
47468 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47469 -o "$wxUSE_CLIPBOARD" = "yes" \
47470 -o "$wxUSE_OLE" = "yes" \
47471 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47472 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47473 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47474 if test "${ac_cv_header_ole2_h+set}" = set; then
47475 echo $ECHO_N "(cached) $ECHO_C" >&6
47476 else
47477 cat >conftest.$ac_ext <<_ACEOF
47478 /* confdefs.h. */
47479 _ACEOF
47480 cat confdefs.h >>conftest.$ac_ext
47481 cat >>conftest.$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47483
47484
47485 #include <ole2.h>
47486 _ACEOF
47487 rm -f conftest.$ac_objext
47488 if { (ac_try="$ac_compile"
47489 case "(($ac_try" in
47490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47491 *) ac_try_echo=$ac_try;;
47492 esac
47493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47494 (eval "$ac_compile") 2>conftest.er1
47495 ac_status=$?
47496 grep -v '^ *+' conftest.er1 >conftest.err
47497 rm -f conftest.er1
47498 cat conftest.err >&5
47499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 (exit $ac_status); } && {
47501 test -z "$ac_c_werror_flag" ||
47502 test ! -s conftest.err
47503 } && test -s conftest.$ac_objext; then
47504 ac_cv_header_ole2_h=yes
47505 else
47506 echo "$as_me: failed program was:" >&5
47507 sed 's/^/| /' conftest.$ac_ext >&5
47508
47509 ac_cv_header_ole2_h=no
47510 fi
47511
47512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47513 fi
47514 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47515 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47516
47517
47518
47519 if test "$ac_cv_header_ole2_h" = "yes" ; then
47520 if test "$GCC" = yes ; then
47521 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47522 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47523 cat >conftest.$ac_ext <<_ACEOF
47524 /* confdefs.h. */
47525 _ACEOF
47526 cat confdefs.h >>conftest.$ac_ext
47527 cat >>conftest.$ac_ext <<_ACEOF
47528 /* end confdefs.h. */
47529 #include <windows.h>
47530 #include <ole2.h>
47531 int
47532 main ()
47533 {
47534
47535 ;
47536 return 0;
47537 }
47538 _ACEOF
47539 rm -f conftest.$ac_objext
47540 if { (ac_try="$ac_compile"
47541 case "(($ac_try" in
47542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47543 *) ac_try_echo=$ac_try;;
47544 esac
47545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47546 (eval "$ac_compile") 2>conftest.er1
47547 ac_status=$?
47548 grep -v '^ *+' conftest.er1 >conftest.err
47549 rm -f conftest.er1
47550 cat conftest.err >&5
47551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47552 (exit $ac_status); } && {
47553 test -z "$ac_c_werror_flag" ||
47554 test ! -s conftest.err
47555 } && test -s conftest.$ac_objext; then
47556 { echo "$as_me:$LINENO: result: no" >&5
47557 echo "${ECHO_T}no" >&6; }
47558 else
47559 echo "$as_me: failed program was:" >&5
47560 sed 's/^/| /' conftest.$ac_ext >&5
47561
47562 { echo "$as_me:$LINENO: result: yes" >&5
47563 echo "${ECHO_T}yes" >&6; }
47564 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47565 fi
47566
47567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47568 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47569 if test "$wxUSE_OLE" = "yes" ; then
47570 cat >>confdefs.h <<\_ACEOF
47571 #define wxUSE_OLE 1
47572 _ACEOF
47573
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_OLE_AUTOMATION 1
47576 _ACEOF
47577
47578 cat >>confdefs.h <<\_ACEOF
47579 #define wxUSE_ACTIVEX 1
47580 _ACEOF
47581
47582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47583 fi
47584 fi
47585
47586 if test "$wxUSE_DATAOBJ" = "yes" ; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_DATAOBJ 1
47589 _ACEOF
47590
47591 fi
47592 else
47593 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47594 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47595
47596 wxUSE_CLIPBOARD=no
47597 wxUSE_DRAG_AND_DROP=no
47598 wxUSE_DATAOBJ=no
47599 wxUSE_OLE=no
47600 fi
47601
47602 if test "$wxUSE_METAFILE" = "yes"; then
47603 cat >>confdefs.h <<\_ACEOF
47604 #define wxUSE_METAFILE 1
47605 _ACEOF
47606
47607
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_ENH_METAFILE 1
47610 _ACEOF
47611
47612 fi
47613 fi
47614
47615 if test "$wxUSE_IPC" = "yes"; then
47616 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47617 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47618 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47619 wxUSE_IPC=no
47620 fi
47621
47622 if test "$wxUSE_IPC" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_IPC 1
47625 _ACEOF
47626
47627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47628 fi
47629 fi
47630
47631 if test "$wxUSE_DATAOBJ" = "yes"; then
47632 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47633 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47634 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47635 wxUSE_DATAOBJ=no
47636 else
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_DATAOBJ 1
47639 _ACEOF
47640
47641 fi
47642 else
47643 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47644 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47645 wxUSE_CLIPBOARD=no
47646 wxUSE_DRAG_AND_DROP=no
47647 fi
47648
47649 if test "$wxUSE_CLIPBOARD" = "yes"; then
47650 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47651 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47652 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47653 wxUSE_CLIPBOARD=no
47654 fi
47655
47656 if test "$wxUSE_CLIPBOARD" = "yes"; then
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_CLIPBOARD 1
47659 _ACEOF
47660
47661 fi
47662 fi
47663
47664 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47665 if test "$wxUSE_GTK" = 1; then
47666 if test "$WXGTK12" != 1; then
47667 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47668 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47669 wxUSE_DRAG_AND_DROP=no
47670 fi
47671 fi
47672
47673 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47674 "$wxUSE_DFB" = 1; then
47675 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47676 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47677 wxUSE_DRAG_AND_DROP=no
47678 fi
47679
47680 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_DRAG_AND_DROP 1
47683 _ACEOF
47684
47685 fi
47686
47687 fi
47688
47689 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47691 fi
47692
47693 if test "$wxUSE_SPLINES" = "yes" ; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_SPLINES 1
47696 _ACEOF
47697
47698 fi
47699
47700 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_MOUSEWHEEL 1
47703 _ACEOF
47704
47705 fi
47706
47707
47708 USES_CONTROLS=0
47709 if test "$wxUSE_CONTROLS" = "yes"; then
47710 USES_CONTROLS=1
47711 fi
47712
47713 if test "$wxUSE_ACCEL" = "yes"; then
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_ACCEL 1
47716 _ACEOF
47717
47718 USES_CONTROLS=1
47719 fi
47720
47721 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47722 cat >>confdefs.h <<\_ACEOF
47723 #define wxUSE_ANIMATIONCTRL 1
47724 _ACEOF
47725
47726 USES_CONTROLS=1
47727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47728 fi
47729
47730 if test "$wxUSE_BUTTON" = "yes"; then
47731 cat >>confdefs.h <<\_ACEOF
47732 #define wxUSE_BUTTON 1
47733 _ACEOF
47734
47735 USES_CONTROLS=1
47736 fi
47737
47738 if test "$wxUSE_BMPBUTTON" = "yes"; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_BMPBUTTON 1
47741 _ACEOF
47742
47743 USES_CONTROLS=1
47744 fi
47745
47746 if test "$wxUSE_CALCTRL" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_CALENDARCTRL 1
47749 _ACEOF
47750
47751 USES_CONTROLS=1
47752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47753 fi
47754
47755 if test "$wxUSE_CARET" = "yes"; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_CARET 1
47758 _ACEOF
47759
47760 USES_CONTROLS=1
47761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47762 fi
47763
47764 if test "$wxUSE_COLLPANE" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_COLLPANE 1
47767 _ACEOF
47768
47769 USES_CONTROLS=1
47770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47771 fi
47772
47773 if test "$wxUSE_COMBOBOX" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_COMBOBOX 1
47776 _ACEOF
47777
47778 USES_CONTROLS=1
47779 fi
47780
47781 if test "$wxUSE_COMBOCTRL" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_COMBOCTRL 1
47784 _ACEOF
47785
47786 USES_CONTROLS=1
47787 fi
47788
47789 if test "$wxUSE_CHOICE" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_CHOICE 1
47792 _ACEOF
47793
47794 USES_CONTROLS=1
47795 fi
47796
47797 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_CHOICEBOOK 1
47800 _ACEOF
47801
47802 USES_CONTROLS=1
47803 fi
47804
47805 if test "$wxUSE_CHECKBOX" = "yes"; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_CHECKBOX 1
47808 _ACEOF
47809
47810 USES_CONTROLS=1
47811 fi
47812
47813 if test "$wxUSE_CHECKLST" = "yes"; then
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_CHECKLISTBOX 1
47816 _ACEOF
47817
47818 USES_CONTROLS=1
47819 fi
47820
47821 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47822 cat >>confdefs.h <<\_ACEOF
47823 #define wxUSE_COLOURPICKERCTRL 1
47824 _ACEOF
47825
47826 USES_CONTROLS=1
47827 fi
47828
47829 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_DATEPICKCTRL 1
47832 _ACEOF
47833
47834 USES_CONTROLS=1
47835 fi
47836
47837 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_DIRPICKERCTRL 1
47840 _ACEOF
47841
47842 USES_CONTROLS=1
47843 fi
47844
47845 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_FILEPICKERCTRL 1
47848 _ACEOF
47849
47850 USES_CONTROLS=1
47851 fi
47852
47853 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_FONTPICKERCTRL 1
47856 _ACEOF
47857
47858 USES_CONTROLS=1
47859 fi
47860
47861 if test "$wxUSE_DISPLAY" = "yes"; then
47862 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47863 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47864 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47865 wxUSE_DISPLAY=no
47866 else
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_DISPLAY 1
47869 _ACEOF
47870
47871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47872 fi
47873 fi
47874
47875 if test "$wxUSE_DETECT_SM" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_DETECT_SM 1
47878 _ACEOF
47879
47880 fi
47881
47882 if test "$wxUSE_GAUGE" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_GAUGE 1
47885 _ACEOF
47886
47887 USES_CONTROLS=1
47888 fi
47889
47890 if test "$wxUSE_GRID" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_GRID 1
47893 _ACEOF
47894
47895 USES_CONTROLS=1
47896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47897 fi
47898
47899 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47900 cat >>confdefs.h <<\_ACEOF
47901 #define wxUSE_HYPERLINKCTRL 1
47902 _ACEOF
47903
47904 USES_CONTROLS=1
47905 fi
47906
47907 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_BITMAPCOMBOBOX 1
47910 _ACEOF
47911
47912 USES_CONTROLS=1
47913 fi
47914
47915 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47916 cat >>confdefs.h <<\_ACEOF
47917 #define wxUSE_DATAVIEWCTRL 1
47918 _ACEOF
47919
47920 USES_CONTROLS=1
47921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47922 fi
47923
47924 if test "$wxUSE_IMAGLIST" = "yes"; then
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_IMAGLIST 1
47927 _ACEOF
47928
47929 fi
47930
47931 if test "$wxUSE_LISTBOOK" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_LISTBOOK 1
47934 _ACEOF
47935
47936 USES_CONTROLS=1
47937 fi
47938
47939 if test "$wxUSE_LISTBOX" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_LISTBOX 1
47942 _ACEOF
47943
47944 USES_CONTROLS=1
47945 fi
47946
47947 if test "$wxUSE_LISTCTRL" = "yes"; then
47948 if test "$wxUSE_IMAGLIST" = "yes"; then
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_LISTCTRL 1
47951 _ACEOF
47952
47953 USES_CONTROLS=1
47954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47955 else
47956 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47957 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47958 fi
47959 fi
47960
47961 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_EDITABLELISTBOX 1
47964 _ACEOF
47965
47966 USES_CONTROLS=1
47967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47968 fi
47969
47970 if test "$wxUSE_NOTEBOOK" = "yes"; then
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_NOTEBOOK 1
47973 _ACEOF
47974
47975 USES_CONTROLS=1
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47977 fi
47978
47979 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_ODCOMBOBOX 1
47982 _ACEOF
47983
47984 USES_CONTROLS=1
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47986 fi
47987
47988 if test "$wxUSE_RADIOBOX" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_RADIOBOX 1
47991 _ACEOF
47992
47993 USES_CONTROLS=1
47994 fi
47995
47996 if test "$wxUSE_RADIOBTN" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_RADIOBTN 1
47999 _ACEOF
48000
48001 USES_CONTROLS=1
48002 fi
48003
48004 if test "$wxUSE_SASH" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_SASH 1
48007 _ACEOF
48008
48009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48010 fi
48011
48012 if test "$wxUSE_SCROLLBAR" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_SCROLLBAR 1
48015 _ACEOF
48016
48017 USES_CONTROLS=1
48018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48019 fi
48020
48021 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_SEARCHCTRL 1
48024 _ACEOF
48025
48026 USES_CONTROLS=1
48027 fi
48028
48029 if test "$wxUSE_SLIDER" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_SLIDER 1
48032 _ACEOF
48033
48034 USES_CONTROLS=1
48035 fi
48036
48037 if test "$wxUSE_SPINBTN" = "yes"; then
48038 cat >>confdefs.h <<\_ACEOF
48039 #define wxUSE_SPINBTN 1
48040 _ACEOF
48041
48042 USES_CONTROLS=1
48043 fi
48044
48045 if test "$wxUSE_SPINCTRL" = "yes"; then
48046 cat >>confdefs.h <<\_ACEOF
48047 #define wxUSE_SPINCTRL 1
48048 _ACEOF
48049
48050 USES_CONTROLS=1
48051 fi
48052
48053 if test "$wxUSE_SPLITTER" = "yes"; then
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_SPLITTER 1
48056 _ACEOF
48057
48058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48059 fi
48060
48061 if test "$wxUSE_STATBMP" = "yes"; then
48062 cat >>confdefs.h <<\_ACEOF
48063 #define wxUSE_STATBMP 1
48064 _ACEOF
48065
48066 USES_CONTROLS=1
48067 fi
48068
48069 if test "$wxUSE_STATBOX" = "yes"; then
48070 cat >>confdefs.h <<\_ACEOF
48071 #define wxUSE_STATBOX 1
48072 _ACEOF
48073
48074 USES_CONTROLS=1
48075 fi
48076
48077 if test "$wxUSE_STATTEXT" = "yes"; then
48078 cat >>confdefs.h <<\_ACEOF
48079 #define wxUSE_STATTEXT 1
48080 _ACEOF
48081
48082 USES_CONTROLS=1
48083 fi
48084
48085 if test "$wxUSE_STATLINE" = "yes"; then
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_STATLINE 1
48088 _ACEOF
48089
48090 USES_CONTROLS=1
48091 fi
48092
48093 if test "$wxUSE_STATUSBAR" = "yes"; then
48094 cat >>confdefs.h <<\_ACEOF
48095 #define wxUSE_NATIVE_STATUSBAR 1
48096 _ACEOF
48097
48098 cat >>confdefs.h <<\_ACEOF
48099 #define wxUSE_STATUSBAR 1
48100 _ACEOF
48101
48102 USES_CONTROLS=1
48103
48104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48105 fi
48106
48107 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48108 cat >>confdefs.h <<\_ACEOF
48109 #define wxUSE_TAB_DIALOG 1
48110 _ACEOF
48111
48112 fi
48113
48114 if test "$wxUSE_TEXTCTRL" = "yes"; then
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_TEXTCTRL 1
48117 _ACEOF
48118
48119 USES_CONTROLS=1
48120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48121 fi
48122
48123 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48124 if test "$wxUSE_COCOA" = 1 ; then
48125 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48126 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48127 wxUSE_TOGGLEBTN=no
48128 fi
48129
48130 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_TOGGLEBTN 1
48133 _ACEOF
48134
48135 USES_CONTROLS=1
48136 fi
48137 fi
48138
48139 if test "$wxUSE_TOOLBAR" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_TOOLBAR 1
48142 _ACEOF
48143
48144 USES_CONTROLS=1
48145
48146 if test "$wxUSE_UNIVERSAL" = "yes"; then
48147 wxUSE_TOOLBAR_NATIVE="no"
48148 else
48149 wxUSE_TOOLBAR_NATIVE="yes"
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_TOOLBAR_NATIVE 1
48152 _ACEOF
48153
48154 fi
48155
48156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48157 fi
48158
48159 if test "$wxUSE_TOOLTIPS" = "yes"; then
48160 if test "$wxUSE_MOTIF" = 1; then
48161 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48162 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48163 else
48164 if test "$wxUSE_UNIVERSAL" = "yes"; then
48165 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48166 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48167 else
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_TOOLTIPS 1
48170 _ACEOF
48171
48172 fi
48173 fi
48174 fi
48175
48176 if test "$wxUSE_TREEBOOK" = "yes"; then
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_TREEBOOK 1
48179 _ACEOF
48180
48181 USES_CONTROLS=1
48182 fi
48183
48184 if test "$wxUSE_TOOLBOOK" = "yes"; then
48185 cat >>confdefs.h <<\_ACEOF
48186 #define wxUSE_TOOLBOOK 1
48187 _ACEOF
48188
48189 USES_CONTROLS=1
48190 fi
48191
48192 if test "$wxUSE_TREECTRL" = "yes"; then
48193 if test "$wxUSE_IMAGLIST" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TREECTRL 1
48196 _ACEOF
48197
48198 USES_CONTROLS=1
48199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48200 else
48201 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48202 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48203 fi
48204 fi
48205
48206 if test "$wxUSE_POPUPWIN" = "yes"; then
48207 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48208 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48209 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48210 else
48211 if test "$wxUSE_PM" = 1; then
48212 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48213 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48214 else
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_POPUPWIN 1
48217 _ACEOF
48218
48219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48220
48221 USES_CONTROLS=1
48222 fi
48223 fi
48224 fi
48225
48226 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48227 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48228 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48229 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48230 else
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_DIALUP_MANAGER 1
48233 _ACEOF
48234
48235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48236 fi
48237 fi
48238
48239 if test "$wxUSE_TIPWINDOW" = "yes"; then
48240 if test "$wxUSE_PM" = 1; then
48241 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48242 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48243 else
48244 cat >>confdefs.h <<\_ACEOF
48245 #define wxUSE_TIPWINDOW 1
48246 _ACEOF
48247
48248 fi
48249 fi
48250
48251 if test "$USES_CONTROLS" = 1; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_CONTROLS 1
48254 _ACEOF
48255
48256 fi
48257
48258
48259 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_ACCESSIBILITY 1
48262 _ACEOF
48263
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48265 fi
48266
48267 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_DRAGIMAGE 1
48270 _ACEOF
48271
48272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48273 fi
48274
48275 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48276 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48277 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48278 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48279 else
48280 cat >>confdefs.h <<\_ACEOF
48281 #define wxUSE_EXCEPTIONS 1
48282 _ACEOF
48283
48284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48285 fi
48286 fi
48287
48288 USE_HTML=0
48289 if test "$wxUSE_HTML" = "yes"; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_HTML 1
48292 _ACEOF
48293
48294 USE_HTML=1
48295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48296 if test "$wxUSE_MAC" = 1; then
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48298 fi
48299 fi
48300 if test "$wxUSE_WEBKIT" = "yes"; then
48301 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48302 old_CPPFLAGS="$CPPFLAGS"
48303 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48304 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48305 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48306 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48307 echo $ECHO_N "(cached) $ECHO_C" >&6
48308 else
48309 cat >conftest.$ac_ext <<_ACEOF
48310 /* confdefs.h. */
48311 _ACEOF
48312 cat confdefs.h >>conftest.$ac_ext
48313 cat >>conftest.$ac_ext <<_ACEOF
48314 /* end confdefs.h. */
48315
48316 #include <Carbon/Carbon.h>
48317 #include <WebKit/WebKit.h>
48318
48319
48320 #include <WebKit/HIWebView.h>
48321 _ACEOF
48322 rm -f conftest.$ac_objext
48323 if { (ac_try="$ac_compile"
48324 case "(($ac_try" in
48325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48326 *) ac_try_echo=$ac_try;;
48327 esac
48328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48329 (eval "$ac_compile") 2>conftest.er1
48330 ac_status=$?
48331 grep -v '^ *+' conftest.er1 >conftest.err
48332 rm -f conftest.er1
48333 cat conftest.err >&5
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); } && {
48336 test -z "$ac_c_werror_flag" ||
48337 test ! -s conftest.err
48338 } && test -s conftest.$ac_objext; then
48339 ac_cv_header_WebKit_HIWebView_h=yes
48340 else
48341 echo "$as_me: failed program was:" >&5
48342 sed 's/^/| /' conftest.$ac_ext >&5
48343
48344 ac_cv_header_WebKit_HIWebView_h=no
48345 fi
48346
48347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48348 fi
48349 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48350 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48351 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48352
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_WEBKIT 1
48355 _ACEOF
48356
48357 WEBKIT_LINK="-framework WebKit"
48358
48359 else
48360
48361 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48362 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48363 wxUSE_WEBKIT=no
48364
48365 fi
48366
48367
48368 CPPFLAGS="$old_CPPFLAGS"
48369 elif test "$wxUSE_COCOA" = 1; then
48370 cat >>confdefs.h <<\_ACEOF
48371 #define wxUSE_WEBKIT 1
48372 _ACEOF
48373
48374 else
48375 wxUSE_WEBKIT=no
48376 fi
48377 fi
48378
48379 USE_XRC=0
48380 if test "$wxUSE_XRC" = "yes"; then
48381 if test "$wxUSE_XML" != "yes"; then
48382 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48383 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48384 wxUSE_XRC=no
48385 else
48386 cat >>confdefs.h <<\_ACEOF
48387 #define wxUSE_XRC 1
48388 _ACEOF
48389
48390 USE_XRC=1
48391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48392 fi
48393 fi
48394
48395 USE_AUI=0
48396 if test "$wxUSE_AUI" = "yes"; then
48397 cat >>confdefs.h <<\_ACEOF
48398 #define wxUSE_AUI 1
48399 _ACEOF
48400
48401 USE_AUI=1
48402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48403 fi
48404
48405 USE_STC=0
48406 if test "$wxUSE_STC" = "yes"; then
48407 cat >>confdefs.h <<\_ACEOF
48408 #define wxUSE_STC 1
48409 _ACEOF
48410
48411 USE_STC=1
48412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48413 fi
48414
48415 if test "$wxUSE_MENUS" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_MENUS 1
48418 _ACEOF
48419
48420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48421 fi
48422
48423 if test "$wxUSE_METAFILE" = "yes"; then
48424 cat >>confdefs.h <<\_ACEOF
48425 #define wxUSE_METAFILE 1
48426 _ACEOF
48427
48428 fi
48429
48430 if test "$wxUSE_MIMETYPE" = "yes"; then
48431 cat >>confdefs.h <<\_ACEOF
48432 #define wxUSE_MIMETYPE 1
48433 _ACEOF
48434
48435 fi
48436
48437 if test "$wxUSE_MINIFRAME" = "yes"; then
48438 cat >>confdefs.h <<\_ACEOF
48439 #define wxUSE_MINIFRAME 1
48440 _ACEOF
48441
48442 fi
48443
48444 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48445 cat >>confdefs.h <<\_ACEOF
48446 #define wxUSE_SYSTEM_OPTIONS 1
48447 _ACEOF
48448
48449 fi
48450
48451 if test "$wxUSE_TASKBARICON" = "yes"; then
48452 cat >>confdefs.h <<\_ACEOF
48453 #define wxUSE_TASKBARICON 1
48454 _ACEOF
48455
48456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48457 fi
48458
48459
48460 if test "$wxUSE_VALIDATORS" = "yes"; then
48461 cat >>confdefs.h <<\_ACEOF
48462 #define wxUSE_VALIDATORS 1
48463 _ACEOF
48464
48465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48466 fi
48467
48468 if test "$wxUSE_PALETTE" = "yes" ; then
48469 if test "$wxUSE_DFB" = 1; then
48470 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48471 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48472 wxUSE_PALETTE=no
48473 else
48474 cat >>confdefs.h <<\_ACEOF
48475 #define wxUSE_PALETTE 1
48476 _ACEOF
48477
48478 fi
48479 fi
48480
48481 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48482 LIBS=" -lunicows $LIBS"
48483 fi
48484
48485 USE_RICHTEXT=0
48486 if test "$wxUSE_RICHTEXT" = "yes"; then
48487 cat >>confdefs.h <<\_ACEOF
48488 #define wxUSE_RICHTEXT 1
48489 _ACEOF
48490
48491 USE_RICHTEXT=1
48492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48493 fi
48494
48495
48496 if test "$wxUSE_IMAGE" = "yes" ; then
48497 cat >>confdefs.h <<\_ACEOF
48498 #define wxUSE_IMAGE 1
48499 _ACEOF
48500
48501
48502 if test "$wxUSE_GIF" = "yes" ; then
48503 cat >>confdefs.h <<\_ACEOF
48504 #define wxUSE_GIF 1
48505 _ACEOF
48506
48507 fi
48508
48509 if test "$wxUSE_PCX" = "yes" ; then
48510 cat >>confdefs.h <<\_ACEOF
48511 #define wxUSE_PCX 1
48512 _ACEOF
48513
48514 fi
48515
48516 if test "$wxUSE_TGA" = "yes" ; then
48517 cat >>confdefs.h <<\_ACEOF
48518 #define wxUSE_TGA 1
48519 _ACEOF
48520
48521 fi
48522
48523 if test "$wxUSE_IFF" = "yes" ; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_IFF 1
48526 _ACEOF
48527
48528 fi
48529
48530 if test "$wxUSE_PNM" = "yes" ; then
48531 cat >>confdefs.h <<\_ACEOF
48532 #define wxUSE_PNM 1
48533 _ACEOF
48534
48535 fi
48536
48537 if test "$wxUSE_XPM" = "yes" ; then
48538 cat >>confdefs.h <<\_ACEOF
48539 #define wxUSE_XPM 1
48540 _ACEOF
48541
48542 fi
48543
48544 if test "$wxUSE_ICO_CUR" = "yes" ; then
48545 cat >>confdefs.h <<\_ACEOF
48546 #define wxUSE_ICO_CUR 1
48547 _ACEOF
48548
48549 fi
48550 fi
48551
48552
48553 if test "$wxUSE_ABOUTDLG" = "yes"; then
48554 cat >>confdefs.h <<\_ACEOF
48555 #define wxUSE_ABOUTDLG 1
48556 _ACEOF
48557
48558 fi
48559
48560 if test "$wxUSE_CHOICEDLG" = "yes"; then
48561 cat >>confdefs.h <<\_ACEOF
48562 #define wxUSE_CHOICEDLG 1
48563 _ACEOF
48564
48565 fi
48566
48567 if test "$wxUSE_COLOURDLG" = "yes"; then
48568 cat >>confdefs.h <<\_ACEOF
48569 #define wxUSE_COLOURDLG 1
48570 _ACEOF
48571
48572 fi
48573
48574 if test "$wxUSE_FILEDLG" = "yes"; then
48575 cat >>confdefs.h <<\_ACEOF
48576 #define wxUSE_FILEDLG 1
48577 _ACEOF
48578
48579 fi
48580
48581 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48582 cat >>confdefs.h <<\_ACEOF
48583 #define wxUSE_FINDREPLDLG 1
48584 _ACEOF
48585
48586 fi
48587
48588 if test "$wxUSE_FONTDLG" = "yes"; then
48589 cat >>confdefs.h <<\_ACEOF
48590 #define wxUSE_FONTDLG 1
48591 _ACEOF
48592
48593 fi
48594
48595 if test "$wxUSE_DIRDLG" = "yes"; then
48596 if test "$wxUSE_TREECTRL" != "yes"; then
48597 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48598 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48599 else
48600 cat >>confdefs.h <<\_ACEOF
48601 #define wxUSE_DIRDLG 1
48602 _ACEOF
48603
48604 fi
48605 fi
48606
48607 if test "$wxUSE_MSGDLG" = "yes"; then
48608 cat >>confdefs.h <<\_ACEOF
48609 #define wxUSE_MSGDLG 1
48610 _ACEOF
48611
48612 fi
48613
48614 if test "$wxUSE_NUMBERDLG" = "yes"; then
48615 cat >>confdefs.h <<\_ACEOF
48616 #define wxUSE_NUMBERDLG 1
48617 _ACEOF
48618
48619 fi
48620
48621 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48622 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48623 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48624 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48625 else
48626 cat >>confdefs.h <<\_ACEOF
48627 #define wxUSE_PROGRESSDLG 1
48628 _ACEOF
48629
48630 fi
48631 fi
48632
48633 if test "$wxUSE_SPLASH" = "yes"; then
48634 cat >>confdefs.h <<\_ACEOF
48635 #define wxUSE_SPLASH 1
48636 _ACEOF
48637
48638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48639 fi
48640
48641 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48642 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48643 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48644 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48645 else
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_STARTUP_TIPS 1
48648 _ACEOF
48649
48650 fi
48651 fi
48652
48653 if test "$wxUSE_TEXTDLG" = "yes"; then
48654 cat >>confdefs.h <<\_ACEOF
48655 #define wxUSE_TEXTDLG 1
48656 _ACEOF
48657
48658 fi
48659
48660 if test "$wxUSE_WIZARDDLG" = "yes"; then
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_WIZARDDLG 1
48663 _ACEOF
48664
48665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48666 fi
48667
48668
48669 if test "$wxUSE_MSW" = 1 ; then
48670
48671 if test "$wxUSE_DC_CACHEING" = "yes"; then
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_DC_CACHEING 1
48674 _ACEOF
48675
48676 fi
48677
48678 if test "$wxUSE_DIB" = "yes"; then
48679 cat >>confdefs.h <<\_ACEOF
48680 #define wxUSE_WXDIB 1
48681 _ACEOF
48682
48683 fi
48684
48685 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48686 cat >>confdefs.h <<\_ACEOF
48687 #define wxUSE_OWNER_DRAWN 1
48688 _ACEOF
48689
48690 fi
48691
48692 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48693 cat >>confdefs.h <<\_ACEOF
48694 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48695 _ACEOF
48696
48697 fi
48698
48699 if test "$wxUSE_UXTHEME" = "yes"; then
48700 cat >>confdefs.h <<\_ACEOF
48701 #define wxUSE_UXTHEME 1
48702 _ACEOF
48703
48704 fi
48705
48706 fi
48707
48708
48709 if test "$USE_WIN32" = 1 ; then
48710 if test "$wxUSE_INICONF" = "yes"; then
48711 cat >>confdefs.h <<\_ACEOF
48712 #define wxUSE_INICONF 1
48713 _ACEOF
48714
48715 fi
48716
48717 if test "$wxUSE_REGKEY" = "yes"; then
48718 cat >>confdefs.h <<\_ACEOF
48719 #define wxUSE_REGKEY 1
48720 _ACEOF
48721
48722 fi
48723 fi
48724
48725
48726 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48727 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48728 cat >>confdefs.h <<\_ACEOF
48729 #define wxUSE_GRAPHICS_CONTEXT 1
48730 _ACEOF
48731
48732 elif test "$wxUSE_GTK" != 1; then
48733 cat >>confdefs.h <<\_ACEOF
48734 #define wxUSE_GRAPHICS_CONTEXT 1
48735 _ACEOF
48736
48737 else
48738
48739 pkg_failed=no
48740 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48741 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48742
48743 if test -n "$PKG_CONFIG"; then
48744 if test -n "$CAIRO_CFLAGS"; then
48745 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48746 else
48747 if test -n "$PKG_CONFIG" && \
48748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48749 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48750 ac_status=$?
48751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48752 (exit $ac_status); }; then
48753 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48754 else
48755 pkg_failed=yes
48756 fi
48757 fi
48758 else
48759 pkg_failed=untried
48760 fi
48761 if test -n "$PKG_CONFIG"; then
48762 if test -n "$CAIRO_LIBS"; then
48763 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48764 else
48765 if test -n "$PKG_CONFIG" && \
48766 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48767 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48768 ac_status=$?
48769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770 (exit $ac_status); }; then
48771 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48772 else
48773 pkg_failed=yes
48774 fi
48775 fi
48776 else
48777 pkg_failed=untried
48778 fi
48779
48780
48781
48782 if test $pkg_failed = yes; then
48783
48784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48785 _pkg_short_errors_supported=yes
48786 else
48787 _pkg_short_errors_supported=no
48788 fi
48789 if test $_pkg_short_errors_supported = yes; then
48790 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48791 else
48792 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48793 fi
48794 # Put the nasty error message in config.log where it belongs
48795 echo "$CAIRO_PKG_ERRORS" >&5
48796
48797 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48798 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48799
48800 elif test $pkg_failed = untried; then
48801 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48802 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48803
48804 else
48805 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48806 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48807 { echo "$as_me:$LINENO: result: yes" >&5
48808 echo "${ECHO_T}yes" >&6; }
48809 cat >>confdefs.h <<\_ACEOF
48810 #define wxUSE_GRAPHICS_CONTEXT 1
48811 _ACEOF
48812
48813 fi
48814 fi
48815 fi
48816
48817
48818 USE_MEDIA=0
48819
48820 if test "$wxUSE_MEDIACTRL" = "yes"; then
48821 USE_MEDIA=1
48822
48823 if test "$wxUSE_GTK" = 1; then
48824 wxUSE_GSTREAMER="no"
48825
48826 GST_VERSION_MAJOR=0
48827 GST_VERSION_MINOR=10
48828 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48829
48830 if test "$wxUSE_GSTREAMER8" = "no"; then
48831
48832 pkg_failed=no
48833 { echo "$as_me:$LINENO: checking for GST" >&5
48834 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48835
48836 if test -n "$PKG_CONFIG"; then
48837 if test -n "$GST_CFLAGS"; then
48838 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48839 else
48840 if test -n "$PKG_CONFIG" && \
48841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48842 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48843 ac_status=$?
48844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48845 (exit $ac_status); }; then
48846 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48847 else
48848 pkg_failed=yes
48849 fi
48850 fi
48851 else
48852 pkg_failed=untried
48853 fi
48854 if test -n "$PKG_CONFIG"; then
48855 if test -n "$GST_LIBS"; then
48856 pkg_cv_GST_LIBS="$GST_LIBS"
48857 else
48858 if test -n "$PKG_CONFIG" && \
48859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48860 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48861 ac_status=$?
48862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48863 (exit $ac_status); }; then
48864 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48865 else
48866 pkg_failed=yes
48867 fi
48868 fi
48869 else
48870 pkg_failed=untried
48871 fi
48872
48873
48874
48875 if test $pkg_failed = yes; then
48876
48877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48878 _pkg_short_errors_supported=yes
48879 else
48880 _pkg_short_errors_supported=no
48881 fi
48882 if test $_pkg_short_errors_supported = yes; then
48883 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48884 else
48885 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48886 fi
48887 # Put the nasty error message in config.log where it belongs
48888 echo "$GST_PKG_ERRORS" >&5
48889
48890
48891 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48892 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48893 GST_VERSION_MINOR=8
48894
48895
48896 elif test $pkg_failed = untried; then
48897
48898 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48899 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48900 GST_VERSION_MINOR=8
48901
48902
48903 else
48904 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48905 GST_LIBS=$pkg_cv_GST_LIBS
48906 { echo "$as_me:$LINENO: result: yes" >&5
48907 echo "${ECHO_T}yes" >&6; }
48908
48909 wxUSE_GSTREAMER="yes"
48910 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48911
48912 fi
48913 else
48914 GST_VERSION_MINOR=8
48915 fi
48916
48917 if test $GST_VERSION_MINOR = "8"; then
48918 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48919
48920 pkg_failed=no
48921 { echo "$as_me:$LINENO: checking for GST" >&5
48922 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48923
48924 if test -n "$PKG_CONFIG"; then
48925 if test -n "$GST_CFLAGS"; then
48926 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48927 else
48928 if test -n "$PKG_CONFIG" && \
48929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48930 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48931 ac_status=$?
48932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48933 (exit $ac_status); }; then
48934 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48935 else
48936 pkg_failed=yes
48937 fi
48938 fi
48939 else
48940 pkg_failed=untried
48941 fi
48942 if test -n "$PKG_CONFIG"; then
48943 if test -n "$GST_LIBS"; then
48944 pkg_cv_GST_LIBS="$GST_LIBS"
48945 else
48946 if test -n "$PKG_CONFIG" && \
48947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48948 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48949 ac_status=$?
48950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48951 (exit $ac_status); }; then
48952 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48953 else
48954 pkg_failed=yes
48955 fi
48956 fi
48957 else
48958 pkg_failed=untried
48959 fi
48960
48961
48962
48963 if test $pkg_failed = yes; then
48964
48965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48966 _pkg_short_errors_supported=yes
48967 else
48968 _pkg_short_errors_supported=no
48969 fi
48970 if test $_pkg_short_errors_supported = yes; then
48971 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48972 else
48973 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48974 fi
48975 # Put the nasty error message in config.log where it belongs
48976 echo "$GST_PKG_ERRORS" >&5
48977
48978
48979 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48980 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48981
48982 elif test $pkg_failed = untried; then
48983
48984 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48985 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48986
48987 else
48988 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48989 GST_LIBS=$pkg_cv_GST_LIBS
48990 { echo "$as_me:$LINENO: result: yes" >&5
48991 echo "${ECHO_T}yes" >&6; }
48992 wxUSE_GSTREAMER="yes"
48993 fi
48994 fi
48995
48996
48997 if test "$wxUSE_GSTREAMER" = "yes"; then
48998 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48999 LIBS="$GST_LIBS $LIBS"
49000
49001 cat >>confdefs.h <<\_ACEOF
49002 #define wxUSE_GSTREAMER 1
49003 _ACEOF
49004
49005 else
49006 USE_MEDIA=0
49007 fi
49008 fi
49009
49010 if test $USE_MEDIA = 1; then
49011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49012 cat >>confdefs.h <<\_ACEOF
49013 #define wxUSE_MEDIACTRL 1
49014 _ACEOF
49015
49016 fi
49017 fi
49018
49019
49020 if test "$cross_compiling" = "yes"; then
49021 OSINFO="\"$host\""
49022 else
49023 OSINFO=`uname -s -r -m`
49024 OSINFO="\"$OSINFO\""
49025 fi
49026
49027 cat >>confdefs.h <<_ACEOF
49028 #define WXWIN_OS_DESCRIPTION $OSINFO
49029 _ACEOF
49030
49031
49032
49033 if test "x$prefix" != "xNONE"; then
49034 wxPREFIX=$prefix
49035 else
49036 wxPREFIX=$ac_default_prefix
49037 fi
49038
49039 cat >>confdefs.h <<_ACEOF
49040 #define wxINSTALL_PREFIX "$wxPREFIX"
49041 _ACEOF
49042
49043
49044
49045
49046 STD_BASE_LIBS="base"
49047 STD_GUI_LIBS=""
49048 BUILT_WX_LIBS="base"
49049 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49050
49051 if test "$wxUSE_SOCKETS" = "yes" ; then
49052 STD_BASE_LIBS="net $STD_BASE_LIBS"
49053 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49054 fi
49055 if test "$wxUSE_ODBC" != "no" ; then
49056 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49057 fi
49058 if test "$wxUSE_XML" = "yes" ; then
49059 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49060 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49061 fi
49062
49063 if test "$wxUSE_GUI" = "yes"; then
49064 STD_GUI_LIBS="adv core"
49065 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49066
49067 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49068 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49069 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49070 fi
49071 if test "$wxUSE_ODBC" != "no" ; then
49072 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49073 fi
49074 if test "$wxUSE_HTML" = "yes" ; then
49075 STD_GUI_LIBS="html $STD_GUI_LIBS"
49076 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49077 fi
49078 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49079 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49080 fi
49081 if test "$wxUSE_OPENGL" = "yes" ; then
49082 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49083 fi
49084 if test "$wxUSE_AUI" = "yes" ; then
49085 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49086 fi
49087 if test "$wxUSE_STC" = "yes" ; then
49088 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49089 fi
49090 if test "$wxUSE_XRC" = "yes" ; then
49091 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49092 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49093 fi
49094 fi
49095
49096
49097
49098
49099
49100
49101
49102
49103 if test "$wxUSE_MAC" = 1 ; then
49104 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49105 if test "$USE_DARWIN" = 1; then
49106 LDFLAGS="$LDFLAGS -framework QuickTime"
49107 else
49108 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49109 fi
49110 fi
49111 if test "$USE_DARWIN" = 1; then
49112 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49113 else
49114 LDFLAGS="$LDFLAGS -lCarbonLib"
49115 fi
49116 fi
49117 if test "$wxUSE_COCOA" = 1 ; then
49118 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49119 if test "$wxUSE_MEDIACTRL" = "yes"; then
49120 LDFLAGS="$LDFLAGS -framework QuickTime"
49121 fi
49122 fi
49123 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49124 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49125 fi
49126
49127 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49128
49129 if test "$wxUSE_GUI" = "yes"; then
49130
49131
49132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49133 erase event exec font image minimal mobile \
49134 mobile/wxedit mobile/styles render \
49135 shaped svg taborder vscroll widgets"
49136
49137 if test "$wxUSE_MONOLITHIC" != "yes"; then
49138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49139 fi
49140 if test "$TOOLKIT" = "MSW"; then
49141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49142 if test "$wxUSE_UNIVERSAL" != "yes"; then
49143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49144 fi
49145 fi
49146 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49148 fi
49149 else
49150 SAMPLES_SUBDIRS="console"
49151 fi
49152
49153
49154 if test "x$INTELCC" = "xyes" ; then
49155 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49156 elif test "$GCC" = yes ; then
49157 CWARNINGS="-Wall -Wundef"
49158 fi
49159
49160 if test "x$INTELCXX" = "xyes" ; then
49161 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49162 elif test "$GXX" = yes ; then
49163 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49164 fi
49165
49166
49167 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49168 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49169
49170
49171 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49172 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49173 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49174 $CPPFLAGS `
49175
49176 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49177 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49178 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49179
49180 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49181
49182
49183 if test "x$MWCC" = "xyes"; then
49184
49185 CC="$CC -cwd source -I-"
49186 CXX="$CXX -cwd source -I-"
49187 fi
49188
49189
49190 LIBS=`echo $LIBS`
49191 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49192 EXTRALIBS_XML="$EXPAT_LINK"
49193 EXTRALIBS_HTML="$MSPACK_LINK"
49194 EXTRALIBS_ODBC="$ODBC_LINK"
49195 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49196 if test "$wxUSE_GUI" = "yes"; then
49197 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49198 fi
49199 if test "$wxUSE_OPENGL" = "yes"; then
49200 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49201 fi
49202
49203 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49204
49205 WXCONFIG_LIBS="$LIBS"
49206
49207 if test "$wxUSE_REGEX" = "builtin" ; then
49208 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49209 fi
49210 if test "$wxUSE_EXPAT" = "builtin" ; then
49211 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49212 fi
49213 if test "$wxUSE_ODBC" = "builtin" ; then
49214 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49215 fi
49216 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49217 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49218 fi
49219 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49220 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49221 fi
49222 if test "$wxUSE_LIBPNG" = "builtin" ; then
49223 wxconfig_3rdparty="png $wxconfig_3rdparty"
49224 fi
49225 if test "$wxUSE_ZLIB" = "builtin" ; then
49226 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49227 fi
49228
49229 for i in $wxconfig_3rdparty ; do
49230 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49231 done
49232
49233
49234 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49235 WXUNIV=1
49236
49237 case "$wxUNIV_THEMES" in
49238 ''|all)
49239 cat >>confdefs.h <<\_ACEOF
49240 #define wxUSE_ALL_THEMES 1
49241 _ACEOF
49242
49243 ;;
49244
49245 *)
49246 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49247 cat >>confdefs.h <<_ACEOF
49248 #define wxUSE_THEME_$t 1
49249 _ACEOF
49250
49251 done
49252 esac
49253 else
49254 WXUNIV=0
49255 fi
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265 if test $wxUSE_MONOLITHIC = "yes" ; then
49266 MONOLITHIC=1
49267 else
49268 MONOLITHIC=0
49269 fi
49270
49271 if test $wxUSE_PLUGINS = "yes" ; then
49272 USE_PLUGINS=1
49273 else
49274 USE_PLUGINS=0
49275 fi
49276
49277 if test $wxUSE_ODBC != "no" ; then
49278 USE_ODBC=1
49279 else
49280 USE_ODBC=0
49281 fi
49282
49283 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49284 USE_QA=1
49285 else
49286 USE_QA=0
49287 fi
49288
49289 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49290 OFFICIAL_BUILD=1
49291 else
49292 OFFICIAL_BUILD=0
49293 fi
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49322
49323
49324
49325
49326
49327
49328
49329
49330 case "$TOOLKIT" in
49331 GTK)
49332 TOOLKIT_DESC="GTK+"
49333 if test "$WXGTK20" = 1; then
49334 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49335 if test "$wxUSE_GTKPRINT" = "yes" ; then
49336 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49337 fi
49338 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49339 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49340 fi
49341 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49342 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49343 fi
49344 if test "$wxUSE_LIBHILDON" = "yes"; then
49345 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49346 fi
49347
49348 if test "$TOOLKIT_EXTRA" != ""; then
49349 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49350 fi
49351 fi
49352 ;;
49353
49354 ?*)
49355 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49356 ;;
49357
49358 *)
49359 TOOLKIT_DESC="base only"
49360 ;;
49361 esac
49362
49363 if test "$wxUSE_WINE" = "yes"; then
49364 BAKEFILE_FORCE_PLATFORM=win32
49365 fi
49366
49367 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49368 then
49369 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49370 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49371 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49372 echo $ECHO_N "(cached) $ECHO_C" >&6
49373 else
49374
49375 echo '#include <stdio.h>
49376 const wchar_t test_var[] = L"awidetest";' > conftest.h
49377
49378 echo '#include "conftest.h"
49379 int main()
49380 {
49381 printf("%ls", test_var);
49382 return 0;
49383 }' > conftest.cpp
49384
49385 wx_cv_gcc_pch_bug="pch not supported"
49386
49387 if $CXX conftest.h >/dev/null 2>&1
49388 then
49389 wx_cv_gcc_pch_bug=
49390
49391 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49392 then
49393 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49394 grep awidetest >/dev/null
49395 then
49396 wx_cv_gcc_pch_bug=no
49397 else
49398 wx_cv_gcc_pch_bug=yes
49399 fi
49400 fi
49401 fi
49402
49403 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49404
49405 fi
49406 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49407 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49408
49409 if test "$wx_cv_gcc_pch_bug" = yes; then
49410 bk_use_pch=no
49411 fi
49412 fi
49413
49414
49415
49416
49417 if test "x$BAKEFILE_HOST" = "x"; then
49418 if test "x${host}" = "x" ; then
49419 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49420 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49421 { (exit 1); exit 1; }; }
49422 fi
49423
49424 BAKEFILE_HOST="${host}"
49425 fi
49426
49427 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49428
49429 if test -n "$ac_tool_prefix"; then
49430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49431 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49434 if test "${ac_cv_prog_RANLIB+set}" = set; then
49435 echo $ECHO_N "(cached) $ECHO_C" >&6
49436 else
49437 if test -n "$RANLIB"; then
49438 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49439 else
49440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49441 for as_dir in $PATH
49442 do
49443 IFS=$as_save_IFS
49444 test -z "$as_dir" && as_dir=.
49445 for ac_exec_ext in '' $ac_executable_extensions; do
49446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49447 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49449 break 2
49450 fi
49451 done
49452 done
49453 IFS=$as_save_IFS
49454
49455 fi
49456 fi
49457 RANLIB=$ac_cv_prog_RANLIB
49458 if test -n "$RANLIB"; then
49459 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49460 echo "${ECHO_T}$RANLIB" >&6; }
49461 else
49462 { echo "$as_me:$LINENO: result: no" >&5
49463 echo "${ECHO_T}no" >&6; }
49464 fi
49465
49466
49467 fi
49468 if test -z "$ac_cv_prog_RANLIB"; then
49469 ac_ct_RANLIB=$RANLIB
49470 # Extract the first word of "ranlib", so it can be a program name with args.
49471 set dummy ranlib; ac_word=$2
49472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49474 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49475 echo $ECHO_N "(cached) $ECHO_C" >&6
49476 else
49477 if test -n "$ac_ct_RANLIB"; then
49478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49479 else
49480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49481 for as_dir in $PATH
49482 do
49483 IFS=$as_save_IFS
49484 test -z "$as_dir" && as_dir=.
49485 for ac_exec_ext in '' $ac_executable_extensions; do
49486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49487 ac_cv_prog_ac_ct_RANLIB="ranlib"
49488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49489 break 2
49490 fi
49491 done
49492 done
49493 IFS=$as_save_IFS
49494
49495 fi
49496 fi
49497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49498 if test -n "$ac_ct_RANLIB"; then
49499 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49500 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49501 else
49502 { echo "$as_me:$LINENO: result: no" >&5
49503 echo "${ECHO_T}no" >&6; }
49504 fi
49505
49506 if test "x$ac_ct_RANLIB" = x; then
49507 RANLIB=":"
49508 else
49509 case $cross_compiling:$ac_tool_warned in
49510 yes:)
49511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49512 whose name does not start with the host triplet. If you think this
49513 configuration is useful to you, please write to autoconf@gnu.org." >&5
49514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49515 whose name does not start with the host triplet. If you think this
49516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49517 ac_tool_warned=yes ;;
49518 esac
49519 RANLIB=$ac_ct_RANLIB
49520 fi
49521 else
49522 RANLIB="$ac_cv_prog_RANLIB"
49523 fi
49524
49525 # Find a good install program. We prefer a C program (faster),
49526 # so one script is as good as another. But avoid the broken or
49527 # incompatible versions:
49528 # SysV /etc/install, /usr/sbin/install
49529 # SunOS /usr/etc/install
49530 # IRIX /sbin/install
49531 # AIX /bin/install
49532 # AmigaOS /C/install, which installs bootblocks on floppy discs
49533 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49536 # OS/2's system install, which has a completely different semantic
49537 # ./install, which can be erroneously created by make from ./install.sh.
49538 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49539 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49540 if test -z "$INSTALL"; then
49541 if test "${ac_cv_path_install+set}" = set; then
49542 echo $ECHO_N "(cached) $ECHO_C" >&6
49543 else
49544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49545 for as_dir in $PATH
49546 do
49547 IFS=$as_save_IFS
49548 test -z "$as_dir" && as_dir=.
49549 # Account for people who put trailing slashes in PATH elements.
49550 case $as_dir/ in
49551 ./ | .// | /cC/* | \
49552 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49553 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49554 /usr/ucb/* ) ;;
49555 *)
49556 # OSF1 and SCO ODT 3.0 have their own names for install.
49557 # Don't use installbsd from OSF since it installs stuff as root
49558 # by default.
49559 for ac_prog in ginstall scoinst install; do
49560 for ac_exec_ext in '' $ac_executable_extensions; do
49561 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49562 if test $ac_prog = install &&
49563 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49564 # AIX install. It has an incompatible calling convention.
49565 :
49566 elif test $ac_prog = install &&
49567 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49568 # program-specific install script used by HP pwplus--don't use.
49569 :
49570 else
49571 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49572 break 3
49573 fi
49574 fi
49575 done
49576 done
49577 ;;
49578 esac
49579 done
49580 IFS=$as_save_IFS
49581
49582
49583 fi
49584 if test "${ac_cv_path_install+set}" = set; then
49585 INSTALL=$ac_cv_path_install
49586 else
49587 # As a last resort, use the slow shell script. Don't cache a
49588 # value for INSTALL within a source directory, because that will
49589 # break other packages using the cache if that directory is
49590 # removed, or if the value is a relative name.
49591 INSTALL=$ac_install_sh
49592 fi
49593 fi
49594 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49595 echo "${ECHO_T}$INSTALL" >&6; }
49596
49597 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49598 # It thinks the first close brace ends the variable substitution.
49599 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49600
49601 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49602
49603 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49604
49605 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49606 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49607 LN_S=$as_ln_s
49608 if test "$LN_S" = "ln -s"; then
49609 { echo "$as_me:$LINENO: result: yes" >&5
49610 echo "${ECHO_T}yes" >&6; }
49611 else
49612 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49613 echo "${ECHO_T}no, using $LN_S" >&6; }
49614 fi
49615
49616
49617 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49618 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49619 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49620 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49621 echo $ECHO_N "(cached) $ECHO_C" >&6
49622 else
49623 cat >conftest.make <<\_ACEOF
49624 SHELL = /bin/sh
49625 all:
49626 @echo '@@@%%%=$(MAKE)=@@@%%%'
49627 _ACEOF
49628 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49630 *@@@%%%=?*=@@@%%%*)
49631 eval ac_cv_prog_make_${ac_make}_set=yes;;
49632 *)
49633 eval ac_cv_prog_make_${ac_make}_set=no;;
49634 esac
49635 rm -f conftest.make
49636 fi
49637 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49638 { echo "$as_me:$LINENO: result: yes" >&5
49639 echo "${ECHO_T}yes" >&6; }
49640 SET_MAKE=
49641 else
49642 { echo "$as_me:$LINENO: result: no" >&5
49643 echo "${ECHO_T}no" >&6; }
49644 SET_MAKE="MAKE=${MAKE-make}"
49645 fi
49646
49647
49648
49649 if test "x$SUNCXX" = "xyes"; then
49650 AR=$CXX
49651 AROPTIONS="-xar -o"
49652
49653 elif test "x$SGICC" = "xyes"; then
49654 AR=$CXX
49655 AROPTIONS="-ar -o"
49656
49657 else
49658 if test -n "$ac_tool_prefix"; then
49659 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49660 set dummy ${ac_tool_prefix}ar; ac_word=$2
49661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49663 if test "${ac_cv_prog_AR+set}" = set; then
49664 echo $ECHO_N "(cached) $ECHO_C" >&6
49665 else
49666 if test -n "$AR"; then
49667 ac_cv_prog_AR="$AR" # Let the user override the test.
49668 else
49669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49670 for as_dir in $PATH
49671 do
49672 IFS=$as_save_IFS
49673 test -z "$as_dir" && as_dir=.
49674 for ac_exec_ext in '' $ac_executable_extensions; do
49675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49676 ac_cv_prog_AR="${ac_tool_prefix}ar"
49677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49678 break 2
49679 fi
49680 done
49681 done
49682 IFS=$as_save_IFS
49683
49684 fi
49685 fi
49686 AR=$ac_cv_prog_AR
49687 if test -n "$AR"; then
49688 { echo "$as_me:$LINENO: result: $AR" >&5
49689 echo "${ECHO_T}$AR" >&6; }
49690 else
49691 { echo "$as_me:$LINENO: result: no" >&5
49692 echo "${ECHO_T}no" >&6; }
49693 fi
49694
49695
49696 fi
49697 if test -z "$ac_cv_prog_AR"; then
49698 ac_ct_AR=$AR
49699 # Extract the first word of "ar", so it can be a program name with args.
49700 set dummy ar; ac_word=$2
49701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49703 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49704 echo $ECHO_N "(cached) $ECHO_C" >&6
49705 else
49706 if test -n "$ac_ct_AR"; then
49707 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49708 else
49709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49710 for as_dir in $PATH
49711 do
49712 IFS=$as_save_IFS
49713 test -z "$as_dir" && as_dir=.
49714 for ac_exec_ext in '' $ac_executable_extensions; do
49715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49716 ac_cv_prog_ac_ct_AR="ar"
49717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49718 break 2
49719 fi
49720 done
49721 done
49722 IFS=$as_save_IFS
49723
49724 fi
49725 fi
49726 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49727 if test -n "$ac_ct_AR"; then
49728 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49729 echo "${ECHO_T}$ac_ct_AR" >&6; }
49730 else
49731 { echo "$as_me:$LINENO: result: no" >&5
49732 echo "${ECHO_T}no" >&6; }
49733 fi
49734
49735 if test "x$ac_ct_AR" = x; then
49736 AR="ar"
49737 else
49738 case $cross_compiling:$ac_tool_warned in
49739 yes:)
49740 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49741 whose name does not start with the host triplet. If you think this
49742 configuration is useful to you, please write to autoconf@gnu.org." >&5
49743 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49744 whose name does not start with the host triplet. If you think this
49745 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49746 ac_tool_warned=yes ;;
49747 esac
49748 AR=$ac_ct_AR
49749 fi
49750 else
49751 AR="$ac_cv_prog_AR"
49752 fi
49753
49754 AROPTIONS=rcu
49755 fi
49756
49757
49758 if test -n "$ac_tool_prefix"; then
49759 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49760 set dummy ${ac_tool_prefix}strip; ac_word=$2
49761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49763 if test "${ac_cv_prog_STRIP+set}" = set; then
49764 echo $ECHO_N "(cached) $ECHO_C" >&6
49765 else
49766 if test -n "$STRIP"; then
49767 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49768 else
49769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49770 for as_dir in $PATH
49771 do
49772 IFS=$as_save_IFS
49773 test -z "$as_dir" && as_dir=.
49774 for ac_exec_ext in '' $ac_executable_extensions; do
49775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49776 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49778 break 2
49779 fi
49780 done
49781 done
49782 IFS=$as_save_IFS
49783
49784 fi
49785 fi
49786 STRIP=$ac_cv_prog_STRIP
49787 if test -n "$STRIP"; then
49788 { echo "$as_me:$LINENO: result: $STRIP" >&5
49789 echo "${ECHO_T}$STRIP" >&6; }
49790 else
49791 { echo "$as_me:$LINENO: result: no" >&5
49792 echo "${ECHO_T}no" >&6; }
49793 fi
49794
49795
49796 fi
49797 if test -z "$ac_cv_prog_STRIP"; then
49798 ac_ct_STRIP=$STRIP
49799 # Extract the first word of "strip", so it can be a program name with args.
49800 set dummy strip; ac_word=$2
49801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49803 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49804 echo $ECHO_N "(cached) $ECHO_C" >&6
49805 else
49806 if test -n "$ac_ct_STRIP"; then
49807 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49808 else
49809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49810 for as_dir in $PATH
49811 do
49812 IFS=$as_save_IFS
49813 test -z "$as_dir" && as_dir=.
49814 for ac_exec_ext in '' $ac_executable_extensions; do
49815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49816 ac_cv_prog_ac_ct_STRIP="strip"
49817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49818 break 2
49819 fi
49820 done
49821 done
49822 IFS=$as_save_IFS
49823
49824 fi
49825 fi
49826 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49827 if test -n "$ac_ct_STRIP"; then
49828 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49829 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49830 else
49831 { echo "$as_me:$LINENO: result: no" >&5
49832 echo "${ECHO_T}no" >&6; }
49833 fi
49834
49835 if test "x$ac_ct_STRIP" = x; then
49836 STRIP=":"
49837 else
49838 case $cross_compiling:$ac_tool_warned in
49839 yes:)
49840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49841 whose name does not start with the host triplet. If you think this
49842 configuration is useful to you, please write to autoconf@gnu.org." >&5
49843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49844 whose name does not start with the host triplet. If you think this
49845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49846 ac_tool_warned=yes ;;
49847 esac
49848 STRIP=$ac_ct_STRIP
49849 fi
49850 else
49851 STRIP="$ac_cv_prog_STRIP"
49852 fi
49853
49854 if test -n "$ac_tool_prefix"; then
49855 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49856 set dummy ${ac_tool_prefix}nm; ac_word=$2
49857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49859 if test "${ac_cv_prog_NM+set}" = set; then
49860 echo $ECHO_N "(cached) $ECHO_C" >&6
49861 else
49862 if test -n "$NM"; then
49863 ac_cv_prog_NM="$NM" # Let the user override the test.
49864 else
49865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49866 for as_dir in $PATH
49867 do
49868 IFS=$as_save_IFS
49869 test -z "$as_dir" && as_dir=.
49870 for ac_exec_ext in '' $ac_executable_extensions; do
49871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49872 ac_cv_prog_NM="${ac_tool_prefix}nm"
49873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49874 break 2
49875 fi
49876 done
49877 done
49878 IFS=$as_save_IFS
49879
49880 fi
49881 fi
49882 NM=$ac_cv_prog_NM
49883 if test -n "$NM"; then
49884 { echo "$as_me:$LINENO: result: $NM" >&5
49885 echo "${ECHO_T}$NM" >&6; }
49886 else
49887 { echo "$as_me:$LINENO: result: no" >&5
49888 echo "${ECHO_T}no" >&6; }
49889 fi
49890
49891
49892 fi
49893 if test -z "$ac_cv_prog_NM"; then
49894 ac_ct_NM=$NM
49895 # Extract the first word of "nm", so it can be a program name with args.
49896 set dummy nm; ac_word=$2
49897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49899 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49900 echo $ECHO_N "(cached) $ECHO_C" >&6
49901 else
49902 if test -n "$ac_ct_NM"; then
49903 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49904 else
49905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49906 for as_dir in $PATH
49907 do
49908 IFS=$as_save_IFS
49909 test -z "$as_dir" && as_dir=.
49910 for ac_exec_ext in '' $ac_executable_extensions; do
49911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49912 ac_cv_prog_ac_ct_NM="nm"
49913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49914 break 2
49915 fi
49916 done
49917 done
49918 IFS=$as_save_IFS
49919
49920 fi
49921 fi
49922 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49923 if test -n "$ac_ct_NM"; then
49924 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49925 echo "${ECHO_T}$ac_ct_NM" >&6; }
49926 else
49927 { echo "$as_me:$LINENO: result: no" >&5
49928 echo "${ECHO_T}no" >&6; }
49929 fi
49930
49931 if test "x$ac_ct_NM" = x; then
49932 NM=":"
49933 else
49934 case $cross_compiling:$ac_tool_warned in
49935 yes:)
49936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49937 whose name does not start with the host triplet. If you think this
49938 configuration is useful to you, please write to autoconf@gnu.org." >&5
49939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49940 whose name does not start with the host triplet. If you think this
49941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49942 ac_tool_warned=yes ;;
49943 esac
49944 NM=$ac_ct_NM
49945 fi
49946 else
49947 NM="$ac_cv_prog_NM"
49948 fi
49949
49950
49951 case ${BAKEFILE_HOST} in
49952 *-hp-hpux* )
49953 INSTALL_DIR="mkdir -p"
49954 ;;
49955 * )
49956 INSTALL_DIR='$(INSTALL) -d'
49957 ;;
49958 esac
49959
49960
49961 LDFLAGS_GUI=
49962 case ${BAKEFILE_HOST} in
49963 *-*-cygwin* | *-*-mingw32* )
49964 LDFLAGS_GUI="-mwindows"
49965 esac
49966
49967
49968 fi
49969
49970 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49971 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49972 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49973 echo $ECHO_N "(cached) $ECHO_C" >&6
49974 else
49975
49976 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49977 egrep -s GNU > /dev/null); then
49978 bakefile_cv_prog_makeisgnu="yes"
49979 else
49980 bakefile_cv_prog_makeisgnu="no"
49981 fi
49982
49983 fi
49984 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49985 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49986
49987 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49988 IF_GNU_MAKE=""
49989 else
49990 IF_GNU_MAKE="#"
49991 fi
49992
49993
49994
49995 PLATFORM_UNIX=0
49996 PLATFORM_WIN32=0
49997 PLATFORM_MSDOS=0
49998 PLATFORM_MAC=0
49999 PLATFORM_MACOS=0
50000 PLATFORM_MACOSX=0
50001 PLATFORM_OS2=0
50002 PLATFORM_BEOS=0
50003
50004 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50005 case "${BAKEFILE_HOST}" in
50006 *-*-mingw32* )
50007 PLATFORM_WIN32=1
50008 ;;
50009 *-pc-msdosdjgpp )
50010 PLATFORM_MSDOS=1
50011 ;;
50012 *-pc-os2_emx | *-pc-os2-emx )
50013 PLATFORM_OS2=1
50014 ;;
50015 *-*-darwin* )
50016 PLATFORM_MAC=1
50017 PLATFORM_MACOSX=1
50018 ;;
50019 *-*-beos* )
50020 PLATFORM_BEOS=1
50021 ;;
50022 powerpc-apple-macos* )
50023 PLATFORM_MAC=1
50024 PLATFORM_MACOS=1
50025 ;;
50026 * )
50027 PLATFORM_UNIX=1
50028 ;;
50029 esac
50030 else
50031 case "$BAKEFILE_FORCE_PLATFORM" in
50032 win32 )
50033 PLATFORM_WIN32=1
50034 ;;
50035 msdos )
50036 PLATFORM_MSDOS=1
50037 ;;
50038 os2 )
50039 PLATFORM_OS2=1
50040 ;;
50041 darwin )
50042 PLATFORM_MAC=1
50043 PLATFORM_MACOSX=1
50044 ;;
50045 unix )
50046 PLATFORM_UNIX=1
50047 ;;
50048 beos )
50049 PLATFORM_BEOS=1
50050 ;;
50051 * )
50052 ;;
50053 esac
50054 fi
50055
50056
50057
50058
50059
50060
50061
50062
50063
50064
50065
50066 # Check whether --enable-omf was given.
50067 if test "${enable_omf+set}" = set; then
50068 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50069 fi
50070
50071
50072 case "${BAKEFILE_HOST}" in
50073 *-*-darwin* )
50074 if test "x$GCC" = "xyes"; then
50075 CFLAGS="$CFLAGS -fno-common"
50076 CXXFLAGS="$CXXFLAGS -fno-common"
50077 fi
50078 if test "x$XLCC" = "xyes"; then
50079 CFLAGS="$CFLAGS -qnocommon"
50080 CXXFLAGS="$CXXFLAGS -qnocommon"
50081 fi
50082 ;;
50083
50084 *-pc-os2_emx | *-pc-os2-emx )
50085 if test "x$bk_os2_use_omf" = "xyes" ; then
50086 AR=emxomfar
50087 RANLIB=:
50088 LDFLAGS="-Zomf $LDFLAGS"
50089 CFLAGS="-Zomf $CFLAGS"
50090 CXXFLAGS="-Zomf $CXXFLAGS"
50091 OS2_LIBEXT="lib"
50092 else
50093 OS2_LIBEXT="a"
50094 fi
50095 ;;
50096
50097 i*86-*-beos* )
50098 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50099 ;;
50100 esac
50101
50102
50103 SO_SUFFIX="so"
50104 SO_SUFFIX_MODULE="so"
50105 EXEEXT=""
50106 LIBPREFIX="lib"
50107 LIBEXT=".a"
50108 DLLPREFIX="lib"
50109 DLLPREFIX_MODULE=""
50110 DLLIMP_SUFFIX=""
50111 dlldir="$libdir"
50112
50113 case "${BAKEFILE_HOST}" in
50114 *-hp-hpux* )
50115 SO_SUFFIX="sl"
50116 SO_SUFFIX_MODULE="sl"
50117 ;;
50118 *-*-aix* )
50119 SO_SUFFIX="a"
50120 SO_SUFFIX_MODULE="a"
50121 ;;
50122 *-*-cygwin* )
50123 SO_SUFFIX="dll"
50124 SO_SUFFIX_MODULE="dll"
50125 DLLIMP_SUFFIX="dll.a"
50126 EXEEXT=".exe"
50127 DLLPREFIX="cyg"
50128 dlldir="$bindir"
50129 ;;
50130 *-*-mingw32* )
50131 SO_SUFFIX="dll"
50132 SO_SUFFIX_MODULE="dll"
50133 DLLIMP_SUFFIX="dll.a"
50134 EXEEXT=".exe"
50135 DLLPREFIX=""
50136 dlldir="$bindir"
50137 ;;
50138 *-pc-msdosdjgpp )
50139 EXEEXT=".exe"
50140 DLLPREFIX=""
50141 dlldir="$bindir"
50142 ;;
50143 *-pc-os2_emx | *-pc-os2-emx )
50144 SO_SUFFIX="dll"
50145 SO_SUFFIX_MODULE="dll"
50146 DLLIMP_SUFFIX=$OS2_LIBEXT
50147 EXEEXT=".exe"
50148 DLLPREFIX=""
50149 LIBPREFIX=""
50150 LIBEXT=".$OS2_LIBEXT"
50151 dlldir="$bindir"
50152 ;;
50153 *-*-darwin* )
50154 SO_SUFFIX="dylib"
50155 SO_SUFFIX_MODULE="bundle"
50156 ;;
50157 esac
50158
50159 if test "x$DLLIMP_SUFFIX" = "x" ; then
50160 DLLIMP_SUFFIX="$SO_SUFFIX"
50161 fi
50162
50163
50164
50165
50166
50167
50168
50169
50170
50171
50172
50173
50174 PIC_FLAG=""
50175 if test "x$GCC" = "xyes"; then
50176 PIC_FLAG="-fPIC"
50177 fi
50178
50179 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50180 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50181 WINDOWS_IMPLIB=0
50182
50183 case "${BAKEFILE_HOST}" in
50184 *-hp-hpux* )
50185 if test "x$GCC" != "xyes"; then
50186 LDFLAGS="$LDFLAGS -L/usr/lib"
50187
50188 SHARED_LD_CC="${CC} -b -o"
50189 SHARED_LD_CXX="${CXX} -b -o"
50190 PIC_FLAG="+Z"
50191 fi
50192 ;;
50193
50194 *-*-linux* )
50195 if test "$INTELCC" = "yes"; then
50196 PIC_FLAG="-KPIC"
50197 elif test "x$SUNCXX" = "xyes"; then
50198 SHARED_LD_CC="${CC} -G -o"
50199 SHARED_LD_CXX="${CXX} -G -o"
50200 PIC_FLAG="-KPIC"
50201 fi
50202 ;;
50203
50204 *-*-solaris2* )
50205 if test "x$SUNCXX" = xyes ; then
50206 SHARED_LD_CC="${CC} -G -o"
50207 SHARED_LD_CXX="${CXX} -G -o"
50208 PIC_FLAG="-KPIC"
50209 fi
50210 ;;
50211
50212 *-*-darwin* )
50213
50214 D='$'
50215 cat <<EOF >shared-ld-sh
50216 #!/bin/sh
50217 #-----------------------------------------------------------------------------
50218 #-- Name: distrib/mac/shared-ld-sh
50219 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50220 #-- Author: Gilles Depeyrot
50221 #-- Copyright: (c) 2002 Gilles Depeyrot
50222 #-- Licence: any use permitted
50223 #-----------------------------------------------------------------------------
50224
50225 verbose=0
50226 args=""
50227 objects=""
50228 linking_flag="-dynamiclib"
50229 ldargs="-r -keep_private_externs -nostdlib"
50230
50231 while test ${D}# -gt 0; do
50232 case ${D}1 in
50233
50234 -v)
50235 verbose=1
50236 ;;
50237
50238 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50239 # collect these options and values
50240 args="${D}{args} ${D}1 ${D}2"
50241 shift
50242 ;;
50243
50244 -s|-Wl,*)
50245 # collect these load args
50246 ldargs="${D}{ldargs} ${D}1"
50247 ;;
50248
50249 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50250 # collect these options
50251 args="${D}{args} ${D}1"
50252 ;;
50253
50254 -dynamiclib|-bundle)
50255 linking_flag="${D}1"
50256 ;;
50257
50258 -*)
50259 echo "shared-ld: unhandled option '${D}1'"
50260 exit 1
50261 ;;
50262
50263 *.o | *.a | *.dylib)
50264 # collect object files
50265 objects="${D}{objects} ${D}1"
50266 ;;
50267
50268 *)
50269 echo "shared-ld: unhandled argument '${D}1'"
50270 exit 1
50271 ;;
50272
50273 esac
50274 shift
50275 done
50276
50277 status=0
50278
50279 #
50280 # Link one module containing all the others
50281 #
50282 if test ${D}{verbose} = 1; then
50283 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50284 fi
50285 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50286 status=${D}?
50287
50288 #
50289 # Link the shared library from the single module created, but only if the
50290 # previous command didn't fail:
50291 #
50292 if test ${D}{status} = 0; then
50293 if test ${D}{verbose} = 1; then
50294 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50295 fi
50296 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50297 status=${D}?
50298 fi
50299
50300 #
50301 # Remove intermediate module
50302 #
50303 rm -f master.${D}${D}.o
50304
50305 exit ${D}status
50306 EOF
50307
50308 chmod +x shared-ld-sh
50309
50310 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50311 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50312
50313
50314 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50315 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50316 if test "${bakefile_cv_gcc31+set}" = set; then
50317 echo $ECHO_N "(cached) $ECHO_C" >&6
50318 else
50319
50320 cat >conftest.$ac_ext <<_ACEOF
50321 /* confdefs.h. */
50322 _ACEOF
50323 cat confdefs.h >>conftest.$ac_ext
50324 cat >>conftest.$ac_ext <<_ACEOF
50325 /* end confdefs.h. */
50326
50327 int
50328 main ()
50329 {
50330
50331 #if (__GNUC__ < 3) || \
50332 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50333 This is old gcc
50334 #endif
50335
50336 ;
50337 return 0;
50338 }
50339 _ACEOF
50340 rm -f conftest.$ac_objext
50341 if { (ac_try="$ac_compile"
50342 case "(($ac_try" in
50343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50344 *) ac_try_echo=$ac_try;;
50345 esac
50346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50347 (eval "$ac_compile") 2>conftest.er1
50348 ac_status=$?
50349 grep -v '^ *+' conftest.er1 >conftest.err
50350 rm -f conftest.er1
50351 cat conftest.err >&5
50352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50353 (exit $ac_status); } && {
50354 test -z "$ac_c_werror_flag" ||
50355 test ! -s conftest.err
50356 } && test -s conftest.$ac_objext; then
50357
50358 bakefile_cv_gcc31=yes
50359
50360 else
50361 echo "$as_me: failed program was:" >&5
50362 sed 's/^/| /' conftest.$ac_ext >&5
50363
50364
50365 bakefile_cv_gcc31=no
50366
50367
50368 fi
50369
50370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50371
50372 fi
50373 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50374 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50375 if test "$bakefile_cv_gcc31" = "no"; then
50376 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50377 SHARED_LD_CXX="$SHARED_LD_CC"
50378 else
50379 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50380 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50381 fi
50382
50383 if test "x$GCC" == "xyes"; then
50384 PIC_FLAG="-dynamic -fPIC"
50385 fi
50386 if test "x$XLCC" = "xyes"; then
50387 PIC_FLAG="-dynamic -DPIC"
50388 fi
50389 ;;
50390
50391 *-*-aix* )
50392 if test "x$GCC" = "xyes"; then
50393 PIC_FLAG=""
50394
50395 case "${BAKEFILE_HOST}" in
50396 *-*-aix5* )
50397 LD_EXPFULL="-Wl,-bexpfull"
50398 ;;
50399 esac
50400
50401 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50402 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50403 else
50404 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50405 set dummy makeC++SharedLib; ac_word=$2
50406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50408 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50409 echo $ECHO_N "(cached) $ECHO_C" >&6
50410 else
50411 if test -n "$AIX_CXX_LD"; then
50412 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50413 else
50414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50415 for as_dir in $PATH
50416 do
50417 IFS=$as_save_IFS
50418 test -z "$as_dir" && as_dir=.
50419 for ac_exec_ext in '' $ac_executable_extensions; do
50420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50421 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50423 break 2
50424 fi
50425 done
50426 done
50427 IFS=$as_save_IFS
50428
50429 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50430 fi
50431 fi
50432 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50433 if test -n "$AIX_CXX_LD"; then
50434 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50435 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50436 else
50437 { echo "$as_me:$LINENO: result: no" >&5
50438 echo "${ECHO_T}no" >&6; }
50439 fi
50440
50441
50442 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50443 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50444 fi
50445 ;;
50446
50447 *-*-beos* )
50448 SHARED_LD_CC="${LD} -nostart -o"
50449 SHARED_LD_CXX="${LD} -nostart -o"
50450 ;;
50451
50452 *-*-irix* )
50453 if test "x$GCC" != "xyes"; then
50454 PIC_FLAG="-KPIC"
50455 fi
50456 ;;
50457
50458 *-*-cygwin* | *-*-mingw32* )
50459 PIC_FLAG=""
50460 SHARED_LD_CC="\$(CC) -shared -o"
50461 SHARED_LD_CXX="\$(CXX) -shared -o"
50462 WINDOWS_IMPLIB=1
50463 ;;
50464
50465 *-pc-os2_emx | *-pc-os2-emx )
50466 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50467 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50468 PIC_FLAG=""
50469
50470 D='$'
50471 cat <<EOF >dllar.sh
50472 #!/bin/sh
50473 #
50474 # dllar - a tool to build both a .dll and an .a file
50475 # from a set of object (.o) files for EMX/OS2.
50476 #
50477 # Written by Andrew Zabolotny, bit@freya.etu.ru
50478 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50479 #
50480 # This script will accept a set of files on the command line.
50481 # All the public symbols from the .o files will be exported into
50482 # a .DEF file, then linker will be run (through gcc) against them to
50483 # build a shared library consisting of all given .o files. All libraries
50484 # (.a) will be first decompressed into component .o files then act as
50485 # described above. You can optionally give a description (-d "description")
50486 # which will be put into .DLL. To see the list of accepted options (as well
50487 # as command-line format) simply run this program without options. The .DLL
50488 # is built to be imported by name (there is no guarantee that new versions
50489 # of the library you build will have same ordinals for same symbols).
50490 #
50491 # dllar is free software; you can redistribute it and/or modify
50492 # it under the terms of the GNU General Public License as published by
50493 # the Free Software Foundation; either version 2, or (at your option)
50494 # any later version.
50495 #
50496 # dllar is distributed in the hope that it will be useful,
50497 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50498 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50499 # GNU General Public License for more details.
50500 #
50501 # You should have received a copy of the GNU General Public License
50502 # along with dllar; see the file COPYING. If not, write to the Free
50503 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50504 # 02111-1307, USA.
50505
50506 # To successfuly run this program you will need:
50507 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50508 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50509 # - gcc
50510 # (used to build the .dll)
50511 # - emxexp
50512 # (used to create .def file from .o files)
50513 # - emximp
50514 # (used to create .a file from .def file)
50515 # - GNU text utilites (cat, sort, uniq)
50516 # used to process emxexp output
50517 # - GNU file utilities (mv, rm)
50518 # - GNU sed
50519 # - lxlite (optional, see flag below)
50520 # (used for general .dll cleanup)
50521 #
50522
50523 flag_USE_LXLITE=1;
50524
50525 #
50526 # helper functions
50527 # basnam, variant of basename, which does _not_ remove the path, _iff_
50528 # second argument (suffix to remove) is given
50529 basnam(){
50530 case ${D}# in
50531 1)
50532 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50533 ;;
50534 2)
50535 echo ${D}1 | sed 's/'${D}2'${D}//'
50536 ;;
50537 *)
50538 echo "error in basnam ${D}*"
50539 exit 8
50540 ;;
50541 esac
50542 }
50543
50544 # Cleanup temporary files and output
50545 CleanUp() {
50546 cd ${D}curDir
50547 for i in ${D}inputFiles ; do
50548 case ${D}i in
50549 *!)
50550 rm -rf \`basnam ${D}i !\`
50551 ;;
50552 *)
50553 ;;
50554 esac
50555 done
50556
50557 # Kill result in case of failure as there is just to many stupid make/nmake
50558 # things out there which doesn't do this.
50559 if [ ${D}# -eq 0 ]; then
50560 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50561 fi
50562 }
50563
50564 # Print usage and exit script with rc=1.
50565 PrintHelp() {
50566 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50567 echo ' [-name-mangler-script script.sh]'
50568 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50569 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50570 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50571 echo ' [*.o] [*.a]'
50572 echo '*> "output_file" should have no extension.'
50573 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50574 echo ' The import library name is derived from this and is set to "name".a,'
50575 echo ' unless overridden by -import'
50576 echo '*> "importlib_name" should have no extension.'
50577 echo ' If it has the .o, or .a extension, it is automatically removed.'
50578 echo ' This name is used as the import library name and may be longer and'
50579 echo ' more descriptive than the DLL name which has to follow the old '
50580 echo ' 8.3 convention of FAT.'
50581 echo '*> "script.sh may be given to override the output_file name by a'
50582 echo ' different name. It is mainly useful if the regular make process'
50583 echo ' of some package does not take into account OS/2 restriction of'
50584 echo ' DLL name lengths. It takes the importlib name as input and is'
50585 echo ' supposed to procude a shorter name as output. The script should'
50586 echo ' expect to get importlib_name without extension and should produce'
50587 echo ' a (max.) 8 letter name without extension.'
50588 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50589 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50590 echo ' These flags will be put at the start of GCC command line.'
50591 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50592 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50593 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50594 echo ' If the last character of a symbol is "*", all symbols beginning'
50595 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50596 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50597 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50598 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50599 echo ' C runtime DLLs.'
50600 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50601 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50602 echo ' unchanged to GCC at the end of command line.'
50603 echo '*> If you create a DLL from a library and you do not specify -o,'
50604 echo ' the basename for DLL and import library will be set to library name,'
50605 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50606 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50607 echo ' library will be renamed into gcc_s.a.'
50608 echo '--------'
50609 echo 'Example:'
50610 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50611 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50612 CleanUp
50613 exit 1
50614 }
50615
50616 # Execute a command.
50617 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50618 # @Uses Whatever CleanUp() uses.
50619 doCommand() {
50620 echo "${D}*"
50621 eval ${D}*
50622 rcCmd=${D}?
50623
50624 if [ ${D}rcCmd -ne 0 ]; then
50625 echo "command failed, exit code="${D}rcCmd
50626 CleanUp
50627 exit ${D}rcCmd
50628 fi
50629 }
50630
50631 # main routine
50632 # setup globals
50633 cmdLine=${D}*
50634 outFile=""
50635 outimpFile=""
50636 inputFiles=""
50637 renameScript=""
50638 description=""
50639 CC=gcc.exe
50640 CFLAGS="-s -Zcrtdll"
50641 EXTRA_CFLAGS=""
50642 EXPORT_BY_ORDINALS=0
50643 exclude_symbols=""
50644 library_flags=""
50645 curDir=\`pwd\`
50646 curDirS=curDir
50647 case ${D}curDirS in
50648 */)
50649 ;;
50650 *)
50651 curDirS=${D}{curDirS}"/"
50652 ;;
50653 esac
50654 # Parse commandline
50655 libsToLink=0
50656 omfLinking=0
50657 while [ ${D}1 ]; do
50658 case ${D}1 in
50659 -ord*)
50660 EXPORT_BY_ORDINALS=1;
50661 ;;
50662 -o*)
50663 shift
50664 outFile=${D}1
50665 ;;
50666 -i*)
50667 shift
50668 outimpFile=${D}1
50669 ;;
50670 -name-mangler-script)
50671 shift
50672 renameScript=${D}1
50673 ;;
50674 -d*)
50675 shift
50676 description=${D}1
50677 ;;
50678 -f*)
50679 shift
50680 CFLAGS=${D}1
50681 ;;
50682 -c*)
50683 shift
50684 CC=${D}1
50685 ;;
50686 -h*)
50687 PrintHelp
50688 ;;
50689 -ex*)
50690 shift
50691 exclude_symbols=${D}{exclude_symbols}${D}1" "
50692 ;;
50693 -libf*)
50694 shift
50695 library_flags=${D}{library_flags}${D}1" "
50696 ;;
50697 -nocrt*)
50698 CFLAGS="-s"
50699 ;;
50700 -nolxl*)
50701 flag_USE_LXLITE=0
50702 ;;
50703 -* | /*)
50704 case ${D}1 in
50705 -L* | -l*)
50706 libsToLink=1
50707 ;;
50708 -Zomf)
50709 omfLinking=1
50710 ;;
50711 *)
50712 ;;
50713 esac
50714 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50715 ;;
50716 *.dll)
50717 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50718 if [ ${D}omfLinking -eq 1 ]; then
50719 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50720 else
50721 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50722 fi
50723 ;;
50724 *)
50725 found=0;
50726 if [ ${D}libsToLink -ne 0 ]; then
50727 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50728 else
50729 for file in ${D}1 ; do
50730 if [ -f ${D}file ]; then
50731 inputFiles="${D}{inputFiles} ${D}file"
50732 found=1
50733 fi
50734 done
50735 if [ ${D}found -eq 0 ]; then
50736 echo "ERROR: No file(s) found: "${D}1
50737 exit 8
50738 fi
50739 fi
50740 ;;
50741 esac
50742 shift
50743 done # iterate cmdline words
50744
50745 #
50746 if [ -z "${D}inputFiles" ]; then
50747 echo "dllar: no input files"
50748 PrintHelp
50749 fi
50750
50751 # Now extract all .o files from .a files
50752 newInputFiles=""
50753 for file in ${D}inputFiles ; do
50754 case ${D}file in
50755 *.a | *.lib)
50756 case ${D}file in
50757 *.a)
50758 suffix=".a"
50759 AR="ar"
50760 ;;
50761 *.lib)
50762 suffix=".lib"
50763 AR="emxomfar"
50764 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50765 ;;
50766 *)
50767 ;;
50768 esac
50769 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50770 mkdir ${D}dirname
50771 if [ ${D}? -ne 0 ]; then
50772 echo "Failed to create subdirectory ./${D}dirname"
50773 CleanUp
50774 exit 8;
50775 fi
50776 # Append '!' to indicate archive
50777 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50778 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50779 cd ${D}curDir
50780 found=0;
50781 for subfile in ${D}dirname/*.o* ; do
50782 if [ -f ${D}subfile ]; then
50783 found=1
50784 if [ -s ${D}subfile ]; then
50785 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50786 newInputFiles="${D}newInputFiles ${D}subfile"
50787 fi
50788 fi
50789 done
50790 if [ ${D}found -eq 0 ]; then
50791 echo "WARNING: there are no files in archive \\'${D}file\\'"
50792 fi
50793 ;;
50794 *)
50795 newInputFiles="${D}{newInputFiles} ${D}file"
50796 ;;
50797 esac
50798 done
50799 inputFiles="${D}newInputFiles"
50800
50801 # Output filename(s).
50802 do_backup=0;
50803 if [ -z ${D}outFile ]; then
50804 do_backup=1;
50805 set outFile ${D}inputFiles; outFile=${D}2
50806 fi
50807
50808 # If it is an archive, remove the '!' and the '_%' suffixes
50809 case ${D}outFile in
50810 *_%!)
50811 outFile=\`basnam ${D}outFile _%!\`
50812 ;;
50813 *)
50814 ;;
50815 esac
50816 case ${D}outFile in
50817 *.dll)
50818 outFile=\`basnam ${D}outFile .dll\`
50819 ;;
50820 *.DLL)
50821 outFile=\`basnam ${D}outFile .DLL\`
50822 ;;
50823 *.o)
50824 outFile=\`basnam ${D}outFile .o\`
50825 ;;
50826 *.obj)
50827 outFile=\`basnam ${D}outFile .obj\`
50828 ;;
50829 *.a)
50830 outFile=\`basnam ${D}outFile .a\`
50831 ;;
50832 *.lib)
50833 outFile=\`basnam ${D}outFile .lib\`
50834 ;;
50835 *)
50836 ;;
50837 esac
50838 case ${D}outimpFile in
50839 *.a)
50840 outimpFile=\`basnam ${D}outimpFile .a\`
50841 ;;
50842 *.lib)
50843 outimpFile=\`basnam ${D}outimpFile .lib\`
50844 ;;
50845 *)
50846 ;;
50847 esac
50848 if [ -z ${D}outimpFile ]; then
50849 outimpFile=${D}outFile
50850 fi
50851 defFile="${D}{outFile}.def"
50852 arcFile="${D}{outimpFile}.a"
50853 arcFile2="${D}{outimpFile}.lib"
50854
50855 #create ${D}dllFile as something matching 8.3 restrictions,
50856 if [ -z ${D}renameScript ] ; then
50857 dllFile="${D}outFile"
50858 else
50859 dllFile=\`${D}renameScript ${D}outimpFile\`
50860 fi
50861
50862 if [ ${D}do_backup -ne 0 ] ; then
50863 if [ -f ${D}arcFile ] ; then
50864 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50865 fi
50866 if [ -f ${D}arcFile2 ] ; then
50867 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50868 fi
50869 fi
50870
50871 # Extract public symbols from all the object files.
50872 tmpdefFile=${D}{defFile}_%
50873 rm -f ${D}tmpdefFile
50874 for file in ${D}inputFiles ; do
50875 case ${D}file in
50876 *!)
50877 ;;
50878 *)
50879 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50880 ;;
50881 esac
50882 done
50883
50884 # Create the def file.
50885 rm -f ${D}defFile
50886 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50887 dllFile="${D}{dllFile}.dll"
50888 if [ ! -z ${D}description ]; then
50889 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50890 fi
50891 echo "EXPORTS" >> ${D}defFile
50892
50893 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50894 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50895
50896 # Checks if the export is ok or not.
50897 for word in ${D}exclude_symbols; do
50898 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50899 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50900 done
50901
50902
50903 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50904 sed "=" < ${D}tmpdefFile | \\
50905 sed '
50906 N
50907 : loop
50908 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50909 t loop
50910 ' > ${D}{tmpdefFile}%
50911 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50912 else
50913 rm -f ${D}{tmpdefFile}%
50914 fi
50915 cat ${D}tmpdefFile >> ${D}defFile
50916 rm -f ${D}tmpdefFile
50917
50918 # Do linking, create implib, and apply lxlite.
50919 gccCmdl="";
50920 for file in ${D}inputFiles ; do
50921 case ${D}file in
50922 *!)
50923 ;;
50924 *)
50925 gccCmdl="${D}gccCmdl ${D}file"
50926 ;;
50927 esac
50928 done
50929 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50930 touch "${D}{outFile}.dll"
50931
50932 doCommand "emximp -o ${D}arcFile ${D}defFile"
50933 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50934 add_flags="";
50935 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50936 add_flags="-ynd"
50937 fi
50938 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50939 fi
50940 doCommand "emxomf -s -l ${D}arcFile"
50941
50942 # Successful exit.
50943 CleanUp 1
50944 exit 0
50945 EOF
50946
50947 chmod +x dllar.sh
50948 ;;
50949
50950 powerpc-apple-macos* | \
50951 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50952 *-*-mirbsd* | \
50953 *-*-sunos4* | \
50954 *-*-osf* | \
50955 *-*-dgux5* | \
50956 *-*-sysv5* | \
50957 *-pc-msdosdjgpp )
50958 ;;
50959
50960 *)
50961 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50962 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50963 { (exit 1); exit 1; }; }
50964 esac
50965
50966 if test "x$PIC_FLAG" != "x" ; then
50967 PIC_FLAG="$PIC_FLAG -DPIC"
50968 fi
50969
50970 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50971 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50972 fi
50973 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50974 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50975 fi
50976
50977
50978
50979
50980
50981
50982
50983
50984
50985 USE_SOVERSION=0
50986 USE_SOVERLINUX=0
50987 USE_SOVERSOLARIS=0
50988 USE_SOVERCYGWIN=0
50989 USE_SOSYMLINKS=0
50990 USE_MACVERSION=0
50991 SONAME_FLAG=
50992
50993 case "${BAKEFILE_HOST}" in
50994 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50995 if test "x$SUNCXX" = "xyes"; then
50996 SONAME_FLAG="-h "
50997 else
50998 SONAME_FLAG="-Wl,-soname,"
50999 fi
51000 USE_SOVERSION=1
51001 USE_SOVERLINUX=1
51002 USE_SOSYMLINKS=1
51003 ;;
51004
51005 *-*-solaris2* )
51006 SONAME_FLAG="-h "
51007 USE_SOVERSION=1
51008 USE_SOVERSOLARIS=1
51009 USE_SOSYMLINKS=1
51010 ;;
51011
51012 *-*-darwin* )
51013 USE_MACVERSION=1
51014 USE_SOVERSION=1
51015 USE_SOSYMLINKS=1
51016 ;;
51017
51018 *-*-cygwin* )
51019 USE_SOVERSION=1
51020 USE_SOVERCYGWIN=1
51021 ;;
51022 esac
51023
51024
51025
51026
51027
51028
51029
51030
51031
51032
51033 # Check whether --enable-dependency-tracking was given.
51034 if test "${enable_dependency_tracking+set}" = set; then
51035 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51036 fi
51037
51038
51039 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51040 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51041
51042 BK_DEPS=""
51043 if test "x$bk_use_trackdeps" = "xno" ; then
51044 DEPS_TRACKING=0
51045 { echo "$as_me:$LINENO: result: disabled" >&5
51046 echo "${ECHO_T}disabled" >&6; }
51047 else
51048 DEPS_TRACKING=1
51049
51050 if test "x$GCC" = "xyes"; then
51051 DEPSMODE=gcc
51052 case "${BAKEFILE_HOST}" in
51053 *-*-darwin* )
51054 DEPSFLAG="-no-cpp-precomp -MMD"
51055 ;;
51056 * )
51057 DEPSFLAG="-MMD"
51058 ;;
51059 esac
51060 { echo "$as_me:$LINENO: result: gcc" >&5
51061 echo "${ECHO_T}gcc" >&6; }
51062 elif test "x$MWCC" = "xyes"; then
51063 DEPSMODE=mwcc
51064 DEPSFLAG="-MM"
51065 { echo "$as_me:$LINENO: result: mwcc" >&5
51066 echo "${ECHO_T}mwcc" >&6; }
51067 elif test "x$SUNCC" = "xyes"; then
51068 DEPSMODE=unixcc
51069 DEPSFLAG="-xM1"
51070 { echo "$as_me:$LINENO: result: Sun cc" >&5
51071 echo "${ECHO_T}Sun cc" >&6; }
51072 elif test "x$SGICC" = "xyes"; then
51073 DEPSMODE=unixcc
51074 DEPSFLAG="-M"
51075 { echo "$as_me:$LINENO: result: SGI cc" >&5
51076 echo "${ECHO_T}SGI cc" >&6; }
51077 elif test "x$HPCC" = "xyes"; then
51078 DEPSMODE=unixcc
51079 DEPSFLAG="+make"
51080 { echo "$as_me:$LINENO: result: HP cc" >&5
51081 echo "${ECHO_T}HP cc" >&6; }
51082 elif test "x$COMPAQCC" = "xyes"; then
51083 DEPSMODE=gcc
51084 DEPSFLAG="-MD"
51085 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51086 echo "${ECHO_T}Compaq cc" >&6; }
51087 else
51088 DEPS_TRACKING=0
51089 { echo "$as_me:$LINENO: result: none" >&5
51090 echo "${ECHO_T}none" >&6; }
51091 fi
51092
51093 if test $DEPS_TRACKING = 1 ; then
51094
51095 D='$'
51096 cat <<EOF >bk-deps
51097 #!/bin/sh
51098
51099 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51100 # script. It is used to track C/C++ files dependencies in portable way.
51101 #
51102 # Permission is given to use this file in any way.
51103
51104 DEPSMODE=${DEPSMODE}
51105 DEPSDIR=.deps
51106 DEPSFLAG="${DEPSFLAG}"
51107
51108 mkdir -p ${D}DEPSDIR
51109
51110 if test ${D}DEPSMODE = gcc ; then
51111 ${D}* ${D}{DEPSFLAG}
51112 status=${D}?
51113 if test ${D}{status} != 0 ; then
51114 exit ${D}{status}
51115 fi
51116 # move created file to the location we want it in:
51117 while test ${D}# -gt 0; do
51118 case "${D}1" in
51119 -o )
51120 shift
51121 objfile=${D}1
51122 ;;
51123 -* )
51124 ;;
51125 * )
51126 srcfile=${D}1
51127 ;;
51128 esac
51129 shift
51130 done
51131 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51132 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51133 if test -f ${D}depfile ; then
51134 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51135 rm -f ${D}depfile
51136 else
51137 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51138 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51139 if test ! -f ${D}depfile ; then
51140 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51141 depfile="${D}objfile.d"
51142 fi
51143 if test -f ${D}depfile ; then
51144 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51145 rm -f ${D}depfile
51146 fi
51147 fi
51148 exit 0
51149 elif test ${D}DEPSMODE = mwcc ; then
51150 ${D}* || exit ${D}?
51151 # Run mwcc again with -MM and redirect into the dep file we want
51152 # NOTE: We can't use shift here because we need ${D}* to be valid
51153 prevarg=
51154 for arg in ${D}* ; do
51155 if test "${D}prevarg" = "-o"; then
51156 objfile=${D}arg
51157 else
51158 case "${D}arg" in
51159 -* )
51160 ;;
51161 * )
51162 srcfile=${D}arg
51163 ;;
51164 esac
51165 fi
51166 prevarg="${D}arg"
51167 done
51168 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51169 exit 0
51170 elif test ${D}DEPSMODE = unixcc; then
51171 ${D}* || exit ${D}?
51172 # Run compiler again with deps flag and redirect into the dep file.
51173 # It doesn't work if the '-o FILE' option is used, but without it the
51174 # dependency file will contain the wrong name for the object. So it is
51175 # removed from the command line, and the dep file is fixed with sed.
51176 cmd=""
51177 while test ${D}# -gt 0; do
51178 case "${D}1" in
51179 -o )
51180 shift
51181 objfile=${D}1
51182 ;;
51183 * )
51184 eval arg${D}#=\\${D}1
51185 cmd="${D}cmd \\${D}arg${D}#"
51186 ;;
51187 esac
51188 shift
51189 done
51190 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51191 exit 0
51192 else
51193 ${D}*
51194 exit ${D}?
51195 fi
51196 EOF
51197
51198 chmod +x bk-deps
51199 BK_DEPS="`pwd`/bk-deps"
51200 fi
51201 fi
51202
51203
51204
51205
51206
51207 case ${BAKEFILE_HOST} in
51208 *-*-cygwin* | *-*-mingw32* )
51209 if test -n "$ac_tool_prefix"; then
51210 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51211 set dummy ${ac_tool_prefix}windres; ac_word=$2
51212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51214 if test "${ac_cv_prog_WINDRES+set}" = set; then
51215 echo $ECHO_N "(cached) $ECHO_C" >&6
51216 else
51217 if test -n "$WINDRES"; then
51218 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51219 else
51220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51221 for as_dir in $PATH
51222 do
51223 IFS=$as_save_IFS
51224 test -z "$as_dir" && as_dir=.
51225 for ac_exec_ext in '' $ac_executable_extensions; do
51226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51227 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51229 break 2
51230 fi
51231 done
51232 done
51233 IFS=$as_save_IFS
51234
51235 fi
51236 fi
51237 WINDRES=$ac_cv_prog_WINDRES
51238 if test -n "$WINDRES"; then
51239 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51240 echo "${ECHO_T}$WINDRES" >&6; }
51241 else
51242 { echo "$as_me:$LINENO: result: no" >&5
51243 echo "${ECHO_T}no" >&6; }
51244 fi
51245
51246
51247 fi
51248 if test -z "$ac_cv_prog_WINDRES"; then
51249 ac_ct_WINDRES=$WINDRES
51250 # Extract the first word of "windres", so it can be a program name with args.
51251 set dummy windres; ac_word=$2
51252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51254 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51255 echo $ECHO_N "(cached) $ECHO_C" >&6
51256 else
51257 if test -n "$ac_ct_WINDRES"; then
51258 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51259 else
51260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51261 for as_dir in $PATH
51262 do
51263 IFS=$as_save_IFS
51264 test -z "$as_dir" && as_dir=.
51265 for ac_exec_ext in '' $ac_executable_extensions; do
51266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51267 ac_cv_prog_ac_ct_WINDRES="windres"
51268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51269 break 2
51270 fi
51271 done
51272 done
51273 IFS=$as_save_IFS
51274
51275 fi
51276 fi
51277 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51278 if test -n "$ac_ct_WINDRES"; then
51279 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51280 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51281 else
51282 { echo "$as_me:$LINENO: result: no" >&5
51283 echo "${ECHO_T}no" >&6; }
51284 fi
51285
51286 if test "x$ac_ct_WINDRES" = x; then
51287 WINDRES=""
51288 else
51289 case $cross_compiling:$ac_tool_warned in
51290 yes:)
51291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51292 whose name does not start with the host triplet. If you think this
51293 configuration is useful to you, please write to autoconf@gnu.org." >&5
51294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51295 whose name does not start with the host triplet. If you think this
51296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51297 ac_tool_warned=yes ;;
51298 esac
51299 WINDRES=$ac_ct_WINDRES
51300 fi
51301 else
51302 WINDRES="$ac_cv_prog_WINDRES"
51303 fi
51304
51305 ;;
51306
51307 *-*-darwin* | powerpc-apple-macos* )
51308 # Extract the first word of "Rez", so it can be a program name with args.
51309 set dummy Rez; ac_word=$2
51310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51312 if test "${ac_cv_prog_REZ+set}" = set; then
51313 echo $ECHO_N "(cached) $ECHO_C" >&6
51314 else
51315 if test -n "$REZ"; then
51316 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51317 else
51318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51319 for as_dir in $PATH
51320 do
51321 IFS=$as_save_IFS
51322 test -z "$as_dir" && as_dir=.
51323 for ac_exec_ext in '' $ac_executable_extensions; do
51324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51325 ac_cv_prog_REZ="Rez"
51326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51327 break 2
51328 fi
51329 done
51330 done
51331 IFS=$as_save_IFS
51332
51333 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51334 fi
51335 fi
51336 REZ=$ac_cv_prog_REZ
51337 if test -n "$REZ"; then
51338 { echo "$as_me:$LINENO: result: $REZ" >&5
51339 echo "${ECHO_T}$REZ" >&6; }
51340 else
51341 { echo "$as_me:$LINENO: result: no" >&5
51342 echo "${ECHO_T}no" >&6; }
51343 fi
51344
51345
51346 # Extract the first word of "SetFile", so it can be a program name with args.
51347 set dummy SetFile; ac_word=$2
51348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51350 if test "${ac_cv_prog_SETFILE+set}" = set; then
51351 echo $ECHO_N "(cached) $ECHO_C" >&6
51352 else
51353 if test -n "$SETFILE"; then
51354 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51355 else
51356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51357 for as_dir in $PATH
51358 do
51359 IFS=$as_save_IFS
51360 test -z "$as_dir" && as_dir=.
51361 for ac_exec_ext in '' $ac_executable_extensions; do
51362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51363 ac_cv_prog_SETFILE="SetFile"
51364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51365 break 2
51366 fi
51367 done
51368 done
51369 IFS=$as_save_IFS
51370
51371 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51372 fi
51373 fi
51374 SETFILE=$ac_cv_prog_SETFILE
51375 if test -n "$SETFILE"; then
51376 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51377 echo "${ECHO_T}$SETFILE" >&6; }
51378 else
51379 { echo "$as_me:$LINENO: result: no" >&5
51380 echo "${ECHO_T}no" >&6; }
51381 fi
51382
51383
51384 ;;
51385 esac
51386
51387
51388
51389
51390
51391
51392 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51393
51394
51395 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51396
51397
51398
51399 # Check whether --enable-precomp-headers was given.
51400 if test "${enable_precomp_headers+set}" = set; then
51401 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51402 fi
51403
51404
51405 GCC_PCH=0
51406 ICC_PCH=0
51407 USE_PCH=0
51408 BK_MAKE_PCH=""
51409
51410 case ${BAKEFILE_HOST} in
51411 *-*-cygwin* )
51412 bk_use_pch="no"
51413 ;;
51414 esac
51415
51416 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51417 if test "x$GCC" = "xyes"; then
51418 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51419 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51420 cat >conftest.$ac_ext <<_ACEOF
51421 /* confdefs.h. */
51422 _ACEOF
51423 cat confdefs.h >>conftest.$ac_ext
51424 cat >>conftest.$ac_ext <<_ACEOF
51425 /* end confdefs.h. */
51426
51427 int
51428 main ()
51429 {
51430
51431 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51432 There is no PCH support
51433 #endif
51434 #if (__GNUC__ < 3)
51435 There is no PCH support
51436 #endif
51437 #if (__GNUC__ == 3) && \
51438 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51439 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51440 ( defined(__INTEL_COMPILER) )
51441 There is no PCH support
51442 #endif
51443
51444 ;
51445 return 0;
51446 }
51447 _ACEOF
51448 rm -f conftest.$ac_objext
51449 if { (ac_try="$ac_compile"
51450 case "(($ac_try" in
51451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51452 *) ac_try_echo=$ac_try;;
51453 esac
51454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51455 (eval "$ac_compile") 2>conftest.er1
51456 ac_status=$?
51457 grep -v '^ *+' conftest.er1 >conftest.err
51458 rm -f conftest.er1
51459 cat conftest.err >&5
51460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51461 (exit $ac_status); } && {
51462 test -z "$ac_c_werror_flag" ||
51463 test ! -s conftest.err
51464 } && test -s conftest.$ac_objext; then
51465
51466 { echo "$as_me:$LINENO: result: yes" >&5
51467 echo "${ECHO_T}yes" >&6; }
51468 GCC_PCH=1
51469
51470 else
51471 echo "$as_me: failed program was:" >&5
51472 sed 's/^/| /' conftest.$ac_ext >&5
51473
51474
51475 cat >conftest.$ac_ext <<_ACEOF
51476 /* confdefs.h. */
51477 _ACEOF
51478 cat confdefs.h >>conftest.$ac_ext
51479 cat >>conftest.$ac_ext <<_ACEOF
51480 /* end confdefs.h. */
51481
51482 int
51483 main ()
51484 {
51485
51486 #if !defined(__INTEL_COMPILER) || \
51487 (__INTEL_COMPILER < 800)
51488 There is no PCH support
51489 #endif
51490
51491 ;
51492 return 0;
51493 }
51494 _ACEOF
51495 rm -f conftest.$ac_objext
51496 if { (ac_try="$ac_compile"
51497 case "(($ac_try" in
51498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51499 *) ac_try_echo=$ac_try;;
51500 esac
51501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51502 (eval "$ac_compile") 2>conftest.er1
51503 ac_status=$?
51504 grep -v '^ *+' conftest.er1 >conftest.err
51505 rm -f conftest.er1
51506 cat conftest.err >&5
51507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51508 (exit $ac_status); } && {
51509 test -z "$ac_c_werror_flag" ||
51510 test ! -s conftest.err
51511 } && test -s conftest.$ac_objext; then
51512
51513 { echo "$as_me:$LINENO: result: yes" >&5
51514 echo "${ECHO_T}yes" >&6; }
51515 ICC_PCH=1
51516
51517 else
51518 echo "$as_me: failed program was:" >&5
51519 sed 's/^/| /' conftest.$ac_ext >&5
51520
51521
51522 { echo "$as_me:$LINENO: result: no" >&5
51523 echo "${ECHO_T}no" >&6; }
51524
51525 fi
51526
51527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51528
51529 fi
51530
51531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51532 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51533 USE_PCH=1
51534
51535 D='$'
51536 cat <<EOF >bk-make-pch
51537 #!/bin/sh
51538
51539 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51540 # script. It is used to generated precompiled headers.
51541 #
51542 # Permission is given to use this file in any way.
51543
51544 outfile="${D}{1}"
51545 header="${D}{2}"
51546 shift
51547 shift
51548
51549 compiler=""
51550 headerfile=""
51551
51552 while test ${D}{#} -gt 0; do
51553 add_to_cmdline=1
51554 case "${D}{1}" in
51555 -I* )
51556 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51557 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51558 headerfile="${D}{incdir}/${D}{header}"
51559 fi
51560 ;;
51561 -use-pch|-use_pch )
51562 shift
51563 add_to_cmdline=0
51564 ;;
51565 esac
51566 if test ${D}add_to_cmdline = 1 ; then
51567 compiler="${D}{compiler} ${D}{1}"
51568 fi
51569 shift
51570 done
51571
51572 if test "x${D}{headerfile}" = "x" ; then
51573 echo "error: can't find header ${D}{header} in include paths" >&2
51574 else
51575 if test -f ${D}{outfile} ; then
51576 rm -f ${D}{outfile}
51577 else
51578 mkdir -p \`dirname ${D}{outfile}\`
51579 fi
51580 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51581 mkdir -p .deps
51582 if test "x${GCC_PCH}" = "x1" ; then
51583 # can do this because gcc is >= 3.4:
51584 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51585 elif test "x${ICC_PCH}" = "x1" ; then
51586 filename=pch_gen-${D}${D}
51587 file=${D}{filename}.c
51588 dfile=${D}{filename}.d
51589 cat > ${D}file <<EOT
51590 #include "${D}header"
51591 EOT
51592 # using -MF icc complains about differing command lines in creation/use
51593 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51594 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51595 rm -f ${D}file ${D}dfile ${D}{filename}.o
51596 fi
51597 exit ${D}{?}
51598 fi
51599 EOF
51600
51601 chmod +x bk-make-pch
51602 BK_MAKE_PCH="`pwd`/bk-make-pch"
51603 fi
51604 fi
51605 fi
51606
51607
51608
51609
51610
51611 COND_BUILD_DEBUG="#"
51612 if test "x$BUILD" = "xdebug" ; then
51613 COND_BUILD_DEBUG=""
51614 fi
51615
51616 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51617 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51618 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51619 fi
51620
51621 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51622 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51623 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51624 fi
51625
51626 COND_BUILD_DEBUG_UNICODE_0="#"
51627 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51628 COND_BUILD_DEBUG_UNICODE_0=""
51629 fi
51630
51631 COND_BUILD_DEBUG_UNICODE_1="#"
51632 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51633 COND_BUILD_DEBUG_UNICODE_1=""
51634 fi
51635
51636 COND_BUILD_RELEASE="#"
51637 if test "x$BUILD" = "xrelease" ; then
51638 COND_BUILD_RELEASE=""
51639 fi
51640
51641 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51642 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51643 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51644 fi
51645
51646 COND_BUILD_RELEASE_UNICODE_0="#"
51647 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51648 COND_BUILD_RELEASE_UNICODE_0=""
51649 fi
51650
51651 COND_BUILD_RELEASE_UNICODE_1="#"
51652 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51653 COND_BUILD_RELEASE_UNICODE_1=""
51654 fi
51655
51656 COND_DEBUG_FLAG_1="#"
51657 if test "x$DEBUG_FLAG" = "x1" ; then
51658 COND_DEBUG_FLAG_1=""
51659 fi
51660
51661 COND_DEBUG_INFO_0="#"
51662 if test "x$DEBUG_INFO" = "x0" ; then
51663 COND_DEBUG_INFO_0=""
51664 fi
51665
51666 COND_DEBUG_INFO_1="#"
51667 if test "x$DEBUG_INFO" = "x1" ; then
51668 COND_DEBUG_INFO_1=""
51669 fi
51670
51671 COND_DEPS_TRACKING_0="#"
51672 if test "x$DEPS_TRACKING" = "x0" ; then
51673 COND_DEPS_TRACKING_0=""
51674 fi
51675
51676 COND_DEPS_TRACKING_1="#"
51677 if test "x$DEPS_TRACKING" = "x1" ; then
51678 COND_DEPS_TRACKING_1=""
51679 fi
51680
51681 COND_GCC_PCH_1="#"
51682 if test "x$GCC_PCH" = "x1" ; then
51683 COND_GCC_PCH_1=""
51684 fi
51685
51686 COND_ICC_PCH_1="#"
51687 if test "x$ICC_PCH" = "x1" ; then
51688 COND_ICC_PCH_1=""
51689 fi
51690
51691 COND_MONOLITHIC_0="#"
51692 if test "x$MONOLITHIC" = "x0" ; then
51693 COND_MONOLITHIC_0=""
51694 fi
51695
51696 COND_MONOLITHIC_0_SHARED_0="#"
51697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51698 COND_MONOLITHIC_0_SHARED_0=""
51699 fi
51700
51701 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51703 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51704 fi
51705
51706 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51709 fi
51710
51711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51714 fi
51715
51716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51719 fi
51720
51721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51724 fi
51725
51726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51729 fi
51730
51731 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51733 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51734 fi
51735
51736 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51738 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51739 fi
51740
51741 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51743 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51744 fi
51745
51746 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51748 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51749 fi
51750
51751 COND_MONOLITHIC_0_SHARED_1="#"
51752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51753 COND_MONOLITHIC_0_SHARED_1=""
51754 fi
51755
51756 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51758 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51759 fi
51760
51761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51764 fi
51765
51766 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51769 fi
51770
51771 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51774 fi
51775
51776 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51779 fi
51780
51781 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51784 fi
51785
51786 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51788 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51789 fi
51790
51791 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51793 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51794 fi
51795
51796 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51798 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51799 fi
51800
51801 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51803 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51804 fi
51805
51806 COND_MONOLITHIC_0_USE_AUI_1="#"
51807 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51808 COND_MONOLITHIC_0_USE_AUI_1=""
51809 fi
51810
51811 COND_MONOLITHIC_0_USE_GUI_1="#"
51812 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51813 COND_MONOLITHIC_0_USE_GUI_1=""
51814 fi
51815
51816 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51817 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51818 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51819 fi
51820
51821 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51822 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51823 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51824 fi
51825
51826 COND_MONOLITHIC_0_USE_HTML_1="#"
51827 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51828 COND_MONOLITHIC_0_USE_HTML_1=""
51829 fi
51830
51831 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51832 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51833 COND_MONOLITHIC_0_USE_MEDIA_1=""
51834 fi
51835
51836 COND_MONOLITHIC_0_USE_ODBC_1="#"
51837 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51838 COND_MONOLITHIC_0_USE_ODBC_1=""
51839 fi
51840
51841 COND_MONOLITHIC_0_USE_QA_1="#"
51842 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51843 COND_MONOLITHIC_0_USE_QA_1=""
51844 fi
51845
51846 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51847 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51848 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51849 fi
51850
51851 COND_MONOLITHIC_0_USE_STC_1="#"
51852 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51853 COND_MONOLITHIC_0_USE_STC_1=""
51854 fi
51855
51856 COND_MONOLITHIC_0_USE_XRC_1="#"
51857 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51858 COND_MONOLITHIC_0_USE_XRC_1=""
51859 fi
51860
51861 COND_MONOLITHIC_1="#"
51862 if test "x$MONOLITHIC" = "x1" ; then
51863 COND_MONOLITHIC_1=""
51864 fi
51865
51866 COND_MONOLITHIC_1_SHARED_0="#"
51867 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51868 COND_MONOLITHIC_1_SHARED_0=""
51869 fi
51870
51871 COND_MONOLITHIC_1_SHARED_1="#"
51872 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51873 COND_MONOLITHIC_1_SHARED_1=""
51874 fi
51875
51876 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51877 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51879 fi
51880
51881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51882 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51884 fi
51885
51886 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51887 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51888 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51889 fi
51890
51891 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51892 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51893 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51894 fi
51895
51896 COND_PLATFORM_MACOSX_1="#"
51897 if test "x$PLATFORM_MACOSX" = "x1" ; then
51898 COND_PLATFORM_MACOSX_1=""
51899 fi
51900
51901 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51902 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51903 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51904 fi
51905
51906 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51907 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51908 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51909 fi
51910
51911 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51912 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51913 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51914 fi
51915
51916 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51918 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51919 fi
51920
51921 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51923 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51924 fi
51925
51926 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51928 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51929 fi
51930
51931 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51933 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51934 fi
51935
51936 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51938 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51939 fi
51940
51941 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51943 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51944 fi
51945
51946 COND_PLATFORM_MACOS_1="#"
51947 if test "x$PLATFORM_MACOS" = "x1" ; then
51948 COND_PLATFORM_MACOS_1=""
51949 fi
51950
51951 COND_PLATFORM_MAC_1="#"
51952 if test "x$PLATFORM_MAC" = "x1" ; then
51953 COND_PLATFORM_MAC_1=""
51954 fi
51955
51956 COND_PLATFORM_MSDOS_0="#"
51957 if test "x$PLATFORM_MSDOS" = "x0" ; then
51958 COND_PLATFORM_MSDOS_0=""
51959 fi
51960
51961 COND_PLATFORM_MSDOS_1="#"
51962 if test "x$PLATFORM_MSDOS" = "x1" ; then
51963 COND_PLATFORM_MSDOS_1=""
51964 fi
51965
51966 COND_PLATFORM_OS2_1="#"
51967 if test "x$PLATFORM_OS2" = "x1" ; then
51968 COND_PLATFORM_OS2_1=""
51969 fi
51970
51971 COND_PLATFORM_UNIX_0="#"
51972 if test "x$PLATFORM_UNIX" = "x0" ; then
51973 COND_PLATFORM_UNIX_0=""
51974 fi
51975
51976 COND_PLATFORM_UNIX_1="#"
51977 if test "x$PLATFORM_UNIX" = "x1" ; then
51978 COND_PLATFORM_UNIX_1=""
51979 fi
51980
51981 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51982 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51983 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51984 fi
51985
51986 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51987 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51988 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51989 fi
51990
51991 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51992 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51993 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51994 fi
51995
51996 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51997 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51998 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51999 fi
52000
52001 COND_PLATFORM_WIN32_0="#"
52002 if test "x$PLATFORM_WIN32" = "x0" ; then
52003 COND_PLATFORM_WIN32_0=""
52004 fi
52005
52006 COND_PLATFORM_WIN32_1="#"
52007 if test "x$PLATFORM_WIN32" = "x1" ; then
52008 COND_PLATFORM_WIN32_1=""
52009 fi
52010
52011 COND_SHARED_0="#"
52012 if test "x$SHARED" = "x0" ; then
52013 COND_SHARED_0=""
52014 fi
52015
52016 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52017 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52018 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52019 fi
52020
52021 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52022 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52023 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52024 fi
52025
52026 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52027 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52028 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52029 fi
52030
52031 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52032 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52033 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52034 fi
52035
52036 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52037 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52038 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52039 fi
52040
52041 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52042 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52043 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52044 fi
52045
52046 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52047 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52048 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52049 fi
52050
52051 COND_SHARED_0_USE_STC_1="#"
52052 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52053 COND_SHARED_0_USE_STC_1=""
52054 fi
52055
52056 COND_SHARED_0_USE_XRC_1="#"
52057 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52058 COND_SHARED_0_USE_XRC_1=""
52059 fi
52060
52061 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52062 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52063 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52064 fi
52065
52066 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52067 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52068 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52069 fi
52070
52071 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52072 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52073 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52074 fi
52075
52076 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52077 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52078 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52079 fi
52080
52081 COND_SHARED_1="#"
52082 if test "x$SHARED" = "x1" ; then
52083 COND_SHARED_1=""
52084 fi
52085
52086 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52087 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52088 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52089 fi
52090
52091 COND_SHARED_1_USE_XRC_1="#"
52092 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52093 COND_SHARED_1_USE_XRC_1=""
52094 fi
52095
52096 COND_TOOLKIT_="#"
52097 if test "x$TOOLKIT" = "x" ; then
52098 COND_TOOLKIT_=""
52099 fi
52100
52101 COND_TOOLKIT_COCOA="#"
52102 if test "x$TOOLKIT" = "xCOCOA" ; then
52103 COND_TOOLKIT_COCOA=""
52104 fi
52105
52106 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52107 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52108 COND_TOOLKIT_COCOA_USE_GUI_1=""
52109 fi
52110
52111 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52112 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52113 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52114 fi
52115
52116 COND_TOOLKIT_DFB="#"
52117 if test "x$TOOLKIT" = "xDFB" ; then
52118 COND_TOOLKIT_DFB=""
52119 fi
52120
52121 COND_TOOLKIT_DFB_USE_GUI_1="#"
52122 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52123 COND_TOOLKIT_DFB_USE_GUI_1=""
52124 fi
52125
52126 COND_TOOLKIT_GTK="#"
52127 if test "x$TOOLKIT" = "xGTK" ; then
52128 COND_TOOLKIT_GTK=""
52129 fi
52130
52131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52132 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52133 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52134 fi
52135
52136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52137 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52138 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52139 fi
52140
52141 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52142 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52143 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52144 fi
52145
52146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52147 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52148 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52149 fi
52150
52151 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52153 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52154 fi
52155
52156 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52158 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52159 fi
52160
52161 COND_TOOLKIT_GTK_USE_GUI_1="#"
52162 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52163 COND_TOOLKIT_GTK_USE_GUI_1=""
52164 fi
52165
52166 COND_TOOLKIT_MAC="#"
52167 if test "x$TOOLKIT" = "xMAC" ; then
52168 COND_TOOLKIT_MAC=""
52169 fi
52170
52171 COND_TOOLKIT_MAC_USE_GUI_1="#"
52172 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52173 COND_TOOLKIT_MAC_USE_GUI_1=""
52174 fi
52175
52176 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52177 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52178 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52179 fi
52180
52181 COND_TOOLKIT_MGL="#"
52182 if test "x$TOOLKIT" = "xMGL" ; then
52183 COND_TOOLKIT_MGL=""
52184 fi
52185
52186 COND_TOOLKIT_MGL_USE_GUI_1="#"
52187 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52188 COND_TOOLKIT_MGL_USE_GUI_1=""
52189 fi
52190
52191 COND_TOOLKIT_MOTIF="#"
52192 if test "x$TOOLKIT" = "xMOTIF" ; then
52193 COND_TOOLKIT_MOTIF=""
52194 fi
52195
52196 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52197 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52198 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52199 fi
52200
52201 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52202 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52203 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52204 fi
52205
52206 COND_TOOLKIT_MSW="#"
52207 if test "x$TOOLKIT" = "xMSW" ; then
52208 COND_TOOLKIT_MSW=""
52209 fi
52210
52211 COND_TOOLKIT_MSW_USE_GUI_1="#"
52212 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52213 COND_TOOLKIT_MSW_USE_GUI_1=""
52214 fi
52215
52216 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52217 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52218 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52219 fi
52220
52221 COND_TOOLKIT_MSW_WXUNIV_0="#"
52222 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52223 COND_TOOLKIT_MSW_WXUNIV_0=""
52224 fi
52225
52226 COND_TOOLKIT_PM="#"
52227 if test "x$TOOLKIT" = "xPM" ; then
52228 COND_TOOLKIT_PM=""
52229 fi
52230
52231 COND_TOOLKIT_PM_USE_GUI_1="#"
52232 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52233 COND_TOOLKIT_PM_USE_GUI_1=""
52234 fi
52235
52236 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52237 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52238 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52239 fi
52240
52241 COND_TOOLKIT_WINCE="#"
52242 if test "x$TOOLKIT" = "xWINCE" ; then
52243 COND_TOOLKIT_WINCE=""
52244 fi
52245
52246 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52247 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52248 COND_TOOLKIT_WINCE_USE_GUI_1=""
52249 fi
52250
52251 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52252 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52253 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52254 fi
52255
52256 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52257 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52258 COND_TOOLKIT_WINCE_WXUNIV_0=""
52259 fi
52260
52261 COND_TOOLKIT_X11="#"
52262 if test "x$TOOLKIT" = "xX11" ; then
52263 COND_TOOLKIT_X11=""
52264 fi
52265
52266 COND_TOOLKIT_X11_USE_GUI_1="#"
52267 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52268 COND_TOOLKIT_X11_USE_GUI_1=""
52269 fi
52270
52271 COND_UNICODE_1="#"
52272 if test "x$UNICODE" = "x1" ; then
52273 COND_UNICODE_1=""
52274 fi
52275
52276 COND_USE_EXCEPTIONS_0="#"
52277 if test "x$USE_EXCEPTIONS" = "x0" ; then
52278 COND_USE_EXCEPTIONS_0=""
52279 fi
52280
52281 COND_USE_EXCEPTIONS_1="#"
52282 if test "x$USE_EXCEPTIONS" = "x1" ; then
52283 COND_USE_EXCEPTIONS_1=""
52284 fi
52285
52286 COND_USE_GUI_0="#"
52287 if test "x$USE_GUI" = "x0" ; then
52288 COND_USE_GUI_0=""
52289 fi
52290
52291 COND_USE_GUI_1="#"
52292 if test "x$USE_GUI" = "x1" ; then
52293 COND_USE_GUI_1=""
52294 fi
52295
52296 COND_USE_GUI_1_USE_OPENGL_1="#"
52297 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52298 COND_USE_GUI_1_USE_OPENGL_1=""
52299 fi
52300
52301 COND_USE_GUI_1_WXUNIV_0="#"
52302 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52303 COND_USE_GUI_1_WXUNIV_0=""
52304 fi
52305
52306 COND_USE_GUI_1_WXUNIV_1="#"
52307 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52308 COND_USE_GUI_1_WXUNIV_1=""
52309 fi
52310
52311 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52312 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52313 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52314 fi
52315
52316 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52317 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52318 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52319 fi
52320
52321 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52322 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52323 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52324 fi
52325
52326 COND_USE_ODBC_1="#"
52327 if test "x$USE_ODBC" = "x1" ; then
52328 COND_USE_ODBC_1=""
52329 fi
52330
52331 COND_USE_OPENGL_1="#"
52332 if test "x$USE_OPENGL" = "x1" ; then
52333 COND_USE_OPENGL_1=""
52334 fi
52335
52336 COND_USE_PCH_1="#"
52337 if test "x$USE_PCH" = "x1" ; then
52338 COND_USE_PCH_1=""
52339 fi
52340
52341 COND_USE_PLUGINS_0="#"
52342 if test "x$USE_PLUGINS" = "x0" ; then
52343 COND_USE_PLUGINS_0=""
52344 fi
52345
52346 COND_USE_RTTI_0="#"
52347 if test "x$USE_RTTI" = "x0" ; then
52348 COND_USE_RTTI_0=""
52349 fi
52350
52351 COND_USE_RTTI_1="#"
52352 if test "x$USE_RTTI" = "x1" ; then
52353 COND_USE_RTTI_1=""
52354 fi
52355
52356 COND_USE_SOSYMLINKS_1="#"
52357 if test "x$USE_SOSYMLINKS" = "x1" ; then
52358 COND_USE_SOSYMLINKS_1=""
52359 fi
52360
52361 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52362 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52363 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52364 fi
52365
52366 COND_USE_SOVERLINUX_1="#"
52367 if test "x$USE_SOVERLINUX" = "x1" ; then
52368 COND_USE_SOVERLINUX_1=""
52369 fi
52370
52371 COND_USE_SOVERSION_0="#"
52372 if test "x$USE_SOVERSION" = "x0" ; then
52373 COND_USE_SOVERSION_0=""
52374 fi
52375
52376 COND_USE_SOVERSOLARIS_1="#"
52377 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52378 COND_USE_SOVERSOLARIS_1=""
52379 fi
52380
52381 COND_USE_STC_1="#"
52382 if test "x$USE_STC" = "x1" ; then
52383 COND_USE_STC_1=""
52384 fi
52385
52386 COND_USE_THREADS_0="#"
52387 if test "x$USE_THREADS" = "x0" ; then
52388 COND_USE_THREADS_0=""
52389 fi
52390
52391 COND_USE_THREADS_1="#"
52392 if test "x$USE_THREADS" = "x1" ; then
52393 COND_USE_THREADS_1=""
52394 fi
52395
52396 COND_USE_XRC_1="#"
52397 if test "x$USE_XRC" = "x1" ; then
52398 COND_USE_XRC_1=""
52399 fi
52400
52401 COND_WINDOWS_IMPLIB_1="#"
52402 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52403 COND_WINDOWS_IMPLIB_1=""
52404 fi
52405
52406 COND_WITH_PLUGIN_SDL_1="#"
52407 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52408 COND_WITH_PLUGIN_SDL_1=""
52409 fi
52410
52411 COND_WXUNIV_0="#"
52412 if test "x$WXUNIV" = "x0" ; then
52413 COND_WXUNIV_0=""
52414 fi
52415
52416 COND_WXUNIV_1="#"
52417 if test "x$WXUNIV" = "x1" ; then
52418 COND_WXUNIV_1=""
52419 fi
52420
52421 COND_WXUSE_EXPAT_BUILTIN="#"
52422 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52423 COND_WXUSE_EXPAT_BUILTIN=""
52424 fi
52425
52426 COND_WXUSE_LIBJPEG_BUILTIN="#"
52427 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52428 COND_WXUSE_LIBJPEG_BUILTIN=""
52429 fi
52430
52431 COND_WXUSE_LIBPNG_BUILTIN="#"
52432 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52433 COND_WXUSE_LIBPNG_BUILTIN=""
52434 fi
52435
52436 COND_WXUSE_LIBTIFF_BUILTIN="#"
52437 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52438 COND_WXUSE_LIBTIFF_BUILTIN=""
52439 fi
52440
52441 COND_WXUSE_ODBC_BUILTIN="#"
52442 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52443 COND_WXUSE_ODBC_BUILTIN=""
52444 fi
52445
52446 COND_WXUSE_REGEX_BUILTIN="#"
52447 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52448 COND_WXUSE_REGEX_BUILTIN=""
52449 fi
52450
52451 COND_WXUSE_ZLIB_BUILTIN="#"
52452 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52453 COND_WXUSE_ZLIB_BUILTIN=""
52454 fi
52455
52456
52457
52458 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52459 { { 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
52460 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;}
52461 { (exit 1); exit 1; }; }
52462 fi
52463
52464 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52465 { { 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
52466 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;}
52467 { (exit 1); exit 1; }; }
52468 fi
52469
52470
52471 case ${INSTALL} in
52472 /* ) # Absolute
52473 ;;
52474 ?:* ) # Drive letter, considered as absolute.
52475 ;;
52476 *)
52477 INSTALL=`pwd`/${INSTALL} ;;
52478 esac
52479
52480 if test "$wxUSE_GUI" = "yes"; then
52481
52482 if test "$wxUSE_MSW" = 1 ; then
52483 if test "x$WINDRES" = "x"; then
52484 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52485 echo "$as_me: error: Required windres program not found" >&2;}
52486 { (exit 1); exit 1; }; }
52487 fi
52488
52489 RESCOMP="$WINDRES"
52490 fi
52491
52492 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52493 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52494 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52495
52496 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52497
52498 # Extract the first word of "DeRez", so it can be a program name with args.
52499 set dummy DeRez; ac_word=$2
52500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52502 if test "${ac_cv_prog_DEREZ+set}" = set; then
52503 echo $ECHO_N "(cached) $ECHO_C" >&6
52504 else
52505 if test -n "$DEREZ"; then
52506 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52507 else
52508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52509 for as_dir in $PATH
52510 do
52511 IFS=$as_save_IFS
52512 test -z "$as_dir" && as_dir=.
52513 for ac_exec_ext in '' $ac_executable_extensions; do
52514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52515 ac_cv_prog_DEREZ="DeRez"
52516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52517 break 2
52518 fi
52519 done
52520 done
52521 IFS=$as_save_IFS
52522
52523 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52524 fi
52525 fi
52526 DEREZ=$ac_cv_prog_DEREZ
52527 if test -n "$DEREZ"; then
52528 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52529 echo "${ECHO_T}$DEREZ" >&6; }
52530 else
52531 { echo "$as_me:$LINENO: result: no" >&5
52532 echo "${ECHO_T}no" >&6; }
52533 fi
52534
52535
52536
52537 MACSETFILE="\$(SETFILE)"
52538
52539 if test "$wxUSE_MAC" = 1; then
52540 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52541 RESCOMP="$REZ"
52542 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52543 else
52544 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52545 RESCOMP="cat /dev/null \| $REZ"
52546 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52547 fi
52548
52549 else
52550 MACSETFILE="@true"
52551
52552 if test "$wxUSE_PM" = 1; then
52553 RESCOMP="emxbind"
52554 WXCONFIG_RESFLAGS="-ep"
52555
52556 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52557 else
52558 POSTLINK_COMMAND="@true"
52559 fi
52560 fi
52561
52562 fi
52563
52564
52565 if test $GCC_PCH = 1
52566 then
52567 if test "$wx_cv_gcc_pch_bug" = yes; then
52568 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52569 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52570 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52571 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52572 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52573 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52574 fi
52575
52576 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52577 fi
52578
52579
52580 if test "$wxUSE_MAC" = 1 ; then
52581 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52582 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52583 mv temp bk-deps
52584 chmod +x bk-deps
52585 fi
52586 fi
52587
52588 if test "$wxUSE_SHARED" = "yes"; then
52589
52590 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52591 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52592
52593 case "${host}" in
52594 *-pc-os2_emx | *-pc-os2-emx )
52595 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52596 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52597 cp -p ${srcdir}/src/os2/dllnames.sh .
52598 cp -p ${srcdir}/src/os2/dllar.sh .
52599 ;;
52600 esac
52601 else
52602
52603 EXE_LINKER="$CXX -o"
52604
52605 fi
52606 if test "$wxUSE_OMF" = "yes"; then
52607 case "${host}" in
52608 *-pc-os2_emx | *-pc-os2-emx )
52609 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52610 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52611 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52612 ;;
52613 esac
52614 fi
52615
52616 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52617
52618
52619 case "${host}" in
52620 *-*-solaris2* )
52621 if "$GCC" = yes; then
52622 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52623 LIBS=`echo $LIBS | sed 's/-mt//'`
52624 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52625 fi
52626 ;;
52627
52628 *-*-linux* )
52629 if test "x$SUNCXX" = xyes; then
52630 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52631 LIBS=`echo $LIBS | sed 's/-pthread//'`
52632 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52633 fi
52634 ;;
52635 esac
52636
52637 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52638 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52639
52640 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52641
52642
52643
52644
52645
52646
52647
52648
52649
52650
52651
52652
52653
52654
52655
52656
52657
52658
52659
52660
52661
52662
52663
52664
52665
52666
52667
52668
52669
52670
52671
52672
52673
52674
52675
52676
52677
52678
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52703 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52704 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52705 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52706 echo $ECHO_N "(cached) $ECHO_C" >&6
52707 else
52708 cat >conftest.make <<\_ACEOF
52709 SHELL = /bin/sh
52710 all:
52711 @echo '@@@%%%=$(MAKE)=@@@%%%'
52712 _ACEOF
52713 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52714 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52715 *@@@%%%=?*=@@@%%%*)
52716 eval ac_cv_prog_make_${ac_make}_set=yes;;
52717 *)
52718 eval ac_cv_prog_make_${ac_make}_set=no;;
52719 esac
52720 rm -f conftest.make
52721 fi
52722 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52723 { echo "$as_me:$LINENO: result: yes" >&5
52724 echo "${ECHO_T}yes" >&6; }
52725 SET_MAKE=
52726 else
52727 { echo "$as_me:$LINENO: result: no" >&5
52728 echo "${ECHO_T}no" >&6; }
52729 SET_MAKE="MAKE=${MAKE-make}"
52730 fi
52731
52732
52733
52734 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52735
52736
52737 if test "$USE_WIN32" = 1; then
52738 ac_config_commands="$ac_config_commands
52739 rcdefs.h
52740 "
52741
52742 fi
52743
52744 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52745
52746
52747 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52748
52749
52750 if test "$wx_cv_version_script" = "yes"; then
52751 ac_config_files="$ac_config_files version-script"
52752
52753 fi
52754 ac_config_files="$ac_config_files Makefile"
52755
52756
52757 ac_config_commands="$ac_config_commands wx-config"
52758
52759
52760
52761 if test "$wxWITH_SUBDIRS" != "no"; then
52762 if test "$wxUSE_GUI" = "yes"; then
52763 SUBDIRS="samples demos utils"
52764 else SUBDIRS="samples utils"
52765 fi
52766
52767
52768
52769 # Check whether --with-cppunit-prefix was given.
52770 if test "${with_cppunit_prefix+set}" = set; then
52771 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52772 else
52773 cppunit_config_prefix=""
52774 fi
52775
52776
52777 # Check whether --with-cppunit-exec-prefix was given.
52778 if test "${with_cppunit_exec_prefix+set}" = set; then
52779 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52780 else
52781 cppunit_config_exec_prefix=""
52782 fi
52783
52784
52785 if test x$cppunit_config_exec_prefix != x ; then
52786 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52787 if test x${CPPUNIT_CONFIG+set} != xset ; then
52788 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52789 fi
52790 fi
52791 if test x$cppunit_config_prefix != x ; then
52792 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52793 if test x${CPPUNIT_CONFIG+set} != xset ; then
52794 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52795 fi
52796 fi
52797
52798 # Extract the first word of "cppunit-config", so it can be a program name with args.
52799 set dummy cppunit-config; ac_word=$2
52800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52802 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52803 echo $ECHO_N "(cached) $ECHO_C" >&6
52804 else
52805 case $CPPUNIT_CONFIG in
52806 [\\/]* | ?:[\\/]*)
52807 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52808 ;;
52809 *)
52810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52811 for as_dir in $PATH
52812 do
52813 IFS=$as_save_IFS
52814 test -z "$as_dir" && as_dir=.
52815 for ac_exec_ext in '' $ac_executable_extensions; do
52816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52817 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52819 break 2
52820 fi
52821 done
52822 done
52823 IFS=$as_save_IFS
52824
52825 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52826 ;;
52827 esac
52828 fi
52829 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52830 if test -n "$CPPUNIT_CONFIG"; then
52831 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52832 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52833 else
52834 { echo "$as_me:$LINENO: result: no" >&5
52835 echo "${ECHO_T}no" >&6; }
52836 fi
52837
52838
52839 cppunit_version_min=1.8.0
52840
52841 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52842 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52843 no_cppunit=""
52844 if test "$CPPUNIT_CONFIG" = "no" ; then
52845 { echo "$as_me:$LINENO: result: no" >&5
52846 echo "${ECHO_T}no" >&6; }
52847 no_cppunit=yes
52848 else
52849 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52850 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52851 cppunit_version=`$CPPUNIT_CONFIG --version`
52852
52853 cppunit_major_version=`echo $cppunit_version | \
52854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52855 cppunit_minor_version=`echo $cppunit_version | \
52856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52857 cppunit_micro_version=`echo $cppunit_version | \
52858 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52859
52860 cppunit_major_min=`echo $cppunit_version_min | \
52861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52862 cppunit_minor_min=`echo $cppunit_version_min | \
52863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52864 cppunit_micro_min=`echo $cppunit_version_min | \
52865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52866
52867 cppunit_version_proper=`expr \
52868 $cppunit_major_version \> $cppunit_major_min \| \
52869 $cppunit_major_version \= $cppunit_major_min \& \
52870 $cppunit_minor_version \> $cppunit_minor_min \| \
52871 $cppunit_major_version \= $cppunit_major_min \& \
52872 $cppunit_minor_version \= $cppunit_minor_min \& \
52873 $cppunit_micro_version \>= $cppunit_micro_min `
52874
52875 if test "$cppunit_version_proper" = "1" ; then
52876 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52877 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52878 else
52879 { echo "$as_me:$LINENO: result: no" >&5
52880 echo "${ECHO_T}no" >&6; }
52881 no_cppunit=yes
52882 fi
52883 fi
52884
52885 if test "x$no_cppunit" = x ; then
52886 SUBDIRS="$SUBDIRS tests"
52887 else
52888 CPPUNIT_CFLAGS=""
52889 CPPUNIT_LIBS=""
52890 :
52891 fi
52892
52893
52894
52895
52896
52897 for subdir in `echo $SUBDIRS`; do
52898 if test -d ${srcdir}/${subdir} ; then
52899 if test "$wxUSE_GUI" = "yes"; then
52900 if test ${subdir} = "samples"; then
52901 makefiles="samples/Makefile.in $makefiles"
52902 for sample in `echo $SAMPLES_SUBDIRS`; do
52903 if test -d $srcdir/samples/$sample; then
52904 makefiles="samples/$sample/Makefile.in $makefiles"
52905 fi
52906 done
52907 else
52908 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52909 eval "disabled=\$$disabled_var"
52910 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52911 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52912 fi
52913 else if test ${subdir} = "samples"; then
52914 makefiles="samples/Makefile.in samples/console/Makefile.in"
52915 elif test ${subdir} = "utils"; then
52916 makefiles=""
52917 for util in HelpGen tex2rtf ; do
52918 if test -d $srcdir/utils/$util ; then
52919 makefiles="utils/$util/Makefile.in \
52920 utils/$util/src/Makefile.in \
52921 $makefiles"
52922 fi
52923 done
52924 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52925 fi
52926 fi
52927
52928 for mkin in $makefiles ; do
52929 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52930 ac_config_files="$ac_config_files $mk"
52931
52932 done
52933 fi
52934 done
52935 fi
52936 cat >confcache <<\_ACEOF
52937 # This file is a shell script that caches the results of configure
52938 # tests run on this system so they can be shared between configure
52939 # scripts and configure runs, see configure's option --config-cache.
52940 # It is not useful on other systems. If it contains results you don't
52941 # want to keep, you may remove or edit it.
52942 #
52943 # config.status only pays attention to the cache file if you give it
52944 # the --recheck option to rerun configure.
52945 #
52946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52948 # following values.
52949
52950 _ACEOF
52951
52952 # The following way of writing the cache mishandles newlines in values,
52953 # but we know of no workaround that is simple, portable, and efficient.
52954 # So, we kill variables containing newlines.
52955 # Ultrix sh set writes to stderr and can't be redirected directly,
52956 # and sets the high bit in the cache file unless we assign to the vars.
52957 (
52958 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52959 eval ac_val=\$$ac_var
52960 case $ac_val in #(
52961 *${as_nl}*)
52962 case $ac_var in #(
52963 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52964 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52965 esac
52966 case $ac_var in #(
52967 _ | IFS | as_nl) ;; #(
52968 *) $as_unset $ac_var ;;
52969 esac ;;
52970 esac
52971 done
52972
52973 (set) 2>&1 |
52974 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52975 *${as_nl}ac_space=\ *)
52976 # `set' does not quote correctly, so add quotes (double-quote
52977 # substitution turns \\\\ into \\, and sed turns \\ into \).
52978 sed -n \
52979 "s/'/'\\\\''/g;
52980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52981 ;; #(
52982 *)
52983 # `set' quotes correctly as required by POSIX, so do not add quotes.
52984 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52985 ;;
52986 esac |
52987 sort
52988 ) |
52989 sed '
52990 /^ac_cv_env_/b end
52991 t clear
52992 :clear
52993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52994 t end
52995 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52996 :end' >>confcache
52997 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52998 if test -w "$cache_file"; then
52999 test "x$cache_file" != "x/dev/null" &&
53000 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53001 echo "$as_me: updating cache $cache_file" >&6;}
53002 cat confcache >$cache_file
53003 else
53004 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53005 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53006 fi
53007 fi
53008 rm -f confcache
53009
53010 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53011 # Let make expand exec_prefix.
53012 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53013
53014 DEFS=-DHAVE_CONFIG_H
53015
53016 ac_libobjs=
53017 ac_ltlibobjs=
53018 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53019 # 1. Remove the extension, and $U if already installed.
53020 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53021 ac_i=`echo "$ac_i" | sed "$ac_script"`
53022 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53023 # will be set to the directory where LIBOBJS objects are built.
53024 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53025 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53026 done
53027 LIBOBJS=$ac_libobjs
53028
53029 LTLIBOBJS=$ac_ltlibobjs
53030
53031
53032
53033 : ${CONFIG_STATUS=./config.status}
53034 ac_clean_files_save=$ac_clean_files
53035 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53036 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53037 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53038 cat >$CONFIG_STATUS <<_ACEOF
53039 #! $SHELL
53040 # Generated by $as_me.
53041 # Run this file to recreate the current configuration.
53042 # Compiler output produced by configure, useful for debugging
53043 # configure, is in config.log if it exists.
53044
53045 debug=false
53046 ac_cs_recheck=false
53047 ac_cs_silent=false
53048 SHELL=\${CONFIG_SHELL-$SHELL}
53049 _ACEOF
53050
53051 cat >>$CONFIG_STATUS <<\_ACEOF
53052 ## --------------------- ##
53053 ## M4sh Initialization. ##
53054 ## --------------------- ##
53055
53056 # Be more Bourne compatible
53057 DUALCASE=1; export DUALCASE # for MKS sh
53058 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53059 emulate sh
53060 NULLCMD=:
53061 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53062 # is contrary to our usage. Disable this feature.
53063 alias -g '${1+"$@"}'='"$@"'
53064 setopt NO_GLOB_SUBST
53065 else
53066 case `(set -o) 2>/dev/null` in
53067 *posix*) set -o posix ;;
53068 esac
53069
53070 fi
53071
53072
53073
53074
53075 # PATH needs CR
53076 # Avoid depending upon Character Ranges.
53077 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53078 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53079 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53080 as_cr_digits='0123456789'
53081 as_cr_alnum=$as_cr_Letters$as_cr_digits
53082
53083 # The user is always right.
53084 if test "${PATH_SEPARATOR+set}" != set; then
53085 echo "#! /bin/sh" >conf$$.sh
53086 echo "exit 0" >>conf$$.sh
53087 chmod +x conf$$.sh
53088 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53089 PATH_SEPARATOR=';'
53090 else
53091 PATH_SEPARATOR=:
53092 fi
53093 rm -f conf$$.sh
53094 fi
53095
53096 # Support unset when possible.
53097 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53098 as_unset=unset
53099 else
53100 as_unset=false
53101 fi
53102
53103
53104 # IFS
53105 # We need space, tab and new line, in precisely that order. Quoting is
53106 # there to prevent editors from complaining about space-tab.
53107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53108 # splitting by setting IFS to empty value.)
53109 as_nl='
53110 '
53111 IFS=" "" $as_nl"
53112
53113 # Find who we are. Look in the path if we contain no directory separator.
53114 case $0 in
53115 *[\\/]* ) as_myself=$0 ;;
53116 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53117 for as_dir in $PATH
53118 do
53119 IFS=$as_save_IFS
53120 test -z "$as_dir" && as_dir=.
53121 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53122 done
53123 IFS=$as_save_IFS
53124
53125 ;;
53126 esac
53127 # We did not find ourselves, most probably we were run as `sh COMMAND'
53128 # in which case we are not to be found in the path.
53129 if test "x$as_myself" = x; then
53130 as_myself=$0
53131 fi
53132 if test ! -f "$as_myself"; then
53133 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53134 { (exit 1); exit 1; }
53135 fi
53136
53137 # Work around bugs in pre-3.0 UWIN ksh.
53138 for as_var in ENV MAIL MAILPATH
53139 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53140 done
53141 PS1='$ '
53142 PS2='> '
53143 PS4='+ '
53144
53145 # NLS nuisances.
53146 for as_var in \
53147 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53148 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53149 LC_TELEPHONE LC_TIME
53150 do
53151 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53152 eval $as_var=C; export $as_var
53153 else
53154 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53155 fi
53156 done
53157
53158 # Required to use basename.
53159 if expr a : '\(a\)' >/dev/null 2>&1 &&
53160 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53161 as_expr=expr
53162 else
53163 as_expr=false
53164 fi
53165
53166 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53167 as_basename=basename
53168 else
53169 as_basename=false
53170 fi
53171
53172
53173 # Name of the executable.
53174 as_me=`$as_basename -- "$0" ||
53175 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53176 X"$0" : 'X\(//\)$' \| \
53177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53178 echo X/"$0" |
53179 sed '/^.*\/\([^/][^/]*\)\/*$/{
53180 s//\1/
53181 q
53182 }
53183 /^X\/\(\/\/\)$/{
53184 s//\1/
53185 q
53186 }
53187 /^X\/\(\/\).*/{
53188 s//\1/
53189 q
53190 }
53191 s/.*/./; q'`
53192
53193 # CDPATH.
53194 $as_unset CDPATH
53195
53196
53197
53198 as_lineno_1=$LINENO
53199 as_lineno_2=$LINENO
53200 test "x$as_lineno_1" != "x$as_lineno_2" &&
53201 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53202
53203 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53204 # uniformly replaced by the line number. The first 'sed' inserts a
53205 # line-number line after each line using $LINENO; the second 'sed'
53206 # does the real work. The second script uses 'N' to pair each
53207 # line-number line with the line containing $LINENO, and appends
53208 # trailing '-' during substitution so that $LINENO is not a special
53209 # case at line end.
53210 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53211 # scripts with optimization help from Paolo Bonzini. Blame Lee
53212 # E. McMahon (1931-1989) for sed's syntax. :-)
53213 sed -n '
53214 p
53215 /[$]LINENO/=
53216 ' <$as_myself |
53217 sed '
53218 s/[$]LINENO.*/&-/
53219 t lineno
53220 b
53221 :lineno
53222 N
53223 :loop
53224 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53225 t loop
53226 s/-\n.*//
53227 ' >$as_me.lineno &&
53228 chmod +x "$as_me.lineno" ||
53229 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53230 { (exit 1); exit 1; }; }
53231
53232 # Don't try to exec as it changes $[0], causing all sort of problems
53233 # (the dirname of $[0] is not the place where we might find the
53234 # original and so on. Autoconf is especially sensitive to this).
53235 . "./$as_me.lineno"
53236 # Exit status is that of the last command.
53237 exit
53238 }
53239
53240
53241 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53242 as_dirname=dirname
53243 else
53244 as_dirname=false
53245 fi
53246
53247 ECHO_C= ECHO_N= ECHO_T=
53248 case `echo -n x` in
53249 -n*)
53250 case `echo 'x\c'` in
53251 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53252 *) ECHO_C='\c';;
53253 esac;;
53254 *)
53255 ECHO_N='-n';;
53256 esac
53257
53258 if expr a : '\(a\)' >/dev/null 2>&1 &&
53259 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53260 as_expr=expr
53261 else
53262 as_expr=false
53263 fi
53264
53265 rm -f conf$$ conf$$.exe conf$$.file
53266 if test -d conf$$.dir; then
53267 rm -f conf$$.dir/conf$$.file
53268 else
53269 rm -f conf$$.dir
53270 mkdir conf$$.dir
53271 fi
53272 echo >conf$$.file
53273 if ln -s conf$$.file conf$$ 2>/dev/null; then
53274 as_ln_s='ln -s'
53275 # ... but there are two gotchas:
53276 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53277 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53278 # In both cases, we have to default to `cp -p'.
53279 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53280 as_ln_s='cp -p'
53281 elif ln conf$$.file conf$$ 2>/dev/null; then
53282 as_ln_s=ln
53283 else
53284 as_ln_s='cp -p'
53285 fi
53286 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53287 rmdir conf$$.dir 2>/dev/null
53288
53289 if mkdir -p . 2>/dev/null; then
53290 as_mkdir_p=:
53291 else
53292 test -d ./-p && rmdir ./-p
53293 as_mkdir_p=false
53294 fi
53295
53296 if test -x / >/dev/null 2>&1; then
53297 as_test_x='test -x'
53298 else
53299 if ls -dL / >/dev/null 2>&1; then
53300 as_ls_L_option=L
53301 else
53302 as_ls_L_option=
53303 fi
53304 as_test_x='
53305 eval sh -c '\''
53306 if test -d "$1"; then
53307 test -d "$1/.";
53308 else
53309 case $1 in
53310 -*)set "./$1";;
53311 esac;
53312 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53313 ???[sx]*):;;*)false;;esac;fi
53314 '\'' sh
53315 '
53316 fi
53317 as_executable_p=$as_test_x
53318
53319 # Sed expression to map a string onto a valid CPP name.
53320 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53321
53322 # Sed expression to map a string onto a valid variable name.
53323 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53324
53325
53326 exec 6>&1
53327
53328 # Save the log message, to keep $[0] and so on meaningful, and to
53329 # report actual input values of CONFIG_FILES etc. instead of their
53330 # values after options handling.
53331 ac_log="
53332 This file was extended by wxWidgets $as_me 2.9.0, which was
53333 generated by GNU Autoconf 2.61. Invocation command line was
53334
53335 CONFIG_FILES = $CONFIG_FILES
53336 CONFIG_HEADERS = $CONFIG_HEADERS
53337 CONFIG_LINKS = $CONFIG_LINKS
53338 CONFIG_COMMANDS = $CONFIG_COMMANDS
53339 $ $0 $@
53340
53341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53342 "
53343
53344 _ACEOF
53345
53346 cat >>$CONFIG_STATUS <<_ACEOF
53347 # Files that config.status was made for.
53348 config_files="$ac_config_files"
53349 config_headers="$ac_config_headers"
53350 config_commands="$ac_config_commands"
53351
53352 _ACEOF
53353
53354 cat >>$CONFIG_STATUS <<\_ACEOF
53355 ac_cs_usage="\
53356 \`$as_me' instantiates files from templates according to the
53357 current configuration.
53358
53359 Usage: $0 [OPTIONS] [FILE]...
53360
53361 -h, --help print this help, then exit
53362 -V, --version print version number and configuration settings, then exit
53363 -q, --quiet do not print progress messages
53364 -d, --debug don't remove temporary files
53365 --recheck update $as_me by reconfiguring in the same conditions
53366 --file=FILE[:TEMPLATE]
53367 instantiate the configuration file FILE
53368 --header=FILE[:TEMPLATE]
53369 instantiate the configuration header FILE
53370
53371 Configuration files:
53372 $config_files
53373
53374 Configuration headers:
53375 $config_headers
53376
53377 Configuration commands:
53378 $config_commands
53379
53380 Report bugs to <bug-autoconf@gnu.org>."
53381
53382 _ACEOF
53383 cat >>$CONFIG_STATUS <<_ACEOF
53384 ac_cs_version="\\
53385 wxWidgets config.status 2.9.0
53386 configured by $0, generated by GNU Autoconf 2.61,
53387 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53388
53389 Copyright (C) 2006 Free Software Foundation, Inc.
53390 This config.status script is free software; the Free Software Foundation
53391 gives unlimited permission to copy, distribute and modify it."
53392
53393 ac_pwd='$ac_pwd'
53394 srcdir='$srcdir'
53395 INSTALL='$INSTALL'
53396 _ACEOF
53397
53398 cat >>$CONFIG_STATUS <<\_ACEOF
53399 # If no file are specified by the user, then we need to provide default
53400 # value. By we need to know if files were specified by the user.
53401 ac_need_defaults=:
53402 while test $# != 0
53403 do
53404 case $1 in
53405 --*=*)
53406 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53407 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53408 ac_shift=:
53409 ;;
53410 *)
53411 ac_option=$1
53412 ac_optarg=$2
53413 ac_shift=shift
53414 ;;
53415 esac
53416
53417 case $ac_option in
53418 # Handling of the options.
53419 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53420 ac_cs_recheck=: ;;
53421 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53422 echo "$ac_cs_version"; exit ;;
53423 --debug | --debu | --deb | --de | --d | -d )
53424 debug=: ;;
53425 --file | --fil | --fi | --f )
53426 $ac_shift
53427 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53428 ac_need_defaults=false;;
53429 --header | --heade | --head | --hea )
53430 $ac_shift
53431 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53432 ac_need_defaults=false;;
53433 --he | --h)
53434 # Conflict between --help and --header
53435 { echo "$as_me: error: ambiguous option: $1
53436 Try \`$0 --help' for more information." >&2
53437 { (exit 1); exit 1; }; };;
53438 --help | --hel | -h )
53439 echo "$ac_cs_usage"; exit ;;
53440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53441 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53442 ac_cs_silent=: ;;
53443
53444 # This is an error.
53445 -*) { echo "$as_me: error: unrecognized option: $1
53446 Try \`$0 --help' for more information." >&2
53447 { (exit 1); exit 1; }; } ;;
53448
53449 *) ac_config_targets="$ac_config_targets $1"
53450 ac_need_defaults=false ;;
53451
53452 esac
53453 shift
53454 done
53455
53456 ac_configure_extra_args=
53457
53458 if $ac_cs_silent; then
53459 exec 6>/dev/null
53460 ac_configure_extra_args="$ac_configure_extra_args --silent"
53461 fi
53462
53463 _ACEOF
53464 cat >>$CONFIG_STATUS <<_ACEOF
53465 if \$ac_cs_recheck; then
53466 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53467 CONFIG_SHELL=$SHELL
53468 export CONFIG_SHELL
53469 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53470 fi
53471
53472 _ACEOF
53473 cat >>$CONFIG_STATUS <<\_ACEOF
53474 exec 5>>config.log
53475 {
53476 echo
53477 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53478 ## Running $as_me. ##
53479 _ASBOX
53480 echo "$ac_log"
53481 } >&5
53482
53483 _ACEOF
53484 cat >>$CONFIG_STATUS <<_ACEOF
53485 #
53486 # INIT-COMMANDS
53487 #
53488
53489 CPP="$CPP"
53490 infile="$srcdir/include/wx/msw/genrcdefs.h"
53491 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53492
53493
53494 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53495 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53496 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53497 LN_S="${LN_S}"
53498
53499
53500 _ACEOF
53501
53502 cat >>$CONFIG_STATUS <<\_ACEOF
53503
53504 # Handling of arguments.
53505 for ac_config_target in $ac_config_targets
53506 do
53507 case $ac_config_target in
53508 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53509 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53510 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53511 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53512 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53513 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53514 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53515 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53516
53517 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53518 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53519 { (exit 1); exit 1; }; };;
53520 esac
53521 done
53522
53523
53524 # If the user did not use the arguments to specify the items to instantiate,
53525 # then the envvar interface is used. Set only those that are not.
53526 # We use the long form for the default assignment because of an extremely
53527 # bizarre bug on SunOS 4.1.3.
53528 if $ac_need_defaults; then
53529 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53530 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53531 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53532 fi
53533
53534 # Have a temporary directory for convenience. Make it in the build tree
53535 # simply because there is no reason against having it here, and in addition,
53536 # creating and moving files from /tmp can sometimes cause problems.
53537 # Hook for its removal unless debugging.
53538 # Note that there is a small window in which the directory will not be cleaned:
53539 # after its creation but before its name has been assigned to `$tmp'.
53540 $debug ||
53541 {
53542 tmp=
53543 trap 'exit_status=$?
53544 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53545 ' 0
53546 trap '{ (exit 1); exit 1; }' 1 2 13 15
53547 }
53548 # Create a (secure) tmp directory for tmp files.
53549
53550 {
53551 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53552 test -n "$tmp" && test -d "$tmp"
53553 } ||
53554 {
53555 tmp=./conf$$-$RANDOM
53556 (umask 077 && mkdir "$tmp")
53557 } ||
53558 {
53559 echo "$me: cannot create a temporary directory in ." >&2
53560 { (exit 1); exit 1; }
53561 }
53562
53563 #
53564 # Set up the sed scripts for CONFIG_FILES section.
53565 #
53566
53567 # No need to generate the scripts if there are no CONFIG_FILES.
53568 # This happens for instance when ./config.status config.h
53569 if test -n "$CONFIG_FILES"; then
53570
53571 _ACEOF
53572
53573
53574
53575 ac_delim='%!_!# '
53576 for ac_last_try in false false false false false :; do
53577 cat >conf$$subs.sed <<_ACEOF
53578 SHELL!$SHELL$ac_delim
53579 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53580 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53581 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53582 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53583 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53584 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53585 exec_prefix!$exec_prefix$ac_delim
53586 prefix!$prefix$ac_delim
53587 program_transform_name!$program_transform_name$ac_delim
53588 bindir!$bindir$ac_delim
53589 sbindir!$sbindir$ac_delim
53590 libexecdir!$libexecdir$ac_delim
53591 datarootdir!$datarootdir$ac_delim
53592 datadir!$datadir$ac_delim
53593 sysconfdir!$sysconfdir$ac_delim
53594 sharedstatedir!$sharedstatedir$ac_delim
53595 localstatedir!$localstatedir$ac_delim
53596 includedir!$includedir$ac_delim
53597 oldincludedir!$oldincludedir$ac_delim
53598 docdir!$docdir$ac_delim
53599 infodir!$infodir$ac_delim
53600 htmldir!$htmldir$ac_delim
53601 dvidir!$dvidir$ac_delim
53602 pdfdir!$pdfdir$ac_delim
53603 psdir!$psdir$ac_delim
53604 libdir!$libdir$ac_delim
53605 localedir!$localedir$ac_delim
53606 mandir!$mandir$ac_delim
53607 DEFS!$DEFS$ac_delim
53608 ECHO_C!$ECHO_C$ac_delim
53609 ECHO_N!$ECHO_N$ac_delim
53610 ECHO_T!$ECHO_T$ac_delim
53611 LIBS!$LIBS$ac_delim
53612 build_alias!$build_alias$ac_delim
53613 host_alias!$host_alias$ac_delim
53614 target_alias!$target_alias$ac_delim
53615 build!$build$ac_delim
53616 build_cpu!$build_cpu$ac_delim
53617 build_vendor!$build_vendor$ac_delim
53618 build_os!$build_os$ac_delim
53619 host!$host$ac_delim
53620 host_cpu!$host_cpu$ac_delim
53621 host_vendor!$host_vendor$ac_delim
53622 host_os!$host_os$ac_delim
53623 target!$target$ac_delim
53624 target_cpu!$target_cpu$ac_delim
53625 target_vendor!$target_vendor$ac_delim
53626 target_os!$target_os$ac_delim
53627 wx_top_builddir!$wx_top_builddir$ac_delim
53628 CC!$CC$ac_delim
53629 CFLAGS!$CFLAGS$ac_delim
53630 LDFLAGS!$LDFLAGS$ac_delim
53631 CPPFLAGS!$CPPFLAGS$ac_delim
53632 ac_ct_CC!$ac_ct_CC$ac_delim
53633 EXEEXT!$EXEEXT$ac_delim
53634 OBJEXT!$OBJEXT$ac_delim
53635 CPP!$CPP$ac_delim
53636 GREP!$GREP$ac_delim
53637 EGREP!$EGREP$ac_delim
53638 CXX!$CXX$ac_delim
53639 CXXFLAGS!$CXXFLAGS$ac_delim
53640 ac_ct_CXX!$ac_ct_CXX$ac_delim
53641 AR!$AR$ac_delim
53642 subdirs!$subdirs$ac_delim
53643 PKG_CONFIG!$PKG_CONFIG$ac_delim
53644 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53645 GTK_LIBS!$GTK_LIBS$ac_delim
53646 GTK_CONFIG!$GTK_CONFIG$ac_delim
53647 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53648 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53649 XMKMF!$XMKMF$ac_delim
53650 X_CFLAGS!$X_CFLAGS$ac_delim
53651 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53652 X_LIBS!$X_LIBS$ac_delim
53653 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53654 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53655 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53656 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53657 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53658 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53659 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53660 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53661 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53662 LIBICONV!$LIBICONV$ac_delim
53663 SDL_CONFIG!$SDL_CONFIG$ac_delim
53664 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53665 SDL_LIBS!$SDL_LIBS$ac_delim
53666 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53667 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53668 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53669 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53670 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53671 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53672 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53673 HILDON_LIBS!$HILDON_LIBS$ac_delim
53674 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53675 _ACEOF
53676
53677 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53678 break
53679 elif $ac_last_try; then
53680 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53681 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53682 { (exit 1); exit 1; }; }
53683 else
53684 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53685 fi
53686 done
53687
53688 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53689 if test -n "$ac_eof"; then
53690 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53691 ac_eof=`expr $ac_eof + 1`
53692 fi
53693
53694 cat >>$CONFIG_STATUS <<_ACEOF
53695 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53697 _ACEOF
53698 sed '
53699 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53700 s/^/s,@/; s/!/@,|#_!!_#|/
53701 :n
53702 t n
53703 s/'"$ac_delim"'$/,g/; t
53704 s/$/\\/; p
53705 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53706 ' >>$CONFIG_STATUS <conf$$subs.sed
53707 rm -f conf$$subs.sed
53708 cat >>$CONFIG_STATUS <<_ACEOF
53709 CEOF$ac_eof
53710 _ACEOF
53711
53712
53713 ac_delim='%!_!# '
53714 for ac_last_try in false false false false false :; do
53715 cat >conf$$subs.sed <<_ACEOF
53716 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53717 GST_CFLAGS!$GST_CFLAGS$ac_delim
53718 GST_LIBS!$GST_LIBS$ac_delim
53719 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53720 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53721 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53722 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53723 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53724 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53725 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53726 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53727 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53728 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53729 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53730 VENDOR!$VENDOR$ac_delim
53731 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53732 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53733 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53734 WXUNIV!$WXUNIV$ac_delim
53735 MONOLITHIC!$MONOLITHIC$ac_delim
53736 USE_PLUGINS!$USE_PLUGINS$ac_delim
53737 CXXWARNINGS!$CXXWARNINGS$ac_delim
53738 EXTRALIBS!$EXTRALIBS$ac_delim
53739 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53740 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53741 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53742 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53743 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53744 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53745 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53746 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53747 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53748 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53749 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53750 UNICODE!$UNICODE$ac_delim
53751 BUILD!$BUILD$ac_delim
53752 DEBUG_INFO!$DEBUG_INFO$ac_delim
53753 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53754 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53755 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53756 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53757 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53758 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53759 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53760 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53761 RANLIB!$RANLIB$ac_delim
53762 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53763 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53764 INSTALL_DATA!$INSTALL_DATA$ac_delim
53765 LN_S!$LN_S$ac_delim
53766 SET_MAKE!$SET_MAKE$ac_delim
53767 MAKE_SET!$MAKE_SET$ac_delim
53768 AROPTIONS!$AROPTIONS$ac_delim
53769 STRIP!$STRIP$ac_delim
53770 NM!$NM$ac_delim
53771 INSTALL_DIR!$INSTALL_DIR$ac_delim
53772 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53773 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53774 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53775 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53776 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53777 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53778 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53779 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53780 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53781 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53782 SO_SUFFIX!$SO_SUFFIX$ac_delim
53783 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53784 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53785 LIBPREFIX!$LIBPREFIX$ac_delim
53786 LIBEXT!$LIBEXT$ac_delim
53787 DLLPREFIX!$DLLPREFIX$ac_delim
53788 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53789 dlldir!$dlldir$ac_delim
53790 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53791 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53792 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53793 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53794 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53795 PIC_FLAG!$PIC_FLAG$ac_delim
53796 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53797 USE_SOVERSION!$USE_SOVERSION$ac_delim
53798 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53799 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53800 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53801 USE_MACVERSION!$USE_MACVERSION$ac_delim
53802 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53803 SONAME_FLAG!$SONAME_FLAG$ac_delim
53804 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53805 BK_DEPS!$BK_DEPS$ac_delim
53806 WINDRES!$WINDRES$ac_delim
53807 REZ!$REZ$ac_delim
53808 SETFILE!$SETFILE$ac_delim
53809 GCC_PCH!$GCC_PCH$ac_delim
53810 ICC_PCH!$ICC_PCH$ac_delim
53811 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53812 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53813 _ACEOF
53814
53815 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53816 break
53817 elif $ac_last_try; then
53818 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53819 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53820 { (exit 1); exit 1; }; }
53821 else
53822 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53823 fi
53824 done
53825
53826 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53827 if test -n "$ac_eof"; then
53828 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53829 ac_eof=`expr $ac_eof + 1`
53830 fi
53831
53832 cat >>$CONFIG_STATUS <<_ACEOF
53833 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53835 _ACEOF
53836 sed '
53837 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53838 s/^/s,@/; s/!/@,|#_!!_#|/
53839 :n
53840 t n
53841 s/'"$ac_delim"'$/,g/; t
53842 s/$/\\/; p
53843 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53844 ' >>$CONFIG_STATUS <conf$$subs.sed
53845 rm -f conf$$subs.sed
53846 cat >>$CONFIG_STATUS <<_ACEOF
53847 CEOF$ac_eof
53848 _ACEOF
53849
53850
53851 ac_delim='%!_!# '
53852 for ac_last_try in false false false false false :; do
53853 cat >conf$$subs.sed <<_ACEOF
53854 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53855 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53856 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53857 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53858 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53859 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53860 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53861 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53862 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53863 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53864 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53865 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53866 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53867 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53868 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53869 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53870 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53871 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53875 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53877 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53878 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53879 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53880 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53881 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53882 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53888 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53889 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53890 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53891 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53892 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53893 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53894 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53895 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53896 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53897 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53898 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53899 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53900 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53901 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53902 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53903 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53904 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53905 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53906 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53907 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53908 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53909 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53910 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53911 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53912 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53913 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53914 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53915 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53916 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53917 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53918 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53919 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53920 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53921 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53922 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53923 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53924 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53925 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53926 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53927 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53928 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53929 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53930 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53931 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53932 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53933 COND_SHARED_0!$COND_SHARED_0$ac_delim
53934 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53935 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53936 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53937 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53938 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53939 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53940 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53941 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53942 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53943 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53944 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53945 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53946 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53947 COND_SHARED_1!$COND_SHARED_1$ac_delim
53948 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53949 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53950 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53951 _ACEOF
53952
53953 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53954 break
53955 elif $ac_last_try; then
53956 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53957 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53958 { (exit 1); exit 1; }; }
53959 else
53960 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53961 fi
53962 done
53963
53964 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53965 if test -n "$ac_eof"; then
53966 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53967 ac_eof=`expr $ac_eof + 1`
53968 fi
53969
53970 cat >>$CONFIG_STATUS <<_ACEOF
53971 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53973 _ACEOF
53974 sed '
53975 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53976 s/^/s,@/; s/!/@,|#_!!_#|/
53977 :n
53978 t n
53979 s/'"$ac_delim"'$/,g/; t
53980 s/$/\\/; p
53981 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53982 ' >>$CONFIG_STATUS <conf$$subs.sed
53983 rm -f conf$$subs.sed
53984 cat >>$CONFIG_STATUS <<_ACEOF
53985 CEOF$ac_eof
53986 _ACEOF
53987
53988
53989 ac_delim='%!_!# '
53990 for ac_last_try in false false false false false :; do
53991 cat >conf$$subs.sed <<_ACEOF
53992 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53993 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53994 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53995 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53996 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53997 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53999 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54001 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54002 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54003 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54004 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54005 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54006 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54007 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54008 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54009 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54010 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54011 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54012 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54013 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54014 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54015 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54016 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54017 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54018 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54019 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54020 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54021 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54022 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54023 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54024 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54025 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54026 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54027 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54028 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54029 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54030 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54031 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54032 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54033 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54034 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54035 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54036 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54037 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54038 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54039 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54040 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54041 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54042 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54043 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54044 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54045 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54046 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54047 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54048 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54049 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54050 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54051 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54052 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54053 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54054 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54055 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54056 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54057 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54058 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54059 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54060 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54061 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54062 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54063 DEREZ!$DEREZ$ac_delim
54064 SHARED!$SHARED$ac_delim
54065 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54066 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54067 USE_GUI!$USE_GUI$ac_delim
54068 AFMINSTALL!$AFMINSTALL$ac_delim
54069 WIN32INSTALL!$WIN32INSTALL$ac_delim
54070 TOOLKIT!$TOOLKIT$ac_delim
54071 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54072 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54073 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54074 cross_compiling!$cross_compiling$ac_delim
54075 WIDGET_SET!$WIDGET_SET$ac_delim
54076 WX_RELEASE!$WX_RELEASE$ac_delim
54077 WX_VERSION!$WX_VERSION$ac_delim
54078 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54079 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54080 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54081 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54082 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54083 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54084 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54085 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54086 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54087 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54088 EXE_LINKER!$EXE_LINKER$ac_delim
54089 _ACEOF
54090
54091 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54092 break
54093 elif $ac_last_try; then
54094 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54095 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54096 { (exit 1); exit 1; }; }
54097 else
54098 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54099 fi
54100 done
54101
54102 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54103 if test -n "$ac_eof"; then
54104 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54105 ac_eof=`expr $ac_eof + 1`
54106 fi
54107
54108 cat >>$CONFIG_STATUS <<_ACEOF
54109 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54110 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54111 _ACEOF
54112 sed '
54113 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54114 s/^/s,@/; s/!/@,|#_!!_#|/
54115 :n
54116 t n
54117 s/'"$ac_delim"'$/,g/; t
54118 s/$/\\/; p
54119 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54120 ' >>$CONFIG_STATUS <conf$$subs.sed
54121 rm -f conf$$subs.sed
54122 cat >>$CONFIG_STATUS <<_ACEOF
54123 CEOF$ac_eof
54124 _ACEOF
54125
54126
54127 ac_delim='%!_!# '
54128 for ac_last_try in false false false false false :; do
54129 cat >conf$$subs.sed <<_ACEOF
54130 GUIDIST!$GUIDIST$ac_delim
54131 DISTDIR!$DISTDIR$ac_delim
54132 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54133 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54134 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54135 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54136 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54137 RESCOMP!$RESCOMP$ac_delim
54138 RESFLAGS!$RESFLAGS$ac_delim
54139 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54140 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54141 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54142 LIBWXMACRES!$LIBWXMACRES$ac_delim
54143 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54144 MACSETFILE!$MACSETFILE$ac_delim
54145 GCC!$GCC$ac_delim
54146 DLLTOOL!$DLLTOOL$ac_delim
54147 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54148 LIBOBJS!$LIBOBJS$ac_delim
54149 LTLIBOBJS!$LTLIBOBJS$ac_delim
54150 _ACEOF
54151
54152 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
54153 break
54154 elif $ac_last_try; then
54155 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54156 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54157 { (exit 1); exit 1; }; }
54158 else
54159 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54160 fi
54161 done
54162
54163 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54164 if test -n "$ac_eof"; then
54165 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54166 ac_eof=`expr $ac_eof + 1`
54167 fi
54168
54169 cat >>$CONFIG_STATUS <<_ACEOF
54170 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54171 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54172 _ACEOF
54173 sed '
54174 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54175 s/^/s,@/; s/!/@,|#_!!_#|/
54176 :n
54177 t n
54178 s/'"$ac_delim"'$/,g/; t
54179 s/$/\\/; p
54180 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54181 ' >>$CONFIG_STATUS <conf$$subs.sed
54182 rm -f conf$$subs.sed
54183 cat >>$CONFIG_STATUS <<_ACEOF
54184 :end
54185 s/|#_!!_#|//g
54186 CEOF$ac_eof
54187 _ACEOF
54188
54189
54190 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54191 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54192 # trailing colons and then remove the whole line if VPATH becomes empty
54193 # (actually we leave an empty line to preserve line numbers).
54194 if test "x$srcdir" = x.; then
54195 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54196 s/:*\$(srcdir):*/:/
54197 s/:*\${srcdir}:*/:/
54198 s/:*@srcdir@:*/:/
54199 s/^\([^=]*=[ ]*\):*/\1/
54200 s/:*$//
54201 s/^[^=]*=[ ]*$//
54202 }'
54203 fi
54204
54205 cat >>$CONFIG_STATUS <<\_ACEOF
54206 fi # test -n "$CONFIG_FILES"
54207
54208
54209 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54210 do
54211 case $ac_tag in
54212 :[FHLC]) ac_mode=$ac_tag; continue;;
54213 esac
54214 case $ac_mode$ac_tag in
54215 :[FHL]*:*);;
54216 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54217 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54218 { (exit 1); exit 1; }; };;
54219 :[FH]-) ac_tag=-:-;;
54220 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54221 esac
54222 ac_save_IFS=$IFS
54223 IFS=:
54224 set x $ac_tag
54225 IFS=$ac_save_IFS
54226 shift
54227 ac_file=$1
54228 shift
54229
54230 case $ac_mode in
54231 :L) ac_source=$1;;
54232 :[FH])
54233 ac_file_inputs=
54234 for ac_f
54235 do
54236 case $ac_f in
54237 -) ac_f="$tmp/stdin";;
54238 *) # Look for the file first in the build tree, then in the source tree
54239 # (if the path is not absolute). The absolute path cannot be DOS-style,
54240 # because $ac_f cannot contain `:'.
54241 test -f "$ac_f" ||
54242 case $ac_f in
54243 [\\/$]*) false;;
54244 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54245 esac ||
54246 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54247 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54248 { (exit 1); exit 1; }; };;
54249 esac
54250 ac_file_inputs="$ac_file_inputs $ac_f"
54251 done
54252
54253 # Let's still pretend it is `configure' which instantiates (i.e., don't
54254 # use $as_me), people would be surprised to read:
54255 # /* config.h. Generated by config.status. */
54256 configure_input="Generated from "`IFS=:
54257 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54258 if test x"$ac_file" != x-; then
54259 configure_input="$ac_file. $configure_input"
54260 { echo "$as_me:$LINENO: creating $ac_file" >&5
54261 echo "$as_me: creating $ac_file" >&6;}
54262 fi
54263
54264 case $ac_tag in
54265 *:-:* | *:-) cat >"$tmp/stdin";;
54266 esac
54267 ;;
54268 esac
54269
54270 ac_dir=`$as_dirname -- "$ac_file" ||
54271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54272 X"$ac_file" : 'X\(//\)[^/]' \| \
54273 X"$ac_file" : 'X\(//\)$' \| \
54274 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54275 echo X"$ac_file" |
54276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54277 s//\1/
54278 q
54279 }
54280 /^X\(\/\/\)[^/].*/{
54281 s//\1/
54282 q
54283 }
54284 /^X\(\/\/\)$/{
54285 s//\1/
54286 q
54287 }
54288 /^X\(\/\).*/{
54289 s//\1/
54290 q
54291 }
54292 s/.*/./; q'`
54293 { as_dir="$ac_dir"
54294 case $as_dir in #(
54295 -*) as_dir=./$as_dir;;
54296 esac
54297 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54298 as_dirs=
54299 while :; do
54300 case $as_dir in #(
54301 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54302 *) as_qdir=$as_dir;;
54303 esac
54304 as_dirs="'$as_qdir' $as_dirs"
54305 as_dir=`$as_dirname -- "$as_dir" ||
54306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54307 X"$as_dir" : 'X\(//\)[^/]' \| \
54308 X"$as_dir" : 'X\(//\)$' \| \
54309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54310 echo X"$as_dir" |
54311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54312 s//\1/
54313 q
54314 }
54315 /^X\(\/\/\)[^/].*/{
54316 s//\1/
54317 q
54318 }
54319 /^X\(\/\/\)$/{
54320 s//\1/
54321 q
54322 }
54323 /^X\(\/\).*/{
54324 s//\1/
54325 q
54326 }
54327 s/.*/./; q'`
54328 test -d "$as_dir" && break
54329 done
54330 test -z "$as_dirs" || eval "mkdir $as_dirs"
54331 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54332 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54333 { (exit 1); exit 1; }; }; }
54334 ac_builddir=.
54335
54336 case "$ac_dir" in
54337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54338 *)
54339 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54340 # A ".." for each directory in $ac_dir_suffix.
54341 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54342 case $ac_top_builddir_sub in
54343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54345 esac ;;
54346 esac
54347 ac_abs_top_builddir=$ac_pwd
54348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54349 # for backward compatibility:
54350 ac_top_builddir=$ac_top_build_prefix
54351
54352 case $srcdir in
54353 .) # We are building in place.
54354 ac_srcdir=.
54355 ac_top_srcdir=$ac_top_builddir_sub
54356 ac_abs_top_srcdir=$ac_pwd ;;
54357 [\\/]* | ?:[\\/]* ) # Absolute name.
54358 ac_srcdir=$srcdir$ac_dir_suffix;
54359 ac_top_srcdir=$srcdir
54360 ac_abs_top_srcdir=$srcdir ;;
54361 *) # Relative name.
54362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54363 ac_top_srcdir=$ac_top_build_prefix$srcdir
54364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54365 esac
54366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54367
54368
54369 case $ac_mode in
54370 :F)
54371 #
54372 # CONFIG_FILE
54373 #
54374
54375 case $INSTALL in
54376 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54377 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54378 esac
54379 _ACEOF
54380
54381 cat >>$CONFIG_STATUS <<\_ACEOF
54382 # If the template does not know about datarootdir, expand it.
54383 # FIXME: This hack should be removed a few years after 2.60.
54384 ac_datarootdir_hack=; ac_datarootdir_seen=
54385
54386 case `sed -n '/datarootdir/ {
54387 p
54388 q
54389 }
54390 /@datadir@/p
54391 /@docdir@/p
54392 /@infodir@/p
54393 /@localedir@/p
54394 /@mandir@/p
54395 ' $ac_file_inputs` in
54396 *datarootdir*) ac_datarootdir_seen=yes;;
54397 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54398 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54399 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54400 _ACEOF
54401 cat >>$CONFIG_STATUS <<_ACEOF
54402 ac_datarootdir_hack='
54403 s&@datadir@&$datadir&g
54404 s&@docdir@&$docdir&g
54405 s&@infodir@&$infodir&g
54406 s&@localedir@&$localedir&g
54407 s&@mandir@&$mandir&g
54408 s&\\\${datarootdir}&$datarootdir&g' ;;
54409 esac
54410 _ACEOF
54411
54412 # Neutralize VPATH when `$srcdir' = `.'.
54413 # Shell code in configure.ac might set extrasub.
54414 # FIXME: do we really want to maintain this feature?
54415 cat >>$CONFIG_STATUS <<_ACEOF
54416 sed "$ac_vpsub
54417 $extrasub
54418 _ACEOF
54419 cat >>$CONFIG_STATUS <<\_ACEOF
54420 :t
54421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54422 s&@configure_input@&$configure_input&;t t
54423 s&@top_builddir@&$ac_top_builddir_sub&;t t
54424 s&@srcdir@&$ac_srcdir&;t t
54425 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54426 s&@top_srcdir@&$ac_top_srcdir&;t t
54427 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54428 s&@builddir@&$ac_builddir&;t t
54429 s&@abs_builddir@&$ac_abs_builddir&;t t
54430 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54431 s&@INSTALL@&$ac_INSTALL&;t t
54432 $ac_datarootdir_hack
54433 " $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
54434
54435 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54436 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54437 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54438 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54439 which seems to be undefined. Please make sure it is defined." >&5
54440 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54441 which seems to be undefined. Please make sure it is defined." >&2;}
54442
54443 rm -f "$tmp/stdin"
54444 case $ac_file in
54445 -) cat "$tmp/out"; rm -f "$tmp/out";;
54446 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54447 esac
54448 ;;
54449 :H)
54450 #
54451 # CONFIG_HEADER
54452 #
54453 _ACEOF
54454
54455 # Transform confdefs.h into a sed script `conftest.defines', that
54456 # substitutes the proper values into config.h.in to produce config.h.
54457 rm -f conftest.defines conftest.tail
54458 # First, append a space to every undef/define line, to ease matching.
54459 echo 's/$/ /' >conftest.defines
54460 # Then, protect against being on the right side of a sed subst, or in
54461 # an unquoted here document, in config.status. If some macros were
54462 # called several times there might be several #defines for the same
54463 # symbol, which is useless. But do not sort them, since the last
54464 # AC_DEFINE must be honored.
54465 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54466 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54467 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54468 # PARAMS is the parameter list in the macro definition--in most cases, it's
54469 # just an empty string.
54470 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54471 ac_dB='\\)[ (].*,\\1define\\2'
54472 ac_dC=' '
54473 ac_dD=' ,'
54474
54475 uniq confdefs.h |
54476 sed -n '
54477 t rset
54478 :rset
54479 s/^[ ]*#[ ]*define[ ][ ]*//
54480 t ok
54481 d
54482 :ok
54483 s/[\\&,]/\\&/g
54484 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54485 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54486 ' >>conftest.defines
54487
54488 # Remove the space that was appended to ease matching.
54489 # Then replace #undef with comments. This is necessary, for
54490 # example, in the case of _POSIX_SOURCE, which is predefined and required
54491 # on some systems where configure will not decide to define it.
54492 # (The regexp can be short, since the line contains either #define or #undef.)
54493 echo 's/ $//
54494 s,^[ #]*u.*,/* & */,' >>conftest.defines
54495
54496 # Break up conftest.defines:
54497 ac_max_sed_lines=50
54498
54499 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54500 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54501 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54502 # et cetera.
54503 ac_in='$ac_file_inputs'
54504 ac_out='"$tmp/out1"'
54505 ac_nxt='"$tmp/out2"'
54506
54507 while :
54508 do
54509 # Write a here document:
54510 cat >>$CONFIG_STATUS <<_ACEOF
54511 # First, check the format of the line:
54512 cat >"\$tmp/defines.sed" <<\\CEOF
54513 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54514 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54515 b
54516 :def
54517 _ACEOF
54518 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54519 echo 'CEOF
54520 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54521 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54522 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54523 grep . conftest.tail >/dev/null || break
54524 rm -f conftest.defines
54525 mv conftest.tail conftest.defines
54526 done
54527 rm -f conftest.defines conftest.tail
54528
54529 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54530 cat >>$CONFIG_STATUS <<\_ACEOF
54531 if test x"$ac_file" != x-; then
54532 echo "/* $configure_input */" >"$tmp/config.h"
54533 cat "$ac_result" >>"$tmp/config.h"
54534 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54535 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54536 echo "$as_me: $ac_file is unchanged" >&6;}
54537 else
54538 rm -f $ac_file
54539 mv "$tmp/config.h" $ac_file
54540 fi
54541 else
54542 echo "/* $configure_input */"
54543 cat "$ac_result"
54544 fi
54545 rm -f "$tmp/out12"
54546 ;;
54547
54548 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54549 echo "$as_me: executing $ac_file commands" >&6;}
54550 ;;
54551 esac
54552
54553
54554 case $ac_file$ac_mode in
54555 "rcdefs.h":C)
54556 mkdir -p $outdir &&
54557 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54558 ;;
54559 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54560 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54561 "wx-config":C) rm -f wx-config
54562 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54563 ;;
54564
54565 esac
54566 done # for ac_tag
54567
54568
54569 { (exit 0); exit 0; }
54570 _ACEOF
54571 chmod +x $CONFIG_STATUS
54572 ac_clean_files=$ac_clean_files_save
54573
54574
54575 # configure is writing to config.log, and then calls config.status.
54576 # config.status does its own redirection, appending to config.log.
54577 # Unfortunately, on DOS this fails, as config.log is still kept open
54578 # by configure, so config.status won't be able to write to it; its
54579 # output is simply discarded. So we exec the FD to /dev/null,
54580 # effectively closing config.log, so it can be properly (re)opened and
54581 # appended to by config.status. When coming back to configure, we
54582 # need to make the FD available again.
54583 if test "$no_create" != yes; then
54584 ac_cs_success=:
54585 ac_config_status_args=
54586 test "$silent" = yes &&
54587 ac_config_status_args="$ac_config_status_args --quiet"
54588 exec 5>/dev/null
54589 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54590 exec 5>>config.log
54591 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54592 # would make configure fail if this is the last instruction.
54593 $ac_cs_success || { (exit 1); exit 1; }
54594 fi
54595
54596 #
54597 # CONFIG_SUBDIRS section.
54598 #
54599 if test "$no_recursion" != yes; then
54600
54601 # Remove --cache-file and --srcdir arguments so they do not pile up.
54602 ac_sub_configure_args=
54603 ac_prev=
54604 eval "set x $ac_configure_args"
54605 shift
54606 for ac_arg
54607 do
54608 if test -n "$ac_prev"; then
54609 ac_prev=
54610 continue
54611 fi
54612 case $ac_arg in
54613 -cache-file | --cache-file | --cache-fil | --cache-fi \
54614 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54615 ac_prev=cache_file ;;
54616 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54617 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54618 | --c=*)
54619 ;;
54620 --config-cache | -C)
54621 ;;
54622 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54623 ac_prev=srcdir ;;
54624 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54625 ;;
54626 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54627 ac_prev=prefix ;;
54628 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54629 ;;
54630 *)
54631 case $ac_arg in
54632 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54633 esac
54634 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54635 esac
54636 done
54637
54638 # Always prepend --prefix to ensure using the same prefix
54639 # in subdir configurations.
54640 ac_arg="--prefix=$prefix"
54641 case $ac_arg in
54642 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54643 esac
54644 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54645
54646 # Pass --silent
54647 if test "$silent" = yes; then
54648 ac_sub_configure_args="--silent $ac_sub_configure_args"
54649 fi
54650
54651 ac_popdir=`pwd`
54652 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54653
54654 # Do not complain, so a configure script can configure whichever
54655 # parts of a large source tree are present.
54656 test -d "$srcdir/$ac_dir" || continue
54657
54658 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54659 echo "$as_me:$LINENO: $ac_msg" >&5
54660 echo "$ac_msg" >&6
54661 { as_dir="$ac_dir"
54662 case $as_dir in #(
54663 -*) as_dir=./$as_dir;;
54664 esac
54665 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54666 as_dirs=
54667 while :; do
54668 case $as_dir in #(
54669 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54670 *) as_qdir=$as_dir;;
54671 esac
54672 as_dirs="'$as_qdir' $as_dirs"
54673 as_dir=`$as_dirname -- "$as_dir" ||
54674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54675 X"$as_dir" : 'X\(//\)[^/]' \| \
54676 X"$as_dir" : 'X\(//\)$' \| \
54677 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54678 echo X"$as_dir" |
54679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54680 s//\1/
54681 q
54682 }
54683 /^X\(\/\/\)[^/].*/{
54684 s//\1/
54685 q
54686 }
54687 /^X\(\/\/\)$/{
54688 s//\1/
54689 q
54690 }
54691 /^X\(\/\).*/{
54692 s//\1/
54693 q
54694 }
54695 s/.*/./; q'`
54696 test -d "$as_dir" && break
54697 done
54698 test -z "$as_dirs" || eval "mkdir $as_dirs"
54699 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54700 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54701 { (exit 1); exit 1; }; }; }
54702 ac_builddir=.
54703
54704 case "$ac_dir" in
54705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54706 *)
54707 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54708 # A ".." for each directory in $ac_dir_suffix.
54709 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54710 case $ac_top_builddir_sub in
54711 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54712 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54713 esac ;;
54714 esac
54715 ac_abs_top_builddir=$ac_pwd
54716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54717 # for backward compatibility:
54718 ac_top_builddir=$ac_top_build_prefix
54719
54720 case $srcdir in
54721 .) # We are building in place.
54722 ac_srcdir=.
54723 ac_top_srcdir=$ac_top_builddir_sub
54724 ac_abs_top_srcdir=$ac_pwd ;;
54725 [\\/]* | ?:[\\/]* ) # Absolute name.
54726 ac_srcdir=$srcdir$ac_dir_suffix;
54727 ac_top_srcdir=$srcdir
54728 ac_abs_top_srcdir=$srcdir ;;
54729 *) # Relative name.
54730 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54731 ac_top_srcdir=$ac_top_build_prefix$srcdir
54732 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54733 esac
54734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54735
54736
54737 cd "$ac_dir"
54738
54739 # Check for guested configure; otherwise get Cygnus style configure.
54740 if test -f "$ac_srcdir/configure.gnu"; then
54741 ac_sub_configure=$ac_srcdir/configure.gnu
54742 elif test -f "$ac_srcdir/configure"; then
54743 ac_sub_configure=$ac_srcdir/configure
54744 elif test -f "$ac_srcdir/configure.in"; then
54745 # This should be Cygnus configure.
54746 ac_sub_configure=$ac_aux_dir/configure
54747 else
54748 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54749 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54750 ac_sub_configure=
54751 fi
54752
54753 # The recursion is here.
54754 if test -n "$ac_sub_configure"; then
54755 # Make the cache file name correct relative to the subdirectory.
54756 case $cache_file in
54757 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54758 *) # Relative name.
54759 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54760 esac
54761
54762 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54763 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54764 # The eval makes quoting arguments work.
54765 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54766 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54767 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54768 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54769 { (exit 1); exit 1; }; }
54770 fi
54771
54772 cd "$ac_popdir"
54773 done
54774 fi
54775
54776
54777 echo
54778 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54779 echo ""
54780 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54781 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54782
54783 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54784 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54785 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54786 if test "$wxUSE_UNICODE" = "yes"; then
54787 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54788 echo " (using UTF-8)"
54789 else
54790 echo " (using wchar_t)"
54791 fi
54792 else
54793 echo
54794 fi
54795
54796 echo " What level of wxWidgets compatibility should be enabled?"
54797 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54798 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54799
54800 echo " Which libraries should wxWidgets use?"
54801 echo " STL ${wxUSE_STL}"
54802 echo " jpeg ${wxUSE_LIBJPEG-none}"
54803 echo " png ${wxUSE_LIBPNG-none}"
54804 echo " regex ${wxUSE_REGEX}"
54805 echo " tiff ${wxUSE_LIBTIFF-none}"
54806 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54807 echo " xpm ${wxUSE_LIBXPM-none}"
54808 fi
54809 echo " zlib ${wxUSE_ZLIB}"
54810 echo " odbc ${wxUSE_ODBC}"
54811 echo " expat ${wxUSE_EXPAT}"
54812 echo " libmspack ${wxUSE_LIBMSPACK}"
54813 echo " sdl ${wxUSE_LIBSDL}"
54814
54815 echo ""
54816